/*
Theme Name: Mon Gynécologue
Theme URI: https://mongynecologue.com
Author: Mon Gynécologue
Author URI: https://mongynecologue.com
Description: Thème sur-mesure pour Mon Gynécologue — média d'utilité publique dédié à la santé des femmes. Design éditorial, lisible et rassurant, optimisé SEO et mobile. Catégories : grossesse, cycle menstruel, contraception, fertilité & PMA, ménopause, santé intime, maladies et cancers gynécologiques.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mongynecologue
Tags: blog, health, editorial, responsive, accessibility-ready, custom-menu, featured-images, translation-ready
*/

/* =========================================================================
   1. Variables & design tokens
   ========================================================================= */
:root {
  /* Palette — framboise & rose poudré : chaleureux, féminin, premium */
  --ink: #2E1E30;
  --ink-soft: #6b5a6e;
  --plum: #B81D53;
  --plum-deep: #961542;
  --plum-50: #FBE9F0;
  --rose: #E2779C;
  --blush: #FDF0F0;
  --cream: #ffffff;
  --sand: #FDF6F7;
  --line: #F6E3EA;
  --line-strong: #EFC9D6;
  --teal: #0d9488;       /* accent confiance / sources médicales */
  --teal-soft: #ecfdf8;
  --white: #ffffff;
  --warn-bg: #fdf3e7;
  --warn-line: #e9c891;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(46, 30, 48, .05), 0 2px 10px rgba(184, 29, 83, .06);
  --shadow-md: 0 8px 28px rgba(184, 29, 83, .10);
  --shadow-lg: 0 20px 55px rgba(184, 29, 83, .16);

  --container: 1180px;
  --container-narrow: 760px;

  --font-serif: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + .4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + .8vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.5vw, 2.7rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.6vw, 3.6rem);
}

/* =========================================================================
   2. Reset & base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum-deep); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--plum); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 800; line-height: 1.14; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
blockquote {
  margin: 1.8rem 0; padding: 1.1rem 1.4rem;
  border-left: 4px solid var(--rose);
  background: var(--blush); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif); font-size: var(--step-1); color: var(--plum-deep);
}
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--rose); color: #fff; }

/* =========================================================================
   3. Layout helpers
   ========================================================================= */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, var(--container-narrow)); margin-inline: auto; }
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-sm { padding: clamp(2rem, 4vw, 3.2rem) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--plum);
}
.eyebrow::before { content: ""; width: 1.6em; height: 2px; background: var(--rose); border-radius: 2px; }
.section-head { max-width: 640px; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.6; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--plum-deep); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* =========================================================================
   4. Buttons & chips
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 600; font-size: var(--step-0); line-height: 1;
  padding: .85em 1.5em; border-radius: 100px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 4px 14px rgba(184, 29, 83, .28); }
.btn-primary:hover { background: var(--plum-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(184, 29, 83, .38); }
.btn-ghost { background: transparent; color: var(--plum-deep); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--plum); color: var(--plum); background: var(--plum-50); }
.btn-light { background: #fff; color: var(--plum-deep); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--plum); transform: translateY(-1px); }
.chip {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: var(--step--1); font-weight: 600; padding: .35em .85em;
  border-radius: 100px; background: var(--plum-50); color: var(--plum-deep);
  letter-spacing: .01em;
}
.chip-teal { background: var(--teal-soft); color: var(--teal); }

/* =========================================================================
   6. Header & navigation
   ========================================================================= */
.site-header {
  background: var(--blush); /* même couleur que le hero : header et hero ne font qu'un */
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 96px; }
.brand-logo { height: 58px; width: auto; display: block; }
.site-header .btn-light { background: var(--white); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.site-header .btn-light:hover { border-color: var(--plum); color: var(--plum); transform: none; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-serif); }
.brand-mark {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--plum), var(--plum-deep));
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-text { font-size: 1.32rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; line-height: 1; }
.brand-text strong { color: var(--plum); font-weight: 600; }
.brand-text small { display: block; font-family: var(--font-sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .55rem .9rem; border-radius: 100px;
  font-size: var(--step-0); font-weight: 500; color: var(--ink);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a {
  background: var(--plum-50); color: var(--plum-deep);
}
.header-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: transparent; border: 1.5px solid var(--line-strong); color: var(--ink);
  cursor: pointer; transition: all .18s ease;
}
.icon-btn:hover { border-color: var(--plum); color: var(--plum); background: var(--plum-50); }
.burger { display: none; }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column; gap: .2rem;
  padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); background: var(--cream);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: .8rem .6rem; border-radius: var(--radius-sm); font-weight: 500; font-size: 1.05rem; }
