/* ─────────────────────────────────────────────
   EVOSCIENCE — style.css v3
   Design : light premium, dense, conversion-first
   ───────────────────────────────────────────── */

:root {
  --bg:           #ffffff;
  --bg-surface:   #f4f7ff;
  --bg-card:      #ffffff;
  --bg-card-h:    #eaf0ff;
  --border:       rgba(0,0,0,0.08);
  --border-h:     rgba(24,85,200,0.2);
  --text:         #0c1124;
  --text-muted:   #5a6480;
  --text-subtle:  #8e96b0;
  --accent:       #1855c8;
  --accent-dark:  #0f3ea8;
  --accent-light: #e6edfb;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 1px 2px rgba(0,0,0,0.04), 0 6px 20px rgba(0,0,0,0.07);
  --shadow-lg:    0 4px 12px rgba(0,0,0,0.06), 0 20px 56px rgba(0,0,0,0.1);
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:   'Instrument Serif', Georgia, serif;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(24,85,200,0.3);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(24,85,200,0.35);
}

.btn--ghost {
  color: var(--text-muted);
  background: transparent;
  font-weight: 500;
}
.btn--ghost:hover { color: var(--text); }

.btn--outline {
  border: 1.5px solid var(--border-h);
  color: var(--accent);
  background: transparent;
  font-weight: 600;
}
.btn--outline:hover { background: var(--accent-light); }

.btn--sm {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  background: var(--text);
  color: #fff;
  border-radius: 10px;
}
.btn--sm:hover { background: #1a2540; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s var(--ease);
}

.nav--scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav__logo {
  height: 140px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 250px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 36px;
  flex: 1;
}

.nav__links a {
  font-size: 17px;
  font-weight: 500;
  color: #374151;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}
.nav__links a:hover { color: var(--accent); }

/* ── NAV DROPDOWN ── */
.nav__dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav__dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav__dropdown > a::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 4px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: 0.55;
  transition: transform 0.2s var(--ease);
}
.nav__dropdown:hover > a::after { transform: rotate(180deg); }
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 250px;
  z-index: 200;
  padding: 14px 0 8px;
  overflow: hidden;
}
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav__dropdown-menu a:hover {
  background: var(--bg-surface);
  color: var(--accent);
}
.nav__dropdown-menu a.nav__link--active {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-light);
}

.nav__inner .btn--sm { margin-left: auto; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 260px;
  background: radial-gradient(ellipse 150% 100% at 50% -10%, #90b8ff 0%, #bcd5ff 20%, #d8e9ff 40%, #edf5ff 62%, #ffffff 82%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 64px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.hero__stats {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--text);
  padding: 5px 18px 5px 6px;
  border-radius: 100px;
}

.hero__badge strong {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.badge__dot { display: none; }

.hero__title {
  font-size: clamp(48px, 7.5vw, 88px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.03;
  color: var(--text);
  max-width: 900px;
}

.hero__title em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--accent);
}

.hero__sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.65;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 4px;
}

.hero__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__social a {
  display: flex;
}

/* Feature pills */
.hero__pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.hero__pill svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero__stats {
  width: 100%;
  border-top: 1px solid var(--border);
  padding: 36px 0;
  margin-top: auto;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
}

.stats__row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 48px;
}

