/* ============================================
   Chatin Copie - CSS d'adaptation WordPress
   Basé sur les styles Septeo (commun.css + chatin.css)
   ============================================ */

/* === IMPORT LATO === */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

/* === VARIABLES === */
:root {
  --bourgogne: #bc1828;
  --bleu-deep: #002fa7;
  --bleu-hover: #27b8e5;
  --gris-fond: #eeeeee;
  --gris-footer: #afafaf;
  --noir: #1d1d1b;
}

/* === RESET WORDPRESS === */
* { box-sizing: border-box; }
body {
  font-family: 'Lato', Arial, Verdana, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #1d1d1b;
  margin: 0;
  padding: 0;
}
img { max-width: 100%; height: auto; }
a { color: #bc1828; text-decoration: none; }
a:hover { color: #27b8e5; }

/* === HEADER === */
header { width: 100%; background: transparent; }

/* Barre sociale (RS) */
.RS {
  background-color: rgba(188, 24, 40, 0.85);
  padding: 0;
  position: relative;
  z-index: 100;
}
.RS .menuSocial {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 40px;
  gap: 5px;
  padding-right: 20px;
}
.RS .menuSocial li {
  list-style: none;
  display: inline-block;
  margin: 0;
}
.RS .menuSocial li a {
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #fff;
  position: relative;
}
/* Facebook */
.RS .menuSocial li.facebook a {
  background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23bc1828"><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>') center/16px no-repeat;
}
/* LinkedIn */
.RS .menuSocial li.linkedin a {
  background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23bc1828"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.063 2.063 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.225 0z"/></svg>') center/16px no-repeat;
}
.RS .menuSocial li a span { display: none; }

/* Bouton RDV en ligne */
.RS .menuSocial li.btn_meetlaw_rs a {
  display: inline-block;
  width: auto;
  height: auto;
  text-indent: 0;
  overflow: visible;
  border-radius: 3px;
  background: #fff;
  color: #bc1828;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}
.RS .menuSocial li.btn_meetlaw_rs a:hover {
  background: #002fa7;
  color: #fff;
}

/* FondTop */
.FondTop {
  background: rgba(255, 255, 255, 0.5);
  padding: 10px 0;
  border-bottom: none;
}
.headerCol.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}
#Defile .container {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.headerCol1 {
  flex: 0 0 auto;
  margin-right: 20px;
  display: flex;
  align-items: center;
  max-height: 80px;
  overflow: hidden;
}
.headerCol1 #logo img {
  height: 100px !important;
  width: auto !important;
  max-width: 200px;
  display: block;
}
.headerCol2 {
  flex: 1 1 auto;
}
.headerCol2 .Menu { float: right; }

/* Navbar */
.navbar { border: none; min-height: auto; margin-bottom: 0; }
.navbar-default { background: transparent; border: none; }
.nav.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.nav.navbar-nav > li {
  position: relative;
  margin: 0;
  padding: 0;
}
.nav.navbar-nav > li > a {
  display: block;
  padding: 10px 12px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1d1d1b;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}
.nav.navbar-nav > li > a:hover,
.nav.navbar-nav > li > a:focus {
  color: #bc1828;
  border-bottom-color: #bc1828;
  background: transparent;
}
.nav.navbar-nav > .current-menu-item > a,
.nav.navbar-nav > .current-page-ancestor > a {
  color: #bc1828;
  border-bottom-color: #bc1828;
}

/* Dropdown */
.nav.navbar-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  border-top: 3px solid #bc1828;
  min-width: 200px;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.nav.navbar-nav li:hover > .dropdown-menu { display: block; }
.dropdown-menu > li > a {
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  color: #1d1d1b;
  text-decoration: none;
  border-left: 3px solid transparent;
}
.dropdown-menu > li > a:hover {
  background: #f5f5f5;
  color: #bc1828;
  border-left-color: #bc1828;
}

