/* =============================================================
   GHD ÉLITE · Comparatif lisseurs ghd — Amazon France
   styles.css — feuille unique, organisée par sections
   Système visuel : noir mat + cuivre/or rosé, grille de 8px stricte
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Color — noir mat premium, accent cuivre/or rosé */
  --bg:          #0a0908;
  --bg-elev:     #131110;
  --bg-elev-2:   #1c1815;
  --card:        #151210;
  --cream:       #f6f1e7;
  --text:        #ece5d8;
  --text-dim:    #a89d8c;
  --text-faint:  #6d6255;
  --copper:      #c8996a;
  --copper-2:    #e3bb87;
  --copper-deep: #9c6f45;
  --copper-ink:  #1c140d;
  --line:        rgba(246,241,232,0.08);
  --line-strong: rgba(246,241,232,0.16);
  --line-copper: rgba(200,153,106,0.35);
  --danger:      #d4695c;
  --ok:          #9caf82;
  --warn:        #e3bb87;
  --gold:        #d9b57a;

  --shadow-sm: 0 2px 12px rgba(0,0,0,.32);
  --shadow-md: 0 14px 44px rgba(0,0,0,.42);
  --shadow-lg: 0 28px 80px rgba(0,0,0,.52);
  --shadow-copper: 0 10px 34px rgba(200,153,106,.22);

  /* Type */
  --serif: 'Bodoni Moda', 'Didot', 'Iowan Old Style', Georgia, serif;
  --sans:  'Jost', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;

  /* Rhythm — échelle stricte de 8px, tout dérive de --u */
  --u: 8px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --container: 1280px;

  /* Easings */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] {
  --bg:          #faf8f4;
  --bg-elev:     #f1ede3;
  --bg-elev-2:   #e8e1d2;
  --card:        #ffffff;
  --cream:       #17130e;
  --text:        #1c1712;
  --text-dim:    #5c5445;
  --text-faint:  #8f8570;
  --copper:      #9c6f45;
  --copper-2:    #b8875a;
  --copper-ink:  #fff8ec;
  --line:        rgba(23,19,14,0.10);
  --line-strong: rgba(23,19,14,0.18);
  --line-copper: rgba(156,111,69,0.35);
  --shadow-sm: 0 2px 12px rgba(20,16,8,.06);
  --shadow-md: 0 14px 44px rgba(20,16,8,.10);
  --shadow-lg: 0 28px 80px rgba(20,16,8,.14);
  --shadow-copper: 0 10px 34px rgba(156,111,69,.16);
}

@property --grad-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  color-scheme: dark;
}
[data-theme="light"] html { color-scheme: light; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  background-image:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(200,153,106,.07), transparent 60%);
  background-repeat: no-repeat;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  text-wrap: balance; line-height: 1.08; letter-spacing: -0.005em;
  font-family: var(--serif); font-weight: 600;
}
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--copper); color: var(--copper-ink); }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--copper); color: var(--copper-ink);
  z-index: 9999; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - var(--gutter) * 2, 1520px); margin-inline: auto; }
.container-narrow { width: min(100% - var(--gutter) * 2, 860px); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.eyebrow {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--copper); display: inline-flex; align-items: center; gap: .6em; font-weight: 500;
}
.eyebrow::before { content: ''; width: 16px; height: 1px; background: var(--copper); display: inline-block; }
.eyebrow svg { width: 1.1em; height: 1.1em; flex: none; }
.section { padding-block: clamp(3rem, 6vw, 6rem); position: relative; }
.section-head { max-width: 62ch; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-top: .7rem; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; margin-top: .95rem; }
.section-foot { margin-top: clamp(2rem, 5vw, 3rem); display: flex; justify-content: center; }
.stack-lg > * + * { margin-top: clamp(2rem, 5vw, 3.5rem); }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }
.visually-hide-empty:empty { display: none; }
.rule { height: 1px; background: var(--line); border: 0; }
.rule-copper { height: 1px; width: 48px; background: var(--copper); border: 0; }

