/* ============================================================
   site/source/site.css : le site vitrine de Nacre (nacrebot.fr)
   ============================================================
   Le thème est CELUI DE L'ESPACE CLIENT (master/dashboard/public/ui.css,
   master/portal/public/portal.css) : mêmes halos, même verre, même arête,
   même police système, mêmes tuiles d'icônes. Un visiteur qui passe du
   site à son espace client ne change pas de monde.
   Le mouvement suit .reanimate/hero/spec.md (étude de Linear et Stripe
   avec le skill reanimate) : entrées « flou → net » de 1 s, décalées de
   120 ms ; interface en fondu de 1,5 s ; textes qui roulent en 325 ms. */

/* ── 1. Jetons (ceux du portail) ─────────────────────────── */
:root {
    color-scheme: light;
    --marque: #4A3DC4;
    --marque-doux: color-mix(in srgb, #4A3DC4 12%, transparent);
    --marque-texte: #FFFFFF;
    --label: #15152B;
    --label-2: rgba(28, 28, 56, .72);
    --label-3: rgba(28, 28, 56, .62);
    --vert: #23A04A;

    --fond: #ECEEF8;
    --halo-1: rgba(124, 108, 246, .42);  /* marque  */
    --halo-2: rgba(56, 189, 248, .40);   /* ciel    */
    --halo-3: rgba(251, 146, 60, .30);   /* abricot */
    --halo-4: rgba(45, 212, 191, .24);   /* eau     */

    --verre-haut: rgba(255, 255, 255, .68);
    --verre-bas: rgba(255, 255, 255, .44);
    --verre-chrome: rgba(255, 255, 255, .62);
    --verre-creux: rgba(255, 255, 255, .45);
    --arete-haut: rgba(255, 255, 255, .98);
    --arete-bas: rgba(255, 255, 255, .30);
    --contour: rgba(40, 40, 110, .07);
    --reflet: inset 0 1px 0 rgba(255, 255, 255, .9);
    --ombre: 0 1px 2px rgba(30, 30, 80, .05), 0 14px 36px -14px rgba(60, 50, 150, .22);
    --ombre-haute: 0 2px 6px rgba(30, 30, 80, .06), 0 28px 70px -20px rgba(50, 40, 140, .35);
    --trait: rgba(40, 40, 90, .08);
    --creux: rgba(40, 40, 110, .05);
    --flou: 20px;
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");

    --r-sm: 8px; --r-md: 11px; --r-lg: 16px; --r-xl: 22px; --r-2xl: 28px;
    --font-titre: "SF Pro Display", "Segoe UI Variable Display", "Segoe UI Semibold", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Mono", Consolas, monospace;
    --discord: "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

    /* Les courbes mesurées (spec.md) */
    --c-texte: cubic-bezier(.25, .1, .25, 1);      /* Linear, titre      */
    --c-interface: cubic-bezier(.455, .03, .515, .955); /* Linear, produit */
    --c-roule: cubic-bezier(.33, 1, .68, 1);       /* Stripe, texte roulant */
    --c-sortie: cubic-bezier(.22, 1, .36, 1);      /* le --spring du portail, sans rebond */

    --largeur: 1160px;
    --gouttiere: clamp(16px, 4vw, 32px);
}

/* ── 2. Le fond : quatre halos et le grain, comme le portail ── */
* { box-sizing: border-box; }
html { background: var(--fond); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; min-height: 100vh; background: transparent; color: var(--label);
    font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before {
    content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(60vmax 50vmax at 0% 0%, var(--halo-1), transparent 62%),
        radial-gradient(50vmax 45vmax at 100% 10%, var(--halo-2), transparent 60%),
        radial-gradient(55vmax 50vmax at 85% 100%, var(--halo-3), transparent 62%),
        radial-gradient(50vmax 40vmax at 10% 95%, var(--halo-4), transparent 60%),
        var(--fond);
}
body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: .8; }

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-titre); color: var(--label); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--marque); outline-offset: 3px; border-radius: 8px; }
[id] { scroll-margin-top: 100px; }
.conteneur { width: min(var(--largeur), 100% - 2 * var(--gouttiere)); margin-inline: auto; }
.icone { display: block; flex: none; fill: currentColor; }

/* ── 3. Le verre (une seule recette, comme ui.css) ─────────── */
.verre {
    position: relative;
    background-color: transparent;
    background-image: linear-gradient(180deg, var(--verre-haut), var(--verre-bas)), var(--grain);
    -webkit-backdrop-filter: blur(var(--flou)) saturate(170%);
    backdrop-filter: blur(var(--flou)) saturate(170%);
    box-shadow: var(--reflet), 0 0 0 1px var(--contour), var(--ombre);
    border-radius: var(--r-lg);
}
/* L'arête : lumineuse en haut à gauche, éteinte en bas à droite. */
.verre::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(155deg, var(--arete-haut), var(--arete-bas) 38%, var(--arete-bas) 70%, color-mix(in srgb, var(--arete-haut) 45%, transparent));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* Le reflet qui suit le pointeur (site.js pose --mx, --my) : la lumière sur la nacre. */
.verre[data-reflet]::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), transparent 62%);
    transition: opacity .4s var(--c-sortie);
}
.verre[data-reflet]:hover::before { opacity: 1; }
/* Jamais verre dans verre : un contenant posé dans un panneau devient un creux. */
.creux { background: var(--verre-creux); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--trait); }