.stat__num {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.stat__label {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 400;
}

.stat__sep {
  width: 1px;
  height: 52px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── SECTION COMMONS ── */
.section__header {
  text-align: center;
  margin-bottom: 52px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── DIFFERENCIATEUR ── */
.diff {
  padding: 80px 0;
}

.diff__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.diff__card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.diff__card:hover {
  border-color: var(--border-h);
  box-shadow: var(--shadow);
}

.diff__card--accent {
  background: linear-gradient(140deg, rgba(24,85,200,0.06) 0%, rgba(24,85,200,0.02) 100%);
  border-color: rgba(24,85,200,0.18);
}

.diff__card--accent:hover { border-color: rgba(24,85,200,0.32); }

.card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.card__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.2;
}

.diff__card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  flex: 1;
}

.link-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.link-arrow:hover { color: var(--accent-dark); }

/* ── PRINCIPES ── */
.principes {
  padding: 80px 0;
}

.principes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.principe {
  background: var(--bg-surface);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.2s;
}
.principe:hover { background: var(--bg-card-h); }

.principe__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.principe h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.principe p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── FORMATIONS ── */
.formations {
  padding: 80px 0;
}

.formations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.formation {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow);
}
.formation:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.formation__top { min-height: 28px; }

.formation__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(24,85,200,0.18);
}

.formation__meta {
  font-size: 12px;
  color: var(--text-subtle);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.formation h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.35;
  flex: 1;
}

.formation p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── TOPICS ── */
.topics {
  padding: 96px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.topics__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.topic {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  transition: all 0.2s var(--ease);
  cursor: default;
}

.topic:hover {
  background: var(--accent-light);
  border-color: var(--border-h);
  color: var(--accent);
}

.topic--highlight {
  background: var(--accent-light);
  border-color: rgba(24,85,200,0.2);
  color: var(--accent);
  font-weight: 600;
}

/* ── EVOSPHERE ── */
.evosphere {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.evosphere__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(24,85,200,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 85% 50%, rgba(24,85,200,0.03) 0%, transparent 55%);
  pointer-events: none;
}

.evosphere .container { position: relative; }

.piliers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 52px;
}

.pilier {
  background: var(--bg-card);
  padding: 52px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.2s;
}
.pilier:hover { background: var(--bg-card-h); }

.pilier__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border: 1px solid rgba(24,85,200,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.pilier h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.pilier p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.evosphere__cta { text-align: center; }

/* ── ACCOMPAGNEMENTS ── */
.accompagnements {
  padding: 80px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.accompagnements__grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: center;
}

.accompagnements__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  aspect-ratio: 1 / 1;
}

.accompagnements__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.accompagnements__visual:hover img { transform: scale(1.03); }

.accompagnements__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.accompagnements__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 20px;
}

.accompagnements__title em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--accent);
}

.accompagnements__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.accompagnements__features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.accompagnements__cta {
  text-align: center;
  margin-top: 56px;
}

.accompagnements__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.accompagnements__feature-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  border: 1px solid rgba(24,85,200,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.accompagnements__feature strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.accompagnements__feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .accompagnements__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .accompagnements__visual {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ── COMMUNAUTÉ SKOOL EVOSPHERE ── */
.communaute-skool {
  padding: 80px 0;
}

.communaute__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 52px;
}

.communaute__card {
  background: var(--bg-card);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
}

.communaute__card:hover { background: var(--bg-card-h); }

.communaute__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border: 1px solid rgba(24,85,200,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.communaute__card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.018em;
  line-height: 1.3;
}

.communaute__card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.communaute__cta {
  text-align: center;
}

@media (max-width: 960px) {
  .communaute__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .communaute__grid { grid-template-columns: 1fr; }
}

/* ── EQUIPE ── */
.equipe {
  padding: 80px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.equipe__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.membre {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.membre__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.membre__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s var(--ease);
}
.membre:hover .membre__photo img { transform: scale(1.04); }

.membre h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.membre__role {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: -14px;
}

.membre p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 80px 0;
}

.cta__inner {
  text-align: center;
  background: linear-gradient(140deg, rgba(24,85,200,0.07) 0%, rgba(24,85,200,0.02) 100%);
  border: 1px solid rgba(24,85,200,0.15);
  border-radius: 28px;
  padding: 68px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta__inner h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
  max-width: 640px;
}

.cta__inner p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 8px;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 44px;
  background: var(--bg-surface);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer__logo {
  display: block;
  margin-bottom: 16px;
}
.footer__logo img { height: 48px; width: auto; }

.footer__brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 18px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 12px; }

