/* =================================================================
   périménopause.community — Comparateur indépendant
   Design system : presse / média éditorial, crédible et neutre.
   Distinct de l'univers Ainoha (pas de rosé / bulles).
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* — Surfaces (warm paper, credible neutrals) — */
  --paper:        oklch(0.987 0.005 85);
  --paper-2:      oklch(0.972 0.007 82);
  --paper-3:      oklch(0.955 0.009 80);
  --card:         oklch(1 0 0);

  /* — Ink — */
  --ink:          oklch(0.235 0.012 70);
  --ink-soft:     oklch(0.43 0.012 70);
  --ink-faint:    oklch(0.60 0.010 72);
  --ink-ghost:    oklch(0.74 0.008 75);

  /* — Hairlines — */
  --line:         oklch(0.89 0.006 78);
  --line-2:       oklch(0.83 0.008 78);
  --line-ink:     oklch(0.235 0.012 70);

  /* — Brand accents (harmonious: chroma ~0.085, L ~0.46, hue varies) — */
  --evergreen:    oklch(0.46 0.075 158);
  --evergreen-2:  oklch(0.56 0.085 158);
  --plum:         oklch(0.42 0.075 350);
  --clay:         oklch(0.55 0.085 45);

  /* tints */
  --green-tint:   oklch(0.965 0.022 158);
  --green-tint-2: oklch(0.935 0.035 158);
  --plum-tint:    oklch(0.965 0.018 350);

  /* — Semantic (comparison cells) — */
  --yes:          oklch(0.50 0.085 158);
  --partial:      oklch(0.66 0.105 70);
  --no:           oklch(0.62 0.045 35);

  /* — Type — */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Public Sans', system-ui, -apple-system, sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  /* — Layout — */
  --maxw: 1180px;
  --maxw-narrow: 720px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 14px;
  --radius-sm: 9px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
.display { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.022em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
em, .italic { font-style: italic; }
/* Exposant ™ propre (généré par tm.js) */
sup.tm { font-size: 0.6em; vertical-align: 0.28em; line-height: 0; margin-left: 0.01em; font-weight: inherit; font-style: normal; letter-spacing: 0; }

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.kicker::before {
  content: "";
  width: 1.6em; height: 1px;
  background: var(--ink-ghost);
  display: inline-block;
}
.kicker.no-rule::before { display: none; }

.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--maxw-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vw, 100px); }
.section-sm { padding-block: clamp(32px, 5vw, 60px); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--evergreen); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 0.6em 1.1em; font-size: 0.85rem; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Badges / pills ---------- */
.badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.4em 0.7em;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  white-space: nowrap;
}
.badge-winner { background: var(--evergreen); color: oklch(0.97 0.02 158); border-color: transparent; }
.badge-soft { background: var(--paper-3); }
.badge-dot::before { content:""; width:6px; height:6px; border-radius:50%; background: currentColor; display:inline-block; }

