/* ============================================
   PMCHS — Styles complets : recherche
   (styles.css non utilisé pour cette page)
   ============================================ */

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

  * { margin: 0; padding: 0; box-sizing: border-box; }

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

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

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

  .nav-link:hover { color: var(--accent-soft); }
  .nav-link.active { color: var(--accent); }

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

  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .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-menu.open { display: flex; }

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

  .mobile-link:last-child { border-bottom: none; }
  .mobile-link:hover { color: var(--accent-soft); }
  .mobile-link.active { color: var(--accent); }

  /* HERO */
  .hero {
    text-align: center;
    padding: 116px 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, 4vw, 42px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 580px;
    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; }

  /* INNER MENU */
  .inner-menu {
    background: rgba(26, 58, 92, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 48px;
    backdrop-filter: blur(4px);
  }

  .inner-menu-title {
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
  }

  .inner-menu-links { display: flex; flex-wrap: wrap; gap: 8px; }

  .inner-menu-link {
    font-size: 12px;
    color: var(--accent-soft);
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid rgba(74, 158, 202, 0.2);
    border-radius: 20px;
    transition: all 0.2s;
    white-space: nowrap;
  }

  .inner-menu-link:hover {
    background: rgba(74, 158, 202, 0.15);
    border-color: var(--accent);
    color: var(--white);
  }

  /* PREPRINT BADGE */
  .preprint-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 32px;
  }

  .badge-p1 {
    background: rgba(74, 158, 202, 0.12);
    border: 1px solid rgba(74, 158, 202, 0.35);
    color: var(--accent-soft);
  }

  .badge-p2 {
    background: rgba(200, 169, 110, 0.1);
    border: 1px solid rgba(200, 169, 110, 0.35);
    color: var(--gold);
  }

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

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

  /* REF LIST */
  .ref-list { margin-bottom: 40px; }

  .ref-item {
    display: flex;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(74, 158, 202, 0.06);
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-muted);
    align-items: flex-start;
  }

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

  .ref-num {
    flex-shrink: 0;
    width: 28px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    padding-top: 2px;
    text-align: right;
  }

  .ref-content { flex: 1; }

  .ref-content strong { color: var(--text); font-weight: 600; }

  .ref-doi {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
  }

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

  /* PREPRINT HEADER */
  .preprint-header {
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.8), rgba(13, 27, 46, 0.9));
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
  }

  .preprint-header.p1 { border: 1px solid rgba(74, 158, 202, 0.3); }
  .preprint-header.p2 { border: 1px solid rgba(200, 169, 110, 0.3); }

  .preprint-header.p1::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 16px 16px 0 0;
  }

  .preprint-header.p2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    border-radius: 16px 16px 0 0;
  }

  .preprint-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.4;
  }

  .preprint-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
  }

  .doi-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(74, 158, 202, 0.1);
    border: 1px solid var(--accent);
    border-radius: 8px;
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s;
  }

  .doi-badge:hover { background: rgba(74, 158, 202, 0.2); }

  .doi-badge.gold {
    background: rgba(200, 169, 110, 0.1);
    border-color: var(--gold);
    color: var(--gold);
  }

  .doi-badge.gold:hover { background: rgba(200, 169, 110, 0.2); }

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

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

  /* LANG */
  .lang-fr, .lang-en { display: block; }
  body.en .lang-fr { display: none; }
  body.en .lang-en { display: block; }
  body.fr .lang-en { display: none; }
  body.fr .lang-fr { display: block; }
  span.lang-fr, span.lang-en { display: inline; }
  body.en span.lang-fr { display: none; }
  body.fr span.lang-en { display: none; }

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


/* SOUS-MENU DESKTOP */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: 'Source Sans 3', sans-serif;
  padding: 0;
}

.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger { color: var(--accent-soft); }

.nav-dropdown-trigger .chevron {
  font-size: 15px;
  transition: transform 0.2s;
  display: inline-block;
}

.nav-dropdown:hover 
.chevron { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% - 5px);
  left: 20%;
  background: rgba(13, 27, 46, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 158, 202, 0.2);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 220px;
  z-index: 300;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.nav-dropdown:hover 
.dropdown-menu { display: block; }

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 16px;
  width: 10px; height: 10px;
  background: rgba(13, 27, 46, 0.98);
  border-left: 1px solid rgba(74, 158, 202, 0.2);
  border-top: 1px solid rgba(74, 158, 202, 0.2);
  transform: rotate(45deg);
}

.dropdown-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(74, 158, 202, 0.5);
  padding: 8px 18px 4px;
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  gap: 8px;
}

.dropdown-item:hover {
  background: rgba(74, 158, 202, 0.08);
  color: var(--accent-soft);
}

