/* ============================================================
   Pied & Mouvement — Charte graphique v3
   Direction : éditorial luxe / outdoor premium
   Référence : lesothers.com, haute couture éditoriale
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Inter:wght@300;400;500&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ── VARIABLES ── */
:root {
  --ink:     #1C1B18;
  --cream:   #F4F0E8;
  --cream2:  #EAE5D8;
  --cream3:  #DDD6C8;
  --stone:   #8A8578;
  --green:   #4D6B3F;
  --white:   #FAFAF6;
  --rule:    rgba(28,27,24,0.13);
  --rule-dk: rgba(244,240,232,0.12);

  --display: 'Cormorant Garamond', Georgia, serif;
  --body:    'Inter', -apple-system, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--green); color: var(--cream); }

/* ── LAYOUT ── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 48px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 700px) {
  .wrap, .wrap-narrow { padding: 0 24px; }
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.06;
}
h1 { font-size: clamp(44px, 6vw, 72px); }
.hero-text h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.04; }
h2 { font-size: clamp(30px, 3.8vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 400; }
em { font-style: italic; }

p { font-size: 14px; line-height: 1.82; color: var(--stone); }
p strong { color: var(--ink); font-weight: 500; }
p + p { margin-top: 16px; }

/* ── KICKER / EYEBROW ── */
.kicker {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.kicker::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--green);
  flex-shrink: 0;
}
.kicker.stone { color: var(--stone); }
.kicker.stone::before { background: var(--stone); }

/* ── LEDE ── */
.lede {
  font-size: 15px;
  line-height: 1.78;
  color: var(--stone);
  max-width: 52ch;
}

/* ── MONO DATA ── */
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--stone);
}
.mono-green { color: var(--green); }
.mono-ink { color: var(--ink); }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,240,232,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 0.5px solid var(--rule);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 14px;
  border-bottom: 0.5px solid var(--rule);
}
.header-nav {
  padding: 12px 0;
}
.header-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  justify-content: flex-start;
}
.brand {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  line-height: 1;
}
.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.sitenav {
  display: flex;
  gap: 28px;
  list-style: none;
}
.sitenav a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.15s;
  white-space: nowrap;
}
.sitenav a:hover,
.sitenav a.active { color: var(--ink); }
.sitenav a.active { position: relative; }
.sitenav a.active::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0; right: 0;
  height: 1px;
  background: var(--green);
}
.lang-switcher-top {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.lang-switcher-top a,
.lang-switcher-top span {
  display: inline-block;
  padding: 4px 8px;
  color: var(--stone);
  text-transform: uppercase;
  transition: color 0.15s;
}
.lang-switcher-top a:hover { color: var(--ink); }
.lang-switcher-top .current {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--green);
}
@media (max-width: 960px) {
  .header-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .header-nav::-webkit-scrollbar { display: none; }
  .header-nav ul { padding-right: 24px; }
  .sitenav { gap: 22px; }
  .sitenav a { font-size: 11px; letter-spacing: 0.07em; }
  .brand { font-size: 22px; }
}
@media (max-width: 640px) {
  .header-top { padding: 14px 0 10px; }
  .brand { font-size: 19px; }
  .lang-switcher-top { font-size: 10px; }
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 62fr 38fr;
  min-height: 440px;
  border-bottom: 0.5px solid var(--rule);
}
.hero-text {
  padding: 60px 40px 56px 48px;
  border-right: 0.5px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-visual {
  background: var(--cream2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 32px 40px 32px 24px;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: sepia(5%) contrast(1.02);
}
.hero-caption {
  position: absolute;
  bottom: 18px;
  right: 20px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(28,27,24,0.45);
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-text { border-right: none; border-bottom: 0.5px solid var(--rule); padding: 48px 24px; }
  .hero-visual { min-height: 280px; padding: 20px 24px; }
}

/* ── CTA ── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  margin-top: 40px;
}
.cta-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.cta:hover .cta-circle { background: var(--ink); color: var(--cream); }

/* ── STAT STRIP ── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 0.5px solid var(--rule);
}
.stat-item {
  padding: 28px 48px;
  border-right: 0.5px solid var(--rule);
}
.stat-item:last-child { border-right: none; }
.stat-n {
  font-family: var(--display);
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat-l {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 6px;
}
@media (max-width: 700px) {
  .stat-strip { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 0.5px solid var(--rule); padding: 22px 24px; }
}

/* ── SECTIONS ── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-dark {
  background: var(--ink);
  color: var(--cream);
}
.section-dark p { color: rgba(244,240,232,0.65); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark .kicker { color: var(--green); }
.section-dark .kicker::before { background: var(--green); }
.section-dark .mono { color: rgba(244,240,232,0.45); }
.section-cream2 { background: var(--cream2); }

/* ── CHAPTER LIST ── */
.chapter-list { margin-top: 32px; }
.chapter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--rule);
  cursor: pointer;
  transition: padding-left 0.18s ease;
  text-decoration: none;
  color: var(--ink);
}
.chapter-row:first-child { border-top: 0.5px solid var(--rule); }
.chapter-row:hover { padding-left: 8px; }
.chapter-row:hover .ch-title { color: var(--green); }
.section-dark .chapter-row { border-color: var(--rule-dk); color: var(--cream); }
.section-dark .chapter-row:hover .ch-title { color: rgba(244,240,232,0.7); }
.ch-left { display: flex; align-items: center; gap: 24px; }
.ch-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--stone);
  width: 22px;
  flex-shrink: 0;
}
.section-dark .ch-num { color: rgba(244,240,232,0.3); }
.ch-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  transition: color 0.15s;
}
.ch-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.ch-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  border: 0.5px solid var(--rule);
  padding: 3px 10px;
}
.section-dark .ch-tag { border-color: var(--rule-dk); color: rgba(244,240,232,0.35); }
.ch-arrow { color: var(--stone); font-size: 14px; }

