/* =================================================================
   Ma sante, mes soins — Clinique editoriale
   Palette : encre profonde + bleu clinique + cuivre chaud + ivoire
   Polices : Fraunces (display) + Inter (body) + Caveat (accent)
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Inter:wght@300;400;500;600;700&family=Caveat:wght@400;500;600&display=swap');

:root {
  /* Couleurs principales */
  --encre-profonde: #0E1B2E;
  --bleu-clinique: #1F3A5F;
  --bleu-clair: #4C6E93;
  --cuivre-chaud: #B6703F;
  --cuivre-clair: #D89568;
  --perle-gris: #C9CEDA;
  --ivoire-chaud: #F6F1E7;
  --ivoire-pale: #FAF6EE;
  --sauge-pale: #9AAD9A;
  --blanc: #FFFFFF;

  /* Derives opacite encre */
  --encre-90: rgba(14, 27, 46, .9);
  --encre-80: rgba(14, 27, 46, .8);
  --encre-65: rgba(14, 27, 46, .65);
  --encre-40: rgba(14, 27, 46, .4);
  --encre-20: rgba(14, 27, 46, .2);
  --encre-10: rgba(14, 27, 46, .1);
  --encre-06: rgba(14, 27, 46, .06);

  /* Derives opacite ivoire */
  --ivoire-95: rgba(246, 241, 231, .95);
  --ivoire-75: rgba(246, 241, 231, .75);
  --ivoire-40: rgba(246, 241, 231, .4);

  /* Derives opacite cuivre */
  --cuivre-20: rgba(182, 112, 63, .2);
  --cuivre-10: rgba(182, 112, 63, .1);

  /* Polices */
  --ff-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-accent: 'Caveat', 'Brush Script MT', cursive;

  /* Mesures */
  --measure-article: 680px;
  --measure-wide: 1280px;
  --measure-hero: 1440px;
  --gutter: clamp(1rem, 4vw, 2rem);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 300ms;
  --dur: 500ms;
  --dur-slow: 700ms;

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(14, 27, 46, .08);
  --shadow-md: 0 8px 32px rgba(14, 27, 46, .12);
  --shadow-lg: 0 24px 64px rgba(14, 27, 46, .18);

  /* Header */
  --header-h: 80px;
}

/* =================================================================
   RESET + BASE
   ================================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--encre-profonde);
  background: var(--ivoire-chaud);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--bleu-clinique);
  text-decoration: underline;
  text-decoration-color: var(--cuivre-10);
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease), text-decoration-color var(--dur-fast) var(--ease);
}

a:hover,
a:focus {
  color: var(--cuivre-chaud);
  text-decoration-color: var(--cuivre-chaud);
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--encre-profonde);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-top: 2.5rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); margin-top: 2rem; color: var(--bleu-clinique); }
h4 { font-size: 1.15rem; color: var(--bleu-clinique); }

p {
  margin: 0 0 1.1rem;
}

strong { font-weight: 600; color: var(--encre-profonde); }
em { font-style: italic; }

code {
  font-family: 'SFMono-Regular', Consolas, 'Courier New', monospace;
  font-size: 0.92em;
  background: var(--encre-06);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

hr {
  border: 0;
  height: 1px;
  background: var(--encre-10);
  margin: 2.5rem auto;
  max-width: 120px;
}

/* =================================================================
   UTILITES : container, reveal, kicker
   ================================================================= */