.footer__col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.footer__bottom p { font-size: 13px; color: var(--text-subtle); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .diff__grid,
  .formations__grid,
  .equipe__grid { grid-template-columns: 1fr; }

  .principes__grid,
  .piliers__grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .stats__row { flex-direction: column; gap: 28px; }
  .stat__sep { display: none; }

  .nav__links { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }

  .diff__card,
  .formation { padding: 32px 28px; }

  .cta__inner { padding: 56px 28px; }

  .footer__grid { grid-template-columns: 1fr; }

  .hero__pills { flex-direction: column; }
}

/* ── ACTIVE NAV LINK ── */
.nav__links a.nav__link--active {
  color: var(--accent);
  font-weight: 600;
}

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 290px 0 80px;
  background: radial-gradient(ellipse 150% 100% at 50% -10%, #90b8ff 0%, #bcd5ff 20%, #d8e9ff 40%, #edf5ff 62%, #ffffff 82%);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero--article {
  background: radial-gradient(ellipse 120% 80% at 50% -20%, #b8d0ff 0%, #d4e4ff 30%, #ecf3ff 55%, #ffffff 75%);
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.page-hero__title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-hero__title em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--accent);
}

.page-hero__sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.page-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.page-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

/* ── FORMATION ROW (catalogue page) ── */
.formations__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 80px;
}

.formation-row {
  background: var(--bg-card);
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 52px;
  align-items: start;
  transition: background 0.2s;
}
.formation-row:hover { background: var(--bg-card-h); }

.formation-row__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formation-row__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.formation-row__type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.formation-row__type--focus {
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(24,85,200,0.18);
}

.formation-row__title {
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.formation-row p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.formation-row__features {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.formation-row__features span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
}

.formation-row__features span::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

.formation-price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 280px;
}

.formation-price-card__prix {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.formation-price-card__prix span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}

.formation-price-card__paiement {
  font-size: 12px;
  color: var(--text-subtle);
}

/* ── FORMATION DETAIL PAGE ── */
.formation-detail {
  padding: 80px 0;
}

.formation-detail__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

.formation-detail__main {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.formation-detail__sidebar {
  position: sticky;
  top: 280px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-h);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}

.sidebar-card__prix {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--text);
  line-height: 1;
}

.sidebar-card__prix span {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
}

.sidebar-card__paiement {
  font-size: 13px;
  color: var(--text-subtle);
  margin-top: -12px;
}

.sidebar-card__sep {
  height: 1px;
  background: var(--border);
}

.sidebar-card__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-card__meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.sidebar-card__meta-item .label {
  color: var(--text-subtle);
  font-weight: 400;
}

.sidebar-card__meta-item .value {
  color: var(--text);
  font-weight: 600;
}

.content-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content-section h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
}

.content-section p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.extraits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.extrait-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.extrait-video {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #000;
  display: block;
}

.extrait-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

@media (max-width: 640px) {
  .extraits-grid { grid-template-columns: 1fr; }
}

.sommaire-carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  user-select: none;
}

.sommaire-carousel__track {
  display: flex;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sommaire-carousel__track img {
  min-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.sommaire-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  z-index: 2;
}

.sommaire-carousel__btn:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

.sommaire-carousel__btn--prev { left: 12px; }
.sommaire-carousel__btn--next { right: 12px; }

.sommaire-carousel__counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12,17,36,0.55);
  color: #fff;
  font-size: 13px;
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-item::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  border: 1px solid rgba(24,85,200,0.18);
}

/* ── TÉMOIGNAGES ── */
.temoignages {
  padding: 80px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.temoignages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.temoignage {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.temoignage__stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
}

.temoignage__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}

