:root {
  --bg: #0b0b0b;
  --bg-2: #141414;
  --bg-3: #1c1c1c;
  --line: #2a2a2a;
  --text: #f4efe6;
  --muted: #9a958c;
  --gold: #d4a83a;
  --gold-2: #e6c169;
  --display: 'Bebas Neue', Impact, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.gold-text { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- topo ---------- */
.topbar { background: var(--gold); color: #111; text-align: center; font-weight: 700; font-size: 12.5px; letter-spacing: .08em; padding: 9px 16px; }
.header { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 24px; background: rgba(11, 11, 11, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.icon-btn { background: none; border: 0; cursor: pointer; padding: 6px; color: var(--text); justify-self: start; }
.logo img { height: 38px; width: auto; }
.cart-btn { justify-self: end; display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #111; border: 0; padding: 10px 16px; font-weight: 700; cursor: pointer; letter-spacing: .04em; }

/* ---------- gavetas ---------- */
.drawer { position: fixed; top: 0; bottom: 0; z-index: 50; width: min(420px, 92vw); background: var(--bg-2); border: 0 solid var(--line); transition: transform .3s ease; display: flex; flex-direction: column; }
.drawer.menu { left: 0; transform: translateX(-102%); border-right-width: 1px; padding: 0 0 24px; }
.drawer.cart { right: 0; transform: translateX(102%); border-left-width: 1px; }
.drawer.on { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 22px; letter-spacing: .06em; }
.drawer.menu a { padding: 14px 22px; font-family: var(--display); font-size: 26px; letter-spacing: .04em; border-bottom: 1px solid var(--line); }
.drawer.menu a:hover { color: var(--gold); }
.menu-social { display: flex; gap: 18px; padding: 22px; margin-top: auto; }
.menu-social a { font-family: var(--sans) !important; font-size: 14px !important; border: 0 !important; padding: 0 !important; color: var(--gold); }
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.cart-lines { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-line { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 70px; aspect-ratio: 4 / 5; object-fit: cover; background: #e9e6e0; }
.cart-line b { display: block; font-weight: 500; line-height: 1.3; }
.cart-line small { color: var(--muted); }
.cart-price { text-align: right; display: grid; gap: 4px; justify-items: end; align-content: start; }
.cart-foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.cart-foot .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.cart-foot .row.gold { color: var(--gold); }
.cart-empty { padding: 40px 22px; display: grid; gap: 16px; justify-items: center; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 6px; }
.qty button { width: 30px; height: 30px; background: none; border: 0; cursor: pointer; font-size: 16px; }
.qty span { min-width: 26px; text-align: center; font-size: 14px; }
.qty.big button { width: 42px; height: 42px; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 12px; padding: 0; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 30px; font-family: var(--display); font-size: 20px; letter-spacing: .08em; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; text-align: center; }
.btn.gold { background: var(--gold); color: #111; }
.btn.gold:hover { background: var(--gold-2); }
.btn.outline { background: transparent; border-color: rgba(244, 239, 230, .35); color: var(--text); }
.btn.outline:hover { border-color: var(--gold); color: var(--gold); }
.btn.block { width: 100%; }

/* ---------- capa ---------- */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; padding: 60px 6vw; overflow: hidden; background: radial-gradient(ellipse at 70% 40%, #2a2416, #0b0b0b 70%); isolation: isolate; }
.hero-img { position: absolute; right: 0; top: 0; height: 100%; width: 58%; object-fit: cover; object-position: center top; z-index: -2; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%); filter: saturate(.9) contrast(1.05); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b0b0b 0%, rgba(11, 11, 11, .9) 42%, rgba(11, 11, 11, .35) 75%, rgba(11, 11, 11, .15) 100%); }
.hero-in { max-width: 640px; display: grid; gap: 22px; position: relative; }
.badge { justify-self: start; border: 1px solid var(--gold); color: var(--gold); font-family: var(--display); letter-spacing: .14em; font-size: 15px; padding: 8px 16px; }
.hero h1 { font-family: var(--display); font-size: clamp(56px, 9vw, 112px); line-height: .92; letter-spacing: .02em; text-transform: uppercase; }
.hero h1 span { color: var(--gold); }
.hero-verse { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.2vw, 24px); color: var(--gold); }
.hero-text { color: #cfc8bc; max-width: 520px; font-size: 16px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 14px 0; white-space: nowrap; }
.marquee div { display: inline-block; animation: run 60s linear infinite; font-family: var(--display); font-size: 20px; letter-spacing: .1em; color: var(--gold); }
@keyframes run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee div { animation: none; } }

/* ---------- seções ---------- */
.section { padding: 80px 6vw; }
.page-top { padding-top: 48px; }
.sec-head { text-align: center; display: grid; gap: 8px; justify-items: center; margin-bottom: 40px; }
.kicker { color: var(--gold); font-family: var(--display); letter-spacing: .2em; font-size: 16px; }
.sec-head h2 { font-family: var(--display); font-size: clamp(40px, 6vw, 68px); line-height: 1; letter-spacing: .03em; }
.sec-head p { color: var(--muted); max-width: 560px; }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters a { border: 1px solid var(--line); padding: 8px 18px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.filters a.on, .filters a:hover { border-color: var(--gold); color: var(--gold); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(212, 168, 58, .6); transform: translateY(-3px); }
.card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #e9e6e0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .6s; }
.card-img .alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-img .alt { opacity: 1; }
.card:hover .card-img img:first-child { transform: scale(1.03); }
.tag { position: absolute; top: 12px; left: 12px; background: #111; color: var(--text); font-family: var(--display); letter-spacing: .1em; font-size: 14px; padding: 4px 10px; }
.tag.gold { background: var(--gold); color: #111; }
.card-body { padding: 16px 16px 18px; display: grid; gap: 4px; }
.verse { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 16px; }
.card-body h3 { font-family: var(--display); font-size: 25px; letter-spacing: .03em; line-height: 1.05; }
.card-body .muted { font-size: 13px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.price .now { font-weight: 700; font-size: 18px; }
.price s { color: var(--muted); font-size: 14px; }
.price em { font-style: normal; background: var(--gold); color: #111; font-weight: 700; font-size: 12px; padding: 1px 6px; }
.price.big .now { font-size: 30px; }
.left { height: 4px; background: var(--bg-3); margin-top: 8px; }
.left i { display: block; height: 100%; background: var(--gold); }
.card-body small { font-size: 12px; }

.how { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1080px; }
.steps li { border: 1px solid var(--line); padding: 28px; display: grid; gap: 10px; background: var(--bg); }
.steps b { font-family: var(--display); font-size: 44px; color: var(--gold); line-height: 1; }
.steps h4 { font-family: var(--display); font-size: 26px; letter-spacing: .03em; }
.steps p { color: var(--muted); }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.perks div { padding: 30px 24px; display: grid; gap: 4px; text-align: center; border-right: 1px solid var(--line); }
.perks div:last-child { border-right: 0; }
.perks b { font-family: var(--display); font-size: 22px; letter-spacing: .06em; color: var(--gold); }
.perks span { color: var(--muted); font-size: 13.5px; }

.manifesto { padding: 90px 6vw; text-align: center; display: grid; gap: 22px; justify-items: center; background: radial-gradient(ellipse at center, #1d1810, var(--bg) 70%); }
.manifesto > span { font-size: 34px; color: var(--gold); }
.manifesto p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 32px); max-width: 860px; line-height: 1.35; }
.manifesto small { font-family: var(--display); letter-spacing: .2em; color: var(--gold); font-size: 16px; }

/* ---------- produto ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding: 48px 6vw 80px; align-items: start; }
.pdp-main { aspect-ratio: 4 / 5; background: #e9e6e0; overflow: hidden; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.pdp-thumbs button { width: 78px; aspect-ratio: 4 / 5; padding: 0; border: 2px solid transparent; background: #e9e6e0; cursor: pointer; overflow: hidden; }
.pdp-thumbs button.on { border-color: var(--gold); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { display: grid; gap: 16px; position: sticky; top: 96px; }
.pdp-info h1 { font-family: var(--display); font-size: clamp(42px, 5vw, 64px); line-height: .95; letter-spacing: .02em; }
.launch-box { border: 1px solid var(--gold); padding: 14px 16px; display: grid; gap: 6px; }
.launch-box b { color: var(--gold); font-family: var(--display); letter-spacing: .08em; font-size: 20px; }
.pix-note { color: var(--muted); font-size: 14px; }
.pix-note b { color: var(--text); }
.opt { display: grid; gap: 8px; }
.opt > span { font-family: var(--display); letter-spacing: .14em; font-size: 15px; color: var(--muted); }
.opt.need > span { color: var(--gold); }
.opt.need .chips button { border-color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-width: 48px; height: 44px; padding: 0 14px; background: transparent; border: 1px solid var(--line); cursor: pointer; font-weight: 500; }
.chips button.on { background: var(--text); color: #111; border-color: var(--text); }
.buy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.desc { display: grid; gap: 12px; color: #d4cec4; border-top: 1px solid var(--line); padding-top: 18px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.measures span { font-family: var(--display); letter-spacing: .14em; color: var(--muted); }
.measures table { border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.measures th, .measures td { padding: 6px 14px 6px 0; text-align: left; }
.measures th { color: var(--muted); font-weight: 500; }

/* ---------- checkout / pedido ---------- */
.co-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; max-width: 1100px; margin: 0 auto; }
.co-form, .co-side { background: var(--bg-2); border: 1px solid var(--line); padding: 26px; display: grid; gap: 14px; align-content: start; }
.co-form h3, .co-side h3 { font-family: var(--display); font-size: 26px; letter-spacing: .05em; margin-top: 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.f input, .f textarea { height: 48px; padding: 0 14px; background: var(--bg); border: 1px solid var(--line); color: var(--text); font-size: 15px; }
.f textarea { height: auto; padding: 12px 14px; resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--gold); }
.f.need input { border-color: var(--gold); }
.sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sum-line small { display: block; color: var(--muted); }
.sum-line.total { font-size: 17px; border-bottom: 0; }
.pay { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); padding: 14px; cursor: pointer; }
.pay:has(input:checked) { border-color: var(--gold); background: rgba(212, 168, 58, .07); }
.pay input { accent-color: var(--gold); margin-top: 4px; }
.pay span { display: grid; gap: 2px; }
.pay small { color: var(--muted); }
.pix-box { display: grid; grid-template-columns: auto 1fr; gap: 32px; max-width: 900px; margin: 0 auto 32px; background: var(--bg-2); border: 1px solid var(--line); padding: 28px; }
.qr { background: #fff; padding: 10px; align-self: start; }
.qr svg { display: block; width: 240px; height: 240px; }
.pix-side { display: grid; gap: 14px; align-content: start; }
.pix-side textarea { font-size: 12px; word-break: break-all; }
.mini-steps { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: #d4cec4; font-size: 14px; }
.order-items { max-width: 900px; margin: 0 auto; }
.orders { max-width: 760px; margin: 0 auto; display: grid; gap: 8px; }
.order-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 18px; border: 1px solid var(--line); padding: 14px 18px; background: var(--bg-2); align-items: center; }
.order-row:hover { border-color: var(--gold); }

/* ---------- rodapé ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 6vw 36px; display: grid; gap: 16px; justify-items: center; text-align: center; }
.foot-logo { height: 54px; width: auto; }
.foot-verse { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 19px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; font-size: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--gold); }
.footer small { color: #5f5b55; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 35; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--gold); color: #111; padding: 12px 20px; font-weight: 700; opacity: 0; pointer-events: none; transition: .25s; z-index: 60; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* web app instalado (iPhone/Android): respeita a área do relógio e do gesto */
@media (display-mode: standalone) {
  .topbar { padding-top: calc(9px + env(safe-area-inset-top)); }
  .wa-float { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
}

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .pdp, .co-grid { grid-template-columns: 1fr; gap: 28px; }
  .pdp-info { position: static; }
  .steps { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  .perks div:nth-child(2) { border-right: 0; }
  .perks div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pix-box { grid-template-columns: 1fr; justify-items: center; }
}
@media (max-width: 600px) {
  .header { padding: 10px 16px; }
  .logo img { height: 30px; }
  .cart-btn { padding: 8px 12px; }
  .hero { min-height: 82vh; padding: 48px 16px; align-items: flex-end; }
  .hero-img { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero::before { background: linear-gradient(180deg, rgba(11, 11, 11, .25) 0%, rgba(11, 11, 11, .7) 45%, #0b0b0b 85%); }
  .section { padding: 56px 16px; }
  .pdp { padding: 24px 16px 56px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 12px; }
  .card-body h3 { font-size: 20px; }
  .buy { grid-template-columns: 1fr; }
  .btn { min-height: 50px; padding: 0 18px; font-size: 18px; }
  .two { grid-template-columns: 1fr; }
  .co-form, .co-side, .pix-box { padding: 18px; }
  .order-row { grid-template-columns: 1fr auto; }
  .topbar { font-size: 11px; }
}
