/* ==========================================================================
   cavalière futée — design system
   ========================================================================== */

:root {
  --brun: #5C3820;
  --brun-dark: #3D2410;
  --terracotta: #C17B4A;
  --terracotta-dark: #A8623A;
  --lin: #D9A882;
  --sable: #EDD9C5;
  --ivoire: #FDF8F2;
  --texte-doux: #8C6A50;
  --ligne: #DEC9B0;

  --font-titre: Georgia, 'Times New Roman', serif;
  --font-corps: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --rayon-s: 8px;
  --rayon-m: 14px;
  --rayon-l: 24px;
  --ombre: 0 10px 30px -12px rgba(92, 56, 32, 0.25);
  --ombre-hover: 0 16px 40px -14px rgba(92, 56, 32, 0.32);
  --conteneur: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--brun-dark);
  font-family: var(--font-corps);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-titre);
  color: var(--brun);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 500;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--texte-doux); }

.container {
  max-width: var(--conteneur);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 14px;
}

section { padding: 72px 0; }
@media (max-width: 640px) { section { padding: 48px 0; } }

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-corps);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--terracotta);
  color: var(--ivoire);
  box-shadow: 0 10px 24px -8px rgba(193, 123, 74, 0.6);
}
.btn-primary:hover { background: var(--terracotta-dark); }

.btn-outline {
  background: transparent;
  color: var(--brun);
  border: 1.5px solid var(--brun);
}
.btn-outline:hover { background: var(--brun); color: var(--ivoire); }

.btn-ghost {
  background: rgba(193, 123, 74, 0.12);
  color: var(--brun);
}
.btn-ghost:hover { background: rgba(193, 123, 74, 0.22); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- badges / tags ---------- */

.badge {
  display: inline-block;
  background: var(--lin);
  color: var(--brun);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}
.badge-terracotta { background: var(--terracotta); color: var(--ivoire); }
.badge-brun { background: var(--brun); color: var(--ivoire); }
.badge-outline { background: transparent; border: 1px solid var(--lin); color: var(--brun); }
.badge-promo {
  background: var(--brun-dark);
  color: var(--ivoire);
  font-size: 13px;
  padding: 6px 14px;
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 242, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ligne);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--conteneur);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo svg { flex-shrink: 0; }
.logo-img {
  height: 80px;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  background: transparent;
  display: block;
}
.logo-text-main {
  font-family: var(--font-titre);
  font-size: 20px;
  color: var(--brun);
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.logo-text-sub {
  font-size: 10px;
  color: var(--terracotta);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  padding: 9px 14px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--brun);
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  background: var(--sable);
  color: var(--brun-dark);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brun);
  margin: 5px 0;
  transition: 0.25s;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--ivoire);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 14px 16px; font-size: 17px; }
}

/* ---------- hero plein écran ---------- */

.hero-full {
  position: relative;
  height: 100vh;
  min-height: 620px;
  max-height: 980px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--brun-dark);
}
.hero-full-bg { position: absolute; inset: 0; z-index: 0; }
.hero-full-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61,36,16,0.05) 0%, rgba(61,36,16,0.35) 55%, rgba(61,36,16,0.92) 100%);
}
.hero-full-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--conteneur);
  margin: 0 auto;
  padding: 0 24px 120px;
  color: var(--ivoire);
}
.hero-full-content .eyebrow { color: var(--lin); }
.hero-full-content h1 {
  color: var(--ivoire);
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  max-width: 800px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.hero-full-sub {
  color: rgba(253,248,242,0.88);
  font-size: 1.15rem;
  max-width: 460px;
  margin-bottom: 28px;
}
.hero-full-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-glass {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ivoire);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-glass:hover { background: rgba(255,255,255,0.26); }

/* ---------- pépites flottantes (hero) ---------- */

.hero-picks { position: relative; z-index: 3; margin-top: -76px; }
.hero-picks-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0 24px 6px;
  max-width: var(--conteneur);
  margin: 0 auto;
  scrollbar-width: none;
}
.hero-picks-track::-webkit-scrollbar { display: none; }

