/* Tema escuro é o padrão. O claro vale quando o sistema pede (e a pessoa não escolheu o escuro no
   botão) ou quando a pessoa escolhe o claro no botão (data-theme no <html>). */
:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --panel: #121922;
  --panel-2: #0f151d;
  --line: #1e2a36;
  --line-strong: #2a3a4a;
  --text: #e8eef2;
  --muted: #8fa3b3;
  --accent: #3dffb0;           /* preenchimentos: botões, faixa, etiquetas */
  --accent-text: #3dffb0;      /* textos, ícones e contornos em verde */
  --accent-soft: rgba(61, 255, 176, 0.08);
  --accent-tint: rgba(61, 255, 176, 0.13);
  --glow: rgba(61, 255, 176, 0.35);
  --btn-glow: rgba(61, 255, 176, 0.7);
  --gold: #f4c95d;
  --gold-text: #f4c95d;
  --gold-soft: rgba(244, 201, 93, 0.06);
  --gold-line: rgba(244, 201, 93, 0.45);
  --warn: #ff7a59;
  --warn-soft: rgba(255, 122, 89, 0.12);
  --soldout: #2a3644;
  --glass: rgba(18, 25, 34, 0.92);
  --veil: rgba(11, 15, 20, 0.5);
  --final-photo: 0.22;
  --ink: #0b0f14;
  --sun: block;
  --moon: none;
  --font: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f5f7f6;
    --panel: #ffffff;
    --panel-2: #edf1ef;
    --line: #dde4e1;
    --line-strong: #c5d0cb;
    --text: #0f1720;
    --muted: #56646f;
    --accent-text: #007d54;
    --accent-soft: rgba(0, 125, 84, 0.07);
    --accent-tint: rgba(0, 125, 84, 0.12);
    --glow: rgba(15, 23, 32, 0.16);
    --btn-glow: rgba(0, 125, 84, 0.35);
    --gold-text: #8a5a00;
    --gold-soft: rgba(244, 201, 93, 0.18);
    --gold-line: rgba(160, 110, 0, 0.45);
    --warn: #c2410c;
    --warn-soft: rgba(194, 65, 12, 0.09);
    --soldout: #dfe5e2;
    --glass: rgba(255, 255, 255, 0.96);
    --veil: rgba(245, 247, 246, 0.55);
    --final-photo: 0.2;
    --sun: none;
    --moon: block;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7f6;
  --panel: #ffffff;
  --panel-2: #edf1ef;
  --line: #dde4e1;
  --line-strong: #c5d0cb;
  --text: #0f1720;
  --muted: #56646f;
  --accent-text: #007d54;
  --accent-soft: rgba(0, 125, 84, 0.07);
  --accent-tint: rgba(0, 125, 84, 0.12);
  --glow: rgba(15, 23, 32, 0.16);
  --btn-glow: rgba(0, 125, 84, 0.35);
  --gold-text: #8a5a00;
  --gold-soft: rgba(244, 201, 93, 0.18);
  --gold-line: rgba(160, 110, 0, 0.45);
  --warn: #c2410c;
  --warn-soft: rgba(194, 65, 12, 0.09);
  --soldout: #dfe5e2;
  --glass: rgba(255, 255, 255, 0.96);
  --veil: rgba(245, 247, 246, 0.55);
  --final-photo: 0.2;
  --sun: none;
  --moon: block;
}

/* Painéis que ficam sempre escuros nos dois temas: terminal, desenhos técnicos e controles sobre o vídeo. */
.term, .how__fig, .vplayer {
  color-scheme: dark;
  color: var(--text);
  --panel: #121922;
  --panel-2: #0f151d;
  --line: #1e2a36;
  --line-strong: #2a3a4a;
  --text: #e8eef2;
  --muted: #8fa3b3;
  --accent-text: #3dffb0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent-text); }
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Cabeçalho */
.topbar { border-bottom: 1px solid var(--line); }
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand__lab { color: var(--accent-text); font-weight: 400; }
.brand--small { font-size: 20px; }
.nav { display: flex; gap: 0 28px; flex-wrap: wrap; margin-left: auto; }
.theme-btn {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.theme-btn:hover { color: var(--accent-text); border-color: var(--accent-text); }
.theme-btn:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.theme-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-sun { display: var(--sun); }
.theme-btn .i-moon { display: var(--moon); }
.nav a { padding: 12px 0; }

/* Hero */
.hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 80px;
}
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent-text);
}
h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.lead {
  margin: 0;
  max-width: 520px;
  font-size: 20px;
  color: var(--muted);
}
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
}
.btn--primary { background: var(--accent); color: var(--ink); font-weight: 700; transition: transform 0.15s, box-shadow 0.2s; }
.btn--primary:hover { color: var(--ink); filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 12px 30px -12px var(--btn-glow); }
.btn--ghost { border: 1px solid var(--line-strong); }

