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

:root {
    --navy: #0d1b2e;
    --navy-mid: #1a3a5c;
    --navy-light: #2e5f8a;
    --accent: #4a9eca;
    --accent-soft: #7dbfe0;
    --gold: #c8a96e;
    --gold-light: #e8d5b5;
    --white: #f8fafc;
    --text: #e8edf4;
    --text-muted: #8faabf;
    --card-bg: rgba(26, 58, 92, 0.4);
    --border: rgba(74, 158, 202, 0.2);
    --sage: rgba(122, 180, 120, 0.9);
    --sage-light: rgba(122, 180, 120, 0.5);
    --sage-pale: rgba(122, 180, 120, 0.08);
    --earth: #8b9a8b;
    --cream: #e8edf4;
    --warm-white: rgba(26,58,92,0.3);
    --text-dark: #e8edf4;
    --text-mid: #8faabf;
    --text-light: #6a8aaa;
  }

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--navy);
    color: var(--text);
    line-height: 1.7;
  }

/* ── HEADER ── */
  header {
    background: linear-gradient(160deg, #0d1b2e 0%, #1a3a5c 60%, #0d1b2e 100%);
    padding: 60px 40px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 25% 50%, rgba(74,158,202,0.18) 0%, transparent 60%),
                radial-gradient(ellipse at 75% 50%, rgba(200,169,110,0.12) 0%, transparent 60%);
  }

.header-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 28px;
  }

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 300;
    color: var(--cream);
    line-height: 1.2;
    margin-bottom: 16px;
  }

header h1 em {
    font-style: italic;
    color: var(--gold-light);
  }

header p.subtitle {
    font-size: 14px;
    font-weight: 300;
    color: var(--gold-light);
    letter-spacing: 0.5px;
    max-width: 500px;
    margin: 0 auto 32px;
  }

.header-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

.tag {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border: 1px solid var(--gold);
    border-radius: 20px;
    color: var(--gold);
  }

/* ── INTRO BAND ── */
  .intro-band {
    background: var(--sage-pale);
    border-left: 3px solid var(--sage);
    padding: 32px 40px;
    max-width: 820px;
    margin: 48px auto 0;
    border-radius: 0 8px 8px 0;
  }

.intro-band p {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 300;
    font-style: italic;
    color: var(--text-mid);
    line-height: 1.8;
  }

.intro-band strong { font-style: normal; font-weight: 600; color: var(--text-dark); }

/* ── MAIN CONTENT ── */
  main { max-width: 820px; margin: 0 auto; padding: 0 24px 80px; }

.section-label {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gold-light);
    max-width: 60px;
  }

/* ── PILLAR CARDS ── */
  .pillar {
    margin: 56px 0 0;
  }

.pillar-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
  }

.pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 4px;
  }

.icon-green  { background: var(--sage-pale); }

.icon-earth  { background: #f0e8e2; }

.icon-sky    { background: #e6eef5; }

.icon-night  { background: #edeaf5; }

.icon-gold   { background: #f5ede0; }

.pillar-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 4px;
  }

.pillar-title .subtitle-small {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.3px;
  }

.pillar-body {
    background: rgba(26, 58, 92, 0.4);
    border-radius: 12px;
    padding: 28px 32px;
    border: 1px solid rgba(74, 158, 202, 0.2);
    backdrop-filter: blur(4px);
  }

.why-box {
    background: var(--sage-pale);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 22px;
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.65;
  }

.why-box strong { color: var(--sage); font-weight: 500; }

.advice-list { list-style: none; }

.advice-list li {
    display: flex;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 14px;
    color: var(--text-mid);
    align-items: flex-start;
  }

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

.advice-list .bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sage);
    flex-shrink: 0;
    margin-top: 8px;
  }

.advice-list li strong { color: var(--text-dark); font-weight: 500; }

.tip-box {
    margin-top: 20px;
    background: #133A5A;
    border: 1px solid var(--gold-light);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 13px;
    color: var(--earth);
    line-height: 1.6;
  }

.tip-box::before { content: '✦ Astuce · '; font-weight: 500; }

/* ── DIVIDER ── */
  .divider {
    margin: 60px 0 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--sage-light), transparent);
  }

