/* ===================================================
   VARIABLES & RESET
=================================================== */
:root {
  --anthracite:  #2c3137;
  --anthracite-d:#1e2328;
  --navy:        #1a3050;
  --navy-l:      #243a60;
  --accent:      #c8700a;
  --accent-l:    #e0850f;
  --white:       #ffffff;
  --bg:          #f5f3ef;
  --bg-alt:      #eeeae3;
  --beige:       #f0ece4;
  --text:        #1e2328;
  --text-m:      #4a4f57;
  --text-l:      #787e88;
  --border:      #d8d3ca;
  --radius:      6px;
  --radius-lg:   12px;
  --max-w:       1180px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.07);
  --shadow-md:   0 6px 24px rgba(0,0,0,.10);
  --trans:       .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.68;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; }

/* ===================================================
   UTILITIES
=================================================== */
.container {
  width: 90%;
  max-width: var(--max-w);
  margin-inline: auto;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.tag {
  display: inline-block;
  font-size: .7rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent); color: var(--white);
  padding: .25rem .65rem; border-radius: 3px;
}
.tag--navy { background: var(--navy); }
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .9rem; font-weight: 600; letter-spacing: .02em;
  padding: .7rem 1.45rem; border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background var(--trans), color var(--trans), border-color var(--trans), transform var(--trans);
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--accent); color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-l); border-color: var(--accent-l); }
.btn--outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--outline-dark {
  background: transparent; color: var(--anthracite);
  border-color: var(--anthracite);
}
.btn--outline-dark:hover { background: var(--anthracite); color: var(--white); }
.section-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700; line-height: 1.25;
  color: var(--anthracite);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1rem; color: var(--text-m); max-width: 580px;
}

/* ===================================================
   HEADER & NAV
=================================================== */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: var(--anthracite);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  width: 92%; max-width: var(--max-w); margin-inline: auto;
}

/* Logo */
.site-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.site-logo svg { width: 46px; height: 46px; }

/* Desktop nav */
.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; align-items: center; gap: .15rem; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: .35rem;
  font-size: .875rem; font-weight: 600; letter-spacing: .03em;
  text-transform: uppercase; color: rgba(255,255,255,.78);
  padding: .6rem .95rem; border-radius: var(--radius);
  transition: color var(--trans), background var(--trans);
  white-space: nowrap;
}
.main-nav > ul > li > a:hover {
  color: var(--white); background: rgba(255,255,255,.1);
}
.main-nav > ul > li > a.active {
  color: var(--accent-l);
  background: rgba(200,112,10,.15);
}
.nav-arrow {
  width: 10px; height: 10px; fill: none;
  stroke: currentColor; stroke-width: 2.2;
  transition: transform var(--trans);
  opacity: .7;
}
.main-nav > ul > li:hover .nav-arrow { transform: rotate(180deg); opacity: 1; }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 290px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  padding: .5rem 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  transition-delay: 80ms; /* grace period: ne se ferme pas instantanément */
}
.main-nav > ul > li:hover .nav-dropdown,
.main-nav > ul > li:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s; /* ouverture immédiate */
}

/* Pont invisible : étend la zone de survol du <li> pour couvrir le gap de 8px */
/* Sans lui, la souris qui traverse le vide entre le bouton et le dropdown ferme le menu */
.main-nav > ul > li:has(.nav-dropdown)::after {
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 10px; /* couvre le gap de 8px + marge de sécurité */
}
.nav-dropdown::before {
  content: ''; position: absolute; top: -5px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}
.nav-dropdown a {
  display: flex; align-items: center; gap: .7rem;
  font-size: .875rem; font-weight: 500; color: var(--text);
  padding: .65rem 1.25rem;
  transition: background var(--trans), color var(--trans), padding-left var(--trans);
}
.nav-dropdown a:hover {
  background: var(--bg); color: var(--accent); padding-left: 1.45rem;
}
.nav-dropdown a .dd-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--accent); opacity: .8;
}
.nav-dropdown a:hover .dd-icon { opacity: 1; }