.pick-card {
  scroll-snap-align: start;
  flex: 0 0 250px;
  background: var(--ivoire);
  border-radius: var(--rayon-m);
  box-shadow: var(--ombre);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pick-card:hover { transform: translateY(-6px); box-shadow: var(--ombre-hover); }
.pick-card-img { position: relative; height: 200px; background: var(--sable); }
.pick-card-img img { width: 100%; height: 200px; object-fit: cover; object-position: center; display: block; }
.pick-card-img img.img-contain { object-fit: contain; padding: 18px; box-sizing: border-box; }
.pick-card-img .badge { position: absolute; top: 10px; left: 10px; font-size: 10px; padding: 4px 10px; }
.pick-card-body { padding: 12px 14px 14px; }
.pick-card-body .card-tag { font-size: 10px; }
.pick-card-body h4 {
  font-family: var(--font-titre);
  font-size: 14px;
  color: var(--brun-dark);
  margin: 3px 0 4px;
  line-height: 1.25;
}
.pick-subtitle { font-size: 11.5px; color: var(--texte-doux); margin: 0 0 10px; line-height: 1.4; }
.pick-card-foot { display: flex; flex-direction: column; gap: 8px; }
.pick-card-foot .pick-price { font-weight: 700; color: var(--terracotta); font-size: 12.5px; line-height: 1.3; }
.pick-card-ctas { display: flex; flex-wrap: wrap; gap: 6px; }
.pick-card-ctas .btn { align-self: flex-start; }

@media (max-width: 640px) {
  .hero-full { min-height: 100vh; }
  .hero-picks { margin-top: -60px; }
  .pick-card { flex-basis: 210px; }
  .pick-card-img, .pick-card-img img { height: 160px; }
}

/* ---------- accès rapide (sous le hero) ---------- */

.quick-access { padding: 96px 0 20px; text-align: center; }
.quick-access .search-bar { margin: 0 auto; }
.quick-access .filter-chips { justify-content: center; }

/* ---------- search bar ---------- */

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ivoire);
  border: 1.5px solid var(--ligne);
  border-radius: 100px;
  padding: 6px 6px 6px 20px;
  max-width: 560px;
  box-shadow: var(--ombre);
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-corps);
  font-size: 15px;
  color: var(--brun-dark);
  padding: 10px 0;
}
.search-bar input::placeholder { color: #B79A82; }

.search-wrap { position: relative; max-width: 560px; margin: 0 auto; }
.search-wrap .search-bar { max-width: none; }

.search-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-m);
  box-shadow: var(--ombre-hover);
  overflow: hidden;
  z-index: 20;
  text-align: left;
}
.search-suggestions.active { display: block; }

.search-suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--ligne);
  cursor: pointer;
  font-family: var(--font-corps);
  text-align: left;
  transition: background 0.15s ease;
}
.search-suggestion-item:last-child { border-bottom: none; }
.search-suggestion-item:hover, .search-suggestion-item:focus-visible { background: var(--sable); }
.search-suggestion-name { font-size: 14.5px; font-weight: 500; color: var(--brun-dark); }
.search-suggestion-cat { font-size: 12px; color: var(--terracotta); font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; flex-shrink: 0; }

.search-empty { padding: 20px; text-align: center; }
.search-empty p { font-size: 13.5px; color: var(--texte-doux); margin: 0 0 12px; }

/* quick filter chips */
.filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sable);
  color: var(--brun);
  border: 1px solid transparent;
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip:hover, .chip.active {
  background: var(--brun);
  color: var(--ivoire);
}

