/* ==========================================================================
   LOGE - feuille de style unique du site
   Tout le site (landing + pages legales, FR et EN) utilise ce seul fichier.
   Pour changer l'identite visuelle, il suffit de modifier les variables
   ci-dessous (couleurs, rayons, ombres).
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  /* Palette reprise telle quelle de l'application (src/theme/tokens.ts),
     pour que le site et l'app soient reconnaissables l'un dans l'autre. */
  --bg:           #f5f2ec;
  --bg-deep:      #ede8dc;
  --surface:      #fffefb;
  --surface-2:    #faf8f3;
  --ink:          #14181c;
  --ink-2:        #3a3226;
  --muted:        #7a6f5c;
  --line:         rgba(70, 50, 30, .12);
  --line-strong:  rgba(70, 50, 30, .22);

  --accent:       #e86848;
  --accent-deep:  #da291c;
  --accent-soft:  #fbe6e0;
  --win:          #88b870;
  --win-soft:     #eaf2e5;
  --info:         #48b4c8;
  --info-soft:    #e4f3f6;
  --warn:         #e8d060;
  --violet:       #d85a95;

  --r-xl: 32px;
  --r-lg: 24px;
  --r:    18px;
  --r-sm: 12px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(23,23,26,.05), 0 2px 8px rgba(23,23,26,.04);
  --shadow:    0 2px 6px rgba(23,23,26,.05), 0 12px 32px rgba(23,23,26,.07);
  --shadow-lg: 0 8px 24px rgba(23,23,26,.08), 0 32px 64px rgba(23,23,26,.12);

  /* Mêmes familles que l'application : Outfit pour le texte, Syne pour les titres,
     Bebas Neue pour les chiffres mis en avant. */
  --font-ui: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-num: "Bebas Neue", "Syne", Impact, sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #101013;
    --bg-deep:     #0a0a0c;
    --surface:     #1a1a1f;
    --surface-2:   #212128;
    --ink:         #f3f1ee;
    --ink-2:       #b6b6c0;
    --muted:       #83838f;
    --line:        rgba(255, 255, 255, .11);
    --line-strong: rgba(255, 255, 255, .20);
    --accent:      #f4715b;
    --accent-deep: #ff8a75;
    --accent-soft: rgba(244, 113, 91, .14);
    --win:         #3dbd80;
    --win-soft:    rgba(61, 189, 128, .14);
    --info:        #6d9bff;
    --info-soft:   rgba(109, 155, 255, .14);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow:    0 2px 6px rgba(0,0,0,.35), 0 12px 32px rgba(0,0,0,.35);
    --shadow-lg: 0 8px 24px rgba(0,0,0,.4), 0 32px 64px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --bg:          #101013;
  --bg-deep:     #0a0a0c;
  --surface:     #1a1a1f;
  --surface-2:   #212128;
  --ink:         #f3f1ee;
  --ink-2:       #b6b6c0;
  --muted:       #83838f;
  --line:        rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .20);
  --accent:      #f4715b;
  --accent-deep: #ff8a75;
  --accent-soft: rgba(244, 113, 91, .14);
  --win:         #3dbd80;
  --win-soft:    rgba(61, 189, 128, .14);
  --info:        #6d9bff;
  --info-soft:   rgba(109, 155, 255, .14);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow:    0 2px 6px rgba(0,0,0,.35), 0 12px 32px rgba(0,0,0,.35);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.4), 0 32px 64px rgba(0,0,0,.5);
}

/* --- 2. Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.05rem, 1.7vw, 1.22rem); letter-spacing: -.01em; }
p  { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }
:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- 3. Marque ----------------------------------------------------------- */
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -.01em;
  text-decoration: none;
  display: inline-flex;
  line-height: 1;
  color: var(--ink);
}
.logo b { font-weight: 800; color: var(--accent); }
.logo--lg { font-size: 2.6rem; }

