/* =========================================================================
   Cabinet infirmier Léa Chanal — Feuille de style unique
   Charte confirmée : #1990CE (bleu) · #5FC7B6 (menthe) · #E6F7F9 (cyan clair) · blanc
   Police : Poppins, AUTO-HÉBERGÉE (RGPD, pas de requête Google Fonts).
   TODO prod : convertir les .ttf en .woff2 (≈70% plus légers).
   ========================================================================= */

/* ---------- Police auto-hébergée : Poppins ---------- */
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/Poppins-Regular.woff2') format('woff2'), url('../fonts/Poppins-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/Poppins-Italic.woff2') format('woff2'), url('../fonts/Poppins-Italic.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/Poppins-Medium.woff2') format('woff2'), url('../fonts/Poppins-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/Poppins-SemiBold.woff2') format('woff2'), url('../fonts/Poppins-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/Poppins-Bold.woff2') format('woff2'), url('../fonts/Poppins-Bold.ttf') format('truetype');
}

/* ---------- Design tokens ---------- */
:root {
  /* Marque */
  --color-primary:        #1990CE;
  --color-primary-dark:   #12678F;
  --color-secondary:      #5FC7B6;
  --color-secondary-dark: #3EAD9B;
  --color-tint:           #E6F7F9;

  /* Neutres */
  --color-bg:             #FFFFFF;
  --color-bg-alt:         #F5FBFC;
  --color-text:           #223038;
  --color-text-light:     #5A6B72;
  --color-border:         #D3E7EC;
  --color-footer:         #0F3F57;   /* bleu profond dérivé, footer */

  /* Typo — Poppins pour tout le site */
  --font-heading: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Échelle (base 18px — cible senior) */
  --text-base: 1.125rem;
  --text-sm:   1rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  1.875rem;
  --text-3xl:  2.5rem;

  /* Layout */
  --maxw: 1120px;
  --maxw-text: 720px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(15, 63, 87, 0.08);
  --shadow-lg: 0 8px 28px rgba(15, 63, 87, 0.12);
  --space: 8px;
  --header-h: 76px;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary-dark); text-decoration-color: rgba(25,144,206,.35); text-underline-offset: 2px; }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; color: var(--color-text); font-weight: 600; }
h2 { font-size: var(--text-2xl); margin: 0 0 .6em; }
h3 { font-size: var(--text-xl); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
/* Texte courant justifié (avec césure FR pour éviter les trous) */
main p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.steps p, .card-body p, .hero-note { text-align: left; hyphens: manual; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }

/* ---------- Utilitaires ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 64px; }
.section--alt { background: var(--color-bg-alt); }
.section--tint { background: var(--color-tint); }
.measure { max-width: var(--maxw-text); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-body); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; font-size: .8rem; color: var(--color-primary);
  margin: 0 0 .5em;
}
.lead { font-size: var(--text-lg); color: var(--color-text-light); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--radius-sm); font-weight: 700; font-size: var(--text-base);
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-primary-dark); border-color: var(--color-primary); }
.btn--ghost:hover { background: var(--color-tint); color: var(--color-primary-dark); }
.btn--lg { min-height: 54px; padding: 14px 30px; font-size: var(--text-lg); }

/* ---------- Badges de réassurance ---------- */
.badges { list-style: none; padding: 0; margin: 1.4em 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li {
  display: inline-flex; align-items: center; gap: .45em; margin: 0;
  background: #fff; border: 1px solid var(--color-border); color: var(--color-text);
  padding: 7px 14px; border-radius: 999px; font-size: .95rem; font-weight: 600;
}
.badges li::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--color-secondary); flex: none;
}

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 0 20px;
  height: var(--header-h); display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-heading); font-weight: 600; font-size: 1.25rem; color: var(--color-primary-dark); }
.brand-tag { font-size: .78rem; color: var(--color-text-light); letter-spacing: .02em; }