/* ---------- cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-m);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--ombre-hover); }

.card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--sable);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.4s ease; }
.card-img img.img-contain { object-fit: contain; padding: 18px; box-sizing: border-box; }
.card-img img.img-top { object-position: top; }
.card:hover .card-img img { transform: scale(1.06); }
.card-img .badge { position: absolute; top: 12px; left: 12px; }
.card-img .badge-promo-float {
  position: absolute; top: 12px; right: 12px;
}

.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-tag { font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--terracotta); font-weight: 600; }
.card-title { font-family: var(--font-titre); font-size: 17px; color: var(--brun-dark); margin: 0; }
.card-title a, .pick-card-body h4 a { color: inherit; text-decoration: none; }
.card-title a:hover, .pick-card-body h4 a:hover { text-decoration: underline; }
a.card-img, a.pick-card-img { cursor: pointer; }
.card-subtitle { font-size: 12.5px; color: var(--terracotta); font-weight: 500; margin: 0; }
.card-desc { font-size: 13.5px; color: var(--texte-doux); flex: 1; margin: 0; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 8px;
  gap: 10px;
}
.card-footer-multi { align-items: flex-start; }
.card-cta-group { display: flex; gap: 8px; flex-wrap: wrap; }
.card-price { font-weight: 700; color: var(--brun); }
.card-price .old { font-weight: 400; text-decoration: line-through; color: #B79A82; font-size: 12.5px; margin-right: 6px; }

/* prix harmonisé — section "Nos pépites du moment" */
#grid-bonsplans .card-price { font-size: 15px; font-weight: 700; color: var(--terracotta); }
body[data-page="accueil"] .product-hero-info .product-price { color: var(--terracotta); }

/* ---------- comparateur teaser ---------- */

.compare-banner {
  background: linear-gradient(135deg, var(--brun) 0%, #6B4526 100%);
  border-radius: var(--rayon-l);
  padding: 52px;
  color: var(--ivoire);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .compare-banner { grid-template-columns: 1fr; padding: 36px 24px; } }
.compare-banner h2 { color: var(--ivoire); }
.compare-banner p { color: var(--lin); }
.compare-banner .steps { display: flex; gap: 16px; margin: 22px 0; flex-wrap: wrap; }
.compare-banner .steps div {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--rayon-s);
  padding: 12px 16px;
  font-size: 13px;
  flex: 1;
  min-width: 130px;
}
.compare-banner .steps strong { display: block; font-family: var(--font-titre); color: var(--ivoire); font-size: 15px; }
.compare-visual {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--rayon-m);
  padding: 24px;
}
.compare-visual .fake-line { height: 10px; background: rgba(255,255,255,0.15); border-radius: 6px; margin-bottom: 10px; }
.compare-visual .fake-line:nth-child(2) { width: 70%; }
.compare-visual .fake-line:nth-child(3) { width: 85%; }
.compare-visual .fake-badge {
  display: inline-block; margin-top: 10px; background: var(--terracotta);
  padding: 8px 16px; border-radius: 100px; font-size: 12.5px; font-weight: 600;
}

/* ---------- erreurs teaser (dark) ---------- */

.oops-teaser {
  background: var(--brun-dark);
  border-radius: var(--rayon-l);
  padding: 52px;
  color: var(--ivoire);
}
@media (max-width: 640px) { .oops-teaser { padding: 32px 22px; } }
.oops-teaser .section-head p { color: var(--lin); }
.oops-teaser h2 { color: var(--ivoire); }
.oops-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; margin-top: 30px; }
.oops-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--rayon-m);
  padding: 20px;
}
.oops-item .x { color: #E08A6E; font-weight: 700; margin-right: 6px; }
.oops-item h4 { color: var(--ivoire); font-size: 16px; margin-bottom: 6px; }
.oops-item p { color: var(--lin); font-size: 13.5px; margin: 0; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--brun-dark);
  color: var(--lin);
  padding: 56px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--ivoire); font-size: 14px; letter-spacing: 0.6px; text-transform: uppercase; font-family: var(--font-corps); font-weight: 600; margin-bottom: 14px; }