/* ---------- Score / rating ---------- */
.score { font-family: var(--serif); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.score .max { color: var(--ink-ghost); font-size: 0.5em; }
.stars { display: inline-flex; gap: 2px; color: var(--clay); }
.stars svg { width: 1em; height: 1em; }

/* round score chip */
.score-ring {
  --p: 90;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(closest-side, var(--card) 73%, transparent 74% 100%),
    conic-gradient(var(--evergreen) calc(var(--p) * 1%), var(--line) 0);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
}
.card-hover { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px oklch(0.3 0.02 70 / 0.4); border-color: var(--line-2); }

/* ---------- Comparison cell glyphs ---------- */
.mark { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; font-weight: 700; }
.mark-yes { color: var(--yes); }
.mark-no  { color: var(--no); }
.mark-partial { color: var(--partial); }

/* ---------- Image placeholder (striped) ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      oklch(0.93 0.01 80) 0 12px,
      oklch(0.90 0.012 80) 12px 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--ink-faint);
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  background: var(--paper);
  padding: 0.35em 0.7em;
  border-radius: 5px;
  border: 1px solid var(--line);
  max-width: 80%;
  text-align: center;
}
/* filled with an editorial illustration */
.ph.ill-filled { background: var(--card); color: transparent; }
.ph.ill-filled::after { display: none; }
.ph.ill-filled svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 0.6em; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.logo .mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
}
.logo .name { font-size: 1.02rem; }
.logo .name .dim { color: var(--ink-faint); font-weight: 500; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a { text-decoration: none; color: var(--ink-soft); font-size: 0.93rem; font-weight: 500; transition: color .15s ease; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
/* CTA du header en vert Ainoha (--evergreen), sur toutes les pages */
.nav-cta .btn-primary, .mobile-menu .btn-primary { background: var(--evergreen); color: var(--paper); }
.nav-cta .btn-primary:hover, .mobile-menu .btn-primary:hover { background: var(--ink); }
.nav-toggle { display: none; }
.mobile-menu { display: none; }
@media (max-width: 860px){
  .nav .hide-sm { display: none; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    display: flex; flex-direction: column; gap: 2px;
    padding: 10px var(--gutter) 22px; border-top: 1px solid var(--line);
    background: var(--paper);
  }
  .mobile-menu[hidden]{ display: none; }
  .mobile-menu a:not(.btn){
    padding: 13px 4px; text-decoration: none; color: var(--ink); font-weight: 500;
    font-size: 1.05rem; border-bottom: 1px solid var(--line);
  }
  .mobile-menu a:not(.btn):active{ color: var(--evergreen); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: oklch(0.82 0.01 80); padding-block: clamp(44px, 6vw, 72px); margin-top: 40px; }
.site-footer a { color: oklch(0.82 0.01 80); text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.site-footer h4 { color: var(--paper); font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 1em; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6em; font-size: 0.92rem; }
.footer-note { font-size: 0.78rem; color: oklch(0.62 0.01 80); line-height: 1.6; }
.footer-bottom { border-top: 1px solid oklch(0.35 0.01 80); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.8rem; color: oklch(0.62 0.01 80); }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Methodology / trust strip ---------- */
.trust-strip { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--ink-faint); text-transform: uppercase; }
.trust-strip .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-ghost); }

/* ---------- Segmented controls (variantes) ---------- */
.variant-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.variant-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.seg { display: inline-flex; background: var(--paper-3); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { font-family: var(--sans); font-size: .84rem; font-weight: 600; color: var(--ink-soft); background: transparent; border: 0; padding: .5em 1em; border-radius: 999px; cursor: pointer; transition: all .15s ease; white-space: nowrap; }
.seg button.active { background: var(--ink); color: var(--paper); }

/* ---------- Eyebrow disclosure ---------- */
.disclosure { font-size: 0.8rem; color: var(--ink-faint); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 0.8em 1.1em; background: var(--paper-2); }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-sm { gap: 10px; }
.gap { gap: 18px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.grid { display: grid; }
.eyebrow-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.fade-up { animation: fadeUp .6s cubic-bezier(.2,.7,.3,1) both; }
@keyframes fadeUp { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce){ .fade-up { animation: none; } }

/* =================================================================
   PAGES D'AVIS
   ================================================================= */
.breadcrumb { font-family: var(--mono); font-size: .78rem; color: var(--ink-faint); margin-bottom: 22px; }
.breadcrumb a { text-decoration: none; color: inherit; }
.breadcrumb a:hover { color: var(--ink); }

.review-hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px,5vw,56px); align-items: start; }
.rh-logo { width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 2.2rem; border: 1px solid; margin-bottom: 18px; }
.verdict-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px,3vw,30px); }
.verdict-box.win { background: var(--green-tint); border-color: var(--green-tint-2); }
.vb-score { display: flex; align-items: baseline; gap: 10px; }
.vb-score .score { font-size: 3.4rem; }
.vb-score .max { font-size: 1.1rem; color: var(--ink-faint); }
.vb-bars { display: grid; gap: 10px; margin: 18px 0; }
.vb-bar { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; font-size: .85rem; }
.vb-bar .track { grid-column: 1 / -1; height: 8px; border-radius: 5px; background: oklch(0.86 0.012 90); box-shadow: inset 0 0 0 1px oklch(0.3 0.02 80 / 0.06); overflow: hidden; }
.vb-bar .fill { display: block; height: 100%; border-radius: 5px; background: var(--evergreen); box-shadow: 0 0 0 1px oklch(0.46 0.075 158 / 0.25); }
.vb-bar .lab { color: var(--ink); font-weight: 500; }
.vb-bar .val { font-family: var(--mono); font-size: .78rem; color: var(--ink-soft); font-weight: 500; }

