/* =========================================================
   ZoukBX — Brazilian Zouk Brussels
   Design tokens come from the brand identity (brand/part*.png)
   and the Instagram schedule / curriculum visuals.
   ========================================================= */

:root {
  /* Brand palette */
  --bleu-clair: #3BB6D9;
  --bleu-moyen: #2D72B8;
  --bleu-profond: #2E2A8F;
  --violet: #6C1D8D;
  --fuchsia: #C1177A;
  --rose-magenta: #D72A74;
  --orange: #E07A1A;
  --orange-fonce: #D85A23;

  /* Level colours (as on the Instagram curriculum posts) */
  --level-1: var(--violet);
  --level-2: var(--bleu-moyen);
  --level-3: var(--bleu-profond);
  --practice: var(--fuchsia);

  /* Semantic tokens */
  --ink: #16122F;
  --ink-soft: #4A4766;
  --surface: #FFFFFF;
  --surface-soft: #F6F4FB;
  --surface-dark: #0E0B1F;
  --line: #E6E2F0;
  --primary: var(--fuchsia);
  --primary-hover: #A6106A;
  --focus: var(--bleu-moyen);
  --error: #B3123E;
  --success: #14774A;

  --gradient-brand: linear-gradient(120deg, var(--bleu-clair) 0%, var(--bleu-moyen) 18%, var(--bleu-profond) 38%, var(--violet) 55%, var(--fuchsia) 72%, var(--rose-magenta) 82%, var(--orange) 100%);
  --gradient-text: linear-gradient(100deg, var(--bleu-moyen) 0%, var(--violet) 40%, var(--fuchsia) 70%, var(--orange-fonce) 100%);
  --gradient-deep: linear-gradient(135deg, var(--bleu-profond) 0%, var(--violet) 45%, var(--fuchsia) 100%);
  /* Soft mesh like the Instagram posters */
  --gradient-mesh:
    radial-gradient(60% 55% at 8% 35%, rgba(224, 122, 26, .45), transparent 70%),
    radial-gradient(50% 50% at 55% 70%, rgba(215, 42, 116, .45), transparent 70%),
    radial-gradient(45% 45% at 95% 15%, rgba(224, 122, 26, .30), transparent 70%),
    radial-gradient(55% 50% at 15% 100%, rgba(46, 42, 143, .45), transparent 70%),
    radial-gradient(50% 50% at 95% 95%, rgba(45, 114, 184, .40), transparent 70%),
    #FFF8F4;

  /* Typography */
  --font-display: "Contrail One", "Arial Narrow", sans-serif;
  --font-label: "Saira Extra Condensed", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (8pt) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 12px 32px -12px rgba(46, 42, 143, .25);
  --shadow-lg: 0 30px 60px -20px rgba(46, 42, 143, .35);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: 220ms;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 400; }
h1, h2 { font-family: var(--font-display); letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); text-wrap: balance; }
h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fuchsia);
  margin-bottom: var(--space-2);
}
.eyebrow-light { color: #fff; opacity: .9; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1.1 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out), opacity var(--dur);
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .9375rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(193, 23, 122, .6);
}
.btn-primary:hover { background: var(--primary-hover); }

.btn-ghost { background: rgba(255, 255, 255, .6); color: var(--ink); border-color: rgba(22, 18, 47, .2); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }

.btn-light { background: #fff; color: var(--bleu-profond); }
.btn-light:hover { background: var(--surface-soft); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(22, 18, 47, .35); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

/* The logo files are square with padding — crop to the mark */
.brand { display: block; border-radius: 8px; }
.brand-logo {
  --s: 86px;
  display: block;
  width: calc(var(--s) * .66);
  height: calc(var(--s) * .68);
  overflow: hidden;
}
.brand-logo img {
  width: var(--s);
  height: var(--s);
  max-width: none;
  margin-left: calc(var(--s) * -.185);
  margin-top: calc(var(--s) * -.1);
}

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: flex; align-items: center; gap: var(--space-4); }
.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color var(--dur), background-color var(--dur);
}
.site-nav ul a:hover { color: var(--ink); background: var(--surface-soft); }
.site-nav ul a.is-active { color: var(--fuchsia); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--gradient-mesh);
  padding: var(--space-8) 0 0;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: var(--space-4);
  min-height: min(720px, calc(100dvh - var(--header-h)));
  padding-bottom: var(--space-8);
}
.hero-copy { align-self: center; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: .98;
  margin-bottom: var(--space-3);
  text-wrap: balance;
}
.hero-title .text-gradient { display: inline-block; padding-right: .08em; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 32em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-4); }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: var(--space-6);
  font-weight: 700;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-mon { background: var(--bleu-clair); }
