/* ==========================================================================
   LCDV — Le Chemin des Vertueux — Landing Page Enseignements 2026/2027
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --accent: #d7820b;
  --accent-light: #f4a83c;
  --accent-pale: #ffd48a;
  --accent-dark: #9c5c02;
  --accent-glow: rgba(215, 130, 11, 0.28);

  --bg-void: #ffffff;
  --bg-deep: #f5f5f7;
  --bg-panel: #ffffff;
  --bg-panel-2: #1c150d;
  --bg-paper: #f5f5f7;
  --bg-paper-alt: #ececec;

  --ink: #1d1d1f;
  --ink-muted: rgba(29, 29, 31, 0.68);
  --ink-faint: rgba(29, 29, 31, 0.42);
  --ink-dark: #1d1d1f;
  --ink-dark-muted: rgba(29, 29, 31, 0.66);
  --ink-dark-faint: rgba(29, 29, 31, 0.44);

  --border-light: rgba(29, 29, 31, 0.08);
  --border-light-strong: rgba(29, 29, 31, 0.16);
  --border-dark: rgba(29, 29, 31, 0.08);
  --border-dark-strong: rgba(29, 29, 31, 0.16);

  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.14);
  --shadow-md: 0 20px 45px -20px rgba(0, 0, 0, 0.1);
  --shadow-accent: 0 20px 45px -15px rgba(215, 130, 11, 0.35);

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);

  --dur-fast: 0.4s;
  --dur-med: 0.8s;
  --dur-slow: 1.4s;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

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

section {
  position: relative;
}

::selection {
  background: var(--accent);
  color: var(--ink-dark);
}

/* Fluid type scale helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.72rem, 0.5vw + 0.6rem, 0.85rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 2.2em;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section--light .eyebrow {
  color: var(--accent-dark);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.section-lede {
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.2rem);
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 52ch;
}

.section--light .section-lede {
  color: var(--ink-dark-muted);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: clamp(2.5rem, 4vw, 4.5rem);
}

.accent-text {
  color: var(--accent);
}

.section--light .accent-text {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal="scale"] {
  transform: scale(0.94);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 2.1rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-light), var(--accent) 60%, var(--accent-dark));
  color: #1a1208;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 70px -18px rgba(215, 130, 11, 0.6);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(248, 242, 230, 0.3);
  color: #f8f2e6;
}

.btn-ghost:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform var(--dur-fast) var(--ease-out);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  z-index: 100;
  padding: clamp(0.9rem, 2vw, 1.4rem) 0;
  transition: background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), padding var(--dur-fast) var(--ease-out), backdrop-filter var(--dur-fast) var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--border-light), 0 20px 40px -30px rgba(0, 0, 0, 0.12);
  padding: 0.75rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions .btn-primary {
  padding: 0.75rem 1.5rem;
  font-size: 0.88rem;
}

.header-actions .cta-short {
  display: none;
}

@media (max-width: 640px) {
  .header-actions .cta-long {
    display: none;
  }

  .header-actions .cta-short {
    display: inline;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(7rem, 14vw, 9rem) 0 clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 60% 50% at 82% 8%, rgba(215, 130, 11, 0.22), transparent 60%),
    radial-gradient(ellipse 70% 60% at 10% 100%, rgba(215, 130, 11, 0.12), transparent 65%),
    linear-gradient(180deg, var(--bg-void), var(--bg-deep) 70%);
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(10px);
  top: -10%;
  right: 5%;
  pointer-events: none;
  animation: float-orb 14s var(--ease-in-out) infinite alternate;
}

@keyframes float-orb {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-30px, 40px) scale(1.08);
  }
}

@keyframes card-float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.4rem, 2.6vw, 2rem);
}

.hero-copy {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 2rem + 4.2vw, 5.6rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 1.4rem 0 1.6rem;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}

.hero.is-ready .hero-title .line span {
  transform: translateY(0);
}

.hero-title .line:nth-child(1) span {
  transition-delay: 0.05s;
}
.hero-title .line:nth-child(2) span {
  transition-delay: 0.18s;
}

.hero-sub {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.3rem);
  color: var(--ink-muted);
  max-width: 46ch;
  line-height: 1.65;
  margin-bottom: 1.9rem;
}

.hero-schedule {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--bg-deep);
  border: 1px solid var(--border-light);
  padding: 0.7rem 1.3rem;
  border-radius: 100px;
}

.hero-schedule .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  padding: 1.15rem 2.4rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
  font-weight: 600;
}

.hero-scroll-hint .stick {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--ink-faint), transparent);
  position: relative;
  overflow: hidden;
}

.hero-scroll-hint .stick::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-light);
  animation: scroll-drip 2.2s var(--ease-in-out) infinite;
}

@keyframes scroll-drip {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

.hero-video {
  width: 100%;
  max-width: none;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.hero-video .video-frame {
  max-width: 100%;
  margin: 0;
  border: none;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Generic section paddings & light/dark variants
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section--dark {
  background: var(--bg-deep);
  overflow-x: hidden;
}

.section--panel {
  background: var(--bg-panel);
}

.section--light {
  background: var(--bg-paper);
  color: var(--ink-dark);
  overflow-x: hidden;
}

.section--light .section-heading,
.section--light h3,
.section--light .card-title {
  color: var(--ink-dark);
}

/* --------------------------------------------------------------------------
   Video
   -------------------------------------------------------------------------- */

