/* ═══════════════════════════════════════════════════════════
   Pages audience (profs, élèves, évènementiel) — réutilise styles-ecoles
   L’accent --blue est redéfini par page sur .page-audience-main
   ═══════════════════════════════════════════════════════════ */

body.page-profs .page-audience-main {
  --blue: var(--violet);
}

/* Hero profs — bloc titre plus large */
body.page-profs .ec-hero__content {
  max-width: min(68rem, 94vw);
}

body.page-profs .ec-hero__lead {
  max-width: min(52rem, 90vw);
}

/* Section profil — visuels sans rognage */
body.page-profs .ec-moment__eyebrow {
  display: block;
  margin-bottom: var(--space-sm);
}

body.page-profs .ec-moment__heading {
  max-width: 22ch;
}

body.page-profs .ec-moments__title {
  max-width: 28ch;
}

body.page-profs .ec-profile__lead {
  max-width: 52ch;
  margin-inline: auto;
  text-align: center;
  color: var(--grey-700);
}

body.page-profs .ec-moment__media img {
  width: auto;
  height: auto;
  max-width: min(100%, 480px);
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center top;
}

body.page-profs .ec-moments__cta {
  margin-top: var(--space-2xl);
  justify-content: center;
}

body.page-profs .ec-profile .ec-moment__number {
  display: none;
}

html.theme-dark body.page-profs .ec-profile__lead {
  color: rgba(255, 255, 255, 0.72);
}

/* Citation profs — halos violet */
body.page-profs .ec-moment__body--brand-gradient {
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    #6ed4ff 50%,
    var(--violet) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Bannière image — entraînement (pleine largeur) */
body.page-profs .ec-image-banner {
  padding: 0;
  width: 100%;
}

body.page-profs .ec-image-banner__figure {
  position: relative;
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: #000;
}

body.page-profs .ec-image-banner__image {
  width: 100%;
  height: auto;
  display: block;
}

body.page-profs .ec-image-banner__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.page-profs .ec-image-banner__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 42%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.28) 72%,
    transparent 100%
  );
}

body.page-profs .ec-image-banner__copy {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 33.333%;
  display: flex;
  align-items: center;
  z-index: 1;
}

body.page-profs .ec-image-banner__copy .container {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.8vw, 1rem);
}

body.page-profs .ec-image-banner__title {
  color: #fff;
  font-size: clamp(1.65rem, 3.8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 18ch;
}

body.page-profs .ec-image-banner__lead {
  margin: 0;
  max-width: 42ch;
  font-size: clamp(0.95rem, 1.55vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 640px) {
  body.page-profs .ec-image-banner__copy {
    height: 38%;
  }

  body.page-profs .ec-image-banner__title {
    max-width: none;
    font-size: clamp(1.35rem, 6.5vw, 1.85rem);
  }
}

body.page-eleves .page-audience-main {
  --blue: var(--orange);
}

/* Hero élèves — bloc titre + texte plus large (texte long) */
body.page-eleves .ec-hero__content {
  max-width: min(72rem, 94vw);
}

body.page-eleves .ec-hero__lead {
  max-width: min(64rem, 90vw);
}

/* Tarifs élèves */
body.page-eleves .ec-price__title {
  max-width: 20ch;
}

body.page-eleves .ec-price__amount--word {
  font-size: clamp(2.75rem, 8vw, 5rem);
}

body.page-eleves .ec-price__payments--stack {
  margin-bottom: var(--space-xl);
}

html.theme-dark body.page-eleves .page-audience-main .ec-price__amount,
html.theme-dark body.page-eleves .page-audience-main .ec-price__onboard-title {
  color: #fafafa;
}

/* Moments élèves — eyebrow, titres longs, placeholders */
body.page-eleves .ec-moment__eyebrow {
  display: block;
  margin-bottom: var(--space-sm);
}

body.page-eleves .ec-moment__heading {
  max-width: 22ch;
}

body.page-eleves .ec-moments__title {
  max-width: 20ch;
}

body.page-eleves .ec-moments__cta {
  margin-top: var(--space-2xl);
  justify-content: center;
}

/* Citation élèves — accents et halos orange */
body.page-eleves .ec-partners::before {
  background:
    radial-gradient(ellipse 70% 80% at 15% 20%, rgba(230, 145, 56, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 55% 60% at 88% 75%, rgba(230, 145, 56, 0.1) 0%, transparent 50%);
}

body.page-eleves .ec-partners__inner::after {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--orange) 90%, white 10%),
    var(--orange)
  );
}

body.page-eleves .ec-partners__accent {
  color: var(--orange);
}

body.page-eleves .ec-partners__author {
  margin-top: var(--space-lg);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}

body.page-eleves .ec-street__cta-wrap.hero-cta {
  flex-wrap: wrap;
}

/* Visuels moments — sans rognage, hauteur verticale généreuse */
body.page-eleves .ec-moment__media img {
  width: auto;
  height: auto;
  max-width: min(100%, 480px);
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center top;
}

body.page-evenementiel .page-audience-main {
  --blue: #c9a227;
}

body.page-evenementiel .ec-street__media--video {
  aspect-ratio: auto;
  max-width: min(100%, 560px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.page-evenementiel .ec-street__media--video .ec-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: inherit;
  background: #000;
}

body.page-evenementiel .ec-street__media--video .ec-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

body.page-evenementiel .ec-video-embed__fallback {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.page-evenementiel .ec-video-embed__fallback:hover {
  color: #fff;
}

body.page-profs,
body.page-eleves,
body.page-evenementiel {
  background: var(--white);
  color: var(--anthracite);
}

html.theme-dark body.page-profs,
html.theme-dark body.page-eleves,
html.theme-dark body.page-evenementiel {
  background: #0a0a0a;
  color: #fafafa;
}

html.theme-dark .page-audience-main .section-title,
html.theme-dark .page-audience-main .ec-moment__heading,
html.theme-dark .page-audience-main .ec-faq__cta-headline {
  color: #fafafa;
}

html.theme-dark .page-audience-main .section-lead,
html.theme-dark .page-audience-main .ec-moment__body,
html.theme-dark .page-audience-main .ec-faq__answer,
html.theme-dark .page-audience-main .ec-street__body {
  color: rgba(255, 255, 255, 0.72);
}

.page-audience-main {
  padding-top: 0;
}

.page-audience-main > section.ec-hero {
  margin-block: 0;
}

.page-audience-main > section.ec-hero + section {
  margin-block-start: 0;
}

.page-audience-main > section {
  margin-block: var(--space-2xl);
}

.page-audience-main > section.ec-section-pad {
  padding-block: clamp(4.5rem, 11vw, 8rem);
}

.page-audience-main > section.ec-image-banner {
  padding-block: 0;
}

@media (max-width: 768px) {
  .page-audience-main > section {
    margin-block: var(--space-xl);
  }

  .page-audience-main > section.ec-section-pad {
    padding-block: clamp(3.5rem, 14vw, 5.5rem);
  }
}

/* ── Bloc sémantique styles / proximité (élèves) ── */
.ec-keywords {
  text-align: center;
}

.ec-keywords__title {
  margin-bottom: var(--space-md);
}

.ec-keywords__lead {
  max-width: 42rem;
  margin: 0 auto var(--space-xl);
}

.ec-keywords__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 52rem;
  margin-inline: auto;
}

.ec-keywords__tags li {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
}

html.theme-dark body.page-eleves .ec-keywords__tags li {
  border-color: rgba(255, 255, 255, 0.12);
}
