/* Accueil — image hero (logo intégré dans l'image), overlays sur l'ellipse */
:root {
  --lite-bg: #001329;
  --lite-text: #ffffff;
  --lite-line: rgba(255, 255, 255, 0.22);
  --lite-accent: #4ae5e5;
  --lite-orange: #F0A830;
  --lite-orange-soft: #f2c878;
  --lite-gold: #e8c547;
  /* +50 % largeur hero ; bloc texte +25 % (largeur + police) */
  --lite-layout-scale: 1.5;
  --lite-block-scale: 1.25;
  /* Colonne texte −20 % largeur, centrée */
  --lite-content-width-scale: 0.8;
  --lite-shell: min(calc(1024px * var(--lite-layout-scale)), 100%);
  --lite-content-pad-x: clamp(1.25rem, 5vw, 3rem);
  --lite-content-max: min(
    calc(640px * var(--lite-layout-scale) * var(--lite-block-scale) * var(--lite-content-width-scale)),
    calc(86vw * var(--lite-content-width-scale))
  );
  --lite-table-max: min(
    calc(480px * var(--lite-layout-scale) * var(--lite-block-scale) * var(--lite-content-width-scale)),
    calc(72vw * var(--lite-content-width-scale))
  );
  --lite-map-w: 336px;
  --lite-map-h: 224px;
  --lite-footer-gap: clamp(1.5rem, 3.5vw, 2.5rem);
  --lite-content-footer-gap: clamp(1rem, 2.25vw, 1.65rem);
  --lite-accueil-cols: minmax(3rem, 1fr) auto minmax(3rem, 1fr);
  --lite-accueil-table-max: min(40rem, 88%);
  --lite-accueil-table-indent: clamp(2.25rem, 5.25vw, 3.35rem);
  /* Hero accueil : −20 % (scale 0.8), centré dans le shell */
  --lite-hero-display-scale: 0.8;
  /* Rapproche l'image hero sous le menu (sans bouger le menu) */
  --lite-hero-lift: 2.75rem;
  --lite-hero-nudge-up: 1.05rem;
  /* Réseaux : sous l'ellipse, bande sombre bas-droite de l'image hero */
  --lite-hero-social-bottom: 9%;
  --lite-hero-social-inset-x: 11%;
  /* Espace entre bas hero et 1er bloc texte (réduit le chevauchement) */
  --lite-hero-text-gap: 1.95rem;
  /* Micro-décalage menu accueil (Info → épaule homme t-shirt blanc) — réglage fin */
  --lite-nav-home-shift: 1.125rem;
  /* Taille unique page = footer = tableaux */
  --lite-font-base: clamp(1.25rem, 1.15rem + 0.42vw, 1.5rem);
  --lite-font-menu: var(--lite-font-base);
  --lite-line-height: 1.6;
  --lite-text-block-lift: calc(2 * var(--lite-font-base) * var(--lite-line-height));
  /* Espacement menu — accueil : plus aéré, centré dans le shell */
  --lite-nav-gap: clamp(1.75rem, 3.5vw, 4.75rem);
  --lite-lang-gap: 0.55rem;
  --lite-sticky-nav-height: clamp(2.75rem, 4.5vw, 3.35rem);
  --lite-sticky-nav-height-desktop: clamp(3.05rem, 4.85vw, 3.75rem);
  --lite-preview-banner-h: 2rem;
}

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

html {
  scroll-behavior: smooth;
}

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

body.lite-home {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--lite-font-base);
  line-height: var(--lite-line-height);
  color: var(--lite-text);
  background: var(--lite-bg);
}

body.lite-home.has-preview { padding-top: var(--lite-preview-banner-h); }

.lite-main {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: visible;
}

/* Menu global — sticky sur toutes les pages (pas de 100vw/transform : évite clip + décalage) */
.lite-site-header--global {
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(0.5rem, 1.4vw, 0.9rem) clamp(0.75rem, 2vw, 1.25rem) clamp(0.35rem, 1vw, 0.55rem);
  background: var(--lite-bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow-x: visible;
}

body.lite-home.has-preview .lite-site-header--global {
  top: var(--lite-preview-banner-h);
}

.lite-site-header--global .lite-header-inner {
  width: 100%;
  max-width: min(var(--lite-shell), 100vw);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Hero (accueil seulement) : pleine largeur viewport */
.lite-hero-band {
  width: 100vw;
  max-width: 100%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
  overflow-x: clip;
  background-color: var(--lite-bg);
}

.lite-hero-band .lite-visual {
  width: calc(min(var(--lite-shell), 100%) * var(--lite-hero-display-scale));
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: calc(-1 * (var(--lite-hero-lift) + var(--lite-hero-nudge-up)));
}

.lite-preview {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #92400e;
  color: #fef3c7;
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.lite-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lite-visual {
  position: relative;
  background-color: var(--lite-bg);
  line-height: 0;
}

.lite-visual-img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
}

/* Réseaux — overlay bas droite de l'image hero */
.lite-visual-social {
  position: absolute;
  bottom: var(--lite-hero-social-bottom);
  right: var(--lite-hero-social-inset-x);
  z-index: 20;
}

.lite-visual .lite-hero-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.55rem, 1.5vw, 0.95rem);
  line-height: 1;
}