.video-frame {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #241c10, #120e08);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(215, 130, 11, 0.12) 0 2px, transparent 2px 44px),
    radial-gradient(circle at 30% 20%, rgba(215, 130, 11, 0.35), transparent 55%);
  opacity: 0.9;
}

.video-poster-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 3vw, 1.6rem);
  padding: clamp(1rem, 4vw, 2rem);
  text-align: center;
}

.video-poster-content img {
  width: clamp(40px, 6vw, 64px);
  height: clamp(40px, 6vw, 64px);
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 50%;
  opacity: 0.9;
}

.video-poster-content .video-caption {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1vw + 0.9rem, 1.6rem);
  color: #f8f2e6;
  max-width: 30ch;
}

.play-btn {
  position: relative;
  width: clamp(64px, 9vw, 92px);
  height: clamp(64px, 9vw, 92px);
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent-light), var(--accent) 65%, var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(215, 130, 11, 0.5), var(--shadow-accent);
  transition: transform var(--dur-fast) var(--ease-out);
  animation: pulse-ring 2.6s var(--ease-out) infinite;
}

.play-btn:hover {
  transform: scale(1.07);
}

.play-btn svg {
  width: 30px;
  height: 30px;
  fill: #1a1208;
  margin-left: 4px;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(215, 130, 11, 0.45), var(--shadow-accent); }
  70% { box-shadow: 0 0 0 26px rgba(215, 130, 11, 0), var(--shadow-accent); }
  100% { box-shadow: 0 0 0 0 rgba(215, 130, 11, 0), var(--shadow-accent); }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(244, 168, 60, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(244, 168, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 168, 60, 0); }
}

.video-frame video,
.video-frame .video-embed-note {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-embed-note {
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: rgba(10, 8, 6, 0.92);
  color: rgba(248, 242, 230, 0.75);
  font-size: 1rem;
}

.video-frame.is-playing .video-poster-content {
  opacity: 0;
  pointer-events: none;
}

.video-frame.is-playing .video-embed-note {
  display: flex;
}

/* --------------------------------------------------------------------------
   Compte à rebours
   -------------------------------------------------------------------------- */

.countdown-section {
  --diag: clamp(14px, 2vw, 32px);
  margin-top: calc(-1 * var(--diag));
  padding: calc(clamp(3rem, 6vw, 4.5rem) + var(--diag)) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  background: linear-gradient(160deg, #17110a, #0a0806);
  clip-path: polygon(0 var(--diag), 100% 0%, 100% 100%, 0% 100%);
}

.countdown-section--narrow {
  padding-top: calc(clamp(1.6rem, 3vw, 2.4rem) + var(--diag));
  padding-bottom: clamp(1.4rem, 2.5vw, 2rem);
}

.countdown-caption {
  font-size: clamp(1.3rem, 0.8vw + 1.1rem, 1.7rem);
  font-weight: 700;
  color: #f8f2e6;
  margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
}

.countdown-caption strong {
  color: #f8f2e6;
  font-weight: 700;
}

.countdown-section.is-live .countdown-grid {
  display: none;
}

.countdown-section.is-live .countdown-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 0;
  color: #ff5a4f;
}

.countdown-live-dot {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 14px rgba(255, 59, 48, 0.75);
  animation: live-pulse 1.3s ease-out infinite;
}

@keyframes live-pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.75), 0 0 14px rgba(255, 59, 48, 0.75);
  }
  60% {
    transform: scale(1.12);
    box-shadow: 0 0 0 20px rgba(255, 59, 48, 0), 0 0 22px rgba(255, 59, 48, 0.5);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0), 0 0 14px rgba(255, 59, 48, 0.75);
  }
}

@media (prefers-reduced-motion: reduce) {
  .countdown-live-dot {
    animation: none;
  }
}

.countdown-section[hidden] {
  display: none;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 2vw, 1.4rem);
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: clamp(64px, 12vw, 100px);
  padding: clamp(0.8rem, 2vw, 1.3rem) clamp(0.4rem, 1.5vw, 1rem);
  background: rgba(248, 242, 230, 0.06);
  border: 1px solid rgba(248, 242, 230, 0.14);
  border-radius: 18px;
}

