/* Pirotecnia Carrão by Macedos — palette from the real logo (docs/proposals/pirocarrao/paleta.json) */
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #110E15;          /* night sky behind the burst */
  --surface: #1C1722;     /* smoke-violet night, cards and alternating sections */
  --surface-2: #261F2D;
  --ember: #2A1B12;       /* warm ember tone for the delivery band */
  --text: #F6F1EA;
  --text-2: #C9BFB4;
  --line: rgba(246, 241, 234, .14);
  --orange: #F7A11A;      /* «Carrão» in the logo: CTAs and prices only */
  --orange-h: #FFB43D;
  --yellow: #FFD84A;      /* burst centre: focus ring only */
  --cta-text: #1A1206;
  --err: #FF8A7A;
  --ok: #8FD6A0;
  --r: 14px; --r-s: 10px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 104px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 'Archivo', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 var(--s4); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
p { margin: 0 0 var(--s4); text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--cta-text); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
.muted { color: var(--text-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 700 16px/1 'Archivo', sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .16s var(--ease), background-color .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--orange); color: var(--cta-text); }
.btn-primary:hover { background: var(--orange-h); }
.btn-ghost { border-color: rgba(246, 241, 234, .55); color: var(--text); background: rgba(17, 14, 21, .35); }
.btn-ghost:hover { border-color: var(--text); background: rgba(17, 14, 21, .6); }
.btn-wide { width: 100%; }
.link-arrow { color: var(--orange); font-weight: 700; text-decoration: none; }
.link-arrow::after { content: ' →'; display: inline-block; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.linkish { background: none; border: 0; color: var(--orange); font: inherit; text-decoration: underline; cursor: pointer; }

/* header (normal flow, dark: the white «Piro» needs it) */
.site-header { position: relative; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: var(--s6); min-height: 76px; }
.brand img { width: 132px; height: auto; }
.nav ul { display: flex; gap: var(--s5); list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; color: var(--text-2); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); border-color: var(--orange); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s4); }
.tel-link { text-decoration: none; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.tel-link:hover { color: var(--text); }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; transition: border-color .2s; }
.cart-btn:hover { border-color: var(--orange); }
.cart-count { min-width: 28px; height: 28px; border-radius: 999px; background: var(--orange); color: var(--cta-text); display: grid; place-items: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.cart-count.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.25); } }
.menu-m { display: none; position: relative; }
.menu-m summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; cursor: pointer; border-radius: 10px; border: 1px solid var(--line); }
.menu-m summary::-webkit-details-marker { display: none; }
.menu-m summary span { width: 20px; height: 2px; background: var(--text); display: block; transition: transform .2s; }
.menu-m[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-m[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-m ul { position: absolute; right: 0; top: 54px; list-style: none; margin: 0; padding: var(--s3); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); min-width: 230px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.menu-m li a { display: block; padding: 12px 10px; text-decoration: none; font-weight: 600; border-radius: 8px; }
.menu-m li a:hover { background: var(--surface); }

/* hero: real fireworks photo, title in the dark sky, no veil */
.hero { position: relative; min-height: min(82vh, 760px); display: flex; align-items: flex-start; overflow: hidden; background: var(--bg); }
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 50% 40%; }
.hero-in { position: relative; padding-block: var(--s8) var(--s9); }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(2.4rem, 4vw, 3.5rem); font-weight: 850; letter-spacing: -.03em; text-shadow: 0 2px 24px rgba(10, 6, 4, .85), 0 1px 3px rgba(10, 6, 4, .6); }
.hero-sub { font-size: 1.22rem; font-weight: 500; color: #fff; max-width: 40ch; text-shadow: 0 1px 14px rgba(10, 6, 4, .95), 0 0 3px rgba(10, 6, 4, .9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.photo-note { position: absolute; right: 16px; bottom: 12px; margin: 0; font-size: 14px; color: rgba(246, 241, 234, .82); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise .7s var(--ease) both; }
  .hero-photo img { animation: settle 1.4s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes settle { from { transform: scale(1.04); } }

/* sections */
.sec { padding-block: var(--s8); }
.sec-pick { background: var(--surface); }
.pick-head { max-width: 720px; }
.pick-head p { color: var(--text-2); font-size: 1.08rem; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); margin: var(--s3) 0 var(--s5); }
.seg button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); font: 600 15px/1 'Archivo', sans-serif; cursor: pointer; transition: background-color .2s, color .2s; }
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { background: var(--orange); color: var(--cta-text); }
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 23%); gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s3); scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
.rail > .card { scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: var(--s2); justify-content: flex-end; margin-top: var(--s3); }
.rail-btn { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; transition: border-color .2s, transform .16s; }
.rail-btn:hover { border-color: var(--orange); }
.rail-btn:active { transform: scale(.94); }
.pick-more { margin-top: var(--s4); }