/* --- 4. Boutons ---------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 24px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: var(--r-pill);
  font: 600 16px/1 var(--font-ui);
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--surface); }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--block { width: 100%; }

/* --- 5. En-tete ---------------------------------------------------------- */
.head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.head.is-stuck { border-bottom-color: var(--line); }
.head__in { display: flex; align-items: center; gap: 20px; height: 68px; }
.head__nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.head__nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .15s ease;
}
.head__nav a:hover { color: var(--ink); }
.head__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.head__nav + .head__actions { margin-left: 0; }
@media (max-width: 860px) {
  .head__nav { display: none; }
}

.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  overflow: hidden; font-size: 13px; font-weight: 600;
}
.lang a {
  padding: 7px 11px; text-decoration: none; color: var(--muted);
  transition: background .15s ease, color .15s ease;
}
.lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.lang a:not([aria-current="true"]):hover { color: var(--ink); }

/* --- 6. Hero ------------------------------------------------------------- */
.hero { position: relative; padding: clamp(40px, 7vw, 84px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -20% auto -20%; height: 720px; z-index: -1;
  background:
    radial-gradient(60% 55% at 22% 32%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(50% 50% at 82% 18%, color-mix(in srgb, var(--info) 16%, transparent), transparent 70%);
  filter: blur(10px);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 8px; margin-bottom: 20px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 46ch; }
.hero__note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* --- 7. Formulaire liste d'attente --------------------------------------- */
.signup { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; max-width: 520px; }
.signup input[type="email"] {
  flex: 1 1 240px; min-width: 0;
  padding: 15px 20px;
  font: 400 16px/1.2 var(--font-ui); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.signup input[type="email"]::placeholder { color: var(--muted); }
.signup input[type="email"]:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.signup__msg { flex: 1 0 100%; font-size: 14.5px; margin: 4px 2px 0; min-height: 1.4em; }
.signup__msg[data-state="ok"]  { color: var(--win); font-weight: 500; }
.signup__msg[data-state="err"] { color: var(--accent-deep); font-weight: 500; }
.hp { position: absolute; left: -9999px; }

/* --- 8. Sections et cartes ------------------------------------------------ */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--bg-deep); }
.section__head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head--center { margin-inline: auto; text-align: center; }
.kicker {
  font: 600 13px/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px; display: block;
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, 1fr);
}
.bento > .card { grid-column: span 2; }
.bento > .card--wide { grid-column: span 3; }
.bento > .card--full { grid-column: span 6; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > .card, .bento > .card--wide { grid-column: span 1; }
  .bento > .card--full { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento > .card, .bento > .card--wide, .bento > .card--full { grid-column: span 1; }
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-2); font-size: 16px; margin: 0; }
.ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent);
}
.ico svg { width: 24px; height: 24px; }
.ico--win  { background: var(--win-soft);  color: var(--win); }
.ico--info { background: var(--info-soft); color: var(--info); }

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.split--rev .split__art { order: -1; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split__art { order: 0; }
}
.list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--ink-2); }
.list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--win-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d63' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* --- 9. (les maquettes de l'ancienne page d'accueil ont été retirées : voir home.css) --- */

/* --- 10. Chiffres, FAQ, bandeau ------------------------------------------ */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.stat { text-align: center; padding: 26px 18px; }
.stat b { display: block; font: 800 clamp(2rem, 4vw, 2.7rem)/1 var(--font-display); color: var(--accent); }
.stat span { font-size: 14.5px; color: var(--ink-2); }