.countdown-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 1.2vw + 1.5rem, 2.8rem);
  line-height: 1;
  background: linear-gradient(160deg, var(--accent-pale), var(--accent-light) 45%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 242, 230, 0.4);
}

.countdown-sep {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1vw + 1rem, 2rem);
  font-weight: 700;
  color: rgba(248, 242, 230, 0.2);
  transform: translateY(-0.6rem);
}

@media (max-width: 640px) {
  .countdown-sep {
    display: none;
  }

  .countdown-grid {
    flex-wrap: wrap;
  }
}

/* --------------------------------------------------------------------------
   Stat / chiffre clé section
   -------------------------------------------------------------------------- */

.stat-section {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(215, 130, 11, 0.14), transparent 60%), var(--bg-void);
  text-align: center;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stat-number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 1rem;
}

.stat-number .prefix {
  font-size: clamp(1.4rem, 1.2vw + 1rem, 2.2rem);
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: clamp(0.6rem, 2vw, 1.4rem);
}

.stat-number .num {
  font-size: clamp(5.5rem, 5vw + 4rem, 11rem);
  background: linear-gradient(160deg, var(--accent-pale), var(--accent-light) 45%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.stat-number .unit {
  font-size: clamp(1.4rem, 1.2vw + 1rem, 2.2rem);
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: clamp(0.6rem, 2vw, 1.4rem);
}

.stat-caption {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1vw + 1.2rem, 2.1rem);
  color: var(--ink);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.stat-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

.stat-fact {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-deep);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.stat-fact:hover {
  transform: translateY(-6px);
  border-color: var(--border-light-strong);
  background: var(--bg-void);
  box-shadow: var(--shadow-md);
}

.stat-fact .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(215, 130, 11, 0.25), rgba(215, 130, 11, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-fact .icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.stat-fact .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}

.stat-fact p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Deux enseignements
   -------------------------------------------------------------------------- */

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.2rem);
}

.course-card {
  position: relative;
  padding: clamp(2.2rem, 3vw, 3rem);
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--border-light);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.course-card--thu {
  background:
    radial-gradient(circle at 85% 0%, rgba(215, 130, 11, 0.35), transparent 55%),
    linear-gradient(160deg, #241a0d, #14100b 75%);
}

.course-card--sun {
  background:
    radial-gradient(circle at 85% 0%, rgba(215, 130, 11, 0.22), transparent 55%),
    linear-gradient(160deg, #1d1912, #100e0a 75%);
}

.course-card .day-tag {
  position: absolute;
  top: clamp(1.6rem, 3vw, 2.4rem);
  left: clamp(1.6rem, 3vw, 2.4rem);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 4vw, 5rem);
  font-weight: 300;
  color: rgba(248, 242, 230, 0.1);
  line-height: 1;
  letter-spacing: 0.02em;
}

.course-card .day-index {
  align-self: flex-end;
  margin-bottom: 1.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1208;
  background: linear-gradient(135deg, var(--accent-light), var(--accent) 65%, var(--accent-dark));
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  box-shadow: var(--shadow-accent);
}

.course-card .card-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.3rem);
  font-weight: 700;
  color: #f8f2e6;
  margin-bottom: 0.8rem;
}

.course-card .card-desc {
  font-size: 1rem;
  color: rgba(248, 242, 230, 0.68);
  font-style: italic;
  margin-bottom: 1.8rem;
}

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

/* --------------------------------------------------------------------------
   Parole (quote)
   -------------------------------------------------------------------------- */

.quote-section {
  --diag: clamp(28px, 4vw, 64px);
  position: relative;
  background: #0a0806;
  margin-top: calc(-1 * var(--diag));
  clip-path: polygon(0 var(--diag), 100% 0%, 100% 100%, 0% 100%);
  padding: calc(clamp(4.5rem, 9vw, 7.5rem) + var(--diag)) 0 clamp(4rem, 8vw, 6.5rem);
  text-align: center;
}

.quote-content {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 4vw, 2.6rem);
}

.quote-text {
  font-size: clamp(1.2rem, 1vw + 1.05rem, 1.6rem);
  font-weight: 700;
  line-height: 1.7;
  color: #f8f2e6;
}

.quote-label {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Professeur
   -------------------------------------------------------------------------- */

.professor-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.professor-portrait {
  position: relative;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(215, 130, 11, 0.18), rgba(28, 22, 16, 0.03)),
    repeating-linear-gradient(45deg, rgba(28, 22, 16, 0.05) 0 2px, transparent 2px 18px);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.portrait-frame .placeholder-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--ink-dark-faint);
  text-align: center;
  padding: 2rem;
}