.site-footer .logo-text-main { color: var(--ivoire); }
.footer-tagline { font-size: 13.5px; margin-top: 10px; color: var(--lin); max-width: 260px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { font-size: 14px; color: var(--lin); transition: color 0.2s; }
.site-footer a:hover { color: var(--ivoire); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  font-size: 12.5px;
  color: #B08D6C;
}
.footer-disclosure {
  font-size: 12px;
  color: #B08D6C;
  max-width: 720px;
  margin-top: 6px;
  line-height: 1.6;
}

/* ---------- page header (inner pages) ---------- */

.page-hero {
  background: var(--sable);
  padding: 56px 0 40px;
  text-align: center;
}
.page-hero .eyebrow { }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- tabs (guides) ---------- */

.tab-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: -18px 0 44px;
}
.tab-nav button {
  background: var(--ivoire);
  border: 1.5px solid var(--ligne);
  color: var(--brun);
  padding: 11px 20px;
  border-radius: 100px;
  font-family: var(--font-corps);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab-nav button:hover { border-color: var(--terracotta); }
.tab-nav button.active { background: var(--brun); border-color: var(--brun); color: var(--ivoire); }

.subtab-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 32px;
}
.subtab-nav button {
  background: transparent;
  border: 1px solid var(--lin);
  color: var(--brun);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.subtab-nav button.active { background: var(--lin); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }
.subtab-panel { display: none; }
.subtab-panel.active { display: block; }

.checklist {
  background: var(--sable);
  border-radius: var(--rayon-m);
  padding: 24px 28px;
  margin: 24px 0 36px;
}
.checklist h4 { margin-bottom: 12px; font-size: 15px; }
.checklist ul { margin: 0; padding-left: 20px; color: var(--texte-doux); font-size: 14.5px; }
.checklist li { margin-bottom: 6px; }

/* ---------- bons plans (magazine) ---------- */

.magazine-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .magazine-hero { grid-template-columns: 1fr; } }
.magazine-feature {
  position: relative;
  border-radius: var(--rayon-l);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--ombre);
}
.magazine-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.magazine-feature::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(61,36,16,0.88) 10%, rgba(61,36,16,0.1) 70%);
}
.magazine-feature-content { position: relative; z-index: 1; padding: 30px; color: var(--ivoire); }
.magazine-feature-content .badge-promo { margin-bottom: 12px; }
.magazine-feature-content h3 { color: var(--ivoire); font-size: 1.5rem; }
.magazine-feature-content h3 a, .side-card h4 a { color: inherit; text-decoration: none; }
.magazine-feature-content h3 a:hover, .side-card h4 a:hover { text-decoration: underline; }
.magazine-feature-content p { color: var(--sable); }

.magazine-side { display: flex; flex-direction: column; gap: 20px; }
.side-card {
  background: var(--sable);
  border-radius: var(--rayon-m);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex: 1;
}
.side-card > a { flex-shrink: 0; }
.side-card img { width: 76px; height: 76px; border-radius: var(--rayon-s); object-fit: cover; flex-shrink: 0; }
.side-card h4 { font-size: 14.5px; margin-bottom: 4px; color: var(--brun-dark); }
.side-card .badge { margin-bottom: 6px; }

/* ---------- bandeau astuce (bons plans) ---------- */

.tip-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--sable);
  border-radius: var(--rayon-l);
  padding: 26px 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tip-banner .tip-emoji { font-size: 32px; flex-shrink: 0; }
.tip-banner-body { flex: 1; min-width: 220px; }
.tip-banner-body h3 { font-size: 17px; margin-bottom: 6px; }
.tip-banner-body p { margin: 0; font-size: 13.5px; }

/* ---------- cartes partenaires (bons plans) ---------- */

.retailer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .retailer-grid { grid-template-columns: 1fr; } }

.retailer-card {
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-l);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.retailer-card .badge { margin-bottom: 14px; align-self: flex-start; }
.retailer-card h3 { font-size: 19px; margin-bottom: 10px; }
.retailer-card-pitch { font-size: 13.5px; color: var(--texte-doux); margin-bottom: 18px; }

.retailer-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  flex: 1;
}
.retailer-products li { list-style: none; }
.retailer-products a {
  display: block;
  padding: 10px 14px;
  background: var(--sable);
  border-radius: var(--rayon-s);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--brun-dark);
  transition: background 0.2s ease;
}
.retailer-products a:hover { background: var(--lin); }

.retailer-code {
  display: inline-block;
  background: var(--brun-dark);
  color: var(--ivoire);
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 1px 8px;
  border-radius: 4px;
  margin: 0 2px;
}

