/* Mundo Doce — estilos principais (mobile first) */
:root {
  --berry: #c4286a;
  --berry-deep: #8e1a4c;
  --berry-ink: #6d1239;
  --blush: #fde9f1;
  --blush-2: #f9d3e2;
  --cream: #fffafc;
  --sky: #b8d9ef;
  --sky-deep: #3f7fae;
  --cocoa: #3a1d25;
  --muted: #7b5c66;
  --line: #f1d9e3;
  --ok: #1f8a4c;
  --warn: #a15c00;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(110, 18, 57, .06), 0 8px 24px -12px rgba(110, 18, 57, .22);
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
}
*, *::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(--body); color: var(--cocoa); background: var(--cream); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--berry-deep); }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); color: var(--berry-ink); }
.lead { color: var(--muted); margin: .5rem 0 0; max-width: 56ch; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.25rem; border-radius: 999px; border: 0; font-weight: 800; text-decoration: none; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; }
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, #d2347a, var(--berry) 55%, var(--berry-deep)); color: #fff; box-shadow: 0 8px 20px -8px rgba(196, 40, 106, .7); }
.btn-primary:hover { background: var(--berry-deep); }
.btn-light { background: #fff; color: var(--berry-ink); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.btn-light:hover { background: var(--blush); }
.btn-ghost { background: transparent; color: var(--berry-deep); border: 2px solid var(--blush-2); }
.btn-ghost:hover { border-color: var(--berry); }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #17803f; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 250, 252, .86); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid rgba(241, 217, 227, .7); transition: box-shadow .25s ease; }
.header.scrolled { box-shadow: 0 8px 24px -16px rgba(110, 18, 57, .4); }
.header .wrap { display: flex; align-items: center; gap: .75rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--berry-ink); margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand b { white-space: nowrap; font-family: var(--display); font-size: 1.12rem; font-weight: 600; display: block; line-height: 1; }
.brand small { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.status-dot { display: inline-flex; align-items: center; gap: .35rem; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b9a1aa; }
.status-dot.open::before { background: #22a35a; box-shadow: 0 0 0 3px rgba(34, 163, 90, .18); }
.nav { display: none; gap: .25rem; }
.nav a { padding: .5rem .8rem; border-radius: 999px; text-decoration: none; color: var(--cocoa); font-weight: 700; }
.nav a:hover { background: var(--blush); color: var(--berry-deep); }
.icon-btn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blush); color: var(--berry-deep); text-decoration: none; }
.icon-btn:hover { background: var(--blush-2); }
.badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--berry); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--cream); }
.badge[hidden] { display: none; }
.header .btn-primary { display: none; }
.menu-toggle { display: grid; }
@media (min-width: 960px) {
  .brand b { font-size: 1.3rem; }
  .nav { display: flex; }
  .header .btn-primary { display: inline-flex; min-height: 44px; }
  .menu-toggle { display: none; }
}
.drawer-nav { position: fixed; inset: 64px 0 auto; z-index: 39; background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem; display: grid; gap: .25rem; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease; }
.drawer-nav.open { transform: none; opacity: 1; pointer-events: auto; }
.drawer-nav a { padding: .9rem .5rem; font-weight: 800; font-size: 1.1rem; text-decoration: none; color: var(--cocoa); border-bottom: 1px solid var(--line); }