/* Navigation */
.main-nav { display: flex; align-items: center; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a, .nav-toggle-label {
  display: inline-flex; align-items: center; gap: .35em;
  padding: 10px 14px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--color-text); font-weight: 600; font-size: 1rem;
}
.main-nav a:hover, .has-mega:hover > a { background: var(--color-tint); color: var(--color-primary-dark); }
.main-nav .chevron { width: 12px; height: 12px; transition: transform .2s; }

/* Méga-menu */
.has-mega { position: relative; }
.mega {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(8px);
  top: 100%; width: min(760px, 94vw);
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px 22px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px);
}
.has-mega:hover .chevron { transform: rotate(180deg); }
.mega-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 16px; }
.mega-h {
  font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--color-primary); margin: 0 0 6px; padding: 0 10px;
}
.mega a { display: block; padding: 8px 10px; border-radius: var(--radius-sm); font-weight: 600; font-size: .98rem; }
.mega a small { display: block; font-weight: 400; color: var(--color-text-light); font-size: .82rem; }
.mega-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--color-border); }
.mega-foot a { display: inline-flex; font-weight: 700; color: var(--color-primary-dark); padding: 6px 10px; }

/* Bouton téléphone header (fonctionnel, non promotionnel) */
.header-phone {
  display: inline-flex; align-items: center; gap: .5em; white-space: nowrap;
  background: var(--color-primary); color: #fff; text-decoration: none;
  padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 700; min-height: 48px;
}
.header-phone:hover { background: var(--color-primary-dark); color: #fff; }

/* Burger (mobile) */
.nav-toggle, .nav-toggle-label { display: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  background:
    radial-gradient(1100px 480px at 80% -10%, rgba(95,199,182,.28), transparent 60%),
    linear-gradient(180deg, var(--color-tint), #fff 78%);
  padding-block: 72px 64px;
}
.hero-inner { max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.hero h1 { font-size: var(--text-3xl); margin: 0 0 .3em; }
.hero h1 .hl { color: var(--color-primary); }
.hero .lead { max-width: 54ch; }
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { color: var(--color-text-light); font-size: .95rem; }

/* =========================================================================
   BLOCS DE CONTENU
   ========================================================================= */
.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }

/* Étapes (parcours patient) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { margin: 0; background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-tint); color: var(--color-primary-dark);
  font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; margin-bottom: 12px;
}
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; color: var(--color-text-light); font-size: 1rem; }

/* Liste thèmes (liens soins) */
.themes { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.themes a {
  display: inline-flex; background: #fff; border: 1px solid var(--color-border);
  padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600;
  color: var(--color-primary-dark);
}
.themes a:hover { background: var(--color-tint); }

/* Encadré info */
.infobox {
  background: var(--color-tint); border-left: 4px solid var(--color-primary);
  border-radius: var(--radius); padding: 24px 28px;
}
.infobox h3 { margin-top: 0; }
.infobox ul { margin-bottom: 0; }

/* Zone : quartiers / communes */
.zone-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; }
.chips { list-style: none; padding: 0; margin: .4em 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; background: #fff; border: 1px solid var(--color-border);
  padding: 6px 13px; border-radius: 999px; font-size: .98rem; }

/* =========================================================================
   FAQ (accessible, sans JS)
   ========================================================================= */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 4px 22px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700;
  font-family: var(--font-heading); font-size: 1.15rem; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--color-primary); font-size: 1.5rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--color-border); }
.faq details > p { padding: 14px 0 4px; margin: 0; color: var(--color-text-light); }

/* =========================================================================
   CARTES BLOG (style grille — voir /blog/)
   ========================================================================= */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .16s, box-shadow .16s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 1200 / 630; background: var(--color-tint); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.2rem; }
.card-body h3 a { text-decoration: none; color: var(--color-text); }
.card-body h3 a:hover { color: var(--color-primary-dark); }
.card-more { margin-top: auto; font-weight: 700; color: var(--color-primary-dark); text-decoration: none; }
.card-tag {
  align-self: flex-start; background: var(--color-tint); color: var(--color-primary-dark);
  font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--color-footer); color: #cfe6ef; margin-top: 8px; }
