/* BetWork — style.css (refonte 2026-11-24, phase 1) */

:root {
  --bg-deep:        #0E0E15;
  --bg-base:        #12121A;
  --surface-1:      #17171F;
  --surface-2:      #1B1B26;
  --surface-3:      #22222F;

  --border-light:   rgba(255,255,255,0.08);
  --border-strong:  rgba(255,255,255,0.14);

  --accent-purple:  #7C6FFF;
  --accent-gold:    #F5C518;
  --accent-green:   #3DDC84;
  --accent-red:     #E05A5A;

  --text-main:      #F2F2F6;
  --text-secondary: #C2C2D0;
  --text-muted:     #9696AD;

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --max-w: 1180px;
}

/* ============== Reset & base ============== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background-color: var(--bg-base);
  /* Dégradé discret couleurs BetWork (violet en haut, or très léger en bas) */
  background-image:
    radial-gradient(ellipse 90% 60% at 15% -10%, rgba(124,111,255,0.16) 0%, rgba(124,111,255,0) 60%),
    radial-gradient(ellipse 70% 50% at 100% 105%, rgba(245,197,24,0.07) 0%, rgba(245,197,24,0) 60%),
    linear-gradient(180deg, #15142A 0%, #12121A 45%, #0E0E15 100%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; color: var(--text-main); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { color: var(--text-secondary); font-size: 1rem; }

:focus-visible { outline: 2px solid var(--accent-purple); outline-offset: 3px; border-radius: 4px; }

::selection { background: rgba(124,111,255,0.35); color: var(--text-main); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.visually-hidden:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; padding: 10px 14px; background: var(--accent-purple); color: #fff; border-radius: 6px; z-index: 100; }

/* ============== Boutons ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  background: transparent; color: var(--text-main);
  cursor: pointer; text-align: center;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary {
  background: var(--accent-gold); color: #12121A; border-color: var(--accent-gold);
}
.btn-primary:hover { transform: translateY(-1px); background: #ffd54a; border-color: #ffd54a; }
.btn-outline { border-color: var(--border-strong); color: var(--text-main); }
.btn-outline:hover { border-color: #ffffff55; background: var(--surface-1); }
.btn-ghost { color: var(--text-secondary); padding: 10px 14px; }
.btn-ghost:hover { color: var(--text-main); }

/* ============== Nav ============== */
.top-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(14,14,21,0.82);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
}
.nav-brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 22px; font-size: 0.95rem; }
.nav-links a { color: var(--text-secondary); transition: color .15s ease; }
.nav-links a:hover { color: var(--text-main); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-nav { padding: 10px 18px; font-size: 0.95rem; }
.nav-burger { display: none; width: 40px; height: 40px; background: transparent; border: 1px solid var(--border-light); border-radius: 10px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.nav-burger span { width: 18px; height: 2px; background: var(--text-main); border-radius: 2px; }

@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg-base); padding: 16px 20px; border-bottom: 1px solid var(--border-light); }
  .nav-links.open { display: flex; }
  .nav-burger { display: inline-flex; }
}

/* ============== Progress bar (fine) ============== */
.scroll-timeline {
  position: fixed; left: 0; top: 0; bottom: 0; width: 2px;
  background: transparent; z-index: 30; pointer-events: none;
}
.scroll-progress {
  width: 100%; background: var(--accent-purple);
  transform-origin: top; transform: scaleY(0); will-change: transform;
}
@media (max-width: 860px) { .scroll-timeline { display: none; } }

