/* ============================================
   NUMERUS CLUB — Styles partagés
   Direction artistique : éditorial chic
   ============================================ */

/* ---------- Variables & thème ---------- */
:root {
  /* Mode clair (défaut) */
  --bg: #F4ECE0;
  --bg-soft: #EFE6D7;
  --bg-card: #FBF5EA;
  --accent: #C45A3D;
  --accent-soft: #E8A48A;
  --accent-deep: #A8492F;
  --text: #2A1F1A;
  --text-soft: #5C4A40;
  --text-muted: #8A7868;
  --line: #D9CDB8;
  --line-soft: #E8DECB;

  /* Typographie */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Easing */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --max: 1320px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

[data-theme="dark"] {
  --bg: #1F1815;
  --bg-soft: #2A211C;
  --bg-card: #261E1A;
  --accent: #E07856;
  --accent-soft: #C45A3D;
  --accent-deep: #F39575;
  --text: #F4ECE0;
  --text-soft: #D9CDB8;
  --text-muted: #9A8B7B;
  --line: #3A2D26;
  --line-soft: #2F2520;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

/* Texture papier — bruit SVG très subtil */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: 0.06; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); font-variation-settings: "SOFT" 50, "WONK" 1; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
h4 { font-size: clamp(1.15rem, 1.6vw, 1.5rem); }

em, .italic { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }

.label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
}
.label--dark { color: var(--text); }

.handwritten {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.section-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 1rem;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}
section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; z-index: 2; }
.divider { height: 1px; background: var(--line); width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}
.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand__emblem { width: 44px; height: 44px; flex-shrink: 0; }
.brand__emblem text { font-family: var(--font-display); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  font-weight: 400;
}
.brand__name em { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 400;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--accent); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 1rem; }

.theme-toggle {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); transform: rotate(20deg); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}
.menu-toggle:hover { border-color: var(--accent); }
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  margin: 4px auto;
  transition: all 0.3s var(--ease);
}
.nav.is-open ~ .header__actions .menu-toggle span:nth-child(1),
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.is-open ~ .header__actions .menu-toggle span:nth-child(2),
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav.is-open ~ .header__actions .menu-toggle span:nth-child(3),
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn--primary { background: var(--accent); color: #FBF5EA; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 6px 20px -8px rgba(196,90,61,0.5); }
.btn--outline { background: transparent; border-color: var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--bg); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); padding-left: 0; padding-right: 0; }
.btn--ghost::after { content: "→"; transition: transform 0.3s var(--ease); }
.btn--ghost:hover::after { transform: translateX(4px); }
.btn--ghost:hover { color: var(--accent); }
.btn--white { background: #FBF5EA; color: #2A1F1A; }
.btn--white:hover { background: #fff; transform: translateY(-2px); }
.btn--lg { padding: 1.15rem 2rem; font-size: 1rem; }

/* ---------- HERO ---------- */
.hero {
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.5rem, 6.2vw, 5.5rem);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 1.5rem 0 1.75rem;
}
.hero__title em { color: var(--accent); display: inline-block; }
.hero__lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-soft);
  max-width: 540px;
  line-height: 1.55;
  margin-bottom: 2.25rem;
}
.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__caption {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.hero__caption::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.hero__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.95);
}
.hero__media::after {
  content: "PHOTOGRAPHIE · LE CLUB ·";
  position: absolute;
  right: -2.2rem;
  top: 1.5rem;
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg);
  padding: 0.6rem 0.4rem;
}