.portrait-frame .placeholder-tag svg {
  width: 56px;
  height: 56px;
  stroke: var(--accent);
  opacity: 0.6;
}

.portrait-frame .placeholder-tag span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  max-width: 22ch;
}

.portrait-badge {
  position: absolute;
  bottom: -1.2rem;
  right: -1.2rem;
  background: var(--bg-paper);
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-md);
  max-width: 220px;
}

.portrait-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-dark);
}

.portrait-badge span {
  font-size: 0.78rem;
  color: var(--ink-dark-muted);
}

.professor-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4vw + 1.4rem, 3rem);
  font-weight: 600;
  color: var(--ink-dark);
  margin: 1rem 0 1.6rem;
  line-height: 1.1;
}

.professor-bio {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-dark-muted);
}

/* --------------------------------------------------------------------------
   Global / world section
   -------------------------------------------------------------------------- */

.world-section {
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-void));
  overflow: hidden;
}

.world-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.world-copy .section-heading {
  max-width: 14ch;
  margin-bottom: 1.2rem;
}

.world-facts {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.world-facts li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

.world-facts li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.globe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(215, 130, 11, 0.18), transparent 60%), var(--bg-panel-2);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.55), var(--shadow-lg);
}

.world-globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  cursor: grab;
  touch-action: none;
}

.world-globe-canvas:active {
  cursor: grabbing;
}

.globe-tooltip {
  position: absolute;
  top: 12%;
  left: 58%;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.9rem;
  background: var(--bg-void);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  font-size: 0.72rem;
  color: var(--ink-muted);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), left 0.2s linear, top 0.2s linear;
  white-space: nowrap;
  z-index: 3;
}

.globe-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.globe-tooltip strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

.globe-hint {
  position: absolute;
  bottom: -2.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-faint);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Live + Replay — tablet "direct" preview
   -------------------------------------------------------------------------- */

.live-section {
  position: relative;
  padding-top: clamp(2rem, 4vw, 3.5rem);
  background:
    radial-gradient(ellipse 60% 50% at 8% 8%, rgba(215, 130, 11, 0.1), transparent 60%),
    radial-gradient(ellipse 60% 50% at 95% 100%, rgba(215, 130, 11, 0.14), transparent 60%),
    linear-gradient(180deg, #fdf8f0, #fbf2e3);
  overflow: hidden;
}

.live-arch {
  position: absolute;
  width: clamp(220px, 30vw, 420px);
  height: clamp(220px, 30vw, 420px);
  opacity: 0.35;
  pointer-events: none;
}

.live-arch--tl {
  top: -8%;
  left: -8%;
}

.live-arch--br {
  bottom: -12%;
  right: -8%;
  transform: rotate(180deg);
}

.live-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .live-features {
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
  }
}

.live-feature {
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-void);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.live-feature:hover {
  transform: translateY(-6px);
  border-color: var(--border-light-strong);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .live-feature {
    flex: 1;
  }
}

.live-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.live-feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.live-feature-icon svg {
  width: 22px;
  height: 22px;
}

.live-feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.icon-chat-anim .dot {
  animation: icon-typing-bounce 1.4s ease-in-out infinite;
}

.icon-chat-anim .dot-1 { animation-delay: 0s; }
.icon-chat-anim .dot-2 { animation-delay: 0.2s; }
.icon-chat-anim .dot-3 { animation-delay: 0.4s; }

@keyframes icon-typing-bounce {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

.icon-people-anim {
  transform-box: fill-box;
  transform-origin: center;
  animation: icon-breathe 2.6s ease-in-out infinite;
}

@keyframes icon-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .live-feature-dot-icon,
  .icon-chat-anim .dot,
  .icon-people-anim {
    animation: none !important;
  }
}

.live-feature-text h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-dark);
}

.live-feature-text p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-dark-muted);
}

.tablet-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .tablet-row {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 1.75rem;
  }

  .tablet-frame {
    width: auto;
    flex: 1 1 760px;
    max-width: 820px;
    min-width: 0;
  }
}

.tablet-frame {
  position: relative;
  width: min(760px, 100%);
  padding: 4px;
  border-radius: 32px;
  background: linear-gradient(155deg, #f4f4f6, #d6d7da 45%, #eceef0 55%, #c7c8cb);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.6), inset 0 -1px 2px rgba(0, 0, 0, 0.15);
}

.tablet-frame-inner {
  position: relative;
  padding: 15px;
  border-radius: 28px;
  background: #060606;
}

.tablet-frame-inner::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2a2a2c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.tablet-frame .video-player {
  width: 100%;
}

.video-player {
  position: relative;
  width: min(760px, 100%);
  aspect-ratio: 16 / 9.5;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #241c10, #0d0a06);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.video-player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 2.2rem 1.1rem 0.9rem;
  background: linear-gradient(0deg, rgba(5, 4, 3, 0.85), transparent);
}

.vp-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: #f8f2e6;
  opacity: 0.9;
  cursor: pointer;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.vp-btn:hover {
  opacity: 1;
  transform: scale(1.08);
}

.vp-btn svg {
  width: 19px;
  height: 19px;
}

.vp-seek {
  flex: 1;
  display: flex;
  align-items: center;
}

.vp-seek-track {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(248, 242, 230, 0.25);
}

.vp-seek-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 32%;
  border-radius: 4px;
  background: var(--accent-light);
}

