/* Ma Pointeuse — site commercial. Charte : voir DESIGN.md (thème sombre uniquement). */

@font-face { font-family: 'Clash Grotesk'; src: url('../fonts/clash-grotesk-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Clash Grotesk'; src: url('../fonts/clash-grotesk-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
    --abyss: #060419;
    --panel: #0d0b28;
    --plum: #141230;
    --dark-plum: #1b0e27;
    --line: #4e4e6c;
    --line-soft: #26244a;
    --line-glow: #acb0e3;
    --white: #ffffff;
    --text: #c4c2d6;
    --muted: #b8b8c8;
    --indigo: #2f39ba;
    --magenta: #ff5ec4;
    --orchid: #f092dd;
    --gradient: linear-gradient(90deg, #2f39ba 0%, #ff5ec4 100%);
    --ok: #5eead4;
    --pause: #ffc8eb;

    --display: 'Clash Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --body: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --radius: 6px;
    --max: 1200px;
    --gutter: 24px;
    --gap: 96px;
    --shadow: rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.1) 0 4px 6px -4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--abyss);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.045em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--line-glow); outline-offset: 3px; border-radius: var(--radius); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--abyss); padding: 10px 16px; border-radius: var(--radius); font-weight: 700; }
.skip:focus { top: 16px; }

/* ---------- Typographie ---------- */
.display {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(40px, 5.6vw, 72px);
    line-height: 1;
    letter-spacing: 0;
    color: var(--white);
}
.display--sm { font-size: clamp(36px, 5.6vw, 60px); line-height: 1.05; }
.title {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(32px, 4.6vw, 48px);
    line-height: 1.1;
    letter-spacing: 0;
    color: var(--white);
    text-wrap: balance;
}
.title .dim { color: var(--line); }
.grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; line-height: 1.56; color: var(--text); max-width: 560px; }
.caption { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 24px; }