/* =============================================================
   4. Typography
   ============================================================= */
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
.lede { font-size: clamp(1.03rem, 1.5vw, 1.24rem); color: var(--text-dim); max-width: 60ch; font-weight: 300; }
.prose { max-width: 68ch; color: var(--text); font-size: 1.03rem; }
.prose p + p { margin-top: 1.2em; }
.prose h3 { margin-top: 1.7em; margin-bottom: .55em; }
.num { font-variant-numeric: tabular-nums; }
.small-caps { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.7em; border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem;
  letter-spacing: .02em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--copper); color: var(--copper-ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-copper); background: var(--copper-2); }
.btn-primary svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-ghost {
  background: transparent; color: var(--text); border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper); }
.btn-ghost svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-sm { padding: .65em 1.2em; font-size: .82rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }

/* --- Badges & chips --- */
.badge {
  display: inline-flex; align-items: center; gap: .45em; padding: .38em .8em; border-radius: var(--radius-xs);
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; font-family: var(--mono); text-transform: uppercase;
}
.badge-accent { background: var(--copper); color: var(--copper-ink); }
.badge-outline { border: 1px solid var(--line-strong); color: var(--text-dim); }
.badge-offer { background: var(--danger); color: #1e0c08; }
.chip {
  display: inline-flex; align-items: center; padding: .55em 1.1em; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: .84rem; color: var(--text-dim);
  transition: border-color .25s var(--ease-out), color .25s var(--ease-out), background .25s var(--ease-out);
}
.chip svg { width: 1.1em; height: 1.1em; flex: none; margin-right: .4em; }
.chip.is-active, .chip:hover { border-color: var(--copper); color: var(--copper); }
.chip.is-active { background: rgba(200,153,106,.08); }

/* --- Nav --- */
.nav {
  position: sticky; top: 0; z-index: 500; backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(10,9,8,.76);
  border-bottom: 1px solid var(--line);
}
[data-theme="light"] .nav { background: rgba(250,248,244,.82); }
@supports not (backdrop-filter: blur(1px)) { .nav { background: var(--bg); } }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1.1rem; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; letter-spacing: .01em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: var(--radius-xs); background: var(--copper);
  display: grid; place-items: center; color: var(--copper-ink); flex: none;
}
.brand-mark svg { width: 18px; height: 18px; }
.nav-links { display: none; align-items: center; gap: .3rem; }
.nav-links a {
  padding: .6em 1.05em; border-radius: 999px; font-size: .87rem; font-weight: 500; color: var(--text-dim);
  letter-spacing: .01em;
  transition: color .25s var(--ease-out), background .25s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: var(--bg-elev-2); }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover {
  color: var(--copper-ink); background: var(--copper); font-weight: 600;
}
.nav-links a.nav-cta:hover { box-shadow: var(--shadow-copper); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-burger { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); }
.nav-burger svg { width: 19px; height: 19px; }
@media (min-width: 960px) { .nav-links { display: flex; } .nav-burger { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 900; background: var(--bg);
  transform: translateY(-100%); transition: transform .45s var(--ease-out);
  padding: 1.1rem var(--gutter) 2rem; overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.mobile-menu-close { width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); display: grid; place-items: center; }
.mobile-menu-close svg { width: 18px; height: 18px; }
.mobile-menu nav a { display: block; padding: 1.05em 0; font-family: var(--serif); font-size: 1.7rem; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .mobile-menu { display: none; } }

/* --- Cards: product --- */
.grid-products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 1.6rem;
}
.card-product {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.card-product:hover { transform: translateY(-5px); border-color: var(--line-copper); box-shadow: var(--shadow-md); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-elev); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card-product:hover .card-media img { transform: scale(1.05); }
.card-badges { position: absolute; top: .9rem; left: .9rem; display: flex; gap: .4rem; flex-wrap: wrap; z-index: 2; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.card-cat { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--copper); }
.card-body h3 { font-size: 1.16rem; line-height: 1.22; }
.card-body h3 a::after { content: ''; position: absolute; inset: 0; }
.card-body h3 a { position: relative; }
.card-specs { display: flex; flex-wrap: wrap; gap: .55rem .95rem; font-size: .8rem; color: var(--text-dim); }
.card-specs span { display: inline-flex; align-items: center; gap: .35em; }
.card-specs svg { width: 1em; height: 1em; flex: none; opacity: .7; }
.card-rating { display: flex; align-items: center; gap: .45rem; font-size: .84rem; color: var(--text-dim); }
.card-stars { color: var(--gold); letter-spacing: .05em; }
.card-price-row { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.card-price { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.card-price-old { font-size: .82rem; color: var(--text-faint); text-decoration: line-through; margin-right: .4rem; }
.card-compare-add {
  position: absolute; top: .9rem; right: .9rem; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(10,9,8,.6); border: 1px solid rgba(246,241,232,.22); color: var(--cream);
  display: grid; place-items: center; backdrop-filter: blur(6px);
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.card-compare-add svg { width: 17px; height: 17px; }
.card-compare-add:hover { border-color: var(--copper); transform: scale(1.08); }
.card-compare-add.is-added { background: var(--copper); color: var(--copper-ink); border-color: var(--copper); }

/* --- Hero --- */
.hero {
  position: relative; padding-top: clamp(2.25rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 5rem);
  overflow: clip; border-bottom: 1px solid var(--line);
}
.hero-halo {
  position: absolute; inset: -40% -10% -60% -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 50% 20%, rgba(200,153,106,.16), transparent 70%);
  filter: blur(90px);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.hero-copy { max-width: 48ch; }
.hero-copy h1 { margin-top: 1rem; }
.hero-copy .lede { margin-top: 1.35rem; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: 2.8rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
.hero-trust-item { display: flex; align-items: baseline; gap: .55rem; }
.hero-trust-item strong { font-family: var(--serif); font-size: 1.6rem; color: var(--copper); font-weight: 600; }
.hero-trust-item span { font-size: .82rem; color: var(--text-dim); }
.hero-visual { position: relative; }
.hero-visual-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 5/4;
  background: var(--bg-elev); position: relative;
}
.hero-visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual-badge {
  position: absolute; bottom: -1.2rem; left: 1.4rem; background: var(--card); border: 1px solid var(--line-copper);
  border-radius: var(--radius-md); padding: 1.05rem 1.35rem; box-shadow: var(--shadow-lg); display: flex; gap: .9rem; align-items: center;
  max-width: min(88%, 320px);
}
.hero-visual-badge svg { width: 28px; height: 28px; color: var(--copper); flex: none; }
.hero-visual-badge strong { display: block; font-size: .98rem; font-family: var(--serif); }
.hero-visual-badge span { font-size: .78rem; color: var(--text-dim); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; } }

/* --- Category entry cards --- */
.grid-categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(224px,1fr)); gap: 1.15rem; }
.cat-card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.7rem 1.5rem; display: flex; flex-direction: column; gap: 1rem;
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out), background .3s var(--ease-out);
}
.cat-card:hover { border-color: var(--copper); transform: translateY(-3px); background: var(--bg-elev-2); }
.cat-card svg { width: 28px; height: 28px; color: var(--copper); }
.cat-card h3 { font-size: 1.06rem; }
.cat-card span { font-size: .8rem; color: var(--text-dim); font-family: var(--mono); }

