/* ============================================
   PMCHS — Styles spécifiques : autisme
   ============================================ */

[data-lang="en"]{display:none;}

body.en [data-lang="fr"]{display:none;}

body.en [data-lang="en"]{display:block;}

html{scroll-behavior:smooth;}

/* WRAPPER */
  .wrapper{max-width:820px;margin:0 auto;padding:0 24px 80px;}

/* HERO */
  .hero{padding:116px 0 40px;border-bottom:1px solid var(--border);}

.hero-eyebrow{display:inline-block;font-size:11px;letter-spacing:3px;text-transform:uppercase;color:var(--accent);font-weight:500;border:1px solid var(--accent-border);padding:5px 16px;border-radius:20px;margin-bottom:20px;}

.hero h1{font-family:'Playfair Display',serif;font-size:clamp(28px,5vw,46px);font-weight:700;line-height:1.2;color:var(--white);margin-bottom:16px;}

.hero h1 em{font-style:italic;color:var(--accent-soft);}

.hero-lead{font-size:16px;font-weight:300;color:var(--text-muted);max-width:680px;line-height:1.8;}

/* SECTION NAV */
  .section-nav{display:flex;flex-wrap:wrap;gap:8px;padding:28px 0;border-bottom:1px solid var(--border);}

.section-nav a{font-size:12px;padding:5px 14px;border:1px solid var(--border);border-radius:99px;color:var(--text-muted);text-decoration:none;transition:all 0.2s;}

.section-nav a:hover{border-color:var(--accent);color:var(--accent-soft);}

main{padding:48px 0 64px;}

section{margin-bottom:56px;}

section:last-child{margin-bottom:0;}

.section-anchor{scroll-margin-top:80px;}

/* TITLES & TEXT */
  h2{font-family:'Playfair Display',serif;font-size:26px;font-weight:600;color:var(--white);margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid var(--border);line-height:1.25;}

h2 .num{display:block;font-family:'Source Sans 3',sans-serif;font-size:11px;font-weight:600;letter-spacing:2.5px;text-transform:uppercase;color:var(--accent);margin-bottom:6px;}

h3{font-family:'Playfair Display',serif;font-size:17px;font-weight:600;color:var(--white);margin:28px 0 12px;}

p{margin-bottom:16px;font-size:15px;color:var(--text-muted);line-height:1.85;}

p:last-child{margin-bottom:0;}

p strong, li strong{color:var(--accent-soft);font-weight:600;}

p em{color:var(--rose-soft);font-style:italic;}

/* CARDS */
  .card{background:var(--card-bg);border:1px solid var(--border);border-radius:12px;padding:22px 26px;margin-bottom:16px;}

.card.teal{border-color:var(--accent-border);background:var(--accent-dim);}

.card.gold{border-color:rgba(200,169,110,0.35);background:var(--gold-dim);}

.card.alert{border-color:var(--red-border);background:var(--red-dim);}

.card.plain{border-color:var(--violet-border);background:var(--violet-soft);}

.card p{margin-bottom:0;}

.card-label{font-size:11px;letter-spacing:2.5px;text-transform:uppercase;font-weight:600;margin-bottom:8px;}

.card.teal .card-label{color:var(--accent-soft);}

.card.gold .card-label{color:var(--gold);}

.card.alert .card-label{color:var(--red);}

.card.plain .card-label{color:var(--violet);}

.card.plain p{font-size:15px;line-height:1.8;}

/* MECHANISM FLOW */
  .mech-flow{display:flex;flex-direction:column;gap:0;margin:20px 0;}

.mech-step{display:flex;align-items:flex-start;gap:16px;}

.mech-col{display:flex;flex-direction:column;align-items:center;flex-shrink:0;width:28px;}

.mech-dot{width:10px;height:10px;border-radius:50%;background:var(--accent);flex-shrink:0;margin-top:8px;}

.mech-line{width:2px;flex:1;background:var(--accent-border);min-height:18px;}

.mech-body{flex:1;padding-bottom:18px;font-size:14px;color:var(--text-muted);line-height:1.65;}

.mech-body strong{color:var(--white);font-weight:600;}

/* GRID */
  .grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;}

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

/* TABLE */
  .table-wrap{overflow-x:auto;margin:20px 0;}

table{width:100%;border-collapse:collapse;font-size:13px;}

thead tr{background:var(--accent-dim);}

th{text-align:left;padding:10px 14px;font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:var(--accent-soft);border-bottom:1px solid var(--border);}

td{padding:9px 14px;border-bottom:1px solid rgba(255,255,255,0.05);vertical-align:top;color:var(--text-muted);line-height:1.55;}

tr:last-child td{border-bottom:none;}

tr:hover td{background:rgba(255,255,255,0.02);}

/* CITATIONS */
  cite{font-style:normal;font-size:11px;color:var(--text-faint);vertical-align:super;}

/* REFERENCES LIST */
  .ref-list{list-style:none;counter-reset:refs;font-size:13.5px;line-height:1.6;color:var(--text-muted);}

