/* ============================================
   MonAnalyseBio : Article Design System v2
   Fraunces + Inter | Navy #0F1E38 | Gold #F07030
   ============================================ */

:root {
  --bg:           #FFFFFF;
  --bg-cream:     #FBF9F4;
  --bg-cream-2:   #F5F1E8;
  --bg-navy:      #0F1E38;
  --bg-navy-mid:  #1B2D4F;
  --ink:          #0F1E38;
  --ink-soft:     rgba(15,30,56,.72);
  --ink-mute:     rgba(15,30,56,.55);
  --hairline:     rgba(15,30,56,.12);
  --hairline-fine:rgba(15,30,56,.06);
  --gold:         #F07030;
  --gold-vivid:   #E85A10;
  --gold-light:   #F07030;
  --gold-warm:    #E89856;
  --w90:  rgba(255,255,255,.90);
  --w70:  rgba(255,255,255,.70);
  --w50:  rgba(255,255,255,.50);
  --w15:  rgba(255,255,255,.15);
  --w08:  rgba(255,255,255,.08);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

/* ---- TOP BAR ---- */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  height: 41px;
  background: var(--bg-navy);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 400;
  color: var(--w70);
  letter-spacing: 0.01em;
}
.top-bar a { color: var(--gold-light); text-decoration: none; font-weight: 500; }
.top-bar a:hover { color: var(--w90); }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--hairline);
}
.logo {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 13.5px; font-weight: 300;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-login {
  font-size: 13.5px; font-weight: 300;
  color: var(--ink-soft); text-decoration: none;
  transition: color .2s;
}
.nav-login:hover { color: var(--ink); }
.btn-pill {
  background: var(--bg-navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  padding: 9px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(15,30,56,.22);
}
.btn-pill:hover { background: var(--bg-navy-mid); box-shadow: 0 6px 22px rgba(15,30,56,.28); }
.nav-mobile-toggle {
  display: none;
  background: none; border: none;
  font-size: 22px; cursor: pointer; color: var(--ink);
}

/* ---- ARTICLE HERO ---- */
.article-hero {
  background: var(--bg-cream);
  padding: 119px 24px 96px;
  text-align: center;
  border-bottom: 1px solid var(--hairline-fine);
}
.article-hero-inner { max-width: 740px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
  display: block;
}
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 24px;
}
.article-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
}
.article-meta {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 24px;
  font-weight: 300;
}
.article-excerpt {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
}

/* ---- ARTICLE BODY ---- */
.article-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}
.article-body p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 56px 0 18px;
}
.article-body h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 40px 0 14px;
}
.article-body blockquote {
  border-left: 3px solid var(--gold);
  margin: 36px 0;
  padding: 18px 24px;
  background: var(--bg-cream);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-soft);
}
.article-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.article-body a:hover { color: var(--gold-vivid); }

/* ---- DIVIDER ---- */
.article-divider {
  width: 48px; height: 1px;
  background: var(--hairline);
  margin: 48px 0;
}

/* ---- CTA BOX ---- */
.cta-box {
  background: var(--bg-navy);
  border-radius: 16px;
  padding: 52px 48px;
  margin: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: none;
  pointer-events: none;
}
.cta-box .eyebrow {
  color: var(--gold-light);
  justify-content: center;
}
.cta-box .eyebrow::before { background: var(--gold-light); }
.cta-box h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.cta-box h3 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
}
.cta-box p {
  font-size: 15px;
  font-weight: 300;
  color: var(--w70);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto 32px;
}
.btn-cta {
  display: inline-block;
  background: var(--gold);
  color:#fff !important;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  padding: 14px 36px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background .2s, box-shadow .2s, transform .2s;
  box-shadow: 0 6px 24px rgba(240,112,48,.35);
}
.btn-cta:hover {
  background: var(--gold-vivid);
  box-shadow: 0 10px 32px rgba(240,112,48,.42);
  transform: translateY(-2px);
}

/* ---- SOURCES ---- */
.sources-section {
  border-top: 1px solid var(--hairline);
  padding-top: 40px;
  margin-top: 60px;
}
.sources-section h2 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
}
.sources-section p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ---- THRESHOLD VIZ (norme labo vs seuil fonctionnel) ---- */
.threshold-viz {
  margin: 32px 0;
  padding: 28px 32px;
  background: var(--bg-cream);
  border-radius: 14px;
  border: 1px solid var(--hairline);
}
.threshold-viz-label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 22px;
}
.threshold-row + .threshold-row { margin-top: 30px; }
.threshold-row-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.threshold-track {
  position: relative;
  height: 10px;
  background: rgba(15,30,56,.08);
  border-radius: 6px;
  margin: 0 4px;
}
.threshold-zone-optimal {
  position: absolute;
  top: 0; height: 100%;
  background: var(--gold);
  border-radius: 6px;
  opacity: .88;
}
.threshold-marker {
  position: absolute;
  top: -7px;
  width: 2px; height: 24px;
  background: var(--ink);
  border-radius: 1px;
}
.threshold-marker span {
  position: absolute;
  top: -26px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
  background: var(--bg-cream);
  padding: 0 4px;
}
.threshold-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-mute);
  margin: 8px 4px 0;
}
.threshold-legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-fine);
}
.threshold-legend .dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
}
.threshold-legend .dot.lab { background: rgba(15,30,56,.22); }
.threshold-legend .dot.optimal { background: var(--gold); }
@media (max-width: 640px) {
  .threshold-viz { padding: 22px 18px; }
}

/* ---- STAT CALLOUT (chiffre clé mis en avant) ---- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.stat-callout {
  padding: 24px 20px;
  background: var(--bg-cream);
  border-radius: 14px;
  border: 1px solid var(--hairline);
  text-align: center;
}
.stat-callout .stat-number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  color: var(--gold-vivid);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-callout .stat-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---- FAQ ---- */
.faq-section { margin-top: 64px; }
.faq-section h2 {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 400;
  color: var(--ink);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 24px 0;
}
.faq-item h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.faq-item p {
  font-size: 15px; font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ---- FOOTER ---- */
footer {
  background: var(--bg-navy);
  padding: 72px 48px 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.footer-logo span { color: var(--gold-light); font-style: italic; }
.footer-brand p {
  font-size: 13px; font-weight: 300;
  color: var(--w50);
  line-height: 1.7;
  max-width: 220px;
}
.footer-heading {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--w50);
  margin-bottom: 18px;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul a {
  font-size: 13px; font-weight: 300;
  color: var(--w70);
  text-decoration: none;
  transition: color .2s;
}
footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--w08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px; font-weight: 300;
  color: var(--w50);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-login { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 16px;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    padding: 24px 24px;
    border-bottom: 1px solid var(--hairline);
    z-index: 99;
  }
  .article-hero { padding: 89px 20px 64px; }
  .article-body { padding: 48px 20px 72px; }
  .article-body h2 { font-size: 26px; margin: 40px 0 14px; }
  .article-body h3 { font-size: 20px; }
  .cta-box { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  footer { padding: 48px 20px 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- MARKER FICHE ADDITIONS ---- */
.marker-list {
  margin: 0 0 32px;
  padding-left: 22px;
}
.marker-list li {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.marker-more {
  margin: 40px 0 0;
  font-size: 15px;
}
.marker-more a {
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(240,112,48,.3);
}
.marker-more a:hover { border-color: var(--gold); }
.marker-disclaimer {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.6;
}
