:root {
  --deep: #07020d;
  --black: #05010a;
  --purple: #6d1fc4;
  --violet: #8a2be2;
  --violet-2: #a23df5;
  --lilac: #c9a6ff;
  --mist: #f3edff;
  --line: #e8dcfa;
  --ink: #1b1030;
  --muted: #655a7d;
  --gold: #fbbf24;
  --ok: #15803d;
  --warn: #b45309;
  --err: #b91c1c;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(30, 6, 60, .12);
  --shadow-sm: 0 2px 8px rgba(30, 6, 60, .08);
  --font: "Avenir Next", "Segoe UI", Inter, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.5; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--purple); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -.02em; color: var(--deep); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.container { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section.tint { background: var(--mist); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--violet); margin-bottom: .4rem; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none; padding: .85rem 1.4rem; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; min-height: 48px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 6px 16px rgba(138, 43, 226, .35); }
.btn-primary:hover { background: var(--purple); }
.btn-light { background: #fff; color: var(--purple); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--mist); }
.btn-ghost { background: transparent; color: var(--purple); border: 2px solid var(--line); }
.btn-ghost:hover { background: var(--mist); }
.btn-danger { background: transparent; color: var(--err); border: 2px solid #f3c6c6; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: .45rem .9rem; font-size: .9rem; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.site-header .bar { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; color: #fff; text-decoration: none; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; gap: 1.15rem; margin: 0 auto; align-items: center; }
.nav a { color: #fff; text-decoration: none; padding: .35rem 0; font-weight: 600; font-size: .88rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--lilac); }
.nav a[aria-current="page"] { border-bottom-color: var(--violet-2); }
.hdr-tools { display: flex; align-items: center; gap: .3rem; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 50%; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.icon-btn img { width: 22px; height: 22px; }
.cart-badge { position: absolute; top: 2px; right: 0; background: var(--violet); color: #fff; border-radius: 999px; min-width: 18px; height: 18px; display: grid; place-items: center; font-size: .68rem; font-weight: 800; padding: 0 .3rem; }
.menu-btn { display: none; }
.search-pop { display: none; background: var(--black); border-top: 1px solid rgba(255, 255, 255, .08); padding: .7rem 0; }
.search-pop.open { display: block; }
.search-pop form { display: flex; gap: .5rem; }
.search-pop input { background: #150a24; border-color: #3b2166; color: #fff; }
@media (max-width: 1099px) {
  .site-header .bar { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; min-height: 64px; }
  .menu-btn { display: inline-grid; justify-self: start; }
  .brand { justify-self: center; }
  .brand img { height: 52px; }
  .hdr-tools { justify-self: end; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1rem; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav.open { display: flex; }
  .nav a { padding: .9rem .4rem; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1rem; }
}

/* Hero */
.hero { background: radial-gradient(900px 500px at 78% 40%, #2a0a52 0%, rgba(42, 10, 82, 0) 70%), var(--black); color: #fff; position: relative; overflow: hidden; padding-bottom: 54px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1rem; padding: 1.2rem 0 0; min-height: 470px; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 1rem; }
.hero-logo { width: min(300px, 70%); height: auto; }
.hero-tag { margin: -.2rem 0 1.2rem 1.6rem; font-weight: 800; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; transform: rotate(-6deg); transform-origin: left; display: inline-block; color: #fff; }
.hero-photo { position: relative; align-self: stretch; margin-right: calc((100vw - min(1120px, 100vw - 2rem)) / -2); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
.btn-hero { background: linear-gradient(180deg, #9a35f2, #7a1fd6); color: #fff; box-shadow: 0 8px 22px rgba(138, 43, 226, .45); padding: .9rem 1.8rem; font-size: 1.05rem; }
.btn-hero:hover { background: linear-gradient(180deg, #a845ff, #8a2be2); }
@media (max-width: 860px) {
  .hero { padding-bottom: 46px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 0; gap: 0; }
  .hero-photo { order: -1; margin: 0 -1rem; width: calc(100% + 2rem); aspect-ratio: 1 / .92; }
  .hero-photo img { -webkit-mask-image: none; mask-image: none; object-position: 50% 70%; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1rem 0 0; }
  .hero-logo { display: none; }
  .hero-tag { display: none; }
}

/* Faixa branca curva logo abaixo do hero */
.lift { position: relative; background: #fff; margin-top: -46px; border-radius: 50% 50% 0 0 / 46px 46px 0 0; padding-top: 1.6rem; }
@media (max-width: 860px) { .lift { margin-top: -34px; border-radius: 50% 50% 0 0 / 34px 34px 0 0; } }

/* Categorias (tiles lilás) */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cat-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; background: var(--mist); border: 1px solid #ebe1fd; border-radius: 14px; padding: 1.1rem .5rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; text-align: center; transition: transform .2s, box-shadow .2s, background .2s; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #ece2ff; }
.cat-tile img { width: 44px; height: 44px; }
@media (max-width: 560px) { .cat-tiles { gap: .5rem; } .cat-tile { font-size: .7rem; padding: .7rem .2rem; border-radius: 12px; } .cat-tile img { width: 30px; height: 30px; } }

.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 2rem 0 .9rem; }
.sec-head h2 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin: 0; }
.sec-head a { font-weight: 700; font-size: .85rem; text-decoration: none; color: var(--violet); }
.sec-head a:hover { text-decoration: underline; }

/* Cards de produto (estilo da referência) */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 860px) { .prod-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; } }
.prod { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; padding: .55rem; transition: transform .2s, box-shadow .2s; }
.prod:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.prod-img { aspect-ratio: 1 / .9; border-radius: 9px; overflow: hidden; background: #12061f; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod h3 { font-size: .92rem; margin: .65rem .15rem .1rem; font-weight: 800; letter-spacing: 0; color: var(--ink); }
.prod .p { font-weight: 800; font-size: .95rem; margin: 0 .15rem .6rem; color: var(--ink); }
.prod .p.soft { font-weight: 600; color: var(--muted); font-size: .85rem; }
.prod .btn-buy { margin-top: auto; display: block; text-align: center; background: var(--violet); color: #fff; border: 0; border-radius: 8px; padding: .62rem; font: inherit; font-weight: 700; font-size: .85rem; text-decoration: none; cursor: pointer; }
.prod .btn-buy:hover { background: var(--purple); }
.prod .btn-buy[disabled] { background: #cfc3e6; cursor: not-allowed; }

/* Faixa de kits */
.kits-band { background: linear-gradient(90deg, #07020d 0%, #12052a 55%, #07020d 100%); color: #fff; border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.2fr; align-items: stretch; margin-top: 2rem; }
.kits-band .txt { padding: 1.8rem 1.6rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .4rem; position: relative; z-index: 1; }
.kits-band h2 { color: #fff; font-style: italic; font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0; }
.kits-band p { color: #e0d3f7; margin: 0 0 .7rem; max-width: 34ch; }
.kits-band .pic { position: relative; min-height: 190px; }
.kits-band .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 25%); mask-image: linear-gradient(to right, transparent 0, #000 25%); }
.kits-band .age { font-size: .75rem; color: #b9a6dd; margin-top: .6rem; }
@media (max-width: 560px) { .kits-band { grid-template-columns: 1fr 1fr; } .kits-band .txt { padding: 1rem .9rem; } .kits-band p { font-size: .78rem; } .kits-band .pic { min-height: 140px; } }

/* Faixa "como funciona" */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 0; }
.how-item { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.how-item img { width: 40px; height: 40px; flex: none; }
.how-item h3 { font-size: .95rem; margin: 0 0 .15rem; }
.how-item p { margin: 0; color: var(--muted); font-size: .82rem; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; gap: 0; } .how-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 1rem .2rem; } }

/* Cards */
.grid { display: grid; gap: 1.25rem; }
.grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 1; background: var(--mist); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-body .btn { margin-top: auto; }
.price { font-weight: 800; font-size: 1.35rem; color: var(--purple); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.tag { display: inline-block; background: var(--mist); color: var(--purple); border-radius: 999px; padding: .15rem .65rem; font-size: .78rem; font-weight: 700; }
.tag.warn { background: #fef3c7; color: var(--warn); }
.tag.ok { background: #dcfce7; color: var(--ok); }
.tag.err { background: #fee2e2; color: var(--err); }

/* Categorias */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.cat { position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; min-height: 200px; display: flex; align-items: flex-end; box-shadow: var(--shadow); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 6, 48, 0) 30%, rgba(26, 6, 48, .85)); }
.cat span { position: relative; z-index: 1; padding: 1.1rem; font-weight: 800; font-size: 1.3rem; }
.cat small { display: block; font-weight: 500; font-size: .9rem; color: #e1d4fa; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; position: relative; }
.step img { width: 48px; height: 48px; margin-bottom: .6rem; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 1rem; right: 1rem; width: 28px; height: 28px; border-radius: 50%; background: var(--mist); color: var(--purple); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }

/* Montar */
.builder { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm); margin-bottom: 1.25rem; }
.panel h2 { font-size: 1.3rem; display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .6rem; }
.stepnum { background: var(--violet); color: #fff; width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .9rem; flex: none; }
.size-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.size-opt { position: relative; }
.size-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size-opt label { display: block; border: 2px solid var(--line); border-radius: 14px; padding: .8rem; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.size-opt label img { width: 90px; height: 90px; margin: 0 auto .3rem; border-radius: 12px; object-fit: cover; }
.size-opt input:checked + label { border-color: var(--violet); background: var(--mist); box-shadow: 0 0 0 3px rgba(124, 58, 237, .18); }
.size-opt input:focus-visible + label { outline: 3px solid var(--gold); }
.size-opt strong { display: block; font-size: 1.1rem; }
.counter { display: inline-block; max-width: 100%; white-space: normal; background: var(--mist); color: var(--purple); font-weight: 800; padding: .25rem .8rem; border-radius: 999px; font-size: .9rem; }
.counter.full { background: var(--purple); color: #fff; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 2; }
.opt label { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; border: 2px solid var(--line); border-radius: 14px; padding: .6rem .5rem .7rem; cursor: pointer; font-weight: 600; font-size: .92rem; position: relative; height: 100%; background: #fff; transition: border-color .15s, background .15s, opacity .15s; }
.opt label img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.opt label .check { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--lilac); background: #fff; display: grid; place-items: center; color: transparent; font-size: .8rem; font-weight: 900; }
.opt input:checked + label { border-color: var(--violet); background: var(--mist); }
.opt input:checked + label .check { background: var(--violet); border-color: var(--violet); color: #fff; }
.opt input:focus-visible + label { outline: 3px solid var(--gold); }
.opt.locked label { opacity: .5; }
.opt .opt-price { color: var(--purple); font-weight: 800; }
.opt .opt-free { color: var(--ok); font-weight: 800; font-size: .8rem; }
.notice { border-radius: 12px; padding: .7rem 1rem; font-size: .92rem; margin-top: .8rem; }
.notice.warn { background: #fef3c7; color: #78350f; }
.notice.err { background: #fee2e2; color: #7f1d1d; }
.notice.ok { background: #dcfce7; color: #14532d; }
.notice.info { background: var(--mist); color: var(--deep); }
textarea, input[type="text"], input[type="tel"], input[type="password"], input[type="number"], input[type="email"], select { width: 100%; font: inherit; padding: .75rem .9rem; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); min-height: 48px; }
textarea { min-height: 84px; resize: vertical; }
textarea:focus, input:focus, select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 58, 237, .18); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { background: var(--mist); border: 0; width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; color: var(--purple); font-weight: 800; }
.qty button:hover { background: var(--lilac); }
.qty output { min-width: 42px; text-align: center; font-weight: 800; }
.summary { position: sticky; top: 84px; }
.summary .row, .totals .row { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.summary .total, .totals .total { border-top: 2px dashed var(--line); margin-top: .5rem; padding-top: .7rem; font-weight: 800; font-size: 1.25rem; color: var(--purple); }
.summary ul { margin: .3rem 0 .6rem; padding-left: 1.1rem; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .builder { grid-template-columns: minmax(0, 1fr); } .summary { position: static; } }
.builder > *, .cart-layout > * { min-width: 0; }
.opts { grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); }
@media (max-width: 420px) { .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .size-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; } .size-opt label { padding: .5rem .2rem; } .size-opt label img { width: 64px; height: 64px; } .size-opt strong { font-size: .95rem; } .size-opt .price { font-size: 1rem; } }

/* Carrinho */
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: .9rem; }
.cart-line img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }
.cart-line h3 { margin-bottom: .2rem; }
.cart-line ul { margin: .2rem 0; padding-left: 1.1rem; font-size: .9rem; color: var(--muted); }
.cart-line .side { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.cart-line .actions { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cart-line { grid-template-columns: 64px 1fr; } .cart-line img { width: 64px; height: 64px; } .cart-line .side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* Formulários */
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.field { grid-column: span 6; }
.field.s2 { grid-column: span 2; } .field.s3 { grid-column: span 3; } .field.s4 { grid-column: span 4; }
@media (max-width: 640px) { .field.s2, .field.s3, .field.s4 { grid-column: span 6; } }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .3rem; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: .25rem; }
.field .error { color: var(--err); font-size: .85rem; margin-top: .25rem; font-weight: 600; }
.field.invalid input { border-color: var(--err); }
.check-row { display: flex; gap: .7rem; align-items: flex-start; }
.check-row input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--violet); flex: none; }

/* Pagamento */
.pay-box { max-width: 560px; margin: 0 auto; text-align: center; }
.qr { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1rem; display: inline-block; box-shadow: var(--shadow); }
.qr img { width: min(280px, 70vw); height: auto; image-rendering: pixelated; }
.code-box { background: var(--mist); border: 2px dashed var(--lilac); border-radius: 14px; padding: .8rem; word-break: break-all; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; text-align: left; max-height: 110px; overflow: auto; margin: 1rem 0 .7rem; }
.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-right: .4rem; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* Kits / modal */
.modal-back { position: fixed; inset: 0; background: rgba(26, 6, 48, .7); display: none; place-items: center; z-index: 100; padding: 1rem; }
.modal-back.open { display: grid; }
.modal { background: #fff; border-radius: 22px; padding: 1.6rem; max-width: 460px; width: 100%; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.modal .actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.page-head { background: linear-gradient(90deg, #07020d, #14062c 60%, #07020d); color: #fff; padding: 2rem 0; border-bottom: 3px solid var(--violet); }
.page-head h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .3rem; }
.page-head p { color: #d9ccf5; margin: 0; }
.kit-banner { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; max-height: 300px; }
.kit-banner img { width: 100%; height: 300px; object-fit: cover; }
#kits-msg { margin-bottom: 1rem; }

/* Rodapé */
.site-footer { background: var(--black); color: #d8c9f2; padding: 0 0 5.5rem; position: relative; margin-top: 2.5rem; }
.site-footer::before { content: ""; display: block; height: 14px; background: linear-gradient(90deg, #5b1aa8, #9a35f2, #5b1aa8); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-row { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 1.5rem; align-items: center; padding: 1.6rem 0; }
.foot-logo img { height: 84px; width: auto; }
.foot-item { display: flex; gap: .8rem; align-items: center; font-size: .85rem; line-height: 1.35; }
.foot-item img { width: 28px; height: 28px; flex: none; }
.foot-item strong { color: #fff; display: block; font-size: .9rem; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1rem; font-size: .78rem; color: #a995c9; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; }
@media (max-width: 860px) { .foot-row { grid-template-columns: 1fr; gap: 1rem; } .foot-logo img { height: 72px; } }

/* Barra do carrinho no celular */
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--black); border-top: 1px solid #2a1550; box-shadow: 0 -6px 20px rgba(0, 0, 0, .35); display: none; }
.cart-bar.show { display: block; }
@media (min-width: 861px) { .cart-bar { display: none !important; } .site-footer { padding-bottom: 0; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--deep); color: #fff; padding: .8rem 1.2rem; border-radius: 999px; opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 200; max-width: 90vw; text-align: center; font-weight: 600; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Animações leves */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Tabelas (admin / pedidos) */
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: .6rem .7rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--mist); font-weight: 700; color: var(--deep); position: sticky; top: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.tabs button { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: .5rem 1rem; font: inherit; font-weight: 700; cursor: pointer; color: var(--purple); }
.tabs button[aria-selected="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }
.admin-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .6rem; align-items: end; padding: .8rem; border: 1px solid var(--line); border-radius: 14px; margin-bottom: .7rem; background: #fff; }
.admin-row label { font-size: .78rem; font-weight: 700; color: var(--muted); display: block; margin-bottom: .2rem; }
.admin-row img.thumb { width: 56px; height: 56px; border-radius: 10px; }
.inline-check { display: flex; gap: .4rem; align-items: center; min-height: 48px; font-weight: 600; }
.inline-check input { width: 20px; height: 20px; accent-color: var(--violet); }

/* ===== Atualização profissional ===== */
html, body { min-height: 100%; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--black); overflow-x: hidden; }
body > main { flex: 1 0 auto; background: #fff; }
.site-footer { margin-top: 0; flex-shrink: 0; padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
.page-head + .section { padding-top: 2rem; }

/* Banner principal: copo inteiro visível, sem zoom exagerado */
.hero-photo img { object-fit: contain; object-position: 50% 100%; }
@media (max-width: 860px) { .hero-photo { aspect-ratio: 1 / .8; } .hero-photo img { object-fit: contain; object-position: 50% 100%; } }
.hero-photo picture, .hero-photo picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-title { font-size: clamp(1.6rem, 4vw, 2.6rem); color: #fff; margin: .6rem 0; }
.hero-desc { color: #d9ccf5; max-width: 34ch; margin: 0 0 1rem; }

/* Fileiras da home */
.row-sec { margin-top: 2rem; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; margin-bottom: .8rem; }
.sec-head h2 { margin: 0; font-size: clamp(1.25rem, 3vw, 1.7rem); }
.sec-head a { font-weight: 700; white-space: nowrap; text-decoration: none; }
.prod-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.age-note { color: var(--muted); font-size: .85rem; margin: .6rem 0 0; }
@media (max-width: 860px) {
  .prod-row { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x proximity; padding: .2rem 1rem .8rem; margin: 0 -1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .prod-row::-webkit-scrollbar { display: none; }
  .prod-row > * { flex: 0 0 min(72%, 250px); scroll-snap-align: start; }
}
.promo-banner { margin: 2rem 0; border-radius: var(--radius); overflow: hidden; background: var(--black); color: #fff; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; }
.promo-banner .pb-pic img { width: 100%; height: 100%; object-fit: cover; max-height: 320px; }
.promo-banner .pb-txt { padding: 1.4rem; }
.promo-banner h2 { color: #fff; }
@media (max-width: 640px) { .promo-banner { grid-template-columns: 1fr; } .promo-banner .pb-pic { order: -1; } }

/* Cards padronizados */
.card-img { position: relative; aspect-ratio: 1 / 1; background: #12061f; }
.card-img img { object-fit: cover; }
.card-body h3 { font-size: 1.02rem; margin: 0; min-height: 2.3em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-body .desc { margin: 0; color: var(--muted); font-size: .85rem; min-height: 3.9em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .price { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.card .price.soft { font-weight: 600; font-size: .9rem; color: var(--muted); }
.card .was { margin-left: .4rem; font-weight: 500; font-size: .85rem; color: var(--muted); }
.card .btn-block { width: 100%; text-align: center; margin-top: auto; }
.card.is-sold .card-img img { filter: grayscale(.8); opacity: .75; }
.badge { position: absolute; top: .6rem; left: .6rem; background: var(--violet); color: #fff; font-size: .72rem; font-weight: 800; padding: .25rem .6rem; border-radius: 999px; letter-spacing: .02em; }
.badge.novo { background: #0f766e; } .badge.promo { background: #c2410c; }
.grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
details.soon { margin-top: 2rem; } details.soon summary { cursor: pointer; font-weight: 700; padding: .6rem 0; } details.soon .grid { margin-top: 1rem; }

/* Montador em etapas */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin: 0 0 1.2rem; padding: 0; }
.stepper button { width: 100%; display: flex; align-items: center; justify-content: center; gap: .45rem; border: 0; background: var(--mist); color: var(--muted); border-radius: 999px; padding: .55rem .4rem; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; min-height: 44px; }
.stepper .now button { background: var(--violet); color: #fff; } .stepper .done button { background: #e6d8ff; color: var(--purple); }
.stepper .stepnum { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; font-size: .8rem; }
@media (max-width: 520px) { .stepper .st-label { display: none; } .stepper .now .st-label { display: inline; font-size: .78rem; } .stepper { grid-template-columns: .7fr .7fr .7fr 1.4fr; } .stepper .now { grid-column: auto; } }
.rule { background: var(--mist); border-left: 4px solid var(--violet); padding: .6rem .8rem; border-radius: 8px; font-weight: 700; margin: 0 0 1rem; }
.counter { font-size: .82rem; font-weight: 700; background: var(--mist); color: var(--purple); border-radius: 999px; padding: .2rem .7rem; vertical-align: middle; }
.counter.full { background: #fff3d6; color: var(--warn); }
.opt.soldout label { opacity: .45; cursor: not-allowed; } .opt.soldout input { cursor: not-allowed; }
.opt input:disabled + label::after { content: "Esgotado"; font-size: .72rem; color: var(--err); font-weight: 800; }
.suggest { display: flex; gap: .8rem; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--mist); border-radius: 12px; padding: .7rem .9rem; margin: 1rem 0; font-size: .92rem; }
.qty-label { margin: 1rem 0 .3rem; font-weight: 700; }
.wiz-bar { position: sticky; bottom: 0; z-index: 30; display: flex; align-items: center; gap: .6rem; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(30, 6, 60, .1); padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); }
.wiz-bar .wiz-price { flex: 1; min-width: 0; line-height: 1.15; } .wiz-bar small { display: block; color: var(--muted); font-size: .75rem; } .wiz-bar strong { font-size: 1.2rem; }
.wiz-bar .btn { min-height: 48px; padding-inline: 1.2rem; }
@media (min-width: 901px) { .builder .summary { display: block; } }
@media (max-width: 900px) { .builder .summary { display: none; } }

/* Checkout */
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .7rem; }
.choice-opt { display: flex; gap: .7rem; align-items: center; border: 2px solid var(--line); border-radius: 14px; padding: .8rem; cursor: pointer; min-height: 56px; }
.choice-opt:has(input:checked) { border-color: var(--violet); background: var(--mist); }
.choice-opt small { display: block; color: var(--muted); }
.coupon { display: flex; gap: .6rem; flex-wrap: wrap; } .coupon input { flex: 1 1 200px; min-width: 0; }
.row.disc span:last-child { color: var(--ok); font-weight: 700; }
#coupon-msg { margin-top: .6rem; }
.cart-bar .cb { display: flex; justify-content: space-between; align-items: center; gap: .8rem; min-height: 50px; }
.cart-bar { padding-bottom: calc(.6rem + env(safe-area-inset-bottom)); }
.cart-line li.extra { color: var(--warn); font-weight: 600; }

/* Sobre / Contato / mapa */
.about { max-width: 980px; } .about .lead { font-size: 1.15rem; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.2rem; margin-bottom: 1.2rem; }
.steps-list { padding-left: 1.2rem; margin: 0; } .steps-list li { margin-bottom: .5rem; }
.actions-row { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0 0; }
.where-sec { margin-top: 2.5rem; }
.where { display: grid; gap: 1rem; }
.where-main { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; align-items: start; }
.map-box { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--mist); height: clamp(240px, 38vw, 380px); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-box .map-note { position: absolute; left: .6rem; bottom: .6rem; margin: 0; background: rgba(255,255,255,.9); border-radius: 6px; padding: .15rem .5rem; font-size: .72rem; color: var(--muted); }
.map-off { display: grid; place-items: center; text-align: center; padding: 1.2rem; color: var(--muted); }
.where-info { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.where-info .addr { font-weight: 600; }
.facade img { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .where-main { grid-template-columns: 1fr; } .map-box { height: 260px; } }
.pill { display: inline-block; font-weight: 800; font-size: .8rem; padding: .2rem .7rem; border-radius: 999px; margin: .2rem 0 .6rem; }
.pill.ok { background: #dcfce7; color: var(--ok); } .pill.err { background: #fee2e2; color: var(--err); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; margin: 0; } .hours dt { font-weight: 700; } .hours dd { margin: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1.2rem; }
.contact-card { margin: 0; } .contact-card h2 { font-size: 1.2rem; }
.contact-card .actions-row { margin-top: .6rem; }

/* Acessibilidade e toque */
.btn, button, .icon-btn { touch-action: manipulation; }
@media (max-width: 640px) { .container { width: calc(100% - 2rem); } .btn { min-height: 44px; } input, select, textarea { font-size: 16px; } }
.card-img { overflow: hidden; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 62%, transparent 100%); }
@media (max-width: 860px) { .hero-photo img { -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%); } }
.panel .row, .summary .row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.step ~ .step, .step { counter-increment: none; }
#builder { padding-bottom: 5.5rem; }
.wiz-bar .wiz-price small { white-space: nowrap; }
.step::before { display: none !important; }
/* Etapas do montador: número legível nas etapas inativas/concluídas */
.stepper button .stepnum { background: #fff; color: var(--purple); border: 1px solid var(--line); }
.stepper .now button .stepnum { background: rgba(255,255,255,.25); color: #fff; border-color: transparent; }
.stepper .done button .stepnum { background: var(--purple); color: #fff; border-color: transparent; }

/* ---- Categorias em degraus, Bebidas / Copos / Conveniência ---- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 1.5rem; align-items: start; }
.cat-nav { position: sticky; top: 84px; }
.nav-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .4rem .6rem; }
.nav-box > summary { font-weight: 800; padding: .6rem .3rem; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.cat-nav ul { list-style: none; margin: 0; padding: 0; }
.cat-nav ul ul { padding-left: .9rem; border-left: 2px solid var(--mist); margin-left: .35rem; }
.cat-nav a { display: flex; justify-content: space-between; gap: .5rem; align-items: center; padding: .55rem .5rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; min-height: 44px; }
.cat-nav a:hover { background: var(--mist); }
.cat-nav a.sel { background: var(--violet); color: #fff; }
.cat-nav .cnt { font-size: .75rem; opacity: .7; }
.cat-nav summary { list-style: none; cursor: pointer; } .cat-nav summary::-webkit-details-marker { display: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: .3rem; }
.crumbs a { color: var(--purple); text-decoration: none; font-weight: 600; }
.cat-sec { margin-bottom: 2rem; scroll-margin-top: 90px; }
.cat-title { margin: 0 0 .8rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.cat-sec.lvl-2 > .cat-title, .cat-sec.lvl-3 > .cat-title { font-size: 1.15rem; color: var(--purple); }
.cat-sec .cat-sec { margin-left: .2rem; padding-left: .9rem; border-left: 3px solid var(--mist); }
.chip-age, .badge.age { background: #111; color: #fff; font-size: .7rem; font-weight: 800; border-radius: 999px; padding: .15rem .5rem; }
.card .meta { margin: 0; font-size: .85rem; color: var(--muted); font-weight: 600; }
.pickup-only { background: #fff4d6; border: 1px solid #f0d58a; color: #6b4a00; border-radius: 12px; padding: .7rem .8rem; font-weight: 700; font-size: .88rem; text-align: center; }
.pickup-banner { background: #fff4d6; border: 2px solid #e8c25a; color: #4d3500; }
.pickup-banner p { margin: .4rem 0 .8rem; }
.pickup-banner .actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.suggest-box { margin: 1.5rem 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.suggest-box h2 { margin: 0 0 .1rem; font-size: 1.2rem; }
.suggest-row { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x proximity; padding: .3rem 0 .6rem; -webkit-overflow-scrolling: touch; }
.sug-card { flex: 0 0 150px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 14px; padding: .7rem; display: flex; flex-direction: column; gap: .25rem; align-items: center; text-align: center; }
.sug-card img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; }
.sug-card h3 { font-size: .9rem; margin: .2rem 0 0; }
@media (min-width: 900px) { .suggest-row { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; } .sug-card { flex: initial; } }
@media (max-width: 860px) { .shop-layout { grid-template-columns: 1fr; } .cat-nav { position: static; } }
.actions.center { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }

/* Situação da loja (aberta/fechada) */
#store-banner.store-open { background: #f3ecfb; color: #2e1065; font-size: .8rem; }
#store-banner.store-open .container { padding-block: .25rem; display: flex; align-items: center; gap: .4rem; }
#store-banner .so-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; display: inline-block; }
#store-banner.store-closed { background: #b91c1c; color: #fff; }
#store-banner.store-closed .container { padding-block: .8rem; display: flex; flex-wrap: wrap; gap: .25rem .9rem; align-items: baseline; }
#store-banner .sc-title { font-size: 1.15rem; letter-spacing: .06em; }
#store-banner .sc-next { font-weight: 700; flex-basis: 100%; }
/* Entrega por distância e pagamento */
.delivery-result { display: flex; gap: .7rem; align-items: flex-start; border-radius: 12px; padding: .8rem 1rem; margin-top: .8rem; font-size: .95rem; }
.delivery-result.ok { background: #dcfce7; color: #14532d; }
.delivery-result.out { background: #fee2e2; color: #7f1d1d; }
.delivery-result.warn { background: #fef3c7; color: #78350f; }
.delivery-result .dr-ico { font-size: 1.3rem; line-height: 1; }
.delivery-result strong { display: block; }
.pay-opts { display: grid; gap: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0; }
.chips button { border: 1px solid var(--line, #d8c8ee); background: #fff; border-radius: 999px; padding: .45rem .9rem; font: inherit; cursor: pointer; }
.chips button[aria-pressed=true] { background: var(--deep, #2e1065); color: #fff; }