.mobile-nav a:hover { background: var(--plum-50); }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(43, 34, 48, .55);
  backdrop-filter: blur(4px); display: none; align-items: flex-start; justify-content: center;
  padding: 12vh 1.5rem 0;
}
.search-overlay.open { display: flex; }
.search-panel { width: min(640px, 100%); background: #fff; border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-lg); }
.search-panel h2 { font-size: var(--step-1); margin-bottom: 1rem; }
.search-field { display: flex; gap: .6rem; }
.search-field input[type="search"] {
  flex: 1; font: inherit; padding: .9em 1.1em; border-radius: 100px;
  border: 1.5px solid var(--line-strong); background: var(--cream); color: var(--ink);
}
.search-field input:focus { outline: none; border-color: var(--plum); }

/* =========================================================================
   7. Hero
   ========================================================================= */
.hero { position: relative; overflow: visible; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--blush);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: var(--step-4); margin-bottom: .4em; }
.hero h1 em { font-style: italic; color: var(--plum); }
.hero-lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 34ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: var(--step--1); color: var(--ink-soft); }
.hero-trust span { display: inline-flex; align-items: center; gap: .45em; }
.hero-trust svg { color: var(--teal); flex: none; }
.hero-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--plum) 0%, var(--plum-deep) 100%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-md);
}
.hero-badge strong { display: block; font-family: var(--font-serif); font-size: 1.5rem; color: var(--plum-deep); }
.hero-badge span { font-size: var(--step--1); color: var(--ink-soft); }

/* =========================================================================
   8. Category cards
   ========================================================================= */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.cat-card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 4.6; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--plum), var(--plum-deep));
  box-shadow: 0 10px 28px rgba(150, 21, 66, .16);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(150, 21, 66, .28); }
.cat-thumb {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.cat-card:hover .cat-thumb { transform: scale(1.06); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(185deg, rgba(46, 30, 48, 0) 38%, rgba(150, 21, 66, .55) 68%, rgba(91, 14, 41, .92) 100%);
}
.cat-info { position: absolute; left: 1.15rem; right: 1.15rem; bottom: 1.05rem; z-index: 2; }
.cat-info h3 { font-size: 1.18rem; margin: 0 0 .15rem; color: #fff; letter-spacing: -.01em; }
.cat-info .cat-count {
  display: inline-flex; align-items: center; gap: .35em;
  font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .9);
}
.cat-card:hover .cat-count { color: #fff; }

/* =========================================================================
   9. Article cards & grids
   ========================================================================= */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.posts-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .chip { position: absolute; top: .8rem; left: .8rem; background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); }
.card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.24rem; line-height: 1.25; margin: 0 0 .5rem; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--plum); }
.card-excerpt { font-size: var(--step--1); color: var(--ink-soft); margin: 0 0 1rem; }
.card-meta { display: flex; align-items: center; gap: .8rem; margin-top: auto; font-size: var(--step--1); color: var(--ink-soft); }
.card-meta time { display: inline-flex; align-items: center; gap: .35em; }