/* Lignes révélées par GSAP */
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line__in { display: block; will-change: transform; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px; border-radius: var(--radius);
    font: 700 14px/1.43 var(--body); letter-spacing: 0.045em; white-space: nowrap;
    border: 1px solid transparent;
    transition: background-color .2s, border-color .2s, color .2s, box-shadow .3s;
}
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--white { background: var(--white); color: var(--abyss); }
.btn--white:hover { box-shadow: 0 0 0 4px rgba(172, 176, 227, .18), 0 0 40px rgba(255, 94, 196, .25); }
.btn--ghost { border-color: var(--line); color: var(--white); font-weight: 500; }
.btn--ghost:hover { border-color: var(--line-glow); background: rgba(172, 176, 227, .06); }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: rgba(6, 4, 25, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line-soft); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); white-space: nowrap; }
.brand__mark { width: 28px; height: 28px; }
.brand__name { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: 0; }
.nav__links { display: flex; gap: clamp(14px, 2vw, 32px); font-size: 14px; font-weight: 500; white-space: nowrap; }
@media (max-width: 1180px) { .nav__in { gap: 16px; } .nav__actions { gap: 14px; } }
.nav__links a { color: var(--text); transition: color .2s; }
.nav__links a:hover { color: var(--white); }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__login { font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap; }
.nav__login:hover { color: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 112px 0 96px; overflow: hidden; }
.hero__bg, .final__bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.hero .orb--indigo { width: 620px; height: 620px; right: -120px; top: -140px; background: radial-gradient(circle, #2f39ba 0%, transparent 68%); }
.hero .orb--magenta { width: 460px; height: 460px; right: 22%; bottom: -200px; background: radial-gradient(circle, rgba(255, 94, 196, .7) 0%, transparent 68%); opacity: .35; }
.grid-lines {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(172, 176, 227, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(172, 176, 227, .06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 0%, transparent 75%);
}
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__copy .lead { margin-top: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__note { margin-top: 24px; font-size: 14px; color: var(--muted); }

@media (min-width: 1024px) { .hero .line { white-space: nowrap; } }

/* Maquettes flottantes */
.stage { position: relative; height: 560px; perspective: 1400px; }
.mock {
    position: absolute; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow), 0 30px 80px -20px rgba(47, 57, 186, .45);
    color: var(--text); font-size: 12px; will-change: transform; transform-style: preserve-3d;
}
.mock small { color: var(--muted); font-size: 11px; }
.mock b { color: var(--white); font-weight: 700; }

.mock--dash { left: 0; top: 96px; width: min(380px, 78%); padding: 12px; }
.mock__bar { display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.mock__bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.mock__bar b { margin-left: 8px; font-size: 11px; font-weight: 500; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { background: var(--plum); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 10px 12px; }
.tile small { display: block; color: var(--muted); font-size: 11px; }
.tile strong { font: 700 26px/1.1 var(--display); letter-spacing: 0; color: var(--white); }
.rows { margin-top: 12px; display: grid; gap: 6px; }
.rows li { display: grid; grid-template-columns: 10px 1fr auto auto; align-items: center; gap: 10px; padding: 8px 10px; background: var(--plum); border-radius: var(--radius); color: var(--white); }
.rows li span { color: var(--muted); font-variant-numeric: tabular-nums; }
.rows--sm li { grid-template-columns: 10px 1fr auto; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--on { background: var(--ok); box-shadow: 0 0 10px rgba(94, 234, 212, .7); }
.dot--pause { background: var(--magenta); box-shadow: 0 0 10px rgba(255, 94, 196, .6); }
.chip { border-radius: 9999px; padding: 3px 9px; font-size: 10px; font-weight: 700; }
.chip--on { background: rgba(94, 234, 212, .12); color: var(--ok); }
.chip--pause { background: rgba(255, 94, 196, .14); color: var(--pause); }
.chip--idle { background: var(--plum); color: var(--text); border: 1px solid var(--line-soft); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; margin-top: 14px; padding: 0 4px; }
.bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #ff5ec4, #2f39ba); transform-origin: bottom; }
.bars i:nth-child(odd) { background: linear-gradient(180deg, #acb0e3, #2f39ba); }

.mock--phone { right: 0; top: 0; width: 210px; padding: 26px 18px 20px; text-align: center; border-radius: 22px; border-color: var(--line-glow); }
.phone__notch { position: absolute; top: 9px; left: 50%; width: 64px; height: 6px; margin-left: -32px; border-radius: 9999px; background: var(--line-soft); }
.phone__name { color: var(--white); font-weight: 700; font-size: 13px; }
.phone__clock { font: 700 34px/1.2 var(--display); letter-spacing: 0; color: var(--white); margin: 8px 0 10px; font-variant-numeric: tabular-nums; }
.phone__btn { margin-top: 22px; padding: 18px 10px; border-radius: 12px; background: var(--white); color: var(--abyss); font-weight: 700; font-size: 13px; }
.phone__hint { margin-top: 12px; font-size: 10px; color: var(--muted); }

.mock--qr { right: 36px; bottom: 0; width: 160px; padding: 16px; text-align: center; }
.mock--qr b { display: block; margin-top: 10px; font-size: 11px; }
.qr { width: 100%; aspect-ratio: 1; margin-top: 8px; background: var(--white); border-radius: 4px; padding: 8px; display: grid; }
.qr svg { width: 100%; height: 100%; }
.qr--sm { width: 96px; margin: 0; }
.qr--md { width: 150px; margin: 14px auto; }

.mock--toast { left: 24px; bottom: 40px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--plum); border-color: var(--line-glow); }
.mock--toast b { display: block; font-size: 12px; }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 24px; height: 40px; margin-left: -12px; border: 1px solid var(--line); border-radius: 9999px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--line-glow); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- Bandeau de confiance ---------- */
.trust { padding: 48px 0 0; }
.trust .caption { text-align: center; }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; padding: 32px 0; border-block: 1px solid var(--line-soft); }
.trust__list li { display: flex; align-items: center; gap: 14px; }
.trust__list svg, .who__item svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.trust__list b { display: block; color: var(--white); font-weight: 700; font-size: 15px; }
.trust__list span { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-top: var(--gap); }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__head .caption { margin-bottom: 16px; }

/* Cartes de fonctionnalités */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
    position: relative; background: var(--panel); border: 1px solid var(--plum); border-radius: var(--radius);
    padding: 24px; overflow: hidden; transition: border-color .3s, transform .3s;
}
.card::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 57, 186, .35), transparent 60%);
}
.card:hover { border-color: var(--line); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card h3 { font: 700 20px/1.4 var(--body); color: var(--white); margin-top: 24px; }
.card p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.card__art {
    height: 168px; border-radius: var(--radius); background: var(--abyss); border: 1px solid var(--plum);
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; overflow: hidden; position: relative;
}
.art-clock { flex-wrap: wrap; align-content: center; }
.pill { border-radius: var(--radius); padding: 10px 14px; font-size: 13px; font-weight: 700; border: 1px solid var(--line-soft); color: var(--text); }
.pill--in { background: var(--white); color: var(--abyss); border-color: var(--white); }
.pill--pause { color: var(--pause); }
.pill--back { color: var(--line-glow); }
.scanline { position: absolute; left: 50%; top: 30%; width: 128px; height: 2px; margin-left: -64px; background: var(--gradient); box-shadow: 0 0 16px var(--magenta); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(68px); } }
.art-live { align-items: stretch; }
.art-live .tile { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.art-log { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 20px; }
.art-log p { display: flex; flex-direction: column; gap: 6px; font-size: 15px; margin: 0; }
.art-log s { color: var(--line); }
.art-log b { color: var(--white); }
.art-log small { font-size: 11px; color: var(--muted); line-height: 1.4; }
.art-report { align-items: flex-end; justify-content: space-between; }
.bars--lg { flex: 1; height: 110px; margin: 0; }
.file { align-self: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 10px; font-size: 11px; color: var(--white); }
.art-sites { flex-wrap: wrap; align-content: center; }
.tag { border: 1px solid var(--line-soft); border-radius: 9999px; padding: 7px 14px; font-size: 12px; color: var(--text); }
.tag--hi { border-color: var(--magenta); color: var(--pause); }

/* Étapes */
.steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.steps .caption { margin-bottom: 16px; }
.timeline { position: relative; margin-top: 48px; display: grid; gap: 48px; --progress: 0; }
.timeline::before, .timeline::after { content: ''; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: var(--line-soft); }
.timeline::after { background: var(--gradient); background: linear-gradient(180deg, #2f39ba, #ff5ec4); transform-origin: top; transform: scaleY(var(--progress)); }
.step { position: relative; padding-left: 72px; opacity: .45; transition: opacity .4s; }
.step.is-on, html:not(.js) .step { opacity: 1; }
.step__n {
    position: absolute; left: 0; top: 0; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center;
    border-radius: 50%; background: var(--abyss); border: 1px solid var(--line); color: var(--white);
    font: 600 18px/1 var(--display); letter-spacing: 0; transition: border-color .4s, box-shadow .4s;
}
.step.is-on .step__n { border-color: var(--magenta); box-shadow: 0 0 24px rgba(255, 94, 196, .35); }
.step h3 { font: 700 24px/1.33 var(--body); color: var(--white); }
.step p { margin-top: 8px; color: var(--muted); max-width: 440px; }
.steps__visual { position: sticky; top: 120px; }
.screen { position: relative; height: 420px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow), 0 40px 100px -30px rgba(47, 57, 186, .5); overflow: hidden; }
.screen__pane { position: absolute; inset: 0; padding: 32px; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
.screen__pane.is-on { opacity: 1; transform: none; }
.screen__pane small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.screen__pane b { font: 600 28px/1.2 var(--display); letter-spacing: 0; color: var(--white); }
.field { background: var(--plum); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 12px 14px; }
.field span { display: block; font-size: 11px; color: var(--muted); }
.field i { font-style: normal; color: var(--white); }
.ok { margin-top: auto; align-self: flex-start; background: var(--white); color: var(--abyss); font-weight: 700; font-size: 13px; border-radius: var(--radius); padding: 10px 16px; }
.ok--soft { background: transparent; color: var(--text); border: 1px solid var(--line); font-weight: 500; }

/* Pour qui */
.who { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.who__item { padding: 32px; }
.who__item + .who__item { border-left: 1px solid var(--line-soft); }
.who__item h3 { font: 700 20px/1.4 var(--body); color: var(--white); margin-top: 24px; }
.who__item p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Sécurité : la seule carte en dégradé */
.vault { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; padding: 56px; border-radius: var(--radius); background: var(--gradient); color: rgba(255, 255, 255, .86); will-change: transform; }
.caption--on { color: rgba(255, 255, 255, .8); margin-bottom: 16px; }
.title--on { color: var(--white); }
.vault__copy > p:last-child { margin-top: 20px; font-size: 18px; line-height: 1.56; max-width: 420px; }
.vault__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.vault__list li { background: rgba(6, 4, 25, .28); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); padding: 20px; }
.vault__list b { display: block; color: var(--white); font-weight: 700; }
.vault__list span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; }

/* Détail des protections */
.guard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.guard__item { background: var(--panel); border: 1px solid var(--plum); border-radius: var(--radius); padding: 32px; transition: border-color .3s; }
.guard__item:hover { border-color: var(--line); }
.guard__item svg { width: 28px; height: 28px; fill: none; stroke: var(--line-glow); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.guard__item h3 { font: 700 18px/1.4 var(--body); color: var(--white); margin-top: 20px; }
.guard__item p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Options : liste sobre sur deux colonnes, icône à gauche */
.opts { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.opt { display: grid; grid-template-columns: 28px 1fr; gap: 20px; padding: 28px 32px; border-top: 1px solid var(--line-soft); }
.opt:nth-child(-n+2) { border-top: 0; }
.opt:nth-child(even) { border-left: 1px solid var(--line-soft); }
.opt svg { width: 28px; height: 28px; fill: none; stroke: var(--line-glow); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.opt h3 { font: 700 17px/1.4 var(--body); color: var(--white); }
.opt p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.opts__note { margin-top: 24px; text-align: center; font-size: 14px; color: var(--muted); }
.opts__note a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tarifs ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Mensuel / Annuel */
.billing { display: flex; width: max-content; max-width: 100%; margin: -24px auto 48px; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 9999px; background: var(--panel); }
.billing[hidden] { display: none; }
.billing__opt { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 0; border-radius: 9999px; background: transparent; color: var(--text); font: 600 14px/1 var(--body); cursor: pointer; transition: background .25s, color .25s; }
.billing__opt[aria-pressed="true"] { background: var(--white); color: var(--abyss); }
.billing__save { padding: 4px 8px; border-radius: 9999px; background: var(--magenta); color: var(--abyss); font-size: 11px; font-weight: 700; }

/* Cartes */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 26px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 14px; transition: border-color .3s, transform .3s; }
.plan:hover { border-color: var(--line); }
.plan--hi { background: linear-gradient(180deg, rgba(47, 57, 186, .22) 0%, var(--panel) 55%); border-color: var(--magenta); box-shadow: 0 0 0 1px rgba(255, 94, 196, .25), 0 40px 90px -40px rgba(255, 94, 196, .55); }
.plan--hi:hover { border-color: var(--magenta); }
.plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 5px 10px; border-radius: 9999px; background: var(--magenta); color: var(--abyss); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.plan__name { font: 700 22px/1.2 var(--display); color: var(--white); letter-spacing: 0; }
.plan__price { display: flex; align-items: flex-end; gap: 8px; min-height: 64px; margin-top: 22px; }
.plan__amount { font: 700 46px/1 var(--display); color: var(--white); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.plan__unit { padding-bottom: 4px; font-size: 12px; line-height: 1.3; color: var(--muted); }
.plan__meta { margin-top: 10px; min-height: 20px; font-size: 13px; color: var(--muted); }
.plan__btn { width: 100%; justify-content: center; margin-top: 24px; }
.plan__list { display: grid; gap: 12px; margin-top: 24px; font-size: 14px; line-height: 1.45; color: var(--text); }
.plan__btn + .plan__list { padding-top: 24px; border-top: 1px solid var(--line-soft); }
.plan__list li { position: relative; padding-left: 28px; }
.plan__list li::before { content: ''; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border: 1.5px solid var(--line-glow); border-radius: 50%; }
.plan__list li::after { content: ''; position: absolute; left: 6px; top: 6px; width: 6px; height: 3.5px; border-left: 1.5px solid var(--line-glow); border-bottom: 1.5px solid var(--line-glow); transform: rotate(-45deg); }
.plan__list small { display: block; font-size: 12px; color: var(--muted); }
.plan--hi .plan__list li::before, .plan--hi .plan__list li::after { border-color: var(--magenta); }
.plan__group { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan__group + .plan__list { margin-top: 14px; }
.plan__none { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Complet : choix de la taille d'équipe et tableau des paliers */
.sizes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 18px; padding: 4px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--abyss); }
.sizes[hidden] { display: none; }
.sizes button { padding: 8px 0; border: 0; border-radius: 7px; background: transparent; color: var(--text); font: 600 13px/1 var(--body); cursor: pointer; transition: background .2s, color .2s; }
.sizes button[aria-pressed="true"] { background: var(--magenta); color: var(--abyss); }
.packs { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 13px; }
.packs th { padding: 7px 0; border-top: 1px solid var(--line-soft); text-align: left; font-weight: 400; color: var(--text); }
.packs td { padding: 7px 0; border-top: 1px solid var(--line-soft); text-align: right; font-weight: 700; color: var(--white); white-space: nowrap; }
.packs td small { font-weight: 400; color: var(--muted); }
.packs tr.is-on th, .packs tr.is-on td { color: var(--magenta); }

/* Calculateur avec graphique */
.calc { margin-top: 32px; padding: 36px 40px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 14px; }
.calc[hidden] { display: none; }
.calc__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.calc__title { font: 700 24px/1.2 var(--display); color: var(--white); letter-spacing: 0; }
.calc__count { font-size: 15px; color: var(--muted); }
.calc__count output { font: 700 34px/1 var(--display); color: var(--white); margin-right: 4px; font-variant-numeric: tabular-nums; }
.calc__range { width: 100%; margin-top: 24px; height: 28px; background: transparent; accent-color: var(--magenta); cursor: pointer; -webkit-appearance: none; appearance: none; }
.calc__range::-webkit-slider-runnable-track { height: 6px; border-radius: 9999px; background: linear-gradient(90deg, var(--magenta) var(--fill, 10%), var(--line-soft) var(--fill, 10%)); }
.calc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--white); border: 3px solid var(--magenta); box-shadow: 0 0 0 6px rgba(255, 94, 196, .18); }
.calc__range::-moz-range-track { height: 6px; border-radius: 9999px; background: var(--line-soft); }
.calc__range::-moz-range-progress { height: 6px; border-radius: 9999px; background: var(--magenta); }
.calc__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--magenta); }
.calc__help { margin-top: 8px; font-size: 13px; color: var(--muted); }
.calc__bars { display: grid; gap: 14px; margin-top: 28px; }
.bar { display: grid; grid-template-columns: 96px 1fr 150px; align-items: center; gap: 16px; font-size: 14px; }
.bar__name { color: var(--text); font-weight: 600; }
.bar__track { height: 14px; border-radius: 9999px; background: var(--abyss); border: 1px solid var(--line-soft); overflow: hidden; }
.bar__track i { display: block; height: 100%; width: 0; border-radius: 9999px; background: linear-gradient(90deg, var(--indigo), var(--line-glow)); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.bar--hi .bar__track i { background: linear-gradient(90deg, var(--indigo), var(--magenta)); }
.bar__val { text-align: right; color: var(--white); font-variant-numeric: tabular-nums; }
.bar.is-off .bar__name, .bar.is-off .bar__val { color: var(--muted); font-weight: 400; }
.calc__foot { margin-top: 20px; font-size: 13px; color: var(--muted); }

.prices__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 32px; font-size: 14px; color: var(--text); }
.prices__facts li { position: relative; padding-left: 16px; }
.prices__facts li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--line-glow); }

