/* ==========================================================================
   QUÉ RICO MAMBO — RENNES | MODERN MOTION DESIGN & BRAND SYSTEM
   Exact Brand Palette from quericomambo.fr:
   - Gold / Champagne Mambo: #D9A673 / rgb(217, 166, 115)
   - Slate Steel Blue-Grey:  #495867 / rgb(73, 88, 103)
   - Deep Slate Section:     #374151 / rgb(55, 65, 81)
   - Dark Slate Hover:       #303F4E / rgb(48, 63, 78)
   - Obsidian Black:         #0D0E10 / #18181A / #1D1E20
   - Pure White & Light:     #FFFFFF / #F1F1F1
   Typography:
   - Display / Headings:     'Oswald', sans-serif
   - Body / UI:              'DM Sans', sans-serif
   ========================================================================== */

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500 700;
  font-display: optional;
  src: url('/fonts/oswald-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Oswald Fallback';
  src: local('Arial');
  size-adjust: 86%;
  ascent-override: 105%;
  descent-override: 28%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('/fonts/dm-sans-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url('/fonts/dm-sans-italic-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Arial');
  size-adjust: 102%;
  ascent-override: 95%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  /* Core Brand Colors (Strictly preserved from quericomambo.fr) */
  --gold: #D9A673;
  --gold-rgb: 217, 166, 115;
  --gold-light: #E8C19A;
  --gold-dark: #B8834E;
  --gold-glow: rgba(217, 166, 115, 0.35);
  --gold-Soft: rgba(217, 166, 115, 0.12);

  --slate: #495867;
  --slate-rgb: 73, 88, 103;
  --slate-deep: #374151;
  --slate-hover: #303F4E;
  --slate-light: #647789;

  --black: #0A0B0D;
  --dark: #18181A;
  --dark-elevated: #1D1E20;
  --dark-card: #23262B;

  --white: #FFFFFF;
  --off-white: #F5F4F0;
  --gray-light: #F1F1F1;
  --gray-muted: #9CA3AF;
  --text-dark: #1A1A1A;

  /* Typography */
  --font-display: 'Oswald', 'Oswald Fallback', sans-serif;
  --font-body: 'DM Sans', 'DM Sans Fallback', sans-serif;

  /* Layout & Motion */
  --container: 1260px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 12px 32px rgba(217, 166, 115, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--slate);
  border-radius: 5px;
  border: 2px solid var(--black);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ==========================================================================
   AMBIENT CURSOR GLOW & SCROLL PROGRESS BAR
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--white), var(--gold));
  z-index: 1100;
  box-shadow: 0 0 12px var(--gold);
  transition: width 0.08s linear;
}

.cursor-spotlight {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 166, 115, 0.09) 0%, rgba(73, 88, 103, 0.04) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR (SOIRÉE / RENTREE)
   ========================================================================== */
.top-banner {
  position: relative;
  z-index: 1001;
  background: linear-gradient(90deg, #18181A 0%, var(--slate-hover) 50%, #18181A 100%);
  border-bottom: 1px solid rgba(217, 166, 115, 0.3);
  padding: 9px 16px;
  font-size: 0.875rem;
}

.top-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: pulseRing 1.8s infinite var(--ease-out-expo);
}

@keyframes pulseRing {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}

.top-banner__badge {
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
}

.top-banner__link {
  color: var(--gold-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid rgba(217, 166, 115, 0.5);
  transition: color 0.2s ease, transform 0.2s ease;
}
.top-banner__link:hover {
  color: var(--white);
  transform: translateX(3px);
}

/* ==========================================================================
   STICKY GLASSMORPHISM HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 11, 13, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s var(--ease-out-expo);
}

.site-header.is-scrolled {
  background: rgba(10, 11, 13, 0.94);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(217, 166, 115, 0.25);
}

.nav-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo__img {
  width: 132px;
  height: 56px;
  object-fit: cover;
  object-position: center 43%;
  transition: transform 0.4s var(--ease-spring);
}

.brand-logo:hover .brand-logo__img {
  transform: scale(1.04);
}

.brand-logo__text {
  display: flex;
  flex-direction: column;
}

.brand-logo__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--white);
}

.brand-logo__title span {
  color: var(--gold);
}

.brand-logo__sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-link {
  position: relative;
  padding: 8px 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-pill);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(217, 166, 115, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Rhythm Beat Visualizer Button in Navbar */
.clave-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(73, 88, 103, 0.35);
  border: 1px solid rgba(217, 166, 115, 0.3);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.25s ease;
}
.clave-toggle:hover {
  background: rgba(217, 166, 115, 0.18);
  border-color: var(--gold);
}
.equalizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.equalizer span {
  width: 3px;
  height: 14px;
  background: var(--gold);
  border-radius: 2px;
  transform-origin: bottom center;
  animation: eqBounce 0.9s infinite ease-in-out alternate;
}
.equalizer span:nth-child(1) { animation-delay: 0.1s; }
.equalizer span:nth-child(2) { animation-delay: 0.3s; }
.equalizer span:nth-child(3) { animation-delay: 0.2s; }
.equalizer span:nth-child(4) { animation-delay: 0.4s; }