.ref-list li{counter-increment:refs;padding:10px 0 10px 36px;position:relative;border-bottom:1px solid rgba(74,158,202,0.06);}

.ref-list li:last-child{border-bottom:none;}

.ref-list li::before{content:counter(refs)".";position:absolute;left:0;top:10px;width:28px;text-align:right;color:var(--accent);font-size:11px;font-weight:600;}

.ref-list a{color:var(--accent);text-decoration:none;}

.ref-list a:hover{color:var(--accent-soft);text-decoration:underline;}

/* PMCHS BOX */
  .pmchs-box{background:var(--card-bg);border:1px solid var(--accent-border);border-radius:12px;padding:26px;margin-top:32px;}

.pmchs-box .pmchs-title{font-size:11px;letter-spacing:2.5px;text-transform:uppercase;color:var(--accent);font-weight:600;margin-bottom:12px;}

/* CROSSLINK */
  .crosslink{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--accent);text-decoration:none;border:1px solid var(--accent-border);border-radius:99px;padding:5px 16px;transition:all 0.2s;margin-top:8px;}

.crosslink:hover{background:var(--accent-dim);color:var(--accent-soft);}



:root {
    --navy: #0d1b2e;
    --navy-mid: #1a3a5c;
    --navy-light: #2e5f8a;
    --accent: #4a9eca;
    --accent-soft: #7dbfe0;
    --gold: #c8a96e;
    --white: #f8fafc;
    --text: #e8edf4;
    --text-muted: #8faabf;
    --card-bg: rgba(26, 58, 92, 0.4);
    --border: rgba(74, 158, 202, 0.2);
    --violet: #7c5cbf;
    --violet-soft: rgba(124, 92, 191, 0.15);
    --violet-border: rgba(124, 92, 191, 0.3);
    --rose: #c47a9a;
    --rose-soft: #e0a8c0;
    --red: #d9695a;
    --red-border: rgba(217, 105, 90, 0.35);
    --red-dim: rgba(217, 105, 90, 0.08);
    --gold-dim: rgba(200, 169, 110, 0.08);
    --accent-dim: rgba(74, 158, 202, 0.08);
    --accent-border: rgba(74, 158, 202, 0.30);
    --text-faint: #55788f;
  }

/* TOPBAR */
  .topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: 56px;
    background: rgba(13, 27, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 158, 202, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
  }

.topbar-left { display: flex; align-items: center; gap: 24px; }

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    flex-shrink: 0;
  }

.nav-links { display: flex; gap: 16px; }

.topbar-right { display: flex; align-items: center; gap: 10px; }

.lang-toggle { display: flex; gap: 6px; }

.lang-btn {
    padding: 5px 12px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.2s;
  }

.lang-btn.active { background: var(--accent); border-color: var(--accent); color: white; }

.lang-btn:hover:not(.active) { border-color: var(--accent-soft); color: var(--accent-soft); }

/* HAMBURGER */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }

.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: all 0.3s;
  }

/* MOBILE MENU */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 56px; left: 0; right: 0;
    z-index: 199;
    background: rgba(13, 27, 46, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    flex-direction: column;
    gap: 4px;
  }

/* HERO */
  .hero {
    text-align: center;
    padding: 116px 24px 70px;
    position: relative;
    overflow: hidden;
  }

.hero::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(ellipse, rgba(124, 92, 191, 0.07) 0%, transparent 70%);
    pointer-events: none;
  }

.hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--violet);
    border: 1px solid var(--violet-border);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 28px;
  }

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

.hero h1 .accent-violet { color: #9b7de0; }

.hero-sub {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 48px;
    font-weight: 300;
    line-height: 1.8;
  }

/* STATS ROW */
  .stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }

.stat-item { text-align: center; }

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #9b7de0;
    font-weight: 700;
    display: block;
  }

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
  }

/* DIVIDER */
  .divider {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, transparent, #7c5cbf, transparent);
    margin: 40px auto;
  }

/* CONTAINER */
  .container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px 80px;
  }

/* SECTION TITLE */
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

.section-title::after {
    content: '';
    flex: 1; height: 1px;
    background: var(--border);
  }

/* CONCEPT BOX */
  .concept-box {
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.8), rgba(13, 27, 46, 0.9));
    border: 1px solid rgba(200, 169, 110, 0.3);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
  }

.concept-box::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 240px; height: 240px;
    background: radial-gradient(ellipse, rgba(200, 169, 110, 0.06), transparent 70%);
    pointer-events: none;
  }

.concept-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
  }

.concept-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 18px;
  }

.concept-box p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
  }

.concept-box p:last-child { margin-bottom: 0; }

.concept-box p strong { color: var(--gold); }

.concept-box p em { color: var(--accent-soft); font-style: normal; }

/* MECH BOX — violet theme */
  .mech-box {
    background: linear-gradient(135deg, rgba(50, 30, 80, 0.45), rgba(13, 27, 46, 0.95));
    border: 1px solid var(--violet-border);
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 36px;
    position: relative;
    overflow: hidden;
  }