/* product card */
.card { display: flex; flex-direction: column; background: var(--bg); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); }
.card:hover { border-color: rgba(247, 161, 26, .55); transform: translateY(-3px); }
.card-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #0B090E; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: var(--s4); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; margin: 0; line-height: 1.25; }
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--orange); }
.card-meta { margin: 0; font-size: 14px; color: var(--text-2); }
.card-foot { margin-top: auto; padding-top: var(--s3); display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.price { font-weight: 800; font-size: 1.2rem; color: var(--orange); font-variant-numeric: tabular-nums; }
.btn-add { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--orange); background: transparent; color: var(--text); font: 700 14px/1 'Archivo', sans-serif; cursor: pointer; transition: background-color .2s, color .2s, transform .16s; }
.btn-add:hover { background: var(--orange); color: var(--cta-text); }
.btn-add:active { transform: scale(.95); }
.btn-add.added { background: var(--orange); color: var(--cta-text); }

/* category bento */
.sec-cats { background: var(--bg); }
.cats { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 260px 260px; gap: var(--s4); }
.cat { position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; background: #0B090E; border: 1px solid var(--line); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat-baterias { grid-row: span 2; }
.cat-foguetes { grid-column: span 2; }
.cat-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s5) var(--s5) var(--s4); background: linear-gradient(to top, rgba(11, 9, 14, .92), rgba(11, 9, 14, 0)); display: flex; flex-direction: column; }
.cat-txt strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.cat-txt span { color: var(--text-2); font-size: 15px; }

/* delivery */
.sec-entrega { position: relative; background: var(--ember); padding: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.entrega-photo { position: relative; margin: 0; }
.entrega-photo img { width: 100%; height: 100%; object-fit: cover; }
.entrega-photo figcaption, .about-fig figcaption { position: absolute; right: 12px; bottom: 10px; font-size: 14px; color: rgba(246, 241, 234, .85); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.about-fig { position: relative; margin: 0; }
.entrega-in { width: auto; margin: 0; padding: var(--s8) var(--s7); max-width: 640px; }
.entrega-copy p { color: var(--text-2); }
.lojas { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s5); }
.lojas li { border-top: 2px solid var(--orange); padding-top: var(--s3); }
.lojas strong { display: block; font-size: 1.05rem; }
.lojas span { display: block; font-size: 14px; color: var(--text-2); line-height: 1.45; }

/* faq */
.sec-faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s8); align-items: start; }
.faq-lead { color: var(--text-2); font-size: 1.08rem; }
.faq-tel { color: var(--text-2); font-size: 15px; }
.faq-tel a { color: var(--text); font-weight: 700; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s5) 40px var(--s5) 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--orange); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-2); padding-right: 40px; }
.faq details a { color: var(--orange); }