.faq { display: grid; gap: 12px; max-width: 800px; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 4px 22px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 13px; height: 13px;
  margin-top: -7px; border-right: 2.4px solid var(--muted); border-bottom: 2.4px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { color: var(--ink-2); font-size: 16px; margin: 0 0 18px; }

.cta-band {
  background: var(--ink); color: var(--bg);
  border-radius: var(--r-xl); padding: clamp(36px, 6vw, 68px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 320px;
  background: radial-gradient(50% 60% at 50% 100%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--bg); }
.cta-band p { color: color-mix(in srgb, var(--bg) 72%, transparent); max-width: 52ch; margin-inline: auto; }
.cta-band .signup { margin-inline: auto; justify-content: center; }
.cta-band .signup input[type="email"] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: var(--bg); }
.cta-band .signup input[type="email"]::placeholder { color: rgba(255,255,255,.5); }
.cta-band .signup__msg[data-state="ok"] { color: #7fe0ad; }
.cta-band .signup__msg[data-state="err"] { color: #ffb3a4; }

.marquee {
  overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__in { display: flex; gap: 14px; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee__in { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.chip {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  border-radius: var(--r-pill); padding: 10px 18px; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
}
.chip i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); font-style: normal; }

/* --- 11. Pied de page ---------------------------------------------------- */
.foot { background: var(--bg-deep); border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 72px) 0 36px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; }
@media (max-width: 800px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }
.foot h4 {
  font: 600 12px/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--accent); }
/* Signature de la marque, identique a celle de l'application */
.foot__tagline {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
  margin: 14px 0 6px;
  letter-spacing: -.01em;
}

.foot__about { font-size: 15px; color: var(--ink-2); max-width: 34ch; }
.foot__legal {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center;
  font-size: 13px; color: var(--muted);
}
.foot__legal p { margin: 0; max-width: 78ch; }

/* --- 12. Pages de texte (legal, support, presse) ------------------------- */
.doc { padding: clamp(36px, 6vw, 68px) 0 clamp(56px, 8vw, 96px); }
.doc__in { max-width: 760px; margin-inline: auto; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .3em; }
.doc__date { color: var(--muted); font-size: 14.5px; margin-bottom: 40px; }
.doc h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.65rem); margin-top: 2.2em; padding-top: 1.6em;
  border-top: 1px solid var(--line);
}
.doc h2:first-of-type { border-top: 0; padding-top: 0; }
.doc h3 { font-size: 1.1rem; margin-top: 1.8em; }
.doc p, .doc li { color: var(--ink-2); font-size: 16.5px; }
.doc ul, .doc ol { padding-left: 1.3em; display: grid; gap: 9px; margin: 0 0 1.2em; }
.doc a { color: var(--accent); text-underline-offset: 3px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 600; background: var(--surface-2); }
.doc table { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.note {
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: var(--r); padding: 18px 22px; margin: 0 0 1.6em;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--accent-deep); }
.toc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 26px; margin-bottom: 44px; box-shadow: var(--shadow-sm);
}
.toc h2 { font: 600 12px/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; border: 0; padding: 0; }
.toc ol { margin: 0; padding-left: 1.2em; gap: 7px; }
.toc a { color: var(--ink-2); text-decoration: none; font-size: 15.5px; }
.toc a:hover { color: var(--accent); }
.back {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 26px;
  font-size: 15px; color: var(--muted); text-decoration: none;
}
.back:hover { color: var(--accent); }