/* Mobile burger */
.burger-btn {
  display: none; flex-direction: column; gap: 5px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  padding: .6rem .7rem; border-radius: var(--radius);
}
.burger-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.burger-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.is-open span:nth-child(2) { opacity: 0; }
.burger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed; inset: 72px 0 0;
  background: var(--anthracite-d);
  overflow-y: auto;
  z-index: 998;
  padding: .5rem 0 3rem;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block; font-size: .92rem; font-weight: 600;
  color: rgba(255,255,255,.82); letter-spacing: .04em;
  text-transform: uppercase; padding: .85rem 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--trans), background var(--trans);
}
.mobile-menu a:hover { color: var(--accent-l); background: rgba(255,255,255,.05); }
.mobile-menu .submenu a {
  font-size: .83rem; font-weight: 500;
  text-transform: none; letter-spacing: 0;
  padding: .75rem 1.6rem .75rem 2.8rem;
  color: rgba(255,255,255,.58);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.mobile-menu .submenu a:hover { color: var(--accent-l); background: rgba(255,255,255,.04); }
.mobile-menu .submenu-title {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  padding: 1rem 1.6rem .4rem;
  border-bottom: none;
  display: block;
}

/* ===================================================
   HERO
=================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--anthracite-d);
  color: var(--white);
  padding: 5rem 0 4.5rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../img/hero-toiture-gironde.jpg');
  background-size: cover;
  background-position: center 62%;
  z-index: 0;
  animation: heroZoom 16s ease-out forwards;
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,
      rgba(6, 12, 24, 0.92) 0%,
      rgba(6, 12, 24, 0.80) 38%,
      rgba(6, 12, 24, 0.52) 65%,
      rgba(6, 12, 24, 0.28) 100%
    ),
    linear-gradient(to top,
      rgba(6, 12, 24, 0.55) 0%,
      transparent 40%
    );
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}

.hero > .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(200,112,10,.2); color: var(--accent-l);
  border: 1px solid rgba(200,112,10,.35);
  padding: .3rem .8rem; border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 1.2rem;
  max-width: 680px;
}
.hero h1 span { color: var(--accent-l); }
.hero-subtitle {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.78);
  max-width: 600px; line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-features {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-feat {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: rgba(255,255,255,.72);
}
.hero-feat svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* Page Hero (commune/prestations) */
.page-hero {
  background: linear-gradient(135deg, var(--anthracite-d) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
}
.page-hero .breadcrumb {
  font-size: .78rem; color: rgba(255,255,255,.55);
  margin-bottom: .85rem;
}
.page-hero .breadcrumb a { color: var(--accent-l); }
.page-hero .breadcrumb span { margin: 0 .4rem; }
.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; line-height: 1.2;
  margin-bottom: .85rem;
}
.page-hero p {
  font-size: 1rem; color: rgba(255,255,255,.75);
  max-width: 820px;
}
.hero-tel {
  display: flex; align-items: center; gap: .55rem;
  margin-top: .85rem;
  font-size: 1.05rem;
}
.hero-tel svg {
  width: 1.1rem; height: 1.1rem; flex-shrink: 0;
  stroke: #f5a623; opacity: .9;
}
.hero-tel a {
  color: #f5a623; font-weight: 700;
  text-decoration: none; letter-spacing: .03em;
}
.hero-tel a:hover { text-decoration: underline; }

/* ===================================================
   SECTIONS COMMONS
=================================================== */
.section { padding: 4.5rem 0; }
.section--alt { background: var(--bg); }
.section--beige { background: var(--beige); }
.section--dark { background: var(--anthracite); color: var(--white); }
.section-head { margin-bottom: 2.8rem; }
.section-head .section-title { color: inherit; }

/* ===================================================
   CARDS
=================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
}
.cards-grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cards-grid--2 { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex; flex-direction: column;
  transition: box-shadow var(--trans), transform var(--trans);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card--flat { box-shadow: none; }
.card--dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-l) 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon svg { width: 26px; height: 26px; color: var(--white); }
.card h3 {
  font-size: 1.02rem; font-weight: 700;
  color: var(--anthracite); margin-bottom: .5rem;
}
.card--dark h3 { color: var(--white); }
.card p { font-size: .88rem; color: var(--text-m); line-height: 1.6; }
.card--dark p { color: rgba(255,255,255,.65); }
.card-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .82rem; font-weight: 600; color: var(--accent);
  margin-top: auto;
  padding-top: .8rem; /* conserve l'espacement visuel minimum */
  transition: gap var(--trans);
}
.card-link:hover { gap: .55rem; }
.card-link svg { width: 14px; height: 14px; }

