/* =====================================================================
   Vó Sueli Nhoqueria · style.css
   Paleta: vinho · tomate · amarelo nhoque · creme · branco
   ===================================================================== */

:root {
  --vinho: #7B1425;
  --vinho-escuro: #560D1B;
  --vinho-claro: #A02A3C;
  --tomate: #C7362E;
  --tomate-claro: #E8574C;
  --nhoque: #F1C349;
  --nhoque-claro: #FBE7A1;
  --nhoque-escuro: #D9A722;
  --creme: #FFF8EE;
  --creme-2: #FBF1E4;
  --ink: #2A1A1D;
  --ink-2: #4A3A3D;
  --muted: #7C6C70;
  --line: #EFE3DF;
  --line-2: #E4D3CE;
  --white: #FFFFFF;
  --verde: #2E7D4F;
  --verde-claro: #E6F4EB;
  --wa: #25D366;
  --wa-escuro: #1DA851;

  --grad-primary: linear-gradient(135deg, var(--vinho) 0%, var(--tomate) 100%);
  --grad-gold: linear-gradient(135deg, #F7D66A 0%, #E7B52E 100%);
  --grad-footer: linear-gradient(160deg, #4E0B18 0%, var(--vinho) 60%, #8D1F31 100%);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(42, 26, 29, .06), 0 2px 8px rgba(42, 26, 29, .05);
  --shadow: 0 6px 18px rgba(42, 26, 29, .08), 0 2px 6px rgba(42, 26, 29, .05);
  --shadow-lg: 0 24px 60px rgba(88, 20, 32, .16), 0 8px 20px rgba(42, 26, 29, .08);
  --shadow-primary: 0 10px 24px rgba(123, 20, 37, .28);

  --header-h: 76px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; color: var(--ink); letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

:focus-visible { outline: 3px solid rgba(199, 54, 46, .45); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--vinho); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

section { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--tomate); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; opacity: .7; }
.eyebrow-light { color: var(--nhoque); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; }
.section-sub { color: var(--muted); margin-top: 12px; font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  border: 1.5px solid transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(123, 20, 37, .34); }
.btn-outline { background: #fff; color: var(--vinho); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--vinho); background: var(--creme); }
.btn-light { background: #fff; color: var(--vinho); }
.btn-light:hover { background: var(--creme); transform: translateY(-2px); }
.btn-whatsapp { background: var(--wa); color: #0B3D22; box-shadow: 0 10px 24px rgba(37, 211, 102, .32); }
.btn-whatsapp:hover { background: #2AE070; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(37, 211, 102, .38); }
.btn-whatsapp[aria-disabled="true"] { opacity: .55; box-shadow: none; pointer-events: none; }
.link-btn { color: var(--vinho); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(123, 20, 37, .35); }
.link-btn:hover { text-decoration-color: currentColor; }
.link-muted { color: var(--muted); font-weight: 500; font-size: .85rem; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--radius-pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1;
}
.badge-champion { background: var(--grad-gold); color: #5A3D00; box-shadow: 0 4px 12px rgba(217, 167, 34, .35); }
.badge-tomato { background: var(--tomate); color: #fff; }
.badge-vinho { background: var(--vinho); color: #fff; }
.badge-green { background: var(--verde-claro); color: var(--verde); }
.badge-outline { background: #fff; color: var(--ink-2); border: 1px solid var(--line-2); }
.badge-float { position: absolute; top: 16px; left: 16px; z-index: 2; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(42, 26, 29, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 56px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--vinho); font-weight: 700; }
.brand-text small { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; margin-left: 2px; }

.nav { display: flex; gap: 6px; }
.nav a {
  padding: 9px 14px; border-radius: var(--radius-pill);
  font-weight: 500; font-size: .93rem; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--creme-2); color: var(--vinho); }
.nav a.is-active { color: var(--vinho); background: var(--creme-2); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 14px; border-radius: var(--radius-pill);
  background: var(--vinho); color: #fff; font-weight: 600; font-size: .9rem;
  box-shadow: var(--shadow-primary);
  transition: transform .2s var(--ease), background .2s;
}
.cart-btn:hover { background: var(--vinho-claro); transform: translateY(-1px); }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px;
  display: inline-grid; place-items: center;
  border-radius: var(--radius-pill); background: var(--nhoque); color: #4A3200;
  font-size: .75rem; font-weight: 800;
  transition: transform .25s var(--ease);
}
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line-2); background: #fff; }
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(241, 195, 73, .22), transparent 60%),
    radial-gradient(760px 520px at 100% 100%, rgba(199, 54, 46, .14), transparent 60%),
    radial-gradient(600px 400px at 60% 20%, rgba(123, 20, 37, .06), transparent 60%),
    #fff;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--vinho); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.hero-trust li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--verde-claro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232E7D4F'%3E%3Cpath d='M9.5 16.2 5.3 12l1.4-1.4 2.8 2.8 7.8-7.8 1.4 1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.hero-media { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(42, 26, 29, .35) 100%);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before {
  content: ""; position: absolute; inset: 24px -18px -18px 24px; z-index: -1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--nhoque-claro), rgba(199, 54, 46, .35));
}
.hero-float {
  position: absolute; left: -22px; bottom: 28px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  padding: 12px 14px 12px 12px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .8);
  max-width: calc(100% + 22px);
  animation: floatIn .8s var(--ease) both;
}
@keyframes floatIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-float img { width: 56px; height: 70px; object-fit: cover; border-radius: 10px; }
.hero-float .badge { font-size: .62rem; padding: 4px 9px; white-space: nowrap; align-self: flex-start; }
.hero-float-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hero-float-text strong { font-family: var(--font-display); font-size: .98rem; line-height: 1.2; }
.hero-float-price { font-size: .82rem; color: var(--muted); }
.hero-float-price b { color: var(--vinho); font-size: .95rem; }

/* =====================================================================
   PASSOS
   ===================================================================== */
.steps { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--creme); }
.steps-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 26px 0; }
.steps-list li { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-primary); color: #fff; font-weight: 800; font-family: var(--font-display); font-size: 1.05rem;
  box-shadow: var(--shadow-primary);
}
.steps-list strong { display: block; font-size: .98rem; margin-bottom: 2px; }
.steps-list p { font-size: .88rem; color: var(--muted); line-height: 1.45; }