/* --- "Comment on choisit" trust block --- */
.trust-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(224px,1fr)); }
.trust-item { padding: 1.7rem; border-radius: var(--radius-md); background: var(--bg-elev); border: 1px solid var(--line); }
.trust-item svg { width: 25px; height: 25px; color: var(--copper); margin-bottom: 1rem; }
.trust-item h3 { font-size: 1rem; margin-bottom: .55rem; }
.trust-item p { font-size: .88rem; color: var(--text-dim); }

/* --- Ficha: gallery --- */
.ficha-head { display: grid; gap: clamp(1.8rem, 4vw, 3rem); padding-top: clamp(3.5rem, 8vw, 5.5rem); }
@media (min-width: 960px) { .ficha-head { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.gallery-main {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3;
  background: var(--bg-elev); position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .85rem; overflow-x: auto; overflow-y: visible; padding-bottom: .3rem; }
.gallery-thumbs button {
  flex: none; width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent;
  opacity: .55; transition: opacity .25s var(--ease-out), border-color .25s var(--ease-out);
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.is-active { opacity: 1; border-color: var(--copper); }

.ficha-info { display: flex; flex-direction: column; gap: 1.15rem; }
.ficha-breadcrumb { font-size: .8rem; color: var(--text-dim); font-family: var(--mono); }
.ficha-breadcrumb a:hover { color: var(--copper); }
.ficha-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.ficha-brand { color: var(--text-dim); font-size: .96rem; }
.ficha-rating { display: flex; align-items: center; gap: .6rem; }
.ficha-price-block { padding: 1.4rem 1.5rem; border-radius: var(--radius-md); background: var(--bg-elev); border: 1px solid var(--line); }
.ficha-price-now { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; }
.ficha-price-old { font-size: 1.05rem; color: var(--text-faint); text-decoration: line-through; margin-right: .6rem; }
.ficha-price-note { font-size: .77rem; color: var(--text-faint); margin-top: .45rem; }
.ficha-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.ficha-highlight { padding: 1.05rem 1.3rem; border-radius: var(--radius-md); border: 1px dashed var(--line-copper); font-size: .92rem; color: var(--text-dim); }
.ficha-highlight strong { color: var(--text); display: inline-flex; align-items: center; gap: .5em; }
.ficha-highlight svg { width: 1.2em; height: 1.2em; flex: none; color: var(--copper); }

/* --- Radar chart --- */
.radar-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.radar-wrap svg { width: 100%; max-width: 420px; height: auto; overflow: visible; }
.radar-legend { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; justify-content: center; font-size: .82rem; }
.radar-legend-item { display: flex; align-items: center; gap: .5rem; color: var(--text-dim); }
.radar-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.radar-note { font-size: .78rem; color: var(--text-faint); text-align: center; max-width: 42ch; }

/* --- Spec table --- */
.spec-block + .spec-block { margin-top: 2.1rem; }
.spec-block h3 { font-size: .96rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--mono); font-weight: 500; color: var(--copper); margin-bottom: .95rem; }
.spec-table { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table tr:nth-child(even) { background: var(--bg-elev); }
.spec-table th, .spec-table td { text-align: left; padding: .9rem 1.15rem; font-size: .91rem; }
.spec-table th { color: var(--text-dim); font-weight: 400; width: 46%; }
.spec-table td { font-weight: 500; }
.spec-table td.is-null { color: var(--text-faint); font-weight: 400; }

/* --- Pros/contras --- */
.pc-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .pc-grid { grid-template-columns: 1fr 1fr; } }
.pc-col { padding: 1.45rem 1.55rem; border-radius: var(--radius-md); border: 1px solid var(--line); }
.pc-col.is-pros { background: rgba(200,153,106,.06); border-color: rgba(200,153,106,.25); }
.pc-col.is-cons { background: rgba(212,105,92,.06); border-color: rgba(212,105,92,.22); }
.pc-col h3 { display: flex; align-items: center; gap: .55em; font-size: .98rem; margin-bottom: .9rem; font-family: var(--sans); font-weight: 600; }
.pc-col h3 svg { width: 1.15em; height: 1.15em; flex: none; }
.pc-col.is-pros h3 { color: var(--copper-2); }
.pc-col.is-cons h3 { color: var(--danger); }
.pc-col li { display: flex; gap: .6em; padding-block: .42em; font-size: .92rem; }
.pc-col li svg { width: 1.15em; height: 1.15em; flex: none; margin-top: .15em; }
.ideal-para { padding: 1.25rem 1.45rem; border-radius: var(--radius-md); background: var(--bg-elev); border-left: 2px solid var(--copper); font-size: .97rem; }
.ideal-para strong { color: var(--copper); }

/* --- Reviews --- */
.review-card { padding: 1.35rem 1.45rem; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--card); }
.review-card + .review-card { margin-top: 1rem; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; flex-wrap: wrap; }
.review-author { font-weight: 600; font-size: .91rem; }
.review-verified { display: inline-flex; align-items: center; gap: .35em; font-size: .72rem; color: var(--ok); font-family: var(--mono); }
.review-verified svg { width: 1.15em; height: 1.15em; flex: none; }
.review-stars { color: var(--gold); font-size: .85rem; }
.review-text { font-size: .91rem; color: var(--text-dim); }

/* --- Similar products strip --- */
.strip-row { display: flex; flex-wrap: nowrap; gap: 1rem; overflow-x: auto; overflow-y: visible; padding-block: .4rem 1.2rem; }
.strip-row .card-product { flex: 0 0 264px; }

/* --- Comparator --- */
.comparator-toolbar {
  position: sticky; top: 69px; z-index: 100; background: var(--bg); padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.comparator-search { position: relative; max-width: 480px; }
.comparator-search input {
  width: 100%; padding: .9em 1.2em .9em 2.6em; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--bg-elev); color: var(--text); font-size: .94rem; font-family: var(--sans);
}
.comparator-search svg { position: absolute; left: .95em; top: 50%; transform: translateY(-50%); width: 1.05em; height: 1.05em; color: var(--text-faint); }
.comparator-slots { display: flex; gap: .8rem; margin-top: 1.05rem; flex-wrap: wrap; }
.compare-slot {
  width: 92px; display: flex; flex-direction: column; align-items: center; gap: .4rem; position: relative;
}
.compare-slot-thumb-wrap { position: relative; }
.compare-slot .thumb {
  width: 92px; height: 92px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg-elev);
}
.compare-slot .thumb img { width: 100%; height: 100%; object-fit: cover; }
.compare-slot span { font-size: .72rem; text-align: center; color: var(--text-dim); line-height: 1.25; }
.compare-slot.is-empty .thumb { display: grid; place-items: center; border-style: dashed; color: var(--text-faint); }
.compare-slot.is-empty .thumb svg { width: 22px; height: 22px; }
.remove-badge {
  position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--danger); color: #1e0c08; display: grid; place-items: center; border: 2px solid var(--bg); font-size: .85rem; font-weight: 700;
}
.comparator-empty { padding: 4rem 1rem; text-align: center; color: var(--text-dim); }
.comparator-empty svg { width: 46px; height: 46px; margin-inline: auto; margin-bottom: 1rem; color: var(--text-faint); }

