/* Nexo Tech · loja. Cores tiradas da logo: azul-marinho, azul e ciano. */
:root {
  --navy: #0b1f4b;
  --blue: #0b5cff;
  --blue-dark: #0848c9;
  --cyan: #00a8e8;
  --ink: #0d1b33;
  --muted: #5a6a82;
  --line: #e2e8f1;
  --surface: #f4f7fb;
  --white: #ffffff;
  --green: #0a8f5c;
  --green-bg: #e7f7ef;
  --warn-bg: #fff6e0;
  --warn-ink: #7a5300;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13, 27, 51, 0.06), 0 8px 24px rgba(13, 27, 51, 0.06);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 0.5em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.section { padding-top: 48px; padding-bottom: 8px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.icon { display: inline-flex; width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; }
.icon svg { width: 100%; height: 100%; }

/* Barra de aviso + cabeçalho */
.announce { background: var(--navy); color: #dfe8ff; font-size: 0.85rem; text-align: center; padding: 7px 16px; }
.announce strong { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand img { height: 32px; width: auto; }
.header-nav { display: flex; gap: 20px; margin-left: auto; }
.header-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.header-nav a:hover { color: var(--blue); }
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: var(--navy); }
.cart-link:hover { background: var(--surface); }
.cart-link .icon { width: 26px; height: 26px; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 0.72rem; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 640px) {
  .header-nav { gap: 14px; }
  .header-nav a:first-child { display: none; }
  .brand img { height: 28px; }
}

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-primary:disabled { background: #9db6e8; cursor: not-allowed; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-lg { min-height: 52px; padding: 12px 24px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--surface), #fff); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 800; color: var(--blue); margin-bottom: 10px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 36ch; }
.hero-price { font-size: 1.05rem; }
.hero-price strong { font-size: 1.6rem; color: var(--navy); }
.hero-price span { display: block; color: var(--green); font-weight: 700; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hero-media img { border-radius: 20px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; padding-bottom: 28px; }
  .hero-media { order: -1; }
  .hero-actions .btn { flex: 1; }
}

/* Faixa de confiança */
.trust { border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.trust-list li { display: flex; gap: 12px; align-items: center; }
.trust-list .icon { width: 30px; height: 30px; color: var(--blue); }
.trust-list strong { display: block; color: var(--navy); font-size: 0.95rem; }
.trust-list span { color: var(--muted); font-size: 0.82rem; }
@media (max-width: 820px) { .trust-list { grid-template-columns: 1fr 1fr; } }

/* Grade de produtos */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cfd9e8; }
.card-media { position: relative; background: var(--surface); }
.card-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 14px 16px 18px; }
.card-body h3 { margin-bottom: 6px; }
.price { margin: 0; color: var(--muted); font-size: 0.9rem; }
.price strong { color: var(--navy); font-size: 1.2rem; }
.price-pix { margin: 2px 0 0; color: var(--green); font-weight: 700; font-size: 0.9rem; }
.badge { position: absolute; left: 10px; top: 10px; background: #fff; color: var(--navy); font-size: 0.74rem; font-weight: 800; padding: 5px 9px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); }
.badge-fast { background: var(--green-bg); color: var(--green); }
.badge-promo { left: auto; right: 10px; background: var(--navy); color: #fff; }
.badge-inline { position: static; display: inline-block; margin-bottom: 10px; box-shadow: none; }
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 10px 12px 14px; }
  .card-body h3 { font-size: 0.92rem; }
  .price strong { font-size: 1.05rem; }
  .badge { font-size: 0.66rem; padding: 4px 7px; left: 6px; top: 6px; }
  .badge-promo { display: none; }
}

/* Faixa de promoção */
.promo-band { background: var(--navy); color: #dfe8ff; border-radius: 20px; padding: 32px; background-image: radial-gradient(circle at 90% 10%, rgba(0, 168, 232, 0.35), transparent 45%); }
.promo-band h2 { color: #fff; }
.promo-band .eyebrow { color: var(--cyan); }
.promo-band p:last-child { margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Página de produto */
.crumbs { padding-top: 16px; font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding-top: 16px; }
.gallery-main img { border-radius: 18px; background: var(--surface); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: none; cursor: pointer; width: 84px; }
.thumb.is-active { border-color: var(--blue); }
.thumb img { aspect-ratio: 4 / 3; object-fit: cover; }
.buybox h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.summary { color: var(--muted); }
.price-box { background: var(--surface); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; }
.price-main { font-size: 1.9rem; font-weight: 800; color: var(--navy); margin: 0; letter-spacing: -0.02em; }
.price-box .price-pix { font-size: 1rem; margin-top: 4px; }
.price-box .price-pix .icon { color: var(--green); }
.price-box .small { margin: 4px 0 0; }
.promo-hint { background: #eaf1ff; color: var(--navy); border-radius: 10px; padding: 10px 14px; font-size: 0.92rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-weight: 700; font-size: 0.9rem; color: var(--navy); padding: 0; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; }
.field input:focus, .field select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.15); }
.field.has-error input, .field.has-error select { border-color: #d33; }
.field-error { color: #c62828; font-size: 0.8rem; min-height: 0; }
.qty-field input { max-width: 110px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 0.92rem; background: #fff; }
.chip input:checked + span { border-color: var(--blue); background: #eef4ff; color: var(--navy); }
.chip input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.buy-actions { display: grid; gap: 10px; }
.form-error { color: #c62828; font-weight: 600; }
.delivery { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 0.92rem; }
.delivery .icon { color: var(--blue); margin-top: 2px; }
.highlights { padding-left: 1.2em; margin: 16px 0 0; }
.highlights li { margin-bottom: 4px; }
.product-info { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
.specs th { width: 40%; color: var(--muted); font-weight: 600; padding-right: 12px; }
.notes { background: var(--warn-bg); color: var(--warn-ink); border-radius: var(--radius); padding: 18px 20px; }
.notes h2 { color: var(--warn-ink); font-size: 1.1rem; }
.notes ul { margin: 0; padding-left: 1.2em; }
.notes li { margin-bottom: 6px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(13, 27, 51, 0.08); }
.sticky-buy strong { display: block; color: var(--navy); font-size: 1.1rem; }
@media (min-width: 821px) { .sticky-buy { display: none !important; } }
@media (max-width: 820px) {
  .product, .product-info { grid-template-columns: 1fr; gap: 20px; }
}

/* Carrinho */
.cart-lines { list-style: none; padding: 0; margin: 0 0 20px; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { width: 76px; border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
.cart-line h3 { font-size: 0.98rem; margin: 0 0 2px; }
.cart-line .opts { color: var(--muted); font-size: 0.85rem; margin: 0 0 8px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; }
.qty button { width: 38px; height: 38px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--navy); }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 0.85rem; margin-left: 10px; }
.line-price { text-align: right; font-weight: 700; color: var(--navy); }
.line-price s { display: block; color: var(--muted); font-weight: 400; font-size: 0.82rem; }
.totals { background: var(--surface); border-radius: var(--radius); padding: 18px; }
.totals p { display: flex; justify-content: space-between; margin: 0 0 8px; }
.totals .grand { font-size: 1.15rem; font-weight: 800; color: var(--navy); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.totals .pix { color: var(--green); font-weight: 700; }
.hint-box { background: #eaf1ff; border-radius: 10px; padding: 10px 14px; color: var(--navy); font-size: 0.92rem; margin-bottom: 16px; }
.empty { text-align: center; padding: 40px 0; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0 0 20px; min-width: 0; }
.box legend { font-weight: 800; color: var(--navy); font-size: 1.1rem; padding: 0 6px; margin-left: -6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .full { grid-column: 1 / -1; }
.cep-status { align-self: center; margin: 0; }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--blue); background: #f3f7ff; }
.pay-option input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); }
.pay-option small { display: block; color: var(--muted); }
.checkout-side { position: sticky; top: 84px; }
.summary-lines { list-style: none; padding: 0; margin: 0 0 12px; }
.summary-lines li { display: flex; justify-content: space-between; gap: 10px; font-size: 0.92rem; padding: 6px 0; }
.summary-lines small { display: block; color: var(--muted); }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; margin: 14px 0 4px; }
.consent-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.alert { background: var(--warn-bg); color: var(--warn-ink); padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; }
@media (max-width: 820px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-side { position: static; }
}
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }

/* Pedido */
.steps { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: s; }
.steps li { position: relative; padding-top: 34px; font-size: 0.82rem; color: var(--muted); text-align: center; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); font-weight: 800; font-size: 0.8rem; }
.steps li.done { color: var(--navy); font-weight: 700; }
.steps li.done::before { content: '✓'; background: var(--green); border-color: var(--green); color: #fff; }
.order-items { list-style: none; padding: 0; margin: 0 0 12px; }
.order-items li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.order-items small { display: block; color: var(--muted); }
.order-total { display: flex; justify-content: space-between; font-size: 1.05rem; }
.tracking code { font-size: 1.05rem; background: var(--surface); padding: 2px 8px; border-radius: 6px; }

/* Texto institucional */
.prose h2 { font-size: 1.2rem; margin-top: 1.6em; }
.prose li { margin-bottom: 6px; }
.plain { list-style: none; padding: 0; }

/* Rodapé */
.site-footer { margin-top: 64px; background: var(--surface); border-top: 1px solid var(--line); padding: 40px 0 24px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
.footer-logo { height: 28px; width: auto; margin-bottom: 10px; }
.site-footer h2 { font-size: 0.95rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; color: var(--muted); font-size: 0.82rem; }
.footer-legal p { margin: 0 0 4px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* WhatsApp flutuante + consentimento */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 25; width: 54px; height: 54px; border-radius: 50%; background: #1faa53; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.wa-float .icon { width: 30px; height: 30px; }
body:has(.sticky-buy:not([hidden])) .wa-float { bottom: 84px; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 16px; font-size: 0.9rem; }
.consent p { margin: 0 0 12px; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Calculadora de prazo */
.ship-calc { margin: 16px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ship-calc label { display: block; font-weight: 700; font-size: 0.9rem; color: var(--navy); margin-bottom: 8px; }
.ship-row { display: flex; gap: 8px; }
.ship-row input { flex: 1; min-width: 0; min-height: 44px; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.ship-row input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.15); }
.ship-result { margin: 10px 0 4px; font-size: 0.92rem; }
.ship-result:empty { display: none; }
.ship-result.is-ok strong:first-child { color: var(--green); }
.ship-result.is-error { color: #c62828; }
.ship-result small { display: block; color: var(--muted); margin-top: 4px; }
.ship-calc > a { display: inline-block; margin-top: 4px; }

/* Carrossel de destaques da página inicial */
.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; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-title { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; }
.hero-dots { display: flex; justify-content: center; gap: 8px; padding-bottom: 20px; margin-top: -12px; }
.hero-dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: #c8d3e4; cursor: pointer; transition: width 0.3s, background 0.3s; }
.hero-dot.is-active { width: 28px; background: var(--blue); }
@media (max-width: 820px) { .hero-dots { margin-top: -16px; } }

/* ═══════════ Página inicial viva (efeitos adaptados da biblioteca Não Codei) ═══════════ */

/* Carrossel: palco com setas */
.hero-stage { position: relative; }
.hero-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 1.6rem; line-height: 1; display: grid; place-items: center; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.hero-arrow:hover { border-color: var(--navy); transform: scale(1.06); }
.hero-arrow span { margin-top: -3px; }

/* Bolinhas viram barrinhas de progresso (a11 barra de progresso) */
.hero-nav { display: flex; justify-content: center; align-items: center; gap: 16px; padding-bottom: 22px; margin-top: -10px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { position: relative; overflow: hidden; width: 10px; height: 10px; }
.hero-dot.is-active { width: 40px; background: #c8d3e4; }
.hero-dot-fill { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active .hero-dot-fill { animation: heroFill var(--hero-ms, 5s) linear forwards; }
.hero[data-paused] .hero-dot.is-active .hero-dot-fill { animation-play-state: paused; }
@keyframes heroFill { to { transform: scaleX(1); } }

/* Entrada do slide: texto em cascata (a05) e foto aproximando de leve */
.hero[data-animate] .hero-slide .hero-copy > * { opacity: 0; transform: translateY(18px); }
.hero[data-animate] .hero-slide.is-active .hero-copy > * { animation: upIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero[data-animate] .hero-slide.is-active .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero[data-animate] .hero-slide.is-active .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero[data-animate] .hero-slide.is-active .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero[data-animate] .hero-slide.is-active .hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.hero-media { overflow: hidden; border-radius: 20px; }
.hero[data-animate] .hero-slide .hero-media img { transform: scale(1.06); transition: transform 6s ease-out; }
.hero[data-animate] .hero-slide.is-active .hero-media img { transform: scale(1); }
@keyframes upIn { to { opacity: 1; transform: none; } }

/* Brilho que atravessa o botão (a10) */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: translateX(-150%) skewX(-20deg); pointer-events: none; }
.hero-slide.is-active .btn-shine::after, .spotlight .btn-shine::after { animation: shine 5s ease-in-out infinite; }
.is-offscreen .btn-shine::after { animation-play-state: paused; }
@keyframes shine { 0%, 70% { transform: translateX(-150%) skewX(-20deg); } 100% { transform: translateX(350%) skewX(-20deg); } }

/* Faixa de vantagens correndo (a17 esteira infinita) */
.marquee { position: relative; background: var(--navy); color: #dfe8ff; overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--navy), transparent); }
.is-offscreen .marquee-track { animation-play-state: paused; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; will-change: transform; }
.marquee-list { display: flex; gap: 44px; list-style: none; margin: 0; padding: 14px 22px; }
.marquee-list li { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 600; font-size: 0.95rem; }
.marquee-list .icon { color: var(--cyan); width: 22px; height: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Categorias */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: inherit; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd9e8; }
.cat-imgs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 140px; }
.cat-imgs img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; background: var(--surface); }
.cat-imgs img:first-child { grid-row: span 2; }
.cat-imgs img:only-child { grid-column: span 2; }
.cat-info strong { display: block; color: var(--navy); font-size: 1.05rem; }
.cat-info small { color: var(--muted); }
.cat-arrow { position: absolute; right: 16px; bottom: 16px; color: var(--blue); font-weight: 800; transition: transform 0.25s; }
.cat-tile:hover .cat-arrow { transform: translateX(4px); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cat-imgs { height: 100px; } }

/* Vitrine "Em destaque" */
.spotlight { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding: 28px; border-radius: 24px; background: linear-gradient(135deg, #eef4ff, #f6fbff 55%, #e9f7fd); border: 1px solid #dbe6f7; }
.spotlight-media { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.spotlight-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s ease; }
.spotlight:hover .spotlight-media img { transform: scale(1.03); }
.spotlight-tag { position: absolute; top: 14px; left: 14px; background: var(--navy); color: #fff; font-weight: 800; font-size: 0.78rem; padding: 6px 12px; border-radius: 999px; letter-spacing: 0.04em; }
.spotlight-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; }
.spotlight-list li { display: flex; gap: 10px; align-items: baseline; }
.spotlight-list li::before { content: "\2713"; color: var(--green); font-weight: 800; }
@media (max-width: 820px) { .spotlight { grid-template-columns: 1fr; padding: 16px; gap: 18px; } }

/* Filtro de categorias (j21 galeria com filtro) */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip-btn { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; }
.chip-btn span { color: var(--muted); font-weight: 600; margin-left: 2px; }
.chip-btn:hover { border-color: var(--navy); }
.chip-btn.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-btn.is-on span { color: #b9c8e6; }
.card.is-out { display: none; }
@media (max-width: 560px) { .filter-bar { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; } .chip-btn { flex: none; } }

/* Cards: segunda foto ao passar o mouse, categoria e chamada */
.card-media { overflow: hidden; }
.card-media img { transition: transform 0.5s ease, opacity 0.35s ease; }
.card-hover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.card:hover .card-media.has-hover .card-hover-img { opacity: 1; }
.card:hover .card-media img { transform: scale(1.04); }
.card-cat { margin: 0 0 4px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); }
.card-cta { display: inline-block; margin-top: 10px; font-weight: 800; font-size: 0.88rem; color: var(--navy); transition: color 0.2s; }
.card-cta span { display: inline-block; transition: transform 0.2s; }
.card:hover .card-cta { color: var(--blue); }
.card:hover .card-cta span { transform: translateX(4px); }
.badge-hot { left: 10px; top: 10px; background: var(--blue); color: #fff; }
.badge-hot + .badge-promo { top: auto; bottom: 10px; }
@media (max-width: 560px) { .card-cta { display: none; } .card-cat { font-size: 0.64rem; } }

/* Subir em cascata ao rolar (a02 + a05) */
.js .reveal .card, .js .reveal .cat-tile { opacity: 0; transform: translateY(22px); }
.reveal.run .card, .reveal.run .cat-tile { animation: upIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.js .reveal > .spotlight, .js .reveal > .promo-band, .js .reveal > .story, .js .faq.reveal > * { opacity: 0; transform: translateY(22px); }
.reveal.run > .spotlight, .reveal.run > .promo-band, .reveal.run > .story, .faq.reveal.run > * { animation: upIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Faixa da promoção com gradiente que se move devagar (a20) */
.promo-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background-image: linear-gradient(120deg, #0b1f4b, #10306f 55%, #0a5bd8); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eaf1ff; }

/* Sobre nós (página inicial) */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.story-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.story-points li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border-radius: var(--radius); padding: 14px 16px; }
.story-points .icon { color: var(--blue); width: 26px; height: 26px; margin-top: 2px; }
.story-points strong { display: block; color: var(--navy); }
.story-points span span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } }

/* Sem animação para quem pediu menos movimento */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .btn-shine::after, .hero-dot.is-active .hero-dot-fill { animation: none !important; }
  .reveal .card, .reveal .cat-tile, .reveal > *, .hero-slide .hero-copy > * { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* Atraso da cascata por posição (sem style inline, por causa da política de segurança) */
.reveal.run .card:nth-child(8n+2), .reveal.run .cat-tile:nth-child(2) { animation-delay: 70ms; }
.reveal.run .card:nth-child(8n+3), .reveal.run .cat-tile:nth-child(3) { animation-delay: 140ms; }
.reveal.run .card:nth-child(8n+4), .reveal.run .cat-tile:nth-child(4) { animation-delay: 210ms; }
.reveal.run .card:nth-child(8n+5), .reveal.run .cat-tile:nth-child(5) { animation-delay: 280ms; }
.reveal.run .card:nth-child(8n+6), .reveal.run .cat-tile:nth-child(6) { animation-delay: 350ms; }
.reveal.run .card:nth-child(8n+7), .reveal.run .cat-tile:nth-child(7) { animation-delay: 420ms; }
.reveal.run .card:nth-child(8n+8), .reveal.run .cat-tile:nth-child(8) { animation-delay: 490ms; }

/* ═══════════════════════════════════════════════════════════════════
   TEMA "MESA ILUMINADA" · camada visual por cima do estilo base
   Áreas de vitrine em azul-noite com brilho ciano; páginas em azul-gelo;
   o conector da logo (linha + nó) marca os títulos.
   ═══════════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Sora';
  src: url('/fonts/sora-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --night: #071533;
  --night-2: #0b1f4b;
  --page: #eef3fa;
  --ice: #f6f9fd;
  --signal: #00a8e8;
  --signal-soft: #4fd1ff;
  --mist: #b7c6e6;
  --display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body { background: var(--page); }
h1, h2, h3, .btn, .price strong, .price-main, .hero-price strong, .header-nav a, .chip span, .chip-btn, .cart-count, .card-cta, .drawer-title, .step-n { font-family: var(--display); }
h1, h2 { letter-spacing: -0.025em; }

/* O "nó" da marca nos rótulos: linha curta + ponto, como os conectores do N */
.eyebrow { text-transform: none; letter-spacing: 0; font-family: var(--display); font-weight: 600; font-size: 0.88rem; color: var(--blue); display: flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 26px; height: 8px; flex: none; background: linear-gradient(currentColor, currentColor) left center / 18px 2px no-repeat, radial-gradient(circle, currentColor 3px, transparent 3.6px) right center / 8px 8px no-repeat; }

/* Topo escuro */
.announce { background: #040d22; color: var(--mist); }
.announce strong { color: var(--signal-soft); }
.site-header { background: rgba(7, 21, 51, 0.94); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.header-nav a { color: #dfe8ff; font-weight: 600; }
.header-nav a:hover { color: var(--signal-soft); }
.cart-link { color: #fff; }
.cart-link:hover { background: rgba(255, 255, 255, 0.08); }
.cart-count { background: var(--signal); color: var(--night); }
.cart-count.bump { animation: bump 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

/* Botões */
.btn-primary { background: linear-gradient(180deg, #2a72ff, var(--blue)); box-shadow: 0 6px 18px rgba(11, 92, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-primary:hover { background: linear-gradient(180deg, #3b7dff, var(--blue-dark)); box-shadow: 0 8px 24px rgba(11, 92, 255, 0.38); }
.btn { border-radius: 14px; }

/* Carrossel: palco escuro com luz de tela */
.hero { position: relative; color: #dfe8ff; border-bottom: 0; background:
  radial-gradient(900px 420px at 78% 28%, rgba(0, 168, 232, 0.22), transparent 62%),
  radial-gradient(700px 380px at 8% 100%, rgba(11, 92, 255, 0.28), transparent 60%),
  linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.hero .eyebrow { color: var(--signal-soft); }
.hero-title { color: #fff; }
.hero .lead { color: var(--mist); }
.hero-price { color: var(--mist); }
.hero-price strong { color: #fff; }
.hero-price span { color: var(--signal-soft); }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.hero-media { border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.hero-dot { background: rgba(255, 255, 255, 0.22); }
.hero-dot.is-active { background: rgba(255, 255, 255, 0.22); }
.hero-dot-fill { background: var(--signal); }
.hero-arrow { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.18); }
.hero-arrow:hover { border-color: var(--signal); background: rgba(0, 168, 232, 0.12); }
.hero-nav { padding-bottom: 28px; }

/* Faixa de vantagens */
.marquee { background: #040d22; }
.marquee::before { background: linear-gradient(90deg, #040d22, transparent); }
.marquee::after { background: linear-gradient(270deg, #040d22, transparent); }

/* Títulos de seção com o nó da marca */
.section-head h2, .story h2, .faq h2 { display: flex; align-items: center; gap: 12px; }
.section-head h2::before, .faq h2::before { content: ""; width: 34px; height: 10px; flex: none; background: linear-gradient(var(--signal), var(--signal)) left center / 24px 2px no-repeat, radial-gradient(circle, var(--signal) 4px, transparent 4.6px) right center / 10px 10px no-repeat; }

/* Categorias: blocos escuros que acendem */
.cat-tile { background: var(--night-2); border-color: rgba(255, 255, 255, 0.06); color: #fff; box-shadow: 0 10px 30px rgba(7, 21, 51, 0.18); }
.cat-tile:hover { border-color: rgba(0, 168, 232, 0.6); box-shadow: 0 14px 40px rgba(0, 168, 232, 0.22); }
.cat-info strong { color: #fff; font-family: var(--display); }
.cat-info small { color: var(--mist); }
.cat-arrow { color: var(--signal-soft); }
.cat-imgs img { background: #13295c; }

/* Vitrine "Em destaque": escura, como o carrossel */
.spotlight { border: 0; color: #dfe8ff; background:
  radial-gradient(600px 300px at 20% 30%, rgba(0, 168, 232, 0.2), transparent 65%),
  linear-gradient(135deg, var(--night) 0%, var(--night-2) 100%); box-shadow: 0 24px 60px rgba(7, 21, 51, 0.25); }
.spotlight h2 { color: #fff; }
.spotlight .eyebrow { color: var(--signal-soft); }
.spotlight .lead { color: var(--mist); }
.spotlight-list li { color: #dfe8ff; }
.spotlight-list li::before { color: var(--signal-soft); }
.spotlight .hero-price { color: var(--mist); }
.spotlight .hero-price strong { color: #fff; }
.spotlight .hero-price span { color: var(--signal-soft); }
.spotlight-tag { background: var(--signal); color: var(--night); }
.spotlight-media { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.3); }

/* Cards de produto: objetos claros sobre o azul-gelo */
.card { border-color: #dbe4f0; border-radius: 18px; }
.card:hover { border-color: #9fd9f3; box-shadow: 0 14px 34px rgba(11, 92, 255, 0.12); }
.card-media { background: #e6edf7; }
.card-cat { text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 0.78rem; }
.badge-hot { background: var(--signal); color: var(--night); }
.price strong { font-weight: 800; }
.chip-btn { background: #fff; }
.chip-btn.is-on { background: var(--night-2); border-color: var(--night-2); }

/* Promoção, quem somos, perguntas */
.promo-band { background-image: radial-gradient(500px 240px at 85% 20%, rgba(0, 168, 232, 0.3), transparent 60%), linear-gradient(120deg, var(--night), var(--night-2)); }
.story-points li { background: #fff; border: 1px solid #dbe4f0; }
.faq { background: #fff; border: 1px solid #dbe4f0; border-radius: 22px; padding: 28px; margin-top: 48px; }
@media (max-width: 560px) { .faq { padding: 20px 16px; border-radius: 18px; } }

/* Rodapé escuro */
.site-footer { background: var(--night); border-top: 0; color: var(--mist); }
.site-footer h2 { color: #fff; }
.site-footer a { color: #dfe8ff; }
.site-footer a:hover { color: var(--signal-soft); }
.site-footer .muted, .footer-legal { color: #8ea3c8; }
.footer-legal { border-top-color: rgba(255, 255, 255, 0.08); }

/* ── Página do produto ── */
.crumbs a { color: var(--muted); }
.buybox { background: #fff; border: 1px solid #dbe4f0; border-radius: 22px; padding: 24px; box-shadow: 0 16px 40px rgba(7, 21, 51, 0.06); align-self: start; }
.price-box { background: var(--ice); border: 1px solid #e3eaf4; }
.price-main { font-size: 2.1rem; }
.gallery-frame { position: relative; border-radius: 20px; overflow: hidden; background: #e6edf7; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline: 3px solid var(--signal); outline-offset: -3px; }
.gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.gallery-slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-count { position: absolute; right: 12px; bottom: 12px; background: rgba(7, 21, 51, 0.72); color: #fff; font-family: var(--display); font-weight: 600; font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.gallery-thumbs { overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.thumb { flex: none; }
.thumb.is-active { border-color: var(--signal); box-shadow: 0 0 0 2px rgba(0, 168, 232, 0.25); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; width: max-content; }
.stepper button { width: 46px; height: 46px; border: 0; background: none; font-size: 1.3rem; color: var(--navy); cursor: pointer; }
.stepper button:hover { color: var(--blue); }
.stepper input { width: 48px; min-height: 46px; border: 0; text-align: center; font-family: var(--display); font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-field input { max-width: none; }
.buy-trust { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 0.86rem; color: var(--muted); }
.buy-trust li { display: flex; gap: 8px; align-items: center; }
.buy-trust .icon { color: var(--green); width: 18px; height: 18px; }

/* Barra de compra fixa no celular (sempre visível) */
.sticky-buy { display: none; }
@media (max-width: 820px) {
  .sticky-buy { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #dbe4f0; }
  .sticky-price strong { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--navy); line-height: 1.1; }
  .sticky-price span { font-size: 0.78rem; color: var(--green); font-weight: 700; }
  .sticky-add { width: 48px; padding: 0; }
  .sticky-add .icon { width: 22px; height: 22px; }
  body.has-sticky-buy main { padding-bottom: 84px; }
  body.has-sticky-buy .wa-float { bottom: 88px; }
  .buybox { padding: 18px; border-radius: 18px; }
  .gallery-frame { border-radius: 16px; }
  .gallery-thumbs { display: none; }
  .product { gap: 14px; }
}

/* Gaveta "Adicionado ao carrinho" */
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(4, 13, 34, 0.55); opacity: 0; transition: opacity 0.25s; }
.drawer-backdrop.is-open { opacity: 1; }
.cart-drawer { position: fixed; z-index: 61; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 16px; transform: translateX(100%); transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: -20px 0 60px rgba(7, 21, 51, 0.25); }
.cart-drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-title { margin: 0; display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--green); font-size: 1.05rem; }
.drawer-title .icon { width: 24px; height: 24px; }
.drawer-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--navy); }
.drawer-item { display: flex; gap: 14px; align-items: center; padding: 12px; background: var(--ice); border-radius: 14px; }
.drawer-item img { width: 88px; border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.drawer-item strong { display: block; color: var(--navy); }
.drawer-item span { display: block; font-size: 0.88rem; color: var(--muted); }
.drawer-total { margin: 0; font-size: 0.95rem; }
.drawer-total .pix { color: var(--green); }
.drawer-actions { display: grid; gap: 10px; margin-top: auto; }
@media (max-width: 820px) {
  .cart-drawer { top: auto; left: 0; width: 100%; border-radius: 22px 22px 0 0; transform: translateY(100%); padding-bottom: calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px rgba(7, 21, 51, 0.25); }
  .drawer-actions { margin-top: 4px; }
}

/* ── Carrinho ── */
.cart-lines { background: #fff; border: 1px solid #dbe4f0; border-radius: 18px; padding: 0 16px; }
.cart-line:last-child { border-bottom: 0; }
.qty button { width: 42px; height: 42px; }
.totals { background: #fff; border: 1px solid #dbe4f0; }
.cart-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 0; }
.cart-cta span { display: block; font-size: 0.82rem; color: var(--muted); }
.cart-cta strong { font-family: var(--display); font-size: 1.25rem; color: var(--green); }
@media (max-width: 820px) {
  .cart-cta { position: sticky; bottom: 0; z-index: 20; background: #fff; margin: 16px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #dbe4f0; box-shadow: 0 -8px 24px rgba(7, 21, 51, 0.08); }
  body:has(.cart-cta) .wa-float { bottom: 96px; }
}

/* ── Checkout ── */
.box { border-color: #dbe4f0; border-radius: 18px; }
.box legend { display: flex; align-items: center; gap: 10px; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--night-2); color: #fff; font-size: 0.85rem; font-weight: 700; }
.mobile-summary, .checkout-sticky { display: none; }
@media (max-width: 820px) {
  .mobile-summary { display: block; background: #fff; border: 1px solid #dbe4f0; border-radius: 16px; padding: 14px 16px; margin-bottom: 16px; }
  .mobile-summary summary { display: flex; justify-content: space-between; cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
  .mobile-summary summary::-webkit-details-marker { display: none; }
  .mobile-summary summary span::after { content: " ▾"; color: var(--blue); }
  .mobile-summary[open] summary span::after { content: " ▴"; }
  .mobile-summary [data-summary-mobile] { margin-top: 12px; }
  .checkout-side h2, .checkout-side [data-summary] { display: none; }
  .checkout-submit { display: none; }
  .checkout-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; justify-content: space-between; align-items: center; gap: 12px; background: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #dbe4f0; box-shadow: 0 -8px 24px rgba(7, 21, 51, 0.1); }
  .checkout-sticky span { display: block; font-size: 0.78rem; color: var(--muted); }
  .checkout-sticky strong { font-family: var(--display); font-size: 1.2rem; color: var(--navy); }
  .checkout { padding-bottom: 96px; }
  body:has(.checkout-sticky) .wa-float { display: none; }
}

/* Acessibilidade: sem animação para quem pediu menos movimento */
@media (prefers-reduced-motion: reduce) {
  .cart-drawer, .drawer-backdrop, .cart-count.bump { transition: none !important; animation: none !important; }
  .gallery-track { scroll-behavior: auto; }
}

/* Grade do produto nunca passa da largura da tela */
.product > * { min-width: 0; }
@media (max-width: 820px) { .product { grid-template-columns: minmax(0, 1fr); } }
.hero-actions .btn { white-space: nowrap; }
.chip { position: relative; }
.chip input { width: 1px; height: 1px; inset: 0; }

/* Tela larga: usa a largura do monitor em vez de uma coluna estreita no meio */
.wrap { max-width: 1520px; padding-left: clamp(16px, 3vw, 48px); padding-right: clamp(16px, 3vw, 48px); }
.wrap.narrow { max-width: 760px; }
.grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) {
  .hero-title { font-size: clamp(2.6rem, 1rem + 2vw, 3.6rem); }
  .hero .lead, .spotlight .lead { font-size: 1.2rem; }
  .spotlight h2 { font-size: clamp(2rem, 1rem + 1.4vw, 2.8rem); }
}

/* Card: corpo ocupa a altura toda e o "Ver produto" vira botão no rodapé do card */
.card-body { display: flex; flex-direction: column; flex: 1; }
.card-cta { margin-top: auto; padding-top: 12px; }
.card-cta { display: block; text-align: center; margin-top: auto; padding: 10px 12px; border-radius: 12px; background: var(--ice); border: 1px solid #dbe4f0; color: var(--navy); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.card-body .card-cta { margin-top: auto; }
.card-body > :nth-last-child(2) { margin-bottom: 12px; }
#produtos { scroll-margin-top: 90px; }
.card:hover .card-cta { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (max-width: 560px) { .card-cta { display: none; } }

/* ── Produto solto no destaque: sem quadrado de foto, flutuando sobre um halo de luz ── */
.hero-media.is-cutout, .spotlight-media.is-cutout { position: relative; overflow: visible; border-radius: 0; box-shadow: none; background: none; display: grid; place-items: center; height: clamp(320px, 38vw, 560px); isolation: isolate; }
.is-cutout::before { content: ""; position: absolute; z-index: -1; width: min(86%, 520px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0, 168, 232, 0.42) 0%, rgba(11, 92, 255, 0.2) 42%, transparent 70%); }
/* Órbita com o "nó" da marca */
.is-cutout::after { content: ""; position: absolute; z-index: -1; width: min(78%, 470px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(79, 209, 255, 0.22); background: radial-gradient(circle, var(--signal-soft) 4px, transparent 5px) 85% 14% / 10px 10px no-repeat; }
.cutout-float { display: grid; place-items: center; width: 100%; height: 100%; }
.is-cutout img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: auto; border-radius: 0; box-shadow: none; background: none; filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.5)); }
.hero .hero-media.is-cutout img, .hero[data-animate] .hero-slide .hero-media.is-cutout img { transform: none; transition: none; }
/* Entrada: o produto chega girando de leve quando o slide aparece; depois flutua */
.hero-slide.is-active .is-cutout img { animation: cutIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-slide.is-active .cutout-float, .spotlight .cutout-float { animation: floaty 5s ease-in-out 0.9s infinite alternate; }
.is-offscreen .cutout-float { animation-play-state: paused; }
@keyframes cutIn { from { opacity: 0; transform: translateX(40px) scale(0.9) rotate(-5deg); } to { opacity: 1; transform: none; } }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-12px); } }
.spotlight-visual { position: relative; }
.spotlight .spotlight-media.is-cutout { height: clamp(280px, 32vw, 460px); }
.spotlight-media.is-cutout img { transition: transform 0.5s ease; }
.spotlight:hover .spotlight-media.is-cutout img { transform: scale(1.04) rotate(-2deg); }
@media (max-width: 820px) {
  .hero-media.is-cutout { height: clamp(220px, 62vw, 320px); }
  .spotlight .spotlight-media.is-cutout { height: clamp(220px, 62vw, 320px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active .is-cutout img, .cutout-float { animation: none !important; }
}
.cutout-float { position: absolute; inset: 4% 6%; display: block; width: auto; height: auto; }
.is-cutout img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.hero-media.is-cutout { height: clamp(340px, 42vw, 620px); }
.cutout-float { inset: 0 2%; }
@media (max-width: 820px) { .hero-media.is-cutout { height: clamp(240px, 70vw, 360px); } }

/* ── Celular: página inicial enxuta, cada bloco cabe na tela ── */
.cat-cut { display: none; }
@media (max-width: 640px) {
  /* Carrossel cabe inteiro na tela, com bolinhas visíveis */
  .hero-inner { gap: 6px; padding-top: 10px; padding-bottom: 6px; }
  .hero-media.is-cutout { height: clamp(170px, 46vw, 210px); }
  .is-cutout::before { width: min(70%, 260px); }
  .is-cutout::after { width: min(62%, 230px); }
  .hero-title { font-size: 1.55rem; line-height: 1.15; margin-bottom: 6px; }
  .hero .lead { font-size: 0.95rem; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero .eyebrow { margin-bottom: 4px; }
  .hero-price { margin: 0 0 12px; }
  .hero-price strong { font-size: 1.45rem; }
  .hero-actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
  .hero-actions .btn { padding: 12px 10px; font-size: 1rem; min-height: 48px; }
  .hero-arrow { display: none; }
  .hero-nav { padding-bottom: 16px; margin-top: 4px; }

  /* Categorias: fileira que desliza para o lado, produto recortado no azul */
  .cat-grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 8px; }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 138px; scroll-snap-align: start; padding: 10px; gap: 8px; border-radius: 16px; }
  .cat-tile:has(.cat-cut) .cat-imgs { display: none; }
  .cat-cut { display: grid; place-items: center; height: 96px; border-radius: 12px; background: radial-gradient(circle at 50% 55%, rgba(0, 168, 232, 0.35), transparent 70%); }
  .cat-cut img { max-height: 88px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.4)); }
  .cat-info strong { font-size: 0.92rem; line-height: 1.2; }
  .cat-info small { font-size: 0.78rem; }
  .cat-arrow { display: none; }

  /* Destaque do power bank mais curto */
  .spotlight .spotlight-media.is-cutout { height: 200px; }
  .spotlight .lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .spotlight-list li:nth-child(n + 3) { display: none; }
  .spotlight .btn { width: 100%; }

  /* Títulos de seção mais compactos */
  .section-head { margin-bottom: 12px; }
  .section-head h2 { font-size: 1.35rem; }
}
@media (max-width: 640px) {
  .hero-inner { padding-bottom: 14px; }
  .hero-nav { margin-top: 0; padding-top: 2px; }
}

/* ── Página do produto: galeria que acompanha a rolagem, setas e vantagens ── */
.gallery-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--navy); font-size: 1.7rem; line-height: 1; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(7, 21, 51, 0.25); opacity: 0; transition: opacity 0.2s, transform 0.2s; }
.gallery-arrow span { margin-top: -3px; }
.gallery-arrow.is-prev { left: 12px; }
.gallery-arrow.is-next { right: 12px; }
.gallery-frame:hover .gallery-arrow, .gallery-arrow:focus-visible { opacity: 1; }
.gallery-arrow:hover { transform: scale(1.08); }
@media (hover: none) { .gallery-arrow { opacity: 0.85; width: 38px; height: 38px; } }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 88px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #e6edf7; cursor: pointer; transition: border-color 0.2s, transform 0.2s; }
.thumb:hover { transform: translateY(-2px); }
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery-perks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-perks li { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid #dbe4f0; font-size: 0.82rem; color: var(--muted); line-height: 1.3; }
.gallery-perks strong { display: block; color: var(--navy); font-family: var(--display); font-size: 0.9rem; }
.gallery-perks .icon { flex: none; width: 26px; height: 26px; color: var(--blue); }
@media (min-width: 821px) {
  .gallery { position: sticky; top: 84px; align-self: start; }
}
@media (max-width: 1100px) and (min-width: 821px) { .gallery-perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .gallery-perks { grid-template-columns: 1fr 1fr; gap: 8px; } .gallery-perks li { padding: 10px; } }

.buy-highlights { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 8px; }
.buy-highlights li { display: flex; gap: 10px; align-items: flex-start; color: var(--text, #1d2b45); }
.buy-highlights .icon { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: 1px; }
.buybox .summary { margin-bottom: 14px; }

/* Vídeo do produto na galeria (primeiro item, sem som, em repetição) */
.gallery-slide video { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #071533; }
.thumb.is-video { position: relative; }
.thumb.is-video::after { content: ""; position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; border-radius: 50%; background: rgba(7, 21, 51, 0.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3.5 2.5v5l4-2.5z' fill='white'/%3E%3C/svg%3E") center / 18px no-repeat; }
/* Celular: espaço entre os botões do destaque e as bolinhas */
@media (max-width: 820px) {
  .hero-dots { margin-top: 0; }
  .hero-nav { padding-top: 14px; padding-bottom: 18px; }
}

/* Cores com foto: cada opção mostra a foto da cor */
.swatches { gap: 10px; }
.chip.swatch span { display: none; }
.chip.swatch { display: block; width: 64px; }
.chip.swatch img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; border: 2px solid #dbe4f0; background: #e6edf7; transition: border-color 0.15s, transform 0.15s; }
.chip.swatch input:checked + img { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.2); }
.chip.swatch:hover img { transform: translateY(-2px); }
.chip.swatch input:focus-visible + img { outline: 3px solid var(--cyan); outline-offset: 2px; }
.options legend strong { font-weight: 700; color: var(--navy); }