.retailer-stock {
  font-size: 12.5px;
  color: var(--texte-doux);
  margin: 0 0 4px;
  padding-top: 14px;
  border-top: 1px solid var(--ligne);
}
.retailer-card .affiliate-disclosure { margin-top: 0; }

.card-disclosure { font-size: 11.5px; color: var(--texte-doux); margin: 2px 0 0; }
.deal-grid .card-price { font-size: 15px; font-weight: 700; color: var(--terracotta); }

.deal-stock-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--texte-doux);
  margin: -8px 0 40px;
}

/* ---------- page produit ---------- */

.breadcrumb {
  font-size: 13px;
  color: var(--texte-doux);
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: var(--terracotta); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--ligne); }
.breadcrumb .current { color: var(--brun-dark); font-weight: 600; }

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 24px;
}
@media (max-width: 800px) { .product-hero { grid-template-columns: 1fr; gap: 24px; } }

.product-hero-img {
  position: relative;
  border-radius: var(--rayon-l);
  overflow: hidden;
  aspect-ratio: 4/3.4;
  box-shadow: var(--ombre);
}
.product-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.product-hero-img .badge { position: absolute; top: 16px; left: 16px; }

.product-hero-info .card-tag { display: block; margin-bottom: 8px; }
.product-hero-info h1 { margin-bottom: 6px; }
.product-hero-info .product-subtitle { font-size: 15px; color: var(--terracotta); font-weight: 500; margin-bottom: 16px; }
.product-hero-info .product-price { font-size: 1.3rem; font-weight: 700; color: var(--brun); display: block; margin-bottom: 16px; }
.product-hero-info .product-price .old { font-weight: 400; text-decoration: line-through; color: var(--texte-doux); font-size: 1rem; margin-right: 10px; }
.product-hero-info .product-pitch { font-size: 1.02rem; margin-bottom: 24px; }

.back-to-category { margin: 8px 0 32px; }

.product-section { margin-bottom: 48px; }
.product-section h2 { margin-bottom: 20px; }

.why-love-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.why-love-item {
  background: var(--sable);
  border-radius: var(--rayon-m);
  padding: 20px;
}
.why-love-item .why-icon { font-size: 26px; display: block; margin-bottom: 10px; }
.why-love-item p { margin: 0; font-size: 14px; color: var(--brun-dark); }

.profile-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.profile-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-s);
  padding: 14px 18px;
}
.profile-list .profile-icon { font-size: 18px; flex-shrink: 0; }
.profile-list strong { display: block; font-size: 13px; color: var(--terracotta); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.profile-list span { font-size: 14.5px; color: var(--brun-dark); }

.tech-specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.tech-specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--ligne);
  font-size: 14.5px;
}
.tech-specs .spec-label { color: var(--texte-doux); }
.tech-specs .spec-value { color: var(--brun-dark); font-weight: 600; text-align: right; }

.honest-review p { font-size: 15px; }
.honest-review .notice-warn { margin-top: 18px; }

.affiliate-block {
  background: var(--sable);
  border-radius: var(--rayon-l);
  padding: 36px;
}
.affiliate-block h2 { margin-bottom: 18px; }
.affiliate-ctas { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.affiliate-ctas .btn { justify-content: space-between; width: 100%; }
.affiliate-disclosure { font-size: 12.5px; color: var(--texte-doux); margin: 16px 0 0; }

/* ---------- blocs comparatifs (deux produits côte à côte) ---------- */

.compare-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}
@media (max-width: 800px) { .compare-blocks { grid-template-columns: 1fr; } }

