/* =========================================================
   SEED VAULT 4 · Undergrow — camada sobre ../styles.css
   A cor escolhida no seletor vira --accent e tinge os acentos.
   ========================================================= */

.sv { --accent: var(--lime); }
.sv .tag__dot { background: var(--accent); box-shadow: 0 0 12px var(--accent); transition: background-color .6s var(--soft); }
.sv .num { color: var(--accent); }

/* ---------- Hero ---------- */
.sv-title { font-size: clamp(88px, 13vw, 184px); line-height: .84; }
.sv-title sup {
  font: 600 .26em/1 var(--f-mono); letter-spacing: 0; vertical-align: top; margin-left: .12em;
  position: relative; top: .35em; color: var(--lime); -webkit-text-fill-color: var(--lime);
}
.sv .bezel--hero .bezel__core { aspect-ratio: 4 / 5; }
.sv .hero__visual { max-width: 520px; justify-self: center; width: 100%; }
@media (max-width: 860px) { .sv .hero__visual { max-width: 440px; } }

/* ---------- Anatomia ---------- */
.anat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.anat__figure { max-width: 520px; width: 100%; justify-self: center; }
.anat__core { aspect-ratio: 800 / 1103; background: #120a2a; }
.anat__core::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 12%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, #140b2c, transparent);
}
.hot {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: transparent;
}
.hot::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(7, 4, 13, .55); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .5s var(--spring), background-color .4s var(--spring);
}
.hot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--lime);
  opacity: 0; animation: ping 2.6s var(--soft) infinite;
}
.hot span { position: relative; font: 600 13px/1 var(--f-mono); }
.hot:hover::before { transform: scale(1.08); }
.hot.is-on::before { background: var(--lime); box-shadow: none; transform: scale(1.12); }
.hot.is-on span { color: var(--lime-ink); }
.hot.is-on::after { animation: none; }
@keyframes ping { 0% { opacity: .9; transform: scale(.8); } 70%, 100% { opacity: 0; transform: scale(1.5); } }

.parts { display: grid; gap: 10px; counter-reset: p; }
.parts li {
  border-radius: 24px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--hair);
  transition: background-color .5s var(--spring), box-shadow .5s var(--spring);
}
.parts li.is-on { background: rgba(138, 242, 79, .06); box-shadow: inset 0 0 0 1px rgba(138, 242, 79, .35); }
.parts button {
  display: flex; align-items: baseline; gap: 18px; width: 100%; padding: 22px 24px; border: 0; background: none; cursor: pointer; text-align: left;
}
.parts b { font: 650 clamp(20px, 2vw, 26px)/1.1 var(--f-display); letter-spacing: -.02em; }
.parts__n { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; color: var(--lime); }
.parts p { padding: 0 24px 22px 62px; color: var(--muted); max-width: 52ch; }
.js .parts li:not(.is-on) p { display: none; }
@media (max-width: 860px) {
  .anat { grid-template-columns: 1fr; }
  .anat__figure { max-width: 420px; }
  .parts p { padding-left: 24px; }
}

/* ---------- Planejador ---------- */
.plan__core { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(20px, 3.4vw, 48px); align-items: center; }
.plan__form { display: grid; gap: 18px; min-width: 0; }
.plan__date { display: grid; gap: 8px; }
.plan__date label { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); }
.plan input {
  min-height: 48px; width: 100%; min-width: 0; padding: 0 16px; border: 0; border-radius: 14px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--hair-2);
  font: 500 16px var(--f-body); color: var(--text); color-scheme: dark;
  transition: box-shadow .3s var(--spring), background-color .3s var(--spring);
}
.plan input::placeholder { color: var(--dim); }
.plan input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--lime); background: rgba(255, 255, 255, .07); }
.plan__rows { display: grid; gap: 10px; }
.plan__rows li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.plan__q {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font: 600 14px/1 var(--f-mono); background: rgba(138, 242, 79, .12); color: var(--lime);
}
.step { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--hair-2); }
.step button {
  width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; cursor: pointer; font: 500 20px/1 var(--f-body);
  transition: background-color .3s var(--spring), transform .3s var(--spring);
}
.step button:hover { background: rgba(255, 255, 255, .08); }
.step button:active { transform: scale(.92); }
.step button:disabled { opacity: .3; cursor: default; }
.step output { min-width: 2ch; text-align: center; font: 600 16px var(--f-mono); }
.plan__reset { justify-self: start; }