/* ============== Hero ============== */
.hero-wrap {
  position: relative;
  overflow: hidden;          /* la lueur se fond sur le bord de la fenêtre, pas du contenu */
}
.hero {
  padding: 80px 20px 72px;
  max-width: var(--max-w); margin: 0 auto;
  position: relative; z-index: 1;
}
.hero-glow {
  position: absolute; z-index: 0;
  width: 900px; height: 900px;
  top: -220px; right: -260px;
  background: radial-gradient(circle at 50% 50%, rgba(245,197,24,0.12) 0%, rgba(245,197,24,0.04) 35%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-glow { animation: heroGlow 18s ease-in-out infinite alternate; }
  @keyframes heroGlow {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(40px, 30px); }
  }
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-badge {
  display: inline-block; padding: 6px 14px;
  border: 1px solid var(--border-strong); background: var(--surface-1);
  color: var(--text-secondary); font-size: 0.85rem; border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .w {
  display: inline-block; opacity: 1;
  filter: blur(0); transform: translateY(0);
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}
.js .hero h1 .w { opacity: 0; filter: blur(8px); transform: translateY(8px); }
.js .hero h1.ready .w {
  opacity: 1; filter: blur(0); transform: translateY(0);
  transition-delay: var(--d, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .js .hero h1 .w { opacity: 1; filter: blur(0); transform: none; transition: none; }
}

.hero-sub { font-size: 1.1rem; margin-bottom: 28px; max-width: 540px; }
.js .hero-sub { opacity: 0; transform: translateY(6px); transition: opacity .4s ease .5s, transform .4s ease .5s; }
.js .hero-sub.ready { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .hero-sub { opacity: 1; transform: none; transition: none; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-note { color: var(--text-muted); font-size: 0.85rem; }

.hero-device {
  justify-self: center;
  position: relative;
  width: min(300px, 86vw); aspect-ratio: 270 / 549;
  background: #000; border-radius: 42px;
  padding: 10px;
  border: 1px solid #27273A;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.03);
}
.hero-device::before {
  content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 20px; background: #000; border-radius: 12px; z-index: 2;
}
.hero-screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: var(--bg-base);
  position: relative;
}
.hero-screen-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  user-select: none; -webkit-user-drag: none;
}
/* Petite onde quand le curseur « clique » sur le bouton principal de l'appli.
   Positionnement : approximativement là où se trouve « Lancer une session » dans
   la capture 01-accueil (bouton violet, centre horizontal, ~63% de la hauteur). */
.hero-screen-tap {
  position: absolute; left: 50%; top: 63%;
  width: 100px; height: 100px; margin: -50px 0 0 -50px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(124,111,255,0.55) 0%, rgba(124,111,255,0) 65%);
  opacity: 0; pointer-events: none;
}
.hero-screen-tap.tap { animation: heroTap .6s ease-out; }
@keyframes heroTap {
  0%   { opacity: 0; transform: scale(0.4); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1.2); }
}
@media (prefers-reduced-motion: reduce) { .hero-screen-tap { display: none; } }
.hero-cursor {
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; pointer-events: none;
  transition: transform .9s cubic-bezier(.3, .8, .3, 1), opacity .3s ease;
  opacity: 0; z-index: 3;
  will-change: transform;
}
.hero-cursor svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6)); }
@media (prefers-reduced-motion: reduce) { .hero-cursor { display: none; } }

/* ============== Portes (deux cartes) ============== */
.portes {
  max-width: var(--max-w); margin: 0 auto; padding: 60px 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 760px) { .portes { grid-template-columns: 1fr; } }