/* shop */
.shop-head { padding-block: var(--s7) var(--s5); background: var(--surface); border-bottom: 1px solid var(--line); }
.shop-intro { color: var(--text-2); max-width: 62ch; font-size: 1.08rem; }
.crumbs { font-size: 14px; color: var(--text-2); margin-bottom: var(--s4); }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--text); }
.shop-tabs { display: flex; gap: var(--s5); flex-wrap: wrap; margin-top: var(--s5); }
.shop-tabs a { text-decoration: none; font-weight: 700; color: var(--text-2); padding-bottom: 8px; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.shop-tabs a:hover { color: var(--text); }
.shop-tabs a[aria-current="page"] { color: var(--text); border-color: var(--orange); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-bottom: var(--s5); }
.count { margin: 0 auto 0 0; color: var(--text-2); font-variant-numeric: tabular-nums; }
.field-inline { display: inline-flex; align-items: center; gap: var(--s2); font-size: 15px; color: var(--text-2); }
select, input, textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid rgba(246, 241, 234, .28); border-radius: var(--r-s); min-height: 46px; padding: 0 14px; }
textarea { padding: 12px 14px; min-height: 130px; resize: vertical; }
select { padding-right: 36px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(247, 161, 26, .3); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.empty { color: var(--text-2); }

/* product page */
.prod-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s8); align-items: start; }
.prod-main { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: #0B090E; border: 1px solid var(--line); }
.thumbs { display: flex; gap: var(--s2); margin-top: var(--s3); }
.thumbs button { width: 84px; height: 84px; padding: 0; border-radius: var(--r-s); overflow: hidden; border: 2px solid transparent; background: none; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--orange); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prod-info h1 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.prod-price { font-size: 2rem; font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; }
.prod-price small { font-size: 14px; font-weight: 500; color: var(--text-2); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: var(--s5) 0; }
.specs div { background: var(--surface); padding: var(--s3) var(--s4); }
.specs dt { font-size: 14px; color: var(--text-2); }
.specs dd { margin: 2px 0 0; font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.buy label { width: 100%; font-size: 15px; color: var(--text-2); }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(246, 241, 234, .28); border-radius: 999px; overflow: hidden; }
.qty button { width: 46px; height: 48px; border: 0; background: transparent; color: var(--text); font-size: 22px; cursor: pointer; }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 54px; border: 0; border-radius: 0; text-align: center; background: transparent; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-msg { min-height: 1.6em; margin-top: var(--s3); color: var(--ok); font-weight: 600; }
.buy-msg a { color: var(--orange); }
.prod-notes { color: var(--text-2); font-size: 15px; padding-left: 18px; }
.prod-notes li { margin-bottom: 6px; }
.rel-h { margin-top: var(--s8); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* cart & checkout */
.flow h1 { margin-bottom: var(--s5); }
.cart-list { list-style: none; padding: 0; margin: 0 0 var(--s5); border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto auto; gap: var(--s4); align-items: center; padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--r-s); }
.cart-item a { text-decoration: none; font-weight: 700; }
.cart-item .unit { display: block; font-size: 14px; color: var(--text-2); }
.cart-item .line { font-weight: 800; min-width: 90px; text-align: right; font-variant-numeric: tabular-nums; }
.rm { background: none; border: 0; color: var(--text-2); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; padding: 4px 0; }
.rm:hover { color: var(--err); }
.cart-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); }
.total { font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.total small { display: block; font-size: 14px; font-weight: 500; color: var(--text-2); }
.cart-empty { padding: var(--s7) 0; }
.checkout { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s7); align-items: start; }
fieldset { border: 0; padding: 0; margin: 0 0 var(--s6); }
legend { font-size: 1.3rem; font-weight: 800; margin-bottom: var(--s4); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s3); }
.field label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--text-2); }
.help { font-size: 14px; color: var(--text-2); margin: 0; }
.err { color: var(--err); font-size: 14px; margin: 0; min-height: 0; }
.field input[aria-invalid="true"] { border-color: var(--err); }
.choice-list { display: grid; gap: var(--s2); margin-bottom: var(--s4); }
.choice-row { grid-template-columns: repeat(3, 1fr); }
.choice { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); border: 1px solid rgba(246, 241, 234, .22); border-radius: var(--r-s); cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice:hover { border-color: rgba(246, 241, 234, .5); }
.choice:has(input:checked) { border-color: var(--orange); background: rgba(247, 161, 26, .08); }
.choice input { accent-color: var(--orange); width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; }
.choice strong { display: block; }
.choice small { display: block; color: var(--text-2); font-size: 14px; line-height: 1.45; }
.check { display: flex; gap: var(--s3); align-items: flex-start; margin-bottom: var(--s3); cursor: pointer; }
.check input { accent-color: var(--orange); width: 20px; height: 20px; min-height: 0; margin-top: 3px; flex: none; }
.check a, .privacy-note a { color: var(--orange); }
.privacy-note { font-size: 14px; color: var(--text-2); }
.proto-note { font-size: 14px; color: var(--text-2); text-align: center; margin-top: var(--s3); }
.co-summary { position: sticky; top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s5); }
.sum-row { display: flex; justify-content: space-between; gap: var(--s3); padding: 8px 0; font-size: 15px; }
.sum-row span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-total { border-top: 1px solid var(--line); margin-top: var(--s2); padding-top: var(--s3); font-weight: 800; font-size: 1.15rem; }
.sum-note { font-size: 14px; color: var(--text-2); margin-top: var(--s3); }
.order-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s5); margin: var(--s5) 0; }
.order-ref { font-size: 1.1rem; }
.order-ref b { color: var(--orange); font-variant-numeric: tabular-nums; }
.hp { position: absolute; left: -5000px; }
.form-msg { margin-top: var(--s3); font-weight: 600; }
.form-msg.ok { color: var(--ok); }
.form-msg.bad { color: var(--err); }

