/* ============================================================
   Console — site vitrine. Design system ARCADE (FAM IA).
   Statique, zéro dépendance, zéro tracker.
   ============================================================ */

:root {
  --nuit: #131022;
  --salle: #1c1830;
  --ivoire: #f2ede4;
  --carte: #fbf8f1;
  --fusee: #ff4757;
  --fusee-deep: #d93042;
  --succes: #1fcb6b;
  --alerte: #ffb020;
  --ombre: 5px 5px 0 rgba(0, 0, 0, 0.5);
  --ombre-pressee: 2px 2px 0 rgba(0, 0, 0, 0.5);

  --time: #00c2ff;
  --money: #1fcb6b;
  --social: #ff3d9a;
  --study: #ffb020;
  --ia: #9d7bf4;
  --pale-time: #c2e4e9;
  --pale-money: #c8e6cc;
  --pale-social: #f5cad5;
  --pale-study: #f5e1bd;
  --pale-ia: #ddd2f7;
  --pale-mates: #d6ea9f;   /* Mates Mode, 08/09/2026 — dérivé du lime #C6FF4A */

  --warm-50: #ece6d9;
  --warm-300: #d6cdbb;
  --warm-600: #5f5647;
  --cool-300: #9c95b0;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px;
  --s6: 24px; --s8: 32px; --s12: 48px; --s16: 64px; --s24: 96px;
  --outer: clamp(1.25rem, 5vw, 2.5rem);

  --r-badge: 8px;
  --r-field: 14px;
  --r-tile: 20px;

  --display: 'Archivo', system-ui, Arial, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, sans-serif;
  --pixel: 'Silkscreen', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ivoire);
  background: var(--nuit);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Typo ---------- */
h1, h2, h3, .display {
  font-family: var(--display);
  font-variation-settings: 'wght' 900, 'wdth' 125;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(34px, 6.5vw, 64px); }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.15; }
.pixel {
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--cool-300); }
.mark { background: #f4cfcb; color: var(--nuit); padding: 0 0.15em; border-radius: 3px; }
.muted { color: var(--cool-300); }
/* Sur fond clair, le gris froid ne passe pas le contraste : on repasse en gris chaud. */
.paper .lead, .paper-alt .lead,
.paper .muted, .paper-alt .muted { color: var(--warm-600); }

/* ---------- Layout ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--outer); }
.narrow { max-width: 760px; }
section { padding: var(--s24) 0; }
.paper { background: var(--ivoire); color: var(--nuit); }
.paper-alt { background: var(--warm-50); color: var(--nuit); }
.night-grid {
  background-color: var(--nuit);
  background-image:
    linear-gradient(rgba(156,149,176,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156,149,176,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.grid { display: grid; gap: var(--s4); }
.g2 { grid-template-columns: 1fr; }
.g3 { grid-template-columns: 1fr; }
.g4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 40em) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 62em) { .g4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: var(--s3) var(--outer);
  /* Opaque franc : ARCADE exclut le verre dépoli, et un fond translucide
     laisserait lire le titre au travers. */
  background: var(--nuit);
  border-bottom: 1px solid rgba(242,237,228,0.14);
}
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: var(--r-field);
  background: var(--fusee); border: 2px solid var(--ivoire); color: var(--ivoire);
  display: grid; place-items: center;
  font-family: var(--display); font-variation-settings: 'wght' 900,'wdth' 125; font-size: 18px;
}
.brand-name { font-family: var(--display); font-variation-settings: 'wght' 900,'wdth' 125; font-size: 20px; text-transform: uppercase; }
.nav-links { display: none; gap: var(--s4); align-items: center; }
@media (min-width: 62em) { .nav-links { display: flex; } }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .85; }
.nav-links a:hover { opacity: 1; text-decoration: underline; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-weight: 700; font-size: 16px; line-height: 1;
  padding: 15px 24px; min-height: 48px;
  border-radius: var(--r-field);
  text-decoration: none;
  transition: transform .12s cubic-bezier(.2,.9,.3,1.2), box-shadow .12s ease, background .12s ease;
}
.btn-primary { background: var(--fusee); color: var(--ivoire); box-shadow: var(--ombre); }
.btn-primary:hover { background: var(--fusee-deep); }
.btn-primary:active { transform: translate(2px,2px); box-shadow: var(--ombre-pressee); }
.btn-light { background: var(--ivoire); color: var(--nuit); box-shadow: var(--ombre); }
.btn-light:active { transform: translate(2px,2px); box-shadow: var(--ombre-pressee); }
.btn-ghost { border: 2px solid rgba(242,237,228,.35); color: var(--ivoire); }
.btn-ghost:hover { background: rgba(242,237,228,.08); }
.paper .btn-ghost, .paper-alt .btn-ghost { border-color: var(--warm-300); color: var(--nuit); }
.paper .btn-ghost:hover, .paper-alt .btn-ghost:hover { background: var(--warm-50); }
.btn-sm { font-size: 14px; padding: 11px 16px; min-height: 42px; }
.btn:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--fusee); outline-offset: 2px;
}