.compare-block {
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-l);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.compare-block .card-tag { display: block; margin-bottom: 6px; }
.compare-block h3 { font-size: 1.3rem; margin-bottom: 4px; }
.compare-block .compare-sub { font-size: 12.5px; color: var(--terracotta); font-weight: 600; margin-bottom: 8px; }
.compare-block h4 {
  font-family: var(--font-corps);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brun);
  margin: 22px 0 10px;
}
.compare-block ul.simple-list { list-style: none; margin: 0; padding: 0; }
.compare-block ul.simple-list li {
  font-size: 13.5px;
  color: var(--brun-dark);
  line-height: 1.5;
  padding: 5px 0 5px 18px;
  position: relative;
}
.compare-block ul.simple-list li::before { content: "•"; color: var(--terracotta); font-weight: 700; position: absolute; left: 2px; }
.compare-block .compare-avis { font-size: 13.5px; color: var(--texte-doux); margin: 0; }
.compare-block .btn { margin-top: 24px; width: 100%; justify-content: center; }
.compare-block .affiliate-disclosure { text-align: center; }

/* ---------- sous-groupes de gamme dans une section produit ---------- */

.product-section h4 {
  font-family: var(--font-corps);
  font-size: 15px;
  font-weight: 600;
  color: var(--terracotta);
  margin: 24px 0 10px;
}
.product-section h4:first-of-type { margin-top: 0; }
.product-section ul.simple-list { list-style: none; margin: 0; padding: 0; }
.product-section ul.simple-list li {
  font-size: 14.5px;
  color: var(--brun-dark);
  line-height: 1.55;
  padding: 5px 0 5px 18px;
  position: relative;
}
.product-section ul.simple-list li::before { content: "•"; color: var(--terracotta); font-weight: 700; position: absolute; left: 2px; }

/* ---------- oops page (erreurs) ---------- */

.oops-hero { background: var(--brun-dark); color: var(--ivoire); }
.oops-hero h1 { color: var(--ivoire); }
.oops-hero p { color: var(--lin); }

.oops-card {
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-m);
  padding: 26px 28px;
  margin-bottom: 22px;
}
.oops-card .oops-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.oops-card h3 { margin: 0; }
.oops-severity {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sev-fuir { background: #F3D5C8; color: #9A3412; }
.sev-attention { background: var(--sable); color: var(--terracotta-dark); }

.oops-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
}
@media (max-width: 640px) { .oops-grid-2 { grid-template-columns: 1fr; } }
.oops-col {
  border-radius: var(--rayon-s);
  padding: 16px 18px;
}
.oops-col.piege { background: #FBEDE7; }
.oops-col.conseil { background: #EAF2E9; }
.oops-col strong { display: block; margin-bottom: 6px; font-size: 13.5px; }
.oops-col.piege strong { color: #9A3412; }
.oops-col.conseil strong { color: #3F6B45; }
.oops-col p { margin: 0; font-size: 13.5px; color: var(--brun-dark); }

/* ---------- comparateur tool ---------- */

.compare-tool {
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-l);
  padding: 40px;
  box-shadow: var(--ombre);
  max-width: 780px;
  margin: 0 auto;
}
@media (max-width: 640px) { .compare-tool { padding: 24px; } }

.progress-track {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}
.progress-track .seg {
  flex: 1;
  height: 5px;
  border-radius: 4px;
  background: var(--sable);
  transition: background 0.3s ease;
}
.progress-track .seg.done { background: var(--terracotta); }

.step { display: none; }
.step.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.step-title { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--terracotta); font-weight: 600; margin-bottom: 8px; }

.dyn-question { margin-bottom: 28px; }
.dyn-q-label { font-family: var(--font-titre); font-size: 16px; color: var(--brun-dark); margin-bottom: 4px; }

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin: 20px 0 30px;
}
.option-card {
  border: 1.5px solid var(--ligne);
  border-radius: var(--rayon-m);
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--ivoire);
}
.option-card:hover { border-color: var(--terracotta); }
.option-card.selected { border-color: var(--terracotta); background: rgba(193,123,74,0.08); box-shadow: 0 0 0 3px rgba(193,123,74,0.15); }
.option-card strong { display: block; color: var(--brun-dark); font-size: 15px; margin-bottom: 4px; }
.option-card span { font-size: 12.5px; color: var(--texte-doux); }

.step-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; gap: 12px; }

