/* ============================================
   PMCHS — Styles spécifiques : section Modèle
   (modele-biologique / modele-mecanismes / modele-schemas)
   ============================================ */

: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);
    --neuro: rgba(160, 100, 200, 0.8);
    --neuro-bg: rgba(160, 100, 200, 0.07);
    --neuro-border: rgba(160, 100, 200, 0.25);
  }

/* HERO */
.hero {
    text-align: center;
    padding: 100px 24px 60px;
    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(74, 158, 202, 0.08) 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(--accent);
    border: 1px solid rgba(74, 158, 202, 0.3);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 28px;
  }

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 4.5vw, 42px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 16px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

/* DIVIDER */
.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), 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;
    scroll-margin-top: 72px;
  }

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

/* INTRO NOTE */
.intro-note {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0;
    padding: 22px 26px;
    margin-bottom: 40px;
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.8;
  }

.intro-note strong { color: var(--white); }
.intro-note a { color: var(--accent); }

/* DRAFT NOTICE */
.draft-notice {
    background: linear-gradient(135deg, rgba(200, 169, 110, 0.15), rgba(13, 27, 46, 0.9));
    border: 1px solid rgba(200, 169, 110, 0.4);
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 40px;
    font-size: 13.5px;
    color: var(--gold);
    line-height: 1.7;
  }

.draft-notice strong { color: var(--white); }
.draft-notice a { color: var(--accent-soft); }

/* CONCEPT BOX (reused from index) */
.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; }

/* PILLARS GRID (reused from index) */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 48px;
  }

.pillar-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: 0 0 12px 12px;
    padding: 24px 20px;
    backdrop-filter: blur(4px);
    transition: border-color 0.2s, transform 0.2s;
  }

.pillar-card:hover { border-color: var(--accent-soft); transform: translateY(-2px); }
.pillar-icon { font-size: 26px; margin-bottom: 12px; display: block; }
.pillar-card h4 { font-family: 'Playfair Display', serif; font-size: 15px; color: var(--white); margin-bottom: 8px; line-height: 1.3; }
.pillar-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* HIG BOX (reused from index) */
.hig-box {
    background: linear-gradient(135deg, rgba(120, 60, 90, 0.25), rgba(13, 27, 46, 0.95));
    border: 1px solid rgba(180, 100, 130, 0.4);
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
  }

.hig-box::before {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 220px; height: 220px;
    background: radial-gradient(ellipse, rgba(180, 100, 130, 0.07), transparent 70%);
    pointer-events: none;
  }

.hig-tag { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #c47a9a; margin-bottom: 12px; display: block; }
.hig-box h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--white); margin-bottom: 16px; line-height: 1.3; }
.hig-box p { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; }
.hig-box p:last-of-type { margin-bottom: 20px; }

.hig-signals { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 20px 0; }
.hig-signal { background: rgba(180, 100, 130, 0.1); border: 1px solid rgba(180, 100, 130, 0.25); border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.hig-signal strong { display: block; color: #c47a9a; font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.hig-note { font-size: 12px; color: rgba(180, 100, 130, 0.7); font-style: italic; margin-top: 16px; }

/* CONTENT CARD */
.content-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
  }

.content-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.content-card p:last-child { margin-bottom: 0; }
.content-card strong { color: var(--text); }
.content-card em { color: var(--accent-soft); font-style: italic; }

/* CASCADE BOX (reused from reflexes-archaiques) */
.cascade-box {
    background: var(--neuro-bg);
    border: 1px solid var(--neuro-border);
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
  }

.cascade-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neuro), transparent);
    border-radius: 12px 12px 0 0;
  }

.cascade-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0; }
.cascade-node { background: rgba(160, 100, 200, 0.15); border: 1px solid var(--neuro-border); border-radius: 8px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.3; text-align: center; }
.cascade-node.mast { background: rgba(74, 158, 202, 0.15); border-color: var(--border); color: var(--accent-soft); }
.cascade-node.hub { background: rgba(200, 169, 110, 0.18); border-color: rgba(200, 169, 110, 0.4); color: var(--gold); }
.cascade-arrow { font-size: 16px; color: var(--neuro); flex-shrink: 0; }
.cascade-box p { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.cascade-box p:last-child { margin-bottom: 0; }
.cascade-box strong { color: var(--text); }

/* BRANCH GRID (4 branches from LC) */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
  }

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

.branch-card .branch-icon { font-size: 22px; display: block; margin-bottom: 10px; }
.branch-card h4 { font-family: 'Playfair Display', serif; font-size: 15px; color: var(--white); margin-bottom: 8px; line-height: 1.3; }
.branch-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.branch-card a { color: var(--accent-soft); font-size: 12.5px; font-weight: 600; display: inline-block; margin-top: 10px; text-decoration: none; }
.branch-card a:hover { text-decoration: underline; }

/* TIP / CLINICAL NOTE */
.tip-box { background: rgba(74, 158, 202, 0.06); border: 1px solid rgba(74, 158, 202, 0.2); border-radius: 8px; padding: 14px 18px; font-size: 13.5px; color: var(--text-muted); line-height: 1.65; margin-top: 20px; }
.tip-box strong { color: var(--accent); }

.clinical-note { background: rgba(200, 169, 110, 0.06); border: 1px solid rgba(200, 169, 110, 0.25); border-radius: 10px; padding: 20px 24px; margin-top: 40px; font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.clinical-note strong { color: var(--gold); }
.clinical-note a { color: var(--accent); }

/* SCHEMA / DIAGRAM CARD */
.schema-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
  }

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

.schema-card .schema-caption {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
  }

.schema-card svg { width: 100%; height: auto; display: block; }
.schema-card .schema-note { font-size: 12.5px; color: var(--text-muted); font-style: italic; margin-top: 18px; line-height: 1.6; }

/* NAV CARDS */
.nav-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 16px; }
.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; }

/* TOPBAR (shared boilerplate) */
.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; text-decoration: none;
  }
.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 { 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 {
    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 { padding-top: 116px !important; }
body > .container:first-of-type { padding-top: 72px; }

@media (max-width: 700px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
  }

@media (max-width: 600px) {
    .hero { padding: 80px 24px 40px; }
    .pillars-grid { grid-template-columns: 1fr; }
    .branch-grid { grid-template-columns: 1fr; }
    .content-card { padding: 20px; }
    .cascade-box { padding: 20px; }
    .schema-card { padding: 20px; }
  }