.temoignage__author {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.temoignage__location {
  font-size: 12px;
  color: var(--text-subtle);
  margin-top: -10px;
}

/* ── PRICING (Evosphere) ── */
.pricing-section {
  padding: 80px 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  box-shadow: var(--shadow);
  transition: all 0.25s var(--ease);
}

.pricing-card:hover {
  border-color: var(--border-h);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.pricing-card--popular {
  border-color: rgba(24,85,200,0.3);
  background: linear-gradient(140deg, rgba(24,85,200,0.06) 0%, rgba(24,85,200,0.01) 100%);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-card__price .amount {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--text);
  line-height: 1;
}

.pricing-card__price .currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.pricing-card__price .period {
  font-size: 15px;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-card__note {
  font-size: 13px;
  color: var(--text-subtle);
  margin-top: -12px;
}

.pricing-card__sep {
  height: 1px;
  background: var(--border);
}

.pricing-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-card__feature::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── ARTICLE CARDS ── */
.articles-section {
  padding: 80px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow);
}

.article-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.article-card__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(24,85,200,0.18);
}

.article-card__date {
  font-size: 12px;
  color: var(--text-subtle);
}

.article-card__read {
  font-size: 12px;
  color: var(--text-subtle);
}

.article-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.3;
  flex: 1;
}

.article-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── LABS PARTENAIRES ── */
.labs {
  padding: 80px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.labs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.lab-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.lab-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.lab-card__icon {
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.lab-card__logo {
  height: 90px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.lab-card__link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: auto;
}

.lab-card__link:hover { color: var(--accent); }

/* ── EBOOK PAGE ── */
.ebook-section {
  padding: 80px 0;
}

.ebook__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

.ebook-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.ebook-topic {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}

.ebook-topic::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── PACK PAGE ── */
.packs-section {
  padding: 80px 0;
}

.packs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.pack-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  box-shadow: var(--shadow);
  transition: all 0.25s var(--ease);
}

.pack-card:hover {
  border-color: var(--border-h);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pack-card--popular {
  border-color: rgba(24,85,200,0.3);
  background: linear-gradient(140deg, rgba(24,85,200,0.06) 0%, rgba(24,85,200,0.01) 100%);
}

.pack-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.pack-card__name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.pack-card__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.2;
}

.pack-card__reduction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: 4px 12px;
  border-radius: 100px;
  width: fit-content;
}

.pack-card__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pack-card__price .amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--text);
  line-height: 1;
}

.pack-card__price .old-price {
  font-size: 20px;
  color: var(--text-subtle);
  text-decoration: line-through;
  font-weight: 400;
}

.pack-card__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.pack-card__includes {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: -12px;
}

.pack-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pack-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.pack-card__feature::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── FEATURES GRID (Evosphere) ── */
.features-section {
  padding: 80px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-block {
  background: var(--bg-surface);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
}

.feature-block:hover { background: var(--bg-card-h); }

.feature-block__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border: 1px solid rgba(24,85,200,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
}

.feature-block h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.018em;
  line-height: 1.3;
}

.feature-block p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── ARTICLE PAGE ── */
.article-body {
  padding: 80px 0;
}

.article-body__grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
}

.article-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  margin: 44px 0 14px;
  line-height: 1.3;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.018em;
  margin: 32px 0 10px;
  line-height: 1.35;
}

.article-content p {
  font-size: 16px;
  color: #374151;
  line-height: 1.9;
  margin-bottom: 18px;
}

