/* ==========================================================================
   Scruméo — prototype landing page
   Design tokens : à réutiliser tels quels lors de l'intégration.
   ========================================================================== */

/* Barlow Condensed — police des titres (auto-hébergée, pas de CDN).
   Partagée app + marketing via ce CSS unique. */
@font-face{font-family:'Barlow Condensed';font-weight:600;font-display:swap;src:url("../fonts/barlow-condensed-600.ba4513495282.woff2") format("woff2")}
@font-face{font-family:'Barlow Condensed';font-weight:700;font-display:swap;src:url("../fonts/barlow-condensed-700.e1180918b873.woff2") format("woff2")}
@font-face{font-family:'Barlow Condensed';font-weight:800;font-display:swap;src:url("../fonts/barlow-condensed-800.b1b7dd5dbcea.woff2") format("woff2")}
@font-face{font-family:'Barlow Condensed';font-weight:900;font-display:swap;src:url("../fonts/barlow-condensed-900.84379775da4a.woff2") format("woff2")}

:root {
  /* Couleurs */
  --bg: #060d17;
  --bg-soft: #0a1525;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(148, 163, 184, 0.16);
  --line-green: rgba(57, 255, 126, 0.35);
  --text: #e6edf6;
  --muted: #90a1b6;
  --green: #39ff7e;
  --teal: #00e5c8;
  --ink-on-green: #04130b;
  --grad: linear-gradient(135deg, #39ff7e 0%, #00e5c8 100%);

  /* Effets */
  --glow: 0 10px 40px rgba(57, 255, 126, 0.25);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-sm: 12px;

  /* Typographie */
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Mouvement */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Titres marketing en Barlow Condensed (harmonisé avec l'app). */
.hero__title,
.section__title,
.card__title,
.parcours-card__title,
.banner__title,
.media-card__title {
  font-family: "Barlow Condensed", var(--font);
  font-weight: 800;
}

/* ==== Base ============================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

::selection {
  background: rgba(57, 255, 126, 0.35);
}

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green);
  color: var(--ink-on-green);
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 0;
}

/* Texte présent pour les lecteurs d'écran et les moteurs de recherche,
   invisible à l'écran (pattern standard "visually hidden"). */
.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;
}

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

.container--narrow {
  width: min(760px, 100% - 48px);
}

.section {
  padding: 96px 0;
  position: relative;
}

.section__head {
  text-align: center;
  margin-bottom: 56px;
}

.section__title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.4em 0 0;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}

/* ==== Prose (articles du blog + pages éditoriales) ===================== */

.article-body { color: var(--text); line-height: 1.8; font-size: 1.02rem; }
.article-body h1, .article-body h2, .article-body h3 {
  color: var(--text); line-height: 1.2;
}
/* Titres de section : Barlow Condensed + filet vert, pour rythmer la lecture */
.article-body h2 {
  font-family: 'Barlow Condensed', var(--font);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: .01em;
  margin: 3rem 0 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.article-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article-body h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.article-body p { margin-bottom: 1.15rem; }
.article-body ul, .article-body ol { margin: 0 0 1.25rem 1.4rem; }
.article-body li { margin-bottom: .55rem; }
.article-body li::marker { color: var(--green); }
.article-body img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 2.25rem 0;
}
/* Citations : encart « idée clé » qui aère les murs de texte */
.article-body blockquote {
  margin: 1.75rem 0;
  padding: 1.1rem 1.4rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-size: 1.08rem;
}
.article-body blockquote p { margin: 0; }
.article-body strong { color: var(--green); }
.article-body a { color: var(--green); }

/* Tableaux (pages légales : registre des traitements) */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: .9rem;
  line-height: 1.5;
}
.article-body th, .article-body td {
  border: 1px solid var(--line);
  padding: .65rem .8rem;
  text-align: left;
  vertical-align: top;
}
.article-body th {
  font-family: 'Barlow Condensed', var(--font);
  font-size: 1.05rem;
  background: var(--bg-soft);
}

/* ==== Coach Scruméo : le composant mascotte (3 tailles) =================
   Partagé app + marketing. .coach-fig--full : plein pied ;
   --buste : tête + torse ; --mini : tête ronde. */

