/* fottu.br · paleta e tipografia do brandbook
   Creme #FAF6F0 · Terracota #C8714A (ação) · Vinho #7B2D3E (títulos) · Vinho profundo #4A1525 · Dourado #C4962A (detalhes) · Areia #E8DDD0
   Playfair Display (títulos) · Cormorant Garamond itálico (apoio) · DM Sans (texto) · Caveat (bilhetes escritos à mão) */
:root {
  --cream: #FAF6F0; --warm: #FFF9F3; --sand: #E8DDD0; --sand-2: #F1E8DD; --blush: #E8C4B0;
  --terra: #C8714A; --terra-d: #A9573A; --wine: #7B2D3E; --deep: #4A1525; --gold: #C4962A; --gold-l: #E8C96A;
  --ink: #2C1A1F; --muted: #8A6B72; --line: rgba(74, 21, 37, .12); --kraft: #C49A6C;
  --serif: 'Playfair Display', Georgia, serif; --soft: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif; --hand: 'Caveat', 'Segoe Print', cursive;
  --r-lg: 28px; --r-md: 18px; --shadow-mag: 0 1px 0 rgba(255,255,255,.6) inset, 0 2px 0 rgba(74,21,37,.10), 0 12px 18px -10px rgba(74,21,37,.45);
  --ease: cubic-bezier(.22, 1, .36, 1); --bounce: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { /* grão de papel */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .2 0 0 0 0 .15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--deep); color: var(--cream); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ---------- tipografia ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--wine); margin: 0; line-height: 1.05; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--terra); font-weight: 500; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.hand { font-family: var(--hand); font-weight: 500; }
