/*
Theme Name: Webmaman V2
Theme URI: https://webmaman.com
Author: Digicalys
Description: Theme 100% custom pour webmaman.com - blog parentalite + services (scan PE, map ASMAT). Maquette 2026-09 : cocon storybook, header logo ourses, hero illustre, fiche produit. Zero jQuery, zero framework.
Version: 2.2.1
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: webmaman-v2
*/

/* ============================================================
   FONTS (self-hosted, variable, subset latin)
   ============================================================ */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('assets/fonts/Baloo2-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/Nunito-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/Caveat-var.woff2') format('woff2');
}

/* ============================================================
   TOKENS (maquettes 2026-09)
   ============================================================ */
:root {
  --navy-950: #111c3d;
  --navy-900: #16214a;
  --navy-800: #1d2b5c;
  --navy-700: #283a75;
  --ink: #16214a;
  --body-color: #46506a;
  --muted: #626b85;

  --coral: #f75a4e;        /* boutons d'action (maquette) */
  --coral-action: #ce4035; /* variante lisible avec les petits libellés blancs */
  --coral-dark: #b9362c;
  --coral-ink: #d9531f;
  --rose: #f4667f;         /* logo "maman", coeurs */
  --pink: #f0639f;
  --pink-ink: #c04478;
  --blue-btn: #176ec5;
  --purple-btn: #7c52e0;
  --teal: #12a589;
  --green: #2fb28a;
  --green-check: #2fb968;
  --yellow: #f5b942;
  --yellow-100: #fff2d4;
  --orange: #ff7a45;
  --orange-dark: #ef6430;
  --orange-ink: #d9531f;
  --red: #e84545;
  --blue: #3e7ce0;
  --purple: #8b6cf6;

  --mint-bg: #eef7f4;
  --mint-50: #f3faf7;
  --mint-100: #e3f3ec;
  --mint-200: #cfe6dc;
  --pink-100: #fde3ea;
  --blue-100: #dbe9fd;
  --green-100: #dcf5e8;
  --peach-100: #fde7da;
  --lav-100: #f0e7fd;
  --cream-100: #fdf3dd;
  --news-bg: #fbe4de;
  --similar-bg: #fdeae6;
  --footer-navy: #1f3057;
  --line: #efe7db;
  --star: #f6a821;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 28px rgba(22, 33, 74, .10);
  --shadow-hover: 0 16px 38px rgba(22, 33, 74, .16);
  --container: 1440px;

  --font-display: 'Baloo 2', 'Trebuchet MS', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --font-script: 'Caveat', 'Segoe Script', cursive;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body-color);
  background: #fffdfc;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-800); text-decoration: none; }
a:hover { color: var(--coral); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
}
.skip-link:focus {
  left: 12px; top: 12px;
  background: var(--navy-800);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
}

