/* =========================================================
   AROUCHE · identidade visual (pasta de design)
   Paleta oficial: #f5dab4 · #f3d0b6 · #f6dfd6 · #480d04
   Vinho das artes: #550500 / #670d01 · Creme das artes: #ffebd6
   ========================================================= */
:root {
  --wine: #550500;
  --wine-2: #670d01;
  --wine-3: #7c1a07;
  --deep: #480d04;
  --cream: #ffebd6;
  --sand: #f5dab4;
  --peach: #f3d0b6;
  --blush: #f6dfd6;
  --paper: #fff8f1;
  --page: #fdf3ea;
  --ink: #3a0c05;
  --muted: #86604f;
  --line: #efd6c4;
  --copper: #c48a62;
  --wa: #1f9e55;
  --wa-dark: #178246;
  --radius: 14px;
  --display: "Gilda Display", "Cormorant Garamond", Georgia, serif;
  --script: "Cormorant Garamond", Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 20px 44px -22px rgba(72, 13, 4, 0.45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --grain: 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .75 0 0 0 0 .6 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-weight: 400; color: var(--ink);
  background: var(--page); line-height: 1.55; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
.muted { color: var(--muted); }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--wine-2); margin: 0 0 0.7rem; font-weight: 600; }
[hidden] { display: none !important; }

/* granulado das artes */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .16; mix-blend-mode: screen;
}

/* ícones da marca (máscara recolorível) */
.ico {
  display: inline-block; width: 1.4em; height: 1.4em; flex: none; background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.badge-ico {
  display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--wine); color: var(--cream); box-shadow: inset 0 0 0 4px var(--wine), inset 0 0 0 5px rgba(245, 218, 180, .5);
}
.badge-ico .ico { width: 40px; height: 40px; }
.badge-ico.sm { width: 44px; height: 44px; box-shadow: none; }
.badge-ico.sm .ico, .badge-ico.sm svg { width: 24px; height: 24px; }
.badge-ico svg { fill: currentColor; }

/* "— MODA ÍNTIMA —": texto entre filetes, como no logo */
.lockup { display: flex; align-items: center; gap: 14px; margin: 0 0 1rem; font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; color: var(--sand); }
.lockup::before, .lockup::after { content: ""; height: 1px; width: 36px; background: currentColor; opacity: .8; }
.lockup-dark { color: var(--wine-2); }
.how .lockup, .catalog-head .lockup { justify-content: flex-start; }
.how .lockup { justify-content: center; }