/* ===================================================
   PRESTATIONS LIST
=================================================== */
.prestation-item {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.prestation-item:last-child { border-bottom: none; }
.prestation-check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: .1rem;
}
.prestation-check svg { width: 12px; height: 12px; color: var(--white); }
.prestation-item strong {
  font-size: .92rem; display: block; margin-bottom: .18rem;
}
.prestation-item span { font-size: .83rem; color: var(--text-m); }

/* ===================================================
   COMMUNES GRID
=================================================== */
.communes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.commune-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: box-shadow var(--trans), border-color var(--trans), transform var(--trans);
  text-decoration: none;
}
.commune-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.commune-card .c-pin {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-l) 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .85rem;
}
.commune-card .c-pin svg { width: 20px; height: 20px; color: var(--white); }
.commune-card strong {
  font-size: .95rem; font-weight: 700; color: var(--anthracite);
  margin-bottom: .25rem;
}
.commune-card span {
  font-size: .78rem; color: var(--text-l);
}
.commune-card .c-arrow {
  margin-top: auto; align-self: flex-end;
  padding-top: .75rem; /* conserve l'espacement visuel minimum */
  font-size: .78rem; font-weight: 600; color: var(--accent);
  display: flex; align-items: center; gap: .2rem;
}
.commune-card .c-arrow svg { width: 13px; height: 13px; }


/* ===================================================
   INFO LOCALE CARD
=================================================== */
.info-locale {
  background: var(--beige);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  margin-top: 2.5rem;
}
.info-locale h3 {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem;
}
.info-locale h3 svg { width: 14px; height: 14px; }
.info-locale-grid {
  display: grid; grid-template-columns: auto 1fr; gap: .35rem .85rem;
  font-size: .85rem;
}
.info-locale-grid dt { font-weight: 600; color: var(--text); }
.info-locale-grid dd { color: var(--text-m); }
.info-locale-grid dd a { color: var(--accent); font-weight: 700; text-decoration: none; }
.info-locale-grid dd a:hover { text-decoration: underline; }
.info-locale-note {
  margin-top: .9rem;
  padding: .8rem 1rem;
  background: rgba(200,112,10,.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .85rem; color: var(--text-m);
  line-height: 1.6; font-style: italic;
}

/* ===================================================
   CONTACT PAGE
=================================================== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem;
  align-items: start;
}
.contact-info h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: .75rem; }
.contact-info p { font-size: .92rem; color: var(--text-m); margin-bottom: 1.5rem; line-height: 1.7; }
.contact-detail {
  display: flex; align-items: center; gap: .75rem;
  padding: .9rem 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: .7rem;
  font-size: .88rem;
}
.contact-detail svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.contact-detail strong { font-weight: 600; }
.contact-zones {
  margin-top: 2rem;
  padding: 1.3rem;
  background: var(--beige);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.contact-zones h3 {
  font-size: .78rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .75rem;
}
.contact-zones .zone-tags {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.zone-tag {
  font-size: .78rem; font-weight: 600;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .22rem .75rem;
  color: var(--text);
  transition: background var(--trans), border-color var(--trans), color var(--trans);
}
.zone-tag:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.contact-text-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}
.contact-text-card h2 {
  font-size: 1.3rem; font-weight: 700;
  color: var(--anthracite); margin-bottom: 1rem;
}
.contact-text-card p {
  font-size: .9rem; color: var(--text-m); line-height: 1.75;
  margin-bottom: 1rem;
}
.contact-text-card p:last-child { margin-bottom: 0; }
.contact-communes-list {
  display: flex; flex-direction: column; gap: .55rem;
  margin-top: 1.2rem;
}
.cml-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .65rem .9rem;
  background: var(--bg);
  border-radius: var(--radius);
  font-size: .86rem;
}
.cml-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.cml-item a { color: var(--navy); font-weight: 600; }
.cml-item a:hover { color: var(--accent); }
.cml-item span { color: var(--text-l); font-size: .8rem; }

/* ===================================================
   MAILLAGE INTERNE (commune pages)
=================================================== */
.nearby-communes {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .85rem;
}
.nearby-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .83rem; font-weight: 600; color: var(--text);
  transition: border-color var(--trans), color var(--trans), background var(--trans);
}
.nearby-link svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.nearby-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(200,112,10,.04); }