.dot-thu { background: var(--fuchsia); }
.dot-new { background: var(--orange); }

/* Vertical video: story-like card on desktop */
.hero-media {
  position: relative;
  justify-self: center;
  align-self: center;
  width: min(100%, 380px);
  aspect-ratio: 9 / 16;
  max-height: calc(100dvh - var(--header-h) - 64px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-dark);
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}
/* brand gradient frame */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 4px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; }

.video-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(14, 11, 31, .55);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background-color var(--dur);
}
.video-toggle:hover { background: rgba(14, 11, 31, .8); }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }

/* ---------- Sections ---------- */
.section { padding: var(--space-12) 0; }
.section-tight { padding: var(--space-6) 0; }
.section-soft { background: var(--surface-soft); }
.section-dark { background: var(--surface-dark); color: #fff; }

.section-head { max-width: 720px; margin-bottom: var(--space-6); }
.section-head h2 { margin-bottom: var(--space-2); }
.section-head > p:last-child { color: var(--ink-soft); font-size: 1.125rem; }
.section-dark .section-head > p:last-child { color: rgba(255, 255, 255, .75); }

/* Reassurance */
.reassure { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.reassure li {
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.reassure-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: var(--space-2);
  border-radius: 14px;
  background: #F7E6F0;
  color: var(--fuchsia);
}
.reassure-icon .icon { width: 24px; height: 24px; }
.reassure h3 { margin-bottom: 4px; }
.reassure p { color: var(--ink-soft); }

/* ---------- Schedule ---------- */
.days { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.day {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.day-name {
  display: inline-block;
  padding: 4px 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.2;
}
.day-name-mon { background: var(--bleu-clair); color: var(--ink); }
.day-name-thu { background: var(--bleu-clair); color: var(--ink); }
.day-teachers { margin-top: var(--space-1); font-weight: 700; color: var(--violet); font-size: 1.125rem; }

.slots { display: grid; gap: 10px; }
.slot {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: 12px 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
}
.slot time { font-variant-numeric: tabular-nums; min-width: 3.2em; }
.slot-l1 { background: var(--level-1); }
.slot-l2 { background: var(--level-2); }
.slot-l3 { background: var(--level-3); }
.slot-practice { background: var(--practice); }

.day-venue { display: flex; gap: 12px; color: var(--ink-soft); }
.day-venue .icon { color: var(--fuchsia); margin-top: 3px; }
.day-venue-name { font-weight: 700; color: var(--ink); }

.day-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.day-price { color: var(--ink-soft); max-width: 22em; }
.day-price strong { color: var(--ink); }

/* ---------- Levels ---------- */
.path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: var(--space-4);
  counter-reset: none;
}
.path-step {
  position: relative;
  padding: 12px 28px 12px 20px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.1;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%);
}
.path-step:first-child { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); }
.path-step span { display: block; font-family: var(--font-body); font-size: .875rem; font-weight: 500; opacity: .9; }
.path-l1 { background: var(--level-1); }
.path-l2 { background: var(--level-2); padding-left: 32px; }
.path-l3 { background: var(--level-3); padding-left: 32px; }

.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); align-items: start; }
.level {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.level-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.level-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.level-num {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  box-shadow: 0 6px 16px -6px rgba(14, 11, 31, .6);
}
.level-l1 .level-num { background: var(--level-1); }
.level-l2 .level-num { background: var(--level-2); }
.level-l3 .level-num { background: var(--level-3); }
.level-l1 .level-media { background: linear-gradient(135deg, var(--violet), var(--fuchsia)); }
.level-l2 .level-media { background: linear-gradient(135deg, var(--bleu-clair), var(--bleu-moyen)); }
.level-l3 .level-media { background: linear-gradient(135deg, var(--bleu-moyen), var(--bleu-profond)); }

.level-body { display: flex; flex-direction: column; gap: 8px; padding: var(--space-3); }
.level-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.level h3 { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; line-height: 1; }
.level-l1 h3 { color: var(--level-1); }
.level-l2 h3 { color: var(--level-2); }
.level-l3 h3 { color: var(--level-3); }
.level-focus { font-weight: 700; }
.level-body > p:not(.level-meta):not(.level-focus) { color: var(--ink-soft); }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--fuchsia);
  color: #fff;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.learn { margin-top: var(--space-1); border-top: 1px solid var(--line); }