/* --- 13. Presse ---------------------------------------------------------- */
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0 0 2em; }
.swatch { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.swatch i { display: block; height: 76px; }
.swatch div { padding: 12px 14px; font-size: 13.5px; color: var(--ink-2); }
.swatch b { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.copyblock {
  position: relative; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 20px; margin-bottom: 1.4em;
}
.copyblock p:last-child { margin-bottom: 0; }
.copyblock button {
  position: absolute; top: 12px; right: 12px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  padding: 5px 12px; font: 600 12.5px var(--font-ui); color: var(--ink-2); cursor: pointer;
}
.copyblock button:hover { color: var(--accent); border-color: var(--accent); }

/* --- 14. Utilitaires ----------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
/* Le contenu est visible par defaut : rien sur cette page ne doit dependre du
   JavaScript pour s'afficher. L'apparition au defilement n'est activee que si le
   script a pose la classe « js-anim » sur <html>, juste avant de l'observer. */
.reveal { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.js-anim .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal:not(.in) { opacity: 1; transform: none; }
}

/* --- 15. Icones de la barre d'onglets (SVG en ligne) --------------------- */
.tabbar span svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.9; opacity: .6; }
.tabbar span.on svg { opacity: 1; stroke-width: 2.2; }
.head__burger { display: none; }
@media (max-width: 860px) { .head__actions .btn--ghost { display: none; } }
.scr__label em { margin-left: auto; color: var(--muted); font-size: 9.5px; font-style: normal; font-weight: 500; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: s; }
.step { position: relative; padding-top: 6px; }
.step b {
  counter-increment: s; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px; margin-bottom: 16px;
  background: var(--ink); color: var(--bg); font: 800 17px/1 var(--font-display);
}
.step b::before { content: counter(s); }
.step h3 { font-size: 1.12rem; margin-bottom: .35em; }
.step p { color: var(--ink-2); font-size: 16px; margin: 0; }

/* --- 16. Ancres sous l'en-tete collante et ajustements mobiles ----------- */
:where(section, article, div)[id] { scroll-margin-top: 92px; }
@media (max-width: 480px) {
  .head__in { gap: 10px; height: 60px; }
  .logo { font-size: 1.22rem; }
  .head__actions { gap: 8px; }
  .head__actions .btn { padding: 10px 15px; font-size: 14.5px; }
  .lang a { padding: 6px 9px; font-size: 12px; }
  .signup { gap: 8px; }
  .signup .btn { width: 100%; }
  .doc__in { font-size: 16px; }
  .doc table { display: block; overflow-x: auto; }
}

/* --- Pages légales : introduction et tableaux qui défilent sur téléphone --- */
.doc__lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin: -16px 0 32px; }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.6em; border-radius: var(--r-sm); }
.table-wrap table { margin: 0; min-width: 560px; }
.ph { background: color-mix(in srgb, var(--warn) 30%, transparent); border-radius: 4px; padding: 0 3px; }
@media (max-width: 600px) {
  .table-wrap { overflow: visible; }
  .table-wrap table { min-width: 0; border: 0; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap tr { display: block; margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); overflow: hidden; }
  .table-wrap td { display: block; border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .table-wrap td:last-child { border-bottom: 0; }
  .table-wrap td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
  .table-wrap td:first-child { color: var(--ink); font-weight: 600; background: var(--surface-2); }
}

/* --- Logo image (en-tête et pied de page de toutes les pages) --- */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.foot__brand img { height: 50px; width: auto; display: block; }
.foot__company { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* --- 17. Compte : lien de l'en-tête -------------------------------------- */
.acct {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 14px 4px 4px; min-height: 38px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  color: var(--ink); text-decoration: none; font: 600 14.5px/1 var(--font-ui);
  white-space: nowrap; transition: background .15s ease, border-color .15s ease;
}
.acct:hover { background: var(--surface); border-color: var(--ink-2); }
.acct__ico {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
  font: 800 13px/1 var(--font-ui);
}
.acct__ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.acct.is-in .acct__ico { background: var(--accent); color: #fff; }
/* Place dans l'en-tête : liens sur une ligne, pastille réduite à l'icône puis menu masqué plus tôt */
.head__nav a { white-space: nowrap; }
@media (max-width: 1180px) { .head__nav { gap: 18px; } }
@media (min-width: 1041px) and (max-width: 1180px), (max-width: 640px) {
  .acct { padding: 4px; }
  .acct__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1040px) { .head__nav { display: none; } }

/* --- 18. Pages Se connecter et Mon compte -------------------------------- */
.auth { position: relative; isolation: isolate; overflow: hidden; padding: clamp(36px, 7vw, 84px) 0 clamp(56px, 8vw, 104px); min-height: calc(100vh - 68px); }
.auth::before {
  content: ""; position: absolute; inset: -20% -20% auto -20%; height: 620px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 50% at 25% 30%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    radial-gradient(40% 45% at 80% 15%, color-mix(in srgb, var(--info) 12%, transparent), transparent 70%);
  filter: blur(8px);
}
.auth__card {
  width: 100%; max-width: 440px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(26px, 5vw, 40px); box-shadow: var(--shadow-lg);
}
.auth__card h1 { font-size: clamp(1.9rem, 4.6vw, 2.5rem); margin-bottom: .25em; }
.auth__sub { color: var(--ink-2); font-size: 16px; margin-bottom: 26px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span, .field__row > label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.input {
  width: 100%; min-width: 0; padding: 14px 16px;
  font: 400 16px/1.2 var(--font-ui); color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.input::placeholder { color: var(--muted); }
.input:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft); }
.pw { position: relative; }
.pw .input { padding-right: 96px; }
.pw__toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  padding: 8px 10px; border: 0; border-radius: var(--r-sm); background: transparent;
  font: 600 13.5px/1 var(--font-ui); color: var(--muted); cursor: pointer;
}
.pw__toggle:hover { color: var(--ink); background: var(--bg-deep); }
.linkbtn {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 14px/1.3 var(--font-ui); color: var(--accent); text-decoration: none;
}
.linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.btn--lg { padding: 18px 30px; font-size: 17px; }
.msg { min-height: 1.4em; margin: 0; font-size: 14.5px; line-height: 1.45; }
.msg:empty { display: none; }
.msg[data-state="err"] { color: var(--accent-deep); font-weight: 500; }
.msg[data-state="ok"]  { color: var(--win); font-weight: 500; }
.msg[data-state="box"] { color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.auth__alt { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); text-align: center; }
.auth__alt a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.auth__note { max-width: 440px; margin: 18px auto 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.auth__note a { color: inherit; }

/* Mon compte */
.acc { max-width: 880px; margin-inline: auto; display: grid; gap: 18px; }
.acc__hero { display: flex; align-items: center; gap: 22px; padding: clamp(22px, 4vw, 34px); }
.avatar {
  width: 88px; height: 88px; flex: none; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: var(--accent); color: #fff;
  font: 800 36px/1 var(--font-ui); box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--line);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.acc__who { min-width: 0; }
.acc__who h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 4px; overflow-wrap: anywhere; }
.acc__handle { color: var(--ink-2); font-weight: 600; margin: 0; }
.acc__mail { color: var(--muted); font-size: 15px; margin: 2px 0 0; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.pill--gold { background: linear-gradient(120deg, #f3d77a, #e0b23c); border-color: transparent; color: #3a2a05; }
@media (max-width: 560px) { .acc__hero { flex-direction: column; text-align: center; } .chips { justify-content: center; } }

.acc__open {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  background: #14181c; color: #f5f2ec; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 36px);
}
.acc__open::before {
  content: ""; position: absolute; inset: -60% -10% auto auto; width: 520px; height: 420px; z-index: -1;
  background: radial-gradient(closest-side, rgba(232,104,72,.55), transparent); filter: blur(10px);
}
.acc__open h2 { color: #f5f2ec; font-size: clamp(1.35rem, 2.8vw, 1.8rem); margin: 0 0 6px; }
.acc__open p { margin: 0; color: rgba(245,242,236,.72); max-width: 46ch; font-size: 15.5px; }
.acc__open .btn { --btn-bg: var(--accent); --btn-fg: #fff; }
.acc__open .btn svg { flex: none; width: 20px; height: 20px; }
@media (max-width: 560px) { .acc__open .btn { width: 100%; } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--shadow-sm); min-width: 0; }
.tile__k { display: block; font: 600 12px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.tile__v { display: block; font: 400 40px/1 var(--font-num); letter-spacing: .02em; color: var(--ink); }
.tile__v--txt { font: 700 19px/1.25 var(--font-ui); letter-spacing: -.01em; overflow-wrap: anywhere; }
.tile__s { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.tile__v .u { font: 600 15px/1 var(--font-ui); color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.bar { height: 6px; border-radius: 6px; background: var(--bg-deep); margin-top: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 8px 0; overflow: hidden; }
.panel h2 { font-size: 1.2rem; letter-spacing: -.01em; margin: 14px 22px 8px; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; align-items: center; gap: 14px; padding: 14px 22px; }
.rows > li + li { border-top: 1px solid var(--line); }
.row__ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); font: 800 16px/1 var(--font-ui); }
.row__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.row__main { flex: 1; min-width: 0; }
.row__t { display: block; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.row__s { display: block; font-size: 14px; color: var(--muted); }
.row__end { flex: none; }
.row--btn { width: 100%; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; color: inherit; text-decoration: none; transition: background .15s ease; }
.row--btn[disabled] { opacity: .6; cursor: progress; }
.row--btn:hover { background: var(--surface-2); }
.row--danger .row__t { color: var(--accent-deep); }
.row--danger .row__ico { background: var(--accent-soft); color: var(--accent-deep); }
.chev { display: inline-block; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-top: 2px solid var(--muted); transform: rotate(45deg); margin-right: 4px; }
.row__form { padding: 4px 22px 20px; }
.row__form .form { max-width: 420px; }
.row__form .btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.empty { padding: 10px 22px 20px; color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* Squelettes de chargement */
.sk { background: linear-gradient(90deg, var(--bg-deep) 25%, var(--surface-2) 50%, var(--bg-deep) 75%); background-size: 300% 100%; animation: sk 1.4s ease-in-out infinite; border-radius: 10px; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.sk--avatar { width: 88px; height: 88px; border-radius: 50%; flex: none; }
.sk--line { height: 16px; margin: 8px 0; }
.sk--tile { height: 104px; border-radius: var(--r-lg); }
[hidden] { display: none !important; }

/* --- 15. Résultats : à gauche du logo, séparé du menu, sur toutes les pages (téléphone compris) --- */
.head__res {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px 0 11px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface);
  text-decoration: none; font: 700 14.5px/1 var(--font-ui); color: var(--ink); white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.head__res svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.head__res:hover { border-color: var(--ink-2); }
.head__res[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.head__sep { flex: none; width: 1px; height: 26px; background: var(--line-strong); margin: 0 -4px; }
.head__nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.head .brand { flex: none; }
/* Résultats + logo + menu + actions tiennent sur 1 080 px : menu resserré, compte réduit à son icône tant que le
   menu est affiché, puis menu masqué sous 1 100 px (Résultats reste visible à gauche du logo) */
@media (min-width: 1101px) {
  /* Résultats nettement à part du logo et du menu */
  .head__sep { margin: 0 18px; height: 30px; }
  .head__nav { gap: 18px; }
  .head__nav a { font-size: 14.5px; }
  .head .acct { padding: 4px; }
  .head .acct__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1100px) { .head__nav { display: none; } .head__nav + .head__actions { margin-left: auto; } }
@media (min-width: 481px) and (max-width: 1100px) { .head__sep { margin: 0 12px; } }
@media (max-width: 480px) {
  .head__in { gap: 12px; }
  .head__res { min-height: 34px; padding: 0 11px 0 9px; font-size: 14px; gap: 6px; }
  .head__res svg { width: 15px; height: 15px; }
  .head__sep { height: 22px; margin: 0 -2px; }
  .brand .wordmark { font-size: 23px; }
}
/* Petit téléphone : Résultats, logo, langue et compte sur une ligne, sans débordement */
@media (max-width: 400px) {
  .head__in { gap: 8px; }
  .head__res { padding: 0 10px 0 8px; font-size: 13.5px; }
  .head__sep { margin: 0 -1px; }
  .brand .wordmark { font-size: 19px; }
  .head .head__actions { gap: 5px; }
  .head .lang a { padding: 7px 8px; }
}
@media (max-width: 360px) { .head__res span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .head__res { padding: 0 9px; } }

/* Téléphone : Matchs, langue et compte tiennent dans l'en-tête ; l'inscription à la bêta reste dans la page */
@media (max-width: 480px) { .head .head__actions .btn--sm { display: none; } }

/* Logo texte de l'en-tête (le même que l'app) : LO encre, GE corail */
.wordmark { display: inline-flex; align-items: baseline; font-family: "Syne", "Outfit", sans-serif; font-weight: 800; letter-spacing: -.02em; line-height: 1; transform: scaleY(1.22); transform-origin: center; color: inherit; text-decoration: none; }
.wordmark b { color: var(--accent); font-weight: 800; }
.brand .wordmark { font-size: 27px; color: var(--ink); }