.lite-visual .lite-hero-social a {
  display: flex;
  color: #fff;
}

.lite-visual .lite-hero-social a:hover {
  opacity: 0.88;
}

.lite-visual .lite-hero-social svg {
  width: clamp(28px, 3.8vw, 36px);
  height: clamp(28px, 3.8vw, 36px);
  fill: currentColor;
}

/*
 * Barre header : menu centré + langues à droite (toutes les pages).
 */
.lite-header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  gap: 0.75rem;
}

.lite-header-lang {
  grid-column: 3;
  justify-self: end;
  align-self: center;
}

.lite-site-lang {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: var(--lite-lang-gap);
  padding: 0.1rem 0.15rem;
  line-height: 1;
  white-space: nowrap;
}

.lite-site-lang a,
.lite-site-lang-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.22rem 0.28rem;
  line-height: 1;
  text-decoration: none;
}

.lite-site-lang-flag {
  display: block;
  font-size: clamp(1.45rem, 1.35rem + 0.4vw, 1.65rem);
  line-height: 1;
}

.lite-site-lang a {
  color: var(--lite-text);
  opacity: 0.72;
}

.lite-site-lang a:hover {
  opacity: 1;
  color: var(--lite-accent);
}

.lite-site-lang-active {
  opacity: 1;
  color: var(--lite-accent);
}

/*
 * Navigation (header global sticky).
 */
.lite-site-header .lite-nav-wrap {
  grid-column: 2;
  justify-self: center;
  width: auto;
  max-width: 100%;
}

.lite-site-header .lite-hero-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 0.2rem;
  column-gap: var(--lite-nav-gap);
  font-size: var(--lite-font-base);
  font-weight: 600;
  line-height: 1.25;
  width: 100%;
  max-width: 100%;
  padding: clamp(0.15rem, 0.5vw, 0.35rem) clamp(0.25rem, 1vw, 0.75rem);
  overflow-x: visible;
}

/* Accueil : menu horizontal centré (milieu Accueil→Contact = centre écran / hero) */
.lite-has-hero .lite-header-bar {
  position: relative;
  display: block;
}

.lite-has-hero .lite-header-lang {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  grid-column: auto;
}

.lite-has-hero .lite-site-header .lite-nav-wrap {
  grid-column: auto;
  width: 100%;
  max-width: min(var(--lite-shell), 100%);
  margin: 0 auto;
}

.lite-has-hero .lite-site-header .lite-hero-nav {
  justify-content: center;
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
  transform: translateX(var(--lite-nav-home-shift));
}

.lite-page {
  background: var(--lite-bg);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home .lite-hero-band {
  margin-bottom: calc(-1 * (var(--lite-text-block-lift) + var(--lite-hero-nudge-up)) + var(--lite-hero-text-gap));
}

.home .lite-prose {
  padding-top: calc(clamp(0.5rem, 1.5vw, 0.85rem) + 0.85rem);
}

.home .lite-page {
  position: relative;
  z-index: 2;
}

.lite-day-abbr {
  display: none;
}

.lite-time-short {
  display: none;
}

.lite-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--lite-line);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--lite-text);
  cursor: pointer;
}

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

.lite-nav-bars,
.lite-nav-bars::before,
.lite-nav-bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.lite-nav-bars { position: relative; }

.lite-nav-bars::before,
.lite-nav-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.lite-nav-bars::before { top: -6px; }
.lite-nav-bars::after { top: 6px; }

.lite-nav-wrap.is-open .lite-nav-bars { background: transparent; }
.lite-nav-wrap.is-open .lite-nav-bars::before { top: 0; transform: rotate(45deg); }
.lite-nav-wrap.is-open .lite-nav-bars::after { top: 0; transform: rotate(-45deg); }

.lite-hero-nav a,
.lite-hero-nav .lite-nav-item {
  color: var(--lite-text);
  text-decoration: none;
  white-space: nowrap;
}

.lite-hero-nav a:hover,
.lite-hero-nav a:focus-visible {
  color: var(--lite-text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.lite-hero-nav a.is-active {
  color: var(--lite-accent);
  text-decoration: none;
}

.lite-hero-nav .lite-nav-item {
  cursor: default;
  opacity: 0.92;
}

/* Info — sous-menu déroulant */
.lite-nav-dropdown {
  position: relative;
}

.lite-nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lite-text);
  font: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  white-space: nowrap;
}

.lite-nav-dropdown-toggle::after {
  content: "▾";
  font-size: 0.72em;
  opacity: 0.85;
  transition: transform 0.15s ease;
}