.compare-table-wrap { overflow-x: auto; margin-top: 2.6rem; }
.compare-table { min-width: 640px; }
.compare-table th, .compare-table td { padding: .95rem 1.25rem; border-bottom: 1px solid var(--line); font-size: .89rem; vertical-align: top; }
.compare-table thead th { position: sticky; top: 130px; background: var(--bg); z-index: 5; }
.compare-table .row-label { color: var(--text-dim); white-space: nowrap; width: 200px; }
.compare-table .col-product { min-width: 200px; }
.compare-product-head { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.compare-product-head img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); }
.compare-product-head h4 { font-size: .97rem; line-height: 1.22; }
.compare-cell { font-weight: 500; }
.compare-cell.is-best { color: var(--copper-2); font-weight: 700; position: relative; }
.compare-cell.is-best::after { content: '●'; font-size: .5em; vertical-align: super; margin-left: .4em; color: var(--copper); }
.compare-radar-overlay { display: flex; justify-content: center; margin-top: 3.2rem; }

/* --- Filters bar (category pages) --- */
.filters-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.1rem; }
.sort-select {
  padding: .75em 1.15em; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-elev); color: var(--text);
  font-size: .87rem; margin-left: auto; font-family: var(--sans);
}

/* --- Offres --- */
.offer-strip { background: linear-gradient(120deg, rgba(200,153,106,.13), transparent); border: 1px solid rgba(200,153,106,.28); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 2.6rem; }

