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

: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);
  }

/* LANG TOGGLE */

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

.hero::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    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: 24px;
  }

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

.hero h1 span { color: var(--accent); }

.hero-sub {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
    font-weight: 300;
  }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }

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

.hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    display: block;
  }

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

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

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

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

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

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
  }

.stat-card:hover {
    border-color: var(--accent-soft);
    transform: translateY(-2px);
  }

.stat-card-num {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
  }

.stat-card-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
  }

/* FINDINGS */
  .findings {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
  }

.finding {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 0 10px 10px 0;
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    backdrop-filter: blur(4px);
  }

.finding-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
  }

.finding-content strong {
    display: block;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
  }

.finding-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
  }

.finding-content .highlight {
    color: var(--accent);
    font-weight: 600;
  }

/* HYPOTHESIS BOX */
  .hypothesis {
    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: 36px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
  }

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

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

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

.hypothesis p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
  }

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

/* PREPRINT BOX */
  .preprint-box {
    background: linear-gradient(135deg, rgba(200, 169, 110, 0.08), rgba(13, 27, 46, 0.95));
    border: 1px solid rgba(200, 169, 110, 0.4);
    border-radius: 16px;
    padding: 32px 36px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
  }

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

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

.preprint-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
  }

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

.preprint-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-muted);
  }

.preprint-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
  }

.preprint-meta strong { color: var(--text); }

.doi-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(200, 169, 110, 0.15);
    border: 1px solid rgba(200, 169, 110, 0.4);
    border-radius: 24px;
    color: var(--gold);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    margin-right: 12px;
    margin-top: 4px;
  }

.doi-link:hover {
    background: rgba(200, 169, 110, 0.25);
    transform: translateY(-1px);
  }

.pmchs-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: transparent;
    border: 1px solid rgba(74, 158, 202, 0.4);
    border-radius: 24px;
    color: var(--accent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    margin-top: 4px;
  }

.pmchs-link:hover {
    background: rgba(74, 158, 202, 0.1);
    transform: translateY(-1px);
  }

/* NEXT STEPS */
  .next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
  }

.next-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(4px);
  }

.next-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }

.next-card-icon {
    width: 36px;
    height: 36px;
    background: rgba(74, 158, 202, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }

.next-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
  }

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

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

.next-card a:hover { text-decoration: underline; }

/* SURVEY CTA */
  .survey-cta {
    background: linear-gradient(135deg, rgba(74, 158, 202, 0.15), rgba(13, 27, 46, 0.95));
    border: 1px solid rgba(74, 158, 202, 0.4);
    border-radius: 16px;
    padding: 32px 36px;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
  }

.survey-cta::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(ellipse, rgba(74, 158, 202, 0.08), transparent 70%);
    pointer-events: none;
  }

.survey-cta-content { flex: 1; min-width: 220px; }

.survey-cta-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
  }

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

.survey-cta p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
  }

.survey-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
  }

.survey-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    white-space: nowrap;
  }

.survey-btn-primary {
    background: var(--accent);
    color: white;
    border: 1px solid var(--accent);
  }

.survey-btn-primary:hover {
    background: var(--accent-soft);
    border-color: var(--accent-soft);
    transform: translateY(-1px);
  }

.survey-btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(74, 158, 202, 0.4);
  }

.survey-btn-secondary:hover {
    background: rgba(74, 158, 202, 0.1);
    border-color: var(--accent);
    transform: translateY(-1px);
  }

/* THANK YOU */
  .thank-you {
    text-align: center;
    padding: 40px 24px 60px;
    border-top: 1px solid var(--border);
  }

.thank-you p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 8px;
  }

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

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

/* RESPONSIVE */
  @media (max-width: 600px) {
    .hero-stats { gap: 24px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hypothesis { padding: 24px; }
    .preprint-box { padding: 24px; }
  }

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

/* PAGE TOP PADDING */
  .hero { padding-top: 116px !important; }

body > .container:first-of-type { padding-top: 72px; }

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