/* ── SPLIT LAYOUT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.split-img {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 760px) {
  .split, .split-img { grid-template-columns: 1fr; gap: 36px; }
}

/* ── FIGURE / IMAGE ── */
.fig {
  background: var(--cream2);
  overflow: hidden;
}
.fig img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
  padding: 20px;
  filter: sepia(5%) contrast(1.02);
}
.fig figcaption {
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  border-top: 0.5px solid var(--rule);
}
.fig-wide img { max-height: 620px; padding: 32px; }

/* ── PROSE COLUMNS ── */
.prose { max-width: 62ch; }
.prose h3 { margin-bottom: 14px; color: var(--ink); }
.prose ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.prose ul li {
  font-size: 14px;
  line-height: 1.72;
  color: var(--stone);
  padding-left: 18px;
  position: relative;
}
.prose ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 12px;
}

/* ── FACT BLOCK ── */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--rule);
  border-left: 0.5px solid var(--rule);
  margin-top: 48px;
}
.fact-grid.two { grid-template-columns: 1fr 1fr; }
.fact-item {
  padding: 28px 30px;
  border-right: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
}
.section-dark .fact-grid { border-color: var(--rule-dk); }
.section-dark .fact-item { border-color: var(--rule-dk); }
.fact-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}
.section-dark .fact-label { color: rgba(244,240,232,0.35); }
.fact-item h3 { font-size: 18px; margin-bottom: 10px; color: var(--ink); }
.section-dark .fact-item h3 { color: var(--cream); }
.fact-item p { font-size: 13.5px; }
@media (max-width: 760px) {
  .fact-grid, .fact-grid.two { grid-template-columns: 1fr; }
}

/* ── DATA CARD (précis) ── */
.data-block {
  border: 0.5px solid var(--rule);
  padding: 28px 30px;
  margin-top: 24px;
}
.section-dark .data-block { border-color: var(--rule-dk); }
.section-dark .data-block h3 { color: var(--cream); }
.section-dark .data-block p { color: rgba(244,240,232,0.65); }
.section-dark .data-block p strong { color: var(--cream); }
.data-block .mono { margin-bottom: 16px; display: block; }

/* ── TABLE ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 8px;
}
.data-table th {
  text-align: left;
  padding: 8px 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  border-bottom: 0.5px solid var(--rule);
}
.data-table td {
  padding: 10px 6px;
  border-bottom: 0.5px solid var(--rule);
  color: var(--cream2);
  font-size: 13.5px;
}
.data-table td:first-child { color: var(--cream); }
.section-dark .data-table th { border-color: var(--rule-dk); color: rgba(244,240,232,0.3); }
.section-dark .data-table td { border-color: var(--rule-dk); }

/* Variante lisible sur fond clair (section standard / section-cream2) */
.section:not(.section-dark) .data-table th,
.section-cream2 .data-table th { color: var(--stone); border-color: var(--rule); }
.section:not(.section-dark) .data-table td,
.section-cream2 .data-table td { color: var(--ink); border-color: var(--rule); }
.section:not(.section-dark) .data-table td:first-child,
.section-cream2 .data-table td:first-child { color: var(--ink); font-weight: 500; }