.container {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-article {
  max-width: var(--measure-article);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.kicker {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bleu-clair);
  margin-bottom: 1rem;
}

.kicker-manuscrit {
  font-family: var(--ff-accent);
  font-size: 1.4rem;
  color: var(--cuivre-chaud);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fail-safe : si JS desactive ou trop lent, on rend tout visible apres 2s */
@keyframes reveal-fallback {
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: reveal-fallback 0.01s ease 2s forwards;
}
.reveal.visible {
  animation: none;
}

/* NoScript : tout visible immediatement */
.no-js .reveal {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Filet cuivre SVG sous H2 */
.filet-cuivre {
  display: block;
  width: 64px;
  height: 12px;
  margin: 0 0 1.25rem;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform var(--dur-slow) var(--ease);
}

.visible .filet-cuivre,
.filet-cuivre.visible {
  transform: scaleX(1);
}

/* =================================================================
   HEADER
   ================================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: var(--ivoire-95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--encre-10);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  height: 100%;
  max-width: var(--measure-hero);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  color: var(--encre-profonde);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo:hover { color: var(--cuivre-chaud); }

.logo__mark {
  display: inline-block;
  width: 24px;
  height: 24px;
  color: var(--cuivre-chaud);
  flex-shrink: 0;
}

.logo__mark svg { width: 100%; height: 100%; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--encre-80);
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--cuivre-chaud);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--cuivre-chaud);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  color: var(--encre-profonde);
  cursor: pointer;
  padding: 0.4rem;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ivoire-chaud);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2rem var(--gutter);
    gap: 1rem;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    overflow-y: auto;
  }
  body.nav-open .main-nav { transform: translateX(0); }
  .nav-toggle { display: inline-flex; }
  .main-nav a { font-size: 1.15rem; padding: 0.6rem 0; }
}

/* =================================================================
   HERO
   ================================================================= */

.hero {
  position: relative;
  margin-top: var(--header-h);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--ivoire-chaud);
  padding: 4rem var(--gutter);
}

.hero--home {
  min-height: calc(100vh - var(--header-h));
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(14, 27, 46, 0.55) 0%,
    rgba(14, 27, 46, 0.7) 60%,
    rgba(14, 27, 46, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  text-align: left;
}

.hero__kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cuivre-clair);
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--ivoire-chaud);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.hero__lead {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--ivoire-75);
  max-width: 640px;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivoire-75);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 36px;
  background: var(--ivoire-75);
  animation: scroll-pulse 2s infinite var(--ease);
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

.hero__breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--ivoire-75);
}

.hero__breadcrumb a {
  color: var(--ivoire-75);
  text-decoration: underline;
  text-decoration-color: var(--ivoire-40);
}

.hero__breadcrumb a:hover { color: var(--cuivre-clair); }

.hero__meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--ivoire-75);
  align-items: center;
}

.hero__meta > * + *::before {
  content: '·';
  margin-right: 1rem;
  color: var(--ivoire-40);
}

/* =================================================================
   BOUTONS
   ================================================================= */

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 2px;
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
}

.btn-primary {
  background: var(--cuivre-chaud);
  color: var(--ivoire-chaud);
  border-color: var(--cuivre-chaud);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--encre-profonde);
  border-color: var(--encre-profonde);
  color: var(--ivoire-chaud);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--ivoire-chaud);
  border-color: var(--ivoire-chaud);
}

.btn-secondary:hover {
  background: var(--ivoire-chaud);
  color: var(--encre-profonde);
}

.btn-ghost {
  background: transparent;
  color: var(--bleu-clinique);
  border-color: var(--bleu-clinique);
}

.btn-ghost:hover {
  background: var(--bleu-clinique);
  color: var(--ivoire-chaud);
}

/* =================================================================
   LAYOUT ARTICLE (pilier + blog)
   ================================================================= */

.article-wrapper {
  display: grid;
  grid-template-columns: 240px minmax(0, var(--measure-article));
  gap: 3rem;
  max-width: calc(240px + 3rem + var(--measure-article) + 2 * var(--gutter));
  margin: 4rem auto;
  padding: 0 var(--gutter);
  justify-content: center;
}

@media (max-width: 900px) {
  .article-wrapper {
    grid-template-columns: minmax(0, var(--measure-article));
    gap: 1.5rem;
    margin: 2.5rem auto;
    max-width: calc(var(--measure-article) + 2 * var(--gutter));
  }
}

.article-toc {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 3rem);
  overflow-y: auto;
  font-size: 0.88rem;
}

.article-toc__title {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bleu-clair);
  margin: 0 0 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--encre-10);
}

.article-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}

.article-toc li {
  counter-increment: toc;
  margin-bottom: 0.85rem;
  position: relative;
  padding-left: 2.2rem;
  line-height: 1.4;
}

.article-toc li::before {
  content: counter(toc, decimal-leading-zero) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--cuivre-chaud);
}

.article-toc a {
  color: var(--encre-80);
  text-decoration: none;
  display: block;
}

.article-toc a:hover,
.article-toc a.active {
  color: var(--cuivre-chaud);
}

@media (max-width: 900px) {
  .article-toc {
    position: static;
    max-height: none;
    padding: 1rem 1.25rem;
    background: var(--ivoire-pale);
    border-left: 3px solid var(--cuivre-chaud);
  }
}