.coach-fig { position: relative; display: flex; justify-content: center; align-items: flex-start; }
.coach-fig::before {
  content: ''; position: absolute; inset: -12% -30%; z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 38%, rgba(57, 255, 126, .22), transparent 68%),
    radial-gradient(ellipse 40% 32% at 62% 60%, rgba(0, 229, 200, .14), transparent 70%);
  filter: blur(2px);
}
.coach-fig img {
  position: relative; z-index: 1; display: block;
  filter: brightness(1.22) contrast(1.06)
          drop-shadow(0 0 18px rgba(57, 255, 126, .35))
          drop-shadow(0 0 46px rgba(0, 229, 200, .22));
}
.coach-fig--full img { width: 100%; max-width: 200px; animation: coach-float 5s ease-in-out infinite; }
.coach-fig--buste {
  width: 96px; height: 112px; overflow: hidden; flex: none;
  border-radius: 14px;
}
.coach-fig--buste img { width: 96px; }
.coach-fig--mini {
  width: 56px; height: 56px; overflow: hidden; flex: none;
  border-radius: 50%; background: rgba(57, 255, 126, .08);
  border: 1px solid rgba(57, 255, 126, .25);
}
.coach-fig--mini img { width: 120px; margin: -6px 0 0 -32px; }
@keyframes coach-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) { .coach-fig img { animation: none; } }

/* La section « Votre coach » de la landing — carte compacte : avatar rond
   du robot (zoom tête/épaules de salut.png) + message court. */
.coach-hero {
  display: flex; gap: 2.5rem; align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
}
.coach-hero__avatar {
  flex: 0 0 116px;
  width: 116px; height: 116px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line-green);
  background: rgba(53, 224, 124, .06);
}
.coach-hero__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  /* zoom sur la tête et le haut du torse (le PNG cadre le robot entier) */
  transform: scale(1.6);
  transform-origin: 45% 18%;
}
.coach-hero__body { flex: 1; min-width: 0; }
.coach-hero__body .section__title { margin-bottom: 1rem; }
.coach-hero__text {
  color: var(--muted); line-height: 1.7;
  margin: 0 0 1.6rem; max-width: 60ch;
}
@media (max-width: 720px) {
  .coach-hero { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .coach-hero__avatar { flex-basis: auto; width: 96px; height: 96px; }
  .coach-hero__text { margin-left: auto; margin-right: auto; }
}

/* ==== Fond : ciel étoilé nu sur navy =================================== */

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* ==== Logo (mark) ======================================================= */

/* Logo image officiel (PNG transparent avec halo intégré).
   Le "S" texte des <span class="mark">S</span> est masqué : l'image
   le porte déjà — un seul point de changement pour tout le site. */
.mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: url("../img/logo-256.633731eb66a8.png") center / contain no-repeat;
  color: transparent;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  user-select: none;
}

.mark--xl {
  width: 150px;
  height: 150px;
}

/* ==== Navigation ======================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.35s ease, border-color 0.35s ease,
    backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(6, 13, 23, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav__wordmark {
  font-size: 1.12rem;
}

.nav__dot {
  color: var(--green);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__links a:not(.btn) {
  position: relative;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav__links a:not(.btn):hover {
  color: var(--text);
}

.nav__links a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}

.nav--open .nav__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav--open .nav__burger span:nth-child(2) {
  opacity: 0;
}

.nav--open .nav__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==== Boutons =========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease,
    border-color 0.25s ease, background-color 0.25s ease;
}

.btn--sm {
  padding: 9px 20px;
  font-size: 0.88rem;
}

.btn--primary {
  background: var(--grad);
  color: var(--ink-on-green);
  box-shadow: 0 4px 18px rgba(57, 255, 126, 0.28);
}

.btn--primary::before {
  /* reflet balayant au survol */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.6s ease;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.btn--primary:hover::before {
  transform: translateX(110%);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: var(--surface);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: var(--line-green);
  transform: translateY(-2px);
}

/* ==== Hero video + presentation ======================================== */

/* NOTE (2026-07-16) : l'épinglage au scroll (section haute + sticky) a été
   essayé puis ABANDONNÉ — décision Mel : la zone de scroll « morte » pesait
   plus que l'effet. La section défile normalement, ne pas re-proposer. */
