/* GO SHOT · checkout · brief de 26/10/2026 (cores e fontes do brand kit v2). */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-brand.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("fonts/martian-mono-brand.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #0A0A09;
  --bone: #EDE8DB;
  --paper: #F4F1EA;
  --graphite: #3C3C3C;
  --bottle: #1F3D2B;
  --immunity: #43B02A;
  --top: #1F2521;
  --top-base: #112117;
  --line: #D9D3C4;
  --error: #B42318;
  --error-bg: #FDECEA;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --bar-h: 76px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.shell { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 20px; }

.display {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.02;
}
.mono {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

/* 0. Cabeçalho */
.topbar { background: var(--ink); color: var(--bone); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.logo { display: inline-flex; flex-direction: column; line-height: 1; font-family: var(--display); font-size: 36px; width: 72px; user-select: none; }
.logo__bar { height: 0.111em; width: 45%; margin-left: 0.04em; margin-bottom: 0.209em; background: currentColor; }
.logo__go { font-weight: 900; font-variation-settings: "wdth" 125, "wght" 900; font-stretch: 125%; letter-spacing: 0.02em; line-height: 0.72; }
.logo__shot { display: flex; justify-content: space-between; font-size: 0.519em; font-weight: 380; font-variation-settings: "wdth" 118, "wght" 380; font-stretch: 118%; width: 109%; margin-top: 0.131em; line-height: 0.72; }
.secure { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.secure__lock { width: 10px; height: 8px; background: var(--immunity); border-radius: 1px; position: relative; margin-top: 4px; }
.secure__lock::before { content: ""; position: absolute; left: 1.5px; top: -6px; width: 7px; height: 7px; border: 1.5px solid var(--immunity); border-bottom: 0; border-radius: 4px 4px 0 0; box-sizing: border-box; }

/* 4. Barra de progresso */
.progress { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.progress__in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.progress__step { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #8a8578; padding-top: 8px; border-top: 3px solid var(--line); white-space: nowrap; }
.progress__step b { font-weight: 500; }
.progress__step[data-state="current"] { color: var(--ink); border-top-color: var(--bottle); }
.progress__step[data-state="done"] { color: var(--bottle); border-top-color: var(--bottle); }
.progress__step[data-state="done"] b { font-size: 0; }
.progress__step[data-state="done"] b::before { content: "✓"; font-size: 11px; }

/* 1. Topo compacto */
.hero { background: radial-gradient(120% 90% at 20% 30%, var(--top) 0%, var(--top-base) 100%); color: var(--bone); padding: 22px 0 20px; }
.hero__in { display: grid; grid-template-columns: 40% 1fr; gap: 14px; align-items: center; }
/* O render tem fundo preto: "lighten" deixa o verde do topo aparecer em volta do pote. */
.hero__pote { width: 100%; height: auto; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); }
.hero__label { color: #b9b4a6; margin: 0 0 8px; font-size: 10px; }
.hero__title { margin: 0; font-size: 26px; color: var(--bone); }
.hero__claim { margin: 16px 0 14px; font-size: 15px; color: var(--bone); }
.endorse { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(237,232,219,.16); border-bottom: 1px solid rgba(237,232,219,.16); }
.endorse__by { font-size: 10px; color: #b9b4a6; }
.endorse__logo { width: 84px; height: auto; }
.hero__proof { margin: 12px 0 0; font-size: 10px; line-height: 1.7; color: #b9b4a6; letter-spacing: 0.08em; }

/* Blocos */
.block, .step { padding-top: 26px; padding-bottom: 6px; }
.h2 { font-size: 24px; margin: 0 0 14px; }

/* 2. Escolha sua rotina */
.cards { display: grid; gap: 12px; }
.card, .opt-card {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 72px; padding: 14px 16px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.card input, .opt-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.card__radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #b9b4a6; position: relative; }
.card__body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.card__title { font-size: 18px; }
.card__sub { font-size: 13px; color: var(--graphite); }
.card__price { font-size: 20px; white-space: nowrap; }
.saving { display: inline-block; background: #E3F1DC; color: var(--bottle); font-weight: 600; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.card__badge { position: absolute; top: -10px; left: 16px; background: var(--bottle); color: var(--bone); font-size: 9px; padding: 3px 8px; border-radius: 3px; }
.card:has(input:checked), .opt-card:has(input:checked) { border-color: var(--bottle); box-shadow: 0 0 0 1px var(--bottle); }
input:checked + .card__radio { border-color: var(--bottle); }
input:checked + .card__radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--bottle); }
input:focus-visible + .card__radio { outline: 2px solid var(--immunity); outline-offset: 2px; }
.opt-card[hidden] { display: none; }

/* Mais de 3 potes */
.more__title { margin: 16px 0 8px; font-size: 14px; font-weight: 600; color: var(--graphite); }
.more { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.qchip { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.qchip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qchip__box { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; text-align: center; }
.qchip__n { font-size: 14px; }
.qchip__price { font-size: 12px; color: var(--graphite); white-space: nowrap; }
.qchip input:checked + .qchip__box { border-color: var(--bottle); box-shadow: 0 0 0 1px var(--bottle); }
.qchip input:focus-visible + .qchip__box { outline: 2px solid var(--immunity); outline-offset: 2px; }
.more__note { margin: 10px 0 0; font-size: 13px; color: var(--graphite); }
@media (max-width: 380px) { .more { grid-template-columns: repeat(3, 1fr); } }

.ingredients { margin: 18px 0 10px; font-weight: 700; font-size: 15px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--bone); color: var(--ink); }

/* Seções 1-2-3 */
.step { border-top: 1px solid var(--line); margin-top: 22px; scroll-margin-top: 56px; }
.step__head { display: flex; align-items: center; justify-content: space-between; }
.step__title { display: flex; align-items: center; gap: 10px; font-size: 22px; margin: 0 0 14px; }
.step__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bottle); color: var(--bone); font-size: 14px; font-stretch: 100%; }
.step__summary { display: none; margin: -6px 0 6px; color: var(--graphite); font-size: 14px; }
.step__edit { display: none; }
html[data-ovc-done~="1"] [data-ovc-step="1"] .step__fields,
html[data-ovc-done~="2"] [data-ovc-step="2"] .step__fields { display: none; }
html[data-ovc-done~="1"] [data-ovc-step="1"] .step__summary,
html[data-ovc-done~="2"] [data-ovc-step="2"] .step__summary,
html[data-ovc-done~="1"] [data-ovc-step="1"] .step__edit,
html[data-ovc-done~="2"] [data-ovc-step="2"] .step__edit { display: block; }
html[data-ovc-done~="1"] [data-ovc-step="1"] .step__n,
html[data-ovc-done~="2"] [data-ovc-step="2"] .step__n { font-size: 0; }
html[data-ovc-done~="1"] [data-ovc-step="1"] .step__n::before,
html[data-ovc-done~="2"] [data-ovc-step="2"] .step__n::before { content: "✓"; font-size: 15px; }

/* 5. Rótulos e 18. campos */
.field { margin-bottom: 14px; min-width: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row--city { grid-template-columns: 1fr 76px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.opt { font-weight: 400; color: #8a8578; }
input:not([type="radio"]):not([type="checkbox"]) {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font-family: var(--display); font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  -webkit-appearance: none; appearance: none;
}
input:focus { outline: none; border-color: var(--bottle); box-shadow: 0 0 0 3px rgba(31,61,43,.15); }
input[aria-invalid="true"] { border-color: var(--error); background: #fffafa; }
.err { margin: 6px 0 0; color: var(--error); font-size: 13px; }
.err::before { content: "⚠ "; }
.err:empty { display: none; }
.link { background: none; border: 0; padding: 8px 0; min-height: 48px; color: var(--bottle); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* CEP */
.cep { position: relative; }
.cep__status { display: none; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--graphite); align-items: center; gap: 6px; }
.cep__status--found { color: var(--bottle); font-size: 10px; background: #E3F1DC; padding: 4px 8px; border-radius: 4px; }
html[data-ovc-cep="loading"] .cep__status--loading,
html[data-ovc-cep="found"] .cep__status--found { display: inline-flex; }
.spin { width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--bottle); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.addr, .addr-summary { display: none; }
.addr-summary { align-items: center; justify-content: space-between; gap: 12px; background: var(--bone); border-radius: 10px; padding: 8px 14px; margin-bottom: 14px; }
.addr-summary__label { display: block; font-size: 9px; color: var(--graphite); }
.addr-summary__line { font-size: 14px; }
html[data-ovc-cep="found"]:not([data-ovc-address="edit"]) .addr-summary { display: flex; }
html[data-ovc-cep="manual"] .addr,
html[data-ovc-cep="found"][data-ovc-address="edit"] .addr { display: block; }

.recipient { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.recipient__self { margin: 0; font-size: 14px; }
.recipient__field, .recipient__toggle-self { display: none; }
html[data-ovc-recipient="other"] .recipient__field { display: block; }
html[data-ovc-recipient="other"] .recipient__self { visibility: hidden; }
html[data-ovc-recipient="other"] .recipient__toggle-self { display: inline; }
html[data-ovc-recipient="other"] .recipient__toggle-other { display: none; }

/* Frete */
.ship { margin-top: 8px; }
.ship__list { display: grid; gap: 10px; }
.ship__hint { display: none; margin: 4px 0 10px; font-size: 14px; color: var(--graphite); align-items: center; gap: 8px; }
html[data-ovc-shipping="idle"] .ship__hint--idle,
html[data-ovc-shipping="loading"] .ship__hint--loading,
html[data-ovc-shipping="empty"] .ship__hint--msg,
html[data-ovc-shipping="error"] .ship__hint--msg { display: flex; }
html[data-ovc-shipping="error"] .ship__hint--msg { color: var(--error); }
.step .btn--dark { margin-top: 16px; }

/* 7. Pagamento */
.pay { display: grid; gap: 10px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 48px; margin: 14px 0 4px; font-weight: 400; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--bottle); flex: none; }
.coupon summary { list-style: none; display: inline-block; }
.coupon summary::-webkit-details-marker { display: none; }
.coupon__row { display: flex; gap: 10px; margin-top: 6px; }
.coupon__row input { text-transform: uppercase; }
.coupon__status { font-size: 13px; color: var(--graphite); margin: 6px 0 0; }
.coupon__status:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* 8. Resumo, botão e garantias */
.summary { margin-top: 22px; border-top: 1px solid var(--line); }
.totals { margin: 0; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.totals dt { color: var(--graphite); }
.totals dd { margin: 0; text-align: right; }
.totals__discount { display: none !important; }
html[data-ovc-discount="on"] .totals__discount { display: flex !important; }
.totals__total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px !important; font-weight: 800; font-size: 18px !important; }
.totals__total dt { color: var(--ink); }
.arrival { margin: 2px 0 14px; font-size: 14px; color: var(--bottle); font-weight: 600; text-align: right; }
.arrival:empty { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 10px; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: 15px; letter-spacing: 0.01em; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.btn--main { background: var(--immunity); color: var(--ink); }
.btn--dark { background: var(--bottle); color: var(--bone); width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--sm { min-height: 48px; padding: 0 16px; font-size: 13px; width: auto; }
.btn--big { width: 100%; min-height: 58px; font-size: 17px; }
.btn:disabled { opacity: .75; cursor: progress; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.lbl-busy { display: none; }
html[data-ovc-busy="on"] .lbl-idle { display: none; }
html[data-ovc-busy="on"][data-ovc-instrument="PIX"] .lbl-busy--pix,
html[data-ovc-busy="on"]:not([data-ovc-instrument="PIX"]) .lbl-busy--card { display: inline; }

.guarantees { list-style: none; padding: 0; margin: 16px 0 14px; font-size: 14px; color: var(--graphite); display: grid; gap: 6px; text-align: center; }
.guarantees a { color: var(--bottle); font-weight: 700; }
.endorse--dark { justify-content: center; background: var(--ink); border-radius: 10px; border: 0; padding: 12px; }
.endorse--dark .endorse__by { color: var(--bone); }
.panel__seal { margin-top: 18px; }
.company { text-align: center; font-size: 12px; color: #8a8578; margin: 12px 0 24px; }

.notice { display: none; background: var(--error-bg); border: 1px solid #F3C1BC; border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
.notice p { margin: 0 0 10px; }
.notice__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.notice--card-pending { background: var(--bone); border-color: var(--line); }
html[data-ovc-state="card-declined"] .notice--declined,
html[data-ovc-state="card-pending"] .notice--card-pending,
html[data-ovc-state="failed"] .notice--failed { display: block; }
.err--general { margin: 0 0 12px; text-align: center; }

/* 9. Barra fixa */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--ink); color: var(--bone);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  transition: transform .2s ease;
}
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bar__total { display: flex; flex-direction: column; min-width: 0; }
.bar__value { font-size: 18px; font-stretch: 100%; font-variation-settings: "wdth" 100; line-height: 1.1; overflow-wrap: anywhere; }
.bar__arrival { font-size: 9px; color: #b9b4a6; margin-top: 4px; }
.bar__arrival:empty { display: none; }
.bar .btn { flex: none; min-height: 52px; font-size: 13px; font-stretch: 100%; font-variation-settings: "wdth" 100; padding: 0 14px; white-space: nowrap; }
@media (max-width: 760px) {
  html[data-ovc-keyboard="open"] .bar { transform: translateY(110%); }
}

/* Telas de desfecho (Pix, pago, expirado) */
.panel { display: none; padding: 26px 0 32px; text-align: center; }
.panel__order { color: #8a8578; margin: 0 0 18px; text-align: right; }
.panel__kicker { color: var(--bottle); margin: 0 0 6px; }
.panel__title { font-size: 32px; margin: 0 0 8px; }
.panel__line { margin: 0 0 18px; color: var(--graphite); }
.pix__qr { width: 240px; height: 240px; margin: 0 auto 10px; image-rendering: pixelated; background: #fff; border-radius: 8px; padding: 8px; }
.pix__expires { color: var(--graphite); margin: 0 0 16px; }
.pix__code { font-family: var(--mono); font-size: 11px; word-break: break-all; color: var(--graphite); margin: 14px 0; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.panel__note { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 14px; color: var(--graphite); }
.copy-done { display: none; }
html[data-ovc-copied="on"] .copy-idle { display: none; }
html[data-ovc-copied="on"] .copy-done { display: inline; }
.panel__arrival:has(span:empty) { display: none; }
.panel--paid .panel__title { color: var(--bottle); }

html[data-ovc-state="pix"] .panel--pix,
html[data-ovc-state="paid"] .panel--paid,
html[data-ovc-state="expired"] .panel--expired,
html[data-ovc-state="unavailable"] .panel--unavailable { display: block; }
html[data-ovc-state="pix"] .shop,
html[data-ovc-state="paid"] .shop,
html[data-ovc-state="expired"] .shop,
html[data-ovc-state="unavailable"] .shop,
html[data-ovc-state="pix"] .bar,
html[data-ovc-state="paid"] .bar,
html[data-ovc-state="expired"] .bar,
html[data-ovc-state="unavailable"] .bar,
html[data-ovc-state="pix"] .progress,
html[data-ovc-state="paid"] .progress,
html[data-ovc-state="expired"] .progress,
html[data-ovc-state="unavailable"] .progress { display: none; }

/* 23. Rodapé mínimo */
.foot { padding: 18px 0 22px; font-size: 12px; color: #8a8578; text-align: center; border-top: 1px solid var(--line); }
.foot p { margin: 2px 0; }

@media (min-width: 560px) {
  .hero__title { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .spin { animation: none; }
  .bar { transition: none; }
}

/* Link com carrinho: itens do link no lugar dos cards */
.only-cart { display: none; }
[data-ovc-cart="on"] .only-cart { display: revert; }
[data-ovc-cart="on"] .cartbox.only-cart { display: block; }
[data-ovc-cart="on"] .only-pick { display: none; }
.cartbox__lines { list-style: none; margin: 0; padding: 0; background: #fff; border: 1.5px solid var(--bottle); border-radius: 12px; }
.ovc-cart-line { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 15px; }
.ovc-cart-line:first-child { border-top: 0; }
.ovc-cart-line__name { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.ovc-cart-line__qty { color: var(--graphite); white-space: nowrap; }
.ovc-cart-line__price { font-weight: 700; white-space: nowrap; }
.cartbox__note { margin: 8px 0 0; font-size: 13px; color: var(--graphite); }
