/* ════════════════════════════════════════════════════════════════
   CLIMAX PHOTOVOLTAÏQUE — components.css
   Système de design partagé, repris des maquettes validées.
   Chargé site-wide (templates PHP + Elementor). Une classe = un pattern.
   Tokens CSS (:root) + @font-face : voir inc/elementor-tokens.php.
   NE JAMAIS éditer le thème parent Hello Elementor — tout override ici.
   ════════════════════════════════════════════════════════════════ */

/* ── Override du reset parent Hello Elementor (reset.css) ──
   MUST stay first. Neutralise les couleurs de lien/bouton du parent
   au profit de la charte Climax. */
a{ color: var(--blue); }
a:hover, a:active{ color: var(--blue-700); }
[type="button"],[type="reset"],[type="submit"],button{
  border-color: var(--navy); color: var(--navy);
}
[type="button"]:hover,[type="reset"]:hover,[type="submit"]:hover,button:hover{
  background-color: var(--navy); color: var(--white);
}

/* ── Override Hello Elementor : contenu pleine largeur ──
   Hello cape header/footer/main à 1140px via un sélecteur composé à forte
   spécificité (body:not([class*=elementor-page-]) .site-main, etc.). On reprend
   la MÊME spécificité pour gagner par l'ordre de chargement. Les sections
   deviennent full-bleed ; .wrap gère la largeur interne (--maxw). */