.lite-nav-dropdown.is-open .lite-nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.lite-nav-dropdown-toggle:hover,
.lite-nav-dropdown-toggle:focus-visible {
  color: var(--lite-text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.lite-nav-dropdown.is-active > .lite-nav-dropdown-toggle {
  color: var(--lite-accent);
  text-decoration: none;
}

.lite-nav-submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 11.5rem;
  max-height: min(70vh, 18rem);
  overflow-y: auto;
  z-index: 95;
  background: #0a1a32;
  border: 1px solid var(--lite-line);
  border-radius: 0.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* Pont invisible : souris Info → liste sans fermer le menu */
.lite-nav-submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.45rem;
  height: 0.45rem;
}

.lite-nav-dropdown.is-open .lite-nav-submenu,
.lite-nav-dropdown:hover .lite-nav-submenu,
.lite-nav-dropdown:focus-within .lite-nav-submenu {
  display: block;
}

.lite-nav-dropdown:hover .lite-nav-dropdown-toggle::after,
.lite-nav-dropdown.is-open .lite-nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.lite-nav-submenu a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--lite-text);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
}

.lite-nav-submenu a:hover,
.lite-nav-submenu a:focus-visible {
  color: var(--lite-text);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.lite-nav-submenu a.is-active {
  color: var(--lite-accent);
  text-decoration: none;
}

/* Pages intérieures (sans hero) */
body.lite-home:not(.lite-has-hero) .lite-page {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

/* Titre de page : h1 sémantique, taille = corps (pas le défaut navigateur 2em) */
.lite-prose .lite-odt-root h1.lite-page-h,
.lite-prose .lite-odt-root h2.lite-page-h {
  color: var(--lite-orange-soft) !important;
  font-weight: 700;
  font-size: inherit !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0;
  margin-bottom: 0.199cm;
  line-height: 150%;
  scroll-margin-top: 0;
}


/* Colonne page + footer : centrée viewport, même axe, même police */
.lite-content-shell {
  box-sizing: border-box;
  width: min(var(--lite-content-max), calc(100vw - 2rem));
  max-width: 100%;
  margin: 0;
  padding-left: var(--lite-content-pad-x);
  padding-right: var(--lite-content-pad-x);
  font-size: var(--lite-font-base);
  line-height: var(--lite-line-height);
}

.lite-prose {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: clamp(0.5rem, 1.5vw, 0.85rem) 0 var(--lite-content-footer-gap);
  font-size: inherit;
  line-height: inherit;
}

.lite-prose .lite-odt-root,
.lite-prose > .wp-block-html,
.lite-prose > .wp-block-group {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.lite-prose .lite-has-hero .lite-odt-root h2.lite-h-section,
.lite-has-hero .lite-prose .lite-odt-root h2.lite-h-section,
.lite-has-hero .lite-prose h2.lite-h-section,
.lite-has-hero .lite-prose .lite-odt-root h2:not(.lite-page-h) {
  margin: 1.75rem 0 0.75rem;
  font-size: inherit;
  font-weight: 700;
  color: var(--lite-accent);
  scroll-margin-top: calc(var(--lite-sticky-nav-height) + 0.5rem);
}

/* Pages intérieures : titres de section (h2 ou p) en orange doux */
.lite-prose .lite-odt-root h2.lite-section-h,
.lite-prose .lite-odt-root .lite-section-h {
  color: var(--lite-orange-soft);
  font-weight: 700;
  font-size: inherit;
  line-height: 150%;
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
  text-align: left;
  scroll-margin-top: calc(var(--lite-sticky-nav-height) + 0.5rem);
}

.lite-prose .lite-odt-root h2.lite-section-h:first-of-type,
.lite-prose .lite-odt-root .lite-section-h:first-of-type {
  margin-top: 0.5rem;
}

#contact {
  scroll-margin-top: calc(var(--lite-sticky-nav-height) + 0.5rem);
}

#accueil {
  scroll-margin-top: var(--lite-sticky-nav-height);
}

.lite-prose h2:first-child {
  margin-top: 0.25rem;
}

/* Contenu importé : hérite de --lite-font-base (pas de 11 pt inline) */
.lite-odt-root {
  font-size: inherit;
  line-height: inherit;
  color: var(--lite-text);
}

.lite-odt-root p,
.lite-odt-root li,
.lite-odt-root h2,
.lite-odt-root td,
.lite-odt-root th,
.lite-odt-root .lite-doc-table {
  font-size: inherit;
  line-height: inherit;
}

.lite-odt-root h2.lite-h-section,
.lite-odt-root h2 {
  font-size: inherit;
  font-weight: 700;
}

.lite-odt-root .lite-p13 {
  font-size: inherit;
}

.lite-odt-root .lite-doc-table--prices tr:last-child td {
  font-size: inherit;
}

.lite-prose .lite-p5 > strong:first-child,
.lite-prose .lite-p6 > strong:first-child,
.lite-prose .lite-p9 > strong:first-child,
.lite-prose .lite-p11 > strong:first-child {
  color: var(--lite-accent);
}

.lite-debutants-label {
  color: var(--lite-accent);
  font-weight: 700;
}

a.lite-debutants-label {
  text-decoration: none;
}

a.lite-debutants-label:hover,
a.lite-debutants-label:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Page /salsa-bachata-debutants/ */
.lite-page-debutants .lite-debutants-tagline {
  color: var(--lite-accent);
  font-weight: 700;
  font-size: inherit;
  line-height: 150%;
  text-align: right;
  margin: 0.5rem 0 0.85rem;
  scroll-margin-top: calc(var(--lite-sticky-nav-height) + 0.5rem);
}

.lite-page-debutants .lite-debutants-schedule {
  margin: 0.85rem 0 0.35rem;
  font-size: inherit;
  line-height: 150%;
  color: var(--lite-text);
  font-weight: 400;
}

.lite-page-debutants .lite-debutants-dates {
  color: var(--lite-text);
  font-weight: 400;
  margin-top: 0;
}

.lite-p12 {
  color: var(--lite-text);
}

.lite-p9,
.lite-p11,
.lite-p12 {
  font-size: inherit;
  line-height: inherit;
}

.lite-p9 strong,
.lite-p11 strong,
.lite-p12 strong {
  font-weight: 700;
}

.lite-t-lead {
  font-size: 1.05em;
}

.lite-odt-list {
  margin: 0.35rem 0 1rem 1.25rem;
  padding: 0;
}

.lite-odt-list li {
  margin: 0.2rem 0;
}

/* Page Équipe — liste à puces rondes, prénoms blancs */
.lite-team-intro {
  margin: 0 0 1rem;
}

.lite-team-list {
  list-style: disc;
  margin: 0 0 1rem 1.35rem;
  padding: 0;
  color: var(--lite-text);
}

.lite-team-list li {
  margin: 0.15rem 0;
  color: var(--lite-text);
  font-weight: 700;
}

.lite-team-list a {
  color: var(--lite-text);
  font-weight: 700;
  text-decoration: none;
}

.lite-team-list a:hover {
  text-decoration: underline;
}

/* Fiches professeurs (Équipe) — photo pleine largeur colonne texte */
.lite-page-profile .lite-profile-photo {
  margin: 0 0 1.25rem;
  width: 100%;
  max-width: 100%;
}

.lite-page-profile .lite-profile-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.35rem;
}