.hero-video {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22vh;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

/* La vidéo se fond dans le ciel de la page plutôt que d'apparaître comme
   un rectangle vidéo classique : mix-blend-mode:screen rend ses pixels
   sombres transparents — seuls le logo et ses lumières apparaissent,
   aucun bord visible. Le masque adoucit en plus les entrées/sorties
   haut et bas, pour une transition continue avec les sections voisines. */
.hero-video--blend {
  background: transparent;
}
.hero-video--blend .hero-video__media {
  mix-blend-mode: screen;
  /* écrase les basses lumières : le fond bleu nuit de la vidéo devient
     noir et disparaît totalement dans la fusion, le logo reste éclatant */
  filter: brightness(.82) contrast(1.25);
  /* Feutrage des quatre bords (haut/bas + gauche/droite) : la vidéo se
     dissout dans le ciel étoilé de tous les côtés, sans arête visible.
     Feutrage large ASSUMÉ (aller-retour tranché par Mel 2026-07-16) :
     il rogne un peu la traînée du bas, mais c'est lui qui fond
     l'animation dans le ciel de la page — ne pas le resserrer. */
  -webkit-mask-image:
    linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent),
    linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image:
    linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent),
    linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.4s ease, transform 1.8s ease;
}
.hero-video--blend.est-visible .hero-video__media {
  opacity: 1;
  transform: none;
}

.hero-video__media {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100svh;
  object-fit: cover;
  display: block;
}

.hero-video__scroll {
  position: absolute;
  bottom: clamp(22px, 5vw, 42px);
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--text);
  border: 1px solid rgba(230, 237, 246, 0.42);
  border-radius: 50%;
  background: rgba(4, 7, 13, 0.28);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
  animation: bob 2.4s ease-in-out infinite;
}

.hero-video__scroll:hover {
  color: var(--green);
  border-color: var(--line-green);
}

.hero {
  position: relative;
  text-align: center;
}

.hero--content {
  padding: 112px 0 88px;
  /* le hero occupe exactement l'écran 1 : l'animation du logo (section
     suivante) ne devient visible qu'à l'écran 2, jamais sous le pli */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  position: relative;
  margin-bottom: 38px;
  animation: float 6s ease-in-out infinite;
}

/* Le logo image porte son propre halo : le glow CSS pulsant est retiré
   (il révélait la découpe rectangulaire du PNG en éclairant ses bords). */
.hero__logo-glow { display: none; }

/* Le titre du hero est centré en incluant le point vert final, ce qui
   décale le mot « Scruméo » légèrement à gauche de l'axe de mise en page.
   On aligne le logo sur le mot (et non sur l'axe) pour qu'il soit centré
   au-dessus du wordmark visible.
   Le hero porte la version « mascotte allongée » du logo (montage Mel
   2026-07-16) — réservée aux grandes tailles : à 44px le robot serait
   illisible, les petits .mark gardent logo-256. L'image ayant plus de
   marges (robot qui déborde, étincelle), la boîte est élargie pour que
   le carré vert garde sa taille d'avant. */
.hero__logo .mark--xl {
  transform: translateX(-10px);
  width: 220px;
  height: 220px;
  background-image: url("../img/logo-coach-512.0fbce4bcc705.png");
}
@media (max-width: 760px) {
  .hero__logo .mark--xl {
    width: 153px;
    height: 153px;
  }
}

.hero__title {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero__dot {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  margin: 18px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--green);
  opacity: 0.75;
  transition: opacity 0.25s ease;
  animation: bob 2.4s ease-in-out infinite;
}

.hero__scroll:hover {
  opacity: 1;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 6px);
  }
}

/* ==== Cartes piliers ==================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-green);
  box-shadow: var(--shadow), 0 0 0 1px rgba(57, 255, 126, 0.12);
}

.card--feature {
  border-color: var(--line-green);
  background: linear-gradient(180deg, rgba(57, 255, 126, 0.08), var(--surface));
}

.card__photo {
  position: relative;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
}

.card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.card:hover .card__photo img {
  transform: scale(1.05);
}

.card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 7, 13, 0.55));
  pointer-events: none;
}

.card__photo-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 16px;
  font-size: 1.8rem;
  z-index: 1;
}

.card__title {
  margin: 0 0 10px;
  font-size: 1.16rem;
  letter-spacing: -0.01em;
}

.card__text {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.card__link {
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--green);
}

.card__link span {
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}

.card__link:hover span {
  transform: translateX(4px);
}

/* ==== Carrousel des parcours ============================================ */
/* Défilement horizontal natif (scroll-snap) : pas de JS requis, fonctionne
   au doigt, au trackpad et à la molette+Maj. Se limite à ce qui est
   réellement accessible — pas de teasing/waitlist ici (voir pages/views.py). */

