/* ===========================================================
   ASTREO RÉNOVATION & ÉNERGIE — Brand overrides
   Built on the reused design-system (style.css + helpers.css).
   Primary emerald #1178BE (rebranded), dark navy #143A5E,
   solar-accent amber #FFB200.
   =========================================================== */

:root{
  --astreo-primary:#1178BE;
  --astreo-primary-dark:#0C5D96;
  --astreo-navy:#143A5E;
  --astreo-navy-2:#1B4A72;
  --astreo-amber:#FFB200;
  --astreo-amber-dark:#e09e00;
}

/* --- Brand typography base --- */
body{font-family:'Quicksand',-apple-system,'Segoe UI',Arial,sans-serif;}

/* --- Logo (inline SVG): keep wordmark in Quicksand --- */
#logo svg .astreo-word{font-family:'Quicksand',Arial,sans-serif;font-weight:700;}
#logo svg .astreo-tag{font-family:'Quicksand',Arial,sans-serif;font-weight:600;letter-spacing:3px;}
#logo{max-width:210px;}
@media only screen and (max-width:640px){#logo{max-width:160px;}}

/* --- Solar / amber accent button variant --- */
.bt.solar,.bt.solar:visited{
  background:var(--astreo-amber);color:var(--astreo-navy);border-color:var(--astreo-amber);
  font-weight:700;
}
.bt.solar:hover{background:var(--astreo-amber-dark);border-color:var(--astreo-amber-dark);color:#fff;}
.text-amber{color:var(--astreo-amber)!important;}

/* --- The "ton" accent text colour used in headings --- */
.text-ton,.headline-bandeau.text-ton{color:var(--astreo-primary);}

/* --- Service cards: rounded entrance cards (inner pages only) --- */
.svc-card{position:relative;overflow:hidden;border-radius:18px;min-height:320px;display:flex;
  align-items:flex-end;color:#fff;text-decoration:none;box-shadow:0 14px 34px rgba(20,58,94,.16);
  transition:transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .5s;}
.svc-card:hover{transform:translateY(-8px);box-shadow:0 24px 50px rgba(20,58,94,.28);}
.svc-card .svc-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,58,94,0) 25%,rgba(20,58,94,.85) 100%);transition:background .5s;}
.svc-card:hover .svc-overlay{background:linear-gradient(180deg,rgba(17,120,190,.15) 0%,rgba(20,58,94,.92) 100%);}
.svc-card .svc-inner{position:relative;z-index:2;padding:26px;width:100%;}
.svc-card .svc-inner .material-icons{font-size:40px;color:var(--astreo-amber);margin-bottom:8px;display:block;}
.svc-card h3{font-size:1.45em;font-weight:700;margin:0 0 6px;}
.svc-card p{font-size:.92em;opacity:.9;margin:0;}
.svc-card .svc-go{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-weight:600;
  color:var(--astreo-amber);font-size:.9em;}
.svc-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s ease;}
.svc-card:hover img{transform:scale(1.08);}

/* --- Section heading band --- */
.astreo-band{display:flex;flex-direction:column;align-items:center;text-align:center;}
.astreo-band .headline-up{color:var(--astreo-primary);font-weight:700;}
.astreo-band .line{width:70px;height:4px;background:var(--astreo-amber);border-radius:3px;margin:18px auto 0;}

/* --- Stats counters --- */
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center;}
@media only screen and (max-width:900px){.stats-grid{grid-template-columns:repeat(2,1fr);}}
.stat .num{font-size:3em;font-weight:700;color:var(--astreo-primary);line-height:1;}
.stat .num .counter{display:inline;}
.stat .lbl{margin-top:8px;font-weight:600;text-transform:uppercase;letter-spacing:1px;font-size:.8em;opacity:.85;}

/* --- Trust / certif row --- */
.certif-row{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;align-items:center;}
.certif-row .chip{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:40px;
  border:1px solid rgba(17,120,190,.3);background:#fff;font-weight:600;color:var(--astreo-navy);
  box-shadow:0 6px 16px rgba(20,58,94,.06);}
.certif-row .chip .material-icons{color:var(--astreo-primary);font-size:20px;}

/* --- Process timeline --- */
.proc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
@media only screen and (max-width:900px){.proc-grid{grid-template-columns:repeat(2,1fr);}}
@media only screen and (max-width:540px){.proc-grid{grid-template-columns:1fr;}}
.proc{position:relative;padding:26px 22px;border-radius:16px;background:#fff;border:1px solid #eef1f3;
  box-shadow:0 10px 26px rgba(20,58,94,.07);}
.proc .step{position:absolute;top:-18px;left:22px;width:42px;height:42px;border-radius:50%;
  background:var(--astreo-primary);color:#fff;display:flex;align-items:center;justify-content:center;
  font-weight:700;box-shadow:0 6px 14px rgba(17,120,190,.4);}
.proc .material-icons{color:var(--astreo-primary);font-size:34px;margin:8px 0;display:block;}
.proc h4{margin:6px 0;font-weight:700;font-size:1.1em;}
.proc p{margin:0;font-size:.9em;opacity:.85;}

/* --- CTA banner --- */
.cta-banner{position:relative;overflow:hidden;border-radius:22px;color:#fff;}
.cta-banner .ov{position:absolute;inset:0;background:linear-gradient(120deg,rgba(20,58,94,.92),rgba(17,120,190,.78));}
.cta-banner .inner{position:relative;z-index:2;padding:54px 40px;text-align:center;}
.cta-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}

