/* ==========================================================================
   Influentia RDC — site public
   ========================================================================== */

body.site { background: var(--paper); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(243, 246, 251, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; white-space: nowrap; padding: .5rem .7rem; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); position: relative; }
.site-nav ul a:hover { background: rgba(8, 20, 48, .05); color: var(--ink); }
.site-nav ul a[aria-current="page"]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 2px; height: 2px; border-radius: 2px; background: var(--bulb); }
.site-nav__cta { display: flex; align-items: center; gap: 14px; }
.nav-login { color: var(--text); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; }
.nav-login:hover { color: var(--sky-deep); }

/* Variante sombre au-dessus du héros */
.site-header.is-dark:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-dark:not(.is-scrolled) .site-nav ul a,
.site-header.is-dark:not(.is-scrolled) .nav-login { color: #fff; }
.site-header.is-dark:not(.is-scrolled) .site-nav ul a:hover { background: rgba(255, 255, 255, .08); }
.site-header.is-dark:not(.is-scrolled) .nav-toggle__bars i { background: #fff; }
.has-dark-top .site-header { margin-bottom: -72px; }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 0; background: transparent; cursor: pointer; place-items: center; position: relative; z-index: 2; }
.nav-toggle__bars { display: grid; gap: 6px; width: 22px; }
.nav-toggle__bars i { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-open .nav-toggle__bars i:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle__bars i:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; margin: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 96px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--ink); color: #fff;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    overflow-y: auto;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .nav-toggle__bars i { background: #fff !important; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { color: #fff !important; font-family: var(--font-display); font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 600; letter-spacing: -.02em; padding: .35rem 0; border-radius: 0; }
  .site-nav ul a:hover { background: none !important; color: var(--bulb) !important; }
  .site-nav ul a[aria-current="page"] { color: var(--bulb) !important; }
  .site-nav ul a[aria-current="page"]::after { display: none; }
  .site-nav__cta { margin-top: auto; padding-top: 32px; flex-direction: column; align-items: stretch; }
  .site-nav__cta .btn { min-height: 54px; }
  .nav-login { color: #fff !important; text-align: center; padding: .8rem; border: 1.5px solid rgba(255,255,255,.25); border-radius: 999px; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: transparent !important; backdrop-filter: none; border-color: transparent; }
  .nav-open .brand { position: relative; z-index: 2; filter: brightness(1.15); }
}

/* ---------- Héros « projecteur » ---------- */
.hero {
  --mx: 68%; --my: 42%; --r: 260px;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 920px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: #fff;
  padding: 140px 0 clamp(40px, 7vw, 88px);
}
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__photo { position: absolute; inset: 0; background: var(--photo) center 30% / cover no-repeat; }
.hero__photo--dim { filter: grayscale(1) brightness(.26) contrast(1.15); transform: scale(1.04); }
.hero__photo--lit {
  filter: saturate(1.05) brightness(.95);
  transform: scale(1.04);
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, rgba(0,0,0,.85) 35%, transparent 100%);
          mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, rgba(0,0,0,.85) 35%, transparent 100%);
}
.hero__beam {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle calc(var(--r) * 1.6) at var(--mx) var(--my), rgba(255, 198, 51, .16), transparent 70%),
    linear-gradient(180deg, rgba(8,20,48,.55) 0%, rgba(8,20,48,0) 30%, rgba(8,20,48,.25) 55%, rgba(8,20,48,.94) 100%);
  pointer-events: none;
}
.hero__content { position: relative; }
.hero__title {
  font-size: var(--fs-hero); line-height: .96; letter-spacing: -0.035em; font-weight: 750;
  max-width: 13ch; margin-bottom: .35em;
  text-wrap: balance;
}
.hero__lead { max-width: 54ch; font-size: clamp(1.05rem, 1rem + .35vw, 1.28rem); color: rgba(255,255,255,.82); margin-bottom: 2rem; }
.hero__actions { gap: 12px; }
.hero__event {
  position: absolute; right: var(--gutter); top: 120px; z-index: 1;
  width: min(320px, 40vw);
  display: grid; gap: 6px; padding: 18px 20px;
  border-radius: var(--r-lg); color: #fff; text-decoration: none;
  background: rgba(8, 20, 48, .5); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .2s, transform .3s var(--ease);
}
.hero__event:hover { color: #fff; border-color: var(--bulb); transform: translateY(-2px); }
.hero__event-label { font-size: var(--fs-xs); color: var(--bulb); font-weight: 600; }
.hero__event strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; font-weight: 600; }
.hero__event-meta { font-size: var(--fs-xs); color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .hero { --r: 170px; padding-top: 112px; min-height: 92svh; }
  .hero__event { position: relative; right: auto; top: auto; width: auto; margin: 28px var(--gutter) 0; }
  .hero__actions .btn { flex: 1 1 220px; }
  .hero__beam { background:
    radial-gradient(circle calc(var(--r) * 1.6) at var(--mx) var(--my), rgba(255, 198, 51, .12), transparent 70%),
    linear-gradient(180deg, rgba(8,20,48,.5) 0%, rgba(8,20,48,.5) 30%, rgba(8,20,48,.78) 55%, rgba(8,20,48,.96) 100%); }
  .hero__lead { text-shadow: 0 1px 12px rgba(8,20,48,.8); }
}

