/* public/site.css — Le site public (accueil et page démo), d'après les
   maquettes validées de docs/maquettes/site.

   Tout est rangé sous .ste : l'espace commerçant, la caisse et l'inscription
   client ont chacun leur feuille, rien ne fuit d'une surface à l'autre.

   Mise en page :
   - 900 px et plus : deux colonnes dans le héros, trois piliers, captures en
     alternance gauche/droite ;
   - moins de 900 px : tout en une colonne, le bouton de démo à portée de pouce. */

.ste {
    --fond: #FBFAF7;
    --surface: #FFFFFF;
    --surface-2: #F3F1EC;
    --bordure: #E6E2D9;
    --bordure-forte: #D3CEC2;
    --encre: #17150F;
    --encre-2: #57534A;
    --encre-3: #6F6A5F;   /* 4,77 sur --surface-2 (#736E63 : 4,49, sous le seuil de 4,5) */
    --em: #0F7A55;
    --em-survol: #0B6647;
    --em-doux: #E3F2EB;
    --em-texte: #0B6647;
    --sur-em: #FFFFFF;
    --ambre: #D39317;
    --ambre-vif: #EBAA2C;
    --ambre-doux: #FBF0D8;
    --ambre-texte: #85570A;
    --carte: #1F3B33;
    --carte-2: #16302A;
    --carte-texte: #F6F3EA;
    --sur-carte-2: rgb(246 243 234 / 0.72);
    --sur-carte-3: rgb(246 243 234 / 0.62);   /* 0.45 échouait WCAG AA (3.5:1 sur --carte) */
    --bord-carte: rgb(246 243 234 / 0.14);
    --anneau: rgb(15 122 85 / 0.32);
    --ombre-1: 0 1px 2px rgb(23 21 15 / 0.06), 0 1px 1px rgb(23 21 15 / 0.04);
    --ombre-2: 0 24px 48px -24px rgb(23 21 15 / 0.32), 0 2px 6px rgb(23 21 15 / 0.06);
    --police: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --police-code: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --large: 1312px;

    margin: 0;
    background: var(--fond);
    color: var(--encre);
    font: 400 1rem/1.6 var(--police);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Sans ça, les marges intérieures s'ajoutent à la largeur et la page déborde. */
.ste, .ste *, .ste *::before, .ste *::after { box-sizing: border-box; }
/* display:flex l'emportait sur [hidden] : les messages du formulaire restaient visibles. */
.ste [hidden] { display: none !important; }

.ste :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; }
.ste :where(ul) { padding: 0; list-style: none; }
.ste :where(button) { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; }
.ste :where(a) { color: var(--em-texte); text-decoration: none; }
.ste :where(a:hover) { color: var(--em-survol); }
.ste :where(img) { max-width: 100%; }
.ste :focus-visible { outline: 2px solid var(--em); outline-offset: 3px; border-radius: 8px; }

.ste-large { width: 100%; max-width: var(--large); margin: 0 auto; padding: 0 32px; }
.ste-saut { position: absolute; left: -9999px; }
.ste-saut:focus { left: 16px; top: 16px; z-index: 50; background: var(--surface); padding: 10px 16px; border-radius: 10px; }

/* ── Navigation ─────────────────────────────────────────────────────────────── */

.ste-nav {
    position: sticky; top: 0; z-index: 30;
    background: var(--carte); color: var(--carte-texte);
}
.ste-nav-corps { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.ste-marque { display: flex; align-items: center; gap: 12px; color: var(--carte-texte); }
.ste-marque-logo {
    width: 38px; height: 38px; border-radius: 12px; background: rgb(246 243 234 / 0.12);
    display: flex; align-items: center; justify-content: center; flex: none;
}
.ste-marque-nom { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; }
.ste-liens { display: flex; align-items: center; gap: 32px; }
.ste-liens a { color: var(--sur-carte-2); font-size: 0.9375rem; }
.ste-liens a:hover { color: var(--carte-texte); }
/* Le bouton garde sa couleur : sans ça, la règle ci-dessus le rendait illisible. */
.ste-liens a.ste-btn-clair, .ste-liens a.ste-btn-clair:hover { color: var(--carte); }
.ste-langue-nav { display: flex; align-items: center; gap: 6px; color: var(--sur-carte-2); font-size: 0.9375rem; }
.ste-langue-nav select {
    font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 4px;
}
.ste-langue-nav select option { color: var(--encre); }
.ste-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgb(246 243 234 / 0.2); align-items: center; justify-content: center; color: var(--carte-texte); }