/* ---------- Badges & stickers ---------- */
.badge {
  display: inline-block; font-family: var(--pixel); font-size: 10px;
  letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--r-badge); padding: 5px 9px;
  background: var(--salle); color: var(--ivoire); border: 1px solid var(--cool-300);
}
.paper .badge, .paper-alt .badge { background: var(--nuit); color: var(--ivoire); border-color: var(--nuit); }
.sticker {
  display: inline-block; font-family: var(--display);
  font-variation-settings: 'wght' 900,'wdth' 125; font-weight: 900; text-transform: uppercase;
  background: var(--fusee); color: var(--ivoire);
  border: 3px solid var(--ivoire); border-radius: var(--r-badge);
  box-shadow: var(--ombre); padding: var(--s2) var(--s3);
  transform: rotate(-2deg); font-size: 15px;
}

/* ---------- Hero ---------- */
/* padding-block seulement : .hero est posé sur .wrap, dont il ne doit pas
   écraser les marges latérales. */
.hero { padding-top: var(--s16); padding-bottom: var(--s24); }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 52ch; margin: var(--s6) 0 var(--s8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

/* ---------- Formulaire de conversion ---------- */
.signup {
  display: flex; flex-wrap: wrap; gap: var(--s2);
  background: var(--salle); border: 2px solid rgba(242,237,228,.18);
  border-radius: var(--r-tile); padding: var(--s3);
  max-width: 520px;
}
.paper .signup, .paper-alt .signup { background: var(--carte); border-color: var(--warm-300); box-shadow: var(--ombre); }
.signup input {
  flex: 1 1 220px; min-width: 0; min-height: 48px;
  border: 2px solid transparent; border-radius: var(--r-field);
  padding: 12px 14px; font: inherit; font-size: 16px;
  background: var(--ivoire); color: var(--nuit);
}
.signup input:focus { outline: 2px solid var(--fusee); outline-offset: 1px; }
.signup .btn { flex: 0 0 auto; }
.signup-note { font-size: 13px; margin-top: var(--s3); }

/* ---------- Cartes ---------- */
.card {
  background: var(--carte); color: var(--nuit);
  border: 2px solid var(--warm-300); border-radius: var(--r-field);
  padding: var(--s6); box-shadow: var(--ombre);
}
.night-grid .card, .nuit .card { border-color: transparent; }
.tile {
  border: 2px solid var(--ivoire); border-radius: var(--r-tile);
  padding: var(--s6) var(--s4) var(--s4);
  color: var(--nuit); box-shadow: var(--ombre);
  display: flex; flex-direction: column; gap: var(--s2);
  min-height: 190px;
  text-decoration: none;
}
.tile .pixel { margin-top: auto; opacity: .8; }
.tile-time { background: var(--pale-time); }
.tile-money { background: var(--pale-money); }
.tile-social { background: var(--pale-social); }
.tile-study { background: var(--pale-study); }
.tile-mates { background: var(--pale-mates); }
.tile-ia { background: var(--pale-ia); position: relative; }
.ico { width: 26px; height: 26px; }

/* ---------- IA Mode : la saison mensuelle (captures produit) ---------- */
.ia-shots { display: grid; gap: var(--s6); grid-template-columns: 1fr; margin-top: var(--s8); }
@media (min-width: 40em) { .ia-shots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .ia-shots { grid-template-columns: repeat(4, 1fr); } }
.ia-shot { margin: 0; }
.ia-shot img {
  display: block; width: 100%; height: auto;
  border: 2px solid var(--ia); border-radius: var(--r-tile);
  box-shadow: var(--ombre), 0 0 24px rgba(157, 123, 244, 0.25);
}
.ia-shot figcaption {
  font-family: var(--pixel); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--cool-300); margin-top: var(--s3);
}
.ia-points { display: grid; gap: var(--s4); grid-template-columns: 1fr; margin-top: var(--s8); }
@media (min-width: 40em) { .ia-points { grid-template-columns: repeat(3, 1fr); } }
.ia-point {
  background: var(--salle); border: 2px solid rgba(157, 123, 244, 0.45);
  border-radius: var(--r-field); padding: var(--s6);
}
.ia-point h3 { font-size: 17px; }
.ia-point p { font-size: 15px; color: var(--cool-300); margin-top: var(--s2); }