.learn summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  font-weight: 700;
  color: var(--fuchsia);
  cursor: pointer;
  list-style: none;
}
.learn summary::-webkit-details-marker { display: none; }
.learn summary::after, .faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px; height: 10px;
  margin-left: 12px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--dur) var(--ease-out);
}
.learn[open] summary::after, .faq-list details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.learn-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); padding-bottom: var(--space-2); }
.learn h4 {
  margin-bottom: 8px;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.learn li { position: relative; padding-left: 14px; font-size: .9375rem; line-height: 1.45; margin-bottom: 4px; }
.learn li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .35;
}

/* ---------- Book ---------- */
.book {
  position: relative;
  isolation: isolate;
  background: var(--gradient-brand);
  color: #fff;
}
/* darken the light cyan end so white text keeps contrast */
.book::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 11, 31, .6), rgba(14, 11, 31, .3));
}
.book-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
.book h2 { margin-bottom: var(--space-6); }

.steps { display: grid; gap: var(--space-3); margin-bottom: var(--space-4); }
.steps li { display: flex; gap: var(--space-3); align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--bleu-profond);
  font-family: var(--font-display);
  font-size: 1.75rem;
}
.steps h3 { margin-bottom: 4px; font-size: 1.375rem; }
.steps p { color: rgba(255, 255, 255, .9); }
.book-alt { color: rgba(255, 255, 255, .9); }
.book-alt a { color: #fff; font-weight: 700; text-underline-offset: 3px; }

/* Forms */
.book-form, .newsletter {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.field label, .field legend { font-weight: 700; font-size: .9375rem; padding: 0; }
.field legend { margin-bottom: 8px; }
.req { color: var(--fuchsia); }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid #CFCADF;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field input:focus { outline: none; border-color: var(--bleu-moyen); box-shadow: 0 0 0 3px rgba(45, 114, 184, .25); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-help { font-size: .875rem; color: var(--ink-soft); }
.field-error { font-size: .875rem; font-weight: 700; color: var(--error); }

/* Step 1: day choice */
.day-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.day-choice { position: relative; cursor: pointer; }
.day-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.day-choice span {
  display: grid;
  gap: 2px;
  min-height: 72px;
  padding: 12px 16px;
  border: 1.5px solid #CFCADF;
  border-radius: 14px;
  color: var(--ink-soft);
  font-size: .9375rem;
  transition: background-color var(--dur), border-color var(--dur), color var(--dur);
}
.day-choice strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.day-choice:hover span { border-color: var(--violet); }
.day-choice input:checked + span { background: var(--violet); border-color: var(--violet); color: rgba(255, 255, 255, .9); }
.day-choice input:checked + span strong { color: #fff; }
.day-choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.day-panel { display: grid; gap: var(--space-3); }
.day-panel[hidden] { display: none; }
.day-panel-monday {
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: 14px;
  background: var(--surface-soft);
}
.day-panel-monday p { color: var(--ink-soft); }
.day-panel-title { font-weight: 700; color: var(--ink) !important; }
.day-panel-monday .form-note { margin-top: -8px; }

.date-options, .role-options { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid #CFCADF;
  border-radius: 999px;
  font-weight: 500;
  transition: background-color var(--dur), border-color var(--dur), color var(--dur);
}
.chip:hover span { border-color: var(--violet); }
.chip input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fuchsia); flex-shrink: 0; }

.form-note { margin-top: -12px; text-align: center; font-size: .875rem; color: var(--ink-soft); }
.form-status:empty { display: none; }
.form-status { padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.form-status.is-success { background: #E3F4EB; color: var(--success); }
.form-status.is-error { background: #FBE6EC; color: var(--error); }

/* ---------- Events ---------- */
.event-list { display: grid; gap: var(--space-2); }
.event-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3);
  border-radius: var(--radius);
  background: #1B1736;
  border: 1px solid rgba(255, 255, 255, .08);
}
/* With a poster, the date sits on the poster's corner: poster | info | button */
.event-row.has-media { grid-template-columns: 240px minmax(0, 1fr) auto; }
.event-row.has-media .event-media,
.event-row.has-media .event-date { grid-column: 1; grid-row: 1; }
.event-row.has-media .event-date {
  z-index: 1;
  align-self: start;
  justify-self: start;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  width: auto;
  margin: 8px;
  padding: 6px 10px;
  box-shadow: 0 6px 16px -6px rgba(14, 11, 31, .7);
}
.event-row.has-media .event-day { font-size: 1.375rem; }
.event-row.has-media .event-month { margin-top: 0; }
.event-media {
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}
.event-date {
  display: grid;
  place-items: center;
  width: 96px;
  padding: 12px 8px;
  border-radius: 14px;
  background: var(--gradient-deep);
  text-align: center;
  line-height: 1;
}
.event-day { font-family: var(--font-display); font-size: 1.75rem; white-space: nowrap; }
.event-month { font-family: var(--font-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-top: 4px; }
.event-type { font-family: var(--font-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu-clair); }
.event-info h3 { margin: 2px 0 6px; font-size: 1.375rem; }
.event-info p:last-child { color: rgba(255, 255, 255, .78); }
.events-empty { padding: var(--space-3); border-radius: var(--radius); background: #1B1736; color: rgba(255, 255, 255, .8); }

.socials-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--gradient-deep);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Social-dance photo behind the card, darkened with the brand gradient so the text stays readable */
.socials-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.socials-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 11, 31, .88) 0%, rgba(46, 42, 143, .62) 50%, rgba(193, 23, 122, .3) 100%);
}
.socials-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; margin-bottom: 6px; }
.socials-card p { max-width: 36em; color: rgba(255, 255, 255, .9); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3); }
/* Name, role and Instagram sit inside the photo, on a dark fade */
.avatar::after {
  content: "";
  position: absolute;
  inset: 45% 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(14, 11, 31, .55) 40%, rgba(14, 11, 31, .9));
  pointer-events: none;
}
.teacher-info {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: grid;
  gap: 2px;
  padding: 12px 12px 10px;
  color: #fff;
}
.teacher h3 { color: #fff; font-size: 1.125rem; line-height: 1.2; }
.teacher-role { color: rgba(255, 255, 255, .85); font-size: .875rem; }
.teacher-ig { display: grid; gap: 0; margin-top: 4px; }
.teacher-ig a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  min-width: 0;
  font-size: .8125rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  overflow-wrap: break-word;
}
.teacher-ig a:hover { text-decoration: underline; text-underline-offset: 3px; }
.teacher-ig a:focus-visible { outline-color: #fff; }
.teacher-ig .icon { width: 16px; height: 16px; }
.teacher-day {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 2px 10px;
  border-radius: 6px;
  font-family: var(--font-label);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .875rem;
  color: var(--ink);
}
.day-tag-mon { background: #D6F0F8; }
.day-tag-thu { background: #F7E0EC; }

.avatar {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.teacher:hover .avatar img { transform: scale(1.04); }
.avatar-1 { background: linear-gradient(150deg, var(--orange), var(--fuchsia)); }
.avatar-2 { background: linear-gradient(150deg, var(--bleu-clair), var(--violet)); }
.avatar-3 { background: linear-gradient(150deg, var(--bleu-clair), var(--bleu-moyen)); }
.avatar-4 { background: linear-gradient(150deg, var(--rose-magenta), var(--violet)); }
.avatar-5 { background: linear-gradient(150deg, var(--bleu-profond), var(--fuchsia)); }

/* Transparent cut-outs sit on the brand gradient */
.avatar-cutout img { object-fit: contain; object-position: center bottom; transform-origin: bottom; }
/* Single head-and-shoulders cut-out: fill the card, keep the face in view */
.avatar-portrait img { object-fit: cover; object-position: 50% 15%; }

/* ---------- Gallery ---------- */
/* Carousel: several photos visible, swipe or use the arrows; the viewer shows each photo uncropped */
.carousel { position: relative; }
.gallery {
  --per-view: 3.4;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: var(--radius);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.gallery li { flex: 0 0 calc((100% - (var(--per-view) - 1) * 12px) / var(--per-view)); scroll-snap-align: start; }
.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity var(--dur), background-color var(--dur);
}
.carousel-btn:hover { background: var(--surface-soft); }
.carousel-btn:disabled { opacity: 0; pointer-events: none; }
.carousel-btn .icon { width: 24px; height: 24px; }
.carousel-prev { left: -20px; }
.carousel-next { right: -20px; }
.g-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-soft);
  cursor: zoom-in;
}
.g-item img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; transition: transform 500ms var(--ease-out); }
.g-item:hover img { transform: scale(1.04); }
.g-video { position: relative; }
.g-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(14, 11, 31, .55);
  color: #fff;
  backdrop-filter: blur(4px);
  transform: translate(-50%, -50%);
  transition: background-color var(--dur), transform var(--dur) var(--ease-out);
}
.g-play .icon { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.g-video:hover .g-play { background: var(--fuchsia); transform: translate(-50%, -50%) scale(1.06); }

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(14, 11, 31, .94);
  color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(14, 11, 31, .6); }