.hero__stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero__stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  display: block;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero__stat span {
  font-size: 0.85rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

/* ---------- Section heading ---------- */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sec-head__left { border-right: 1px solid var(--line); padding-right: 2rem; }
.sec-head__title { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
.sec-head__title em { color: var(--accent); }
.sec-head__lede { color: var(--text-soft); max-width: 600px; font-size: 1.05rem; line-height: 1.6; }

@media (max-width: 768px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head__left { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 1.5rem; }
}

/* ---------- Comment ça marche ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step {
  padding: 2.5rem 1.75rem;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; }
.step__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  display: block;
}
.step__icon { width: 36px; height: 36px; margin-bottom: 1.5rem; color: var(--text); }
.step__title { font-size: 1.3rem; margin-bottom: 0.75rem; line-height: 1.2; }
.step__text { color: var(--text-soft); font-size: 0.95rem; line-height: 1.55; }

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n) { border-right: none; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
}

/* ---------- Coachs ---------- */
.coachs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
}
.coach-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.25rem;
  transition: all 0.4s var(--ease);
  position: relative;
}
.coach-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.coach-card__photo {
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
}
.coach-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.coach-card:hover .coach-card__photo img { transform: scale(1.04); }
.coach-card__rating {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: var(--bg);
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--line);
}
.coach-card__rating span { color: var(--accent); }
.coach-card__name { font-size: 1.4rem; margin-bottom: 0.35rem; }
.coach-card__uni {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.coach-card__spec { font-size: 0.95rem; color: var(--text-soft); margin-bottom: 1rem; line-height: 1.5; }
.coach-card__price {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.coach-card__btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  border: 1px solid var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s var(--ease);
}
.coach-card__btn:hover { background: var(--text); color: var(--bg); }

@media (max-width: 1024px) { .coachs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .coachs-grid { grid-template-columns: 1fr; } }

.section-cta { text-align: center; margin-top: 3rem; }

/* ---------- Actualités ---------- */
.news-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.news-feature {
  display: block;
  border: 1px solid var(--line);
  background: var(--bg-card);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.news-feature:hover { border-color: var(--accent); }
.news-feature__media { aspect-ratio: 16/10; overflow: hidden; }
.news-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.news-feature:hover .news-feature__media img { transform: scale(1.04); }
.news-feature__body { padding: 2rem; }
.news-meta {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.news-meta strong { color: var(--accent); font-weight: 500; }
.news-feature__title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.news-feature__excerpt { color: var(--text-soft); line-height: 1.65; margin-bottom: 1.25rem; font-size: 1rem; }

.news-list { display: flex; flex-direction: column; gap: 1.5rem; }
.news-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-item__media { aspect-ratio: 1; overflow: hidden; }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; }
.news-item__title { font-size: 1.15rem; line-height: 1.25; margin-bottom: 0.5rem; }
.news-item__title:hover { color: var(--accent); }
.news-item:hover .news-item__media img { transform: scale(1.05); transition: transform 0.5s var(--ease); }

@media (max-width: 1024px) { .news-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .news-item { grid-template-columns: 90px 1fr; } }

/* Tableau numerus */
.numerus-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.numerus-table th, .numerus-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.numerus-table th { font-weight: 500; color: var(--accent); letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.75rem; }

/* ---------- Témoignages ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.testimonial {
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--line);
  background: var(--bg-card);
  position: relative;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  line-height: 1.4;
  margin-bottom: 1.75rem;
  color: var(--text);
}
.testimonial__author {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.testimonial__author strong { color: var(--accent); font-weight: 500; }
.testimonial::before {
  content: "“";
  position: absolute;
  top: -1.5rem; left: 1rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
}

@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ---------- Équipe ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.team-card { display: flex; flex-direction: column; }
.team-card__photo { aspect-ratio: 4/5; overflow: hidden; margin-bottom: 1.25rem; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.05); transition: filter 0.5s var(--ease); }
.team-card:hover .team-card__photo img { filter: grayscale(0) contrast(1); }
.team-card__name { font-size: 1.4rem; margin-bottom: 0.35rem; }
.team-card__role {
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.team-card__quote { font-style: italic; color: var(--text-soft); font-family: var(--font-display); line-height: 1.5; }

@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--text);
  transition: color 0.3s var(--ease);
}
.faq__q:hover { color: var(--accent); }
.faq__plus {
  width: 24px; height: 24px;
  flex-shrink: 0;
  position: relative;
}
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}
.faq__plus::before { left: 0; right: 0; top: 50%; height: 1px; }
.faq__plus::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.faq__item.is-open .faq__plus::after { transform: scaleY(0); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
  color: var(--text-soft);
  line-height: 1.7;
}
.faq__a-inner { padding: 0 0 1.75rem; max-width: 700px; }
.faq__item.is-open .faq__a { max-height: 400px; }

/* ---------- Blog journal ---------- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.journal-card { display: flex; flex-direction: column; }
.journal-card__media { aspect-ratio: 4/5; overflow: hidden; margin-bottom: 1.5rem; }
.journal-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.journal-card:hover .journal-card__media img { transform: scale(1.04); }
.journal-card__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.journal-card__title { font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.2; margin-bottom: 0.75rem; }
.journal-card__title:hover { color: var(--accent); }
.journal-card__excerpt { color: var(--text-soft); font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 900px) { .journal-grid { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.newsletter__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  margin: 1rem 0 1.5rem;
}
.newsletter__title em { color: var(--accent); }
.newsletter__form {
  display: flex;
  border-bottom: 1px solid var(--text);
  padding-bottom: 0.5rem;
}
.newsletter__form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.85rem 0;
  font-size: 1rem;
  color: var(--text);
}
.newsletter__form input::placeholder { color: var(--text-muted); }
.newsletter__form button {
  background: transparent;
  color: var(--text);
  font-weight: 500;
  padding: 0 0.5rem;
  letter-spacing: 0.05em;
  transition: color 0.3s var(--ease);
}
.newsletter__form button:hover { color: var(--accent); }
.newsletter__legal { font-size: 0.8rem; color: var(--text-muted); margin-top: 1rem; font-style: italic; }
@media (max-width: 900px) { .newsletter__inner { grid-template-columns: 1fr; } }

/* ---------- Bandeau coach ---------- */
.cta-band {
  background: var(--accent);
  color: #FBF5EA;
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
  position: relative;
  z-index: 2;
}
[data-theme="dark"] .cta-band { background: var(--accent); color: #1F1815; }
.cta-band .label { color: #FBF5EA; }
[data-theme="dark"] .cta-band .label { color: #1F1815; }
.cta-band__title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.05;
  max-width: 900px;
  margin: 1.25rem auto 1.5rem;
  color: #FBF5EA;
}
[data-theme="dark"] .cta-band__title { color: #1F1815; }
.cta-band__title em { font-style: italic; }
.cta-band__lede {
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  opacity: 0.92;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 2;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}
.footer__brand { max-width: 320px; }
.footer__tagline { font-style: italic; color: var(--text-soft); margin-top: 1rem; line-height: 1.6; }
.footer__col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer__col a { font-size: 0.95rem; color: var(--text-soft); transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom a:hover { color: var(--accent); }
.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__email {
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer__email:hover { color: var(--accent); border-color: var(--accent); }

/* Bloc contact sur la page À propos */
.contact-block {
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact-block__title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  margin: 1.25rem auto 1.5rem;
  max-width: 720px;
}
.contact-block__title em { color: var(--accent); }
.contact-block__lede {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 2.25rem;
}
.contact-block__email {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--accent);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--accent);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact-block__email:hover {
  color: var(--accent-deep);
  transform: translateY(-2px);
}

@media (max-width: 1024px) { .footer__top { grid-template-columns: 1fr 1fr 1fr; } .footer__brand { grid-column: 1/-1; max-width: none; } }
@media (max-width: 600px) { .footer__top { grid-template-columns: 1fr 1fr; } }

/* ============================================
   PAGE COACHS
   ============================================ */
.page-head {
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.page-head__title { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; margin: 1rem 0 1.5rem; max-width: 900px; }
.page-head__title em { color: var(--accent); }
.page-head__lede { font-size: 1.1rem; color: var(--text-soft); max-width: 640px; line-height: 1.6; }

.filter-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.filter-bar__label { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.filter-select {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.65rem 2.5rem 0.65rem 1rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%23C45A3D' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
  min-width: 220px;
}
.filter-select:hover, .filter-select:focus { border-color: var(--accent); outline: none; }

.coach-detailed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.coach-detail-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
}
.coach-detail-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.coach-detail-card__photo { aspect-ratio: 1; overflow: hidden; }
.coach-detail-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.coach-detail-card__name { font-size: 1.6rem; margin-bottom: 0.25rem; }
.coach-detail-card__uni { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.coach-detail-card__bio { font-size: 0.95rem; color: var(--text-soft); line-height: 1.6; margin-bottom: 1.25rem; }
.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  letter-spacing: 0.04em;
}
.coach-detail-card__meta { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 1.25rem; line-height: 1.7; }
.coach-detail-card__meta strong { color: var(--text); font-weight: 500; }

@media (max-width: 900px) { .coach-detailed-grid { grid-template-columns: 1fr; } .coach-detail-card { grid-template-columns: 1fr; } .coach-detail-card__photo { max-width: 240px; } }

/* ============================================
   PAGE ACTUS
   ============================================ */
.cat-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.cat-chip {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  background: transparent;
  color: var(--text-soft);
}
.cat-chip:hover, .cat-chip.is-active { border-color: var(--accent); color: var(--accent); background: var(--bg-card); }
.cat-chip.is-active { background: var(--accent); color: #FBF5EA; border-color: var(--accent); }

.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.featured-article__media { aspect-ratio: 4/3; overflow: hidden; }
.featured-article__media img { width: 100%; height: 100%; object-fit: cover; }
.featured-article__title { font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.05; margin: 1rem 0 1.5rem; }
.featured-article__excerpt { color: var(--text-soft); font-size: 1.05rem; line-height: 1.65; margin-bottom: 1.5rem; }

@media (max-width: 900px) { .featured-article { grid-template-columns: 1fr; gap: 1.5rem; } }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.75rem, 3vw, 3rem);
  padding-top: 4rem;
}
.article-card { display: flex; flex-direction: column; }
.article-card__media { aspect-ratio: 16/10; overflow: hidden; margin-bottom: 1.5rem; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-card__title { font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.15; margin-bottom: 0.85rem; }
.article-card__title:hover { color: var(--accent); }
.article-card__excerpt { color: var(--text-soft); line-height: 1.6; margin-bottom: 1.25rem; }

@media (max-width: 700px) { .articles-grid { grid-template-columns: 1fr; } }

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.pagination button {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  transition: all 0.3s var(--ease);
}
.pagination button:hover, .pagination button.is-active { border-color: var(--accent); color: var(--accent); }
.pagination button.is-active { background: var(--accent); color: #FBF5EA; }

/* ============================================
   PAGE DEVENIR COACH
   ============================================ */
.coach-hero {
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.coach-hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.coach-hero__title { font-size: clamp(2.5rem, 5.5vw, 5rem); line-height: 1; margin: 1rem 0 1.5rem; }
.coach-hero__title em { color: var(--accent); }
.coach-hero__lede { font-size: 1.1rem; color: var(--text-soft); line-height: 1.65; }
.coach-hero__media { aspect-ratio: 4/5; overflow: hidden; }
.coach-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(0.95); }
@media (max-width: 900px) { .coach-hero__grid { grid-template-columns: 1fr; } }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-col { padding: 2.5rem 1.75rem; border-right: 1px solid var(--line); }
.why-col:last-child { border-right: none; }
.why-col__icon { width: 38px; height: 38px; color: var(--accent); margin-bottom: 1.5rem; }
.why-col__title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.why-col__text { color: var(--text-soft); line-height: 1.6; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } .why-col { border-right: none; border-bottom: 1px solid var(--line); } .why-col:last-child { border-bottom: none; } }

.criteria {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
.criteria ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.criteria li {
  padding-left: 2rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-soft);
}
.criteria li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-style: italic;
}
@media (max-width: 900px) { .criteria { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Formulaire */
.application-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3.5rem);
  margin-top: 2rem;
  position: relative;
}
.application-form::before {
  content: "FORMULAIRE DE CANDIDATURE";
  position: absolute;
  top: -0.7rem;
  left: 2rem;
  background: var(--bg);
  padding: 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 500;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1.5rem;
}
.form-grid .full { grid-column: 1/-1; }
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.form-field label .req { color: var(--accent-deep); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: var(--text);
  font-family: var(--font-body);
  border-radius: 2px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--accent);
  background: var(--bg-card);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%23C45A3D' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-field__hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.4rem; font-style: italic; }

.checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.25rem;
}
@media (max-width: 700px) { .checkboxes { grid-template-columns: 1fr; } }
.cb-field {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-size: 0.92rem;
  line-height: 1.4;
}
.cb-field:hover { border-color: var(--accent-soft); }
.cb-field input[type="checkbox"] { display: none; }
.cb-box {
  width: 18px; height: 18px;
  border: 1px solid var(--text);
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
  transition: all 0.25s var(--ease);
}
.cb-field input[type="checkbox"]:checked + .cb-box {
  background: var(--accent);
  border-color: var(--accent);
}
.cb-field input[type="checkbox"]:checked + .cb-box::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border-right: 1.5px solid #FBF5EA;
  border-bottom: 1.5px solid #FBF5EA;
  transform: rotate(45deg);
}
.cb-field:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }

.form-submit {
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.form-submit__note { font-size: 0.85rem; color: var(--text-muted); font-style: italic; max-width: 380px; }

@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.form-success {
  display: none;
  padding: 2rem;
  border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-card));
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  text-align: center;
}
.form-success.is-visible { display: block; }

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 3rem;
}
.timeline__step {
  padding: 2.5rem 1.75rem;
  border-right: 1px solid var(--line);
  position: relative;
}
.timeline__step:last-child { border-right: none; }
.timeline__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.timeline__title { font-size: 1.4rem; margin-bottom: 0.6rem; }
.timeline__text { color: var(--text-soft); line-height: 1.55; font-size: 0.95rem; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr; } .timeline__step { border-right: none; border-bottom: 1px solid var(--line); } .timeline__step:last-child { border-bottom: none; } }