.article { font-size: 1.08rem; line-height: 1.75; }
.article h2 { font-size: clamp(1.5rem,2.4vw,2rem); margin: 1.6em 0 .5em; }
.article h3 { font-size: 1.3rem; margin: 1.3em 0 .4em; }
.article p { color: var(--ink); margin: 0 0 1.1em; }
.article ul, .article ol { color: var(--ink); padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: .5em; }
.article blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--evergreen); font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; font-style: italic; color: var(--ink); }
.article a { color: var(--evergreen); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.article figure { margin: 1.6em 0; }
.article figcaption { font-family: var(--mono); font-size: .76rem; color: var(--ink-faint); margin-top: 8px; text-align: center; }

.callout { background: var(--green-tint); border: 1px solid var(--green-tint-2); border-radius: var(--radius); padding: clamp(20px,3vw,30px); margin: 1.8em 0; }
.callout .kicker { color: var(--evergreen); }
.callout-ink { background: var(--ink); color: var(--paper); border:0; }
.callout-ink p { color: oklch(0.85 0.01 80); }

.toc { position: sticky; top: 90px; font-size: .92rem; }
.toc h4 { font-family: var(--mono); font-size: .7rem; letter-spacing:.12em; text-transform:uppercase; color: var(--ink-faint); margin: 0 0 12px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; border-left: 1px solid var(--line); }
.toc a { text-decoration: none; color: var(--ink-soft); padding-left: 16px; margin-left: -1px; border-left: 2px solid transparent; display: block; transition: all .15s ease; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--evergreen); }

/* Stat blocks */
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 1.6em 0; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--card); }
.stat .num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--evergreen); }
.stat .lab { color: var(--ink-soft); font-size: .9rem; margin-top: 8px; }
@media (max-width: 680px){ .stat-row { grid-template-columns: 1fr; } }

/* =================================================================
   BLOG
   ================================================================= */
.blog-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px,4vw,48px); }
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 900px){ .post-grid { grid-template-columns: repeat(2,1fr); } .blog-hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px){ .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.post-card .meta { display: flex; gap: 12px; align-items: center; font-family: var(--mono); font-size: .72rem; color: var(--ink-faint); margin-top: auto; padding-top: 14px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pill { font-family: var(--mono); font-size: .74rem; letter-spacing:.04em; padding: .45em .9em; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-soft); background: var(--card); cursor: pointer; text-decoration:none; transition: all .15s ease; }
.cat-pill:hover, .cat-pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.article-wrap { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: clamp(28px,5vw,64px); }
@media (max-width: 880px){ .article-wrap { grid-template-columns: 1fr; } .toc { display: none; } }

/* pros/cons list (reviews) */
.pc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .92rem; }
.pc-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); line-height: 1.4; }
.pc-list li::before { content:""; width: 7px; height: 7px; border-radius: 50%; margin-top: .5em; flex: none; }
.pc-list.pros li::before { background: var(--yes); }
.pc-list.cons li::before { background: var(--no); }
@media (max-width: 760px){
  .review-hero { grid-template-columns: 1fr; }
  .review-hero + * {}
  #reviewMount .wrap[style*="1.7fr"] { grid-template-columns: 1fr !important; }
  #otherReviews { grid-template-columns: 1fr !important; }
}

/* =================================================================
   RESPONSIVE GLOBAL — replie les grilles inline multi-colonnes
   (index, comparatif, previews, teasers JS…) sur tablette/mobile.
   ================================================================= */
@media (max-width: 860px){
  /* toute grille définie en style inline passe en une colonne */
  [style*="grid-template-columns"]:not(.cmp):not(table) {
    grid-template-columns: 1fr !important;
  }
  /* aération verticale quand ça s'empile */
  .section { padding-block: clamp(40px, 7vw, 72px); }
  .eyebrow-row { gap: 14px; }
}

/* petits écrans : densité et débordements */
@media (max-width: 560px){
  :root { --gutter: 18px; }
  .display { font-size: clamp(2.1rem, 11vw, 3rem); }
  h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 6.5vw, 2rem); }
  .btn { padding: 0.8em 1.2em; font-size: 0.9rem; }
  /* les rangées de boutons / CTA empilées prennent toute la largeur */
  .flex.gap > .btn, .flex.gap-sm > .btn { flex: 1 1 auto; justify-content: center; }
  /* évite tout débordement horizontal accidentel */
  html, body { overflow-x: hidden; }
  .trust-strip { font-size: 0.66rem; gap: 8px 14px; }
  /* FOOTER : tout en une colonne, plus de texte rogné à droite */
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* le tableau comparatif reste lisible : scroll horizontal, jamais écrasé */
@media (max-width: 860px){
  .table-scroll { -webkit-overflow-scrolling: touch; }
  table.cmp { min-width: 760px; }
}