/* ---------- En-têtes de section ---------- */
section { padding: clamp(56px, 9vw, 120px) 0; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head h2 { margin-bottom: .35em; text-wrap: balance; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }
.section-head .lead { margin: 0; }

/* ---------- Piliers ---------- */
.pillars__grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.pillar { position: relative; border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 12px; overflow: hidden; text-decoration: none; color: inherit; }
.pillar h3 { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.pillar p { margin: 0; color: var(--text-2); max-width: 46ch; }
.pillar .link-arrow { margin-top: auto; padding-top: 8px; }
.pillar__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.pillar__icon .ic { width: 26px; height: 26px; }
.pillar--kelasi { grid-row: span 2; background: #fff; border: 1px solid var(--line); }
.pillar--kelasi .pillar__icon { background: var(--sky-soft); color: var(--sky-deep); }
.pillar__list { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pillar__list li { border-bottom: 1px solid var(--line); }
.pillar__list a { display: flex; justify-content: space-between; align-items: center; padding: .85rem 0; color: var(--text); text-decoration: none; font-weight: 600; font-family: var(--font-display); font-size: 1.12rem; letter-spacing: -.01em; }
.pillar__list a::after { content: "→"; font-family: var(--font-body); color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.pillar__list a:hover { color: var(--sky-deep); }
.pillar__list a:hover::after { transform: translateX(4px); color: var(--sky-deep); }
.pillar--ortho { background: var(--bulb); }
.pillar--ortho p { color: #4A3A10; }
.pillar--ortho .pillar__icon { background: var(--ink); color: var(--bulb); }
.pillar--ortho .link-arrow { color: var(--ink); }
.pillar--events { background: var(--ink) var(--img) center / cover; color: #fff; min-height: 260px; justify-content: flex-end; }
.pillar--events::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,48,.15), rgba(8,20,48,.9)); transition: opacity .3s; }
.pillar--events > * { position: relative; }
.pillar--events p { color: rgba(255,255,255,.82); }
.pillar--events .pillar__icon { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); margin-bottom: auto; }
.pillar--events .link-arrow { color: var(--bulb); }
.pillar--events:hover { color: #fff; }
.pillar--events:hover::before { opacity: .85; }
@media (max-width: 860px) { .pillars__grid { grid-template-columns: 1fr; } .pillar--kelasi { grid-row: auto; } }

/* ---------- Rangées de formations ---------- */
.courses-home { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-rows { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.course-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px 40px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.course-row__main { text-decoration: none; color: inherit; }
.course-row__main h3 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.85rem); margin-bottom: .3em; transition: color .2s; }
.course-row__main p { margin: 0; color: var(--text-2); font-size: var(--fs-sm); max-width: 60ch; }
.course-row__main:hover h3 { color: var(--sky-deep); }
.course-row__meta { display: flex; gap: 28px; margin: 0; }
.course-row__meta dt { font-size: var(--fs-xs); color: var(--muted); }
.course-row__meta dd { margin: 0; font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; }
.course-row__cta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 190px; }
@media (max-width: 960px) {
  .course-row { grid-template-columns: 1fr; gap: 14px; }
  .course-row__cta { flex-direction: row; align-items: center; justify-content: space-between; min-width: 0; }
}

/* ---------- Bandeau OrthoChallenge ---------- */
.ortho-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.ortho-band::before { content: "Aa"; position: absolute; right: -2vw; top: -6vw; font-family: var(--font-display); font-weight: 800; font-size: 34vw; line-height: 1; color: rgba(255, 198, 51, .05); pointer-events: none; }
.ortho-band__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; }
.ortho-band h2 { font-size: var(--fs-3xl); text-wrap: balance; }
.ortho-band p { color: rgba(255,255,255,.8); max-width: 52ch; }
.ortho-band__amb { font-size: var(--fs-sm); color: var(--bulb) !important; margin-bottom: 1.6rem; }
.ortho-band__photo { margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-3); transform: rotate(1.2deg); }
.ortho-band__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .ortho-band__inner { grid-template-columns: 1fr; } .ortho-band__photo { transform: none; } }