.vp-seek-handle {
  position: absolute;
  top: 50%;
  left: 32%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-light);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(244, 168, 60, 0.25);
}

.live-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem 0.4rem 0.6rem;
  background: rgba(10, 8, 6, 0.65);
  border: 1px solid rgba(248, 242, 230, 0.14);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f8f2e6;
  z-index: 2;
}

.live-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5483f;
  box-shadow: 0 0 0 0 rgba(229, 72, 63, 0.6);
  animation: ping-red 2s var(--ease-out) infinite;
}

@keyframes ping-red {
  0% { box-shadow: 0 0 0 0 rgba(229, 72, 63, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(229, 72, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 72, 63, 0); }
}

.live-chat {
  display: flex;
  flex-direction: column;
  width: min(640px, 100%);
  max-height: 340px;
  background: var(--bg-void);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .live-chat {
    width: 340px;
    flex-shrink: 0;
    height: 340px;
    max-height: none;
  }

  .live-chat-header {
    padding: 1.1rem 1.4rem;
    font-size: 0.88rem;
  }

  .live-chat-messages {
    padding: 1.2rem 1.4rem;
    gap: 0.9rem;
  }

  .live-chat-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
  }

  .live-chat-name {
    font-size: 0.8rem;
  }

  .live-chat-text {
    font-size: 0.92rem;
  }
}

.live-chat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.live-chat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e5483f;
  box-shadow: 0 0 0 0 rgba(229, 72, 63, 0.6);
  animation: ping-red 2s var(--ease-out) infinite;
}

.live-chat-messages {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  min-height: 200px;
}

.live-chat-msg {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(8px);
  animation: chat-msg-in 0.4s var(--ease-out) forwards;
}

@keyframes chat-msg-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.live-chat-avatar {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1a1208;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

.live-chat-avatar--own {
  color: #f8f2e6;
  background: linear-gradient(135deg, #2a2015, #0d0a06);
}

.live-chat-body {
  min-width: 0;
}

.live-chat-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.1rem;
}

.live-chat-text {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.4;
  word-break: break-word;
}

.live-chat-input {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem;
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
}

.live-chat-input input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: var(--bg-deep);
  border-radius: 100px;
  padding: 0.6rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
}

.live-chat-input input::placeholder {
  color: var(--ink-faint);
}

.live-chat-input button {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #1a1208;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out);
}

.live-chat-input button:hover {
  transform: scale(1.08);
}

