/* Cubit — site de vente, version « qui en jette » */
:root {
  --night: #070917;      /* fond */
  --night-2: #0d1130;    /* bandes */
  --glass: rgba(255, 255, 255, .045);
  --line: rgba(160, 175, 255, .16);
  --text: #f1f3ff;
  --muted: #a5acd0;
  --blue: #5b7cff;       /* le bleu de l'appli */
  --violet: #8d69c8;
  --flame: #ff8a3c;      /* l'orange du logo : l'achat et l'attention */
  --flame-2: #ffb03a;
  --ok: #4fe0a0;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Figtree', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --wrap: 1200px;
  --pad: max(24px, calc((100vw - var(--wrap)) / 2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body { margin: 0; background: var(--night); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--flame-2); outline-offset: 3px; border-radius: 8px; }
html[lang="fr"] [lang="en"], html[lang="en"] [lang="fr"] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 60; }
.skip:focus { left: 16px; }
.muted { color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Barre du haut ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 32px; padding: 16px var(--pad); transition: background .25s, border-color .25s, padding .25s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(7, 9, 23, .78); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); padding-top: 11px; padding-bottom: 11px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 800 21px var(--display); letter-spacing: -.02em; }
.brand img { border-radius: 10px; box-shadow: none; filter: drop-shadow(0 0 10px rgba(143,107,255,.55)); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { background: var(--glass); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 7px 11px; font: 700 13px var(--body); cursor: pointer; }

/* ---------- Boutons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 15px 24px; border-radius: 14px; text-decoration: none; font: 700 16px var(--body); border: 1px solid transparent; transition: transform .18s, box-shadow .18s, background .18s; cursor: pointer; }
.btn.buy { color: #1d0b00; background: linear-gradient(135deg, var(--flame-2), var(--flame) 55%, #ff5a2a); box-shadow: 0 10px 40px -8px rgba(255, 122, 47, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn.buy:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -8px rgba(255, 122, 47, .85), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn.buy b { padding-left: 12px; border-left: 1px solid rgba(29, 11, 0, .25); }
.btn.glass { background: var(--glass); border-color: var(--line); color: var(--text); backdrop-filter: blur(8px); }
.btn.glass:hover { border-color: rgba(160, 175, 255, .4); transform: translateY(-2px); }
.btn.small { padding: 9px 15px; font-size: 14px; border-radius: 11px; }
.btn.big { width: 100%; justify-content: center; padding: 18px 24px; font-size: 18px; }

/* ---------- Héros ---------- */
.hero { position: relative; padding: 128px var(--pad) 40px; text-align: center; isolation: isolate; overflow-x: clip; }
.hero-glow { position: absolute; inset: -10% -10% 30%; z-index: -1; background:
  radial-gradient(40% 50% at 25% 30%, rgba(91, 140, 255, .32), transparent 70%),
  radial-gradient(35% 45% at 78% 22%, rgba(143, 107, 255, .3), transparent 70%),
  radial-gradient(30% 40% at 55% 75%, rgba(255, 122, 47, .22), transparent 70%); filter: blur(20px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 16px 7px 8px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: #d4d9f6; }
.kicker img { border-radius: 50%; }
h1 { margin: 0 auto 26px; font: 800 clamp(46px, 7.6vw, 108px)/.95 var(--display); letter-spacing: -.045em; max-width: 13em; }
h1 .h1-a, h1 .h1-b { display: block; }
h1 .h1-b { background: linear-gradient(100deg, #fff 10%, #b9c9ff 40%, var(--flame-2) 75%, var(--flame)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: #c8cdee; max-width: 40em; margin: 0 auto 36px; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }

/* La scène : une plaque Roblox à picots, et le tableau des agents posé dessus */
.stage { position: relative; margin: 64px auto 0; max-width: 1180px; perspective: 1800px; }
.baseplate { position: absolute; left: -12%; right: -12%; bottom: -120px; height: 380px; transform: rotateX(62deg); transform-origin: bottom; border-radius: 30px;
  background:
    radial-gradient(circle at 50% 50%, rgba(170, 190, 255, .28) 0 5px, rgba(0, 0, 0, .35) 6px, transparent 7px) 0 0 / 34px 34px,
    linear-gradient(180deg, rgba(40, 58, 140, .55), rgba(7, 9, 23, 0) 90%);
  -webkit-mask-image: radial-gradient(70% 90% at 50% 100%, #000 40%, transparent 75%); mask-image: radial-gradient(70% 90% at 50% 100%, #000 40%, transparent 75%); }
.board { position: relative; text-align: left; border-radius: 22px; background: rgba(10, 13, 34, .82); border: 1px solid rgba(160, 175, 255, .22); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 90px -20px rgba(91, 140, 255, .45); backdrop-filter: blur(10px); transform: rotateX(8deg); transform-origin: center bottom; overflow: hidden; }
.board-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.dots { display: flex; gap: 6px; } .dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f55; }
.dots i:first-child { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.board-top b { font: 700 15px var(--display); margin-right: auto; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.pill em { font-style: normal; color: var(--text); font-weight: 700; }
.pill.sync i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.pill.sync.flash { border-color: rgba(79, 224, 160, .6); color: #b7f5da; }
.lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lane { min-height: 330px; padding: 16px 16px 18px; border-right: 1px solid var(--line); transition: background .3s; }
.lane:last-child { border-right: none; }
.lane header { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.lane header b { display: block; font: 700 15.5px var(--display); }
.say { display: block; font-size: 12.5px; color: var(--muted); min-height: 1.4em; transition: color .3s; }
.st { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: #3a4170; flex-shrink: 0; }
.lane[data-st="work"] .st { background: var(--blue); box-shadow: 0 0 12px var(--blue); animation: pulse 1s infinite alternate; }
.lane[data-st="work"] .say { color: #a9c0ff; }
.lane[data-st="ask"] { background: rgba(255, 122, 47, .07); }
.lane[data-st="ask"] .st { background: var(--flame); box-shadow: 0 0 14px var(--flame); }
.lane[data-st="ask"] .say { color: #ffc39a; }
.lane[data-st="done"] .st { background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.lane[data-st="done"] .say { color: #a6f0cc; }
@keyframes pulse { to { opacity: .45; } }
.perm { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; padding: 9px 10px 9px 12px; border-radius: 11px; background: rgba(255, 122, 47, .12); border: 1px solid rgba(255, 122, 47, .45); font-size: 13px; }
.perm code { font-family: var(--mono); font-size: 12px; background: rgba(0, 0, 0, .3); padding: 1px 5px; border-radius: 5px; }
.perm button { border: none; border-radius: 8px; padding: 6px 12px; font: 700 13px var(--body); color: #1d0b00; background: linear-gradient(135deg, var(--flame-2), var(--flame)); transition: transform .15s; }
.perm button.press { transform: scale(.9); box-shadow: 0 0 0 6px rgba(255, 122, 47, .25); }
.out { margin: 0; font: 400 12.8px/1.65 var(--mono); color: #cfd5f5; white-space: pre-wrap; word-break: break-word; }
.out .c-dim { color: #7f88b5; } .out .c-ok { color: var(--ok); } .out .c-blue { color: #9cb8ff; } .out .c-fl { color: #ffb37f; }
.out .caret { display: inline-block; width: 7px; height: 14px; background: #cfd5f5; vertical-align: -2px; animation: blink .9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Bandeau défilant ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--night-2); padding: 18px 0; margin-top: 110px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; align-items: center; gap: 28px; width: max-content; animation: scroll 38s linear infinite; font: 700 22px var(--display); letter-spacing: -.01em; white-space: nowrap; }
.track i { width: 12px; height: 12px; border-radius: 3px; background: linear-gradient(135deg, var(--blue), var(--violet)); transform: rotate(45deg); flex-shrink: 0; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 130px var(--pad); }
h2 { font: 800 clamp(34px, 4.6vw, 62px)/1 var(--display); letter-spacing: -.04em; margin: 0 0 22px; }
h3 { font: 700 21px/1.25 var(--display); margin: 0 0 8px; letter-spacing: -.015em; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head p, .big { font-size: 19px; color: #c3c9ea; margin: 0; }

/* Visite : onglets + capture en perspective */
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); margin-bottom: 34px; flex-wrap: wrap; }
.tabs button { border: none; background: none; color: var(--muted); font: 700 15px var(--body); padding: 10px 18px; border-radius: 11px; cursor: pointer; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: linear-gradient(135deg, rgba(91, 140, 255, .9), rgba(143, 107, 255, .9)); color: #fff; box-shadow: 0 8px 26px -8px rgba(91, 140, 255, .8); }
.screen { perspective: 2000px; }
.screen-frame { padding: 10px; border-radius: 24px; background: linear-gradient(160deg, rgba(91, 140, 255, .5), rgba(143, 107, 255, .25) 40%, rgba(255, 122, 47, .35)); box-shadow: 0 60px 140px -40px rgba(91, 140, 255, .55); transform: rotateX(4deg); transition: transform .6s; }
.screen-frame { will-change: transform; }
.screen-frame img { border-radius: 16px; transition: opacity .25s; }
.screen-frame img.swap { opacity: 0; }
.caption { color: var(--muted); margin: 22px 0 0; font-size: 16px; max-width: 46em; }

/* Fonctions : grille à tailles variées */
.features { background: var(--night-2); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; padding: 26px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); border: 1px solid var(--line); overflow: hidden; }
.tile p { margin: 0; color: #bcc3e6; font-size: 15.5px; }
.t-undo { grid-column: span 3; } .t-voice { grid-column: span 3; }
.t-plan { grid-column: span 2; } .t-tokens { grid-column: span 2; } .t-studio { grid-column: span 2; }
.t-more { grid-column: span 6; }
.viz { height: 130px; margin-bottom: 20px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); position: relative; overflow: hidden; }
.diff { padding: 16px; font: 13px/1.9 var(--mono); }
.diff p { margin: 0; padding: 0 8px; border-radius: 5px; }
.diff .del { background: rgba(255, 95, 87, .14); color: #ff9c95; }
.diff .add { background: rgba(79, 224, 160, .12); color: #9ff0c9; }
.undo-btn { position: absolute; right: 14px; bottom: 12px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; background: linear-gradient(135deg, var(--flame-2), var(--flame)); color: #1d0b00; box-shadow: 0 8px 22px -6px rgba(255, 122, 47, .8); }
.wave { display: flex; align-items: center; justify-content: center; gap: 6px; }
.wave i { width: 7px; height: 30%; border-radius: 4px; background: linear-gradient(180deg, var(--violet), var(--blue)); animation: wave 1.1s ease-in-out infinite alternate; }
.wave i:nth-child(2n) { animation-delay: -.35s; } .wave i:nth-child(3n) { animation-delay: -.7s; } .wave i:nth-child(5n) { animation-delay: -.2s; }
@keyframes wave { to { height: 80%; } }
.tasks { padding: 14px 16px; display: grid; gap: 6px; font-size: 14px; align-content: center; }
.tasks p { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.tasks p::before { content: ''; width: 14px; height: 14px; border-radius: 4px; border: 2px solid #4a5285; flex-shrink: 0; }
.tasks .ok { color: #9aa2c8; text-decoration: line-through; } .tasks .ok::before { background: var(--ok); border-color: var(--ok); }
.tasks .now { color: var(--text); font-weight: 700; } .tasks .now::before { border-color: var(--blue); box-shadow: 0 0 10px var(--blue); }
.meter { padding: 26px 18px; display: grid; gap: 18px; align-content: center; }
.meter span { display: block; height: 14px; border-radius: 8px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 8px; }
.m-before i { width: 88%; background: linear-gradient(90deg, #ff5f57, var(--flame)); }
.m-after i { width: 46%; background: linear-gradient(90deg, var(--ok), #38c4ff); }
.syncviz { display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font: 600 13px var(--mono); }
.syncviz .file, .syncviz .studio { padding: 8px 11px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.syncviz .studio { color: #9cb8ff; border-color: rgba(91, 140, 255, .5); }
.syncviz .arrow { flex: 1; height: 2px; margin: 0 10px; background: linear-gradient(90deg, transparent, var(--blue), transparent) 0 0 / 50% 100% repeat-x; animation: flow 1.2s linear infinite; }
@keyframes flow { to { background-position: 100% 0; } }
.t-more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 30px; }
.t-more li { font: 700 17px var(--display); display: flex; align-items: center; gap: 12px; }
.t-more li::before { content: ''; width: 9px; height: 9px; border-radius: 2px; background: var(--blue); transform: rotate(45deg); }

/* Équipe */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.team .big { margin-bottom: 28px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.ticks li { position: relative; padding-left: 32px; color: #d7dcf5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 6px; background: rgba(79, 224, 160, .15); }
.ticks li::after { content: ''; position: absolute; left: 6px; top: .52em; width: 8px; height: 4px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.chat { padding: 26px; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 40px 100px -40px rgba(143, 107, 255, .6); }
.msg { margin: 0; max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 15px; }
.msg b { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.msg.l { background: rgba(255, 255, 255, .07); border-bottom-left-radius: 5px; }
.msg.r { align-self: flex-end; background: linear-gradient(135deg, rgba(91, 140, 255, .55), rgba(143, 107, 255, .5)); border-bottom-right-radius: 5px; }
.msg.r b { color: #dfe6ff; }
.event { margin: 2px 0; align-self: center; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #a6f0cc; padding: 6px 12px; border-radius: 999px; background: rgba(79, 224, 160, .1); }
.event i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* Mobile */
.mobile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 70px; align-items: center; background: var(--night-2); }
.phone-wrap { position: relative; display: grid; place-items: center; }
.phone-wrap::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(91, 140, 255, .45), transparent 65%); filter: blur(30px); }
.phone { position: relative; width: min(300px, 100%); padding: 11px; border-radius: 46px; background: linear-gradient(160deg, #2a3170, #0b0e26); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .08); transform: rotate(-4deg); }
.phone img { border-radius: 36px; }

/* Ce qu'il te faut */
.needs h2 { font-size: clamp(28px, 3vw, 40px); }
.needs-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.needs-row p { margin: 0; padding: 22px; border-radius: 18px; border: 1px solid var(--line); color: #bcc3e6; font-size: 15.5px; }
.needs-row b { display: block; font: 700 19px var(--display); color: var(--text); margin-bottom: 6px; }

/* Prix : la carte au bord animé */
.price { display: flex; justify-content: center; }
.price-card { position: relative; width: min(980px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; padding: 54px; border-radius: 30px; background: #0b0e27; isolation: isolate; }
.price-card::before { content: ''; position: absolute; inset: -2px; z-index: -1; border-radius: 32px; background: conic-gradient(from var(--a, 0deg), var(--blue), var(--violet), var(--flame), var(--flame-2), var(--blue)); animation: spin 6s linear infinite; }
.price-card::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 30px; background: radial-gradient(80% 120% at 0% 0%, #161b45, #0b0e27 60%); }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.amount { font: 800 clamp(64px, 8vw, 96px)/1 var(--display); letter-spacing: -.05em; margin: 10px 0 8px; background: linear-gradient(120deg, #fff, var(--flame-2) 70%, var(--flame)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-left .muted { margin: 0 0 30px; }
.price-left .fine { margin-top: 12px; text-align: center; }
.price-list li { font-size: 17px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: var(--glass); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(91, 140, 255, .5); }
.faq summary { cursor: pointer; padding: 20px 0; font: 700 18px/1.35 var(--body); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue); font: 700 24px/1 var(--body); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 20px; color: #c3c9ea; }

/* Dernier appel */
.final { text-align: center; padding-top: 110px; padding-bottom: 140px; background: radial-gradient(50% 70% at 50% 100%, rgba(255, 122, 47, .22), transparent 70%); }
.final h2 { font-size: clamp(40px, 6.5vw, 92px); max-width: 11em; margin: 0 auto 36px; }

/* Pied de page */
.foot { padding: 46px var(--pad) 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { border-radius: 10px; }
.foot-brand div { display: flex; flex-direction: column; }
.foot-brand span { color: var(--muted); font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: var(--muted); font-size: 15px; text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot .fine { grid-column: 1 / -1; font-size: 13px; }

/* Pages légales */
.legal { max-width: 820px; margin: 0 auto; padding: 130px 24px 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); text-align: left; margin-left: 0; }
.legal h2 { font-size: 30px; margin-top: 60px; }
.legal p, .legal li { color: #c9cfee; }
.legal .todo { background: rgba(255, 122, 47, .16); color: #ffc79d; padding: 1px 6px; border-radius: 5px; }

/* Apparition au défilement : une seule fois par élément */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }


/* ---------- Braises (le logo : pingouin, flamme et étincelles) ---------- */
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---------- Essai : donne une tâche ---------- */
.try-box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); overflow: hidden; box-shadow: 0 40px 110px -50px rgba(91, 140, 255, .6); }
.try-ask { padding: 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.chips { display: flex; flex-direction: column; gap: 10px; }
.chips button { text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text); font: 600 15.5px var(--body); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.chips button:hover { border-color: rgba(91, 140, 255, .6); transform: translateX(4px); }
.chips button.on { border-color: var(--blue); background: rgba(91, 140, 255, .14); }
.try-form { display: flex; gap: 8px; margin-top: auto; }
.try-form input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--text); font: 500 15px var(--body); }
.try-form input:focus { outline: none; border-color: var(--blue); }
.try-run { padding: 30px; min-height: 420px; display: flex; flex-direction: column; gap: 12px; }
.try-empty { margin: auto; color: var(--muted); }
.chef-card { padding: 16px 18px; border-radius: 16px; background: rgba(255, 122, 47, .08); border: 1px solid rgba(255, 122, 47, .35); }
.chef-card b { display: flex; align-items: center; gap: 9px; font: 700 15px var(--display); margin-bottom: 6px; }
.chef-card b::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 10px var(--flame); }
.chef-card p { margin: 0; font: 13.5px/1.6 var(--mono); color: #ffd3b5; }
.sub { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .22); opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1.2); }
.sub.in { opacity: 1; transform: none; }
.sub .who { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font: 800 14px var(--display); grid-row: span 2; }
.sub strong { font: 700 15px var(--display); }
.sub .file { grid-column: 2; font: 12.5px var(--mono); color: var(--muted); min-height: 1.3em; }
.sub .pct { font: 700 13px var(--mono); color: var(--muted); grid-row: span 2; }
.sub .bar { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.sub .bar i { display: block; height: 100%; width: 0; border-radius: 3px; transition: width .25s linear; }
.sub.done .pct { color: var(--ok); }
.done-card { margin-top: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(79, 224, 160, .1); border: 1px solid rgba(79, 224, 160, .45); color: #b8f5d9; font-weight: 600; opacity: 0; transform: scale(.96); transition: opacity .4s, transform .4s cubic-bezier(.2, .8, .2, 1.3); }
.done-card.in { opacity: 1; transform: none; }

/* ---------- Ton PC ---------- */
.check { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.check-q { margin-top: 30px; display: grid; gap: 10px; }
.check-q > p { margin: 10px 0 0; font-weight: 700; color: #d6dbf5; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); justify-self: start; }
.seg button { border: none; background: none; color: var(--muted); font: 700 15px var(--body); padding: 9px 16px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: linear-gradient(135deg, rgba(91, 140, 255, .9), rgba(143, 107, 255, .9)); color: #fff; }
.check-result { padding: 34px; border-radius: 26px; background: radial-gradient(120% 90% at 100% 0%, rgba(91, 140, 255, .18), rgba(10, 13, 34, .9) 60%); border: 1px solid var(--line); display: grid; gap: 16px; }
.cr-verdict { margin: 0 0 6px; font: 800 clamp(24px, 2.4vw, 32px)/1.15 var(--display); letter-spacing: -.02em; transition: color .3s; }
.cr-verdict.ok { color: #b6f5d7; } .cr-verdict.warn { color: #ffd59c; } .cr-verdict.bad { color: #ffaaa1; }
.cr-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: #cbd1ef; }
.cr-row b { font-weight: 700; }
.cr-row b.yes { color: var(--ok); } .cr-row b.no { color: #ff9c95; }
.cr-agents { display: flex; gap: 7px; }
.cr-agents i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); transition: background .35s, box-shadow .35s, transform .35s; }
.cr-agents i.on { background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 0 16px rgba(91, 140, 255, .7); transform: translateY(-2px); }
.check-result .fine { text-align: center; }
.dl-link { display: block; text-align: center; margin-top: 14px; color: #b9c9ff; font-weight: 600; font-size: 15px; }

/* ---------- Effets à la souris ---------- */
.tile::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(91, 140, 255, .16), transparent 45%); }
.tile:hover::after { opacity: 1; }
.tile { transition: transform .3s, border-color .3s; }
.tile:hover { transform: translateY(-4px); border-color: rgba(160, 175, 255, .32); }
.spark { position: fixed; z-index: 70; width: 6px; height: 6px; border-radius: 50%; pointer-events: none; background: var(--flame-2); box-shadow: 0 0 10px var(--flame); }

@media (max-width: 1000px) {
  .try-box, .check { grid-template-columns: 1fr; }
  .try-ask { border-right: none; border-bottom: 1px solid var(--line); }
  .check { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Écrans plus petits ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .lanes { grid-template-columns: 1fr 1fr; }
  .lane:nth-child(3) { display: none; }
  .lane:nth-child(2) { border-right: none; }
  .t-undo, .t-voice { grid-column: span 6; }
  .t-plan, .t-tokens, .t-studio { grid-column: span 3; }
  .t-studio { grid-column: span 6; }
  .t-more ul { grid-template-columns: 1fr 1fr; }
  .team, .mobile { grid-template-columns: 1fr; gap: 50px; }
  .price-card { grid-template-columns: 1fr; padding: 40px 30px; gap: 30px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding-top: 90px; padding-bottom: 90px; }
  .hero { padding-top: 120px; }
  .stage { margin-top: 56px; }
  .board { transform: none; }
  .lanes { grid-template-columns: 1fr; }
  .lane:nth-child(2) { display: none; }
  .lane { border-right: none; min-height: 300px; }
  .pill.usage { display: none; }
  .t-plan, .t-tokens, .t-studio { grid-column: span 6; }
  .t-more ul { grid-template-columns: 1fr; }
  .needs-row, .faq-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .track { font-size: 18px; }
}

.not-ai { margin: 10px auto 0; font-size: 14.5px; color: #ffb27a; font-weight: 600; }
.not-ai-box { margin: 0 0 22px; padding: 22px 24px; border-radius: 18px; border: 1px solid rgba(255,122,47,.35); background: linear-gradient(120deg, rgba(255,122,47,.10), rgba(143,107,255,.08)); }
.not-ai-box b { display: block; font: 800 22px var(--display); color: var(--text); margin-bottom: 8px; }
.not-ai-box p { margin: 0; color: #c8cdee; font-size: 16px; max-width: 62em; }
.price-list li.no { color: #9aa1c7; }
.price-list li.no::before { background: rgba(255,122,47,.15); }
.price-list li.no::after { content: 'i'; border: 0; transform: none; left: 0; top: .2em; width: 20px; height: 20px; text-align: center; font: 700 13px/20px var(--display); color: var(--flame); }
.buy-form { display: grid; gap: 10px; margin-top: 4px; max-width: 420px; }
.buy-form label { font-weight: 600; }
.buy-form input { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.25); color: inherit; font: inherit; }
.buy-form button[disabled] { opacity: .6; }
.buy-err { color: #ff8f8f; min-height: 1em; margin: 0; }
.buy-ok { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(134,227,187,.14); color: #bff3dc; }
.buy-form[hidden] { display: none; }
.buy-flow { margin-top: 4px; }
.acc-tabs { display: flex; gap: 6px; background: rgba(0,0,0,.25); padding: 4px; border-radius: 12px; }
.acc-tab { flex: 1; border: 0; background: none; color: var(--muted); font: 600 14px var(--body); padding: 9px 10px; border-radius: 9px; cursor: pointer; }
.acc-tab.on { background: var(--glass); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.buy-form input[type=password] { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.25); color: inherit; font: inherit; }
.link-btn { background: none; border: 0; color: var(--flame-2); font: 600 13px var(--body); cursor: pointer; padding: 0; text-decoration: underline; justify-self: start; }
.acc-who, .pay-note { margin: 0; font-size: 14px; color: var(--muted); }
.acc-who b, .pay-note b { color: var(--text); }
.pay-note { padding: 10px 12px; border-radius: 12px; background: rgba(255,138,60,.10); border: 1px solid rgba(255,138,60,.25); }
#pay-choices { display: grid; gap: 10px; }
[hidden] { display: none !important; }
#acc-pass2-wrap { display: grid; gap: 10px; } #acc-pass2-wrap input { width: 100%; box-sizing: border-box; }