/* ============================================
   PAGE CONNEXION
   ============================================ */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 8rem 1.5rem 4rem;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  text-align: center;
}
.auth-card__brand { display: flex; justify-content: center; margin-bottom: 2rem; }
.auth-card__brand .brand__emblem { width: 80px; height: 80px; }
.auth-card__title { font-size: clamp(2.25rem, 3.5vw, 3rem); margin: 1rem 0 2.25rem; line-height: 1.1; }
.auth-card__title em { color: var(--accent); }

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  margin-bottom: 2rem;
  position: relative;
}
.auth-tab {
  padding: 0.95rem 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  background: transparent;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
  position: relative;
  z-index: 2;
}
.auth-tab.is-active { color: #FBF5EA; }
.auth-tabs__indicator {
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  background: var(--accent);
  transition: transform 0.4s var(--ease);
  z-index: 1;
}
.auth-tabs[data-active="signup"] .auth-tabs__indicator { transform: translateX(100%); }

.auth-form { display: flex; flex-direction: column; gap: 1.25rem; text-align: left; }
.auth-form .form-field input { padding: 0.9rem 1.1rem; }
.auth-form__forgot { display: block; text-align: right; font-size: 0.85rem; color: var(--text-muted); transition: color 0.3s var(--ease); }
.auth-form__forgot:hover { color: var(--accent); }
.auth-form .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.social-buttons { display: flex; flex-direction: column; gap: 0.85rem; }
.social-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--bg-card);
  transition: all 0.3s var(--ease);
}
.social-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.social-btn svg { width: 18px; height: 18px; }