.live-chat-input button svg {
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------------------------------
   Replay — full-bleed carousel
   -------------------------------------------------------------------------- */

.replay-section {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
}

.replay-carousel {
  --slide-w: 84vw;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

@media (min-width: 640px) {
  .replay-carousel {
    --slide-w: 64vw;
  }
}

@media (min-width: 1024px) {
  .replay-carousel {
    --slide-w: 62vw;
  }
}

.replay-track {
  display: flex;
  gap: clamp(12px, 2vw, 22px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: calc((100% - var(--slide-w)) / 2);
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.replay-track::-webkit-scrollbar {
  display: none;
}

.replay-slide {
  position: relative;
  flex: 0 0 var(--slide-w);
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  scroll-snap-align: center;
  background:
    radial-gradient(circle at 25% 15%, rgba(215, 130, 11, 0.3), transparent 55%),
    linear-gradient(160deg, #241c10, #0a0806);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
  .replay-slide {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 1024px) {
  .replay-slide {
    border-radius: 0;
  }
}

.replay-slide.has-thumb {
  background-image:
    linear-gradient(180deg, rgba(5, 4, 3, 0.72), rgba(5, 4, 3, 0.15) 42%),
    linear-gradient(0deg, rgba(5, 4, 3, 0.75), rgba(5, 4, 3, 0.1) 45%),
    var(--thumb-portrait);
}

@media (min-width: 640px) {
  .replay-slide.has-thumb {
    background-image:
      linear-gradient(180deg, rgba(5, 4, 3, 0.72), rgba(5, 4, 3, 0.15) 42%),
      linear-gradient(0deg, rgba(5, 4, 3, 0.75), rgba(5, 4, 3, 0.1) 45%),
      var(--thumb-landscape);
  }
}

.replay-slide-badge {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: clamp(0.8rem, 0.6vw + 0.65rem, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f8f2e6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.replay-slide-badge img {
  width: clamp(52px, 5vw, 84px);
  height: clamp(52px, 5vw, 84px);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.replay-slide-title {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  left: 1.4rem;
  right: 1.4rem;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw + 1.4rem, 5.6rem);
  line-height: 1.08;
  color: #f8f2e6;
  max-width: 13ch;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
  .replay-slide-title {
    top: clamp(5.6rem, 4vw + 4.5rem, 8rem);
    transform: none;
  }
}

.replay-slide-rec {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem 0.4rem 0.6rem;
  background: rgba(10, 8, 6, 0.65);
  border: 1px solid rgba(248, 242, 230, 0.14);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f8f2e6;
}

.replay-slide-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5483f;
  box-shadow: 0 0 0 0 rgba(229, 72, 63, 0.6);
  animation: ping-red 2s var(--ease-out) infinite;
}

.replay-slide-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: rgba(248, 242, 230, 0.35);
}

.replay-slide-placeholder svg {
  width: clamp(28px, 4vw, 42px);
  height: clamp(28px, 4vw, 42px);
}

.replay-slide-placeholder span {
  font-size: clamp(0.7rem, 1.3vw, 0.88rem);
  font-style: italic;
}

.replay-slide-info {
  position: absolute;
  left: clamp(1rem, 2.5vw, 1.6rem);
  right: clamp(1rem, 2.5vw, 1.6rem);
  bottom: clamp(1rem, 2.5vw, 1.6rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.replay-watch {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  background: #f8f2e6;
  color: #1a1208;
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform var(--dur-fast) var(--ease-out);
}

.replay-watch:hover {
  transform: translateY(-2px);
}

.replay-slide-info p {
  font-size: clamp(0.72rem, 1.3vw, 0.85rem);
  color: rgba(248, 242, 230, 0.7);
}

.replay-slide-info strong {
  color: #f8f2e6;
  font-weight: 700;
}

.replay-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(1.2rem, 2.5vw, 1.8rem);
}

.replay-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.replay-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border-dark-strong);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.replay-dot.is-active {
  background: var(--accent);
  transform: scale(1.3);
}

.replay-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-dark-strong);
  background: transparent;
  color: var(--ink-dark);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out);
}

.replay-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.replay-toggle svg {
  width: 13px;
  height: 13px;
}

/* --------------------------------------------------------------------------
   App mobile section
   -------------------------------------------------------------------------- */

.app-section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, var(--bg-void), var(--bg-panel));
  overflow: hidden;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.app-badges {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  transition: transform var(--dur-fast) var(--ease-out);
}

.store-badge:hover {
  transform: translateY(-4px);
}

.store-badge img {
  height: 48px;
  width: auto;
  border-radius: 14px;
}

.app-note {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
  font-style: italic;
}

.phone-mockup-wrap {
  position: relative;
  width: min(420px, 88vw);
  margin: 0 auto;
}

.phone-mockup-photo {
  display: block;
  width: 100%;
  height: auto;
  animation: card-float 8s var(--ease-in-out) infinite alternate;
}

.phone-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(30px);
  z-index: -1;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.phone-float-card {
  position: absolute;
  background: var(--bg-paper);
  color: var(--ink-dark);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: card-float 6s var(--ease-in-out) infinite alternate;
}

.phone-float-card.card-a {
  top: 12%;
  left: -8%;
  animation-delay: 0.4s;
}

.phone-float-card.card-b {
  bottom: 16%;
  right: -8%;
  animation-delay: 1s;
}

.phone-float-card.card-c,
.phone-float-card.card-d {
  display: none;
}

@media (min-width: 900px) {
  .phone-float-card.card-c,
  .phone-float-card.card-d {
    display: flex;
  }

  .phone-float-card.card-c {
    top: 38%;
    right: -10%;
    animation-delay: 0.7s;
  }

  .phone-float-card.card-d {
    bottom: 36%;
    left: -10%;
    animation-delay: 1.3s;
  }
}

.phone-float-card .dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5483f;
  box-shadow: 0 0 0 0 rgba(229, 72, 63, 0.6);
  animation: ping-red 2s var(--ease-out) infinite;
}

.phone-float-card .dot-ok {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf6d;
}

/* --------------------------------------------------------------------------
   Formules et tarifs
   -------------------------------------------------------------------------- */

.pricing-section {
  background: var(--bg-void);
}

.archive-section {
  background: linear-gradient(160deg, #17110a, #0a0806);
}

.archive-section .eyebrow {
  color: var(--accent-light);
}

.archive-section .section-heading {
  color: #f8f2e6;
}

.archive-section .section-lede {
  color: rgba(248, 242, 230, 0.68);
}

.archive-section .video-frame {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.archive-section .live-features {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.archive-courses-grid {
  column-count: 1;
  column-gap: 1rem;
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
}

@media (min-width: 700px) {
  .archive-courses-grid {
    column-count: 2;
  }
}

@media (min-width: 1100px) {
  .archive-courses-grid {
    column-count: 3;
  }
}

.archive-course-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--bg-void);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  text-align: left;
  break-inside: avoid;
}

.archive-course-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem 0.4rem 0.6rem;
  background: rgba(10, 8, 6, 0.85);
  border: 1px solid rgba(248, 242, 230, 0.14);
  border-radius: 100px;
  color: #f8f2e6;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.archive-course-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5483f;
  box-shadow: 0 0 0 0 rgba(229, 72, 63, 0.6);
  animation: ping-red 2s var(--ease-out) infinite;
}

.archive-course-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-dark);
}

