/* sayodevice.fr - transposition de la reference 05 (setup builder neon violet) */
:root {
  --canvas: #0D0E15;
  --surface: #161722;
  --surface-2: #1C1D2B;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.14);
  --primary: #9D4EDD;
  --primary-hi: #B06AEB;
  --primary-soft: rgba(157, 78, 221, 0.16);
  --lilac: #CDA6F7;
  --text: #F3F1F8;
  --muted: #A3A6BA;
  --accent: #3FE3EA;
  --radius-frame: 40px;
  --radius-card: 16px;
  --radius-btn: 12px;
  --wrap: 1200px;
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--text); color: var(--canvas); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
.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; }

/* Ligne de transparence */
.topline {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px 24px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

/* Grand cadre arrondi */
.frame {
  position: relative;
  isolation: isolate;
  margin: 0 24px;
  border-radius: var(--radius-frame);
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 8% 100%, rgba(157, 78, 221, 0.55) 0%, rgba(157, 78, 221, 0) 60%),
    radial-gradient(55% 70% at 30% 35%, rgba(122, 52, 196, 0.32) 0%, rgba(122, 52, 196, 0) 70%),
    radial-gradient(40% 60% at 100% 0%, rgba(96, 40, 170, 0.35) 0%, rgba(96, 40, 170, 0) 70%),
    linear-gradient(180deg, #120F1F 0%, var(--canvas) 100%);
  box-shadow: 0 0 0 1px var(--line), 0 40px 120px -40px rgba(157, 78, 221, 0.45);
}
.frame-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.07);
  z-index: -1;
  pointer-events: none;
}