body:not([class*="elementor-page-"]) .site-main,
.site-header:not(.dynamic-header),
.site-footer:not(.dynamic-footer){ max-width:none; width:auto; }
/* Menu principal sur une seule ligne */
.nav-links{ flex-wrap:nowrap; }
.nav-links a{ white-space:nowrap; }

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ max-width:100%; display:block; }
a{ color: var(--blue); text-decoration: none; }

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
.h-eyebrow{
  font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
  display:inline-flex; align-items:center; gap:.5em; margin:0 0 .9rem;
}
.h-eyebrow.dash::before{
  content:""; width:26px; height:2px; background: var(--red); display:inline-block;
}
h1,h2,h3,h4{ font-family: var(--font); color: var(--navy); line-height:1.1; margin:0; font-weight:800; letter-spacing:-.02em; }
h1{ font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2{ font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3{ font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight:700; }
h4{ font-size: 1.05rem; font-weight:700; }
.accent{ color: var(--blue); }            /* mot mis en bleu dans les titres */
.lead{ font-size: clamp(1.02rem,1.5vw,1.18rem); color: var(--body); }
p{ margin:0 0 1rem; text-wrap: pretty; }
.section-head{ max-width: 760px; }
.section-head.center{ margin-inline:auto; text-align:center; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap{ width:100%; max-width: var(--maxw); margin-inline:auto; padding-inline: var(--gutter); }
section{ position:relative; }
.section{ padding-block: clamp(56px, 8vw, 104px); }
.section.tight{ padding-block: clamp(40px,5vw,64px); }
.bg-paper{ background: var(--paper); }
.bg-navy{ background: var(--navy); color: #cdd7e8; }
.bg-navy h1,.bg-navy h2,.bg-navy h3{ color:#fff; }
.grid{ display:grid; gap: clamp(20px,3vw,32px); }
.cols-2{ grid-template-columns: repeat(2,1fr); }
.cols-3{ grid-template-columns: repeat(3,1fr); }
.cols-4{ grid-template-columns: repeat(4,1fr); }
.split{ display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,64px); align-items:center; }

/* ============================================================
   BOUTONS  (système CTA unique)
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  font-family:var(--font); font-weight:700; font-size:1rem; line-height:1;
  padding: 15px 26px; border-radius: var(--r-sm); border:2px solid transparent;
  cursor:pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s; text-align:center;
}
.btn svg{ width:18px; height:18px; }
.btn-red{ background: var(--red); color:#fff; box-shadow: 0 10px 24px rgba(235,45,46,.28); }
.btn-red:hover{ background: var(--red-700); transform: translateY(-2px); }
.btn-navy{ background: var(--navy); color:#fff; }
.btn-navy:hover{ background: var(--navy-700); transform: translateY(-2px); }
.btn-ghost{ background: transparent; color:#fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover{ background:#fff; color: var(--navy); border-color:#fff; }
.btn-outline{ background:transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover{ border-color: var(--blue); color: var(--blue); }
.btn-outline.btn-blue{ color: var(--blue); border-color: var(--blue); }
.btn-outline.btn-blue:hover{ background: var(--blue); color:#fff; }
.btn-lg{ padding:18px 34px; font-size:1.06rem; }
.btn-block{ width:100%; }
.link-arrow{ font-weight:700; color: var(--blue); display:inline-flex; align-items:center; gap:.45em; }
.link-arrow svg{ width:16px; height:16px; transition: transform .2s; }
.link-arrow:hover svg{ transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{ position:sticky; top:0; z-index:60; background:#fff; border-bottom:1px solid var(--line); }
.nav{ display:flex; align-items:center; gap:28px; height:78px; }
.nav .logo{ height:38px; width:auto; }
.nav-links{ display:flex; gap:22px; margin-left:14px; list-style:none; padding:0; }
.nav-links a{ color: var(--ink); font-weight:600; font-size:.96rem; padding:6px 2px; position:relative; }
.nav-links a:hover{ color: var(--blue); }
.nav-right{ margin-left:auto; display:flex; align-items:center; gap:14px; }
.pro-badge{ width:46px; height:46px; border-radius:50%; background:var(--blue); color:#fff; display:grid; place-items:center; font-size:.62rem; font-weight:700; text-align:center; line-height:1.05; }
.burger{ display:none; background:none; border:none; cursor:pointer; flex-direction:column; gap:5px; padding:8px; }
.burger span{ width:26px; height:2.5px; background:var(--navy); border-radius:2px; }

/* ============================================================
   RAIL CTA COLLANT (signature Climax)
   ============================================================ */
.rail{ position:fixed; right:0; top:50%; transform:translateY(-50%); z-index:55; display:flex; flex-direction:column; gap:6px; }
.rail a{
  display:flex; align-items:center; gap:9px; background:var(--red); color:#fff; font-weight:700; font-size:.84rem;
  padding:12px 16px 12px 14px; border-radius:8px 0 0 8px; box-shadow:-6px 8px 20px rgba(22,46,82,.18);
  transition: transform .25s ease, background .2s ease;
}
.rail a:hover{ transform: translateX(-4px); background:var(--red-700); }
.rail a svg{ width:20px; height:20px; flex:none; }

/* ============================================================
   HERO
   ============================================================ */
.hero{ background: linear-gradient(90deg, var(--navy) 0%, var(--blue-700) 100%); color:#cfd9ea; position:relative; overflow:hidden; padding-block: clamp(48px,7vw,90px); }
.hero .wrap{ position:relative; z-index:2; }
.hero h1{ color:#fff; }
.hero .lead{ color:#bccbe3; max-width:34ch; }
/* padding-block vit sur la section parente (.hero / .hero-local / .hero-inner), jamais ici :
   .hero-split n'est qu'une grille, sinon la section + ce wrapper cumulent leur padding-block
   (bug constaté : hero deux fois trop haut sur les pages sans style inline dédié). */
.hero-split{ display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,5vw,56px); align-items:center; }
.hero-badges{ display:flex; align-items:center; gap:18px; margin-top:26px; flex-wrap:wrap; }
.hero-media{ position:relative; border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }

/* étoiles avis */
.stars{ color:#ffb400; letter-spacing:2px; font-size:1.1rem; }
.grev{ display:flex; align-items:center; gap:12px; }
.grev small{ color:#9fb0cc; display:block; }

/* ============================================================
   PLACEHOLDER IMAGE (rayé + label mono)
   ============================================================ */
.ph{
  position:relative; background:
    repeating-linear-gradient(45deg, #dfe6f0 0 12px, #e9eff7 12px 24px);
  display:grid; place-items:center; color:#8294b1; border-radius: var(--r-md);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size:.78rem; letter-spacing:.04em; min-height:160px;
}
.ph::after{ content:attr(data-label); padding:4px 10px; background:rgba(255,255,255,.7); border-radius:6px; }
.ph.on-navy{ background: repeating-linear-gradient(45deg, #1d3a66 0 12px, #224173 12px 24px); color:#9fb6da; }

/* ============================================================
   CARTES
   ============================================================ */
.card{ background:#fff; border:1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* carte service (picto + texte) */
.svc{ padding:30px 26px; text-align:left; }
.svc .ic{ width:58px; height:58px; border-radius:14px; background:rgba(0,118,184,.10); color:var(--blue); display:grid; place-items:center; margin-bottom:18px; }
.svc .ic svg{ width:28px; height:28px; }
.svc h3{ margin-bottom:.5rem; }
.svc p{ font-size:.96rem; margin:0; color:var(--body); }

/* carte commune */
.commune{ overflow:hidden; }
.commune .pic{ aspect-ratio: 16/10; }
.commune .body{ padding:18px 20px 22px; }
.commune .body h3{ font-size:1.12rem; margin-bottom:.25rem; }
.commune .meta{ font-size:.86rem; color:var(--muted); display:flex; gap:14px; margin-bottom:.7rem; }
.commune .meta b{ color:var(--blue); }

/* carte réalisation */
.realisation{ overflow:hidden; }
.realisation .pic{ aspect-ratio: 4/3; position:relative; }
.realisation .tag{ position:absolute; left:14px; top:14px; background:var(--red); color:#fff; font-weight:700; font-size:.8rem; padding:6px 12px; border-radius:var(--r-pill); }
.realisation .body{ padding:18px 20px 22px; }
.realisation .specs{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.realisation .specs span{ font-size:.8rem; background:var(--paper); border:1px solid var(--line); padding:5px 11px; border-radius:var(--r-pill); color:var(--ink); font-weight:600; }

/* carte produit */
.product .pic{ aspect-ratio:1; background:var(--paper); position:relative; }
.product .ribbon{ position:absolute; left:0; top:14px; background:var(--red); color:#fff; font-size:.7rem; font-weight:700; letter-spacing:.04em; padding:5px 12px; }
.product .body{ padding:18px 20px 22px; }
.product .price{ color:var(--red); font-weight:800; font-size:1.25rem; margin-top:.4rem; }

/* carte blog */
.post{ overflow:hidden; }
.post .pic{ aspect-ratio: 16/9; }
.post .body{ padding:18px 20px 24px; }
.post .by{ font-size:.8rem; color:var(--muted); display:flex; gap:14px; margin-bottom:.6rem; }
.post h3{ font-size:1.12rem; }

/* ============================================================
   BLOC RÉASSURANCE / PROXIMITÉ
   ============================================================ */
.reassure{ display:grid; grid-template-columns: repeat(4,1fr); gap:clamp(20px,2.4vw,28px); text-align:center; }
.reassure .item{ display:flex; flex-direction:column; align-items:center; gap:2px; }
.reassure .ic{ width:46px; height:46px; flex:none; border-radius:12px; background:rgba(235,45,46,.10); color:var(--red); display:grid; place-items:center; margin-bottom:12px; }
.reassure .ic svg{ width:23px; height:23px; }
.reassure h4{ margin:0 0 .3rem; }
.reassure p{ margin:0; font-size:.9rem; }

/* Pictos façon climax.fr : gros trait bleu, sans pastille colorée */
.ic.picto{ background:none; border-radius:0; color:var(--blue); width:78px; height:78px; margin-bottom:14px; }
.ic.picto svg{ width:68px; height:68px; stroke-width:1.6; }
.ic.picto img{ width:68px; height:68px; object-fit:contain; }
.reassure .ic.picto{ width:56px; height:56px; }
.reassure .ic.picto svg{ width:48px; height:48px; }

/* ============================================================
   CHIFFRES CLÉS
   ============================================================ */
.stats{ display:grid; grid-template-columns: repeat(4,1fr); gap:clamp(18px,3vw,40px); text-align:center; }
.stat .num{ font-size: clamp(2.4rem,4.5vw,3.4rem); font-weight:800; color:var(--blue); line-height:1; letter-spacing:-.03em; }
.bg-navy .stat .num{ color:#5bb6e8; }
.stat .lbl{ margin-top:.5rem; font-size:.92rem; color:var(--muted); }
.bg-navy .stat .lbl{ color:#a9bbd8; }

/* ============================================================
   BANDEAU CTA full-bleed
   ============================================================ */
.cta-band{ position:relative; color:#fff; text-align:center; overflow:hidden; }
.cta-band .ph{ position:absolute; inset:0; border-radius:0; z-index:0; }
.cta-band::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(22,46,82,.78), rgba(22,46,82,.86)); z-index:1; }
.cta-band .inner{ position:relative; z-index:2; padding-block: clamp(54px,8vw,96px); }
.cta-band h2{ color:#fff; }
.cta-band .sub{ color:#c4d2e8; margin:.5rem 0 1.6rem; }
.cta-band .resp{ display:block; margin-top:.8rem; font-size:.82rem; letter-spacing:.12em; text-transform:uppercase; color:#9fb3d2; }

/* ============================================================
   FAQ ACCORDÉON
   ============================================================ */
.faq{ max-width:820px; margin-inline:auto; }
.faq details{ border:1px solid var(--line); border-radius:var(--r-md); background:#fff; margin-bottom:12px; box-shadow:var(--shadow-sm); overflow:hidden; }
.faq summary{ list-style:none; cursor:pointer; padding:20px 24px; font-weight:700; color:var(--navy); display:flex; justify-content:space-between; align-items:center; gap:16px; font-size:1.04rem; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary .chev{ width:30px; height:30px; flex:none; border-radius:50%; background:var(--paper); display:grid; place-items:center; transition:transform .25s, background .2s; color:var(--blue); }
.faq details[open] summary .chev{ transform:rotate(180deg); background:var(--blue); color:#fff; }
.faq .ans{ padding:0 24px 22px; color:var(--body); font-size:.98rem; }

/* ============================================================
   AVIS GOOGLE
   ============================================================ */
.reviews-head{ display:flex; align-items:center; justify-content:center; gap:22px; flex-wrap:wrap; margin-bottom:32px; }
.reviews-head .score{ text-align:center; }
.reviews-head .score b{ font-size:2.6rem; color:var(--navy); display:block; line-height:1; }
.review{ padding:24px; }
.review .top{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.review .av{ width:42px; height:42px; border-radius:50%; background:var(--blue); color:#fff; display:grid; place-items:center; font-weight:700; }
.review .top b{ color:var(--ink); display:block; }
.review .top small{ color:var(--muted); }
.review p{ font-size:.95rem; margin:0; }

/* ============================================================
   FIL D'ARIANE
   ============================================================ */
.breadcrumb{ font-size:.85rem; color:var(--muted); padding:14px 0; display:flex; gap:8px; flex-wrap:wrap; }
.breadcrumb a{ color:var(--muted); }
.breadcrumb a:hover{ color:var(--blue); }
.breadcrumb .sep{ color:var(--line); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ background:var(--navy); color:#9fb0cc; padding-block: 64px 28px; }
.site-footer h4{ color:#fff; font-size:1rem; margin-bottom:1.1rem; }
.site-footer .logo{ height:38px; margin-bottom:18px; }
.foot-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap:40px; }
.foot-grid ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.foot-grid a{ color:#9fb0cc; font-size:.94rem; }
.foot-grid a:hover{ color:#fff; }
.soc{ display:flex; gap:10px; margin-top:18px; }
.soc a{ width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.2); display:grid; place-items:center; color:#fff; }
.soc a:hover{ background:var(--blue); border-color:var(--blue); }
.foot-bottom{ border-top:1px solid rgba(255,255,255,.12); margin-top:48px; padding-top:24px; font-size:.84rem; text-align:center; color:#7e90b0; }

/* ============================================================
   PASTILLE / BADGE & divers
   ============================================================ */
.badge-red{ display:inline-flex; align-items:center; gap:.5em; background:var(--red); color:#fff; font-weight:700; padding:9px 16px; border-radius:var(--r-pill); font-size:.86rem; }
.chip{ display:inline-flex; align-items:center; gap:.45em; padding:7px 14px; border-radius:var(--r-pill); background:#fff; border:1px solid var(--line); font-size:.86rem; font-weight:600; color:var(--ink); }
.tick{ display:flex; gap:11px; align-items:flex-start; margin-bottom:12px; }
.tick svg{ width:22px; height:22px; flex:none; color:var(--blue); margin-top:1px; }
.ul-check{ list-style:none; padding:0; margin:0; }
.ul-check li{ position:relative; padding-left:30px; margin-bottom:12px; }
.ul-check li::before{ content:"✓"; position:absolute; left:0; top:0; width:21px; height:21px; background:var(--blue); color:#fff; border-radius:50%; font-size:.72rem; font-weight:800; display:grid; place-items:center; }

/* certifications */
.certs{ display:flex; gap:18px; flex-wrap:wrap; align-items:center; }
.cert{ width:96px; height:64px; border:1px solid var(--line); border-radius:10px; display:grid; place-items:center; background:#fff; color:var(--muted); font-weight:800; font-size:.8rem; text-align:center; padding:6px; }

/* logos confiance */
.trust{ display:flex; gap:48px; align-items:center; justify-content:center; flex-wrap:wrap; opacity:.7; }
.trust .lg{ font-weight:800; color:var(--navy); font-size:1.3rem; letter-spacing:-.02em; }

/* décor : grille de points + capsules outline */
.dots{ position:absolute; width:140px; height:120px; background-image: radial-gradient(var(--line) 2px, transparent 2px); background-size:22px 22px; opacity:.8; z-index:0; pointer-events:none; }
.capsule-deco{ position:absolute; border:2px solid var(--line); border-radius:var(--r-pill); opacity:.5; z-index:0; pointer-events:none; }

/* ============================================================
   ANNOTATIONS BeTheme (toggle .show-be sur <body>)
   ============================================================ */
.be{ display:none; }
body.show-be .be{
  display:inline-flex; align-items:center; gap:6px; position:absolute; top:8px; left:8px; z-index:40;
  background:#10b06b; color:#fff; font:700 11px/1 var(--font); letter-spacing:.02em;
  padding:6px 10px; border-radius:6px; box-shadow:0 6px 16px rgba(0,0,0,.18); pointer-events:none;
}
body.show-be .be::before{ content:"BeTheme"; opacity:.7; font-weight:800; }
body.show-be [data-be]{ outline:1.5px dashed rgba(16,176,107,.55); outline-offset:-2px; }
body.show-be [data-be]{ position:relative; }

/* ============================================================
   ÉVOLUTION — PATTERNS REPRIS DE MERCI EDMOND (charte Climax)
   Transposition des codes de présentation forts de merci-edmond.fr
   dans les tokens Climax (navy / bleu / rouge · Plus Jakarta Sans).
   ============================================================ */

/* ---- Boutons pill + blanc (style CTA Merci Edmond, couleurs Climax) ---- */
.btn-pill{ border-radius: var(--r-pill); padding-inline: 30px; }
.btn-lg.btn-pill{ padding-inline: 40px; }
.btn-white{ background:#fff; color:var(--navy); }
.btn-white:hover{ background:#fff; color:var(--blue); transform:translateY(-2px); box-shadow:var(--shadow-md); }

/* ---- « Ils parlent de nous » : bandeau presse locale (réassurance / E-E-A-T) ---- */
.press-head{ text-align:center; margin-bottom:34px; }
.press-head .h-eyebrow{ display:inline-flex; }
.press-logos{ display:flex; align-items:center; justify-content:center; gap:clamp(26px,5vw,58px); flex-wrap:wrap; }
.press-logos .pl{
  height:52px; min-width:118px; padding:0 6px; display:grid; place-items:center;
  font-weight:800; letter-spacing:-.01em; color:var(--navy); text-align:center; line-height:1.05;
  filter:grayscale(1); opacity:.55; transition:filter .25s, opacity .25s, transform .25s;
}
.press-logos .pl small{ display:block; font-size:.5em; font-weight:700; letter-spacing:.04em; color:var(--muted); margin-top:3px; }
.press-logos .pl:hover{ filter:none; opacity:1; transform:translateY(-2px); }
.press-logos .pl b{ color:var(--red); }                 /* accent local (wordmarks de substitution) */

/* ---- « Nos réalisations » : galerie photo + coin diagonal (signature Merci Edmond) ---- */
.rea-gallery{ display:grid; grid-template-columns: 1fr 1.5fr 1.5fr 1fr; gap:16px; }
.rea-tile{ position:relative; border-radius:var(--r-md); overflow:hidden; aspect-ratio:3/4; box-shadow:var(--shadow-sm); display:block; transition:transform .25s, box-shadow .25s; }
.rea-tile:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.rea-tile .ph{ position:absolute; inset:0; border-radius:0; min-height:0; }
.rea-tile .cut{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background: var(--corner, var(--blue));
  clip-path: polygon(0 45%, 0 100%, 62% 100%);
}
.rea-tile .corner{
  position:absolute; left:18px; bottom:16px; z-index:2; color:#fff;
  text-shadow:0 1px 6px rgba(0,0,0,.25);
}
.rea-tile .corner b{ display:block; font-size:1.2rem; font-weight:800; line-height:1; letter-spacing:-.02em; }
.rea-tile .corner span{ display:block; font-size:.82rem; font-weight:600; opacity:.92; margin-top:4px; }
/* variantes de couleur du coin (pilotées par Tweaks) */
body.rea-navy{ --corner: var(--navy); }
body.rea-red{  --corner: var(--red); }
/* bascule galerie « coin » <-> cartes « pastille » classiques */
.rea-cards{ display:none; }
body.rea-carte .rea-gallery{ display:none; }
body.rea-carte .rea-cards{ display:grid; }

/* ---- Bandeau CTA uni (fond couleur pleine, style Merci Edmond) ---- */
.cta-band.cta-solid{ background: var(--cta-solid, var(--blue)); }
.cta-band.cta-solid.bg-navy{ background: var(--navy); }
.cta-band.cta-solid .ph{ display:none; }
.cta-band.cta-solid::after{ display:none; }
.cta-band.cta-solid .sub{ color: rgba(255,255,255,.85); }
.cta-band.cta-solid .resp{ color: rgba(255,255,255,.7); }
/* bascule uni <-> photo sur la bande pilotée par Tweaks */
body.cta-photo .cta-band[data-cta-toggle]{ background:transparent; }
body.cta-photo .cta-band[data-cta-toggle] .ph{ display:block; }
body.cta-photo .cta-band[data-cta-toggle]::after{ display:block; }

/* ---- Frise défilante (bandeau SEO local, repris de Merci Edmond) ---- */
.frise{ background:var(--blue); overflow:hidden; padding:20px 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.12); }
.frise-track{ display:flex; align-items:center; width:max-content; animation:frise-scroll 38s linear infinite; }
.frise-track .it{ display:inline-flex; align-items:center; gap:26px; padding:0 26px; color:#fff; font-weight:800; font-size:1.18rem; letter-spacing:-.01em; white-space:nowrap; text-transform:uppercase; }
.frise-track .it::after{ content:""; width:9px; height:9px; border-radius:50%; background:#fff; opacity:.85; flex:none; }
.frise:hover .frise-track{ animation-play-state:paused; }
@keyframes frise-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .frise-track{ animation:none; } }

/* ---- Pictos bénéfices « une source d'énergie efficace » ---- */
.features{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(22px,3vw,40px); text-align:center; }
.features .ic{ width:66px; height:66px; border-radius:50%; background:rgba(0,118,184,.10); color:var(--blue); display:grid; place-items:center; margin:0 auto 18px; }
.features .ic svg{ width:31px; height:31px; }
.features h3{ font-size:1.12rem; margin-bottom:.45rem; }
.features p{ font-size:.92rem; margin:0; }

/* ---- Bandeau engagement « On s'engage » : full-bleed photo + voile navy ---- */
.engage-band{ position:relative; overflow:hidden; color:#fff; background:var(--navy); }
.engage-bg{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.engage-bg img{ width:100%; height:100%; object-fit:cover; object-position:center; }
.engage-band::after{ content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(95deg, rgba(22,46,82,.95) 0%, rgba(22,46,82,.9) 46%, rgba(22,46,82,.62) 100%); }
.engage-inner{ position:relative; z-index:2; padding-block: clamp(56px,8vw,98px); max-width:700px; }
.engage-inner .badge-red{ margin-bottom:18px; font-size:.92rem; }
.engage-band h2{ color:#fff; margin-bottom:.7rem; }
.engage-band h2 .accent{ color:#5bb6e8; }
.engage-band .lead{ color:#cdd9ec; }
.engage-points{ list-style:none; padding:0; margin:24px 0 30px; display:grid; gap:13px; }
.engage-points li{ position:relative; padding-left:34px; color:#e3ebf6; font-weight:600; }
.engage-points li::before{ content:"\2713"; position:absolute; left:0; top:0; width:23px; height:23px; background:#5bb6e8; color:var(--navy); border-radius:50%; font-size:.74rem; font-weight:800; display:grid; place-items:center; }

@media (max-width: 900px){
  .rea-gallery{ grid-template-columns: 1fr 1fr; }
  .features{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px){
  .rea-gallery{ grid-template-columns: 1fr; }
  .rea-tile{ aspect-ratio:4/3; }
  .features{ grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px){
  .cols-4{ grid-template-columns: repeat(2,1fr); }
  .cols-3{ grid-template-columns: repeat(2,1fr); }
  .reassure{ grid-template-columns: repeat(2,1fr); }
  .stats{ grid-template-columns: repeat(2,1fr); }
  .foot-grid{ grid-template-columns: 1fr 1fr; gap:32px; }
  .hero-split,.split{ grid-template-columns:1fr; }
  .nav-links{ display:none; }
  .burger{ display:flex; }
}
@media (max-width: 560px){
  body{ font-size:16px; }
  .cols-2,.cols-3,.cols-4,.reassure,.stats{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr; }
  .nav{ height:64px; }
  .nav .logo{ height:30px; }
  .pro-badge{ display:none; }
  .rail{ top:auto; bottom:0; right:0; left:0; transform:none; flex-direction:row; gap:0; }
  .rail a{ flex:1; transform:none; border-radius:0; justify-content:center; font-size:.74rem; padding:12px 6px; box-shadow:none; border-right:1px solid rgba(255,255,255,.2); }
  .rail a span{ display:none; }
  .rail a svg{ width:18px; height:18px; }
}

/* ============================================================
   PAGES LOCALES / COMMUNE  (patterns partagés par toutes les villes)
   ============================================================ */
.hero-local{ background:var(--navy); color:#cfd9ea; position:relative; overflow:hidden; }
.hero-local h1{ color:#fff; }
.hero-local .lead{ color:#bccbe3; }
.pill-local{ display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); color:#cfe0f5; padding:8px 16px; border-radius:var(--r-pill); font-weight:600; font-size:.86rem; margin-bottom:20px; }
.pill-local svg{ width:16px; height:16px; color:#5bb6e8; }
.ctx-card{ background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:34px 36px; box-shadow:var(--shadow-sm); }
.ctx-facts{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:24px; }
.ctx-facts .f{ background:var(--paper); border-radius:var(--r-md); padding:16px; }
.ctx-facts .f b{ display:block; color:var(--blue); font-size:1.1rem; }
.ctx-facts .f span{ font-size:.84rem; color:var(--muted); }
.neighbors{ display:flex; flex-wrap:wrap; gap:10px; }
@media(max-width:560px){ .ctx-facts{ grid-template-columns:1fr; } }

/* ============================================================
   BLOG / ARTICLE  (single.php + gabarit article-blog)
   ============================================================ */
.crumbs{ padding-top:22px; }
.article-head{ max-width:840px; }
.article-head .cat{ display:inline-block; font-size:.8rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--blue); margin-bottom:14px; }
.article-head h1{ font-size:clamp(1.9rem,3.8vw,3rem); }
.article-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-top:20px; color:var(--muted); font-size:.9rem; }
.article-meta .au{ display:inline-flex; align-items:center; gap:9px; color:var(--ink); font-weight:600; }
.av{ width:34px; height:34px; border-radius:50%; background:var(--blue); color:#fff; display:inline-grid; place-items:center; font-weight:700; font-size:.9rem; }
.article-cover{ aspect-ratio:16/7; border-radius:var(--r-lg); margin-top:34px; }

.prose{ max-width:760px; margin-inline:auto; }
.prose > p,.prose > ul,.prose > ol{ font-size:1.06rem; }
.prose h2{ font-size:clamp(1.5rem,2.6vw,2rem); margin:2.2em 0 .6em; }
.prose h3{ font-size:1.25rem; margin:1.6em 0 .4em; }
.prose ul,.prose ol{ padding-left:1.3em; margin:0 0 1.2rem; }
.prose li{ margin:.45em 0; }
.prose blockquote{ margin:1.8em 0; padding:6px 0 6px 22px; border-left:4px solid var(--blue); color:var(--ink); font-size:1.2rem; font-style:italic; }
.prose figure{ margin:2em 0; }
.prose figcaption{ font-size:.85rem; color:var(--muted); margin-top:10px; text-align:center; }
.prose table{ width:100%; border-collapse:collapse; margin:1.8em 0; font-size:.96rem; }
.prose th,.prose td{ padding:12px 14px; border:1px solid var(--line); text-align:left; }
.prose th{ background:var(--paper); font-weight:700; color:var(--navy); }
.prose strong{ color:var(--navy); }
.stat-inline{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:1.8em 0; padding:22px; background:var(--paper); border-radius:var(--r-md); }
.stat-inline b{ display:block; color:var(--blue); font-size:1.5rem; line-height:1.1; }
/* Puce "en direct" (données de monitoring mises à jour en continu). */
.live-dot{ display:inline-block; width:9px; height:9px; border-radius:50%; background:#2fb968; margin-right:7px; box-shadow:0 0 0 0 rgba(47,185,104,.55); animation:live-pulse 1.8s infinite; }
@keyframes live-pulse{ 0%{ box-shadow:0 0 0 0 rgba(47,185,104,.55); } 70%{ box-shadow:0 0 0 8px rgba(47,185,104,0); } 100%{ box-shadow:0 0 0 0 rgba(47,185,104,0); } }
.stat-inline span{ font-size:.85rem; color:var(--muted); }
.key{ margin:2em 0; padding:22px 26px; background:var(--paper); border-left:4px solid var(--red); border-radius:0 var(--r-md) var(--r-md) 0; }
.key h4{ color:var(--red); margin-bottom:.4rem; }
.article-tags{ display:flex; flex-wrap:wrap; gap:10px; margin:34px auto 0; max-width:760px; }
.article-tags a{ background:var(--paper); border:1px solid var(--line); color:var(--body); padding:7px 14px; border-radius:var(--r-pill); font-size:.85rem; font-weight:600; }
.article-tags a:hover{ border-color:var(--blue); color:var(--blue); }
.author-box{ display:flex; gap:16px; align-items:flex-start; max-width:760px; margin:28px auto 0; padding:22px 24px; background:var(--paper); border-radius:var(--r-lg); }
.author-box .av{ width:48px; height:48px; font-size:1.1rem; flex:none; }
.author-box p{ margin:.3rem 0 0; font-size:.94rem; color:var(--body); }
.card.post{ display:block; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .15s,box-shadow .2s; }
.card.post:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.card.post .pic{ aspect-ratio:16/9; border-radius:0; }
.card.post .body{ padding:18px 20px; }
.card.post .by{ display:flex; gap:12px; font-size:.8rem; color:var(--muted); margin-bottom:8px; }
.card.post h3{ font-size:1.1rem; color:var(--navy); }
@media(max-width:560px){ .stat-inline{ grid-template-columns:1fr; } }

/* Deux blocs "type FAQ" (prose en questions/réponses) côte à côte : section fond
   blanc, chaque colonne sur fond bleu clair. Utilisé sur la page /photovoltaique/. */
.faq-cols{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.faq-cols > div{ background:#eaf4fb; border-radius:var(--r-lg); padding:clamp(24px,3vw,36px); }
.faq-cols .prose{ max-width:none; }
@media(max-width:760px){ .faq-cols{ grid-template-columns:1fr; } }

/* ============================================================
   HUB / PAGE PILIER  (page-photovoltaique.php)
   ============================================================ */
.hero-inner{ background:var(--navy); color:#cfd9ea; position:relative; overflow:hidden; padding-block: clamp(34px,4vw,60px); }
.hero-inner h1{ color:#fff; }
.hero-inner .lead{ color:#bccbe3; }
.facts{ display:flex; flex-wrap:wrap; gap:26px; margin-top:26px; }
.facts .f b{ display:block; color:#5bb6e8; font-size:1.2rem; line-height:1.1; }
.facts .f span{ font-size:.82rem; color:#9fb0cc; }

/* ============================================================
   PAGES SERVICE  (page-service.php)
   ============================================================ */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.step{ position:relative; }
.step .no{ width:44px; height:44px; border-radius:50%; background:var(--blue); color:#fff; display:grid; place-items:center; font-weight:800; font-size:1.1rem; margin-bottom:14px; }
.step h4{ margin-bottom:6px; }
.step p{ font-size:.94rem; color:var(--body); margin:0; }
.rail-line .step::before{ content:""; position:absolute; top:22px; left:44px; right:-26px; height:2px; background:var(--line); z-index:0; }
.rail-line .step:last-child::before{ display:none; }
.rail-line .step .no{ position:relative; z-index:1; }
.callout{ display:flex; gap:14px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:var(--r-md); padding:16px 18px; }
.callout .ic{ width:40px; height:40px; border-radius:10px; background:var(--paper); color:var(--blue); display:grid; place-items:center; flex:none; }
.callout .ic svg{ width:20px; height:20px; }
.callout h4{ margin:0 0 2px; }
.callout p{ margin:0; font-size:.92rem; color:var(--body); }
.callout.red{ border-color:rgba(235,45,46,.30); }
.callout.red .ic{ color:var(--red); }
@media(max-width:820px){ .steps{ grid-template-columns:repeat(2,1fr); } .rail-line .step::before{ display:none; } }
@media(max-width:520px){ .steps{ grid-template-columns:1fr; } }

/* ============================================================
   HOMEPAGE — teaser zones (cartes commune)
   ============================================================ */
.card.commune{ display:block; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .15s,box-shadow .2s; }
.card.commune:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.card.commune .pic{ aspect-ratio:16/10; }
.card.commune .body{ padding:16px 18px; }
.card.commune h3{ font-size:1.15rem; color:var(--navy); }
.commune .meta{ display:flex; gap:12px; font-size:.82rem; color:var(--muted); margin:6px 0 10px; }
.commune .meta b{ color:var(--blue); }

/* ============================================================
   PAGE DEVIS  (page-devis.php + formulaire CF7)
   ============================================================ */
.devis-grid{ display:grid; grid-template-columns:1.5fr 1fr; gap:36px; align-items:start; }
.form-card{ background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:30px 32px; box-shadow:var(--shadow-md); }
.form-card label{ display:block; font-weight:600; font-size:.9rem; color:var(--ink); margin:14px 0 6px; }
.form-card input[type=text],.form-card input[type=email],.form-card input[type=tel],.form-card select,.form-card textarea{
  width:100%; padding:13px 15px; border:1px solid var(--line); border-radius:var(--r-sm); font:inherit; color:var(--ink); background:#fff; }
.form-card input:focus,.form-card select:focus,.form-card textarea:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(0,118,184,.12); }
.form-card .row2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-card .wpcf7-list-item{ display:block; margin:0; }
.form-card .acceptance{ display:flex; gap:10px; align-items:flex-start; font-size:.86rem; color:var(--body); margin:20px 0; }
.form-card .acceptance input{ width:auto; margin-top:3px; }
.form-card .btn{ margin-top:8px; }
.wpcf7-response-output{ border-radius:var(--r-sm); margin:16px 0 0 !important; padding:12px 16px !important; font-size:.9rem; }
.aside-summary .box{ background:var(--navy); color:#cfd9ea; border-radius:var(--r-lg); padding:28px 26px; }
.aside-summary .box h3{ color:#fff; }
.aside-summary .box .ul-check li{ color:#dbe6f5; }
.aside-summary .mini-review{ background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:22px 24px; margin-top:18px; }
@media(max-width:860px){ .devis-grid{ grid-template-columns:1fr; } .form-card .row2{ grid-template-columns:1fr; } }

/* Page pilier — contenu long + simulateur sticky */
.content-grid{ display:grid; grid-template-columns:1.6fr 1fr; gap:48px; align-items:start; }
.pillar-sticky{ position:sticky; top:96px; }
@media(max-width:900px){ .content-grid{ grid-template-columns:1fr; } .pillar-sticky{ position:static; margin-top:32px; } }

/* ============================================================
   FICHE PRODUIT  (single-produit.php / archive-produit.php)
   ============================================================ */
.pdp{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4vw,48px); align-items:start; }
.pdp-gallery .ph.main{ aspect-ratio:1/1; border-radius:var(--r-lg); position:relative; }
.ribbon{ position:absolute; top:14px; left:14px; z-index:2; background:var(--navy); color:#fff; font-size:.72rem; font-weight:700; letter-spacing:.08em; padding:6px 12px; border-radius:var(--r-pill); }
.pdp-info h1{ font-size:clamp(1.6rem,3vw,2.2rem); margin:6px 0 12px; }
.pdp-short{ color:var(--body); font-size:1.05rem; }
.pdp-price{ display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin:18px 0; }
.pdp-price .now{ font-size:2rem; font-weight:800; color:var(--navy); }
.pdp-price .tva{ font-size:.85rem; color:var(--muted); }
.pdp-badges{ display:flex; flex-wrap:wrap; gap:10px; }
.pdp-badges .chip{ display:inline-flex; align-items:center; gap:7px; background:var(--paper); border:1px solid var(--line); color:var(--ink); padding:8px 14px; border-radius:var(--r-pill); font-size:.85rem; font-weight:600; }
.pdp-buy{ display:flex; gap:14px; align-items:center; }
.pdp-reass{ margin-top:24px; border-top:1px solid var(--line); padding-top:20px; display:grid; gap:12px; }
.pdp-reass .item{ display:flex; align-items:center; gap:10px; font-weight:600; color:var(--ink); font-size:.94rem; }
.pdp-reass .item svg{ width:20px; height:20px; color:var(--blue); flex:none; }
.spec-table{ width:100%; border-collapse:collapse; font-size:.95rem; }
.spec-table th,.spec-table td{ text-align:left; padding:12px 14px; border-bottom:1px solid var(--line); vertical-align:top; }
.spec-table th{ width:42%; color:var(--ink); font-weight:700; background:var(--paper); }
.card.product{ display:block; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .15s,box-shadow .2s; }
.card.product:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.card.product .pic{ aspect-ratio:4/3; position:relative; }
.card.product .body{ padding:18px 20px; }
.card.product h3{ font-size:1.1rem; color:var(--navy); }
.card.product .price{ margin-top:8px; font-weight:800; color:var(--red); font-size:1.15rem; }
@media(max-width:820px){ .pdp{ grid-template-columns:1fr; } }

/* ============================================================
   MENU MOBILE (burger)
   ============================================================ */
.burger span{ transition:transform .2s ease, opacity .2s ease; }
@media (max-width: 1100px){
  .nav-links{ display:none; }
  .burger{ display:flex; }
  .nav-right .pro-badge{ display:none; }
  .site-header.nav-open .nav-links{
    display:flex; flex-direction:column; align-items:stretch; gap:0;
    position:absolute; top:100%; left:0; right:0;
    background:#fff; border-top:1px solid var(--line); box-shadow:var(--shadow-md);
    padding:6px 0; margin:0; max-height:calc(100vh - 78px); overflow-y:auto; z-index:70;
  }
  .site-header.nav-open .nav-links li{ width:100%; }
  .site-header.nav-open .nav-links a{ display:block; padding:15px 24px; border-bottom:1px solid var(--line); font-size:1rem; }
  .site-header.nav-open .burger span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
  .site-header.nav-open .burger span:nth-child(2){ opacity:0; }
  .site-header.nav-open .burger span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }
  body.nav-locked{ overflow:hidden; }
}
@media (max-width: 560px){
  .nav .logo{ height:32px; }
  .nav-right .btn-red{ padding:11px 16px; font-size:.9rem; }
  .rail{ display:none; } /* le rail collant gêne sur mobile */
}

/* ── Certifications (home) ── */
.cert-row{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:clamp(24px,4vw,56px); margin-top:36px; }
.cert-logo{ height:108px; width:auto; object-fit:contain; }
@media(max-width:560px){ .cert-logo{ height:80px; } }

/* ============================================================
   MÉGA-MENU + HEADER CENTRÉ (remplace .nav-links)
   ============================================================ */
.nav{ display:flex; align-items:center; gap:20px; height:84px; }
.mainnav{ flex:1; display:flex; justify-content:flex-end; min-width:0; }
.mainnav > ul{ display:flex; align-items:center; gap:0; list-style:none; margin:0; padding:0; }
.mainnav > ul > li > a{ display:inline-flex; align-items:center; gap:5px; color:var(--ink); font-weight:600; font-size:.97rem; padding:12px 18px; position:relative; white-space:nowrap; }
.mainnav > ul > li + li > a::before{ content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:1px; height:20px; background:var(--line); }
.mainnav > ul > li > a:hover{ color:var(--blue); }
.mainnav .caret{ width:13px; height:13px; transition:transform .2s; }
.has-mega:hover .caret{ transform:rotate(180deg); }
.mega{ position:absolute; left:0; right:0; top:100%; background:#fff; border-top:1px solid var(--line); box-shadow:var(--shadow-lg); opacity:0; visibility:hidden; transform:translateY(8px); transition:opacity .2s ease, transform .2s ease, visibility .2s; z-index:65; }
.has-mega:hover .mega, .has-mega:focus-within .mega{ opacity:1; visibility:visible; transform:none; }
.mega-inner{ display:grid; grid-template-columns:2fr 1fr; gap:40px; padding-block:30px; align-items:start; }
.mega-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.mega-card{ display:block; border-radius:var(--r-md); overflow:hidden; position:relative; box-shadow:var(--shadow-sm); }
.mega-card-img{ display:block; aspect-ratio:16/10; background-size:cover; background-position:center; transition:transform .3s ease; }
.mega-card:hover .mega-card-img{ transform:scale(1.05); }
.mega-card-label{ position:absolute; left:14px; bottom:14px; background:var(--blue); color:#fff; font-weight:700; font-size:.85rem; padding:7px 14px; border-radius:var(--r-pill); }
.mega-links .mega-title{ display:block; font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); margin-bottom:12px; }
.mega-links ul{ list-style:none; margin:0; padding:0; }
.mega-links a{ display:block; padding:9px 12px; border-radius:var(--r-sm); color:var(--ink); font-weight:600; }
.mega-links a:hover{ background:var(--paper); color:var(--blue); }
.pro-badge{ line-height:1.02; }

/* Mobile */
@media (max-width:1100px){
  .mainnav{ display:none; }
  .burger{ display:flex; }
  .nav-right .pro-badge{ display:none; }
  .site-header.nav-open .mainnav{ display:block; position:absolute; top:100%; left:0; right:0; background:#fff; border-top:1px solid var(--line); box-shadow:var(--shadow-md); max-height:calc(100vh - 84px); overflow-y:auto; z-index:70; }
  .site-header.nav-open .mainnav > ul{ flex-direction:column; align-items:stretch; gap:0; }
  .site-header.nav-open .mainnav > ul > li > a{ padding:15px 24px; border-bottom:1px solid var(--line); font-size:1rem; }
  .site-header.nav-open .mainnav > ul > li + li > a::before{ display:none; }
  .site-header.nav-open .mega{ display:none; }
  .site-header.nav-open .caret{ display:none; }
}

/* ── Partenaires « Ils nous font confiance » ── */
.trust-row{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:clamp(28px,5vw,64px); }
.trust-logo{ height:46px; width:auto; object-fit:contain; opacity:.85; transition:opacity .2s ease, transform .2s ease; }
.trust-logo:hover{ opacity:1; transform:translateY(-2px); }
.trust-row-lg{ gap:clamp(20px,4vw,40px); }
.trust-logo-card{ display:flex; align-items:center; justify-content:center; background:#fff; border-radius:var(--r-md); padding:16px 26px; box-shadow:var(--shadow-sm); transition:transform .2s ease, box-shadow .2s ease; }
.trust-logo-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.trust-row-lg .trust-logo{ height:64px; opacity:1; }
/* Vidéo hero : indice de lecture */
.hero-media video{ background:#0b1a30; cursor:pointer; }

/* ── Méga-menu : cartes image + titre dessous (override) ── */
.mega-row{ display:flex; gap:22px; padding-block:28px; }
.mega-row .mega-card{ flex:1; text-align:center; box-shadow:none; border-radius:0; overflow:visible; position:static; }
.mega-row .mega-card-img{ aspect-ratio:4/3; border-radius:var(--r-md); box-shadow:var(--shadow-sm); }
.mega-row .mega-card-label{ position:static; left:auto; bottom:auto; display:block; margin-top:12px; background:none; color:var(--navy); padding:0; border-radius:0; font-size:.95rem; font-weight:700; }
.mega-row .mega-card:hover .mega-card-label{ color:var(--blue); }
.mega-row .mega-card:hover .mega-card-img{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
/* ── Bouton vidéo hero ── */
.hero-video{ cursor:pointer; }
.hv-play{ position:absolute; inset:0; margin:auto; width:76px; height:76px; border-radius:50%; background:rgba(235,45,46,.92); color:#fff; border:none; display:grid; place-items:center; cursor:pointer; box-shadow:0 8px 30px rgba(0,0,0,.35); transition:transform .2s ease, background .2s ease; z-index:3; }
.hv-play svg{ width:34px; height:34px; margin-left:4px; }
.hv-play:hover{ transform:scale(1.08); background:var(--red); }
.hv-play.is-hidden{ display:none; }

/* ── Méga-menu pictos (Nos services / Vos besoins) ── */
.mega-icons{ display:flex; gap:18px; padding-block:30px; }
.mega-icon{ flex:1; text-align:center; }
.mega-icon .ic{ width:76px; height:76px; margin:0 auto 12px; border-radius:16px; border:2px solid transparent; background:var(--paper); color:var(--blue); display:grid; place-items:center; transition:transform .2s ease, border-color .2s ease; }
.mega-icon .ic svg{ width:34px; height:34px; }
.mega-icon .ic img{ width:48px; height:48px; object-fit:contain; }
.mega-icon:hover .ic{ border-color:var(--blue); transform:scale(1.08); }
.mega-icon-label{ display:block; font-weight:700; color:var(--navy); font-size:.95rem; }
.mega-icon:hover .mega-icon-label{ color:var(--blue); }
@media (max-width:1100px){ .site-header.nav-open .mega-icons{ display:none; } }

/* ── Simulateur de devis multi-étapes (page-devis.php) ── */
.sim{ max-width:820px; margin:0 auto; }
.sim-progress{ height:6px; background:var(--line); border-radius:var(--r-pill); overflow:hidden; }
.sim-progress-bar{ display:block; height:100%; width:0%; background:var(--red); transition:width .3s ease; }
.sim-steps-label{ display:flex; justify-content:space-between; list-style:none; margin:12px 0 36px; padding:0; font-size:.8rem; font-weight:700; color:var(--muted); }
.sim-steps-label li.current{ color:var(--red); }
.sim-steps-label li.done{ color:var(--navy); }
.sim-panel{ display:none; }
.sim-panel.active{ display:block; animation:simFade .25s ease; }
@keyframes simFade{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:translateY(0); } }

.sim-options{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:28px; }
.sim-opt{ display:block; width:100%; text-align:left; background:#fff; border:1.5px solid var(--line); border-radius:var(--r-lg); padding:28px 24px; cursor:pointer; font-family:inherit; transition:border-color .15s, box-shadow .15s, transform .15s; }
.sim-opt:hover{ border-color:var(--blue); box-shadow:var(--shadow-sm); transform:translateY(-2px); }
.sim-opt.selected{ border-color:var(--red); background:#FFF7F7; box-shadow:var(--shadow-md); }
.sim-opt h3{ margin:0 0 8px; font-size:1.1rem; color:var(--navy); }
.sim-opt p{ margin:0; font-size:.9rem; color:var(--body); }
.sim-opt .ic.picto{ margin-bottom:14px; }
.sim-opt-price{ display:block; margin-top:14px; font-weight:800; color:var(--red); font-size:1rem; }
.pp-devis{ display:none; }
#sim[data-profil="pro"] .pp-part{ display:none; }
#sim[data-profil="pro"] .pp-devis{ display:inline; }

.sim-only-particulier,.sim-only-pro{ display:none; }
#sim[data-profil="particulier"] .sim-only-particulier:not(.sim-chips){ display:block; }
#sim[data-profil="pro"] .sim-only-pro:not(.sim-chips){ display:block; }
.sim-chips{ gap:10px; margin-top:16px; }
#sim[data-profil="particulier"] .sim-chips.sim-only-particulier{ display:flex; flex-wrap:wrap; }
#sim[data-profil="pro"] .sim-chips.sim-only-pro{ display:flex; flex-wrap:wrap; }
.sim-chip{ cursor:pointer; border:1.5px solid var(--line); background:#fff; }
.sim-chip.selected{ border-color:var(--red); background:#FFF7F7; color:var(--red-700); }
.sim-chip.sim-chip-disabled,.sim-chip:disabled{ opacity:.4; cursor:not-allowed; }

.sim-check{ display:flex; align-items:center; gap:12px; margin-top:26px; padding:16px 20px; border:1.5px dashed var(--line); border-radius:var(--r-md); cursor:pointer; font-size:.92rem; color:var(--body); }
.sim-check input{ width:20px; height:20px; accent-color:var(--red); cursor:pointer; flex:none; }
.sim-check em{ font-style:normal; color:var(--muted); }

.sim-nav{ display:flex; justify-content:space-between; gap:14px; margin-top:32px; }
.sim-nav .sim-next{ margin-left:auto; }
.sim-next:disabled{ opacity:.45; cursor:not-allowed; box-shadow:none; transform:none; }

.sim-result{ background:linear-gradient(135deg,var(--navy),#213C56); border-radius:var(--r-lg); padding:36px 32px; color:#fff; margin:28px auto 0; max-width:520px; text-align:center; }
.sim-result-label{ font-size:.85rem; opacity:.8; margin:0 0 10px; }
.sim-result-price{ font-size:2.4rem; font-weight:800; }
.sim-result-note{ font-size:.82rem; opacity:.75; margin-top:12px; }

.service-sim-teaser{ background:linear-gradient(135deg,var(--navy),#213C56); border-radius:var(--r-lg); padding:44px 40px; color:#fff; text-align:center; max-width:640px; margin-inline:auto; }
.service-sim-teaser h3{ color:#fff; font-size:1.5rem; margin:0 0 12px; }
.service-sim-teaser p{ color:#cfd9ea; margin:0 0 24px; }

.sim-merci{ text-align:center; padding:20px 0 10px; }
.sim-merci-check{ width:64px; height:64px; border-radius:50%; background:var(--blue); color:#fff; font-size:1.8rem; font-weight:800; display:grid; place-items:center; margin:0 auto 18px; }

@media (max-width:720px){
  .sim-options{ grid-template-columns:1fr; }
  .sim-steps-label{ font-size:.68rem; }
  .sim-result-price{ font-size:1.9rem; }
}

.calc-aides{ max-width:900px; margin:0 auto; }
.calc-aides-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:36px; align-items:start; }
.calc-field{ margin-bottom:32px; }
.calc-field h3{ margin:0 0 6px; font-size:1.05rem; color:var(--navy); }
.calc-hint{ margin:0 0 14px; font-size:.88rem; color:var(--muted); }
.calc-aides-result{ display:flex; flex-direction:column; gap:20px; position:sticky; top:24px; }
.calc-tva{ background:#fff; border:1.5px solid var(--line); border-radius:var(--r-lg); padding:24px 28px; text-align:center; }
.calc-tva-label{ font-size:.85rem; color:var(--muted); margin:0 0 8px; }
.calc-tva-value{ font-size:2rem; font-weight:800; color:var(--navy); }
.calc-tva-note{ font-size:.82rem; color:var(--muted); margin-top:10px; }
.calc-disclaimer{ font-size:.8rem; color:var(--muted); margin-top:32px; padding-top:24px; border-top:1px solid var(--line); }
.calc-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-top:24px; }

.calc-mode-toggle{ margin-bottom:20px; }
.calc-label{ display:block; font-weight:700; font-size:.9rem; color:var(--navy); margin:0 0 10px; }
.calc-surface-row{ display:flex; align-items:center; gap:10px; max-width:180px; }
.calc-surface-row input{ width:100%; padding:10px 14px; border:1.5px solid var(--line); border-radius:var(--r-md); font-size:1rem; font-family:inherit; }
.calc-surface-row input:focus{ outline:none; border-color:var(--blue); }
.calc-surface-unit{ font-weight:700; color:var(--muted); }
.calc-estimate{ margin-top:14px; font-weight:700; color:var(--navy); }

@media (max-width:820px){
  .calc-aides-grid{ grid-template-columns:1fr; }
  .calc-aides-result{ position:static; }
}

.calc-aides-compact{ max-width:none; margin:0; background:#fff; border:1.5px solid var(--line); border-radius:var(--r-lg); padding:26px 24px; }
.calc-aides-compact .calc-field{ margin-bottom:20px; }
.calc-aides-compact .calc-field h3{ font-size:.92rem; }
.calc-aides-compact .sim-chips{ gap:8px; }
.calc-aides-compact .sim-chip{ padding:8px 14px; font-size:.85rem; }
.calc-aides-compact .sim-result{ padding:24px 20px; }
.calc-aides-compact .sim-result-price{ font-size:2rem; }
.calc-aides-compact .calc-tva{ padding:18px 20px; }
.calc-aides-compact .calc-tva-value{ font-size:1.6rem; }
.calc-aides-compact .btn-block{ width:100%; text-align:center; }

/* ============================================================
   REFONTE OCTOBRE 2026 : phase 1 (bloc « Vous êtes ? », étapes, agences, simulateur)
   ============================================================ */
.vous-etes-box{ max-width:860px; margin-inline:auto; text-align:center; }
.vous-etes-box .h-eyebrow{ justify-content:center; }
.vous-etes-box h2{ margin-bottom:8px; }
.vous-etes-box .lead{ margin-inline:auto; }
.vous-etes .sim-opt{ text-decoration:none; color:inherit; }
.vous-etes .sim-opt .ic.picto{ margin-inline:auto; }
.vous-etes .sim-opt{ text-align:center; }
.vous-etes-note{ margin:18px 0 0; font-size:.9rem; color:var(--muted); }
.vous-etes-note a{ color:var(--blue); font-weight:700; }

.steps-5{ grid-template-columns:repeat(5,1fr); }
@media(max-width:1020px){ .steps-5{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:520px){ .steps-5{ grid-template-columns:1fr; } }

.agences{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; margin-top:44px; }
.agence{ padding:28px 26px; }
.agence h3{ margin:0 0 10px; }
.agence p{ margin:0 0 8px; color:var(--body); }
.agence .btn{ margin-top:10px; }
@media(max-width:700px){ .agences{ grid-template-columns:1fr; } }

.estimer-band{ text-align:center; }
.estimer-band .hero-cta{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-top:22px; }

/* Simulateur : aide, sites professionnels, champs facultatifs */
.sim-help{ text-align:center; margin:26px 0 0; font-size:.9rem; color:var(--muted); }
.sim-help a{ color:var(--blue); font-weight:700; }
.sim-sites{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:24px; }
.sim-site{ display:flex; gap:12px; align-items:flex-start; padding:16px 18px; border:1.5px solid var(--line); border-radius:var(--r-md); background:#fff; cursor:pointer; }
.sim-site input{ width:20px; height:20px; accent-color:var(--red); margin-top:2px; flex:none; }
.sim-site b{ display:block; color:var(--navy); }
.sim-site small{ color:var(--muted); }
.sim-site:has(input:checked){ border-color:var(--red); background:#FFF7F7; }
.sim-sub{ text-align:center; margin:30px 0 4px; font-weight:700; color:var(--navy); }
.sim-optionnel{ margin-top:22px; padding:18px 20px; border-radius:var(--r-md); background:var(--paper, #F5F8FB); }
.sim-optionnel p{ margin:0 0 10px; color:var(--body); }
.sim-optionnel label{ display:block; font-weight:600; margin-top:10px; }
.sim-optionnel input{ width:100%; max-width:320px; }
.sim-radios{ display:flex; gap:12px; margin:6px 0 16px; }
.sim-radios label{ margin:0; font-weight:600; }
.sim-radios .wpcf7-list-item{ margin:0 18px 0 0; }
.sim-profil-choix{ display:flex; gap:14px; align-items:center; justify-content:center; margin-bottom:22px; flex-wrap:wrap; }
#sim .sim-profil-choix{ display:none; }
#sim[data-profil=""] .sim-profil-choix{ display:flex; }
.form-card .only-pro,.form-card .only-particulier{ display:none; }
#sim[data-profil="pro"] .form-card .only-pro{ display:block; }
#sim[data-profil="particulier"] .form-card .only-particulier{ display:block; }
@media(max-width:700px){ .sim-sites{ grid-template-columns:1fr; } }
.nav-simuler{ padding-inline:16px; white-space:nowrap; }
@media(max-width:1500px){ .nav-simuler{ display:none; } }
.svc-prix{ margin:0 0 6px; color:var(--red); }
.sim-error{ margin:14px 0 0; color:var(--red-700, #b3191a); font-weight:600; text-align:center; }
.sim-error:empty{ display:none; }
.sim-options-1{ grid-template-columns:1fr; }
.sim-optionnel[data-when-nsp]{ display:none !important; }
#sim.show-nsp .sim-optionnel[data-when-nsp]{ display:block !important; }
#sim:not([data-profil="particulier"]) .sim-optionnel.sim-only-particulier{ display:none !important; }
#sim:not([data-profil="pro"]) .sim-optionnel.sim-only-pro{ display:none !important; }
.devis-grid > *{ min-width:0; }
.form-card .wpcf7-form-control-wrap, .form-card input, .form-card textarea{ max-width:100%; }
.prose table{ width:100%; border-collapse:collapse; margin:20px 0 28px; font-size:.92rem; }
.prose th, .prose td{ border:1px solid var(--line); padding:10px 12px; text-align:left; vertical-align:top; }
.prose thead th{ background:var(--navy); color:#fff; font-weight:700; }
@media(max-width:700px){ .prose table{ display:block; overflow-x:auto; } }

/* ============================================================
   V2 maquettes (octobre 2026) : simulateur par produit, rail
   ============================================================ */
.sim-options-3{ grid-template-columns:repeat(3,1fr); }
@media(max-width:900px){ .sim-options-3{ grid-template-columns:1fr; } }
.sim-opt-chip{ display:inline-block; margin-top:12px; padding:4px 10px; border-radius:999px; background:#EAF3FA; color:var(--blue); font-size:.76rem; font-weight:700; }
.sim-opt.selected .sim-opt-chip{ background:#FDE3E3; color:var(--red-700, #b3191a); }

/* Étape 3 : seuls les blocs du produit choisi sont visibles */
.sim-cfg{ display:none; }
#sim[data-config="pv"] .sim-cfg-pv,
#sim[data-config="batterie"] .sim-cfg-batterie,
#sim[data-config="borne"] .sim-cfg-borne{ display:block; }
.sim-cfg .sim-chips{ display:flex; flex-wrap:wrap; }
/* Options : on ne propose pas le produit déjà choisi */
#sim[data-config="pv"] [data-not="pv"],
#sim[data-config="batterie"] [data-not="batterie"],
#sim[data-config="borne"] [data-not="borne"]{ display:none; }

/* Rail flottant : en dessous de 1780 px il ne tient plus à côté du contenu (1400 px),
   il se replie en pastilles d'icônes et déroule son libellé au survol. */
@media(min-width:993px) and (max-width:1779px){
  .rail{ align-items:flex-end; }
  .rail a{ padding:12px 13px; gap:0; }
  .rail a span{ max-width:0; overflow:hidden; white-space:nowrap; opacity:0; transition:max-width .25s ease, opacity .2s ease, margin .25s ease; }
  .rail a:hover span, .rail a:focus-visible span{ max-width:190px; opacity:1; margin-left:9px; }
}
.card.svc .more{ display:inline-block; margin-top:14px; font-weight:700; color:var(--blue); }
.card.svc .h-eyebrow{ margin-bottom:6px; }

/* Accueil V2 (novembre 2026) : Estimer en carte bleu foncé arrondie, Références, Engagements, Comprendre, Climax c'est aussi */
.estimer-band{ background:transparent; }
.estimer-card{ background:var(--navy); color:#cdd7e8; border-radius:var(--r-lg); padding:clamp(34px,5vw,60px) clamp(22px,4vw,56px); text-align:center; box-shadow:var(--shadow-md); }
.estimer-card h2{ color:#fff; }
.estimer-card h2 .accent{ color:#5bb6e8; }
.estimer-card .lead{ color:#cdd9ec; max-width:60ch; margin-inline:auto; }
.stats.stats-3{ grid-template-columns:repeat(3,1fr); }
.ref-card{ padding:0; overflow:hidden; }
.ref-meta{ margin:0; padding:14px 18px; text-align:center; color:var(--muted); font-size:.9rem; }
.ref-logos-title{ text-align:center; margin:48px 0 24px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; font-size:.82rem; color:var(--navy); }
.todo{ font-style:normal; font-size:.8em; color:var(--red); font-weight:600; }
.engage-card{ text-align:center; }
.engage-card .ic{ margin-inline:auto; }
.engage-card .ic svg{ width:30px; height:30px; }
.card.notion{ border:2px solid var(--red); position:relative; display:flex; flex-direction:column; align-items:flex-start; }
.card.notion .notion-tag{ position:absolute; top:14px; right:14px; font-size:.74rem; padding:5px 12px; }
.card.notion .notion-btn{ margin-top:auto; align-self:flex-start; }
.card.notion:hover .notion-btn,.card.notion:focus-visible .notion-btn{ background:var(--red); border-color:var(--red); color:#fff; }
.aussi-list{ list-style:none; margin:32px 0 0; padding:0; display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.aussi-list li{ background:#fff; border:1px solid var(--line); border-radius:var(--r-pill); padding:12px 22px; font-weight:700; color:var(--navy); box-shadow:var(--shadow-sm); }
@media(max-width:700px){ .stats.stats-3{ grid-template-columns:1fr; } }

/* Peau « maquettes V2 » de l'accueil : titres à gauche, cartes blanches à bordure fine, boutons en pilule, panneaux arrondis */
.home .section-head.center{ margin-inline:0; max-width:none; text-align:left; }
.home .section-head .h-eyebrow{ display:none; }
.home .section-head .lead{ margin-left:0; }
.home .section.bg-paper{ background:#fff; }
.home .card.svc{ background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:none; }
.home .card.svc:hover{ box-shadow:var(--shadow-sm); transform:none; }
.home .svc-prix strong{ display:inline-block; background:#e6f0fb; color:var(--blue); border-radius:var(--r-pill); padding:5px 12px; font-size:.78rem; }
.home .card.svc .link-arrow{ display:inline-flex; border:1.5px solid var(--blue); border-radius:var(--r-pill); padding:10px 22px; font-size:.9rem; margin-top:14px; }
.home .card.svc .link-arrow:hover{ background:var(--blue); color:#fff; }
.home .stat,.v2-stats .stat{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:24px 26px; text-align:left; }
.home .stat .num,.v2-stats .stat .num{ font-size:clamp(2rem,3.4vw,2.6rem); }
.engage-panel{ background:#f3f6fb; border:1px solid #e3e9f3; border-radius:22px; padding:clamp(26px,3.4vw,42px); }
.engage-panel .panel-title{ text-align:center; font-size:1.35rem; margin:0; }
.engage-panel .card.svc,.home .engage-panel .card.svc{ background:transparent; border:0; box-shadow:none; }
.aussi-panel .aussi-list{ justify-content:flex-start; margin-top:18px; }
.aussi-list li{ padding:8px 16px; font-size:.88rem; }
.home #faq .wrap{ max-width:760px; }
.home #faq .section-head{ text-align:left; }

/* ===== Pages internes V2 (novembre 2026) ===== */
.v2-page .v2-head{ max-width:none; margin-bottom:26px; }
.v2-page .v2-head h2{ margin:0 0 .5rem; }
.v2-page .v2-head .lead{ margin:0; max-width:80ch; }
.v2-page .v2-head.is-center{ text-align:center; }
.v2-page .v2-head.is-center .lead{ margin-inline:auto; }
.v2-tag{ display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--blue); margin-bottom:6px; }
.v2-tag-red{ color:var(--red); }
.v2-bg{ background:#f3f6fb; }
.v2-card{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:24px 24px 22px; display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.v2-card h3{ margin:0 0 4px; font-size:1.05rem; color:var(--navy); }
.v2-card p{ margin:0 0 8px; font-size:.92rem; }
.v2-card .btn{ margin-top:auto; }
.v2-card small{ color:var(--blue); font-weight:700; font-size:.72rem; margin-top:auto; }
.v2-link{ margin-top:auto; color:var(--blue); font-weight:600; text-decoration:underline; }
.v2-sub{ color:var(--muted); font-size:.85rem; }
.v2-offre .v2-prix{ font-size:2rem; font-weight:800; color:var(--blue); line-height:1.1; margin:6px 0 0; }
.v2-offre h3{ font-size:1.2rem; }
.v2-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.v2-note{ font-size:.85rem; color:var(--muted); margin:14px 0 0; }
.hero-inner h1{ margin-bottom:1rem; }
.v2-hero-meta{ margin:20px 0 0; font-size:.85rem; color:#cdd9ec; }
.v2-hl{ border:2px solid var(--red); }
.v2-wide{ flex-direction:row; align-items:center; justify-content:space-between; gap:24px; padding:26px 30px; }
.v2-wide .btn{ margin-top:0; flex:none; }
.v2-banner{ margin-top:36px; background:var(--navy); color:#cdd9ec; border-radius:20px; padding:30px 36px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.v2-banner h3{ color:#fff; margin:0 0 6px; font-size:1.4rem; }
.v2-banner p{ margin:0; max-width:60ch; }
.v2-steps .no{ display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--blue); color:#fff; font-weight:700; font-size:.85rem; margin-bottom:6px; }
.v2-garanties .gbar{ display:grid; grid-template-columns:minmax(120px,170px) 1fr auto; gap:14px; align-items:center; margin-top:14px; width:100%; }
.v2-garanties .gl b{ display:block; font-size:.85rem; color:var(--navy); }
.v2-garanties .gl small{ display:block; font-weight:400; color:var(--muted); font-size:.74rem; margin:0; }
.v2-garanties .gt{ display:flex; height:16px; background:transparent; }
.v2-garanties .gt i{ display:block; height:100%; background:var(--blue); border-radius:4px 0 0 4px; }
.v2-garanties .gt i.ext{ background:#a9c8ea; border-radius:0 4px 4px 0; }
.v2-garanties .gt i.navy{ background:var(--navy); border-radius:4px; }
.v2-garanties .gbar > span{ font-size:.78rem; font-weight:700; color:var(--navy); }
.v2-duo{ display:grid; grid-template-columns:1fr 1fr; gap:6px 40px; margin-top:20px; }
.v2-why .v2-card .ic{ width:44px; height:44px; background:#e6f0fb; border-radius:12px; display:grid; place-items:center; }
.v2-why .v2-card .ic img{ width:26px; height:26px; }
.v2-faq .wrap{ max-width:760px; }
.v2-faq h2{ margin:0; }
@media(max-width:900px){ .v2-wide{ flex-direction:column; align-items:flex-start; } .v2-duo{ grid-template-columns:1fr; } .v2-garanties .gbar{ grid-template-columns:1fr; gap:6px; } }

/* Corrections accueil du 03/11 : hero V2, Vous êtes, engagements, notions */
.home .hero{ background:var(--navy); border-bottom-right-radius:clamp(80px,12vw,170px); padding-block:clamp(40px,5vw,70px); }
.home .hero .wrap{ max-width:1240px; padding-inline:clamp(20px,3vw,40px); }
.home .hero h1,.home .hero h1 .accent{ color:#fff; }
.home .hero .lead{ max-width:46ch; }
.home .hero-split{ grid-template-columns:1.05fr .95fr; gap:clamp(20px,3vw,40px); }
.home .hero-proof{ margin:22px 0 0; font-size:.85rem; color:#cdd9ec; }
.home .hero-proof .stars{ color:#f5b301; letter-spacing:2px; }
.hero-inner{ border-bottom-right-radius:clamp(80px,12vw,170px); }
.vous-etes{ background:#eef3fa; }
.vous-etes-box{ max-width:none; text-align:left; }
.vous-etes-box .h-eyebrow{ justify-content:flex-start; }
.vous-etes-box .lead{ margin-inline:0; }
.vous-etes .sim-opt{ display:flex; align-items:center; gap:18px; text-align:left; border:1.5px solid var(--blue); border-radius:20px; padding:20px 24px; }
.vous-etes .sim-opt .ic.picto{ margin:0; flex:none; width:56px; height:56px; background:#e6f0fb; border-radius:14px; display:grid; place-items:center; color:var(--blue); }
.vous-etes .sim-opt h3{ color:var(--blue); margin:0 0 4px; font-size:1.2rem; }
.vous-etes-note{ text-align:left; }
.engage-panel .panel-title{ font-size:clamp(1.7rem,2.6vw,2.2rem); }
.engage-panel .engage-card .ic.picto{ width:76px; height:76px; margin-inline:auto; background:#e6f0fb; border-radius:20px; display:grid; place-items:center; }
.engage-panel .engage-card .ic svg{ width:42px; height:42px; }
.engage-panel .engage-card h3{ font-size:1.15rem; }
.home .card.notion{ border:1.5px solid var(--line); align-items:center; text-align:center; padding:30px 22px; min-height:300px; transition:border-color .18s, box-shadow .18s; }
.home .card.notion:hover,.home .card.notion:focus-visible{ border-color:var(--red); box-shadow:0 0 0 1px var(--red); }
.home .card.notion .ic.picto{ margin-inline:auto; }
.home .card.notion .notion-btn{ align-self:center; }
.home .card.notion .notion-tag{ position:static; margin-bottom:8px; }
@media(max-width:1100px){ .home .notions{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .home .notions{ grid-template-columns:1fr; } }

/* V2 : kits, listes, découpes */
.v2-kits{ background:var(--navy); color:#cdd9ec; border-radius:24px; padding:clamp(26px,4vw,48px); display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(22px,4vw,48px); align-items:center; }
.v2-kits h2{ color:#fff; margin:0 0 10px; }
.v2-kits p{ margin:0 0 12px; }
.v2-kits b{ color:#fff; }
.v2-chips span{ display:inline-block; background:#fff; color:var(--navy); border-radius:var(--r-pill); padding:7px 14px; font-size:.82rem; font-weight:600; margin:0 8px 8px 0; }
.v2-kitlist{ display:grid; gap:12px; }
.v2-kitlist > div{ background:#fff; color:var(--navy); border-radius:14px; padding:16px 20px; display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:.92rem; }
.v2-kitlist b{ color:var(--blue); font-size:1.02rem; }
.v2-kitlist p{ font-size:.8rem; color:#a9bbd8; margin:4px 0 0; }
.v2-new{ background:var(--red); color:#fff; border-radius:var(--r-pill); font-size:.68rem; font-style:normal; padding:3px 9px; margin-left:6px; font-weight:700; }
.v2-card.v2-pc .v2-ic,.v2-ic{ width:44px; height:44px; background:#e6f0fb; color:var(--blue); border-radius:12px; display:grid; place-items:center; margin-bottom:6px; }
.v2-ic svg{ width:24px; height:24px; }
.v2-split{ display:grid; grid-template-columns:.9fr 1.1fr; gap:24px; align-items:stretch; }
.v2-bignum .n{ display:block; font-size:2rem; line-height:1.1; color:var(--blue); font-weight:800; margin-bottom:6px; }
.v2-outline{ border:1.5px solid var(--blue); }
.v2-avis .stars{ color:#f5b301; letter-spacing:2px; }
.v2-page .steps{ display:grid; gap:20px; margin-top:12px; }
@media(max-width:900px){ .v2-kits,.v2-split{ grid-template-columns:1fr; } .v2-page .steps{ grid-template-columns:1fr 1fr !important; } }

/* V2 : cartes à filet coloré, position, graphique */
.v2-top{ border-top:4px solid var(--blue); }
.v2-top.is-light{ border-top-color:#9db6d6; }
.v2-position{ flex-direction:row; align-items:flex-start; gap:16px; background:#eaf2fb; border-color:#cfe0f3; margin-top:18px; }
.v2-position h3{ margin:0 0 4px; }
.v2-chart svg{ width:100%; height:auto; margin-top:10px; }
.v2-legend{ display:flex; flex-wrap:wrap; gap:8px 20px; font-size:.78rem; color:var(--body); margin-top:6px; }
.v2-legend i{ display:inline-block; width:11px; height:11px; border-radius:3px; margin-right:6px; vertical-align:-1px; }

/* V2 : estimation pro, carte sombre */
.v2-estim{ display:grid; grid-template-columns:1.1fr .9fr; gap:22px; align-items:stretch; }
.v2-estim .v2-card{ gap:14px; }
.v2-estim label{ display:block; width:100%; font-size:.85rem; font-weight:700; color:var(--navy); }
.v2-field{ display:block; margin-top:6px; border:1px solid var(--line); border-radius:12px; padding:12px 14px; font-weight:400; color:var(--muted); font-size:.85rem; background:#fff; }
.v2-result{ background:var(--navy); color:#cdd9ec; border-radius:18px; padding:26px 28px; display:grid; gap:14px; align-content:start; }
.v2-result b{ color:#fff; font-size:1.8rem; display:block; line-height:1.1; }
.v2-result b .todo{ color:#fff; font-size:1em; }
.v2-result small{ color:#a9bbd8; }
.v2-result p{ margin:0; font-size:.85rem; }
.v2-dark{ background:var(--navy); border-color:var(--navy); color:#cdd9ec; }
.v2-dark h3{ color:#fff; }
.v2-dark p{ color:#cdd9ec; }
@media(max-width:900px){ .v2-estim{ grid-template-columns:1fr; } }

/* V2 : page contact */
.v2-contact{ display:grid; grid-template-columns:1.25fr .85fr; gap:22px; align-items:start; }
.v2-contact-side{ display:grid; gap:16px; }
.v2-contact .form-card{ padding:28px; align-items:stretch; }
.v2-contact .form-card form{ width:100%; }
.v2-sav{ background:#f4f5f7; }
@media(max-width:900px){ .v2-contact{ grid-template-columns:1fr; } }

/* V2 : variantes de cartes (guides) */
.v2-card.is-tint,.v2-tint{ background:#eef4fb; border-color:#d7e5f4; }
.v2-warn{ margin-top:18px; background:#fff3f0; border-color:#f6cfc6; }
.v2-bar .bar{ display:flex; width:100%; height:34px; border-radius:6px; overflow:hidden; background:#d6e2f0; font-size:.78rem; font-weight:700; align-items:center; color:var(--navy); }
.v2-bar .bar span{ background:var(--blue); color:#fff; height:100%; display:flex; align-items:center; padding-left:12px; }
.v2-bar .bar em{ margin-left:auto; padding-right:12px; font-style:normal; }
.v2-bar .big{ font-size:1.6rem; color:var(--blue); margin-right:6px; }

/* V2 : puces, trio de chiffres, tableau */
.v2-chip{ display:inline-block; background:#e1eefc; color:var(--blue); border-radius:var(--r-pill); font-size:.7rem; font-weight:700; padding:4px 10px; }
.v2-chip.is-grey{ background:#e8ebf0; color:var(--muted); }
.v2-trio{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:18px; align-items:start; }
.v2-trio .n{ display:block; font-size:1.6rem; color:var(--blue); font-weight:800; line-height:1.1; }
.v2-trio span{ font-size:.85rem; color:var(--body); }
.v2-table-wrap{ overflow-x:auto; }
.v2-table{ width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; font-size:.88rem; }
.v2-table thead th{ background:var(--navy); color:#fff; text-align:left; padding:12px 16px; font-size:.85rem; }
.v2-table th,.v2-table td{ padding:13px 16px; border-top:1px solid var(--line); text-align:left; }
.v2-table tbody th{ color:var(--navy); }
@media(max-width:900px){ .v2-trio{ grid-template-columns:1fr; } }

/* V2 : réalisations */
.v2-chips span.on{ background:var(--blue); color:#fff; }
.v2-rcard{ text-decoration:none; color:inherit; }
.v2-rcard h3{ margin-top:2px; }
.v2-fiche{ display:grid; grid-template-columns:1.6fr 1fr; gap:36px; margin-top:26px; align-items:start; }
.v2-fiche h3{ margin:18px 0 4px; font-size:1.02rem; color:var(--navy); }
.v2-fiche h3:first-child{ margin-top:0; }
.v2-fiche p{ font-size:.92rem; }
.v2-brief dl{ margin:0 0 14px; width:100%; }
.v2-brief dt{ font-size:.7rem; font-weight:700; color:var(--blue); margin-top:12px; }
.v2-brief dd{ margin:2px 0 0; font-size:.88rem; padding-bottom:10px; border-bottom:1px solid var(--line); }
.v2-brief .btn{ width:100%; text-align:center; justify-content:center; }
@media(max-width:900px){ .v2-fiche{ grid-template-columns:1fr; } }

/* V2 : calendrier et cadre tarifaire */
.v2-gantt{ gap:14px; align-items:stretch; }
.v2-gantt .g-years,.v2-gantt .g-row{ display:grid; grid-template-columns:minmax(180px,260px) 1fr; gap:14px; width:100%; align-items:center; }
.v2-gantt .g-years{ grid-template-columns:minmax(180px,260px) repeat(6,1fr); font-size:.75rem; font-weight:700; color:var(--navy); }
.v2-gantt .g-lbl b{ display:block; font-size:.85rem; color:var(--navy); }
.v2-gantt .g-lbl small{ display:block; color:var(--muted); font-size:.72rem; line-height:1.35; }
.v2-gantt .g-track{ display:grid; grid-template-columns:repeat(6,1fr); gap:0; align-items:center; }
.v2-gantt .gb{ font-size:.72rem; font-weight:700; padding:12px 10px; text-align:center; color:#fff; border-radius:4px; }
.v2-gantt .gb.l1{ background:#a9c8ea; color:var(--navy); } .v2-gantt .gb.l2{ background:#4e8fd0; } .v2-gantt .gb.l3{ background:var(--blue); }
.v2-gantt .gb.txt{ background:transparent; color:var(--body); font-weight:400; } .v2-gantt .gb.dash{ border:1.5px dashed var(--blue); color:var(--blue); background:#f3f8fe; }
.v2-tarifs{ gap:12px; align-items:stretch; }
.v2-tarifs .t-head,.v2-tarifs .t-row{ display:grid; grid-template-columns:minmax(180px,250px) repeat(4,1fr); gap:10px; width:100%; align-items:stretch; }
.v2-tarifs .t-head b{ font-size:.82rem; color:var(--navy); border-bottom:2px solid var(--blue); padding-bottom:6px; text-align:center; }
.v2-tarifs .t-lbl b{ display:block; font-size:.85rem; color:var(--navy); } .v2-tarifs .t-lbl small{ color:var(--muted); font-size:.72rem; }
.v2-tarifs .tc{ font-size:.74rem; padding:10px 12px; border-radius:8px; color:#fff; }
.v2-tarifs .tc.c1{ background:var(--blue); } .v2-tarifs .tc.c2{ background:var(--navy); } .v2-tarifs .tc.c3{ background:#0f2147; }
.v2-tarifs .tc.e{ background:transparent; } .v2-tarifs .tc.c1b{ background:transparent; }
.v2-tarifs .tc.hatch{ background:repeating-linear-gradient(45deg,#e7eef7 0 6px,#f3f7fb 6px 12px); color:var(--muted); }
.v2-tarifs .tc.dash{ border:1.5px dashed var(--blue); background:#fff; color:var(--blue); }
@media(max-width:900px){ .v2-gantt .g-years{ display:none; } .v2-gantt .g-row,.v2-tarifs .t-head,.v2-tarifs .t-row{ grid-template-columns:1fr; } .v2-tarifs .t-head{ display:none; } }

/* ===== Simulateur aligné sur les maquettes V2 (novembre 2026) ===== */
body.sim-focus .site-header,body.sim-focus .rail,body.sim-focus .site-footer,body.sim-focus .frise{ display:none !important; }
.sim-bar{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:16px; padding:14px clamp(16px,3vw,40px); background:#fff; border-bottom:1px solid var(--line); }
.sim-bar-logo img{ height:40px; width:auto; display:block; }
.sim-bar-title{ font-size:.88rem; color:var(--muted); text-align:center; }
.sim-bar-tel{ justify-self:end; font-weight:700; color:var(--navy); }
.sim-section{ padding-top:clamp(20px,3vw,36px); }
.sim-progress{ display:none; }
.sim-steps-label{ display:grid; grid-template-columns:repeat(5,1fr); gap:10px; margin:6px 0 34px; }
.sim-steps-label li{ text-align:left; font-size:.75rem; }
.sim-steps-label li::before{ content:""; display:block; height:5px; border-radius:99px; background:var(--line); margin-bottom:8px; }
.sim-steps-label li.done::before,.sim-steps-label li.current::before{ background:var(--red); }
.sim-steps-label li:last-child{ text-align:right; }
.sim .section-head h2{ font-size:clamp(2.2rem,4.4vw,3rem); margin:.2rem 0 .4rem; }
.sim .section-head .h-eyebrow{ justify-content:center; }
.sim-opt .ic.picto{ width:48px; height:48px; border-radius:12px; background:#e6f0fb; display:grid; place-items:center; color:var(--blue); margin-bottom:12px; }
.sim-opt .ic.picto svg{ width:28px; height:28px; }
.sim-panel[data-panel="1"] .sim-opt{ display:flex; align-items:center; gap:18px; padding:20px 26px; border:1.5px solid var(--blue); border-radius:20px; }
.sim-panel[data-panel="1"] .sim-opt .ic.picto{ margin:0; flex:none; width:56px; height:56px; }
.sim-panel[data-panel="1"] .sim-opt h3{ color:var(--blue); font-size:1.25rem; margin:0 0 4px; }
.sim-opt.selected{ border-color:var(--red); background:#FFF3F3; }
.sim-optionnel{ background:#eef4fb; border:1px solid #d7e5f4; border-radius:16px; padding:22px 24px; }
.sim-optionnel input{ max-width:none; width:100%; }
.sim-fields-2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.sim-result{ background:var(--navy); border-radius:20px; max-width:560px; }
.sim-estim-cards.sim-only-particulier{ display:none; }
.sim-estim-cards{ display:grid; grid-template-columns:1fr 1fr; gap:16px; max-width:560px; margin:18px auto 0; }
#sim[data-profil="particulier"] .sim-estim-cards.sim-only-particulier{ display:grid; }
.sim-estim-cards > div{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:18px 20px; }
.sim-estim-cards b{ display:block; font-size:1.3rem; color:var(--blue); }
.sim-estim-cards span{ font-size:.82rem; color:var(--muted); }
.sim-recap{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px 24px; }
.sim-recap h3{ margin:0 0 10px; font-size:1.1rem; color:var(--navy); }
.sim-recap ul{ list-style:none; margin:0; padding:0; font-size:.92rem; }
.sim-tel{ margin-top:16px; background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px 24px; text-align:center; font-size:.9rem; }
.sim-tel a{ display:block; font-size:1.4rem; font-weight:800; color:var(--blue); margin:4px 0; }
.sim-tel small{ color:var(--muted); display:block; }
.sim-radios{ gap:12px; }
.sim-radios .wpcf7-list-item{ margin:0; }
.sim-radios .wpcf7-list-item label{ display:flex; gap:8px; align-items:center; border:1.5px solid var(--line); border-radius:12px; padding:12px 18px; min-width:150px; cursor:pointer; background:#fff; }
.sim-merci .btn{ min-width:170px; }
@media(max-width:700px){ .sim-bar{ grid-template-columns:auto 1fr; } .sim-bar-title{ display:none; } .sim-fields-2,.sim-estim-cards{ grid-template-columns:1fr; } .sim-steps-label li{ font-size:.65rem; } }
.sim-panel[data-panel="1"] .sim-opt{ display:grid; grid-template-columns:auto 1fr; column-gap:18px; row-gap:2px; align-items:center; }
.sim-panel[data-panel="1"] .sim-opt .ic.picto{ grid-row:1 / 3; }
.sim-panel[data-panel="1"] .sim-opt h3{ align-self:end; }
.sim-panel[data-panel="1"] .sim-opt p{ align-self:start; }
.only-particulier .wpcf7-radio{ display:flex; gap:12px; flex-wrap:wrap; }
.only-particulier .wpcf7-radio .wpcf7-list-item{ margin:0; display:flex; align-items:center; gap:8px; border:1.5px solid var(--line); border-radius:12px; padding:12px 18px; min-width:150px; background:#fff; }
.only-particulier .wpcf7-radio .wpcf7-list-item:has(input:checked){ border-color:var(--red); background:#FFF7F7; }
.only-particulier .wpcf7-radio .wpcf7-list-item-label{ font-weight:600; }

/* Photos injectées dans les anciens cadres (inc/photos.php) */
.photo{ border-radius:var(--r-md); overflow:hidden; }
.photo img{ display:block; width:100%; height:100%; object-fit:cover; }

/* Pied de page : liens légaux lisibles sur le fond marine */
.site-footer .foot-bottom a{ color:#cfe0f5; text-decoration:underline; text-underline-offset:3px; }
.site-footer .foot-bottom a:hover{ color:#fff; }

/* Champ piège anti-spam (inc/forms.php) */
.hp-field{ position:absolute !important; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* Texte réservé aux lecteurs d'écran */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* En-tête : de 1281 à 1440 px le menu complet est resserré pour tenir sans chevauchement (burger en dessous de 1281 px) */
@media (min-width:1101px) and (max-width:1440px){
  .nav{ gap:14px; }
  .mainnav > ul > li > a{ padding:12px 9px; font-size:.92rem; }
  .nav-right{ gap:10px; }
}

/* Menu aligné sur la maquette V2 : peu d'entrées centrées, liste de la Société, Contact visible seulement dans le menu mobile */
.mega-icons.few{ justify-content:center; gap:48px; }
.mega-icons.few .mega-icon{ flex:0 1 240px; }
.mega-list{ display:flex; gap:14px; padding-block:28px; justify-content:center; flex-wrap:wrap; }
.mega-item{ display:flex; flex-direction:column; gap:4px; padding:14px 22px; border-radius:var(--r-md); background:var(--paper); min-width:200px; color:var(--ink); border:2px solid transparent; transition:border-color .2s, transform .2s; }
.mega-item b{ font-weight:700; color:var(--navy); }
.mega-item span{ font-size:.86rem; color:var(--muted); }
.mega-item:hover{ border-color:var(--blue); transform:translateY(-2px); }
.nav-mobile-only{ display:none; }
@media (max-width:1100px){ .site-header.nav-open .nav-mobile-only{ display:block; } }

/* ---- Articles réécrits : chapô et note de mise à jour dans .prose (10/11/2026) ---- */
.prose .lead{ font-size:1.14rem; line-height:1.65; color:var(--ink); margin-bottom:1.6rem; }
.prose .note{ font-size:.88rem; color:var(--muted); margin-top:2.4em; padding-top:1em; border-top:1px solid var(--line); }