/* Les tuiles d'icônes du portail (.p-ico), mêmes couleurs */
.ico {
    --ico: var(--marque);
    display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px;
    color: var(--ico); background: color-mix(in srgb, var(--ico) 13%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ico) 18%, transparent);
}
.ico .icone { width: 20px; height: 20px; }
.ico.blue { --ico: var(--marque); } .ico.green { --ico: #30B356; } .ico.indigo { --ico: #5E5CE6; }
.ico.orange { --ico: #F28C00; } .ico.purple { --ico: #A04FD6; } .ico.teal { --ico: #2A9FB8; }
.ico.gray { --ico: #7C7C92; } .ico.red { --ico: #E5362B; } .ico.pink { --ico: #D9468F; }

.pastille {
    --ton: var(--vert);
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
    font: 650 12.5px/1.2 var(--font); color: color-mix(in srgb, var(--ton) 82%, var(--label));
    background: color-mix(in srgb, var(--ton) 13%, transparent);
}
.pastille::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ton); }
.pastille.pro { --ton: var(--marque); }
.pastille.pro::before { display: none; }

/* ── 4. Boutons ───────────────────────────────────────────── */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 46px; padding: 0 20px; border-radius: 14px; border: 0; cursor: pointer;
    font: 600 15.5px/1 var(--font); text-decoration: none; white-space: nowrap;
    transition: transform .25s var(--c-sortie), box-shadow .25s var(--c-sortie), background-color .25s var(--c-sortie);
}
.btn .icone { width: 19px; height: 19px; }
.btn:active { transform: scale(.97); }
.btn-primaire {
    background: var(--marque); color: var(--marque-texte);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(30, 20, 120, .2), 0 10px 26px -10px rgba(74, 61, 196, .7);
}
.btn-primaire:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 2px 4px rgba(30, 20, 120, .2), 0 16px 34px -12px rgba(74, 61, 196, .8); }
.btn-verre { color: var(--label); }
.btn-verre:hover { transform: translateY(-1px); }
.btn-petit { min-height: 38px; padding: 0 14px; border-radius: 11px; font-size: 14.5px; }

/* ── 5. La barre du haut : verre flottant, comme le portail ── */
.barre {
    position: sticky; top: 12px; z-index: 50;
    width: min(var(--largeur), 100% - 2 * var(--gouttiere)); margin: 12px auto 0;
    display: flex; align-items: center; gap: 22px; padding: 8px 8px 8px 16px; border-radius: 18px;
    background-image: linear-gradient(180deg, var(--verre-chrome), var(--verre-bas)), var(--grain);
    transition: box-shadow .3s var(--c-sortie);
}
.barre.defile { box-shadow: var(--reflet), 0 0 0 1px var(--contour), var(--ombre-haute); }
.marque { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.marque img { width: 28px; height: 28px; }
.marque span { font: 700 21px/1 var(--font-titre); letter-spacing: -.03em; color: var(--label); }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--label-2); text-decoration: none; font-size: 15px; font-weight: 550; transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--creux); color: var(--label); }
.barre-actions { display: flex; align-items: center; gap: 8px; }
.langue { padding: 8px 10px; border-radius: 10px; color: var(--label-3); font: 650 13.5px/1 var(--font); letter-spacing: .03em; text-decoration: none; }
.langue b { color: var(--label); font-weight: 700; }

/* Le menu des écrans étroits (site.js l'ouvre) : les sections, l'espace
   client et la langue, que la barre n'a plus la place de montrer. Un panneau
   à part, sous la barre (jamais verre dans verre : son flou serait coupé). */
.btn-discord .court, .menu-bouton, .menu-panneau, .menu-bas { display: none; }
.menu-bouton { width: 38px; padding: 0; color: var(--label); }
.menu-bouton > span { display: grid; place-items: center; }
.menu-bouton .icone { width: 20px; height: 20px; }
.menu-bouton .i-fermer, .menu-bouton[aria-expanded="true"] .i-ouvrir { display: none; }
.menu-bouton[aria-expanded="true"] .i-fermer { display: grid; }
.menu-panneau {
    position: fixed; z-index: 49; top: var(--menu-haut, 76px); left: 50%; translate: -50% 0;
    width: min(var(--largeur), 100% - 2 * var(--gouttiere)); padding: 8px; border-radius: 18px;
    /* Plus couvrant que la barre : il passe sur les gros titres, qui ne doivent pas se lire au travers. */
    background-color: color-mix(in srgb, var(--fond) 80%, transparent);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .5)), var(--grain);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
    backdrop-filter: blur(28px) saturate(170%);
    box-shadow: var(--reflet), 0 0 0 1px var(--contour), var(--ombre-haute);
    animation: menu-entree .32s var(--c-sortie) both;
}
.menu-panneau nav { display: grid; }
.menu-panneau nav a { padding: 13px 14px; border-radius: 12px; color: var(--label); text-decoration: none; font-size: 16.5px; font-weight: 600; }
.menu-panneau nav a:hover, .menu-panneau nav a:focus-visible { background: var(--creux); }
.menu-bas { align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding: 10px 6px 4px; border-top: 1px solid var(--trait); }
@keyframes menu-entree { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.langue:hover { background: var(--creux); }

/* ── 6. Entrées (spec.md, lignes 1 à 7) ───────────────────── */
@keyframes entree {
    from { opacity: 0; filter: blur(10px); transform: translateY(20%); }
    to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes entree-douce { from { opacity: 0; } to { opacity: 1; } }
[data-entree] { animation: entree 1s var(--c-texte) both; animation-delay: var(--d, 0ms); }
.titre-ligne { display: block; }
.titre-ligne > span { display: inline-block; animation: entree 1s var(--c-texte) both; animation-delay: var(--d, 0ms); }

/* Les délais de l'entrée (spec.md) : en classes, la politique de sécurité refuse les styles en ligne. */
.d0 { --d: 0ms; } .d1 { --d: 80ms; } .d2 { --d: 200ms; } .d3 { --d: 580ms; } .d4 { --d: 700ms; }
.d5 { --d: 820ms; } .d6 { --d: 940ms; } .d7 { --d: 1300ms; }

/* Révélations au défilement : seulement si site.js tourne (.js), sinon tout est visible. */
.js [data-revele] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--c-texte), transform 1s var(--c-texte), filter 1s var(--c-texte); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-revele="texte"] { filter: blur(10px); transform: translateY(14px); }
.js [data-revele].vu { opacity: 1; transform: none; filter: none; }