/* ── RETOUR AU SPORT : sélecteur, modulateurs, frise dynamique ── */
.rts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 0.5px solid var(--rule);
  margin-top: 32px;
}
@media (max-width: 760px) { .rts-grid { grid-template-columns: repeat(2, 1fr); } }
.rts-card {
  background: var(--cream);
  border: none;
  padding: 22px 16px;
  text-align: left;
  cursor: pointer;
  font-family: var(--body);
  color: var(--ink);
  transition: background 0.15s;
}
.rts-card:hover { background: var(--cream2); }
.rts-card.active { background: var(--ink); color: var(--cream); }
.rts-card .rts-card-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: 8px;
}
.rts-card-icon {
  width: 30px;
  height: 30px;
  display: block;
  margin-bottom: 14px;
  color: var(--green);
}
.rts-card.active .rts-card-icon { color: var(--cream); }
.rts-card.active .rts-card-label { color: rgba(244,240,232,0.45); }
.rts-card .rts-card-name { font-family: var(--display); font-size: 20px; font-weight: 400; }

.rts-modulators {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 0.5px solid var(--rule-dk);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) { .rts-modulators { grid-template-columns: 1fr; gap: 28px; } }
.rts-mod-group .rts-mod-title {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.4);
  margin-bottom: 16px;
  display: block;
}
.rts-opt {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--rule-dk);
  cursor: pointer;
  font-size: 14px;
  color: rgba(244,240,232,0.75);
}
.rts-opt:last-child { border-bottom: none; }
.rts-opt input { accent-color: var(--green); width: 14px; height: 14px; flex-shrink: 0; }
.rts-opt .rts-opt-note { color: rgba(244,240,232,0.35); font-size: 11.5px; margin-left: auto; font-family: var(--mono); }

.rts-result {
  margin-top: 48px;
  padding: 40px;
  background: var(--cream2);
  border: 0.5px solid var(--rule);
}
.section-dark .rts-result { background: rgba(244,240,232,0.04); border-color: var(--rule-dk); }
.rts-result-n { font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; color: var(--ink); }
.section-dark .rts-result-n { color: var(--cream); }
.rts-result-l { font-size: 13.5px; color: var(--stone); margin-top: 8px; }
.section-dark .rts-result-l { color: rgba(244,240,232,0.5); }

.rts-dyn-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 0.5px solid var(--rule-dk);
  margin-top: 40px;
}
@media (max-width: 760px) { .rts-dyn-timeline { grid-template-columns: 1fr; border-top: none; } }
.rts-dyn-step {
  padding: 24px 18px 0;
  border-left: 0.5px solid var(--rule-dk);
  position: relative;
}
.rts-dyn-step:first-child { border-left: none; }
.rts-dyn-step::before {
  content: '';
  position: absolute;
  top: -5px; left: -5px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--stone);
}
.rts-dyn-step.is-current::before { background: var(--green); }
.rts-dyn-step:first-child::before { left: -1px; }
.rts-dyn-step .rts-dyn-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(244,240,232,0.3);
  margin-bottom: 10px;
}
.rts-dyn-step p { font-size: 12.5px; color: rgba(244,240,232,0.6); }
.rts-dyn-step p strong { color: var(--cream); font-weight: 500; }
@media (max-width: 760px) {
  .rts-dyn-step { border-left: 0.5px solid var(--rule-dk); padding: 14px 0 14px 20px; }
  .rts-dyn-step::before { top: 12px; left: -5px; }
}
.rts-caveat { font-size: 12px; color: rgba(244,240,232,0.4); margin-top: 20px; }