/* ===================================================
   FOOTER
=================================================== */
.site-footer {
  background: var(--anthracite-d);
  color: rgba(255,255,255,.7);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem; padding-bottom: 2.5rem;
}
.footer-brand .site-logo svg { width: 40px; height: 40px; }
.footer-brand .brand-desc {
  font-size: .82rem; line-height: 1.65;
  margin-top: .85rem; max-width: 230px;
}
.footer-col h4 {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .85rem;
}
.footer-col ul li { margin-bottom: .45rem; }
.footer-col ul a {
  font-size: .83rem; color: rgba(255,255,255,.65);
  transition: color var(--trans);
}
.footer-col ul a:hover { color: var(--accent-l); }
.footer-phone {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: rgba(255,255,255,.8);
  margin-bottom: .4rem;
}
.footer-phone svg { width: 14px; height: 14px; color: var(--accent); }
.footer-phone strong { font-weight: 600; }
.footer-addr {
  font-size: .78rem; color: rgba(255,255,255,.45);
  line-height: 1.5;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.1rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.35); }
.footer-bottom nav { display: flex; gap: 1.2rem; }
.footer-bottom nav a {
  font-size: .75rem; color: rgba(255,255,255,.35);
  transition: color var(--trans);
}
.footer-bottom nav a:hover { color: rgba(255,255,255,.7); }

/* ===================================================
   INTRO TEXT BLOCK
=================================================== */
.text-block { max-width: 780px; }
.text-block p { margin-bottom: 1rem; font-size: .95rem; color: var(--text-m); line-height: 1.75; }
.text-block p:last-child { margin-bottom: 0; }
.text-block h2 { font-size: 1.25rem; font-weight: 700; margin: 1.5rem 0 .6rem; color: var(--anthracite); }

/* ===================================================
   2-COL SPLIT
=================================================== */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start;
}
.split--center { align-items: center; }
.split--60-40 { grid-template-columns: 1.4fr 1fr; }

/* ===================================================
   BADGES ROW
=================================================== */
.badges-row {
  display: flex; flex-wrap: wrap; gap: .65rem;
  margin-top: 1.2rem;
}
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 600;
  background: rgba(200,112,10,.1);
  color: var(--accent);
  border: 1px solid rgba(200,112,10,.25);
  padding: .28rem .75rem; border-radius: 50px;
}
.badge svg { width: 13px; height: 13px; }

/* ===================================================
   STEPS
=================================================== */
.steps { display: flex; flex-direction: column; gap: 1.4rem; }
.step {
  display: flex; gap: 1rem; align-items: flex-start;
}
.step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-l) 100%);
  color: var(--white); font-size: .82rem; font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step-body strong { font-size: .95rem; font-weight: 700; display: block; margin-bottom: .2rem; }
.step-body span { font-size: .85rem; color: var(--text-m); }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .burger-btn { display: flex; }
  .split, .split--60-40, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cards-grid--2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .hero-ctas { flex-direction: column; }
  .communes-grid { grid-template-columns: 1fr 1fr; }
  .contact-text-card { padding: 1.5rem; }

  /* Communes list – mobile : ville + téléphone empilés */
  .cml-item {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: .18rem;
  }
  .cml-item svg { margin-top: .15rem; flex-shrink: 0; }
  .cml-item a { flex: 1 1 auto; }
  .cml-item span {
    flex: 0 0 100%;
    padding-left: calc(16px + .7rem);
    font-size: .76rem;
  }
}