.article-summary {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--encre-80);
  padding: 1.5rem 0;
  margin: 0 0 2.5rem;
  border-top: 1px solid var(--encre-10);
  border-bottom: 1px solid var(--encre-10);
  font-weight: 400;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--encre-90);
}

.article-body h2 {
  position: relative;
  padding-top: 0.5rem;
}

.article-body h2::before {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--cuivre-chaud);
  margin-bottom: 1rem;
  border-radius: 2px;
}

.article-body ul,
.article-body ol {
  margin: 1rem 0 1.3rem;
  padding-left: 1.8rem;
}

.article-body li { margin-bottom: 0.5rem; }
.article-body ul li::marker { color: var(--cuivre-chaud); }
.article-body ol li::marker { color: var(--cuivre-chaud); font-weight: 600; }

/* Lettrine au 1er paragraphe des piliers */
.article-body.with-lettrine > p:first-of-type::first-letter {
  font-family: var(--ff-display);
  font-size: 4.5rem;
  line-height: 0.85;
  float: left;
  padding: 0.25rem 0.75rem 0 0;
  color: var(--bleu-clinique);
  font-weight: 600;
  font-style: italic;
}

.article-body img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  margin: 2rem 0;
}

.article-body blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 1rem 0 1rem 2rem;
  border-left: 3px solid var(--cuivre-chaud);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--encre-80);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  border-radius: 4px;
  overflow: hidden;
}

.article-body th {
  background: var(--bleu-clinique);
  color: var(--ivoire-chaud);
  text-align: left;
  padding: 0.8rem 1rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.article-body td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--encre-10);
  background: var(--blanc);
}

.article-body tr:nth-child(even) td { background: var(--ivoire-pale); }

.article-body a {
  color: var(--bleu-clinique);
  text-decoration: underline;
  text-decoration-color: var(--cuivre-20);
  font-weight: 500;
}
.article-body a:hover { color: var(--cuivre-chaud); text-decoration-color: var(--cuivre-chaud); }

/* =================================================================
   DISCLAIMER YMYL
   ================================================================= */

.ymyl-disclaimer {
  margin: 3rem 0 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--ivoire-pale);
  border-left: 4px solid var(--sauge-pale);
  font-size: 0.92rem;
  color: var(--encre-80);
  font-style: italic;
  border-radius: 2px;
}

.ymyl-disclaimer strong {
  font-style: normal;
  color: var(--encre-profonde);
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =================================================================
   FAQ ACCORDEON
   ================================================================= */

.faq-section {
  max-width: var(--measure-article);
  margin: 4rem auto;
  padding: 0 var(--gutter);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-section h2::before { display: none; }

.faq-item {
  border-bottom: 1px solid var(--encre-10);
  padding: 1.25rem 0;
}

.faq-item__question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 0;
  cursor: pointer;
  font-family: var(--ff-display);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--encre-profonde);
  line-height: 1.35;
}

.faq-item__question:hover { color: var(--cuivre-chaud); }

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
  transition: transform var(--dur-fast) var(--ease);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--cuivre-chaud);
  border-radius: 1px;
}

.faq-item__icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.faq-item__icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  transition: transform var(--dur-fast) var(--ease);
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease), padding var(--dur) var(--ease);
}

.faq-item.open .faq-item__answer {
  max-height: 2000px;
  padding-top: 1rem;
}

.faq-item__answer p { color: var(--encre-80); font-size: 1rem; line-height: 1.65; margin-bottom: 0.85rem; }
.faq-item__answer p:last-child { margin-bottom: 0; }

/* =================================================================
   CARDS / GRILLES
   ================================================================= */

.section-alt {
  background: var(--ivoire-pale);
  padding: 5rem 0;
  margin: 3rem 0;
}

.section-dark {
  background: var(--encre-profonde);
  color: var(--ivoire-chaud);
  padding: 5rem 0;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 { color: var(--ivoire-chaud); }

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-title .kicker { color: var(--cuivre-chaud); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--encre-10);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--encre-profonde);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--cuivre-chaud);
  color: var(--encre-profonde);
}

.pillar-card__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--perle-gris);
}

.pillar-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.pillar-card:hover .pillar-card__image img { transform: scale(1.04); }

.pillar-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pillar-card__num {
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--perle-gris);
  line-height: 1;
  pointer-events: none;
  font-style: italic;
}