/* --- Footer brand credit --- */
.footer-credit{text-align:center;padding:18px;font-size:.8em;opacity:.7;color:#cfd8de;}
.footer-credit b{color:var(--astreo-amber);}

/* --- Inner-page hero banner --- */
.page-hero{position:relative;min-height:58vh;display:flex;align-items:center;color:#fff;overflow:hidden;padding:60px 0;box-sizing:border-box;}
.page-hero .headline-up{display:block;margin-bottom:14px;}
.page-hero h1.headline-bandeau,.page-hero .headline-bandeau{line-height:1.08;margin:0;}
.page-hero .ov{position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,58,94,.55),rgba(20,58,94,.78));}
.page-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.page-hero .inner{position:relative;z-index:2;width:100%;}

/* kept images (img--back.no-js) must cover their ratio box */
.img--back.no-js>img{width:100%;height:100%;object-fit:cover;display:block;}

/* x3 grid (not in base design-system) */
.grid-listing.x3{grid-template-columns:repeat(3,1fr);}
@media only screen and (max-width:1025px){.grid-listing.x3{grid-template-columns:repeat(2,1fr);}}
@media only screen and (max-width:640px){.grid-listing.x3{grid-template-columns:1fr;}}

/* --- Intro splash: ASTREO central logo badge (replaces GS logo pieces) --- */
.introduction .log1,.introduction .log2,.introduction .log3{display:none!important;}
.intro-logo-badge{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:min(34vw,230px);height:min(34vw,230px);border-radius:50%;background:#fff;z-index:5;
  display:flex;align-items:center;justify-content:center;box-shadow:0 18px 50px rgba(0,0,0,.35);
  animation:introBadgeIn 900ms ease both;}
/* Two brand rings converge onto the disc edge — emerald contracts from large,
   amber expands from small — while the disc + ASTREO letters stay perfectly
   still (the letters only fade in). Recreates the original's "shrinking circle". */
.intro-logo-badge::before,.intro-logo-badge::after{
  content:"";position:absolute;inset:-16px;border-radius:50%;pointer-events:none;}
.intro-logo-badge::before{border:2.5px solid rgba(17,120,190,.6);
  animation:introRingContract 1500ms cubic-bezier(.16,1,.3,1) both;}
.intro-logo-badge::after{border:2px solid rgba(255,178,0,.55);
  animation:introRingExpand 1500ms cubic-bezier(.16,1,.3,1) 120ms both;}
.intro-logo-badge svg,.intro-logo-badge img{width:66%;height:auto;animation:introLogoFade 900ms ease 280ms both;}
@keyframes introBadgeIn{0%{opacity:0}100%{opacity:1}}
@keyframes introLogoFade{0%{opacity:0}100%{opacity:1}}
@keyframes introRingContract{0%{opacity:0;transform:scale(2)}50%{opacity:1}100%{opacity:1;transform:scale(1)}}
@keyframes introRingExpand{0%{opacity:0;transform:scale(.35)}55%{opacity:1}100%{opacity:1;transform:scale(1)}}
.introduction.intro-hidden{opacity:0;pointer-events:none;transform:translateY(-40px);
  transition:opacity 1.1s cubic-bezier(.165,.84,.44,1),transform 1.1s cubic-bezier(.165,.84,.44,1);}
/* Intro splash is now scroll-linked (fades with scroll, reappears at top, like
   the original) — scrolling must stay enabled, so DON'T lock overflow. */
body.page_intro{overflow:visible;}
/* Snappy, synchronised door open/close: the base `.introduction` transition is
   `all 2500ms 1200ms` (a slow load-reveal) which makes the central badge LINGER
   over the page after the doors have already slid away. Fade the intro in step
   with the sliding panels instead, both directions. */
.introduction{transition:opacity 600ms ease!important;}
.introduction>.intro_elem.gauche,.introduction>.intro_elem.droite{
  transition:left 720ms cubic-bezier(.66,0,.2,1),right 720ms cubic-bezier(.66,0,.2,1)!important;}
.introduction .intro_elem .headline-2{text-transform:none;}
.introduction .intro_elem.gauche:hover,.introduction .intro_elem.droite:hover{filter:brightness(1.08);}

