/* ===== AlivioFlex - loja ===== */
:root {
  --primary: #0E9F6E;
  --accent: #FF6B35;
  --dark: #0B1F2A;
  --text: #13222B;
  --muted: #5F6F78;
  --line: #E4E9EC;
  --soft: #F4F8F7;
  --bg: #FFFFFF;
  --danger: #D93A3A;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 34, 43, .06), 0 8px 24px rgba(16, 34, 43, .08);
  --shadow-lg: 0 20px 60px rgba(16, 34, 43, .18);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
.h1-sm { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.pre { white-space: pre-line; }
.link { color: var(--primary); font-weight: 600; text-decoration: none; background: none; border: 0; cursor: pointer; font: inherit; padding: 0; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
[hidden] { display: none !important; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .7; cursor: wait; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 35%, transparent); }
.btn-primary:hover { box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 45%, transparent); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 17px 28px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn.disabled { opacity: .5; pointer-events: none; }
.btn-pulse { animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 45%, transparent); } 50% { box-shadow: 0 0 0 12px transparent; } }
.icon-btn { background: var(--soft); border: 0; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.spinner { width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.pill { display: inline-block; background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary); font-weight: 700; font-size: .82rem;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.pill-light { background: rgba(255,255,255,.14); color: #fff; }
.stars { color: #F5A524; letter-spacing: 1px; margin-bottom: 10px; }
.stars .muted { letter-spacing: 0; }
.off-pill { background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); font-weight: 800; font-size: .75rem; padding: 3px 8px; border-radius: 999px; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-weight: 500; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--primary); color: #fff;
  font-size: .75rem; font-weight: 800; display: grid; place-items: center; }

/* Header */
.announce { background: var(--dark); color: #fff; text-align: center; font-size: .86rem; font-weight: 600; padding: 9px 16px; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; }
.logo img { max-height: 52px; width: auto; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #00d4ff));
  color: #fff; display: grid; place-items: center; font-size: 1.05rem; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--muted); padding: 8px 12px; border-radius: 999px; font-size: .95rem; }
.nav a:hover, .nav a.active { color: var(--text); background: var(--soft); }
.cart-btn { position: relative; background: var(--soft); border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--text); }
.cart-count { position: absolute; top: -3px; right: -3px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; min-width: 20px; height: 20px;
  border-radius: 999px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.secure-badge { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: .9rem; }

/* Hero / landing */
.hero { padding: 40px 0 64px; background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--primary) 12%, transparent), transparent), linear-gradient(#fff, var(--soft)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.hero-media { position: sticky; top: 92px; }
.lead { font-size: 1.12rem; color: var(--muted); }
/* Imagens de produto nunca são cortadas: aparecem inteiras (contain) */
.gallery-main { width: 100%; height: auto; max-height: min(78vh, 720px); object-fit: contain; border-radius: 24px; background: var(--soft); box-shadow: var(--shadow); display: block; margin: 0 auto; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; border-radius: 12px; overflow: hidden; width: 72px; height: 72px; flex: none; cursor: pointer; background: var(--soft); }
.gallery-thumbs button.active { border-color: var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }

/* Ofertas */
.offers { display: grid; gap: 12px; margin-bottom: 14px; }
.offer { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer;
  background: #fff; transition: border-color .15s, box-shadow .15s; }
.offer:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
.offer input { position: absolute; opacity: 0; pointer-events: none; }
.offer-radio { width: 22px; height: 22px; border: 2px solid var(--line); border-radius: 50%; flex: none; display: grid; place-items: center; }
.offer:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent); background: color-mix(in srgb, var(--primary) 4%, #fff); }
.offer:has(input:checked) .offer-radio { border-color: var(--primary); }
.offer:has(input:checked) .offer-radio::after { content: ''; width: 11px; height: 11px; background: var(--primary); border-radius: 50%; }
.offer-info { display: flex; flex-direction: column; flex: 1; }
.offer-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.offer-price strong { font-size: 1.2rem; }
.offer-badge { position: absolute; top: -11px; left: 16px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.offer-hl .offer-badge { background: var(--primary); }
.buy-box { display: grid; gap: 8px; }
.installments { text-align: center; }
.trust-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); font-weight: 600; margin-top: 4px; }
.stock-warn { color: var(--accent); font-weight: 700; text-align: center; margin-top: 12px; }

/* Seções */
.section { padding: 80px 0; }
.section-tight { padding: 40px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .lead { color: rgba(255,255,255,.75); }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; text-align: left; }
.pain { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; gap: 12px; align-items: center; font-weight: 600; }
.pain span { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 99, 99, .2); color: #ff8a8a; display: grid; place-items: center; flex: none; font-size: .8rem; }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s, box-shadow .2s; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-icon { width: 54px; height: 54px; border-radius: 14px; background: color-mix(in srgb, var(--primary) 12%, #fff); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-rev > :first-child { order: 2; }
.split-img { border-radius: 24px; width: 100%; height: auto; max-height: 640px; object-fit: contain; box-shadow: var(--shadow); }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.steps li { display: flex; gap: 16px; }
.steps p { margin: 4px 0 0; }
.step-n { width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.testimonial { margin: 0; background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.testimonial blockquote { margin: 0 0 18px; font-size: 1.02rem; flex: 1; }
.t-img { border-radius: 12px; width: 100%; height: auto; max-height: 360px; object-fit: contain; background: var(--soft); margin-bottom: 14px; }
.verified { display: block; color: var(--primary); font-size: .8rem; font-weight: 700; margin-top: 4px; }
.section-offers { background: linear-gradient(var(--soft), #fff); }
.offers-card { background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg); margin-top: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.guarantee { display: flex; gap: 32px; align-items: center; background: color-mix(in srgb, var(--primary) 6%, #fff); border: 2px dashed color-mix(in srgb, var(--primary) 40%, #fff); border-radius: 24px; padding: 36px; }
.seal { width: 130px; height: 130px; flex: none; border-radius: 50%; background: var(--primary); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--primary) 20%, #fff); }
.seal strong { font-size: 2.8rem; line-height: 1; }
.seal span { text-transform: uppercase; font-weight: 700; font-size: .8rem; letter-spacing: .1em; }
.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: '−'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); padding-bottom: 6px; }
.cta-band { background: linear-gradient(135deg, var(--dark), color-mix(in srgb, var(--dark) 70%, var(--primary))); color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.75); }
.video-wrap { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 24px; background: #000; }
.video-wrap iframe, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -8px 24px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s; }
.sticky-buy div { display: flex; flex-direction: column; }
.sticky-buy.show { transform: none; }

/* Loja */
.shop-hero { background: linear-gradient(135deg, var(--dark), color-mix(in srgb, var(--dark) 65%, var(--primary))); color: #fff; padding: 56px 0; }
.shop-hero .lead { color: rgba(255,255,255,.75); }
.search { display: flex; gap: 8px; max-width: 520px; margin-top: 20px; background: #fff; padding: 6px; border-radius: 999px; }
.search input { flex: 1; border: 0; outline: 0; padding: 0 16px; font: inherit; border-radius: 999px; min-width: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { text-decoration: none; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; background: #fff; }
.chip.active, .chip:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 20px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard-img { position: relative; aspect-ratio: 4/5; background: var(--soft); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--dark); color: #fff; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.tag-off { left: auto; top: auto; right: 12px; bottom: 12px; background: var(--accent); }
.pcard-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.pcard-body .stars { margin-bottom: 6px; }
.pcard-title { font-weight: 700; text-decoration: none; font-size: 1.02rem; }
.pcard-sub { font-size: .86rem; margin: 4px 0 12px; flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.price { font-size: 1.2rem; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.perks div { display: flex; flex-direction: column; gap: 2px; }
.perks span { font-size: 1.6rem; }
.perks p { margin: 0; }
.empty { text-align: center; padding: 48px 16px; }
.breadcrumb { padding-top: 20px; }
.breadcrumb a { text-decoration: none; }
.prose { font-size: 1.05rem; }
.alert { background: #FFF4E5; border: 1px solid #FFD8A8; color: #8A4B00; padding: 12px 16px; border-radius: var(--radius-sm); margin: 12px 0; }
.alert-info { background: #EEF6FF; border-color: #CFE3FF; color: #134A8E; }

/* Drawer do carrinho */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(11, 31, 42, .45); z-index: 60; animation: fade .2s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 61; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.drawer-ship { padding: 12px 22px; background: var(--soft); font-size: .88rem; }
.bar { height: 6px; background: var(--line); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--primary); border-radius: 999px; transition: width .3s; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 8px; }
.drawer-foot p { margin: 0 0 6px; }
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 68px; height: 68px; border-radius: 12px; object-fit: contain; background: var(--soft); }
.ci-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.qty { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; width: max-content; margin-top: 6px; }
.qty button { width: 28px; height: 28px; border: 0; background: var(--soft); border-radius: 50%; cursor: pointer; font-size: 1rem; font-weight: 700; }
.qty span { min-width: 14px; text-align: center; font-weight: 700; font-size: .9rem; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--dark); color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 80;
  font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-lg); animation: fade .2s; max-width: calc(100% - 32px); text-align: center; }
@keyframes fade { from { opacity: 0; } }

.whats-fab { position: fixed; right: 20px; bottom: 20px; z-index: 29; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .2s; }
.whats-fab:hover { transform: scale(1.08); }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.8); padding: 56px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; }
.site-footer a { display: block; text-decoration: none; padding: 3px 0; color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: rgba(255,255,255,.6); }
.footer-logo { color: #fff; margin-bottom: 12px; }
.footer-logo-img { background: #fff; border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 14px; }
.footer-logo-img img { max-height: 44px; width: auto; }
.pay-icons { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pay-icons span { background: rgba(255,255,255,.1); border-radius: 6px; padding: 4px 8px; font-size: .75rem; font-weight: 700; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ===== Checkout ===== */
.page-checkout { background: var(--soft); }
.page-checkout .site-footer { margin-top: 64px; }
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; padding-top: 32px; align-items: start; }
.co-step { background: #fff; border-radius: var(--radius); padding: 24px; margin-bottom: 16px; border: 1px solid var(--line); transition: opacity .2s; scroll-margin-top: 90px; }
.co-step.co-active { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); box-shadow: var(--shadow); }
.co-locked { opacity: .55; }
.co-step-head { display: flex; align-items: center; gap: 12px; }
.co-step-head h2 { font-size: 1.2rem; margin: 0; flex: 1; }
.co-n { width: 30px; height: 30px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.co-active .co-n { background: var(--primary); }
.co-step-done { margin: 10px 0 0 42px; }
.co-form { margin-top: 20px; display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.field > span { font-weight: 600; font-size: .9rem; }
.field input, .field textarea, .field select { font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); outline: none; background: #fff; transition: border-color .15s, box-shadow .15s; width: 100%; }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent); }
.field-row { display: flex; gap: 14px; }
.field-sm { max-width: 90px; }
.cep-hint { justify-content: flex-end; padding-bottom: 14px; }
.form-error { color: var(--danger); font-weight: 600; font-size: .9rem; margin: 0; min-height: 0; }
.form-error:empty { display: none; }
.ship-box { display: flex; justify-content: space-between; background: var(--soft); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 600; }
.pay-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.pay-tab { border: 2px solid var(--line); background: #fff; border-radius: var(--radius-sm); padding: 14px 8px; cursor: pointer; font: inherit; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pay-tab.active { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 5%, #fff); }
.pay-pane { display: grid; gap: 14px; }
.pix-total { font-size: 1.1rem; background: var(--soft); padding: 14px 16px; border-radius: var(--radius-sm); }
.co-side { position: sticky; top: 92px; }
.co-summary { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.sum-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.sum-item > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.sum-img { position: relative; }
.sum-img img { width: 56px; height: 56px; border-radius: 10px; object-fit: contain; background: var(--soft); }
.sum-img span { position: absolute; top: -6px; right: -6px; background: var(--muted); color: #fff; font-size: .72rem; font-weight: 800; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; }
.sum-lines { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; display: grid; gap: 8px; }
.sum-lines .discount { color: var(--primary); font-weight: 600; }
.sum-lines .total, .order-items .total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 1.15rem; }
.coupon-box { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.coupon-box-mobile { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: -6px 0 16px; }
.coupon-form { display: flex; gap: 8px; margin-top: 8px; }
.coupon-form input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); text-transform: uppercase; outline: none; }
.coupon-form input:focus { border-color: var(--primary); }
.coupon-form .btn { padding: 10px 16px; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: color-mix(in srgb, var(--primary) 8%, #fff);
  color: var(--primary); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .9rem; }
.coupon-note { margin: 8px 0 0; }
.co-trust { display: grid; gap: 6px; padding: 16px 8px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.co-summary-mobile { display: none; background: #fff; border-radius: var(--radius); padding: 0 18px; margin-bottom: 16px; border: 1px solid var(--line); }
.co-summary-mobile summary { padding: 16px 0; display: flex; justify-content: space-between; cursor: pointer; font-weight: 600; list-style: none; }
.co-summary-mobile summary::-webkit-details-marker { display: none; }
.co-empty { background: #fff; border-radius: var(--radius); padding: 48px; text-align: center; }

/* ===== Pedido ===== */
.order-page { padding-top: 40px; padding-bottom: 40px; }
.order-loading { text-align: center; padding: 60px; color: var(--muted); }
.order-card { background: #fff; border-radius: 24px; padding: 36px; box-shadow: var(--shadow); text-align: center; }
.order-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 2rem; font-weight: 800; }
.order-icon.ok { background: var(--primary); color: #fff; }
.order-icon.wait { background: #FFF4E5; }
.order-icon.bad { background: #FDECEC; color: var(--danger); }
.order-card h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.pix-box { display: grid; grid-template-columns: 220px 1fr; gap: 28px; text-align: left; margin: 28px 0; align-items: center; }
.pix-qr img, .qr-fake { width: 220px; height: 220px; border-radius: 16px; border: 1px solid var(--line); }
.qr-fake { display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(45deg, var(--soft), var(--soft) 10px, #fff 10px, #fff 20px); font-weight: 800; color: var(--muted); }
.pix-info { display: grid; gap: 12px; }
.pix-amount { display: flex; flex-direction: column; }
.pix-amount strong { font-size: 1.8rem; color: var(--primary); }
.pix-info textarea { font-family: ui-monospace, monospace; font-size: .8rem; resize: none; }
.pix-steps { text-align: left; background: var(--soft); border-radius: var(--radius-sm); padding: 16px 16px 16px 36px; display: grid; gap: 6px; }
.waiting { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--muted); font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.timeline { display: grid; gap: 0; text-align: left; max-width: 360px; margin: 28px auto; }
.tl-step { display: flex; gap: 14px; padding-bottom: 18px; position: relative; color: var(--muted); }
.tl-step > span { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line); background: #fff; flex: none; margin-top: 3px; z-index: 1; }
.tl-step:not(:last-child)::before { content: ''; position: absolute; left: 8px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.tl-step.done { color: var(--text); font-weight: 600; }
.tl-step.done > span { border-color: var(--primary); background: var(--primary); }
.tl-step.done:not(:last-child)::before { background: var(--primary); }
.order-items { background: #fff; border-radius: var(--radius); padding: 24px; margin-top: 16px; border: 1px solid var(--line); display: grid; gap: 8px; }

/* ===== Responsivo ===== */
@media (max-width: 1024px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .checkout { grid-template-columns: 1fr 340px; }
}
@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 28px; }
  .hero-media { position: static; }
  .hero { padding-top: 20px; }
  .split-rev > :first-child { order: 0; }
  .testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  .checkout { grid-template-columns: 1fr; padding-top: 16px; }
  .co-side { display: none; }
  .co-summary-mobile { display: block; }
  .coupon-box-mobile { display: block; }
  .sticky-buy { display: flex; }
  .hide-sm { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 56px 0; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard-body { padding: 12px; }
  .pcard-body .btn { padding: 10px 12px; font-size: .88rem; }
  .benefits { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .guarantee { flex-direction: column; text-align: center; padding: 28px 20px; }
  .header-row { gap: 12px; }
  .nav a { padding: 8px; font-size: .9rem; }
  .field-row { flex-direction: column; gap: 14px; }
  .field-sm { max-width: none; }
  .pix-box { grid-template-columns: 1fr; justify-items: center; }
  .pix-info { width: 100%; }
  .order-card { padding: 28px 18px; }
  .offers-card { padding: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .whats-fab { bottom: 84px; width: 52px; height: 52px; }
  .co-step { padding: 18px; }
}