.pillar-card__kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bleu-clair);
}

.pillar-card h3 {
  font-size: 1.3rem;
  margin: 0;
  color: var(--encre-profonde);
  line-height: 1.3;
}

.pillar-card__desc {
  font-size: 0.95rem;
  color: var(--encre-65);
  margin: 0;
  line-height: 1.55;
}

.pillar-card__arrow {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--cuivre-chaud);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--encre-10);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--encre-profonde);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--encre-profonde);
}

.blog-card__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--perle-gris);
}

.blog-card__image img { width: 100%; height: 100%; object-fit: cover; }

.blog-card__body { padding: 1.25rem 1.5rem 1.5rem; }

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.blog-card__kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cuivre-chaud);
  margin: 0;
}

.blog-card__date {
  font-size: 0.78rem;
  color: var(--encre-65);
  font-style: italic;
  font-family: var(--ff-display);
}

.blog-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
  line-height: 1.3;
  color: var(--encre-profonde);
}

.blog-card__desc {
  font-size: 0.92rem;
  color: var(--encre-65);
  line-height: 1.55;
  margin: 0;
}

/* =================================================================
   BADGES REFORME
   ================================================================= */

.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: var(--cuivre-chaud);
  color: var(--ivoire-chaud);
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  line-height: 1.4;
}

.badge--bleu {
  background: var(--bleu-clinique);
}

.badge--sauge {
  background: var(--sauge-pale);
  color: var(--encre-profonde);
}

.badge--outline {
  background: transparent;
  border: 1px solid var(--cuivre-chaud);
  color: var(--cuivre-chaud);
}

/* =================================================================
   CHIFFRES-CLES (stats)
   ================================================================= */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--cuivre-chaud);
}

.stat-card__number {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1;
  color: var(--cuivre-chaud);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.stat-card__label {
  font-family: var(--ff-accent);
  font-size: 1.2rem;
  color: var(--encre-80);
  line-height: 1.3;
  max-width: 220px;
  margin: 0 auto;
}

.section-dark .stat-card__number { color: var(--cuivre-clair); }
.section-dark .stat-card__label { color: var(--ivoire-75); }

/* =================================================================
   SIMULATEUR 100% SANTE
   ================================================================= */

.simulator {
  max-width: 760px;
  margin: 2rem auto;
  background: var(--blanc);
  border: 1px solid var(--encre-10);
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.simulator__header {
  padding: 1.5rem 1.75rem;
  background: var(--bleu-clinique);
  color: var(--ivoire-chaud);
}

.simulator__header h3 { color: var(--ivoire-chaud); margin: 0 0 0.4rem; }
.simulator__header p { margin: 0; color: var(--ivoire-75); font-size: 0.95rem; }

.simulator__body { padding: 1.75rem; }

.sim-field {
  margin-bottom: 1.25rem;
}

.sim-field > label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bleu-clair);
  margin-bottom: 0.5rem;
}

.sim-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
}

.sim-option {
  position: relative;
  padding: 0.8rem 1rem;
  background: var(--ivoire-pale);
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--encre-80);
  text-align: center;
  transition: all var(--dur-fast) var(--ease);
}

.sim-option:hover { border-color: var(--cuivre-chaud); }

.sim-option.active {
  background: var(--cuivre-chaud);
  color: var(--ivoire-chaud);
  border-color: var(--cuivre-chaud);
  font-weight: 600;
}

.sim-result {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--ivoire-pale);
  border-left: 3px solid var(--cuivre-chaud);
  border-radius: 2px;
}

.sim-result__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bleu-clair);
  margin-bottom: 0.5rem;
}

.sim-result__value {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--encre-profonde);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.sim-result__note {
  font-size: 0.85rem;
  color: var(--encre-65);
  font-style: italic;
  margin: 0;
}

.sim-teaser-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cuivre-chaud);
  text-decoration: none;
}

.sim-teaser-link:hover { text-decoration: underline; }

/* =================================================================
   TABLEAU COMPARATIF (panier A/B)
   ================================================================= */

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  font-size: 0.96rem;
  background: var(--blanc);
  box-shadow: var(--shadow-sm);
  border-radius: 6px;
  overflow: hidden;
}

.compare-table th {
  padding: 1rem 1.25rem;
  background: var(--bleu-clinique);
  color: var(--ivoire-chaud);
  font-family: var(--ff-body);
  font-weight: 600;
  text-align: left;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.compare-table th:first-child { background: var(--encre-profonde); }

.compare-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--encre-10);
  vertical-align: top;
}