/* ---------- Abertura ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--wine); color: var(--cream);
  transition: clip-path .9s var(--ease) .1s, visibility 0s linear 1s;
  clip-path: inset(0 0 0 0);
}
.intro::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .16; mix-blend-mode: screen; }
.intro.done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.intro-mono { width: 92px; height: 92px; fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linejoin: miter; }
.intro-mono path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.intro-word { width: 220px; height: auto; opacity: 0; animation: fadeUp .7s var(--ease) .6s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Progress + topbar ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; background: linear-gradient(90deg, var(--sand), var(--copper), var(--wine-3)); transform-origin: 0 50%; transform: scaleX(0); }
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 16px; background: rgba(253, 243, 234, 0.82);
  backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid transparent; transition: padding .3s var(--ease), border-color .3s, box-shadow .3s;
}
.topbar.scrolled { padding: 7px 16px; border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(72,13,4,.5); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mono { width: 30px; height: auto; transition: transform .6s var(--spring); }
.brand:hover .brand-mono { transform: translateY(-2px) scale(1.06); }
.brand-word { width: 120px; height: auto; }
.topnav { display: none; gap: 30px; }
.topnav a { position: relative; text-decoration: none; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); padding: 4px 0; font-weight: 500; }
.topnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--wine); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.topnav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 860px) { .topnav { display: flex; } .brand-word { width: 140px; } }

.bag-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 14px; font-size: 0.9rem;
  transition: border-color .2s, transform .2s;
}
.bag-btn:hover { border-color: var(--wine); }
.bag-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--wine); stroke-width: 1.6; }
.bag-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--wine); color: var(--cream); font-size: 0.72rem; font-weight: 600; display: grid; place-items: center; }
.bag-btn.bump { animation: bump .6s var(--spring); }
.bag-btn.bump .bag-count { animation: pop .5s var(--spring); }
@keyframes bump { 30% { transform: scale(1.14) rotate(-4deg); } 60% { transform: scale(.96) rotate(2deg); } }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }

/* ---------- Hero ---------- */
.hero { overflow: hidden; background: radial-gradient(110% 90% at 80% 0%, var(--wine-2) 0%, var(--wine) 55%, #440300 100%); color: var(--cream); padding: 48px 16px 64px; margin-top: -1px; }
.hero-mono {
  position: absolute; z-index: -1; right: -12%; top: -6%; width: min(110vw, 760px); height: auto;
  fill: none; stroke: rgba(160, 50, 25, .38); stroke-width: 1.6; stroke-linejoin: miter;
}
.hero-mono path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ready .hero-mono path { animation: draw 2.8s var(--ease) .3s forwards; }
.hero-copy { position: relative; z-index: 5; }
.hero-inner { position: relative; max-width: 1180px; margin: 0 auto; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 40px; min-height: calc(100vh - 170px); } .hero { padding: 40px 24px 80px; } }
.hero h1 { font-size: clamp(2.5rem, 8vw, 4.9rem); color: #fff3e6; }
.hero-script { font-family: var(--script); font-style: italic; font-weight: 500; font-size: clamp(2.2rem, 6.8vw, 4.2rem); color: var(--sand); margin: .12em 0 0; line-height: 1.04; }
.hero-lead { max-width: 44ch; margin: 1.4rem 0 1.9rem; color: #f3d9c6; font-weight: 300; font-size: 1.05rem; }
.hero-lead strong { font-weight: 600; color: #fff3e6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--wi) * 70ms + var(--base, 0ms)); }
.ready .split .w > span { transform: none; }
.hero-fade { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d) * 90ms + 200ms); }
.ready .hero-fade { opacity: 1; transform: none; }

.hero-stack { position: relative; height: 400px; max-width: 520px; width: 100%; margin: 0 auto; }
@media (min-width: 900px) { .hero-stack { height: 580px; } }
.float {
  position: absolute; margin: 0; border-radius: 6px; overflow: hidden;
  box-shadow: 0 34px 60px -24px rgba(20, 0, 0, .7); outline: 1px solid rgba(245, 218, 180, .45); outline-offset: 6px;
  opacity: 0; transition: opacity 1s var(--ease), translate 1.1s var(--ease); will-change: transform;
}
.float img { width: 100%; height: 100%; object-fit: cover; }
.f1 { width: 46%; aspect-ratio: 3/4; left: 0; top: 16%; rotate: -6deg; translate: -30px 40px; transition-delay: .35s; }
.f2 { width: 58%; aspect-ratio: 3/4; left: 24%; top: 0; rotate: 2deg; z-index: 2; translate: 0 60px; transition-delay: .5s; }
.f3 { width: 40%; aspect-ratio: 3/4; right: 0; bottom: 2%; rotate: 7deg; z-index: 3; translate: 30px 40px; transition-delay: .65s; }
.ready .float { opacity: 1; translate: 0 0; }
.float > img { animation: bob 7s ease-in-out infinite alternate; }
.f2 > img { animation-delay: -2s; } .f3 > img { animation-delay: -4s; }
@keyframes bob { to { transform: scale(1.06); } }

/* selo redondo (adesivo da marca) */
.seal {
  position: absolute; z-index: 4; left: 2%; bottom: 4%; width: 118px; height: 118px; border-radius: 50%;
  background: var(--cream); display: grid; place-items: center; box-shadow: 0 16px 30px -12px rgba(0,0,0,.55);
  opacity: 0; scale: .3; transition: opacity .6s var(--ease) 1s, scale .8s var(--spring) 1s;
}
.ready .seal { opacity: 1; scale: 1; }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin-slow 18s linear infinite; }
.seal-ring text { font-family: var(--sans); font-size: 9.5px; letter-spacing: 0; fill: var(--wine); font-weight: 600; }
.seal-mono { width: 34px; height: auto; }
@keyframes spin-slow { to { rotate: 360deg; } }

/* ---------- Faixa creme de contatos ---------- */
.infobar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; padding: 16px;
  background: var(--cream); color: var(--wine); border-bottom: 1px solid var(--line);
}
.infobar a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: .95rem; color: #6b3a2c; transition: color .2s; }
.infobar a:hover { color: var(--wine); }
.infobar svg, .infobar .ico { width: 22px; height: 22px; color: var(--wine); fill: var(--wine); }
@media (max-width: 640px) { .infobar { flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 20px 16px; } .infobar a { font-size: .9rem; justify-content: center; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s ease, box-shadow .25s ease, color .25s, border-color .25s;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn .ico { width: 20px; height: 20px; }
.btn .arrow { fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-cream { background: var(--cream); color: var(--wine); }
.btn-cream:hover { background: #fff3e6; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); }
.btn-outline-light { border-color: rgba(245, 218, 180, .55); color: var(--cream); }
.btn-outline-light:hover { background: rgba(245, 218, 180, .1); border-color: var(--sand); }
.btn-wine { background: var(--wine); color: var(--cream); }
.btn-wine:hover { background: var(--wine-2); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 158, 85, .9); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { background: transparent; border-color: var(--wine); color: var(--wine); }
.btn-ghost:hover { background: var(--wine); color: var(--cream); }
.btn-block { width: 100%; }
.shine::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.4); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--deep); color: var(--sand); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 36s linear infinite; }
.marquee span { font-family: var(--script); font-style: italic; font-size: 1.5rem; white-space: nowrap; }
.marquee .ico { width: 20px; height: 20px; color: var(--copper); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Categorias (destaques) ---------- */
.cats { max-width: 1180px; margin: 0 auto; padding: 32px 0 0; }
.cats-row { display: flex; gap: 18px; overflow-x: auto; padding: 6px 16px 10px; scrollbar-width: none; }
@media (min-width: 720px) { .cats-row { justify-content: center; gap: 36px; } }
.cats-row::-webkit-scrollbar { display: none; }
.cat { flex: none; display: grid; justify-items: center; gap: 8px; background: none; border: 0; padding: 0; font-size: .84rem; color: var(--ink); }
.cat-ring { position: relative; width: 80px; height: 80px; border-radius: 50%; padding: 3px; background: conic-gradient(from 0deg, var(--sand), var(--copper), var(--wine), var(--sand)); transition: transform .4s var(--spring); }
.cat:hover .cat-ring { transform: scale(1.07) rotate(8deg); }
.cat[aria-pressed="true"] .cat-ring { animation: ring 3s linear infinite; }
@keyframes ring { to { transform: rotate(360deg); } }
.cat[aria-pressed="true"] .cat-ring > * { animation: ring-back 3s linear infinite; }
@keyframes ring-back { to { transform: rotate(-360deg); } }
.cat-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--page); }
.cat-ring .cat-ico { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--page); background: var(--wine); display: grid; place-items: center; color: var(--cream); }
.cat-ring .cat-ico .ico { width: 42px; height: 42px; }
.cat[aria-pressed="true"] > span:last-child { color: var(--wine); font-weight: 600; }