.archive-course-group {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-top: 0.4rem;
}

.archive-course-card .pricing-features {
  align-self: stretch;
  gap: 0.45rem;
  margin-bottom: 0;
}

.archive-course-card .pricing-features li {
  font-size: 0.85rem;
  color: var(--ink-dark-muted);
}

.archive-course-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--ink-dark);
  font-size: 0.78rem;
  font-weight: 700;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.archive-course-cta:hover {
  border-color: var(--accent);
  background: rgba(215, 130, 11, 0.08);
  color: var(--accent-dark);
}

.archive-course-cta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.archive-course-cta--soon {
  cursor: default;
  border-color: var(--border-light);
  color: var(--ink-faint);
}

.archive-course-cta--soon:hover {
  border-color: var(--border-light);
  background: transparent;
  color: var(--ink-faint);
}

.archive-pack-card {
  break-inside: avoid;
  margin-bottom: 1rem;
  width: 100%;
  transform: none !important;
}

.live-mensuel-section {
  background: var(--bg-void);
}

.live-mensuel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .live-mensuel-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .live-mensuel-content {
    align-items: center;
    text-align: center;
  }
}

.live-mensuel-content {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  text-align: left;
}

.live-mensuel-photo {
  position: relative;
}

.live-mensuel-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.live-float-a {
  top: 4%;
  left: -12%;
  animation-delay: 0.4s;
}

.live-float-b {
  bottom: 6%;
  right: -20%;
  animation-delay: 1s;
}

@media (max-width: 640px) {
  .live-float-a,
  .live-float-b {
    display: none;
  }
}

.live-mensuel-photo:empty,
.live-mensuel-photo:not(:has(img)) {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: var(--bg-void);
  border: 1px solid var(--border-light);
}

.live-mensuel-photo:empty::after,
.live-mensuel-photo:not(:has(img))::after {
  content: "Photo à venir";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-faint);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.4rem, 3vw, 2rem) clamp(2rem, 3vw, 2.4rem);
  background: var(--bg-void);
  border: 1px solid var(--border-dark);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 960px) {
  .pricing-card--featured {
    transform: translateY(-0.75rem);
  }
}

.pricing-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  padding: 0.55rem 1.3rem;
  border-radius: 100px;
  background: var(--accent);
  color: #1a1208;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  background: rgba(215, 130, 11, 0.12);
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.pricing-icon svg {
  width: 26px;
  height: 26px;
}

.pricing-icon--double svg {
  width: 20px;
  height: 20px;
}

.pricing-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.2vw + 1rem, 1.7rem);
  font-weight: 700;
  color: var(--ink);
}

.pricing-course {
  margin-top: 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-dark-muted);
}

.pricing-subtitle {
  display: block;
  margin: 0.4rem 0 1.3rem;
  padding-bottom: 1.3rem;
  width: 100%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--border-dark);
}

.pricing-features {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.pricing-features li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(215, 130, 11, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7820b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding-bottom: 1.4rem;
  margin-bottom: 1.2rem;
  width: 100%;
  justify-content: center;
  border-bottom: 1px solid var(--border-dark);
}

.pricing-price .amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 1.6vw + 1.3rem, 2.3rem);
  color: var(--ink);
}

.pricing-price .period {
  font-size: 0.95rem;
  color: var(--ink-dark-faint);
}

.pricing-price .old-amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 1vw + 0.9rem, 1.5rem);
  color: #d9463a;
  text-decoration: line-through;
}

.pricing-price--discount {
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.pricing-price--discount .old-amount {
  font-size: clamp(2.4rem, 2vw + 1.8rem, 3rem);
}

.pricing-price--discount .amount {
  font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2rem);
}