.kicker { display: inline-block; font-family: var(--hand); font-size: 1.45rem; line-height: 1; color: var(--terra); margin-bottom: 12px; position: relative; }
.kicker::after { content: ''; display: block; height: 8px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5 Q 12 1 25 4 T 50 4 T 75 4 T 99 3' fill='none' stroke='%23C8714A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; opacity: .7; }
.kicker.light { color: var(--gold-l); }
.kicker.light::after { filter: brightness(1.6) saturate(.6); }
.sec-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 16px auto 0; max-width: 520px; }
.sec-head.left { text-align: left; margin-inline: 0; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 15px 26px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s; white-space: nowrap; }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 4px 0 var(--terra-d), 0 14px 24px -12px rgba(169, 87, 58, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--terra-d), 0 18px 28px -12px rgba(169, 87, 58, .75); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--terra-d), 0 6px 12px -8px rgba(169, 87, 58, .6); }
.btn-ghost { background: transparent; color: var(--wine); box-shadow: inset 0 0 0 1.5px rgba(123, 45, 62, .35); }
.btn-ghost:hover { background: var(--warm); box-shadow: inset 0 0 0 1.5px var(--wine); }
.btn-wide { width: 100%; }
.try-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--wine); color: var(--cream); font-size: .8rem; }
.chip { border: 1px solid var(--line); background: var(--warm); color: var(--wine); border-radius: 999px; padding: 8px 14px; font-size: .86rem; font-weight: 500; transition: background .2s, border-color .2s, transform .15s; }
.chip:hover:not(:disabled) { border-color: var(--wine); background: #fff; }
.chip:active:not(:disabled) { transform: scale(.96); }
.chip-solid { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.chip-solid:hover:not(:disabled) { background: var(--deep); color: var(--cream); }
.chip-danger:hover:not(:disabled) { border-color: var(--terra-d); color: var(--terra-d); }
.text-btn { background: none; border: 0; padding: 6px 0; color: var(--wine); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(123, 45, 62, .3); text-underline-offset: 4px; }
.text-btn:hover { text-decoration-color: var(--wine); }
.text-btn.small { font-size: .88rem; font-weight: 500; }
.link-arrow { display: inline-flex; gap: 8px; color: var(--terra-d); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px max(20px, calc((100% - 1200px) / 2)); background: rgba(250, 246, 240, .86); backdrop-filter: blur(14px); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(74, 21, 37, .3); }
.logo { display: inline-block; line-height: 0; flex: none; }
.logo img { height: 36px; width: auto; }
.site-footer .logo img { height: 46px; }
#main-nav { display: flex; gap: 4px; margin-left: auto; }
#main-nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: .94rem; font-weight: 500; color: var(--ink); transition: background .2s, color .2s; }
#main-nav a:hover { background: var(--sand-2); color: var(--wine); }
.nav-cart { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: var(--wine); color: var(--cream); padding: 9px 10px 9px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: background .2s; }
.nav-cart:hover { background: var(--deep); }
.cart-dots { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.cart-dots i { width: 6px; height: 6px; border-radius: 1.5px; background: var(--gold-l); }
.cart-dots i:nth-child(2), .cart-dots i:nth-child(3) { background: var(--blush); }
#cart-count { min-width: 26px; height: 26px; display: grid; place-items: center; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .82rem; padding: 0 6px; }
#cart-count.has { background: var(--terra); }
#cart-count.bump { animation: bump .4s var(--bounce); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--sand-2); position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--wine); transition: transform .25s, top .25s; }
.menu-toggle span:first-child { top: 17px; } .menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 40px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hello { font-size: 1.55rem; color: var(--terra); margin: 0 0 14px; transform: rotate(-1.5deg); transform-origin: left; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; }
.hero h1 em { display: inline; }
.lede { font-size: 1.14rem; color: #5a4148; max-width: 500px; margin: 22px 0 30px; }
.lede strong { color: var(--wine); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: var(--muted); }
.hero-facts li { position: relative; padding-left: 16px; }
.hero-facts li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(8deg); }
.hero-facts b { color: var(--wine); font-weight: 600; }

.kitchen { position: relative; display: grid; place-items: center; padding: 26px 0 40px; }
.kitchen::before { /* azulejo da cozinha */
  content: ''; position: absolute; inset: 0 -8% 8% 6%; border-radius: 40px;
  background-color: var(--sand);
  background-image: linear-gradient(rgba(255,255,255,.55) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.55) 2px, transparent 2px);
  background-size: 46px 46px; background-position: -2px -2px;
  box-shadow: inset 0 -40px 60px -40px rgba(74, 21, 37, .18);
}
.kitchen::after { content: ''; position: absolute; left: 10%; right: -8%; bottom: 8%; height: 14px; background: linear-gradient(var(--blush), #d9ad97); border-radius: 0 0 40px 40px; opacity: .6; }
.fridge { position: relative; z-index: 1; width: min(430px, 88%); aspect-ratio: .64; border-radius: 38px 38px 30px 30px;
  background: linear-gradient(90deg, #ece2d6 0%, #fffdfa 14%, #fffaf4 62%, #f6eee4 86%, #e6dbcd 100%);
  box-shadow: inset 0 0 0 1px rgba(74,21,37,.06), inset 0 3px 0 rgba(255,255,255,.9), 0 3px 0 #dccfbf, 0 50px 60px -36px rgba(74,21,37,.55); touch-action: none; }
.fridge::before, .fridge::after { content: ''; position: absolute; bottom: -12px; width: 14%; height: 12px; background: #5a3b40; border-radius: 0 0 6px 6px; }
.fridge::before { left: 12%; } .fridge::after { right: 12%; }
.fridge-freezer { position: absolute; left: 0; right: 0; top: 31%; height: 3px; background: rgba(74, 21, 37, .1); box-shadow: 0 2px 0 rgba(255,255,255,.9); }
.fridge-handle { position: absolute; right: 5%; width: 11px; border-radius: 8px; background: linear-gradient(90deg, var(--deep), var(--wine) 45%, #9b4a5b 60%, var(--deep)); box-shadow: 2px 4px 8px rgba(74, 21, 37, .3); }
.fridge-handle.top { top: 13%; height: 13%; } .fridge-handle.bottom { top: 37%; height: 22%; }
.fridge-brand { position: absolute; bottom: 3.5%; left: 50%; width: 17%; transform: translateX(-50%); opacity: .4; pointer-events: none; }
.fm { position: absolute; left: var(--x); top: var(--y); width: 24%; aspect-ratio: 1; border-radius: 9px; transform: rotate(calc(var(--r) + var(--drag-r, 0deg))); cursor: grab; touch-action: none; user-select: none; transition: transform .25s var(--ease), box-shadow .25s; box-shadow: var(--shadow-mag); background: #ddd; z-index: 2; }
.fm img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; pointer-events: none; }
.fm::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,0) 70%, rgba(255,255,255,.12)); pointer-events: none; }
.fm.lifted { cursor: grabbing; transition: box-shadow .2s; transform: rotate(calc(var(--r) + var(--drag-r, 0deg))) scale(1.1); box-shadow: 0 2px 0 rgba(74,21,37,.08), 0 30px 30px -14px rgba(74,21,37,.5); }
.fm.snap { animation: snap .42s var(--bounce); }
@keyframes snap { 0% { transform: rotate(var(--r)) scale(1.1); } 55% { transform: rotate(var(--r)) scale(.95); } 100% { transform: rotate(var(--r)) scale(1); } }
.fm.note { width: 38%; aspect-ratio: auto; background: #fffef8; background-image: repeating-linear-gradient(transparent 0 21px, rgba(123, 45, 62, .14) 21px 22px); border-radius: 3px; padding: 18px 14px 12px; box-shadow: 0 1px 0 rgba(74,21,37,.08), 0 10px 14px -10px rgba(74,21,37,.4); }
.fm.note::after { display: none; }
.fm.note p { margin: 0; font-size: clamp(.95rem, 1.7vw, 1.2rem); line-height: 22px; color: var(--wine); }
.fm.note s { color: var(--muted); text-decoration-thickness: 2px; text-decoration-color: var(--terra); }
.fm.note b { color: var(--terra); font-weight: 700; }
.pin { position: absolute; top: -9px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--gold-l), var(--gold) 60%, #8f6a17); box-shadow: 0 3px 4px rgba(0,0,0,.25); }
.fm.slot { border: 2px dashed var(--terra); background: rgba(255, 249, 243, .9); padding: 0; color: var(--terra-d); box-shadow: none; }
.fm.slot::after { display: none; }
.fm.slot:hover { background: #fff; }
.slot-inner { display: grid; place-items: center; align-content: center; height: 100%; gap: 2px; animation: breathe 2.8s ease-in-out infinite; }
.slot-inner .plus { font-size: 1.4rem; line-height: 1; }
.slot-inner .hand { font-size: clamp(.95rem, 1.6vw, 1.15rem); line-height: 1; text-align: center; }
@keyframes breathe { 50% { transform: scale(1.06); } }
.fm.slot.filled { border: 0; box-shadow: var(--shadow-mag); }
.fm.slot.filled::after { display: block; }
.sticker { position: absolute; left: var(--x); top: var(--y); font-size: 1.8rem; color: var(--gold); z-index: 1; text-shadow: 0 2px 0 rgba(143, 106, 23, .25); }
.fridge-hint { position: absolute; z-index: 3; right: -2%; top: 6%; display: flex; flex-direction: column; align-items: flex-start; color: var(--wine); font-size: 1.3rem; line-height: 1; transform: rotate(6deg); transition: opacity .4s; }
.fridge-hint svg { transform: scaleX(-1) rotate(-20deg); margin-top: 4px; }
.fridge-hint.gone { opacity: 0; }
.size-tag { position: absolute; z-index: 3; bottom: 6%; left: 4%; background: var(--wine); color: var(--cream); font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; transform: rotate(-4deg); box-shadow: 0 8px 16px -8px rgba(74, 21, 37, .6); }

/* ---------- faixa ---------- */
.ribbon { background: var(--wine); color: var(--cream); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -2% ; width: 104%; box-shadow: 0 10px 30px -20px rgba(74, 21, 37, .8); position: relative; z-index: 2; }
.ribbon-track { display: flex; gap: 26px; width: max-content; animation: marquee 48s linear infinite; font-family: var(--soft); font-style: italic; font-size: 1.6rem; white-space: nowrap; align-items: center; }
.ribbon-track i { color: var(--gold-l); font-style: normal; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- galeria ---------- */
.gallery-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; padding-block: 120px 110px; }
.phone { justify-self: center; width: 270px; aspect-ratio: 9 / 18.5; border-radius: 42px; background: var(--ink); padding: 11px; box-shadow: 0 40px 60px -30px rgba(44, 26, 31, .6), inset 0 0 0 2px #4a3a3e; position: relative; transform: rotate(-4deg); }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 999px; background: var(--ink); z-index: 2; }
.phone-screen { height: 100%; border-radius: 32px; background: #fff; padding: 46px 0 0; }
.phone-bar { display: flex; justify-content: space-between; align-items: baseline; padding: 0 14px 10px; font-weight: 700; font-size: 1rem; }
.phone-bar small { color: var(--muted); font-weight: 500; font-size: .72rem; }
.phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.g { aspect-ratio: 1; background: var(--img) center / cover, var(--sand); position: relative; transition: transform 1s var(--bounce), box-shadow 1s, border-radius 1s; }
.g.blank { background: var(--sand-2); }
.phone.in .g[class*="lift"] { z-index: 3; border-radius: 8px; box-shadow: var(--shadow-mag), 0 0 0 3px #fff; }
.phone.in .lift-1 { transform: translate(200%, -70%) rotate(10deg) scale(1.5); transition-delay: .3s; }
.phone.in .lift-2 { transform: translate(185%, 30%) rotate(-7deg) scale(1.55); transition-delay: .55s; }
.phone.in .lift-3 { transform: translate(110%, 115%) rotate(6deg) scale(1.5); transition-delay: .8s; }
.story-copy p { color: #5a4148; font-size: 1.08rem; max-width: 520px; margin: 22px 0; }
.mini-steps { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; counter-reset: s; }
.mini-steps li { counter-increment: s; position: relative; padding: 12px 16px 12px 52px; background: var(--warm); border: 1px solid var(--line); border-radius: 14px; max-width: 460px; }
.mini-steps li::before { content: counter(s); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font: italic 600 1.4rem var(--serif); color: var(--terra); }
.mini-steps b { color: var(--wine); }

/* ---------- kits ---------- */
.kits { padding-block: 110px; background: var(--warm); background-image: radial-gradient(rgba(196, 150, 42, .18) 1.2px, transparent 1.2px); background-size: 22px 22px; border-block: 1px solid var(--line); }
.builder { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1040px; margin-inline: auto; }
.builder-fridge { position: relative; display: grid; justify-items: center; }
.bf-door { position: relative; width: min(440px, 100%); aspect-ratio: .86; border-radius: 30px; padding: 30px 46px 30px 30px; background: linear-gradient(90deg, #ece2d6, #fffdfa 14%, #fffaf4 70%, #ebe1d4); box-shadow: inset 0 0 0 1px rgba(74,21,37,.06), 0 3px 0 #dccfbf, 0 40px 50px -34px rgba(74,21,37,.5); display: grid; place-items: center; }
.bf-handle { position: absolute; right: 16px; top: 18%; height: 34%; width: 10px; border-radius: 8px; background: linear-gradient(90deg, var(--deep), var(--wine) 45%, #9b4a5b 60%, var(--deep)); }
.bf-grid { display: grid; gap: 10px; width: 100%; grid-template-columns: repeat(var(--cols, 3), 1fr); align-content: center; }
.bf-grid[data-size="s"] { --cols: 2; width: 70%; } .bf-grid[data-size="m"] { --cols: 3; } .bf-grid[data-size="l"] { --cols: 4; gap: 8px; } .bf-grid[data-size="xl"] { --cols: 5; gap: 6px; }
.bf-grid span { aspect-ratio: 1; border-radius: 7px; background: center / cover var(--sand); box-shadow: var(--shadow-mag); transform: rotate(var(--tilt)); }
.bf-grid span.pop { animation: pop .45s var(--bounce); }
@keyframes pop { from { transform: scale(.3) rotate(-14deg); opacity: 0; } }
.bf-caption { margin-top: 16px; font-size: 1.6rem; color: var(--wine); transform: rotate(-2deg); }
.builder-panel { background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: 0 1px 0 var(--line), 0 30px 50px -36px rgba(74, 21, 37, .5); border: 1px solid var(--line); }
.qty-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.qty-label { font-family: var(--serif); font-size: 1.4rem; color: var(--wine); }
.stepper { display: flex; align-items: center; gap: 6px; background: var(--cream); border-radius: 999px; padding: 5px; }
.stepper button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--wine); font-size: 1.4rem; line-height: 1; box-shadow: 0 2px 0 var(--line); transition: transform .15s; }
.stepper button:active { transform: scale(.9); }
.stepper output { min-width: 52px; text-align: center; font: 600 1.9rem var(--serif); color: var(--wine); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 14px 0 4px; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--terra) var(--fill, 50%), var(--sand) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--sand); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--terra); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 7px; background: #fff; border: 2px solid var(--terra); box-shadow: 0 4px 8px -2px rgba(169, 87, 58, .5); transform: rotate(8deg); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 7px; background: #fff; border: 2px solid var(--terra); }
input[type="range"]:disabled { opacity: .4; }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 20px; }
.kit-preset { position: relative; border: 1.5px solid var(--line); background: var(--cream); border-radius: 16px; padding: 12px 6px 10px; display: grid; justify-items: center; gap: 2px; transition: border-color .2s, background .2s, transform .15s; }
.kit-preset b { font: 600 1.5rem/1 var(--serif); color: var(--wine); }
.kit-preset span { font-size: .74rem; color: var(--muted); line-height: 1.2; text-align: center; }
.kit-preset em { position: absolute; top: -9px; font-style: normal; font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--gold); color: #fff; padding: 2px 7px; border-radius: 999px; }
.kit-preset:hover { border-color: rgba(123, 45, 62, .4); }
.kit-preset[aria-pressed="true"] { border-color: var(--terra); background: #fff; box-shadow: 0 0 0 3px rgba(200, 113, 74, .15); }
.kit-preset[aria-pressed="true"] b { color: var(--terra); }
.price-card { background: var(--cream); border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 18px; }
.price-main { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-total { font: 600 2.5rem/1 var(--serif); color: var(--wine); }
.price-main s { color: var(--muted); font-size: 1rem; }
.price-sub { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 8px; font-size: .92rem; color: var(--muted); }
.save-chip { background: rgba(196, 150, 42, .16); color: #7b5a0e; font-weight: 600; padding: 3px 10px; border-radius: 999px; font-size: .82rem; }
.save-chip.muted { background: var(--sand-2); color: var(--muted); }
.nudge { margin: 12px 0 0; font-size: .9rem; color: var(--terra-d); font-weight: 500; line-height: 1.45; }
.nudge:empty { display: none; }
.fine-print { margin-top: 16px; font-size: .86rem; color: var(--muted); }
.fine-print summary { cursor: pointer; font-weight: 500; }
.fine-print p { margin: 8px 0 0; }

/* ---------- presentes ---------- */
.gifts { padding-block: 120px 100px; }
.polaroids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 1000px; margin: 0 auto 70px; }
.polaroid { position: relative; border: 0; background: #fff; padding: 12px 12px 0; border-radius: 4px; text-align: left; transform: rotate(var(--r)); box-shadow: 0 2px 0 rgba(74,21,37,.05), 0 24px 34px -24px rgba(74, 21, 37, .55); transition: transform .35s var(--ease), box-shadow .35s; }
.polaroid:hover { transform: rotate(0) translateY(-8px); box-shadow: 0 2px 0 rgba(74,21,37,.05), 0 36px 44px -24px rgba(74, 21, 37, .6); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--cream); }
.tape { position: absolute; top: -14px; left: 50%; width: 92px; height: 28px; margin-left: -46px; background: rgba(232, 201, 106, .55); transform: rotate(-4deg); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.pol-caption { display: block; padding: 12px 6px 16px; }
.pol-caption b { display: block; font-size: 1.75rem; color: var(--wine); line-height: 1.1; }
.pol-caption small { color: var(--muted); font-size: .82rem; }
.occasions { background: var(--deep); color: var(--cream); border-radius: 32px; padding: 40px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.occasions::before { content: '♡'; position: absolute; right: -10px; bottom: -70px; font-size: 16rem; color: rgba(255, 255, 255, .04); line-height: 1; }
.occ-head h3 { color: var(--cream); font-size: 2rem; }
.occ-head p { color: rgba(250, 246, 240, .72); margin: 10px 0 0; }
.countdown { display: inline-block; margin-top: 16px; background: var(--gold); color: var(--deep); font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; }
.occ-list { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.occ-list button { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(250, 246, 240, .22); color: var(--cream); padding: 12px 18px; border-radius: 999px; font-weight: 500; transition: background .2s, border-color .2s, transform .15s; }
.occ-list button span { color: var(--gold-l); }
.occ-list button small { font-size: .72rem; background: var(--gold); color: var(--deep); font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.occ-list button:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold-l); transform: translateY(-2px); }
.occ-list button[aria-pressed="true"] { background: var(--cream); color: var(--deep); border-color: var(--cream); }
.occ-list button[aria-pressed="true"] span { color: var(--terra); }

/* ---------- ateliê (compacto, celular primeiro) ---------- */
.atelier { padding-block: 72px 56px; background-color: var(--sand);
  background-image: linear-gradient(rgba(255,255,255,.45) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.45) 2px, transparent 2px); background-size: 52px 52px; }
.atelier-wrap { width: min(880px, 100% - 32px); margin-inline: auto; }
.at-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 16px; }
.at-head .kicker { margin-bottom: 6px; }
.at-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.qty { flex: none; display: flex; align-items: center; gap: 2px; background: #fff; border-radius: 999px; padding: 4px; box-shadow: 0 1px 0 var(--line), 0 10px 20px -16px rgba(74, 21, 37, .6); }
.qty button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--cream); color: var(--wine); font-size: 1.3rem; line-height: 1; transition: transform .15s, background .2s; }
.qty button:hover:not(:disabled) { background: var(--sand-2); }
.qty button:active:not(:disabled) { transform: scale(.9); }
.qty-read { min-width: 66px; text-align: center; line-height: 1; }
.qty-read b { font: 600 1.35rem var(--serif); color: var(--wine); }
.qty-read small { color: var(--muted); font-size: .78rem; }
.door { position: relative; border-radius: 26px; padding: 16px 34px 18px 16px; background: linear-gradient(90deg, #efe6da, #fffdfa 6%, #fffaf4 85%, #efe5d8); box-shadow: inset 0 0 0 1px rgba(74,21,37,.06), 0 3px 0 #d6c7b5, 0 30px 50px -36px rgba(74,21,37,.55); }
.door-handle { position: absolute; right: 12px; top: 26px; height: 110px; width: 9px; border-radius: 8px; background: linear-gradient(90deg, var(--deep), var(--wine) 45%, #9b4a5b 60%, var(--deep)); }
.door-status { display: grid; gap: 7px; margin-bottom: 14px; }
.collection-progress { margin: 0; font-size: .88rem; color: var(--wine); font-weight: 500; }
.completion-track { height: 5px; border-radius: 6px; background: var(--sand-2); overflow: hidden; }
#completion-fill, #pay-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--terra)); border-radius: inherit; transition: width .5s var(--ease); }
.magnets { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 14px; }
.magnet { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 9px; overflow: hidden; background: #fff; box-shadow: var(--shadow-mag); transform: rotate(var(--tilt)); transition: transform .2s var(--ease), box-shadow .2s; -webkit-tap-highlight-color: transparent; display: grid; place-items: center; }
.magnet canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.magnet.filled::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,0) 40%); }
.magnet:hover { transform: rotate(0) translateY(-3px); box-shadow: 0 2px 0 rgba(74,21,37,.08), 0 18px 22px -12px rgba(74,21,37,.5); }
.magnet:active { transform: scale(.95); }
.magnet:not(.filled) { background: rgba(255, 249, 243, .85); box-shadow: none; outline: 2px dashed rgba(200, 113, 74, .5); outline-offset: -2px; color: var(--terra); }
.magnet:not(.filled):hover { background: #fff; outline-color: var(--terra); }
.magnet .plus { font-size: 1.5rem; line-height: 1; }
.magnet.drop-hover { outline: 3px solid var(--gold); transform: scale(1.04); }
.magnet.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.magnet-num { position: absolute; left: 7px; bottom: 3px; z-index: 2; font: 700 1rem/1 var(--hand); color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); pointer-events: none; }
.magnet:not(.filled) .magnet-num { color: var(--muted); text-shadow: none; }
.lowres { position: absolute; left: 6px; top: 6px; z-index: 2; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--deep); font-size: .75rem; font-weight: 800; box-shadow: 0 2px 4px rgba(0,0,0,.25); }
.ex-tag { position: absolute; right: 5px; top: 5px; z-index: 2; background: rgba(44, 26, 31, .7); color: #fff; font-size: .58rem; font-weight: 600; padding: 1px 6px; border-radius: 999px; }
.door-help { text-align: center; margin-top: 14px; }
.door-help p { margin: 0 auto; max-width: 420px; color: #5a4148; font-size: .92rem; }
.door-help b { color: var(--wine); }
.at-bar { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 30; margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--deep); color: var(--cream); border-radius: 22px; padding: 10px 10px 10px 18px; box-shadow: 0 18px 36px -16px rgba(44, 26, 31, .75); }
.at-price { min-width: 0; }
.at-total strong { font: 600 1.45rem var(--serif); color: #fff; }
.at-total s { color: rgba(250, 246, 240, .5); font-size: .82rem; margin-left: 4px; }
.at-bar .nudge { display: block; margin: 1px 0 0; color: var(--gold-l); font-size: .76rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#buy { flex: none; padding: 13px 20px; }
#buy:not(.ready) { background: rgba(250, 246, 240, .12); box-shadow: inset 0 0 0 1.5px rgba(250, 246, 240, .35); color: var(--cream); }
.draft-state { font-size: .74rem; color: var(--muted); text-align: center; margin: 8px 0 0; min-height: 1em; }

/* ---------- formulários e peças compartilhadas ---------- */
.flow-steps { list-style: none; display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 16px; background: var(--sand-2); border-radius: 999px; }
.flow-steps li { display: flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; font-size: .82rem; font-weight: 500; color: var(--muted); }
.flow-steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.7); font-size: .74rem; font-weight: 700; }
.flow-steps li.current { background: #fff; color: var(--wine); box-shadow: 0 2px 6px -2px rgba(74, 21, 37, .2); }
.flow-steps li.current span { background: var(--terra); color: #fff; }
.flow-steps li.done span { background: var(--wine); color: var(--cream); font-size: 0; }
.flow-steps li.done span::before { content: '✓'; font-size: .76rem; }
.switch { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--sand); position: relative; transition: background .2s; }
.switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.15); transition: transform .25s var(--bounce); }
.switch input:checked + .switch-ui { background: var(--terra); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--gold); outline-offset: 2px; }
.switch b { display: block; color: var(--wine); font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.switch small { color: var(--muted); font-size: .8rem; }
.gift-box { background: #fff; border-radius: 18px; padding: 14px 16px; margin: 4px 0 14px; box-shadow: 0 1px 0 var(--line); }
.gift-fields { display: grid; gap: 10px; margin-top: 14px; }
.gift-fields label, #delivery label { display: grid; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--wine); }
.gift-fields label small { float: right; color: var(--muted); font-weight: 400; }
input:not([type="range"]):not([type="checkbox"]), select, textarea { width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 13px; font-size: 16px; font-weight: 400; color: var(--ink); transition: border-color .2s; }
input:not([type="range"]):not([type="checkbox"]):focus, select:focus, textarea:focus { outline: none; border-color: var(--terra); }
textarea { resize: vertical; min-height: 64px; }
.invalid { border-color: var(--terra-d) !important; background: #fff3ee !important; }
.card-preview { position: relative; background: #f4e7d4; background-image: linear-gradient(rgba(255,255,255,.35), transparent); border-radius: 4px; padding: 14px 16px 12px; transform: rotate(-1.2deg); box-shadow: 0 10px 16px -12px rgba(74, 21, 37, .5); color: var(--wine); }
.card-preview .hand:first-child { font-size: 1.3rem; }
.card-preview p { margin: 2px 0 6px; font-size: 1.25rem; line-height: 1.15; overflow-wrap: anywhere; }
.card-sign { display: block; text-align: right; font: italic 600 .9rem var(--soft); color: var(--terra-d); }
.bill { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: .92rem; color: #5a4148; }
.discount-line strong { color: #7b5a0e; }
.bill.total { border-top: 1px dashed rgba(123, 45, 62, .25); margin-top: 6px; padding-top: 12px; align-items: baseline; }
.bill.total span { font-weight: 600; color: var(--wine); }
.bill.total strong { font: 600 1.7rem var(--serif); color: var(--wine); }

/* ---------- instagram ---------- */
.insta { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; padding-block: 110px 30px; }
.ig-card { position: relative; justify-self: center; width: min(340px, 100%); background: #fff; border-radius: 28px; padding: 18px 18px 22px; transform: rotate(-2.5deg); box-shadow: 0 2px 0 var(--line), 0 40px 60px -34px rgba(74, 21, 37, .55); }
.ig-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ig-avatar { width: 54px; height: 54px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--gold), var(--terra), var(--wine), var(--gold)); }
.ig-avatar img { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; }
.ig-top b { display: block; font-size: 1rem; }
.ig-top small { color: var(--muted); font-size: .82rem; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 10px; overflow: hidden; }
.ig-grid span { aspect-ratio: 1; background: var(--img) center / cover; }
.ig-heart { position: absolute; right: -16px; top: 38%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--terra); color: #fff; font-size: 1.5rem; box-shadow: 0 12px 20px -8px rgba(169, 87, 58, .7); animation: floaty 3s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(8deg); } }
.insta-copy p { color: #5a4148; font-size: 1.06rem; max-width: 500px; margin: 18px 0; }
.ig-perks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.ig-perks li { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--wine); }
.ig-perks span { width: 30px; height: 30px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--sand-2); color: var(--terra); }
.btn-insta { background: linear-gradient(100deg, var(--wine), var(--terra) 70%, var(--gold)); color: #fff; box-shadow: 0 4px 0 var(--deep), 0 16px 26px -12px rgba(123, 45, 62, .7); }
.btn-insta:hover { transform: translateY(-2px); }
.ig-tag { font-size: 1.45rem; color: var(--terra-d); margin: 22px 0 0; transform: rotate(-1.5deg); }
.ig-tag b { color: var(--wine); }

/* ---------- folhas (editor e checkout) ---------- */
.editor-sheet { width: min(460px, calc(100% - 24px)); padding: 18px 20px 20px; }
.ed-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ed-head h2 { flex: 1; text-align: center; font-size: 1.2rem; margin: 0; }
.ed-head .dlg-close { position: static; flex: none; }
.ed-nav { width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: #fff; color: var(--wine); font-size: 1.5rem; line-height: 1; box-shadow: 0 1px 0 var(--line); }
.ed-nav[hidden] { display: block !important; visibility: hidden; }
.ed-stage { position: relative; width: min(100%, 380px, 38dvh); margin: 0 auto; }
#ed-canvas { width: 100%; aspect-ratio: 1; display: block; border-radius: 12px; background: var(--sand-2); box-shadow: var(--shadow-mag), 0 0 0 5px #fff; touch-action: none; cursor: grab; }
#ed-canvas.dragging { cursor: grabbing; }
.ed-hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); background: rgba(44, 26, 31, .6); color: #fff; font-size: .72rem; padding: 4px 10px; border-radius: 999px; pointer-events: none; white-space: nowrap; }
.ed-warn { font-size: .82rem; color: #6d4f0c; background: rgba(196, 150, 42, .16); border-radius: 12px; padding: 8px 12px; margin: 12px 0 0; }
.ed-zoom { display: flex; align-items: center; gap: 10px; margin: 12px 4px 4px; color: var(--muted); font-weight: 600; }
.ed-zoom input { margin: 0; }
.ed-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 14px; }
.ed-tools button { display: grid; justify-items: center; gap: 3px; border: 0; background: #fff; border-radius: 14px; padding: 10px 4px 8px; font-size: .76rem; font-weight: 600; color: var(--wine); box-shadow: 0 1px 0 var(--line); transition: background .2s, transform .15s; }
.ed-tools button i { font-style: normal; font-size: 1.2rem; line-height: 1; color: var(--terra); }
.ed-tools button:active:not(:disabled) { transform: scale(.94); }
.ed-tools button[aria-expanded="true"] { background: var(--wine); color: var(--cream); }
.ed-tools button[aria-expanded="true"] i { color: var(--gold-l); }
#ed-remove, #ed-remove i { color: var(--terra-d); }
.ed-swap { margin: -4px 0 14px; }
.ed-lib { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 6px; scroll-snap-type: x proximity; }
.ed-lib button { position: relative; flex: 0 0 64px; height: 64px; border: 0; padding: 0; border-radius: 8px; overflow: hidden; background: var(--sand-2); scroll-snap-align: start; }
.ed-lib img { width: 100%; height: 100%; object-fit: cover; }
.ed-lib .current { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--terra); }
.ed-lib .used::after { content: '✓'; position: absolute; right: 3px; bottom: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--wine); color: #fff; font-size: .55rem; display: grid; place-items: center; }
.lib-add { display: grid; place-items: center; align-content: center; font-size: .66rem; font-weight: 600; color: var(--terra-d); outline: 2px dashed rgba(200, 113, 74, .5); outline-offset: -2px; background: #fff !important; }
.lib-add span { font-size: 1.1rem; }
.pay-addr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; background: #fff; border-radius: 14px; padding: 10px 14px; font-size: .88rem; color: #5a4148; margin-bottom: 10px; }
.pay-addr b { color: var(--wine); }
.coupon { margin: 10px 0; font-size: .9rem; }
.coupon summary { cursor: pointer; color: var(--wine); font-weight: 600; }
.coupon-row { display: flex; gap: 8px; margin-top: 8px; }
.coupon-row input { text-transform: uppercase; }
.coupon small.ok { color: #3f7a3a; } .coupon small.err { color: var(--terra-d); }
.pay-info { font-size: .86rem; color: var(--muted); margin: 10px 0; }
.pay-info b { color: var(--wine); }
.btn-pay { margin-top: 6px; padding-block: 17px; font-size: 1.08rem; }
.pay-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 12px 0 0; }
.pay-methods span { font-size: .72rem; font-weight: 600; color: var(--muted); background: var(--sand-2); padding: 3px 10px; border-radius: 999px; }
.pay-progress { margin-top: 14px; display: grid; gap: 6px; text-align: center; color: var(--muted); font-size: .84rem; }
/* frete: simulador e escolha */
.ship-sim { margin-top: 12px; }
.ship-sim-form { display: flex; gap: 8px; }
.ship-sim-form input { flex: 1; min-width: 0; max-width: 170px; }
.ship-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.ship-list:empty { display: none; }
.ship-opt { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: .88rem; }
label.ship-opt { cursor: pointer; transition: border-color .15s, box-shadow .15s; }
label.ship-opt:has(input:checked) { border-color: var(--terra); box-shadow: 0 0 0 2px rgba(200, 113, 74, .25); }
.ship-opt input { accent-color: var(--terra); width: 18px; height: 18px; margin: 0; flex: none; }
.so-text { flex: 1; display: grid; gap: 1px; min-width: 0; }
.so-name { font-weight: 600; color: var(--ink); }
.so-name small { font-weight: 500; color: var(--muted); }
.so-days { font-size: .78rem; color: var(--muted); }
.so-price { text-align: right; white-space: nowrap; display: grid; }
.so-price b { color: var(--wine); }
.so-price .free { color: #3f7a3a; }
.so-price s { font-size: .74rem; color: var(--muted); }
.ship-msg { margin: 4px 0 0; font-size: .8rem; color: var(--muted); list-style: none; }
.ship-msg.err { color: var(--terra-d); }
.ship-choice { border: 0; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; min-width: 0; }
.ship-choice legend { font-size: .82rem; font-weight: 600; color: var(--wine); margin-bottom: 4px; padding: 0; }
.ship-choice #ship-options { display: grid; gap: 6px; }
.ship-choice.invalid label.ship-opt { border-color: var(--terra-d); }
.ship-choice.invalid legend { color: var(--terra-d); }
.field-hint { font-size: .72rem; color: var(--muted); font-weight: 400; }

/* ---------- embalagem ---------- */
.unboxing { background: var(--deep); color: var(--cream); padding-block: 110px; position: relative; overflow: hidden; }
.unboxing::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(200, 113, 74, .25), transparent 50%), radial-gradient(circle at 90% 90%, rgba(196, 150, 42, .15), transparent 45%); }
.unboxing-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.unboxing h2 { color: var(--cream); }
.unboxing h2 em { color: var(--gold-l); }
.box-art { display: grid; place-items: center; }
.kraft-box { position: relative; width: min(440px, 100%); aspect-ratio: 1.1; border-radius: 14px; transform: rotate(-3deg);
  background: linear-gradient(135deg, #cfa678, #b88a5c); box-shadow: inset 0 0 0 14px #c19669, inset 0 0 0 16px rgba(0,0,0,.08), inset 0 20px 30px rgba(0,0,0,.18), 0 40px 60px -30px rgba(0,0,0,.6); }
.kraft-box::before { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: .5; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6 .08' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .25 0 0 0 0 .1 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E"); }
.tissue { position: absolute; background: rgba(232, 196, 176, .85); }
.tissue.t1 { inset: 8% 30% 30% 6%; clip-path: polygon(0 10%, 100% 0, 80% 100%, 10% 85%); }
.tissue.t2 { inset: 30% 6% 8% 40%; clip-path: polygon(15% 0, 100% 15%, 90% 100%, 0 80%); background: rgba(250, 246, 240, .8); }
.bm { position: absolute; left: var(--x); top: var(--y); width: 26%; aspect-ratio: 1; border-radius: 8px; background: var(--img) center / cover; transform: rotate(var(--r)); box-shadow: 0 2px 0 rgba(0,0,0,.1), 0 14px 18px -10px rgba(0,0,0,.5); }
.hand-card { position: absolute; right: 8%; bottom: 12%; width: 44%; background: var(--cream); color: var(--wine); padding: 14px 16px; border-radius: 3px; transform: rotate(6deg); box-shadow: 0 14px 20px -12px rgba(0,0,0,.55); }
.hand-card .hand { font-size: 1.4rem; }
.hand-card p { margin: 2px 0 0; font-size: 1.25rem; line-height: 1.1; }
.seal { position: absolute; left: 8%; bottom: 10%; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 35%, var(--gold-l), var(--gold) 70%); color: var(--deep); font: italic 700 .95rem var(--serif); box-shadow: 0 6px 12px -4px rgba(0,0,0,.4); transform: rotate(-12deg); }
.pack-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.pack-list li { position: relative; padding-left: 28px; color: rgba(250, 246, 240, .8); font-size: 1.05rem; }
.pack-list li::before { content: '✦'; position: absolute; left: 0; color: var(--gold-l); }
.pack-list b { color: var(--cream); font-weight: 600; }
.big-hand { font-size: 1.7rem; line-height: 1.2; color: var(--blush); transform: rotate(-1.5deg); margin: 0; max-width: 420px; }
.big-hand b { color: var(--gold-l); }

/* ---------- dúvidas ---------- */
.faq-sec { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding-block: 110px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--warm); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: background .2s; }
.faq details[open] { background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--wine); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--sand-2); color: var(--terra); font-size: 1.2rem; transition: transform .3s var(--ease), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--terra); color: #fff; }
.faq details p { margin: 0 0 20px; color: #5a4148; }

/* ---------- chamada final ---------- */
.final-cta { padding: 0 0 100px; }
.final-inner { background: var(--terra); color: #fff; border-radius: 40px; padding: 70px 40px; text-align: center; position: relative; overflow: hidden;
  background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,.15), transparent 40%), radial-gradient(circle at 90% 80%, rgba(123,45,62,.35), transparent 45%); }
.final-inner h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 30px; }
.final-inner h2 em { color: var(--deep); }
.final-inner .btn-primary { background: var(--cream); color: var(--wine); box-shadow: 0 4px 0 #d8c8b6, 0 14px 24px -12px rgba(74, 21, 37, .6); }

/* ---------- rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(250, 246, 240, .75); padding: 60px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; align-items: start; }
.footer-tag { font: italic 500 1.2rem var(--soft); margin: 10px 0 0; }
.site-footer nav { display: grid; gap: 8px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--gold-l); }
.footer-social span { display: block; font-size: .85rem; }
.footer-social a { text-decoration: none; }
.footer-social b { font: italic 600 1.4rem var(--serif); color: var(--gold-l); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(250, 246, 240, .12); margin-top: 40px; padding-top: 20px; font-size: .82rem; }

/* ---------- barra móvel e toast ---------- */
.mobile-bar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: none; justify-content: space-between; align-items: center; gap: 12px; background: var(--deep); color: var(--cream); padding: 10px 10px 10px 20px; border-radius: 999px; box-shadow: 0 20px 40px -16px rgba(44, 26, 31, .7); transform: translateY(150%); transition: transform .35s var(--ease); }
.mobile-bar.visible { transform: none; }
.mobile-bar small { display: block; font-size: .7rem; color: var(--gold-l); }
.mobile-bar strong { font-size: .92rem; }
.mobile-bar .btn { padding: 11px 18px; }
.toast { position: fixed; z-index: 120; left: 16px; right: 16px; margin-inline: auto; width: fit-content; bottom: 24px; display: flex; align-items: center; gap: 16px; max-width: 560px; background: var(--ink); color: var(--cream); padding: 13px 14px 13px 20px; border-radius: 18px; font-size: .92rem; box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); transform: translateY(160%); opacity: 0; visibility: hidden; transition: transform .4s var(--bounce), opacity .25s, visibility 0s .4s; }
.toast.visible { transform: none; opacity: 1; visibility: visible; transition: transform .4s var(--bounce), opacity .2s; }
#toast-action { flex: none; border: 0; background: var(--gold); color: var(--deep); font-weight: 700; padding: 7px 14px; border-radius: 999px; font-size: .84rem; }

/* ---------- diálogos ---------- */
dialog { border: 0; padding: 34px; border-radius: 30px; background: var(--cream); color: var(--ink); width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow-y: auto; box-shadow: 0 40px 80px -30px rgba(44, 26, 31, .7); }
dialog::backdrop { background: rgba(44, 26, 31, .55); backdrop-filter: blur(4px); }
dialog[open] { animation: dlg .35s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.dlg-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sand-2); color: var(--wine); font-size: 1.4rem; line-height: 1; z-index: 2; }
.dlg-close:hover { background: var(--sand); }
dialog h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 8px; }
.dlg-lede { color: var(--muted); margin: 0 0 20px; }
.flow-steps { display: inline-flex; margin-bottom: 20px; background: var(--sand-2); }
.dlg-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
#checkout-content > .text-btn.small { display: block; margin: 14px auto 0; }
.review-door { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 12px; padding: 22px; border-radius: 22px; margin: 6px 0 20px; background: linear-gradient(90deg, #efe6da, #fffdfa 10%, #fffaf4 85%, #efe5d8); box-shadow: inset 0 0 0 1px rgba(74,21,37,.06), 0 3px 0 #d6c7b5; }
.review-door img { width: 100%; aspect-ratio: 1; border-radius: 7px; box-shadow: var(--shadow-mag); transform: rotate(var(--tilt)); }
.card-preview.in-review { max-width: 340px; margin: 0 auto 18px; }
#checkout .bill { display: flex; justify-content: space-between; padding: 6px 0; gap: 10px; }
.review-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 18px; }
.review-cols h3 { font-size: 1.15rem; margin-bottom: 8px; }
.review-data { margin: 0; font-size: .92rem; color: #5a4148; line-height: 1.6; }
.preview-note { background: rgba(196, 150, 42, .14); color: #6d4f0c; font-size: .86rem; padding: 12px 16px; border-radius: 14px; }
#delivery { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cep-state { font-weight: 400; color: var(--muted); font-size: .76rem; min-height: 1em; }
.form-error { color: var(--terra-d); font-weight: 600; margin: 0; }

.crop-dialog { width: min(560px, calc(100% - 24px)); text-align: center; }
.crop-stage { position: relative; margin: 18px auto 8px; width: min(380px, 100%); }
.crop-preview { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-mag), 0 0 0 6px #fff; background: var(--sand-2); }
#crop-canvas { width: 100%; aspect-ratio: 1; display: block; cursor: grab; touch-action: none; }
#crop-canvas:active { cursor: grabbing; }
.crop-size { display: inline-block; margin-top: 12px; font-family: var(--hand); font-size: 1.2rem; color: var(--muted); }
.crop-warn { font-size: .84rem; color: #6d4f0c; background: rgba(196, 150, 42, .16); border-radius: 12px; padding: 8px 12px; margin: 8px 0 0; }
.crop-controls { display: grid; gap: 4px; text-align: left; margin-top: 8px; }
.crop-controls label { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); }
.crop-controls input { margin: 4px 0; }
.crop-quick { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.crop-nav { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 20px; }
.crop-nav .chip { width: 44px; height: 44px; padding: 0; font-size: 1.1rem; }

.idea-dialog { width: min(920px, calc(100% - 24px)); padding: 0; display: none; overflow: hidden; }
.idea-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; }
.idea-image { background: #fff; display: grid; place-items: center; }
.idea-image img { width: 100%; height: 100%; object-fit: cover; }
.idea-content { padding: 40px 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.idea-content p { color: #5a4148; margin: 10px 0; }
.idea-tip { font-size: 1.35rem; color: var(--terra-d) !important; line-height: 1.2; }
.idea-nav { display: flex; gap: 8px; margin: 16px 0 8px; }
.idea-nav .chip { width: 42px; height: 42px; padding: 0; }
.idea-content small { color: var(--muted); font-size: .78rem; }

/* ---------- revelar ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.polaroid.reveal.in { transform: rotate(var(--r)); }
.polaroid.reveal.in:hover { transform: rotate(0) translateY(-8px); }
.phone.reveal { transform: rotate(-4deg) translateY(26px); }
.phone.reveal.in { transform: rotate(-4deg); }
.polaroids .polaroid:nth-child(2) { transition-delay: .1s; } .polaroids .polaroid:nth-child(3) { transition-delay: .2s; }

/* ---------- responsivo ---------- */
@media (max-width: 1060px) {
  .hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .hero-copy { text-align: center; }
  .hero-copy .hello { transform-origin: center; }
  .lede { margin-inline: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .kitchen { max-width: 560px; margin-inline: auto; width: 100%; }
  .builder, .unboxing-inner { grid-template-columns: 1fr; gap: 36px; }
  .occasions { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  #main-nav { position: absolute; top: calc(100% + 6px); left: 12px; right: 12px; display: grid; gap: 2px; background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 30px 50px -20px rgba(74, 21, 37, .5); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  #main-nav.open { opacity: 1; visibility: visible; transform: none; }
  #main-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-cart { margin-left: auto; }
  .menu-toggle { display: block; }
  .gallery-story { grid-template-columns: 1fr; gap: 50px; padding-block: 90px; }
  .phone { width: 230px; margin-right: 90px; }
  .story-copy { text-align: left; }
  .faq-sec { grid-template-columns: 1fr; gap: 30px; padding-block: 80px; }
  .polaroids { grid-template-columns: repeat(3, minmax(240px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 8px 30px; margin-inline: -20px; padding-inline: 20px; }
  .polaroid { scroll-snap-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .mobile-bar { display: flex; }
}
@media (max-width: 620px) {
  body { font-size: 15px; }
  .site-header { gap: 10px; padding-block: 10px; }
  .cart-label { display: none; }
  .hero { padding-top: 22px; }
  .hello { font-size: 1.3rem; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { flex-direction: column; align-items: center; gap: 6px; }
  .kitchen::before { inset: 0 -20px 8% -20px; border-radius: 30px; }
  .kitchen::after { left: -20px; right: -20px; }
  .fridge { width: 92%; }
  .fridge-hint { right: 0; top: 0; font-size: 1.1rem; }
  .ribbon-track { font-size: 1.3rem; }
  .builder-panel { padding: 20px; }
  .presets { grid-template-columns: repeat(2, 1fr); }
  .bf-door { padding: 20px 34px 20px 20px; }
  .occasions { padding: 28px 22px; }
  .logo img { height: 30px; }
  .atelier { padding-block: 56px 40px; }
  .atelier-wrap { width: calc(100% - 24px); }
  .at-head h2 { font-size: 1.75rem; }
  .door { padding: 14px 28px 14px 12px; border-radius: 22px; }
  .door-handle { right: 10px; width: 8px; height: 80px; }
  .magnets { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .at-bar { padding: 8px 8px 8px 16px; border-radius: 20px; }
  .at-total strong { font-size: 1.3rem; }
  #buy { padding: 12px 16px; }
  dialog { padding: 24px 18px; border-radius: 24px; }
  .form-row, .review-cols { grid-template-columns: 1fr; }
  .idea-dialog[open] { grid-template-columns: 1fr; }
  .idea-image img { max-height: 42vh; }
  .idea-content { padding: 24px; }
  .final-inner { padding: 50px 22px; border-radius: 30px; }
  .footer-inner { grid-template-columns: 1fr; }
  .toast { bottom: 84px; }
  .phone { margin-right: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .ribbon-track { animation: none; }
}

/* ---------- folhas no celular: sobem de baixo ---------- */
@media (max-width: 620px) {
  dialog.sheet { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: 94dvh; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
  dialog.sheet[open] { animation: sheet-up .38s var(--ease); }
  .editor-sheet { padding-top: 12px; }
  .ed-tools { gap: 6px; }
  .insta { grid-template-columns: 1fr; gap: 44px; padding-block: 80px 20px; }
  .ig-card { width: min(300px, 86%); }
  .insta-copy .btn { width: 100%; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
@media (max-width: 860px) { .insta { grid-template-columns: 1fr; } }