/* ── TIMELINE ── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0.5px solid var(--rule-dk);
  margin-top: 40px;
}
.tl-step {
  padding: 24px 20px 0;
  border-left: 0.5px solid var(--rule-dk);
  position: relative;
}
.tl-step:first-child { border-left: none; }
.tl-step::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}
.tl-step:first-child::before { left: -1px; }
.tl-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(244,240,232,0.3);
  margin-bottom: 10px;
}
.tl-step p { font-size: 13px; color: rgba(244,240,232,0.6); }
.tl-step p strong { color: var(--cream); font-weight: 500; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; border-top: none; }
  .tl-step { border-left: 0.5px solid var(--rule-dk); border-top: none; padding: 16px 0 16px 22px; margin-bottom: 0; }
  .tl-step::before { top: 14px; left: -5px; }
}

/* ── INTRO BLOCK ── */
.intro-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
}
.intro-label {
  padding: 52px 48px 52px 0;
  border-right: 0.5px solid var(--rule);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--stone);
}
.intro-content {
  padding: 52px 0 52px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.intro-content h3 { font-size: 20px; margin-bottom: 10px; color: var(--ink); }
@media (max-width: 760px) {
  .intro-block { grid-template-columns: 1fr; }
  .intro-label { padding: 36px 0 24px; border-right: none; }
  .intro-content { padding: 0 0 36px; grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  color: var(--stone);
  padding: 56px 0 32px;
  border-top: 0.5px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}
.footer-brand {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--cream2);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.footer-h {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.35);
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: 13px;
  color: var(--stone);
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--cream); }
.footer-bottom {
  padding-top: 24px;
  border-top: 0.5px solid rgba(244,240,232,0.07);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.3;
  letter-spacing: 0.04em;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── REFS LIST ── */
.refs { font-size: 13px; line-height: 1.7; }
.refs li { list-style: none; margin-bottom: 10px; padding-left: 16px; position: relative; }
.refs li::before { content: '—'; position: absolute; left: 0; color: var(--green); }
.refs a { color: var(--cream2); border-bottom: 0.5px solid rgba(244,240,232,0.2); }
.refs a:hover { color: var(--cream); }

/* ── UTILITY ── */
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.mt32 { margin-top: 32px; }
.mt48 { margin-top: 48px; }
.mb24 { margin-bottom: 24px; }
.mb32 { margin-bottom: 32px; }
.mb48 { margin-bottom: 48px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; }
}

/* ── AUTEUR ── */
.author-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 32px;
}
.author-portrait {
  background: var(--cream2);
  overflow: hidden;
}
.author-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  display: block;
}
.author-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0.5px solid var(--rule);
  border-left: 0.5px solid var(--rule);
}
.author-fact {
  padding: 20px 22px;
  border-right: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
}
.author-fact .mono { display: block; margin-bottom: 8px; }
.author-fact p { font-size: 13px; line-height: 1.7; }
.author-note {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 0.5px solid var(--rule);
  font-size: 12.5px;
  font-style: italic;
  color: var(--stone);
}
.author-note a { color: var(--green); border-bottom: 0.5px solid var(--green); font-style: normal; }
@media (max-width: 860px) {
  .author-block { grid-template-columns: 1fr; gap: 32px; }
  .author-portrait { max-width: 260px; }
  .author-facts { grid-template-columns: 1fr; }
}

/* ── SIGNATURE ARTICLE ── */
.byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0 12px;
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 40px;
}
.byline .author {
  color: var(--ink);
  font-weight: 500;
}
.byline .sep {
  color: var(--rule);
  font-size: 12px;
}
.byline a {
  color: var(--stone);
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.15s;
}
.byline a:hover { border-color: var(--stone); }
.section-dark .byline {
  border-color: var(--rule-dk);
  color: rgba(244,240,232,0.5);
}
.section-dark .byline .author { color: var(--cream); }
.section-dark .byline .sep { color: var(--rule-dk); }
.section-dark .byline a { color: rgba(244,240,232,0.5); }

/* ── PIED D'ARTICLE (date de MAJ) ── */
.article-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 0.5px solid var(--rule);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
}
.section-dark .article-footer {
  border-color: var(--rule-dk);
  color: rgba(244,240,232,0.35);
}


