/*
Theme Name: Charlotte IA
Theme URI: https://ginginat.com
Author: Ginginat
Description: Thème léger sur mesure pour Ginginat — spécialiste du soin des gencives. Zéro page builder, zéro slider : HTML/CSS natif, compatible WooCommerce.
Version: 0.3.1
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: ginginat
*/

:root {
  --bg: #F6F4EC;
  --surface: #FFFFFF;
  --surface-soft: #EFEDE2;
  --ink: #22301F;
  --muted: #5C6B58;
  --pine: #2F5A38;
  --pine-deep: #234529;
  --pine-tint: #E3EBE2;
  --rose: #D97E6A;
  --rose-tint: #F6E4DE;
  --gold: #C9922E;
  --line: #DDD9C9;
  --shadow: 0 12px 32px rgba(34, 48, 31, .10);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}
h1, h2, h3, .display {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
  font-weight: 600;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--rose);
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--pine);
  color: var(--bg);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--pine);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--pine-deep); border-color: var(--pine-deep); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.btn.ghost { background: transparent; color: var(--pine); }
.btn.ghost:hover { background: var(--pine-tint); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }

/* Bandeau annonce */
.announce {
  background: var(--pine);
  color: var(--bg);
  text-align: center;
  font-size: 13.5px;
  padding: 9px 16px;
  letter-spacing: .02em;
}
.announce strong { color: #F3D9A6; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 32px;
  padding: 16px 24px; max-width: 1120px; margin: 0 auto;
}
.logo { text-decoration: none; display: flex; align-items: center; }
.logo img { height: 32px; width: auto; max-width: none; object-fit: contain; display: block; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; flex: 1; }
.nav ul a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink); }
.nav ul a:hover { color: var(--pine); }
.nav .util { display: flex; gap: 18px; align-items: center; font-size: 14px; }
/* Menu mobile (burger) — masqué sur ordinateur, affiché en dessous de 900px. */
.gg-nav-toggle { display: none; }
.gg-burger { display: none; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; padding: 4px; border-radius: 8px; }
/* Lien "Compte" */
.compte-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ink); text-decoration: none; font-weight: 600;
  transition: color .15s ease;
}
.compte-link:hover { color: var(--pine); }
.compte-link svg { width: 19px; height: 19px; }

/* Bouton Panier */
.cart-pill {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pine); color: #fff;
  border-radius: 999px; padding: 9px 17px 9px 14px;
  font-weight: 700; text-decoration: none; line-height: 1;
  box-shadow: 0 6px 16px -9px rgba(34,48,31,.6);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.cart-pill:hover { background: var(--pine-deep); transform: translateY(-1px); box-shadow: 0 12px 22px -10px rgba(34,48,31,.6); }
.cart-pill:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.cart-pill svg { width: 19px; height: 19px; }
.cart-pill .cart-count {
  background: var(--rose); color: #fff;
  font-size: 11.5px; font-weight: 800; line-height: 1;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Hero */
.hero { padding: 72px 0 64px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 56px);
  color: var(--ink);
  margin: 14px 0 18px;
}
.hero h1 em { font-style: italic; color: var(--pine); }
.hero p.lede { font-size: 18px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.proof-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 15px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.hero-visual { position: relative; display: flex; justify-content: center; }
.blob {
  position: absolute; inset: 0; margin: auto;
  width: 380px; height: 380px; border-radius: 46% 54% 55% 45% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 35% 30%, var(--rose-tint), var(--pine-tint));
}
.hero-photo {
  position: relative; z-index: 1; overflow: hidden;
  background: #fff; border-radius: 26px; box-shadow: var(--shadow);
  padding: 26px; width: 320px;
}
.hero-photo img { display: block; width: 100%; height: auto; transform: scale(1.35); }
.badge-float {
  position: absolute; z-index: 2;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow);
  padding: 10px 16px; font-size: 13px; font-weight: 700;
}
.badge-float small { display: block; font-weight: 500; color: var(--muted); }
.bf1 { top: 8%; right: 4%; }
.bf2 { bottom: 10%; left: 0; }

/* Réassurance */
.reassure { border-block: 1px solid var(--line); background: var(--surface); }
.reassure .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 20px 24px;
}
.reassure .item { display: flex; gap: 12px; align-items: center; font-size: 13.5px; }
.reassure b { display: block; font-size: 14px; }
.reassure span.sub { color: var(--muted); }
.ric {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--pine-tint); color: var(--pine);
  display: grid; place-items: center;
}