.lite-p13 { font-size: 1em; }

.lite-p14 { margin-bottom: 0.5rem; }

.lite-p3 a { font-weight: 600; }

.lite-prose p { margin: 0 0 1rem; }
.lite-prose .lite-odt-root > p:last-child {
  margin-bottom: 0 !important;
}

.lite-prose a {
  color: var(--lite-accent);
  text-decoration: none;
  font-weight: 600;
}

.lite-prose a:hover { text-decoration: underline; }

.lite-table-slot {
  width: 100%;
  max-width: 100%;
  margin: 1rem 0 1.25rem;
}

.lite-doc-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: inherit;
}

.lite-odt-root .lite-doc-table th,
.lite-odt-root .lite-doc-table td {
  text-align: left;
}

.lite-doc-table th,
.lite-doc-table td {
  border: none;
  padding: 0.55rem 0.35rem;
  text-align: center;
  vertical-align: middle;
  line-height: 1.35;
}

.lite-doc-table th {
  font-weight: 700;
  color: var(--lite-accent);
}

.lite-doc-table--schedule {
  min-height: 9.5rem;
}

/* Accueil — politique commune Horaires + Prix */
.lite-doc-table--schedule,
.lite-doc-table--prices {
  border-collapse: collapse;
}

.lite-doc-table--schedule td,
.lite-doc-table--prices td {
  color: var(--lite-text);
  font-weight: 600;
  text-align: left;
  vertical-align: middle;
}

.lite-doc-table--schedule td:first-child,
.lite-doc-table--prices td:first-child {
  font-weight: 700;
  color: var(--lite-text);
}

.lite-doc-table--schedule td:nth-child(2),
.lite-doc-table--prices td:nth-child(2) {
  font-weight: 600;
}

.lite-doc-table--schedule td:nth-child(3),
.lite-doc-table--prices td:nth-child(3) {
  text-align: right !important;
  font-weight: 600;
}

.lite-schedule-mid {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  max-width: 100%;
}

.lite-schedule-time {
  flex: 0 0 auto;
  white-space: nowrap;
}

.lite-schedule-rest {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  white-space: nowrap;
}

.lite-doc-table--schedule td:nth-child(3) .lite-stars {
  display: inline;
  vertical-align: -0.14em;
  line-height: inherit;
  font-size: 0.93em;
}

.lite-doc-table--prices {
  display: grid !important;
  grid-template-columns: var(--lite-accueil-cols);
  width: 100%;
  min-height: 0;
  border-collapse: collapse;
}

.lite-doc-table--prices tbody,
.lite-doc-table--prices tr {
  display: contents;
}

.lite-doc-table--prices td {
  font-weight: 600;
  vertical-align: middle;
  width: auto;
}

.lite-doc-table--prices td:first-child {
  grid-column: 1;
  color: var(--lite-text);
  font-weight: 700;
  text-align: left !important;
  padding-right: 0.35rem;
}