.parcours-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 6px 18px;
  margin: 0 -6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-green) transparent;
}

.parcours-card {
  flex: 0 0 min(340px, 84vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 0 28px 30px;
  overflow: hidden;
  border: 1px solid var(--line-green);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(57, 255, 126, 0.09), var(--surface));
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.parcours-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(57, 255, 126, 0.12);
}

/* Visuel en tête de carte : déborde le padding pour toucher les bords. */
.parcours-card__photo {
  margin: 0 -28px 22px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.parcours-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.parcours-card--soon .parcours-card__photo img {
  filter: grayscale(0.55) brightness(0.72);
}

.parcours-card__tag {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.parcours-card__title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.parcours-card__text {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.parcours-card .btn {
  align-self: flex-start;
}

/* Carte en teasing : framework pas encore ouvert. Volontairement discrète
   pour que la carte jouable reste le point d'attention. */
.parcours-card--soon {
  border-color: var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
}

.parcours-card--soon .parcours-card__tag,
.parcours-card--soon .parcours-card__meta li {
  color: var(--muted);
  border-color: var(--line);
}

.parcours-card__soon {
  align-self: flex-start;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 999px;
}

/* ==== Bandeau Scruméo =================================================== */

.banner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 38px 40px;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line-green);
  background: linear-gradient(120deg, rgba(57, 255, 126, 0.1), rgba(0, 229, 200, 0.05) 55%, var(--surface));
  box-shadow: 0 0 60px rgba(57, 255, 126, 0.08);
}

.banner__mark .mark {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  font-size: 2.2rem;
}

.banner__body {
  flex: 1;
}

.banner__title {
  margin: 0 0 8px;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.banner__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 60ch;
}

/* ==== FAQ =============================================================== */

.faq {
  border-top: 1px solid var(--line-green);
}

.faq__item {
  border-bottom: 1px solid var(--line-green);
}

.faq__heading {
  margin: 0;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 6px;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}

.faq__q:hover {
  color: var(--green);
}

.faq__chevron {
  flex-shrink: 0;
  color: var(--green);
  transition: transform 0.35s var(--ease-out);
}

.faq__item.open .faq__chevron {
  transform: rotate(180deg);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s var(--ease-out), opacity 0.35s ease;
}

.faq__item.open .faq__a {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq__a-inner {
  overflow: hidden;
}

.faq__a-inner p {
  margin: 0;
  padding: 0 6px 24px;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 64ch;
}

.faq__cta {
  text-align: center;
  margin-top: 44px;
}

/* ==== Pied de page ====================================================== */

.footer {
  border-top: 1px solid var(--line);
  background: rgba(10, 16, 28, 0.6);
  backdrop-filter: blur(8px);
  padding: 56px 0 28px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer__baseline {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__nav {
  display: flex;
  gap: 64px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-title {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__col a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.93rem;
  transition: color 0.25s ease;
}

.footer__col a:hover {
  color: var(--green);
}

.footer__legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.footer__legal p {
  margin: 0;
}

.footer__note {
  opacity: 0.7;
}

/* ==== Apparition au scroll ============================================= */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ==== Responsive ======================================================== */

@media (max-width: 980px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }

  .nav__burger {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 22px;
    background: rgba(4, 7, 13, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav--open .nav__links {
    display: flex;
  }

  .nav__links a:not(.btn) {
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
  }

  .nav__links a:not(.btn)::after {
    display: none;
  }

  .nav__links .btn {
    margin-top: 16px;
  }

  .hero--content {
    padding: 80px 0 70px;
  }

  .hero__logo {
    margin-bottom: 28px;
  }

  .mark--xl {
    width: 104px;
    height: 104px;
    border-radius: 28px;
    font-size: 3.35rem;
  }

  .hero__sub {
    font-size: 0.98rem;
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .footer__nav {
    gap: 40px;
  }
}

/* ==== Accessibilité : mouvement réduit ================================= */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