/* ── 7. Ouverture ─────────────────────────────────────────── */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero-halo {
    position: absolute; z-index: -1; right: 4%; top: 6%; width: min(620px, 70vw); aspect-ratio: 1; pointer-events: none; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(124, 108, 246, .32), rgba(56, 189, 248, .16) 60%, transparent);
    filter: blur(20px); animation: halo-derive 18s ease-in-out infinite alternate;
}
@keyframes halo-derive { from { transform: translate(0, 0) scale(1); } to { transform: translate(-6%, 8%) scale(1.08); } }
.hero-grille { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-pastille {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
    font: 600 14px/1.2 var(--font); color: var(--label-2); text-decoration: none;
}
.hero-pastille .point { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--vert); box-shadow: 0 0 0 4px color-mix(in srgb, var(--vert) 18%, transparent); }
.hero-pastille .point .icone { width: 13px; height: 13px; }
.hero h1 { margin-top: 22px; font-size: clamp(46px, 6.3vw, 86px); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.hero h1 .accent > span {
    padding-bottom: .08em;
    background: linear-gradient(100deg, var(--marque) 0%, var(--marque) 38%, #B7A9FF 50%, #57C7E6 56%, var(--marque) 68%, var(--marque) 100%);
    background-size: 260% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: entree 1s var(--c-texte) both, nacre 1.8s var(--c-interface) 1.1s both;
    animation-delay: var(--d, 0ms), 1.1s;
}
/* Le reflet de nacre passe une fois sur « sur mesure. », puis le mot reste couleur marque. */
@keyframes nacre { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.hero-chapeau { margin-top: 24px; max-width: 34em; font-size: 19px; line-height: 1.55; color: var(--label-2); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-garanties { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--label-2); }
.hero-garanties li { display: flex; align-items: center; gap: 7px; }
.hero-garanties .icone { width: 17px; height: 17px; color: var(--vert); }

/* La pile de verre (motion-effects #13 « perspective shift ») */
.hero-visuel { position: relative; }
.pile { position: relative; height: 730px; perspective: 1700px; animation: entree-douce 1.5s var(--c-interface) .7s both; }
.pile-scene {
    position: absolute; inset: 0; transform-style: preserve-3d;
    transform: rotateX(calc(8deg + var(--py, 0) * -4deg)) rotateY(calc(-14deg + var(--px, 0) * 5deg));
    transition: transform .6s var(--c-sortie);
}
.couche { position: absolute; transform-style: preserve-3d; animation: ecarte 1.4s var(--c-sortie) both; animation-delay: var(--d, 900ms); }
@keyframes ecarte { from { transform: translate3d(0, 24px, 0) scale(.96); opacity: 0; } to { transform: var(--pose); opacity: 1; } }
.couche { transform: var(--pose); }
.couche-portail { --pose: translate3d(0, 0, 0); --d: 900ms; left: 10%; top: 0; width: 88%; padding: 22px; border-radius: var(--r-xl); }
.couche-discord { --pose: translate3d(0, 0, 90px); --d: 1020ms; left: -4%; top: 262px; width: 64%; }
.couche-toast { --pose: translate3d(0, 0, 150px); --d: 1140ms; right: -3%; top: 452px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; box-shadow: var(--reflet), 0 0 0 1px var(--contour), var(--ombre-haute); }
.couche-toast b { display: block; font: 650 14.5px/1.25 var(--font); }
.couche-toast span { font-size: 13px; color: var(--label-2); }

/* Le portail en miniature (les mêmes formes que l'accueil d'un bot) */
.mini-tete { display: flex; align-items: center; gap: 14px; }
.avatar { --taille: 52px; width: var(--taille); height: var(--taille); flex: none; display: grid; place-items: center; border-radius: calc(var(--taille) * .3); color: #fff; font: 700 calc(var(--taille) * .44)/1 var(--font-titre); background: linear-gradient(160deg, #6A5CF0, var(--marque)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 26px -12px var(--marque); }
.mini-tete small { display: block; font-size: 12.5px; color: var(--label-3); }
.mini-tete strong { display: block; font: 700 28px/1.1 var(--font-titre); letter-spacing: -.03em; }
.mini-etat { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 13px; color: var(--label-2); }
.mini-etat b { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--label); }
.mini-etat b::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vert) 22%, transparent); animation: pouls 2.4s ease-in-out infinite; }
@keyframes pouls { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--vert) 0%, transparent); } }
/* L'anneau : la jauge et le nombre montent ensemble jusqu'à leur valeur (site.js, data-anneau). */
.anneau { margin-left: auto; position: relative; width: 74px; height: 74px; flex: none; }
.anneau svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.anneau circle { fill: none; stroke-width: 7; }
.anneau .anneau-fond { stroke: var(--creux); }
.anneau .jauge { stroke: url(#jauge-iri); stroke-linecap: round; stroke-dasharray: 201.06; stroke-dashoffset: 46.92; }
.js .anneau:not(.parti) .jauge { stroke-dashoffset: 201.06; }
.anneau-chiffre { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font: 700 17px/1 var(--font-titre); color: var(--marque); font-variant-numeric: tabular-nums; }
.anneau.fini svg { animation: anneau-lueur 1.1s var(--c-sortie); }
@keyframes anneau-lueur {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(124, 108, 246, 0)); }
    30% { filter: drop-shadow(0 0 8px rgba(124, 108, 246, .55)); }
}
.mini-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mini-carte { padding: 12px; display: grid; gap: 8px; }
.mini-carte .haut { display: flex; justify-content: space-between; align-items: center; }
.mini-carte .ico { width: 32px; height: 32px; border-radius: 10px; }
.mini-carte .ico .icone { width: 17px; height: 17px; }
.mini-carte b { font: 650 14px/1.2 var(--font); }
.mini-carte .pastille { padding: 3px 8px; font-size: 11px; }

/* Le nom qui roule (Stripe : 325 ms, sortie cubique) */
.roule { display: inline-block; overflow: hidden; vertical-align: bottom; }
.roule > span { display: inline-block; }