.footer-main { max-width: var(--maxw); margin-inline: auto; padding: 56px 20px 34px;
  display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; letter-spacing: .05em;
  text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: #cfe6ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand-name { font-family: var(--font-heading); font-size: 1.35rem; color: #fff; margin: 0 0 6px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-phone { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: #fff !important; font-size: 1.15rem; }
.footer-google { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; }
.footer-google svg { flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom-inner { max-width: var(--maxw); margin-inline: auto; padding: 18px 20px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .9rem; }
.footer-urgent { color: #fff; font-weight: 600; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 820px) {
  /* Nav mobile */
  .brand-tag { display: none; }
  .nav-toggle-label {
    display: inline-flex; margin-left: auto; order: 2; cursor: pointer;
    background: var(--color-tint); color: var(--color-primary-dark);
  }
  .header-phone { order: 3; padding: 10px 14px; }
  .header-phone .phone-text { display: none; }
  .main-nav {
    order: 4; position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg); padding: 10px 16px 20px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-120%); transition: transform .25s ease; visibility: hidden;
  }
  .nav-toggle:checked ~ .main-nav { transform: translateY(0); visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 13px 12px; font-size: 1.1rem; }
  /* Mobile : AUCUN sous-menu. "Soins" est un simple lien vers la page pilier
     (qui liste tous les soins). Menu = 5 entrées, propre et sans bug. */
  .has-mega .mega { display: none; }
  .has-mega > a .chevron { display: none; }
}