/* ---------- Catalog ---------- */
.catalog { max-width: 1180px; margin: 0 auto; padding: 44px 16px 24px; scroll-margin-top: 70px; }
.catalog-head { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 720px) { .catalog-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.catalog-head h2 { font-size: clamp(2.2rem, 5vw, 3.1rem); color: var(--wine); }
.catalog-head p.muted { margin: 8px 0 0; }
.search { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; height: 48px; min-width: min(100%, 300px); transition: border-color .25s, box-shadow .25s; }
.search:focus-within { border-color: var(--wine-3); box-shadow: 0 0 0 4px rgba(85, 5, 0, .08); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.search input { border: 0; background: none; outline: none; font: inherit; width: 100%; color: var(--ink); }

.filters { position: relative; display: flex; gap: 6px; overflow-x: auto; margin: 22px -16px 22px; padding: 4px 16px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { position: relative; z-index: 1; flex: none; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 9px 18px; font-size: 0.9rem; color: var(--ink); transition: color .35s, border-color .35s; }
.filter[aria-pressed="true"] { color: var(--cream); border-color: transparent; }
.filter-pill { position: absolute; z-index: 0; top: 4px; height: calc(100% - 8px); left: 0; width: 0; background: var(--wine); border-radius: 999px; transition: transform .5s var(--spring), width .5s var(--spring); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); text-align: left; padding: 0; color: var(--ink);
  transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0));
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .4s; opacity: 0; translate: 0 28px;
}
.card.in { opacity: 1; translate: 0 0; transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .7s var(--ease), translate .7s var(--ease); transition-delay: 0s, 0s, var(--delay, 0ms), var(--delay, 0ms); }
.card.out { opacity: 0; scale: .94; transition: opacity .25s, scale .25s; }
.card:hover { box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 3 / 4; background: var(--blush); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .6s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img { transform: scale(1.06); }
.card:hover .card-media img.alt { opacity: 1; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(72, 13, 4, .55)); opacity: 0; transition: opacity .4s; }
.card:hover .card-media::after { opacity: 1; }
.quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; background: rgba(255, 235, 214, .96); color: var(--wine); border-radius: 999px; text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .04em; padding: 9px 0; transform: translateY(140%); transition: transform .45s var(--spring); }
.card:hover .quick { transform: none; }
@media (hover: none) { .quick { display: none; } }
.card-badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: rgba(255, 235, 214, .95); color: var(--wine); font-size: 0.64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.card-badge.novo { background: var(--wine); color: var(--cream); animation: pulse-badge 2.4s ease-in-out infinite; }
@keyframes pulse-badge { 50% { box-shadow: 0 0 0 6px rgba(245, 218, 180, .55); } }
.card-body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat { font-size: 0.66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.card-name { font-family: var(--display); font-size: 1.2rem; line-height: 1.15; color: var(--ink); }
.card-meta { font-size: 0.8rem; color: var(--muted); }
.swatches { display: flex; gap: 5px; margin-top: 4px; }
.swatches i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(72,13,4,.18); transition: transform .3s var(--spring); }
.card:hover .swatches i { transform: scale(1.2); }
.card:hover .swatches i:nth-child(2) { transition-delay: .04s; } .card:hover .swatches i:nth-child(3) { transition-delay: .08s; }
.card:hover .swatches i:nth-child(4) { transition-delay: .12s; } .card:hover .swatches i:nth-child(5) { transition-delay: .16s; }
.card-cta { margin-top: auto; padding-top: 10px; font-size: 0.82rem; font-weight: 600; color: var(--wine-2); display: inline-flex; align-items: center; gap: 6px; }
.card-cta svg { width: 15px; height: 15px; fill: var(--wa); }