.auth-card__signup-cta { margin-top: 2.5rem; }

/* ---------- Custom cursor ---------- */
@media (hover: hover) and (pointer: fine) {
  body.cursor-on { cursor: none; }
  .cursor {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease);
    mix-blend-mode: normal;
  }
  .cursor.is-hover {
    width: 36px;
    height: 36px;
    background: color-mix(in srgb, var(--accent) 25%, transparent);
    border: 1px solid var(--accent);
  }
  body.cursor-on a, body.cursor-on button, body.cursor-on input, body.cursor-on textarea, body.cursor-on select, body.cursor-on .interactive { cursor: none; }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal-stagger.is-in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: 0.65s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: 0.75s; }

/* ---------- Mobile nav ---------- */
@media (max-width: 1024px) {
  .menu-toggle { display: grid !important; place-items: center; }
  .nav {
    position: fixed !important;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background: var(--bg);
    z-index: 99;
    flex: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch;
    padding: 2.5rem 2rem;
    gap: 1.75rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a {
    font-size: 1.5rem;
    font-family: var(--font-display);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .header__actions .btn--primary { display: none; }
}

/* ============================================
   PAGE ARTICLE
   ============================================ */
.article-hero {
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.article-hero__inner {
  max-width: 880px;
  margin: 0 auto;
}
.article-hero__category {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.article-hero__category .label { color: var(--accent); }
.article-hero__category .dot { color: var(--text-muted); }
.article-hero__category .meta { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

.article-hero__title {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1.75rem;
}
.article-hero__title em { color: var(--accent); }

.article-hero__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.article-byline__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.article-byline__avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.article-byline__name { font-family: var(--font-display); font-size: 1.05rem; }
.article-byline__role { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.2rem; }

.article-hero__media {
  margin-top: 3rem;
  aspect-ratio: 16/9;
  overflow: hidden;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.article-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.article-hero__caption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.85rem;
  font-family: var(--font-display);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--text);
}
.article-body p { margin-bottom: 1.5rem; }
.article-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.25rem;
  float: left;
  line-height: 0.85;
  padding: 0.45rem 0.6rem 0 0;
  color: var(--accent);
  font-weight: 400;
}
.article-body h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
  margin: 3rem 0 1.25rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.article-body h2 em { color: var(--accent); }
.article-body h3 {
  font-size: 1.35rem;
  margin: 2.25rem 0 0.85rem;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-deep);
}
.article-body ul, .article-body ol {
  margin: 1.5rem 0 1.75rem 0;
  padding-left: 1.25rem;
}
.article-body li { margin-bottom: 0.6rem; padding-left: 0.5rem; }
.article-body ul li { list-style: none; position: relative; padding-left: 1.5rem; }
.article-body ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-style: italic;
}
.article-body ol { padding-left: 2rem; }
.article-body ol li::marker { color: var(--accent); font-family: var(--font-display); font-style: italic; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body em { color: var(--text); }
.article-body a { color: var(--accent); border-bottom: 1px solid var(--accent-soft); transition: color 0.3s var(--ease); }
.article-body a:hover { color: var(--accent-deep); }

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.3;
  color: var(--accent);
  border-top: 1px solid var(--accent-soft);
  border-bottom: 1px solid var(--accent-soft);
  padding: 2rem 0;
  margin: 3rem 0;
  text-align: center;
}
.pull-quote::before, .pull-quote::after {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}
.pull-quote::before { content: "EN UN MOT"; margin-bottom: 1rem; }

.article-figure {
  margin: 2.5rem -2rem;
}
@media (max-width: 768px) { .article-figure { margin: 2rem 0; } }
.article-figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.article-figure figcaption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
}

.article-callout {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
}
.article-callout__label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5rem 0;
  font-size: 0.95rem;
}
.article-table th, .article-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.article-table th {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--accent);
}
.article-table tr:hover td { background: var(--bg-card); }

.article-end {
  text-align: center;
  margin: 3rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.4em;
}

.article-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(3rem, 5vw, 5rem);
}
.article-author-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--bg-card);
  margin-top: 3rem;
  align-items: start;
}
.article-author-card__avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; }
.article-author-card__avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.article-author-card__name { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.35rem; }
.article-author-card__role { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.85rem; }
.article-author-card__bio { font-size: 0.95rem; color: var(--text-soft); line-height: 1.55; }

@media (max-width: 600px) { .article-author-card { grid-template-columns: 1fr; } }

.related-articles {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 5vw, 5rem) 0;
}
.related-articles__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

/* ============================================
   PAGE À PROPOS
   ============================================ */
.about-hero {
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
}
.about-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.about-hero__title {
  font-size: clamp(2.75rem, 6.5vw, 6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 1.5rem 0 1.75rem;
}
.about-hero__title em { color: var(--accent); }
.about-hero__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.45;
  color: var(--text-soft);
  max-width: 540px;
}
.about-hero__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); }
.about-hero__media::after {
  content: "L'ÉQUIPE · DÉCEMBRE 2025 ·";
  position: absolute;
  left: -2.4rem;
  bottom: 1.5rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg);
  padding: 0.6rem 0.4rem;
}
@media (max-width: 900px) { .about-hero__grid { grid-template-columns: 1fr; } }