/* =====================================================================
   DESTAQUES
   ===================================================================== */
.featured { padding: clamp(56px, 8vw, 100px) 0 clamp(24px, 4vw, 40px); }
.feature-card {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(24px, 4vw, 56px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(16px, 2.4vw, 28px);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.feature-card--reverse .feature-media { order: 2; }
.feature-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-card:hover .feature-media img { transform: scale(1.03); }
.feature-body { padding: clamp(4px, 1.5vw, 20px) clamp(4px, 2vw, 24px); }
.feature-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; margin-bottom: 8px; }
.feature-meta { color: var(--muted); font-weight: 500; font-size: .95rem; margin-bottom: 16px; }
.feature-desc { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 18px; }
.feature-points { display: grid; gap: 8px; margin-bottom: 26px; }
.feature-points li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.feature-points li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: var(--nhoque-claro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237B1425'%3E%3Cpath d='M9.5 16.2 5.3 12l1.4-1.4 2.8 2.8 7.8-7.8 1.4 1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
}
.feature-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px dashed var(--line-2); }
.price { display: inline-flex; align-items: baseline; gap: 4px; color: var(--vinho); font-family: var(--font-display); font-weight: 700; }
.price-cur { font-size: 1rem; }
.price-val { font-size: 2rem; letter-spacing: -.02em; }
.feature-hint { margin-top: 16px; font-size: .88rem; color: var(--muted); }
.feature-hint .link-btn { font-size: .88rem; }