.dropdown-item.active { color: var(--accent); }

.dropdown-item .badge-soon {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(74, 158, 202, 0.4);
  border: 1px solid rgba(74, 158, 202, 0.2);
  border-radius: 4px;
  padding: 1px 5px;
  flex-shrink: 0;
}

.dropdown-item.disabled {
  cursor: default;
  pointer-events: none;
  opacity: 0.5;
}

.dropdown-divider {
  height: 1px;
  background: rgba(74, 158, 202, 0.1);
  margin: 6px 0;
}

.dropdown-item-overview {
  display: flex;
  align-items: center;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  transition: background 0.15s;
  font-weight: 500;
}

.dropdown-item-overview:hover { background: rgba(74, 158, 202, 0.08); }

/* SOUS-MENU MOBILE */
.mobile-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid rgba(74, 158, 202, 0.1);
  cursor: pointer;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  font-family: 'Source Sans 3', sans-serif;
  text-align: left;
  transition: color 0.2s;
}

.mobile-submenu-toggle:hover { color: var(--accent-soft); }

.mobile-submenu-toggle .chevron-mobile {
  font-size: 11px;
  transition: transform 0.25s;
}

.mobile-submenu-toggle.open .chevron-mobile { transform: rotate(180deg); }

.mobile-submenu {
  display: none;
  flex-direction: column;
  padding-left: 16px;
  border-left: 2px solid rgba(74, 158, 202, 0.15);
  margin-bottom: 4px;
}

.mobile-submenu.open { display: flex; }

.mobile-sublink {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(74, 158, 202, 0.06);
}

.mobile-sublink:last-child { border-bottom: none; }
.mobile-sublink:hover { color: var(--accent-soft); }
.mobile-sublink.active { color: var(--accent); }

.mobile-sublink.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

.mobile-sublink .badge-soon {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(74, 158, 202, 0.4);
  border: 1px solid rgba(74, 158, 202, 0.2);
  border-radius: 4px;
  padding: 1px 5px;
}

/* ============================================
   CSS MANQUANT — nouvelles sections recherche.html
   ============================================ */

/* PREPRINT BOX */
.preprint-box {
  background: linear-gradient(135deg, rgba(26, 58, 92, 0.8), rgba(13, 27, 46, 0.9));
  border: 1px solid rgba(74, 158, 202, 0.3);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

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

.preprint-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: rgba(74, 158, 202, 0.1);
  border: 1px solid rgba(74, 158, 202, 0.25);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

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

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

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

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

.preprint-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.doi-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: rgba(74, 158, 202, 0.12);
  border: 1px solid rgba(74, 158, 202, 0.4);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-soft);
  text-decoration: none;
  transition: all 0.2s;
}

.doi-link:hover {
  background: rgba(74, 158, 202, 0.22);
  color: var(--white);
}

/* CONGRÈS */
.congres-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(200, 169, 110, 0.07);
  border: 1px solid rgba(200, 169, 110, 0.25);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 32px;
}

.congres-icon { font-size: 28px; flex-shrink: 0; }

.congres-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

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

.congres-content p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* SONDAGE BANNER */
.survey-banner {
  background: linear-gradient(135deg, rgba(74, 158, 202, 0.1), rgba(13, 27, 46, 0.8));
  border: 1px solid rgba(74, 158, 202, 0.25);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 40px;
}

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

.survey-banner-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.survey-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

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

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

.survey-stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.survey-links { display: flex; gap: 12px; flex-wrap: wrap; }

/* NOTES DE RECHERCHE */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.note-card {
  background: rgba(26, 58, 92, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  transition: border-color 0.2s;
}

.note-card:hover { border-color: rgba(74, 158, 202, 0.4); }

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

.note-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.note-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.note-link {
  font-size: 12px;
  color: var(--accent-soft);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.note-link:hover { color: var(--white); }

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

.finding {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  background: rgba(26, 58, 92, 0.4);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.finding-icon { font-size: 20px; flex-shrink: 0; }

.finding-content { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.finding-content strong { color: var(--white); display: block; margin-bottom: 3px; }

/* HIGHLIGHT */
.highlight {
  display: inline;
  font-weight: 700;
  color: var(--accent-soft);
  background: rgba(74, 158, 202, 0.12);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 1em;
}

/* SIGNATURE */
.signature {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  padding: 40px 0 16px;
  font-style: italic;
  display: block;
  width: 100%;
}

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

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

@media (max-width: 700px) {
  .preprint-box { padding: 22px 18px; }
  .congres-box { flex-direction: column; gap: 12px; padding: 20px; }
  .survey-stats { gap: 14px; }
  .notes-grid { grid-template-columns: 1fr; }
}