@media (max-width: 560px) {
  :root { --text-3xl: 2rem; --text-2xl: 1.6rem; }
  .section { padding-block: 48px; }
  .card-grid { grid-template-columns: 1fr; }
  .zone-cols { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
}

/* =========================================================================
   PASSE DESIGN — identité de marque & chaleur (dé-« template »)
   ========================================================================= */

/* Accent menthe devant chaque eyebrow */
.eyebrow::before {
  content: ""; display: inline-block; width: 22px; height: 2px;
  background: var(--color-secondary); vertical-align: middle; margin-right: .6em; margin-bottom: 4px;
}

/* Numéros d'étapes en dégradé de marque */
.steps li::before {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
}

/* Hero : fond tenu (ne se fond plus en blanc) + vague blanche de transition */
.hero {
  position: relative; padding-bottom: 96px;
  background:
    radial-gradient(1000px 460px at 85% -20%, rgba(95,199,182,.38), transparent 60%),
    linear-gradient(180deg, #eaf7fa 0%, #dff4f7 100%);
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: 64px; }

/* Portrait de Léa (photo arrondie + forme menthe derrière = rappel des ailes) */
.grid-2--portrait { grid-template-columns: 360px 1fr; align-items: center; }
.portrait { position: relative; width: 100%; max-width: 360px; margin-inline: auto; }
.portrait img {
  display: block; width: 100%; height: auto; border-radius: 20px;
  box-shadow: var(--shadow-lg); position: relative; z-index: 1;
}
.portrait::before {
  content: ""; position: absolute; inset: 22px -20px -20px 22px;
  background: var(--color-secondary); border-radius: 26px; z-index: 0;
}

/* Liste des qualifications (E-E-A-T) */
.creds { list-style: none; padding: 0; margin: .4em 0 1.5em; display: grid; gap: 9px; }
.creds li { position: relative; padding-left: 28px; font-weight: 600; }
.creds li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px;
  border-radius: 50%; background: var(--color-secondary); box-shadow: 0 0 0 4px var(--color-tint);
}

@media (max-width: 900px) {
  .grid-2--portrait { grid-template-columns: 1fr; }
  .portrait { margin: 0 auto 18px; }
}

/* Carte Google Maps (embed) — réutilisable page zone d'intervention */
.map-embed {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; border: 1px solid var(--color-border); background: var(--color-tint);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- Section sombre (rythme visuel) ---- */
.section--dark { background: var(--color-footer); color: #cfe6ef; }
.section--dark h2 { color: #fff; }
.section--dark .eyebrow { color: var(--color-secondary); }
.section--dark .measure { color: #cfe6ef; }

/* ---- En-tête de section centré + motif ailes ---- */
.section-head { max-width: 800px; margin: 0 auto 10px; }
.wings { display: block; width: 130px; margin: 0 auto 4px; }
.wings svg { width: 100%; height: auto; display: block; }

/* ---- Étapes : icône sur-mesure (remplace le numéro) ---- */
.steps li::before { content: none; }
.step-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff;
}
.step-ico svg { width: 26px; height: 26px; }

/* ---- Apparition douce au scroll (amélioration progressive) ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* =========================================================================
   PAGES INTÉRIEURES — en-tête, fil d'Ariane, listes de liens
   ========================================================================= */
.page-hero {
  background: radial-gradient(900px 380px at 88% -30%, rgba(95,199,182,.30), transparent 60%),
             linear-gradient(180deg, #eaf7fa 0%, #ffffff 100%);
  padding: 34px 0 48px;
}
.page-hero h1 { font-size: var(--text-3xl); margin: .15em 0 .35em; }
.page-hero h1 .hl { color: var(--color-primary); }
.page-hero .lead { max-width: 62ch; }

.breadcrumb { font-size: .95rem; color: var(--color-text-light); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5em; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: .5em; }
.breadcrumb a { color: var(--color-primary-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--color-text); font-weight: 600; }
.breadcrumb .sep { color: var(--color-border); }

.link-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 30px; }
.link-list li { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.link-list a { font-weight: 700; color: var(--color-primary-dark); text-decoration: none; }
.link-list a:hover { color: var(--color-primary); }
.link-list small { display: block; color: var(--color-text-light); font-weight: 400; font-size: .92rem; margin-top: 2px; }
@media (max-width: 640px){ .link-list { grid-template-columns: 1fr; } }

/* =========================================================================
   PILIER — grille de soins avec icônes + largeurs de prose
   ========================================================================= */
.prose-wide { max-width: 900px; }

.soins-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px;
}
.soin-card {
  display: flex; gap: 15px; align-items: flex-start; text-decoration: none;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 18px 20px; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.soin-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--color-secondary); }
.soin-card .ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--color-tint); color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.soin-card .ico svg { width: 24px; height: 24px; }
.soin-card b { display: block; color: var(--color-text); font-size: 1.05rem; line-height: 1.25; }
.soin-card small { display: block; color: var(--color-text-light); font-size: .9rem; margin-top: 3px; }
@media (max-width: 860px){ .soins-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .soins-cards { grid-template-columns: 1fr; } }

/* ---- Sommaire de page (table des matières) ---- */
.toc { background: #fff; border: 1px solid var(--color-border); border-left: 4px solid var(--color-secondary);
  border-radius: var(--radius); padding: 20px 24px; position: sticky; top: 92px; }
.toc-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; margin: 0 0 8px; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 9px 0; border-bottom: 1px solid var(--color-border);
  text-decoration: none; font-weight: 600; color: var(--color-primary-dark); }
.toc a:hover { color: var(--color-primary); padding-left: 4px; transition: padding .15s; }
.toc li:last-child a { border-bottom: none; }

/* Décalage d'ancrage sous le header sticky */
section[id] { scroll-margin-top: 92px; }
@media (max-width: 900px){ .toc { position: static; } }

/* ---- Page zone : fiches communes ---- */
.zone-communes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.commune { background: #fff; border: 1px solid var(--color-border); border-left: 4px solid var(--color-secondary);
  border-radius: var(--radius); padding: 20px 24px; }
.commune h3 { margin: 0 0 .35em; font-size: 1.2rem; display: flex; align-items: center; gap: .5em; }
.commune h3 .pin { color: var(--color-primary); flex: none; }
.commune p { margin: 0; color: var(--color-text-light); text-align: left; }
@media (max-width: 640px){ .zone-communes { grid-template-columns: 1fr; } }

/* =========================================================================
   RGPD — bandeau cookies + cartes en click-to-load
   ========================================================================= */
.map-embed { display: grid; place-items: center; }
.map-embed iframe { grid-area: 1 / 1; }
.map-ph { grid-area: 1 / 1; padding: 26px; max-width: 360px; text-align: center; }
.map-ph p { color: var(--color-text-light); font-size: .95rem; margin: 0 0 14px; text-align: center; }

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 760px; margin-inline: auto;
  background: #fff; border: 1px solid var(--color-border); border-left: 4px solid var(--color-primary);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 22px;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { margin: 0 0 12px; font-size: .98rem; text-align: left; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { min-height: 44px; padding: 10px 20px; font-size: 1rem; }

/* ---- Encart d'information (notice) ---- */
.notice { display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--color-border); border-left: 4px solid var(--color-primary);
  border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); }