/* ── FIL D'ARIANE ── */
.breadcrumb {
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--stone);
  border-bottom: 0.5px solid var(--rule);
}
.breadcrumb a {
  color: var(--stone);
  transition: color 0.15s;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep {
  margin: 0 8px;
  color: var(--rule);
}
.breadcrumb .current {
  color: var(--ink);
}

/* ── FIGURES SCIENTIFIQUES (avec attribution CC BY) ── */
.fig-sci {
  background: var(--white);
  border: 0.5px solid var(--rule);
  overflow: hidden;
  margin: 40px 0;
}
.fig-sci figure {
  margin: 0;
}
.fig-sci img {
  width: 100%;
  height: auto;
  display: block;
  padding: 32px;
  box-sizing: border-box;
  background: var(--white);
}
.fig-sci figcaption {
  border-top: 0.5px solid var(--rule);
  padding: 0;
}
.fig-sci .fig-desc {
  padding: 20px 24px 12px;
  font-family: var(--body);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
}
.fig-sci .fig-desc strong {
  font-weight: 500;
}
.fig-sci .fig-source {
  padding: 12px 24px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--stone);
  border-top: 0.5px solid var(--rule);
  background: var(--cream);
}
.fig-sci .fig-source a {
  color: var(--green);
  border-bottom: 0.5px solid var(--green);
}
.fig-sci .fig-source a:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.fig-sci .fig-license {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  background: var(--cream2);
  color: var(--stone);
  border-radius: 2px;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Version sombre (pour section-dark) */
.section-dark .fig-sci {
  background: rgba(244,240,232,0.03);
  border-color: var(--rule-dk);
}
.section-dark .fig-sci img {
  background: var(--white);
}
.section-dark .fig-sci .fig-desc {
  color: var(--cream);
}
.section-dark .fig-sci .fig-source {
  background: rgba(0,0,0,0.15);
  color: rgba(244,240,232,0.5);
  border-color: var(--rule-dk);
}
.section-dark .fig-sci .fig-license {
  background: rgba(244,240,232,0.08);
  color: rgba(244,240,232,0.5);
}

/* ============================================================
   NOTE DU PRATICIEN — observation clinique
   Voix de l'auteur, distincte des blocs à niveau de preuve.
   Bord gauche stone (neutre), fond crème plus dense,
   marqueur mono vert (identité) + sous-titre transparent.
   ============================================================ */
.note-praticien {
  margin: 48px 0;
  padding: 28px 32px;
  background: var(--cream2);
  border-left: 3px solid var(--stone);
  position: relative;
}
.note-praticien .note-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
.note-praticien .note-sublabel {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--stone);
  margin-bottom: 18px;
  font-style: italic;
}
.note-praticien .note-body {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink);
  font-style: italic;
}
.note-praticien .note-body strong {
  font-style: normal;
  font-weight: 500;
}
.note-praticien .note-body p + p {
  margin-top: 14px;
}
.note-praticien .note-signature {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 0.5px solid var(--rule);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--stone);
  font-style: normal;
}
.note-praticien .note-signature strong {
  color: var(--ink);
  font-weight: 500;
}

/* Variante sombre pour les sections .section-dark */
.section-dark .note-praticien {
  background: rgba(244,240,232,0.04);
  border-left-color: rgba(244,240,232,0.35);
}
.section-dark .note-praticien .note-label { color: var(--green); }
.section-dark .note-praticien .note-sublabel { color: rgba(244,240,232,0.55); }
.section-dark .note-praticien .note-body { color: var(--cream); }
.section-dark .note-praticien .note-signature { color: rgba(244,240,232,0.55); border-top-color: rgba(244,240,232,0.15); }
.section-dark .note-praticien .note-signature strong { color: var(--cream); }

/* ============================================================
   FIX LISIBILITÉ — <strong> dans les sections sombres
   La règle globale ligne 63 (p strong -> var(--ink)) rendait
   les mots forts noirs sur fond noir dans les .section-dark.
   Cette règle rétablit la lisibilité pour tous les cas
   génériques non couverts par une règle spécifique.
   ============================================================ */
.section-dark p strong,
.section-dark .lede strong,
.section-dark .note-body strong { color: var(--cream); font-weight: 500; }

/* ============================================================
   AUDIT LISIBILITÉ WCAG — corrections en section sombre
   • .mono-green : #4D6B3F trop sombre sur ink (2.86:1 → 5.9:1)
   • .tl-num, .ch-num : 30% opacité insuffisant (2.5:1 → 4.7:1)
   • .ch-tag, .fact-label : 35% opacité limite (2.96:1 → 4.7:1)
   ============================================================ */
.section-dark .mono-green { color: #86B36F; }
.section-dark .tl-num { color: rgba(244,240,232,0.5); }
.section-dark .ch-num { color: rgba(244,240,232,0.5); }
.section-dark .ch-tag { color: rgba(244,240,232,0.5); }
.section-dark .fact-label { color: rgba(244,240,232,0.5); }

/* ============================================================
   SÉLECTEUR DE LANGUE — dans le header
   Petit, discret, top-right. Texte seul (FR EN ES).
   ============================================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 24px;
  padding-left: 20px;
  border-left: 0.5px solid var(--rule);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}
.lang-switcher a,
.lang-switcher span {
  display: inline-block;
  padding: 4px 8px;
  color: var(--stone);
  text-transform: uppercase;
  transition: color 0.15s;
}
.lang-switcher a:hover { color: var(--ink); }
.lang-switcher .current {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--green);
}
@media (max-width: 720px) {
  .lang-switcher {
    margin-left: auto;
    padding-left: 0;
    border-left: none;
    font-size: 9.5px;
  }
  .lang-switcher a,
  .lang-switcher span { padding: 4px 5px; }
}


/* Landings EN/ES : header à une seule ligne (pas de nav row) */
.site-header:not(:has(.header-nav)) .header-top { border-bottom: none; }