/* ---------- Le bloc qui convertit : confiance ---------- */
.trust { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 46em) { .trust { grid-template-columns: 1fr 1fr; } }
.trust-col { background: var(--carte); border-radius: var(--r-field); padding: var(--s6); border: 2px solid var(--warm-300); }
.trust-yes { border-color: var(--succes); }
.trust-no { border-color: var(--social); }
.trust-col ul { list-style: none; display: grid; gap: var(--s3); margin-top: var(--s4); }
.trust-col li { display: flex; gap: var(--s3); align-items: flex-start; font-size: 16px; }
.tick { flex: 0 0 auto; font-weight: 700; }
.tick-yes { color: var(--succes); }
.tick-no { color: var(--social); }

/* ---------- Sources (preuve) ---------- */
.sources { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s6); }
.source-chip {
  border: 2px solid var(--warm-300); border-radius: var(--r-badge);
  padding: 8px 12px; font-size: 13px; font-weight: 600; background: var(--carte); color: var(--nuit);
}

/* ---------- Nope list ---------- */
.nope { list-style: none; display: grid; gap: var(--s3); margin-top: var(--s6); }
.nope li {
  display: flex; gap: var(--s3); align-items: center;
  border-left: 4px solid var(--fusee); padding-left: var(--s4);
  font-size: 17px; font-weight: 500;
}

/* ---------- Prix ---------- */
.pricing { display: grid; gap: var(--s4); grid-template-columns: 1fr; max-width: 780px; }
@media (min-width: 46em) { .pricing { grid-template-columns: 1fr 1fr; } }
.price-card { display: flex; flex-direction: column; gap: var(--s2); }
.price-featured { border: 3px solid var(--fusee); }
.price-amount { font-family: var(--display); font-variation-settings:'wght' 900,'wdth' 125; font-size: 44px; line-height: 1; }
.price-card ul { list-style: none; display: grid; gap: var(--s2); margin: var(--s3) 0 var(--s4); font-size: 15px; }
.price-card .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s2); max-width: 760px; }
.faq details {
  background: var(--carte); border: 2px solid var(--warm-300); border-radius: var(--r-field);
  padding: var(--s4) var(--s6);
}
.faq details[open] { border-color: var(--nuit); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 17px; list-style: none;
  display: flex; justify-content: space-between; gap: var(--s4); align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin-top: var(--s3); color: var(--warm-600); font-size: 16px; }

/* ---------- Bandeau CTA final ---------- */
.cta-final { background: var(--fusee); color: var(--ivoire); text-align: center; }
.cta-final .signup { margin: var(--s6) auto 0; background: rgba(19,16,34,.2); border-color: rgba(242,237,228,.35); }
.cta-final .signup .btn-light { color: var(--nuit); }

/* ---------- Footer ---------- */
.footer { background: var(--nuit); padding: var(--s16) 0 var(--s12); border-top: 1px solid rgba(242,237,228,.12); }
.footer-grid { display: grid; gap: var(--s8); grid-template-columns: 1fr; }
@media (min-width: 46em) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 { font-family: var(--pixel); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--cool-300); margin-bottom: var(--s3); font-weight: 400; }
.footer ul { list-style: none; display: grid; gap: var(--s2); }
.footer a { text-decoration: none; opacity: .85; font-size: 15px; }
.footer a:hover { opacity: 1; text-decoration: underline; }
.footer-legal { margin-top: var(--s12); font-size: 13px; color: var(--cool-300); }

/* ---------- CTA collant mobile ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: var(--s3); align-items: center; justify-content: space-between;
  padding: var(--s3) var(--outer);
  background: rgba(19,16,34,.96);
  border-top: 2px solid var(--fusee);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.on { transform: translateY(0); }
.sticky-cta .btn { flex: 0 0 auto; }
.sticky-cta p { font-size: 14px; line-height: 1.25; }
@media (min-width: 62em) { .sticky-cta { display: none; } }

/* ---------- Divers ---------- */
.stat-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s8); }
.stat-chip { border: 2px solid var(--nuit); border-radius: var(--r-badge); padding: 9px 16px; font-weight: 700; font-size: 14px; box-shadow: var(--ombre-pressee); }
.steps { counter-reset: step; }
.step-num { font-family: var(--pixel); font-size: 11px; color: var(--fusee); letter-spacing: .06em; }
.quote { font-style: italic; font-size: 18px; }
.hr { height: 2px; background: var(--warm-300); border: 0; margin: var(--s12) 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Puces de liste : les ✓ étaient des icônes
   au sens d'ARCADE.md §9. Un carré de 6 px est un pixel, pas une icône. */
.price-card ul, .card ul { list-style: none; }
.price-card li, .card li { position: relative; padding-left: 18px; }
.price-card li::before, .card li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; background: var(--fusee);
}