/* Récit chronologique */
.story-chapter {
  padding: clamp(4rem, 7vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}
.story-chapter__layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.story-chapter__sidebar {
  position: sticky;
  top: 6rem;
  align-self: start;
}
.story-chapter__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}
.story-chapter__label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.story-chapter__title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}
.story-chapter__title em { color: var(--accent); }

.story-chapter__body {
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--text);
}
.story-chapter__body p { margin-bottom: 1.5rem; }
.story-chapter__body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4rem;
  float: left;
  line-height: 0.85;
  padding: 0.4rem 0.5rem 0 0;
  color: var(--accent);
}
.story-chapter__body strong { color: var(--text); font-weight: 600; }
.story-chapter__body em { color: var(--text); font-style: italic; }

@media (max-width: 900px) {
  .story-chapter__layout { grid-template-columns: 1fr; }
  .story-chapter__sidebar { position: static; }
}

/* Le constat — double problématique */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 3rem;
}
.problem-card {
  padding: 2.5rem 1.75rem;
  border-right: 1px solid var(--line);
  position: relative;
}
.problem-card:last-child { border-right: none; }
.problem-card__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  display: block;
}
.problem-card__title {
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.problem-card__text { color: var(--text-soft); line-height: 1.65; font-size: 0.95rem; }

@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { border-right: none; border-bottom: 1px solid var(--line); }
  .problem-card:last-child { border-bottom: none; }
}

/* Profils des fondateurs */
.founder {
  padding: clamp(4rem, 7vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}
.founder__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.founder--reverse .founder__layout { direction: rtl; }
.founder--reverse .founder__layout > * { direction: ltr; }

.founder__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.founder__media img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); transition: filter 0.6s var(--ease); }
.founder:hover .founder__media img { filter: contrast(1.05) saturate(1.05); }
.founder__media::before {
  content: attr(data-num);
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  background: var(--bg);
  padding: 0.4rem 0.85rem;
  font-size: 0.95rem;
  color: var(--accent);
  z-index: 2;
  border: 1px solid var(--line);
}

.founder__role {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.founder__name {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.founder__meta {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-family: var(--font-display);
}
.founder__story { color: var(--text-soft); line-height: 1.7; font-size: 1rem; margin-bottom: 1.5rem; }
.founder__story p { margin-bottom: 1rem; }
.founder__story strong { color: var(--text); font-weight: 500; }
.founder__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.4;
  color: var(--accent);
  border-top: 1px solid var(--accent-soft);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .founder__layout { grid-template-columns: 1fr; }
  .founder--reverse .founder__layout { direction: ltr; }
}

/* Manifeste / mission */
.manifesto {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.manifesto__inner { max-width: 880px; margin: 0 auto; }
.manifesto__title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  margin: 1.25rem 0 2.5rem;
}
.manifesto__title em { color: var(--accent); }
.manifesto__principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
  margin-top: 3rem;
}
.manifesto__principle {
  padding: 1.5rem;
  border-top: 1px solid var(--accent-soft);
}
.manifesto__principle h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-style: italic;
  color: var(--accent);
}
.manifesto__principle p { font-size: 0.95rem; color: var(--text-soft); line-height: 1.6; }

@media (max-width: 768px) { .manifesto__principles { grid-template-columns: 1fr; } }

/* ============================================
   PAGE DEVENIR COACH — V2 ENRICHIE
   ============================================ */
.coach-hero-v2 {
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.coach-hero-v2__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.coach-hero-v2__title {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.5rem;
}
.coach-hero-v2__title em { color: var(--accent); }
.coach-hero-v2__lede {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 2rem;
}
.coach-hero-v2__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.coach-hero-v2__media img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); }
.coach-hero-v2__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
  max-width: 240px;
  font-size: 0.9rem;
  line-height: 1.45;
  font-family: var(--font-display);
  font-style: italic;
}
.coach-hero-v2__badge strong { color: var(--accent); font-weight: 500; font-style: normal; display: block; font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.4rem; }

.coach-stats {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.coach-stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  display: block;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.coach-stat span { font-size: 0.85rem; color: var(--text-soft); letter-spacing: 0.04em; }

@media (max-width: 900px) { .coach-hero-v2__grid { grid-template-columns: 1fr; } }

/* Bénéfices coachs */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.benefit-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: all 0.4s var(--ease);
  position: relative;
}
.benefit-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.benefit-card__icon {
  width: 42px; height: 42px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.benefit-card__title {
  font-size: 1.65rem;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}
.benefit-card__title em { color: var(--accent); }
.benefit-card__text { color: var(--text-soft); line-height: 1.65; font-size: 0.98rem; margin-bottom: 1.25rem; }
.benefit-card__highlight {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 1rem;
}
@media (max-width: 700px) { .benefits-grid { grid-template-columns: 1fr; } }

/* Témoignage coach lateral */
.coach-quote-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  margin-top: 4rem;
}
.coach-quote-block__photo { aspect-ratio: 1; overflow: hidden; }
.coach-quote-block__photo img { width: 100%; height: 100%; object-fit: cover; }
.coach-quote-block__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.coach-quote-block__author {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.coach-quote-block__author strong { color: var(--accent); font-weight: 500; }

@media (max-width: 900px) { .coach-quote-block { grid-template-columns: 1fr; padding: 2rem; gap: 1.5rem; } }

/* Formulaire amélioré */
.application-form-v2 {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3.5rem);
  margin-top: 2rem;
  position: relative;
}
.form-section {
  padding: 2rem 0;
  border-bottom: 1px dashed var(--line);
}
.form-section:first-of-type { padding-top: 0; }
.form-section:last-of-type { border-bottom: none; padding-bottom: 0; }
.form-section__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.form-section__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.form-section__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.2;
  flex: 1;
}
.form-section__hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  width: 100%;
  margin-top: -0.5rem;
}