.hero__art {
  width: 100%;
  max-width: 460px;
  justify-self: center;
  aspect-ratio: 1 / 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
.hero__art svg { width: 100%; height: 100%; display: block; }

/* Seções */
.section { border-top: 1px solid var(--line); padding: 72px 0; }
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
h2 {
  margin: 0 0 32px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section__head h2 { margin-bottom: 32px; }
.more {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent-text);
  padding: 12px 0;
}

/* Categorias */
.cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.cat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.cat:hover { border-color: var(--accent-text); }
.cat__name { font-size: 24px; font-weight: 700; }
.cat__desc { color: var(--muted); }

/* Produtos */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}
.status { grid-column: 1 / -1; margin: 0; color: var(--muted); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--panel-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card__media svg { width: 45%; opacity: 0.5; }
.card--soldout .card__media img { opacity: 0.45; }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: var(--accent);
  color: var(--ink);
}
.badge--soldout { background: var(--soldout); color: var(--text); }
.card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 16px;
}
.card__name { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.3; }
.price { display: flex; gap: 8px; align-items: baseline; }
.price__now { font-size: 20px; font-weight: 700; }
.price__old { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.ship { font-size: 13px; color: var(--accent-text); }
.card .btn {
  margin-top: auto;
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
  border-radius: 8px;
}

/* Rodapé */
.footer { border-top: 1px solid var(--line); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 40px;
  padding-bottom: 40px;
}
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.footer__nav a { padding: 12px 0; }
.copy { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--muted); }

.card:hover { color: var(--text); border-color: var(--accent-text); }

/* Página de produto */
.pd-status { padding: 80px 0; }
.pd-hero {
  border-top: 0;
  padding-top: 40px;
  background: radial-gradient(55% 60% at 22% 18%, var(--accent-soft), transparent 70%);
}
.pd-hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: start;
}

.gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (min-width: 900px) {
  .gallery { position: sticky; top: 24px; }
}
.gallery__main {
  position: relative;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide {
  flex: 0 0 100%;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__slide svg, .thumb svg { width: 45%; opacity: 0.5; }
.gallery__main .badge { font-size: 14px; padding: 6px 10px; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumb {
  flex: 0 0 72px;
  height: 72px;
  padding: 0;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}
.thumb:hover { opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb[aria-pressed="true"] { border-color: var(--accent-text); opacity: 1; }
.thumb:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }

/* Vídeo na galeria */
.vplayer { position: relative; width: 100%; height: 100%; }
.vplayer video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.vplayer__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11, 15, 20, 0.78);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
}
.vplayer__btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(11, 15, 20, 0.78);
  color: var(--text);
  cursor: pointer;
}
.vplayer__btn .ico { width: 20px; height: 20px; stroke-width: 2.6; }
.vplayer__btn .ico--play { fill: currentColor; }
.vplayer__btn[data-state="playing"] .ico--play,
.vplayer__btn[data-state="paused"] .ico--pause { display: none; }
.vplayer__btn:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.thumb--video { position: relative; }
.thumb--video::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  height: 0;
  margin: auto;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
}