/* Barre de navigation */
.nav {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 26px 48px 0;
}
.wordmark {
  justify-self: start;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text);
}
.wordmark .dot { color: var(--accent); }
.nav-pill {
  display: flex;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(22, 23, 34, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav-pill a {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-pill a:hover { color: var(--text); }
.nav-pill a[aria-current] {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px -4px rgba(157, 78, 221, 0.7);
}
.nav-cta {
  justify-self: end;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  background: rgba(22, 23, 34, 0.72);
  border: 1px solid var(--line-2);
  transition: border-color .2s, background-color .2s;
}
.nav-cta:hover { border-color: var(--primary); background: var(--primary-soft); }

/* Heros */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero-media {
  position: absolute;
  top: -90px;
  right: 0;
  bottom: 0;
  width: 60%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(0deg, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(0deg, transparent 0%, #000 22%);
  mask-composite: intersect;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 72px 0 56px 48px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(157, 78, 221, 0.4);
  color: var(--lilac);
  font-size: 13px;
  font-weight: 500;
}
.badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.3), 0 0 12px rgba(176, 106, 235, 0.9);
}
.hero h1 {
  margin-top: 26px;
  font-size: clamp(44px, 6.4vw, 92px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero h1 span { display: block; }
.hero h1 .l1 { color: var(--lilac); }
.hero h1 .l2 {
  background: linear-gradient(90deg, var(--lilac) 0%, #EADBFB 70%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .l3 { color: #fff; }
.lead {
  margin-top: 26px;
  max-width: 470px;
  font-size: 17px;
  color: var(--muted);
}
.lead strong { color: var(--text); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .2s, box-shadow .2s, border-color .2s, transform .2s;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 30px -6px rgba(157, 78, 221, 0.75), 0 0 0 4px rgba(157, 78, 221, 0.14);
}
.btn-primary:hover { background: var(--primary-hi); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 38px -6px rgba(176, 106, 235, 0.85), 0 0 0 5px rgba(157, 78, 221, 0.2); }
.btn-ghost {
  background: rgba(13, 14, 21, 0.55);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* Comment ca marche (dans le cadre) */
.how {
  position: relative;
  z-index: 2;
  padding: 8px 48px 48px;
}
.row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.row-head h2 { font-size: 22px; font-weight: 700; }
.link-arrow {
  color: var(--lilac);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.link-arrow:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.how-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.how-grid li {
  padding: 20px 22px 22px;
  border-radius: var(--radius-card);
  background: rgba(22, 23, 34, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.how-grid .num { font-size: 12.5px; font-weight: 500; color: var(--primary-hi); }
.how-grid h3 { margin-top: 10px; font-size: 16.5px; font-weight: 700; }
.how-grid p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* Sections */
main { display: block; }
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 96px 24px 0;
}
.section .row-head h2 { font-size: clamp(26px, 3vw, 34px); }
.section-intro { max-width: 640px; color: var(--muted); font-size: 16.5px; }
.notice {
  margin-top: 14px;
  padding: 10px 14px;
  border-left: 2px solid var(--primary);
  background: rgba(157, 78, 221, 0.08);
  border-radius: 0 10px 10px 0;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 820px;
}

/* Cartes produit */
.cards {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: rgba(157, 78, 221, 0.5); box-shadow: 0 30px 70px -30px rgba(157, 78, 221, 0.5); }
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #0A0B11;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 18px -4px rgba(157, 78, 221, 0.8);
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 12px 12px; }
.card h3 { font-size: 20px; font-weight: 700; }
.card-for { margin-top: 6px; color: var(--muted); font-size: 15px; }
.facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.facts li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: #D9D7E4;
}
.facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(176, 106, 235, 0.8);
}
.card-foot { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; }
.price { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.price span { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.alt-link { justify-self: center; font-size: 13.5px; color: var(--muted); text-underline-offset: 3px; }
.alt-link:hover { color: var(--text); }

/* Comparatif */
.table-wrap {
  position: relative;
  margin-top: 28px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow-x: auto;
}
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 22px; text-align: left; vertical-align: top; }
.compare thead th {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: rgba(157, 78, 221, 0.1);
  border-bottom: 1px solid var(--line-2);
}
.compare tbody th { width: 22%; font-weight: 500; color: var(--text); }
.compare tbody td { color: #D9D7E4; }
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid var(--line); }
.compare strong { color: #fff; }
.tbc {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: var(--muted);
  font-size: 13px;
}
.row-cta td { padding-top: 18px; padding-bottom: 20px; }
.fine { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Quiz */
.quiz-layout {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.quiz {
  position: relative;
  border-radius: 24px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(157, 78, 221, 0.22) 0%, rgba(157, 78, 221, 0) 70%),
    var(--surface);
  border: 1px solid var(--line);
  padding: 36px 36px 30px;
  min-height: 470px;
  box-shadow: 0 40px 90px -40px rgba(157, 78, 221, 0.45);
}
.quiz-progress { display: flex; justify-content: center; gap: 6px; }
.quiz-progress span {
  width: 30px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color .3s;
}
.quiz-progress span.on { background: var(--primary); box-shadow: 0 0 10px rgba(176, 106, 235, 0.7); }
.quiz-q { margin-top: 18px; text-align: center; font-size: 22px; font-weight: 700; }
.quiz-step { margin-top: 4px; text-align: center; font-size: 13px; color: var(--muted); }
.quiz-options {
  margin: 26px auto 0;
  max-width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.opt {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 132px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, #23243A 0%, #15161F 100%);
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.opt:hover { border-color: rgba(176, 106, 235, 0.7); transform: translateY(-2px); }
.opt[aria-pressed="true"] { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.3), 0 14px 30px -10px rgba(157, 78, 221, 0.7); }
.opt-visual { display: flex; align-items: center; gap: 4px; height: 40px; color: var(--lilac); }
.opt-visual svg { width: 34px; height: 34px; }
.opt-label { font-size: 15px; font-weight: 700; line-height: 1.25; }
.opt-sub { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.keys { display: grid; gap: 4px; }
.keys i { display: block; width: 13px; height: 13px; border-radius: 3px; background: var(--primary); box-shadow: 0 0 8px rgba(176, 106, 235, 0.6); }
.keys-3 { grid-template-columns: repeat(3, 13px); }
.keys-5 { grid-template-columns: repeat(3, 13px); }
.keys-10 { grid-template-columns: repeat(5, 13px); }
.big-num { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--lilac); }
.quiz-nav { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.btn-back {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.btn-back:hover { border-color: #fff; }
.btn-back[hidden] { display: none; }

.result { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.result-media { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #0A0B11; }
.result-media img { width: 100%; height: 100%; object-fit: cover; }
.result-kicker { font-size: 13px; color: var(--lilac); font-weight: 500; }
.result h3 { margin-top: 6px; font-size: 28px; font-weight: 700; }
.result-why { margin: 14px 0 0; padding-left: 18px; color: #D9D7E4; font-size: 15px; display: grid; gap: 6px; }
.result-price { margin-top: 16px; font-size: 22px; font-weight: 700; }
.result-price span { font-size: 13px; font-weight: 400; color: var(--muted); }
.result-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.result-alt { margin-top: 16px; font-size: 14px; color: var(--muted); }
.result-alt a { color: var(--lilac); }

.quick {
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px 26px;
}
.quick h3 { font-size: 18px; font-weight: 700; }
.quick dl { margin: 16px 0 0; display: grid; gap: 0; }
.quick dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.quick dl > div:first-child { border-top: 0; padding-top: 4px; }
.quick dt { font-size: 14px; color: var(--muted); }
.quick dd { margin: 4px 0 0; font-size: 15px; }
.quick strong { color: var(--lilac); }

/* FAQ */
.faq { margin-top: 24px; display: grid; gap: 10px; max-width: 860px; }
.faq details {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(157, 78, 221, 0.45); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-size: 16.5px;
  font-weight: 500;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--lilac);
  border-bottom: 2px solid var(--lilac);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; max-width: 720px; }

/* Pied de page */
.footer {
  margin: 110px 24px 24px;
  border-radius: var(--radius-frame);
  background:
    radial-gradient(60% 120% at 0% 100%, rgba(157, 78, 221, 0.28) 0%, rgba(157, 78, 221, 0) 70%),
    #11121B;
  border: 1px solid var(--line);
  overflow: hidden;
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px 24px 28px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-brand p { margin-top: 8px; color: var(--muted); font-size: 14px; max-width: 300px; }
.footer-nav { display: grid; gap: 8px; }
.footer-title { margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--text); }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; justify-self: start; }
.footer-nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { font-size: 13.5px; color: var(--muted); }
.footer-bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

/* Tablette */
@media (max-width: 1080px) {
  .nav { padding: 22px 32px 0; }
  .hero-copy { padding-left: 32px; }
  .how { padding: 8px 32px 36px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .quiz-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; row-gap: 14px; }
  .wordmark { grid-row: 1; }
  .nav-cta { grid-row: 1; grid-column: 2; }
  .nav-pill {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-pill::-webkit-scrollbar { display: none; }
  .nav-pill a { white-space: nowrap; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-media {
    position: relative;
    top: auto;
    width: 100%;
    height: 300px;
    order: 2;
    margin-top: -10px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  }
  .hero-copy { padding: 44px 32px 8px; max-width: none; }
  .how-grid { grid-template-columns: 1fr; gap: 10px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --radius-frame: 28px; }
  .topline { padding: 10px 16px; font-size: 12px; }
  .frame { margin: 0 12px; }
  .nav { padding: 18px 18px 0; }
  .wordmark { font-size: 19px; }
  .nav-cta { padding: 7px 13px; font-size: 13px; }
  .hero-copy { padding: 34px 20px 4px; }
  .hero h1 { font-size: clamp(40px, 12.4vw, 56px); margin-top: 20px; }
  .lead { font-size: 16px; margin-top: 18px; }
  .actions { margin-top: 24px; gap: 10px; }
  .actions .btn { flex: 1 1 100%; }
  .hero-media { height: 240px; }
  .how { padding: 0 20px 24px; }
  .row-head { flex-wrap: wrap; row-gap: 4px; }
  .section { padding: 64px 16px 0; }
  .cards { grid-template-columns: 1fr; }
  .compare { font-size: 13.5px; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare thead th { font-size: 14px; }
  .compare tbody th { width: 28%; }
  .tbc { padding: 1px 7px; font-size: 12px; }
  .quiz { padding: 26px 16px 20px; min-height: 0; }
  .quiz-q { font-size: 19px; }
  .quiz-options { grid-template-columns: 1fr 1fr; gap: 10px; }
  .opt { min-height: 118px; padding: 13px; }
  .opt-label { font-size: 14px; }
  .result { grid-template-columns: 1fr; gap: 16px; }
  .result h3 { font-size: 24px; }
  .quick { padding: 22px 18px; }
  .faq summary { padding: 16px 48px 16px 18px; font-size: 15.5px; }
  .faq details p { padding: 0 18px 18px; }
  .footer { margin: 72px 12px 12px; }
  .footer-inner { padding: 32px 20px 20px; }
  .footer-bottom { padding: 14px 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== Pages interieures (fiche, catalogue, comparatif, guide) ===== */

/* Fil d'Ariane */
.crumbs { position: relative; z-index: 3; padding: 22px 48px 0; font-size: 13px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, 0.25); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--lilac); }

/* Heros de page, plus court que celui de l'accueil */
.hero--page { min-height: 500px; }
.hero--page .hero-media { top: -150px; width: 56%; }
.hero--page .hero-copy { max-width: 640px; padding: 40px 0 44px 48px; }
.hero--page h1 { margin-top: 22px; font-size: clamp(38px, 5vw, 66px); }
.hero--page .lead { max-width: 520px; }
.page-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.hero--guide .hero-copy { padding-bottom: 72px; }
.faq details a { color: var(--lilac); text-underline-offset: 3px; }
.page-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--primary-hi); vertical-align: middle; }

/* Modele en cours : textes provisoires */
.draft-note {
  max-width: var(--wrap);
  margin: 28px auto 0;
  padding: 0 24px;
}
.draft-note p {
  padding: 10px 14px;
  border: 1px dashed rgba(205, 166, 247, 0.45);
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--lilac);
}

/* Chiffres cles, dans le cadre */
.stats {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 0 48px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stats li {
  padding: 18px 20px;
  border-radius: var(--radius-card);
  background: rgba(22, 23, 34, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.stats .k { display: block; font-size: 12.5px; font-weight: 500; color: var(--primary-hi); }
.stats .v { display: block; margin-top: 6px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.stats .s { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* Choix rapides (comparatif), dans le cadre */
.picks .how-grid li { display: flex; flex-direction: column; gap: 6px; }
.picks .how-grid h3 { margin-top: 2px; font-size: 19px; }
.picks .how-grid p { margin-top: 0; }
.picks .how-grid .link-arrow { margin-top: auto; padding-top: 8px; }

/* Verdict */
.verdict { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.verdict-main {
  border-radius: 24px;
  padding: 30px 32px;
  background: radial-gradient(70% 60% at 0% 0%, rgba(157, 78, 221, 0.24) 0%, rgba(157, 78, 221, 0) 70%), var(--surface);
  border: 1px solid rgba(157, 78, 221, 0.38);
  box-shadow: 0 40px 90px -40px rgba(157, 78, 221, 0.45);
}
.kicker { font-size: 13px; font-weight: 500; color: var(--lilac); }
.verdict-main h3 { margin-top: 8px; font-size: 26px; font-weight: 700; }
.verdict-main > p { margin-top: 12px; color: #D9D7E4; font-size: 16px; }
.fit { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit h4 { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.fit ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; display: grid; gap: 4px; }
.buybox {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.buybox-body { display: grid; gap: 10px; padding: 16px 12px 12px; margin-top: auto; }
.buybox .fine { margin-top: 0; }

/* Pour / contre */
.proscons { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.proscons > div { border-radius: 20px; padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); }
.proscons h3 { font-size: 17px; font-weight: 700; }
.proscons ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.proscons li { position: relative; padding-left: 26px; font-size: 15px; color: #D9D7E4; }
.proscons li::before { position: absolute; left: 0; top: -1px; font-weight: 700; font-size: 17px; }
.pros li::before { content: "+"; color: var(--accent); }
.cons li::before { content: "\2212"; color: var(--lilac); }

/* Fiche technique : source de chaque ligne */
.src { display: inline-block; font-size: 12.5px; color: var(--muted); }
.compare--specs tbody th { width: 26%; }
.compare--specs td:last-child { width: 24%; }

/* Texte long */
.prose { max-width: 720px; min-width: 0; }
.prose > h2 { margin: 56px 0 14px; font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; scroll-margin-top: 24px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; font-size: 19px; font-weight: 700; }
.prose p, .prose li { color: #D9D7E4; font-size: 16.5px; line-height: 1.7; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 6px; }
.prose a { color: var(--lilac); text-underline-offset: 3px; }
.prose a:hover { color: #fff; }
.prose strong { color: #fff; font-weight: 500; }
.prose .btn { text-decoration: none; }
.prose .btn-primary, .prose .btn-primary:hover { color: #fff; }
.prose .btn-ghost, .prose .btn-ghost:hover { color: var(--text); }
.prose .fine { font-size: 13px; line-height: 1.55; color: var(--muted); }
.prose kbd {
  display: inline-block;
  min-width: 26px;
  padding: 1px 8px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  border-bottom-width: 3px;
  background: var(--surface-2);
  font-family: inherit;
  font-size: 14px;
  text-align: center;
}

/* Etapes numerotees */
.prose .steps { list-style: none; counter-reset: step; margin: 22px 0 26px; padding: 0; display: grid; gap: 12px; }
.prose .steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 20px 16px 64px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  line-height: 1.55;
}
.prose .steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 17px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-hi);
}

/* Encadres */
.callout {
  margin: 24px 0;
  padding: 18px 22px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}
.callout p:last-child { margin-bottom: 0; }
.callout-title { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--accent); }
.callout--warn { border-left-color: var(--primary-hi); }
.callout--warn .callout-title { color: var(--lilac); }

/* Encart produit dans un texte */
.product-box {
  margin: 28px 0;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 10px 22px 10px 10px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(157, 78, 221, 0.38);
}
.product-box .card-media { aspect-ratio: 16 / 10; }
.prose .product-box h3 { margin: 4px 0 0; font-size: 18px; }
.prose .product-box p { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.product-box .actions { margin-top: 12px; gap: 10px; }

/* Guide : sommaire a gauche */
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 24px; padding: 20px 20px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.toc-title { font-size: 13px; font-weight: 700; }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: block; padding: 6px 0; font-size: 14px; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero) "  "; color: var(--primary-hi); font-size: 12px; white-space: pre; }
.toc a:hover { color: var(--text); }

/* Classement (comparatif) */
.ranking { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.rank {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 28px;
  padding: 10px 28px 10px 10px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.rank:first-child { border-color: rgba(157, 78, 221, 0.5); box-shadow: 0 40px 90px -40px rgba(157, 78, 221, 0.55); }
.rank .card-media { aspect-ratio: 16 / 10; align-self: start; }
.rank-num {
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.rank-body { padding: 18px 0 16px; display: flex; flex-direction: column; }
.rank-body h3 { margin-top: 6px; font-size: 24px; font-weight: 700; }
.rank-body > p { margin-top: 8px; color: #D9D7E4; font-size: 15.5px; }
.rank .proscons { margin-top: 16px; gap: 12px; }
.rank .proscons > div { padding: 0; background: none; border: 0; }
.rank .proscons h4 { margin: 0; font-size: 14px; font-weight: 700; }
.rank .proscons ul { margin-top: 8px; gap: 6px; }
.rank .proscons li { font-size: 14.5px; }
.rank-foot { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.rank-foot .price { margin-right: auto; }

/* Catalogue : filtres et grille de 4 */
.filters { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(22, 23, 34, 0.72);
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s, background-color .2s, border-color .2s;
}
.chip:hover { color: var(--text); border-color: rgba(176, 106, 235, 0.7); }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 6px 20px -4px rgba(157, 78, 221, 0.7); }
.cards--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards--4 .card h3 { font-size: 19px; }
.cards--4 .price { font-size: 23px; }
.cards--4 .price span { display: block; margin-top: 2px; }
.cards--4 .btn { padding-left: 14px; padding-right: 14px; font-size: 14.5px; text-align: center; }
.card[hidden] { display: none; }
.filter-empty { margin-top: 18px; color: var(--muted); }

/* Petites cartes (alternatives, a lire aussi) */
.mini-cards { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 8px 16px 8px 8px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .2s;
}
.mini-card:hover { border-color: rgba(157, 78, 221, 0.5); }
.mini-card .card-media { aspect-ratio: 16 / 10; border-radius: 10px; }
.mini-card strong { display: block; font-size: 15.5px; }
.mini-card span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.mini-card--text { grid-template-columns: 1fr; padding: 18px 20px; }

/* Methode : comment la page est faite */
.method {
  margin-top: 28px;
  max-width: 860px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--lilac);
}
.method h3 { font-size: 16px; }
.method p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.method a { color: var(--lilac); }

@media (max-width: 1080px) {
  .crumbs { padding: 20px 32px 0; }
  .hero--page .hero-copy { padding-left: 32px; }
  .stats { padding: 0 32px 36px; grid-template-columns: repeat(2, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .verdict { grid-template-columns: 1fr; }
  .rank { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .mini-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero--page .hero-media { top: auto; width: 100%; }
  .hero--page .hero-copy { padding: 30px 32px 8px; }
  .hero--guide .hero-copy { padding-bottom: 8px; }
  .article-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
  .rank { grid-template-columns: 1fr; padding: 10px; gap: 0; }
  .rank-body { padding: 18px 12px 12px; }
}
@media (max-width: 600px) {
  .crumbs { padding: 16px 20px 0; }
  .hero--page .hero-copy { padding: 24px 20px 4px; }
  .hero--page h1 { font-size: clamp(34px, 10vw, 46px); }
  .stats { padding: 0 20px 24px; gap: 10px; }
  .stats li { padding: 14px; }
  .stats .v { font-size: 18px; }
  .draft-note { padding: 0 16px; }
  .cards--4 { grid-template-columns: 1fr; }
  .verdict-main { padding: 22px 18px; }
  .fit, .proscons { grid-template-columns: 1fr; }
  .proscons > div { padding: 20px 18px; }
  .product-box { grid-template-columns: 1fr; padding: 10px; }
  .product-box > div:last-child { padding: 4px 8px 8px; }
  .mini-cards { grid-template-columns: 1fr; }
  .rank-num { font-size: 44px; }
  .rank-foot .btn { flex: 1 1 100%; }
  .method { grid-template-columns: 1fr; padding: 20px 18px; }
  .prose p, .prose li { font-size: 16px; }
  .prose .steps li { padding: 14px 16px 14px 54px; }
  .prose .steps li::before { left: 16px; top: 15px; }
}

/* Fiches produit : preuves sous les boutons, bandeau d'achat, barre d'achat mobile */
.cta-proof { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.cta-proof li { position: relative; padding-left: 17px; }
.cta-proof li::before { content: ""; position: absolute; left: 2px; top: 0.3em; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cta-proof strong { color: var(--text); font-weight: 500; }
.cta-band {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 18px 26px 18px 18px;
  border-radius: 24px;
  background: radial-gradient(60% 120% at 0% 50%, rgba(157, 78, 221, 0.28) 0%, rgba(157, 78, 221, 0) 70%), var(--surface);
  border: 1px solid rgba(157, 78, 221, 0.38);
}
.cta-band .card-media { border-radius: 16px; overflow: hidden; }
.cta-band h2 { font-size: 24px; font-weight: 700; }
.cta-band p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.cta-band p strong { color: var(--text); font-weight: 500; }
.cta-band .actions { margin-top: 0; flex-wrap: nowrap; gap: 10px; }
.buybar { display: none; }
@media (max-width: 900px) {
  .cta-band { grid-template-columns: 110px minmax(0, 1fr); padding: 16px; }
  .cta-band .actions { grid-column: 1 / -1; flex-wrap: wrap; }
  .cta-band .actions .btn { flex: 1 1 200px; }
}
@media (max-width: 760px) {
  .buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(13, 14, 21, 0.94);
    border-top: 1px solid rgba(157, 78, 221, 0.45);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .buybar.is-on { transform: none; }
  .buybar-info { min-width: 0; flex: 1; display: grid; line-height: 1.25; }
  .buybar-info strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar-info span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
  .buybar .btn { flex: none; min-height: 44px; padding: 8px 14px; font-size: 14px; }
  .has-buybar .footer { padding-bottom: 96px; }
}
@media (max-width: 600px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .card-media { display: none; }
  .cta-band h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .buybar { transition: none; } }
.cards--3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .cards--3col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards--3col { grid-template-columns: 1fr; } }