/* =================================================================
   COUCHE NEUMORPHISME — soft UI appliqué partout.
   Fond et surfaces partagent la même teinte ; relief par double ombre
   (lumière en haut-gauche, ombre portée en bas-droite).
   ================================================================= */
:root{
  --neu:        oklch(0.928 0.008 85);   /* surface = fond */
  --neu-2:      oklch(0.945 0.008 85);
  --neu-hi:     oklch(0.985 0.006 85);   /* reflet clair */
  --neu-lo:     oklch(0.80 0.014 75);    /* ombre chaude */
  --neu-d:      12px;                     /* distance d'ombre cartes */
  --neu-b:      24px;                     /* flou cartes */
  --neu-raise:  -7px -7px var(--neu-b) var(--neu-hi), 7px 7px var(--neu-b) var(--neu-lo);
  --neu-raise-sm: -4px -4px 10px var(--neu-hi), 4px 4px 10px var(--neu-lo);
  --neu-inset:  inset -4px -4px 10px var(--neu-hi), inset 4px 4px 10px var(--neu-lo);
  --neu-inset-sm: inset -2px -2px 5px var(--neu-hi), inset 2px 2px 5px var(--neu-lo);
}

body{ background: var(--neu); }

/* fonds de section uniformisés sur la teinte neumorphique */
.section, .section-sm, .wrap, .narrow { background: transparent; }
hr.divider{ height:0; border:0; box-shadow: 0 1px 0 var(--neu-hi), 0 -1px 0 var(--neu-lo); background:transparent; opacity:.6; }

/* ---- Cartes : relief doux, sans bordure ---- */
.card,
.verdict-box, .stat, .bv, .cmp-bcard, .tc-card, .mcmp2,
.review-hero .verdict-box{
  background: var(--neu);
  border: 0 !important;
  border-radius: 22px;
  box-shadow: var(--neu-raise);
}
.card-hover{ transition: box-shadow .25s ease, transform .25s ease; }
.card-hover:hover{ transform: translateY(-2px); box-shadow: -10px -10px 30px var(--neu-hi), 10px 10px 30px var(--neu-lo); }

/* surfaces teintées (vert) gardent leur couleur mais en relief */
.card[style*="green-tint"], .verdict-box.win, .bv.win, .callout{
  background: var(--green-tint) !important;
  box-shadow: var(--neu-raise);
}
.callout-ink{ background: var(--ink) !important; box-shadow: var(--neu-raise); }

/* ---- En-tête : barre soft, posée ---- */
.site-header{
  background: var(--neu);
  border-bottom: 0;
  box-shadow: 0 6px 18px -8px var(--neu-lo);
  backdrop-filter: none;
}
.logo .mark{ background: var(--neu); color: var(--evergreen); box-shadow: var(--neu-raise-sm); border-radius:10px; }

/* ---- Boutons ---- */
.btn{ border: 0; transition: box-shadow .18s ease, transform .12s ease; }
.btn-ghost{ background: var(--neu); color: var(--ink); box-shadow: var(--neu-raise-sm); }
.btn-ghost:hover{ box-shadow: -6px -6px 14px var(--neu-hi), 6px 6px 14px var(--neu-lo); transform: translateY(-1px); }
.btn-ghost:active{ box-shadow: var(--neu-inset-sm); transform: translateY(0); }
.btn-primary{ background: var(--evergreen); color: oklch(0.98 0.02 158);
  box-shadow: -5px -5px 12px var(--neu-hi), 5px 5px 12px var(--neu-lo); }
.btn-primary:hover{ background: var(--evergreen-2); transform: translateY(-1px); }
.btn-primary:active{ box-shadow: inset -3px -3px 7px oklch(0.40 0.07 158), inset 3px 3px 7px oklch(0.34 0.06 158); transform: translateY(0); }

/* ---- Badges & pastilles ---- */
.badge{ border:0; background: var(--neu); box-shadow: var(--neu-raise-sm); }
.badge-winner{ background: var(--evergreen); color: oklch(0.97 0.02 158); box-shadow: var(--neu-raise-sm); }
.badge-soft{ background: var(--neu); }

/* ---- Contrôles segmentés : piste creusée, actif en relief ---- */
.seg{ background: var(--neu); border:0; box-shadow: var(--neu-inset); }
.seg button{ border-radius: 999px; }
.seg button.active{ background: var(--neu); color: var(--ink); box-shadow: var(--neu-raise-sm); }
.cat-pill{ border:0; background: var(--neu); box-shadow: var(--neu-raise-sm); }
.cat-pill.active{ background: var(--ink); color: var(--neu); box-shadow: var(--neu-inset-sm); }