.clave-toggle.is-paused .equalizer span {
  animation: none;
  transform: scaleY(0.3);
}

@keyframes eqBounce {
  0% { transform: scaleY(0.28); }
  100% { transform: scaleY(1); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(217, 166, 115, 0.4);
}

.btn--slate {
  background: var(--slate);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn--slate:hover {
  background: var(--slate-hover);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(217, 166, 115, 0.45);
  backdrop-filter: blur(8px);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-3px);
}

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

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(217, 166, 115, 0.3);
  color: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--gold);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--gold);
}

/* ==========================================================================
   HERO SECTION — CINEMATIC & RHYTHMIC MOTION DESIGN
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100svh - 110px);
  display: flex;
  align-items: center;
  padding: 64px 24px 140px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.06);
  animation: heroZoom 18s ease-in-out infinite alternate;
  filter: saturate(1.08) contrast(1.05);
}

@keyframes heroZoom {
  0% { transform: scale(1.03); }
  100% { transform: scale(1.12); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(217, 166, 115, 0.22) 0%, transparent 50%),
    linear-gradient(105deg, rgba(10, 11, 13, 0.95) 0%, rgba(10, 11, 13, 0.82) 52%, rgba(48, 63, 78, 0.68) 100%),
    linear-gradient(0deg, var(--black) 0%, transparent 25%);
}

/* Floating Ambient Orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  pointer-events: none;
  z-index: 1;
}
.hero__orb--gold {
  width: 380px;
  height: 380px;
  background: rgba(217, 166, 115, 0.22);
  top: 10%;
  right: 12%;
  animation: floatOrb 9s ease-in-out infinite alternate;
}
.hero__orb--slate {
  width: 440px;
  height: 440px;
  background: rgba(73, 88, 103, 0.35);
  bottom: 5%;
  left: 5%;
  animation: floatOrb 12s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, -30px) scale(1.12); }
}

.hero__container {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(217, 166, 115, 0.14);
  border: 1px solid rgba(217, 166, 115, 0.4);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 8.2vw, 5.1rem);
  font-weight: 600;
  line-height: 1.04;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.hero__title .highlight-gold {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.hero__title .highlight-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}

.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
  margin-bottom: 32px;
}

.hero__lead strong {
  color: var(--gold-light);
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 42px;
}

/* Interactive On2 Rhythm Counter Bar */
.mambo-beat-bar {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: rgba(24, 24, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  margin-bottom: 32px;
}

.mambo-beat-bar__label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.mambo-steps {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mambo-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s var(--ease-spring);
}

.mambo-step.is-break {
  border-color: rgba(217, 166, 115, 0.5);
  color: var(--gold-light);
}

.mambo-step.is-active {
  background: var(--gold);
  color: var(--black);
  transform: scale(1.22);
  box-shadow: 0 0 16px var(--gold);
}

.mambo-step-pause {
  color: var(--gray-muted);
  font-size: 0.75rem;
  padding: 0 2px;
}

/* Hero Stats Grid */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
}

.stat-item__label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Hero Right Visual Showcase Card */
.hero__showcase {
  position: relative;
  perspective: 1200px;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(217, 166, 115, 0.35);
  background: var(--dark-card);
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.showcase-card__img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.showcase-card:hover .showcase-card__img {
  transform: scale(1.05);
}

.showcase-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(10,11,13,0.4) 55%, rgba(10,11,13,0.92) 100%);
}

.showcase-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(217, 166, 115, 0.92);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(217, 166, 115, 0.22);
  transition: all 0.35s var(--ease-spring);
}

.showcase-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--white);
  box-shadow: 0 0 0 18px rgba(217, 166, 115, 0.35);
}

.showcase-card__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  z-index: 2;
}