/* about / contact / prose */
.about-hero { padding-block: var(--s7); background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; }
.about-grid img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lead { font-size: 1.15rem; color: var(--text-2); }
.quote { margin: var(--s5) 0 0; padding-left: var(--s4); border-left: 3px solid var(--orange); font-size: 1.2rem; font-weight: 600; }
.quote p { margin: 0; }
.values { background: var(--bg); }
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s7); margin: var(--s5) 0 var(--s6); }
.value-list dt { font-weight: 800; font-size: 1.25rem; color: var(--orange); }
.value-list dd { margin: 4px 0 0; color: var(--text-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: var(--s5) 0 0; }
.contact-list li { padding: var(--s3) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: var(--s3); }
.contact-list span { color: var(--text-2); font-size: 15px; }
.contact-list a { color: var(--orange); font-weight: 700; text-decoration: none; }
.contact-form { background: var(--surface); padding: var(--s6); border-radius: var(--r); border: 1px solid var(--line); }
.page-prose { background: var(--bg); }
.page-prose h2 { font-size: 1.35rem; margin-top: var(--s6); }
.page-prose p, .legal-ol, .legal-ul { color: var(--text-2); }
.page-prose a { color: var(--orange); }
.legal-ol li, .legal-ul li { margin-bottom: var(--s3); }

/* footer */
.site-footer { background: #0B090E; border-top: 1px solid var(--line); padding-top: var(--s8); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.1fr; gap: var(--s6); }
.foot-brand img { width: 150px; margin-bottom: var(--s4); }
.foot-brand p { color: var(--text-2); font-size: 15px; max-width: 34ch; }
.foot-h { font-size: 15px; font-weight: 800; letter-spacing: 0; margin-bottom: var(--s3); color: var(--text); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 15px; color: var(--text-2); }
.site-footer li small { font-size: 14px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); border-top: 1px solid var(--line); margin-top: var(--s7); padding-block: var(--s5); font-size: 14px; color: var(--text-2); }
.foot-legal p { margin: 0; }
.foot-legal a { color: var(--text); font-weight: 700; }

/* reveal on scroll (content visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 1080px) {
  .nav, .tel-link { display: none; }
  .menu-m { display: block; }
  .grid, .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: minmax(240px, 31%); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .sec { padding-block: var(--s7); }
  .header-in { min-height: 64px; gap: var(--s3); }
  .brand img { width: 104px; }
  .cart-btn span { display: none; }
  .cart-btn { padding: 0 8px; }
  .hero { flex-direction: column; min-height: 0; }
  .hero-photo { position: relative; inset: auto; height: 300px; }
  .hero-photo img { position: absolute; object-position: 50% 45%; }
  .hero-in { padding-block: var(--s5) var(--s6); }
  .hero h1 { font-size: 2.15rem; text-shadow: none; }
  .hero-sub { font-size: 1.05rem; text-shadow: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .photo-note { top: 272px; bottom: auto; left: 12px; right: 12px; text-align: right; font-size: 14px; }
  .rail { grid-auto-columns: 74%; }
  .cats { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 180px 180px; }
  .cat-baterias { grid-row: auto; grid-column: span 2; }
  .cat-foguetes { grid-column: auto; }
  .cat-txt strong { font-size: 1.3rem; }
  .sec-entrega { grid-template-columns: 1fr; }
  .entrega-photo { height: 240px; }
  .entrega-in { padding: var(--s7) 20px; }
  .lojas { grid-template-columns: 1fr; }
  .faq-grid, .prod-grid, .checkout, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .grid, .grid-4 { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .card-body { padding: var(--s3); }
  .card-foot { flex-direction: column; align-items: stretch; }
  .btn-add { width: 100%; }
  .specs { grid-template-columns: 1fr 1fr; }
  .f2, .choice-row { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr auto; }
  .cart-item img { width: 64px; height: 64px; }
  .cart-item .line { grid-column: 2 / -1; text-align: left; }
  .co-summary { position: static; order: -1; }
  .value-list { grid-template-columns: 1fr; }
  .contact-form { padding: var(--s5); }
  .foot-grid { grid-template-columns: 1fr; }
}