/* ---------- Hero com vídeo + borda rendada (assinatura visual) ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: #8e1a4c; min-height: min(92svh, 800px); display: flex; align-items: flex-end; padding: 96px 0 76px; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(150, 28, 82, .97) 0%, rgba(142, 26, 76, .86) 34%, rgba(110, 18, 57, .45) 58%, rgba(30, 8, 18, .08) 80%),
    linear-gradient(180deg, rgba(30, 8, 18, .45) 0%, rgba(30, 8, 18, 0) 30%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 28px; z-index: 1;
  background: radial-gradient(circle at 16px 0, transparent 15px, var(--cream) 16px) 0 0 / 32px 28px repeat-x; }
.hero-inner { display: grid; justify-items: start; gap: 0; }
.glass-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; font-weight: 800; font-size: .88rem;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .32); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-bottom: 16px; }
.glass-chip::before { background: #f3b6cf; }
.glass-chip.open::before { background: #7dffb0; box-shadow: 0 0 0 3px rgba(125, 255, 176, .25); }
.hero-logo { display: none; width: 84px; height: 84px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .75); margin-bottom: 12px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.hero h1 { font-size: clamp(2.9rem, 11vw, 5.4rem); font-weight: 600; letter-spacing: -.02em; text-shadow: 0 4px 24px rgba(30, 8, 18, .45); }
.hero .sub { font-family: var(--display); font-size: clamp(1.15rem, 3.6vw, 1.5rem); color: var(--sky); margin-top: .2rem; }
.hero p { max-width: 46ch; color: #ffe9f1; margin: .9rem 0 1.3rem; font-size: 1.05rem; text-shadow: 0 1px 10px rgba(30, 8, 18, .4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .26); }
.hero-facts { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: .4rem; font-size: .86rem; font-weight: 700; color: #fff; padding: .4rem .75rem; border-radius: 12px;
  background: rgba(30, 8, 18, .28); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-facts .icon { width: 17px; height: 17px; color: var(--sky); }
@media (min-width: 860px) {
  .hero { align-items: center; padding: 110px 0 110px; min-height: 640px; background: linear-gradient(120deg, #a61f5e, #8e1a4c); }
  .hero-video { left: 36%; width: 64%; }
  .hero-logo { display: block; }
  .hero-shade { background:
    linear-gradient(90deg, #a01d5a 0%, #9a1c57 36%, rgba(142, 26, 76, .55) 46%, rgba(142, 26, 76, 0) 62%),
    linear-gradient(0deg, rgba(142, 26, 76, .45) 0%, transparent 30%); }
}

/* ---------- Seções ---------- */
section { scroll-margin-top: 72px; }
.section { padding: 56px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--berry); margin-bottom: .45rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
body { background: radial-gradient(900px 500px at 100% 0, rgba(184, 217, 239, .18), transparent 60%), var(--cream); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 20px; }