/* ===================================================
   FAQ
=================================================== */
.faq-list { display: flex; flex-direction: column; gap: .7rem; max-width: 820px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow var(--trans);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item.is-open { border-color: rgba(200,112,10,.3); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem 1.4rem;
  background: none; border: none; text-align: left; cursor: pointer;
  font-size: .95rem; font-weight: 600; color: var(--anthracite); line-height: 1.4;
  transition: color var(--trans);
}
.faq-q:hover { color: var(--accent); }
.faq-item.is-open .faq-q { color: var(--accent); }
.faq-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  transition: transform var(--trans); opacity: .6;
}
.faq-item.is-open .faq-chevron { transform: rotate(180deg); opacity: 1; }
.faq-a {
  display: none; padding: 0 1.4rem 1.2rem;
  font-size: .9rem; color: var(--text-m); line-height: 1.75;
}
.faq-item.is-open .faq-a { display: block; }
.faq-a p { margin-bottom: .6rem; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul { padding-left: 1.2rem; margin-top: .5rem; }
.faq-a ul li { margin-bottom: .3rem; font-size: .88rem; }

/* ===================================================
   CHANTIERS / RÉALISATIONS
=================================================== */
.chantiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.chantier-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow var(--trans), transform var(--trans);
}
.chantier-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.chantier-img {
  height: 200px;
  background: linear-gradient(135deg, var(--anthracite-d) 0%, var(--navy) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.chantier-img::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.02) 0px, rgba(255,255,255,.02) 1px,
    transparent 1px, transparent 12px
  );
}
.chantier-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.chantier-ph {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.35); z-index: 1; position: relative;
}
.chantier-ph svg { width: 40px; height: 40px; }
.chantier-ph span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.chantier-label {
  position: absolute; top: .75rem; left: .75rem; z-index: 2;
}
.chantier-body { padding: 1.2rem 1.3rem 1.4rem; }
.chantier-body .ch-type {
  font-size: .7rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .4rem;
}
.chantier-body h3 {
  font-size: .98rem; font-weight: 700; color: var(--anthracite);
  margin-bottom: .35rem; line-height: 1.3;
}
.chantier-body .ch-meta {
  display: flex; align-items: center; gap: .9rem;
  font-size: .78rem; color: var(--text-l); flex-wrap: wrap;
}
.chantier-body .ch-meta span { display: flex; align-items: center; gap: .3rem; }
.chantier-body .ch-meta svg { width: 13px; height: 13px; color: var(--accent); }

/* ===================================================
   CONSEILS / ADVICE STRIP
=================================================== */
.advice-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.advice-item {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: 1.2rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--trans);
}
.advice-item:hover { box-shadow: var(--shadow-sm); }
.advice-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(200,112,10,.12), rgba(200,112,10,.05));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.advice-icon svg { width: 20px; height: 20px; color: var(--accent); }
.advice-item strong { font-size: .9rem; font-weight: 700; display: block; margin-bottom: .2rem; }
.advice-item span { font-size: .83rem; color: var(--text-m); line-height: 1.55; }

/* ===================================================
   MATERIAUX
=================================================== */
.materiaux-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.materiau-card {
  padding: 1.2rem;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--white);
}
.materiau-card .mat-name {
  font-size: .92rem; font-weight: 700; color: var(--anthracite); margin-bottom: .25rem;
}
.materiau-card .mat-durée {
  font-size: .72rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .5rem;
}
.materiau-card p { font-size: .83rem; color: var(--text-m); line-height: 1.55; }

/* ===================================================
   SIGNES RÉNOVATION
=================================================== */
.signes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .85rem;
}
.signe-item {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .9rem 1.1rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.signe-dot {
  width: 8px; height: 8px; flex-shrink: 0; margin-top: .4rem;
  background: var(--accent); border-radius: 50%;
}
.signe-item strong { font-size: .88rem; font-weight: 700; display: block; }
.signe-item span { font-size: .82rem; color: var(--text-m); }

/* ===================================================
   FOOTER SIMPLIFIÉ
=================================================== */
.footer-grid-simple {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer-grid-simple { grid-template-columns: 1fr; gap: 2rem; }
  .chantiers-grid { grid-template-columns: 1fr; }
  .advice-strip { grid-template-columns: 1fr; }
  .signes-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .materiaux-grid { grid-template-columns: 1fr 1fr; }
}

/* ===================================================
   GALERIE RÉALISATIONS
=================================================== */
.real-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.real-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), box-shadow var(--trans);
}
.real-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.real-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.real-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.real-card:hover .real-card-img img { transform: scale(1.06); }
.real-card-body { padding: 1.1rem 1.3rem 1.4rem; }
.real-card-type {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .4rem;
}
.real-card-title {
  font-size: .97rem; font-weight: 700; line-height: 1.35;
  color: var(--text); margin-bottom: .4rem;
}
.real-card-desc {
  font-size: .83rem; color: var(--text-m); line-height: 1.65;
}
.real-card-loc {
  display: flex; align-items: center; gap: .3rem;
  font-size: .76rem; color: var(--text-l);
  margin-top: .7rem;
}
.real-card-loc svg { width: 11px; height: 11px; flex-shrink: 0; }

@media (max-width: 900px) {
  .real-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
}
@media (max-width: 560px) {
  .real-grid { grid-template-columns: 1fr; }
}