.mech-box::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 220px; height: 220px;
    background: radial-gradient(ellipse, rgba(124, 92, 191, 0.08), transparent 70%);
    pointer-events: none;
  }

.mech-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9b7de0;
    margin-bottom: 16px;
    display: block;
  }

.mech-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 16px;
  }

.mech-box p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
  }

.mech-box p:last-child { margin-bottom: 0; }

.mech-box p strong { color: #b59fe8; }

/* SYMPTOM CARDS */
  .symptom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin: 24px 0 36px;
  }

.symptom-card {
    background: var(--violet-soft);
    border: 1px solid var(--violet-border);
    border-radius: 10px;
    padding: 18px 16px;
  }

.symptom-card strong {
    font-size: 13px;
    color: #b59fe8;
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
  }

.symptom-card span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
  }

/* TWO-COL */
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }

.col-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
  }

.col-card.violet { border-top: 3px solid #7c5cbf; }

.col-card.gold { border-top: 3px solid var(--gold); }

.col-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.3;
  }

.col-card ul { list-style: none; padding: 0; margin: 0; }

.col-card ul li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 6px 0;
    border-bottom: 1px solid rgba(74, 158, 202, 0.08);
    display: flex;
    gap: 8px;
    line-height: 1.4;
  }

.col-card ul li:last-child { border-bottom: none; }

.col-card ul li::before {
    content: '·';
    color: #9b7de0;
    font-weight: 700;
    flex-shrink: 0;
  }

/* SCIENCE BOX */
  .science-box {
    background: rgba(13, 27, 46, 0.95);
    border: 1px solid rgba(74, 158, 202, 0.25);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
  }

.science-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
  }

.science-box h4 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    color: var(--white);
    margin-bottom: 12px;
  }

.science-box p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 10px;
  }

.science-box p:last-child { margin-bottom: 0; }

.science-ref {
    font-size: 11px;
    color: rgba(74, 158, 202, 0.6);
    font-style: italic;
    margin-top: 12px;
    display: block;
  }

/* BIOMARKER TABLE */
  .biomarker-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
    margin: 20px 0;
  }

.biomarker-item {
    background: rgba(13, 27, 46, 0.7);
    border: 1px solid rgba(124, 92, 191, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

.biomarker-arrow {
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
  }

.biomarker-arrow.up { color: #e07070; }

.biomarker-arrow.down { color: #70b8e0; }

.biomarker-content strong {
    font-size: 13px;
    color: var(--white);
    display: block;
    margin-bottom: 2px;
  }

.biomarker-content span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
  }

/* THERAPEUTIC */
  .therapeutic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 48px;
  }

.therapeutic-card {
    background: var(--violet-soft);
    border: 1px solid var(--violet-border);
    border-radius: 10px;
    padding: 18px 16px;
  }

.therapeutic-card strong {
    font-size: 13px;
    color: #b59fe8;
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
  }

.therapeutic-card span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
  }

/* ALERT BOX */
  .alert-box {
    background: rgba(200, 169, 110, 0.08);
    border: 1px solid rgba(200, 169, 110, 0.3);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 36px;
  }

.alert-box p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
  }

.alert-box p strong { color: var(--gold); }

/* LINK BOX */
  .link-box {
    background: rgba(42, 157, 143, 0.08);
    border: 1px solid rgba(42, 157, 143, 0.3);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 36px;
  }

.link-box p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
  }

.link-box p strong { color: #5ecfbf; }

.link-box a { color: #2a9d8f; text-decoration: none; font-weight: 600; }

.link-box a:hover { text-decoration: underline; }

/* CTA */
  .cta-box {
    background: linear-gradient(135deg, rgba(124, 92, 191, 0.12), rgba(13, 27, 46, 0.9));
    border: 1px solid var(--violet-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-bottom: 48px;
  }

.cta-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 12px;
  }

.cta-box p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
  }

.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: #7c5cbf;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
  }

.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--accent);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s;
  }

.btn-secondary:hover { background: rgba(74, 158, 202, 0.1); }

/* NAV CARDS */
  .nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
  }

.nav-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

.nav-card:hover { border-color: rgba(74, 158, 202, 0.5); transform: translateY(-2px); }

.nav-card-icon { font-size: 24px; }

.nav-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    color: var(--white);
    line-height: 1.3;
  }

.nav-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; flex: 1; }

.nav-card-arrow { font-size: 13px; color: var(--accent); font-weight: 600; margin-top: 4px; }

/* FOOTER */
  .footer {
    text-align: center;
    padding: 40px 24px 60px;
    border-top: 1px solid var(--border);
  }

.footer p { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }

.footer a { color: var(--accent); text-decoration: none; }

.footer a:hover { text-decoration: underline; }

.signature {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--accent);
    font-style: italic;
  }

/* LANGUAGE */
  .lang-fr, .lang-en { display: block; }

/* RESPONSIVE */
  @media (max-width: 700px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .two-col { grid-template-columns: 1fr; }
    .stats-row { gap: 24px; }
  }