/* Destaques: faixa horizontal */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 58%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .rail { grid-auto-columns: calc((100% - 42px) / 4); margin: 0; padding: 4px 0 12px; } }
.feature { scroll-snap-align: start; position: relative; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); text-align: left; border: 0; padding: 0; }
.feature img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform .5s ease; }
.feature:hover img { transform: scale(1.04); }
.feature .cap { position: absolute; inset: auto 0 0; padding: 40px 14px 14px; color: #fff; background: linear-gradient(transparent, rgba(58, 16, 34, .85)); }
.feature .cap { backdrop-filter: none; }
.feature .cap b { font-family: var(--display); font-weight: 600; font-size: 1.1rem; display: block; line-height: 1.15; }

/* Promoções */
.promo-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .promo-grid { grid-template-columns: repeat(2, 1fr); } }
.promo { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-lg); background: #fff; border: 2px dashed var(--blush-2); text-align: left; }
.promo img { width: 120px; height: 120px; border-radius: var(--r-md); object-fit: cover; }
.promo .tag { display: inline-block; background: var(--sky); color: #174a70; font-weight: 800; font-size: .78rem; padding: .15rem .6rem; border-radius: 999px; }
.old { text-decoration: line-through; color: var(--muted); font-size: .9rem; margin-left: .4rem; }

/* ---------- Cardápio ---------- */
.menu-tools { position: sticky; top: 64px; z-index: 20; background: rgba(255, 250, 252, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 10px 0; margin-bottom: 8px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 42px; padding: 0 1rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 800; color: var(--muted); white-space: nowrap; }
.tab[aria-selected="true"] { background: linear-gradient(135deg, #d2347a, var(--berry-deep)); border-color: transparent; color: #fff; box-shadow: 0 6px 14px -8px rgba(196, 40, 106, .8); }
.search { position: relative; margin-top: 10px; }
.search input { width: 100%; min-height: 46px; border-radius: 999px; border: 2px solid var(--line); background: #fff; padding: 0 1rem 0 2.6rem; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.cat-block { margin-top: 26px; }
.cat-block h3 { font-size: 1.45rem; color: var(--berry-ink); margin-bottom: 4px; }
.cat-note { display: flex; gap: .5rem; align-items: center; background: #eaf4fb; color: #1d4d71; border-radius: var(--r-md); padding: .6rem .9rem; font-size: .92rem; margin: 8px 0 4px; font-weight: 700; }
.products { display: grid; gap: 12px; margin-top: 12px; }
.card { display: grid; grid-template-columns: 1fr 116px; gap: 14px; align-items: stretch; padding: 12px; border-radius: 20px; background: #fff; border: 1px solid rgba(241, 217, 227, .8); box-shadow: 0 1px 2px rgba(110, 18, 57, .04), 0 10px 24px -18px rgba(110, 18, 57, .35); text-align: left; transition: box-shadow .25s ease, transform .25s ease; }
.card:hover { box-shadow: 0 2px 4px rgba(110, 18, 57, .05), 0 18px 34px -18px rgba(110, 18, 57, .45); transform: translateY(-2px); }
.card .ph { position: relative; }
.card img { width: 116px; height: 116px; object-fit: cover; border-radius: 16px; background: var(--blush); }
.card h4 { font-family: var(--display); font-weight: 600; font-size: 1.08rem; margin: 0 0 .2rem; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .55rem; }
.price { font-weight: 900; color: var(--berry-deep); font-size: 1.06rem; letter-spacing: -.01em; }
.price.ask { color: var(--sky-deep); font-size: .92rem; }
.add { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--berry); color: #fff; display: grid; place-items: center; position: absolute; right: -6px; bottom: -6px; border: 3px solid #fff; }
.card.off { opacity: .6; }
.card.off .add { display: none; }
.pill { display: inline-block; font-size: .72rem; font-weight: 800; padding: .1rem .5rem; border-radius: 999px; background: #eee; color: #555; }
.pill.promo-pill { background: var(--sky); color: #174a70; }
.pill.off-pill { background: #ffe1e1; color: #9b1c1c; }
@media (min-width: 900px) {
  .products { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 0; overflow: hidden; }
  .card .ph { order: -1; }
  .card img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; transition: transform .5s ease; }
  .card:hover img { transform: scale(1.03); }
  .card .ph { overflow: hidden; }
  .card .info { padding: 4px 16px 16px; }
  .add { right: 14px; bottom: -20px; width: 46px; height: 46px; }
}

/* ---------- Galeria (masonry) ---------- */
.gallery { columns: 2 160px; column-gap: 10px; }
@media (min-width: 900px) { .gallery { columns: 4; column-gap: 14px; } }
.gallery button { display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; border-radius: 18px; box-shadow: 0 10px 22px -16px rgba(110, 18, 57, .5); overflow: hidden; background: var(--blush); break-inside: avoid; }
.gallery img { width: 100%; height: auto; transition: transform .5s ease, filter .3s ease; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(33, 8, 19, .94); display: none; place-items: center; }
.lightbox.open { display: grid; }
.lightbox figure { margin: 0; max-width: min(92vw, 1000px); text-align: center; color: #fff; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: var(--r-md); object-fit: contain; touch-action: pan-y; transition: transform .25s ease; cursor: zoom-in; }
.lightbox img.zoom { transform: scale(1.8); cursor: zoom-out; }
.lightbox figcaption { margin-top: .6rem; color: #f7cfe0; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; }
.lb-next { right: 10px; top: 50%; }

/* ---------- Encomendas / Contato ---------- */
.band { background: linear-gradient(135deg, #fde9f1, #fbe0ec 60%, #eaf4fb); border: 1px solid #f6d3e1; border-radius: 26px; padding: 24px; display: grid; gap: 18px; }
@media (min-width: 860px) { .band { grid-template-columns: 1.1fr 1fr; padding: 36px; align-items: center; } }
.band-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.band-photos img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); }
.festa-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 6px; }
.festa-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--blush-2); }
.contact { display: grid; gap: 14px; }
@media (min-width: 860px) { .contact { grid-template-columns: repeat(3, 1fr); } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 10px 24px -20px rgba(110, 18, 57, .4); }
.info-card h3 { font-size: 1.15rem; color: var(--berry-ink); margin-bottom: .4rem; display: flex; gap: .5rem; align-items: center; }
.info-card p { margin: 0 0 .8rem; color: var(--muted); }
.footer { background: var(--berry-ink); color: #f7cfe0; padding: 36px 0 110px; margin-top: 48px; font-size: .92rem; }
.footer a { color: #fff; }
.footer .wrap { display: grid; gap: 10px; }

/* ---------- Barra do carrinho (celular) ---------- */
.cart-bar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 8px 0 18px; min-height: 60px; border-radius: 999px; border: 0; background: var(--berry-ink); color: #fff; font-weight: 800; box-shadow: 0 14px 30px -12px rgba(58, 16, 34, .7); transform: translateY(140%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.cart-bar.show { transform: none; }
.cart-bar .go { background: #fff; color: var(--berry-ink); border-radius: 999px; padding: .6rem 1rem; }
@media (min-width: 960px) { .cart-bar { left: auto; right: 24px; width: 380px; } }

/* ---------- Painéis (produto / carrinho) ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(40, 10, 22, .5); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.scrim.open { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: 92dvh; background: var(--cream); border-radius: 24px 24px 0 0; display: flex; flex-direction: column; transform: translateY(105%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
.sheet.open { transform: none; }
@media (min-width: 760px) {
  .sheet { left: auto; top: 0; bottom: 0; width: 480px; max-height: none; border-radius: 24px 0 0 24px; transform: translateX(105%); }
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 1.35rem; }
.sheet-body { overflow-y: auto; padding: 0 16px 16px; flex: 1; overscroll-behavior: contain; }
.sheet-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.pd-photos { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; scrollbar-width: none; }
.pd-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
.pd-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.pd-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--blush-2); }
.pd-dots i.on { background: var(--berry); }
.pd-title { font-size: 1.6rem; margin-top: 14px; color: var(--berry-ink); }
.pd-desc { color: var(--muted); margin: .4rem 0 0; }
.group { margin-top: 18px; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; background: var(--blush); padding: .6rem .8rem; border-radius: var(--r-sm); }
.group-head b { font-family: var(--display); font-weight: 600; }
.group-head small { color: var(--muted); font-weight: 700; }
.opts { display: grid; gap: 2px; margin-top: 6px; }
.opt { display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: 0 .4rem; border-bottom: 1px solid var(--line); cursor: pointer; }
.opt input { width: 22px; height: 22px; accent-color: var(--berry); flex: none; }
.opt span { flex: 1; }
.opt em { font-style: normal; color: var(--muted); font-size: .9rem; }
.opt.dim { opacity: .45; }
.field { display: grid; gap: .3rem; margin-top: 12px; }
.field label, .legend { font-weight: 800; font-size: .92rem; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; border-radius: var(--r-sm); border: 2px solid var(--line); background: #fff; padding: .6rem .8rem; }
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--berry); outline: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.3rem; font-weight: 800; color: var(--berry-deep); border-radius: 50%; }
.stepper output { min-width: 28px; text-align: center; font-weight: 900; }
.foot-row { display: flex; gap: 10px; align-items: center; }
.foot-row .btn { flex: 1; }
.err { color: #b3261e; font-weight: 700; font-size: .9rem; margin: .5rem 0 0; min-height: 1.2em; }

.line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 64px; border-radius: var(--r-sm); object-fit: cover; }
.line h4 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.line .opts-txt { color: var(--muted); font-size: .85rem; margin: .15rem 0 .4rem; }
.line .row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.link-btn { border: 0; background: none; color: var(--berry-deep); font-weight: 800; padding: .4rem 0; text-decoration: underline; }
.totals { margin-top: 12px; display: grid; gap: 4px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 900; font-size: 1.2rem; color: var(--berry-ink); }
.note { font-size: .88rem; color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--blush); padding: 5px; border-radius: 999px; margin-top: 12px; }
.seg label { text-align: center; min-height: 42px; display: grid; place-items: center; border-radius: 999px; font-weight: 800; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { background: #fff; color: var(--berry-deep); box-shadow: var(--shadow); }
.pay-opts { display: grid; gap: 8px; margin-top: 8px; }
.pay-opt { display: flex; gap: .7rem; align-items: center; padding: .8rem; border: 2px solid var(--line); border-radius: var(--r-md); background: #fff; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--berry); background: #fff6fa; }
.pay-opt input { accent-color: var(--berry); width: 20px; height: 20px; }
.empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.empty img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 12px; opacity: .9; }

/* Pix */
.pix-box { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; margin-top: 14px; }
.pix-qr { width: 232px; height: 232px; margin: 10px auto; display: grid; place-items: center; }
.pix-qr svg, .pix-qr img { width: 100%; height: 100%; }
.copy { display: flex; gap: 6px; margin-top: 10px; }
.copy input { flex: 1; min-width: 0; border: 2px solid var(--line); border-radius: var(--r-sm); padding: .5rem .6rem; font-size: .8rem; background: var(--cream); }
.status-box { display: flex; gap: .6rem; align-items: center; justify-content: center; margin-top: 12px; padding: .7rem; border-radius: var(--r-md); font-weight: 800; }
.status-box.pending { background: #fff4e0; color: var(--warn); }
.status-box.paid { background: #e3f6ea; color: var(--ok); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 3px solid currentColor; border-right-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 14px 0 0; text-align: left; display: grid; gap: 8px; }
.steps li { counter-increment: s; display: flex; gap: .6rem; font-size: .92rem; }
.steps li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--berry); color: #fff; font-weight: 900; font-size: .8rem; display: grid; place-items: center; }

.toast { width: max-content; max-width: min(92vw, 420px); text-align: center; position: fixed; left: 50%; top: 76px; z-index: 90; transform: translate(-50%, -12px); opacity: 0; background: var(--cocoa); color: #fff; padding: .7rem 1.1rem; border-radius: 16px; font-weight: 800; transition: .25s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.hero-inner > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-inner > :nth-child(2) { animation-delay: .05s } .hero-inner > :nth-child(3) { animation-delay: .1s } .hero-inner > :nth-child(4) { animation-delay: .15s }
.hero-inner > :nth-child(5) { animation-delay: .2s } .hero-inner > :nth-child(6) { animation-delay: .25s } .hero-inner > :nth-child(7) { animation-delay: .3s }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Detalhes modernos ---------- */
.ticker { position: relative; overflow: hidden; background: var(--cream); padding: 14px 0 0; }
.ticker-track { display: flex; width: max-content; gap: 0; animation: tick 38s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 14px; padding: 0 14px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--berry-ink); white-space: nowrap; }
.ticker-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--berry); box-shadow: 0 0 0 4px var(--blush-2); }
@keyframes tick { to { transform: translateX(-50%); } }

.steps-sec { padding-top: 36px; padding-bottom: 8px; }
.how { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 860px) { .how { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.how li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid rgba(241, 217, 227, .8); border-radius: 20px; padding: 16px 18px; box-shadow: 0 10px 24px -20px rgba(110, 18, 57, .4); }
.how-n { flex: none; width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, #d2347a, var(--berry-deep)); box-shadow: 0 8px 16px -8px rgba(196, 40, 106, .8); }
.how b { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--berry-ink); }
.how p { margin: .15rem 0 0; color: var(--muted); font-size: .93rem; }

.stories { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px 10px; margin-bottom: 4px; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: none; width: 78px; display: grid; justify-items: center; gap: 6px; border: 0; background: none; padding: 0; font-weight: 800; font-size: .8rem; color: var(--cocoa); text-align: center; line-height: 1.15; }
.story i { display: block; width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, #f6a6c8, var(--berry), var(--sky), #f6a6c8); transition: transform .25s ease; }
.story img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid var(--cream); }
.story:hover i { transform: scale(1.05); }
.story[aria-pressed="true"] { color: var(--berry-deep); }
.story[aria-pressed="true"] i { background: linear-gradient(135deg, var(--berry), var(--berry-deep)); }
@media (min-width: 860px) { .stories { gap: 22px; } .story { width: 96px; font-size: .88rem; } .story i { width: 88px; height: 88px; } }

.tagline { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; padding: .18rem .5rem; border-radius: 999px; background: #fff3f8; color: var(--berry); border: 1px solid var(--blush-2); margin-bottom: .35rem; }
.tagline.hot { background: linear-gradient(135deg, #d2347a, var(--berry-deep)); color: #fff; border-color: transparent; }
.tagline.cal { background: #eaf4fb; color: #1d4d71; border-color: #cfe5f4; }
.price { background: #fff3f8; padding: .18rem .55rem; border-radius: 10px; }
.price.ask { background: none; padding: 0; }
.feature .cap .chip-add { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--berry); display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }

.gallery button { position: relative; }
.gallery button::after { content: attr(data-cap); position: absolute; inset: auto 0 0; padding: 26px 10px 9px; font-size: .78rem; font-weight: 800; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(58, 16, 34, .78)); opacity: 0; transition: opacity .3s ease; }
.gallery button:hover::after, .gallery button:focus-visible::after { opacity: 1; }

.footer { background: radial-gradient(600px 300px at 0 0, rgba(196, 40, 106, .35), transparent 70%), var(--berry-ink); padding: 44px 0 110px; }
.foot-grid { display: grid; gap: 22px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand img { border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); }
.foot-brand strong { display: block; font-family: var(--display); font-size: 1.4rem; color: #fff; font-weight: 600; }
.foot-brand span { display: block; color: #f7cfe0; }
.foot-brand em { display: block; color: var(--sky); font-style: normal; font-weight: 800; margin-top: .2rem; }
.footer h4 { margin: 0 0 .4rem; font-family: var(--display); font-weight: 600; color: #fff; font-size: 1rem; letter-spacing: .02em; }
.footer p { margin: 0; line-height: 1.7; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-chips span { padding: .2rem .7rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 800; font-size: .85rem; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 26px; padding-top: 16px; font-size: .85rem; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

.from { display: block; font-size: .72rem; font-weight: 800; color: var(--muted); margin-bottom: .1rem; }
.price { white-space: nowrap; }
