/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:          #0C0806;
  --card:        #1A100A;
  --card-warm:   #221508;
  --surface:     #160E06;
  --border:      rgba(200, 144, 48, 0.20);
  --text:        #EDE0C8;
  --text-soft:   #D2B48C;
  --muted:       #B28C65;
  --primary:     #C89030;
  --primary-dk:  #9A6A18;
  --primary-lt:  #E8B55A;
  --secondary:   #1A7A6E;
  --accent:      #D4553A;
  --accent-lt:   #EC7A58;
  --dark:        #060402;
  --line:        rgba(200, 144, 48, 0.16);
  --line-dark:   rgba(200, 144, 48, 0.10);
  --shadow-sm:   0 8px 22px rgba(0, 0, 0, 0.40);
  --shadow-md:   0 16px 40px rgba(0, 0, 0, 0.50);
  --shadow-lg:   0 28px 70px rgba(0, 0, 0, 0.65);
  --radius-xl:   32px;
  --radius-lg:   20px;
  --radius-md:   12px;
  --max-w:       1280px;
  --pad-x:       clamp(20px, 4vw, 56px);
}

/* ─── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }

/* ─── BODY ────────────────────────────────────────────────────── */
body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%,  rgba(200, 144, 48, 0.13) 0%, transparent 26%),
    radial-gradient(circle at 90% 12%, rgba(26, 122, 110, 0.10) 0%, transparent 22%),
    radial-gradient(circle at 50% 85%, rgba(212, 85, 58, 0.07)  0%, transparent 32%),
    linear-gradient(180deg, #100B06 0%, #0C0806 40%, #080503 100%);
  min-height: 100dvh;
  font-size: 16px;
}

/* ─── PAGE SHELL ────────────────────────────────────────────────── */
.page-shell { width: 100%; overflow-x: hidden; }

/* ─── HERO ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-home {
  min-height: min(50svh, 460px);
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.12) 0%,
      rgba(20,8,8,0.08) 22%,
      rgba(58,22,17,0.48) 58%,
      rgba(20,8,10,0.84) 100%),
    url("./Hero-cover-candela.PNG") center top / cover no-repeat;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.hero-video {
  background-image: none !important;
  background-color: #120408;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(244, 171, 77, 0.18), rgba(244, 171, 77, 0) 20%),
    radial-gradient(circle at 12% 16%, rgba(64, 161, 150, 0.12), rgba(64, 161, 150, 0) 18%),
    linear-gradient(180deg,
      rgba(27,10,10,0.16) 0%,
      rgba(42,18,16,0.08) 22%,
      rgba(63,24,18,0.5) 58%,
      rgba(20,8,10,0.86) 100%);
  z-index: 1;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: auto 9% 8% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.2), rgba(245, 166, 35, 0));
  filter: blur(20px);
  z-index: 1;
  pointer-events: none;
}

.hero-video .hero-grid::after {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -10px;
  width: 220px;
  height: 220px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
  background:
    radial-gradient(ellipse at 35% 70%, rgba(255,255,255,0.18), rgba(255,255,255,0) 52%),
    radial-gradient(ellipse at 70% 25%, rgba(242, 207, 138, 0.2), rgba(242, 207, 138, 0) 42%);
  filter: blur(18px);
}

.hero-video .topbar,
.hero-video .hero-grid {
  position: relative;
  z-index: 2;
}

.hero-video .hero-logo-overlay {
  z-index: 101;
}

/* ─── HERO LOGO OVERLAY ─────────────────────────────────────────── */
.hero-logo-overlay {
  position: absolute;
  top: 20px;
  left: var(--pad-x);
  z-index: 10;
  pointer-events: none;
}

.hero-logo-overlay img {
  width: 300px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
}

/* ─── TOPBAR ────────────────────────────────────────────────────── */
.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 18px var(--pad-x) 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
  backdrop-filter: blur(8px);
}
.nav-link:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(242, 207, 138, 0.34);
  transform: translateY(-1px);
}
.nav-link:focus-visible,
.button:focus-visible,
.slot label:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ─── HERO GRID ─────────────────────────────────────────────────── */
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  padding: 0 var(--pad-x) 18px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-copy {
  width: 100%;
  max-width: 620px;
  text-align: center;
  padding: 12px 0 10px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.section-tag, .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,245,235,0.95);
  margin-bottom: 16px;
  backdrop-filter: blur(6px);
}

.section-block .section-tag {
  background: rgba(200, 144, 48, 0.14);
  border-color: rgba(200, 144, 48, 0.30);
  color: var(--primary-lt);
}

.hero-copy .section-tag {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hero-copy h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 10px;
}

.headline-accent {
  color: var(--accent-lt);
  text-shadow: 0 4px 24px rgba(245, 166, 35, 0.4);
}

.hero-text {
  color: rgba(255,245,235,0.94);
  line-height: 1.6;
  font-size: 0.93rem;
  max-width: 48ch;
  margin: 0 auto 13px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  margin-bottom: 14px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
}

.hero-proof span {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.16);
  border: 1px solid rgba(245, 166, 35, 0.22);
  color: rgba(255, 245, 235, 0.92);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-social-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.hero-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 140ms ease, transform 140ms ease;
  backdrop-filter: blur(6px);
}