.notice .ico { flex: none; color: var(--color-primary); margin-top: 2px; }
.notice p { margin: 0; text-align: left; }

/* =========================================================================
   TRANSITIONS DE PAGE + APPARITION AU SCROLL
   ========================================================================= */
@view-transition { navigation: auto; }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes itemIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  body { animation: pageFade .45s ease both; }
  .reveal.is-visible .soins-cards > *, .reveal.is-visible .card-grid > *, .reveal.is-visible .zone-communes > *, .reveal.is-visible .steps > * { animation: itemIn .5s ease both; }
  .reveal.is-visible .soins-cards > *:nth-child(2), .reveal.is-visible .card-grid > *:nth-child(2), .reveal.is-visible .zone-communes > *:nth-child(2), .reveal.is-visible .steps > *:nth-child(2) { animation-delay: 0.06s; }
  .reveal.is-visible .soins-cards > *:nth-child(3), .reveal.is-visible .card-grid > *:nth-child(3), .reveal.is-visible .zone-communes > *:nth-child(3), .reveal.is-visible .steps > *:nth-child(3) { animation-delay: 0.12s; }
  .reveal.is-visible .soins-cards > *:nth-child(4), .reveal.is-visible .card-grid > *:nth-child(4), .reveal.is-visible .zone-communes > *:nth-child(4), .reveal.is-visible .steps > *:nth-child(4) { animation-delay: 0.18s; }
  .reveal.is-visible .soins-cards > *:nth-child(5), .reveal.is-visible .card-grid > *:nth-child(5), .reveal.is-visible .zone-communes > *:nth-child(5), .reveal.is-visible .steps > *:nth-child(5) { animation-delay: 0.24s; }
  .reveal.is-visible .soins-cards > *:nth-child(6), .reveal.is-visible .card-grid > *:nth-child(6), .reveal.is-visible .zone-communes > *:nth-child(6), .reveal.is-visible .steps > *:nth-child(6) { animation-delay: 0.30s; }
  .reveal.is-visible .soins-cards > *:nth-child(7), .reveal.is-visible .card-grid > *:nth-child(7), .reveal.is-visible .zone-communes > *:nth-child(7), .reveal.is-visible .steps > *:nth-child(7) { animation-delay: 0.36s; }
  .reveal.is-visible .soins-cards > *:nth-child(8), .reveal.is-visible .card-grid > *:nth-child(8), .reveal.is-visible .zone-communes > *:nth-child(8), .reveal.is-visible .steps > *:nth-child(8) { animation-delay: 0.42s; }
  .reveal.is-visible .soins-cards > *:nth-child(9), .reveal.is-visible .card-grid > *:nth-child(9), .reveal.is-visible .zone-communes > *:nth-child(9), .reveal.is-visible .steps > *:nth-child(9) { animation-delay: 0.48s; }
  .reveal.is-visible .soins-cards > *:nth-child(10), .reveal.is-visible .card-grid > *:nth-child(10), .reveal.is-visible .zone-communes > *:nth-child(10), .reveal.is-visible .steps > *:nth-child(10) { animation-delay: 0.54s; }
}