.article-content ul, .article-content ol {
  margin: 0 0 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-content li {
  font-size: 16px;
  color: #374151;
  line-height: 1.7;
  list-style: disc;
}

.article-content figure {
  margin: 36px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-content figure img {
  width: 100%;
  display: block;
}

.article-content figcaption {
  font-size: 13px;
  color: var(--text-subtle);
  padding: 10px 16px;
  background: var(--bg-surface);
  font-style: italic;
  line-height: 1.6;
}

.article-content .citation {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--bg-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.article-meta__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(24,85,200,0.18);
}

.article-meta__author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.article-meta__date, .article-meta__read {
  font-size: 13px;
  color: var(--text-subtle);
}

.article-cta-box {
  background: linear-gradient(140deg, rgba(24,85,200,0.08) 0%, rgba(24,85,200,0.02) 100%);
  border: 1px solid rgba(24,85,200,0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 48px 0;
}

.article-cta-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.article-cta-box p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.7;
}

.article-refs {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.article-refs h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.article-refs ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 16px;
}

.article-refs li {
  font-size: 13px;
  color: var(--text-subtle);
  line-height: 1.7;
  list-style: decimal;
}

.article-sidebar__card {
  position: sticky;
  top: 280px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-sidebar__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.related-card:last-child { border-bottom: none; }

.related-card__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.related-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  transition: color 0.2s;
}

.related-card:hover .related-card__title { color: var(--accent); }

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 960px) {
  .formation-row { grid-template-columns: 1fr; gap: 28px; }
  .formation-detail__grid { grid-template-columns: 1fr; }
  .formation-detail__sidebar { position: static; }
  .pricing__grid { grid-template-columns: 1fr; }
  .packs__grid { grid-template-columns: 1fr; }
  .temoignages__grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .ebook__grid { grid-template-columns: 1fr; }
  .ebook-topics { grid-template-columns: 1fr; }
  .formation-price-card { position: static; }
}

@media (max-width: 640px) {
  .page-hero { padding: 220px 0 60px; }
  .formation-row { padding: 36px 28px; }
  .pack-card { padding: 44px 28px; }
}

/* ==========================================================================
   CAROUSEL FORMATIONS — homepage
   ========================================================================== */
.carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 56px;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 24px;
  box-shadow:
    0 1px 2px rgba(12, 17, 36, 0.06),
    0 12px 28px rgba(24, 85, 200, 0.10),
    0 28px 64px rgba(24, 85, 200, 0.14);
  background: #f4f7ff;
}

.carousel__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  background: linear-gradient(
    to top,
    rgba(12, 17, 36, 0.78) 0%,
    rgba(12, 17, 36, 0.45) 35%,
    rgba(12, 17, 36, 0) 65%
  );
  pointer-events: none;
}

.carousel__overlay-inner {
  pointer-events: auto;
  max-width: 560px;
  color: #fff;
}

.carousel__badge {
  display: inline-block;
  background: #f59e0b;
  color: #0c1124;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.carousel__meta {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.carousel__badge + .carousel__meta {
  margin-left: 10px;
}

.carousel__title {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #fff;
}

.carousel__desc {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
}

.carousel__overlay-inner .btn {
  display: inline-block;
}

/* Navigation arrows */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(24, 85, 200, 0.18);
  background: #ffffff;
  color: #1855c8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 6px 18px rgba(24, 85, 200, 0.18);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel__btn:hover {
  background: #1855c8;
  color: #fff;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 10px 24px rgba(24, 85, 200, 0.30);
}

.carousel__btn:focus-visible {
  outline: 2px solid #1855c8;
  outline-offset: 3px;
}

.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }

/* Dots */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(24, 85, 200, 0.22);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.25s ease;
}

.carousel__dot.is-active {
  background: #1855c8;
  width: 26px;
  border-radius: 4px;
}

.carousel__dot:focus-visible {
  outline: 2px solid #1855c8;
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel { padding: 0 16px; }
  .carousel__btn {
    width: 38px;
    height: 38px;
  }
  .carousel__btn--prev { left: -4px; }
  .carousel__btn--next { right: -4px; }
  .carousel__overlay { padding: 20px; }
  .carousel__desc { display: none; }
  .carousel__title { font-size: 18px; }
  .carousel__meta { font-size: 12px; }
}