.hero-social-link:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.hero-mood {
  margin: 2px auto 0;
  max-width: 46ch;
  color: rgba(255, 233, 214, 0.9);
  font-size: 0.82rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.hero-points {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-points li {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,245,235,0.88);
  font-size: 0.76rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

.hero-ribbon-row { display: none; }

/* ─── HERO STAGE ────────────────────────────────────────────────── */
.hero-stage {
  width: 100%;
  max-width: 700px;
  margin-top: 20px;
}

.stage-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.stage-card-main { display: none; }
.stage-card-photo { display: none; }

.stage-card-stats {
  display: flex;
  color: white;
  padding: 14px 20px;
  width: fit-content;
  margin: 0 auto;
}

.stage-card-stats article {
  text-align: center;
  padding: 6px 20px;
  border-right: 1px solid rgba(255,255,255,0.14);
}
.stage-card-stats article:last-child { border-right: none; }

.stage-card-stats strong {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--accent-lt);
}

.stage-card-stats span {
  font-size: 0.76rem;
  color: rgba(255,245,235,0.7);
  display: block;
  margin-top: 3px;
  white-space: nowrap;
}

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.button:hover { transform: translateY(-2px); }

.button.primary {
  color: white;
  background: linear-gradient(135deg, #d95a35 0%, #c84d30 48%, #b13c26 100%);
  border-color: rgba(140, 51, 35, 0.4);
  box-shadow: 0 12px 30px rgba(140, 51, 35, 0.24);
}
.button.primary:hover { box-shadow: 0 16px 38px rgba(140, 51, 35, 0.3); }

.button.secondary {
  color: #f5e8cf;
  background: linear-gradient(180deg, rgba(28, 18, 10, 0.88), rgba(18, 11, 6, 0.92));
  border-color: rgba(200, 144, 48, 0.24);
  box-shadow: var(--shadow-sm);
}

.hero .button.secondary {
  color: #f8ecd5;
  background: rgba(16, 10, 6, 0.42);
  border-color: rgba(200, 144, 48, 0.26);
}
.hero .button.secondary:hover { background: rgba(24, 14, 8, 0.62); }

/* ─── MARQUEE ────────────────────────────────────────────────────── */
.marquee-band {
  margin: 0;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(20,7,7,0.96), rgba(47,17,20,0.95), rgba(29,23,20,0.96));
  border-top: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.marquee-track {
  display: flex;
  width: max-content;
  padding: 10px 0;
  animation: marquee 46s linear infinite;
}

.marquee-track span {
  padding: 0 18px;
  color: rgba(255,245,235,0.72);
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}

.marquee-track span::after {
  content: "✦";
  margin-left: 18px;
  color: var(--accent);
  font-size: 0.52rem;
  opacity: 0.55;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── INFO STRIP ─────────────────────────────────────────────────── */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 12, 6, 0.96);
}

.info-strip article {
  padding: 22px 26px;
  border-right: 1px solid var(--line);
  position: relative;
}
.info-strip article:last-child { border-right: none; }

.info-title {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.info-strip p {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ─── MAIN CONTAINER ────────────────────────────────────────────── */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x) 80px;
}

/* ─── SECTION BLOCKS ─────────────────────────────────────────────── */
.section-block {
  padding: 34px 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(28, 18, 10, 0.98), rgba(20, 12, 6, 0.99));
  border: 1px solid rgba(200, 144, 48, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(200, 144, 48, 0.10);
  margin: 22px 0;
  position: relative;
  overflow: hidden;
}

/* warm top accent line */
.section-block::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.section-block::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  pointer-events: none;
  opacity: 0.2;
  background:
    radial-gradient(circle at 30% 30%, rgba(21, 118, 108, 0.12), rgba(21, 118, 108, 0) 52%),
    radial-gradient(circle at 68% 62%, rgba(215, 165, 74, 0.16), rgba(215, 165, 74, 0) 44%);
  filter: blur(10px);
}

/* ─── SECTION HEADINGS ──────────────────────────────────────────── */
.section-heading {
  max-width: 640px;
  margin-bottom: 22px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.35rem, 2.05vw, 1.85rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 10px;
}

.section-heading p {
  color: #dcc2a1;
  line-height: 1.55;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9rem;
}

.planning-intro {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(200, 144, 48, 0.10), rgba(26, 122, 110, 0.08));
  border: 1px solid rgba(200, 144, 48, 0.18);
}

.planning-intro-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-lt);
  margin-bottom: 6px;
}

.planning-intro p:last-child {
  color: #d7bc98;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ── Accordion niveaux ───────────────────────────────────────────────────────── */
.levels-accordion {
  margin: 0 0 18px;
  border-radius: var(--radius-md);
  background: rgba(26, 16, 8, 0.85);
  border: 1px solid rgba(200, 144, 48, 0.18);
  overflow: hidden;
}
.levels-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  color: var(--text);
}
.levels-accordion-trigger::-webkit-details-marker { display: none; }
.levels-accordion-icon { font-size: 1.2rem; line-height: 1; transition: transform 200ms ease; }
.levels-accordion[open] .levels-accordion-icon { transform: rotate(45deg); }
.levels-accordion-body {
  padding: 0 18px 16px;
  animation: fadeDown 200ms ease;
}
@keyframes fadeDown { from { opacity:0; transform:translateY(-6px) } to { opacity:1; transform:none } }

.levels-recap-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #d6bc99;
  line-height: 1.65;
  font-size: 0.94rem;
}

.levels-recap-list li + li {
  margin-top: 10px;
}

.levels-recap-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: #ccb08b;
  font-style: italic;
  border-top: 1px solid rgba(200, 144, 48, 0.18);
  padding-top: 10px;
}

/* ─── CARD LABEL ────────────────────────────────────────────────── */
.card-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

/* ─── FEATURE GRID ──────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(32, 20, 10, 0.97), rgba(20, 11, 4, 0.99)) padding-box,
    linear-gradient(135deg, #8B6914, #C87030, #5a1830, #8B6914) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.feature-card:nth-child(odd) { transform: none; }
.feature-card:nth-child(odd):hover { transform: translateY(-5px); }

.feature-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
  display: block;
  margin-bottom: 14px;
  transition: transform 220ms ease;
}
.feature-card:hover .feature-image { transform: scale(1.04); }

.feature-card h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.02rem;
  line-height: 1;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card p:last-child {
  color: #d6bc99;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── STORY PANEL ────────────────────────────────────────────────── */