/* ---------- Mosaïque ---------- */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 15vw, 190px); gap: 12px; }
.mosaic__item { border-radius: var(--r-lg); overflow: hidden; background: var(--line); position: relative; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic__item--1 { grid-column: span 3; grid-row: span 2; }
.mosaic__item--2 { grid-column: span 3; }
.mosaic__item--3 { grid-column: span 1; grid-row: span 1; }
.mosaic__item--4 { grid-column: span 2; }
.mosaic__item--5 { display: none; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .mosaic__item--1 { grid-column: span 2; grid-row: span 2; }
  .mosaic__item--2, .mosaic__item--3, .mosaic__item--4 { grid-column: span 1; grid-row: span 1; }
  .mosaic__item--4 { grid-column: span 2; }
}

/* ---------- Portraits ---------- */
.team-home { background: #fff; border-top: 1px solid var(--line); }
.portraits { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.portrait { margin: 0; }
.portrait__img { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--sky-soft); display: grid; place-items: center; margin-bottom: 14px; }
.portrait__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(.15); transition: filter .4s, transform .6s var(--ease); }
.portrait:hover .portrait__img img { filter: none; transform: scale(1.03); }
.portrait__img span { font-family: var(--font-display); font-size: 3rem; color: var(--sky-deep); }
.portrait figcaption { display: grid; gap: 2px; }
.portrait strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.01em; }
.portrait figcaption span { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.45; }

/* ---------- Appel à l'action ---------- */
.cta-band { padding-top: 0; }
.cta-band__inner { background: var(--bulb); border-radius: var(--r-xl); padding: clamp(32px, 6vw, 72px); display: grid; gap: 8px; justify-items: start; position: relative; overflow: hidden; }
.cta-band__inner::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(8, 20, 48, .07); }
.cta-band h2 { margin: 0; max-width: 18ch; }
.cta-band p { color: #4A3A10; max-width: 52ch; margin-bottom: 18px; }
.cta-band .btn-ghost { --b-bd: rgba(8,20,48,.3); --b-fg: var(--ink); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(56px, 8vw, 96px) 0 28px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; font-size: var(--fs-sm); margin-bottom: 20px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-sm); }
.footer-col h2 { font-family: var(--font-body); font-size: var(--fs-sm); color: #fff; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.footer-col a, .footer-col span { color: rgba(255,255,255,.72); text-decoration: none; display: inline-flex; gap: 8px; align-items: flex-start; }
.footer-col a:hover { color: var(--bulb); }
.footer-col .ic { margin-top: .2em; }
.socials { display: flex; gap: 8px; margin-top: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid !important; place-items: center; background: rgba(255,255,255,.07); }
.socials a:hover { background: var(--bulb); color: var(--ink) !important; }
.footer-word { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 22vw, 19rem); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); margin: 48px 0 24px; white-space: nowrap; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--fs-xs); border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.85); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
.page-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); background: #fff; }
.page-hero h1 { max-width: 16ch; text-wrap: balance; margin-bottom: .25em; }
.page-hero .lead { margin: 0; }
.page-hero--ink { background: var(--ink); color: #fff; border: 0; position: relative; overflow: hidden; }
.page-hero--ink .lead { color: rgba(255,255,255,.78); }
.breadcrumb { display: flex; gap: 6px; align-items: center; font-size: var(--fs-xs); color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--sky-deep); }
.page-hero--ink .breadcrumb { color: rgba(255,255,255,.6); }

