/* Vitrine Naxis — thème « Sidéral » (mêmes couleurs que l'app). Aucun style en ligne : tout passe par ce fichier. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  --bg-top: #2a313d; --bg-bot: #12161c;
  --text: #e6ebf2; --muted: #8893a3; --acc: #426f9e; --acc-2: #6fb1e8;
  --line: rgba(160, 190, 225, .16); --glass: rgba(34, 42, 56, .55);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font: 400 1rem/1.6 var(--font); background: linear-gradient(180deg, var(--bg-top), var(--bg-bot)) fixed; min-height: 100vh; -webkit-font-smoothing: antialiased; }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
img { max-width: 100%; height: auto; }
a { color: #8ec3ee; text-underline-offset: 3px; text-decoration-color: rgba(142, 195, 238, .4); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--acc-2); outline-offset: 3px; border-radius: 10px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 12px max(16px, calc((100vw - 1100px) / 2)); background: rgba(24, 29, 38, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding-top: max(12px, env(safe-area-inset-top)); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: .22em; }
.brand img { border-radius: 9px; }

/* Boutons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 14px; font-weight: 600; color: #fff; text-decoration: none; background: linear-gradient(180deg, #5b92c8, #426f9e); box-shadow: 0 8px 24px rgba(66, 111, 158, .42), inset 0 1px 0 rgba(255, 255, 255, .2); transition: transform .18s cubic-bezier(.34, 1.4, .64, 1), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(66, 111, 158, .55), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-small { padding: 9px 18px; font-size: .9rem; border-radius: 12px; }
.link { color: #8ec3ee; font-weight: 500; }

/* Hero */
.hero { max-width: 1100px; margin: 0 auto; padding: 48px 20px 40px; display: grid; gap: 40px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; font: 500 .72rem var(--font); letter-spacing: .16em; text-transform: uppercase; color: #bcd6ee; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc-2); box-shadow: 0 0 10px rgba(111, 177, 232, .8); animation: breathe 2.6s ease-in-out infinite; }
h1 { margin: 0; font-size: clamp(2.3rem, 7.5vw, 4rem); line-height: 1.06; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
h1 em { font-style: normal; background: linear-gradient(90deg, #8ec3ee, #c9e2f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 22px 0 0; max-width: 34em; font-size: 1.12rem; color: #c3ccd8; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.cta-center { justify-content: center; }
.note { margin: 18px 0 0; font-size: .85rem; color: var(--muted); }

/* Téléphone de démonstration */
.hero-demo { display: grid; place-items: center; }
.phone { width: min(300px, 78vw); aspect-ratio: 9 / 18.6; padding: 9px; border-radius: 42px; background: linear-gradient(160deg, #1b2029, #0a0d12); box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(160, 190, 225, .22), inset 0 0 0 2px #0a0d12; }
.screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(180deg, #232a36, #0d1117); }
.zone { position: relative; flex: 0 0 15%; display: grid; place-items: end center; padding-bottom: 7px; }
.status { display: flex; align-items: center; gap: 7px; font: 500 .56rem var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: opacity .25s; }
.st-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc-2); box-shadow: 0 0 8px rgba(111, 177, 232, .7); animation: breathe 2.6s ease-in-out infinite; }
.status[data-state="think"] .st-dot { animation-duration: 1s; }
.status[data-state="opp"] .st-dot, .status[data-state="idle"] .st-dot { background: var(--muted); box-shadow: none; animation: none; opacity: .6; }
.zone.chip-on .status { opacity: 0; }
.chip { position: absolute; left: 50%; bottom: 4px; display: flex; align-items: center; gap: 7px; padding: 4px 12px 4px 6px; border-radius: 999px; background: rgba(58, 70, 90, .7); box-shadow: inset 0 0 0 1px rgba(160, 190, 225, .25); opacity: 0; transform: translate(-50%, 6px) scale(.94); transition: opacity .22s, transform .3s cubic-bezier(.34, 1.4, .64, 1); }
.chip[data-side="b"] { background: rgba(32, 40, 54, .75); }
.chip.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.chip img { width: 22px; height: 22px; object-fit: contain; }
.chip b { font: 600 .82rem var(--mono); }

.board { position: relative; width: 100%; aspect-ratio: 1; display: grid; grid-template: repeat(8, 1fr) / repeat(8, 1fr); background: #12161c; }
.board .sq { position: relative; }
.board .sq.l { background: rgba(222, 227, 230, .88); }
.board .sq.d { background: rgba(120, 138, 148, .5); }
.board .sq.last { box-shadow: inset 0 0 0 100px rgba(111, 177, 232, .42); }
.board .pc { position: absolute; left: 0; top: 0; width: 12.5%; height: 12.5%; will-change: transform; }
.board .pc img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; pointer-events: none; }

.dock { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; padding: 0 12px 14px; }
.caption { min-height: 2.9em; width: 100%; text-align: center; font-size: .66rem; line-height: 1.4; color: #c9d4e2; opacity: 0; transition: opacity .3s; }
.caption.show { opacity: 1; }
.caption::after { content: "▍"; color: var(--acc-2); opacity: 0; margin-left: 1px; }
.caption.typing::after { opacity: 1; animation: blink .8s steps(2) infinite; }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 18px; opacity: 0; transition: opacity .25s; }
.wave i { display: block; width: 3px; height: 100%; border-radius: 3px; background: var(--acc-2); transform: scaleY(.15); }
.phone[data-voice="listening"] .wave, .phone[data-voice="speaking"] .wave { opacity: 1; }
.phone[data-voice="speaking"] .wave i { background: #dfe8f3; }
.phone[data-voice="listening"] .wave i, .phone[data-voice="speaking"] .wave i { animation: bar .9s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .12s !important; } .wave i:nth-child(3) { animation-delay: .24s !important; } .wave i:nth-child(4) { animation-delay: .06s !important; }
.wave i:nth-child(5) { animation-delay: .3s !important; } .wave i:nth-child(6) { animation-delay: .18s !important; } .wave i:nth-child(7) { animation-delay: .36s !important; }
.micwrap { position: relative; display: grid; place-items: center; }
.mic { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, .9); background: radial-gradient(circle at 35% 28%, rgba(127, 166, 208, .42), rgba(66, 111, 158, .32) 62%, rgba(47, 84, 120, .28)); box-shadow: inset 0 0 0 1px rgba(160, 190, 225, .22), 0 6px 18px rgba(66, 111, 158, .18); transition: transform .16s cubic-bezier(.34, 1.4, .64, 1), background .2s, box-shadow .2s; }
.mic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mic .ring { position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid rgba(104, 146, 192, .5); animation: breathe-ring 3.2s ease-in-out infinite; }
.phone[data-voice="listening"] .mic { transform: scale(.93); background: radial-gradient(circle at 35% 28%, #7fa6d0, #426f9e 62%, #2f5478); box-shadow: 0 4px 26px rgba(104, 146, 192, .8), inset 0 1px 0 rgba(255, 255, 255, .28); }
.phone[data-voice="listening"] .mic .ring { border-color: rgba(190, 250, 242, .8); animation-duration: .9s; }
.finger { position: absolute; bottom: calc(100% + 10px); left: 50%; display: flex; align-items: center; gap: 6px; white-space: nowrap; padding: 6px 12px 6px 8px; border-radius: 999px; font-size: .62rem; background: rgba(32, 40, 54, .78); box-shadow: inset 0 0 0 1px rgba(160, 190, 225, .25); opacity: 0; transform: translate(-50%, 6px); transition: opacity .25s, transform .3s cubic-bezier(.34, 1.4, .64, 1); }
.finger.show { opacity: 1; transform: translate(-50%, 0); }
.finger svg { width: 16px; height: 16px; fill: #8ec3ee; animation: press 1.5s ease-in-out infinite; }

/* Sections */
.block { max-width: 1100px; margin: 0 auto; padding: 64px 20px; }
.block h2 { margin: 0; text-align: center; font-size: clamp(1.6rem, 4.6vw, 2.3rem); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.sub { max-width: 38em; margin: 14px auto 0; text-align: center; color: #b4bfcd; }
.cards { list-style: none; margin: 38px 0 0; padding: 0; display: grid; gap: 16px; }
.card { padding: 22px; border-radius: 20px; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px rgba(0, 0, 0, .18); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(160, 190, 225, .3), 0 16px 36px rgba(0, 0, 0, .28); }
.card h3 { margin: 14px 0 6px; font-size: 1.08rem; }
.card p { margin: 0; color: #b4bfcd; font-size: .95rem; }
.card b { color: var(--text); }
.ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #8ec3ee; background: rgba(66, 111, 158, .25); box-shadow: inset 0 0 0 1px rgba(111, 177, 232, .28); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pills { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pills li { padding: 7px 14px; border-radius: 999px; font-size: .85rem; color: #c3ccd8; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }

.gallery { margin: 36px -20px 0; padding: 4px 20px 18px; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: 0 0 min(250px, 70vw); margin: 0; scroll-snap-align: center; }
.frame { padding: 7px; border-radius: 34px; background: linear-gradient(160deg, #1b2029, #0a0d12); box-shadow: 0 22px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(160, 190, 225, .2); }
.frame img { display: block; width: 100%; border-radius: 27px; }
.gallery figcaption { margin-top: 14px; text-align: center; font-size: .86rem; color: var(--muted); }

.beta-card { max-width: 640px; margin: 0 auto; padding: 38px 26px; text-align: center; border-radius: 26px; background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line), 0 24px 60px rgba(0, 0, 0, .3); }
.beta-card img { border-radius: 17px; box-shadow: 0 10px 26px rgba(0, 0, 0, .4); }
.beta-card h2 { margin-top: 18px; }
.beta-card p { margin: 12px 0 0; color: #b4bfcd; }

.foot { padding: 36px 20px max(36px, env(safe-area-inset-bottom)); text-align: center; border-top: 1px solid var(--line); color: #b4bfcd; }
.foot p { margin: 6px 0; }
.foot .small { font-size: .8rem; color: var(--muted); }

/* Animations */
@keyframes breathe { 0%, 100% { transform: scale(.8); opacity: .55; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes breathe-ring { 0%, 100% { transform: scale(.96); opacity: .35; } 50% { transform: scale(1.08); opacity: .8; } }
@keyframes bar { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
@keyframes press { 0%, 100% { transform: translateY(0) scale(1); } 35%, 75% { transform: translateY(3px) scale(.88); } }
@keyframes blink { 50% { opacity: 0; } }

@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr .9fr; padding-top: 72px; gap: 56px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .gallery { margin: 40px 0 0; padding: 4px 0 18px; justify-content: center; overflow: visible; }
  .gallery figure { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