/* Cartes-cases enrichies */
.mission-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1rem;
}
@media (max-width: 700px) { .mission-checkboxes { grid-template-columns: 1fr; } }
.mission-cb {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  align-items: start;
}
.mission-cb:hover { border-color: var(--accent-soft); }
.mission-cb input[type="checkbox"] { display: none; }
.mission-cb__title { font-weight: 500; font-size: 0.95rem; line-height: 1.35; margin-bottom: 0.25rem; }
.mission-cb__desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.45; }
.mission-cb__icon {
  width: 28px; height: 28px;
  color: var(--accent);
  flex-shrink: 0;
}
.mission-cb__check {
  width: 20px; height: 20px;
  border: 1px solid var(--text);
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
  align-self: center;
  transition: all 0.25s var(--ease);
}
.mission-cb input[type="checkbox"]:checked ~ .mission-cb__check {
  background: var(--accent);
  border-color: var(--accent);
}
.mission-cb input[type="checkbox"]:checked ~ .mission-cb__check::after {
  content: "";
  position: absolute;
  left: 6px; top: 1px;
  width: 5px; height: 11px;
  border-right: 1.5px solid #FBF5EA;
  border-bottom: 1.5px solid #FBF5EA;
  transform: rotate(45deg);
}
.mission-cb:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

/* Compteur de demandes */
.mission-cb__count {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: #FBF5EA;
  padding: 0.18rem 0.5rem;
  border-radius: 2px;
  margin-left: 0.5rem;
  vertical-align: 2px;
  white-space: nowrap;
}
.mission-cb__count.is-empty {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--line);
  font-style: italic;
}

/* Mission grisée (aucune demande) */
.mission-cb.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: var(--bg-soft);
}
.mission-cb.is-disabled:hover { border-color: var(--line); }
.mission-cb.is-disabled input,
.mission-cb.is-disabled .mission-cb__check { cursor: not-allowed; }
.mission-cb.is-disabled .mission-cb__icon { opacity: 0.6; }

/* Compteur de caractères */
.char-counter {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.4rem;
  text-align: right;
}
.char-counter.is-warning { color: var(--accent); }

/* Resumé & bouton final */
.form-final {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.form-final__check {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.form-final__check input { margin-top: 4px; accent-color: var(--accent); }
.form-final__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.form-final__note { font-size: 0.85rem; color: var(--text-muted); font-style: italic; max-width: 380px; flex: 1; min-width: 200px; }

/* Timeline améliorée */
.timeline-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3rem;
}
.timeline-v2::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: var(--line);
  z-index: 1;
}
@media (max-width: 900px) { .timeline-v2::before { display: none; } }