.porte {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--surface-1); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 32px; transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.porte:hover { border-color: var(--accent-purple); transform: translateY(-2px); background: var(--surface-2); }
.porte .eyebrow { display: inline-block; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.porte h2 { font-size: 1.6rem; margin-bottom: 10px; }
.porte p { margin-bottom: 14px; }
.porte .porte-link { color: var(--accent-purple); font-weight: 600; font-size: 0.95rem; display: inline-block; margin-bottom: 8px; }
.porte .porte-aside { margin: 0; color: var(--text-muted); font-size: 0.85rem; }
.porte .porte-aside a { color: var(--text-secondary); text-decoration: underline; }
.porte .porte-aside a:hover { color: var(--text-main); }

/* ============== Steps (Comment ça marche) ============== */
.steps { max-width: var(--max-w); margin: 0 auto; padding: 72px 20px; }
.steps h2 { margin-bottom: 40px; }
.steps-grid { display: grid; grid-template-columns: 80px 1fr; gap: 28px; align-items: start; }
@media (max-width: 760px) { .steps-grid { grid-template-columns: 1fr; } }
.steps-counter {
  position: sticky; top: 80px; align-self: start;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.step-dots { display: flex; flex-direction: column; gap: 6px; }
.step-dots span {
  width: 8px; height: 8px; border-radius: 50%; background: var(--surface-3);
  transition: background .25s ease;
}
.step-dots span.on { background: var(--accent-purple); }
.step-count { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--text-main); }
.step-count-max { color: var(--text-muted); }

.steps-list { display: flex; flex-direction: column; gap: 22px; }
.step {
  background: var(--surface-1); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 24px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .4s ease, transform .4s ease;
}
.step.in { opacity: 1; transform: none; }
.step h3 { margin-bottom: 8px; font-family: var(--font-head); font-weight: 700; }
.step p { font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .step { opacity: 1; transform: none; transition: none; } }

/* ============== Showcase (4 cartes inclinées 3D) ============== */
.showcase { max-width: var(--max-w); margin: 0 auto; padding: 72px 20px; }
.showcase h2 { margin-bottom: 36px; }
.showcase-row {
  display: flex; gap: 28px; justify-content: center; align-items: flex-end;
  flex-wrap: wrap;
  perspective: 1400px;
}
.show-card {
  flex: 0 0 auto; width: 260px;
  border-radius: 24px; background: var(--surface-2);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transform-origin: center;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .2s ease, box-shadow .3s ease;
  will-change: transform;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}
/* Inclinaison forte au chargement (juste avant qu'elles entrent dans le viewport). */
.show-card:nth-child(1) { transform: rotateY(-22deg) rotateZ(-3deg) translateY(10px); }
.show-card:nth-child(2) { transform: rotateY(-9deg)  rotateZ(-1deg) translateY(-6px); }
.show-card:nth-child(3) { transform: rotateY(9deg)   rotateZ(1deg)  translateY(-6px); }
.show-card:nth-child(4) { transform: rotateY(22deg)  rotateZ(3deg)  translateY(10px); }
/* Une fois visibles au scroll : elles se redressent partiellement. */
.show-card.in-view:nth-child(1) { transform: rotateY(-10deg) rotateZ(-1deg) translateY(0); }
.show-card.in-view:nth-child(2) { transform: rotateY(-4deg)  rotateZ(0deg)  translateY(-4px); }
.show-card.in-view:nth-child(3) { transform: rotateY(4deg)   rotateZ(0deg)  translateY(-4px); }
.show-card.in-view:nth-child(4) { transform: rotateY(10deg)  rotateZ(1deg)  translateY(0); }
/* Au survol ou focus : parfaitement de face. */
.show-card:hover, .show-card:focus-within {
  transform: rotateY(0) rotateZ(0) translateY(-8px) !important;
  border-color: var(--accent-purple);
  box-shadow: 0 18px 40px -10px rgba(124,111,255,0.3);
}
@media (prefers-reduced-motion: reduce) {
  .show-card { transform: none !important; transition: none; }
}
.show-card img { width: 100%; height: auto; display: block; background: var(--bg-base); }
.show-card figcaption {
  padding: 14px 18px; font-size: 0.9rem;
  color: var(--text-main); font-family: var(--font-head); font-weight: 600;
  text-align: center;
}
.showcase-hint { display: none; }

/* Carrousel mobile : scroll horizontal, snap, 1,5 carte visible pour montrer
   qu'on peut glisser. Les inclinaisons 3D sont désactivées car elles passent
   mal dans un flux horizontal défilant. */
@media (max-width: 760px) {
  .showcase { padding-right: 0; padding-left: 20px; }
  .showcase h2 { margin-right: 20px; }
  .showcase-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    padding: 12px 20px 24px 0;
    gap: 14px;
    justify-content: flex-start;
    align-items: stretch;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;        /* Firefox */
  }
  .showcase-row::-webkit-scrollbar { display: none; } /* WebKit */
  .show-card,
  .show-card.in-view {
    scroll-snap-align: start;
    width: 68vw; max-width: 260px;
    transform: none;              /* à plat dans le carrousel */
  }
  .show-card:hover, .show-card:focus-within {
    transform: translateY(-4px) !important;
  }
  .showcase-hint {
    display: block;
    margin: 4px 20px 0 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: right;
  }
}