section.block { padding: 72px 0; }
.sec-head { max-width: 620px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 12px 0 10px; }
.sec-head p { color: var(--muted); margin: 0; }

/* Gammes */
.gammes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gamme {
  border-radius: 22px; padding: 36px; position: relative; overflow: hidden;
  text-decoration: none; display: block;
  border: 1px solid var(--line);
  transition: transform .15s ease, box-shadow .15s ease;
}
.gamme:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gamme.encaps { background: linear-gradient(135deg, var(--pine-tint), var(--surface)); }
.gamme.phyto { background: linear-gradient(135deg, var(--rose-tint), var(--surface)); }
.gamme .tag {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.gamme.encaps .tag { background: var(--pine); color: var(--bg); }
.gamme.phyto .tag { background: var(--rose); color: var(--bg); }
.gamme h3 { font-size: 26px; margin-bottom: 10px; }
.gamme p { color: var(--muted); font-size: 15px; margin: 0 0 18px; max-width: 30em; }
.gamme .faux-link { font-weight: 700; color: var(--pine); font-size: 15px; }
.gamme .pour-qui {
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--muted);
}
.gamme .pour-qui b { color: var(--ink); }

/* Produits */
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px; display: flex; flex-direction: column; gap: 8px;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
/* Carte entièrement cliquable : le lien du titre s'étend sur toute la carte. */
.prod h3 a { text-decoration: none; color: inherit; }
.prod h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
.prod .add { position: relative; z-index: 2; }
.prod:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.prod .ph {
  border-radius: 12px; height: 190px; display: grid; place-items: center;
  background: #fff; position: relative; border: 1px solid var(--line);
}
.prod .ph img { max-height: 165px; max-width: 88%; width: auto; object-fit: contain; }
.prod .flag {
  position: absolute; top: 10px; left: 10px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--rose); color: var(--bg);
}
.prod .flag.green { background: var(--pine); }
.prod .flag.soldout { background: #8A8A8A; }
.prod.epuise .ph img { opacity: .5; filter: grayscale(.35); }
.prod .add.add-indispo {
  background: transparent; color: var(--muted); border: 1.5px solid var(--line);
  cursor: not-allowed; pointer-events: none;
}
.prod h3 { font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.35; }
.prod .meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.prod .note { font-size: 12.5px; color: var(--muted); }
.prod .prix { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.prod .add {
  margin-top: auto; text-align: center; text-decoration: none;
  border: 2px solid var(--pine); color: var(--pine); font-weight: 700; font-size: 14px;
  border-radius: 999px; padding: 10px;
  transition: background .15s ease, color .15s ease;
}
.prod .add:hover { background: var(--pine); color: var(--bg); }
.voir-tout { text-align: center; margin-top: 36px; }

/* Preuve pro */
.pro {
  background: var(--pine); color: #F0F3EA; border-radius: 26px;
  padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.pro .eyebrow { color: #F3D9A6; }
.pro h2 { font-size: clamp(26px, 3vw, 34px); color: #fff; margin: 12px 0 16px; }
.pro blockquote {
  margin: 0; font-family: Georgia, serif; font-style: italic;
  font-size: 19px; line-height: 1.55; color: #E8EFE2;
}
.pro figcaption { margin-top: 16px; font-size: 14px; color: #BCCDB2; }
.pro figcaption b { color: #fff; }
.pro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px; padding: 20px;
}
.stat .n { font-family: Georgia, serif; font-size: 34px; font-weight: 700; color: #F3D9A6; }
.stat .l { font-size: 13px; color: #D6E0CC; line-height: 1.4; }

/* Presse */
.presse { text-align: center; }
.presse p.eyebrow { margin-bottom: 24px; }
.presse-logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px;
  font-family: Georgia, serif; font-size: 20px; color: var(--muted); opacity: .85;
}
.presse-logos span { white-space: nowrap; }

/* Témoignages */
.temoins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.temoin {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px;
}
.temoin .stars { margin-bottom: 10px; }
.temoin p { font-size: 14.5px; color: var(--muted); margin: 0 0 16px; }
.temoin b { font-size: 14px; }
.temoin small { color: var(--muted); display: block; font-size: 12.5px; }

/* Histoire */
.histoire { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.portrait { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.portrait img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 12px; display: block;
}
.portrait img:first-child { grid-column: 1 / -1; }
.histoire h2 { font-size: clamp(26px, 3vw, 34px); margin: 12px 0 16px; }
.histoire p { color: var(--muted); max-width: 36em; }
.signature { font-family: Georgia, serif; font-style: italic; font-size: 22px; color: var(--pine); margin-top: 8px; }

/* Newsletter */
.news {
  background: var(--rose-tint); border-radius: 26px; padding: 48px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.news h2 { font-size: 26px; margin: 8px 0 8px; }
.news p { margin: 0; color: var(--muted); font-size: 15px; max-width: 34em; }
.news form { display: flex; gap: 10px; }
.news input {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 13px 20px; font-size: 15px; min-width: 260px;
}
.news input:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }

/* Footer */
footer.site {
  background: var(--pine-deep); color: #D9E3D2; margin-top: 72px;
  padding: 56px 0 28px; font-size: 14px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: #C4D2BB; text-decoration: none; }
.foot-grid a:hover { color: #fff; }
.foot-logo img { height: 26px; width: auto; filter: brightness(0) invert(1); }
.legal {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: #9DB093; font-size: 13px;
}
.legal a { color: inherit; }

/* Page Conseils & presse — étude clinique */
.etude-band {
  background: var(--pine); color: #EAF1E4; border-radius: 26px; padding: 56px;
}
.etude-band .eyebrow { color: #F3D9A6; }
.etude-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); margin: 12px 0 10px; }
.etude-intro { color: #D6E0CC; font-size: 15.5px; max-width: 42em; margin: 0 0 32px; }
.etude-intro em { color: #fff; }
.protocole {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px;
}
.protocole > div {
  background: #FDFCF6; border-radius: 16px; padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.protocole b { display: block; font-family: Georgia, serif; font-size: 27px; color: var(--pine-deep); }
.protocole span { font-size: 13px; color: #5C6B58; line-height: 1.45; display: block; margin-top: 4px; }
.resultats { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 24px; }
.res-col {
  background: #FFFFFF; border-radius: 18px; padding: 26px;
  box-shadow: 0 8px 24px rgba(0,0,0,.20);
}
.res-col h3 { color: #22301F; font-size: 17px; margin-bottom: 8px; }
.res-chiffre {
  font-family: Georgia, serif; font-size: 48px; font-weight: 700; color: #2F5A38; line-height: 1;
  margin-bottom: 20px;
}
.res-chiffre small { display: block; font-family: inherit; font-size: 12px; color: #5C6B58; font-weight: 400; margin-top: 6px; letter-spacing: .02em; }
.jauges { display: grid; gap: 10px; }
.jauge-row { display: grid; grid-template-columns: 34px 1fr 52px; gap: 10px; align-items: center; font-size: 13px; }
.jauge-row .j { color: #5C6B58; font-weight: 700; }
.jauge-row .v { color: #22301F; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.jauge { height: 12px; border-radius: 999px; background: #EFEDE2; overflow: hidden; }
.jauge i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #E8A491, #C4573F); }
.res-plus {
  display: grid; gap: 14px; align-content: center;
  background: #F9EED3; box-shadow: 0 8px 24px rgba(0,0,0,.20);
}
.mini-stat { display: flex; gap: 14px; align-items: baseline; }
.mini-stat b { font-family: Georgia, serif; font-size: 27px; color: #2F5A38; white-space: nowrap; }
.mini-stat span { font-size: 13px; color: #5C6B58; line-height: 1.4; }
.etude-note { font-size: 12px; color: #9DB093; max-width: 60em; margin: 26px 0 26px; }
.etude-liens { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.btn-clair { background: #F3D9A6; border-color: #F3D9A6; color: #234529; }
.btn-clair:hover { background: #fff; border-color: #fff; }
.lien-clair { color: #fff; font-weight: 600; font-size: 14.5px; text-underline-offset: 3px; }

/* Page Conseils & presse — frise presse */
.frise { position: relative; padding-left: 34px; }
.frise::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.frise-annee { position: relative; margin: 34px 0 18px; }
.frise-annee:first-child { margin-top: 0; }
.frise-annee span {
  font-family: Georgia, serif; font-size: 30px; font-weight: 700; color: var(--pine);
}
.frise-annee::before {
  content: ""; position: absolute; left: -32px; top: 12px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--rose); border: 3px solid var(--bg);
}
.clip {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 24px; margin-bottom: 12px;
  display: grid; grid-template-columns: 130px 200px 1fr auto; gap: 18px; align-items: baseline;
  transition: transform .15s ease, box-shadow .15s ease;
}
.clip:hover { transform: translateX(3px); box-shadow: var(--shadow); }
.clip::before {
  content: ""; position: absolute; left: -30px; top: 26px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--line);
}
.clip time { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.clip h3 { font-family: Georgia, serif; font-size: 17px; color: var(--pine-deep); margin: 0; }
.clip p { font-size: 14px; color: var(--muted); margin: 0; }
.clip-lien {
  font-size: 13.5px; font-weight: 700; color: var(--pine); white-space: nowrap;
  text-underline-offset: 3px; text-decoration: underline;
  background: none; border: none; padding: 0; cursor: pointer; font-family: inherit;
  position: relative; z-index: 2;
}
.clip-lien:hover { color: var(--pine-deep); }

/* Popin des scans de presse */
dialog.popin {
  border: none; border-radius: 20px; padding: 0;
  max-width: min(880px, 92vw); max-height: 90vh;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  background: var(--surface); color: var(--ink);
}
dialog.popin::backdrop { background: rgba(30, 43, 32, .65); backdrop-filter: blur(3px); }
.popin-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.popin-head b { color: var(--pine-deep); font-size: 15px; }
.popin-close {
  border: none; background: var(--surface-soft); color: var(--ink);
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 15px;
}
.popin-close:hover { background: var(--rose-tint); }
.popin-corps { padding: 16px; overflow: auto; max-height: calc(90vh - 120px); }
.popin-corps img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 8px; }
.popin-pied { padding: 12px 20px; border-top: 1px solid var(--line); text-align: center; }
.popin-pied a { font-weight: 700; color: var(--pine); font-size: 14px; }

/* Boutique & catégories */
.cat-titre { font-size: clamp(30px, 4vw, 44px); margin: 12px 0 10px; }
.gamme-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 32px; }
.gamme-nav a {
  text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 9px 20px; border-radius: 999px;
  border: 2px solid var(--line); color: var(--muted); background: var(--surface);
}
.gamme-nav a:hover { border-color: var(--pine); color: var(--pine); }
.gamme-nav a.actif { background: var(--pine); border-color: var(--pine); color: var(--bg); }
.prods-archive .ph img { max-height: 165px; width: auto; }
.woocommerce-pagination, .pagination { display: flex; gap: 8px; justify-content: center; }
.page-numbers {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px;
  border-radius: 999px; border: 2px solid var(--line); text-decoration: none;
  font-weight: 700; color: var(--muted); padding: 0 8px;
}
.page-numbers.current { background: var(--pine); border-color: var(--pine); color: var(--bg); }

/* Fiche produit WooCommerce */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--pine); }
.crumbs b { color: var(--ink); font-weight: 600; }
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; padding: 28px 0 40px; align-items: start; }
.gallery { position: sticky; top: 90px; }
.g-main {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  display: grid; place-items: center; padding: 36px; position: relative;
}
.g-main img { max-height: 440px; width: auto; object-fit: contain; }
.g-main .flag {
  position: absolute; top: 16px; left: 16px;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: var(--rose); color: #fff;
}
.thumbs { display: flex; gap: 12px; margin-top: 12px; }
.thumb {
  width: 84px; height: 84px; border-radius: 12px; border: 2px solid var(--line);
  background: #fff; display: grid; place-items: center; padding: 8px;
}
.thumb img { max-height: 64px; width: auto; object-fit: contain; }
.buy .tag {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  background: var(--pine); color: var(--bg); margin-bottom: 14px;
}
.buy h1 { font-size: clamp(30px, 3.6vw, 40px); margin-bottom: 10px; }
.rating-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.rating-row a { color: var(--pine); font-weight: 600; }
.buy .lede { color: var(--muted); font-size: 16px; margin: 0 0 16px; }
.pdp-prix { font-family: Georgia, serif; font-size: 34px; font-weight: 700; color: var(--pine-deep); margin: 0 0 18px; }
.pdp-prix .woocommerce-Price-amount { font-variant-numeric: tabular-nums; }
.pdp-cart form.cart { display: flex; gap: 12px; align-items: stretch; margin-bottom: 18px; }
.pdp-cart .quantity input {
  width: 74px; height: 100%; min-height: 52px; text-align: center;
  border: 2px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 16px;
  background: var(--surface); color: var(--ink);
}
.pdp-cart .single_add_to_cart_button {
  flex: 1; border-radius: 999px; border: 2px solid var(--pine);
  background: var(--pine); color: var(--bg); font-weight: 700; font-size: 16px;
  padding: 14px 28px; cursor: pointer; transition: background .15s ease;
}
.pdp-cart .single_add_to_cart_button:hover { background: var(--pine-deep); }
.mini-reassure { display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 16px; }
.mini-reassure b { color: var(--ink); }
.pro-badge {
  display: flex; gap: 12px; align-items: center; margin-top: 18px;
  background: var(--rose-tint); border-radius: 14px; padding: 12px 16px; font-size: 13.5px;
}
.pro-badge .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--rose); color: #fff; display: grid; place-items: center; }
.cross { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Panier & tunnel d'achat */
.woocommerce-cart main, .woocommerce-checkout main { padding-bottom: 40px; }
.woocommerce-cart .content-page .entry, .woocommerce-checkout .content-page .entry { max-width: none; }
.woocommerce-cart .entry > .woocommerce {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: start;
}
.woocommerce-cart .entry > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-cart form.woocommerce-cart-form { margin: 0; min-width: 0; }
.woocommerce-cart .cart-collaterals { min-width: 0; }
.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; float: none; }
.woocommerce-cart .cart_totals table.shop_table { border: none; }
.woocommerce table.cart td.actions {
  padding: 18px 16px; background: var(--surface);
}
.woocommerce table.cart td.actions .coupon { display: flex; gap: 10px; align-items: stretch; float: none; }
.woocommerce table.cart td.actions .coupon .input-text {
  width: 240px; border: 2px solid var(--line); border-radius: 999px;
  padding: 11px 18px; font-size: 14px; background: var(--bg); color: var(--ink);
  font-family: inherit;
}
.woocommerce table.cart td.actions .coupon .input-text:focus-visible { outline: none; border-color: var(--pine); }
.woocommerce table.cart td.actions .coupon .input-text::placeholder { color: var(--muted); }
.woocommerce table.cart td.actions .button[name="update_cart"] {
  background: transparent; color: var(--pine);
}
.woocommerce table.cart td.actions .button[name="update_cart"]:disabled {
  color: var(--muted); border-color: var(--line); opacity: 1;
}
.woocommerce table.cart a.remove {
  color: var(--rose) !important; font-size: 22px; width: 28px; height: 28px; line-height: 26px;
  border-radius: 50%;
}
.woocommerce table.cart a.remove:hover { background: var(--rose); color: #fff !important; }
@media (max-width: 900px) {
  .woocommerce-cart .entry > .woocommerce { grid-template-columns: 1fr; }
  .pro-points-strip { grid-template-columns: 1fr; }
  .duo-chir { grid-template-columns: 1fr; }
  .pro-hero-card { padding: 28px 24px; }
  .woocommerce table.cart td.actions .coupon .input-text { width: 100%; }
}
.woocommerce table.shop_table {
  border: 1px solid var(--line); border-radius: 16px; border-collapse: separate; border-spacing: 0;
  background: var(--surface); overflow: hidden;
}
.woocommerce table.shop_table th {
  background: var(--pine-tint); color: var(--pine-deep);
  text-transform: uppercase; font-size: 12px; letter-spacing: .06em; padding: 14px 16px;
}
.woocommerce table.shop_table td { border-top: 1px solid var(--line); padding: 14px 16px; vertical-align: middle; }
.woocommerce table.shop_table img { width: 64px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.woocommerce .quantity .qty {
  width: 70px; text-align: center; border: 2px solid var(--line); border-radius: 999px;
  padding: 8px; font-weight: 700; background: var(--surface); color: var(--ink);
}
.woocommerce .button, .woocommerce button.button, .woocommerce a.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce button.button.alt, .woocommerce a.button.alt {
  background: var(--pine); color: var(--bg); border-radius: 999px;
  font-weight: 700; padding: 12px 24px; border: 2px solid var(--pine);
  transition: background .15s ease;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover,
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover {
  background: var(--pine-deep); border-color: var(--pine-deep); color: var(--bg);
}
.woocommerce .button[disabled] { opacity: .5; }
.woocommerce .cart_totals, .woocommerce-checkout #order_review {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
}
.woocommerce .cart_totals h2, .woocommerce-checkout #order_review_heading { font-size: 20px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px;
  background: var(--surface); color: var(--ink); font-size: 15px;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus {
  outline: none; border-color: var(--pine);
}
.woocommerce form .form-row label { font-weight: 600; font-size: 13.5px; color: var(--muted); }
.woocommerce-checkout h3 { font-size: 19px; margin: 18px 0 10px; }

/* Commander : deux colonnes, récapitulatif collant */
.woocommerce-checkout form.woocommerce-checkout {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 0 40px; align-items: start;
}
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
.woocommerce-checkout #order_review_heading {
  grid-column: 2; grid-row: 1; margin: 0 0 12px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: 22px;
}
.woocommerce-checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 100px; }
.woocommerce-checkout .col2-set { width: 100%; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 {
  width: 100%; max-width: none; float: none; margin: 0;
}
.woocommerce-checkout .col2-set .col-2 { margin-top: 10px; }
.woocommerce-checkout #order_review table.shop_table { border: none; margin-bottom: 14px; }
.woocommerce-checkout #payment { background: var(--pine-tint); border-radius: 14px; }
.woocommerce-checkout #payment .place-order { padding: 16px; }
.woocommerce-checkout #payment button#place_order { width: 100%; font-size: 16px; }
.woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 24px; }
@media (max-width: 900px) {
  .woocommerce-checkout form.woocommerce-checkout { grid-template-columns: 1fr; }
  .woocommerce-checkout #customer_details, .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: 12px; border-top-color: var(--pine); background: var(--pine-tint); color: var(--ink);
}
.woocommerce-error { border-top-color: #B33A2C; background: var(--rose-tint); }
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
  background: var(--pine-tint); border-radius: 14px;
}
.wc-proceed-to-checkout .checkout-button { display: block; text-align: center; font-size: 16px; }

/* Mon compte */
.woocommerce-account main { padding-bottom: 48px; }
.woocommerce-account .content-page .entry { max-width: none; }
.woocommerce-account.logged-in .entry > .woocommerce {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start;
}
.woocommerce-account.logged-in .entry > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation {
  float: none; width: auto; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px; padding: 12px;
}
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li { margin: 2px 0; }
.woocommerce-MyAccount-navigation li a {
  display: block; padding: 11px 16px; border-radius: 10px; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: 14.5px;
  transition: background .15s ease, color .15s ease;
}
.woocommerce-MyAccount-navigation li a:hover { background: var(--pine-tint); color: var(--pine-deep); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--pine); color: var(--bg); }
.woocommerce-MyAccount-navigation-link--customer-logout { border-top: 1px solid var(--line); margin-top: 10px !important; padding-top: 10px; }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--rose); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover { background: var(--rose-tint); color: var(--rose); }
.woocommerce-MyAccount-content {
  min-width: 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px; padding: 30px 32px;
}
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-MyAccount-content a:not(.button) { color: var(--pine-deep); font-weight: 600; text-underline-offset: 3px; }
.woocommerce-MyAccount-content fieldset { border: none; margin: 28px 0 0; padding: 0; }
.woocommerce-MyAccount-content fieldset legend {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 19px; font-weight: 700; color: var(--pine-deep); margin-bottom: 10px;
}
.woocommerce-MyAccount-content table.shop_table { width: 100%; }
.woocommerce-MyAccount-content .woocommerce-orders-table__cell .button { padding: 8px 18px; font-size: 13px; }

/* Mon compte — adresses en deux cartes */
.woocommerce-MyAccount-content .col2-set {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%;
}
.woocommerce-MyAccount-content .col2-set .col-1,
.woocommerce-MyAccount-content .col2-set .col-2 { width: 100%; max-width: none; float: none; margin: 0; }
.woocommerce-Address { background: var(--bg); border: 1px dashed var(--line); border-radius: 14px; padding: 20px 22px; }
.woocommerce-Address .woocommerce-Address-title h3 { font-size: 17px; margin: 0 0 4px; }
.woocommerce-Address address { font-style: normal; color: var(--muted); line-height: 1.7; }

/* Connexion / inscription (visiteur non connecté) */
.woocommerce-account:not(.logged-in) .entry > .woocommerce { max-width: 480px; margin: 0 auto; }
form.woocommerce-form-login, form.woocommerce-form-register {
  background: var(--surface); border: 1px solid var(--line) !important;
  border-radius: 20px !important; padding: 32px !important; margin: 0;
}
form.woocommerce-form-login .woocommerce-form-login__submit,
form.woocommerce-form-register .woocommerce-form-register__submit { width: 100%; margin-top: 6px; }
form.woocommerce-form-login .lost_password { text-align: center; font-size: 14px; margin-bottom: 0; }
form.woocommerce-form-login .lost_password a { color: var(--pine-deep); }

@media (max-width: 900px) {
  .woocommerce-account.logged-in .entry > .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-MyAccount-content { padding: 24px 20px; }
  .woocommerce-MyAccount-content .col2-set { grid-template-columns: 1fr; }
}

/* Édito de pied de gamme (catégories) */
.gamme-edito { border-radius: 26px; padding: 52px; }
.gamme-edito.encaps-fond { background: var(--pine); color: #EAF1E4; }
.gamme-edito.encaps-fond .eyebrow { color: #F3D9A6; }
.gamme-edito.encaps-fond h2 { color: #fff; }
.gamme-edito.phyto-fond { background: var(--rose-tint); color: var(--ink); }
.gamme-edito h2 { font-size: clamp(24px, 3vw, 32px); margin: 10px 0 12px; }
.ge-intro { max-width: 46em; font-size: 15.5px; margin: 0 0 28px; }
.gamme-edito.encaps-fond .ge-intro { color: #D6E0CC; }
.gamme-edito.phyto-fond .ge-intro { color: var(--muted); }
.ge-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-bottom: 28px; }
.ge-card {
  background: #FDFCF6; border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.ge-card b { display: block; font-family: Georgia, serif; font-size: 24px; color: var(--pine-deep); margin-bottom: 6px; }
.ge-card span { font-size: 13.5px; color: #5C6B58; line-height: 1.5; display: block; }
.ge-liens { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.lien-fonce { color: var(--pine-deep); font-weight: 700; font-size: 14.5px; text-underline-offset: 3px; }

/* Espace pro */
.pro-hero {
  background-size: cover;
  background-position: center 70%;
  padding: 84px 0 96px;
  position: relative;
}
.pro-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(246,244,236,.55) 0%, rgba(246,244,236,.15) 55%, transparent 80%);
}
.pro-hero .wrap { position: relative; }
.pro-hero-card {
  max-width: 620px;
  background: rgba(253,252,246,.86);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  padding: 42px 44px;
  box-shadow: 0 24px 60px rgba(34,48,31,.18);
}
.pro-hero-card h1 { font-size: clamp(30px, 3.6vw, 42px); margin: 12px 0 16px; }
.pro-hero-card .lede { font-size: 16px; color: var(--muted); margin: 0 0 24px; }
.pro-points { display: grid; gap: 16px; align-content: center; }
.pro-points-strip { grid-template-columns: repeat(3, 1fr); }
.pro-point {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 24px; box-shadow: var(--shadow);
}
.pro-point b { display: block; font-size: 15.5px; margin-bottom: 4px; color: var(--pine-deep); }
.pro-point span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* Duo post-chirurgie */
.duo-chir { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: center; }
.duo-photo { margin: 0; }
.duo-photo img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow); }
.duo-chir h2 { font-size: clamp(25px, 3vw, 33px); margin: 10px 0 14px; }
.duo-chir > div > p { color: var(--muted); max-width: 36em; }
.duo-points { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.duo-points li { padding-left: 26px; position: relative; font-size: 15px; color: var(--muted); }
.duo-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--pine); font-weight: 800;
}
.duo-points b { color: var(--ink); }

/* Nos valeurs */
.sec-centre { margin: 0 auto 40px; text-align: center; }
.sec-centre h2 { max-width: 12em; margin-left: auto; margin-right: auto; }
.val-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.val {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 26px; text-align: center;
}
.val-ic {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--pine-tint); color: var(--pine); margin-bottom: 16px;
}
.val-ic svg { width: 26px; height: 26px; }
.val b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.val p { margin: 0; font-size: 14px; color: var(--muted); }

/* Fiche produit — accordéons (onglets WooCommerce) */
.pdp-accordeons { max-width: 720px; margin-top: 18px; }
.pdp-acc { border-top: 1px solid var(--line); }
.pdp-acc:last-child { border-bottom: 1px solid var(--line); }
.pdp-acc summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px;
  padding: 18px 4px; font-weight: 700; font-size: 14.5px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--pine-deep);
}
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary::before {
  content: "+"; width: 26px; height: 26px; line-height: 24px; text-align: center; flex: none;
  border: 1.5px solid var(--rose); border-radius: 50%; color: var(--rose);
  font-size: 17px; font-weight: 600;
}
.pdp-acc[open] summary::before { content: "−"; background: var(--rose); color: #fff; }
.pdp-acc summary:hover { color: var(--pine); }
.pdp-acc-body { padding: 2px 4px 22px 44px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.pdp-acc-body > h2:first-child { display: none; } /* les onglets répètent leur titre en <h2> */
.pdp-acc-body p:first-child { margin-top: 0; }
.pdp-acc-body p:last-child { margin-bottom: 0; }

/* Avis produit (formulaire natif WooCommerce) */
#reviews {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 36px 40px;
}
#reviews .woocommerce-Reviews-title {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 24px; margin: 0 0 6px;
}
#reviews .woocommerce-noreviews {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pine-tint); color: var(--pine-deep);
  border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 600;
  margin: 6px 0 22px;
}
#reviews .woocommerce-noreviews::before { content: "★"; color: var(--gold); }
#review_form_wrapper { max-width: 660px; }
#reviews .comment-reply-title {
  display: block; font-size: 17px; font-weight: 700; color: var(--ink);
  font-family: inherit; margin-bottom: 2px;
}
#reviews .comment-notes { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
#reviews .comment-form { display: grid; gap: 16px; }
#reviews .comment-form p { margin: 0; }
#reviews .comment-form label {
  display: block; font-weight: 600; font-size: 13.5px; color: var(--muted); margin-bottom: 6px;
}
#reviews .comment-form-rating label { margin-bottom: 2px; }
#reviews p.stars { margin: 4px 0 0; }
#reviews p.stars a { color: var(--gold); font-size: 22px; text-decoration: none; }
#review_form input[type="text"], #review_form input[type="email"], #review_form textarea {
  border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
  background: var(--bg); color: var(--ink); font-size: 15px; font-family: inherit;
}
#review_form input:focus-visible, #review_form textarea:focus-visible {
  outline: none; border-color: var(--pine);
}
#reviews .comment-form-author, #reviews .comment-form-email { max-width: 320px; }
#reviews .comment-form-cookies-consent { display: flex; gap: 10px; align-items: baseline; }
#reviews .comment-form-cookies-consent label {
  display: inline; font-weight: 400; font-size: 13px; color: var(--muted); margin: 0;
}
#review_form .form-submit { margin-top: 4px; }
#review_form .form-submit input {
  background: var(--pine); color: var(--bg); border: 2px solid var(--pine);
  border-radius: 999px; font-weight: 700; font-size: 15px; padding: 13px 32px; cursor: pointer;
  transition: background .15s ease;
}
#review_form .form-submit input:hover { background: var(--pine-deep); }
#reviews .commentlist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
#reviews .commentlist li {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px;
}
#reviews .commentlist .meta { font-size: 13.5px; color: var(--muted); }
#reviews .commentlist .meta strong { color: var(--ink); font-size: 14.5px; }
#reviews .commentlist .star-rating { color: var(--gold); }
#reviews .commentlist .description { font-size: 14.5px; color: var(--muted); }

/* Contenu éditorial (pages, articles) */
.content-page { padding: 56px 0; }
.content-page .entry { max-width: 720px; }
.content-page h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
@media (max-width: 900px) {
  .hero-grid, .gammes, .pro, .histoire, .news { grid-template-columns: 1fr; }
  .protocole, .resultats { grid-template-columns: 1fr; }
  .clip { grid-template-columns: 1fr; gap: 4px; }
  .etude-band { padding: 32px 24px; }
  .pdp, .cross { grid-template-columns: 1fr; }
  .val-grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .prods { grid-template-columns: repeat(2, 1fr); }
  .reassure .wrap { grid-template-columns: repeat(2, 1fr); }
  .temoins { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  /* Header mobile : logo à gauche, panier + burger à droite */
  .nav { gap: 12px; }
  .logo { margin-right: auto; }
  .logo img { height: 27px; }
  .nav .util { order: 2; gap: 12px; }
  .util-label { display: none; }        /* icônes seules sur mobile */
  .cart-pill { padding: 8px 12px; }
  .gg-burger { display: inline-flex; order: 3; }
  /* Le menu devient un panneau déroulant plein largeur sous l'en-tête */
  .nav ul {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; flex: none;
    background: var(--bg); border-top: 1px solid var(--line);
    box-shadow: 0 18px 34px -20px rgba(34,48,31,.45);
    margin: 0; padding: 6px 24px 14px;
  }
  #gg-nav-toggle:checked ~ ul { display: flex; }
  .nav ul li { border-bottom: 1px solid var(--line); }
  .nav ul li:last-child { border-bottom: 0; }
  .nav ul a { display: block; padding: 14px 2px; font-size: 16px; }
  .news form { flex-wrap: wrap; }
}