.story-panel {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.story-panel article {
  flex: 1;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 20, 8, 0.97), rgba(22, 14, 5, 0.99));
}

.story-panel article .card-label { margin-bottom: 8px; }
.story-panel article p:last-child { color: #d6bc99; line-height: 1.65; font-size: 0.95rem; }

.story-quote {
  background: linear-gradient(135deg, rgba(200,144,48,0.10), rgba(26,122,110,0.10)) !important;
  border-color: rgba(200,144,48,0.18) !important;
}

/* ─── TEACHER GRID ──────────────────────────────────────────────── */
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.teacher-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(32, 20, 10, 0.97), rgba(20, 11, 4, 0.99)) padding-box,
    linear-gradient(135deg, #C89030, #D85A30, #7a2040, #C89030) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.teacher-card-accent {
  background:
    linear-gradient(180deg, rgba(36, 22, 10, 0.98), rgba(24, 13, 4, 0.99)) padding-box,
    linear-gradient(135deg, #C89030, #D85A30, #7a2040, #C89030) border-box;
}

.teacher-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
  transition: transform 220ms ease;
  border-radius: 50%;
  clip-path: circle(49%);
}
.teacher-card:hover .teacher-photo { transform: scale(1.03); }

.teacher-card h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.02rem;
  line-height: 1;
  color: var(--primary-lt);
  margin-bottom: 8px;
}

.teacher-card p:last-child {
  color: #d6bc99;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── PRICING PANEL ─────────────────────────────────────────────── */
.pricing-panel {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, rgba(30, 20, 8, 0.97), rgba(22, 14, 5, 0.99)) padding-box,
    linear-gradient(135deg, #8B6914, #C87030, #5a1830, #8B6914) border-box;
  box-shadow: var(--shadow-sm);
}

.pricing-title {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.pricing-footnote {
  color: #cfb18a;
  font-size: 0.92rem;
}

.price-table {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 8px 20px;
  align-items: center;
  font-size: 0.92rem;
  color: #d7bc98;
}

.price-table-head {
  font-weight: 700;
  color: #63c7bb;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── PRICE CARDS ────────────────────────────────────────────────── */
.pricing-panel-intro { margin-bottom: 16px; }

.price-cards {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.price-card {
  flex: 1;
  min-width: 80px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 249, 242, 0.98);
  border: 1.5px solid rgba(154, 86, 58, 0.18);
  text-align: center;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 4px 14px rgba(83, 38, 24, 0.07);
}
.price-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(83, 38, 24, 0.12); }

.price-card-best {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #C89030, #D85A30);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card-highlight {
  background: rgba(255, 245, 230, 0.99);
  border-color: rgba(200, 144, 48, 0.45);
  padding-top: 18px;
}

.price-card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8c5d16;
  font-weight: 700;
  margin-bottom: 6px;
}

.price-card-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: #3d1e0e;
  font-family: "Bricolage Grotesque", sans-serif;
  line-height: 1;
  margin-bottom: 6px;
}

.price-card-reduced {
  font-size: 0.9rem;
  font-weight: 600;
  color: #15766c;
}

/* ─── SCHEDULE LEGEND ────────────────────────────────────────────── */
.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,0.1);
}