/* ============== Video panel ============== */
.video-panel { max-width: 920px; margin: 0 auto; padding: 60px 20px; }
.video-panel h2 { margin-bottom: 20px; text-align: center; }
.video-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-light); background: #000;
  aspect-ratio: 16 / 9;
}
.video-wrap video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* ============== Pourquoi (science) ============== */
.science { max-width: var(--max-w); margin: 0 auto; padding: 72px 20px; }
.science .eyebrow { display: inline-block; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.science h2 { margin-bottom: 36px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--surface-1); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 22px;
}
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--text-main); margin-bottom: 4px; }
.stat-label { color: var(--text-main); font-weight: 500; margin-bottom: 8px; font-size: 0.95rem; }
.stat p { font-size: 0.9rem; margin-bottom: 8px; }
.stat-src { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }
.science-note { margin-top: 20px; color: var(--text-secondary); font-size: 0.95rem; max-width: 760px; }
.science-sources { margin-top: 12px; }
.science-sources summary { cursor: pointer; color: var(--text-secondary); font-size: 0.9rem; }
.science-sources ul { padding-left: 1.2rem; margin-top: 10px; list-style: disc; color: var(--text-secondary); font-size: 0.9rem; }

/* ============== Prix court ============== */
.pricing-simple {
  max-width: 720px; margin: 0 auto; padding: 60px 20px; text-align: center;
}
.pricing-simple h2 { margin-bottom: 14px; }
.pricing-simple p { font-size: 1rem; }
.pricing-simple .pricing-cta { display: inline-block; margin-top: 12px; color: var(--accent-purple); font-weight: 600; }

/* ============== Phase de test ============== */
.phase-test { max-width: 760px; margin: 0 auto; padding: 48px 20px; }
.phase-test-card {
  background: var(--surface-2); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 28px; text-align: center;
}
.phase-test-card h2 { font-size: 1.5rem; margin-bottom: 10px; }
.phase-test-card p { margin-bottom: 18px; }

/* ============== Download row ============== */
.download { max-width: var(--max-w); margin: 0 auto; padding: 60px 20px; text-align: center; }
.download h2 { margin-bottom: 20px; }
.download-row { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }
.download-row a { display: inline-block; }
.download-row img { height: 56px; width: auto; }
.download-ios {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 18px; border: 1px solid var(--border-strong); border-radius: 10px;
  color: var(--text-secondary); font-family: var(--font-head); font-weight: 600;
}
.download-alt { margin-top: 20px; color: var(--text-secondary); font-size: 0.95rem; }
.download-alt a { color: var(--accent-purple); font-weight: 600; }

