/* ============================================
   Health & Food — Landing page
   Style sobre et technique · Bleu pétrole / Émeraude
   ============================================ */

:root {
  /* Couleurs principales */
  --teal-900: #0f4c4a;
  --teal-700: #0d7377;
  --teal-600: #14b8a6;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;

  --primary: var(--teal-700);
  --primary-light: var(--teal-600);
  --accent: var(--emerald-600);
  --accent-dark: var(--emerald-800);

  /* Neutres */
  --bg: #f8faf9;
  --bg-card: #ffffff;
  --text: #1a2f2e;
  --text-muted: #4a6b69;
  --border: #c5d9d8;
  --border-light: #e2eeed;

  /* Typo */
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  /* Espacements */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  --container: min(90vw, 1100px);
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(13, 115, 119, 0.06);
  --shadow-lg: 0 8px 32px rgba(13, 115, 119, 0.1);

  /* Statuts */
  --status-ok: var(--emerald-600);
  --status-ok-bg: rgba(5, 150, 105, 0.12);
  --status-exceptionnel: var(--teal-700);
  --status-exceptionnel-bg: rgba(13, 115, 119, 0.12);
  --status-warn: #b45309;
  --status-warn-bg: rgba(180, 83, 9, 0.12);
  --status-alert: #b91c1c;
  --status-alert-bg: rgba(185, 28, 28, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--primary-light);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

/* ========== Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.header .container.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-md);
  position: relative;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--primary);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: var(--border-light);
  border-color: var(--primary);
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header.nav-open .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.nav-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.header.nav-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  color: var(--text);
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-cta {
  color: white !important;
  padding: var(--space-sm) var(--space-lg);
  background: var(--primary);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--teal-900);
  color: white !important;
  transform: translateY(-1px);
}

/* Nav secondaire (pages prévention/socle) */
.nav-cta-secondary {
  color: var(--accent-dark) !important;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}

.nav-cta-secondary:hover {
  background: var(--accent);
  color: white !important;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: var(--space-md);
    background: rgba(248, 250, 249, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .header.nav-open .nav {
    max-height: 85vh;
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    display: block;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius);
    border: none;
  }

  .nav a:hover {
    background: var(--border-light);
  }

  .nav-cta {
    margin-top: var(--space-sm);
    text-align: center;
  }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding-block: var(--space-xl) var(--space-3xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.04;
  background: var(--primary);
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  background: var(--accent);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.icon-inline {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 var(--space-lg);
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 var(--space-xl);
  line-height: 1.65;
}

.hero-cta {
  margin-top: var(--space-xl);
}

.hero-cta-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

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

.btn-primary:hover {
  background: var(--teal-900);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

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

.btn-large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.0625rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
}

.hero-video {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-visual-video {
  align-items: center;
}

.hero-video-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  margin: 0 0 var(--space-md);
}

/* ========== Section commune ========== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  max-width: 42ch;
  margin-inline: auto;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--text);
  margin: 0 0 var(--space-md);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

/* ========== Comment ça marche — 3 étapes ========== */
.methode {
  padding-block: var(--space-3xl);
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
}

.steps-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: 900px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .steps-trio {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.step-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.step-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.step-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  border-radius: 50%;
  margin-bottom: var(--space-md);
}

.step-card-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto var(--space-sm);
  color: var(--primary);
}

.step-card-icon svg {
  width: 100%;
  height: 100%;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 var(--space-sm);
}

.step-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ========== Chat Demo ========== */
.chat-demo {
  padding-block: var(--space-3xl);
}

.chat-window {
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.chat-header-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--teal-900);
  color: white;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  padding: 2px;
}

.chat-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.chat-status {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-left: auto;
}

.chat-messages {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--bg);
}

.chat-msg {
  max-width: 85%;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.chat-msg p {
  margin: 0;
}

.chat-msg ul {
  margin: var(--space-sm) 0 0;
  padding-left: 1.25rem;
  font-size: 0.875rem;
}

.chat-msg li {
  margin-bottom: var(--space-xs);
}

.chat-msg-user {
  align-self: flex-end;
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-msg-bot {
  align-self: flex-start;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 4px;
}

.chat-msg-bot strong {
  color: var(--primary);
}

/* ========== Analyse / CTA Section ========== */
.cta-section {
  padding-block: var(--space-3xl);
  background: linear-gradient(160deg, rgba(13, 115, 119, 0.06) 0%, rgba(4, 120, 87, 0.04) 100%);
  border-top: 1px solid var(--border-light);
}

.cta-section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  max-width: 42ch;
  margin-inline: auto;
}

.cta-section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: var(--text);
  margin: 0 0 var(--space-md);
}