/* ---- Placeholders / illustrations : légèrement creusés ---- */
.ph{ border:0; box-shadow: var(--neu-inset); border-radius: 16px; }
.ph.ill-filled{ background: var(--neu); box-shadow: var(--neu-inset); }

/* ---- Barres de score : piste creusée, remplissage en relief ---- */
.vb-bar .track{ background: var(--neu); box-shadow: var(--neu-inset-sm); border-radius: 999px; }
.vb-bar .fill{ box-shadow: -2px -2px 5px oklch(0.55 0.08 158 / .5), 2px 2px 5px oklch(0.34 0.06 158 / .55); }

/* ---- Classement (accueil) : lignes en relief ---- */
.rank-row{ border:0 !important; background: var(--neu); box-shadow: var(--neu-raise); border-radius: 18px; }
.rank-logo, .col-logo, .rh-logo, .bv-logo,
.mcmp-logo, .mc2-logo, .tc-logo, .cr-logoCell{ box-shadow: var(--neu-raise-sm); border:0 !important; }

/* ---- Tableau comparatif : cadre soft, en-têtes lisibles ---- */
.table-scroll{ border:0; background: var(--neu); box-shadow: var(--neu-raise); border-radius: 18px; }
table.cmp thead th, table.cmp .crit{ background: var(--neu); }
table.cmp th, table.cmp td{ border-color: transparent; box-shadow: inset 0 -1px 0 oklch(0.86 0.01 80 / .5); }

/* ---- Disclosure, trust-strip ---- */
.disclosure{ border:0; background: var(--neu); box-shadow: var(--neu-inset-sm); }

/* ---- Pied de page : variante sombre du relief ---- */
.site-footer{ box-shadow: inset 0 8px 24px -12px oklch(0 0 0 / .5); }

/* paper-2/3 cards inside neutral bg keep contrast soft */
[style*="paper-2"], [style*="var(--paper-2)"]{ background: var(--neu-2) !important; }

@media (prefers-reduced-motion: reduce){ .card-hover, .btn{ transition:none; } }

/* ---- Boutons de téléchargement (App Store / Google Play) ---- */
.store-label{ display:block; font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:9px; }
.store-btns{ display:flex; gap:12px; flex-wrap:wrap; }
.store-btn{ display:inline-flex; align-items:center; gap:11px; text-decoration:none;
  background:var(--ink); color:var(--neu); border-radius:14px; padding:9px 18px 9px 15px;
  box-shadow: var(--neu-raise-sm); transition: transform .15s ease, box-shadow .15s ease; }
.store-btn:hover{ transform:translateY(-2px); box-shadow:-6px -6px 14px var(--neu-hi), 6px 6px 14px var(--neu-lo); }
.store-btn:active{ transform:translateY(0); box-shadow: var(--neu-inset-sm); }
.store-btn svg{ flex:none; }
.store-btn span{ display:flex; flex-direction:column; line-height:1.15; }
.store-btn small{ font-family:var(--sans); font-size:.62rem; letter-spacing:.04em; opacity:.8; text-transform:uppercase; }
.store-btn b{ font-family:var(--sans); font-size:1.02rem; font-weight:700; letter-spacing:-.01em; }

/* ---- Bascule de langue FR/EN (traduction à la volée) ---- */
.lang-toggle{ position:fixed; right:16px; bottom:16px; z-index:60; display:inline-flex; gap:3px;
  background:var(--neu); border-radius:999px; padding:4px; box-shadow:var(--neu-raise-sm); }
.lang-toggle button{ font-family:var(--mono); font-size:.74rem; font-weight:600; letter-spacing:.04em;
  border:0; background:transparent; color:var(--ink-soft); padding:6px 12px; border-radius:999px; cursor:pointer;
  transition:background .15s ease,color .15s ease; }
.lang-toggle button.on{ background:var(--evergreen); color:oklch(0.98 0.02 158); box-shadow:var(--neu-inset-sm); }
.lang-toggle button:not(.on):hover{ color:var(--ink); }
/* masque la barre supérieure injectée par Google Translate */
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon{ display:none !important; }
body{ top:0 !important; }
#goog-gt-tt, .goog-te-balloon-frame{ display:none !important; }
.goog-text-highlight{ background:none !important; box-shadow:none !important; }
@media print{ .lang-toggle{ display:none; } }