.no-results { text-align: center; color: var(--muted); padding: 30px 0; }
.no-results a { color: var(--wine); font-weight: 600; }

.ask-card { margin-top: 44px; display: flex; flex-direction: column; gap: 16px; background: var(--wine); color: var(--cream); border-radius: var(--radius); padding: 26px 24px; overflow: hidden; }
.ask-ico { width: 52px; height: 52px; color: var(--sand); }
.ask-card h3 { font-size: 1.8rem; color: #fff3e6; }
.ask-card p { margin: 6px 0 0; color: #f0d2bd; }
.ask-card .btn { flex: none; white-space: nowrap; }
@media (min-width: 720px) { .ask-card { flex-direction: row; align-items: center; gap: 22px; } .ask-card > div { flex: 1; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Como pedir ---------- */
.how { background: var(--cream); margin-top: 44px; scroll-margin-top: 60px; }
.how-inner { max-width: 1180px; margin: 0 auto; padding: 64px 16px; text-align: center; }
.how h2 { font-size: clamp(2.1rem, 5vw, 2.9rem); color: var(--wine); }
.steps { list-style: none; margin: 38px 0 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.step { position: relative; background: var(--paper); border-radius: var(--radius); padding: 30px 22px 28px; border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .badge-ico { transform: scale(.6) rotate(-20deg); opacity: 0; transition: transform .8s var(--spring), opacity .5s; transition-delay: calc(var(--i) * 150ms + 250ms); }
.step.in .badge-ico { transform: none; opacity: 1; }
.step-n { position: absolute; top: 10px; right: 16px; font-family: var(--display); font-size: 3.4rem; color: rgba(85, 5, 0, .08); line-height: 1; }
.step h3 { font-size: 1.45rem; margin: 16px 0 6px; color: var(--wine); }
.step p { margin: 0; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { max-width: 1180px; margin: 0 auto; padding: 56px 16px 46px; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat .ico { width: 34px; height: 34px; color: var(--copper); margin: 0 auto 10px; display: block; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 7vw, 3.6rem); color: var(--wine); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: .82rem; color: var(--muted); }

/* ---------- Nova identidade ---------- */
.brandwall { overflow: hidden; background: var(--wine); color: var(--cream); padding: 70px 16px; }
.brandwall-mono { position: absolute; z-index: -1; left: -10%; bottom: -20%; width: min(90vw, 620px); fill: none; stroke: rgba(160, 50, 25, .35); stroke-width: 1.4; }
.brandwall-inner { max-width: 1180px; margin: 0 auto; display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .brandwall-inner { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.brandwall h2 { font-size: clamp(2.1rem, 5vw, 3rem); color: #fff3e6; }
.brandwall h2 em { font-family: var(--script); font-style: italic; color: var(--sand); }
.brandwall-copy p:last-child { color: #f0d2bd; max-width: 42ch; margin: 16px 0 0; font-weight: 300; }
.brandwall-gallery { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.bw { margin: 0; border-radius: 10px; overflow: hidden; outline: 1px solid rgba(245, 218, 180, .35); outline-offset: 5px; }
.bw img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bw:hover img { transform: scale(1.05); }
.bw1 { grid-row: span 2; aspect-ratio: 3/4; }
.bw1 img { object-position: 60% 50%; }
.bw2, .bw3 { aspect-ratio: 4/3; }

/* ---------- Store ---------- */
.store { max-width: 1180px; margin: 0 auto; padding: 64px 16px 70px; display: grid; gap: 30px; align-items: center; scroll-margin-top: 70px; }
.store-media { position: relative; border-radius: var(--radius); overflow: hidden; }
.store-media img { width: 100%; max-height: 480px; object-fit: cover; transition: transform 1.2s var(--ease); }
.store-media:hover img { transform: scale(1.04); }
.store-badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 235, 214, .95); color: var(--wine); padding: 8px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.store-badge .ico { width: 16px; height: 16px; }
.store h2 { font-size: clamp(2.1rem, 5vw, 2.7rem); color: var(--wine); }
.store-lead { margin: 10px 0 20px; }
.store-info { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.store-info li { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.store-info small { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.store-info b { font-weight: 600; }
.store-info a { font-weight: 600; text-decoration-color: var(--peach); text-underline-offset: 3px; }
@media (min-width: 760px) { .store { grid-template-columns: 0.95fr 1.05fr; gap: 60px; } }

/* ---------- Footer ---------- */
.footer { overflow: hidden; text-align: center; padding: 56px 16px 120px; background: var(--wine); color: #ecc9b4; font-size: .82rem; }
.footer-bg-mono { position: absolute; z-index: -1; right: -8%; top: -30%; width: 520px; fill: none; stroke: rgba(160, 50, 25, .35); stroke-width: 1.4; }
.footer-logo { width: 200px; height: auto; margin: 0 auto; }
.footer-tag { font-family: var(--script); font-style: italic; font-size: 1.5rem; color: var(--sand); margin: 18px 0 10px; }
.footer-copy { margin: 0; }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgba(40, 4, 0, .58); backdrop-filter: blur(4px); animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } }
.close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 248, 241, .95); font-size: 1.6rem; line-height: 1; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.12); transition: transform .4s var(--spring); }
.close:hover { transform: rotate(90deg); }

.sheet { width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; }
.sheet[open] { animation: sheet-up .5s var(--ease); }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 860px) {
  .sheet { width: min(1000px, 94vw); height: auto; max-height: 92vh; margin: auto; border-radius: 20px; overflow: hidden; }
  .sheet[open] { animation: sheet-zoom .5s var(--ease); }
  @keyframes sheet-zoom { from { transform: scale(.94) translateY(20px); opacity: 0; } }
}
.pd { display: flex; flex-direction: column; min-height: 100%; }
@media (min-width: 860px) { .pd { flex-direction: row; max-height: 92vh; } }
.pd-gallery { position: relative; background: var(--blush); flex: none; overflow: hidden; }
@media (min-width: 860px) { .pd-gallery { width: 50%; } }
.pd-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 3 / 4; max-height: 62vh; }
@media (min-width: 860px) { .pd-track { max-height: 92vh; height: 100%; } }
.pd-track::-webkit-scrollbar { display: none; }
.pd-track figure { flex: 0 0 100%; margin: 0; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; }
.pd-track img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pd-track figure.zoom img { transform: scale(1.9); }
.pd-nav { position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 248, 241, .92); font-size: 1.6rem; line-height: 1; color: var(--wine); opacity: 0; transition: opacity .3s, transform .3s var(--spring); }
.pd-nav.prev { left: 12px; } .pd-nav.next { right: 12px; }
.pd-gallery:hover .pd-nav { opacity: 1; }
.pd-nav:hover { transform: scale(1.1); }
@media (hover: none) { .pd-nav { display: none; } }
.pd-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.pd-dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.6); transition: width .35s var(--spring), background .2s ease; }
.pd-dots button[aria-current="true"] { width: 24px; background: #fff; }

.pd-body { padding: 22px 18px 28px; display: flex; flex-direction: column; }
@media (min-width: 860px) { .pd-body { width: 50%; padding: 44px 36px; overflow-y: auto; } }
.pd-in { opacity: 0; transform: translateY(14px); }
.sheet[open] .pd-in { animation: fadeUp .6s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + 120ms); }
.pd-body h2 { font-size: 2.2rem; color: var(--wine); }
.pd-price { margin: 8px 0 0; font-weight: 600; }
.pd-desc { color: #6b4a3e; margin: 12px 0 6px; font-weight: 300; }

.opt { border: 0; padding: 0; margin: 18px 0 0; }
.opt legend { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 8px; font-weight: 600; }
.picked { color: var(--ink); letter-spacing: 0; text-transform: none; font-size: .9rem; margin-left: 4px; font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-width: 46px; height: 44px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .25s, color .25s, border-color .25s, transform .3s var(--spring); }
.chip:hover { border-color: var(--wine-3); }
.chip i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(72,13,4,.18); }
.chip[aria-pressed="true"] { border-color: var(--wine); background: var(--wine); color: var(--cream); animation: chip-pop .4s var(--spring); }
.chip[aria-pressed="true"] i { box-shadow: 0 0 0 2px var(--cream); }
@keyframes chip-pop { 40% { transform: scale(1.1); } }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.2rem; transition: transform .2s; }
.qty button:active { transform: scale(.8); }
.qty output { min-width: 28px; text-align: center; font-weight: 600; }
.qty output.tick { animation: tick .3s var(--spring); }
@keyframes tick { 50% { transform: translateY(-4px) scale(1.2); } }

.hint { min-height: 1.4em; margin: 14px 0 0; color: #b0303c; font-size: .9rem; }
.hint.shake { animation: shake .45s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.pd-actions { display: grid; gap: 10px; margin-top: 8px; }
@media (max-width: 859px) {
  .pd-actions { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--paper) 22%); padding: 18px 0 calc(12px + env(safe-area-inset-bottom)); margin-bottom: -28px; }
}

/* Drawer */
.drawer { margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(420px, 100%); display: none; flex-direction: column; }
.drawer[open] { display: flex; animation: slide .45s var(--ease); }
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { position: relative; padding: 22px 18px 14px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.8rem; color: var(--wine); }
.drawer-head .close { top: 14px; }
.bag-list { list-style: none; margin: 0; padding: 8px 18px; overflow-y: auto; flex: 1; }
.bag-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: fadeUp .45s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.bag-item.leaving { animation: leave .35s var(--ease) forwards; }
@keyframes leave { to { opacity: 0; transform: translateX(40px); height: 0; padding: 0; } }
.bag-item img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; }
.bag-item b { font-family: var(--display); font-weight: 400; font-size: 1.08rem; display: block; line-height: 1.15; }
.bag-item small { color: var(--muted); }
.bag-item button { border: 0; background: none; color: var(--muted); font-size: .82rem; text-decoration: underline; }
.bag-empty { padding: 40px 24px; color: var(--muted); text-align: center; flex: 1; }
.bag-empty .ico { width: 64px; height: 64px; color: var(--peach); animation: float-y 3s ease-in-out infinite; }
@keyframes float-y { 50% { transform: translateY(-8px); } }
.drawer-foot { padding: 14px 18px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 10px; border-top: 1px solid var(--line); }

.fly { position: fixed; z-index: 90; border-radius: 10px; object-fit: cover; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .8s cubic-bezier(.5, -0.3, .7, 1), opacity .8s ease, border-radius .8s; }

/* FAB */
.fab-wrap { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25; display: flex; align-items: center; gap: 10px; }
.fab { position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(31, 158, 85, .9); transition: transform .35s var(--spring); }
.fab:hover { transform: scale(1.08) rotate(-8deg); }
.fab::before, .fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s ease-out infinite; }
.fab::after { animation-delay: 1.2s; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.7); opacity: 0; } }
.fab svg { width: 30px; height: 30px; fill: currentColor; }
.fab-tip { background: var(--paper); color: var(--ink); font-size: .86rem; padding: 9px 14px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow); white-space: nowrap; opacity: 0; transform: translateX(10px) scale(.9); transform-origin: right bottom; transition: opacity .4s var(--ease), transform .5s var(--spring); pointer-events: none; }
.fab-tip.show { opacity: 1; transform: none; }

.toast { position: fixed; left: 50%; bottom: 96px; z-index: 95; transform: translate(-50%, 20px) scale(.95); background: var(--deep); color: var(--cream); padding: 11px 20px; border-radius: 999px; font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .4s var(--spring); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

.heart { position: fixed; z-index: 96; pointer-events: none; font-size: 20px; color: var(--copper); animation: heart 1.1s ease-out forwards; }
@keyframes heart { to { transform: translate(var(--hx), var(--hy)) rotate(var(--hr)) scale(.6); opacity: 0; } }

:focus-visible { outline: 2px solid var(--wine-2); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .card, .float, .hero-fade, .pd-in, .seal, .step .badge-ico { opacity: 1 !important; transform: none !important; translate: none !important; scale: 1 !important; }
  .split .w > span { transform: none !important; }
  .hero-mono path { stroke-dashoffset: 0 !important; }
  .intro { display: none; }
}