/* --- Legal / disclosure --- */
.disclosure-banner {
  background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: .9rem 0; font-size: .79rem; color: var(--text-dim); text-align: center;
}
.disclosure-banner a { color: var(--copper); font-weight: 500; }
.disclosure-banner .container { display: flex; align-items: center; justify-content: center; gap: .5em; flex-wrap: wrap; }
.disclosure-banner svg { width: 1.1em; height: 1.1em; flex: none; }
.nav-cta-icon { width: 1.02em; height: 1.02em; flex: none; }

/* --- Footer --- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; margin-top: clamp(3rem, 8vw, 6rem); background: var(--bg-elev); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr repeat(3, 1fr); }
.footer-brand p { color: var(--text-dim); font-size: .89rem; max-width: 36ch; margin-top: .85rem; }
.footer h4 { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 500; color: var(--text-faint); margin-bottom: 1.05rem; }
.footer ul li { padding-block: .42rem; }
.footer a { color: var(--text-dim); font-size: .91rem; transition: color .2s var(--ease-out); }
.footer a:hover { color: var(--copper); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.1rem; padding-top: 1.7rem; border-top: 1px solid var(--line); font-size: .79rem; color: var(--text-faint); }
@media (max-width: 719px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* --- Amazon disclosure inline (every page, bottom) --- */
.affiliate-note { font-size: .77rem; color: var(--text-faint); max-width: 60ch; }