.cta-section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.analyse-exemple {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.analyse-block {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
}

.analyse-block-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.analyse-block-num {
  font-family: var(--font-serif);
  color: var(--text-muted);
}

/* Tableau Synthèse des scores */
.scores-table-wrap {
  overflow-x: auto;
}

.scores-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.scores-table th,
.scores-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.scores-table th {
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.scores-table td:last-child {
  color: var(--text-muted);
  max-width: 280px;
}

/* Badges */
.badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-conforme,
.badge-complet,
.badge-excellent {
  background: var(--status-ok-bg);
  color: var(--status-ok);
}

.badge-exceptionnel {
  background: var(--status-exceptionnel-bg);
  color: var(--status-exceptionnel);
}

.badge-moyen,
.badge-faible {
  background: var(--status-warn-bg);
  color: var(--status-warn);
}

.badge-alerte {
  background: var(--status-alert-bg);
  color: var(--status-alert);
}

/* Détails nutritionnels */
.detail-sub {
  margin-bottom: var(--space-xl);
}

.detail-sub:last-child {
  margin-bottom: 0;
}

.detail-sub h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 var(--space-md);
}

.detail-kcal,
.detail-cible,
.detail-subtitle {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.macro-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.macro-bar-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.macro-bar-item .bar {
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
}

.macro-bar-item .bar .fill {
  height: 100%;
  width: var(--w, 0%);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
}

.bar-label {
  min-width: 4rem;
  text-align: right;
}

/* Table Acides Aminés */
.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.data-table th,
.data-table td {
  padding: var(--space-xs) var(--space-sm);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.data-table th {
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
}

.data-table td:first-child {
  font-weight: 500;
  color: var(--text);
}

/* Vitamines list */
.vitamines-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.vitamines-list li {
  padding: var(--space-xs) 0;
  color: var(--text-muted);
}

.vit-label {
  font-weight: 600;
  color: var(--text);
  min-width: 8rem;
  display: inline-block;
}

.vit-note {
  font-style: italic;
}

.vit-note.vit-ok {
  color: var(--status-ok);
  font-style: normal;
}

.vit-note.vit-warn {
  color: var(--status-warn);
}

.vit-note.vit-danger {
  color: var(--status-alert);
}

@media (max-width: 640px) {
  .scores-table-wrap {
    margin-inline: calc(-1 * var(--space-lg));
    padding-inline: var(--space-lg);
  }
  .macro-bar-item {
    grid-template-columns: 80px 1fr;
  }
  .macro-bar-item .bar-label {
    grid-column: 1 / -1;
    text-align: left;
  }
}

/* ========== Vidéos conseils ========== */
.conseils-section-wrap {
  padding-block: var(--space-3xl);
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
}

.conseils-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 900px) {
  .conseils-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

.conseil-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.conseil-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.conseil-video {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== Bandeau crédibilité ========== */
.credibilite {
  padding-block: var(--space-3xl);
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.credibilite-title {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: var(--text);
  margin: 0 0 var(--space-md);
}

.credibilite-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-2xl);
}

.credibilite-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
}

@media (max-width: 640px) {
  .credibilite-pillars {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

.credibilite-pillar {
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.credibilite-pillar strong {
  display: block;
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.credibilite-pillar span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.credibilite-links {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.credibilite-links a {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9375rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.credibilite-links a:hover {
  border-bottom-color: var(--primary);
}

/* ========== CTA Final ========== */
.cta-final-section {
  padding-block: var(--space-3xl);
  background: var(--bg);
}

.socle-cta-banner {
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.socle-cta-logo {
  height: 56px;
  width: auto;
  margin: 0 auto var(--space-lg);
  filter: brightness(0) invert(1);
}

.socle-cta-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  max-width: 48ch;
  margin: 0 auto var(--space-xl);
}

.socle-cta-banner .btn-primary {
  background: white;
  color: var(--teal-900);
}

.socle-cta-banner .btn-primary:hover {
  background: var(--border-light);
  transform: translateY(-1px);
}

.cta-note-bottom {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin: var(--space-lg) auto 0;
  max-width: 48ch;
  line-height: 1.5;
}

/* ========== Footer ========== */
.footer {
  padding-block: var(--space-xl);
  border-top: 1px solid var(--border-light);
  background: var(--bg-card);
}

.footer p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

/* ============================================================
   PAGES SECONDAIRES — Prévention & Socle scientifique
   ============================================================ */

/* Hero single column (prévention) */
.hero-inner-single {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.hero-inner-single .hero-content-full {
  max-width: 52ch;
}

/* Socle scientifique */
.socle-list {
  margin: var(--space-md) 0 var(--space-lg);
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.socle-list li {
  margin-bottom: var(--space-sm);
}

.socle-refs {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px dashed var(--border-light);
}

.socle-refs-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 var(--space-sm);
}

.socle-refs-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.socle-refs-list li {
  margin-bottom: var(--space-xs);
}

.socle-refs-list a {
  color: var(--primary);
  text-decoration: underline;
}

.socle-refs-list a:hover {
  color: var(--accent-dark);
}

/* Prévention nutrition */
.prevention-section {
  padding-block: var(--space-3xl);
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
}

.prevention-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 640px;
  margin-inline: auto;
}

.prevention-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.prevention-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.prevention-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.prevention-content {
  min-width: 0;
}

.prevention-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 var(--space-xs);
}

.prevention-emoji {
  font-style: normal;
}

.prevention-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-sm);
  line-height: 1.5;
}

.prevention-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.prevention-detail p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  padding-top: var(--space-sm);
  border-top: 1px dashed var(--border-light);
}

@media (hover: hover) {
  .prevention-item:hover .prevention-detail {
    max-height: 320px;
    opacity: 1;
  }
}

.prevention-item.prevention-item-open .prevention-detail {
  max-height: 400px;
  opacity: 1;
}

@media (max-width: 640px) {
  .prevention-item {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* Ref stars & link */
.ref-star {
  color: #e67e22;
  font-weight: 700;
  font-size: 1.1em;
}

.ref-link {
  display: inline-block;
  margin-top: var(--space-sm);
  color: #e67e22 !important;
  font-weight: 600;
  font-size: 0.9375rem;
  font-style: italic;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ref-link:hover {
  color: #d35400 !important;
  border-bottom-color: #d35400;
}

/* ANSES section (socle scientifique) */
.anses-section {
  padding-block: var(--space-3xl);
  background: linear-gradient(160deg, rgba(13, 115, 119, 0.05) 0%, rgba(4, 120, 87, 0.04) 100%);
  border-top: 1px solid var(--border-light);
}

.anses-intro {
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.anses-sources {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.6;
}

.anses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  max-width: 900px;
  margin-inline: auto;
}

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

.anses-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.anses-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.anses-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-light);
}

.anses-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.anses-list li {
  margin-bottom: var(--space-sm);
}

.anses-list li:last-child {
  margin-bottom: 0;
}

.anses-priorites {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow);
}

.anses-priorites-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin: 0 0 var(--space-md);
}

.anses-priorites-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-xs) 0;
}

.anses-priorites-list li {
  margin-bottom: var(--space-xs);
}

.anses-footer-note {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

/* Accordéons (gardés pour compatibilité) */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 720px;
  margin-inline: auto;
}

.accordion {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.accordion-trigger:hover {
  background: var(--bg);
  color: var(--primary);
}

.accordion[data-open] .accordion-trigger {
  color: var(--primary);
  border-bottom: 1px solid var(--border-light);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.accordion[data-open] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-content {
  padding: var(--space-xl);
  padding-top: var(--space-lg);
}

.exemple-block {
  margin-bottom: var(--space-lg);
}

.exemple-block:last-child {
  margin-bottom: 0;
}

.exemple-block h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin: 0 0 var(--space-sm);
}

.exemple-input {
  font-style: italic;
  color: var(--text);
  margin: 0;
  padding: var(--space-md);
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}

.exemple-block.plus-scientifique {
  padding-top: var(--space-md);
  border-top: 1px dashed var(--border);
}

.exemple-block.plus-scientifique h4 {
  color: var(--accent-dark);
}

.exemple-block p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.exemple-photo {
  margin: var(--space-md) 0 0;
  max-width: 100%;
}

.exemple-photo img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: block;
}

.exemple-photo figcaption {
  margin-top: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}