.showcase-badge-floating {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(217, 166, 115, 0.4);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   INFINITE KINETIC MARQUEE BANNER (GOLD #D9A673)
   ========================================================================== */
.marquee-band {
  background: var(--gold);
  color: var(--black);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.marquee-star {
  color: var(--slate-hover);
  font-size: 1rem;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   COMMON SECTION STYLING & SCROLL REVEAL MOTION
   ========================================================================== */
.section {
  position: relative;
  padding: 100px 24px;
  z-index: 2;
}

.section--slate {
  background: linear-gradient(180deg, var(--slate-deep) 0%, #2b3543 100%);
}

.section--gold {
  background: var(--gold);
  color: var(--text-dark);
}

.section--light {
  background: var(--off-white);
  color: var(--text-dark);
}

.section--dark {
  background: var(--dark);
}

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

.section-header {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(217, 166, 115, 0.15);
  color: var(--gold);
  border: 1px solid rgba(217, 166, 115, 0.35);
  margin-bottom: 16px;
}

.section--gold .section-tag {
  background: var(--black);
  color: var(--gold);
  border-color: var(--black);
}

.section--light .section-tag {
  background: var(--slate);
  color: var(--white);
  border-color: var(--slate);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.08rem;
  opacity: 0.85;
}

/* Reveal Animations on Scroll */
.reveal {
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}
html.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(36px);
}
html.js .reveal.is-visible {
  opacity: 1;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   LES DIFFÉRENTS COURS — INTERACTIVE LEVEL FILTER & CARDS
   ========================================================================== */
.level-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.level-tab {
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s var(--ease-out-expo);
}

.level-tab:hover {
  border-color: var(--gold);
  color: var(--white);
}

.level-tab.is-active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 28px;
}

.course-card {
  background: linear-gradient(160deg, rgba(35, 38, 43, 0.95) 0%, rgba(24, 24, 26, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: opacity 0.75s var(--ease-out-expo), transform 0.4s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.course-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 28px rgba(217, 166, 115, 0.18);
}

.course-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.course-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out-expo);
}

.course-card:hover .course-card__img {
  transform: scale(1.08);
}

.course-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
}

.course-card__duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(10, 11, 13, 0.85);
  color: var(--white);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.course-card__body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.course-card__desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.course-card__points {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course-card__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
}

.course-card__points li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.85rem;
}

.course-card__footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.course-card__loc {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 500;
}

/* Interactive Level Finder Quiz Box */
.level-helper {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-hover) 100%);
  border: 1px solid rgba(217, 166, 115, 0.4);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.level-helper__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

/* ==========================================================================
   QUI SOMMES-NOUS ? & LES PROFESSEURS (ÉRIC & CLÉMENTINE)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}

.about-visual {
  position: relative;
}

.about-visual__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(217, 166, 115, 0.45);
  box-shadow: var(--shadow-soft);
}

.about-visual__main img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-visual__secondary {
  position: absolute;
  bottom: -28px;
  right: -24px;
  width: 230px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.about-visual__secondary img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.about-badge-year {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--gold);
  color: var(--black);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.about-badge-year strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.about-badge-year span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.teachers-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.teacher-card {
  background: rgba(10, 11, 13, 0.45);
  border: 1px solid rgba(217, 166, 115, 0.28);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.teacher-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.teacher-card__role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}

.teacher-card__bio {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

/* 3 Original Pillars from quericomambo.fr */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background: rgba(10, 11, 13, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  text-align: center;
  transition: all 0.35s var(--ease-out-expo);
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  background: rgba(10, 11, 13, 0.78);
}

.pillar-card__icon-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(217, 166, 115, 0.12);
  border: 1px solid rgba(217, 166, 115, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: transform 0.4s var(--ease-spring);
}

.pillar-card:hover .pillar-card__icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background: rgba(217, 166, 115, 0.24);
}

.pillar-card__icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pillar-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.pillar-card__text {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   PLANNING & LIEUX DES COURS À RENNES
   ========================================================================== */
.planning-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.schedule-days {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.day-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: all 0.3s ease;
}

.day-card:hover {
  border-color: var(--gold);
  transform: translateX(6px);
}

.day-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.day-card__day {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
}

.day-card__venue {
  font-size: 0.83rem;
  color: var(--white);
  background: var(--slate);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

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

.slot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.slot-row__time {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--gold-light);
  font-size: 0.95rem;
}

.slot-row__course {
  font-weight: 600;
  color: var(--white);
  flex: 1 1 140px;
}

.slot-row__tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(217, 166, 115, 0.15);
  color: var(--gold-light);
}

.planning-board {
  background: var(--dark-card);
  border: 1px solid rgba(217, 166, 115, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.planning-board__img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
}

.planning-board__img-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  transition: transform 0.5s var(--ease-out-expo);
}