.plan__out { display: grid; gap: 24px; justify-items: center; min-width: 0; }
.plan__svg { width: min(100%, 400px); height: auto; overflow: visible; }
.pv__rim { fill: #0b0714; stroke: rgba(255, 255, 255, .14); stroke-width: 2; }
.pv__floor { fill: color-mix(in srgb, var(--accent) 16%, #120b1f); stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 2; transition: fill .6s var(--soft), stroke .6s var(--soft); }
.pv__holes circle { fill: rgba(0, 0, 0, .35); }
.pv__div { stroke: var(--accent); stroke-width: 10; stroke-linecap: round; transition: stroke .6s var(--soft); }
.pv__hub { fill: var(--accent); transition: fill .6s var(--soft); }
.pv__seed { fill: #d8c9a3; stroke: #8a7650; stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: seed-in .6s var(--spring) both; }
@keyframes seed-in { from { transform: scale(0) rotate(-40deg); opacity: 0; } }
.pv__labels text { font: 600 13px var(--f-mono); fill: var(--text); text-anchor: middle; paint-order: stroke; stroke: rgba(7, 4, 13, .85); stroke-width: 4px; stroke-linejoin: round; }
.pv__labels .pv__empty { fill: var(--dim); font-weight: 500; }
.plan__sum { display: grid; gap: 8px; width: 100%; padding: 20px 22px; border-radius: 20px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--hair); }
.plan__total { font-size: 15px; color: var(--muted); }
.plan__total b { font: 700 22px var(--f-display); color: var(--text); }
.plan__window { font: 650 clamp(18px, 1.8vw, 22px)/1.25 var(--f-display); letter-spacing: -.01em; }
.plan__window em { color: var(--lime); }
@media (max-width: 960px) { .plan__core { grid-template-columns: 1fr; } }

/* ---------- Na caixa ---------- */
.box { grid-template-columns: repeat(12, 1fr); grid-template-rows: minmax(300px, 30vw) auto; }
.box__a { grid-column: span 5; grid-row: span 2; }
.box__b { grid-column: span 4; }
.box__c { grid-column: span 3; }
.box__list { grid-column: span 7; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.box__list li {
  display: flex; flex-direction: column; gap: 14px; padding: 6px 6px clamp(18px, 2vw, 24px); border-radius: var(--r-out);
  background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--hair);
}
.box__list li > :not(.box__thumb) { padding-inline: clamp(14px, 1.6vw, 20px); }
.box__thumb {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-in); background: #ecebef;
  transition: transform 1.2s var(--spring);
}
.box__list li { overflow: hidden; }
.box__list li:hover .box__thumb { transform: scale(1.03); }
.box__list h3 { font-size: clamp(19px, 1.7vw, 23px); }
.box__list p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.box .bezel__core > img { transition: transform 1.4s var(--spring); }
.box .bezel:hover .bezel__core > img { transform: scale(1.04); }
.box__core--light { background: #ecebef; }
.box__core--light > img { object-position: 50% 50%; }
.box .ph__text h3 { margin-top: 2px; }
@media (max-width: 1080px) {
  .box { grid-template-rows: none; }
  .box__a { grid-column: span 12; grid-row: auto; aspect-ratio: 4 / 5; max-height: 720px; }
  .box__b, .box__c { grid-column: span 6; aspect-ratio: 1; }
  .box__list { grid-column: span 12; }
}
@media (max-width: 640px) {
  .box__b, .box__c { grid-column: span 12; }
  .box__list { grid-template-columns: 1fr; }
}

/* ---------- Comparativo ---------- */
.versus { max-width: 980px; margin-inline: auto; }
.versus__core { padding: clamp(8px, 2vw, 24px); }
.versus__table { width: 100%; border-collapse: collapse; }
.versus__table th, .versus__table td { padding: 18px clamp(12px, 2vw, 24px); text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.versus__table tbody tr:last-child > * { border-bottom: 0; }
.versus__table thead th { font: 500 11px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.versus__table thead th.is-sv { color: var(--lime); }
.versus__table tbody th { font: 600 15px/1.35 var(--f-display); width: 24%; }
.versus__table td { color: var(--muted); font-size: 15.5px; }
.versus__table td.is-sv { color: var(--text); background: rgba(138, 242, 79, .05); }
.versus__table td.is-sv::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 10px var(--lime); vertical-align: 1px;
}
@media (max-width: 640px) {
  .versus__table thead { display: none; }
  .versus__table, .versus__table tbody, .versus__table tr, .versus__table th, .versus__table td { display: block; width: auto; }
  .versus__table tr { padding: 16px 8px; border-bottom: 1px solid var(--hair); }
  .versus__table tbody tr:last-child { border-bottom: 0; }
  .versus__table th, .versus__table td { border: 0; padding: 4px 8px; }
  .versus__table td::before { content: "Copo / papel: "; color: var(--dim); font-size: 13px; }
  .versus__table td.is-sv { background: none; }
  .versus__table td.is-sv::before { content: ""; }
}

/* ---------- Como usar ---------- */
.how { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: stretch; }
.how__steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.how__steps .bezel__core { aspect-ratio: 1; }
.how__steps .bezel__core > img { transition: transform 1.4s var(--spring); }
.how__steps li:hover .bezel__core > img { transform: scale(1.04); }
.how__txt {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 56px 20px 18px;
  background: linear-gradient(0deg, rgba(7, 4, 13, .94) 30%, rgba(7, 4, 13, 0));
}
.how__txt span { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; color: var(--lime); }
.how__txt p { color: var(--muted); font-size: 14.5px; }
.how__video .bezel__core { height: 100%; min-height: 520px; background: #000; }
.how__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.how__video figcaption {
  position: absolute; left: 16px; top: 16px; display: grid; gap: 4px; padding: 10px 14px; border-radius: 14px;
  background: rgba(7, 4, 13, .7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 14px; pointer-events: none;
}
@media (max-width: 960px) {
  .how { grid-template-columns: 1fr; }
  .how__video { max-width: 440px; width: 100%; justify-self: center; }
  .how__video .bezel__core { aspect-ratio: 9 / 16; min-height: 0; }
}
@media (max-width: 480px) { .how__steps { grid-template-columns: 1fr; } }

/* ---------- Cores / compra ---------- */
.buy { max-width: 1120px; margin-inline: auto; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 40%, transparent), rgba(124, 58, 237, .22)); transition: background .8s var(--soft); }
.buy__core { display: grid; grid-template-columns: 1.05fr 1fr; }
.buy__core > * { min-width: 0; }
.buy__media { position: relative; background: #e9e8ec; min-height: 460px; overflow: hidden; }
.buy__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--soft), transform .9s var(--spring); }
.buy__media img.is-swapping { opacity: 0; transform: scale(.97); }
.buy__body { display: grid; gap: 18px; align-content: center; padding: clamp(24px, 4vw, 56px); }
.buy__title { font-size: clamp(44px, 5.4vw, 76px); }
.buy__lead { color: var(--muted); max-width: 42ch; }
.swatches { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; }
.swatches legend { padding: 0; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.swatches legend b { color: var(--text); font-weight: 600; }
.swatches__row { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--c) 0 52%, #0b0714 53% 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  transition: transform .45s var(--spring), box-shadow .45s var(--spring);
}
.swatch--natal { background: radial-gradient(circle at 50% 50%, #fff 0 18%, var(--c) 19% 52%, #0b0714 53% 100%); }
.swatch:hover { transform: scale(1.08); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--c); }
.buy__price { margin: 0; padding: 0; }
.buy__price b { font-size: 40px; }
.buy__perks { display: grid; gap: 8px; padding-top: 6px; border-top: 1px solid var(--hair); }
.buy__perks li { position: relative; padding-left: 22px; font-size: 14px; color: var(--muted); }
.buy__perks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.buy__perks b { color: var(--text); font-family: var(--f-mono); font-weight: 500; letter-spacing: .04em; }
@media (max-width: 860px) {
  .buy__core { grid-template-columns: 1fr; }
  .buy__media { min-height: 0; aspect-ratio: 1; }
}

/* ---------- Avaliações ---------- */
.reviews { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.review {
  grid-column: span 3; display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-out);
  background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--hair);
}
.review--lg { grid-column: span 6; background: linear-gradient(135deg, rgba(124, 58, 237, .16), rgba(138, 242, 79, .06)); }
.review--lg blockquote { font: 650 clamp(22px, 2.6vw, 34px)/1.2 var(--f-display); letter-spacing: -.02em; max-width: 40ch; }
.review--sm { grid-column: span 3; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.5; flex: 1; }
.stars { color: var(--lime); letter-spacing: .12em; font-size: 15px; }
.review__who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.review__who i {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font: 600 13px/1 var(--f-mono); background: rgba(196, 181, 253, .14); color: var(--violet-2);
}
@media (max-width: 860px) {
  .review, .review--sm { grid-column: span 6; }
}

/* ---------- Final / rodapé ---------- */
.sv .final__title { font-size: clamp(42px, 7.6vw, 112px); }

@media (prefers-reduced-motion: reduce) {
  .pv__seed { animation: none; }
  .hot::after { display: none; }
}