.lite-doc-table--prices td:nth-child(2) {
  grid-column: 2;
  text-align: left !important;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  white-space: nowrap;
}

.lite-doc-table--prices td:nth-child(3) {
  grid-column: 3;
  text-align: right !important;
  padding-left: 0.35rem;
  white-space: nowrap;
}

.lite-odt-root .lite-doc-table--prices td:first-child {
  text-align: left !important;
}

.lite-odt-root .lite-doc-table--prices td:nth-child(2) {
  text-align: left !important;
}

.lite-odt-root .lite-doc-table--prices td:nth-child(3) {
  text-align: right !important;
}

.lite-doc-table--prices tr:last-child td {
  font-size: 1.05em;
}

.lite-stars {
  color: var(--lite-orange-soft);
  letter-spacing: 0.04em;
}

/* Accueil : inverse orange ↔ bleu (écrase styles inline import) */
.lite-has-hero .lite-prose .lite-odt-root h2.lite-h-section,
.lite-has-hero .lite-prose .lite-odt-root h2:not(.lite-page-h):not(.lite-section-h),
.lite-has-hero .lite-prose .lite-odt-root a.lite-debutants-label,
.lite-has-hero .lite-prose .lite-odt-root .lite-debutants-label,
.lite-has-hero .lite-prose .lite-odt-root .lite-p5 > strong:first-child,
.lite-has-hero .lite-prose .lite-odt-root .lite-p6 > strong:first-child,
.lite-has-hero .lite-prose .lite-odt-root strong[style*="#f0a830"],
.lite-has-hero .lite-prose .lite-odt-root strong[style*="#F0A830"],
.lite-has-hero .lite-prose .lite-odt-root h2[style*="#f0a830"],
.lite-has-hero .lite-prose .lite-odt-root h2[style*="#F0A830"] {
  color: var(--lite-accent) !important;
}

.lite-prose .lite-odt-root h1.lite-page-h,
.lite-prose .lite-odt-root h2.lite-page-h,
.lite-prose .lite-odt-root h2.lite-section-h,
.lite-prose .lite-odt-root .lite-section-h {
  color: var(--lite-orange-soft) !important;
}

.lite-prose .lite-odt-root.lite-page-niveaux strong {
  color: var(--lite-text) !important;
  font-weight: 700;
}

/* Danser 'on 2 : titres de section en cyan */
.lite-prose .lite-odt-root.lite-page-danser-on-2 h2.lite-section-h {
  color: var(--lite-accent) !important;
}

.lite-prose .lite-stars,
.lite-prose span.lite-stars {
  color: var(--lite-orange-soft) !important;
}

.lite-prose .lite-doc-table--schedule tr td:first-child,
.lite-prose .lite-doc-table--schedule tr td:first-child span,
.lite-prose .lite-doc-table--schedule tr td:first-child span span {
  color: var(--lite-text) !important;
  font-weight: 700;
}

.lite-prose .lite-doc-table--prices td:first-child,
.lite-prose .lite-doc-table--prices td:first-child span,
.lite-prose .lite-doc-table--prices td:first-child span span {
  color: var(--lite-text) !important;
  font-weight: 700;
}