/* =====================================================================
   CONTROLE DE QUANTIDADE (compartilhado)
   ===================================================================== */
.qty-control { display: inline-flex; }
.btn-add {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-pill);
  background: var(--grad-primary); color: #fff; font-weight: 600; font-size: .92rem; line-height: 1;
  box-shadow: var(--shadow-primary);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn-add:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(123, 20, 37, .34); }
.btn-add .ico { width: 16px; height: 16px; }
.stepper {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--vinho); border-radius: var(--radius-pill); background: #fff;
  overflow: hidden;
}
.stepper button {
  width: 40px; height: 40px; display: grid; place-items: center;
  color: var(--vinho); font-size: 1.2rem; font-weight: 700; line-height: 1;
  transition: background .15s;
}
.stepper button:hover { background: var(--creme-2); }
.stepper output { min-width: 34px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.qty-control[data-size="sm"] .btn-add { padding: 10px 14px; font-size: .85rem; }
.qty-control[data-size="sm"] .stepper button { width: 34px; height: 34px; font-size: 1.05rem; }
.qty-control[data-size="sm"] .stepper output { min-width: 28px; font-size: .9rem; }

/* =====================================================================
   CARDÁPIO
   ===================================================================== */
.menu { padding: clamp(32px, 5vw, 60px) 0 clamp(64px, 8vw, 110px); }
.filters {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 50;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 12px 0; margin-bottom: 22px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 9px 16px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink-2);
  font-weight: 600; font-size: .88rem;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.chip:hover { border-color: var(--vinho); color: var(--vinho); }
.chip[aria-selected="true"] { background: var(--vinho); border-color: var(--vinho); color: #fff; box-shadow: var(--shadow-primary); }

.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  animation: cardIn .45s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.product-card.is-hidden { display: none; }
.product-card.in-cart { border-color: rgba(123, 20, 37, .45); box-shadow: 0 0 0 3px rgba(123, 20, 37, .08), var(--shadow); }
.product-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--creme-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; max-width: calc(100% - 24px); }
.product-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.product-name { font-size: 1.18rem; font-weight: 700; }
.product-meta { font-size: .85rem; color: var(--muted); font-weight: 500; }
.product-desc { font-size: .9rem; color: var(--ink-2); }
.product-details { font-size: .85rem; margin-top: 2px; }
.product-details summary { cursor: pointer; color: var(--vinho); font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.product-details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.product-details p { margin-top: 8px; color: var(--ink-2); }
.product-allergen { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; margin-top: 6px !important; }
.variants { display: inline-flex; gap: 6px; margin-top: 4px; }
.variant {
  padding: 7px 12px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-2);
  font-size: .82rem; font-weight: 600; color: var(--ink-2); background: #fff;
  transition: background .2s, color .2s, border-color .2s;
}
.variant[aria-pressed="true"] { background: var(--creme-2); border-color: var(--vinho); color: var(--vinho); }
.product-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.product-price { display: inline-flex; align-items: baseline; gap: 3px; color: var(--vinho); font-family: var(--font-display); font-weight: 700; }
.product-price .price-cur { font-size: .85rem; }
.product-price .price-val { font-size: 1.5rem; }
.product-price small { font-size: .78rem; color: var(--muted); font-family: var(--font-body); font-weight: 500; margin-left: 4px; }
.menu-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* =====================================================================
   HISTÓRIA
   ===================================================================== */
.story { padding: clamp(56px, 8vw, 110px) 0; background: linear-gradient(180deg, var(--creme) 0%, #fff 100%); }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story-media { position: relative; }
.story-media picture { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; display: block; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-quote {
  position: absolute; right: -24px; bottom: 34px; max-width: 300px; margin: 0;
  background: var(--vinho); color: #fff; padding: 20px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.story-quote p { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; line-height: 1.45; }
.story-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 20px; }
.story-copy p + p { margin-top: 14px; }
.story-copy p { color: var(--ink-2); font-size: 1.02rem; }

/* =====================================================================
   PREPARO
   ===================================================================== */
.prep { padding: clamp(56px, 8vw, 100px) 0; }
.prep-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prep-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.prep-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.prep-ico, .info-ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--nhoque-claro), rgba(241, 195, 73, .45)); color: var(--vinho); margin-bottom: 16px;
}
.prep-ico svg, .info-ico svg { width: 26px; height: 26px; fill: currentColor; }
.prep-card h3, .info-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.prep-card p, .info-card p { font-size: .92rem; color: var(--ink-2); }
.storage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; padding: 20px 24px; border-radius: var(--radius); background: var(--creme); border: 1px solid var(--line); }
.storage-item { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; color: var(--ink-2); }
.storage-item strong { color: var(--vinho); display: inline-flex; align-items: center; gap: 8px; }
.storage-item strong::before { content: "❄"; font-size: .85rem; color: var(--tomate); }