.legend-beginner  { background: #d4f58c; }
.legend-inter     { background: #ffcf8f; }
.legend-advanced  { background: #ff9e9e; }
.legend-porto     { background: #ffe15a; }
.legend-all       { background: #ffb8dc; }

/* ─── SCHEDULE GRID ─────────────────────────────────────────────── */
.schedule-grid { gap: 16px; }
.schedule-grid-week {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.schedule-card {
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  background:
    rgba(24, 15, 7, 0.97) padding-box,
    linear-gradient(135deg, #8B6914, #C87030, #5a1830, #8B6914) border-box;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
  text-align: center;
}
.schedule-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.schedule-card header {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(200,144,48,0.18), rgba(26,122,110,0.10));
  border-bottom: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px) 0 0;
}

.schedule-card h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.28rem;
  line-height: 0.95;
  color: var(--primary-dk);
  margin: 0 0 4px;
}

.schedule-location { font-weight: 600; color: var(--primary-lt); font-size: 0.93rem; }
.schedule-address  { font-size: 0.88rem; color: #d1b188; margin-top: 2px; }
.schedule-card-body { padding: 16px 20px; }
.schedule-note { font-size: 0.92rem; color: #cfaf86; margin-bottom: 8px; line-height: 1.45; }
.schedule-note-muted { opacity: 0.7; }
.schedule-teacher { font-weight: 700; color: var(--secondary); margin-bottom: 10px; font-size: 0.92rem; }

/* ─── SLOTS ──────────────────────────────────────────────────────── */
.slots { display: grid; gap: 10px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }

.slot label {
  display: block;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(200, 144, 48, 0.16);
  background: rgba(255,255,255,0.98);
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
}

.slot label::after {
  content: "✓";
  position: absolute;
  top: 10px; right: 12px;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  color: transparent;
  font-weight: 800;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transform: scale(0.6) rotate(-8deg);
  opacity: 0;
  transition: transform 160ms ease, opacity 160ms ease;
}

.slot label:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.slot input:checked + label {
  border-color: rgba(196, 46, 16, 0.4);
  background: linear-gradient(180deg, rgba(196,46,16,0.2), rgba(120,28,10,0.15));
  box-shadow: 0 6px 20px rgba(196,46,16,0.18);
  transform: translateY(-2px);
}

.slot input:checked + label::after {
  color: #fff;
  background: rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.3);
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.slot-course { display: block; margin-top: 3px; font-weight: 700; font-size: 0.86rem; }

/* ── Option 7 : dégradé doux + ombre colorée + badge niveau ── */
.slot label.slot-course-beginner  { background: linear-gradient(145deg, #c8f050, #82c010); border-color: #a8d020; box-shadow: 0 4px 14px rgba(90,160,0,0.32); }
.slot label.slot-course-inter     { background: linear-gradient(145deg, #ffc85a, #e07800); border-color: #d49020; box-shadow: 0 4px 14px rgba(200,100,0,0.32); }
.slot label.slot-course-advanced  { background: linear-gradient(145deg, #ff8080, #c01010); border-color: #e04040; box-shadow: 0 4px 14px rgba(180,0,0,0.32); }
.slot label.slot-course-porto     { background: linear-gradient(145deg, #ffe870, #c8a000); border-color: #d8c030; box-shadow: 0 4px 14px rgba(180,140,0,0.32); }
.slot label.slot-course-all       { background: linear-gradient(145deg, #ffb8dc, #c84090); border-color: #e070b0; box-shadow: 0 4px 14px rgba(180,40,120,0.32); }
.slot label.slot-course-default   { background: linear-gradient(145deg, #70e8e4, #1a9c98); border-color: #40c0bc; box-shadow: 0 4px 14px rgba(0,140,135,0.32); }

/* Texte foncé sur fonds clairs */
.slot label.slot-course-beginner .slot-title,
.slot label.slot-course-beginner .slot-course,
.slot label.slot-course-inter .slot-title,
.slot label.slot-course-inter .slot-course,
.slot label.slot-course-porto .slot-title,
.slot label.slot-course-porto .slot-course { color: rgba(0,0,0,0.72); }

/* Texte blanc sur fonds sombres */
.slot label.slot-course-advanced .slot-title,
.slot label.slot-course-advanced .slot-course,
.slot label.slot-course-all .slot-title,
.slot label.slot-course-all .slot-course,
.slot label.slot-course-default .slot-title,
.slot label.slot-course-default .slot-course { color: #fff; }

/* ── Hover : monte ── */
.slot label.slot-course-beginner:hover,
.slot label.slot-course-inter:hover,
.slot label.slot-course-advanced:hover,
.slot label.slot-course-porto:hover,
.slot label.slot-course-all:hover,
.slot label.slot-course-default:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ── Sélectionné : assombrissement ── */
.slot input:checked + label.slot-course-beginner  { background: linear-gradient(145deg, #9fdb2f, #5b9000); border-color: #6a9e00; box-shadow: 0 2px 8px rgba(90,160,0,0.25); transform: translateY(1px); }
.slot input:checked + label.slot-course-inter     { background: linear-gradient(145deg, #e09000, #b05800); border-color: #a06000; box-shadow: 0 2px 8px rgba(180,80,0,0.25); transform: translateY(1px); }
.slot input:checked + label.slot-course-advanced  { background: linear-gradient(145deg, #d04040, #900000); border-color: #780000; box-shadow: 0 2px 8px rgba(140,0,0,0.25); transform: translateY(1px); }
.slot input:checked + label.slot-course-porto     { background: linear-gradient(145deg, #d4be00, #9a7a00); border-color: #9a8000; box-shadow: 0 2px 8px rgba(150,110,0,0.25); transform: translateY(1px); }
.slot input:checked + label.slot-course-all       { background: linear-gradient(145deg, #e070b0, #982060); border-color: #841858; box-shadow: 0 2px 8px rgba(150,20,90,0.25); transform: translateY(1px); }
.slot input:checked + label.slot-course-default   { background: linear-gradient(145deg, #30b8b4, #0a7470); border-color: #0e6060; box-shadow: 0 2px 8px rgba(0,110,105,0.25); transform: translateY(1px); }

.slot-meta {
  display: inline-block;
  background: rgba(255,255,255,0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(0,0,0,0.65);
  padding: 3px 9px;
  margin-top: 7px;
  letter-spacing: 0.02em;
}

.slot label.slot-disabled {
  cursor: default;
  background: rgba(50, 37, 24, 0.72);
  border-color: rgba(200,144,48,0.10);
  color: #c5a47d;
}
.slot label.slot-disabled::after { display: none; }
.slot label.slot-disabled:hover { transform: none; box-shadow: var(--shadow-sm); }
.slot input:disabled + label .slot-meta { color: #c5a47d; }

/* ─── ENROLLMENT ────────────────────────────────────────────────── */
.integration-banner {
  margin-top: 14px;
  padding: 12px 16px;
  border: 1.5px dashed rgba(200,144,48,0.26);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(200,144,48,0.08), rgba(26,122,110,0.07));
}
.integration-banner p { color: #dbc09c; font-size: 0.96rem; line-height: 1.6; }
.integration-banner a,
.form-assistance a,
.rgpd-note a {
  color: var(--primary-lt);
  font-weight: 700;
}

.enrollment-layout {
  display: flex;
  gap: 24px;
  margin-top: 18px;
  align-items: flex-start;
}

.quick-steps {
  margin: 2px 0 0;
  padding-left: 18px;
  color: #d8bd98;
  font-size: 0.92rem;
  line-height: 1.55;
}

.quick-steps li + li {
  margin-top: 4px;
}

.summary-card {
  width: min(290px, 100%);
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 20, 8, 0.98), rgba(21, 13, 6, 0.99));
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 80px;
}

.summary-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.summary-total {
  padding: 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(200,144,48,0.18), rgba(212,85,58,0.10));
  margin-bottom: 10px;
  border: 1px solid rgba(200,144,48,0.18);
}

.summary-total span { display: block; font-size: 0.86rem; color: #d1b086; }
.summary-total strong {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.2rem;
  color: var(--primary-lt);
  line-height: 1.1;
}

.summary-discount {
  margin: 8px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #6fc8bb;
}

.summary-count { font-size: 0.86rem; color: #d1b086; }
.summary-list  { margin: 12px 0 0; padding-left: 16px; font-size: 0.92rem; color: #dcc2a0; line-height: 1.7; }

.payment-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(25, 16, 8, 0.98), rgba(18, 11, 5, 0.99));
  text-align: center;
}
.payment-card .card-label { margin-bottom: 6px; }
.payment-card p { font-size: 0.92rem; color: #dbc09c; line-height: 1.55; }
.payment-button { width: 100%; margin-top: 10px; }
.payment-note {
  margin-top: 10px;
  font-size: 0.84rem;
  color: #d4b893;
}
.payment-button-split {
  background: linear-gradient(135deg, rgba(200,144,48,0.26), rgba(150,104,20,0.18));
  border-color: rgba(200,144,48,0.42);
}

.signup-form {
  flex: 1;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28, 18, 10, 0.98), rgba(19, 12, 6, 0.99));
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.signup-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.94rem;
  color: #f2e3ca;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  border: 1.5px solid rgba(200,144,48,0.16);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  font: inherit;
  font-size: 1rem;
  background: rgba(12, 8, 6, 0.88);
  color: #f2e6d2;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.birth-selects {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: 8px;
}
.birth-selects select { width: 100%; }

.submit-button:disabled { opacity: 0.7; cursor: not-allowed; }

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200,144,48,0.12);
  background: rgba(18, 11, 6, 0.98);
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 14px;
  font-weight: 400;
  color: #dcc2a0;
}
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; }

.form-assistance {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(200,144,48,0.10), rgba(18,11,6,0.25));
  border: 1px solid rgba(200,144,48,0.18);
}

.form-assistance-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-lt);
  margin-bottom: 4px;
}

.form-assistance p:last-child,
.rgpd-note {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #dcc2a0;
}

.promo-note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(26,122,110,0.12), rgba(18,11,6,0.18));
  border: 1px solid rgba(26,122,110,0.22);
  font-size: 0.9rem;
  line-height: 1.55;
  color: #d8c6b0;
}

.rgpd-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(180, 90, 50, 0.2);
}

.submit-button { width: 100%; margin-top: 20px; }

/* ── Icônes sociales nav ─────────────────────────────────────────────────────── */
.nav-social {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,0.2);
}
.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: color 140ms ease, transform 140ms ease;
  padding: 4px;
}
.nav-social-link:hover { color: #fff; transform: scale(1.15); }

/* ── Section témoignages ─────────────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 18px;
}
.review-card {
  background: linear-gradient(180deg, rgba(30, 20, 8, 0.97), rgba(21, 13, 6, 0.99));
  border: 1px solid var(--border);
  border-radius: var(--radius-card, 16px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.review-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }
.review-text {
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  flex: 1;
}
.review-author { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.review-name { font-weight: 700; font-size: 0.92rem; color: var(--text); }
.review-source { font-size: 0.8rem; color: var(--muted, #888); }

/* ── Section événements ──────────────────────────────────────────────────────── */
.events-intro {
  margin-top: 14px;
  color: rgba(248, 239, 231, 0.86);
  max-width: 760px;
  line-height: 1.7;
}

/* ── EVENTS FEED : liste agenda ── */
.events-feed {
  margin-top: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 144, 48, 0.18);
  overflow: hidden;
}

.event-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(200, 144, 48, 0.12);
  text-decoration: none;
  transition: background 140ms ease;
  color: inherit;
}
.event-row:is(a):hover { background: rgba(200, 144, 48, 0.07); }
.event-row-last { border-bottom: none; }

.event-row-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
  flex-shrink: 0;
}
.event-row-day {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-lt);
}
.event-row-month {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(220, 194, 161, 0.7);
  margin-top: 2px;
}

.event-row-divider {
  width: 1px;
  height: 32px;
  background: rgba(200, 144, 48, 0.22);
  margin: 0 16px;
  flex-shrink: 0;
}

.event-row-body { flex: 1; min-width: 0; }
.event-row-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-row-meta {
  font-size: 0.8rem;
  color: rgba(220, 194, 161, 0.75);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-row-arrow {
  flex-shrink: 0;
  margin-left: 12px;
  color: rgba(200, 144, 48, 0.5);
}

.event-row-empty {
  padding: 20px 18px;
  color: rgba(220, 194, 161, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.events-banner {
  margin-top: 18px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(63, 25, 24, 0.96) 0%, rgba(96, 46, 40, 0.94) 48%, rgba(133, 92, 67, 0.9) 100%);
  border: 1px solid rgba(255, 226, 205, 0.12);
  box-shadow: 0 22px 44px rgba(49, 16, 12, 0.16);
  border-radius: var(--radius-card, 16px);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: #fff;
}
.events-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 207, 138, 0.12), rgba(242, 207, 138, 0) 24%),
    radial-gradient(circle at 82% 78%, rgba(21, 118, 108, 0.1), rgba(21, 118, 108, 0) 22%);
}
.events-banner-text p { font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; }
.events-banner-sub { font-size: 0.88rem; opacity: 0.8; font-weight: 400 !important; color: rgba(255,245,238,0.8); }
.events-banner .button { white-space: nowrap; flex-shrink: 0; }
.events-banner .button.primary {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.14);
  box-shadow: none;
  color: #fff7f1;
}
.events-banner .button.primary:hover {
  background: rgba(255,255,255,0.18);
  box-shadow: none;
}

.home-cta-block {
  text-align: center;
  padding-top: 38px;
  padding-bottom: 38px;
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 165, 74, 0.12), rgba(215, 165, 74, 0) 34%),
    linear-gradient(180deg, rgba(27, 17, 9, 0.98), rgba(18, 11, 6, 0.99));
}

.home-cta-meta {
  margin-bottom: 28px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.home-cta-button {
  font-size: 1.02rem;
  padding: 14px 36px;
}

/* ── Page header (pages non-hero) ────────────────────────────────────────────── */
.page-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.page-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px var(--pad-x);
}

.page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #f3e4ca !important;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(200, 144, 48, 0.24);
  box-shadow: var(--shadow-sm);
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.page-back-link:visited,
.page-back-link:active,
.page-back-link:focus {
  color: #f3e4ca !important;
}

.page-back-link span[aria-hidden="true"] {
  font-size: 1.2rem;
  line-height: 1;
}

.page-back-link:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.14);
  border-color: rgba(232, 181, 90, 0.42);
}

.page-header-logo img {
  height: 36px;
  width: auto;
  display: block;
}
.page-header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav-link-active {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}

/* ── Reviews carousel ───────────────────────────────────────────────────────── */
.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(90deg, rgba(24, 15, 7, 0.98), rgba(17, 10, 5, 0.99));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px var(--pad-x);
  min-height: 58px;
}
.reviews-carousel-inner {
  flex: 1;
  position: relative;
  min-height: 24px;
}
.reviews-carousel-slide {
  display: none;
  align-items: center;
  gap: 10px;
  animation: reviewFadeIn 0.5s ease;
}
.reviews-carousel-slide.active { display: flex; }
@keyframes reviewFadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reviews-stars { color: var(--primary-lt); font-size: 0.75rem; letter-spacing: 1px; flex-shrink: 0; }
.reviews-quote { font-size: 0.82rem; color: #d7bc98; font-style: italic; margin: 0; }
.reviews-name  { font-size: 0.78rem; font-weight: 600; color: var(--text); white-space: nowrap; flex-shrink: 0; }
.reviews-carousel-cta {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}
.reviews-carousel-cta:hover { text-decoration: underline; }

/* ── Badge essai gratuit (hero) ─────────────────────────────────────────────── */
.hero-essai-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(29, 158, 117, 0.18);
  border: 1px solid rgba(29, 158, 117, 0.45);
  color: #5DCAA5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  cursor: default;
  user-select: none;
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.site-footer {
  background:
    radial-gradient(circle at 15% 20%, rgba(215, 165, 74, 0.12), rgba(215, 165, 74, 0) 20%),
    linear-gradient(180deg, #120907 0%, #160a08 100%);
  color: rgba(255,255,255,0.75);
  padding: 48px var(--pad-x, 24px) 32px;
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--max-w, 1160px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: auto auto;
  gap: 20px 40px;
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-brand strong { color: #fff; font-size: 1rem; }
.footer-brand span { font-size: 0.85rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.875rem; transition: color 140ms; }
.footer-links a:hover { color: #fff; }
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social a { color: rgba(255,255,255,0.6); transition: color 140ms, transform 140ms; display: flex; }
.footer-social a:hover { color: #fff; transform: scale(1.15); }
.footer-contact {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.88rem;
  flex-wrap: wrap;
}
.footer-contact a {
  color: var(--primary-lt);
  text-decoration: none;
  font-weight: 600;
}
.footer-contact a:hover { text-decoration: underline; }
.footer-contact span { color: rgba(244, 225, 198, 0.4); }
.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: rgba(244, 225, 198, 0.56);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
  margin-top: 4px;
}

.form-note { margin: 14px 0 0; font-size: 0.95rem; color: #444; background: #f0f7f4; border-left: 4px solid #1b7a52; border-radius: 6px; padding: 12px 16px; }
.form-note.is-success { color: #1b7a52; background: #e6f4ee; border-left-color: #1b7a52; font-weight: 600; }
.form-note.is-error   { color: var(--primary-dk); background: #fff0ee; border-left-color: var(--primary-dk); font-weight: 600; }

/* ─── REVEAL ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ─── REDIRECT ───────────────────────────────────────────────────── */
.redirect-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.redirect-card {
  width: min(560px, 100%);
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(28, 18, 10, 0.98), rgba(20, 12, 6, 0.99));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pricing-panel   { flex-direction: column; }
  .enrollment-layout { flex-direction: column; }
  .summary-card    { position: static; width: 100%; }
  .story-panel     { flex-direction: column; }
  .info-strip      { grid-template-columns: 1fr; }
  .info-strip article { border-right: none; border-bottom: 1px solid var(--line); }
  .info-strip article:last-child { border-bottom: none; }
  .topbar { padding-top: 16px; }
  .hero-logo-overlay img { width: 188px; }
  .hero-grid { padding-bottom: 22px; }
  .hero-copy { max-width: 620px; }
  .feature-grid,
  .teacher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-panel-detailed { gap: 18px; }
}

/* ── Hamburger (caché sur desktop) ─────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* ── Menu mobile overlay ────────────────────────────────────────────────────── */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(15, 10, 5, 0.96);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  -webkit-overflow-scrolling: touch;
}
.nav-mobile-overlay.is-open { display: flex; }

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-mobile-link {
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 24px;
  border-radius: 12px;
  transition: background 140ms ease;
}
.nav-mobile-link:hover { background: rgba(255,255,255,0.1); }

@media (max-width: 700px) {
  :root { --pad-x: 16px; }

  .topbar {
    justify-content: flex-end;
    padding-top: 14px;
  }

  .nav-links { display: none; }

  .page-header-nav { display: none; }

  .nav-hamburger { display: flex; }

  .page-back-link {
    padding: 8px 12px;
    font-size: 0.88rem;
    gap: 6px;
  }

  .hero-home {
    min-height: clamp(286px, 38svh, 360px);
    padding-bottom: 0;
    background:
      linear-gradient(180deg,
        rgba(0,0,0,0.16) 0%,
        rgba(0,0,0,0.1) 20%,
        rgba(58,22,17,0.42) 60%,
        rgba(20,8,10,0.78) 100%),
      url("./Hero-cover-candela.PNG") center center / cover no-repeat;
  }

  .hero-video {
    background: #120408 !important;
  }

  .hero-logo-overlay {
    top: 12px;
    left: 16px;
  }

  .hero-logo-overlay img { width: 180px; }

  .hero-grid {
    align-items: stretch;
    justify-content: flex-end;
    padding: 96px var(--pad-x) 12px;
  }

  .hero-copy {
    max-width: none;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 12px 0 10px;
    box-shadow: none;
    backdrop-filter: none;
  }

  .hero-copy .section-tag {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 8px;
    font-size: 0.62rem;
    padding: 4px 10px;
  }

  .hero-copy h1 {
    font-size: clamp(1.06rem, 5.4vw, 1.46rem);
    line-height: 0.97;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    max-width: 12ch;
  }

  .hero-text {
    font-size: 0.73rem;
    max-width: none;
    margin: 0 0 6px;
    line-height: 1.46;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-bottom: 6px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 44px;
    font-size: 0.88rem;
  }

  .hero-proof {
    justify-content: flex-start;
    gap: 6px;
    margin-bottom: 8px;
  }

  .hero-proof span {
    font-size: 0.62rem;
    padding: 4px 8px;
  }

  .hero-social-row {
    justify-content: flex-start;
    gap: 6px;
    margin-bottom: 8px;
  }

  .hero-social-link {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .hero-mood {
    margin: 2px 0 0;
    max-width: none;
    font-size: 0.66rem;
    line-height: 1.45;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: flex-start;
    gap: 6px;
  }

  .hero-points li {
    font-size: 0.6rem;
    padding: 4px 7px;
    width: 100%;
  }

  .marquee-band {
    border-bottom-color: rgba(255,255,255,0.04);
  }

  .marquee-track {
    padding: 7px 0;
    animation-duration: 60s;
  }

  .marquee-track span {
    font-size: 0.68rem;
    padding: 0 12px;
    opacity: 0.88;
  }

  .marquee-track span::after {
    margin-left: 12px;
    font-size: 0.46rem;
  }

  .section-block { padding: 22px 14px; }
  .section-heading { margin-bottom: 20px; }
  .section-heading h3 {
    font-size: clamp(1.08rem, 4.8vw, 1.42rem);
    line-height: 1;
  }
  .section-heading p { font-size: 0.82rem; }

  .info-strip article {
    padding: 14px 12px;
  }

  .info-strip p {
    font-size: 0.88rem;
  }

  .planning-intro {
    padding: 12px;
    margin-bottom: 16px;
  }

  .levels-accordion { margin-bottom: 12px; }
  .levels-accordion-trigger { padding: 12px 14px; font-size: 0.9rem; }
  .levels-accordion-body { padding: 0 14px 14px; }

  .levels-recap-list {
    font-size: 0.84rem;
    padding-left: 16px;
  }

  .feature-grid,
  .teacher-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-image,
  .teacher-photo {
    aspect-ratio: 4 / 3;
  }

  .pricing-panel {
    padding: 18px;
    gap: 16px;
  }

  .price-table {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .schedule-grid-week {
    gap: 12px;
  }

  .schedule-card header,
  .schedule-card-body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .integration-banner,
  .signup-form   { padding: 16px; }
  .form-grid     { grid-template-columns: 1fr; }
  .summary-card { padding: 18px; }
  .summary-total strong { font-size: 1.8rem; }
  .form-assistance,
  .rgpd-note { font-size: 0.88rem; }
  .quick-steps {
    font-size: 0.84rem;
    padding-left: 16px;
  }

  main { padding-bottom: 48px; }
}

/* ─── PLANNING HIGHLIGHT ────────────────────────────────────────── */
.planning-intro-highlight {
  background:
    linear-gradient(135deg, rgba(30, 20, 8, 0.98) 0%, rgba(18, 11, 6, 0.99) 100%);
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid rgba(200, 144, 48, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.planning-intro-highlight .planning-intro-title {
  color: var(--primary-dk);
}

.planning-intro-highlight p {
  color: var(--text-soft);
}

body.planning-page {
  background:
    radial-gradient(circle at 12% 14%, rgba(215, 165, 74, 0.10) 0%, rgba(215, 165, 74, 0) 26%),
    radial-gradient(circle at 88% 10%, rgba(21, 118, 108, 0.06) 0%, rgba(21, 118, 108, 0) 20%),
    linear-gradient(180deg, #f8f1e7 0%, #f4ebdf 100%);
  color: #20100b;
}

body.planning-page .section-block {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,248,240,0.96));
  border: 1px solid rgba(154, 86, 58, 0.14);
  box-shadow: 0 18px 42px rgba(83, 38, 24, 0.10);
}

body.planning-page .section-block::after {
  opacity: 0.14;
}

body.planning-page .section-block .section-tag {
  background: rgba(200, 144, 48, 0.12);
  border-color: rgba(200, 144, 48, 0.24);
  color: #8c5d16;
}

body.planning-page .page-back-link {
  color: #5a3928 !important;
  background: rgba(255,255,255,0.96);
  border-color: rgba(154, 86, 58, 0.18);
  box-shadow: 0 10px 24px rgba(83, 38, 24, 0.10);
}

body.planning-page .page-back-link:hover {
  background: #ffffff;
  border-color: rgba(184, 90, 60, 0.34);
}

body.planning-page .page-back-link:visited,
body.planning-page .page-back-link:active,
body.planning-page .page-back-link:focus {
  color: #5a3928 !important;
}

body.planning-page .section-heading h1,
body.planning-page .section-heading h2,
body.planning-page .section-heading h3,
body.planning-page .section-heading p,
body.planning-page .pricing-footnote,
body.planning-page .levels-recap-list,
body.planning-page .levels-recap-note,
body.planning-page .quick-steps,
body.planning-page .summary-list,
body.planning-page .payment-note,
body.planning-page .form-assistance p:last-child,
body.planning-page .rgpd-note,
body.planning-page .promo-note,
body.planning-page .integration-banner p {
  color: #5f4132;
}

body.planning-page .section-heading h1 {
  color: #2b160e !important;
}

body.planning-page .planning-intro,
body.planning-page .planning-intro-highlight {
  background: linear-gradient(135deg, rgba(255, 247, 241, 0.98), rgba(255, 239, 229, 0.94));
  border: 1px solid rgba(203, 137, 101, 0.18);
  box-shadow: 0 10px 24px rgba(120, 58, 32, 0.08);
}

body.planning-page .planning-intro-title,
body.planning-page .planning-intro-highlight .planning-intro-title {
  color: #8c3323;
}

body.planning-page .planning-intro p,
body.planning-page .planning-intro-highlight p {
  color: #4d3326;
}

body.planning-page .summary-card,
body.planning-page .payment-card,
body.planning-page .signup-form,
body.planning-page .levels-accordion,
body.planning-page .integration-banner,
body.planning-page .form-assistance,
body.planning-page .promo-note {
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(255,247,239,0.97));
  border-color: rgba(154, 86, 58, 0.14);
  box-shadow: 0 12px 28px rgba(83, 38, 24, 0.08);
}

body.planning-page .pricing-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.99), rgba(255,247,239,0.97)) padding-box,
    linear-gradient(135deg, #C89030, #D4553A, #1A7A6E) border-box;
  border: 2px solid transparent;
  box-shadow: 0 12px 28px rgba(83, 38, 24, 0.08);
}

body.planning-page .price-card {
  background: rgba(255, 243, 228, 0.95);
  border-color: rgba(154, 86, 58, 0.35);
  box-shadow: 0 2px 8px rgba(83, 38, 24, 0.10);
}

body.planning-page .price-card-highlight {
  background: rgba(255, 232, 200, 0.98);
  border-color: rgba(200, 130, 48, 0.55);
}

body.planning-page .levels-accordion-trigger,
body.planning-page .summary-label,
body.planning-page .pricing-title,
body.planning-page .form-assistance-title {
  color: #8c5d16;
}

body.planning-page .price-table,
body.planning-page .summary-count {
  color: #6a5035;
}

body.planning-page .price-table-head {
  color: #15766c;
}

body.planning-page .summary-total {
  background: linear-gradient(135deg, rgba(215,165,74,0.12), rgba(217,90,53,0.08));
  border: 1px solid rgba(200,144,48,0.18);
}

body.planning-page .summary-total span,
body.planning-page .payment-card p {
  color: #6a5035;
}

body.planning-page .summary-total strong {
  color: #8c3323;
}

body.planning-page .summary-discount {
  color: #15766c;
}

body.planning-page .integration-banner {
  border-style: dashed;
}

body.planning-page .integration-banner a,
body.planning-page .form-assistance a,
body.planning-page .rgpd-note a {
  color: #8c3323;
}

body.planning-page .signup-form label {
  color: #20100b;
}

body.planning-page .signup-form input,
body.planning-page .signup-form select,
body.planning-page .signup-form textarea {
  background: #fffdfa;
  color: #20100b;
  border: 1.5px solid rgba(154, 86, 58, 0.16);
}

body.planning-page .signup-form input:focus,
body.planning-page .signup-form select:focus,
body.planning-page .signup-form textarea:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(200,144,48,0.12);
}

body.planning-page .schedule-card {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #C89030, #D4553A, #1A7A6E) border-box;
  border: 2px solid transparent;
  box-shadow: 0 10px 24px rgba(83, 38, 24, 0.08);
}

body.planning-page .schedule-card header {
  background: linear-gradient(135deg, rgba(245,166,35,0.12), rgba(255,255,255,0.72));
}

body.planning-page .schedule-card h4 {
  color: #8c3323;
}

body.planning-page .schedule-location {
  color: #8c3323;
}

body.planning-page .schedule-address,
body.planning-page .schedule-note {
  color: #6a5035;
}

body.planning-page .schedule-teacher {
  color: #6f3b22;
  font-weight: 700;
}

body.planning-page .slot label.slot-disabled {
  background: linear-gradient(180deg, rgba(248,241,233,0.98), rgba(238,227,214,0.96));
  border-color: rgba(167, 119, 80, 0.22);
  color: #5f4132;
}

body.planning-page .slot input:disabled + label .slot-meta {
  color: #6c4b37;
}

body.planning-page .slot-event-initiation.slot-disabled {
  background: linear-gradient(180deg, #f6e3b3, #efd38a);
  border-color: #d1a74d;
  color: #5a3c14;
}

body.planning-page .slot-event-initiation.slot-disabled .slot-title,
body.planning-page .slot-event-initiation.slot-disabled .slot-course,
body.planning-page .slot-event-initiation.slot-disabled .slot-meta {
  color: #5a3c14;
}

body.planning-page .slot-event-soiree.slot-disabled {
  background: linear-gradient(180deg, #edd3bb, #ddb28d);
  border-color: #b7744f;
  color: #4f2f22;
}

body.planning-page .slot-event-soiree.slot-disabled .slot-title,
body.planning-page .slot-event-soiree.slot-disabled .slot-course,
body.planning-page .slot-event-soiree.slot-disabled .slot-meta {
  color: #4f2f22;
}

@media (max-width: 700px) {
  .events-banner { padding: 28px 24px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .events-feed { grid-template-columns: 1fr; }
  .event-card { min-height: 230px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-social { justify-content: flex-start; }

  /* Grilles 2×2 sur mobile */
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .feature-card { padding: 14px 12px; }
  .feature-image { height: 100px; }
  .teacher-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .teacher-photo { height: 120px; }

  /* Témoignages : carrousel horizontal */
  .reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review-card {
    min-width: 80vw;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}
