/* =========================================================
   PIllar — implémentation de la maquette Figma
   « Software solutions main » (node 2532:22046)
   Tokens repris du fichier : marque #FF4304, gris Figma,
   Inter / Geist / Geist Mono / Pacifico.
   ========================================================= */
:root{
  /* Couleurs (variables Figma) */
  --orange:#FF4304;
  --orange-dark:#e03a00;
  /* #FF4304 ne passe pas le contraste AA en petit texte sur blanc (3,47:1).
     Cette variante, elle, est à 4,85:1. À utiliser pour les liens et le texte. */
  --brand-text:#D63300;
  --ink:#0A0A0A;          /* Gray_/100 — titres */
  --body:#424242;         /* Gray_/90  — texte courant */
  --muted:#616161;        /* Gray_/80  — texte secondaire */
  --line:#E0E0E0;         /* Gray_/40  — bordures */
  --line-2:#EDEDED;       /* Gray_/30  — bordures claires */
  --surface:#FAFAFA;      /* fond des cartes */
  --white:#FFFFFF;        /* Gray_/10 */
  --secondary:#001621;    /* texte des boutons secondaires */
  --green:#34C759;
  --blue:#0088FF;

  /* Typo */
  --font-sans:'Inter','Helvetica Neue',Arial,sans-serif;
  --font-text:'Geist','Inter','Helvetica Neue',Arial,sans-serif;
  --font-mono:'Geist Mono','SFMono-Regular',Menlo,monospace;
  --font-script:'Pacifico',cursive;

  /* Formes */
  --r-btn:20px;
  --r-card:24px;
  --r-chip:13px;
  --r-pill:999px;

  --max:1216px;
  --ease:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
/* « clip » et non « hidden » : hidden créerait un conteneur de défilement
   et casserait le position:sticky de l en-tête. */
main{overflow-x:clip}
body{
  margin:0;background:var(--white);color:var(--body);
  font-family:var(--font-sans);font-size:16px;line-height:1.6;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img,svg{max-width:100%}
a{color:inherit;text-decoration:none}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,h4{
  margin:0;color:var(--ink);font-family:var(--font-sans);
  font-weight:600;line-height:1.1;letter-spacing:-.07em;
}

.container{width:100%;max-width:calc(var(--max) + 48px);margin:0 auto;padding:0 24px}
.section{padding:104px 0}
/* #devis est un div, pas une section : il lui faut sa propre marge,
   sinon l en-tete colle recouvre le haut du formulaire a l arrivee. */
section[id],#devis{scroll-margin-top:100px}
#services{padding-top:52px}   /* moitié de l espacement de section */

/* ---------- Boutons ---------- */
/* Tous les boutons partagent la même hauteur et le même arrondi (20px),
   comme dans la maquette : c est ce qui les fait lire pareil dans le header
   et dans le hero. Seul le bouton du header porte une icône. */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--font-sans);font-size:14px;line-height:normal;
  min-height:52px;padding:0 26px;border-radius:var(--r-btn);
  white-space:nowrap;cursor:pointer;
  transition:box-shadow .25s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-primary{
  background:var(--orange);color:#fff;font-weight:700;
  box-shadow:
    0 1px 2px rgba(0,0,0,.2),
    inset 0 2px 4px rgba(255,255,255,.45),
    inset 0 -4px 5px rgba(255,255,255,.25);
}
.btn-ghost{
  background:var(--white);border:2px solid var(--line-2);
  color:var(--secondary);font-weight:600;letter-spacing:-.04em;
  box-shadow:inset 0 -2px 1px rgba(26,20,51,.08);
}

/* Survol repris de onefin.framer.website : la surface s éclaire de lintérieur.
   Un halo en inset apparaît sur tout le pourtour (0 0 8px), le liseré du haut
   s adoucit (1px de flou -> 4px) et celui du bas se creuse (-2px -> -3px).
   Le bouton ne bouge pas et ne change pas de couleur : seule la lumière change. */
.btn-primary:hover{
  box-shadow:
    0 1px 2px rgba(0,0,0,.2),
    inset 0 0 8px rgba(255,255,255,.25),
    inset 0 -3px 1px rgba(0,0,0,.42),
    inset 0 1px 4px rgba(255,255,255,.8);
}
.btn-ghost:hover{
  box-shadow:
    inset 0 0 8px rgba(26,20,51,.09),
    inset 0 -3px 1px rgba(26,20,51,.22),
    inset 0 1px 4px rgba(255,255,255,.9);
}
.btn-lg{font-size:16px;min-height:58px;padding:0 32px}

/* Chevron dans un rond, à droite du libellé (maquette 1912:11058).
   Le bouton garde le contrat commun : 52 px, rayon 20, survol OneFin. */
.btn-chev{
  flex:none;display:grid;place-items:center;width:32px;height:32px;
  border-radius:50%;margin:0 -12px 0 12px;background:rgba(255,255,255,.22);
}
.btn-ghost .btn-chev{background:var(--surface-2)}

/* Icone a GAUCHE du libelle (bouton « Reserver un appel »). Contrairement
   au chevron elle n est pas dans un rond : elle accompagne le texte, elle
   ne remplace pas la fleche d action. Le contrat 52 px / rayon 20 tient. */
.btn-ico{flex:none;display:grid;place-items:center;margin-right:9px;opacity:.78}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--orange);outline-offset:3px;border-radius:8px}