/* =====================================================================
   INFO / ENTREGAS
   ===================================================================== */
.info { padding: 0 0 clamp(56px, 8vw, 100px); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.info-ico { background: linear-gradient(135deg, rgba(123, 20, 37, .1), rgba(199, 54, 46, .16)); }

/* =====================================================================
   CTA FINAL
   ===================================================================== */
.cta-band { padding: clamp(24px, 4vw, 40px) 0 clamp(56px, 8vw, 96px); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--grad-footer);
  color: #fff; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-inner::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 195, 73, .35), transparent 65%); pointer-events: none;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 8px; }
.cta-inner p { color: rgba(255, 255, 255, .82); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--grad-footer); color: rgba(255, 248, 238, .85); padding: clamp(40px, 6vw, 64px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-logo {
  width: 132px; height: 132px; padding: 12px; margin-bottom: 16px;
  border-radius: 50%; background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28), 0 0 0 4px rgba(255, 255, 255, .12);
}
.footer-logo img { width: 100%; height: auto; }
.footer-brand p { font-size: .92rem; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.footer-col h4 { color: var(--nhoque); font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-fine { padding-top: 22px; font-size: .76rem; line-height: 1.6; color: rgba(255, 248, 238, .62); }
.footer-fine p + p, .footer-fine p + .footer-bottom { margin-top: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; }
.footer-bottom p + p { margin-top: 0; }
.footer-credit a { color: rgba(255, 248, 238, .9); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(241, 195, 73, .6); text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--nhoque); text-decoration-color: currentColor; }

/* =====================================================================
   BARRA MOBILE
   ===================================================================== */
.cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9) 40%);
  display: none;
}
.cart-bar-btn {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--radius);
  background: var(--grad-primary); color: #fff; font-weight: 600;
  box-shadow: var(--shadow-primary);
}
.cart-bar-count { min-width: 26px; height: 26px; padding: 0 8px; display: inline-grid; place-items: center; border-radius: var(--radius-pill); background: var(--nhoque); color: #4A3200; font-weight: 800; font-size: .85rem; }
.cart-bar-label { flex: 1; text-align: left; }
.cart-bar-total { font-size: 1.02rem; }

/* =====================================================================
   DRAWER DO PEDIDO
   ===================================================================== */
.drawer-backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(42, 26, 29, .45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.drawer-backdrop.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
  width: min(440px, 100%);
  background: #fff; box-shadow: -20px 0 60px rgba(42, 26, 29, .18);
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(104%); transition: transform .38s var(--ease);
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head {
  position: sticky; top: 0; z-index: 2; background: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 22px 16px; border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 1.5rem; }
.drawer-sub { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); border: 1px solid var(--line-2); background: #fff; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--creme-2); color: var(--vinho); }
.drawer-body { flex: none; padding: 8px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 22px 0; background: #fff; display: flex; flex-direction: column; gap: 14px; margin-top: auto; }
.drawer-foot[hidden] { display: none; }
.drawer-send {
  position: sticky; bottom: 0; z-index: 2; background: #fff;
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px 0 calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -14px 18px -10px rgba(42, 26, 29, .12);
}

/* Endereço / CEP */
.address { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.address legend { padding: 0; margin-bottom: 2px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.address legend em { font-style: normal; font-weight: 500; color: var(--muted); }
.cep-row { display: grid; grid-template-columns: 150px 1fr; gap: 10px; align-items: end; }
.cep-status { font-size: .8rem; line-height: 1.35; color: var(--muted); padding-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.cep-status.is-ok { color: var(--verde); }
.cep-status.is-error { color: var(--tomate); }
.cep-status.is-loading::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%; flex: none;
  border: 2px solid var(--line-2); border-top-color: var(--vinho);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#manualAddr { justify-self: start; font-size: .8rem; }
.address-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.address-fields .span-2 { grid-column: 1 / -1; }
.address-fields input.is-autofilled { background: var(--creme); }

.cart-empty { text-align: center; padding: 56px 12px; color: var(--muted); }
.cart-empty-ico { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--creme-2); display: grid; place-items: center; color: var(--vinho); }
.cart-empty-ico svg { width: 34px; height: 34px; fill: currentColor; }
.cart-empty h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 8px; }
.cart-empty p { font-size: .92rem; margin-bottom: 20px; }

.cart-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); animation: cardIn .3s var(--ease) both; }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; }
.cart-item-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-item-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.25; }
.cart-item-meta { font-size: .8rem; color: var(--muted); }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.cart-item-total { font-weight: 700; color: var(--vinho); font-variant-numeric: tabular-nums; }
.cart-item .stepper button { width: 32px; height: 32px; font-size: 1rem; }
.cart-item .stepper output { min-width: 26px; font-size: .9rem; }
.cart-remove { font-size: .78rem; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; align-self: flex-start; }
.cart-remove:hover { color: var(--tomate); }