/* --- "7 étapes" numbered cards (scroll past sticky photos) --- */
.etapes-head h2{color:var(--astreo-navy);font-size:clamp(1.5em,4vw,2.1em);margin-bottom:10px;}
.etapes-head .line{width:60px;height:4px;background:var(--astreo-primary);margin:0 auto;border-radius:2px;}
.etapes-head p{color:#7f8c8d;margin-top:14px;font-size:1.05em;}
.etapes-grid{display:flex;flex-wrap:wrap;gap:18px;}
.etape{flex:1 1 calc(50% - 18px);min-width:230px;background:#fff;border:1px solid #edf2f7;border-radius:12px;
  padding:22px;box-shadow:0 4px 10px rgba(20,58,94,.06);display:flex;align-items:flex-start;gap:18px;
  transition:transform .3s ease,box-shadow .3s ease;}
.etape:hover{transform:translateY(-4px);box-shadow:0 12px 24px rgba(20,58,94,.12);}
.etape .num{background:var(--astreo-primary);color:#fff;width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0;}
.etape h4{margin:0 0 6px;color:var(--astreo-navy);font-size:1.12em;font-weight:700;}
.etape p{margin:0;color:#4a5568;font-size:.92em;line-height:1.5;}
.etape.full{flex:1 1 100%;background:#f5f8f9;border:1px dashed #cbd5e0;border-left:5px solid var(--astreo-primary);}
.sticky-photos > a,.sticky-photos > div{display:block;margin-bottom:18px;}
/* Sticky photo columns must stay SHORTER than the scrolling text column so the
   pinned-photos / scrolling-text effect is clearly visible (like the original).
   The portrait image alone was ~590px, making the column taller than the text
   and killing the sticky travel. Cap each photo to a controlled height. */
@media only screen and (min-width:1025px){
  .sticky-photos > a.round-img{
    height:clamp(175px,21vh,215px)!important;
    aspect-ratio:auto!important;
    padding-bottom:0!important;
    margin-bottom:22px;
  }
  /* "Qui sommes-nous" text: single tall column (like the reference "Expert…"
     section) so the pinned photos stay fixed for a long, visible scroll while
     the text keeps descending. 2-column text was too short to show the effect. */
  section:has(> .sticky-photos) .txt_contenu.txt-col{
    column-count:1!important;columns:auto!important;-webkit-columns:auto!important;
  }
  .sticky-photos > a.round-img:last-child{margin-bottom:0;}
  .sticky-photos > a.round-img > img{
    position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;display:block;
  }
  /* "Qui sommes-nous" block: text on the LEFT, sticky photos on the RIGHT
     (matches the original site). row-reverse flips the source order
     [photos, text] → [text | photos] without touching the markup. */
  .qsn-flip{flex-direction:row-reverse;}

  /* "7 étapes" block: stack the steps in a single tall column on desktop ONLY in
     the sticky two-column section (scoped via :has so standalone .etapes-grid on
     other pages keeps its 2-column layout). The taller text column makes the
     sticky photos pin for a long, visible scroll (like the original). */
  section:has(> .sticky-photos) .etapes-grid{flex-direction:column;flex-wrap:nowrap;}
  section:has(> .sticky-photos) .etapes-grid .etape,
  section:has(> .sticky-photos) .etapes-grid .etape.full{flex:1 1 auto;}
}

/* --- Certifications badges (RGE QualiPAC / QualiPV) --- */
.certifs{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin:8px 0 30px;}
.certif-badge{display:flex;flex-direction:column;align-items:center;gap:3px;padding:16px 22px;
  border:1px solid #e6ebee;border-radius:14px;background:#f8fbfa;min-width:170px;text-align:center;
  box-shadow:0 6px 16px rgba(20,58,94,.06);transition:transform .3s ease,box-shadow .3s ease;}
.certif-badge:hover{transform:translateY(-4px);box-shadow:0 12px 24px rgba(20,58,94,.12);}
.certif-badge .material-icons{color:var(--astreo-primary);font-size:32px;}
.certif-badge img{width:82px;height:82px;display:block;}
.certif-badge b{color:var(--astreo-navy);font-size:1em;font-weight:700;letter-spacing:.3px;}
.certif-badge small{color:#6b7a82;font-size:.78em;}
.certifs-label{text-align:center;text-transform:uppercase;letter-spacing:2px;font-weight:700;
  color:var(--astreo-primary);font-size:.85em;margin-bottom:14px;}

/* --- "Expert en Énergies Renouvelables" rich card --- */
.expert-card{max-width:1080px;margin:0 auto;border:1px solid #eee;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(20,58,94,.10);}
.expert-card .ec-head{background:var(--astreo-navy);padding:40px 20px;text-align:center;color:#fff;}
.expert-card .ec-head h2{margin:0;font-size:clamp(1.5em,5vw,2.2em);font-weight:700;}
.expert-card .ec-head .pillars{margin:14px 0 0;color:var(--astreo-amber);font-weight:700;text-transform:uppercase;letter-spacing:1.5px;font-size:.95em;}
.expert-card .ec-body{padding:clamp(22px,5vw,42px);line-height:1.7;color:#333;}
.expert-card .ec-body > p{margin:0 0 16px;}
.ec-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin:28px 0;}
.ec-item{padding:24px;border:1px solid #e6ebee;border-radius:12px;text-align:center;transition:transform .3s ease,box-shadow .3s ease;}
.ec-item:hover{transform:translateY(-4px);box-shadow:0 12px 24px rgba(20,58,94,.10);}
.ec-item .material-icons{color:var(--astreo-primary);font-size:38px;margin-bottom:6px;}
.ec-item h4{color:var(--astreo-primary);margin:0 0 8px;font-size:1.15em;font-weight:700;}
.ec-item p{margin:0;font-size:.93em;color:#4a5568;}
.ec-note{background:#f4f9f7;padding:26px;border-radius:12px;border-left:6px solid var(--astreo-primary);margin:28px 0;}
.ec-note h3{color:var(--astreo-navy);margin:0 0 8px;}
.ec-note p{margin:0;}
.ec-cta{text-align:center;padding:36px 24px;background:var(--astreo-navy);border-radius:12px;color:#fff;}
.ec-cta h3{margin:0 0 12px;font-size:1.4em;}
.ec-cta p{opacity:.9;margin:0 0 22px;}
.ec-headline-3{text-align:center;color:var(--astreo-navy);margin:8px 0 4px;font-size:1.3em;font-weight:700;}

/* --- "Solutions énergétiques pour professionnels" block --- */
.pro-block{max-width:1080px;margin:0 auto;border:1px solid #eee;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(20,58,94,.10);}
.pro-block .ec-head{background:var(--astreo-navy);padding:40px 20px;text-align:center;color:#fff;}
.pro-block .ec-head h2{margin:0;font-size:clamp(1.5em,5vw,2.2em);font-weight:700;}
.pro-block .ec-head .pillars{margin:14px 0 0;color:var(--astreo-amber);font-weight:700;text-transform:uppercase;letter-spacing:1.5px;font-size:.95em;}
.pro-block .ec-body{padding:clamp(22px,5vw,42px);line-height:1.7;color:#333;}
.pro-block .ec-body>p{margin:0 0 16px;}
.pro-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin:28px 0;}
.pro-item{padding:24px;border:1px solid #e6ebee;border-top:4px solid var(--astreo-primary);border-radius:12px;
  background:#fff;transition:transform .3s ease,box-shadow .3s ease;}
.pro-item:hover{transform:translateY(-4px);box-shadow:0 12px 24px rgba(20,58,94,.10);}
.pro-item .material-icons{color:var(--astreo-primary);font-size:38px;margin-bottom:6px;display:block;}
.pro-item h4{color:var(--astreo-navy);margin:0 0 12px;font-size:1.15em;font-weight:700;}
.pro-item ul{margin:0;padding:0;list-style:none;}
.pro-item ul li{position:relative;padding-left:22px;margin:0 0 9px;font-size:.92em;color:#4a5568;line-height:1.45;}
.pro-item ul li:last-child{margin-bottom:0;}
.pro-item ul li:before{content:"";position:absolute;left:0;top:.5em;width:8px;height:8px;border-radius:50%;
  background:var(--astreo-amber);}

/* --- Top-menu animated underline on hover/active (.sites links) ---
   The design-system draws a 0%-width bar in `.sites>li>a:before` but only wires
   the grow rule for the legacy `.nav`. Add it for `.nav_multi .sites`. --- */
nav.nav_multi>ul.sites>li:hover>a:before,
nav.nav_multi>ul.sites>li:hover>span>a:before,
nav.nav_multi>ul.sites>li.active>a:before,
nav.nav_multi>ul.sites>li.active>span>a:before{width:100%;left:0;}

/* ===== TOP ROW animations (header bandeau) ===== */

/* Right side: home / Contact / téléphone — colour shift + underline that grows from centre + lift */
header .zone_boutons>a{border-bottom-color:transparent!important;position:relative;
  transition:color .28s ease,transform .28s ease;}
header .zone_boutons>a::after{content:"";position:absolute;left:50%;right:50%;bottom:2px;height:2px;
  background:var(--astreo-amber);transition:left .28s ease,right .28s ease;}
header .zone_boutons>a:hover{color:var(--astreo-amber)!important;transform:translateY(-2px);}
header .zone_boutons>a:hover::after{left:8px;right:8px;}
header .zone_boutons>a .material-icons{transition:color .28s ease;}
header .zone_boutons>a:hover .material-icons{color:var(--astreo-amber);}

/* Left side: Énergie / Rénovation tabs — colour shift + amber underline that grows from centre */
header nav.nav_multi>ul.domaines>li>a{position:relative;transition:color .28s ease;}
header nav.nav_multi>ul.domaines>li>a::after{content:"";position:absolute;left:50%;right:50%;bottom:-3px;height:3px;
  background:var(--astreo-amber);border-radius:2px;transition:left .3s ease,right .3s ease;}
header nav.nav_multi>ul.domaines>li:hover>a::after,
header nav.nav_multi>ul.domaines>li.active>a::after{left:0;right:0;}
header nav.nav_multi>ul.domaines>li:hover>a{color:var(--astreo-amber);}
/* Remove the legacy white indicator line under the Énergie/Rénovation tabs (keep only the amber underline) */
header nav.nav_multi>ul.domaines::before{display:none!important;}

/* Cookie consent banner (RGPD) */
.cookie-bar{position:fixed;left:0;right:0;bottom:0;z-index:99999;background:var(--astreo-navy);color:#fff;
  box-shadow:0 -4px 22px rgba(0,0,0,.28);transition:transform .45s ease,opacity .45s ease;}
.cookie-bar .cookie-inner{max-width:1120px;margin:0 auto;padding:16px 22px;display:flex;flex-wrap:wrap;
  align-items:center;gap:12px 26px;justify-content:space-between;}
.cookie-bar p{margin:0;font-size:.92em;line-height:1.5;flex:1 1 320px;}
.cookie-bar .cookie-link{color:var(--astreo-amber);text-decoration:underline;}
.cookie-bar .cookie-btns{display:flex;gap:10px;flex-wrap:wrap;}
.cookie-bar .bt{margin:0!important;cursor:pointer;}
.cookie-bar .cookie-refuse,.cookie-bar .cookie-refuse:visited{background:transparent;border:1px solid rgba(255,255,255,.55);color:#fff;}
.cookie-bar .cookie-refuse:hover{background:rgba(255,255,255,.12);}
.cookie-bar.cookie-hide{transform:translateY(100%);opacity:0;}

/* --- Form confirmation message --- */
.astreo-form .form-msg{display:none;font-weight:600;margin-top:10px;color:var(--astreo-primary);}

/* small helpers */
.maxw-900{max-width:900px;}
.round-img{border-radius:18px;overflow:hidden;}

/* Legal pages (mentions légales / confidentialité) */
.legal-content{line-height:1.8;color:#3a4a52;}
.legal-content h2{color:var(--astreo-navy);font-size:1.35em;font-weight:700;margin:30px 0 10px;}
.legal-content h2:first-child{margin-top:0;}
.legal-content p{margin:0 0 14px;}
.legal-content a{color:var(--astreo-primary);}

/* --- Newsletter (footer sombre) : le champ email se fondait dans le fond bleu
   nuit → on lui donne une bordure + un fond légers pour qu'il soit bien visible. */
footer .astreo-form .field,
footer .astreo-form .field input,
footer .astreo-form input[type="email"]{
  border:1px solid rgba(255,255,255,.55) !important;
  border-radius:10px !important;
  background:rgba(255,255,255,.10) !important;
  color:#fff !important;
}
footer .astreo-form .field{padding:0 !important;}
footer .astreo-form .field input,
footer .astreo-form input[type="email"]{padding:13px 15px !important;width:100% !important;box-sizing:border-box;}
footer .astreo-form input::placeholder{color:rgba(255,255,255,.75) !important;}
footer .astreo-form .field label{color:rgba(255,255,255,.75) !important;}

/* ===== ASTREO MOBILE OVERRIDES ===== */
/* Ces règles ne s'appliquent qu'en mobile (<=768px). Le desktop reste intact. */
@media only screen and (max-width:768px){

  /* --- Cartes rondes "quinconce" -> rectangles arrondis (on coupe le clip-path
     circulaire + l'animation d'entrée, SANS toucher au transform de position) --- */
  .grid-listing.x5 .rond,
  .grid-listing.x5 a.rond.encart,
  .grid-listing.x5 .img--back.rond{
    border-radius:18px !important;clip-path:none !important;
    -webkit-clip-path:none !important;animation:none !important;}
  .grid-listing.x5 a.rond.encart{box-shadow:0 12px 28px rgba(20,58,94,.16) !important;}

  /* --- Footer : aérer les colonnes empilées --- */
  footer .flex-elem-s{margin-bottom:34px;}
  footer .flex-elem-s:last-child{margin-bottom:4px;}

  /* --- Bandeau cookies : le <p> doit pouvoir rétrécir --- */
  .cookie-bar .cookie-inner p{flex:1 1 100% !important;min-width:0 !important;}

  /* --- Petites finitions mobile --- */
  #btMenu{border-bottom-left-radius:12px;box-shadow:0 6px 18px rgba(20,58,94,.18);}
  .headline-1,.headline-bandeau{overflow-wrap:break-word;}

  /* --- Barre d'action fixe en bas (.fixVerti) : ses 2 boutons débordaient et
     étaient coupés. On la contraint à l'écran et on rend les boutons flexibles. */
  .fixVerti{left:8px !important;right:8px !important;width:auto !important;bottom:76px !important;
    transform:none !important;justify-content:center !important;gap:8px !important;}
  .fixVerti .bt{flex:1 1 0 !important;min-width:0 !important;margin:0 !important;
    padding:12px 8px !important;font-size:12.5px !important;line-height:1.15 !important;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .fixVerti .bt>span{margin-right:5px !important;}

  /* --- Intro : réduire le texte des "portes" pour qu'il ne touche pas la
     séparation courbe (ex. le "r" de "chaleur" était coupé) --- */
  .introduction .intro_elem .headline-2{font-size:14px !important;line-height:1.25 !important;}
  .introduction .intro_elem .petit{font-size:10.5px !important;letter-spacing:0 !important;}
  .introduction .intro_elem.gauche .headline-2{padding-right:26px;}
  .introduction .intro_elem.droite .headline-2{padding-left:26px;}

  /* --- Bouton MENU : garantir que le libellé tienne (jamais coupé) --- */
  #btMenu:after{font-size:10.5px !important;letter-spacing:.3px !important;}
}


/* ===================================================================
   ===== V3 : COHÉRENCE LOGO + AMBIANCE PLUS CLAIRE =====
   Palette extraite du logo officiel (maison en rubans) :
   bleu #1178BE / #0C5D96, navy wordmark #143A5E, vert #3FA047,
   orange soleil #FFB200. Ces règles n'ajoutent AUCUN effet nouveau :
   elles ne font qu'éclaircir et harmoniser l'existant.
   =================================================================== */
:root{--astreo-green:#3FA047;}

/* Bandes sombres (avis, actualités, contact, footer) : le navy quasi noir
   devient un dégradé bleu de marque, nettement plus lumineux. */
.bg-ton2{background:linear-gradient(140deg,#143A5E 0%,#0C5D96 58%,#1178BE 100%);}

/* Voiles sombres au-dessus des photos : teinte bleu marque + moins opaque. */
.cache--sombre{background-color:rgba(20,58,94,.38);backdrop-filter:brightness(.8) saturate(1.05);}
.cache--grad2{background:linear-gradient(0turn,rgba(20,58,94,.78),rgba(20,58,94,.28),rgba(20,58,94,.78));}

/* En-têtes des grandes cartes : dégradé bleu logo au lieu du navy plein. */
.expert-card .ec-head,.pro-block .ec-head,.ec-cta{
  background:linear-gradient(135deg,#143A5E 0%,#0C5D96 60%,#1178BE 100%);}

/* Touches de vert du logo (accents discrets, triade complète). */
.pro-item:nth-child(3){border-top-color:var(--astreo-green);}
.pro-item:nth-child(3) .material-icons{color:var(--astreo-green);}
.etape:nth-child(3n) .num{background:var(--astreo-green);}
.etape:nth-child(3n+2) .num{background:var(--astreo-amber);color:#3a2400;}

/* --- Section "Bureau d'étude" (accueil) : variante de l'expert-card --- */
.be-card .ec-item{border-top:4px solid var(--astreo-primary);}
.be-card .ec-item:nth-child(2){border-top-color:var(--astreo-amber);}
.be-card .ec-item:nth-child(2) .material-icons{color:var(--astreo-amber);}
.be-card .ec-item:nth-child(3){border-top-color:var(--astreo-green);}
.be-card .ec-item:nth-child(3) .material-icons{color:var(--astreo-green);}
.be-card .ec-item:nth-child(4){border-top-color:var(--astreo-navy);}
.be-card .ec-item:nth-child(4) .material-icons{color:var(--astreo-navy);}
.be-card .ec-item h4{color:var(--astreo-navy);}
.be-card .certif-row{margin-top:26px;}
.be-card .ec-cta .bt{margin:6px 8px 0;}

/* --- Accessibilité navigation : ouverture des sous-menus au clavier ---
   Duplique la règle :hover du design system (style.css) pour :focus-within. */
nav.nav_multi ul.sites>li:focus-within>ul,nav.nav_multi ul.sites>li:focus-within>span>ul{top:100%;opacity:1;visibility:visible;transition:all 280ms 0ms ease-in-out}
nav a:focus-visible{outline:3px solid #FFB200;outline-offset:2px}

/* --- FAQ (faq.html) : accordéon natif <details>/<summary> --- */
.faq-list{max-width:880px;margin:0 auto;}
.faq-list details{background:#fff;border:1px solid #E1EBF2;border-radius:14px;margin:12px 0;
  box-shadow:0 8px 22px rgba(20,58,94,.06);overflow:hidden;}
.faq-list summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;
  gap:18px;padding:20px 26px;font-weight:700;font-size:1.05em;color:var(--astreo-navy);}
.faq-list summary::-webkit-details-marker{display:none;}
.faq-list summary::marker{content:"";}
.faq-list summary .chev{flex:0 0 auto;color:var(--astreo-primary);transition:transform .28s ease;}
.faq-list details[open] summary .chev{transform:rotate(180deg);}
.faq-list details[open] summary{border-bottom:1px solid #E1EBF2;}
.faq-list .faq-a{padding:18px 26px 24px;line-height:1.75;color:#333;}
.faq-list .faq-a p{margin:0 0 10px;}
.faq-list .faq-a p:last-child{margin-bottom:0;}
.faq-list summary:focus-visible{outline:3px solid #FFB200;outline-offset:2px;border-radius:14px;}


/* --- 2e passe d'audit : maillage interne "Explorez aussi" (chips cliquables) --- */
.certif-row a.chip{cursor:pointer;text-decoration:none;transition:transform .25s ease, box-shadow .25s ease;}
.certif-row a.chip:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(20,58,94,.14);}
/* Confort tactile des chips */
.certif-row .chip{padding:12px 20px;}

/* --- FAQ : le design system pose `details span{opacity:0}` (son propre effet
   d'accordéon) ce qui rendait nos questions invisibles. On neutralise pour
   la liste FAQ uniquement. */
.faq-list details span{opacity:1;}

/* --- Lien « parcours 7 étapes » (bloc Explorez aussi) : le .bt du design
   system est floatté à gauche, ce qui casse le centrage du <p> parent. */
.certif-row + p > .bt.minimalist{float:none;display:inline-flex;align-items:center;}

/* ===================================================================
   FRISE HÉRO « FLUX D'ÉNERGIE » (remplace .reas_pict)
   3 phases aux couleurs du logo : bleu = étude, orange = chantier,
   vert = suivi/économies. Un soleil ambré parcourt la ligne et
   illumine chaque étape à son passage (JS inline dans index.html).
   =================================================================== */
.flux-etapes{position:relative;display:flex;justify-content:space-between;gap:6px;margin:34px 0 10px;padding-top:4px;}
.fe-line{position:absolute;left:3%;right:3%;top:26px;height:3px;display:flex;gap:6px;z-index:0;}
.fe-seg{display:block;height:3px;border-radius:2px;transform:scaleX(0);transform-origin:left;animation:feGrow .7s ease-out forwards;}
.fe-seg1{width:37%;background:#35A8E0;animation-delay:.25s;}
.fe-seg2{width:29%;background:#F58220;animation-delay:.8s;}
.fe-seg3{width:34%;background:#3FA047;animation-delay:1.3s;}
@keyframes feGrow{to{transform:scaleX(1);}}
.fe-sun{position:absolute;left:3%;top:11px;width:30px;height:30px;margin-left:-15px;border-radius:50%;
  background:#FFB200;color:#143A5E;display:flex;align-items:center;justify-content:center;z-index:2;
  box-shadow:0 0 14px 3px rgba(255,178,0,.55);}
.fe-sun .material-icons{font-size:18px;}
.fe-step{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;}
.fe-node{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  color:#fff;border:2px solid #35A8E0;background:#12507E;
  transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease;
  animation:fePop .55s cubic-bezier(.34,1.56,.64,1) both;}
.fe-node .material-icons{font-size:24px;}
.flux-etapes .fe-step:nth-of-type(1) .fe-node{animation-delay:.15s;}
.flux-etapes .fe-step:nth-of-type(2) .fe-node{animation-delay:.3s;}
.flux-etapes .fe-step:nth-of-type(3) .fe-node{animation-delay:.45s;}
.flux-etapes .fe-step:nth-of-type(4) .fe-node{animation-delay:.6s;}
.flux-etapes .fe-step:nth-of-type(5) .fe-node{animation-delay:.75s;}
.flux-etapes .fe-step:nth-of-type(6) .fe-node{animation-delay:.9s;}
.flux-etapes .fe-step:nth-of-type(7) .fe-node{animation-delay:1.05s;}
@keyframes fePop{from{transform:scale(0);}to{transform:scale(1);}}
.ph-etude .fe-node{border-color:#35A8E0;background:#12507E;}
.ph-chantier .fe-node{border-color:#F58220;background:#7A4110;}
.ph-suivi .fe-node{border-color:#3FA047;background:#1E5A24;}
.fe-lab{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#CFE2F0;line-height:1.3;max-width:130px;transition:color .35s,text-shadow .35s;}
.fe-step.lit .fe-node{transform:scale(1.16);border-color:#FFB200;
  box-shadow:0 0 0 5px rgba(255,178,0,.22),0 0 26px 8px rgba(255,178,0,.45);}
.fe-step.lit .fe-lab{color:#fff;text-shadow:0 0 12px rgba(255,178,0,.4);}
@media (prefers-reduced-motion: reduce){
  .fe-seg{transform:none;animation:none;}
  .fe-node{animation:none;}
  .fe-sun{display:none;}
}
@media only screen and (max-width:768px){
  .flux-etapes{display:grid;grid-template-columns:1fr;gap:8px;margin:22px 0 6px;}
  .fe-line,.fe-sun{display:none;}
  .fe-step{flex-direction:row;justify-content:flex-start;gap:12px;padding:3px 2px;}
  .fe-node{width:40px;height:40px;flex:0 0 auto;animation:none;}
  .fe-node .material-icons{font-size:20px;}
  .fe-lab{text-align:left;max-width:none;}
}

/* --- Frise : ligne calée sur les centres des cercles + dégradé continu --- */
.fe-line{left:calc(100%/14);right:calc(100%/14);gap:0;}
.fe-grad{display:block;width:100%;height:3px;border-radius:2px;
  background:linear-gradient(90deg,#35A8E0 0%,#35A8E0 28%,#F58220 46%,#F58220 62%,#3FA047 80%,#3FA047 100%);
  transform:scaleX(0);transform-origin:left;animation:feGrow 1.6s ease-out .25s forwards;}
.fe-sun{left:calc(100%/14);}
@media (prefers-reduced-motion: reduce){.fe-grad{transform:none;animation:none;}}

/* ===================================================================
   MENU PRINCIPAL — TYPO « MODERNE LISIBLE » (proposition validée en
   maquette) : Manrope 600, 15px, casse normale. Sous-menus assortis.
   =================================================================== */
nav.nav_multi ul.sites>li>a,
nav.nav_multi ul.sites>li>span>a,
nav.nav_multi ul.sites>li>span>span{
  font-family:'Manrope','Quicksand',sans-serif;
  font-weight:600;
  font-size:15px;
  text-transform:none;
  letter-spacing:.01em;
}
nav.nav_multi ul.sites>li>ul li a{
  font-family:'Manrope','Quicksand',sans-serif;
  font-weight:500;
  font-size:14px;
  text-transform:none;
}
header nav.nav_multi>ul.domaines>li>a{
  font-family:'Manrope','Quicksand',sans-serif;
  font-weight:700;
  letter-spacing:.08em;
}

/* ===================================================================
   CONTACT — Formulaire de devis « pro » + panneau photo (remplace la
   Google Map). Labels flottants, focus soignés, coordonnées en cartes.
   =================================================================== */
.card-form{background:#fff;border-radius:20px;padding:clamp(24px,4vw,40px);
  box-shadow:0 18px 44px rgba(20,58,94,.12);border:1px solid #EEF3F7;}
.card-form h2{margin:2px 0 4px;}
.card-form__sub{color:#64798C;margin:0 0 24px;font-size:.98em;}
.card-form form.astreo-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.card-form form.astreo-form>.field{margin:0 !important;width:auto !important;position:relative;}
.card-form form.astreo-form>.field--full,
.card-form form.astreo-form>.consent,
.card-form form.astreo-form>.bts--inline,
.card-form form.astreo-form>.form-msg{grid-column:1 / -1;}
.card-form .field input,
.card-form .field select,
.card-form .field textarea{
  width:100%;box-sizing:border-box;padding:16px 15px;border:1.5px solid #E1EBF2;
  border-radius:12px;background:#F6FAFD;font:inherit;font-size:15px;color:#143A5E;
  transition:border-color .2s,box-shadow .2s,background .2s;}
.card-form .field textarea{min-height:118px;resize:vertical;}
.card-form .field input:hover,
.card-form .field select:hover,
.card-form .field textarea:hover{border-color:#B7CFE0;}
.card-form .field input:focus,
.card-form .field select:focus,
.card-form .field textarea:focus{border-color:#1178BE;background:#fff;
  box-shadow:0 0 0 4px rgba(17,120,190,.14);outline:none;}
/* labels flottants */
.card-form .field label{position:absolute;left:12px;top:27px;transform:translateY(-50%);
  color:#7C8FA0;font-size:15px;pointer-events:none;background:transparent;padding:0 5px;
  transition:.16s ease;z-index:2;font-weight:500;}
.card-form .field--full label{top:27px;}
.card-form .field input:focus + label,
.card-form .field input:not(:placeholder-shown) + label,
.card-form .field textarea:focus + label,
.card-form .field textarea:not(:placeholder-shown) + label{
  top:0;font-size:12px;color:#0C5D96;font-weight:700;background:#fff;}
/* select flèche + placeholder grisé */
.card-form .field--select select{appearance:none;-webkit-appearance:none;padding-right:42px;cursor:pointer;}
.card-form .field--select::after{content:"expand_more";font-family:'Material Icons';
  position:absolute;right:13px;top:50%;transform:translateY(-50%);color:#0C5D96;
  pointer-events:none;font-size:23px;}
.card-form .field--select select:required:invalid{color:#7C8FA0;}
/* consentement */
.card-form .consent{display:flex;gap:11px;align-items:flex-start;font-size:.9em;
  line-height:1.5;color:#3D5468;}
.card-form .consent input{margin-top:3px;width:18px;height:18px;accent-color:#1178BE;flex:0 0 auto;}
.card-form .consent a{color:#1178BE;text-decoration:underline;}
/* bouton envoyer */
.card-form .bts--inline{margin:0;}
.card-form .bt.formulaire{width:100%;min-height:56px;margin:0;border-radius:12px;
  font-size:1.02rem;gap:9px;box-shadow:0 12px 26px rgba(17,120,190,.28);
  transition:transform .2s,box-shadow .2s,background .28s;}
.card-form .bt.formulaire:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(17,120,190,.36);}
.card-form .bt.formulaire .material-icons{font-size:20px;}
.card-form__note{display:flex;align-items:center;gap:7px;margin:16px 0 0;font-size:.82em;color:#64798C;}
.card-form__note .material-icons{font-size:16px;color:#3FA047;}

/* coordonnées en cartes */
.contact-cards{list-style:none;padding:0;margin:0 0 22px;display:grid;gap:12px;}
.contact-cards li{display:flex;align-items:center;gap:14px;background:#fff;
  border:1px solid #E9EFF4;border-radius:14px;padding:14px 16px;
  box-shadow:0 6px 16px rgba(20,58,94,.05);transition:transform .22s,box-shadow .22s;}
.contact-cards li:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(20,58,94,.1);}
.contact-cards .cc-ic{width:44px;height:44px;flex:0 0 auto;border-radius:12px;
  display:flex;align-items:center;justify-content:center;color:#fff;}
.contact-cards .cc-ic .material-icons{font-size:22px;}
.cc-blue{background:linear-gradient(135deg,#35A8E0,#0C5D96);}
.cc-sun{background:linear-gradient(135deg,#FFC845,#F58220);}
.cc-green{background:linear-gradient(135deg,#57B968,#2F7E38);}
.cc-navy{background:linear-gradient(135deg,#2C5F8F,#143A5E);}
.contact-cards .cc-txt{display:flex;flex-direction:column;line-height:1.35;min-width:0;}
.contact-cards .cc-txt b{font-size:.74em;text-transform:uppercase;letter-spacing:.05em;
  color:#64798C;font-weight:700;}
.contact-cards .cc-txt a{color:#0C5D96;font-weight:600;word-break:break-word;}
.contact-cards .cc-txt>span{color:#143A5E;font-weight:600;}

/* panneau photo (remplace la carte) */
.contact-visual{position:relative;border-radius:18px;overflow:hidden;
  box-shadow:0 18px 40px rgba(20,58,94,.16);aspect-ratio:16/11;}
.contact-visual img{width:100%;height:100%;object-fit:cover;display:block;}
.contact-visual::after{content:"";position:absolute;inset:0;
  background:linear-gradient(to top,rgba(12,44,73,.85),rgba(12,44,73,0) 58%);}
.contact-visual__card{position:absolute;left:20px;right:20px;bottom:18px;z-index:2;color:#fff;}
.contact-visual .cv-stars{display:flex;align-items:center;gap:9px;font-size:1.05em;}
.contact-visual .cv-stars .stars{color:#FFC845;letter-spacing:2px;}
.contact-visual .cv-stars b{font-size:1.2em;}
.contact-visual .cv-sub{font-size:.85em;color:#DCEAF5;margin-top:3px;}

@media only screen and (max-width:900px){
  .card-form form.astreo-form{grid-template-columns:1fr;}
  .card-form form.astreo-form>.field{grid-column:1 / -1;}
}

/* --- V6 : CTA bureau d'étude sous la frise du héro --- */
.hero-cta{margin-top:26px;text-align:center;}
.hero-cta .bt{float:none;display:inline-flex;align-items:center;margin:0;}
@media only screen and (max-width:768px){.hero-cta{margin-top:16px;}}

/* ===================================================================
   CERTIFICATIONS RGE — logos officiels Qualit'EnR (QualiPAC / QualiPV)
   =================================================================== */
.certifs{gap:22px;}
.certif-badge img.rge-logo{width:120px;height:auto;display:block;}
.footer-certifs{margin:34px 0 0;padding:26px 0 0;border-top:1px solid rgba(255,255,255,.14);text-align:center;}
.footer-certifs__label{display:block;font-size:.78em;letter-spacing:2px;text-transform:uppercase;
  color:var(--astreo-amber) !important;font-weight:700;margin-bottom:14px;}
.footer-certifs__logos{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;}
.fc-badge{display:flex;flex-direction:column;align-items:center;gap:8px;background:#fff;border-radius:14px;
  padding:14px 18px 12px;min-width:210px;box-shadow:0 10px 26px rgba(0,0,0,.22);
  transition:transform .25s ease,box-shadow .25s ease;}
.fc-badge:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(0,0,0,.3);}
.fc-badge img{width:118px;height:auto;display:block;}
.fc-badge small{color:#143A5E !important;font-weight:700;font-size:.78em;letter-spacing:.3px;text-align:center;}
@media only screen and (max-width:640px){.fc-badge{min-width:0;width:100%;max-width:280px;}}

/* Champ piege anti-spam (Netlify honeypot) : jamais visible */
.hp-field{display:none !important;}