.essai-nom { position: relative; display: flex; align-items: center; gap: 12px; margin: 18px auto 0; width: fit-content; max-width: 100%; padding: 8px 8px 8px 16px; border-radius: 16px; font-size: 14.5px; color: var(--label-2); }
.essai-nom label { white-space: nowrap; }
.essai-nom input { width: 150px; min-width: 0; padding: 9px 12px; border: 0; border-radius: 11px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--trait); font: 650 15px var(--font); color: var(--label); }
.essai-nom input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--marque); }

/* ── 8. Discord dessiné (les couleurs de Discord, comme _discord.ejs) ── */
.discord { font-family: var(--discord); color: #DBDEE1; background: #313338; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 30px 60px -24px rgba(20, 10, 60, .55); }
.discord-barre { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid #1F2023; font-weight: 600; color: #F2F3F5; font-size: 14.5px; }
.discord-barre .dieze { color: #80848E; font-size: 19px; font-weight: 400; line-height: 1; }
.discord-barre .serveur { margin-left: auto; color: #949BA4; font-weight: 500; font-size: 12.5px; }
.message { display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; padding: 14px 14px 16px; }
.message .avatar { --taille: 40px; border-radius: 50%; background: #5865F2; box-shadow: none; font-family: var(--discord); }
.message-tete { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; line-height: 1.375; }
.message-tete .nom { color: #F2F3F5; font-weight: 600; font-size: 15.5px; }
.badge-app { background: #5865F2; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; transform: translateY(-1px); }
.message-tete time { color: #949BA4; font-size: 12px; }
.embed { margin-top: 6px; background: #2B2D31; border-left: 4px solid #C9BCF5; border-radius: 4px; padding: 9px 14px 12px 12px; }
.embed-titre { color: #F2F3F5; font-weight: 700; font-size: 15px; }
.embed-texte { font-size: 14px; line-height: 1.45; margin-top: 5px; }
.embed-pied { margin-top: 8px; font-size: 12px; color: #B5BAC1; }
.menu { margin-top: 8px; }
.menu-champ { display: flex; justify-content: space-between; align-items: center; background: #1E1F22; border-radius: 4px 4px 0 0; padding: 9px 12px; color: #949BA4; font-size: 14px; }
.menu-champ .icone { width: 16px; height: 16px; color: #DBDEE1; transform: rotate(180deg); }
.menu-liste { background: #2B2D31; border: 1px solid #1E1F22; border-top: 0; border-radius: 0 0 4px 4px; }
.menu-option { display: grid; grid-template-columns: 24px 1fr; gap: 0 8px; padding: 8px 12px; font-size: 14px; }
.menu-option:first-child { background: #36373D; }
.menu-option .em { font-size: 17px; line-height: 1.2; grid-row: span 2; }
.menu-option b { color: #F2F3F5; font-weight: 500; }
.menu-option small { color: #949BA4; font-size: 12.5px; }

/* ── 9. Sections ──────────────────────────────────────────── */
section { padding: clamp(56px, 7.5vw, 100px) 0; }
.tete-section { display: grid; gap: 16px; max-width: 720px; margin-bottom: 48px; }
.tete-section.centre { margin-inline: auto; text-align: center; justify-items: center; }
.surtitre { display: inline-flex; align-items: center; gap: 8px; font: 650 13.5px/1 var(--font); color: var(--marque); letter-spacing: .01em; }
.surtitre .icone { width: 16px; height: 16px; }
h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; line-height: 1.04; letter-spacing: -.04em; }
h2 em { font-style: normal; color: var(--marque); }
.chapeau { font-size: 18.5px; line-height: 1.55; color: var(--label-2); max-width: 36em; text-wrap: pretty; }

/* Faits */
.faits { padding: 0 0 clamp(24px, 4vw, 40px); }
.faits ul { list-style: none; margin-top: 0; margin-bottom: 0; padding: 8px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-xl); }
.faits li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.faits li + li { border-left: 1px solid var(--trait); }
.faits b { display: block; font: 650 15.5px/1.25 var(--font); }
.faits span { font-size: 13.5px; color: var(--label-2); }

/* Étapes */
.etapes { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.etape { padding: 26px; display: grid; gap: 12px; align-content: start; }
.etape .haut { display: flex; align-items: center; justify-content: space-between; }
.etape .num { font: 700 14px/1 var(--font-titre); color: var(--label-3); font-variant-numeric: tabular-nums; }
.etape h3 { font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
.etape p { color: var(--label-2); font-size: 15.5px; }
/* Les trois étapes s'allument le long de leur rail (site.js, data-etapes) :
   même langage que le suivi d'une commande. Les centres des trois colonnes
   (écart 18 px) : (100% - 36px) / 6, 50 %, et leur symétrique. */
.etapes-rail { position: relative; grid-column: 1 / -1; height: 26px; margin-bottom: 4px; }
.rail-fond, .rail-plein { position: absolute; top: 11px; height: 3px; border-radius: 3px; left: calc((100% - 36px) / 6); right: calc((100% - 36px) / 6); background: var(--creux); }
.rail-plein { background: linear-gradient(90deg, #6A5CF0, var(--marque) 55%, #57C7E6); transform-origin: left; transform: scaleX(1); }
.js [data-etapes] .rail-plein { transform: scaleX(0); }
.rail-point { position: absolute; top: 0; width: 25px; height: 25px; margin-left: -12.5px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--marque); box-shadow: 0 0 0 4px rgba(255, 255, 255, .85); transition: transform .5s var(--c-sortie), background-color .35s, box-shadow .5s; }
.rail-point.p1 { left: calc((100% - 36px) / 6); }
.rail-point.p2 { left: 50%; }
.rail-point.p3 { left: calc(100% - (100% - 36px) / 6); }
.rail-point .coche { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 0; transition: stroke-dashoffset .38s var(--c-sortie) .12s; }
.rail-point .onde { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--marque); opacity: 0; pointer-events: none; }
.rail-point.ok .onde { animation: onde .8s var(--c-sortie); }
.rail-point.ok.p3 { box-shadow: 0 0 0 4px rgba(255, 255, 255, .85), 0 0 18px rgba(124, 108, 246, .55); }
.js [data-etapes] .rail-point:not(.ok) { transform: scale(.68); background: #D4D1EC; box-shadow: 0 0 0 4px rgba(255, 255, 255, .6); }
.js [data-etapes] .rail-point:not(.ok) .coche { stroke-dashoffset: 20; }
.etape .haut, .etape h3, .etape p { transition: opacity .45s var(--c-sortie), transform .45s var(--c-sortie), filter .45s var(--c-sortie); }
.etape .num { transition: color .35s; }
.js [data-etapes] .etape:not(.allumee) .haut { opacity: .5; filter: grayscale(1); }
.js [data-etapes] .etape:not(.allumee) h3, .js [data-etapes] .etape:not(.allumee) p { opacity: .35; transform: translateY(4px); }
.etape.allumee .num { color: var(--marque); }
.etape.allumee { box-shadow: var(--reflet), 0 0 0 1px color-mix(in srgb, var(--marque) 24%, transparent), var(--ombre); }

/* L'espace client épinglé (site.js, data-scene) : sur un grand écran, la
   section reste à l'écran le temps de ses quatre écrans ; une fine barre
   sous les onglets montre où on en est. Ailleurs : les onglets habituels. */
.scene-progres { display: none; }
.scene-espace.epinglee { height: 300vh; }
.scene-espace.epinglee .scene-collee { position: sticky; top: 92px; min-height: calc(100vh - 112px); display: flex; flex-direction: column; justify-content: center; }
.scene-espace.epinglee .onglets { align-self: flex-start; }
.scene-espace.epinglee .scene-progres { display: block; width: min(440px, 100%); height: 3px; margin: -12px 0 20px; border-radius: 3px; background: var(--creux); overflow: hidden; }
.scene-progres > span { display: block; height: 100%; background: linear-gradient(90deg, #6A5CF0, var(--marque) 55%, #57C7E6); transform-origin: left; transform: scaleX(0); }

/* La vidéo : son cadre grandit en arrivant (site.js, la propriété scale) */
.video { transform-origin: 50% 30%; will-change: scale; }

/* Vidéo (motion-effects #01 « bouton → lecteur ») */
/* La vidéo, servie par le site (plus de YouTube) : affiche, bouton qui s'efface, lecteur natif. */
.video { position: relative; margin-top: 22px; padding: 10px; border-radius: var(--r-2xl); }
.video-cadre { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0E1424; }
.video-cadre video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0E1424; transition: transform 1.2s var(--c-sortie); }
.video:not(.joue):hover .video-cadre video { transform: scale(1.025); }
.video-lancer { position: absolute; inset: 0; width: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: end center; padding-bottom: clamp(18px, 4%, 36px); transition: opacity .4s var(--c-sortie), transform .5s var(--c-sortie); }
.video.joue .video-lancer { opacity: 0; transform: scale(.96); pointer-events: none; }
.jouer { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 10px; border-radius: 999px; color: var(--label); font: 650 16px/1 var(--font); transition: transform .35s var(--c-sortie); }
.jouer small { font-weight: 550; color: var(--label-3); font-variant-numeric: tabular-nums; }
.jouer .rond { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--marque); color: #fff; box-shadow: 0 10px 24px -10px var(--marque); }
.jouer .rond::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(124, 108, 246, .45); animation: appel 2.4s var(--c-sortie) infinite; }
@keyframes appel { 0% { transform: scale(.85); opacity: 1; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.jouer .rond .icone { width: 20px; height: 20px; margin-left: 2px; }
.video-lancer:hover .jouer { transform: scale(1.05); }

/* Fonctions : les cartes de l'accueil d'un bot */
.grille-fonctions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fonction { padding: 18px; display: grid; gap: 10px; align-content: start; }
.fonction .haut { display: flex; justify-content: space-between; align-items: flex-start; }
.fonction .ico .icone { width: 21px; height: 21px; }
.fonction h3 { font: 650 17px/1.25 var(--font); letter-spacing: -.01em; }
.fonction p { font-size: 14.5px; line-height: 1.5; color: var(--label-2); }

/* Espace client : onglets (motion-effects #04 : la pastille s'étire) */
.onglets { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 14px; margin-bottom: 22px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.onglet { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 9px 15px; border-radius: 10px; white-space: nowrap; font: 600 14.5px/1.2 var(--font); color: var(--label-2); transition: color .3s var(--c-sortie); }
.onglet[aria-selected="true"] { color: var(--label); }
.onglets-pastille { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 10px; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 2px rgba(30, 30, 80, .08), 0 6px 16px -8px rgba(60, 50, 150, .35); }
.vitrine { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.vitrine-texte h3 { font-size: 28px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 10px; }
.vitrine-texte p { color: var(--label-2); }
.cadre { padding: 8px; border-radius: var(--r-2xl); }
.cadre-barre { display: flex; align-items: center; gap: 6px; padding: 6px 8px 10px; }
.cadre-barre i { width: 10px; height: 10px; border-radius: 50%; background: rgba(40, 40, 90, .14); }
.cadre-barre span { margin-left: 10px; padding: 4px 12px; border-radius: 8px; font: 500 12px/1.2 var(--mono); color: var(--label-3); background: var(--creux); }
.cadre-image { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: #E9E6F7; }
.cadre-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.panneau[hidden] { display: none; }

/* Sur mesure : la piste d'une commande qui se remplit */
.sur-mesure { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.option { padding: 18px; display: grid; gap: 8px; align-content: start; }
.option h3 { font: 650 16.5px/1.25 var(--font); }
.option p { font-size: 14.5px; color: var(--label-2); }
.note-pro { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 14px 16px; font-size: 14.5px; color: var(--label-2); }
.note-pro b { color: var(--label); }
.suivi { padding: 22px; border-radius: var(--r-xl); }
.suivi-tete { display: flex; align-items: flex-start; gap: 12px; }
.suivi-tete small { display: block; font-size: 13px; color: var(--label-3); }
.suivi-tete b { display: block; font: 650 17px/1.3 var(--font); }
.suivi-tete .pastille { margin-left: auto; }
/* Le suivi d'une commande : la barre avance d'étape en étape, chaque étape se valide (site.js, data-suivi). */
.piste { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin: 26px 0 6px; }
.piste-fond, .piste-pleine { position: absolute; left: 10%; right: 10%; top: 11px; height: 3px; border-radius: 3px; background: var(--creux); }
.piste-pleine { background: linear-gradient(90deg, #6A5CF0, var(--marque) 55%, #57C7E6); transform-origin: left; transform: scaleX(1); }
.piste-pleine::after { content: ''; position: absolute; right: -4px; top: 50%; width: 10px; height: 10px; border-radius: 50%; translate: 0 -50%; background: #fff; box-shadow: 0 0 0 3px rgba(87, 199, 230, .35), 0 0 14px rgba(87, 199, 230, .9); opacity: 0; transition: opacity .3s; }
.suivi.avance .piste-pleine::after { opacity: 1; }
.js [data-suivi]:not(.parti) .piste-pleine { transform: scaleX(0); }
.etape-piste { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; }
.etape-piste .rond { position: relative; width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--marque); box-shadow: 0 0 0 4px rgba(255, 255, 255, .85); transition: transform .5s var(--c-sortie), background-color .35s, box-shadow .5s; }
.etape-piste .coche { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 0; transition: stroke-dashoffset .38s var(--c-sortie) .12s; }
.etape-piste .onde { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--marque); opacity: 0; pointer-events: none; }
.etape-piste b { font: 600 13px/1.2 var(--font); transition: opacity .35s var(--c-sortie), transform .35s var(--c-sortie); }
.etape-piste .date { font-size: 12px; color: var(--label-3); transition: opacity .35s .1s, transform .35s .1s; }
.js [data-suivi] .etape-piste:not(.ok) .rond { transform: scale(.68); background: #D4D1EC; box-shadow: 0 0 0 4px rgba(255, 255, 255, .6); }
.js [data-suivi] .etape-piste:not(.ok) .coche { stroke-dashoffset: 20; }
.js [data-suivi] .etape-piste:not(.ok) b { opacity: .18; transform: translateY(4px); }
.js [data-suivi] .etape-piste:not(.ok) .date { opacity: 0; transform: translateY(4px); }
.etape-piste.ok .onde { animation: onde .8s var(--c-sortie); }
@keyframes onde { from { opacity: .55; transform: scale(1); } to { opacity: 0; transform: scale(2.4); } }
.etape-piste.ok:last-of-type .rond { box-shadow: 0 0 0 4px rgba(255, 255, 255, .85), 0 0 18px rgba(124, 108, 246, .55); }
.js [data-suivi] .historique li:not(.ok) { opacity: 0; transform: translateY(8px); }
.historique li { transition: opacity .45s var(--c-sortie), transform .45s var(--c-sortie); }
.suivi-tete .pastille { transition: opacity .35s var(--c-roule), transform .45s var(--c-sortie); }
.js [data-suivi]:not(.fini) .suivi-tete .pastille { opacity: 0; transform: scale(.82); }
.historique { margin: 18px 0 0; padding: 14px 16px; list-style: none; display: grid; gap: 8px; font-size: 13.5px; }
.historique li { display: flex; justify-content: space-between; gap: 12px; color: var(--label-2); }
.historique li b { font-weight: 600; color: var(--label); }
.exemple { margin-top: 10px; font-size: 12.5px; color: var(--label-3); text-align: right; }

/* Offres */
.bascule { position: relative; display: inline-flex; padding: 4px; border-radius: 14px; margin-bottom: 26px; }
.bascule button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 9px 16px; border-radius: 10px; font: 600 14.5px/1.2 var(--font); color: var(--label-2); transition: color .3s; }
.bascule button[aria-pressed="true"] { color: var(--label); }
.bascule small { color: var(--marque); font-weight: 650; }
.bascule .onglets-pastille { transition: left .5s var(--c-sortie), width .5s var(--c-sortie); }
.offres { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.offre { padding: 30px; border-radius: var(--r-2xl); display: flex; flex-direction: column; }
.offre-pro { box-shadow: var(--reflet), 0 0 0 1.5px color-mix(in srgb, var(--marque) 45%, transparent), 0 30px 70px -26px rgba(74, 61, 196, .5); }
.offre-pro::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: radial-gradient(70% 60% at 80% 0%, rgba(124, 108, 246, .28), transparent 70%); pointer-events: none; }
.offre-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.offre h3 { font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.offre .pour { margin-top: 6px; color: var(--label-2); }
.offre .prix { margin: 26px 0 2px; display: flex; align-items: baseline; gap: 8px; }
.offre .prix b { font: 700 52px/1 var(--font-titre); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.offre .prix span { color: var(--label-2); font-weight: 500; }
.offre .detail-prix { font-size: 14px; color: var(--label-3); min-height: 22px; }
.offre ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 11px; font-size: 15.5px; }
.offre li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.offre li .icone { width: 20px; height: 20px; margin-top: 2px; color: var(--marque); }
.offre .btn { margin-top: auto; align-self: stretch; }
.devis { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin-top: 18px; padding: 22px 26px; border-radius: var(--r-xl); }
.devis h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.devis p { color: var(--label-2); font-size: 15.5px; }
.promesses { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.promesses li { padding: 18px; display: grid; gap: 8px; align-content: start; font-size: 14.5px; color: var(--label-2); }
.promesses b { color: var(--label); font: 650 15.5px/1.3 var(--font); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-gauche { position: sticky; top: 110px; }
.faq-gauche p { margin-top: 16px; color: var(--label-2); }
.faq-gauche .btn { margin-top: 24px; }
.faq-liste { padding: 6px 20px; border-radius: var(--r-xl); }
details + details { border-top: 1px solid var(--trait); }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font: 650 17px/1.35 var(--font); }
summary::-webkit-details-marker { display: none; }
summary .icone { width: 18px; height: 18px; color: var(--label-3); transition: transform .35s var(--c-sortie); }
details[open] summary .icone { transform: rotate(180deg); }
.reponse { padding: 0 0 20px; color: var(--label-2); display: grid; gap: 10px; max-width: 62ch; }
details[open] .reponse { animation: entree-douce .45s var(--c-sortie); }
.reponse strong { color: var(--label); font-weight: 650; }
.reponse ul, .texte-long ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* Appel final */
.final .carte-finale { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: var(--r-2xl); }
.carte-finale::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, rgba(124, 108, 246, .3), transparent 70%), radial-gradient(50% 80% at 0% 100%, rgba(56, 189, 248, .2), transparent 70%); }
.carte-finale p { margin-top: 14px; color: var(--label-2); max-width: 34em; }
.carte-finale .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.grande-arche { width: clamp(140px, 18vw, 220px); filter: drop-shadow(0 20px 40px rgba(74, 61, 196, .35)); }

/* Pied */
.pied { padding: 48px 0 32px; font-size: 14.5px; color: var(--label-2); }
.pied .conteneur { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
.pied h4 { margin: 0 0 12px; font: 650 14px var(--font); }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--label); }
.pied-phrase { margin-top: 12px; max-width: 30ch; }
.pied .bas { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; margin-top: 8px; border-top: 1px solid var(--trait); font-size: 13.5px; color: var(--label-3); }
.pied .bas a { text-decoration: underline; }

/* ── 10. Petits éléments de texte ─────────────────────────── */
.mention { color: #C9CDFB; background: rgba(88, 101, 242, .3); border-radius: 3px; padding: 0 2px; }
.salon { color: var(--marque); text-decoration: none; background: var(--marque-doux); border-radius: 6px; padding: 0 6px; font-weight: 600; white-space: nowrap; }
.salon:hover { background: color-mix(in srgb, var(--marque) 20%, transparent); }
code { font: 500 .9em var(--mono); background: var(--creux); border-radius: 6px; padding: 1px 6px; }

/* ── 11. Pages de texte (conditions, confidentialité, mentions) ── */
.texte-long { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
.texte-long .conteneur { max-width: 820px; }
.texte-carte { padding: clamp(24px, 5vw, 52px); border-radius: var(--r-2xl); }
.texte-long h1 { font-size: clamp(38px, 5vw, 56px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.texte-long .intro { margin-top: 16px; color: var(--label-2); font-size: 17.5px; }
.texte-long .maj { margin-top: 8px; color: var(--label-3); font-size: 14px; }
.texte-long section { padding: 0; margin-top: 36px; scroll-margin-top: 100px; }
.texte-long h2 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 10px; }
.texte-long p, .texte-long li { color: var(--label-2); }
.texte-long p + p, .texte-long p + ul, .texte-long ul + p { margin-top: 10px; }
.texte-long strong { color: var(--label); font-weight: 650; }
.texte-long a:not(.salon):not(.btn) { color: var(--marque); }
.sommaire { margin: 28px 0 0; padding: 16px 20px; columns: 2; column-gap: 28px; list-style: none; font-size: 15px; }
.sommaire li { break-inside: avoid; padding: 3px 0; }
.sommaire a { color: var(--label-2) !important; text-decoration: none; }
.sommaire a:hover { color: var(--marque) !important; }
.a-completer { color: #C2410C; font-style: italic; }
.page-404 .texte-carte { text-align: center; }
.page-404 .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

/* ── 12. Écrans étroits ───────────────────────────────────── */
@media (max-width: 1040px) {
    .nav { display: none; }
    .barre-actions { margin-left: auto; }
    .js .menu-bouton { display: inline-flex; }
    .menu-panneau:not([hidden]) { display: block; }
    .hero-grille, .sur-mesure, .faq, .vitrine { grid-template-columns: 1fr; }
    .grille-fonctions { grid-template-columns: repeat(2, 1fr); }
    .faits ul { grid-template-columns: 1fr 1fr; }
    .faits li:nth-child(3) { border-left: 0; }
    .promesses { grid-template-columns: 1fr 1fr; }
    .faq-gauche { position: static; }
    .pile { height: 730px; max-width: 620px; margin-inline: auto; }
    .pied .conteneur { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    body { font-size: 16px; }
    .barre { gap: 8px; padding-left: 12px; }
    .barre-actions .langue, .barre-actions .lien-espace { display: none; }
    .btn-discord .long { display: none; }
    .btn-discord .court { display: inline; }
    .menu-bas { display: flex; }
    .hero h1 { font-size: clamp(40px, 11vw, 56px); }
    .hero-chapeau { font-size: 17px; }
    .pile { height: auto; perspective: none; }
    .pile-scene { position: static; transform: none !important; display: grid; gap: 12px; }
    .couche { position: relative; inset: auto; width: auto !important; --pose: none; }
    .couche-toast { order: -1; }
    .etapes, .offres, .options, .grille-fonctions, .promesses { grid-template-columns: 1fr; }
    .etapes-rail { display: none; }
    .faits ul { grid-template-columns: 1fr; }
    .faits li + li { border-left: 0; border-top: 1px solid var(--trait); }
    .devis, .final .carte-finale { grid-template-columns: 1fr; }
    .grande-arche { display: none; }
    .offre { padding: 24px; }
    .essai-nom { flex-wrap: wrap; }
    .piste { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .etape-piste .date { display: none; }
    .sommaire { columns: 1; }
    .pied .conteneur { grid-template-columns: 1fr; }
}

/* Moins d'animations : tout à l'état final, aucune boucle. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
    .hero-halo, .mini-etat b::before { animation: none !important; }
    .pile-scene { transform: rotateX(8deg) rotateY(-14deg) !important; }
}

/* ── 13. Holographique : au survol, la carte s'irise et son icône devient chrome ──
   Recette des cartes holographiques (couches de dégradés, modes de fusion,
   position du pointeur en variables CSS : voir docs/SITE-VITRINE.md), aux
   couleurs de la nacre du logo. Le film irisé est en « multiply » : sur le
   verre blanc il donne des teintes de nacre, et le texte reste lisible. */
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes tourne { to { --angle: 360deg; } }

.grille-fonctions, .etapes, .options, .promesses, .offres, .faits ul, .sur-mesure { perspective: 1100px; }
[data-holo] { transition: rotate .5s var(--c-sortie), translate .5s var(--c-sortie), box-shadow .45s var(--c-sortie); }
.js [data-revele][data-holo] {
    transition: opacity 1s var(--c-texte), transform 1s var(--c-texte), filter 1s var(--c-texte), rotate .5s var(--c-sortie), translate .5s var(--c-sortie), box-shadow .45s var(--c-sortie);
    transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s, 0s, 0s;
}
[data-holo] > :not(.holo) { position: relative; z-index: 1; }
.verre[data-holo]::before { display: none; }
.holo { position: absolute; inset: 0; z-index: 0; border-radius: inherit; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .5s var(--c-sortie); }
/* Le film irisé, qui glisse avec le pointeur */
.holo::before {
    content: ''; position: absolute; inset: -1px; mix-blend-mode: multiply; opacity: .62;
    background: repeating-linear-gradient(115deg, #F6C6D5 0%, #DCCDFB 6%, #BDE6F2 12%, #C3EBDD 18%, #F4E3B2 24%, #F6C6D5 30%);
    background-size: 340% 340%; background-position: var(--fx, 50%) var(--fy, 50%);
}
/* Le reflet sous le pointeur et la trame fine du film holographique */
.holo::after {
    content: ''; position: absolute; inset: 0; mix-blend-mode: soft-light;
    background:
        radial-gradient(farthest-corner circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .45) 18%, transparent 52%),
        repeating-linear-gradient(-55deg, transparent 0 3px, rgba(255, 255, 255, .55) 3px 4px);
}
[data-holo]:hover .holo, [data-holo].irise .holo { opacity: 1; }
[data-holo]:hover {
    translate: 0 -3px;
    box-shadow: var(--reflet), 0 0 0 1px var(--contour), 0 26px 60px -26px rgba(124, 108, 246, .55), 0 12px 32px -20px rgba(87, 199, 230, .55);
}
/* L'arête devient un liseré arc-en-ciel qui tourne */
.verre[data-holo]:hover::after, .verre[data-holo].irise::after {
    padding: 1.5px;
    background: conic-gradient(from var(--angle), #F2C4CF, #C9BCF5, #A3DDD5, #EFDDAA, #F2C4CF);
    animation: tourne 4s linear infinite;
}
/* L'icône : une tuile de nacre qui tourne, un pictogramme chrome irisé */
[data-holo] .ico { transition: transform .55s var(--c-sortie), box-shadow .45s var(--c-sortie); }
[data-holo] .ico .icone { transition: transform .55s var(--c-sortie); }
[data-holo]:hover .ico, [data-holo].irise .ico {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .08) 46%, rgba(255, 255, 255, .55)),
        conic-gradient(from var(--angle), #F2C4CF, #C9BCF5, #A3DDD5, #EFDDAA, #F2C4CF);
    box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(74, 61, 196, .22), 0 0 0 1px rgba(255, 255, 255, .85), 0 10px 22px -8px rgba(124, 108, 246, .6);
    transform: scale(1.1) rotate(-5deg);
    animation: tourne 5s linear infinite;
}
[data-holo]:hover .ico .icone, [data-holo].irise .ico .icone {
    fill: url(#chrome-iri);
    transform: scale(1.14);
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9)) drop-shadow(0 1px 1.5px rgba(40, 30, 120, .45));
}
.faits li { position: relative; border-radius: 14px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* La validation finale d'une commande : un passage de nacre sur toute la carte */
.suivi.passe .holo { animation: passe 1.8s var(--c-interface); }
.suivi.passe .holo::before { animation: passe-film 1.8s var(--c-interface); }
@keyframes passe { 0%, 100% { opacity: 0; } 30%, 60% { opacity: 1; } }
@keyframes passe-film { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (hover: none) { [data-holo]:hover { translate: none; } }
@media (prefers-reduced-motion: reduce) {
    [data-holo] { rotate: none !important; }
    .verre[data-holo]:hover::after, [data-holo]:hover .ico { animation: none !important; }
    .jouer .rond::after { display: none; }
}

/* En mode épinglé, les quatre écrans sont superposés : fondu enchaîné, jamais d'image vide. */
.scene-espace.epinglee .scene-panneaux { display: grid; }
/* Les captures, au même endroit dans le même cadre, se fondent l'une sur l'autre ;
   les textes suivent « la sortie plus rapide que l'entrée » pour ne jamais se chevaucher. */
.scene-espace.epinglee .scene-panneaux > .panneau { grid-area: 1 / 1; z-index: 2; visibility: visible; transition: visibility 0s; }
.scene-espace.epinglee .scene-panneaux > .panneau[hidden] { display: grid; z-index: 1; visibility: hidden; transition: visibility 0s .45s; }
.scene-espace.epinglee .panneau .cadre { transition: opacity .45s var(--c-interface); }
/* L'ancienne capture reste pleine dessous pendant que la nouvelle arrive dessus, puis s'efface d'un coup. */
.scene-espace.epinglee .panneau[hidden] .cadre { opacity: 0; transition: opacity 0s .45s; }
.scene-espace.epinglee .panneau .vitrine-texte { transition: opacity .42s var(--c-sortie) .14s, transform .5s var(--c-sortie) .14s; }
.scene-espace.epinglee .panneau[hidden] .vitrine-texte { opacity: 0; transform: translateY(-6px); transition: opacity .16s ease-in, transform .16s ease-in; }