/* ---- Pages légales (prose) ---- */
.legal { max-width: 820px; }
.legal h2 { font-size: var(--text-xl); margin: 1.7em 0 .5em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { text-align: left; }
.legal .updated { color: var(--color-text-light); font-size: .95rem; margin-bottom: 2em; }

/* ---- En-tête de page avec visuel (pages soins) ---- */
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; margin-top: 8px; }
.hero-visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: auto -18px -18px auto; width: 60%; height: 60%;
  background: var(--color-secondary); border-radius: var(--radius); z-index: -1; }
.hero-visual img { display: block; width: 100%; height: auto; }
@media (max-width: 900px){ .page-hero-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---- Déroulé numéroté (pages soins, contenu propre à chaque soin) ---- */
.flow { list-style: none; counter-reset: f; padding: 0; margin: 28px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow li { position: relative; margin: 0; }
.flow li::before { counter-increment: f; content: counter(f);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff; font-weight: 700; font-size: 1.05rem; }
.flow b { display: block; margin-bottom: 3px; }
.flow p { margin: 0; color: var(--color-text-light); font-size: .95rem; text-align: left; }
@media (max-width: 760px){ .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .flow { grid-template-columns: 1fr; } }

/* ---- Fix méga-menu : pont invisible link→panneau (évite fermeture au survol) ---- */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 20px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { transform: translateX(-50%) translateY(4px); }

/* =========================================================================
   BLOG — filtres + cartes
   ========================================================================= */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: #fff; border: 1px solid var(--color-border); color: var(--color-primary-dark);
  font-family: inherit; font-weight: 600; font-size: 1rem; padding: 9px 18px; border-radius: 999px;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { background: var(--color-tint); }
.chip.is-active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.card.hidden { display: none; }
.card-body h2 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.card-body h2 a { text-decoration: none; color: var(--color-text); }
.card-body h2 a:hover { color: var(--color-primary-dark); }

/* ---- Article de blog (prose) ---- */
.article { max-width: 760px; }
.article > p, .article li { text-align: left; }
.article h2 { font-size: var(--text-xl); margin: 1.7em 0 .5em; }
.article h3 { font-size: 1.2rem; margin: 1.3em 0 .4em; }
.article-meta { color: var(--color-text-light); font-size: .95rem; margin-bottom: 1.6em; }
.article-note { background: var(--color-tint); border-left: 4px solid var(--color-secondary);
  border-radius: var(--radius); padding: 18px 22px; margin-top: 2.2em; }
.article-note p { margin: 0; text-align: left; }
.article-links { margin-top: 1.8em; display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 600; }

/* ---- Variété visuelle des articles (teintes, barres, puces, numéros) ---- */
.article h2 { position: relative; padding-left: 20px; }
.article h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em;
  width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--color-primary), var(--color-secondary)); }
.article .article-meta + p { font-size: var(--text-lg); color: var(--color-text);
  border-left: 3px solid var(--color-secondary); padding-left: 16px; }
.article ul { list-style: none; padding-left: 0; }
.article ul li { position: relative; padding-left: 1.7em; }
.article ul li::before { content: ""; position: absolute; left: .1em; top: .62em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--color-secondary); }
.article ol { list-style: none; counter-reset: a; padding-left: 0; }
.article ol li { counter-increment: a; position: relative; padding-left: 2.5em; margin-bottom: .6em; }
.article ol li::before { content: counter(a); position: absolute; left: 0; top: -.1em;
  width: 1.75em; height: 1.75em; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--color-tint); color: var(--color-primary-dark); font-weight: 700; font-size: .85em; }

/* ---- Sources en bas d'article (E-E-A-T) ---- */
.article-sources { margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--color-border); }
.article-sources h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--color-text-light); margin: 0 0 .5em; }
.article-sources ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.article-sources li { margin-bottom: .3em; color: var(--color-text-light); }
.article-sources a { color: var(--color-primary-dark); }
