:root {
  --navy: #14213f;
  --navy-2: #1d2e59;
  --pink: #f20f78;
  --pink-dark: #ce075f;
  --cyan: #16c8d7;
  --cyan-dark: #0898ad;
  --violet: #6e3bb7;
  --yellow: #ffc640;
  --paper: #fffafc;
  --white: #ffffff;
  --ink: #17213b;
  --muted: #687089;
  --line: #e9e6ef;
  --soft-pink: #fff0f7;
  --soft-cyan: #ebfcfd;
  --success: #178c68;
  --danger: #c83e55;
  --shadow-sm: 0 8px 30px rgba(20, 33, 63, .08);
  --shadow-md: 0 20px 60px rgba(20, 33, 63, .16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1200px;
  --font: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 120px; }
body { max-width: 100%; margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -60px; padding: 12px 18px; border-radius: 10px; background: var(--navy); color: white; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,250,252,.88); border-bottom: 1px solid rgba(20,33,63,.07); backdrop-filter: blur(18px); }
.header-inner { min-height: 92px; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; width: 154px; height: 82px; }
.brand img { width: 100%; max-height: 78px; object-fit: contain; }
.main-nav { justify-self: center; display: flex; gap: 36px; font-size: .9rem; font-weight: 700; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 3px; border-radius: 4px; background: var(--pink); transition: right .25s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.budget-trigger { display: flex; align-items: center; gap: 10px; min-width: 190px; padding: 10px 14px; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 6px 22px rgba(20,33,63,.06); }
.budget-trigger:hover { transform: translateY(-1px); border-color: rgba(242,15,120,.35); }
.bag-icon { display: grid; place-items: center; width: 34px; height: 34px; color: var(--pink); background: var(--soft-pink); border-radius: 10px; }
.budget-trigger-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.budget-trigger-copy small { color: var(--muted); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.budget-trigger-copy strong { font-size: .9rem; }
.item-count { margin-left: auto; display: grid; place-items: center; min-width: 25px; height: 25px; padding: 0 6px; border-radius: 999px; color: white; background: var(--pink); font-size: .75rem; font-weight: 800; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 77% 31%, rgba(22,200,215,.17), transparent 27%), radial-gradient(circle at 23% 20%, rgba(242,15,120,.09), transparent 25%), linear-gradient(155deg, #fffafe 0%, #fff 48%, #eefcfd 100%); }
.hero::before { content: ""; position: absolute; width: 500px; height: 500px; left: -310px; top: 180px; border: 1px solid rgba(242,15,120,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(242,15,120,.025), 0 0 0 140px rgba(242,15,120,.02); }
.hero-grid { position: relative; min-height: 610px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; padding-block: 78px 86px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--pink); font-size: .75rem; line-height: 1.3; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-light { color: #83eef5; }
.hero h1 { max-width: 650px; margin-bottom: 24px; font-size: clamp(3.2rem, 6.2vw, 5.7rem); font-weight: 800; }
h1 em, h2 em { color: var(--pink); font-family: "Pacifico", cursive; font-weight: 400; font-style: normal; letter-spacing: -.03em; }
.hero-lead { max-width: 580px; margin-bottom: 30px; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button { min-height: 50px; padding: 13px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 14px; font-weight: 800; line-height: 1.2; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(22,200,215,.36); outline-offset: 2px; }
.button-primary { color: white; background: linear-gradient(135deg, var(--pink), #ff398f); box-shadow: 0 10px 24px rgba(242,15,120,.25); }
.button-primary:hover { box-shadow: 0 14px 30px rgba(242,15,120,.34); }
.button-secondary { color: var(--navy); background: white; border: 1px solid var(--line); }
.button-small { min-height: 42px; padding: 10px 15px; color: var(--navy); background: white; border: 1px solid var(--line); }
.button-full { width: 100%; }
.text-link { color: var(--navy); font-weight: 800; }
.text-link span { color: var(--pink); padding-left: 4px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 28px 0 0; padding: 0; color: var(--muted); list-style: none; font-size: .78rem; font-weight: 700; }
.trust-list span { display: inline-grid; place-items: center; width: 19px; height: 19px; margin-right: 5px; color: white; background: var(--cyan-dark); border-radius: 50%; }
.hero-showcase { position: relative; min-height: 490px; }
.hero-showcase::before { content: ""; position: absolute; inset: 44px 15px 14px; border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; background: linear-gradient(145deg, var(--navy), #263a70); box-shadow: 0 40px 80px rgba(20,33,63,.22); transform: rotate(3deg); }
.showcase-orbit { position: absolute; z-index: 0; border: 1px solid rgba(22,200,215,.45); border-radius: 50%; }
.orbit-one { width: 500px; height: 390px; top: 38px; right: -50px; transform: rotate(-16deg); }
.orbit-two { width: 390px; height: 510px; top: -3px; left: 70px; transform: rotate(38deg); border-color: rgba(242,15,120,.22); }
.mockup-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 18px; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.7); border-radius: 22px; box-shadow: var(--shadow-md); animation: float 5.4s ease-in-out infinite; }
.mockup-card strong, .mockup-card span { display: block; }
.mockup-card strong { font-size: .92rem; }
.mockup-card span { margin-top: 4px; color: var(--muted); font-size: .7rem; }
.mockup-icon { display: grid; place-items: center; width: 84px; height: 94px; border-radius: 17px; font-size: 3rem; background: linear-gradient(145deg, #fff3f9, #ffe1ef); }
.card-agenda { left: 11%; top: 12%; transform: rotate(-6deg); }
.card-caneca { right: 1%; top: 34%; animation-delay: -2s; transform: rotate(5deg); }
.card-caneca .mockup-icon { background: linear-gradient(145deg, #ecfdff, #cef7fa); }
.card-festa { left: 19%; bottom: 6%; animation-delay: -3.3s; transform: rotate(3deg); }
.card-festa .mockup-icon { background: linear-gradient(145deg, #f4edff, #e6d9ff); }
.showcase-badge { position: absolute; z-index: 3; right: 7%; top: 12%; width: 88px; height: 88px; display: grid; place-content: center; text-align: center; color: var(--navy); background: var(--yellow); border: 5px solid white; border-radius: 50%; box-shadow: var(--shadow-sm); transform: rotate(8deg); }
.showcase-badge strong, .showcase-badge span { display: block; line-height: 1.2; }
.showcase-badge strong { font-size: .85rem; }
.showcase-badge span { font-size: .68rem; }
.hero-spark { position: absolute; color: var(--cyan); font-size: 2rem; }
.hero-spark-one { left: 48%; top: 80px; }
.hero-spark-two { right: 4%; bottom: 125px; color: var(--pink); }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.ticker { position: relative; z-index: 3; overflow: hidden; padding: 13px 0; color: white; background: var(--navy); transform: rotate(-1deg) scale(1.02); }
.ticker-track { width: max-content; display: flex; gap: 44px; animation: ticker 28s linear infinite; }
.ticker span { font-size: .83rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.ticker span::first-letter { color: var(--cyan); }
@keyframes ticker { to { transform: translateX(-50%); } }

.catalog-section { padding: 110px 0 120px; background: #fff; }
.section-heading { margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 10px; font-size: clamp(2.3rem, 4.5vw, 3.8rem); }
.section-heading > p { color: var(--muted); }
.split-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.split-heading > p { max-width: 430px; margin-bottom: 5px; }
.centered { max-width: 680px; margin-inline: auto; text-align: center; }
.centered .eyebrow { justify-content: center; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 34px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-button { min-height: 42px; padding: 9px 16px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 700; }
.filter-button.active { color: white; background: var(--navy); border-color: var(--navy); }
.search-box { min-width: 260px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; }
.search-box span { color: var(--pink); font-size: 1.3rem; }
.search-box input { min-height: 46px; width: 100%; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 8px 30px rgba(20,33,63,.05); transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-media { position: relative; min-height: 228px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, color-mix(in srgb, var(--card-color) 12%, white), color-mix(in srgb, var(--card-color) 26%, white)); }
.product-media::before, .product-media::after { content: ""; position: absolute; border: 1px solid color-mix(in srgb, var(--card-color) 45%, white); border-radius: 50%; }
.product-media::before { width: 250px; height: 180px; transform: rotate(-23deg); }
.product-media::after { width: 170px; height: 240px; transform: rotate(35deg); }
.product-emoji { position: relative; z-index: 2; display: grid; place-items: center; width: 130px; height: 130px; border-radius: 34px; background: rgba(255,255,255,.8); box-shadow: 0 18px 40px color-mix(in srgb, var(--card-color) 22%, transparent); font-size: 4.4rem; transform: rotate(-3deg); backdrop-filter: blur(6px); }
.product-photo { position: relative; z-index: 2; width: calc(100% - 28px); height: 196px; padding: 10px; object-fit: contain; object-position: center; background: rgba(255,255,255,.72); border-radius: 20px; box-shadow: 0 18px 40px color-mix(in srgb, var(--card-color) 20%, transparent); }
.product-tag { position: absolute; z-index: 3; left: 15px; top: 15px; padding: 6px 10px; color: var(--navy); background: rgba(255,255,255,.9); border-radius: 999px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.product-body { flex: 1; padding: 22px; display: flex; flex-direction: column; }
.product-body h3 { margin-bottom: 9px; font-size: 1.28rem; }
.product-body > p { flex: 1; margin-bottom: 18px; color: var(--muted); font-size: .87rem; }
.product-meta { padding-top: 17px; display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; border-top: 1px solid var(--line); }
.product-price { display: flex; flex-direction: column; line-height: 1.2; }
.product-price small { color: var(--muted); font-size: .68rem; }
.product-price strong { margin-top: 3px; color: var(--navy); font-size: 1.18rem; }
.product-price strong span { font-size: .72rem; }
.configure-button { width: 44px; height: 44px; display: grid; place-items: center; color: white; background: var(--pink); border: 0; border-radius: 13px; font-size: 1.45rem; transition: transform .2s, background .2s; }
.configure-button:hover { transform: rotate(8deg); background: var(--pink-dark); }
.empty-state { padding: 70px 20px; text-align: center; color: var(--muted); }
.empty-state > span { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px; color: var(--pink); background: var(--soft-pink); border-radius: 50%; font-size: 2rem; }
.empty-state h3 { color: var(--navy); }

.process-section { padding: 110px 0; background: linear-gradient(180deg, var(--paper), #fff3f9); }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; padding: 0; margin: 58px 0 0; list-style: none; }
.process-grid::before { content: ""; position: absolute; left: 12%; right: 12%; top: 54px; border-top: 2px dashed rgba(20,33,63,.14); }
.process-grid li { position: relative; padding: 28px 24px 24px; background: rgba(255,255,255,.82); border: 1px solid rgba(20,33,63,.07); border-radius: 22px; box-shadow: var(--shadow-sm); }
.process-icon { position: relative; z-index: 2; width: 58px; height: 58px; margin-bottom: 28px; display: grid; place-items: center; color: white; background: var(--navy); border: 5px solid #fff5fa; border-radius: 18px; font-size: 1.55rem; }
.process-grid li:nth-child(2) .process-icon, .process-grid li:nth-child(4) .process-icon { background: var(--pink); }
.process-grid li:nth-child(3) .process-icon { background: var(--cyan-dark); }
.process-number { position: absolute; right: 18px; top: 15px; color: rgba(20,33,63,.1); font-size: 2.6rem; font-weight: 800; letter-spacing: -.06em; }
.process-grid h3 { margin-bottom: 10px; }
.process-grid p { margin: 0; color: var(--muted); font-size: .83rem; }
.timeline-section { padding: 100px 0; background: white; }
.timeline-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; padding: 56px; color: white; background: radial-gradient(circle at 80% 0, rgba(22,200,215,.17), transparent 35%), var(--navy); border-radius: 32px; box-shadow: 0 25px 60px rgba(20,33,63,.2); }
.timeline-card h2 { margin-bottom: 18px; font-size: 2.6rem; }
.timeline-card p { margin: 0; color: #c5cde0; }
.mini-timeline { display: flex; align-items: flex-start; }
.mini-timeline > div { min-width: 80px; text-align: center; }
.mini-timeline span { width: 45px; height: 45px; display: inline-grid; place-items: center; margin-bottom: 11px; color: var(--navy); background: var(--cyan); border-radius: 50%; font-weight: 800; }
.mini-timeline strong, .mini-timeline small { display: block; }
.mini-timeline strong { font-size: .75rem; }
.mini-timeline small { margin-top: 3px; color: #aeb8d0; font-size: .64rem; }
.mini-timeline i { flex: 1; margin-top: 22px; border-top: 1px dashed rgba(255,255,255,.3); }

.site-footer { padding: 65px 0 22px; color: #c6cde0; background: #0d1730; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .7fr; gap: 60px; padding-bottom: 45px; }
.footer-brand img { width: 148px; height: 88px; margin-bottom: 14px; object-fit: contain; }
.footer-brand p { max-width: 380px; }
.footer-grid strong { display: block; margin-bottom: 14px; color: white; }
.footer-grid p, .footer-grid a { font-size: .84rem; }
.footer-grid a { display: block; margin: 7px 0; }
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom { padding-top: 18px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); font-size: .74rem; }

[hidden] { display: none !important; }
.modal-backdrop, .drawer-backdrop { position: fixed; z-index: 100; inset: 0; background: rgba(9,17,38,.58); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.modal-backdrop.open, .drawer-backdrop.open { opacity: 1; }
.product-modal { position: fixed; z-index: 110; inset: 50% auto auto 50%; width: min(1100px, calc(100% - 30px)); max-height: min(820px, calc(100vh - 30px)); overflow: hidden; background: white; border-radius: 28px; box-shadow: 0 35px 100px rgba(10,18,38,.32); transform: translate(-50%,-47%) scale(.98); opacity: 0; transition: transform .26s, opacity .26s; }
.product-modal.open { transform: translate(-50%,-50%) scale(1); opacity: 1; }
.modal-layout { display: grid; grid-template-columns: .8fr 1.2fr; max-height: inherit; }
.modal-visual { position: relative; min-height: 650px; display: grid; place-items: center; overflow: hidden; padding: 40px; background: linear-gradient(150deg, color-mix(in srgb, var(--modal-color, var(--cyan)) 12%, white), color-mix(in srgb, var(--modal-color, var(--cyan)) 34%, white)); }
.modal-visual::before, .modal-visual::after { content: ""; position: absolute; border: 1px solid color-mix(in srgb, var(--modal-color, var(--cyan)) 46%, white); border-radius: 50%; }
.modal-visual::before { width: 470px; height: 320px; transform: rotate(-20deg); }
.modal-visual::after { width: 330px; height: 470px; transform: rotate(40deg); }
.modal-product-icon { position: relative; z-index: 2; width: 220px; height: 220px; display: grid; place-items: center; background: rgba(255,255,255,.82); border-radius: 52px; box-shadow: 0 30px 60px color-mix(in srgb, var(--modal-color, var(--cyan)) 25%, transparent); font-size: 7.5rem; transform: rotate(-4deg); }
.modal-product-icon.has-photo { overflow: hidden; transform: none; }
.modal-product-photo { width: 100%; height: 100%; padding: 10px; object-fit: contain; object-position: center; }
.product-chip { position: absolute; z-index: 4; top: 30px; left: 30px; padding: 7px 12px; color: white; background: var(--navy); border-radius: 999px; font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.visual-note { position: absolute; z-index: 3; left: 28px; right: 28px; bottom: 28px; display: flex; gap: 12px; padding: 14px; background: rgba(255,255,255,.88); border-radius: 15px; box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); }
.visual-note > span { color: var(--pink); }
.visual-note p { margin: 0; font-size: .73rem; line-height: 1.45; }
.modal-close { position: absolute; z-index: 12; right: 18px; top: 18px; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; color: var(--navy); background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 12px; font-size: 1.5rem; line-height: 1; }
.config-form { max-height: min(820px, calc(100vh - 30px)); overflow-y: auto; padding: 42px 46px 0; }
.modal-heading { padding-right: 35px; }
.modal-heading h2 { margin-bottom: 8px; font-size: 2.2rem; }
.modal-heading > p:last-child { color: var(--muted); font-size: .86rem; }
.config-section { padding: 24px 0; border-top: 1px solid var(--line); }
.config-label { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.config-label > span { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; color: white; background: var(--navy); border-radius: 9px; font-size: .75rem; font-weight: 800; }
.config-label strong, .config-label small { display: block; }
.config-label strong { font-size: .88rem; }
.config-label small { margin-top: 2px; color: var(--muted); font-size: .68rem; }
.quantity-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.quantity-control { display: grid; grid-template-columns: 40px 70px 40px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.quantity-control button { border: 0; color: var(--navy); background: var(--paper); font-size: 1.2rem; }
.quantity-control input { width: 100%; min-height: 42px; text-align: center; border: 0; border-inline: 1px solid var(--line); outline: 0; font-weight: 800; appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button { display: none; }
.tier-status { color: var(--success); font-size: .74rem; font-weight: 800; }
.tier-list { margin-top: 14px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.tier-pill { width: 100%; padding: 10px; color: var(--navy); font: inherit; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.tier-pill:hover { border-color: var(--cyan); transform: translateY(-1px); }
.tier-pill:focus-visible { outline: 3px solid color-mix(in srgb, var(--cyan) 32%, transparent); outline-offset: 2px; }
.tier-pill.active { background: var(--soft-cyan); border-color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan); }
.tier-pill strong, .tier-pill small { display: block; }
.tier-pill strong { font-size: .75rem; }
.tier-pill small { color: var(--muted); font-size: .62rem; }
.options-list { display: grid; gap: 9px; }
.option-card { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.option-card:hover { border-color: rgba(242,15,120,.3); }
.option-card:has(input:checked) { background: var(--soft-pink); border-color: var(--pink); }
.option-card input { width: 18px; height: 18px; accent-color: var(--pink); }
.option-card strong, .option-card small { display: block; }
.option-card strong { font-size: .8rem; }
.option-card small { color: var(--muted); font-size: .66rem; }
.option-price { color: var(--navy); font-size: .75rem; font-weight: 800; }
.field { position: relative; display: grid; gap: 7px; }
.field > span { color: var(--navy); font-size: .76rem; font-weight: 800; }
.field > span small { color: var(--muted); font-weight: 500; }
.field input, .field textarea { width: 100%; padding: 12px 14px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; outline: 0; }
.field textarea { resize: vertical; min-height: 82px; }
.field input:focus, .field textarea:focus { border-color: var(--cyan-dark); box-shadow: 0 0 0 3px rgba(22,200,215,.12); }
.char-count { position: absolute; right: 12px; bottom: 8px; color: var(--muted); font-size: .62rem; }
.modal-summary { position: sticky; bottom: 0; margin: 0 -46px; padding: 18px 46px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(255,255,255,.95); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.modal-summary > div { display: flex; flex-direction: column; }
.modal-summary span { color: var(--muted); font-size: .68rem; }
.modal-summary strong { color: var(--navy); font-size: 1.45rem; line-height: 1.25; }
.modal-summary small { color: var(--success); font-size: .65rem; }

.drawer-backdrop { z-index: 120; }
.budget-drawer { position: fixed; z-index: 130; top: 0; right: 0; width: min(480px, 100%); height: 100dvh; display: flex; flex-direction: column; background: white; box-shadow: -25px 0 70px rgba(9,17,38,.25); transform: translateX(103%); transition: transform .3s ease; }
.budget-drawer.open { transform: translateX(0); }
.drawer-header { padding: 25px 26px 20px; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--line); }
.drawer-header .eyebrow { margin-bottom: 5px; }
.drawer-header h2 { margin: 0; font-size: 2rem; }
.drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: 22px 26px; }
.budget-empty { min-height: 470px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.budget-empty > div { width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 20px; color: var(--pink); background: var(--soft-pink); border-radius: 50%; font-size: 2.2rem; }
.budget-empty h3 { margin-bottom: 8px; }
.budget-empty p { max-width: 280px; margin-bottom: 22px; color: var(--muted); font-size: .85rem; }
.budget-items { display: grid; gap: 11px; padding-bottom: 20px; }
.budget-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; }
.budget-item-icon { display: grid; place-items: center; width: 58px; height: 58px; background: white; border-radius: 12px; font-size: 1.8rem; }
.budget-item h3 { margin: 0 0 4px; font-size: .84rem; letter-spacing: -.02em; }
.budget-item p { margin: 0; color: var(--muted); font-size: .65rem; line-height: 1.45; }
.budget-item-price { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.budget-item-price strong { font-size: .78rem; white-space: nowrap; }
.remove-item { width: 27px; height: 27px; color: var(--danger); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.delivery-section { padding: 20px 0; border-top: 1px solid var(--line); }
.delivery-options { display: grid; gap: 9px; }
.delivery-option { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.delivery-option:has(input:checked) { background: var(--soft-cyan); border-color: var(--cyan-dark); }
.delivery-option input { accent-color: var(--cyan-dark); }
.delivery-option strong, .delivery-option small { display: block; }
.delivery-option strong { font-size: .78rem; }
.delivery-option small { color: var(--muted); font-size: .65rem; }
.delivery-option > span:last-child { font-size: .74rem; font-weight: 800; }
.cep-box { margin-top: 10px; display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: end; }
.deadline-card { display: flex; gap: 12px; padding: 14px; color: var(--navy); background: #fff9e8; border: 1px solid #f6df9f; border-radius: 14px; }
.deadline-card > span { color: #bd7c00; font-size: 1.35rem; }
.deadline-card strong { font-size: .78rem; }
.deadline-card p { margin: 2px 0 0; color: #816b3b; font-size: .67rem; }
.drawer-footer { padding: 18px 26px 20px; border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(20,33,63,.06); }
.summary-lines { display: grid; gap: 4px; }
.summary-lines > div, .grand-total { display: flex; justify-content: space-between; }
.summary-lines span, .summary-lines strong { font-size: .72rem; }
.summary-lines span { color: var(--muted); }
.grand-total { margin: 11px 0 15px; padding-top: 11px; border-top: 1px dashed var(--line); align-items: flex-end; }
.grand-total span { font-size: .82rem; font-weight: 800; }
.grand-total strong { color: var(--pink); font-size: 1.6rem; line-height: 1; }
.safe-note { margin: 8px 0 0; color: var(--muted); text-align: center; font-size: .65rem; }

.confirm-modal { position: fixed; z-index: 140; inset: 50% auto auto 50%; width: min(620px, calc(100% - 30px)); max-height: calc(100vh - 30px); overflow-y: auto; padding: 38px; background: white; border-radius: 27px; box-shadow: 0 35px 100px rgba(10,18,38,.32); transform: translate(-50%,-47%) scale(.98); opacity: 0; transition: transform .26s, opacity .26s; }
.confirm-modal.open { transform: translate(-50%,-50%) scale(1); opacity: 1; }
.confirm-heading { text-align: center; }
.confirm-heading > span { width: 48px; height: 48px; margin: 0 auto 14px; display: grid; place-items: center; color: white; background: var(--pink); border-radius: 15px; font-size: 1.5rem; transform: rotate(8deg); }
.confirm-heading .eyebrow { justify-content: center; margin-bottom: 9px; }
.confirm-heading h2 { margin-bottom: 8px; font-size: 2rem; }
.confirm-heading > p:last-child { color: var(--muted); font-size: .82rem; }
.customer-form { margin-top: 24px; display: grid; gap: 15px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.consent { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .72rem; }
.consent input { margin-top: 3px; accent-color: var(--pink); }
.confirm-review { padding: 14px; display: flex; justify-content: space-between; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; font-size: .75rem; }
.confirm-review strong { color: var(--pink); font-size: 1.15rem; }
.form-feedback { min-height: 20px; margin: 0; color: var(--danger); text-align: center; font-size: .72rem; }
.toast-region { position: fixed; z-index: 200; right: 22px; bottom: 22px; display: grid; gap: 10px; }
.toast { min-width: 270px; max-width: 390px; padding: 14px 17px; color: white; background: var(--navy); border-radius: 13px; box-shadow: var(--shadow-md); font-size: .78rem; font-weight: 700; animation: toast-in .25s ease both; }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
@keyframes toast-in { from { transform: translateY(10px); opacity: 0; } }

@media (max-width: 1000px) {
  .main-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; padding-top: 60px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .trust-list { justify-content: center; }
  .hero h1, .hero-lead { margin-inline: auto; }
  .hero-showcase { width: min(610px, 100%); margin-inline: auto; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid::before { display: none; }
  .timeline-card { grid-template-columns: 1fr; gap: 40px; }
  .modal-layout { grid-template-columns: .65fr 1.35fr; }
  .modal-product-icon { width: 150px; height: 150px; font-size: 5rem; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 76px; }
  .brand { width: 112px; height: 67px; }
  .budget-trigger { min-width: 0; min-height: 48px; padding: 7px 9px; }
  .budget-trigger-copy { display: none; }
  .hero-grid { min-height: auto; padding-block: 45px 62px; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; gap: 14px; }
  .hero-actions .button { width: min(300px, 100%); }
  .trust-list { display: grid; gap: 9px; text-align: left; }
  .hero-showcase { min-height: 420px; transform: scale(.94); }
  .mockup-card { padding: 12px; }
  .mockup-icon { width: 62px; height: 68px; font-size: 2rem; }
  .card-agenda { left: 2%; }
  .card-caneca { right: -2%; }
  .card-festa { left: 8%; bottom: 4%; }
  .showcase-badge { right: 0; }
  .catalog-section, .process-section { padding: 80px 0; }
  .split-heading { display: block; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .category-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 7px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .filter-button { flex: 0 0 auto; scroll-snap-align: start; }
  .search-box { min-width: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { min-height: 210px; }
  .process-grid { grid-template-columns: 1fr; }
  .timeline-section { padding: 70px 0; }
  .timeline-card { width: min(calc(100% - 28px), var(--container)); padding: 34px 22px; }
  .mini-timeline { overflow-x: auto; padding-bottom: 10px; }
  .mini-timeline i { min-width: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .product-modal { width: 100%; max-height: 100dvh; inset: auto 0 0; border-radius: 24px 24px 0 0; transform: translateY(103%); }
  .product-modal.open { transform: translateY(0); }
  .modal-layout { display: block; max-height: 100dvh; overflow-y: auto; }
  .modal-visual { min-height: 220px; }
  .modal-product-icon { width: 120px; height: 120px; font-size: 4rem; border-radius: 30px; }
  .visual-note { display: none; }
  .config-form { max-height: none; overflow: visible; padding: 28px 20px 0; }
  .modal-summary { margin: 0 -20px; padding: 15px 20px calc(15px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; }
  .modal-summary > div { align-items: center; }
  .tier-list { grid-template-columns: 1fr; }
  .tier-pill { display: flex; justify-content: space-between; }
  .confirm-modal { width: 100%; max-height: 92dvh; inset: auto 0 0; padding: 34px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; transform: translateY(103%); }
  .confirm-modal.open { transform: translateY(0); }
  .field-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .header-inner { gap: 10px; }
  .brand { width: 104px; height: 62px; }
  .hero-grid { padding-top: 38px; }
  .hero h1 { font-size: clamp(2.35rem, 12.5vw, 3.35rem); }
  .hero-showcase { min-height: 365px; transform: none; }
  .mockup-card { max-width: 76%; gap: 9px; padding: 10px; border-radius: 16px; }
  .mockup-card strong { font-size: .78rem; }
  .mockup-card span { font-size: .62rem; }
  .showcase-badge { width: 72px; height: 72px; border-width: 4px; }
  .section-heading h2 { font-size: 2.15rem; }
  .product-body { padding: 18px; }
  .modal-visual { min-height: 190px; padding: 28px; }
  .config-form { padding-inline: 16px; }
  .modal-summary { margin-inline: -16px; padding-inline: 16px; }
  .budget-drawer { width: 100%; max-width: 100%; }
  .drawer-header { padding: 18px 16px 15px; }
  .drawer-header h2 { font-size: 1.65rem; }
  .drawer-body { padding: 17px 14px; }
  .drawer-footer { padding: 15px 16px calc(16px + env(safe-area-inset-bottom)); }
  .budget-item { grid-template-columns: 48px minmax(0,1fr) auto; gap: 9px; padding: 10px; }
  .budget-item-icon { width: 48px; height: 48px; }
  .budget-item-main { min-width: 0; }
  .delivery-option { grid-template-columns: auto minmax(0,1fr) auto; }
  .delivery-option > * { min-width: 0; }
  .confirm-review { flex-wrap: wrap; gap: 8px 16px; }
  .toast-region { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px; }
  .toast { width: 100%; min-width: 0; max-width: none; }
}

@media (max-width: 370px) {
  .cep-box { grid-template-columns: 1fr; }
  .cep-box .button, .modal-summary .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