.planning-board__img-wrap:hover img {
  transform: scale(1.03);
}

/* 3 Venues in Rennes */
.venues-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.venue-card {
  background: linear-gradient(145deg, var(--slate-deep) 0%, var(--dark-card) 100%);
  border: 1px solid rgba(217, 166, 115, 0.25);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.35s var(--ease-out-expo);
}

.venue-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}

.venue-card__badge {
  align-self: flex-start;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.venue-card__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--white);
}

.venue-card__address {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.venue-card__map-link {
  margin-top: auto;
  padding-top: 12px;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.venue-card__map-link:hover {
  color: var(--white);
}

/* ==========================================================================
   TARIFS POUR LA SAISON — INTERACTIVE PRICING CARDS
   ========================================================================== */
.pricing-controls {
  display: flex;
  justify-content: center;
  margin-bottom: 42px;
}

.pricing-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  background: var(--dark-card);
  padding: 6px;
  border-radius: 18px;
  border: 1px solid rgba(217, 166, 115, 0.3);
}

.pricing-switch__btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  transition: all 0.25s ease;
}

.pricing-switch__btn.is-active {
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
  gap: 26px;
}

.price-card {
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.price-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.price-card--featured {
  background: linear-gradient(165deg, var(--dark) 0%, var(--slate-hover) 100%);
  color: var(--white);
  border-color: var(--gold);
}

.price-card--featured:hover {
  transform: translateY(-10px);
}

.price-card__ribbon {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold);
}

.price-card__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.price-card__subtitle {
  font-size: 0.88rem;
  opacity: 0.75;
  margin-bottom: 20px;
}

.price-card__amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--slate-hover);
  margin-bottom: 6px;
}

.price-card--featured .price-card__amount {
  color: var(--gold);
}

.price-card__period {
  font-size: 0.82rem;
  opacity: 0.7;
  margin-bottom: 24px;
}

.price-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
  flex: 1;
}

.price-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}

.price-card__features li span {
  color: var(--gold-dark);
  font-weight: 700;
}

.price-card--featured .price-card__features li span {
  color: var(--gold);
}

/* ==========================================================================
   SOIRÉES, ÉVÉNEMENTS & DERNIERS ARTICLES DU BLOG (GOLD SECTION)
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 26px;
}

.event-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
}

.event-card__img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.event-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out-expo);
}

.event-card:hover .event-card__img-wrap img {
  transform: scale(1.07);
}

.event-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.event-card__content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--gold-light);
}

.event-card__desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
  flex: 1;
}

/* ==========================================================================
   FAQ ACCORDION & GOOGLE REVIEWS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.review-card {
  background: var(--dark-card);
  border: 1px solid rgba(217, 166, 115, 0.22);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.review-stars {
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
  margin-bottom: 16px;
}

.review-author {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-light);
  text-transform: uppercase;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(217, 166, 115, 0.18);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.35s var(--ease-out-expo), background 0.25s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--black);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo);
}

.faq-answer__inner {
  padding: 0 26px 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
}

.faq-answer__inner a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   NEWSLETTER & FOOTER (BLACK #000000 WITH GOLD HOVER)
   ========================================================================== */
.newsletter-box {
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-hover) 100%);
  border: 1px solid rgba(217, 166, 115, 0.4);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin: 24px auto 0;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 0;
  flex: 1 1 220px;
  padding: 15px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--gray-light);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.98rem;
}

.site-footer {
  background: #000000;
  border-top: 1px solid rgba(217, 166, 115, 0.25);
  padding: 72px 24px 36px;
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.9fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-loc-item {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-loc-item:last-child {
  border-bottom: none;
}
.footer-loc-item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
}
.footer-loc-item span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-spring);
}

.social-btn:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-4px) scale(1.06);
}

.footer-bottom {
  max-width: var(--container);
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: underline;
}

/* ==========================================================================
   FLOATING WHATSAPP CTA & MODALS (VIDEO / INSCRIPTION / LIGHTBOX)
   ========================================================================== */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0a0b0d;
  color: var(--gold-light);
  border: 2px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  transition: all 0.3s var(--ease-spring);
}

.floating-wa:hover {
  transform: translateY(-4px);
  background: var(--gold);
  color: var(--black);
}

.floating-wa.is-away {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 11, 13, 0.86);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.modal-card {
  background: var(--dark-card);
  border: 1px solid rgba(217, 166, 115, 0.45);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  padding: 36px;
  position: relative;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s var(--ease-out-expo);
  box-shadow: var(--shadow-soft);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-card--video {
  max-width: 920px;
  padding: 18px;
}

.modal-backdrop.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: var(--gold);
  color: var(--black);
}