.compare-table tr:nth-child(even) td { background: var(--ivoire-pale); }
.compare-table tr:last-child td { border-bottom: 0; }

/* =================================================================
   GLOSSAIRE
   ================================================================= */

.glossary-filter {
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 1.5rem auto 2rem;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--encre-20);
  background: var(--blanc);
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--encre-profonde);
  border-radius: 4px;
}

.glossary-filter:focus {
  outline: none;
  border-color: var(--cuivre-chaud);
  box-shadow: 0 0 0 3px var(--cuivre-10);
}

.glossary-alpha {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 1.5rem 0 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--encre-10);
}

.glossary-alpha a {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  min-width: 32px;
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--bleu-clinique);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.95rem;
}

.glossary-alpha a:hover {
  border-color: var(--cuivre-chaud);
  color: var(--cuivre-chaud);
}

.glossary-section {
  margin-bottom: 2.5rem;
}

.glossary-section h3 {
  font-size: 2rem;
  font-family: var(--ff-display);
  color: var(--cuivre-chaud);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--cuivre-chaud);
  margin-bottom: 1.25rem;
}

.glossary-entry {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--encre-10);
}

.glossary-entry:last-child { border-bottom: 0; }

.glossary-entry__term {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bleu-clinique);
  margin: 0 0 0.35rem;
}

.glossary-entry__acronym {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  background: var(--cuivre-10);
  color: var(--cuivre-chaud);
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
  margin-right: 0.5rem;
  letter-spacing: 0.05em;
  vertical-align: 2px;
}

.glossary-entry__definition {
  margin: 0;
  color: var(--encre-80);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* =================================================================
   RELATED / FOOTER NAV
   ================================================================= */

.related-section {
  max-width: var(--measure-wide);
  margin: 4rem auto 2rem;
  padding: 0 var(--gutter);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.related-card {
  padding: 1.25rem 1.5rem;
  background: var(--ivoire-pale);
  border-left: 3px solid var(--cuivre-chaud);
  text-decoration: none;
  color: var(--encre-profonde);
  transition: background var(--dur-fast) var(--ease);
}

.related-card:hover {
  background: var(--blanc);
  box-shadow: var(--shadow-sm);
  color: var(--encre-profonde);
}

.related-card__kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cuivre-chaud);
  margin-bottom: 0.3rem;
}

.related-card h4 {
  font-family: var(--ff-display);
  font-size: 1.08rem;
  color: var(--encre-profonde);
  margin: 0;
  line-height: 1.35;
}

/* =================================================================
   FOOTER
   ================================================================= */

.site-footer {
  background: var(--encre-profonde);
  color: var(--ivoire-75);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--measure-hero);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (max-width: 800px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

.site-footer h4 {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cuivre-clair);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.7rem; }

.site-footer a {
  color: var(--ivoire-75);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--dur-fast) var(--ease);
}

.site-footer a:hover { color: var(--cuivre-clair); }

.site-footer__brand h3 {
  color: var(--ivoire-chaud);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  font-weight: 500;
}

.site-footer__brand p {
  font-size: 0.9rem;
  color: var(--ivoire-75);
  line-height: 1.6;
}

.site-footer__bottom {
  max-width: var(--measure-hero);
  margin: 3rem auto 0;
  padding: 2rem var(--gutter) 0;
  border-top: 1px solid rgba(201, 206, 218, .15);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ivoire-40);
}

.site-footer__bottom a { color: var(--ivoire-40); font-size: 0.82rem; }
.site-footer__bottom a:hover { color: var(--cuivre-clair); }

/* =================================================================
   IMMERSIVE SECTION (home)
   ================================================================= */

.immersive {
  position: relative;
  padding: 7rem var(--gutter);
  color: var(--ivoire-chaud);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  margin-top: 4rem;
}

.immersive__bg { position: absolute; inset: 0; z-index: 1; }
.immersive__bg img { width: 100%; height: 100%; object-fit: cover; }
.immersive__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(14, 27, 46, 0.88) 0%, rgba(14, 27, 46, 0.6) 100%);
}
.immersive__content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  margin: 0 auto 0 0;
  max-width: 640px;
  padding-left: 0;
}