/* PC : Horaires + Prix — un peu plus étroits, jours à gauche, étoiles/€ à droite */
@media (min-width: 769px) {
  :root {
    /* col1 : jours / forfaits — assez large pour Wednesday ; col2 : horaires / nb cours */
    --lite-accueil-cols: 8.75rem minmax(16rem, 1.05fr) 7.15rem;
    --lite-hero-social-bottom: 7.25%;
    --lite-sticky-nav-height: var(--lite-sticky-nav-height-desktop);
  }

  body.lite-lang-en {
    --lite-accueil-cols: 9.25rem minmax(16.75rem, 1.08fr) 7.15rem;
  }

  body.lite-lang-nl {
    --lite-accueil-cols: 9rem minmax(16.5rem, 1.06fr) 7.15rem;
  }

  /* Bande menu sticky : plus haute sous les liens, liens inchangés (padding-top identique) */
  .lite-site-header--global {
    padding-bottom: clamp(0.8rem, 1.85vw, 1.2rem);
  }

  /* Réseaux : dégager le chevauchement du bloc texte (z-index 2) */
  .lite-hero-band {
    overflow-y: visible;
  }

  .lite-visual {
    overflow: visible;
  }

  .home .lite-hero-band {
    margin-bottom: calc(
      -1 * (var(--lite-text-block-lift) + var(--lite-hero-nudge-up)) + var(--lite-hero-text-gap) + 1.1rem
    );
  }

  .lite-table-slot,
  .lite-table-slot--prices {
    width: 100%;
    max-width: var(--lite-accueil-table-max);
    margin-left: var(--lite-accueil-table-indent);
    margin-right: 0;
  }

  .lite-doc-table--schedule,
  .lite-doc-table--prices {
    width: 100%;
    max-width: 100%;
    column-gap: clamp(0.5rem, 1.25vw, 0.85rem);
  }

  .lite-doc-table--schedule {
    display: grid !important;
    grid-template-columns: var(--lite-accueil-cols);
    table-layout: unset;
    align-items: baseline;
  }

  .lite-doc-table--schedule tbody,
  .lite-doc-table--schedule tr {
    display: contents;
  }

  .lite-doc-table--schedule td:first-child,
  .lite-doc-table--prices td:first-child {
    text-align: left !important;
    padding-right: 0.55rem;
  }

  .lite-doc-table--schedule td:first-child {
    grid-column: 1;
    width: auto !important;
  }

  .lite-doc-table--schedule td:nth-child(2) {
    grid-column: 2;
    text-align: left !important;
    width: auto !important;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .lite-doc-table--schedule td:nth-child(3) {
    grid-column: 3;
    text-align: right !important;
    width: auto !important;
    padding-left: 0.15rem;
    padding-right: 0;
  }

  .lite-schedule-mid {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35em;
    max-width: 100%;
  }

  .lite-schedule-mid > .lite-schedule-time {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .lite-schedule-mid > .lite-schedule-rest {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .lite-doc-table--schedule .lite-stars {
    display: inline;
    vertical-align: -0.14em;
    line-height: inherit;
    font-size: 0.93em;
  }

  .lite-doc-table--prices {
    display: grid !important;
    grid-template-columns: var(--lite-accueil-cols) !important;
  }

  .lite-doc-table--prices td:nth-child(2) {
    text-align: left !important;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .lite-doc-table--prices td:nth-child(3) {
    text-align: right !important;
    padding-left: 0.15rem;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  html {
    overflow-x: clip;
    --lite-font-base: clamp(1.15rem, 1.07rem + 0.38vw, 1.35rem);
    --lite-line-height: 1.55;
  }

  body.lite-home {
    overflow-x: clip;
  }

  .lite-main,
  .lite-page,
  .lite-content-shell,
  .lite-prose {
    overflow-x: clip;
    max-width: 100%;
  }

  /* Pas d'overflow sur html/body/main : casse position:sticky/fixed des ancêtres */
  .lite-hero-band {
    overflow-x: clip;
  }

  /* Menu toujours visible en scroll (fixed plus fiable que sticky sur mobile) */
  .lite-site-header--global {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
  }

  body.lite-home.has-preview .lite-site-header--global {
    top: var(--lite-preview-banner-h);
  }

  body.lite-home .lite-main {
    padding-top: var(--lite-sticky-nav-height);
  }

  body.lite-home.has-preview .lite-main {
    padding-top: calc(var(--lite-preview-banner-h) + var(--lite-sticky-nav-height));
  }

  body.lite-home.has-preview {
    padding-top: 0;
  }

  .home .lite-page {
    z-index: 1;
  }

  /* Bloc texte mobile : plus large qu'avant, mais pas collé aux bords */
  .lite-content-shell {
    width: 88%;
    max-width: 88%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .lite-nav-toggle {
    display: inline-flex !important;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }

  .lite-has-hero .lite-site-header .lite-hero-nav {
    display: none;
  }

  .lite-nav-wrap.is-open .lite-hero-nav {
    display: flex !important;
  }

  /* Header mobile : langue à gauche, hamburger à droite (toutes pages, y compris accueil) */
  .lite-header-bar,
  .lite-has-hero .lite-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.65rem;
  }

  .lite-header-lang,
  .lite-has-hero .lite-header-lang {
    position: static;
    transform: none;
    order: 0;
    flex: 0 0 auto;
    grid-column: auto;
  }

  .lite-site-lang {
    gap: 0.75rem;
    padding: 0.05rem 0.1rem;
  }

  .lite-site-lang a,
  .lite-site-lang-active {
    min-width: 3rem;
    min-height: 3rem;
    padding: 0.35rem 0.38rem;
  }

  .lite-site-lang-flag {
    font-size: 1.9rem;
  }

  .lite-site-header .lite-nav-wrap,
  .lite-has-hero .lite-site-header .lite-nav-wrap {
    order: 1;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    margin: 0 0 0 auto;
  }

  .lite-has-hero .lite-site-header .lite-hero-nav {
    transform: none;
    padding-right: 0;
  }

  /* Panneau menu compact : largeur = contenu (+ marge EN/NL), aligné à droite sous hamburger */
  .lite-site-header .lite-hero-nav {
    display: none;
    position: fixed;
    top: calc(var(--lite-sticky-nav-height) + clamp(0.85rem, 2.4vw, 1.45rem));
    left: auto;
    right: clamp(0.75rem, 2vw, 1.25rem);
    width: max-content;
    min-width: 13.75rem;
    max-width: min(18.5rem, calc(100vw - 1.5rem));
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.2rem 0.15rem;
    background: var(--lite-bg);
    border: 1px solid var(--lite-line);
    border-radius: 0.4rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - var(--lite-sticky-nav-height) - 2rem);
    transform: none !important;
  }

  body.lite-home.has-preview .lite-site-header .lite-hero-nav {
    top: calc(
      var(--lite-sticky-nav-height) +
      clamp(0.85rem, 2.4vw, 1.45rem) +
      var(--lite-preview-banner-h)
    );
  }

  .lite-nav-wrap.is-open .lite-hero-nav {
    display: flex;
  }

  .lite-hero-nav a,
  .lite-hero-nav .lite-nav-item,
  .lite-hero-nav .lite-nav-dropdown-toggle {
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
    padding: 0.48rem 0.55rem;
    font-size: inherit;
    line-height: 1.25;
  }

  .lite-nav-dropdown:hover .lite-nav-submenu,
  .lite-nav-dropdown:focus-within .lite-nav-submenu {
    display: none;
  }

  .lite-nav-dropdown.is-open .lite-nav-submenu {
    display: block;
  }

  /* Hero accueil mobile : centré (pas de vw — scrollbar), un peu plus haut */
  .lite-hero-band {
    position: relative;
    left: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  .home .lite-hero-band {
    margin-bottom: 0.9rem;
  }

  .home .lite-prose {
    padding-top: 0.3rem;
    margin-top: 0;
  }

  .lite-hero-band .lite-visual {
    flex: 0 0 auto;
    width: 98%;
    max-width: 98%;
    margin: -0.2rem auto 0;
    overflow: hidden;
  }

  /* Réseaux sous l'image (plus d'overlay qui masque l'ellipse) */
  .lite-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .lite-visual-img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transform: scale(1.04);
    transform-origin: center top;
  }

  .lite-visual-social {
    position: static;
    order: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 0.65rem clamp(2rem, 11vw, 3.35rem) 0.85rem 0;
    margin-top: 0.15rem;
  }

  .lite-visual .lite-hero-social {
    justify-content: flex-end;
  }

  .lite-visual .lite-hero-social svg {
    width: clamp(24px, 6vw, 32px);
    height: clamp(24px, 6vw, 32px);
  }

  .lite-site-header--global {
    min-height: var(--lite-sticky-nav-height);
    box-shadow: none;
  }

  .lite-site-header--global .lite-header-inner {
    width: 100%;
  }

  .lite-hero-nav a,
  .lite-hero-nav .lite-nav-item {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .lite-hero-nav > a:last-child,
  .lite-hero-nav > .lite-nav-item:last-child {
    border-bottom: 0;
  }

  .lite-nav-dropdown {
    width: 100%;
  }

  .lite-nav-dropdown-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    text-align: left;
  }

  .lite-nav-submenu {
    position: static;
    transform: none;
    display: none;
    min-width: 0;
    max-height: none;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
  }

  .lite-nav-submenu::before {
    display: none;
  }

  .lite-nav-dropdown.is-open .lite-nav-submenu {
    display: block;
  }

  .lite-nav-submenu a {
    padding: 0.42rem 0.55rem 0.42rem 0.95rem;
    font-size: 0.94em;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .lite-nav-submenu li:last-child a {
    border-bottom: 0;
  }

  /* Tableaux accueil : pleine largeur colonne, lignes visibles, pas de trait gris */
  .lite-table-slot {
    width: 100%;
    max-width: 100%;
    margin: 0.85rem 0 0.75rem;
    overflow-x: clip;
  }

  .lite-day-long,
  .lite-time-full {
    display: none;
  }

  .lite-day-abbr,
  .lite-time-short {
    display: inline;
  }

  .lite-doc-table--schedule .lite-schedule-time {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
  }

  .lite-doc-table--schedule td:first-child {
    width: auto;
    min-width: 2.5rem;
    max-width: none;
    padding-right: clamp(0.55rem, 2.5vw, 0.85rem);
  }

  .lite-doc-table--schedule td:nth-child(2) {
    width: auto;
    padding-left: 0.15rem;
    padding-right: 0.3rem;
  }

  .lite-doc-table {
    display: table;
    width: 100%;
    max-width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    font-size: 0.93em;
  }

  .lite-doc-table--schedule,
  .lite-doc-table--prices {
    min-height: 0;
  }

  .lite-doc-table--prices {
    display: grid !important;
    grid-template-columns: var(--lite-accueil-cols);
    width: 100%;
    max-width: 100%;
    table-layout: unset;
  }

  .lite-doc-table--prices tbody,
  .lite-doc-table--prices tr {
    display: contents;
  }

  .lite-doc-table th,
  .lite-doc-table td {
    border: none !important;
    padding: 0.35rem 0.2rem;
    white-space: nowrap;
    vertical-align: middle;
  }

  .lite-doc-table--schedule td:nth-child(3) {
    text-align: right !important;
    padding-right: 0;
    padding-left: clamp(0.4rem, 1.75vw, 0.6rem);
    white-space: nowrap;
  }

  body.lite-lang-en .lite-doc-table--schedule td:nth-child(2) {
    padding-right: 0.35rem;
  }

  body.lite-lang-en .lite-doc-table--schedule td:nth-child(3) {
    min-width: 2.85rem;
    padding-left: 0.5rem;
  }

  body.lite-lang-nl .lite-doc-table--schedule td:nth-child(2) {
    padding-right: 0.35rem;
  }

  body.lite-lang-nl .lite-doc-table--schedule td:nth-child(3) {
    min-width: 2.85rem;
    padding-left: 0.5rem;
  }

  .lite-table-slot--prices {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    overflow-x: visible;
  }

  .lite-doc-table--prices td:first-child {
    padding-right: 0.2rem;
  }

  .lite-doc-table--prices td:nth-child(2) {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  .lite-doc-table--prices td:nth-child(3) {
    padding-left: 0.2rem;
  }

  .lite-content-shell .lite-prose .lite-doc-table--schedule .lite-stars,
  .lite-content-shell .lite-prose .lite-doc-table--schedule [class*="lite-stars"] {
    font-size: calc(0.95em - 1pt) !important;
  }
}

@media (max-width: 640px) {
  .lite-doc-table th,
  .lite-doc-table td {
    padding: 0.32rem 0.15rem;
  }
}

/* Pied de page — fond noir, contact + mentions (toutes les pages lite) */
.lite-footer {
  margin-top: 0;
  padding: var(--lite-footer-gap) 0 1.75rem;
  border-top: none;
  background: #000000;
  color: #ffffff;
  font-size: var(--lite-font-base);
  line-height: 1.6;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lite-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem 1.75rem;
  margin-bottom: 1.5rem;
  padding-top: 0;
  padding-bottom: 0;
}

.lite-footer-contact {
  flex: 1 1 12rem;
  min-width: min(100%, 12rem);
}

.lite-footer-heading {
  margin: 0 0 0.5rem;
  font-size: inherit;
  font-weight: 700;
  color: var(--lite-orange-soft) !important;
}

.lite-footer-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.lite-footer-list li {
  margin: 0.35rem 0;
  font-size: inherit;
}

.lite-footer-list a {
  color: var(--lite-accent);
  text-decoration: none;
  font-weight: inherit;
  font-size: inherit;
}

.lite-footer-list a:hover { text-decoration: underline; }

.lite-footer-muted {
  opacity: 0.75;
  font-size: inherit;
}

.lite-footer-map {
  display: block;
  flex: 0 0 auto;
  width: var(--lite-map-w);
  height: var(--lite-map-h);
  border-radius: 0.35rem;
  overflow: hidden;
  border: 1px solid var(--lite-line);
  min-height: 0;
}

.lite-footer-map iframe {
  display: block;
  width: var(--lite-map-w);
  height: var(--lite-map-h);
  min-height: 0;
  border: 0;
  pointer-events: none;
}

.lite-footer-bottom {
  padding-top: 1rem;
  padding-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: inherit;
}

.lite-footer-copy {
  margin: 0;
  font-size: inherit;
  opacity: 0.85;
}

/* Gutenberg : pas de marge parasite vs footer */
.lite-prose .wp-block-html,
.lite-prose .entry-content,
.lite-prose > .wp-block-html > .lite-prose {
  margin: 0;
  padding: 0;
  max-width: none;
  font-size: inherit;
  line-height: inherit;
}

/* Import WP : forcer la même taille que le footer (écrase styles inline 11 pt) */
.lite-content-shell .lite-prose .lite-odt-root h2,
.lite-content-shell .lite-prose .lite-odt-root h3,
.lite-content-shell .lite-prose,
.lite-content-shell .lite-prose .lite-odt-root,
.lite-content-shell .lite-prose .lite-odt-root p,
.lite-content-shell .lite-prose .lite-odt-root li,
.lite-content-shell .lite-prose .lite-odt-root td,
.lite-content-shell .lite-prose .lite-odt-root th,
.lite-content-shell .lite-prose .lite-odt-root span,
.lite-content-shell .lite-prose [style*="font-size"],
.lite-content-shell .lite-prose p,
.lite-content-shell .lite-prose li,
.lite-content-shell .lite-prose td,
.lite-content-shell .lite-prose th,
.lite-content-shell .lite-doc-table,
.lite-content-shell .lite-footer-contact,
.lite-content-shell .lite-footer-list,
.lite-content-shell .lite-footer-list li,
.lite-content-shell .lite-footer-list a {
  font-size: inherit !important;
  line-height: inherit !important;
}

.lite-content-shell .lite-prose .lite-doc-table--schedule .lite-stars,
.lite-content-shell .lite-prose .lite-doc-table--schedule [class*="lite-stars"] {
  display: inline !important;
  vertical-align: -0.14em !important;
  line-height: inherit !important;
  font-size: 0.93em !important;
}

/* Blocs Gutenberg sans wrapper ODT */
.lite-prose .wp-block-paragraph,
.lite-prose .wp-block-list,
.lite-prose .wp-block-table {
  font-size: inherit;
}

.lite-prose .wp-block-table {
  max-width: var(--lite-table-max);
  margin-left: auto;
  margin-right: auto;
}

.lite-prose .wp-block-table td,
.lite-prose .wp-block-table th {
  font-size: inherit;
  padding: 0.55rem 0.4rem;
}
