/* ==========================================================
   FYDELIO — site vitrine (fydelio.fr) · direction « tech / futuriste »
   Sombre par défaut (data-theme="dark" sur <html>), aurores, grille, verre.
   ========================================================== */

:root {
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --aurora: linear-gradient(100deg, #2DD4BF 0%, #22D3EE 35%, #8B5CF6 70%, #F2B957 100%);
}
:root[data-theme="dark"] { --bg: #05090A; --bg-2: #0A1112; --surface: rgba(255, 255, 255, .035); --surface-2: rgba(255, 255, 255, .05); --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14); --ink: #F1F7F5; --ink-2: #C5D3CF; --muted: #8A9B97; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { overflow-x: hidden; background: var(--bg); }
h1, h2, h3 { font-family: var(--display); }

/* ---------- Fond : aurores + grille + grain ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); opacity: .55; }
.bg-fx::after { content: ""; position: absolute; inset: -50%; background-image: 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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); opacity: .035; }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.aurora--1 { width: 620px; height: 520px; left: -160px; top: -160px; background: #0F766E; animation: drift 22s ease-in-out infinite alternate; }
.aurora--2 { width: 520px; height: 460px; right: -140px; top: 40px; background: #4C1D95; opacity: .38; animation: drift 26s ease-in-out infinite alternate-reverse; }
.aurora--3 { width: 480px; height: 380px; left: 35%; top: 420px; background: #0E7490; opacity: .28; animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(80px, 60px, 0) scale(1.15); } }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(88px, 12vw, 150px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(45, 212, 191, .03) 30%, transparent); }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); padding: 6px 12px; border: 1px solid color-mix(in srgb, var(--brand-2) 30%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--brand-2) 7%, transparent); }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.section-head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(48px, 6vw, 80px); justify-items: start; }
.section-head h2 { font-size: clamp(36px, 5.6vw, 66px); font-weight: 700; letter-spacing: -.045em; }
.section-head p { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 620px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.grad { background: var(--aurora); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s linear infinite; }
@keyframes shine { to { background-position: 200% 0; } }

/* ---------- Boutons « néon » ---------- */
.btn--glow { --btn-bg: #F1F7F5; --btn-ink: #05090A; position: relative; isolation: isolate; }
.btn--glow::after { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; background: var(--aurora); background-size: 200% 100%; filter: blur(14px); opacity: .55; animation: shine 6s linear infinite; transition: opacity .3s; }
.btn--glow:hover::after { opacity: .9; }
.btn--line { --btn-bg: rgba(255, 255, 255, .04); --btn-ink: var(--ink); --btn-line: var(--line-2); backdrop-filter: blur(10px); }
.btn--line:hover { --btn-bg: rgba(255, 255, 255, .08); box-shadow: none; }
:root[data-theme="dark"] .btn--brand { --btn-bg: #2DD4BF; }

/* ---------- Barre de progression ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 200; background: var(--aurora); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- En-tête : pilule de verre flottante ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 18px; height: 60px; max-width: 1120px; margin: 0 auto; padding: 0 10px 0 22px; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 62%, transparent); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .6); transition: background .3s, border-color .3s; width: calc(100% - 2 * var(--gutter)); }
.site-header.is-scrolled .nav { background: color-mix(in srgb, var(--bg) 82%, transparent); border-color: var(--line-2); }
.nav .wordmark { margin-right: auto; font-size: 25px; font-family: var(--display); color: var(--ink); }
.nav .wordmark i { color: var(--brand-2); text-shadow: 0 0 12px var(--brand-2); }
.nav-links { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-links a { position: relative; z-index: 1; white-space: nowrap; padding: 8px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.is-active, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-pill { position: absolute; z-index: 0; top: 50%; height: 36px; transform: translateY(-50%); border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); transition: left .35s var(--ease), width .35s var(--ease), opacity .2s; opacity: 0; pointer-events: none; }
.nav-cta { display: flex; gap: 8px; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); cursor: pointer; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }
main { padding-top: calc(var(--header-h) + 10px); }

/* Menu mobile : panneau plein écran */
.mobile-menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: calc(var(--header-h) + 34px) calc(var(--gutter) + 6px) calc(28px + env(safe-area-inset-bottom)); background: radial-gradient(90% 60% at 0% 0%, rgba(45, 212, 191, .16), transparent 60%), radial-gradient(90% 60% at 100% 100%, rgba(139, 92, 246, .16), transparent 60%), color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; overflow-y: auto; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mm-links { display: grid; }
.mm-links a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(28px, 8vw, 40px); font-weight: 600; letter-spacing: -.04em; color: var(--ink); opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s; }
.mm-links a small { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .05em; color: var(--brand-2); }
.mm-links a:active { color: var(--brand-2); }
.menu-open .mm-links a { opacity: 1; transform: none; }
.menu-open .mm-links a:nth-child(1) { transition-delay: .06s; } .menu-open .mm-links a:nth-child(2) { transition-delay: .1s; } .menu-open .mm-links a:nth-child(3) { transition-delay: .14s; } .menu-open .mm-links a:nth-child(4) { transition-delay: .18s; } .menu-open .mm-links a:nth-child(5) { transition-delay: .22s; } .menu-open .mm-links a:nth-child(6) { transition-delay: .26s; }
.mm-foot { display: grid; gap: 10px; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease) .3s, transform .5s var(--ease) .3s; }
.menu-open .mm-foot { opacity: 1; transform: none; }
.mm-foot p { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.menu-open { overflow: hidden; }
@media (max-width: 1080px) {
  .nav-links, .nav-cta .btn--line { display: none; }
  .menu-btn { display: block; }
}
@media (min-width: 1081px) { .mobile-menu { display: none; } }
@media (max-width: 420px) { .nav-cta .btn--glow span { display: none; } .nav-cta .btn--glow { padding: 0 14px; } .nav { padding-left: 16px; } }

/* ---------- Héros ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 0; }
.hero-inner { display: grid; justify-items: center; text-align: center; gap: 28px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; color: var(--ink-2); backdrop-filter: blur(10px); }
.pill b { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--aurora); color: #05090A; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #05090A; }
.hero h1 { font-size: clamp(44px, 8.4vw, 108px); font-weight: 700; max-width: 14ch; letter-spacing: -.055em; line-height: .98; }
.hero-lead { max-width: 660px; color: var(--muted); font-size: clamp(17px, 1.9vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 13.5px; color: var(--muted); font-family: var(--mono); letter-spacing: -.01em; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .icon { color: var(--brand-2); }

/* Vitrine produit */
.showcase { position: relative; margin-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); perspective: 1800px; }
.showcase::before { content: ""; position: absolute; left: 10%; right: 10%; top: 10%; height: 70%; background: var(--aurora); filter: blur(120px); opacity: .25; z-index: -1; }
.browser { position: relative; max-width: 1060px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: #0A1213; border: 1px solid var(--line-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 40px 120px -40px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(45, 212, 191, .4); will-change: transform; transform-style: preserve-3d; --mx: 50%; --my: 0%; }
.browser::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at var(--mx) var(--my), rgba(255, 255, 255, .06), transparent 40%); }
.browser-bar { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .02); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.browser-bar span { margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: rgba(255, 255, 255, .05); font-size: 12px; color: #8A9B97; font-family: var(--mono); }
.phone { position: absolute; right: max(2%, calc(50% - 580px)); bottom: 0; width: clamp(180px, 22vw, 272px); aspect-ratio: 9 / 19; border-radius: 42px; padding: 10px; background: linear-gradient(160deg, #1D2B29, #070C0C); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), inset 0 0 0 1.5px rgba(255, 255, 255, .12), 0 0 60px -20px rgba(34, 211, 238, .45); will-change: transform; }
.phone-screen { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #071011; position: relative; }
.phone-screen::before { content: ""; position: absolute; top: 9px; left: 50%; width: 32%; height: 20px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 3; }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(10, 18, 19, .82); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); font-size: 13.5px; color: #C5D3CF; text-align: left; }
.chip b { display: block; font-size: 14.5px; color: #F1F7F5; }
.chip .ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; background: rgba(45, 212, 191, .14); }
.chip--a { left: max(1%, calc(50% - 600px)); bottom: 18%; }
.chip--b { left: max(4%, calc(50% - 520px)); top: 14%; }
.chip--b .ico { background: rgba(242, 185, 87, .16); }
@media (max-width: 760px) {
  .phone { right: 50%; transform: translateX(50%); position: relative; margin: -110px auto 0; display: block; bottom: auto; }
  .chip { display: none; }
}

/* Maquette tableau de bord (toujours sombre) */
.mock-dash { display: grid; grid-template-columns: 196px 1fr; min-height: 480px; font-size: 13px; text-align: left; color: #DDE7E4; --ml: rgba(255, 255, 255, .07); }
.mock-side { border-right: 1px solid var(--ml); padding: 18px 12px; display: grid; align-content: start; gap: 4px; background: rgba(255, 255, 255, .015); }
.mock-side .wordmark { font-size: 20px; margin: 0 8px 16px; color: #F1F7F5; font-family: var(--display); }
.mock-side .wordmark i { color: #2DD4BF; }
.mock-side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: #7E908C; font-weight: 500; }
.mock-side a.on { background: rgba(45, 212, 191, .12); color: #5EEAD4; }
.mock-main { padding: 22px; display: grid; gap: 16px; align-content: start; }
.mock-main h4 { font-size: 18px; letter-spacing: -.02em; font-family: var(--display); color: #F1F7F5; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mock-kpi { padding: 14px; border-radius: 14px; border: 1px solid var(--ml); background: rgba(255, 255, 255, .025); }
.mock-kpi small { color: #7E908C; font-size: 11px; }
.mock-kpi strong { display: block; font-size: 23px; letter-spacing: -.03em; margin-top: 2px; color: #F1F7F5; font-family: var(--display); }
.mock-kpi em { font-style: normal; font-size: 11px; color: #4ADE80; font-weight: 600; }
.mock-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.mock-card { padding: 16px; border-radius: 14px; border: 1px solid var(--ml); background: rgba(255, 255, 255, .025); }
.mock-card h5 { margin: 0 0 12px; font-size: 13px; color: #F1F7F5; }
.mock-bars { display: flex; align-items: flex-end; gap: 7px; height: 130px; }
.mock-bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #22D3EE, #0F766E); transform-origin: bottom; box-shadow: 0 0 18px -6px rgba(34, 211, 238, .6); }
.mock-ai { display: grid; gap: 10px; }
.mock-ai p { padding: 10px 12px; border-radius: 10px; background: rgba(139, 92, 246, .1); border: 1px solid rgba(139, 92, 246, .2); color: #C9C3E6; font-size: 12px; line-height: 1.5; }
.mock-ai p b { color: #C4B5FD; }
@media (max-width: 760px) { .mock-dash { grid-template-columns: 1fr; min-height: 380px; } .mock-side { display: none; } .mock-kpis { grid-template-columns: 1fr 1fr; } .mock-grid { grid-template-columns: 1fr; } .mock-ai { display: none; } }

/* Maquette carte (téléphone) */
.mock-card-app { height: 100%; padding: 42px 14px 14px; display: grid; align-content: start; gap: 10px; background: radial-gradient(120% 60% at 50% 0%, rgba(45, 212, 191, .3), transparent 60%), #071011; text-align: center; font-size: 11px; color: #C5D3CF; }
.mock-card-app .resto { font-weight: 700; font-size: 13px; color: #F1F7F5; }
.mock-qr { width: 58%; margin: 4px auto; aspect-ratio: 1; border-radius: 14px; background: #fff; padding: 8px; box-shadow: 0 0 30px -6px rgba(45, 212, 191, .7); }
.mock-qr img { width: 100%; height: 100%; }
.mock-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; padding: 0 4px; }
.mock-stamps i { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .18); display: grid; place-items: center; font-style: normal; font-size: 10px; }
.mock-stamps i.on { border: 0; background: linear-gradient(135deg, #2DD4BF, #22D3EE); color: #05090A; box-shadow: 0 0 10px -2px rgba(45, 212, 191, .8); }
.mock-tags { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.mock-tags span { padding: 3px 7px; border-radius: 99px; background: rgba(255, 255, 255, .06); font-size: 9.5px; }
.mock-tags span.on { background: rgba(45, 212, 191, .2); color: #5EEAD4; }
.mock-progress { font-weight: 600; color: #F1F7F5; }

/* Bandeau défilant */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 36s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--brand-2); font-size: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cartes avec spotlight ---------- */
.spot { position: relative; isolation: isolate; --mx: 50%; --my: 50%; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(45, 212, 191, .12), transparent 45%); opacity: 0; transition: opacity .3s; }
.spot::after { content: ""; position: absolute; inset: -1px; z-index: -2; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(94, 234, 212, .55), transparent 50%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; }
.spot:hover::before, .spot:hover::after { opacity: 1; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }
.card { padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 21px; margin: 20px 0 10px; letter-spacing: -.03em; }
.card p { color: var(--muted); font-size: 15.5px; }
.card-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(45, 212, 191, .1); color: var(--brand-2); border: 1px solid rgba(45, 212, 191, .2); }
.card-ico .icon { width: 21px; height: 21px; }
.card-ico--red { background: rgba(248, 113, 113, .1); color: #F87171; border-color: rgba(248, 113, 113, .2); }
.card-ico--gold { background: rgba(242, 185, 87, .1); color: #F2B957; border-color: rgba(242, 185, 87, .2); }
.card-ico--violet { background: rgba(139, 92, 246, .12); color: #A78BFA; border-color: rgba(139, 92, 246, .25); }

/* ---------- Carte universelle ---------- */
.universal { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.universal ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.universal li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.universal li .icon { color: var(--brand-2); margin-top: 4px; flex: none; }
.stack { position: relative; height: 420px; }
.pass { position: absolute; left: 50%; width: min(360px, 90%); aspect-ratio: 1.6; border-radius: 22px; padding: 22px; display: grid; align-content: space-between; color: #fff; border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); transform: translateX(-50%); }
.pass small { opacity: .8; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.pass b { font-family: var(--display); font-size: 22px; letter-spacing: -.03em; }
.pass .row { display: flex; justify-content: space-between; align-items: flex-end; }
.pass .qrmini { width: 64px; height: 64px; border-radius: 10px; background: #fff; padding: 5px; }
.pass .qrmini img { width: 100%; }
.pass--1 { top: 0; background: linear-gradient(135deg, #1B5E6F, #0B2F38); transform: translateX(-62%) rotate(-8deg); }
.pass--2 { top: 70px; background: linear-gradient(135deg, #C2410C, #5C1D06); transform: translateX(-42%) rotate(4deg); }
.pass--3 { top: 150px; background: linear-gradient(135deg, #0F766E, #052F2B); transform: translateX(-50%); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 60px -10px rgba(45, 212, 191, .5); }
@media (max-width: 900px) { .universal { grid-template-columns: 1fr; } .stack { height: 380px; } }

/* ---------- Citation ---------- */
.quote-band { position: relative; min-height: 72vh; display: grid; align-items: end; overflow: hidden; color: #fff; border-block: 1px solid var(--line); }
.quote-band img { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; filter: saturate(.8); }
.quote-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 9, 10, .35) 0%, rgba(5, 9, 10, .95) 100%); }
.quote-band blockquote { position: relative; z-index: 2; margin: 0; padding: clamp(48px, 8vw, 100px) 0; max-width: 900px; }
.quote-band blockquote p { font-family: var(--display); font-size: clamp(30px, 4.6vw, 56px); font-weight: 600; letter-spacing: -.04em; line-height: 1.08; }
.quote-band cite { display: block; margin-top: 22px; font-style: normal; color: #8A9B97; font-family: var(--mono); font-size: 13px; }

/* ---------- Méthode ---------- */
.steps-wrap { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 6vw, 96px); align-items: center; }
.steps { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 26px 26px 26px 86px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, box-shadow .3s, opacity .3s, background .3s; }
.step.is-on { border-color: rgba(45, 212, 191, .4); background: rgba(45, 212, 191, .05); box-shadow: 0 0 50px -20px rgba(45, 212, 191, .5); }
.step-num { position: absolute; left: 24px; top: 24px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--aurora); color: #05090A; font-weight: 800; font-family: var(--mono); }
.step h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -.025em; }
.step p { color: var(--muted); font-size: 15.5px; }
.step .badge { margin-top: 14px; }
.steps-phone { position: relative; width: 300px; margin: 0 auto; }
.steps-phone .phone { position: relative; right: auto; bottom: auto; width: 100%; }
.screen { position: absolute; inset: 0; padding: 42px 16px 16px; display: grid; align-content: start; gap: 10px; text-align: center; font-size: 12px; transition: opacity .45s var(--ease), transform .45s var(--ease); background: #071011; color: #C5D3CF; }
.screen:not(.is-on) { opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none; }
.screen h5 { margin: 6px 0 2px; font-size: 18px; letter-spacing: -.03em; color: #F1F7F5; font-family: var(--display); }
.screen .m-input { height: 34px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); text-align: left; padding: 0 10px; display: flex; align-items: center; color: #8A9B97; }
.screen .m-btn { height: 38px; border-radius: 10px; background: linear-gradient(90deg, #2DD4BF, #22D3EE); color: #05090A; display: grid; place-items: center; font-weight: 700; margin-top: 4px; }
.screen--scan { background: radial-gradient(circle at 50% 40%, rgba(22, 163, 74, .5), #052E16 70%); color: #fff; align-content: center; }
.screen--scan .ok { width: 92px; height: 92px; margin: 0 auto; border-radius: 50%; background: #16A34A; display: grid; place-items: center; font-size: 42px; box-shadow: 0 0 0 14px rgba(22, 163, 74, .2), 0 0 60px rgba(74, 222, 128, .6); }
.screen--scan strong { font-size: 26px; letter-spacing: -.03em; }
.screen--mail { text-align: left; }
.screen--mail .mail { border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); padding: 12px; display: grid; gap: 6px; }
.screen--mail .bar { height: 6px; border-radius: 6px; background: var(--aurora); }
.screen .badge--brand { background: rgba(45, 212, 191, .14); color: #5EEAD4; }
@media (max-width: 960px) { .steps-wrap { grid-template-columns: 1fr; } .steps-phone { display: none; } }
@media (max-width: 520px) { .step { padding: 22px; } .step-num { position: static; margin-bottom: 14px; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { overflow: hidden; padding: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-height: 240px; }
.tile h3 { font-size: 21px; letter-spacing: -.03em; }
.tile p { color: var(--muted); font-size: 15px; }
.tile--a { grid-column: span 4; }
.tile--b { grid-column: span 2; }
.tile--c, .tile--d, .tile--e { grid-column: span 2; }
.tile--f { grid-column: span 6; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px; }
.tile--brand { background: radial-gradient(120% 100% at 0% 0%, rgba(139, 92, 246, .3), transparent 60%), radial-gradient(120% 100% at 100% 100%, rgba(45, 212, 191, .25), transparent 60%), #0A1112; border-color: rgba(139, 92, 246, .3); color: #F1F7F5; --muted: #A7B5B1; }
@media (max-width: 960px) { .tile--a, .tile--b, .tile--c, .tile--d, .tile--e, .tile--f { grid-column: span 6; } .tile--f { grid-template-columns: 1fr; } }
.tile-visual { margin-top: 8px; }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 96px; }
.spark i { flex: 1; border-radius: 4px; background: rgba(45, 212, 191, .2); }
.spark i:nth-last-child(-n+4) { background: linear-gradient(180deg, #22D3EE, #0F766E); box-shadow: 0 0 14px -4px rgba(34, 211, 238, .7); }
.ai-bubble { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-size: 14px; line-height: 1.55; color: #C5D3CF; }
.ai-bubble + .ai-bubble { margin-top: 8px; }
.segments { display: flex; flex-wrap: wrap; gap: 8px; }
.segments span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; background: rgba(255, 255, 255, .03); color: var(--ink-2); }
.segments span.on { background: rgba(45, 212, 191, .14); color: var(--brand-2); border-color: rgba(45, 212, 191, .4); }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { padding: 34px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.stat strong { display: block; font-family: var(--display); font-size: clamp(54px, 6.6vw, 84px); font-weight: 700; letter-spacing: -.06em; line-height: 1; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 12px; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Pour qui ---------- */
.fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fit ul { padding: 0; margin: 0; display: contents; }
.fit li { list-style: none; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.fit .icon { width: 26px; height: 26px; color: var(--brand-2); margin-bottom: 14px; }
.fit h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -.02em; }
.fit p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .fit { grid-template-columns: 1fr; } }

/* ---------- Tarifs ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 940px; margin: 0 auto; }
.plan { position: relative; padding: 36px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.plan--hl { background: radial-gradient(120% 80% at 100% 0%, rgba(45, 212, 191, .18), transparent 60%), #0A1213; border-color: rgba(45, 212, 191, .35); box-shadow: 0 0 80px -30px rgba(45, 212, 191, .5); color: #F1F7F5; --muted: #A7B5B1; --ink-2: #C5D3CF; }
.plan-tag { position: absolute; top: 22px; right: 22px; }
.plan h3 { font-size: 15px; letter-spacing: .02em; font-family: var(--mono); font-weight: 500; color: var(--muted); text-transform: uppercase; }
.price { font-family: var(--display); font-size: 60px; font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.price small { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan > p { color: var(--muted); }
.plan ul { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li .icon { color: var(--brand-2); margin-top: 3px; }
.plan--hl .badge--gold { background: var(--gold); color: #2A1B03; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 4px 22px; transition: border-color .2s, background .2s; }
.faq details[open] { border-color: rgba(45, 212, 191, .3); background: rgba(45, 212, 191, .04); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s var(--ease); color: var(--brand-2); flex: none; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* ---------- Appel final ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(56px, 9vw, 110px) clamp(24px, 6vw, 80px); text-align: center; display: grid; justify-items: center; gap: 22px; isolation: isolate; border: 1px solid rgba(255, 255, 255, .14); background: #070D0E; color: #F1F7F5; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .25; filter: saturate(.6); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 0%, rgba(45, 212, 191, .3), transparent 70%), radial-gradient(50% 60% at 50% 100%, rgba(139, 92, 246, .25), transparent 70%); }
.cta h2 { font-size: clamp(36px, 5.8vw, 70px); max-width: 15ch; letter-spacing: -.05em; }
.cta p { max-width: 560px; color: #C5D3CF; font-size: 18px; }
.cta .badge { background: rgba(255, 255, 255, .08); color: #F1F7F5; border: 1px solid rgba(255, 255, 255, .14); }

/* ---------- Pied de page ---------- */
.site-footer { padding: 80px 0 32px; border-top: 1px solid var(--line); margin-top: clamp(80px, 10vw, 130px); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: 12px; font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--ink-2); font-size: 15px; transition: color .2s; }
.footer-grid a:hover { color: var(--brand-2); }
.footer-grid p { color: var(--muted); font-size: 15px; max-width: 340px; margin-top: 14px; }
.site-footer .wordmark { color: var(--ink); font-family: var(--display); }
.site-footer .wordmark i { color: var(--brand-2); }
.footer-tag { margin-top: 10px; font-size: 12px; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-giant { font-family: var(--display); font-weight: 800; font-size: clamp(80px, 19vw, 280px); letter-spacing: -.07em; line-height: .8; margin: 64px 0 -0.12em; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 10%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom a:hover { color: var(--ink); }
.status-dot { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 10px #4ADE80; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Pages simples / légales ---------- */
.page-hero { padding: clamp(56px, 9vw, 110px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 76px); max-width: 18ch; letter-spacing: -.05em; margin-top: 18px; }
.page-hero p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 640px; }
.prose { max-width: 780px; font-size: 16.5px; color: var(--ink-2); }
.prose h2 { font-size: 26px; margin: 52px 0 14px; letter-spacing: -.03em; color: var(--ink); }
.prose h3 { font-size: 19px; margin: 28px 0 10px; color: var(--ink); }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 600; color: var(--ink); }
.prose .note { padding: 16px 18px; border-radius: 14px; background: rgba(45, 212, 191, .07); border: 1px solid rgba(45, 212, 191, .2); color: var(--ink-2); }
.breadcrumb { font-family: var(--mono); font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand-2); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.svc h3 { font-size: 21px; letter-spacing: -.025em; }
.svc p { color: var(--muted); font-size: 15px; }
.svc ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.svc li { display: flex; gap: 8px; }
.svc li .icon { color: var(--brand-2); margin-top: 3px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Connexion / mot de passe ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { position: relative; overflow: hidden; padding: 48px; display: grid; align-content: space-between; color: #fff; background: radial-gradient(100% 80% at 0% 0%, rgba(45, 212, 191, .35), transparent 60%), radial-gradient(100% 80% at 100% 100%, rgba(139, 92, 246, .35), transparent 60%), #05090A; border-right: 1px solid var(--line); }
.auth-aside .wordmark { color: #fff; font-family: var(--display); }
.auth-aside .wordmark i { color: #2DD4BF; }
.auth-aside h2 { font-size: clamp(32px, 3.4vw, 48px); max-width: 14ch; letter-spacing: -.045em; }
.auth-aside ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; color: rgba(255, 255, 255, .85); }
.auth-aside li { display: flex; gap: 12px; align-items: center; }
.auth-aside li .icon { color: #5EEAD4; }
.auth-main { display: grid; place-items: center; padding: 48px var(--gutter); }
.auth-box { width: 100%; max-width: 400px; display: grid; gap: 22px; }
.auth-box h1 { font-size: 36px; letter-spacing: -.045em; }
.auth-box > p { color: var(--muted); }
.auth-box form { display: grid; gap: 16px; }
.auth-foot { font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.auth-mobile-logo { display: none; }
.auth main { padding-top: 0; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-aside { display: none; } .auth-mobile-logo { display: inline-flex; } }

/* ---------- Bandeau cookies ---------- */
.consent { position: fixed; z-index: 400; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin-left: auto; padding: 20px; border-radius: 18px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); display: grid; gap: 14px; animation: toast-in .4s var(--ease); }
.consent p { font-size: 14px; color: var(--ink-2); }
.consent div { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Divers ---------- */
.split-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.link { color: var(--brand-2); }
:root[data-theme="dark"] .input { background: rgba(255, 255, 255, .03); }