/* Catalogue */
.catalog-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.seg { display: inline-flex; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: .5rem 1rem; border-radius: 999px; font-weight: 600; font-size: var(--fs-sm); color: var(--text-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.course-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .3s; }
.course-card:hover { border-color: #C9D5E6; box-shadow: var(--shadow-2); }
.course-card__cover { aspect-ratio: 16 / 9; position: relative; overflow: hidden; display: block; text-decoration: none; }
.course-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.course-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-card__body h3 { font-size: 1.35rem; margin: 0; }
.course-card__body h3 a { color: inherit; text-decoration: none; }
.course-card__body h3 a:hover { color: var(--sky-deep); }
.course-card__body p { margin: 0; color: var(--text-2); font-size: var(--fs-sm); }
.course-card__facts { display: flex; gap: 16px; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--muted); margin-top: auto; padding-top: 8px; }
.course-card__facts span { display: inline-flex; align-items: center; gap: 5px; }
.course-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--line-2); }
.course-card__price { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.course-card[hidden] { display: none; }

/* Visuel typographique de repli */
.type-cover { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px 20px; overflow: hidden; container-type: inline-size; }
.type-cover b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 11cqi, 3.4rem); line-height: .9; letter-spacing: -.04em; max-width: 9ch; position: relative; }
.type-cover::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; right: -18%; top: -30%; opacity: .5; }
.type-cover.tone-sky { background: var(--sky-deep); color: #fff; }
.type-cover.tone-sky::before { background: var(--sky); }
.type-cover.tone-bulb { background: var(--bulb); color: var(--ink); }
.type-cover.tone-bulb::before { background: #FFE08A; }
.type-cover.tone-ink { background: var(--ink); color: var(--bulb); }
.type-cover.tone-ink::before { background: var(--ink-3); }
.type-cover.tone-mint { background: #0E7C66; color: #fff; }
.type-cover.tone-mint::before { background: #14A586; }

/* Étapes (vraie séquence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bulb); font-family: var(--font-display); font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 1.15rem; margin-bottom: .35em; }
.steps p { margin: 0; color: var(--text-2); font-size: var(--fs-sm); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Détail d'une formation */
.course-hero { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.course-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.course-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4rem); text-wrap: balance; }
.course-hero .lead { color: rgba(255,255,255,.8); }
.course-hero .breadcrumb { color: rgba(255,255,255,.6); }
.course-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; font-size: var(--fs-sm); color: rgba(255,255,255,.85); }
.course-hero__facts span { display: inline-flex; gap: 8px; align-items: center; }
.course-hero__facts .ic { color: var(--bulb); }
.enroll-card { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-3); position: sticky; top: 92px; }
.enroll-card__cover { aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; position: relative; margin-bottom: 18px; }
.enroll-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.enroll-card__price { font-family: var(--font-display); font-size: 2rem; font-weight: 750; letter-spacing: -.02em; margin-bottom: 4px; }
.enroll-card .btn { width: 100%; margin-top: 12px; }
.enroll-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: var(--fs-sm); color: var(--text-2); }
.enroll-card li { display: flex; gap: 10px; align-items: flex-start; }
.enroll-card li .ic { color: var(--mint); margin-top: .2em; }
.course-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); gap: clamp(24px, 4vw, 56px); }
.course-body h2 { font-size: var(--fs-xl); margin-top: 1.6em; }
.course-body h2:first-child { margin-top: 0; }
.syllabus { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.syllabus li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.syllabus li:last-child { border-bottom: 0; }
.syllabus__n { width: 36px; height: 36px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); color: var(--text-2); }
.syllabus strong { display: block; font-weight: 600; }
.syllabus small { color: var(--muted); }
.syllabus__kind { display: flex; gap: 6px; color: var(--muted); }
.trainer { display: flex; gap: 16px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.trainer img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.trainer strong { font-family: var(--font-display); font-size: 1.15rem; display: block; }
.trainer p { margin: 0; color: var(--text-2); font-size: var(--fs-sm); }
@media (max-width: 960px) { .course-hero__grid, .course-body { grid-template-columns: 1fr; } .enroll-card { position: static; } }

/* Activités */
.events-list { display: grid; gap: 20px; }
.event-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.event-card__img { min-height: 320px; position: relative; overflow: hidden; background: var(--line); }
.event-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.event-card:hover .event-card__img img { transform: scale(1.04); }
.event-card__body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 12px; }
.event-card__body h2 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); margin: 0; }
.event-card__body p { color: var(--text-2); margin: 0; }
.event-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.event-card .link-arrow { margin-top: auto; }
@media (max-width: 860px) { .event-card { grid-template-columns: 1fr; } .event-card__img { min-height: 220px; } }