@media (max-width: 480px) {
  .carousel__overlay {
    background: linear-gradient(
      to top,
      rgba(12, 17, 36, 0.88) 0%,
      rgba(12, 17, 36, 0.55) 45%,
      rgba(12, 17, 36, 0) 75%
    );
  }
  .carousel__overlay-inner .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* ── CONTACT FORM (spotlight glow, vanilla, palette brand) ── */
.contact-section {
  background: var(--bg);
  padding: 96px 0;
}
.contact__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.contact-form {
  --x: 50%;
  --y: 50%;
  --spotlight-size: 360px;
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.contact-form:hover { border-color: var(--border-h); }
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    var(--spotlight-size) var(--spotlight-size) at var(--x) var(--y),
    rgba(24, 85, 200, 0.08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.contact-form:hover::before,
.contact-form:focus-within::before { opacity: 1; }
.contact-form > * { position: relative; z-index: 1; }

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form__field {
  display: block;
  margin-bottom: 20px;
}
.contact-form__row + .contact-form__field { margin-top: 0; }
.contact-form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-subtle); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(24, 85, 200, 0.12);
}
.contact-form textarea { min-height: 140px; line-height: 1.6; }
.contact-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.contact-form__submit { gap: 10px; }
.contact-form__submit svg { transition: transform 0.2s var(--ease); }
.contact-form__submit:hover svg { transform: translateX(3px); }
.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: 0 2px 8px rgba(24, 85, 200, 0.2);
}
.contact-form__feedback {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}
.contact-form__feedback.is-success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.contact-form__feedback.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

@media (max-width: 720px) {
  .contact-section { padding: 64px 0; }
  .contact-form { padding: 28px; }
  .contact-form__row { grid-template-columns: 1fr; gap: 0; }
  .contact-form__actions { justify-content: stretch; }
  .contact-form__submit { width: 100%; justify-content: center; }
}

/* ================================================================
   MOBILE RESPONSIVE — correctifs (desktop inchangé)
   ================================================================ */

/* ── Hamburger : caché sur desktop ── */
.nav__hamburger {
  display: none;
}

/* ── NAV MOBILE (≤ 960px) ── */
@media (max-width: 960px) {

  /* Logo réduit */
  .nav__logo {
    height: 40px;
  }
  .nav__logo img {
    height: 40px;
  }

  /* Hero homepage : padding réduit pour le logo plus petit */
  .hero {
    padding-top: 80px;
    min-height: auto;
  }

  .hero__inner {
    padding: 0 20px 48px;
  }

  .hero__title {
    font-size: clamp(32px, 9vw, 56px);
    max-width: 100%;
  }

  .hero__badge {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  /* Page hero : idem */
  .page-hero {
    padding: 110px 0 56px;
  }

  /* Bouton CTA nav caché — hamburger prend la place */
  .nav__inner .btn--sm {
    display: none;
  }

  /* Hamburger visible */
  .nav__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    flex-shrink: 0;
    z-index: 101;
    position: relative;
  }

  .nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.25s var(--ease);
    transform-origin: center;
  }

  .nav__hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav__hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Menu mobile : overlay plein écran */
  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 99;
    padding: 80px 32px 40px;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    font-size: 22px;
  }

  /* Dropdown inline dans le menu mobile */
  .nav__dropdown {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .nav__dropdown > a::after {
    display: none;
  }

  .nav__dropdown-menu {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: none;
    border: none;
    padding: 0;
    min-width: auto;
    background: transparent;
  }

  .nav__dropdown-menu a {
    font-size: 16px;
    color: var(--text-muted);
    padding: 4px 0;
  }

  /* Labs grid : 2 cols sur tablette */
  .labs__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Article sidebar : passe en bas du contenu */
  .article-body__grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar__card {
    position: static;
  }
}

/* ── AJUSTEMENTS 640px ── */
@media (max-width: 640px) {
  /* Labs grid : 1 col sur mobile */
  .labs__grid {
    grid-template-columns: 1fr;
  }

  /* Stats hero : padding réduit */
  .stat {
    padding: 0 24px;
  }
}