/* ============================================================
   BOUTONS / BADGES / CHIPS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-weight: 800;
  font-size: .95rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-lg svg { width: 20px; height: 20px; }
.btn-sm { padding: 10px 18px; font-size: .86rem; }
.btn-sm svg { width: 15px; height: 15px; }
.btn-block { width: 100%; }

.btn-coral { background: var(--coral-action); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); color: #fff; box-shadow: 0 10px 22px rgba(247, 90, 78, .35); }
.btn-blue { background: var(--blue-btn); color: #fff; }

/* Annuaire ASMAT : recherche et liste utilisables sans carte ni JavaScript. */
.asmat-directory .page-head { margin-bottom: 10px; padding: 22px 0 4px; }
.asmat-directory svg { width: 20px; height: 20px; flex: none; }
.asmat-directory .asmat-state-icon svg { width: 32px; height: 32px; }
.asmat-directory [hidden] { display: none !important; }
.asmat-directory h2 { font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.2; }
.asmat-directory h3 { font-size: 1.25rem; line-height: 1.25; }
.asmat-directory a:not(.btn):hover { text-decoration: underline; }
.asmat-coverage { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 12px; font-size: .9rem; }
.asmat-coverage p { margin: 0; }
.asmat-coverage > span { flex: none; color: #176449; }
.asmat-search { display: grid; grid-template-columns: minmax(0, 1fr) 210px auto; gap: 12px 18px; padding: 20px; margin: 18px 0 28px; background: var(--mint-100); border-radius: 20px; align-items: start; }
.asmat-search label:not(.asmat-filter) { display: block; font-weight: 800; margin-bottom: 8px; }
.asmat-search input[type="search"], .asmat-search select { width: 100%; min-width: 0; height: 48px; border: 1px solid #789c8e; border-radius: 10px; padding: 0 14px; color: var(--ink); background: #fff; font: inherit; }
.asmat-search .asmat-submit { margin-top: 32px; min-height: 48px; }
.asmat-help { font-size: .85rem; line-height: 1.5; margin: 8px 0 0; color: #49596a; }
.asmat-location { position: relative; min-width: 0; }
.asmat-combobox { position: relative; }
#asmat-suggestions { position: absolute; z-index: 1200; top: calc(100% + 6px); left: 0; right: 0; max-height: 260px; overflow-y: auto; background: #fff; margin: 0; padding: 6px; list-style: none; border: 1px solid #789c8e; border-radius: 12px; box-shadow: 0 8px 24px #16214a20; }
#asmat-suggestions li { padding: 10px 12px; cursor: pointer; border-radius: 7px; }
#asmat-suggestions li:hover, #asmat-suggestions [aria-selected="true"] { background: var(--mint-100); }
.asmat-filter { display: flex; align-items: center; gap: 8px; grid-column: 1 / -1; flex-wrap: wrap; font-size: .9rem; cursor: pointer; }
.asmat-filter input { width: 19px; height: 19px; accent-color: #176449; flex: none; }
.asmat-filter span { color: #49596a; }
.asmat-results { scroll-margin-top: 28px; }
.asmat-state { padding: clamp(24px, 4vw, 46px); border: 1px solid var(--mint-200); border-radius: 20px; background: #fff; }
.asmat-state p { max-width: 760px; margin: 12px 0; }
.asmat-state a:not(.btn), .asmat-explanation a, .asmat-source .asmat-help a { text-decoration: underline; text-underline-offset: 3px; }
.asmat-welcome { text-align: center; background: linear-gradient(130deg, #f3faf7, #fffdf8); }
.asmat-welcome p { margin-left: auto; margin-right: auto; }
.asmat-state-icon { display: inline-flex; padding: 14px; background: var(--mint-100); color: #176449; border-radius: 50%; margin-bottom: 16px; }
.asmat-count { font-weight: 800; color: #176449; }
.asmat-choices { padding-left: 22px; }
.asmat-choices li { padding: 7px 0; }
.asmat-results-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 20px; }
.asmat-results-head h2 { margin: 0 0 8px; }
.asmat-results-head p { font-size: .9rem; color: #49596a; margin: 0; }
.asmat-results-head > a { flex: none; text-decoration: underline; font-size: .9rem; }
.asmat-layout { display: grid; gap: 24px; align-items: start; }
.asmat-layout.asmat-enhanced { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
.asmat-list { display: grid; gap: 14px; min-width: 0; }
.asmat-enhanced .asmat-list { max-height: 676px; overflow-y: auto; padding: 3px 10px 3px 3px; scrollbar-color: #789c8e var(--mint-50); scrollbar-width: thin; }
.asmat-card { border: 1px solid var(--mint-200); border-radius: 16px; padding: 20px; background: #fff; min-width: 0; scroll-margin: 8px; }
.asmat-card.is-selected { border-color: var(--blue-btn); box-shadow: 0 0 0 2px #176ec52e; }
.asmat-card-title { display: flex; gap: 12px; align-items: flex-start; }
.asmat-card-title > div { min-width: 0; }
.asmat-card-title h3 { margin: 1px 0 5px; overflow-wrap: anywhere; }
.asmat-card-title p { font-size: .9rem; margin: 0; }
.asmat-number { display: grid; place-items: center; min-width: 34px; height: 34px; border-radius: 50%; background: var(--mint-100); font-weight: 800; color: #176449; flex: none; }
.asmat-card .asmat-address { color: #49596a; font-size: .9rem; margin: 12px 0; overflow-wrap: anywhere; }
.asmat-availability { font-size: .82rem; font-weight: 800; background: #eff1f5; border-radius: 6px; display: inline-block; padding: 5px 9px; margin: 8px 0; }
.asmat-availability--yes { color: #176449; background: var(--mint-100); }
.asmat-capacity { font-size: .9rem; margin: 0 0 12px; }
.asmat-contact { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: .9rem; }
.asmat-contact a { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; min-height: 38px; }
.asmat-call { padding: 5px 10px; background: #eef4fb; border-radius: 8px; }
.asmat-card-footer { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; align-items: center; margin-top: 12px; border-top: 1px solid var(--mint-200); padding-top: 12px; font-size: .8rem; }
.asmat-locate { padding: 0; color: #125b9f; display: inline-flex; align-items: center; gap: 5px; background: transparent; border: 0; font: inherit; font-weight: 800; cursor: pointer; min-height: 30px; }
.asmat-map-panel { min-width: 0; border: 1px solid var(--mint-200); border-radius: 16px; overflow: hidden; background: #fff; }
.asmat-map-caption { margin: 0; padding: 14px 18px; font-size: .85rem; }
.asmat-directory #asmats-map { height: 556px; min-height: 0; width: 100%; z-index: 0; background: #e8efe8; font-family: var(--font-body); }
.asmat-map-panel > .asmat-help { padding: 0 18px 16px; min-height: 40px; }
.asmat-directory .asmat-marker { background: var(--blue-btn); color: #fff; border: 2px solid #fff; border-radius: 50% 50% 50% 4px; box-shadow: 0 2px 5px #16214a40; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.asmat-marker:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 3px; }
.asmat-pagination { display: flex; gap: 14px; justify-content: center; align-items: center; margin: 24px 0; font-size: .9rem; }
.asmat-pagination .btn { padding: 10px 18px; }
.asmat-sources { margin-top: 48px; }
.asmat-sources > p { max-width: 860px; }
.asmat-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.asmat-source { background: var(--mint-50); padding: 24px; border: 1px solid var(--mint-200); border-radius: 16px; }
.asmat-source h3 { margin: 0 0 10px; }
.asmat-source p { margin: 8px 0; }
.asmat-explore { display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; font-weight: 800; color: #125b9f; }
.asmat-explanation { border-left: 3px solid var(--mint-200); padding: 4px 0 4px 22px; max-width: 940px; }
.asmat-explanation h3 { margin-bottom: 12px; }
.asmat-explanation p { font-size: .95rem; margin: 12px 0; }
@media (max-width: 900px) {
  .asmat-search { grid-template-columns: minmax(0, 1fr) 190px; }
  .asmat-search .asmat-submit { margin-top: 0; grid-column: 1 / -1; grid-row: 3; }
  .asmat-filter { grid-row: 2; }
  .asmat-layout.asmat-enhanced { grid-template-columns: minmax(0, 1fr); }
  .asmat-enhanced .asmat-list { max-height: none; overflow: visible; padding: 0; }
  .asmat-map-panel { grid-row: 1; }
  .asmat-directory #asmats-map { height: 390px; }
  .asmat-map-toggle { margin-bottom: 18px; background: #fff; border-color: var(--blue-btn); color: #125b9f; }
}
@media (max-width: 600px) {
  .asmat-search { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 16px; }
  .asmat-search .asmat-submit, .asmat-filter { grid-row: auto; }
  .asmat-search .asmat-submit { grid-row: 4; }
  .asmat-filter { align-items: flex-start; }
  .asmat-filter span { padding-left: 27px; }
  .asmat-results-head { display: block; }
  .asmat-results-head > a { display: inline-block; margin-top: 12px; }
  .asmat-source-grid { grid-template-columns: minmax(0, 1fr); }
  .asmat-card { padding: 18px; }
  .asmat-coverage { align-items: flex-start; padding: 16px; }
  .asmat-coverage strong { display: block; margin-bottom: 5px; }
  .asmat-pagination { gap: 10px; flex-wrap: wrap; }
  .asmat-pagination .btn { font-size: .85rem; padding: 10px 13px; }
}
.btn-blue:hover { background: #1668c2; color: #fff; box-shadow: 0 10px 22px rgba(30, 125, 224, .3); }
.btn-purple { background: var(--purple-btn); color: #fff; }
.btn-purple:hover { background: #6841c9; color: #fff; box-shadow: 0 10px 22px rgba(124, 82, 224, .3); }
.btn-outline { background: #fff; color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }

/* Compat pages internes (hub services, scan…) */
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; box-shadow: 0 10px 22px rgba(29,43,92,.28); }
.btn-accent { background: var(--orange); color: var(--navy-950); }
.btn-accent:hover { background: var(--orange-dark); color: var(--navy-950); box-shadow: 0 10px 22px rgba(255,122,69,.35); }
.btn-ghost { background: transparent; border-color: var(--navy-800); color: var(--navy-800); }
.btn-ghost:hover { background: var(--navy-800); color: #fff; }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { box-shadow: 0 10px 22px rgba(17,28,61,.25); color: var(--navy-800); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  font-size: .78rem;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  letter-spacing: .2px;
}
.badge-pop { background: var(--coral); }
.badge-new { background: var(--green-check); }

.tag-pill {
  display: inline-block;
  padding: 7px 16px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy-800);
  transition: background .15s ease, color .15s ease;
}
.tag-pill:hover { background: var(--navy-800); color: #fff; }

/* Chips categorie : pastilles colorees (overlay cartes) + rose vif (fiche) */
.cat-chip {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy-950);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
}
.cat-chip--blue { background: var(--blue-100); }
.cat-chip--pink { background: #fdd3e0; }
.cat-chip--lilac { background: var(--lav-100); }
.cat-chip--peach { background: #ffd9c2; }
.cat-chip--rose { background: #f9c1cf; }
.cat-chip--mint { background: #c9f0dd; }
.cat-chip--overlay {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  text-transform: none;
  font-size: .8rem;
  letter-spacing: 0;
}

/* Etoiles */
.stars { display: inline-flex; gap: 2px; }
.star {
  position: relative;
  width: 19px; height: 19px;
  display: inline-block;
}
.star svg { width: 19px; height: 19px; display: block; }
.star svg:last-child { color: #e8e1d3; }
.star svg:first-child {
  position: absolute;
  inset: 0;
  color: var(--star);
}
.star--half svg:first-child { clip-path: inset(0 50% 0 0); }
.stars-note { color: var(--ink); font-family: var(--font-display); font-weight: 800; }
.stars-count { color: var(--muted); font-weight: 600; font-size: .92em; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--navy-800);
  font-size: .95rem;
}
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover { color: var(--coral); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ============================================================
   HEADER + NAV + VAGUE
   ============================================================ */
.site-top {
  position: relative;
  z-index: 20;
  background: #fff;
}
.site-header {
  background: #fff;
  position: relative;
  z-index: 51;
}
.header-main {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-block: 12px;
  min-width: 0;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 66px; width: auto; display: block; }

.header-search {
  flex: 1;
  min-width: 0;
  max-width: 470px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid #ececec;
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  box-shadow: 0 6px 18px rgba(22, 33, 74, .07);
}
.header-search svg { width: 19px; height: 19px; color: var(--navy-800); flex: none; }
.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: .92rem;
  color: var(--ink);
}
.header-search input::placeholder { color: var(--muted); }
.header-search input:focus { outline: none; }
.header-search:focus-within { border-color: var(--navy-800); }

.header-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: none;
  margin-left: auto;
}
.header-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: .95rem;
  color: var(--navy-900);
  white-space: nowrap;
}
.header-links a:hover { color: var(--coral); }
.header-links svg { width: 21px; height: 21px; color: var(--rose); }

.header-cta { white-space: nowrap; }
.header-cta svg { width: 17px; height: 17px; flex: none; }

.burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px; height: 3px;
  border-radius: 2px;
  background: var(--navy-800);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Nav categories (icônes kawaii) */
.site-nav {
  background: #fff;
  position: relative;
  z-index: 50;
}
.nav-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 2px 0 6px;
}
.nav-list > li { position: relative; }
.nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: .97rem;
  color: var(--navy-900);
  white-space: nowrap;
}
.nav-list a svg { width: 32px; height: 32px; flex: none; transition: transform .18s ease; }
.nav-list a:hover { color: var(--coral); }
.nav-list a:hover svg { transform: translateY(-2px) scale(1.08); }

.top-wave {
  position: absolute;
  bottom: -31px;
  left: 0;
  display: block;
  width: 100%;
  height: 32px;
  color: #fff;
  pointer-events: none;
}

/* ============================================================
   HERO (scène entière, texte dans la partie dégagée)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: #fbf1e7;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  max-width: 1600px;
  margin-inline: auto;
}
.hero-bg img {
  position: absolute;
  right: 0;
  width: auto;
  max-width: none;
  height: 100%;
  /* Dimensionner par la hauteur préserve les oreilles, Noé et le mug. */
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 97%, transparent);
}
.hero-note {
  position: absolute;
  top: 40px;
  right: max(24px, calc((100% - 1440px) / 2 + 110px));
  z-index: 1;
  margin: 0;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  text-align: center;
  color: var(--navy-900);
  transform: rotate(-2deg);
}
.hero-note-heart { display: block; margin-top: 6px; }
.hero-note-heart svg { width: 20px; height: 20px; color: var(--coral); }
.hero .container {
  position: relative;
  z-index: 1;
  min-height: 650px;
  display: flex;
  align-items: center;
  padding-block: 64px 80px;
}
.hero-panel {
  width: min(46%, 560px);
  position: relative;
  isolation: isolate;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -40px -35px;
  z-index: -1;
  background: #fbf1e7;
  filter: blur(30px);
  opacity: .85;
  pointer-events: none;
}
.hero-title {
  position: relative;
  font-size: clamp(2.65rem, 4.6vw, 4.4rem);
  line-height: 1.04;
  margin: 0 0 18px;
  color: var(--navy-900);
}
.hero-title-mark { position: relative; display: inline-block; }
.hero-title-mark::after {
  content: "";
  position: absolute;
  left: -6px; right: -6px;
  bottom: .02em;
  height: .38em;
  background: #f8c3ce;
  border-radius: 6px;
  z-index: -1;
}
.hero-title-heart {
  position: absolute;
  right: 0;
  top: 1.1em;
}
.hero-title-heart svg { width: 42px; height: 42px; color: var(--coral); }
.hero-text {
  font-size: 1.08rem;
  color: #3c4867;
  max-width: 44ch;
  margin-bottom: 26px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn { padding-inline: 24px; }
.hero-checks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .85rem;
  color: #3c4867;
}
.hero-checks svg { width: 20px; height: 20px; color: var(--navy-900); flex: none; }

/* ============================================================
   CATEGORIES (cartes glow + bulle manuscrite)
   ============================================================ */
.cat-strip {
  position: relative;
  z-index: 3;
  margin-top: -12px;
  padding-bottom: 8px;
}
.cat-strip-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}
.cat-cards {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
.cat-card {
  background: rgba(255, 255, 255, .78);
  border-radius: 22px;
  padding: 16px 6px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(22, 33, 74, .06);
  transition: transform .2s ease;
}
.cat-card:hover { transform: translateY(-5px); }
.cat-card-disc {
  width: 62px; height: 62px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-card-disc svg { width: 38px; height: 38px; }
.cat-card-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  color: var(--navy-900);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.cat-card-sub {
  display: block;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 3px;
}
.cat-card-sub--accent { color: var(--coral-ink); font-weight: 700; }

.cat-bubble {
  position: relative;
  z-index: 3;
  flex: none;
  width: 180px;
  background: #fce4dc;
  border-radius: 30px 30px 8px 30px;
  padding: 16px 18px 14px;
  transform: rotate(-3deg);
}
.cat-bubble p {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.32rem;
  line-height: 1.05;
  color: var(--navy-900);
  text-align: center;
}
.cat-bubble-heart svg { width: 18px; height: 18px; color: var(--coral); }
.cat-bubble-arrow {
  position: absolute;
  left: -46px;
  bottom: 2px;
  width: 44px;
  height: 34px;
  transform: rotate(8deg);
}

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
.section { padding: 56px 0; }
.section[id] { scroll-margin-top: 76px; }
.section--tight { padding-top: 30px; }
.home #content {
  background: radial-gradient(ellipse at 8% 48%, #f8eee7, transparent 42%),
    radial-gradient(ellipse at 94% 38%, #edf5ee, transparent 38%), #fffdfc;
}
.home-posts { padding-block: 36px 50px; }
.home-posts .post-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section-head { text-align: center; margin-bottom: 34px; }
.section-kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy-800);
  background: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-sub { max-width: 60ch; margin-inline: auto; color: var(--body-color); }

.home-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 30px;
}
.sparkle {
  flex: none;
  width: 30px;
  margin-top: 10px;
  color: var(--coral);
}
.home-section-title {
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  margin: 0;
  color: var(--navy-900);
}
.home-section-sub {
  margin: 2px 0 0;
  color: #66718f;
  font-size: .98rem;
}
.home-section-head .link-arrow { margin-left: auto; margin-top: 14px; flex: none; }

/* ============================================================
   CARDS ARTICLES
   ============================================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.post-card {
  position: relative;
  background: #fff;
  border: 1px solid #f3ece3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(22, 33, 74, .08);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.post-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mint-100);
  display: block;
}
.post-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.post-card-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240, 99, 159, .55);
}
.post-card-placeholder svg { width: 56px; height: 56px; }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
}
.post-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.post-card-title {
  font-size: 1.02rem;
  line-height: 1.35;
  margin: 0;
}
.post-card-title a { color: var(--navy-900); }
.post-card-title a:hover { color: var(--coral); }
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .85rem;
  color: var(--muted);
  margin-top: auto;
}
.post-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-card-meta svg { width: 15px; height: 15px; flex: none; }

/* ============================================================
   SERVICES (bande pastel + Maia)
   ============================================================ */
.home-services {
  position: relative;
  padding: 34px 0 40px;
  background: linear-gradient(115deg, #dcecf7 0%, #e3f3ea 55%, #ecf7ee 100%);
  overflow: visible;
}
.home-services-leaves {
  position: absolute;
  bottom: -6px;
  width: 110px;
  opacity: .9;
  pointer-events: none;
}
.home-services-leaves--left { left: 12px; }
.home-services-leaves--right { right: 12px; transform: scaleX(-1); }
.home-services > .container { position: relative; z-index: 1; }
.home-services .home-section-head { text-align: left; }
.home-services .home-section-head > div { max-width: 640px; }

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
  align-items: end;
}
.home-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc-card {
  border-radius: 24px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(22, 33, 74, .12); }
.svc-card--peach { background: var(--peach-100); }
.svc-card--mint { background: #e2f6eb; }
.svc-card--lavender { background: var(--lav-100); }
.svc-ico {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-ico svg { width: 30px; height: 30px; }
.svc-ico--peach { background: #fbd2bf; color: #e8442f; }
.svc-ico--mint { background: #c6edda; color: #109a80; }
.svc-ico--lavender { background: #e2d2fa; color: #7c4fe0; }
.svc-body { display: flex; flex-direction: column; flex: 1; }
.svc-body h3 {
  font-size: 1.26rem;
  margin: 0 0 8px;
  color: var(--navy-900);
}
.svc-body p {
  margin: 0 0 18px;
  font-size: .95rem;
  color: #46506a;
}
.svc-body .btn { margin-top: auto; align-self: flex-start; }

.services-mascot {
  position: relative;
  align-self: end;
}
.services-mascot img {
  width: 180px;
  margin: 0 auto -32px;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(22, 33, 74, .16));
}
.services-bubble {
  position: absolute;
  top: -100px;
  left: 0;
  width: 180px;
  background: #fff;
  border-radius: 26px 26px 26px 6px;
  padding: 14px 16px 12px;
  transform: rotate(-5deg);
  box-shadow: 0 12px 26px rgba(22, 33, 74, .12);
  z-index: 2;
}
.services-bubble p {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.02;
  color: var(--navy-900);
  text-align: center;
}
.services-bubble-heart svg { width: 15px; height: 15px; color: var(--coral); }

/* ============================================================
   NEWSLETTER (bande accueil + footer)
   ============================================================ */
.news-band {
  position: relative;
  background: var(--news-bg);
  border-radius: 32px;
  padding: 30px 38px;
  padding-right: 235px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 16px 40px rgba(22, 33, 74, .08);
}
.news-copy { flex: 1 1 300px; min-width: 0; }
.news-ico { color: #e8442f; flex: none; }
.news-ico svg { width: 46px; height: 46px; }
.news-copy h2 {
  font-size: 1.5rem;
  line-height: 1.15;
  margin: 0 0 4px;
  color: var(--navy-900);
}
.news-copy p { margin: 0; font-size: .92rem; color: #5a6480; }
.news-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 22px;
  flex: 1 1 320px;
  max-width: 400px;
  box-shadow: 0 6px 18px rgba(22, 33, 74, .08);
}
.news-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: .95rem;
  color: var(--ink);
}
.news-form input::placeholder { color: var(--muted); }
.news-form input:focus { outline: none; }
.news-form:focus-within { outline: 2px solid var(--navy-800); outline-offset: 3px; }
.news-form .btn { flex: none; }
.news-ok {
  margin: 0;
  font-weight: 800;
  color: #21734b;
  font-size: .95rem;
}
.news-status { margin: 8px 0 0; font-weight: 700; }
.news-status--error { color: var(--coral-dark); }
.news-form--error { flex-wrap: wrap; border-radius: 20px; }
.news-form--error .news-status { flex-basis: 100%; padding: 0 10px 8px; }
.news-form--success { border-radius: 20px; padding: 16px 20px; }
.news-bubble {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%) rotate(-2deg);
  z-index: 1;
  flex: none;
  width: 186px;
  background: #fff;
  border-radius: 24px 24px 6px 24px;
  padding: 12px 18px;
  box-shadow: 0 10px 22px rgba(22, 33, 74, .08);
}
.news-bubble p {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.05;
  color: var(--navy-900);
}
.news-bubble-heart svg { width: 15px; height: 15px; color: var(--coral); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 90px;
  color: #b9c2da;
  font-size: .95rem;
}
.home .site-footer { margin-top: 8px; }
.home .news-section { padding-bottom: 12px; }
.footer-wave {
  display: block;
  width: 100%;
  height: 60px;
  color: var(--footer-navy);
  margin-bottom: -1px;
}
.footer-inner {
  background: var(--footer-navy);
  position: relative;
  overflow: hidden;
  padding-top: 44px;
}
.footer-inner::before,
.footer-inner::after {
  content: "";
  position: absolute;
  bottom: 60px;
  width: 110px;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 220'%3E%3Cpath d='M30 210C18 160 20 90 44 30' fill='none' stroke='%232e8b74' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M40 70c-14-4-22-14-24-28 12-2 22 6 26 24z' fill='%239ed4bc'/%3E%3Cpath d='M34 120c-14-2-24-10-28-24 12-3 24 4 30 20z' fill='%239ed4bc'/%3E%3Cpath d='M32 168c-13-1-22-8-27-20 12-4 24 2 30 17z' fill='%239ed4bc'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .55;
  pointer-events: none;
}
.footer-inner::before { left: -20px; }
.footer-inner::after { right: -20px; transform: scaleX(-1); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  position: relative;
  z-index: 1;
}
.footer-brand .brand { gap: 12px; }
.brand-heart svg { width: 40px; height: 40px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  letter-spacing: -.5px;
}
.brand-word span { color: var(--rose); }
.footer-tagline {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.15;
  color: #eef2fb;
  margin: 12px 0 18px;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: #eef2fb; opacity: .92; }
.footer-social a:hover { color: #fff; opacity: 1; transform: translateY(-2px); }
.footer-social svg { width: 22px; height: 22px; }
.footer-social--circles { gap: 12px; }
.footer-social--circles a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social--circles svg { width: 18px; height: 18px; }
.footer-social--circles a:hover { background: rgba(255, 255, 255, .12); }

.footer-col h4 {
  color: #fff;
  font-size: 1.04rem;
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.footer-col a { color: #b9c2da; }
.footer-col a:hover { color: #fff; }

.footer-news .news-form { max-width: none; background: #fff; }

.footer-note {
  justify-self: end;
  text-align: right;
  align-self: start;
  margin-top: 6px;
}
.footer-note p {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
  color: #fff;
  transform: rotate(-3deg);
}
.footer-note-heart svg { width: 24px; height: 24px; color: var(--coral); margin-top: 10px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px 0 26px;
  font-size: .88rem;
  color: #93a0bd;
  position: relative;
  z-index: 1;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #b9c2da; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links span { margin: 0 12px; opacity: .5; }

/* ============================================================
   FIL D'ARIANE
   ============================================================ */
.breadcrumb {
  padding: 20px 0 4px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb .sep { opacity: .55; }
.breadcrumb .current { color: var(--navy-800); }

/* ============================================================
   FICHE PRODUIT / ARTICLE
   ============================================================ */
.single-wrap { padding-bottom: 20px; }
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 40px;
  align-items: start;
  margin-top: 8px;
}
.product-main, .product-head, .product-side { min-width: 0; }
.product-top {
  display: grid;
  grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.product-media {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.product-media img { width: 100%; }
.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--rose);
  color: #fff;
  font-weight: 800;
  font-size: .86rem;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
}
.product-badge svg { width: 14px; height: 14px; }

.product-head .cat-chip {
  text-transform: none;
  font-size: .84rem;
  background: var(--rose);
  color: #fff;
}
.product-title {
  font-size: clamp(1.8rem, 3.1vw, 2.3rem);
  line-height: 1.12;
  margin: 12px 0 10px;
  color: var(--navy-900);
}
.product-intro { font-size: 1.06rem; color: #3c4867; margin-bottom: 14px; }
.product-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}
.product-rating .stars-note { color: var(--coral-ink); font-size: 1.02rem; }
.product-rating-suffix { color: var(--muted); font-size: .9rem; }
.product-rating-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: .9rem;
  color: var(--navy-800);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-rating-link:hover { color: var(--coral); }
.product-rating-link svg { width: 16px; height: 16px; }

.product-highlights {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 9px;
}
.product-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .98rem;
  color: #22305c;
}
.product-highlights svg { width: 20px; height: 20px; color: var(--green-check); flex: none; }

.product-specs {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: grid;
  gap: 6px;
  font-size: .96rem;
}
.product-specs div { display: flex; gap: 6px; }
.product-specs dt { font-weight: 800; color: var(--navy-900); }
.product-specs dd { margin: 0; color: #22305c; }

.product-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 6px 0 4px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--muted);
}
.product-meta-row .item { display: inline-flex; align-items: center; gap: 7px; }
.product-meta-row svg { width: 15px; height: 15px; color: var(--rose); }
.product-meta-row a { color: var(--navy-800); }

.single-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 0;
}
.share-label { font-weight: 800; color: var(--ink); font-size: .9rem; }
.share-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.share-btn:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.share-btn svg { width: 17px; height: 17px; }
.share-btn.whatsapp:hover { background: #25d366; border-color: #25d366; }
.share-btn.facebook:hover { background: #1877f2; border-color: #1877f2; }
.share-btn.x:hover { background: #111; border-color: #111; }
.share-btn.copy:hover { background: var(--coral); border-color: var(--coral); }

/* Onglets ancres */
.anchor-tabs {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  gap: 6px;
  background: #fffdfc;
  border-bottom: 2px solid var(--line);
  margin: 28px 0 24px;
  padding-top: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.anchor-tabs::-webkit-scrollbar { display: none; }
.anchor-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 14px;
  font-weight: 800;
  font-size: .95rem;
  color: var(--navy-900);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.anchor-tab svg { width: 19px; height: 19px; color: var(--rose); flex: none; }
.anchor-tab:hover { color: var(--coral); }
.anchor-tab.is-active { color: var(--coral); border-color: var(--coral); }
.anchor-tab.is-active svg { color: var(--coral); }

/* Encart temoignage */
.review-testimonial {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--pink-100);
  border-radius: 20px;
  padding: 20px 24px;
  margin: 26px 0;
}
.review-testimonial-avatar img {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
}
.review-testimonial-body p {
  margin: 0;
  color: #22305c;
  font-size: .99rem;
}
.review-testimonial-author {
  margin-top: 8px !important;
  font-weight: 800;
  color: var(--navy-900);
  font-size: .88rem;
}

/* Encart ingredients */
.review-ingredients {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: center;
  border-radius: 20px;
  padding: 20px 26px;
  margin: 28px 0 0;
  scroll-margin-top: 90px;
}
.review-ingredients svg { width: 54px; height: 54px; }
.review-ingredients--green { background: var(--green-100); }
.review-ingredients--green svg { color: #17a06a; }
.review-ingredients--orange { background: var(--peach-100); }
.review-ingredients--orange svg { color: #d97b1f; }
.review-ingredients--red { background: var(--pink-100); }
.review-ingredients--red svg { color: var(--red); }
.review-ingredients-title {
  margin: 0 0 6px;
  font-weight: 800;
  color: var(--navy-900);
  font-size: 1.08rem;
}
.review-ingredients .link-arrow { font-size: .92rem; }

.toc-details {
  margin-top: 26px;
  background: var(--mint-50);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
}
.toc-details summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy-800);
}
.toc-details[open] summary { margin-bottom: 8px; }

/* Sommaire legacy */
.toc-box {
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: none;
}
.toc-box h3 { font-size: 1.15rem; margin-bottom: 14px; }
.toc-box ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.toc-box li {
  counter-increment: toc;
  padding: 7px 0;
  border-bottom: 1px dashed var(--mint-200);
}
.toc-box li:last-child { border-bottom: 0; }
.toc-box li::before {
  content: counter(toc) ".";
  color: var(--coral-ink);
  font-weight: 800;
  margin-right: 8px;
}
.toc-box a { font-weight: 700; color: var(--navy-700); }
.toc-box a:hover { color: var(--coral); }
.toc-box .toc-h3 { padding-left: 26px; font-size: .92rem; }

/* SIDEBAR */
.product-side {
  display: grid;
  gap: 20px;
  align-content: start;
}
.side-card { border-radius: 24px; padding: 24px 22px; }
.side-card--mint { background: #e6f6ee; }
.side-card-script {
  margin: 0 0 8px;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  text-align: center;
  color: var(--navy-900);
  transform: rotate(-2deg);
}
.side-card-mascot {
  width: min(200px, 70%);
  margin: 0 auto;
  display: block;
}
.side-card-actions { display: grid; gap: 10px; margin-top: 18px; }
.side-card-note {
  margin: 12px 0 0;
  font-size: .82rem;
  text-align: center;
  color: var(--muted);
}
.side-card--rose { background: var(--pink-100); }
.side-card-scan {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.side-card-scan-ico {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fbd2bf;
  color: #e8442f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-card-scan-ico svg { width: 28px; height: 28px; }
.side-card-scan h3 { font-size: 1.14rem; margin: 0 0 4px; color: var(--navy-900); }
.side-card-scan p { margin: 0; font-size: .88rem; color: #46506a; }

.side-card--blue { background: var(--blue-100); }
.side-card--cream { background: var(--cream-100); }
.side-card-title {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.18rem;
  margin: 0 0 16px;
  color: var(--navy-900);
}
.side-card-title svg { width: 25px; height: 25px; flex: none; }
.side-card-title--coral svg { color: var(--coral); }
.side-card-title--star svg { color: var(--star); }
.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.side-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .95rem;
  font-weight: 600;
  color: #22305c;
}
.side-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.side-list--green svg { color: var(--green-check); }
.side-list--rose svg { color: var(--rose); }
.side-verdict-note {
  margin: 4px 0 8px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--coral);
}
.side-verdict-note span { font-size: 1.7rem; }
.side-verdict-text {
  margin: 0;
  text-align: center;
  font-size: .92rem;
  color: #46506a;
}
.side-cats h3 { font-size: 1.2rem; margin: 0 0 12px; color: var(--navy-900); }
.side-cats-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.side-cats .cat-chip {
  text-transform: none;
  font-size: .84rem;
  background: var(--blue-100);
  color: var(--navy-900);
}

/* PRODUITS SIMILAIRES */
.similar-band {
  background: var(--similar-bg);
  padding: 52px 0 58px;
  margin-top: 56px;
  scroll-margin-top: 90px;
}
.similar-ico { color: var(--rose); margin-top: 8px; }
.similar-ico svg { width: 26px; height: 26px; }
.similar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 24px;
  align-items: center;
}
.similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.similar-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(22, 33, 74, .08);
  transition: transform .2s ease;
  display: flex;
  flex-direction: column;
}
.similar-card:hover { transform: translateY(-4px); }
.similar-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mint-100);
}
.similar-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.similar-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.similar-card-body h3 {
  font-size: .98rem;
  margin: 0;
  color: var(--navy-900);
}
.similar-card-body h3 a:hover { color: var(--coral); }
.similar-card-rating { margin: 0; font-size: .85rem; }
.similar-card-rating .star { width: 15px; height: 15px; }
.similar-card-rating .star svg { width: 15px; height: 15px; }
.similar-card-rating .stars-note { font-size: .88rem; }
.similar-card-body .btn { margin-top: auto; }
.similar-note { text-align: center; }
.similar-note p {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.05;
  color: var(--navy-900);
  transform: rotate(-4deg);
}
.similar-note-heart svg { width: 18px; height: 18px; color: var(--coral); }
.similar-note img {
  width: 150px;
  margin: 10px auto 0;
  display: block;
}

/* Commentaires (zone single) */
.comments-section {
  max-width: 860px;
  margin-top: 54px;
  scroll-margin-top: 90px;
}

/* ============================================================
   CONTENU D'ARTICLE
   ============================================================ */
.entry-content {
  font-size: 1.02rem;
  max-width: none;
  color: #3c4867;
}
.entry-content h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.55rem;
  margin: 1.6em 0 .6em;
  color: var(--navy-900);
  scroll-margin-top: 90px;
}
.entry-content h3 {
  font-size: 1.25rem;
  margin: 1.4em 0 .5em;
  scroll-margin-top: 90px;
}
.entry-content h2::before {
  content: "";
  flex: none;
  width: 11px; height: 17px;
  background: var(--coral);
  border-radius: 4px 10px 4px 4px;
  transform: skewX(-14deg);
  align-self: center;
}
.entry-content a { color: var(--coral-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--coral); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote {
  margin: 1.4em 0;
  padding: 18px 24px;
  background: var(--mint-100);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--navy-700);
}
.entry-content ul li, .entry-content ol li { margin-bottom: .4em; }
.entry-content ul li::marker { color: var(--coral); font-weight: 800; }
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: .95rem;
}
.entry-content th { background: var(--navy-800); color: #fff; text-align: left; }
.entry-content th, .entry-content td { padding: 11px 14px; border-bottom: 1px solid var(--mint-100); }
.entry-content tr:nth-child(even) td { background: var(--mint-50); }
.entry-content figure { margin: 1.4em 0; }
.entry-content figcaption {
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
  margin-top: 8px;
}
.entry-content iframe { max-width: 100%; }
.wp-caption-text, .wp-element-caption { text-align: center; font-size: .85rem; color: var(--muted); }

.legacy-alert {
  background: var(--yellow-100);
  border: 1px dashed var(--yellow);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: .85rem;
  color: var(--navy-800);
}

.single-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

.author-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 26px;
  margin-top: 24px;
  max-width: 820px;
}
.author-avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  background: var(--purple);
}
.author-box h4 { margin: 0; font-size: 1.05rem; }
.author-box p { margin: 2px 0 0; font-size: .9rem; }

/* ============================================================
   SECTIONS LISTES (archive, related, search)
   ============================================================ */
.section-related { background: var(--mint-bg); }
.section-related .section-kicker { background: transparent; }

.page-head { text-align: center; padding: 40px 0 10px; }
.page-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.page-head .section-sub { margin-top: 6px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 44px 0 10px;
}
.pagination .page-numbers {
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius-sm);
  font-weight: 800;
  color: var(--navy-800);
  box-shadow: var(--shadow-card);
  transition: background .15s ease, color .15s ease;
}
.pagination .page-numbers.current,
.pagination a:hover { background: var(--navy-800); color: #fff; }

/* ============================================================
   COMMENTAIRES
   ============================================================ */
.comments-area { max-width: 860px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment {
  background: #fff;
  border: 1px solid #f3ece3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 26px;
  margin-bottom: 18px;
}
.comment-list .children {
  list-style: none;
  padding-left: 26px;
  margin-top: 16px;
}
.comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.comment-author { font-weight: 800; color: var(--ink); }
.comment-meta time { font-size: .8rem; color: var(--muted); }
.comment-reply-link { font-weight: 800; color: var(--pink-ink); font-size: .88rem; }
.comment-respond {
  background: #fff;
  border: 1px solid #f3ece3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 30px;
  margin-top: 28px;
}
.comment-respond .comment-reply-title { font-size: 1.2rem; }
.comment-form { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.comment-form .comment-field-full,
.comment-form p.comment-form-comment { grid-column: 1 / -1; }
.comment-form p { margin: 0; }
.comment-form label { font-weight: 700; font-size: .88rem; color: var(--ink); display: block; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1.5px solid var(--mint-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--mint-50);
  color: var(--ink);
}
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .submit { grid-column: 1 / -1; justify-self: start; }
.comment-notes { font-size: .85rem; }
.bhp-field { position: absolute; left: -9999px; }

/* ============================================================
   FORMULAIRES (contact, scan)
   ============================================================ */
.form-card {
  background: #fff;
  border: 1px solid #f3ece3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 34px;
  max-width: 720px;
}
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 800; font-size: .88rem; color: var(--ink); }
.form-field input, .form-field textarea, .form-field select {
  border: 1.5px solid var(--mint-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--mint-50);
  color: var(--ink);
}
.form-field textarea { min-height: 140px; resize: vertical; }

/* ============================================================
   SCAN PE
   ============================================================ */
.scan-zone {
  background: linear-gradient(150deg, var(--purple-btn) 0%, #6c4fd8 100%);
  border-radius: 22px;
  color: #fff;
  padding: 44px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.scan-zone h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.scan-zone p { color: #fff; max-width: 52ch; margin-inline: auto; }
.scan-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 22px auto 0;
}
.scan-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 1rem;
}
.scan-result { margin-top: 26px; text-align: left; }
.scan-card {
  background: #fff;
  color: var(--body-color);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 14px;
  box-shadow: var(--shadow-card);
}
.scan-card h3 { margin-bottom: 6px; font-size: 1.25rem; }
.scan-zone .scan-card p { color: var(--body-color); max-width: none; margin-inline: 0; }
.scan-card { overflow-wrap: anywhere; }
.scan-card summary { cursor: pointer; font-weight: 800; color: var(--navy-800); }
.scan-card .scan-brand { font-weight: 700; }
.scan-verdict {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: .82rem;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  color: var(--navy-950);
}
.scan-verdict--danger { background: var(--red); color: var(--navy-950); }
.scan-verdict--warn { background: var(--orange); }
.scan-verdict--ok { background: var(--green); }
.scan-verdict--neutral { background: var(--mint-100); }
.scan-card ul { font-size: .92rem; }
.scan-card .pe-name { font-weight: 800; color: var(--ink); }
.scan-level { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.scan-level.l1 { color: #a42d3e; }
.scan-level.l2, .scan-level.l3 { color: #88520b; }

/* Caméra et fiches de composition — extension du service existant. */
.scan-camera-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-bottom: 24px; }
.scan-camera-primary { background: #fff; color: var(--ink); min-width: 250px; }
.scan-camera-primary:hover { background: var(--mint-50); color: var(--ink); }
.scan-camera-secondary { background: transparent; color: #fff; border: 2px solid #fff; min-width: 250px; }
.scan-camera-secondary:hover { color: var(--ink); background: #fff; }
.scan-camera-notice:empty { display: none; }
.scan-camera-dialog { width: min(530px, calc(100% - 24px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 24px; padding: 24px; color: var(--body-color); background: #fff; box-shadow: var(--shadow-card); overflow-y: auto; }
.scan-camera-dialog::backdrop { background: rgba(10, 18, 35, .7); }
.scan-camera-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.scan-camera-heading h2 { font-size: 1.4rem; margin: 0; }
.scan-close { border: 1px solid var(--mint-200); background: #fff; border-radius: 12px; color: var(--ink); padding: 9px 12px; cursor: pointer; }
.scan-camera-preview { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: #17213c; }
.scan-camera-preview video { display: block; width: 100%; height: 100%; object-fit: cover; }
.scan-camera-frame { position: absolute; inset: 22% 8%; border: 3px solid #fff; border-radius: 12px; box-shadow: 0 0 0 200px rgba(0,0,0,.18); pointer-events: none; }
.scan-camera-dialog p { margin: 14px 0; font-size: .95rem; }
#scan-camera-status { min-height: 2.5em; font-weight: 700; }
.scan-camera-fallback { display: flex; flex-wrap: wrap; gap: 10px; }
.scan-camera-fallback .btn { padding: 10px 14px; }
.scan-privacy { font-size: .82rem; }
.scan-guide-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 28px 0 52px; }
.scan-guide-links a { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); color: var(--body-color); }
.scan-guide-links strong { color: var(--ink); font-size: 1.1rem; }
.scan-guide-links svg, .composition-help svg { width: 18px; height: 18px; vertical-align: middle; }
.composition-page .page-head { margin-top: 40px; }
.composition-page .page-head h1 { max-width: 1000px; margin-inline: auto; }
.composition-hero { display: flex; align-items: center; gap: 50px; padding: 32px 44px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-card); margin-bottom: 28px; }
.composition-photo { flex: 0 0 32%; text-align: center; }
.composition-photo img { width: 100%; height: 320px; object-fit: contain; }
.composition-identity { flex: 1; min-width: 0; }
.composition-brand { font-weight: 800; color: var(--ink); }
.composition-date { font-size: .9rem; }
.composition-layout { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(240px, 1fr); align-items: start; gap: 24px; }
.composition-main { padding: 28px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); min-width: 0; }
.composition-main h2 { font-size: 1.6rem; }
.composition-main h2:not(:first-child) { margin-top: 32px; }
.composition-inci { padding: 20px; border-radius: 14px; background: #f3f5fc; color: var(--ink); overflow-wrap: anywhere; line-height: 1.8; font-size: .93rem; }
.composition-help { padding: 26px; border-radius: 20px; background: var(--mint-50); }
.composition-help h2 { font-size: 1.4rem; }
.composition-help a { display: block; padding: 15px 0; border-top: 1px solid var(--mint-200); font-weight: 800; }
.composition-source { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: #f3f5fc; border: 1px solid #e1e5f3; border-radius: 16px; padding: 22px 26px; margin: 24px 0 50px; font-size: .9rem; }
.composition-source p { margin: 0; }
.composition-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.composition-card { padding: 24px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); min-width: 0; }
.composition-card h2 { font-size: 1.3rem; }
.composition-card-photo { display: block; text-align: center; margin-bottom: 20px; }
.composition-card-photo img { width: 100%; height: 220px; object-fit: contain; }
.scan-faq { margin: 36px 0 56px; }
.scan-faq details { border-top: 1px solid var(--mint-200); padding: 18px 0; }
.scan-faq summary { font-weight: 800; color: var(--ink); cursor: pointer; }
.scan-faq details p { max-width: 85ch; margin: 14px 0 0; }
@media (max-width: 900px) {
  .composition-layout { grid-template-columns: minmax(0, 1fr); }
  .scan-guide-links, .composition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .scan-camera-actions { gap: 10px; }
  .scan-camera-actions .btn { width: 100%; min-width: 0; }
  .scan-guide-links, .composition-grid { grid-template-columns: minmax(0, 1fr); }
  .scan-camera-dialog { padding: 20px; }
  .scan-camera-heading h2 { font-size: 1.2rem; }
  .composition-hero { flex-direction: column; gap: 20px; padding: 24px 20px; }
  .composition-photo { width: 100%; flex: auto; }
  .composition-photo img { height: 250px; }
  .composition-main, .composition-help { padding: 22px 20px; }
  .composition-source { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
}

/* ============================================================
   MAP ASMAT
   ============================================================ */
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #fff;
}
#asmats-map { height: 480px; width: 100%; }
.leaflet-container { font-family: var(--font-body); }
.map-marker {
  width: 34px; height: 34px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--rose);
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(17, 28, 61, .3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-marker span { transform: rotate(45deg); font-size: 15px; line-height: 1; }
.map-popup b { font-family: var(--font-display); color: var(--ink); }

/* ============================================================
   PAGES / 404
   ============================================================ */
.page-content {
  background: #fff;
  border: 1px solid #f3ece3;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 44px 48px;
  margin-top: 14px;
  max-width: 900px;
}
.error-404 { text-align: center; padding: 70px 0 60px; }
.error-404 .code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1;
  color: var(--rose);
}
.error-404 .code span { color: var(--navy-800); }
.search-form-page { max-width: 520px; margin: 26px auto 0; display: flex; }
.search-form-page input {
  flex: 1;
  border: 1.5px solid var(--mint-200);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  padding: 13px 16px;
  background: #fff;
}
.search-form-page button {
  border: 0;
  background: var(--navy-800);
  color: #fff;
  border-radius: 0 10px 10px 0;
  width: 52px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-form-page button:hover { background: var(--coral); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 0;
  background: var(--navy-800);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .25s ease;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(17, 28, 61, .3);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--coral); color: #fff; }
.to-top svg { width: 18px; height: 18px; }

/* ============================================================
   COMPOSANTS PAGES SERVICES / SCAN (compat)
   ============================================================ */
.scan-chips {
  margin-top: 18px;
  max-width: 740px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.scan-chips-label { font-size: .88rem; font-weight: 700; color: #fff; }
.scan-chip {
  border: 2px solid rgba(255,255,255,.45);
  background: var(--mint-50);
  color: var(--navy-950);
  font-weight: 800;
  font-size: .85rem;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.scan-chip:hover { background: #fff; border-color: #fff; }
.scan-chip:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  margin: 0;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--navy-900);
  display: block;
  margin-bottom: 10px;
}
.step-title { font-size: 1.15rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: .95rem; }

.maia-band {
  background: var(--mint-bg);
  border-radius: 24px;
  overflow: hidden;
}
.maia-band-inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 28px;
  padding: 0;
}
.maia-band-visual { align-self: end; line-height: 0; }
.maia-band-visual img { width: min(320px, 78%); height: auto; margin: 0 auto; }
.maia-band-copy { padding: 40px 40px 40px 0; }
.maia-band-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.maia-band-copy p { margin-bottom: .8em; }
.maia-band-note { font-weight: 700; color: var(--navy-800); }

.reassurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 8px;
}
.reassurance-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  font-weight: 800;
  font-size: .92rem;
  color: var(--navy-800);
  box-shadow: var(--shadow-card);
}
.reassurance-pill svg { width: 18px; height: 18px; color: var(--green); }

.page-head--maia {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 20px;
  text-align: left;
}
.page-head--maia .page-head-visual { line-height: 0; text-align: center; }
.page-head--maia .page-head-visual img {
  width: auto;
  max-height: 250px;
  height: auto;
  margin-inline: auto;
}
.page-head--maia .section-sub { margin-bottom: 0; }

.maia-tip {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--mint-100);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 26px 0;
}
.maia-tip-visual { line-height: 0; }
.maia-tip-visual img { width: 96px; height: auto; border-radius: 50%; }
.maia-tip h4 {
  font-size: 1.02rem;
  margin: 0 0 4px;
  color: var(--coral-ink);
}
.maia-tip p { margin: 0; font-size: .96rem; }

/* Hub services (page interne) : cartes navy/violettes conservees */
.services-band {
  background: var(--navy-900);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.services-band .section-kicker { background: rgba(255, 255, 255, .1); color: var(--yellow); }
.services-band .section-title { color: #fff; }
.services-band .section-sub { color: #b9c2da; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  border-radius: var(--radius);
  padding: 34px 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(17, 28, 61, .35); }
.service-card--purple { background: linear-gradient(160deg, #8256e6, #6c4fd8); }
.service-card--green { background: linear-gradient(160deg, #46d3b2, #2ec4a5); color: var(--navy-800); }
.service-card--yellow { background: linear-gradient(160deg, #ffd166, #f7b731); color: var(--navy-800); }
.service-card--blue { background: linear-gradient(160deg, #4cc3f5, #2e9fe0); }
.service-card-kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.service-card-title { font-size: 1.45rem; margin: 0; color: inherit; }
.service-card p { margin: 0; font-weight: 600; font-size: .95rem; }
.service-card-ico {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .22);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-ico svg { width: 34px; height: 34px; }
.service-card .btn { margin-top: auto; }
.service-card-deco {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
}

.cta-band {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(120deg, #6c4fd8 0%, #c04478 58%, var(--orange) 128%);
  color: #fff;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 30px;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cta-band p { color: #fff; font-weight: 600; }
.cta-band-visual { text-align: center; }
.cta-band-visual svg { width: min(280px, 100%); height: auto; }

/* Carte recette legacy */
.recipe-box {
  background: var(--mint-50);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 1.6em 0;
}
.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: .93rem;
  color: var(--navy-800);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--mint-200);
}
.recipe-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.recipe-meta svg { width: 16px; height: 16px; color: var(--orange); }
.recipe-meta strong { color: var(--ink); }
.recipe-cols {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}
.recipe-box h3 { font-size: 1.15rem; margin-bottom: 12px; }
.recipe-box h4 { font-size: 1rem; margin: 14px 0 6px; }
.recipe-ingredients ul { list-style: none; padding: 0; }
.recipe-ingredients li {
  padding: 6px 0 6px 22px;
  position: relative;
  border-bottom: 1px dashed var(--mint-200);
}
.recipe-ingredients li::before {
  content: "";
  position: absolute;
  left: 4px; top: 13px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.recipe-nutrition table { margin-top: 6px; }
.recipe-nutrition th { background: transparent; color: var(--ink); font-weight: 700; }
.recipe-nutrition th, .recipe-nutrition td { border-bottom: 1px dashed var(--mint-200); }
.recipe-nutrition tr:nth-child(even) td { background: transparent; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1240px) {
  .header-main { gap: 18px; }
  .header-links { gap: 14px; }
  .nav-list a { padding: 10px 8px; font-size: .9rem; }
  .cat-cards { gap: 10px; }
  .cat-bubble { width: 180px; }
}

@media (max-width: 1120px) {
  .header-links { display: none; }
  .cat-bubble { display: none; }
  .hero-note { display: none; }
  .product-layout { grid-template-columns: minmax(0, 1fr); }
  .product-side {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .similar-layout { grid-template-columns: 1fr; }
  .similar-note { display: none; }
  .services-layout { grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; }
  .services-bubble { width: 150px; }
  .services-mascot img { width: 150px; }
  .svc-card { padding: 20px 16px; }
  .news-band { padding-right: 38px; }
  .news-bubble { display: none; }
}

@media (max-width: 1024px) {
  .header-links { display: none; }
  .header-search { max-width: none; }
  .product-top { grid-template-columns: minmax(0, 320px) 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-note { justify-self: start; text-align: left; }
  .hero-title-heart { display: none; }
}

@media (max-width: 1120px) {
  .header-main { flex-wrap: wrap; }
  .brand img { height: 54px; }
  .burger { display: block; order: -1; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; display: flex; }
  .header-cta { margin-left: auto; }
  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 12px;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: 12px 10px; width: 100%; }
  .hero { display: flex; flex-direction: column; }
  .hero .container { order: 1; min-height: 0; width: 100%; padding-block: 48px 28px; }
  .hero-panel { width: min(560px, 100%); margin-inline: auto; }
  .hero-panel::before { display: none; }
  .hero-title { font-size: clamp(2.6rem, 6vw, 3.6rem); }
  .hero-title-heart { display: block; right: 12px; }
  .hero-bg { order: 2; position: relative; inset: auto; width: 100%; height: clamp(280px, 65vw, 500px); }
  .hero-bg img { mask-image: linear-gradient(180deg, transparent, #000 12%, #000 96%, transparent); }
  .hero-note { display: none; }
  .cat-strip { margin-top: 0; padding-top: 16px; }
  .cat-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .home-posts .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-svc-grid { grid-template-columns: 1fr; }
  .services-layout { grid-template-columns: minmax(0, 1fr) 180px; align-items: center; }
  .services-mascot { align-self: center; }
  .services-mascot img { margin-bottom: 0; }
  .services-bubble { width: 180px; top: -110px; }
  .svc-card { flex-direction: row; }
  .svc-ico { flex: none; }
  .similar-grid { grid-template-columns: 1fr 1fr; }
  .news-band { padding-right: 38px; }
  .news-bubble { display: none; }
  .news-form {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    padding: 12px;
    gap: 10px;
  }
  .news-form input { flex: 0 0 auto; width: 100%; padding: 10px 12px; background: var(--mint-50); border-radius: 10px; }
  .home-services-leaves { display: none; }
  .steps { grid-template-columns: 1fr; }
  .maia-band-inner { grid-template-columns: 1fr; }
  .maia-band-copy { padding: 0 26px 30px; }
  .maia-band-visual img { width: min(240px, 60%); }
  .page-head--maia { grid-template-columns: 1fr; }
  .page-head--maia .page-head-visual { order: -1; }
  .page-head--maia .page-head-visual img { width: min(200px, 50%); }
  .maia-tip { grid-template-columns: 72px 1fr; padding: 16px 18px; }
  .maia-tip-visual img { width: 72px; }
  .recipe-cols { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 48px 36px; }
}

@media (max-width: 680px) {
  .container { padding-inline: 16px; }
  .section { padding: 40px 0; }
  .header-cta span { display: none; }
  .header-main { gap: 10px; }
  .brand img { height: auto; width: min(180px, 46vw); }
  .header-cta { padding: 12px; min-height: 44px; min-width: 44px; }
  .header-cta svg:last-child { display: none; }
  .hero-title-heart svg { width: 30px; height: 30px; }
  .hero .container { padding-block: 44px 24px; }
  .hero-title-heart { right: 6px; }
  .hero-text { font-size: 1rem; }
  .hero-cta .btn { padding-inline: 18px; font-size: .95rem; }
  .hero-checks { gap: 8px 14px; }
  .cat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-strip-inner { display: block; }
  .cat-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
  .home-section-head { flex-wrap: wrap; }
  .home-section-head .sparkle { display: none; }
  .home-section-head .link-arrow { margin-left: 0; width: 100%; margin-top: 4px; }
  .services-layout { grid-template-columns: 1fr; }
  .services-mascot { display: flex; justify-content: center; align-items: center; gap: 16px; }
  .services-mascot img { width: 130px; margin: 0; }
  .services-bubble { position: relative; top: auto; left: auto; width: 170px; }
  .post-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .post-card-body { padding: 13px 14px 15px; }
  .post-card-title { font-size: .95rem; }
  .product-top { grid-template-columns: minmax(0, 1fr); }
  .product-side { grid-template-columns: 1fr; }
  .similar-grid { grid-template-columns: 1fr; }
  .news-band { flex-direction: column; align-items: stretch; padding: 26px 22px; }
  .news-copy { flex: auto; }
  .news-bubble { align-self: center; }
  .news-form { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .review-testimonial { grid-template-columns: 64px 1fr; }
  .review-ingredients { grid-template-columns: 54px 1fr; padding: 16px 18px; }
  .review-ingredients svg { width: 40px; height: 40px; }
  .page-content { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .comment-form { grid-template-columns: 1fr; }
  .scan-form { flex-direction: column; }
  .scan-zone { padding: 32px 20px; }
  .scan-card { padding: 22px 20px; }
  .anchor-tab span { font-size: .88rem; }
}

@media (max-width: 480px) {
  .home-posts .post-grid { grid-template-columns: 1fr; }
  .home-posts .post-card-title { font-size: 1.12rem; }
  .home-posts .post-card-body { padding: 18px; }
}