/* WordPress menu sub-menu */
.nav.navbar-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  border-top: 3px solid #bc1828;
  min-width: 200px;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.nav.navbar-nav li:hover > .sub-menu { display: block; }
.sub-menu li a {
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  color: #1d1d1b;
  text-decoration: none;
  border-left: 3px solid transparent;
}
.sub-menu li a:hover {
  background: #f5f5f5;
  color: #bc1828;
  border-left-color: #bc1828;
}

/* === CAROUSEL SLICK === */
.diaporama { position: relative; overflow: hidden; }
.diaporama-slider { margin: 0; padding: 0; }
.diaporama-slider .item {
  position: relative;
  overflow: hidden;
}
.diaporamaItemImg {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.diaporamaItemTexte {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  width: 80%;
  max-width: 900px;
}
.BlocTexteTitre {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 45px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.BlocTexteSsTitre {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  line-height: 1.4;
}

/* Slick overrides */
.slick-dots { bottom: 20px; }
.slick-dots li button:before { color: #fff; opacity: 0.7; }
.slick-dots li.slick-active button:before { color: #fff; opacity: 1; }
.slick-prev, .slick-next { z-index: 15; }
.slick-prev { left: 25px; }
.slick-next { right: 25px; }

/* === BANDEAU ACTUS === */
#bandeauActus, .bandeauActus {
  background: #f5f5f5;
  padding: 30px 0 40px;
}
.headerActus h2 {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  color: #bc1828;
  margin-bottom: 30px;
}
.actus-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}
.actus-item {
  flex: 1 1 300px;
  background: #fff;
  padding: 20px;
  border-top: 3px solid #bc1828;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.actus-item h3 a {
  color: #1d1d1b;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}
.actus-item h3 a:hover { color: #bc1828; }
.actus-item .actus-date {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

/* === CONTAINER === */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === PAGES INTERNES === */
.pagedefaut {
  padding: 40px 0;
}
.pagedefaut > .container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Bannière de page interne */
.banner-page {
  position: relative;
  height: 350px;
  overflow: hidden;
  margin-bottom: 25px;
}
.banner-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-page .banner-title {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}
.banner-page .banner-title h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  margin: 30px 0 0;
}

/* === SECTION LE CABINET — GRILLE 3 BLOCS COLORÉS === */
.FondGris {
  background: #eeeeee !important;
  padding: 20px 0 40px 0;
}
.FondGris .sectionContainer {
  display: grid !important;
  grid-template-columns: 1fr 400px !important;
  grid-template-rows: auto auto !important;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 0 !important;
}

/* Bloc Gauche — Bourgogne (colonne gauche, pleine hauteur) */
.BlocGauche {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  background: #bc1828 !important;
  padding: 40px 45px !important;
  color: #fff !important;
  font-size: 17px !important;
  min-height: 420px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.BlocGauche h1 {
  color: #fff;
  font-weight: 400;
  font-size: 36px;
  text-align: left;
  text-transform: none;
  padding: 0 0 10px 0;
  line-height: 45px;
  margin: 0;
}
.BlocGauche h2 {
  color: #fff;
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 400;
}
.BlocGauche p {
  color: #fff;
  line-height: 1.8;
  margin: 0 0 15px;
}
.BlocGauche strong { font-weight: 400; color: #fff; }
.BlocGauche a:not(.btn_meetlaw) { color: #fff; }
.BlocGauche a:not(.btn_meetlaw):hover { opacity: 0.7; color: #fff; }
.BlocGauche a strong { color: #002fa7; }
.BlocGauche .Trait {
  display: inline-block;
  margin-top: 15px;
  color: #fff;
  text-decoration: none;
}
.BlocGauche .Trait:before {
  content: '';
  display: block;
  width: 60px;
  border-bottom: 7px solid #fff;
  margin-bottom: 5px;
}
.BlocGauche .btn_meetlaw {
  display: inline-block;
  margin: 15px 0;
  padding: 10px 20px;
  background: #fff;
  color: #bc1828;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
}
.BlocGauche .btn_meetlaw:hover { background: #002fa7; color: #fff; }

/* Bloc Bleu — Photo + infos (en haut à droite) */
.BlocBleu {
  grid-column: 2 !important;
  grid-row: 1 !important;
  background: #002fa7 !important;
  padding: 30px 40px !important;
  text-align: center !important;
  color: #fff !important;
  min-height: 200px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.BlocBleu img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto 15px;
  display: block;
}
.BlocBleu .TitreBloc {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}
.BlocBleu h3 {
  color: #fff;
  font-size: 16px;
  margin: 15px 0 5px;
}
.BlocBleu p {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
}

/* Bloc Bordeaux — Domaines d'intervention (en bas à droite) */
.BlocBordeaux {
  grid-column: 2 !important;
  grid-row: 2 !important;
  background: #d4a017 !important;
  padding: 30px 40px !important;
  color: #000 !important;
  min-height: 220px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.BlocBordeaux h2 {
  color: #000;
  font-size: 30px;
  padding-bottom: 20px;
  text-align: left;
  text-transform: uppercase;
  margin: 0;
  width: 100%;
}
.BlocBordeaux h2 a { color: #000; text-decoration: none; }
.BlocBordeaux h2 a:hover { opacity: 0.5; }
.BlocBordeaux ul {
  width: 100%;
  text-align: left;
  border-left: 1px solid #000;
  padding-left: 17px;
  list-style: none;
}
.BlocBordeaux ul li {
  text-transform: uppercase;
  padding-bottom: 7px;
}
.BlocBordeaux ul li a {
  color: #000;
  text-decoration: none;
  transition: all 0.35s ease-in-out;
}
.BlocBordeaux ul li a:hover {
  padding-left: 15px;
  color: rgba(255,255,255,0.7);
}

/* Section Engagements */
section.Engagements-section {
  background: #eeeeee;
  padding: 30px 0 40px;
}
section.Engagements-section .Titre {
  display: block;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  color: #bc1828;
  margin-bottom: 35px;
}
section.Engagements-section p {
  max-width: 900px;
  margin: 0 auto 25px;
  font-size: 17px;
  line-height: 1.8;
  text-align: justify;
}

/* === FOOTER === */
footer.Fond {
  background: #2a2a2a;
  padding: 40px 0 20px;
  margin-top: 0;
}
.footer0.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.footer0 .FootAdresse {
  flex: 1 1 220px;
}
.footer0 .Expertise {
  flex: 1 1 220px;
}
.footer0 .Engagements {
  flex: 1 1 300px;
}
footer.Fond .Titre {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
footer.Fond .FootAdresse p,
footer.Fond .FootAdresse {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}
footer.Fond .TelAdresse { margin-top: 8px; }
footer.Fond .TelAdresse a { color: #ccc; }
footer.Fond .BtnGoogle {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 15px;
  background: #bc1828;
  color: #fff !important;
  border-radius: 3px;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}
footer.Fond .BtnGoogle:hover {
  background: #002fa7;
  color: #fff;
}
footer.Fond .Expertise ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer.Fond .Expertise ul li {
  margin-bottom: 5px;
}
footer.Fond .Expertise ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}
footer.Fond .Expertise ul li a:hover { color: #fff; }
footer.Fond .Engagements p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

/* Copyright */
.footer-copyright {
  text-align: center;
  padding: 15px 0;
  font-size: 12px;
  color: #999;
  border-top: 1px solid #444;
  margin-top: 20px;
}

/* === SINGLE POST === */
.single-post .pagedefaut {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}
.single-post .post-title {
  font-size: 30px;
  font-weight: 700;
  color: #bc1828;
  margin-bottom: 10px;
}
.single-post .post-date {
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
}
.single-post .post-content {
  line-height: 1.8;
}
.single-post .post-content h2 { color: #bc1828; }
.single-post .post-content img { margin: 20px 0; }

/* === ARCHIVE === */
.archive .pagedefaut {
  max-width: 1250px;
  margin: 0 auto;
  padding: 40px 20px;
}
.archive .page-title {
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  color: #bc1828;
  margin-bottom: 30px;
}
.archive .post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.archive .post-item {
  background: #fff;
  border-top: 3px solid #bc1828;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.archive .post-item h3 a {
  color: #1d1d1b;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}
.archive .post-item h3 a:hover { color: #bc1828; }
.archive .post-item .post-excerpt {
  font-size: 14px;
  color: #555;
  margin-top: 10px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  #Defile .container { flex-direction: column; }
  .headerCol2 .Menu { float: none; width: 100%; }
  .nav.navbar-nav { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .RS .menuSocial { justify-content: center; padding-right: 0; }
  .nav.navbar-nav { flex-direction: column; align-items: center; }
  .nav.navbar-nav > li > a { padding: 8px 10px; font-size: 14px; }
  .diaporamaItemTexte { bottom: 30px; }
  .BlocTexteTitre { font-size: 28px; }
  .BlocTexteSsTitre { font-size: 16px; }
  .diaporamaItemImg { height: 300px; }
  .expertise-grid { flex-direction: column; }
  .expertise-item { border-right: none; border-bottom: 1px solid #bc1828; padding: 20px; }
  .expertise-item:last-child { border-bottom: none; }
  .footer0.container { flex-direction: column; }
  .actus-grid { flex-direction: column; }
  section.Le-Cabinet p, section.Expertises h2 { text-align: center; }
  .archive .post-list { grid-template-columns: 1fr; }
  /* Phase 2: stack colored blocks on mobile */
  .FondGris .sectionContainer {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    gap: 0 !important;
  }
  .BlocGauche {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: auto;
    padding: 30px 25px !important;
  }
  .BlocBleu {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-height: auto;
    padding: 25px !important;
  }
  .BlocBordeaux {
    grid-column: 1 !important;
    grid-row: 3 !important;
    min-height: auto;
    padding: 25px !important;
  }
  .banner-page { height: 200px; }
}

@media (max-width: 480px) {
  .BlocTexteTitre { font-size: 20px; }
  .BlocTexteSsTitre { font-size: 14px; }
  .diaporamaItemImg { height: 250px; }
  .banner-page { height: 160px; }
  .banner-page .banner-title h1 { font-size: 22px; }
  .BlocGauche { padding: 25px 20px !important; }
  .BlocBleu { padding: 20px !important; }
  .BlocBordeaux { padding: 20px !important; }
}

/* === WORDPRESS FIXES === */
.wp-block-post-title { display: none; }
.entry-title { display: none; }
img.alignnone { margin: 20px auto; display: block; }
img.alignleft { float: left; margin: 0 20px 10px 0; }
img.alignright { float: right; margin: 0 0 10px 20px; }
img.aligncenter { display: block; margin: 20px auto; }

/* Hide cookie banner */
#cmplz-cookiebanner-container, .cmplz-cookiebanner { display: none !important; }

/* === PAGES INTERNES === */
.page-banner {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  padding: 0;
  margin-bottom: 0;
}
.page-banner .banner-overlay {
  background: linear-gradient(135deg, rgba(188,24,40,0.85), rgba(188,24,40,0.7));
  padding: 50px 0 40px;
}
.page-banner .banner-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-banner h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin: 30px 0 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.page-breadcrumb {
  margin-top: 5px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}
.page-breadcrumb a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}
.page-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}
.page-breadcrumb .sep {
  margin: 0 6px;
  color: rgba(255,255,255,0.5);
}
.page-breadcrumb .current {
  color: rgba(255,255,255,0.7);
}
.page-content, .single-post, .archive-page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.page-article, .single-article {
  background: #fff;
  padding: 30px;
  line-height: 1.7;
  font-size: 16px;
  color: var(--noir);
  text-align: left;
}
.page-article h2, .single-article h2 {
  color: var(--bourgogne);
  font-size: 22px;
  margin: 55px 0 12px;
  font-weight: 700;
}
.page-article h3, .single-article h3 {
  color: var(--bourgogne);
  font-size: 18px;
  margin: 50px 0 10px;
  font-weight: 700;
}
.page-article p, .single-article p {
  margin: 0 0 15px;
  line-height: 1.7;
}
.page-article img, .single-article img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
}
.page-article ul, .single-article ul {
  margin: 0 0 15px 20px;
  padding: 0;
}
.page-article li, .single-article li {
  margin: 5px 0;
}

/* === PAGE LE CABINET — LAYOUT 2 COLONNES === */
.cabinet-layout {
  margin: 20px 0;
}
.cabinet-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}
.cabinet-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.cabinet-row-2 {
  grid-template-columns: 1fr 1.5fr;
}
.cabinet-row-2 .cabinet-text {
  order: 2;
}
.cabinet-row-2 .cabinet-image {
  order: 1;
}
.cabinet-text p {
  margin: 0 0 15px;
  line-height: 1.8;
  font-size: 16px;
  text-align: left;
}
.cabinet-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* === PAGE ISABELLE CHATIN — PROFILE 2 COLONNES === */
.profile-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin: 20px 0;
}
.profile-text h2 {
  color: var(--bourgogne);
  font-size: 20px;
  margin: 0 0 15px;
  font-weight: 700;
}
.profile-text p {
  margin: 0 0 15px;
  line-height: 1.8;
  font-size: 16px;
  text-align: left;
}
.profile-image {
  text-align: center;
}
.profile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
@media (max-width: 768px) {
  .cabinet-row, .cabinet-row-2, .profile-layout {
    grid-template-columns: 1fr;
  }
  .cabinet-row-2 .cabinet-text { order: 1; }
  .cabinet-row-2 .cabinet-image { order: 2; }
}

/* === PAGE CONTACT — GRILLE 2 COLONNES + MAPS === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 20px 0 30px;
}
.contact-col h2 {
  color: var(--bourgogne);
  font-size: 24px;
  margin: 0 0 15px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bourgogne);
}
.contact-col p {
  margin: 0 0 12px;
  line-height: 1.7;
  font-size: 16px;
}
.contact-col strong {
  color: var(--noir);
}
.contact-rdv-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 25px;
  background: var(--bourgogne);
  color: #fff !important;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-rdv-btn:hover {
  background: var(--bleu-deep);
}
.contact-maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 30px 0;
}
.contact-map {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
  .contact-grid, .contact-maps {
    grid-template-columns: 1fr;
  }
}

/* === PAGE EXPERTISES — GRILLE 3 COLONNES === */
.expertises-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 20px 0;
}
.expertise-card {
  padding: 30px 25px;
  border-radius: 4px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.expertise-card-red {
  background: var(--bourgogne);
  color: #fff;
}
.expertise-card-blue {
  background: var(--bleu-deep);
  color: #fff;
}
.expertise-card-gold {
  background: #c9a227;
  color: #fff;
}
.expertise-card h2 {
  color: #fff !important;
  font-size: 22px;
  margin: 0 0 15px;
  font-weight: 700;
}
.expertise-card h2 a {
  color: #fff;
  text-decoration: none;
}
.expertise-card h2 a:hover {
  text-decoration: underline;
}
.expertise-card p {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.expertise-card .expertise-btn {
  display: inline-block;
  margin-top: auto;
  padding: 8px 20px;
  background: rgba(255,255,255,0.2);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}
.expertise-card .expertise-btn:hover {
  background: rgba(255,255,255,0.35);
}
@media (max-width: 768px) {
  .expertises-grid {
    grid-template-columns: 1fr;
  }
}

/* === SINGLE POST === */
.single-post .post-meta {
  margin-bottom: 20px;
  color: #888;
  font-size: 14px;
}
.single-post .post-content {
  margin-bottom: 30px;
}
.post-navigation {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid #ddd;
  margin-top: 30px;
}
.post-navigation a {
  color: var(--bourgogne);
  text-decoration: none;
  font-weight: 700;
}
.post-navigation a:hover {
  text-decoration: underline;
}

/* === PAGE ACTUALITÉS — GRILLE 19 ARTICLES === */

/* Grille d'articles */
.actualites-page {
  max-width: 1250px;
  margin: 40px auto;
  padding: 0 20px;
}

.actualites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

/* Carte article */
.actualite-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.actualite-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translate(-2px, -2px);
  border-color: #ddd;
}
.actualite-image {
  margin: -20px -20px 15px;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  height: 200px;
}
.actualite-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.actualite-card:hover .actualite-image img {
  transform: scale(1.05);
}

/* Date de l'article */
.actualite-date {
  font-size: 13px;
  color: var(--bourgogne);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

/* Titre de l'article */
.actualite-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--noir);
  margin: 10px 0;
  line-height: 1.4;
}

.actualite-title a {
  color: var(--noir);
  text-decoration: none;
}

.actualite-title a:hover {
  color: var(--bourgogne);
}

/* Extrait de l'article */
.actualite-excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 15px 0;
  flex-grow: 1;
  /* Limiter à 3 lignes */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Lien "Lire la suite" */
.actualite-readmore {
  display: inline-block;
  color: var(--bourgogne);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  margin-top: auto;
}

.actualite-readmore:hover {
  color: var(--bleu-deep);
  text-decoration: underline;
}

/* Pagination */
.actualites-pagination {
  margin-top: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.actualites-pagination a,
.actualites-pagination span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: var(--noir);
  font-size: 14px;
  transition: all 0.2s ease;
}

.actualites-pagination a:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.actualites-pagination .current,
.actualites-pagination span.current {
  background: var(--bourgogne);
  color: #fff;
  border-color: var(--bourgogne);
}

/* Responsive */
@media (max-width: 1024px) {
  .actualites-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .actualites-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .actualites-page {
    margin: 20px auto;
    padding: 0 15px;
  }
  
  .actualite-card {
    padding: 15px;
  }
  
  .actualites-pagination {
    margin-top: 30px;
    gap: 6px;
  }
  
  .actualites-pagination a,
  .actualites-pagination span {
    padding: 6px 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .actualite-title {
    font-size: 16px;
  }
  
  .actualite-excerpt {
    font-size: 13px;
  }
  
  .actualite-readmore {
    font-size: 12px;
  }
}
/* ===== Bandeau Actus (articles + archive) ===== */
.actus-banner {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  max-height: 250px;
  overflow: hidden;
  position: relative;
}
.actus-banner img.actus-banner-img {
  width: 100%;
  height: 250px;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Titre article sous le bandeau */
.single-post .post-title {
  color: #bc1828;
  font-size: 1.8em;
  margin: 30px 0 10px;
}
.archive-page .archive-title {
  color: #bc1828;
  font-size: 2em;
  margin: 30px 0 20px;
}

/* ============================================
   MENU FIXE PENDANT LE DÉFILEMENT (sticky)
   ============================================ */

/* Rendre le header entier fixe */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: transparent;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* La barre sociale RS reste en haut */
.RS {
  position: relative;
}

/* FondTop devient la partie principale du header fixe */
.FondTop {
  background: rgba(255, 255, 255, 0.5);
  padding: 10px 0;
  border-bottom: none;
}

/* Compenser le header fixe pour que le contenu ne soit pas caché */
body.home {
  padding-top: 110px; /* hauteur approximative du header (RS 40px + FondTop ~70px) */
}

/* Responsive : ajuster le padding sur mobile */
@media (max-width: 768px) {
  body.home {
    padding-top: 130px; /* un peu plus sur mobile car le menu peut se replier */
  }
}

/* ============================================
   PAGE CONTACT — Cadres bleu et jaune
   ============================================ */

/* Cadre bleu : Stationnements */
.contact-infos.contact-bleu {
  background: #002fa7;
  color: #fff;
  padding: 25px 30px;
  margin: 20px 0;
  border-radius: 0;
}
.contact-infos.contact-bleu h2 {
  color: #fff;
  font-size: 1.5em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.contact-infos.contact-bleu p {
  color: #fff;
  margin: 0;
}

/* Cadre jaune : Transports */
.contact-infos.contact-jaune {
  background: #f5c842;
  color: #1d1d1b;
  padding: 25px 30px;
  margin: 20px 0;
  border-radius: 0;
}
.contact-infos.contact-jaune h2 {
  color: #1d1d1b;
  font-size: 1.5em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.contact-infos.contact-jaune h3 {
  color: #bc1828;
  font-size: 1.1em;
  margin: 15px 0 5px;
}
.contact-infos.contact-jaune p {
  color: #1d1d1b;
  margin: 0;
}

/* Section formulaire de contact */
.contact-form-section {
  margin: 30px 0;
  padding: 30px;
  background: #f9f9f9;
  border: 1px solid #eee;
}
.contact-form-section h2 {
  color: #bc1828;
  font-size: 1.8em;
  margin: 0 0 20px;
}

/* Styles du formulaire CF7 */
.contact-form-section .wpcf7-form {
  max-width: 700px;
}
.contact-form-section label {
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
  color: #1d1d1b;
}
.contact-form-section .wpcf7-form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 15px;
  margin-bottom: 15px;
}
.contact-form-section .wpcf7-form-control:focus {
  border-color: #bc1828;
  outline: none;
}
.contact-form-section .wpcf7-submit {
  background: #bc1828;
  color: #fff;
  border: none;
  padding: 10px 30px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
}
.contact-form-section .wpcf7-submit:hover {
  background: #002fa7;
}
.contact-form-section .wpcf7-acceptance {
  display: inline-block;
  margin-right: 10px;
}
.contact-form-section .wpcf7-list-item {
  margin: 0;
}

/* === VERSION 2.0 — Améliorations Phase 1 === */

/* Carousel — overlay sombre pour lisibilité du texte */
.diaporama-slider .item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  z-index: 5;
  pointer-events: none;
}
.diaporamaItemTexte {
  z-index: 10;
}

/* Bannière pages internes — plus haute et plus impactante */
.page-banner {
  min-height: 300px;
  display: flex;
  align-items: center;
}
.page-banner .banner-overlay {
  background: linear-gradient(135deg, rgba(188,24,40,0.88), rgba(188,24,40,0.65));
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: 60px 0 50px;
}
.page-banner h1.page-title {
  font-size: 36px;
  font-weight: 900;
  margin: 30px 0 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* CTA en bas des pages internes */
.page-cta {
  text-align: center;
  padding: 30px 0 10px;
  margin-top: 20px;
}
.btn-cta {
  display: inline-block;
  background: #bc1828;
  color: #fff !important;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 40px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-cta:hover {
  background: #002fa7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Menu mobile — hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}
.menu-toggle-bar {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}
.menu-toggle.active .menu-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.active .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .menu-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Interlignage plus aéré dans le bloc de présentation */
.BlocGauche p {
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Espacement section Engagements */
.Engagements-section {
  padding: 30px 0 40px;
  margin-top: 0;
}
.Engagements-section .Titre {
  display: block;
  margin-bottom: 20px;
}
.Engagements-section p {
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

/* Espacement bandeau actus avant footer */
.bandeauActus {
  margin-bottom: 0;
  padding-bottom: 40px;
}

/* Amélioration ombre cartes actualités */
.actus-item {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.actus-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* Responsive — Menu mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .headerCol2 .Menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .headerCol2 .Menu.mobile-open {
    display: block;
  }
  .headerCol2 .Menu nav ul.nav {
    flex-direction: column;
    width: 100%;
  }
  .headerCol2 .Menu nav ul.nav li {
    width: 100%;
    text-align: left;
  }
  .headerCol2 .Menu nav ul.nav li a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
  }
  .headerCol2 .Menu nav ul.nav li.menu-item-has-children > a::after {
    content: ' ▾';
  }
  .headerCol2 .Menu nav ul.nav .sub-menu {
    position: static;
    display: block;
    background: #f5f5f5;
    box-shadow: none;
  }
  .headerCol2 .Menu nav ul.nav .sub-menu li a {
    padding-left: 40px;
    font-size: 13px;
  }
  /* Blocs colorés s'empilent verticalement */
  .sectionContainer {
    grid-template-columns: 1fr !important;
  }
  .BlocGauche {
    grid-row: auto !important;
  }
  /* Bannière plus petite sur mobile */
  .page-banner .banner-overlay {
    min-height: 180px;
    padding: 30px 0 25px;
  }
  .page-banner h1.page-title {
    font-size: 24px;
  }
  /* Carousel plus court sur mobile */
  .diaporamaItemImg {
    height: 280px;
  }
  .BlocTexteTitre {
    font-size: 28px;
  }
  .BlocTexteSsTitre {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .diaporamaItemImg {
    height: 220px;
  }
  .BlocTexteTitre {
    font-size: 22px;
  }
  .BlocTexteSsTitre {
    font-size: 14px;
  }
  .page-banner h1.page-title {
    font-size: 20px;
  }
  .btn-cta {
    font-size: 15px;
    padding: 12px 25px;
  }
}

/* Optimisation footer — lisibilité */
footer.Fond .FootAdresse {
  font-size: 14px;
  line-height: 1.6;
}
footer.Fond .TelAdresse a {
  color: #fff;
  text-decoration: none;
}
footer.Fond .TelAdresse a:hover {
  text-decoration: underline;
}

/* === Encadré Formation (page Isabelle CHATIN) === */
.formation-box {
    background: #f5f5f5;
    border-left: 4px solid #bc1828;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 4px 4px 0;
}
.formation-box h3 {
    color: #bc1828;
    font-size: 1.1em;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.formation-box h3:not(:first-child) {
    margin-top: 20px;
}
.formation-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.formation-box ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.formation-box ul li::before {
    content: "▪";
    color: #bc1828;
    position: absolute;
    left: 0;
}
.formation-box ul ul {
    margin-top: 5px;
    margin-left: 15px;
}
.formation-box ul ul li {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 5px;
}
.formation-box ul ul li::before {
    content: "–";
    color: #999;
}



/* Footer background确保 dark */
footer.Fond { background: #2c2c2c; color: #ccc; }
footer.Fond .footer0 { padding-bottom: 20px; }

/* ===== Footer1 — Menu navigation ===== */
footer .footer1 { text-align: center; padding: 20px 0 15px 0; border-top: 1px solid rgba(255,255,255,0.15); margin-top: 15px; }
footer .footer1 a { color: #fff; }
footer .footer1 a:hover { color: #bc1828; }
.footer1 .menufooter1 ul { list-style: none; margin: 0; padding: 0; }
.footer1 .menufooter1 ul li { display: inline-block; margin: auto; padding: 5px 10px; }
.footer1 .menufooter1 ul li a { font-size: 14px; color: #fff; transition: color 0.3s ease; }
.footer1 .menufooter1 ul li a:hover { color: #bc1828; }
.footer1 .menufooter1 ul li:not(:last-child):after { content: " |"; color: rgba(255,255,255,0.3); margin-left: 10px; }