/* ============== FAQ ============== */
.faq { max-width: 760px; margin: 0 auto; padding: 60px 20px; }
.faq h2 { margin-bottom: 24px; text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface-1); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 4px 16px; transition: border-color .15s ease;
}
.faq details[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq summary {
  cursor: pointer; padding: 14px 0; font-family: var(--font-head); font-weight: 600;
  list-style: none; color: var(--text-main);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::after { content: '+'; color: var(--text-secondary); font-weight: 400; font-size: 1.2rem; }
.faq details[open] summary::after { content: '\2013'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 0 14px; color: var(--text-secondary); font-size: 0.95rem; }

/* ============== Footer ============== */
footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 20px; margin-top: 40px;
  color: var(--text-muted); font-size: 0.9rem;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-col h4,
.footer-col .footer-col-title { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--text-main); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col a { color: var(--text-secondary); display: block; padding: 4px 0; }
.footer-col a:hover { color: var(--text-main); }
.footer-mediator { margin-top: 24px; max-width: var(--max-w); padding: 0 20px; color: var(--text-muted); font-size: 0.85rem; }
.footer-mediator a { color: var(--text-secondary); text-decoration: underline; }

/* ============== Modal télécharger ============== */
.modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
.modal-card {
  position: relative; background: var(--surface-1); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 28px; max-width: 420px; width: calc(100% - 32px);
}
.modal-card h2 { font-size: 1.4rem; margin-bottom: 8px; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: none; background: transparent; color: var(--text-secondary); font-size: 1.4rem; cursor: pointer; }
.modal-sub { color: var(--text-secondary); margin-bottom: 20px; font-size: 0.95rem; }
.modal-choices { display: flex; flex-direction: column; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px;
  border: 1px solid var(--border-light); background: var(--surface-2);
  color: var(--text-main); transition: border-color .15s ease, background .15s ease;
}
.choice:hover, .choice.suggested { border-color: var(--accent-purple); background: var(--surface-3); }
.choice-txt strong { display: block; font-family: var(--font-head); font-weight: 700; }
.choice-txt small { color: var(--text-secondary); font-size: 0.85rem; }
.modal-soon { margin-top: 16px; padding: 12px; background: var(--surface-2); border-radius: 10px; font-size: 0.9rem; color: var(--text-secondary); }
.modal-soon a { color: var(--accent-purple); text-decoration: underline; }
body.modal-open { overflow: hidden; }

/* ============== Sous-pages : hero compact ============== */
.page-hero {
  max-width: var(--max-w); margin: 0 auto;
  padding: 56px 20px 40px;
}
.page-hero .breadcrumb {
  color: var(--text-muted); font-size: 0.85rem; margin-bottom: 14px;
}
.page-hero .breadcrumb a { color: var(--text-secondary); text-decoration: underline; }
.page-hero .breadcrumb a:hover { color: var(--text-main); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.page-hero p { font-size: 1.05rem; max-width: 720px; }

/* ============== Blocs de contenu réutilisables ============== */
.section { max-width: var(--max-w); margin: 0 auto; padding: 40px 20px 20px; }
.section h2 { margin-bottom: 20px; }

.ordered-steps { counter-reset: s; display: flex; flex-direction: column; gap: 14px; list-style: none; padding: 0; }
.ordered-steps li {
  counter-increment: s;
  background: var(--surface-1); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 20px 22px 20px 64px;
  position: relative;
}
.ordered-steps li::before {
  content: counter(s);
  position: absolute; left: 18px; top: 20px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-purple); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
}
.ordered-steps h3 { margin-bottom: 4px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
.info-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .info-grid.two { grid-template-columns: 1fr; } }
.info-card {
  background: var(--surface-1); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.info-card h3 { margin-bottom: 2px; }
.info-card p { font-size: 0.95rem; margin: 0; }
.info-card .state-free { color: var(--accent-green); font-weight: 600; }
.info-card .state-soon { color: var(--accent-gold); font-weight: 600; }
a.info-card { text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
a.info-card:hover { border-color: var(--accent-purple); transform: translateY(-2px); }

/* Formules simplifiées : une carte par formule, pas de paliers dans la carte. */
.plans-simple { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1040px) { .plans-simple { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .plans-simple { grid-template-columns: 1fr; } }
.plan-card {
  background: var(--surface-1); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.plan-card h3 { font-size: 1.15rem; margin: 0; }
.plan-card .plan-who { color: var(--text-muted); font-size: 0.85rem; margin: 0; }
.plan-card .plan-price { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--text-main); margin: 4px 0; }
.plan-card .plan-price small { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }
.plan-card ul { padding-left: 1.1rem; margin: 0; list-style: disc; color: var(--text-secondary); font-size: 0.9rem; }
.plan-card ul li { margin-bottom: 4px; }
.plans-note { max-width: 820px; color: var(--text-muted); font-size: 0.85rem; margin: 18px auto 0; text-align: left; }

/* Liste compacte des formules de session (pas des cartes). */
.formula-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  background: var(--surface-1); overflow: hidden;
}
.formula-list li {
  padding: 16px 20px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5;
}
.formula-list li:last-child { border-bottom: none; }
.formula-list li strong {
  font-family: var(--font-head); font-weight: 700; color: var(--text-main); font-size: 1rem;
}
.formula-list .formula-state {
  font-size: 0.8rem; padding: 2px 10px; border-radius: 999px;
  background: var(--surface-3);
}
.formula-list .formula-state.state-free { color: var(--accent-green); background: rgba(61,220,132,0.1); }
.formula-list .formula-state.state-soon { color: var(--accent-gold); background: rgba(245,197,24,0.1); }

/* Ligne unique de prix pour application.html */
.pricing-line {
  max-width: 760px;
  font-size: 1.1rem; color: var(--text-main); line-height: 1.7;
  background: var(--surface-1); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 20px 22px;
  margin-bottom: 14px;
}
.pricing-line strong { color: var(--accent-gold); }

/* Bande d'appel à action réutilisable */
.cta-band {
  max-width: var(--max-w); margin: 48px auto; padding: 0 20px;
}
.cta-band-inner {
  background: var(--surface-2); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.cta-band-inner > div { flex: 1 1 320px; min-width: 0; }
.cta-band-inner h2 { font-size: 1.4rem; margin-bottom: 6px; }
.cta-band-inner p { margin: 0; font-size: 0.95rem; }
.cta-band-inner .cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Bloc « ce que voit l'organisateur » */
.dashboard-mock {
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 20px; display: grid; gap: 14px;
}
.dashboard-mock .mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .dashboard-mock .mock-row { grid-template-columns: repeat(2, 1fr); } }
.mock-cell { background: var(--bg-base); border: 1px solid var(--border-light); border-radius: 12px; padding: 14px; }
.mock-cell .mc-eyebrow { color: var(--text-muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
.mock-cell .mc-value { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; margin-top: 2px; color: var(--text-main); }
.mock-cell .mc-sub { color: var(--text-secondary); font-size: 0.85rem; margin-top: 4px; }
.mock-participant {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; border-radius: 10px; background: var(--bg-base);
  border: 1px solid var(--border-light); font-size: 0.9rem;
}
.mock-participant .mp-status { font-size: 0.8rem; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.mock-participant .mp-status.ok { background: rgba(61,220,132,0.12); color: var(--accent-green); }
.mock-participant .mp-status.away { background: rgba(224,90,90,0.12); color: var(--accent-red); }

/* Promesse données + contact */
.data-promise {
  max-width: var(--max-w); margin: 32px auto; padding: 0 20px;
}
.data-promise-inner {
  background: var(--surface-2); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 760px) { .data-promise-inner { grid-template-columns: 1fr; } }
.data-promise h2 { font-size: 1.3rem; margin-bottom: 8px; }
.data-promise p { font-size: 0.95rem; margin: 0 0 8px; }
.data-promise ul { list-style: disc; padding-left: 1.2rem; margin: 0; color: var(--text-secondary); font-size: 0.95rem; }
.data-promise ul li { margin-bottom: 4px; }

.contact-cta {
  max-width: var(--max-w); margin: 32px auto 48px; padding: 0 20px;
}
.contact-cta-inner {
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--accent-gold); border-radius: var(--radius-lg);
  padding: 36px; text-align: center;
}
.contact-cta-inner h2 { margin-bottom: 8px; font-size: 1.6rem; }
.contact-cta-inner p { margin: 0 0 20px; font-size: 1rem; }

/* Articles : typographie lecture */
.article {
  max-width: 760px; margin: 0 auto; padding: 40px 20px 60px;
}
.article .meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 14px; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 14px; }
.article h2 { font-size: 1.4rem; margin: 32px 0 12px; }
.article h3 { font-size: 1.15rem; margin: 20px 0 8px; }
.article p, .article li { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; }
.article ul, .article ol { padding-left: 1.3rem; margin: 10px 0 20px; color: var(--text-secondary); }
.article li { margin-bottom: 6px; }
.article a { color: var(--accent-purple); text-decoration: underline; }
.article blockquote {
  border-left: 3px solid var(--accent-purple);
  padding: 8px 16px; margin: 20px 0;
  color: var(--text-main); font-style: italic;
  background: var(--surface-1); border-radius: 6px;
}
.article-list { max-width: 760px; margin: 0 auto; padding: 20px 20px 60px; display: grid; gap: 14px; }
a.article-item {
  display: block; padding: 20px 22px; background: var(--surface-1);
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  transition: border-color .15s ease, transform .15s ease;
}
a.article-item:hover { border-color: var(--accent-purple); transform: translateY(-2px); }
a.article-item h2,
a.article-item h3 { font-size: 1.25rem; margin-bottom: 4px; }
a.article-item p { color: var(--text-secondary); font-size: 0.95rem; margin: 0; }

/* 404 */
.not-found {
  max-width: 560px; margin: 60px auto; padding: 60px 20px;
  text-align: center;
}
.not-found .big {
  font-family: var(--font-head); font-weight: 700; font-size: 5rem;
  color: var(--accent-purple); line-height: 1;
}

/* ============== Utils reveal ============== */
.reveal { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ============== Formulaire « Reçois ton lien » (leads) ============== */
.lead-block {
  max-width: 640px; margin: 48px auto; padding: 32px 24px;
  background: var(--surface-2); border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}
.lead-block h2 { font-size: 1.5rem; margin-bottom: 8px; }
.lead-block .lead-intro { color: var(--text-secondary); font-size: 0.98rem; margin-bottom: 20px; }

.lead-form { display: flex; flex-direction: column; gap: 12px; }
.lead-form .lead-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-form .lead-row > * { flex: 1 1 200px; min-width: 0; }
.lead-form input[type="text"],
.lead-form input[type="email"] {
  width: 100%;
  padding: 13px 14px; font-size: 1rem; font-family: var(--font-body);
  color: var(--text-main);
  background: var(--surface-1); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}
.lead-form input::placeholder { color: var(--text-muted); }
.lead-form input:focus { outline: none; border-color: var(--accent-purple); }

/* Honeypot : totalement invisible aux humains, pas aux robots naïfs. */
.lead-form .lead-hp {
  position: absolute !important; left: -10000px !important; top: -10000px !important;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

.lead-form .lead-consent {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 2px;
  color: var(--text-secondary); font-size: 0.92rem; line-height: 1.5;
  cursor: pointer;
}
.lead-form .lead-consent input[type="checkbox"] {
  margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px;
  accent-color: var(--accent-purple); cursor: pointer;
}
.lead-form .lead-consent a { color: var(--accent-purple); text-decoration: underline; }

.lead-form button[type="submit"] {
  align-self: flex-start;
  padding: 14px 24px; font-size: 1rem; font-family: var(--font-head); font-weight: 600;
  background: var(--accent-gold); color: #12121A;
  border: 1px solid var(--accent-gold); border-radius: var(--radius-sm);
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, opacity .15s ease;
}
.lead-form button[type="submit"]:hover:not([disabled]) { transform: translateY(-1px); background: #ffd54a; }
.lead-form button[type="submit"][disabled] { opacity: 0.45; cursor: not-allowed; }
.lead-form button[data-sending] { opacity: 0.7; }

.lead-feedback {
  font-size: 0.92rem; color: var(--text-secondary); padding: 6px 2px 0 2px;
}
.lead-feedback[data-kind="error"] { color: var(--accent-red); }

.lead-success {
  padding: 16px 18px;
  background: var(--surface-1); border: 1px solid var(--accent-green);
  border-radius: var(--radius-sm);
  color: var(--text-main);
}
.lead-success strong { display: block; margin-bottom: 6px; font-family: var(--font-head); }
.lead-success p { color: var(--text-secondary); font-size: 0.95rem; }

.lead-fineprint {
  margin-top: 12px; font-size: 0.82rem; color: var(--text-muted);
}
.lead-fineprint a { color: var(--text-secondary); text-decoration: underline; }