.ste-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 48px; padding: 0 22px; border-radius: 13px;
    font-size: 0.9375rem; font-weight: 600; white-space: nowrap;
    border: 1px solid transparent; transition: background-color .18s ease, color .18s ease;
}
.ste-btn-clair { background: var(--carte-texte); color: var(--carte); }
.ste-btn-clair:hover { background: #FFFFFF; color: var(--carte); }
.ste-btn-vert { background: var(--em); color: var(--sur-em); box-shadow: var(--ombre-1); }
.ste-btn-vert:hover { background: var(--em-survol); color: var(--sur-em); }
.ste-btn-ligne { border-color: var(--bordure-forte); background: var(--surface); color: var(--encre); }
.ste-btn-ligne:hover { background: var(--surface-2); color: var(--encre); }
.ste-btn-grand { height: 54px; padding: 0 26px; font-size: 1rem; }

/* ── Héros ──────────────────────────────────────────────────────────────────── */

.ste-heros { background: var(--carte); color: var(--carte-texte); padding: 56px 0 72px; }
.ste-heros-corps { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 64px; align-items: center; }
.ste-heros-texte { display: flex; flex-direction: column; gap: 28px; }
.ste-badge {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
    height: 32px; padding: 0 14px; border-radius: 999px;
    background: rgb(235 170 44 / 0.16); color: #F2B946;   /* ambre-vif : 4.4:1, sous le seuil AA */
    font-size: 0.8125rem; font-weight: 550;
}
.ste-badge::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.ste-heros h1 { font-size: clamp(2.75rem, 5.2vw, 4.25rem); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.ste-heros-sous { font-size: 1.1875rem; line-height: 1.55; color: var(--sur-carte-2); max-width: 520px; text-wrap: pretty; }
.ste-heros-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ste-heros-note { font-size: 0.9375rem; color: var(--sur-carte-3); }

/* Le téléphone du client : la carte, puis la notification qui le fait revenir. */
.ste-tel {
    justify-self: center; width: 300px; min-height: 480px;
    border-radius: 40px; background: #0E1A17; border: 1px solid rgb(246 243 234 / 0.16);
    box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7);
    padding: 22px 16px; display: flex; flex-direction: column; gap: 16px;
}
.ste-carte {
    border-radius: 18px; background: var(--carte-2); border: 1px solid var(--bord-carte);
    padding: 18px; display: flex; flex-direction: column; gap: 16px;
}
.ste-carte-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ste-carte-nom { display: flex; flex-direction: column; }
.ste-carte-nom strong { font-size: 0.9375rem; font-weight: 600; }
.ste-carte-nom span { font-size: 0.75rem; color: rgb(246 243 234 / 0.6); }
.ste-carte-compte {
    height: 22px; padding: 0 9px; border-radius: 999px; display: flex; align-items: center;
    background: rgb(235 170 44 / 0.18); color: var(--ambre-vif); font-size: 0.6875rem; font-weight: 600;
}
.ste-tampons { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ste-tampon {
    aspect-ratio: 1; border-radius: 999px; border: 1.5px dashed rgb(246 243 234 / 0.3);
    display: flex; align-items: center; justify-content: center;
    animation: ste-tampon 9s ease-in-out infinite;
}
.ste-tampon:nth-child(1) { animation-delay: 0s; }
.ste-tampon:nth-child(2) { animation-delay: .25s; }
.ste-tampon:nth-child(3) { animation-delay: .5s; }
.ste-tampon:nth-child(4) { animation-delay: .75s; }
.ste-tampon:nth-child(5) { animation-delay: 1s; }
.ste-tampon:nth-child(6) { animation-delay: 1.25s; }
.ste-tampon:nth-child(7) { animation-delay: 1.5s; }
.ste-tampon:nth-child(8) { animation-delay: 1.75s; }
.ste-tampon:nth-child(9) { animation-delay: 2s; }
.ste-tampon:nth-child(10) { animation-delay: 2.25s; }
@keyframes ste-tampon {
    0%, 8%   { background: transparent; border-color: rgb(246 243 234 / 0.3); transform: scale(1); }
    14%      { transform: scale(1.18); }
    20%, 92% { background: var(--ambre-vif); border-color: var(--ambre-vif); transform: scale(1); }
    100%     { background: transparent; border-color: rgb(246 243 234 / 0.3); }
}
.ste-carte-pied {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
    border-top: 1px solid rgb(246 243 234 / 0.12); padding-top: 12px;
}
.ste-carte-client { display: flex; flex-direction: column; }
.ste-carte-client span { font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(246 243 234 / 0.62); }
.ste-carte-client strong { font-size: 0.8125rem; font-weight: 550; }
.ste-carte-numero { font-family: var(--police-code); font-size: 0.75rem; color: rgb(246 243 234 / 0.6); }

.ste-notif {
    border-radius: 16px; background: rgb(246 243 234 / 0.1); border: 1px solid rgb(246 243 234 / 0.12);
    padding: 14px; display: flex; gap: 12px; align-items: flex-start;
    animation: ste-glisse 9s ease-in-out infinite;
}
@keyframes ste-glisse {
    0%, 55%  { opacity: 0; transform: translateY(18px); }
    70%, 94% { opacity: 1; transform: translateY(0); }
    100%     { opacity: 0; transform: translateY(-8px); }
}
.ste-notif-rond {
    width: 32px; height: 32px; border-radius: 9px; flex: none;
    background: var(--ambre-vif); color: #17150F;
    display: flex; align-items: center; justify-content: center;
}
.ste-notif-texte { display: flex; flex-direction: column; gap: 2px; }
.ste-notif-texte strong { font-size: 0.8125rem; font-weight: 600; }
.ste-notif-texte span { font-size: 0.75rem; line-height: 1.4; color: rgb(246 243 234 / 0.7); }
.ste-wallets { margin-top: auto; display: flex; gap: 8px; justify-content: center; }
.ste-wallets span {
    height: 26px; padding: 0 10px; border-radius: 999px; display: flex; align-items: center;
    background: rgb(246 243 234 / 0.08); font-size: 0.6875rem; color: rgb(246 243 234 / 0.62);
}

/* ── Piliers et bande des métiers ───────────────────────────────────────────── */

.ste-piliers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ste-pilier { padding: 40px 32px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--bordure); }
.ste-pilier:first-child { padding-left: 0; }
.ste-pilier:last-child { border-right: 0; padding-right: 0; }
.ste-pilier strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.ste-pilier span { font-size: 0.9375rem; color: var(--encre-2); text-wrap: pretty; }

.ste-ruban-cadre {
    border-top: 1px solid var(--bordure); padding: 26px 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 90px, #000 calc(100% - 90px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 90px, #000 calc(100% - 90px), transparent);
}
.ste-ruban { display: flex; align-items: center; gap: 44px; width: max-content; animation: ste-ruban 42s linear infinite; }
.ste-ruban span {
    display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
    font-size: 1rem; font-weight: 500; color: var(--encre-2);
}
.ste-ruban svg { color: var(--em); flex: none; }
@keyframes ste-ruban { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Sections ───────────────────────────────────────────────────────────────── */

.ste-section { padding: 88px 0; }
.ste-section-sombre { background: var(--carte); color: var(--carte-texte); }
.ste-entete { display: flex; flex-direction: column; gap: 12px; max-width: 700px; margin-bottom: 40px; }
.ste-surtitre { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-3); }
.ste-titre { font-size: clamp(1.875rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
.ste-entete p { font-size: 1.0625rem; color: var(--encre-2); text-wrap: pretty; }

.ste-etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ste-etape { display: flex; flex-direction: column; gap: 12px; }
.ste-numero {
    width: 36px; height: 36px; border-radius: 999px; background: var(--em-doux); color: var(--em-texte);
    display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9375rem;
}
.ste-etape h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; }
.ste-etape p { font-size: 0.9375rem; color: var(--encre-2); text-wrap: pretty; }

/* ── Les quatre gestes, illustrés ──────────────────────────────────────────
   Des vignettes sans texte (rien à traduire). Elles bouclent dès que l'étape
   apparaît (.vue) ; sans animation, elles montrent leur état final. */
.ste-illu {
    position: relative; height: 168px; margin-bottom: 8px; overflow: hidden;
    display: grid; place-items: center;
    border-radius: 16px; background: var(--surface-2); border: 1px solid var(--bordure);
}
.ste-illu * { box-sizing: border-box; }

/* 1 · Le client scanne : une ligne balaie le QR, une coche confirme. */
.ste-illu-cible { position: relative; width: 96px; height: 96px; padding: 10px; border-radius: 12px; background: var(--surface); color: var(--encre); box-shadow: var(--ombre-2); }
.ste-illu-qr { display: block; width: 100%; height: 100%; }
.ste-illu-ligne {
    position: absolute; left: 4px; right: 4px; top: 8px; height: 2px; border-radius: 2px; opacity: 0;
    background: var(--em); box-shadow: 0 0 14px 3px rgb(15 122 85 / 0.45);
}
.ste-illu-coin {
    position: absolute; inset: -12px; pointer-events: none; --c: var(--em); --l: 18px; --e: 3px;
    background:
        linear-gradient(var(--c) 0 0) top left / var(--l) var(--e) no-repeat,
        linear-gradient(var(--c) 0 0) top left / var(--e) var(--l) no-repeat,
        linear-gradient(var(--c) 0 0) top right / var(--l) var(--e) no-repeat,
        linear-gradient(var(--c) 0 0) top right / var(--e) var(--l) no-repeat,
        linear-gradient(var(--c) 0 0) bottom left / var(--l) var(--e) no-repeat,
        linear-gradient(var(--c) 0 0) bottom left / var(--e) var(--l) no-repeat,
        linear-gradient(var(--c) 0 0) bottom right / var(--l) var(--e) no-repeat,
        linear-gradient(var(--c) 0 0) bottom right / var(--e) var(--l) no-repeat;
}
.ste-illu-ok {
    position: absolute; top: calc(50% - 66px); left: calc(50% + 40px); width: 32px; height: 32px;
    display: grid; place-items: center; border-radius: 999px; background: var(--em); color: #fff;
    box-shadow: 0 6px 16px -4px rgb(15 122 85 / 0.55); transform: scale(0);
}
.vue .ste-illu-ligne { animation: ste-balaye 3.2s ease-in-out infinite; }
.vue .ste-illu-ok { animation: ste-coche 3.2s cubic-bezier(.34,1.56,.64,1) infinite; }
@keyframes ste-balaye { 0% { top: 8px; opacity: 0; } 8% { opacity: 1; } 52% { top: 86px; opacity: 1; } 60%, 100% { top: 86px; opacity: 0; } }
@keyframes ste-coche { 0%, 58% { transform: scale(0); } 68%, 90% { transform: scale(1); } 100% { transform: scale(0); } }

/* 2 · La carte s'installe : elle glisse dans le Wallet, sur la pile. */
.ste-illu-wallet { place-items: end center; }
.ste-illu-tel {
    position: relative; width: 136px; height: 176px; margin-bottom: -36px; padding: 14px 10px;
    border: 3px solid var(--encre); border-bottom: 0; border-radius: 24px 24px 0 0; background: var(--fond);
}
.ste-illu-pile { position: absolute; left: 10px; right: 10px; height: 64px; border-radius: 10px; }
.ste-illu-pile-1 { top: 14px; background: #C9D3DF; }
.ste-illu-pile-2 { top: 26px; background: var(--ambre-doux); border: 1px solid #EAD9B0; }
.ste-illu-carte {
    position: absolute; left: 10px; right: 10px; top: 40px; height: 74px; padding: 10px;
    display: flex; flex-direction: column; justify-content: space-between;
    border-radius: 10px; background: var(--carte); box-shadow: 0 10px 22px -10px rgb(23 21 15 / 0.6);
}
.ste-illu-carte-tete { display: flex; align-items: center; gap: 6px; }
.ste-illu-logo { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: rgb(246 243 234 / 0.12); }
.ste-illu-carte-tete b { width: 44px; height: 6px; border-radius: 3px; background: rgb(246 243 234 / 0.75); }
.ste-illu-carte-tampons { display: flex; gap: 5px; }
.ste-illu-carte-tampons i { width: 12px; height: 12px; border-radius: 999px; border: 1.5px solid rgb(246 243 234 / 0.45); }
.ste-illu-carte-tampons i:nth-child(-n+3) { background: var(--ambre-vif); border-color: var(--ambre-vif); }
.vue .ste-illu-carte { animation: ste-illu-glisse 4s cubic-bezier(.22,1,.36,1) infinite; }
@keyframes ste-illu-glisse { 0%, 10% { transform: translateY(150px); opacity: 1; } 38%, 86% { transform: none; opacity: 1; } 96% { transform: none; opacity: 0; } 100% { transform: translateY(150px); opacity: 0; } }

/* 3 · Vous scannez à la caisse : le tampon suivant se remplit, +1. */
.ste-illu-grille {
    display: grid; grid-template-columns: repeat(5, 22px); gap: 9px; padding: 16px;
    border-radius: 14px; background: var(--carte); box-shadow: var(--ombre-2);
}
.ste-illu-grille i { width: 22px; height: 22px; border-radius: 999px; border: 1.5px dashed rgb(246 243 234 / 0.4); }
.ste-illu-grille i:nth-child(-n+6), .ste-illu-grille i:nth-child(7) { background: var(--ambre-vif); border: 1.5px solid var(--ambre-vif); }
.ste-illu-plus {
    position: absolute; top: 24px; left: calc(50% + 62px); padding: 3px 9px; border-radius: 999px;
    font-size: 0.8125rem; font-weight: 700; background: var(--em-doux); color: var(--em-texte);
}
.vue .ste-illu-grille i:nth-child(7) { animation: ste-tamponne 3s cubic-bezier(.34,1.56,.64,1) infinite; }
.vue .ste-illu-plus { animation: ste-monte 3s ease-out infinite; }
@keyframes ste-tamponne {
    0%, 30% { background: transparent; border: 1.5px dashed rgb(246 243 234 / 0.4); transform: scale(1); }
    38% { background: var(--ambre-vif); border: 1.5px solid var(--ambre-vif); transform: scale(1.3); }
    46%, 90% { background: var(--ambre-vif); border: 1.5px solid var(--ambre-vif); transform: scale(1); }
    100% { background: transparent; border: 1.5px dashed rgb(246 243 234 / 0.4); transform: scale(1); }
}
@keyframes ste-monte { 0%, 34% { opacity: 0; transform: translateY(10px); } 44% { opacity: 1; transform: none; } 78% { opacity: 1; transform: translateY(-6px); } 88%, 100% { opacity: 0; transform: translateY(-6px); } }

/* 4 · Il revient : une notification tombe sur l'écran verrouillé. */
.ste-illu-notif { place-items: end center; }
.ste-illu-ecran {
    position: relative; width: 184px; height: 176px; margin-bottom: -36px; padding: 16px 10px;
    border: 3px solid var(--encre); border-bottom: 0; border-radius: 26px 26px 0 0;
    background: linear-gradient(160deg, #2C4A41, var(--carte-2));
}
.ste-illu-heure { display: block; width: 58px; height: 18px; margin: 4px auto 16px; border-radius: 5px; background: rgb(246 243 234 / 0.85); }
.ste-illu-bulle {
    display: flex; align-items: center; gap: 8px; padding: 9px; border-radius: 12px;
    background: rgb(255 255 255 / 0.94); box-shadow: 0 10px 22px -10px rgb(0 0 0 / 0.55);
}
.ste-illu-appli { flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--carte); }
.ste-illu-lignes { display: flex; flex-direction: column; gap: 5px; }
.ste-illu-lignes b { width: 64px; height: 6px; border-radius: 3px; background: var(--encre); opacity: 0.8; }
.ste-illu-lignes i { width: 104px; height: 5px; border-radius: 3px; background: var(--encre-3); opacity: 0.5; }
.vue .ste-illu-bulle { animation: ste-tombe 4s cubic-bezier(.34,1.4,.64,1) infinite; }
@keyframes ste-tombe { 0%, 12% { transform: translateY(-90px); opacity: 0; } 30%, 86% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }

/* ── Les écrans du produit ──────────────────────────────────────────────────── */

.ste-ecrans { display: flex; flex-direction: column; gap: 72px; }
.ste-ecran { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 48px; align-items: center; }
.ste-ecran:nth-child(even) { grid-template-columns: minmax(0, 1fr) 420px; }
.ste-ecran:nth-child(even) .ste-ecran-texte { order: 2; }
.ste-ecran-texte { display: flex; flex-direction: column; gap: 14px; }
.ste-ecran-texte .ste-etiquette { font-size: 0.8125rem; font-weight: 600; color: var(--em-texte); }
.ste-ecran-texte h3 { font-size: 1.625rem; font-weight: 600; letter-spacing: -0.025em; }
.ste-ecran-texte p { font-size: 1rem; color: var(--encre-2); text-wrap: pretty; }
.ste-ecran-texte p.ste-detail { font-size: 0.9375rem; color: var(--encre-3); }
.ste-capture { width: 100%; height: auto; aspect-ratio: 1180 / 760; border-radius: 16px; border: 1px solid var(--bordure); box-shadow: var(--ombre-2); display: block; }

/* ── Après la démo, comparaison, objections ─────────────────────────────────── */

.ste-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ste-carte-blanche {
    border-radius: 20px; border: 1px solid var(--bordure); background: var(--surface);
    box-shadow: var(--ombre-1); padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.ste-jour {
    align-self: flex-start; height: 30px; padding: 0 12px; border-radius: 999px;
    background: var(--em-doux); color: var(--em-texte); font-size: 0.8125rem; font-weight: 600;
    display: flex; align-items: center;
}
.ste-carte-blanche h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.ste-carte-blanche p { font-size: 0.9375rem; color: var(--encre-2); text-wrap: pretty; }
.ste-note-48 {
    display: flex; align-items: center; gap: 16px; margin-top: 24px;
    padding: 18px 22px; border-radius: 14px; background: var(--ambre-doux); color: var(--ambre-texte);
    font-size: 1rem; font-weight: 550;
}
.ste-note-48 svg { flex: none; }

.ste-compare { width: 100%; border-collapse: collapse; border: 1px solid var(--bordure); border-radius: 20px; overflow: hidden; background: var(--surface); }
.ste-compare th, .ste-compare td { padding: 18px 24px; text-align: left; font-size: 0.9375rem; font-weight: 400; vertical-align: top; }
.ste-compare thead th { background: var(--surface-2); font-weight: 600; }
.ste-compare thead th:last-child { background: var(--carte); color: var(--carte-texte); }
.ste-compare tbody th { color: var(--encre-2); font-weight: 400; width: 220px; }
.ste-compare tbody tr { border-top: 1px solid var(--bordure); }
.ste-compare td:last-child { background: var(--em-doux); color: var(--em-texte); font-weight: 550; }
.ste-compare-col { display: none; }

.ste-objections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ste-objection { border-left: 3px solid var(--bordure-forte); padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.ste-objection h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
.ste-objection p { font-size: 0.9375rem; color: var(--encre-2); text-wrap: pretty; }

/* ── Les deux formules ──────────────────────────────────────────────────────── */

.ste-formules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ste-formule {
    border-radius: 20px; border: 1px solid var(--bordure); background: var(--surface);
    box-shadow: var(--ombre-1); padding: 32px; display: flex; flex-direction: column; gap: 20px;
}
.ste-formule h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; }
.ste-formule p { font-size: 1rem; color: var(--encre-2); text-wrap: pretty; }
.ste-formule-metiers { font-size: 0.9375rem; color: var(--encre-3); }
.ste-demo-tampons { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; max-width: 320px; }
.ste-demo-tampons span { aspect-ratio: 1; border-radius: 999px; border: 1.5px dashed var(--bordure-forte); }
.ste-demo-tampons span.plein { background: var(--ambre-vif); border-color: var(--ambre-vif); }
.ste-demo-cashback { display: flex; align-items: flex-end; gap: 10px; height: 64px; }
.ste-demo-cashback i { display: block; width: 44px; border-radius: 8px; background: var(--surface-2); }
.ste-demo-cashback i:nth-child(1) { height: 28px; }
.ste-demo-cashback i:nth-child(2) { height: 40px; }
.ste-demo-cashback i:nth-child(3) { height: 52px; background: var(--em-doux); }
.ste-demo-cashback b {
    height: 34px; padding: 0 14px; border-radius: 999px; background: var(--em); color: var(--sur-em);
    font-weight: 600; font-size: 0.875rem; display: flex; align-items: center;
}

/* ── Questions ──────────────────────────────────────────────────────────────── */

.ste-questions { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
.ste-faq { display: flex; flex-direction: column; }
.ste-faq details { border-bottom: 1px solid var(--bordure); }
.ste-faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 20px 0; font-size: 1.0625rem; font-weight: 550; cursor: pointer; list-style: none;
}
.ste-faq summary::-webkit-details-marker { display: none; }
.ste-faq summary::after {
    content: ""; width: 28px; height: 28px; flex: none; border-radius: 999px;
    border: 1px solid var(--bordure-forte);
    background: no-repeat center / 12px 12px
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357534A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
    transition: transform .2s ease;
}
.ste-faq details[open] summary::after { transform: rotate(45deg); }
.ste-faq details p { padding: 0 0 20px; font-size: 1rem; color: var(--encre-2); max-width: 680px; text-wrap: pretty; }

/* ── Dernier appel et pied de page ──────────────────────────────────────────── */

.ste-final { background: var(--carte); color: var(--carte-texte); padding: 72px 0 0; }
.ste-final-corps { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.ste-final h2 { font-size: clamp(1.75rem, 3.2vw, 2.375rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; max-width: 620px; }
.ste-final p { font-size: 1.0625rem; color: var(--sur-carte-2); text-wrap: pretty; max-width: 620px; }
.ste-pied {
    margin-top: 40px; border-top: 1px solid var(--bord-carte); padding: 28px 0 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    font-size: 0.875rem; color: var(--sur-carte-3);
}
.ste-pied-liens { display: flex; gap: 28px; flex-wrap: wrap; }
.ste-pied a { color: var(--sur-carte-3); }
.ste-pied a:hover { color: var(--carte-texte); }

/* ── Page démo ──────────────────────────────────────────────────────────────── */

.ste-demo { display: grid; grid-template-columns: 520px minmax(0, 1fr); min-height: 100vh; }
/* La colonne verte tient dans l'écran et y reste pendant qu'on parcourt le
   calendrier : répartie sur toute la hauteur de la page (le calendrier est
   haut), le titre tombait sous la ligne de flottaison. */
.ste-demo-pitch {
    background: var(--carte); color: var(--carte-texte); padding: 40px 48px;
    display: flex; flex-direction: column; justify-content: flex-start; gap: 40px;
    position: sticky; top: 0; align-self: start; height: 100vh; height: 100dvh; overflow-y: auto;
}
.ste-demo-pitch > :first-child + div { margin-top: clamp(16px, 6vh, 64px); }
.ste-demo-pitch > :last-child { margin-top: auto; }
.ste-demo-pitch h1 { font-size: clamp(2rem, 3.4vw, 2.625rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.ste-demo-pitch > div { display: flex; flex-direction: column; gap: 32px; }
.ste-arguments { display: flex; flex-direction: column; gap: 20px; }
.ste-argument { display: flex; gap: 14px; align-items: flex-start; }
.ste-argument-rond { width: 40px; height: 40px; border-radius: 12px; background: rgb(246 243 234 / 0.12); display: flex; align-items: center; justify-content: center; flex: none; }
.ste-argument strong { font-size: 1rem; font-weight: 600; display: block; }
.ste-argument span { font-size: 0.9375rem; color: var(--sur-carte-2); }
.ste-demo-pendant { border-top: 1px solid var(--bord-carte); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.ste-demo-contact { font-size: 0.875rem; color: var(--sur-carte-3); }

.ste-demo-corps { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 24px; max-width: 760px; }
.ste-demo-corps h2 { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.025em; }
.ste-demo-corps > p { font-size: 1rem; color: var(--encre-2); }
.ste-agenda { border-radius: 20px; border: 1px solid var(--bordure); background: var(--surface); box-shadow: var(--ombre-1); min-height: 320px; overflow: hidden; }
.ste-ou { display: flex; align-items: center; gap: 14px; color: var(--encre-3); font-size: 0.875rem; }
.ste-ou::before, .ste-ou::after { content: ""; flex: 1; height: 1px; background: var(--bordure); }

.ste-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ste-champ { display: flex; flex-direction: column; gap: 7px; }
.ste-champ > span { font-size: 0.8125rem; font-weight: 600; color: var(--encre-2); }
.ste-champ .facultatif { font-weight: 400; color: var(--encre-3); }
.ste-champ input, .ste-champ textarea {
    height: 48px; border-radius: 12px; border: 1px solid var(--bordure-forte); background: var(--surface);
    color: var(--encre); padding: 0 14px; font-size: 16px; font-family: inherit; width: 100%;
}
.ste-champ textarea { height: auto; min-height: 88px; padding: 12px 14px; resize: vertical; }
.ste-champ input:focus, .ste-champ textarea:focus { outline: none; border-color: var(--em); box-shadow: 0 0 0 3px var(--anneau); }
.ste-message { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: 0.875rem; line-height: 1.45; }
.ste-message-danger { background: #FBE9E6; color: #C23B2E; }
.ste-message-ok { background: var(--em-doux); color: var(--em-texte); }

/* ── Bandeau cookies ────────────────────────────────────────────────────────── */

.ste-cookies {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
    display: none; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    max-width: 720px; margin: 0 auto; padding: 18px 22px;
    border-radius: 16px; border: 1px solid var(--bordure); background: var(--surface);
    box-shadow: var(--ombre-2); font-size: 0.875rem; color: var(--encre-2);
}
.ste-cookies.visible { display: flex; }
.ste-cookies-actions { display: flex; gap: 10px; }
.ste-cookies .ste-btn { height: 40px; padding: 0 16px; font-size: 0.875rem; }
.ste-cookies p a { text-decoration: underline; text-underline-offset: 2px; }

/* ── Apparitions au défilement ──────────────────────────────────────────────── */

.ste-entre { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.ste-entre.vue { opacity: 1; transform: none; }
html:not(.js) .ste-entre { opacity: 1; transform: none; }

/* ── Téléphone et petites fenêtres ──────────────────────────────────────────── */

@media (max-width: 1100px) {
    .ste-heros-corps { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .ste-tel { justify-self: center; margin-inline: auto; }
    .ste-ecran, .ste-ecran:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .ste-ecran:nth-child(even) .ste-ecran-texte { order: 0; }
    .ste-questions { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .ste-demo { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .ste-demo-pitch { position: static; height: auto; overflow: visible; }
}

@media (max-width: 900px) {
    .ste-large { padding: 0 20px; }
    .ste-liens { display: none; }
    .ste-liens.ouvert {
        display: flex; flex-direction: column; align-items: stretch; gap: 8px;
        position: absolute; left: 0; right: 0; top: 76px; padding: 16px 20px 24px;
        background: var(--carte); border-top: 1px solid var(--bord-carte);
    }
    .ste-liens.ouvert a { padding: 12px 0; font-size: 1.0625rem; }
    .ste-burger { display: flex; }
    .ste-nav-corps { position: relative; }
    .ste-heros { padding: 40px 0 48px; }
    .ste-heros-actions .ste-btn { width: 100%; }
    .ste-heros-note { width: 100%; text-align: center; }
    .ste-piliers { grid-template-columns: minmax(0, 1fr); }
    .ste-pilier { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--bordure); }
    .ste-pilier:last-child { border-bottom: 0; }
    .ste-section { padding: 56px 0; }
    .ste-etapes, .ste-cartes, .ste-objections, .ste-formules, .ste-champs { grid-template-columns: minmax(0, 1fr); }
    /* Sur téléphone, la capture montrée est celle du produit sur téléphone :
       une capture d'écran d'ordinateur réduite à 350 px ne se lit pas. */
    .ste-capture { aspect-ratio: 390 / 780; max-width: 320px; margin-inline: auto; }

    .ste-compare, .ste-compare tbody, .ste-compare tr, .ste-compare th, .ste-compare td { display: block; width: auto; }
    .ste-compare { border: 0; background: none; }
    .ste-compare thead { display: none; }
    .ste-compare tbody tr {
        border: 1px solid var(--bordure); border-radius: 16px; background: var(--surface);
        margin-bottom: 14px; overflow: hidden;
    }
    .ste-compare tbody th {
        width: auto; padding: 14px 18px 10px; font-size: 1rem; font-weight: 600; color: var(--encre);
        background: var(--surface-2);
    }
    .ste-compare td {
        display: flex; flex-direction: column; gap: 2px; padding: 12px 18px;
        border-top: 1px solid var(--bordure); white-space: normal;
    }
    .ste-compare-col {
        display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
        text-transform: uppercase; color: var(--encre-3);
    }
    .ste-compare td:last-child .ste-compare-col { color: var(--em-texte); opacity: 0.8; }
    .ste-final { padding-top: 56px; }
    .ste-demo-pitch, .ste-demo-corps { padding: 32px 20px; }
    .ste-ruban-cadre { -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
}

@media (prefers-reduced-motion: reduce) {
    .ste-tampon, .ste-notif, .ste-ruban { animation: none; }
    .ste-illu *, .vue .ste-illu * { animation: none !important; }
    .ste-illu-ligne { opacity: 0; }
    .ste-illu-ok { transform: none; }
    .ste-tampon { background: var(--ambre-vif); border-color: var(--ambre-vif); }
    .ste-notif { opacity: 1; }
    .ste-entre { opacity: 1; transform: none; transition: none; }
}

/* ── Choix de la langue ─────────────────────────────────────────────────────
   Le bloc est fabriqué par le rendu serveur (hreflang, langue courante) : on
   habille sa classe à lui, .langue-switch. */

.ste .langue-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid rgb(246 243 234 / 0.18); }
.ste .langue-switch a {
    height: 28px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center;
    font-size: 0.8125rem; font-weight: 500; color: var(--sur-carte-2);
}
.ste .langue-switch a:hover { color: var(--carte-texte); }
.ste .langue-switch a[aria-current="true"] { background: var(--carte-texte); color: var(--carte); font-weight: 600; }
/* La règle des liens de la nav ne doit pas reprendre la main sur la pastille. */
.ste-liens .langue-switch a[aria-current="true"] { color: var(--carte); }
@media (max-width: 900px) {
    .ste .langue-switch { align-self: flex-start; margin-top: 8px; }
    .ste .langue-switch a { height: 34px; padding: 0 14px; font-size: 0.875rem; }
}

/* ── Pages légales ──────────────────────────────────────────────────────────
   Texte long, lu d'une traite : une colonne étroite, des titres qui aèrent. */

.ste-legal { padding: 64px 32px 88px; max-width: 800px; }
.ste-legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.ste-legal .ste-maj { display: block; margin-top: 12px; font-size: 0.875rem; color: var(--encre-3); }
.ste-legal .ste-chapeau { margin-top: 24px; font-size: 1.0625rem; color: var(--encre-2); text-wrap: pretty; }
.ste-legal section { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.ste-legal h2 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.ste-legal h3 { font-size: 1.0625rem; font-weight: 600; }
.ste-legal p { color: var(--encre-2); text-wrap: pretty; }
.ste-legal ul { display: flex; flex-direction: column; gap: 10px; }
.ste-legal li { position: relative; padding-left: 20px; color: var(--encre-2); text-wrap: pretty; }
.ste-legal li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 999px; background: var(--em); }
.ste-legal li strong { color: var(--encre); font-weight: 600; }
.ste-legal .ste-encart {
    margin-top: 40px; padding: 20px 24px; border-radius: 16px;
    background: var(--surface-2); border: 1px solid var(--bordure);
    display: flex; flex-direction: column; gap: 6px;
}
.ste-legal .ste-encart strong { font-weight: 600; }

@media (max-width: 900px) {
    .ste-legal { padding: 40px 20px 64px; }
    .ste-legal section { margin-top: 32px; }
}