.pricing-freq {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  width: 100%;
  margin-bottom: 1.6rem;
}

.freq-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.6rem 0.4rem;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  background: transparent;
  font-size: 0.78rem;
  color: var(--ink-dark-muted);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.freq-option strong {
  font-size: 0.85rem;
  color: var(--ink);
}

.freq-option.is-active {
  border-color: var(--accent);
  background: rgba(215, 130, 11, 0.08);
}

.freq-option.is-active strong {
  color: var(--accent-dark);
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.4rem;
  border-radius: 100px;
  border: 1.5px solid var(--accent);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.pricing-cta:hover {
  background: rgba(215, 130, 11, 0.08);
  transform: translateY(-2px);
}

.pricing-cta svg {
  width: 1.1em;
  height: 1.1em;
}

.pricing-cta--solid {
  background: linear-gradient(135deg, var(--accent-light), var(--accent) 65%, var(--accent-dark));
  color: #1a1208;
  border-color: transparent;
  box-shadow: var(--shadow-accent);
}

.pricing-cta--solid:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent) 65%, var(--accent-dark));
}

.pricing-perks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

@media (min-width: 900px) {
  .pricing-perks {
    flex-direction: row;
    justify-content: center;
  }
}

.pricing-perk {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 clamp(0.5rem, 1.4vw, 1.1rem);
  position: relative;
}

@media (min-width: 900px) {
  .pricing-perk:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: var(--border-dark);
  }
}

.pricing-perk-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}

.pricing-perk-icon svg {
  width: 20px;
  height: 20px;
}

.pricing-perk p {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--ink-dark-muted);
  text-align: left;
  white-space: nowrap;
}

.pricing-trust {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.pricing-trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dark-muted);
}

.pricing-trust-line svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.trust-rule {
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: var(--border-dark);
}

.pricing-trust-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

@media (min-width: 700px) {
  .pricing-trust-row {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-dark-muted);
  background: var(--bg-paper);
}

.pricing-trust-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-dark-muted);
}

.pricing-trust-note svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.pricing-trust-note strong {
  color: var(--ink);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.final-cta {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  background:
    radial-gradient(ellipse 70% 70% at 50% 0%, rgba(215, 130, 11, 0.28), transparent 65%),
    var(--bg-void);
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.final-cta .eyebrow {
  justify-content: center;
  margin-bottom: 1.4rem;
}

.final-cta .eyebrow::before {
  display: none;
}

.final-date {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 7vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1.2rem;
  white-space: nowrap;
}


.final-cta .section-lede {
  margin: 0 auto 2.6rem;
  text-align: center;
}

.final-cta-frame {
  max-width: 720px;
  margin: 0 auto;
}

.countdown-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.4rem;
  padding: 0.65rem 1.3rem;
  border-radius: 100px;
  border: 1px solid var(--border-light-strong);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.countdown-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: ping 2.2s var(--ease-out) infinite;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--bg-void);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  border-top: 1px solid var(--border-light);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 320px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.footer-brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}

.footer-brand-text span {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.footer-nav {
  display: flex;
  gap: clamp(2rem, 5vw, 4.5rem);
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--ink-muted);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.social-row {
  display: flex;
  gap: 0.7rem;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  color: var(--ink-muted);
}

.social-row a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.social-row svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   Reveal stagger helper
   -------------------------------------------------------------------------- */

.stagger > * {
  transition-delay: calc(var(--i, 0) * 0.09s);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .professor-grid,
  .world-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .professor-portrait {
    max-width: 420px;
    margin: 0 auto;
  }

  .stat-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 1.15rem;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stat-number {
    flex-direction: column;
    gap: 0;
  }

  .stat-number .prefix,
  .stat-number .unit {
    margin-top: 0;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .course-card .btn {
    width: 100%;
  }

  .phone-float-card.card-a {
    left: -2%;
  }

  .phone-float-card.card-b {
    right: -2%;
  }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-section {
  background: var(--bg-deep);
}

.faq-section .section-lede a,
.faq-item p a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-list {
  max-width: 820px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background: var(--bg-void);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.faq-item[open] {
  border-color: var(--border-light-strong);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform var(--dur-fast) var(--ease-out);
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: rotate(0deg);
}

.faq-item p {
  padding: 0 1.4rem 1.3rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Pages légales (CGV)
   -------------------------------------------------------------------------- */

.legal-page {
  padding-top: clamp(7rem, 12vw, 9rem);
  background: var(--bg-void);
}

.legal-content {
  max-width: 820px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.legal-article {
  padding: 1.8rem 0;
  border-top: 1px solid var(--border-light);
}

.legal-article:first-child {
  border-top: 0;
}

.legal-article h2 {
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.legal-article p {
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

.footer-bottom p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