.pd-info { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pd-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}
.stock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  color: var(--accent-text);
  background: currentColor;
  animation: ping 2s ease-out infinite;
}
.stock--out::before { color: var(--warn); }
@keyframes ping {
  from { box-shadow: 0 0 0 0 currentColor; }
  to { box-shadow: 0 0 0 8px transparent; }
}
.pd-title { font-size: clamp(34px, 4.6vw, 52px); }
.pd-chamada { margin: 0; font-size: 22px; font-weight: 500; color: var(--accent-text); line-height: 1.3; }
.pd-info .lead { font-size: 18px; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before {
  content: "✓";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 700;
}
.pd-destaques { font-size: 17px; }
.pd-opts ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.pd-opts li { margin-bottom: 4px; }
.pd-opts .is-out { text-decoration: line-through; }

.buybox {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: 0 30px 60px -36px var(--glow);
}
.buybox .price__now { font-size: 40px; letter-spacing: -0.02em; }
.buybox .price__old { font-size: 18px; }
.buybox__inst { margin: -12px 0 0; color: var(--muted); }
.pd-save { margin: -8px 0 0; font-family: var(--mono); font-size: 14px; color: var(--accent-text); }
.btn--big { width: 100%; min-height: 58px; font-size: 18px; }

.gifts {
  padding: 12px 14px;
  border: 1px dashed var(--gold-line);
  border-radius: 14px;
  background: var(--gold-soft);
}
.gifts__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--gold-text);
}
.gifts__list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.gifts__list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
  font-size: 13px;
}
.gifts__list .ico { width: 16px; height: 16px; color: var(--gold-text); }

.pd-aviso {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--accent-text);
  border-radius: 8px;
  background: var(--accent-soft);
  font-size: 15px;
}
.pd-aviso--out { border-left-color: var(--warn); background: var(--warn-soft); }