.lightbox-img {
  max-width: min(92vw, 1100px);
  max-height: 84dvh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  transition: background-color var(--dur);
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox-btn .icon { width: 26px; height: 26px; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); font-weight: 500; opacity: .8; }

/* ---------- Community ---------- */
.community { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
.community h2 { margin-bottom: var(--space-2); }
.community-lead { color: var(--ink-soft); font-size: 1.125rem; margin-bottom: var(--space-4); }
.community-links { display: grid; gap: 10px; }
.community-links a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 64px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
}
.community-links a { transition: border-color var(--dur), transform var(--dur) var(--ease-out); }
.community-links a:hover { border-color: var(--fuchsia); }
.community-links .icon { width: 24px; height: 24px; color: var(--fuchsia); }
.community-links span { color: var(--ink-soft); }
.community-links strong { display: block; color: var(--ink); }

.newsletter h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; }
.newsletter > p { color: var(--ink-soft); margin-top: -16px; }
.inline-field { display: flex; gap: 8px; }
.inline-field input { flex: 1; min-width: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0 var(--space-8); align-items: start; }
.faq-wrap .section-head { grid-column: 1 / -1; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  min-height: 64px;
  padding: var(--space-2) 0;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { color: var(--fuchsia); }
.faq-list details p { padding-bottom: var(--space-3); color: var(--ink-soft); max-width: 65ch; }
.faq-list details a { color: var(--fuchsia); font-weight: 700; }

.in-short {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}
.in-short h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; margin-bottom: var(--space-2); }
.in-short dl { margin: 0; display: grid; gap: 12px; }
.in-short dt { font-family: var(--font-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--fuchsia); }
.in-short dd { margin: 0; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: rgba(255, 255, 255, .8); padding: var(--space-8) 0 var(--space-3); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--space-4); }
.footer-logo {
  --s: 260px;
  display: block;
  width: calc(var(--s) * .66);
  height: calc(var(--s) * .73);
  overflow: hidden;
}
.footer-logo img {
  width: var(--s);
  height: var(--s);
  max-width: none;
  margin-left: calc(var(--s) * -.185);
  margin-top: calc(var(--s) * -.125);
}
.footer-title {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-2);
}
.socials { display: flex; gap: var(--space-1); }
.socials a {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  transition: background-color var(--dur), border-color var(--dur);
}
.socials a:hover { background: var(--fuchsia); border-color: var(--fuchsia); }
.footer-handle { margin-top: var(--space-1); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .9375rem;
}
.footer-bottom a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .gallery { --per-view: 2.4; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .levels { grid-template-columns: 1fr; max-width: 640px; }
  .book-inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .book-copy { max-width: 640px; }
  .book-form { max-width: 640px; }
  .faq-wrap { grid-template-columns: 1fr; gap: var(--space-4); }
  .in-short { position: static; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    padding: var(--space-2) 20px var(--space-4);
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(22, 18, 47, .35);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { width: 100%; min-height: 52px; font-size: 1.125rem; border-radius: var(--radius-sm); }
  .site-nav .btn { width: 100%; min-height: 52px; }

  /* Mobile: the vertical video fills the hero behind the text */
  .hero { padding: 0; background: var(--surface-dark); color: #fff; }
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: calc(100svh - var(--header-h));
    padding-top: var(--space-12);
    padding-bottom: var(--space-6);
  }
  .hero-media {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    align-self: stretch;
    justify-self: stretch;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
  .hero-media::before { display: none; }
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 11, 31, .15) 0%, rgba(14, 11, 31, .45) 35%, rgba(14, 11, 31, .88) 100%);
    pointer-events: none;
  }
  .video-toggle { top: 12px; bottom: auto; }
  .hero .eyebrow { color: #fff; }
  .hero .lead { color: rgba(255, 255, 255, .9); }
  .hero .text-gradient {
    background: linear-gradient(100deg, var(--bleu-clair), #F06AAE 55%, #F5A04A);
    -webkit-background-clip: text;
    background-clip: text;
  }
  .hero .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .6); }
  .hero-facts { margin-top: var(--space-4); }

  .section { padding: var(--space-8) 0; }
  .reassure, .days { grid-template-columns: minmax(0, 1fr); }
  .day > * { min-width: 0; }
  .community { grid-template-columns: 1fr; gap: var(--space-6); }
  .event-row, .event-row.has-media { grid-template-columns: auto minmax(0, 1fr); }
  .event-row.has-media { grid-template-columns: minmax(0, 1fr); }
  .event-row.has-media .event-info, .event-row.has-media .btn { grid-column: 1; }
  .event-row .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .path-step { font-size: 1rem; padding: 10px 18px 10px 12px; min-width: 0; }
  .path-l2, .path-l3 { padding-left: 24px; }
  .slot { font-size: 1.25rem; padding: 10px 14px; }
  .day-foot .btn { width: 100%; }
  .path-step span { font-size: .75rem; }
  .learn-cols, .field-row { grid-template-columns: 1fr; }
  .book-form, .newsletter, .day { padding: var(--space-3); }
  .inline-field { flex-direction: column; }
  .event-row, .event-row.has-media { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .event-date { display: inline-flex; align-items: baseline; gap: 8px; width: auto; justify-self: start; padding: 8px 14px; }
  .event-month { margin-top: 0; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
  .avatar { aspect-ratio: 5 / 8; }
  .avatar-cutout img { object-position: center top; }
  .avatar-portrait img { object-position: 50% 0; }
  .team > li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--space-1)); }
  .footer-inner { grid-template-columns: 1fr; }
  .gallery { --per-view: 1.6; }
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html, .gallery { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Privacy policy & legal notice page ---------- */
.legal { padding-block: var(--space-8) var(--space-12); }
.legal-inner { max-width: 760px; display: grid; gap: var(--space-6); }
.legal h1 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; margin-top: calc(var(--space-2) * -1); }
.legal section { display: grid; gap: var(--space-2); scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); }
.legal h3 { margin-top: var(--space-1); }
.legal p, .legal li { color: var(--ink-soft); max-width: 65ch; }
.legal ul { display: grid; gap: 6px; padding-left: 1.25em; list-style: disc; }
.legal a { color: var(--fuchsia); font-weight: 500; text-underline-offset: 3px; }
.legal-toc ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.legal-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.legal-toc a:hover { border-color: var(--fuchsia); color: var(--fuchsia); }
.legal-card {
  padding: var(--space-3);
  border-radius: var(--radius);
  background: var(--surface-soft);
  line-height: 1.7;
}
.legal-card a { word-break: break-all; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.form-privacy { font-size: .8125rem; color: var(--ink-soft); text-align: center; }
.form-privacy a { color: inherit; text-underline-offset: 2px; }
.footer-tagline { margin-top: var(--space-2); font-size: .875rem; line-height: 1.6; color: rgba(255, 255, 255, .7); }

/* ---------- 404 page ---------- */
.not-found {
  min-height: 100dvh;
  display: grid;
  align-items: center;
  background: var(--gradient-mesh);
  padding-block: var(--space-8);
}
.not-found-inner { display: grid; justify-items: start; gap: var(--space-3); max-width: 760px; }
.not-found-title { font-size: clamp(2.5rem, 7vw, 4.75rem); line-height: 1; text-wrap: balance; }
.not-found-title .text-gradient { display: inline-block; padding-right: .08em; }
.not-found .hero-actions { margin-top: 0; }