/* --- Guide / blog article --- */
.guide-hero { padding-top: clamp(3.5rem, 8vw, 6rem); }
.guide-meta { display: flex; gap: 1rem; align-items: center; color: var(--text-dim); font-size: .84rem; font-family: var(--mono); margin-top: 1.05rem; }
.guide-meta svg { width: 1.1em; height: 1.1em; flex: none; }
.guide-body { display: grid; gap: clamp(2.5rem, 6vw, 4rem); margin-top: 2.6rem; }
@media (min-width: 1080px) { .guide-body { grid-template-columns: 1fr 300px; } }
.guide-toc { position: sticky; top: 100px; align-self: start; padding: 1.45rem; border-radius: var(--radius-md); background: var(--bg-elev); border: 1px solid var(--line); font-size: .87rem; }
.guide-toc h4 { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 500; color: var(--text-faint); margin-bottom: .95rem; }
.guide-toc li { padding-block: .38rem; }
.guide-toc a:hover { color: var(--copper); }
.guide-pick { display: flex; gap: 1.25rem; padding: 1.45rem; border-radius: var(--radius-md); border: 1px solid var(--line); margin-block: 1.45rem; }
.guide-pick img { width: 128px; height: 128px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }
.guide-pick-num { font-family: var(--serif); font-size: 1.7rem; color: var(--copper); font-weight: 600; flex: none; width: 2ch; }
.faq-item { border-bottom: 1px solid var(--line); padding-block: 1.25rem; }
.faq-item h3 { font-size: 1.01rem; }
.faq-item p { color: var(--text-dim); margin-top: .65rem; font-size: .92rem; }

/* --- Generic content pages (legal, privacy, about) --- */
.doc-page { padding-top: clamp(3.5rem, 8vw, 6rem); }
.doc-page .prose h2 { margin-top: 1.9em; margin-bottom: .65em; font-size: 1.4rem; }
.doc-page .prose ul { list-style: disc; padding-left: 1.4em; }
.doc-page .prose li { padding-block: .22em; }

/* --- Reveal (progressive enhancement) --- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1 !important; transform: none !important; }

/* =============================================================
   6. Toast / cursor helpers
   ============================================================= */