.immersive__content h2 { color: var(--ivoire-chaud); margin-top: 0; }
.immersive__content p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ivoire-75);
  line-height: 1.5;
}

/* =================================================================
   PAGE HUBS THEMES
   ================================================================= */

.hub-intro {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
}

.hub-intro p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--encre-80);
  line-height: 1.5;
}

/* =================================================================
   404
   ================================================================= */

.page-404 {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem var(--gutter);
  text-align: center;
}

.page-404__num {
  font-family: var(--ff-display);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 500;
  color: var(--cuivre-chaud);
  line-height: 1;
  margin: 0;
  font-style: italic;
}

.page-404 h1 { margin-top: 1rem; }

.page-404__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* =================================================================
   PLAN DU SITE
   ================================================================= */

.sitemap-page ul {
  columns: 2;
  column-gap: 2rem;
  padding: 0;
  list-style: none;
}

@media (max-width: 700px) { .sitemap-page ul { columns: 1; } }

.sitemap-page li { margin-bottom: 0.5rem; break-inside: avoid; }

/* =================================================================
   CONTACT
   ================================================================= */

.contact-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.contact-email {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--ivoire-pale);
  border-radius: 6px;
  margin-bottom: 2rem;
  border: 1px solid var(--encre-10);
}

.contact-email .btn-primary {
  font-size: 1.05rem;
  padding: 1rem 2rem;
  margin-top: 0.5rem;
}

/* =================================================================
   ACCESSIBILITY
   ================================================================= */

:focus-visible {
  outline: 3px solid var(--cuivre-chaud);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =================================================================
   PRINT
   ================================================================= */

@media print {
  .site-header, .site-footer, .article-toc, .related-section, .hero__scroll { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { margin-top: 0; min-height: auto; color: #000; }
  .hero__overlay { display: none; }
}

/* =================================================================
   INTERVIEW ARTICLES (CODEX section 2.4)
   ================================================================= */

.interview-expert-card {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--ivoire-pale);
  border-left: 4px solid var(--cuivre-chaud);
  border-radius: 6px;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-sm);
}

.interview-expert-card img {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0;
  box-shadow: var(--shadow-sm);
}

.interview-expert-card .expert-name {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--bleu-clinique);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.interview-expert-card .expert-role {
  display: block;
  font-size: 0.95rem;
  color: var(--encre-65);
  margin-bottom: 0.5rem;
  font-style: italic;
}

.interview-expert-card .expert-bio {
  font-size: 0.95rem;
  color: var(--encre-80);
  line-height: 1.5;
  margin: 0;
}

.journalist-question {
  background: var(--perle-gris);
  border-left: 3px solid var(--encre-65);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 0.5rem 0;
  font-style: italic;
  border-radius: 4px;
}

.expert-answer {
  background: #fff8e7;
  border-left: 3px solid var(--cuivre-chaud);
  padding: 1rem 1.25rem;
  margin: 0.5rem 0 2rem 0;
  border-radius: 4px;
}

.journalist-question strong,
.expert-answer strong {
  display: block;
  margin-bottom: 0.4rem;
  font-style: normal;
  color: var(--cuivre-chaud);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.expert-answer strong {
  color: var(--bleu-clinique);
}

blockquote.journalist-question,
blockquote.expert-answer {
  font-size: 1rem !important;
  font-style: normal !important;
  font-family: 'Inter', sans-serif !important;
  line-height: 1.7 !important;
}

.interview-quick-qa {
  background: var(--ivoire-pale);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
  border-radius: 6px;
  border: 1px solid var(--encre-10);
}

.interview-quick-qa h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--bleu-clinique);
  margin: 0 0 0.4rem 0;
}

.interview-quick-qa p {
  margin: 0 0 1rem 0;
  font-size: 0.97rem;
}

.interview-takeaways {
  background: var(--bleu-clinique);
  color: var(--ivoire-chaud);
  padding: 2rem 1.75rem;
  margin: 2.5rem 0;
  border-radius: 6px;
}

.interview-takeaways h3 {
  font-family: var(--ff-display);
  color: var(--cuivre-clair, #d99068);
  margin: 0 0 1rem 0;
}

.interview-takeaways ol {
  padding-left: 1.5rem;
  margin: 0;
}

.interview-takeaways li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .interview-expert-card {
    flex-direction: column;
    text-align: center;
  }
  .interview-expert-card img {
    width: 110px;
    height: 110px;
  }
}
