/* Trollcast : polices de l'appli, auto-hébergées (aucune requête vers Google Fonts) */
@font-face { font-family: Archivo; src: url(fonts/Archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(fonts/GeistMono.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

/* les titres en capitales serrées, comme dans l'appli (style SteelSeries GG) */
:is(h1, h2, .close__word, .plan__prix) { font-stretch: 85%; }
h1 { text-transform: uppercase; letter-spacing: -0.01em; font-stretch: 78%; }
.logo-img { width: 28px; height: 28px; border-radius: 7px; }
.nav__logo { gap: 10px; text-transform: uppercase; font-weight: 700; font-stretch: 85%; letter-spacing: .02em; }
code { font-family: var(--font-mono); font-size: .92em; color: var(--accent); }
.ground-inverse code { color: inherit; }
.hero__proof { font-size: var(--t-small); color: var(--muted); }
.shot-top { object-position: 0 0; }
.shot-rules { object-position: 12% 32%; }

/* héros : la vraie capture de l'appli, coupée par le cadre à droite et en bas */
.hero__art { background: radial-gradient(70% 60% at 20% 10%, color-mix(in oklab, var(--accent) 22%, var(--surface)), transparent 70%), var(--surface); }
.ly-piece--main.shot { border-radius: 10px 0 0 0; overflow: hidden; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 30px 60px -20px rgb(0 0 0 / .6); background: #161a20; }
.ly-piece--main.shot img { display: block; width: 1000px; max-width: none; height: auto; }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
.note { padding: 14px 16px; border-radius: 8px; background: #1e262c; color: #e9edf3; border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 20px 40px -16px rgb(0 0 0 / .7); }
.note__row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.note__line { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13.5px; color: #b9c1ca; border-top: 1px solid rgb(255 255 255 / .07); }
.note__line b { color: #fff; font-weight: 600; }
.note__line img { width: 34px; height: 22px; object-fit: cover; border-radius: 3px; }
.tw { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #9146ff; color: #fff; font-size: 10px; font-weight: 700; flex: none; }
.chip { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 4px; background: rgb(252 78 3 / .16); color: #ff7a40; letter-spacing: .04em; }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 270px; } }

/* fonctionnement : trois cartes, chacune avec son visuel */
.steps .panel { --p-h: 230px; background: #12161b; }
.steps .panel img { width: 100%; height: 100%; object-fit: cover; }
.mini-list { display: grid; gap: 8px; padding: 22px; align-content: center; height: 100%; }
.mini-list div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border-radius: 6px; font-size: 14px; font-weight: 500; }
.mini-list em, .mini-list i { margin-left: auto; font-style: normal; font-size: 12.5px; color: #3ccf8e; }
.mini-list i { color: var(--muted); }
.tag { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 5px; color: #fff; font-size: 10.5px; font-weight: 700; }
@media (max-width: 639px) { .steps .panel { --p-h: 170px; } }

/* bibliothèque : les miniatures réelles des effets */
.lib { row-gap: var(--g-gap, 24px); }
.lib__item { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-md, 8px); background: #0d1014; aspect-ratio: 16 / 9; }
.lib__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.lib__item:hover img { transform: scale(1.03); }
.lib__item span { position: absolute; left: 12px; bottom: 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / .8); }
.fx-list { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fx-list li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); }
@media (max-width: 1023px) and (min-width: 640px) { .lib__item { grid-column: span 3; } }
@media (max-width: 639px) { .lib__item { grid-column: span 6; } .lib__item:nth-child(n+7) { display: none; } }

/* arrêt d'urgence : les trois touches en grand */
.secu { align-items: center; }
.garde { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.garde li { padding-left: 26px; position: relative; color: var(--muted); }
.garde li b { color: var(--ink); font-weight: 600; }
.garde li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 2px; background: var(--accent); }
.keys { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.keys span { font-size: 32px; color: var(--muted); }
kbd { display: inline-grid; place-items: center; min-width: 96px; height: 96px; padding: 0 22px; font: 600 28px var(--font-mono); color: var(--ink);
  background: linear-gradient(#262f36, #1e262c); border: 1px solid rgb(255 255 255 / .1); border-bottom-width: 6px; border-radius: 12px; }
kbd.hot { color: #fff; background: var(--accent); border-color: #c93c00; }
@media (max-width: 639px) { kbd { min-width: 72px; height: 72px; font-size: 22px; padding: 0 14px; } .keys span { font-size: 22px; } .keys { justify-content: flex-start; } }

/* tarifs et commande (fond clair) */
.plans { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); align-content: start; }
.plan { position: relative; display: grid; gap: 6px; padding: var(--s-6); background: var(--surface); border: 2px solid transparent; border-radius: var(--r-md, 8px); cursor: pointer; transition: border-color .2s, transform .2s; }
.plan:hover { transform: translateY(-2px); }
.plan:has(input:checked) { border-color: var(--ink); background: #fff; }
.plan:has(input:focus-visible) { outline: 3px solid #fc4e03; outline-offset: 3px; }

.plan__nom { font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.plan__nom em { font-style: normal; font-size: 11px; padding: 3px 8px; border-radius: 4px; background: #fc4e03; color: #fff; }
.plan__prix { font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.plan__prix small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__info { color: var(--muted); font-size: 14px; }
.inclus { grid-column: 1 / -1; margin: var(--s-4) 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.inclus li { padding-left: 26px; position: relative; }
.inclus li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border: solid #c93c00; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.commande__champs .field input { background: #fff; }
.case { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.case input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: #161a20; }
.case a, .faq a { text-decoration: underline; text-underline-offset: 3px; }
.commande .field__error { margin: -8px 0 0; }
.commande .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
@media (max-width: 1023px) { .plans, .commande__champs { grid-column: 1 / -1; } }
@media (max-width: 639px) { .plans { grid-template-columns: 1fr; } .plan { padding: var(--s-5); } }

/* pages légales et pages simples */
.doc { max-width: 760px; padding-block: calc(var(--nav-h, 72px) + var(--s-8)) var(--s-10, 96px); }
.doc h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: var(--s-4); }
.doc h2 { font-size: 22px; margin: var(--s-8) 0 var(--s-3); text-transform: none; font-stretch: 100%; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--muted); line-height: 1.65; }
.doc :is(p, li) b { color: var(--ink); font-weight: 600; }
.doc a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: var(--s-4) 0; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.doc th { color: var(--ink); font-weight: 600; }
.a-completer { background: #fc4e03; color: #161a20; padding: 0 6px; border-radius: 3px; font-weight: 600; }
.doc .maj { font-size: 14px; }
.doc .formulaire { border: 1px solid var(--line); border-radius: 8px; padding: var(--s-5); white-space: pre-line; }
.secu { align-items: stretch; }
.secu .keys { justify-content: flex-start; margin-block: var(--s-2); }
.secu kbd { min-width: 72px; height: 72px; font-size: 22px; padding: 0 16px; }
.secu .keys span { font-size: 24px; }
.secu__shot { --p-h: 100%; min-height: 520px; background: #12161b; border-radius: var(--r-md, 8px); overflow: hidden; }
.secu__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 14% 88%; }
@media (max-width: 1023px) { .secu__shot { grid-column: 1 / -1; min-height: 280px; } }
@media (max-width: 639px) { .secu__shot { min-height: 220px; } }
/* retouches après contrôle : étiquettes lisibles, radio visible au clavier, listes alignées */
.lib { grid-auto-rows: auto; }
.lib__item--grand { grid-row: span 2; aspect-ratio: auto; }
.lib__item span { text-shadow: none; background: rgb(10 12 15 / .82); padding: 4px 8px; border-radius: 4px; left: 10px; bottom: 10px; }
.fx-list li { padding: 0; border: 0; border-radius: 0; }
.fx-list { gap: 6px 22px; }
.plan input { opacity: 1; pointer-events: auto; position: absolute; top: var(--s-5); right: var(--s-5); width: 20px; height: 20px; margin: 0; accent-color: #161a20; }
kbd.hot, .plan__nom em { color: #161a20; }
.faq-grid { align-items: start; }
.faq__shot { --p-h: 520px; background: #12161b; border-radius: var(--r-md, 8px); overflow: hidden; position: sticky; top: calc(var(--nav-h, 72px) + 24px); }
.faq__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 10% 18%; }
@media (max-width: 1023px) { .faq-grid > * { grid-column: 1 / -1; } .faq__shot { position: static; --p-h: 300px; } }
@media (max-width: 639px) { .lib__item--grand { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; } .faq__shot { --p-h: 220px; } }
.faq-grid .faq { grid-template-columns: 1fr; }
.hero--collage h1 { font-size: calc(var(--ly-h1-col) * .9); }
@media (max-width: 359px) { .nav:not(.is-open) .nav__actions { display: none; } }
@media (max-width: 1023px) { .faq__shot { display: none; } }
.doc :is(ol, ul) { list-style: revert; padding-left: 1.4em; display: grid; gap: 6px; margin: var(--s-3) 0; }
.doc a.btn { text-decoration: none; color: var(--action-ink, #161a20); margin-top: var(--s-4); }
.doc a.btn--secondary { color: var(--ink); }

/* pages connexion / compte */
.compte #google-btn { margin: var(--s-6, 24px) 0; min-height: 44px; }
.compte form { display: grid; gap: var(--s-4, 16px); max-width: 420px; }
.compte .lien-info { padding: 12px 16px; border-left: 3px solid #fc4e03; background: rgb(252 78 3 / .1); }
.btn-google { display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 22px; border: 1px solid #dadce0; border-radius: 999px; background: #fff; color: #1f1f1f; font: 600 15px/1 Archivo, system-ui, sans-serif; cursor: pointer; }
.btn-google:hover { background: #f4f6fb; }
