/* ═══════════════════════════════════════════════════════════
   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;
  z-index: 1;
  box-sizing: border-box;
  /* marge haute nette sous le bord de l’image / dégradé */
  padding-top: clamp(3.5rem, 9vw, 6.5rem);
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

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 {
    padding-top: clamp(2rem, 8vw, 3rem);
    padding-bottom: clamp(1.25rem, 5vw, 2rem);
  }

  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);
}

/* ── Profs : section coûts & forfaits ── */
body.page-profs .pr-costs__title {
  max-width: 22ch;
}

body.page-profs .pr-costs__lead {
  max-width: 42rem;
  margin: 0 0 var(--space-2xl);
  color: var(--grey-700);
}

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

body.page-profs .pr-costs__layout {
  display: grid;
  gap: 1.5rem;
}

body.page-profs .pr-costs__block {
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--radius-lg, 1.25rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.55);
}

body.page-profs .pr-costs__kicker {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.55rem;
}

body.page-profs .pr-costs__block-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  color: var(--text-primary, #fafafa);
}

body.page-profs .pr-costs__block-intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 52ch;
}

body.page-profs .pr-costs__block-intro strong {
  color: #fff;
  font-weight: 700;
}

body.page-profs .pr-costs__example {
  margin-top: 1.35rem;
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(177, 100, 238, 0.28);
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(177, 100, 238, 0.12), transparent 55%),
    rgba(0, 0, 0, 0.35);
}

body.page-profs .pr-costs__example-tag {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

body.page-profs .pr-costs__example-tag strong {
  color: #fff;
  font-weight: 800;
}

body.page-profs .pr-costs__flow {
  display: grid;
  gap: 0.75rem;
  align-items: stretch;
}

@media (min-width: 720px) {
  body.page-profs .pr-costs__flow {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.65rem;
  }
}

body.page-profs .pr-costs__flow-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.05rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

body.page-profs .pr-costs__flow-item--prof {
  border-color: rgba(177, 100, 238, 0.35);
  background: rgba(177, 100, 238, 0.08);
}

body.page-profs .pr-costs__pill {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}

body.page-profs .pr-costs__pill--eleve {
  background: rgba(230, 145, 56, 0.2);
  color: var(--orange);
}

body.page-profs .pr-costs__pill--prof {
  background: rgba(177, 100, 238, 0.25);
  color: #d4a8f8;
}

body.page-profs .pr-costs__flow-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}

body.page-profs .pr-costs__flow-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

body.page-profs .pr-costs__flow-hint {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.52);
}

body.page-profs .pr-costs__flow-arrow {
  display: none;
  color: rgba(255, 255, 255, 0.35);
  justify-content: center;
}

@media (min-width: 720px) {
  body.page-profs .pr-costs__flow-arrow {
    display: flex;
  }
}

body.page-profs .pr-costs__footnote {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

body.page-profs .pr-costs__forfait-layout {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

body.page-profs .pr-costs__forfait-top {
  display: grid;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 720px) {
  body.page-profs .pr-costs__forfait-top {
    /* largeur fixe : évite que l’image 1024px force la colonne à s’étirer */
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.15rem;
  }
}

body.page-profs .pr-costs__forfait-thumb {
  margin: 0;
  justify-self: center;
  width: min(100%, 220px);
  max-width: 220px;
  min-width: 0;
}

@media (min-width: 720px) {
  body.page-profs .pr-costs__forfait-thumb {
    justify-self: start;
  }
}

body.page-profs .pr-costs__forfait-thumb img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fff;
  box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.65);
}

body.page-profs .pr-costs__forfait-thumb figcaption {
  margin-top: 0.45rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

body.page-profs .pr-costs__forfait-story {
  display: grid;
  gap: 1rem;
}

body.page-profs .pr-costs__wallet {
  display: grid;
  gap: 0;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
}

body.page-profs .pr-costs__wallet-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

body.page-profs .pr-costs__wallet-row:first-child {
  border-top: none;
}

body.page-profs .pr-costs__wallet-row--pay {
  background: rgba(230, 145, 56, 0.1);
}

body.page-profs .pr-costs__wallet-key {
  color: rgba(255, 255, 255, 0.58);
}

body.page-profs .pr-costs__wallet-val {
  color: rgba(255, 255, 255, 0.9);
  text-align: right;
}

body.page-profs .pr-costs__wallet-val strong {
  font-weight: 800;
  color: #fff;
}

body.page-profs .pr-costs__wallet-val--accent strong {
  color: var(--orange);
}

body.page-profs .pr-costs__lesson-compare {
  padding: 1rem 1.05rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

body.page-profs .pr-costs__lesson-compare-title {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

body.page-profs .pr-costs__lesson-compare-title strong {
  color: #fff;
  font-weight: 800;
}

body.page-profs .pr-costs__compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

body.page-profs .pr-costs__compare-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
}

body.page-profs .pr-costs__compare-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

body.page-profs .pr-costs__compare-amount {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}

body.page-profs .pr-costs__compare-col--real .pr-costs__compare-amount {
  color: var(--orange);
}

body.page-profs .pr-costs__compare-note {
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.52);
}

body.page-profs .pr-costs__compare-divider {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.28);
}

body.page-profs .pr-costs__takeaway {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border-left: 3px solid var(--violet);
  background: rgba(177, 100, 238, 0.08);
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

body.page-profs .pr-costs__takeaway em {
  font-style: normal;
  font-weight: 700;
  color: #fff;
}