.trust { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .ico { width: 18px; height: 18px; color: var(--accent-text); }

.ico {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Faixa corrida */
.ticker { overflow: hidden; background: var(--accent); color: var(--ink); }
.ticker__row { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span {
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker span::after { content: "✦"; margin: 0 24px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Mesa × bandeja */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.vs__x {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--mono);
  color: var(--muted);
}
.vs__col {
  align-self: stretch;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.vs__col--com {
  border-color: var(--accent-text);
  background: linear-gradient(160deg, var(--accent-tint), var(--panel) 60%);
  box-shadow: 0 30px 60px -36px var(--glow);
}
.vs__col h3 { margin: 0 0 20px; font-size: 22px; }
.vs__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.vs__col li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.vs__col li::before {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}
.vs__col--sem li { color: var(--muted); }
.vs__col--sem li::before { content: "✕"; background: var(--warn-soft); color: var(--warn); }
.vs__col--com li::before { content: "✓"; background: var(--accent); color: var(--ink); }

/* Como funciona, com a ilustração */
.how { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.how__fig {
  margin: 0;
  padding: 20px 20px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background-color: var(--panel-2);
  background-image:
    linear-gradient(rgba(143, 163, 179, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 163, 179, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.how__fig figcaption { margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.how .steps li { font-size: 19px; }

.ill { display: block; width: 100%; height: auto; }
.ill-tray { fill: #0b1016; stroke: #50647a; stroke-width: 3; stroke-linejoin: round; }
.ill-wall { fill: none; stroke: #50647a; stroke-width: 3; stroke-linecap: round; }
.ill-rim { stroke: #50647a; stroke-width: 8; stroke-linecap: round; }
.ill-rim--in { stroke: #627890; stroke-width: 6; }
.ill-mesh { stroke: #a9b8c6; stroke-width: 3; stroke-dasharray: 2 3; }
.ill-frame { fill: #c9a8f7; }
.ill-screw { fill: #0b0f14; }
.ill-leaf { fill: #2bc98b; stroke: #138556; stroke-width: 1; }
.ill-bud ellipse { fill: #3dffb0; stroke: #17a873; stroke-width: 1.5; }
.ill-glint { fill: #ffe08a; animation: glint 1.8s ease-in-out infinite; }
.ill-kief { fill: var(--gold); animation: kief-fall 2.6s cubic-bezier(0.5, 0, 1, 0.8) infinite; }
.ill-pile { fill: url(#ill-kief); }
.ill-blade { stroke: #d7e0e8; stroke-width: 4; stroke-linecap: round; }
.ill-handle { fill: none; stroke: #ff6b6b; stroke-width: 4; stroke-linecap: round; }
.ill-pin { fill: #8fa3b3; }
.ill-num { fill: var(--accent); }
.ill-num-t { fill: var(--ink); font: 700 14px var(--mono); }
@keyframes kief-fall {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(var(--dy)); opacity: 0; }
}
@keyframes glint { 50% { opacity: 0.15; } }

/* Ilustração dos arcos (vasos vistos de cima) */
.wrap > .how__fig { max-width: 820px; margin: 0 auto 32px; }
.ill-pot { fill: #121922; stroke: #50647a; stroke-width: 3; }
.ill-soil { fill: #3a2b1f; }
.ill-wet { fill: #4aa8ff; opacity: 0.3; transform-box: fill-box; transform-origin: center; }
.ill-wet--spot { animation: wet-spot 3s ease-in-out infinite; }
.ill-wet--full { animation: wet-full 3s ease-in-out infinite; }
.ill-ripple {
  fill: none;
  stroke: #9fd6ff;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  animation: ripple 2.6s ease-out infinite;
}
.ill-dripper { fill: #0f151d; stroke: #a9b8c6; stroke-width: 2.5; }
.ill-hose { fill: none; stroke: #50647a; stroke-width: 4; stroke-linecap: round; }
.ill-tube-o { fill: none; stroke: #7d91a5; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.ill-tube-i { fill: none; stroke: #0f151d; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.ill-nozzle { fill: #a9b8c6; }
.ill-label { font: 500 13px var(--mono); fill: var(--muted); }
.ill-label--ok { fill: var(--accent); }
@keyframes ripple {
  from { transform: scale(0.4); opacity: 0.9; }
  to { transform: scale(3.4); opacity: 0; }
}
@keyframes wet-spot { 50% { transform: scale(0.88); opacity: 0.22; } }
@keyframes wet-full { 50% { opacity: 0.4; } }

/* Qual fixação escolher */
.fixes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.fix {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.fix__photo { aspect-ratio: 1 / 1; background: var(--panel-2); }
.fix__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fix__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 22px 24px; }
.fix h3 { margin: 0; font-size: 20px; }
.fix p { margin: 0; color: var(--muted); }
.fixes__note { margin: 20px 0 0; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.tag.tag--out { background: var(--warn-soft); color: var(--warn); }

/* Escolha do kit */
.kits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.kitcard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: border-color 0.2s, transform 0.2s;
}
a.kitcard:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-2px); }
.kitcard--here {
  border-color: var(--accent-text);
  background: linear-gradient(160deg, var(--accent-tint), var(--panel) 60%);
  box-shadow: 0 30px 60px -36px var(--glow);
}
.kitcard__label { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.kitcard__name { color: var(--muted); }
.kitcard .price { margin-top: 8px; }
.kitcard__unit { font-family: var(--mono); font-size: 13px; color: var(--accent-text); }
.kitcard .tag, .kitcard .more { margin-top: auto; padding-top: 12px; }
.kitcard .tag { padding: 3px 8px; background: var(--accent); }

/* Vantagens */
.feats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feat {
  padding: 28px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.feat:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feat h3 { margin: 0 0 8px; font-size: 20px; }
.feat p { margin: 0; color: var(--muted); }
.feat__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.feat__ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-tint);
  color: var(--accent-text);
}
.feat__num { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 12px; font-size: 17px; }
.quote figcaption { font-family: var(--mono); font-size: 14px; color: var(--muted); }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 20px; max-width: 760px; }
.steps li { counter-increment: step; display: flex; gap: 16px; align-items: baseline; font-size: 18px; }
.steps li::before {
  content: counter(step);
  flex: 0 0 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 700;
}

/* Na caixa */
.kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; }
.kit__photo {
  aspect-ratio: 4 / 3;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.kit__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kit__side { display: flex; flex-direction: column; gap: 24px; }
.kit__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.kit__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.kit__ico {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--panel-2);
  color: var(--accent-text);
}
.kit__txt { flex: 1; }
.tag {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.kit__total { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.kit__total .price__now { font-size: 32px; color: var(--text); }
.kit__side > .btn { align-self: flex-start; min-height: 56px; padding: 0 36px; font-size: 18px; }

/* Ficha técnica e garantia */
.pd-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.term {
  background: #070a0e;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 14px;
}
.term__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term__bar i:nth-child(2) { background: #febc2e; }
.term__bar i:nth-child(3) { background: #28c840; }
.term__bar span { margin-left: 8px; }
.term__body { padding: 18px 20px; }
.term__cmd { margin: 0 0 8px; color: var(--accent); }
.term dl { margin: 0 0 12px; display: grid; grid-template-columns: auto 1fr; column-gap: 24px; }
.term dt, .term dd { margin: 0; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.term dt { color: var(--muted); }
.term__cursor { margin: 0; }
.term__cursor::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 16px;
  vertical-align: -3px;
  background: var(--accent);
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }
.guarantee {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, var(--accent-soft), var(--panel) 55%);
}
.guarantee__ico {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent);
  color: var(--ink);
}
.guarantee__ico .ico { width: 30px; height: 30px; }
.guarantee h3 { margin: 0; font-size: 24px; }
.guarantee p { margin: 0; color: var(--muted); }

.faq { border-bottom: 1px solid var(--line); max-width: 760px; }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1;
  color: var(--accent-text);
  transition: transform 0.2s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.faq p { margin: 0 0 18px; color: var(--muted); }

/* Fechamento */
.pd-final { position: relative; overflow: hidden; padding: 112px 0; }
.pd-final__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--final-photo);
  filter: saturate(0.6);
}
.pd-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, var(--bg), var(--veil) 35%, var(--veil) 65%, var(--bg));
}
.pd-final .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.pd-final h2 { margin: 0; max-width: 760px; font-size: clamp(32px, 5vw, 52px); line-height: 1.08; }
.pd-final .price__now { font-size: 36px; }
.pd-final .buybox__inst { margin: -14px 0 0; }
.pd-final .pd-aviso { max-width: 520px; text-align: left; }
.pd-final .btn--big { width: auto; padding: 0 48px; }

/* Barra de compra fixa */
.buybar[hidden] { display: none; }
.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-strong);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s;
}
.buybar.is-on { transform: none; visibility: visible; }
.buybar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.buybar__info { display: flex; align-items: center; gap: 16px; min-width: 0; }
.buybar__name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .price__now { font-size: 20px; }
.buybar .btn { flex: none; min-height: 46px; padding: 0 24px; }
body:has(.buybar:not([hidden])) .footer { padding-bottom: 80px; }

/* Seções que sobem ao entrar na tela */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .stock::before, .ticker__row, .term__cursor::after { animation: none; }
  /* Atrasos negativos + pausa: cada grão de kief fica parado num ponto diferente da queda. */
  .ill * { animation-play-state: paused; }
  .buybar, .feat, .btn--primary { transition: none; }
}

@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .ill-label { font-size: 19px; }
  .pd-hero { padding-top: 20px; }
  .buybox { padding: 20px; }
  .buybox .price__now { font-size: 34px; }
  .vs { grid-template-columns: 1fr; }
  .vs__x { justify-self: center; margin: -8px 0; }
  .kit__side > .btn { align-self: stretch; }
  .pd-final { padding: 80px 0; }
  .buybar__name { display: none; }
  .buybar__inner { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 600px) {
  .topbar__inner { gap: 4px 24px; padding-top: 16px; padding-bottom: 4px; }
  .theme-btn { order: 1; }
  .nav { order: 2; flex-basis: 100%; margin-left: 0; gap: 0 20px; font-size: 15px; }
  .hero__inner { padding-top: 56px; padding-bottom: 48px; gap: 40px; }
  .section { padding: 48px 0; }
  h2 { font-size: 30px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card__body { padding: 12px; }
  .card__name { font-size: 15px; }
  .price { flex-wrap: wrap; column-gap: 6px; row-gap: 0; }
  .price__now { font-size: 17px; }
  .price__old { font-size: 13px; }
  .card .btn { min-height: 40px; padding: 0 8px; font-size: 14px; }
  .badge { top: 8px; left: 8px; }
}