@media (max-width: 1180px) { .plans { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 719px) {
    .billing { margin: -16px auto 32px; }
    .billing__opt { padding: 10px 14px; }
    .plans { grid-template-columns: 1fr; }
    .plan { padding: 28px 22px; }
    .calc { padding: 24px 20px; }
    .bar { grid-template-columns: 76px 1fr; gap: 6px 12px; }
    .bar__val { grid-column: 1 / -1; text-align: left; font-size: 13px; }
    .prices__facts { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .bar__track i { transition: none; } }

/* Questions */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq .section__head { margin-bottom: 0; position: sticky; top: 120px; }
.q { border-bottom: 1px solid var(--line-soft); }
.q:first-child { border-top: 1px solid var(--line-soft); }
.q summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; padding: 22px 4px; font-size: 18px; font-weight: 500; color: var(--white); list-style: none; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(45deg) translateY(-3px); transition: transform .3s; }
.q[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.q summary:hover { color: var(--line-glow); }
.q p { padding: 0 4px 24px; color: var(--muted); max-width: 620px; line-height: 1.65; }
.q p a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* Appel final */
.final { position: relative; margin-top: var(--gap); padding: 128px 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line-soft); }
.final .orb--indigo { width: 700px; height: 700px; left: 50%; top: 40%; margin-left: -520px; background: radial-gradient(circle, #2f39ba 0%, transparent 65%); opacity: .5; }
.final .orb--magenta { width: 480px; height: 480px; left: 50%; top: 55%; margin-left: 40px; background: radial-gradient(circle, rgba(255, 94, 196, .65) 0%, transparent 65%); opacity: .28; }
.final__in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final .display { max-width: 820px; text-wrap: balance; }
.final .lead { margin-top: 24px; }
.final .hero__cta { justify-content: center; }

/* Pied de page */
.footer { border-top: 1px solid var(--line-soft); padding: 64px 0 32px; font-size: 14px; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer__tag { margin-top: 16px; color: var(--muted); max-width: 280px; }
.footer nav, .footer__contact { display: grid; gap: 10px; align-content: start; }
.footer b { color: var(--white); font-weight: 700; margin-bottom: 6px; }
.footer a:not(.brand) { color: var(--text); width: fit-content; }
.footer a:not(.brand):hover { color: var(--white); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 12px; }
.todo { border: 1px dashed var(--magenta); color: var(--pause); border-radius: var(--radius); padding: 2px 8px; }

/* ---------- Page « Démo » ---------- */
.hero--page { min-height: 0; padding: 152px 0 64px; }
.hero__in--single { grid-template-columns: minmax(0, 1fr); }
.hero--page .hero__copy { max-width: 760px; }
.hero--page .lead { max-width: 640px; }
.hl { color: var(--white); font-weight: 700; }
.section--tight { padding-top: 64px; }
code { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; letter-spacing: 0; color: var(--white); }

/* ---------- Page « Confidentialité » (texte long, lisible) ---------- */
.contact { max-width: 760px; padding: 32px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 14px; }
.contact[hidden] { display: none; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.cfield { margin-bottom: 18px; }
.cfield label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 500; color: var(--white); }
.cfield small { font-weight: 400; color: var(--muted); }
.cfield input, .cfield textarea { width: 100%; padding: 12px 14px; font: 400 16px/1.5 var(--body); color: var(--white); background: var(--abyss); border: 1px solid var(--line); border-radius: var(--radius); }
.cfield textarea { resize: vertical; }
.cfield input:focus, .cfield textarea:focus { outline: 2px solid var(--magenta); outline-offset: 1px; }
.cfield [aria-invalid="true"] { border-color: var(--orchid); }
.cfield__err, .contact__status { color: var(--orchid); font-size: 14px; }
.cfield__err:not(:empty), .contact__status:not(:empty) { margin-top: 8px; }
.contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__note { margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.contact__note a, .contact__mail a { color: var(--white); text-decoration: underline; text-decoration-color: var(--magenta); text-underline-offset: 3px; }
.contact__done h2 { font: 600 26px/1.2 var(--display); color: var(--white); }
.contact__done p { margin: 10px 0 20px; }
.contact__done:focus { outline: none; }
.contact__mail { margin-top: 24px; }
.contact button:disabled { opacity: .6; }
@media (max-width: 640px) { .contact { padding: 22px 18px; } .contact__grid { grid-template-columns: 1fr; } .contact .btn { width: 100%; justify-content: center; } }
.legal { max-width: 720px; font-size: 17px; line-height: 1.7; letter-spacing: 0.02em; }
.legal__date { color: var(--muted); font-size: 14px; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 16px; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.2; color: var(--white); margin: 48px 0 16px; }
.legal ul { display: grid; gap: 10px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--gradient); }
.legal b { color: var(--white); font-weight: 700; }
.legal a { color: var(--white); text-decoration: underline; text-decoration-color: var(--magenta); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal a:hover { text-decoration-color: var(--white); }
.footer a[aria-current="page"] { color: var(--white); }

.access { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.access__card {
    position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--plum);
    border-radius: var(--radius); padding: 32px; overflow: hidden; transition: border-color .3s;
}
.access__card::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 57, 186, .35), transparent 60%);
}
.access__card:hover { border-color: var(--line); }
.access__card:hover::before { opacity: 1; }
.access__card > * { position: relative; }
.access__card h3 { font: 600 28px/1.2 var(--display); letter-spacing: 0; color: var(--white); margin-top: 12px; }
.access__intro { margin-top: 8px; font-size: 15px; color: var(--muted); }
.cred { display: grid; gap: 8px; margin: 24px 0 28px; }
.cred > div { background: var(--abyss); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 12px 14px; }
.cred dt { font-size: 12px; color: var(--muted); }
.cred dd { margin: 4px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cred code { font-size: 20px; font-weight: 700; overflow-wrap: anywhere; }
.copy {
    flex: none; background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 6px 12px; font: 500 13px/1.4 var(--body); letter-spacing: 0.045em; cursor: pointer; transition: border-color .2s, color .2s;
}
.copy:hover { border-color: var(--line-glow); color: var(--white); }
.copy.is-done { border-color: var(--ok); color: var(--ok); }
html:not(.has-clipboard) .copy { display: none; }
.access__btn { margin-top: auto; }
.access__tip { margin: 24px auto 0; max-width: 720px; text-align: center; font-size: 15px; color: var(--muted); }

.tries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.try { position: relative; background: var(--panel); border: 1px solid var(--plum); border-radius: var(--radius); padding: 32px; }
.try .step__n { position: static; border-color: var(--magenta); }
.try h3 { font: 700 20px/1.4 var(--body); color: var(--white); margin-top: 20px; }
.try p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Avant l'animation : éviter le « flash » (seulement si JavaScript est actif) ---------- */
.js [data-reveal], .js [data-stagger] > *, .js [data-hero-fade], .js .mock, .js [data-vault] { visibility: hidden; }
.js [data-lines], .js .hero .line__in { visibility: hidden; }

/* ---------- Tablette ---------- */
@media (max-width: 1023px) {
    .nav__links { display: none; }
    .hero { padding-top: 104px; min-height: 0; }
    .hero__in { grid-template-columns: 1fr; gap: 56px; }
    .stage { height: 480px; max-width: 620px; width: 100%; margin-inline: auto; }
    .scroll-cue { display: none; }
    .trust__list { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 48px; }
    .steps__visual { position: static; }
    .vault { grid-template-columns: 1fr; padding: 40px; }
    .guard { grid-template-columns: repeat(2, 1fr); }
    .faq { grid-template-columns: 1fr; gap: 40px; }
    .faq .section__head { position: static; }
    .tries { grid-template-columns: 1fr; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 719px) {
    :root { --gap: 64px; --gutter: 16px; }
    .nav__login { display: none; }
    .nav__in { gap: 12px; }
    .brand { gap: 8px; }
    .brand__name { font-size: 17px; }
    .nav .btn { padding: 8px 12px; font-size: 13px; }
    .hero { padding: 96px 0 56px; }
    .hero__cta .btn { flex: 1 1 100%; }
    .lead { font-size: 17px; }
    .stage { height: 430px; }
    .mock--dash { width: 290px; top: 70px; }
    .mock--dash .rows li em { display: none; }
    .mock--dash .rows li { grid-template-columns: 10px 1fr auto; }
    .mock--phone { width: 172px; right: 0; padding: 24px 12px 16px; }
    .phone__clock { font-size: 26px; }
    .phone__btn { padding: 14px 8px; font-size: 11px; margin-top: 16px; }
    .mock--qr { width: 124px; right: 8px; bottom: 0; padding: 12px; }
    .mock--toast { left: 0; bottom: 14px; padding: 10px 12px; max-width: 200px; }
    .trust__list { grid-template-columns: 1fr; padding: 24px 0; }
    .section__head { margin-bottom: 40px; }
    .cards { grid-template-columns: 1fr; }
    .who { grid-template-columns: 1fr; }
    .who__item { padding: 24px; }
    .who__item + .who__item { border-left: 0; border-top: 1px solid var(--line-soft); }
    .screen { height: 380px; }
    .screen__pane { padding: 24px; }
    .vault { padding: 28px 20px; gap: 32px; }
    .vault__list { grid-template-columns: 1fr; }
    .guard { grid-template-columns: 1fr; }
    .guard__item { padding: 24px; }
    .opts { grid-template-columns: 1fr; }
    .opt { padding: 22px 20px; gap: 16px; }
    .opt:nth-child(2) { border-top: 1px solid var(--line-soft); }
    .opt:nth-child(even) { border-left: 0; }
    .q summary { font-size: 16px; padding: 18px 2px; }
    .final { padding: 88px 0; }
    .footer__in { grid-template-columns: 1fr; gap: 32px; }
    .hero--page { padding: 112px 0 40px; }
    .section--tight { padding-top: 48px; }
    .access { grid-template-columns: 1fr; }
    .access__card, .try { padding: 24px; }
    .access__card h3 { font-size: 24px; }
    .cred code { font-size: 18px; }
    .access__btn { white-space: normal; text-align: center; }
}

/* ---------- Moins de mouvement : tout est visible, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .scroll-cue span, .scanline { animation: none; }
    .js [data-reveal], .js [data-stagger] > *, .js [data-hero-fade], .js .mock, .js [data-vault], .js [data-lines], .js .hero .line__in { visibility: visible; }
    .step { opacity: 1; }
    .timeline { --progress: 1; }
}