.event-article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.event-cover { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8; background: var(--line); }
.event-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.1rem; line-height: 1.75; max-width: 70ch; color: var(--text); }

.gallery { columns: 3 260px; column-gap: 12px; }
.gallery a { display: block; margin-bottom: 12px; border-radius: var(--r-md); overflow: hidden; break-inside: avoid; cursor: zoom-in; background: var(--line); }
.gallery img { width: 100%; transition: transform .5s var(--ease), opacity .3s; }
.gallery a:hover img { transform: scale(1.03); }

/* Visionneuse photo */
.lightbox { position: fixed; inset: 0; z-index: 1300; background: rgba(4, 10, 26, .96); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; box-shadow: var(--shadow-3); }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: var(--fs-sm); }

/* Équipe */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 28px; }
.team-card .portrait__img { aspect-ratio: 3 / 4; }
.team-card .socials { margin-top: 10px; }
.team-card .socials a { background: var(--line-2); color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid var(--ink); }
.values div { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.values div:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.values div:not(:nth-child(3n+1)) { padding-left: 26px; }
.values h3 { font-size: 1.3rem; margin-bottom: .3em; }
.values p { margin: 0; color: var(--text-2); font-size: var(--fs-sm); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } .values div { border-right: 0 !important; padding: 20px 0 !important; } }
.join-box { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); }
.join-box h2 { margin-bottom: .3em; }
.join-box p { margin: 0; color: rgba(255,255,255,.78); max-width: 56ch; }
@media (max-width: 760px) { .join-box { grid-template-columns: 1fr; } }