.toast {
  position: fixed; bottom: 1.4rem; left: 50%; transform: translate(-50%, 20px); z-index: 2000;
  background: var(--cream); color: var(--bg); padding: .9rem 1.4rem; border-radius: 999px; font-size: .87rem; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =============================================================
   7. Effects
   ============================================================= */
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float { animation: floatY 6s ease-in-out infinite; }

/* =============================================================
   8. Responsive breakpoints (reference; most rules are inline above)
   ============================================================= */
@media (min-width: 540px) { }
@media (min-width: 720px) { }
@media (min-width: 960px) { }
@media (min-width: 1280px) { }

/* =============================================================
   9. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .hero-halo { display: none; }
}

/* --- Comparator fixes (oct 2026) ---
   The picker no longer sticks to the top: on phones it covered most of the screen.
   The table header can't stick either (it lives in an overflow-x container). */
.comparator-toolbar { position: static; }
.compare-table thead th { position: static; }
.compare-verdict {
  margin-top: 2.2rem; padding: 1.4rem 1.5rem; border: 1px solid var(--line-copper);
  border-radius: var(--radius-md, 10px); background: var(--bg-elev);
}
.verdict-title { font-size: 1.15rem; margin-bottom: 1rem; }
.verdict-grid { display: flex; flex-wrap: wrap; gap: .8rem 2.2rem; }
.verdict-item { display: flex; flex-direction: column; gap: .15rem; }
.verdict-item strong { font-size: 1.02rem; color: var(--text); }
.verdict-item.is-main strong { color: var(--copper-2); font-size: 1.12rem; }
.verdict-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.verdict-note { font-size: .8rem; color: var(--text-dim); }
.verdict-axes { list-style: none; margin: 1.1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .55rem 1.6rem; }
.verdict-axes li { display: flex; justify-content: space-between; gap: 1rem; font-size: .86rem; color: var(--text-dim); }
.verdict-axes strong { color: var(--text); text-align: right; font-weight: 600; }
.verdict-popular { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.verdict-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .55rem; }
@media (max-width: 640px) {
  .comparator-slots { gap: .6rem; }
  .compare-slot, .compare-slot .thumb { width: 72px; }
  .compare-slot .thumb { height: 72px; }
  .compare-table { min-width: 0; }
  .compare-table th, .compare-table td { padding: .7rem .6rem; font-size: .8rem; }
  .compare-table .row-label { position: sticky; left: 0; z-index: 2; background: var(--bg); width: 104px; min-width: 104px; white-space: normal; }
  .compare-table .col-product { min-width: 138px; }
  .compare-product-head h4 { font-size: .86rem; }
  .compare-verdict { padding: 1.1rem; }
  .verdict-axes { grid-template-columns: 1fr; }
}

/* --- Cookie consent bar --- */
.consent-bar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 900; max-width: 720px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; padding: 1rem 1.2rem;
  background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: var(--radius-md, 10px); box-shadow: var(--shadow-md);
}
.consent-bar p { flex: 1 1 280px; margin: 0; font-size: .86rem; color: var(--text-dim); }
.consent-bar a { color: var(--copper); text-decoration: underline; }
.consent-actions { display: flex; gap: .6rem; }

/* Keep "199,95 €" on one line */
.card-price, .card-price-old { white-space: nowrap; }

/* "See price on Amazon" link that replaces the static price on cards */
.card-amazon-link {
  font-size: .86rem; font-weight: 600; color: var(--copper); text-decoration: none;
  border-bottom: 1px solid var(--line-copper); padding-bottom: 1px; line-height: 1.3;
}
.card-amazon-link:hover { color: var(--copper-2); border-bottom-color: currentColor; }
.card-price-row { align-items: center; }

/* Review date + sources line on product pages, byline on guides */
.ficha-meta { margin-top: .5rem; font-size: .8rem; line-height: 1.5; color: var(--text-faint); }
.ficha-meta a, .guide-meta a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 2px; }
.ficha-meta a:hover, .guide-meta a:hover { color: var(--copper); }