.timeline-step {
  padding: 0 1.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
.timeline-step__circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
}
.timeline-step__title { font-size: 1.3rem; margin-bottom: 0.6rem; }
.timeline-step__time {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.timeline-step__text { color: var(--text-soft); line-height: 1.55; font-size: 0.92rem; }

@media (max-width: 900px) {
  .timeline-v2 { grid-template-columns: 1fr; gap: 2rem; }
  .timeline-step { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
  .timeline-step:last-child { border-bottom: none; }
}

/* FAQ courte sur la page coach */
.coach-faq-mini {
  max-width: 800px;
  margin: 4rem auto 0;
}

/* ---------- Selection ---------- */
::selection { background: var(--accent); color: #FBF5EA; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============================================
   RESPONSIVE — couche complète
   ============================================ */

/* Image safety : aucune image ne dépasse jamais */
img, svg, video, iframe { max-width: 100%; height: auto; }

/* Tables scrollables horizontalement sur petit écran */
.article-body table,
table.numerus-table,
table.article-table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.article-body table { white-space: normal; }

/* Touch targets minimum 44x44px sur mobile */
@media (max-width: 768px) {
  .btn, .coach-card__btn, .cat-chip, .filter-select, .social-btn,
  input[type="email"], input[type="text"], input[type="tel"], input[type="password"],
  select, textarea {
    min-height: 44px;
    font-size: 16px; /* évite le zoom auto iOS sur focus */
  }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; }
  .theme-toggle, .menu-toggle { width: 44px; height: 44px; }
}

/* Tablette : 768px-1024px ajustements */
@media (max-width: 1024px) {
  .hero__grid { gap: 2rem; }
  .hero__media::after { right: -1.5rem; font-size: 0.65rem; }
  .news-feature__body { padding: 1.5rem; }
  .featured-article { gap: 2rem; padding: 3rem 0; }
  .coach-quote-block { grid-template-columns: 200px 1fr; padding: 2rem; gap: 1.5rem; }
}

/* Mobile : ≤768px */
@media (max-width: 768px) {
  :root { --pad: 1.25rem; }
  section { padding: clamp(2.5rem, 8vw, 4rem) 0; }
  .container { padding: 0 1.25rem; }

  /* Header mobile */
  .header__inner { padding: 0.75rem 1rem; gap: 0.75rem; }
  .brand { gap: 0.6rem; }
  .brand__emblem { width: 38px; height: 38px; }
  .brand__name { font-size: 1.15rem; }
  .header__actions { gap: 0.5rem; }
  .header__actions .btn--primary { padding: 0.7rem 1rem; font-size: 0.85rem; }

  /* Hero mobile */
  .hero { padding-top: 6rem; padding-bottom: 3rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero__lede { font-size: 1rem; }
  .hero__buttons { gap: 0.75rem; }
  .hero__buttons .btn { width: 100%; justify-content: center; }
  .hero__media { aspect-ratio: 4/3; }
  .hero__media::after { display: none; }
  .hero__stats { gap: 1.5rem; flex-wrap: wrap; padding-top: 1.5rem; margin-top: 2rem; }
  .hero__stat { flex: 1 1 calc(50% - 0.75rem); min-width: 0; }
  .hero__stat strong { font-size: 1.5rem; }
  .hero__stat span { font-size: 0.78rem; }

  /* Section heads */
  .sec-head { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
  .sec-head__left { padding-right: 0; padding-bottom: 1rem; }
  .sec-head__title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .sec-head__lede { font-size: 0.95rem; }

  /* Boutons mobile */
  .btn { padding: 0.85rem 1.4rem; font-size: 0.9rem; }
  .btn--lg { padding: 1rem 1.5rem; font-size: 0.95rem; }

  /* Cards padding */
  .coach-card { padding: 1rem; }
  .coach-detail-card { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.25rem; }
  .coach-detail-card__photo { max-width: 100%; aspect-ratio: 16/10; }
  .testimonial { padding: 1.75rem 1.25rem; }
  .testimonial__quote { font-size: 1.1rem; }
  .benefit-card { padding: 1.75rem 1.25rem; }
  .benefit-card__title { font-size: 1.35rem; }

  /* News feature */
  .news-feature__body { padding: 1.5rem 1.25rem; }
  .news-feature__title { font-size: 1.35rem; }
  .news-item { grid-template-columns: 80px 1fr; gap: 1rem; }
  .news-item__title { font-size: 1rem; }
  .featured-article { padding: 2.5rem 0; gap: 1.5rem; }
  .featured-article__title { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Article body */
  .article-hero { padding-top: 6rem; }
  .article-hero__title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .article-hero__lede { font-size: 1.05rem; }
  .article-body { padding: 2rem 1.25rem; font-size: 1rem; }
  .article-body p:first-of-type::first-letter { font-size: 3.25rem; }
  .article-body h2 { font-size: 1.55rem; margin: 2rem 0 1rem; }
  .article-body h3 { font-size: 1.2rem; margin: 1.75rem 0 0.75rem; }
  .article-figure { margin: 2rem 0; }
  .article-callout { padding: 1.25rem; }
  .pull-quote { font-size: clamp(1.2rem, 5vw, 1.5rem); padding: 1.5rem 0; margin: 2rem 0; }

  /* Forms mobile */
  .form-grid { grid-template-columns: 1fr !important; gap: 1.25rem; }
  .application-form, .application-form-v2 { padding: 1.5rem; }
  .application-form::before { left: 1.25rem; }
  .form-section { padding: 1.5rem 0; }
  .form-section__head { gap: 0.5rem; margin-bottom: 1rem; }
  .form-section__title { font-size: 1.2rem; }
  .checkboxes, .mission-checkboxes { grid-template-columns: 1fr !important; gap: 0.6rem; }
  .mission-cb { padding: 0.85rem 1rem; }
  .form-final__cta { flex-direction: column; align-items: stretch; }
  .form-final__cta .btn { width: 100%; justify-content: center; }
  .form-final__note { text-align: center; max-width: none; }

  /* Filter bar */
  .filter-bar { gap: 0.75rem; padding: 1.25rem 0; }
  .filter-bar__label { width: 100%; }
  .filter-select { min-width: 0; width: 100%; }
  .filter-bar .handwritten { margin-left: 0 !important; width: 100%; font-size: 0.85rem; }
  .cat-filters { gap: 0.5rem; padding: 1.25rem 0; }
  .cat-chip { padding: 0.5rem 0.85rem; font-size: 0.78rem; }

  /* Newsletter */
  .newsletter__inner { gap: 1.5rem; }
  .newsletter__title { font-size: clamp(1.4rem, 6vw, 1.85rem); }
  .newsletter__form { flex-direction: column; align-items: stretch; gap: 0.75rem; border-bottom: none; }
  .newsletter__form input { border-bottom: 1px solid var(--text); padding: 0.85rem 0; }
  .newsletter__form button { padding: 0.85rem 1.25rem; background: var(--accent); color: #FBF5EA; }

  /* Coach hero v2 */
  .coach-hero-v2 { padding-top: 6rem; }
  .coach-hero-v2__grid { gap: 2rem; }
  .coach-hero-v2__title { font-size: clamp(2rem, 8vw, 3rem); }
  .coach-stats { gap: 1.25rem; }
  .coach-stat { flex: 1 1 calc(50% - 0.625rem); }
  .coach-stat strong { font-size: 1.4rem; }

  /* Coach quote block */
  .coach-quote-block { padding: 1.5rem; gap: 1.25rem; grid-template-columns: 1fr; }
  .coach-quote-block__photo { max-width: 220px; margin: 0 auto; }
  .coach-quote-block__quote { font-size: 1.15rem; }

  /* CTA band */
  .cta-band { padding: 3.5rem 0; }
  .cta-band__title { font-size: clamp(1.65rem, 7vw, 2.5rem); }
  .cta-band__lede { font-size: 0.95rem; margin-bottom: 1.75rem; }

  /* Page head */
  .page-head { padding-top: 6rem; padding-bottom: 2rem; }
  .page-head__title { font-size: clamp(1.85rem, 7vw, 2.75rem); }
  .page-head__lede { font-size: 0.95rem; }

  /* Footer mobile */
  .footer { padding: 3rem 0 1.5rem; }
  .footer__top { gap: 1.75rem; margin-bottom: 2.5rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.85rem; text-align: left; }
  .footer__email { font-size: 0.9rem; word-break: break-all; }
  .footer__tagline { font-size: 0.95rem; }
  .footer__col h5 { margin-bottom: 1rem; }

  /* FAQ */
  .faq__q { padding: 1.25rem 0; font-size: 1rem; gap: 1rem; }
  .faq__a-inner { padding-bottom: 1.25rem; font-size: 0.95rem; }

  /* About page */
  .about-hero { padding-top: 6rem; padding-bottom: 2rem; }
  .about-hero__title { font-size: clamp(2rem, 8vw, 3.25rem); }
  .about-hero__media::after { display: none; }
  .story-chapter { padding: 3rem 0; }
  .story-chapter__sidebar { position: static; }
  .story-chapter__num { font-size: 2.5rem; }
  .story-chapter__title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .story-chapter__body { font-size: 1rem; }
  .founder { padding: 3rem 0; }
  .founder__name { font-size: clamp(1.65rem, 7vw, 2.25rem); }
  .founder__story { font-size: 0.95rem; }
  .founder__media { max-height: 480px; }
  .manifesto { padding: 3rem 0; }
  .manifesto__title { font-size: clamp(1.65rem, 7vw, 2.25rem); }
  .contact-block { padding: 3rem 0; }
  .contact-block__title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .contact-block__email { font-size: clamp(1.1rem, 5vw, 1.5rem); word-break: break-all; }

  /* Auth page */
  .auth-page { padding: 6rem 1rem 3rem; }
  .auth-card { max-width: 100%; }
  .auth-card__title { font-size: clamp(1.65rem, 7vw, 2.25rem); }

  /* Timelines */
  .timeline-v2 { gap: 1.5rem; }
  .timeline-step__circle { width: 60px; height: 60px; font-size: 1.2rem; margin-bottom: 1rem; }

  /* Team / journal grids */
  .team-card__photo, .journal-card__media { aspect-ratio: 4/3; }
  .journal-card__title { font-size: clamp(1.2rem, 5.5vw, 1.5rem); }

  /* Hide texture on small mobile for perf */
  body::before { opacity: 0.025; }

  /* Cursor custom off mobile */
  body.cursor-on { cursor: auto; }
  .cursor { display: none; }
}

/* Très petit écran ≤480px */
@media (max-width: 480px) {
  .header__inner { padding: 0.65rem 0.85rem; }
  .brand__emblem { width: 34px; height: 34px; }
  .brand__name { font-size: 1.05rem; }
  .header__actions .btn--primary { padding: 0.6rem 0.85rem; font-size: 0.8rem; }
  .header__actions { gap: 0.4rem; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { max-width: 100%; }

  .hero__stats { flex-direction: column; gap: 1rem; }
  .hero__stat { flex: 1 1 100%; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .hero__stat:last-child { border-bottom: none; }

  .coach-stats { flex-direction: column; gap: 1rem; }
  .coach-stat { flex: 1 1 100%; }

  .hero__caption::before { width: 24px; }
  .hero__caption { font-size: 0.85rem; }

  .article-table th, .article-table td { padding: 0.6rem 0.65rem; font-size: 0.85rem; }
  .article-callout { padding: 1rem; font-size: 0.95rem; }
  .pull-quote { font-size: 1.1rem; padding: 1.25rem 0; }
  .pull-quote::before { font-size: 0.65rem; }

  .auth-tabs { font-size: 0.78rem; }
  .auth-tab { padding: 0.85rem 0.75rem; font-size: 0.8rem; }

  .news-meta { font-size: 0.7rem; letter-spacing: 0.1em; }
  .news-feature__title, .article-card__title { font-size: 1.2rem; }
  .featured-article__media img { aspect-ratio: 16/10; }

  .article-byline__avatar { width: 44px; height: 44px; }
  .article-author-card { padding: 1.5rem; gap: 1rem; }
  .article-author-card__avatar { width: 64px; height: 64px; }

  /* Bouton FAQ accordéon plus accessible */
  .faq__q { font-size: 0.95rem; gap: 0.75rem; padding: 1rem 0; }
  .faq__plus { width: 20px; height: 20px; }
}

/* Très très petit écran ≤360px */
@media (max-width: 360px) {
  .brand__name { display: none; }
  .header__actions .btn--primary { padding: 0.55rem 0.75rem; font-size: 0.75rem; }
  .hero__title { font-size: 1.85rem; line-height: 1.05; }
  .sec-head__title { font-size: 1.4rem; }
  .article-hero__title { font-size: 1.65rem; }
}

/* ============================================
   PAGE ADMIN
   ============================================ */
.admin-page {
  min-height: 100vh;
  padding: 8rem 1.5rem 4rem;
  background: var(--bg);
}
.admin-gate {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 0;
}
.admin-gate__title { font-size: clamp(1.85rem, 3.5vw, 2.5rem); margin: 1rem 0 0.5rem; }
.admin-gate__lede { color: var(--text-soft); margin-bottom: 2rem; font-size: 1rem; }
.admin-gate input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text);
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: 0.08em;
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.admin-gate input:focus { border-color: var(--accent); }
.admin-gate__error { color: var(--accent-deep); font-size: 0.9rem; min-height: 1.2rem; margin-top: 0.5rem; font-style: italic; }

.admin-dashboard {
  max-width: 1280px;
  margin: 0 auto;
}
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.admin-head__title { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.admin-head__count {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1rem;
}

.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.admin-tab {
  padding: 1rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: transparent;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.admin-tab:hover { color: var(--text); }
.admin-tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }

.admin-filter {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.admin-filter label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.admin-filter select {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 0.65rem 2.5rem 0.65rem 1rem;
  font-size: 0.92rem;
  color: var(--text);
  font-family: var(--font-body);
  border-radius: 2px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%23C45A3D' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  min-width: 240px;
}

.admin-table-wrap {
  border: 1px solid var(--line);
  background: var(--bg-card);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 800px;
}
.admin-table th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.95rem 1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  vertical-align: top;
}
.admin-table tr:hover td { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.admin-table tr:last-child td { border-bottom: none; }

.admin-delete {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: inline-grid;
  place-items: center;
}
.admin-delete:hover {
  border-color: var(--accent-deep);
  color: #FBF5EA;
  background: var(--accent-deep);
}
.admin-delete:disabled { opacity: 0.4; cursor: wait; }

@media (max-width: 768px) {
  .admin-table { font-size: 0.82rem; }
  .admin-table th, .admin-table td { padding: 0.65rem 0.75rem; }
  .admin-tab { padding: 0.75rem 1rem; font-size: 0.85rem; }
  .admin-filter select { width: 100%; min-width: 0; }
}

/* Évite le scroll horizontal — sécurité globale */
html, body { overflow-x: hidden; max-width: 100vw; }

/* Long mots / URLs : retour ligne automatique */
.article-body, .footer__tagline, .news-feature__excerpt, .article-card__excerpt,
.coach-detail-card__bio, .testimonial__quote, .founder__story {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Mobile : nav menu déclenché par toggle */
@media (max-width: 1024px) {
  .nav.is-open {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Préservation du ratio d'aspect sur les médias (display:block obligatoire pour les <a> enveloppants) */
.hero__media, .coach-card__photo, .coach-detail-card__photo,
.team-card__photo, .journal-card__media, .news-feature__media,
.article-card__media, .featured-article__media, .article-hero__media,
.coach-hero__media, .coach-hero-v2__media, .founder__media, .about-hero__media,
.news-item__media {
  overflow: hidden;
  display: block;
  width: 100%;
}

/* Anchors qui enveloppent des images : remplir le conteneur parent */
.featured-article__media a,
.news-feature__media a {
  display: block;
  width: 100%;
  height: 100%;
}
.featured-article__media a img,
.news-feature__media a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Featured article image — ajustement aspect-ratio mobile */
@media (max-width: 900px) {
  .featured-article__media { aspect-ratio: 16/10; }
  .news-feature__media { aspect-ratio: 16/10; }
}
@media (max-width: 480px) {
  .featured-article__media { aspect-ratio: 4/3; }
  .news-feature__media { aspect-ratio: 4/3; }
}