/* OrthoChallenge */
.ortho-hero { background: var(--bulb); color: var(--ink); padding: clamp(48px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.ortho-hero h1 { font-size: var(--fs-hero); letter-spacing: -.04em; line-height: .92; margin-bottom: .2em; }
.ortho-hero .lead { color: #3E300B; }
.ortho-letters { position: absolute; right: var(--gutter); bottom: -0.12em; font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 20vw, 17rem); line-height: 1; letter-spacing: .02em; color: rgba(8,20,48,.08); pointer-events: none; display: flex; gap: .04em; }
.ortho-letters span { display: inline-block; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 32px 48px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--sky-deep); }
.timeline li.is-highlight::before { background: var(--bulb); border-color: var(--ink); }
.timeline h3 { font-size: 1.3rem; margin-bottom: .25em; }
.timeline p { margin: 0; color: var(--text-2); }
.timeline small { display: block; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.goal-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.goal-list li { background: #fff; padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.goal-list .ic { color: var(--sky-deep); margin-top: .2em; }
.amb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.amb { padding: 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff; display: grid; gap: 4px; }
.amb strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 650; letter-spacing: -.01em; }
.amb span { color: var(--bulb); font-size: var(--fs-sm); }
@media (max-width: 760px) { .amb-grid { grid-template-columns: 1fr; } }

/* Modale d'inscription */
.request-formation { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-family: var(--font-display); font-size: 1.15rem; }
.request-choices { display: grid; gap: 10px; margin: 18px 0; }
.request-guest { border-top: 1px solid var(--line); padding-top: 14px; }
.request-guest summary { cursor: pointer; font-weight: 600; color: var(--sky-deep); font-size: var(--fs-sm); margin-bottom: 14px; }

/* ==========================================================================
   Formations pour entreprises
   ========================================================================== */
.biz-hero { background: var(--ink); color: #fff; padding: clamp(44px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.biz-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; bottom: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(255,198,51,.16), transparent 65%); pointer-events: none; }
.biz-hero__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.biz-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.2rem); text-wrap: balance; max-width: 18ch; }
.biz-hero .lead { color: rgba(255,255,255,.8); }
.biz-hero .breadcrumb { color: rgba(255,255,255,.6); }
.biz-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-xl); padding: 26px; backdrop-filter: blur(8px); }
.biz-card__title { font-family: var(--font-display); font-weight: 650; font-size: 1.2rem; margin-bottom: 16px; color: var(--bulb); }
.biz-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.biz-card li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.biz-card li > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--bulb); }
.biz-card strong { display: block; font-weight: 600; }
.biz-card span { font-size: var(--fs-sm); color: rgba(255,255,255,.72); }
@media (max-width: 900px) { .biz-hero__grid { grid-template-columns: 1fr; } }

.biz-benefits { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); }
.biz-benefits article { padding: 26px 24px 8px 0; }
.biz-benefits article + article { padding-left: 24px; border-left: 1px solid var(--line); }
.biz-benefits h3 { font-size: 1.3rem; margin-bottom: .35em; }
.biz-benefits p { color: var(--text-2); font-size: var(--fs-sm); margin: 0; }
@media (max-width: 960px) {
  .biz-benefits { grid-template-columns: 1fr 1fr; }
  .biz-benefits article, .biz-benefits article + article { padding: 22px 18px 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .biz-benefits article:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .biz-benefits { grid-template-columns: 1fr; }
  .biz-benefits article:nth-child(even) { padding-left: 0; border-left: 0; }
}

.biz-offers-sec { padding-top: 0; }
.biz-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.biz-offer { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.biz-offer h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0; }
.biz-offer > p { color: var(--text-2); margin: 0; }
.biz-offer--bulb { background: var(--bulb); border-color: var(--bulb); }
.biz-offer--bulb > p { color: #4A3A10; }
.biz-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.biz-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.biz-list .ic { margin-top: .2em; color: var(--mint); }
.biz-offer--bulb .biz-list .ic { color: var(--ink); }
@media (max-width: 860px) { .biz-offers { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 8px; margin-top: 20px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--text-2); font-size: var(--fs-sm); }

.biz-contact { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); position: sticky; top: 96px; scroll-margin-top: 96px; }
.biz-contact h2 { font-size: var(--fs-xl); }
.biz-contact > p { color: rgba(255,255,255,.75); }
.biz-phone { display: flex; gap: 14px; align-items: center; padding: 16px 18px; margin: 20px 0; border-radius: var(--r-lg); background: var(--bulb); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease); }
.biz-phone:hover { color: var(--ink); transform: translateY(-2px); }
.biz-phone > span { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--bulb); display: grid; place-items: center; flex: none; }
.biz-phone > span .ic { width: 22px; height: 22px; }
.biz-phone small { display: block; font-size: var(--fs-xs); font-weight: 600; color: #5A4708; }
.biz-phone strong { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); letter-spacing: -.01em; white-space: nowrap; }
.biz-contact__actions { display: grid; gap: 10px; }
.biz-contact__note { margin: 18px 0 0; font-size: var(--fs-sm); color: rgba(255,255,255,.65) !important; display: flex; gap: 8px; align-items: center; }
@media (max-width: 860px) { .biz-contact { position: static; } }