/* ── FOLLOW-UP SECTION ── */
  .followup {
    margin: 60px 0 0;
    background: linear-gradient(135deg, var(--navy-mid), var(--navy));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 44px 40px;
    position: relative;
    overflow: hidden;
  }

.followup::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(122,140,120,0.2), transparent 70%);
  }

.followup h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 10px;
    position: relative;
  }

.followup > p {
    font-size: 14px;
    color: var(--sage-light);
    margin-bottom: 32px;
    font-weight: 300;
    position: relative;
  }

.followup-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
  }

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

.followup-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 24px;
  }

.followup-card .month {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 300;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 8px;
  }

.followup-card h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 12px;
    letter-spacing: 0.3px;
  }

.followup-card ul {
    list-style: none;
    font-size: 13px;
    color: rgba(250,248,244,0.7);
    line-height: 1.7;
  }

.followup-card ul li::before { content: '→ '; color: var(--sage-light); }

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    position: relative;
  }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
  }

.btn-primary {
    background: var(--sage);
    color: white;
  }

.btn-primary:hover { background: var(--sage-light); color: var(--text-dark); }

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--cream);
  }

.btn-secondary:hover { border-color: var(--sage-light); }

/* ── DISCLAIMER ── */
  .disclaimer {
    margin: 40px 0 0;
    background: #133A5A;
    border-radius: 10px;
    padding: 20px 24px;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.7;
    border: 1px solid var(--border);
  }

.disclaimer strong { color: var(--text-mid); }

/* ── FOOTER ── */
  footer {
    margin-top: 80px;
    border-top: 1px solid var(--border);
    padding: 32px 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
  }

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

/* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

.pillar { animation: fadeUp 0.5s ease both; }

.pillar:nth-child(1) { animation-delay: 0.1s; }

.pillar:nth-child(2) { animation-delay: 0.2s; }

.pillar:nth-child(3) { animation-delay: 0.3s; }

.pillar:nth-child(4) { animation-delay: 0.4s; }

.pillar:nth-child(5) { animation-delay: 0.5s; }

/* ── 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; }

.nav-link { font-size: 13px; color: var(--text-muted); text-decoration: none; letter-spacing: 0.5px; transition: color 0.2s; white-space: nowrap; }

.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; 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 { 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; }

.mobile-link { font-size: 15px; color: var(--text-muted); text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgba(74,158,202,0.1); transition: color 0.2s; }

header { padding-top: 116px !important; }

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

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

span.lang-fr, span.lang-en { display: inline; }

body.en span.lang-fr { display: none; }

body.fr span.lang-en { display: none; }
/* ── INFO BOX (die-off, encarts explicatifs neutres) ── */
.info-box {
    margin-top: 20px;
    background: var(--sage-pale);
    border-left: 3px solid var(--sage);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.65;
  }

.info-box strong { color: var(--sage); font-weight: 500; }

/* ── TABLEAU MÉDICAMENTS À RISQUE ── */
.risk-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}

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

.risk-table th {
  text-align: left;
  padding: 12px 16px;
  background: rgba(74, 158, 202, 0.08);
  color: var(--accent-soft);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid var(--border);
}

.risk-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(74, 158, 202, 0.08);
  color: var(--text-muted);
  vertical-align: top;
}

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

.risk-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.risk-high { background: rgba(214, 90, 90, 0.15); color: #e08a8a; }
.risk-moderate { background: rgba(200, 169, 110, 0.15); color: var(--gold); }
.risk-variable { background: rgba(122, 158, 126, 0.15); color: #9fc2a3; }

.risk-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 20px;
  background: rgba(74, 158, 202, 0.1);
  border: 1px solid rgba(74, 158, 202, 0.3);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-soft);
  text-decoration: none;
  transition: all 0.2s;
}

.risk-download:hover {
  background: rgba(74, 158, 202, 0.2);
  color: var(--white);
}

@media (max-width: 700px) {
  .risk-table { font-size: 12px; }
  .risk-table th, .risk-table td { padding: 10px 10px; }
}
