/* ScaleCode — feuille de style commune à toutes les pages.
   Identité : noir #000, blanc #FFF, vert signature #13F082. Typo Inter (axe optique).
   Pas de gradient, pas d'effet gadget. Breakpoints : 1060, 980, 768 et 480 px.
   Mouvement : 3 moments seulement (ouverture du hero, les marches de la méthode,
   le système qui s'allume). Tout est coupé si le visiteur réduit les animations. */

:root{
  --vert:#13F082; --vert-fonce:#0A7A42;
  --fond:#FFFFFF; --fond-2:#F5F5F2; --encre:#000; --texte:#3B3B3B; --doux:#6E6E6E;
  --ligne:#E6E6E1; --rayon:20px;
  --sortie:cubic-bezier(.2,.7,0,1);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{background:var(--fond);color:var(--texte);font:400 18px/1.65 Inter,system-ui,-apple-system,sans-serif;font-optical-sizing:auto;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
:focus-visible{outline:3px solid var(--vert);outline-offset:3px;border-radius:6px}
.w{max-width:1200px;margin:0 auto;padding:0 32px}
.etroit{max-width:760px}

/* Typographie : graisse 600, interlignage qui respire, approche serrée mais pas écrasée */
h1,h2,h3{color:var(--encre);font-weight:600;text-wrap:balance}
h1{font-size:clamp(44px,6vw,84px);line-height:1.02;letter-spacing:-.04em}
h2{font-size:clamp(30px,3.1vw,44px);line-height:1.1;letter-spacing:-.03em}
h3{font-size:21px;line-height:1.3;letter-spacing:-.012em}
p{max-width:62ch}
p+p{margin-top:16px}
strong,b{font-weight:600;color:var(--encre)}
.sur{display:block;font-size:15px;font-weight:500;color:var(--doux);letter-spacing:0}
.sur+h1,.sur+h2{margin-top:14px}
.chapo{font-size:clamp(19px,1.5vw,21px);line-height:1.6;max-width:56ch;margin-top:24px;color:var(--texte)}
.a-fournir{display:inline-block;background:#FFF3B0;color:#5A4A00;font-weight:600;padding:3px 8px;border-radius:6px;font-size:.85em;line-height:1.4}

/* Boutons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 28px;border-radius:999px;font:600 16px/1 Inter,sans-serif;letter-spacing:-.005em;text-decoration:none;border:0;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s}
.btn-vert{background:var(--vert);color:#000}
.btn-vert:hover{background:#000;color:var(--vert)}
.btn-noir{background:#000;color:#fff}
.btn-noir:hover{background:#262626}
.btn-ligne{box-shadow:inset 0 0 0 1.5px var(--encre);color:var(--encre);background:transparent}
.btn-ligne:hover{background:var(--encre);color:#fff}
.btn-blanc{background:#fff;color:#000}
.btn-blanc:hover{background:#000;color:#fff}
.btn-petit{min-height:44px;padding:0 20px;font-size:15px}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.lien{font-weight:600;color:var(--encre);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;text-decoration-color:var(--vert);transition:text-decoration-color .2s}
.lien:hover{text-decoration-color:var(--encre)}

/* Navigation */
.nav{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.9);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--ligne)}
.nav .w{display:flex;align-items:center;justify-content:space-between;gap:24px;height:76px}
.logo img{width:146px}
.nav ul{display:flex;gap:34px;list-style:none;font-size:15px;font-weight:500}
.nav ul a{text-decoration:none;padding:8px 0;color:var(--texte);transition:color .2s}
.nav ul a:hover,.nav ul a[aria-current="page"]{color:var(--encre);box-shadow:inset 0 -2px 0 var(--vert)}
.nav .droite{display:flex;align-items:center;gap:10px}
.burger{display:none;width:48px;height:48px;border:0;background:var(--fond-2);border-radius:14px;cursor:pointer;font-size:22px;color:var(--encre)}
.menu-mobile{display:none}

/* Sections */
section{padding:96px 0}
.fond-2{background:var(--fond-2)}
.bloc-noir{background:#000;color:#B5B5B5}
.bloc-noir h2,.bloc-noir h3,.bloc-noir b{color:#fff}
.bloc-noir .sur{color:#8C8C8C}
.entete-page{padding:104px 0 80px;border-bottom:1px solid var(--ligne)}
.entete-page h1{max-width:17ch}
.mt{margin-top:64px}
.deux{display:grid;grid-template-columns:5fr 7fr;gap:72px;align-items:center}
.colle{position:sticky;top:120px}

/* ── Accueil : hero (moment 1) ── */
.hero{padding:56px 0 0}
.hero-grille{display:grid;grid-template-columns:1.4fr 1fr;gap:64px;align-items:center;min-height:min(640px,calc(100vh - 200px));padding-bottom:48px}
.hero .chapo{margin-top:28px}
.hero .preuve{margin-top:40px}
.hero .lieu{font-size:15px;font-weight:500;color:var(--doux)}
.titre-hero{font-size:clamp(52px,6.4vw,100px);line-height:.98;letter-spacing:-.05em;margin-top:18px}
.titre-hero .ligne{display:block;overflow:hidden;padding-bottom:.06em;margin-bottom:-.06em}
.titre-hero .ligne>span{display:inline-block}
.trait{position:relative;white-space:nowrap}
.trait::after{content:'';position:absolute;left:-.02em;right:-.04em;bottom:.1em;height:.17em;background:var(--vert);z-index:-1;transform-origin:left center}
.carte-diag{background:#000;color:#B5B5B5;border-radius:24px;padding:32px;display:flex;flex-direction:column;gap:18px}
.carte-diag .sur{color:#8C8C8C}
.carte-diag h2{color:#fff;font-size:28px;letter-spacing:-.025em;margin-top:-6px}
.carte-diag ul{list-style:none}
.carte-diag li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:13px 0;border-top:1px solid rgba(255,255,255,.14);font-size:15px}
.carte-diag li b{font-size:22px;font-weight:600;letter-spacing:-.02em;color:#fff}
.carte-diag .btn{margin-top:6px}

.js .titre-hero .ligne>span{animation:monte 1.1s var(--sortie) both}
.js .titre-hero .ligne:nth-child(2)>span{animation-delay:.12s}
.js .trait::after{animation:trace .9s var(--sortie) .75s both}
.js .hero .lieu,.js .hero .chapo,.js .hero .actions,.js .hero .preuve,.js .carte-diag{animation:apparait .9s var(--sortie) .45s both}
.js .carte-diag{animation-delay:.6s}
@keyframes monte{from{transform:translateY(105%)}to{transform:none}}
@keyframes trace{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes apparait{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* Bandeau métiers défilant */
.metiers{border-top:1px solid var(--ligne);overflow:hidden;padding:20px 0}
.metiers .piste{display:flex;gap:40px;width:max-content;animation:defile 70s linear infinite}
.metiers span{font-size:17px;font-weight:500;letter-spacing:-.01em;color:var(--doux);white-space:nowrap;display:flex;align-items:center;gap:40px}
.metiers span::after{content:'';width:6px;height:6px;border-radius:50%;background:var(--vert)}
@keyframes defile{to{transform:translateX(-50%)}}

/* Preuve */
.preuve{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.preuve small{font-size:15px;font-weight:500;color:var(--doux)}
.preuve img{height:44px;width:auto}
.preuve .lien{font-size:15px}

/* Le constat : liste de fuites, sans cartes */
.tete-section{display:grid;grid-template-columns:1.3fr 1fr;gap:64px;align-items:end;margin-bottom:56px}
.tete-section p{font-size:19px;color:var(--texte)}
.fuites{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.fuites li{border-top:2px solid var(--encre);padding-top:22px;display:grid;gap:8px;align-content:start}
.fuites h3{font-size:20px}
.fuites p{color:var(--doux)}
.phrase-forte{margin-top:72px;font-size:clamp(28px,3.4vw,46px);font-weight:600;line-height:1.15;letter-spacing:-.03em;color:var(--encre);max-width:24ch}
.phrase-forte span{color:var(--doux)}

/* Le système (moment 3 : il s'allume au défilement) */
.systeme{list-style:none;display:grid;grid-template-columns:1fr 1fr;column-gap:40px}
.systeme li{display:grid;grid-template-columns:14px 1fr;column-gap:16px;padding:16px 0;border-bottom:1px solid #262626}
.systeme li::before{content:'';grid-row:1/3;width:10px;height:10px;border-radius:50%;margin-top:9px;background:#3A3A3A;box-shadow:0 0 0 0 rgba(19,240,130,0);transition:background .4s,box-shadow .6s}
.systeme b{font-size:18px;font-weight:600;letter-spacing:-.01em}
.systeme span{font-size:15px;color:#8C8C8C;margin-top:2px}
.systeme li::before,.no-js .systeme li::before{background:var(--vert)}
.js .systeme li::before{background:#3A3A3A}
.js .systeme.vu li::before{background:var(--vert);box-shadow:0 0 0 6px rgba(19,240,130,.14);transition-delay:calc(var(--i) * 110ms)}
.bloc-noir .chapo{color:#B5B5B5}
.equipe-bloc{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.equipe-bloc .equipe{margin-top:0}

/* La méthode en marches, comme le logo (moment 2) */
.marches{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-items:end}
.marches li{background:var(--fond-2);border-radius:20px 20px 4px 4px;padding:32px;display:flex;flex-direction:column;gap:12px;transform-origin:bottom}
.marches li:nth-child(1){min-height:230px}
.marches li:nth-child(2){min-height:280px}
.marches li:nth-child(3){min-height:330px;background:var(--vert)}
.marches .etape{font-size:15px;font-weight:500;color:var(--doux)}
.marches li:nth-child(3) .etape{color:#0B4D2C}
.marches h3{font-size:24px;letter-spacing:-.025em;margin-top:auto}
.marches p{font-size:17px}
.marches .lien{margin-top:8px;font-size:16px}
.marches li:nth-child(3) .lien{text-decoration-color:#000}
.js .marches li{opacity:0;transform:translateY(48px)}
.js .marches.vu li{opacity:1;transform:none;transition:opacity .7s var(--sortie),transform 1s var(--sortie);transition-delay:calc(var(--i) * 140ms)}

/* Deux colonnes texte / visuel */
.duo{display:grid;grid-template-columns:1fr 1.1fr;gap:80px;align-items:center}
.capture{margin:0}
.capture img{width:100%;border-radius:16px;border:1px solid var(--ligne);box-shadow:0 40px 80px -40px rgba(0,0,0,.35)}
.capture figcaption{margin-top:14px;font-size:14px;color:var(--doux)}
.photos{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.photos img{border-radius:16px;aspect-ratio:3/4;object-fit:cover;width:100%}
.photos img:last-child{margin-top:56px}
.equipe{display:grid;margin-top:32px;border-top:1px solid var(--encre)}
.equipe div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:16px 0;border-bottom:1px solid var(--ligne);font-size:16px}
.equipe span{color:var(--doux);text-align:right}

/* Cartes (pages intérieures) : sobres, filet fin, pas d'ombre */
.grille-2{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.grille-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.grille-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.carte{background:var(--fond);border:1px solid var(--ligne);border-radius:var(--rayon);padding:32px;display:flex;flex-direction:column;gap:10px}
.fond-2 .carte{border-color:transparent}
.carte p{color:var(--doux);font-size:17px}
.carte .lien{margin-top:auto;padding-top:8px}
.tag{align-self:flex-start;font-size:14px;font-weight:500;color:var(--doux)}
.bloc-noir .carte{background:#0D0D0D;border-color:#222}
.punch{margin-top:72px;font-size:clamp(26px,3vw,40px);font-weight:600;color:var(--encre);letter-spacing:-.028em;line-height:1.18;max-width:26ch}
.punch span{color:var(--doux)}

/* Listes cochées */
.coches{list-style:none;margin-top:24px;display:grid;gap:12px}
.coches li{display:flex;gap:14px;color:var(--encre);font-weight:500}
.coches li::before{content:'';flex:none;width:20px;height:20px;border-radius:50%;margin-top:4px;background:var(--vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}
.coches.non li{color:var(--doux)}
.coches.non li::before{background:var(--fond-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10h8' stroke='%236E6E6E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat}
.bloc-noir .coches li{color:#fff}

/* Étapes de la méthode (page méthode) */
.frise{display:grid;margin-top:24px}
.frise article{display:grid;grid-template-columns:200px 1fr auto;gap:40px;align-items:start;border-top:1px solid var(--encre);padding:40px 0}
.frise .quand{font-size:15px;font-weight:500;color:var(--doux);padding-top:8px}
.frise h3{font-size:clamp(26px,2.6vw,34px);letter-spacing:-.028em}
.frise p{margin-top:14px}
.frise .tag{background:var(--fond-2);color:var(--encre);padding:8px 14px;border-radius:999px}

.cite{font-size:clamp(22px,2.2vw,30px);font-weight:500;color:var(--encre);letter-spacing:-.02em;line-height:1.35}

/* Étapes numérotées (suite logique) */
.ensuite{list-style:none;counter-reset:e;margin-top:36px;display:grid;gap:24px}
.ensuite li{counter-increment:e;display:grid;grid-template-columns:40px 1fr;gap:18px;align-items:start}
.ensuite li::before{content:counter(e);width:40px;height:40px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--encre);color:var(--encre);font-weight:600;font-size:16px;display:flex;align-items:center;justify-content:center}
.ensuite b{display:block;font-size:19px;letter-spacing:-.01em;margin-bottom:2px}
.ensuite span{color:var(--doux)}

/* FAQ */
.faq{margin-top:40px;border-top:1px solid var(--encre)}
details{border-bottom:1px solid var(--ligne)}
summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 0;font-size:19px;font-weight:600;color:var(--encre);letter-spacing:-.01em}
summary::-webkit-details-marker{display:none}
summary::after{content:'';flex:none;width:14px;height:14px;background:linear-gradient(var(--encre),var(--encre)) center/14px 1.5px no-repeat,linear-gradient(var(--encre),var(--encre)) center/1.5px 14px no-repeat;transition:transform .3s var(--sortie)}
details[open] summary::after{transform:rotate(45deg)}
details p{padding:0 0 26px;color:var(--doux)}

/* Appel final */
.appel{background:var(--vert);color:#000;border-radius:28px;padding:64px 64px;display:grid;grid-template-columns:1.5fr 1fr;gap:48px;align-items:end}
.appel h2{color:#000;max-width:16ch}
.appel p{font-size:19px;margin-top:20px;color:#0B3A22}
.appel .actions{margin-top:0;flex-direction:column;align-items:stretch}

/* Page diagnostic */
.diag{display:grid;grid-template-columns:1fr 1.05fr;grid-template-areas:'intro form' 'suite form';column-gap:72px;row-gap:56px;align-items:start;padding:80px 0 112px}
.diag>div:first-child{grid-area:intro}.diag .formulaire{grid-area:form}.diag-suite{grid-area:suite}
.diag h1{font-size:clamp(40px,4.8vw,66px)}
.diag-suite h2{font-size:28px;letter-spacing:-.025em}
.formulaire{background:#fff;border:1px solid var(--ligne);border-radius:24px;padding:24px;position:sticky;top:100px;min-height:560px;box-shadow:0 40px 80px -48px rgba(0,0,0,.3)}
.formulaire iframe{width:100%;min-height:620px;border:0}
.rassure{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:28px;font-weight:500;font-size:15px;color:var(--encre)}
.rassure span{display:inline-flex;align-items:center;gap:8px}
.rassure span::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--vert)}

/* Pages légales */
.legal{padding:80px 0 120px}
.legal h2{font-size:24px;margin:44px 0 12px;letter-spacing:-.015em}
.legal p,.legal li{font-size:17px}
.legal ul{padding-left:20px;margin-top:8px}

/* Pied de page */
.pied{background:#000;color:#A8A8A8;padding:88px 0 120px}
.pied .w{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.pied img{width:146px}
.pied h4{color:#fff;font-size:15px;font-weight:600;margin-bottom:16px}
.pied ul{list-style:none;display:grid;gap:10px;font-size:15px}
.pied a{text-decoration:none;transition:color .2s}.pied a:hover{color:#fff}
.pied .bas{grid-column:1/-1;border-top:1px solid #222;padding-top:28px;font-size:13px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.pied .phrase{margin-top:20px;font-size:15px;max-width:30ch}

/* Barre d'action mobile + cookies */
.barre-mobile{display:none}
.cookies{position:fixed;left:16px;right:16px;bottom:16px;z-index:60;max-width:560px;margin:0 auto;background:#000;color:#fff;border-radius:20px;padding:20px;display:none;gap:16px;align-items:center;font-size:14px;line-height:1.5;box-shadow:0 20px 50px rgba(0,0,0,.3)}
.cookies.visible{display:flex}
.cookies p{flex:1}
.cookies a{color:var(--vert)}
.cookies .btn{min-height:44px;padding:0 18px;font-size:14px}

/* ── Responsive ── */
@media (max-width:1060px){
  .nav ul{display:none}
  .burger{display:inline-flex;align-items:center;justify-content:center}
  .menu-mobile.ouvert{display:block;border-top:1px solid var(--ligne);padding:8px 32px 24px;background:#fff}
  .menu-mobile a{display:block;padding:16px 0;font-size:20px;font-weight:600;letter-spacing:-.015em;text-decoration:none;border-bottom:1px solid var(--ligne)}
  .hero-grille{grid-template-columns:1.25fr 1fr;gap:40px}
  .fuites{grid-template-columns:repeat(2,1fr);row-gap:40px}
}
@media (max-width:980px){
  .grille-4{grid-template-columns:repeat(2,1fr)}
  .pied .w{grid-template-columns:1fr 1fr}
  .deux{grid-template-columns:1fr;gap:48px}
  .colle{position:static}
  .hero-grille{grid-template-columns:1fr;min-height:0;gap:48px}
  .carte-diag{max-width:480px}
  .tete-section,.equipe-bloc{grid-template-columns:1fr;gap:20px}
  .equipe-bloc{gap:40px}
}
@media (max-width:768px){
  body{font-size:17px}
  section{padding:72px 0}
  .w{padding:0 24px}
  .nav .w{height:68px}
  .nav .droite .btn-ligne{display:none}
  .menu-mobile.ouvert{padding:8px 24px 24px}
  .hero{padding:40px 0 0}
  .tete-section{margin-bottom:40px}
  .grille-2,.grille-3,.duo,.appel{grid-template-columns:1fr}
  .duo{gap:48px}
  .fuites{grid-template-columns:1fr;row-gap:28px}
  .phrase-forte{margin-top:64px}
  .systeme{grid-template-columns:1fr}
  .marches{grid-template-columns:1fr;margin-top:48px}
  .marches li,.marches li:nth-child(n){min-height:0}
  .marches li:nth-child(2){margin-left:24px}
  .marches li:nth-child(3){margin-left:48px}
  .marches h3{margin-top:12px}
  .diag{grid-template-columns:1fr;grid-template-areas:'intro' 'form' 'suite';padding:48px 0 72px;row-gap:40px}
  .formulaire{padding:10px;min-height:480px;position:static}
  .frise article{grid-template-columns:1fr;gap:10px;padding:32px 0}
  .frise .tag{justify-self:start}
  .appel{padding:48px 28px;border-radius:24px;gap:32px}
  .carte{padding:28px}
  .entete-page{padding:72px 0 56px}
  .hero .preuve{margin-top:32px}
  .barre-mobile{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-top:1px solid var(--ligne)}
  .barre-mobile .btn{flex:1;min-height:52px;font-size:16px;padding:0 12px}
  .barre-mobile .btn-ligne{flex:0 0 auto}
  .cookies{bottom:84px;flex-direction:column;align-items:stretch}
}
@media (max-width:480px){
  .w{padding:0 16px}
  .menu-mobile.ouvert{padding:8px 16px 24px}
  .grille-4{grid-template-columns:1fr}
  .pied .w{grid-template-columns:1fr}
  .actions .btn{width:100%}
  .nav .droite .btn-vert{display:none}
  .equipe div{flex-direction:column;gap:2px}
  .equipe span{text-align:left}
  .marches li:nth-child(2){margin-left:12px}
  .marches li:nth-child(3){margin-left:24px}
  .photos img:last-child{margin-top:32px}
}

/* Mouvement réduit (réglage du visiteur) : pas de déplacement, seulement des fondus et le système qui s'allume */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .metiers .piste{animation:none}
  .js .titre-hero .ligne>span,.js .hero .lieu,.js .hero .chapo,.js .hero .actions,.js .hero .preuve,.js .carte-diag{animation:fondu .8s ease both}
  .js .titre-hero .ligne:nth-child(2)>span{animation-delay:.15s}
  .js .trait::after{animation:fondu .6s ease .5s both}
  .js .marches li{transform:none}
  .js .marches.vu li{transition:opacity .8s ease;transition-delay:calc(var(--i) * 160ms)}
}
@keyframes fondu{from{opacity:0}to{opacity:1}}
