/* Site v2 : accueil (index.php). Repris du prototype V45 ; jetons, barre, sections et pied dans css/v2.css.
   Nuit : [data-theme="nuit"] sur <html>. Les scènes en plâtre sont dessinées par js/v2-platre.js. */

/* ─── Hero : arche pêche, nuages, carte vidéo et maquettes ─── */
.corps { padding-top: clamp(120px, 11vw, 156px); }
.txt { position: relative; z-index: 4; display: grid; gap: 20px; justify-items: center; text-align: center; max-width: 820px; margin: 0 auto; }
.txt h1 { font-family: var(--titre); font-size: clamp(32px, 4.4vw, 60px); line-height: 1.04; letter-spacing: var(--titre-ls); font-weight: var(--titre-poids); color: var(--t-titre); text-wrap: balance; }
.txt h1 b { font-weight: inherit; background: linear-gradient(transparent 62%, var(--t-sur) 62% 90%, transparent 90%) no-repeat 0 0 / 0% 100%; animation: surligne .9s .4s cubic-bezier(.2, .7, .2, 1) forwards; }
.txt .sub { font-size: clamp(16px, 1.3vw, 18px); color: var(--t-sub); max-width: 52ch; text-wrap: pretty; }
.plus { font-size: 14.5px; color: var(--t-sub); text-wrap: balance; }
.plus a { color: var(--t-lien); font-weight: 600; text-underline-offset: 3px; }
.plus a:focus-visible, .lecture:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }

@property --p { syntax: "<number>"; inherits: true; initial-value: 1; }
.scene { position: relative; z-index: 2; margin: 60px auto -3.5%; padding-bottom: 8.5%; max-width: 1440px; perspective: 1400px; --p: 1; }
.scene.arrivee { transition: --p 1.4s cubic-bezier(.2, .7, .2, 1); }
.scene::before { content: ""; position: absolute; z-index: 0; left: 9%; right: 9%; top: -120px; bottom: 22%; border-radius: 999px 999px 0 0; background: var(--arche); }
.decor { overflow: visible; position: absolute; left: 0; bottom: 0; width: 100%; height: auto; z-index: 0; pointer-events: none; display: block; transform: translateY(calc((1 - var(--p)) * 45%)); opacity: calc(.15 + .85 * var(--p)); }
.decor--devant { z-index: 3; }
.ecran { position: relative; z-index: 2; max-width: 64%; margin: 0 auto; border-radius: 16px; background: #fff; box-shadow: var(--ecran-omb); transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--p)) * 26deg)) scale(calc(.9 + .1 * var(--p))); }
.ecran video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; background: #f4f6f9; }
.lecture { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: #13284b; opacity: 0; transition: opacity .2s; }
.ecran:hover .lecture, .lecture:focus-visible, .lecture[data-pause] { opacity: 1; }
.lecture svg { width: 14px; height: 14px; fill: currentColor; }

/* Cartes posées autour de l'écran : de vraies pièces, ombre douce */
.carte { position: absolute; z-index: 4; width: clamp(186px, 15vw, 224px); background: #fff; border-radius: 16px; padding: 14px; color: #13284b; font-size: 12px; line-height: 1.35; box-shadow: 0 0 0 1px rgba(19, 40, 75, .06), 0 2px 4px rgba(19, 40, 75, .04), 0 24px 44px -18px rgba(19, 40, 75, .32); }
[data-theme="nuit"] .carte { box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 28px 50px -16px rgba(0, 0, 0, .55); }
.c-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.c-tete b { display: block; font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.c-tete small { display: block; font-size: 11px; color: #6484a3; }
.marque { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; }
.marque--asc { background: #eef2f7; color: #13284b; }
.marque--bq { background: #e6f1eb; color: #437a56; }
.marque--mr { background: #fff1e3; color: #b85400; border-radius: 50%; }
.ligne { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: 11.5px; color: #3f5870; font-variant-numeric: tabular-nums; }
.ligne + .ligne { border-top: 1px dashed #e3e8ef; }
.ligne b { color: #13284b; font-weight: 600; }
.ligne .pos { color: #437a56; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 9px; border-top: 1px solid #13284b; font-weight: 700; }
.total span { font-size: 11px; color: #6484a3; font-weight: 600; }
.total b { font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.barre-txt { height: 6px; border-radius: 3px; background: #edf1f5; margin: 6px 0; }
.barre-txt--a { width: 94%; } .barre-txt--b { width: 82%; } .barre-txt--c { width: 58%; }
.etiq { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 10.5px; font-weight: 600; color: #6484a3; }
.etiq i { width: 6px; height: 6px; border-radius: 50%; background: var(--or); }

.pile { position: absolute; z-index: 4; left: 0; top: 16%; width: clamp(186px, 15vw, 224px); height: 220px; }
.pile .carte { left: 0; top: 0; animation: entre 9s cubic-bezier(.5, 0, .3, 1) infinite; animation-delay: var(--d); }
.pile .carte:nth-child(1) { --d: 0s; } .pile .carte:nth-child(2) { --d: -3s; } .pile .carte:nth-child(3) { --d: -6s; }
@keyframes entre {
    0% { transform: translate(0, 30px) rotate(-5deg); opacity: 0; }
    8%, 30% { transform: translate(0, 0) rotate(-3deg); opacity: 1; }
    42% { transform: translate(clamp(140px, 15vw, 230px), 20px) rotate(3deg) scale(.55); opacity: 0; }
    100% { transform: translate(0, 30px) rotate(-5deg); opacity: 0; }
}
.journee { right: 1%; top: 6%; transform: rotate(2deg); }
.journee .c-tete { margin-bottom: 8px; }
.prog { display: flex; align-items: center; gap: 8px; margin: -2px 0 8px; font-size: 11px; font-weight: 700; color: #437a56; }
.prog i { flex: 1; height: 5px; border-radius: 3px; background: #edf1f5; overflow: hidden; position: relative; }
.prog i::after { content: ""; position: absolute; inset: 0; background: #437a56; transform-origin: 0 50%; animation: avance 9s infinite; }
@keyframes avance { 0%, 5% { transform: scaleX(0); } 12% { transform: scaleX(.25); } 22% { transform: scaleX(.5); } 32% { transform: scaleX(.75); } 42%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.tache { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-weight: 600; font-size: 12px; }
.tache small { display: block; font-weight: 500; font-size: 10.5px; color: #6484a3; }
.coche { width: 18px; height: 18px; border-radius: 50%; flex: none; border: 1.5px solid #c3cddb; display: grid; place-items: center; animation: coche 9s infinite; animation-delay: var(--d); }
.coche svg { width: 10px; height: 10px; fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: trait 9s infinite; animation-delay: var(--d); }
.tache:nth-of-type(1) .coche { --d: .5s; } .tache:nth-of-type(2) .coche { --d: 1.4s; } .tache:nth-of-type(3) .coche { --d: 2.3s; } .tache:nth-of-type(4) .coche { --d: 3.2s; }
@keyframes coche { 0% { background: #fff; border-color: #c3cddb; } 6%, 90% { background: #437a56; border-color: #437a56; } 100% { background: #fff; border-color: #c3cddb; } }
@keyframes trait { 0% { opacity: 0; } 6%, 90% { opacity: 1; } 100% { opacity: 0; } }
.tampon { position: absolute; right: -16px; bottom: -18px; display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; background: #437a56; color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 0 0 4px #fff, 0 14px 26px -10px rgba(67, 122, 86, .75); opacity: 0; transform-origin: 85% 50%; animation: jaillit 9s infinite; }
.tampon i { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.tampon svg { width: 12px; height: 12px; fill: none; stroke: #437a56; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes jaillit { 0%, 55% { opacity: 0; transform: translateY(8px) scale(.6); } 59% { opacity: 1; transform: translateY(0) scale(1.08); } 62%, 90% { opacity: 1; transform: scale(1); } 95%, 100% { opacity: 0; transform: scale(.9); } }
.compteur { right: 5%; top: 60%; width: auto; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; transform: rotate(-2deg); }
.compteur .zero { font-size: 30px; font-weight: 800; line-height: 1; color: #437a56; letter-spacing: -.03em; width: 44px; height: 44px; border-radius: 12px; background: #e6f1eb; display: grid; place-items: center; }
.compteur b { display: block; font-size: 13px; } .compteur small { display: block; font-size: 11px; color: #6484a3; }
@media (max-width: 1100px) { .pile, .carte.journee, .carte.compteur { display: none; } }
@media (max-width: 860px) { .ecran { max-width: 92%; } .scene { padding-bottom: 14.5%; margin-bottom: -3.75%; } .scene::before { left: 0; right: 0; } }
/* Téléphone : l'écran prend toute la largeur et la ville est dessinée deux fois plus grande (débord coupé par le hero) */
@media (max-width: 640px) {
    .scene { margin: 44px calc(-1 * var(--gout)) -12%; padding-bottom: 30%; }
    .ecran { max-width: none; width: calc(100% - 16px); border-radius: 12px; }
    .ecran video { border-radius: 12px; }
    .decor { width: 210%; left: -55%; }
    .hero + .suite { padding-top: 56px; }
}

/* Ciel et décor animés */
.ride { animation: ride 3.2s ease-in-out infinite; animation-delay: var(--del, 0s); }
@keyframes ride { 50% { opacity: .15; transform: translateX(6px); } }
.jet { stroke-dasharray: 3 5; animation: jet .9s linear infinite; }
@keyframes jet { to { stroke-dashoffset: -16; } }
@media (prefers-reduced-motion: reduce) {
    .txt h1 b { animation: none; background-size: 100% 100%; }
    .nu, .hero .etoile, .ride, .jet, .pile .carte, .coche, .coche svg, .tampon, .prog i::after { animation: none !important; }
    .pile .carte:not(:first-child) { display: none; }
    .coche { background: #437a56; border-color: #437a56; } .coche svg { opacity: 1; } .tampon { opacity: 1; }
}

/* La première section reste transparente : le socle du hero déborde sur elle */
.hero + .suite { padding-top: clamp(120px, 11vw, 170px); }

/* ─── Bento du métier : six cartes, écrans fidèles au logiciel (clairs dans les deux thèmes) et scènes en plâtre ─── */
.sm .suite-in { gap: 44px; }
.sm-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sm-carte { position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border-radius: 24px; background: var(--c-bg); color: var(--c-txt); box-shadow: inset 0 0 0 1px var(--c-trait), var(--c-omb); transition: background .5s, transform .3s cubic-bezier(.2, .7, .2, 1); }
.sm-carte--l { grid-column: span 2; }
.sm-txt { display: grid; gap: 6px; padding: 26px 28px 0; position: relative; z-index: 2; }
.sm-txt h3 { margin: 0; font-family: var(--titre); font-size: 19px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.sm .sm-txt p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--c-doux); max-width: 46ch; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .sm-carte:hover { transform: translateY(-3px); } }


/* Téléphone : photo réelle (820 x 1944), écran de l'extranet posé dans la zone blanche (71 / 62, 674 x 1460, rayon 76) */
.sm-tel { position: relative; height: 330px; margin-top: 10px; overflow: hidden; }
.sm-tel::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(transparent, var(--c-bg)); z-index: 3; pointer-events: none; }
.sm-ph-wrap { position: absolute; left: 50%; top: 10px; width: 820px; height: 1944px; transform-origin: 0 0; transform: scale(.3) translateX(-50%); filter: drop-shadow(0 50px 50px rgba(19, 40, 75, .22)); }
.sm-photo { position: absolute; inset: 0; width: 820px; max-width: none !important; height: 1944px; clip-path: inset(32px 47px 389px 41px round 112px); }
.sm-scr { position: absolute; left: 71px; top: 62px; width: 674px; height: 1460px; border-radius: 76px; overflow: hidden; background: #fff; }
.sm-scr::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 22px; width: 166px; height: 48px; margin-left: -83px; border-radius: 24px; background: #0b0f17; }
.sm-app { width: 337px; height: 730px; transform: scale(2); transform-origin: 0 0; padding: 58px 18px 0; display: grid; gap: 12px; align-content: start; font-family: var(--jakarta); color: #13284b; background: linear-gradient(180deg, #f4f6f9, #fff 40%); }
.sm-app-haut { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.sm-app-haut img { width: 24px; height: 24px; } .sm-app-haut i { font-style: normal; color: #fc8822; }
.sm-app-haut em { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: #e8eef5; display: grid; place-items: center; font-size: 11px; font-style: normal; }
.site-v2 .sm-app-res { font-size: 12px; color: #5f6770; margin-top: 6px; }
.site-v2 .sm-app-bj { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #13284b; }
.sm-app-solde { border-radius: 18px; background: #13284b; color: #fff; padding: 16px 18px; display: grid; gap: 2px; }
.sm-app-solde small { font-size: 12px; color: #ffb533; font-weight: 600; }
.sm-app-solde b { font-size: 34px; letter-spacing: -.02em; }
.sm-app-solde span { font-size: 12px; color: #c9d6e3; }
.sm-app-l { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #e3e7ec; }
.sm-app-l svg { width: 20px; height: 20px; flex: none; stroke-width: 1.6; color: #6484a3; }
.sm-app-l small { display: block; font-size: 11.5px; font-weight: 500; color: #5f6770; }
.sm-notif { position: absolute; z-index: 4; right: 14px; top: 196px; width: 200px; display: flex; gap: 9px; align-items: flex-start; background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 16px; padding: 10px 12px; box-shadow: 0 0 0 1px rgba(19, 40, 75, .06), 0 18px 34px -18px rgba(19, 40, 75, .5); font-size: 11px; color: #3f5870; line-height: 1.35; }
.sm-notif img { width: 20px; height: 20px; flex: none; }
.sm-notif b { display: flex; justify-content: space-between; gap: 6px; color: #13284b; }
.sm-notif b small { font-weight: 500; color: #9aa7ba; }

/* Envois : boîtes aux lettres, fourgonnette, l'avion de l'e-mail et l'enveloppe scellée du recommandé */
.sm-envoi { position: relative; margin: 8px 14px 16px; }
.sm-avion { display: block; width: 100%; height: auto; overflow: visible; }
.sm-traj { fill: none; stroke: #fc8822; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 8; animation: sm-file 1.4s linear infinite; }
@keyframes sm-file { to { stroke-dashoffset: -18; } }
.sm-flotte { animation: sm-flotte 4.5s ease-in-out infinite alternate; }
.sm-flotte--b { animation-duration: 5.5s; animation-delay: -2s; }
@keyframes sm-flotte { to { transform: translateY(-7px); } }

/* Portefeuille : quatre copropriétés en maquettes, une étiquette chacune.
   ponytail: étiquettes placées en % sur le dessin (viewBox 880 x 300) ; à recaler si les maquettes bougent */
.sm-porte { position: relative; height: 320px; margin-top: 10px; }
.sm-ville { position: absolute; inset: 0; width: 100%; height: 100%; }
.sm-etiq { position: absolute; translate: -50% -112%; display: grid; padding: 6px 11px; border-radius: 10px; background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-trait), 0 10px 22px -14px rgba(19, 40, 75, .45); font-size: 12.5px; font-weight: 700; white-space: nowrap; line-height: 1.3; }
.sm-etiq small { font-size: 11px; font-weight: 500; color: var(--c-doux); }
.sm-etiq--1 { left: 13%; top: 52%; } .sm-etiq--2 { left: 39.5%; top: 22%; } .sm-etiq--3 { left: 63%; top: 43%; } .sm-etiq--4 { left: 84.5%; top: 61%; }
.sm-equipe { position: absolute; right: 28px; top: 0; display: flex; align-items: center; padding: 6px 12px 6px 14px; border-radius: 999px; background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-trait), 0 10px 22px -14px rgba(19, 40, 75, .45); font-size: 12.5px; font-weight: 700; }
.sm-equipe span { margin-right: 10px; }
.sm-equipe em { width: 24px; height: 24px; margin-left: -5px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 9.5px; font-weight: 700; color: #fff; box-shadow: 0 0 0 2px var(--c-bg); }
.sm-equipe .av-1 { background: #3b6ff5; } .sm-equipe .av-2 { background: #5d8773; } .sm-equipe .av-3 { background: #b85400; }
.sm-equipe small { margin-left: 10px; font-size: 11.5px; font-weight: 500; color: var(--c-doux); }

/* Suivi des demandes : fil vertical, étape en cours qui respire */
.sm-tk { padding: 22px 24px 26px; }
.sm-tk-c { border-radius: 16px; background: var(--c-vis); box-shadow: inset 0 0 0 1px var(--c-trait); padding: 16px; }
.sm-tk-hd { display: flex; gap: 10px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid var(--c-trait); }
.sm-tk-hd svg { width: 18px; height: 18px; flex: none; stroke-width: 1.5; color: var(--c-doux); margin-top: 1px; }
.sm-tk-hd b { display: block; font-size: 13.5px; line-height: 1.3; }
.sm-tk-hd small { display: block; font-size: 11.5px; color: var(--c-doux); margin-top: 2px; }
.sm-fil { list-style: none; margin: 12px 0 0; padding: 0; position: relative; display: grid; }
.sm-fil::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 1px; background: var(--c-trait); }
.sm-fil li { position: relative; display: grid; grid-template-columns: 19px 1fr; gap: 11px; padding: 7px 0; font-size: 12.5px; }
.sm-fil i { box-sizing: border-box; width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid rgba(100, 132, 163, .45); background: var(--c-bg); display: grid; place-items: center; }
.sm-fil li.ok i { background: #437a56; border-color: #437a56; color: #fff; }
.sm-fil li.ok svg { width: 11px; height: 11px; stroke-width: 3; }
.sm-fil li.en i { border-color: #fc8822; }
.sm-fil li.en i::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fc8822; animation: sm-pouls 2s ease-in-out infinite; }
@keyframes sm-pouls { 50% { transform: scale(.55); opacity: .5; } }
.sm-fil b { display: block; font-weight: 600; line-height: 1.3; }
.sm-fil small { display: block; font-size: 11.5px; color: var(--c-doux); }
.sm-fil li:not(.ok):not(.en) { opacity: .6; }

@media (max-width: 980px) { .sm-bento { grid-template-columns: 1fr 1fr; } .sm-carte--l { grid-column: 1 / -1; } }
@media (max-width: 680px) {
    .sm .suite-in { gap: 28px; }
    .sm-txt { padding: 20px 20px 0; }
    .sm-txt h3 { font-size: 17px; }
    .sm .sm-txt p { font-size: 13.5px; }
    .sm-carte { animation: none !important; }
    /* Le rail coupe ce qui dépasse : de la marge sous les cartes pour que leur ombre tienne */
    .suite .sm-bento.rail-mobile { align-items: stretch; padding-top: 8px; padding-bottom: 48px; margin-top: -8px; margin-bottom: -30px; }
    /* Téléphone : cartes courtes et égales, la maquette réduite sous le texte et fondue en bas, la section tient à l'écran */
    .suite .sm-bento.rail-mobile .sm-carte { height: 340px; grid-template-rows: auto minmax(0, 1fr); }
    .suite .sm-bento.rail-mobile .sm-txt { padding: 18px 18px 0; gap: 4px; }
    .suite .sm-bento.rail-mobile .sm-carte > :last-child { align-self: start; zoom: .8; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
    .sm-porte { height: 210px; } .sm-etiq { display: none; }
    .sm-equipe { right: 16px; }
}
@media (prefers-reduced-motion: reduce) { .sm-traj, .sm-flotte, .sm-fil li.en i::after { animation: none; } }

/* Apparition au défilement (CSS seul) : le texte du hero s'en va, les cartes montent */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .hero .txt { animation: sec-sortie linear both; animation-timeline: view(); animation-range: exit 0% exit 70%; }
        .sm-carte { animation: sec-carte linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
        .sm-carte:nth-child(even) { animation-range: entry 8% cover 30%; }
    }
}
@keyframes st-deplie { from { opacity: 0; translate: 0 -8px; } }
@keyframes sec-carte { from { opacity: 0; translate: 0 70px; scale: .95; } }
@keyframes sec-sortie { to { opacity: 0; translate: 0 -40px; filter: blur(4px); } }
/* Bento : chaque carte monte à son entrée, décalée selon sa colonne (sm-pret posé par le script) */
.sm-pret .sm-carte { opacity: 0; transform: translateY(32px) scale(.985); transition: background .5s, opacity .8s ease, transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: 0s, var(--d, 0s), var(--d, 0s); }
.sm-pret .sm-carte > :not(.sm-txt) { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0s) + .22s); }
.sm-pret .sm-pile i { transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0s) + .6s); }
.sm-pret .sm-carte.vu, .sm-pret .sm-carte.vu > :not(.sm-txt), .sm-pret .sm-carte.vu .sm-pile i { opacity: 1; transform: none; }

/* ─── Migration : une piste en plâtre de quatre dalles, sous chaque dalle son étape ─── */
.sa .suite-in { gap: 0; }
.sa-ill { display: block; width: 100%; height: auto; margin: clamp(32px, 4.5vw, 56px) 0 clamp(18px, 2.4vw, 30px); color: var(--s-txt); overflow: visible; }
/* Les colonnes suivent les dalles : 244 unités sur 1080, la profondeur à droite laissée libre */
.sa-etapes { --gap: clamp(20px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0 5.6% 0 .9%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
.sa-etape { position: relative; min-width: 0; padding-top: 32px; }
.sa-etape:nth-child(2) { --i: 1; } .sa-etape:nth-child(3) { --i: 2; } .sa-etape:nth-child(4) { --i: 3; }
/* Frise : un jalon par étape, relié au suivant par un fil qui se remplit au rythme des dalles */
.sa-etape::before { content: ""; position: absolute; left: 0; top: 3px; width: 12px; height: 12px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid #fc8822; background: #fc8822; transition: background .35s, border-color .35s; transition-delay: calc(var(--i, 0) * .55s + .45s); }
.sa-etape:last-child::before { left: -2px; top: 1px; width: 16px; height: 16px; box-shadow: 0 0 0 5px rgba(252, 136, 34, .16); }
.sa-etape::after { content: ""; position: absolute; left: 20px; right: calc(8px - var(--gap)); top: 8px; height: 2px; border-radius: 2px; background: linear-gradient(#fc8822, #fc8822) 0 0 / 100% 100% no-repeat, color-mix(in srgb, var(--s-txt) 13%, transparent); transition: background-size .5s linear; transition-delay: calc(var(--i, 0) * .55s + .55s); }
.sa-etape:last-child::after { display: none; }
.sa-pret:not(.sa-vu) .sa-etape::before { background: var(--teinte); border-color: color-mix(in srgb, var(--s-txt) 28%, transparent); }
.sa-pret:not(.sa-vu) .sa-etape::after { background-size: 0% 100%, auto; }
.sa-quand { display: block; margin-bottom: 6px; font: 600 13px/1.3 var(--texte); font-variant-numeric: tabular-nums; color: #c4600c; }
[data-theme="nuit"] .sa-quand { color: #ffb877; }
.sa-etape h3 { margin: 0; font-family: var(--titre); font-size: 19px; font-weight: 700; letter-spacing: -.015em; line-height: 1.28; text-wrap: balance; }
.sa .sa-etape p { margin-top: 8px; font-size: 15px; line-height: 1.55; max-width: 28ch; }
/* Mouvement posé seulement si le script a armé la section : sans script ni animation, l'état final s'affiche */
.sa-pret .sa-seg { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * .55s); }
.sa-pret .sa-van { transform: translateX(-90px); transition: transform 1.5s cubic-bezier(.2, .7, .2, 1) .8s; }
.sa-pret .sa-charge { transform: translateY(calc(var(--h) * -1)); transition: transform 1.8s cubic-bezier(.45, 0, .2, 1) 1s; }
.sa-pret .sa-cable { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(var(--c)); transition: transform 1.8s cubic-bezier(.45, 0, .2, 1) 1s; }
.sa-pret .sa-lum { opacity: 0; transition: opacity .35s ease; transition-delay: calc(1.6s + var(--k) * .12s); }
.sa-pret .sa-monte > * { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(.08); transition: transform 1s cubic-bezier(.2, .8, .2, 1) 2s; }
.sa-pret .sa-drap { transform: translateY(var(--h)); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) 2.9s; }
.sa-pret .sa-etape { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * .55s + .2s); }
.sa-pret.sa-vu .sa-seg, .sa-pret.sa-vu .sa-etape, .sa-pret.sa-vu .sa-lum { opacity: 1; transform: none; }
.sa-pret.sa-vu .sa-van, .sa-pret.sa-vu .sa-monte > *, .sa-pret.sa-vu .sa-charge, .sa-pret.sa-vu .sa-cable, .sa-pret.sa-vu .sa-drap { transform: none; }
@media (max-width: 860px) {
    .sa-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; padding: 0; }
    .sa-etape:nth-child(2n)::after { display: none; }
}
/* Téléphone : la piste et ses étapes défilent ensemble à l'horizontale, chaque étape sous sa dalle comme sur grand écran */
@media (max-width: 640px) {
    .sa-piste { margin: 0 calc(-1 * var(--gout)); padding: 0 var(--gout) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gout); scrollbar-width: none; overscroll-behavior-x: contain; }
    .sa-piste::-webkit-scrollbar { display: none; }
    .sa-piste > * { width: 740px; }
    /* Le haut du dessin remonte un peu sous l'en-tête sans couper la plus haute maquette (la piste défilante rogne ce qui dépasse) */
    .sa-ill { margin: -6px 0 8px; pointer-events: none; }
    .sa.suite { padding-top: 48px; padding-bottom: 52px; }
    .sa-etapes { --gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 5.6% 0 .9%; }
    .sa-etape { scroll-snap-align: start; }
    .sa-etape:nth-child(2n)::after { display: block; }
    .sa-etape { padding-top: 26px; }
    .sa-quand { margin-bottom: 4px; font-size: 12px; }
    .sa-etape h3 { font-size: 15.5px; }
    .sa .sa-etape p { margin-top: 5px; font-size: 13px; line-height: 1.45; }
    /* Défilement au doigt (js/v2-accueil.js) : chaque dalle et son étape s'animent à leur arrivée à l'écran */
    /* --r : rang de l'étape parmi celles révélées d'un coup (js), pour qu'elles s'enchaînent */
    .sa-mobile .sa-seg { transition-delay: var(--r, 0s); }
    .sa-mobile .sa-etape { transition-delay: calc(var(--r, 0s) + .25s); }
    .sa-mobile :is(.sa-van, .sa-charge, .sa-cable, .sa-monte > *) { transition-delay: calc(var(--r, 0s) + .45s); }
    .sa-mobile .sa-lum { transition-delay: calc(var(--r, 0s) + .5s + var(--k) * .1s); }
    .sa-mobile .sa-drap { transition-delay: calc(var(--r, 0s) + 1.3s); }
    .sa-mobile .sa-seg.vu, .sa-mobile .sa-etape.vu, .sa-mobile .sa-seg.vu .sa-lum { opacity: 1; transform: none; }
    .sa-mobile .sa-seg.vu :is(.sa-van, .sa-charge, .sa-cable, .sa-monte > *, .sa-drap) { transform: none; }
    .sa-mobile .sa-etape.vu::before { background: #fc8822; border-color: #fc8822; transition-delay: calc(var(--r, 0s) + .3s); }
    .sa-mobile .sa-etape.vu::after { background-size: 100% 100%, auto; transition-delay: calc(var(--r, 0s) + .5s); }
    .sa-nav { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
    .sa-points { display: flex; gap: 6px; }
    .sa-points i { width: 7px; height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--s-txt) 25%, transparent); transition: width .35s cubic-bezier(.2, .7, .2, 1), background .35s; }
    .sa-points i.on { width: 22px; background: #fc8822; }
    .sa-glisse { display: inline-flex; align-items: center; gap: 8px; font: 600 13.5px/1 var(--texte); color: var(--s-doux); transition: opacity .4s; }
    .sa-glisse::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 1.7px 1.7px 0 0; rotate: 45deg; animation: sa-pousse 1.4s ease-in-out infinite; }
    .sa-nav.vu .sa-glisse { opacity: 0; }
}
:where(.sa-nav) { display: none; }
@keyframes sa-pousse { 50% { translate: 5px 0; } }

/* ─── Tarifs : un cadre fin à trois colonnes, la formule recommandée posée dessus en léger relief. Montants : includes/offres.php ─── */
.st { --st-trait: color-mix(in srgb, var(--s-txt) 11%, transparent); --st-pan: #f8f5f0; --st-pouce: #193451; --st-pouce-txt: #ffffff; --st-fond: #f1ece5; --st-acc: #c4600c; --st-omb: 0 1px 2px rgba(19, 40, 75, .04), 0 34px 70px -42px rgba(19, 40, 75, .42); }
[data-theme="nuit"] .st { --st-trait: rgba(255, 255, 255, .1); --st-pan: #1f3a5f; --st-pouce: #ffffff; --st-pouce-txt: #13284b; --st-fond: rgba(255, 255, 255, .07); --st-acc: #ffb877; --st-omb: 0 34px 70px -38px rgba(0, 0, 0, .65); }
.st .suite-in { gap: 0; }
.suite-reglage { display: grid; justify-items: end; gap: 8px; }
.st-bas { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--st-fond); box-shadow: inset 0 0 0 1px var(--st-trait); }
.st-bas::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: var(--st-pouce); box-shadow: 0 1px 2px rgba(19, 40, 75, .18), 0 4px 10px -4px rgba(19, 40, 75, .35); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.st[data-f="m"] .st-bas::before { transform: translateX(100%); }
.st-bas button { position: relative; min-width: 104px; padding: 10px 18px; border: 0; background: none; font: 600 14px/1 var(--texte); color: var(--s-doux); cursor: pointer; border-radius: 9px; transition: color .3s; }
.st-bas button[aria-pressed="true"] { color: var(--st-pouce-txt); }
.st-bas button:focus-visible { outline: 2px solid #fc8822; outline-offset: 2px; }
.st-note { display: block; font: 500 13px/1.3 var(--texte); color: var(--st-acc); }

.st-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--st-trait); }
.st-f { position: relative; display: grid; align-content: start; gap: 18px; min-width: 0; padding: 36px 32px 34px; color: var(--s-txt); }
.st-f:nth-child(2) { --i: 1; } .st-f:nth-child(3) { --i: 2; }
.st-f + .st-f { box-shadow: inset 1px 0 0 var(--st-trait); }
.st-f--r + .st-f { box-shadow: none; }
.st-f.st-f--r { z-index: 1; margin: -14px 0; padding-top: 50px; padding-bottom: 48px; border-radius: 22px; background: var(--st-pan); box-shadow: inset 0 0 0 1px var(--st-trait), var(--st-omb); transition: background .5s; }
@supports (grid-template-rows: subgrid) {
    .st-grille { grid-template-rows: repeat(6, auto); }
    .st-f { grid-row: span 6; grid-template-rows: subgrid; row-gap: 18px; }
}
.st-nom { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.st-f h3 { margin: 0; font-family: var(--titre); font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.st-reco { font: 600 13px/1 var(--texte); color: var(--st-acc); white-space: nowrap; }
.st .st-acc { margin: -10px 0 0; font-size: 15px; line-height: 1.5; color: var(--s-doux); }
.st .st-prix { display: flex; align-items: flex-end; gap: 10px; min-height: 64px; margin: 6px 0 0; color: var(--s-txt); max-width: none; }
.st-des { align-self: flex-start; margin-top: 6px; font: 500 14px/1 var(--texte); color: var(--s-doux); }
.st-n { display: inline-block; font: 600 clamp(46px, 4.6vw, 58px)/.9 var(--texte); letter-spacing: -.045em; font-variant-numeric: tabular-nums lining-nums; }
.st-u { padding-bottom: 3px; font: 500 13.5px/1.35 var(--texte); color: var(--s-doux); }
.st-devis { font: 600 clamp(32px, 3.2vw, 40px)/1 var(--texte); letter-spacing: -.035em; padding-bottom: 4px; }
.st-f .btn, .st-btn2 { width: 100%; }
.st-btn2 { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 24px; border: 0; border-radius: 12px; background: none; cursor: pointer; font: 600 15.5px/1 var(--texte); color: var(--s-txt); text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--s-txt) 24%, transparent); transition: box-shadow .2s; }
.st-btn2:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--s-txt) 55%, transparent); }
.st-btn2:focus-visible { outline: 2px solid #fc8822; outline-offset: 3px; }
/* Listes à repères : coche = inclus, + = en plus de la formule précédente */
.st-l { list-style: none; margin: 6px 0 0; padding: 0; display: grid; align-content: start; font-size: 15px; line-height: 1.45; }
.st-l li { position: relative; padding: 9px 0 9px 26px; box-shadow: inset 0 -1px 0 var(--st-trait); }
.st-l li:last-child { box-shadow: none; }
.st-l li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 11px; height: 6px; border: solid var(--s-doux); border-width: 0 0 1.6px 1.6px; rotate: -45deg; opacity: .7; }
.st-l--plus li::before { top: 13px; left: 1px; width: 12px; height: 12px; border: 0; rotate: none; opacity: 1; background: linear-gradient(var(--st-acc), var(--st-acc)) center / 12px 1.6px no-repeat, linear-gradient(var(--st-acc), var(--st-acc)) center / 1.6px 12px no-repeat; }
.st-l li.st-l-tout { padding: 0 0 10px; font: 600 14px/1.4 var(--texte); color: var(--s-txt); box-shadow: inset 0 -1px 0 var(--st-trait); }
.st-l li.st-l-tout::before { display: none; }
.st .st-pied-f { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; padding-top: 14px; box-shadow: inset 0 1px 0 var(--st-trait); font: 500 14.5px/1.4 var(--texte); color: var(--s-doux); max-width: none; }
.st-pied-f b { font-weight: 600; color: var(--s-txt); white-space: nowrap; }
.st-pied-f b.st-offert { color: var(--st-acc); }

/* Offre de lancement en billet : talon à gauche, chiffres forts à droite, encoches découpées par un masque */
.st-lan { --talon: clamp(220px, 24%, 290px); display: grid; grid-template-columns: var(--talon) minmax(0, 1fr); margin-top: clamp(48px, 5vw, 72px); border-radius: 22px; background: var(--st-pan);
    -webkit-mask: radial-gradient(circle 11px at var(--talon) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at var(--talon) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle 11px at var(--talon) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at var(--talon) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat; }
.st .st-lan-t { margin: 0; display: grid; align-content: center; gap: 10px; padding: 32px 30px; border-right: 1.5px dashed var(--st-trait); max-width: none; }
.st-lan-t b { font-family: var(--titre); font-size: 20px; font-weight: 700; letter-spacing: -.015em; color: var(--s-txt); }
.st-lan-t span { font: 500 14px/1.5 var(--texte); color: var(--s-doux); font-variant-numeric: tabular-nums; }
.st-lan ul { list-style: none; margin: 0; padding: 30px 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-lan li { display: grid; gap: 8px; align-content: start; padding: 0 28px; }
.st-lan li + li { box-shadow: inset 1px 0 0 var(--st-trait); }
.st-lan li strong { font: 600 clamp(32px, 3vw, 40px)/1 var(--texte); letter-spacing: -.04em; color: var(--s-txt); font-variant-numeric: lining-nums; }
.st-lan li span { font-size: 14.5px; line-height: 1.5; color: var(--s-doux); }
.st-pied { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 32px; margin-top: 40px; }
.st .st-pied p { margin: 0; font-size: 14.5px; line-height: 1.5; max-width: none; }
.st-pied .lien-suite { font-size: 14.5px; padding: 0; margin-left: 4px; }
@media (max-width: 860px) {
    .suite-reglage { justify-items: start; margin-top: 12px; }
    .st-grille { grid-template-columns: 1fr; grid-template-rows: none; border-radius: 20px; }
    .st-f { grid-row: auto; grid-template-rows: none; padding: 30px 24px; }
    .st-f + .st-f { box-shadow: inset 0 1px 0 var(--st-trait); }
    .st-f--r + .st-f { box-shadow: none; }
    .st-f.st-f--r { margin: 0 -1px; padding-top: 32px; padding-bottom: 32px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--st-trait), var(--st-omb); }
    .st .st-prix { min-height: 0; }
    .st-lan { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
    .st .st-lan-t { padding: 26px 24px; border-right: 0; border-bottom: 1.5px dashed var(--st-trait); }
    .st-lan ul { grid-template-columns: 1fr; padding: 8px 0; }
    .st-lan li { padding: 18px 24px; }
    .st-lan li + li { box-shadow: inset 0 1px 0 var(--st-trait); }
}
/* Bouton « Ce qui est inclus » : téléphone seulement ; son ::before couvre la carte (le bouton d'appel et la liste passent dessus) */
.st-ouvrir { display: none; }
.st-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Téléphone : offres empilées et repliées (nom et accroche à gauche, prix à droite), les trois tiennent dans un écran ;
   un toucher déplie le bouton d'appel et la liste, une offre à la fois (js/v2-accueil.js) */
@media (max-width: 640px) {
    /* Bascule annuel / mensuel centrée, pleine largeur jusqu'à 340 px, la note sous elle */
    .suite-tete > .suite-reglage { grid-column: 1; justify-self: stretch; justify-items: center; gap: 10px; margin-top: 20px; }
    .st-bas { width: min(100%, 340px); }
    .st-bas button { min-width: 0; padding: 13px 12px; font-size: 15px; }
    .st-note { text-align: center; }
    .st-grille { gap: 18px; margin-top: 24px; border-radius: 0; box-shadow: none; }
    .st-f, .st-f.st-f--r {
        grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nom prix" "acc prix" "cta cta" "l l" "bt bt";
        column-gap: 12px; row-gap: 3px; margin: 0; padding: 16px 18px 0; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--st-trait);
    }
    .st-f + .st-f, .st-f--r + .st-f { box-shadow: inset 0 0 0 1px var(--st-trait); }
    .st-f.st-f--r { background: var(--st-pan); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #fc8822 55%, transparent), var(--st-omb); }
    .st-nom { grid-area: nom; justify-content: flex-start; align-items: center; gap: 8px; }
    .st-reco { position: absolute; left: 16px; top: -10px; z-index: 3; padding: 4px 9px; border-radius: 999px; background: #fc8822; color: #13284b; font-size: 11px; font-weight: 700; }
    .st .st-acc { grid-area: acc; margin: 0; font-size: 13px; line-height: 1.4; }
    .st .st-prix { grid-area: prix; align-self: center; display: grid; grid-template-columns: auto auto auto; justify-content: end; align-items: baseline; column-gap: 4px; min-height: 0; margin: 0; text-align: right; }
    .st-des { grid-column: 1; align-self: baseline; margin: 0; font-size: 12px; }
    .st-n { grid-column: 2; font-size: 34px; }
    .st-u { display: contents; }
    .st-u br { display: none; }
    .st-dev { grid-column: 3; font: 600 13px/1 var(--texte); color: var(--s-txt); }
    .st-par { grid-column: 1 / -1; padding-top: 3px; font-size: 11.5px; line-height: 1.3; }
    .st-f > :is(.btn, .st-btn2) { grid-area: cta; margin-top: 16px; }
    .st-f > .st-l { grid-area: l; margin-top: 10px; }
    .st-f > :is(.btn, .st-btn2, .st-l) { position: relative; z-index: 2; }
    .st-f:not(.ouvert) > :is(.btn, .st-btn2, .st-l) { display: none; }
    .st-f.ouvert > :is(.btn, .st-btn2, .st-l) { animation: st-deplie .45s cubic-bezier(.2, .7, .2, 1) both; }
    .st-f.ouvert > .st-l { animation-delay: .06s; }
    .st-ouvrir { grid-area: bt; display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 11px 0 13px; border: 0; background: none; box-shadow: inset 0 1px 0 var(--st-trait); font: 600 13.5px/1 var(--texte); color: var(--s-txt); cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .st-ouvrir::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
    .st-ouvrir::after { content: ""; width: 7px; height: 7px; margin: -4px 4px 0 0; border: solid currentColor; border-width: 0 1.7px 1.7px 0; rotate: 45deg; opacity: .7; transition: rotate .3s cubic-bezier(.2, .7, .2, 1), margin .3s; }
    .st-f.ouvert .st-ouvrir::after { rotate: -135deg; margin-top: 4px; }
    .st-f.ouvert .st-ouvrir-l { font-size: 0; }
    .st-f.ouvert .st-ouvrir-l::before { content: attr(data-ouvert); font-size: 13.5px; }
    .st-f--r .st-ouvrir { color: var(--st-acc); }
    .st-ouvrir:focus-visible { outline: 2px solid #fc8822; outline-offset: -2px; border-radius: 8px; }
    .st-l { font-size: 14px; }
    .st-l li { padding: 8px 0 8px 24px; }
    .st-l li::before { top: 13px; } .st-l--plus li::before { top: 11px; }
    .st-l li.st-l-tout { font-size: 13.5px; }
    .st-lan-t b { font-size: 18px; }
    .st-lan li { padding: 14px 20px; }
    .st-lan li strong { font-size: 30px; }
    .st-lan li span, .st .st-pied p, .st-pied .lien-suite { font-size: 13.5px; }
}
@media (max-width: 480px) { .st-bas button { min-width: 0; } }
/* Apparition (st-pret posé par le script, st-vu à l'entrée) : lignes en cascade, prix qui se précise, billet qui se déroule */
.st-pret :is(.suite-reglage, .st-f, .st-lan, .st-pied) { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * .12s + .1s); }
.st-pret .st-f--r { transform: translateY(46px) scale(.97); }
.st-pret .st-pied { transition-delay: .65s; }
.st-pret .st-l li { opacity: 0; translate: 0 8px; transition: opacity .5s ease, translate .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * .12s + .45s + var(--j, 0) * .045s); }
.st-pret :is(.st-n, .st-devis) { filter: blur(8px); opacity: .2; transition: filter .9s ease, opacity .9s ease; transition-delay: calc(var(--i, 0) * .12s + .3s); }
.st-pret .st-lan { opacity: 1; transform: none; clip-path: inset(0 100% 0 0 round 22px); transition: clip-path 1.2s cubic-bezier(.6, 0, .2, 1) .55s; }
.st-pret .st-lan li { opacity: 0; translate: 0 10px; transition: opacity .6s ease, translate .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(1.1s + var(--j, 0) * .12s); }
.st-pret.st-vu :is(.suite-reglage, .st-f, .st-pied) { opacity: 1; transform: none; }
.st-pret.st-vu :is(.st-l li, .st-lan li) { opacity: 1; translate: none; }
.st-pret.st-vu :is(.st-n, .st-devis) { filter: none; opacity: 1; }
.st-pret.st-vu .st-lan { clip-path: inset(0 0 0 0 round 22px); }
@media (prefers-reduced-motion: reduce) { .st-bas::before, .st-bas button { transition: none; } }



/* Bandeau des gains : un gain par personne du cabinet, lu d'un coup d'œil sous « Tout le métier ». */
.sg { padding-block: clamp(36px, 4.4vw, 60px); }
.sg-gains { list-style: none; margin: 0; padding: 0; display: grid; }
.sg b { font-weight: inherit; background: linear-gradient(transparent 60%, var(--t-sur) 60% 92%, transparent 92%); }
/* D, avant barré : l'ancien geste, puis le nouveau. */
.sg--d .suite-in { max-width: 1320px; }
.sg--d .sg-gains { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
/* Chaque gain est centré dans sa colonne : les trois colonnes ont le même blanc de part et d'autre. */
.sg--d li { container-type: inline-size; min-width: 0; display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 1vw, 14px); }
.sg--d .sg-txt { min-width: 0; display: grid; gap: 4px; }
.sg--d b { background: none; }
.suite.sg--d .sg-role { font: 700 15px/1.2 var(--jakarta); color: var(--s-doux); }
/* Les deux verbes tiennent sur une ligne : la taille suit la largeur de la colonne moins le personnage (« relancer conseiller » en occupe environ 90 %). */
.suite.sg--d .sg-verbes { font: 800 clamp(15px, calc((100cqi - 84px) / 11.5), 44px)/1.05 var(--titre); letter-spacing: var(--titre-ls); color: var(--s-txt); max-width: none; white-space: nowrap; }
.sg-avant { color: var(--s-doux); font-weight: 600; text-decoration-thickness: 3px; text-decoration-color: var(--or); opacity: .75; }
.sg-perso { width: clamp(44px, 4.6vw, 60px); height: auto; overflow: visible; }
.sg-perso .p-omb { fill: #13284b; opacity: .08; }
.sg-perso .p-jambe { fill: #13284b; }
.sg-perso .p-ombre { fill: #13284b; opacity: .12; }
.sg-perso .p-clair { fill: #ffffff; stroke: #dce7f2; stroke-width: 1.5; }
.sg-perso .p-trait { fill: #13284b; opacity: .35; }
.sg-perso .p-chiffre { font: 800 11px/1 var(--titre); fill: #5d8773; }
.sg-perso .p-chemise { fill: #ffffff; }
.sg-perso .p-fenetre { fill: #6484a3; opacity: .55; }
.sg-perso .p-cles { fill: none; stroke: #13284b; stroke-width: 1.3; stroke-linecap: round; }
.sg-perso .p-cle { fill: #ffb533; }
[data-theme="nuit"] .sg-perso .p-omb { fill: #000000; opacity: .25; }
[data-theme="nuit"] .sg-perso .p-jambe { fill: #c9d6e3; }
[data-theme="nuit"] .sg-perso .p-clair { fill: #dce7f2; stroke: none; }
[data-theme="nuit"] .sg-perso .p-chemise { fill: #dce7f2; }
[data-theme="nuit"] .sg-perso .p-cles { stroke: #c9d6e3; }
@media (max-width: 960px) { .sg--d .sg-gains { grid-template-columns: 1fr; } .sg--d li { justify-content: flex-start; } }