/* ---------- Nav ---------- */
.site-header{
  position:sticky;top:0;z-index:70;background:transparent;
  border-bottom:1px solid transparent;
  transition:border-color .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-scrolled{
  background:rgba(255,255,255,.9);
  backdrop-filter:saturate(180%) blur(12px);-webkit-backdrop-filter:saturate(180%) blur(12px);
  border-bottom-color:var(--line-2);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;height:86px}
.brand{display:inline-flex;align-items:center;line-height:0}
.nav{display:flex;align-items:center;gap:0}
.nav>a:not(.btn){
  font-size:14px;font-weight:600;color:var(--ink);letter-spacing:-.04em;
  padding:10px 20px;border-radius:var(--r-pill);transition:color .16s var(--ease), background-color .16s var(--ease);
}
.nav>a:not(.btn):hover{background:var(--surface)}
.nav .nav-btn{margin-left:16px;color:#fff}
.nav .nav-btn:hover{background:var(--orange-dark)}
.nav-toggle{
  display:none;width:44px;height:44px;border:1px solid var(--line);background:var(--white);
  border-radius:var(--r-pill);cursor:pointer;padding:0;align-items:center;justify-content:center;flex-direction:column;gap:5px;
}
.nav-toggle span{display:block;width:16px;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s var(--ease)}
.nav-toggle[aria-expanded="true"] span:first-child{transform:translateY(3.5px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}

/* ---------- Hero ---------- */
/* Fond du hero = le cadre Figma « Hero section background » exporté en entier
   (1440 x 1117, volutes comprises). Il est posé dans le flux à partir du haut
   de la page : c est lui qui donne sa hauteur à la section, donc le visuel
   n est jamais rogné et remplit toute la section quelle que soit la largeur.
   La nav passe par-dessus (margin-top négatif), comme dans la maquette. */
.hero{position:relative;margin-top:-86px}
.hero-bg{
  position:relative;width:100%;z-index:0;pointer-events:none;user-select:none;
  /* Le visuel entre en scale(1.05) : sans ça, il déborde de 5% en largeur
     pendant les 1,8 s de l animation et fait clignoter une barre horizontale. */
  overflow:hidden;
}
.hero-art{display:block;width:100%;height:auto}
.hero-inner{position:absolute;top:0;left:0;right:0;z-index:2;padding-top:166px}
.hero-script{
  font-family:var(--font-script);font-size:32px;line-height:1.5;
  color:var(--orange);letter-spacing:-.02em;margin-bottom:16px;
}
.hero-title{font-size:clamp(40px,4.45vw,64px);letter-spacing:-.07em;margin-bottom:16px;max-width:906px}
.hero-sub{
  font-family:var(--font-sans);font-size:18px;line-height:1.5;color:var(--body);
  letter-spacing:-.02em;max-width:588px;margin-bottom:56px;
}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px}

/* ---------- Titres de section ---------- */
.label{
  display:inline-flex;align-items:center;font-size:14px;line-height:19.6px;
  font-weight:500;color:rgba(15,15,16,.73);margin-bottom:16px;
}
.label i{font-family:var(--font-mono);font-weight:500;font-style:normal;color:var(--orange);padding:0 6px}
.label i:first-child{padding-left:0}
.split-head{display:grid;grid-template-columns:1fr 1fr;gap:84px;align-items:start;margin-bottom:88px}
.split-head h2{font-size:clamp(34px,3.9vw,56px)}
.split-intro{font-family:var(--font-text);font-size:18px;line-height:1.6;color:var(--body);padding-top:34px}

/* ---------- Cartes services ---------- */
.cards{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.card{
  position:relative;min-height:500px;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--r-card);
  padding:32px;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;
}
.card-illu{position:absolute;top:0;left:0;width:100%;height:auto;z-index:0}
.card-body{position:relative;z-index:1;display:flex;flex-direction:column;gap:16px}
.card-meta{display:flex;align-items:center;gap:7px;margin-bottom:-4px}
.num{
  display:grid;place-items:center;width:41px;height:40px;border-radius:var(--r-chip);
  background:var(--chip,var(--orange));color:#fff;font-size:15px;font-weight:900;
  box-shadow:
    0 1px 2px rgba(0,0,0,.2),
    inset 0 2px 4px rgba(255,255,255,.45),
    inset 0 -4px 5px rgba(255,255,255,.25);
}
.of{font-size:14px;color:var(--muted);letter-spacing:-.02em;margin-left:5px}
.rule{flex:1;height:1px;background:var(--line);margin-left:12px}
.card h3{font-size:clamp(26px,2.3vw,32px);letter-spacing:-.07em}
.card p{font-size:16px;line-height:1.6;color:var(--muted);letter-spacing:-.04em}

/* La maquette passe à trois services sur une ligne. Espacements et couleurs
   relevés dans la frame 1952:12475, pas estimés à l'œil. */
/* 392,33 × 3 + 20 × 2 = 1217 : l'écart de la maquette est de 20 px. */
.cards-3{grid-template-columns:repeat(3,1fr);gap:20px}
.cards-3 .card{
  min-height:0;padding:0 0 28px;justify-content:flex-start;
  /* rayon relevé dans l export Figma de la carte : rx="39.5" */
  border-radius:40px;
}
/* illustration : 24 px de marge, puis 32 px avant la ligne numérotée */
/* Les viewBox exportés débordent de leur cadre Figma (375×201 pour un cadre
   de 350×199), donc laisser le SVG imposer sa hauteur raccourcit la zone et
   remonte toute la carte. On fixe l'emplacement à la hauteur de la maquette
   (~200 px) et l'illustration se centre dedans. */
.cards-3 .card-illu{
  position:static;display:block;width:100%;height:200px;
  object-fit:contain;object-position:center;
  /* pas de retrait latéral : dans la maquette l'illustration déborde de son
     cadre de 24 px et occupe presque toute la largeur de la carte. */
  margin:24px 0 32px;padding:0;
}
.cards-3 .card-body{padding:0 24px;gap:0}
.cards-3 .card-meta{margin:0 0 20px}          /* 20 px avant le titre */
.cards-3 .card h3{
  font-size:clamp(20px,1.5vw,23px);letter-spacing:-.04em;margin:0 0 16px;
}
.cards-3 .card p{font-size:15px;margin:0}

/* Les trois pastilles foncent d'une carte à l'autre, et le chiffre s'inverse
   sur la première. Valeurs échantillonnées dans le rendu de la maquette. */
.cards-3 .card-1{--chip:#D5D5D5;--chip-txt:#0A0A0A}
.cards-3 .card-2{--chip:#818180;--chip-txt:#FFFFFF}
.cards-3 .card-3{--chip:#575757;--chip-txt:#FFFFFF}
.cards-3 .num{background:var(--chip);color:var(--chip-txt)}

/* ---------- Offre ---------- */
.pricing{display:grid;grid-template-columns:1fr 1.08fr;gap:32px;align-items:start}
.plan{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);
  padding:40px;display:flex;flex-direction:column;
}
/* la carte des prix est posée au centre de lillustration, qui déborde autour delle */
/* La carte des choix se cale sur le haut de la carte noire (align-items:start
   sur la grille) et y reste pendant qu'on fait defiler la carte de droite, qui
   est bien plus haute. Le collant se relache tout seul au bas de la grille :
   la section quittee, la carte repart avec la page.
   96 px de decalage : l en-tete colle fait 87 px de haut et passe au-dessus. */
.plan-stage{
  position:sticky;top:96px;align-self:start;
  display:grid;place-items:center;padding:0 48px;
}
/* La carte ne defile plus sur elle-meme : un bloc a hauteur plafonnee avec
   overscroll-behavior:contain avalait 371 px de molette avant que la page ne
   bouge, c est ce qui donnait l impression d un scroll lent a cet endroit.
   A la place, la hauteur de la fenetre decide : assez haute, on colle ; un peu
   juste, on resserre la carte ; trop basse, on ne colle pas du tout. */
/* will-change : l illustration porte 63 flous gaussiens. Animee en parallaxe
   dans un conteneur collant, elle etait re-rasterisee a chaque image — mesure
   42 ms par image en moyenne et des pics a 1 s. Promue sur sa propre couche,
   elle est tramee une fois et seulement deplacee : retour a 33 ms, exactement
   le cout de la page sans elle. */
.plan-collage{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:130%;height:auto;max-width:none;pointer-events:none;user-select:none;
  will-change:transform;
}
.plan-white{
  position:relative;width:100%;background:var(--white);border-color:transparent;padding:26px;
  box-shadow:0 2px 6px rgba(20,20,31,.06), 0 24px 60px rgba(20,20,31,.16);
}
.plan-title{font-size:24px;margin-bottom:12px}

.price-rows{display:flex;flex-direction:column}
.price-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-top:1px solid var(--line)}
.price-row:first-child{border-top:0;padding-top:0}
.price-row b{display:block;font-size:16px;color:var(--ink);font-weight:600;letter-spacing:-.03em}
.price-row small{display:block;font-size:13px;color:var(--muted);margin-top:3px;letter-spacing:-.02em}
.price{font-size:20px;font-weight:600;color:var(--ink);letter-spacing:-.05em;text-align:right;white-space:nowrap}
.price i{display:block;font-style:normal;font-size:12px;font-weight:500;color:var(--muted);margin-top:3px;letter-spacing:-.01em}

/* Carte des combos : fond noir, pour la détacher de la carte à la carte.
   Sur ce fond, laccent orange passe à une teinte plus claire pour rester lisible. */
.plan-combo{
  background:var(--ink);border-color:var(--ink);
  --accent-on-dark:#FF7A4D;
}
.plan-name{font-size:16px;font-weight:600;color:rgba(255,255,255,.62);letter-spacing:-.02em}
.combo-price{display:flex;align-items:baseline;gap:10px;margin-top:8px}
.combo-price b{font-size:46px;font-weight:600;color:var(--accent-on-dark);letter-spacing:-.05em;line-height:1}
.combo-price span{font-size:15px;color:rgba(255,255,255,.55)}
.combo-lead{margin-top:12px;font-size:16px;font-weight:600;color:#fff;letter-spacing:-.02em}
.combo-desc{margin-top:14px;font-family:var(--font-text);font-size:15px;line-height:1.65;color:rgba(255,255,255,.6)}
.combo-sep{border:0;border-top:1px solid rgba(255,255,255,.14);margin:26px 0}
.combo-included{font-size:15px;color:rgba(255,255,255,.85);font-weight:500}
.combo-list{margin-top:14px;display:flex;flex-direction:column;gap:12px}
.combo-list li{display:flex;align-items:center;gap:12px;font-size:15px;color:rgba(255,255,255,.82)}
.combo-list .tick{
  width:20px;height:20px;flex:none;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,67,4,.22);color:var(--accent-on-dark);
}
.combo-box{
  margin-top:26px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);
  border-radius:16px;padding:18px 20px;
}
.combo-box b{display:block;font-size:15px;color:#fff;font-weight:600;letter-spacing:-.02em}
.combo-box span{display:block;margin-top:6px;font-size:14px;color:rgba(255,255,255,.58);line-height:1.5}
.combo-box span b{display:inline;color:var(--accent-on-dark)}
.plan-combo .btn{margin-top:26px;align-self:stretch}

/* ---------- Offre : le devis interactif ----------
   Transposition de la maquette « Tarifs » du propriétaire dans les tokens du
   site : accent #FF4304 (et #FF7A4D sur le noir), rayons 24 pour les cartes,
   20 pour les boutons, 16-18 pour les lignes internes, survol OneFin inchangé
   sur le bouton. La maquette était en vert #2B6E3A — cette teinte n'existe pas
   ici, chacune de ses occurrences passe à l'orange de la marque.
   Les montants restent ceux de la maquette : ils engagent l'entreprise. */

/* Carte de gauche : le choix */
.plan-pick{text-align:left}
/* Bouton « Continuer » : il n existe que dans la mise en page empilee, ou le
   recapitulatif est passe sous la carte de selection. En deux colonnes il
   ferait defiler vers quelque chose qui est deja sous les yeux. */
.pick-next{display:none}
.pick-label{
  font-family:var(--font-mono);font-size:11px;font-weight:500;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted);
}
.pack-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.pack{
  display:flex;align-items:center;gap:14px;width:100%;padding:11px 16px;
  border:2px solid var(--line-2);border-radius:18px;background:var(--white);
  font-family:inherit;color:inherit;text-align:left;cursor:pointer;
  transition:border-color .2s var(--ease), background-color .2s var(--ease);
}
.pack:hover{border-color:#D4D4D4}
.pack[aria-pressed="true"]{border-color:var(--orange);background:#FFF4F0}
.pack-dot{
  flex:none;width:22px;height:22px;border-radius:50%;border:2px solid var(--line);
  display:grid;place-items:center;transition:border-color .2s var(--ease);
}
.pack-dot::after{
  content:"";width:10px;height:10px;border-radius:50%;background:transparent;
  transition:background-color .2s var(--ease);
}
.pack[aria-pressed="true"] .pack-dot{border-color:var(--orange)}
.pack[aria-pressed="true"] .pack-dot::after{background:var(--orange)}
.pack-txt{flex:1 1 auto;min-width:0}
.pack-txt b{display:block;font-size:16px;font-weight:600;color:var(--ink);letter-spacing:-.04em}
.pack-txt small{display:block;margin-top:2px;font-size:13px;line-height:1.4;color:var(--muted);letter-spacing:-.02em}
.pack-price{flex:none;text-align:right}
.pack-price b{display:block;font-size:22px;font-weight:600;color:var(--ink);letter-spacing:-.05em}
.pack-price small{display:block;margin-top:1px;font-size:12px;color:var(--muted)}

.pick-sep{border:0;border-top:1px solid var(--line);margin:16px 0}
.pick-head h4{font-size:19px;letter-spacing:-.05em}
.pick-head p{margin-top:6px;font-family:var(--font-text);font-size:13.5px;line-height:1.55;color:var(--muted)}
.opt-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.opt{
  display:flex;align-items:center;gap:14px;padding:10px 16px;border-radius:16px;
  border:2px solid var(--line-2);background:var(--white);cursor:pointer;
  transition:border-color .2s var(--ease), background-color .2s var(--ease);
}
.opt:hover{border-color:#D4D4D4}
.opt.is-on{border-color:var(--ink);background:var(--surface)}
.opt.is-locked{cursor:default}
.opt.is-locked:hover{border-color:var(--ink)}
.opt input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--orange);cursor:pointer}
.opt input:disabled{cursor:default}
.opt-txt{flex:1 1 auto;min-width:0}
.opt-txt b{display:block;font-size:15px;font-weight:600;color:var(--ink);letter-spacing:-.04em}
.opt-txt small{display:block;margin-top:2px;font-size:13px;line-height:1.4;color:var(--muted);letter-spacing:-.02em}
/* L'accent sur blanc passe par --brand-text : #FF4304 échoue au contraste
   en petit texte, cette variante est à 4,85:1. */
.opt-note{
  display:block;margin-top:2px;font-size:12px;line-height:1.35;font-weight:600;font-style:normal;
  color:var(--brand-text);letter-spacing:-.01em;
}
.opt-note:empty{display:none}
.opt-price{flex:none;text-align:right}
.opt-price b{display:block;font-size:17px;font-weight:600;color:var(--ink);letter-spacing:-.04em}
.opt-price small{display:block;margin-top:1px;font-size:12px;color:var(--muted)}

/* Carte de droite : le pack choisi et le total */
.sel-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 16px;margin-top:6px}
.sel-head h3{font-size:30px;color:#fff;letter-spacing:-.06em}
.sel-price{font-size:42px;font-weight:600;line-height:1;color:var(--accent-on-dark);letter-spacing:-.05em}
.sel-list{margin-top:14px;display:flex;flex-direction:column;gap:12px}
.sel-list li{display:flex;align-items:flex-start;gap:12px;font-size:14.5px;line-height:1.5;color:rgba(255,255,255,.82)}
/* Pastille verte pleine, comme sur la maquette du proprietaire (#2E9E4E,
   chevron blanc). C est la seule tache de vert de la page : elle marque ce qui
   est acquis, la ou l orange marque ce sur quoi on peut cliquer. La coche tire
   sa couleur de currentColor, donc rien a changer dans le HTML ni le JS. */
.sel-list .tick{
  width:20px;height:20px;flex:none;margin-top:2px;border-radius:50%;display:grid;place-items:center;
  background:#2E9E4E;color:#fff;
}
.sel-list b{font-weight:600;color:var(--accent-on-dark)}

.total-box{
  margin-top:26px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);
  border-radius:18px;padding:22px;
}
.total-kicker,.total-step{
  display:block;font-family:var(--font-mono);font-size:11px;letter-spacing:.08em;
  text-transform:uppercase;
}
.total-kicker{color:rgba(255,255,255,.55)}
.total-step{color:var(--accent-on-dark);margin-bottom:8px}
.total-blk{margin-top:16px}
.total-line{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.total-line b{font-size:18px;font-weight:600;color:#fff;letter-spacing:-.04em}
.total-sep{border:0;border-top:1px solid rgba(255,255,255,.12);margin:16px 0}
.total-empty{font-size:14px;line-height:1.5;color:rgba(255,255,255,.55)}
.total-add{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-top:12px}
.total-add:first-child{margin-top:0}
.total-add b{font-size:15.5px;font-weight:600;color:#fff;letter-spacing:-.03em}
.total-add small{display:block;margin-top:2px;font-size:12.5px;line-height:1.4;color:var(--accent-on-dark)}
.total-add-price{flex:none;font-size:15.5px;font-weight:600;color:#fff}
.total-now,.total-later{
  display:flex;align-items:baseline;justify-content:space-between;gap:16px;
  padding:14px 16px;border-radius:14px;
}
.total-now{background:rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.1);margin-bottom:4px}
.total-now b,.total-later b{display:block;font-size:15px;font-weight:600;color:#fff;letter-spacing:-.03em}
.total-now small,.total-later small{display:block;margin-top:2px;font-size:12.5px;line-height:1.4;color:rgba(255,255,255,.55)}
.total-now>span:last-child,.total-later>span:last-child{
  flex:none;font-size:24px;font-weight:600;color:#fff;letter-spacing:-.05em;
}
.total-delai{font-size:14px;line-height:1.5;color:rgba(255,255,255,.7)}
.total-delai b{color:#fff;font-weight:600}
.sel-foot{margin-top:16px;font-family:var(--font-text);font-size:13px;line-height:1.55;color:rgba(255,255,255,.5)}
/* Deux garde-fous de largeur. Les boutons du site sont en white-space:nowrap ;
   le libellé du devis (« Commencer avec Croissance · total 1 500 $ ») imposait
   alors une largeur minimale de 344 px à sa colonne, et la grille débordait de
   15 px au téléphone — invisible, parce que main{overflow-x:clip} la coupait.
   Ici le libellé a le droit de passer à la ligne, et les colonnes de la grille
   ont min-width:0 pour qu'aucun contenu ne puisse plus les élargir. */
.pricing>*{min-width:0}
.plan-sel .btn{white-space:normal;text-align:center;line-height:1.35;padding:14px 22px}

@media (max-height:980px){
  /* La carte ne tient plus sous l en-tete : on la resserre un peu, sans
     toucher au texte, pour qu elle rentre entiere pendant qu elle est collee. */
  .plan-white{padding:22px}
  .pack{padding:9px 16px}
  .opt{padding:8px 16px}
  .pack-list,.opt-list{gap:6px}
  .pick-sep{margin:13px 0}
}
@media (max-height:880px){
  /* Trop bas pour coller quoi que ce soit : la carte reprend sa place dans le
     flux. Mieux vaut pas de collant qu un collant qui cache son propre bas. */
  .plan-stage{position:static}
}

/* ---------- FAQ ---------- */
/* Deux colonnes : titre à gauche, questions à droite, séparateurs pointillés,
   la question ouverte est encadrée. */
.faq-grid{display:grid;grid-template-columns:.92fr 1.35fr;gap:80px;align-items:start}
.faq-title{font-size:clamp(34px,3.9vw,56px)}
.faq-desc{margin-top:20px;font-size:15px;line-height:1.6;color:var(--muted);max-width:320px}
.faq-desc a{color:var(--brand-text);text-decoration:underline;text-underline-offset:3px}
.faq-desc a:hover{opacity:.75}
/* Mots du titre, pour l'apparition un par un avec passage de flou à net. */
.wd{display:inline-block;will-change:transform,filter}

.faq{display:flex;flex-direction:column}
.faq-item{border-bottom:1px dashed var(--line)}
.faq-item summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:20px 16px;margin:6px 0;border:1px solid transparent;border-radius:12px;
  font-size:16.5px;font-weight:600;color:var(--ink);letter-spacing:-.03em;
  transition:border-color .28s var(--ease), background-color .28s var(--ease),
             box-shadow .28s var(--ease), color .16s var(--ease);
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:hover{color:var(--orange)}
.faq-item[open] summary{
  border-color:var(--orange);background:var(--white);color:var(--ink);
  box-shadow:0 0 0 3px rgba(255,67,4,.1);
}
.faq-chevron{
  flex:none;color:var(--muted);display:grid;place-items:center;
  transition:transform .32s var(--ease), color .28s var(--ease);
}
.faq-item[open] .faq-chevron{transform:rotate(180deg);color:var(--orange)}

/* L'attribut [open] ne peut être retiré qu'à la toute fin de la fermeture,
   sinon le navigateur escamote le contenu d'un coup. Cette classe rend donc
   le cadre et le chevron dès le début du repli, pour qu'ils repartent en
   même temps que la hauteur au lieu d'attendre la fin. */
.faq-item.is-closing summary{
  border-color:transparent;background:transparent;box-shadow:none;
}
.faq-item.is-closing .faq-chevron{transform:none;color:var(--muted)}

/* Le bloc de réponse ne porte AUCUN espacement : c'est lui dont on anime la
   hauteur, et un padding en border-box l'empêcherait d'atteindre zéro — il
   restait 24 px, puis le navigateur les escamotait net. L'espacement vit
   donc sur le paragraphe à l'intérieur. */
.faq-body{overflow:hidden;font-family:var(--font-text);color:var(--muted)}
.faq-body p{
  margin:0;padding:2px 60px 22px 16px;font-size:15.5px;line-height:1.7;
}

/* ---------- Système (maquette) ---------- */
.systeme{padding-top:8px}
.systeme-inner{text-align:center;max-width:880px;margin:0 auto}
.systeme-titre{font-size:clamp(18px,1.6vw,23px);letter-spacing:-.04em}
.systeme-script{
  /* La maquette tient cette ligne sur 642 px : ~26 px de corps, pas davantage. */
  font-family:var(--font-script);font-size:clamp(21px,2vw,29px);
  color:#9E9E9E;line-height:1.2;margin-top:8px;white-space:nowrap;
  /* Pacifico déborde de sa line-box : on réserve la place des jambages. */
  padding-bottom:.34em;
}
.systeme-inner .btn{margin-top:10px}

/* ---------- Avec Vous / offre 800$ (maquette) ---------- */
/* ---------- Avec Vous / offre 800$ (frame Figma 1956:13424) ----------
   Toutes les valeurs viennent de la maquette, pas d'une estimation :
   880 de haut, 69 en haut, 216,93 en bas, contenu de 1085,94 centré,
   deux colonnes de 527 séparées de 32. */
/* overflow visible + fond en z-index négatif : le fond peut descendre dans la
   section suivante au lieu d'être coupé net par celle-ci. Le fond blanc de la
   section disparaît (le body est déjà blanc), sinon il recouvrirait le calque. */
/* Le bas vaut 176 et non les 216,93 de la maquette : demande du proprietaire,
   le vide entre cette section et « Notre offre » etait trop grand une fois
   les deux vus a la suite. #offre reprend 40 px de moins en haut. */
.section.avec-vous{position:relative;z-index:0;padding:69px 0 176px;background:transparent;overflow:visible}
/* la grille tarifaire repasse au-dessus du fond qui déborde sur elle */
#offre{position:relative;z-index:1;padding-top:64px}
.av-fond{
  /* Le fond doit couvrir TOUTE la section, à n'importe quelle largeur.
     En hauteur automatique il se dimensionne sur la largeur (872/1440) :
     sous 1440 px il s'arrêtait avant le bas de la section et laissait une
     arête horizontale nette en plein milieu du blanc. On le fait donc
     remplir la section et déborder sur les côtés, comme le cadre de la
     maquette, plutôt que se couper en bas. */
  position:absolute;left:0;top:0;width:100%;height:calc(100% + 240px);
  object-fit:cover;object-position:center top;
  /* Les tracés du SVG sont aplatis à y=872 par l'export Figma : le bas du
     dessin est une arête franche, il n'y a rien à récupérer au-delà. On la
     fait donc disparaître en fondu, en débordant dans la section suivante. */
  -webkit-mask-image:linear-gradient(to bottom, #000 0 58%, transparent 97%);
  mask-image:linear-gradient(to bottom, #000 0 58%, transparent 97%);
  z-index:-1;pointer-events:none;user-select:none;
}
.av-grid{
  position:relative;z-index:1;
  display:grid;grid-template-columns:1fr 1fr;gap:32px;
  width:min(1086px, calc(100% - 48px));margin:0 auto;
}
.av-carte{display:block;width:100%;height:auto}
.av-carte-wrap{position:relative}
/* Zone cliquable calée sur le bouton dessiné dans le SVG :
   x 328/526,94 = 62,25 %   y 343,96/594 = 57,91 %
   l 148/526,94 = 28,09 %   h 52/594     =  8,75 % */
.av-zone{
  position:absolute;
  /* 6 px de tolérance tout autour du bouton dessiné : on vise une image,
     la cible doit pardonner un clic qui frôle le bord. */
  left:calc(62.25% - 6px);top:calc(57.91% - 6px);
  width:calc(28.09% + 12px);height:calc(8.75% + 12px);
  /* la proportion donne 34 px sur mobile : on impose une cible tactile de
     44 px (+ les 12 px de tolérance) — pas de translateY en %, qui se
     résoudrait sur la hauteur de la zone et non sur celle de la carte. */
  min-height:56px;
  border-radius:26px;
  cursor:pointer;
}
/* Le bouton est dessiné dans le SVG : il ne peut pas réagir tout seul.
   Ce calque se pose exactement dessus (les 6 px de tolérance en moins) et
   rejoue le survol OneFin des autres boutons — la surface s'éclaire de
   l'intérieur, rien ne bouge et la couleur ne change pas. */
.av-zone::after{
  content:"";position:absolute;inset:6px;border-radius:20px;
  box-shadow:0 0 0 0 rgba(255,67,4,0);
  transition:box-shadow .25s var(--ease);
}
.av-zone:hover::after,
.av-zone:focus-visible::after{
  box-shadow:
    inset 0 0 8px rgba(255,255,255,.25),
    inset 0 -3px 1px rgba(0,0,0,.42),
    inset 0 1px 4px rgba(255,255,255,.8);
}
.av-zone:active::after{box-shadow:inset 0 0 10px rgba(0,0,0,.28)}
.av-zone:focus-visible{outline:2px solid var(--orange);outline-offset:3px}

/* ---------- Projets ----------
   Accordeon horizontal repris de la maquette du proprietaire (canvas
   « Design », classes .proj*) : valeurs, durees et courbes conservees.
   Au survol la carte s elargit (flex-grow 1 -> 1.7), sa vignette passe de
   240 a 340, l image zoome et se floute, le voile et ses deux lignes
   montent en cascade, la legende sous l image s efface. */
/* Rail horizontal : les cartes gardent leur vraie largeur et sortent du
   cadre a droite, on fait defiler au lieu de les comprimer. Les marges
   negatives sortent le rail du conteneur centre pour qu il touche les
   bords de la fenetre ; le padding realigne la premiere carte sur le
   texte de la section. */
.projects{
  display:flex;gap:24px;align-items:flex-start;
  overflow-x:auto;overflow-y:hidden;
  margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  padding:0 max(24px,calc(50vw - 608px)) 10px;
  scroll-snap-type:x proximity;
  /* Sans ce retrait, l accrochage ramene la premiere carte contre le bord
     de la fenetre et annule l alignement sur le texte de la section. */
  scroll-padding-left:max(24px,calc(50vw - 608px));
  scrollbar-width:thin;scrollbar-color:var(--line) transparent;
  overscroll-behavior-x:contain;
}
.projects::-webkit-scrollbar{height:8px}
.projects::-webkit-scrollbar-thumb{background:var(--line);border-radius:999px}
.projects::-webkit-scrollbar-track{background:transparent}

.proj{
  --ease-proj:cubic-bezier(.32,.72,0,1);
  position:relative;flex:0 0 360px;height:380px;display:block;scroll-snap-align:start;
  color:inherit;text-decoration:none;
  /* Le survol redistribue la largeur des trois cartes : sans cette barriere,
     chaque image le recalcule pour toute la page a chaque frame. */
  contain:layout paint;
  transition:flex-basis .7s var(--ease-proj);
}
.proj-thumb{
  position:absolute;top:0;left:0;right:0;height:240px;overflow:hidden;
  border-radius:28px;border:2px solid #E4E4E4;background:#0B0B0B;z-index:1;
  transition:height .7s var(--ease-proj),border-color .5s ease;
}
.proj-img{
  display:block;width:100%;height:100%;object-fit:cover;object-position:top center;
  transform:scale(1);filter:blur(0);
  /* Pas de will-change ni de backface-visibility ici : la couche composite
     qu ils forcent sur une image deja filtree (blur(0)) la fait disparaitre
     purement et simplement — constate, puis retire. */
  transition:transform 1s var(--ease-proj),filter .6s ease;
}
.proj-ov{
  position:absolute;inset:0;display:flex;flex-direction:column;
  justify-content:space-between;gap:24px;padding:24px 28px;box-sizing:border-box;
  opacity:0;transition:opacity .4s ease;
  background:linear-gradient(180deg,rgba(10,10,10,.88) 0%,rgba(10,10,10,.62) 48%,rgba(10,10,10,.8) 100%);
}
.proj-txt,.proj-btn{opacity:0;transform:translateY(14px);transition:opacity .3s ease,transform .4s var(--ease-proj)}
.proj-txt{display:flex;flex-direction:column;gap:8px}
.proj-txt h3{
  margin:0;font-family:var(--font-text);font-size:clamp(24px,2.6vw,32px);
  line-height:1.2;font-weight:500;letter-spacing:-.02em;color:#fff;
}
.proj-txt span{
  font-family:var(--font-text);font-size:14px;line-height:21px;
  color:rgba(255,255,255,.85);word-break:break-word;
}
/* Bouton de la maquette, ramene au contrat commun du site : 52 px, rayon 20. */
.proj-btn{
  align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:0 26px;border-radius:var(--r-btn);
  background:#fff;color:#212124;font-family:var(--font-text);font-weight:600;font-size:16px;
  letter-spacing:-.02em;box-shadow:inset 0 -2px 1px rgba(26,20,51,.25);
}
/* Les deux sites de demonstration portent une pastille : ce sont des
   entreprises fictives, elles ne doivent pas passer pour des clients. */
.proj-demo{
  position:absolute;top:14px;left:14px;z-index:3;
  background:rgba(10,10,10,.82);color:#fff;border-radius:var(--r-pill);
  font-family:var(--font-mono);font-size:10.5px;letter-spacing:.14em;
  text-transform:uppercase;padding:5px 11px;
}
.proj-cap{
  position:absolute;top:256px;left:0;right:0;padding:0 24px;
  opacity:1;transition:opacity .35s ease .3s;
}
.proj-cap .proj-url{
  display:block;font-family:var(--font-text);font-size:14px;line-height:21px;
  color:#525252;letter-spacing:-.01em;word-break:break-word;
}
.proj-cap h3{
  margin:4px 0 0;font-family:var(--font-text);font-size:18px;line-height:27px;
  font-weight:600;letter-spacing:-.02em;color:#1B1B1F;
}

/* L accordeon ne vaut que la ou le survol existe : au doigt, il ne se
   declencherait jamais, ou resterait colle apres un tap. */
@media (hover:hover) and (pointer:fine){
  .proj:hover,.proj:focus-visible{flex-basis:560px}
  .proj:hover .proj-thumb,.proj:focus-visible .proj-thumb{height:340px;border-color:#0B0B0B}
  .proj:hover .proj-img,.proj:focus-visible .proj-img{transform:scale(1.06);filter:blur(3px) saturate(1.08)}
  .proj:hover .proj-ov,.proj:focus-visible .proj-ov{opacity:1;transition:opacity .5s ease .12s}
  .proj:hover .proj-txt,.proj:focus-visible .proj-txt{opacity:1;transform:none;transition:opacity .5s ease .25s,transform .7s var(--ease-proj) .22s}
  .proj:hover .proj-btn,.proj:focus-visible .proj-btn{opacity:1;transform:none;transition:opacity .5s ease .35s,transform .7s var(--ease-proj) .32s}
  .proj:hover .proj-cap,.proj:focus-visible .proj-cap{opacity:0;transition:opacity .2s ease}
}
.proj:focus-visible{outline:2px solid var(--orange);outline-offset:4px;border-radius:28px}

/* Sans survol : la vignette et sa legende, empilees, rien de cache. */
@media (hover:none),(pointer:coarse){
  /* Le rail reste horizontal : au doigt, faire glisser est naturel.
     L accordeon, lui, n a pas de sens sans survol. */
  .proj{flex:0 0 min(78vw,330px)}
  .proj-ov{display:none}
}

@media (prefers-reduced-motion:reduce){
  .proj,.proj-thumb,.proj-img,.proj-ov,.proj-cap,.proj-txt,.proj-btn{transition:none !important}
}

/* ---------- CTA final ---------- */
.closing{padding-top:24px}
.closing-card{
  position:relative;background:var(--ink);border-radius:32px;overflow:hidden;
  padding:96px 40px;text-align:center;
}
.closing-card::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(115deg, transparent 38%, rgba(255,255,255,.05) 41%, transparent 45%),
    radial-gradient(60% 80% at 50% 118%, rgba(255,67,4,.28), transparent 68%);
}
.closing-card>*{position:relative}
.label.on-dark{color:rgba(255,255,255,.7)}
.closing-title{font-size:clamp(32px,4.2vw,56px);color:#fff;margin-bottom:20px}
.closing-sub{font-family:var(--font-text);font-size:17.5px;line-height:1.6;color:rgba(255,255,255,.66);max-width:580px;margin:0 auto 34px}
.closing-note{font-size:14px;color:rgba(255,255,255,.45);margin-top:20px;letter-spacing:-.02em}

/* ---------- Footer ---------- */
/* Repris de la maquette : la ligne manuscrite en très clair, l arc de memojis
   posé dessous, le paragraphe centré, puis les colonnes de liens. */
/* Le bandeau de memojis est remonte au-dessus de la banniere : le pied de
   page commence donc directement par le filet des colonnes. Ses 40 px du
   haut et les 64 px de marge de .footer-inner, qui aeraient le paragraphe
   disparu, laissaient un vide de 264 px sous la banniere. */
.site-footer{background:var(--white);border-top:0;padding:32px 0 32px}
.footer-top{text-align:center;padding:0 24px}
.footer-script{
  font-family:var(--font-script);color:#E6E6E6;line-height:1.2;
  font-size:clamp(26px,5.8vw,92px);letter-spacing:-.01em;white-space:nowrap;
  /* Pacifico a une boite de fonte de 1.76em : les jambages descendent .28em
     plus bas que la line-box. Sans cette reserve, l arc de memojis - un PNG
     opaque - se posait dessus et coupait le bas du texte. */
  padding-bottom:.34em;
}
.footer-arc{
  display:block;width:100%;max-width:1120px;height:auto;margin:0 auto;
  pointer-events:none;user-select:none;
}
.footer-lead{
  max-width:700px;margin:8px auto 0;font-family:var(--font-text);
  font-size:17px;line-height:1.6;color:var(--body);
}

.footer-inner{
  display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px;
  margin-top:0;padding-top:56px;border-top:1px solid var(--line);
}
.footer-brand img{display:block}
/* Maquette : pastille neutre 36px, glyphe de marque 16px dedans. */
.socials{display:flex;gap:6px;margin-top:22px}
.soc{
  width:36px;height:36px;border-radius:8px;display:grid;place-items:center;
  background:#F0F0F0;
  transition:background-color .16s var(--ease);
}
.soc:hover{background:#E4E4E4}
.soc svg{display:block}

/* Sélecteur de langue */
.lang-wrap{position:relative;margin-top:18px}
.lang{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--surface);border:1px solid var(--line);border-radius:12px;
  padding:10px 14px;font-family:inherit;font-size:14px;color:var(--ink);font-weight:500;
  cursor:pointer;transition:background-color .16s var(--ease),border-color .16s var(--ease);
}
.lang:hover{background:#F0F0F0}
.lang-flag{font-size:15px;line-height:1}
.lang-chev{color:var(--muted);margin-left:2px;transition:transform .18s var(--ease)}
.lang[aria-expanded="true"] .lang-chev{transform:rotate(180deg)}
.lang-menu{
  position:absolute;top:calc(100% + 8px);left:0;z-index:20;min-width:190px;
  background:var(--white);border:1px solid var(--line);border-radius:14px;
  box-shadow:0 14px 34px rgba(0,0,0,.12);padding:6px;margin:0;list-style:none;
}
.lang-menu[hidden]{display:none}
.lang-menu li{
  display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:9px;
  font-size:14px;font-weight:500;color:var(--ink);cursor:pointer;
  transition:background-color .14s var(--ease);
}
.lang-menu li:hover{background:var(--surface)}
.lang-menu li svg{margin-left:auto;color:var(--orange)}
.lang-menu li[aria-disabled="true"]{color:var(--muted);cursor:not-allowed}
.lang-menu li[aria-disabled="true"]:hover{background:transparent}
.lang-menu em{
  font-style:normal;font-size:11px;font-weight:600;letter-spacing:.02em;
  margin-left:auto;padding:3px 7px;border-radius:999px;
  background:var(--surface-2);color:var(--muted);
}

.footer-col h4{
  font-size:16px;font-family:var(--font-sans);font-weight:600;color:var(--ink);
  letter-spacing:-.02em;text-transform:none;margin-bottom:20px;
}
.footer-col{display:flex;flex-direction:column}
.footer-col a,.footer-col span{
  display:block;font-size:15px;color:var(--muted);padding:7px 0;letter-spacing:-.02em;
  transition:color .16s var(--ease);
}
.footer-col a:hover{color:var(--ink)}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;
  margin-top:56px;padding-top:26px;border-top:1px solid var(--line);
  font-size:14px;color:var(--muted);
}

/* ---------- Apparition au scroll ---------- */
/* Rien n'est masque tant que html.anim n'est pas pose par le script inline
   du <head> : si les librairies d'animation ne se chargent pas, la page
   reste lisible. C'est GSAP qui prend ensuite la main (styles inline). */
.anim .reveal{opacity:0}
.anim .hero-script,
.anim .hero-title,
.anim .hero-sub,
.anim .hero-cta{opacity:0}
.anim-on .reveal{opacity:1}

/* Lignes de titre masquees, pour la montee ligne par ligne. */
.ln{display:block;overflow:hidden;padding-bottom:.06em;margin-bottom:-.06em}
.ln-i{display:block;will-change:transform}

/* Calques de particules : purement decoratifs, jamais cliquables. */
.fx-canvas{
  position:absolute;inset:0;width:100%;height:100%;
  pointer-events:none;user-select:none;display:block;
}
.hero .fx-hero{z-index:1}
.closing-card .fx-closing{position:absolute;inset:0;z-index:0}

/* En-tete : fond au scroll, escamote en descendant. */
.site-header{will-change:transform;transition:border-color .2s var(--ease),
  background-color .2s var(--ease), transform .35s var(--ease)}
.site-header.is-stuck{
  background:rgba(255,255,255,.82);backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);border-bottom-color:var(--line-2);
}
.site-header.is-hidden{transform:translateY(-100%)}

/* ---------- Responsive ---------- */
@media (max-width:1180px){
  .split-head{gap:48px;margin-bottom:64px}
  .split-intro{padding-top:8px}
}
@media (max-width:1000px){
  .section{padding:80px 0}
  .hero{margin-top:0;display:flex;flex-direction:column}
  .hero-inner{position:static;padding-top:56px;order:1}
  .hero-bg{order:2;margin-top:44px}
  .hero-sub{margin-bottom:36px}
  .split-head{grid-template-columns:1fr;gap:20px}
  .faq-grid{grid-template-columns:1fr;gap:36px}
  .faq-desc{max-width:none}
  .cards{grid-template-columns:1fr}
  .cards-3{grid-template-columns:1fr}
  .av-grid{grid-template-columns:1fr;gap:24px}
  .section.avec-vous{padding:48px 0 72px}
  /* Sur mobile la ligne manuscrite doit pouvoir passer à la ligne. */
  .systeme-script{white-space:normal;padding-bottom:.4em}
  .card{min-height:0;padding-top:0}
  .card-illu{position:static;margin:0 -32px 24px;width:calc(100% + 64px);max-width:none}
  .pricing{grid-template-columns:1fr}
  /* Une seule colonne : plus rien a longer, le collant est annule. */
  /* Une seule colonne : plus rien a longer, le collant est annule. Mais la
     position devient relative, sinon le collage se recadre sur la section
     entiere (#offre est positionne) et ne sort qu en bas de la carte, la ou
     personne ne le regarde. */
  .plan-stage{
    position:relative;top:auto;bottom:auto;display:block;
    padding:176px 16px 16px;overflow:hidden;border-radius:var(--r-card);
  }
  /* Le collage est ancre en haut et deborde en largeur : une bande pleine
     passe au-dessus de la carte, le reste file derriere elle. */
  /* !important assume : GSAP ecrit le transform en style inline, et seul
     !important passe devant. Sans lui, un passage du grand format au
     telephone (rotation, fenetre retrecie) laissait le centrage en pixels
     calcule pour deux colonnes et l illustration partait de travers. */
  .plan-collage{top:0;left:50%;transform:translateX(-50%) !important;width:150%;height:auto}
  .pick-next{display:inline-flex;width:100%;margin-top:28px;justify-content:space-between}
  /* Empile, le recapitulatif reste ferme : le client choisit d abord, il ne
     defile pas a travers une carte noire d un metre de haut pour y arriver.
     C est « Continuer » qui l ouvre. :target plutot qu une classe posee en
     JavaScript : le lien d ancre fait tout, donc l ecran marche aussi quand
     les scripts ne se chargent pas. */
  .plan-sel{display:none}
  /* Deux chemins d ouverture : :target pour le cas sans JavaScript, la
     classe pour les hotes ou l adresse de la page n accepte pas de
     fragment (l iframe d un Artifact, par exemple). */
  .plan-sel:target,
  .pricing.recap-ouvert .plan-sel{display:flex}
  /* L en-tete colle recouvre la cible d une ancre : on lui reserve sa hauteur. */
  .plan-sel{scroll-margin-top:90px}
  .footer-inner{grid-template-columns:1fr 1fr;gap:36px}
  .footer-brand{grid-column:1/-1}
}
@media (max-width:760px){
  /* Respiration entre sections, reglee pour le telephone. Les 80 px herites
     du palier 1000 px font 160 px entre deux sections : trop sur un ecran
     de 393 px de large. On retire un quart partout, en gardant les rapports
     d origine (services et offre a la moitie, avec-vous asymetrique). */
  .section{padding:60px 0}
  #services{padding-top:30px}
  #offre{padding-top:48px}
  .section.avec-vous{padding:36px 0 56px}
  .nav{
    position:absolute;top:86px;left:16px;right:16px;flex-direction:column;align-items:stretch;
    background:var(--white);border:1px solid var(--line);border-radius:16px;
    box-shadow:0 12px 32px rgba(0,0,0,.1);padding:10px;gap:4px;display:none;
  }
  .nav.is-open{display:flex}
  .nav>a{padding:13px 16px;border-radius:12px;font-size:16px;letter-spacing:-.02em}
  .nav .nav-btn{margin-left:0;justify-content:space-between}
  .nav-toggle{display:flex}
  .header-inner{height:74px}
  .nav{top:74px}
  /* ---- Hero telephone : cadre Figma 1984-11077 (393 x 852) ----
     Le fond redevient un calque sous le texte, comme en grand format : la
     maquette pose le titre PAR-DESSUS la volute, pas au-dessus d elle. Les
     valeurs viennent du cadre, relevees au pixel puis converties en vw
     (x / 393 * 100), ce qui les garde justes a toute largeur de telephone
     puisque le fond se redimensionne dans le meme rapport. */
  .hero{display:block;margin-top:0}
  .hero-bg{order:0;margin-top:0}
  .hero-art{aspect-ratio:393/852;object-fit:cover;object-position:top center}
  .hero-inner{
    position:absolute;top:0;left:0;right:0;order:0;
    padding:33.33vw 8.14vw 0;   /* texte a y=131, marges laterales de 32 */
  }
  /* Corps relevés sur le cadre, pas estimés : la ligne manuscrite y tient
     sur 317 px, le titre sur 307, et la ligne la plus longue du paragraphe
     sur 313. Ces trois largeurs fixent les trois corps. */
  .hero-script{font-size:5.90vw;line-height:1.1;margin-bottom:5.61vw}
  .hero-title{font-size:8.14vw;line-height:1.1;letter-spacing:-.07em;margin-bottom:3.85vw}
  .hero-sub{font-size:4.07vw;line-height:1.5;margin-bottom:8.17vw;max-width:none}
  .hero-cta{flex-direction:column;align-items:stretch;gap:12px}
  /* Dans le cadre, le libelle et sa pastille forment un bloc centre, ils ne
     sont pas pousses aux deux bords comme ailleurs sur le site. */
  .hero-cta .btn{justify-content:center}
  .hero-cta .btn-chev{margin:0 0 0 13px}
  .btn-ghost{justify-content:center}
  .card{padding:24px}
  .card-illu{margin:0 -24px 20px;width:calc(100% + 48px)}
  .plan{padding:28px 22px}
  .price-row{flex-direction:column;align-items:flex-start;gap:8px}
  .price{text-align:left}
  .plan-stage{padding:132px 12px 12px}
  .plan-white{padding:24px 20px}
  /* Lignes de pack et d'option : 255 px utiles au telephone, le prix
     ne tient plus a cote du libelle, il passe dessous. */
  .pack,.opt{flex-wrap:wrap;gap:12px 14px}
  .pack-txt,.opt-txt{flex:1 1 120px}
  .pack-price,.opt-price{flex:1 0 100%;text-align:left;padding-left:36px}
  .sel-head h3{font-size:26px}
  .sel-price{font-size:36px}
  .total-box{padding:18px}
  .total-now,.total-later{padding:14px 14px}
  .total-now>span:last-child,.total-later>span:last-child{font-size:21px}
  .faq-item summary{font-size:16px;padding:18px 14px;gap:14px}
  .faq-body p{padding:2px 40px 20px 14px;font-size:15px}
  .closing-card{padding:56px 22px;border-radius:24px}
  .closing .btn{width:100%;justify-content:space-between}
  .footer-inner{grid-template-columns:1fr;gap:30px;margin-top:40px;padding-top:36px}
  /* line-height plus aere une fois le texte sur deux lignes, et la reserve
     pour les jambages recalculee en consequence ((1.76em - line-height)/2). */
  .footer-script{white-space:normal;line-height:1.25;padding-bottom:.36em}
  .footer-lead{font-size:15.5px}
  .footer-bottom{margin-top:36px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}
  .reveal{opacity:1;transform:none}
  .fx-canvas{display:none}
  .site-header.is-hidden{transform:none}
}

/* ---------- Page de commande ----------
   Elle reprend les memes jetons que le reste du site : la carte noire est la
   meme que celle de l'offre (.sel-head, .sel-list, .total-*, .plan-name sont
   partages), le bouton est le bouton primaire avec son survol OneFin. Rien
   n'est redefini ici de ce qui existe deja. */
.page-commande{background:var(--white)}
.cmd-header{border-bottom:1px solid var(--line);background:var(--white)}
.cmd-header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px}
.cmd-logo{display:flex;align-items:center}
.cmd-logo img{display:block;height:28px;width:auto}
/* Le retour est un bouton secondaire, identique a « Reserver un appel » :
   il herite de .btn + .btn-ghost (52 px, rayon 20, survol OneFin) et ne
   redefinit rien de ce contrat. Seul le soulignement du lien est retire. */
.cmd-retour{text-decoration:none}
.cmd-main{padding:56px 0 96px}
.cmd-kicker{
  font-family:var(--font-mono);font-size:11px;font-weight:500;letter-spacing:.08em;
  text-transform:uppercase;color:var(--brand-text);
}
.cmd-titre{font-size:clamp(30px,4vw,44px);letter-spacing:-.07em;margin-top:10px}
.cmd-intro{
  margin-top:14px;max-width:62ch;font-family:var(--font-text);
  font-size:16.5px;line-height:1.6;color:var(--body);
}
.cmd-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:32px;align-items:start;margin-top:44px}
/* Le recapitulatif suit la lecture du formulaire, qui est plus long. */
.cmd-recap{
  position:sticky;top:24px;align-self:start;
  background:var(--ink);border-radius:var(--r-card);padding:34px;
  display:flex;flex-direction:column;
}
.cmd-recap .sel-head{margin-top:6px}
/* Le titre du pack est un h2 ici (c'est le titre du recapitulatif), pas un h3
   comme dans l'offre : il lui faut la meme regle, sinon il reste noir sur noir. */
.cmd-recap .sel-head h2{font-size:30px;color:#fff;letter-spacing:-.06em}
.cmd-form-carte{
  background:var(--white);border:1px solid var(--line);border-radius:var(--r-card);padding:34px;
  box-shadow:0 2px 6px rgba(20,20,31,.05), 0 20px 50px rgba(20,20,31,.07);
}
.cmd-sstitre{font-size:19px;letter-spacing:-.05em;margin-bottom:4px}
.cmd-sstitre + .champ-grille{margin-bottom:28px}
.champ-grille{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px}
.champ{display:flex;flex-direction:column;gap:7px;min-width:0}
.champ-large{grid-column:1/-1}
.champ-lbl{font-size:13.5px;font-weight:600;color:var(--ink);letter-spacing:-.02em}
.champ-lbl small{font-weight:400;color:var(--muted);letter-spacing:0}
.champ input,.champ select,.champ textarea{
  width:100%;min-height:50px;padding:13px 15px;border:2px solid var(--line-2);border-radius:16px;
  background:var(--white);font-family:inherit;font-size:15px;color:var(--ink);
  letter-spacing:-.01em;transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.champ textarea{min-height:0;resize:vertical;line-height:1.5}
.champ select{appearance:none;cursor:pointer;padding-right:40px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23616161' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 15px center;background-size:12px;
}
.champ input::placeholder,.champ textarea::placeholder{color:#9E9E9E}
.champ input:focus,.champ select:focus,.champ textarea:focus{
  outline:none;border-color:var(--orange);box-shadow:0 0 0 4px rgba(255,67,4,.12);
}
.champ-err{display:none;font-style:normal;font-size:12.5px;font-weight:600;color:var(--brand-text)}
.champ.est-faux input,.champ.est-faux select,.champ.est-faux textarea{border-color:var(--brand-text)}
.champ.est-faux .champ-err{display:block}

.cmd-rappel{margin-top:10px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:22px}
.cmd-rappel-t{
  font-family:var(--font-mono);font-size:11px;font-weight:500;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted);margin-bottom:12px;
}
.cmd-rappel ul{display:flex;flex-direction:column;gap:9px}
.cmd-rappel li{font-size:14.5px;line-height:1.55;color:var(--body);padding-left:16px;position:relative}
.cmd-rappel li::before{content:"";position:absolute;left:0;top:9px;width:5px;height:5px;border-radius:50%;background:var(--orange)}
.cmd-rappel b{color:var(--ink);font-weight:600}

.cmd-accord{margin-top:18px;align-items:flex-start}
.cmd-accord input{margin-top:2px}
.cmd-accord.est-faux{border-color:var(--brand-text)}
#err-accord{margin-top:8px}
#err-accord:not(:empty){display:block}
.cmd-payer{width:100%;margin-top:22px}
.cmd-payer[disabled]{opacity:.6;pointer-events:none}
.cmd-secu{
  margin-top:14px;font-family:var(--font-text);font-size:13px;line-height:1.55;
  color:var(--muted);text-align:center;
}
.cmd-etat{margin-top:16px;font-size:14.5px;line-height:1.55;border-radius:16px}
.cmd-etat:not(:empty){padding:14px 16px}
.cmd-etat.est-faux{background:#FFF4F0;color:var(--brand-text);font-weight:600}
.cmd-etat.est-attente{background:var(--surface);border:1px solid var(--line);color:var(--body)}
.cmd-etat b{color:var(--ink);font-weight:600}

.cmd-footer{border-top:1px solid var(--line);padding:28px 0 40px}
.cmd-footer p{font-size:14.5px;color:var(--muted)}
.cmd-footer a{color:var(--brand-text);font-weight:600}

@media (max-width:980px){
  .cmd-grid{grid-template-columns:1fr;gap:24px}
  /* Sur une colonne le formulaire passe devant : le client vient de voir le
     recapitulatif sur la page precedente, le lui remettre en premier le
     ferait defiler a travers un bloc qu il connait deja. Les montants ne
     disparaissent pas pour autant — « Ce que vous confirmez », la ligne de
     confirmation et le bouton les portent, dans le formulaire. */
  .cmd-recap{position:static;order:2}
  .cmd-form-carte{order:1}
}
@media (max-width:620px){
  .cmd-main{padding:36px 0 64px}
  .cmd-recap,.cmd-form-carte{padding:24px 20px}
  .champ-grille{grid-template-columns:1fr}
}
.cmd-noscript{
  margin-bottom:28px;background:#FFF4F0;border:1px solid #FFD5C6;border-radius:20px;
  padding:18px 20px;font-size:15px;line-height:1.6;color:var(--body);
}
.cmd-noscript b{display:block;color:var(--ink);font-weight:600}
.cmd-noscript a{color:var(--brand-text);font-weight:600}