/* Featured / wide hero post */
.feature-post {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.feature-post .card-media { aspect-ratio: auto; min-height: 320px; }
.feature-post .card-body { padding: clamp(1.5rem, 3vw, 2.6rem); justify-content: center; }
.feature-post .card-title { font-size: var(--step-2); }

/* =========================================================================
   10. Trust band (sources médicales)
   ========================================================================= */
.trust-band { background: var(--blush); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.5rem; text-align: center; }
.trust-inner p { margin: 0; font-weight: 600; color: var(--plum-deep); }
.trust-logos { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: center; }
.trust-logos span { font-weight: 700; color: var(--ink-soft); letter-spacing: .02em; }

/* =========================================================================
   11. Single article
   ========================================================================= */
.article-head { padding: clamp(2rem, 4vw, 3rem) 0 1.5rem; background: linear-gradient(180deg, var(--blush), transparent); }
.breadcrumb { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .4em; align-items: center; }
.breadcrumb a { color: var(--plum-deep); }
.breadcrumb .sep { color: var(--line-strong); }
.article-title { font-size: var(--step-3); max-width: 22ch; margin-bottom: .8rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.3rem; font-size: var(--step--1); color: var(--ink-soft); }
.article-meta .author { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--ink); }
.article-meta .author .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; font-family: var(--font-serif); font-size: .85rem; }
.article-meta span { display: inline-flex; align-items: center; gap: .4em; }
.article-hero-img { margin: 1.8rem 0 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/9; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 3rem; align-items: start; padding-top: 2.5rem; }
.article-body { font-size: 1.1rem; line-height: 1.78; }
.article-body > *:first-child { margin-top: 0; }
.article-body p > strong { color: var(--ink); }
.article-body h2 { font-size: var(--step-2); margin: 2.2rem 0 .8rem; padding-top: .4rem; }
.article-body h3 { font-size: var(--step-1); margin: 1.8rem 0 .6rem; color: var(--plum-deep); }
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul > li { position: relative; padding-left: 1.7em; }
.article-body ul > li::before { content: ""; position: absolute; left: .2em; top: .62em; width: .55em; height: .55em; border-radius: 50%; background: var(--rose); }
.article-body ol { counter-reset: li; list-style: none; padding-left: 0; }
.article-body ol > li { position: relative; padding-left: 2.2em; counter-increment: li; }
.article-body ol > li::before { content: counter(li); position: absolute; left: 0; top: .05em; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--plum-50); color: var(--plum-deep); font-size: .8em; font-weight: 700; display: grid; place-items: center; }
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; box-shadow: var(--shadow-sm); }
.article-body a { text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 3px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: .98rem; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.article-body th, .article-body td { padding: .8em 1em; text-align: left; border: 1px solid var(--line); vertical-align: top; }
.article-body thead th { background: var(--plum); color: #fff; font-family: var(--font-sans); font-weight: 600; border-color: var(--plum); }
.article-body tbody tr:nth-child(even) { background: var(--plum-50); }
.article-body h2:has(+ p) { scroll-margin-top: 90px; }

/* Disclaimer médical */
.medical-note {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--warn-bg); border: 1px solid var(--warn-line);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 2rem 0;
  font-size: var(--step--1); color: #7a5a23;
}
.medical-note svg { flex: none; color: #c98a2e; margin-top: 2px; }
.medical-note strong { color: #5e4417; }

/* Sidebar / TOC */
.article-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 1.5rem; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); }
.toc h4 { font-family: var(--font-sans); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: .8rem; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { margin-bottom: .5rem; font-size: .95rem; line-height: 1.4; }
.toc a { color: var(--ink-soft); display: block; padding-left: .9rem; border-left: 2px solid var(--line); }
.toc a:hover, .toc a.active { color: var(--plum-deep); border-color: var(--rose); }
.aside-cta { background: linear-gradient(160deg, var(--plum), var(--plum-deep)); color: #fff; border-radius: var(--radius); padding: 1.5rem; }
.aside-cta h4 { color: #fff; font-size: 1.2rem; }
.aside-cta p { color: #f5dde7; font-size: var(--step--1); margin-bottom: 1rem; }
.aside-cta .btn-light { width: 100%; }

/* Share & tags */
.article-foot { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin: 2.5rem 0; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share { display: flex; gap: .5rem; align-items: center; }
.share span { font-size: var(--step--1); color: var(--ink-soft); margin-right: .3rem; }

/* Author box */
.author-box { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--sand); border-radius: var(--radius); padding: 1.5rem; margin: 2.5rem 0; }
.author-box .avatar { width: 60px; height: 60px; border-radius: 50%; flex: none; background: var(--plum); color: #fff; display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.4rem; }
.author-box h4 { margin-bottom: .2rem; }
.author-box p { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }

/* Prev / next */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.post-nav a { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s ease, transform .2s ease; }
.post-nav a:hover { border-color: var(--rose); transform: translateY(-2px); }
.post-nav .label { font-size: var(--step--1); color: var(--ink-soft); }
.post-nav .ptitle { font-family: var(--font-serif); font-weight: 600; color: var(--ink); }
.post-nav .next { text-align: right; align-items: flex-end; }

/* Related */
.related { background: var(--sand); }

/* =========================================================================
   12. Archive / category headers & lists
   ========================================================================= */
.archive-head { background: linear-gradient(180deg, var(--blush), transparent); padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; }
.archive-head h1 { font-size: var(--step-3); margin-bottom: .5rem; }
.archive-head p { color: var(--ink-soft); font-size: var(--step-1); max-width: 60ch; }
.cat-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.cat-pills a { padding: .5em 1.1em; border-radius: 100px; background: #fff; border: 1px solid var(--line-strong); font-size: var(--step--1); font-weight: 500; color: var(--ink); }
.cat-pills a:hover, .cat-pills a.active { background: var(--plum); color: #fff; border-color: var(--plum); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: .4rem; margin: 3rem 0 0; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .6rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--ink); }
.pagination .page-numbers:hover { border-color: var(--plum); color: var(--plum); }
.pagination .page-numbers.current { background: var(--plum); color: #fff; border-color: var(--plum); }
.pagination .dots { border: none; background: none; }

/* =========================================================================
   13. Newsletter
   ========================================================================= */
.newsletter {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.2rem);
  display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 2rem; align-items: center;
  text-align: left;
}
.newsletter h2 { color: #fff; max-width: 20ch; }
.newsletter p { color: #f3d8e2; max-width: 48ch; margin-bottom: 1.6rem; }
.newsletter-art { width: 200px; height: 200px; justify-self: center; opacity: .95; }
.newsletter-form { display: flex; gap: .6rem; max-width: 460px; }
.newsletter-form input { flex: 1; font: inherit; padding: .9em 1.2em; border-radius: 100px; border: none; background: rgba(255,255,255,.95); color: var(--ink); }
.newsletter-form input:focus { outline: 3px solid var(--rose); }
.newsletter small { display: block; margin-top: 1rem; color: #e7bccb; font-size: var(--step--1); }

/* =========================================================================
   14. Footer
   ========================================================================= */
.site-footer { background: var(--ink); color: #d8cdd8; padding: clamp(3rem, 5vw, 4.5rem) 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text strong { color: var(--rose); }
.footer-brand p { color: #b3a6b3; font-size: var(--step--1); margin-top: 1rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: #c8bcc8; font-size: var(--step-0); }
.footer-col a:hover { color: var(--rose); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: var(--step--1); color: #9b8e9b; }
.footer-bottom a { color: #b3a6b3; }
.footer-disclaimer { background: rgba(255,255,255,.05); border-radius: var(--radius); padding: 1rem 1.3rem; margin-top: 2rem; font-size: var(--step--1); color: #b3a6b3; display: flex; gap: .8rem; align-items: flex-start; }
.footer-disclaimer svg { flex: none; color: var(--rose); margin-top: 2px; }

/* =========================================================================
   15. Misc / WP core classes
   ========================================================================= */
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: .4rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .4rem 0 1rem 1.5rem; }
.wp-caption-text, figcaption { font-size: var(--step--1); color: var(--ink-soft); text-align: center; margin-top: .5rem; }
.sticky, .gallery-caption, .bypostauthor { display: block; }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--ink-soft); }
.empty-state svg { color: var(--rose); margin-bottom: 1rem; }

/* =========================================================================
   16. Responsive
   ========================================================================= */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; order: -1; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .toc { flex: 1; min-width: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .feature-post { grid-template-columns: 1fr; }
  .feature-post .card-media { min-height: 240px; }
}
@media (max-width: 720px) {
  .main-nav, .header-actions .btn { display: none; }
  .burger { display: grid; }
  .cat-grid, .posts-grid, .posts-grid.cols-2 { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .article-foot { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
  .article-meta { gap: .5rem 1rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   12. Hero centré + recherche d'articles (DA framboise)
   ============================================================ */
.hero-center { text-align: center; padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 9vw, 7.5rem); }
.hero-center .container { max-width: 880px; }
.hero-center h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.03em; margin: 0 auto .5em; max-width: 16ch; }
.hero-center .hero-lede { margin: 0 auto 3rem; max-width: 46ch; }
.hero-center .hero-trust { justify-content: center; margin-top: 2.2rem; }

.eyebrow-chip {
  display: inline-block; background: var(--white); color: var(--plum);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  padding: .45rem .85rem; border-radius: 8px; border: 1px solid var(--line);
  margin-bottom: 1.8rem;
}

.hero-search {
  position: relative; display: flex; align-items: center; gap: .4rem;
  background: var(--white); padding: .6rem; border-radius: 999px;
  border: 1px solid rgba(184, 29, 83, .10);
  box-shadow: 0 14px 40px rgba(150, 21, 66, .10);
  max-width: 760px; margin: 0 auto;
}
.hero-search .search-ico { flex: none; margin-left: 1.2rem; width: 22px; height: 22px; color: rgba(46, 30, 48, .35); }
.hero-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: 500 1.12rem/1.4 var(--font-sans); color: var(--ink); padding: .9rem .35rem;
}
.hero-search input::placeholder { color: rgba(46, 30, 48, .32); }
.hero-search .btn { flex: none; border-radius: 999px; padding: 1.05rem 2.1rem; font-size: 1.05rem; }

.search-suggest {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 200;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); text-align: left;
  max-height: min(420px, 55vh); overflow-y: auto;
}
.search-suggest[hidden] { display: none; }
.suggest-item {
  display: flex; align-items: center; gap: .8rem; justify-content: space-between;
  padding: .85rem 1.2rem; color: var(--ink); font-weight: 500; font-size: .95rem;
  border-bottom: 1px solid var(--line);
}
.suggest-item:last-child { border-bottom: 0; }
.suggest-item:hover { background: var(--blush); color: var(--plum-deep); }
.suggest-item .suggest-cat {
  flex: none; font-size: .72rem; font-weight: 700; color: var(--plum);
  background: var(--plum-50); padding: .25rem .6rem; border-radius: 100px;
}
.suggest-empty { padding: 1rem 1.2rem; color: var(--ink-soft); font-size: .92rem; }

/* ============================================================
   13. Thématiques sous le hero (pills)
   ============================================================ */
.hero-cats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem;
  margin: 2rem auto 0; max-width: 720px;
}
.hero-cats a {
  background: var(--white); color: var(--ink);
  font-size: .9rem; font-weight: 600;
  padding: .55rem 1.1rem; border-radius: 100px;
  border: 1px solid rgba(184, 29, 83, .12);
  box-shadow: 0 2px 8px rgba(150, 21, 66, .05);
  transition: all .18s ease;
}
.hero-cats a:hover {
  background: var(--plum); color: #fff; border-color: var(--plum);
  transform: translateY(-1px); box-shadow: 0 6px 16px rgba(184, 29, 83, .25);
}

/* ============================================================
   14. Article à la une (accueil)
   ============================================================ */
.featured-card {
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); margin-bottom: 1.4rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.featured-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.featured-media { position: relative; min-height: 340px; }
.featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-media .chip { position: absolute; top: 1.1rem; left: 1.1rem; background: var(--white); box-shadow: var(--shadow-sm); }
.featured-body { padding: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; }
.featured-tag {
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--plum); margin-bottom: .8rem;
}
.featured-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .6rem; }
.featured-body h3 a { color: var(--ink); }
.featured-body h3 a:hover { color: var(--plum); }
.featured-body p { color: var(--ink-soft); margin-bottom: 1.4rem; }
.featured-body .card-meta { margin-bottom: 1.6rem; }
.featured-body .btn { align-self: flex-start; margin-top: auto; }

/* ============================================================
   15. Bannière soignants
   ============================================================ */
.pro-band {
  background: linear-gradient(120deg, var(--plum-deep), var(--plum) 70%, #d4356f);
  border-radius: var(--radius-lg); color: #fff;
  padding: clamp(1.8rem, 3.5vw, 2.6rem) clamp(1.8rem, 3.5vw, 3rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.pro-band h2 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0 0 .25rem; }
.pro-band p { color: #f3d8e2; margin: 0; max-width: 56ch; }
.pro-band .btn { flex: none; }

@media (max-width: 760px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-media { min-height: 220px; }
  .newsletter { grid-template-columns: 1fr; text-align: center; }
  .newsletter h2, .newsletter p { margin-inline: auto; }
  .newsletter-form { margin-inline: auto; }
  .newsletter-art { display: none; }
  .cat-card { aspect-ratio: 4 / 3.4; }
}

/* ============================================================
   16. Bénéfices (sous le hero, style "compagnon santé")
   ============================================================ */
.benefits { padding: clamp(2.6rem, 5vw, 4.2rem) 0 clamp(2.2rem, 4vw, 3.4rem); }
.benefits h2 { text-align: center; font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-bottom: clamp(2rem, 4vw, 3rem); }
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem; max-width: 1080px; margin: 0 auto;
}
.benefit { text-align: center; }
.benefit-ico { width: 92px; height: 92px; margin: 0 auto 1.15rem; display: block; }
.benefit h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: .4rem; letter-spacing: -.01em; }
.benefit p { font-size: .95rem; color: var(--ink-soft); max-width: 36ch; margin: 0 auto; line-height: 1.6; }
@media (max-width: 760px) {
  .benefits-grid { grid-template-columns: 1fr; gap: 2rem; }
}