.video-aspect {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.video-aspect iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 500;
}

.form-control {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.form-control option {
  background: var(--dark);
  color: var(--white);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1180px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    background: rgba(18, 19, 22, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(217, 166, 115, 0.35);
    border-radius: var(--radius-lg);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo), visibility 0.3s;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    z-index: 5;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 1.05rem;
  }

  .clave-text {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero__container,
  .about-grid,
  .planning-layout {
    grid-template-columns: 1fr;
  }

  .hero__showcase {
    max-width: 640px;
    margin: 0 auto;
  }

  .pillars-grid,
  .venues-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-visual__secondary {
    position: relative;
    bottom: auto;
    right: auto;
    width: min(100%, 360px);
    margin-top: 16px;
  }

  .about-badge-year {
    top: 12px;
    left: 12px;
  }
}

@media (max-width: 820px) {
  .pillars-grid,
  .venues-grid,
  .reviews-grid,
  .teachers-cards,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 18px 64px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .showcase-card__img,
  .about-visual__main img {
    height: 320px;
  }

  .section {
    padding: 72px 18px;
  }

  .level-helper,
  .newsletter-box {
    padding: 28px 18px;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  .pricing-switch {
    flex-direction: column;
    width: min(100%, 460px);
  }

  .pricing-switch__btn {
    width: 100%;
  }

  .mambo-beat-bar {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .price-card--featured:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding: 8px 12px;
    gap: 8px;
  }

  .brand-logo__img {
    width: 96px;
    height: 42px;
  }

  .brand-logo__title {
    font-size: 1.05rem;
  }

  .brand-logo__sub {
    display: none;
  }

  .clave-toggle {
    display: none;
  }

  .nav-actions .btn--sm {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .mambo-step {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }

  .modal-card {
    padding: 48px 16px 20px;
  }

  .floating-wa {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .floating-wa__full {
    display: none;
  }

  .floating-wa__short {
    display: inline;
  }

  .top-banner {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   CORRECTIONS: FOCUS, CONTRASTE, ÉTATS, DÉBORDEMENTS
   ========================================================================== */
.skip-link {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 3000;
  transform: translateY(-140%);
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.newsletter-input::placeholder {
  color: #4b5563;
}

.form-control,
.newsletter-input {
  font-size: 16px;
}

button.planning-board__img-wrap {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--radius-md);
  color: inherit;
  text-align: left;
}

.showcase-play-btn,
.showcase-card__gradient {
  z-index: 2;
}

.pricing-grid {
  padding-top: 8px;
}

.site-footer {
  padding-bottom: 108px;
}

@media (min-width: 641px) {
  .floating-wa__short {
    display: none;
  }
}

body.nav-open .floating-wa {
  opacity: 0;
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

.quiz-result {
  padding: 24px;
  border-radius: 16px;
  background: rgba(217, 166, 115, 0.14);
  border: 1px solid var(--gold);
  margin-top: 8px;
}

.quiz-result__kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.quiz-result__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  text-transform: uppercase;
  margin: 6px 0 10px;
}

.quiz-result__text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.quiz-result__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.status-wa-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--black);
  background: var(--gold);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-legal a {
  color: var(--gold);
  text-decoration: underline;
}

.hero__title,
.section-title,
.course-card__title,
.event-card__title,
.price-card__name {
  overflow-wrap: anywhere;
}

.level-helper {
  align-items: flex-start;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal h1 {
  margin-bottom: 8px;
}

.legal__updated {
  color: var(--gray-muted);
  margin-bottom: 8px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 32px 0 10px;
}

.legal p + p {
  margin-top: 10px;
}

.legal ul {
  margin: 8px 0 0 1.2rem;
}

.legal li + li {
  margin-top: 6px;
}

.legal a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 48px;
}

.blog-list {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.blog-card {
  display: block;
  background: var(--dark-card);
  border: 1px solid rgba(217, 166, 115, 0.28);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.blog-card__tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  text-transform: uppercase;
  margin: 8px 0 10px;
}

.blog-card__excerpt {
  color: rgba(255, 255, 255, 0.82);
}

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

  .marquee-track,
  .hero__bg-img,
  .pulse-dot::after,
  .equalizer span,
  .hero__orb {
    animation: none !important;
  }

  .reveal,
  .course-card,
  .price-card,
  .event-card {
    transition: none;
  }

  html.js .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}