textarea, input[type="text"], input[type="email"], select {
  font-family: var(--font-corps);
  font-size: 15px;
  padding: 13px 16px;
  border-radius: var(--rayon-s);
  border: 1.5px solid var(--ligne);
  background: var(--ivoire);
  color: var(--brun-dark);
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease;
}
textarea:focus, input:focus, select:focus { border-color: var(--terracotta); }
textarea { resize: vertical; min-height: 100px; }

.result-panel { display: none; }
.result-panel.active { display: block; animation: fadeIn 0.5s ease; }
.loading-panel { display: none; text-align: center; padding: 50px 0; }
.loading-panel.active { display: block; }
.spinner {
  width: 42px; height: 42px; border-radius: 50%;
  border: 4px solid var(--sable);
  border-top-color: var(--terracotta);
  margin: 0 auto 18px;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.reco-card {
  border: 1.5px solid var(--ligne);
  border-radius: var(--rayon-m);
  padding: 22px;
  margin-bottom: 16px;
  background: var(--sable);
}
.reco-card h4 { font-size: 17px; margin-bottom: 6px; }
.reco-card .reco-why { font-size: 13.5px; color: var(--texte-doux); margin-bottom: 14px; }
.reco-card .reco-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.notice {
  border-radius: var(--rayon-s);
  padding: 14px 18px;
  font-size: 13.5px;
  margin: 18px 0;
}
.notice-info { background: var(--sable); color: var(--brun-dark); }
.notice-warn { background: #F3D5C8; color: #7A2E15; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card {
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-l);
  padding: 36px;
  box-shadow: var(--ombre);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--brun); margin-bottom: 6px; }
.info-card {
  background: var(--sable);
  border-radius: var(--rayon-l);
  padding: 30px;
}
.info-card h4 { margin-bottom: 10px; }
.info-card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.info-card li { margin-bottom: 12px; font-size: 14px; color: var(--brun-dark); }

/* ---------- scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- misc ---------- */

.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brun); color: var(--ivoire); padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- petit cheval au clic ---------- */

.cf-horse-burst {
  position: fixed;
  z-index: 9999;
  font-size: 26px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: cf-gallop 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes cf-gallop {
  0%   { opacity: 0; transform: translate(-60%, -40%) scale(0.5); }
  15%  { opacity: 1; transform: translate(-40%, -70%) scale(1); }
  35%  { transform: translate(-10%, -110%) scale(1); }
  55%  { transform: translate(30%, -80%) scale(1); }
  75%  { transform: translate(70%, -130%) scale(0.95); }
  100% { opacity: 0; transform: translate(110%, -90%) scale(0.85); }
}

/* ---------- transition de page animée ---------- */

.cf-transition {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--brun);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cf-transition.active { opacity: 1; pointer-events: all; }

.cf-transition-horse {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 100px;
  line-height: 1;
  opacity: 0;
  transform: translate(-50%, -50%) translateX(-130vw);
}
.cf-transition.active .cf-transition-horse {
  animation: cf-transition-gallop 2.5s ease-in-out forwards;
}
@keyframes cf-transition-gallop {
  0%   { opacity: 0; transform: translate(-50%, -50%) translateX(-130vw) translateY(0); }
  4%   { opacity: 1; }
  10%  { transform: translate(-50%, -50%) translateX(-101vw) translateY(-14px); }
  20%  { transform: translate(-50%, -50%) translateX(-75vw) translateY(0); }
  30%  { transform: translate(-50%, -50%) translateX(-49vw) translateY(-14px); }
  40%  { transform: translate(-50%, -50%) translateX(-23vw) translateY(0); }
  50%  { transform: translate(-50%, -50%) translateX(3vw) translateY(-14px); }
  60%  { transform: translate(-50%, -50%) translateX(29vw) translateY(0); }
  70%  { transform: translate(-50%, -50%) translateX(55vw) translateY(-14px); }
  80%  { transform: translate(-50%, -50%) translateX(81vw) translateY(0); }
  90%  { transform: translate(-50%, -50%) translateX(107vw) translateY(-14px); }
  96%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) translateX(130vw) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .cf-transition, .cf-transition-horse, .cf-horse-burst { display: none !important; }
}