.upsell { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-sm); background: var(--creme); border: 1px dashed var(--line-2); }
.upsell[hidden] { display: none; }
.upsell img { width: 44px; height: 54px; object-fit: cover; border-radius: 8px; }
.upsell-text { flex: 1; min-width: 0; font-size: .82rem; color: var(--ink-2); line-height: 1.35; }
.upsell-text strong { display: block; color: var(--ink); font-size: .88rem; }
.upsell .btn-add { padding: 9px 12px; font-size: .8rem; }

.summary { display: flex; flex-direction: column; gap: 6px; }
.summary-row { display: flex; justify-content: space-between; font-size: 1rem; }
.summary-row strong { font-size: 1.2rem; color: var(--vinho); font-family: var(--font-display); }
.summary-muted { font-size: .85rem; color: var(--muted); }

.order-form { display: grid; gap: 10px; }
.order-form label { display: flex; flex-direction: column; gap: 5px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.order-form label em { font-style: normal; font-weight: 500; color: var(--muted); }
.order-form input, .order-form textarea {
  width: 100%; padding: 11px 13px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2);
  background: #fff; font-size: .92rem; font-weight: 400; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.order-form input:focus, .order-form textarea:focus { outline: none; border-color: var(--vinho); box-shadow: 0 0 0 3px rgba(123, 20, 37, .12); }
.fine-print { font-size: .74rem; color: var(--muted); line-height: 1.5; text-align: center; }
.cart-clear-row { display: flex; justify-content: flex-end; padding: 10px 0 6px; }
.cart-clear {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: var(--radius-pill);
  font-size: .8rem; font-weight: 500; color: var(--muted);
  transition: background .2s, color .2s;
}
.cart-clear .ico { width: 15px; height: 15px; }
.cart-clear:hover { background: #FBEAEA; color: var(--tomate); }

/* Modal de confirmação (acima do painel do pedido e do aviso) */
.confirm {
  position: fixed; inset: 0; z-index: 180;
  display: grid; place-items: center;
  padding: 16px calc(16px + env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) calc(16px + env(safe-area-inset-left, 0px));
  background: rgba(42, 26, 29, .5);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.confirm-card {
  width: min(360px, 100%);
  background: #fff; border-radius: 22px; padding: 28px 24px 22px;
  text-align: center; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(12px) scale(.97);
  transition: opacity .2s var(--ease), transform .25s var(--ease);
}
.confirm.is-open .confirm-card { opacity: 1; transform: none; }
.confirm-ico {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; background: #FBEAEA; color: var(--tomate);
}
.confirm-ico svg { width: 26px; height: 26px; fill: currentColor; }
.confirm-card h3 { font-size: 1.3rem; line-height: 1.25; text-wrap: balance; margin-bottom: 8px; }
.confirm-card p { font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.confirm-actions .btn { width: 100%; padding: 13px 14px; }
.btn-danger { background: var(--tomate); color: #fff; box-shadow: 0 8px 18px rgba(199, 54, 46, .28); }
.btn-danger:hover { background: #B02A23; transform: translateY(-1px); }

/* ---------- Toast ---------- */
/* left/right fixos + width: max-content: o aviso usa a largura do texto,
   limitada à tela menos 16px de cada lado (antes, left:50% limitava a meia tela) */
.toast {
  position: fixed; left: 16px; right: 16px; bottom: 24px; z-index: 170;
  width: max-content; max-width: calc(100vw - 32px); margin-inline: auto;
  transform: translateY(20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 16px;
  font-size: .9rem; font-weight: 500; line-height: 1.4; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 16px;
  transition: transform .3s var(--ease), opacity .3s;
}
.toast.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast span { min-width: 0; }
.toast button { flex: none; color: var(--nhoque); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; padding: 4px 0; }

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 1080px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .prep-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand-logo { width: 46px; }
  .brand-text strong { font-size: 1.15rem; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 10px var(--gutter) 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(42, 26, 29, .1);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .menu-toggle { display: flex; }
  .header-wa { display: none; }
  .cart-label { display: none; }
  .cart-btn { padding: 9px 12px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-media { max-width: 520px; }
  .hero-float { left: 12px; right: 12px; bottom: 16px; max-width: none; }
  .hero-media::before { inset: 16px -10px -10px 16px; }
  .steps-list { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card--reverse .feature-media { order: 0; }
  .feature-media { aspect-ratio: 5 / 4; }
  .story-grid { grid-template-columns: 1fr; }
  .story-media { max-width: 520px; }
  .story-quote { right: 12px; bottom: 16px; max-width: 260px; padding: 16px 18px; }
  .story-quote p { font-size: .98rem; }
  .info-grid, .storage { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-bar { display: block; }
  .cart-bar[hidden] { display: none; }
  .site-footer { padding-bottom: 120px; }
  .toast { bottom: 96px; }
}

@media (max-width: 640px) {
  .hero { padding-top: 28px; }
  .hero h1 { font-size: 2.5rem; }
  .hero-cta .btn { flex: 1 1 auto; }
  .menu-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card { flex-direction: row; align-items: stretch; }
  .product-card .product-media { width: 124px; flex: none; aspect-ratio: auto; min-height: 100%; }
  .product-badges { top: 8px; left: 8px; gap: 4px; }
  .product-badges .badge { padding: 4px 8px; font-size: .62rem; }
  .product-body { padding: 14px 14px 14px 14px; gap: 6px; }
  .product-name { font-size: 1.05rem; }
  .product-desc { display: none; }
  .product-buy { padding-top: 8px; }
  .product-price .price-val { font-size: 1.3rem; }
  .btn-add { padding: 10px 14px; font-size: .85rem; }
  .stepper button { width: 34px; height: 34px; }
  .prep-grid { grid-template-columns: 1fr; }
  .cta-inner { text-align: center; justify-content: center; }
  .cta-actions { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .drawer { width: 100%; }
  .cep-row { grid-template-columns: 1fr; align-items: start; }
  .cep-status { padding-bottom: 0; }
}

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