/* ============================================================================
   SABORES CHEFE ANDRÉ — FOLHA DE ESTILOS
   Identidade extraída dos rótulos oficiais da marca:
   fundo creme, tipografia serifada nos nomes dos sabores, selo/carimbo
   preto do logotipo, cores por sabor e bordas onduladas (carimbo/selo).
   Construído mobile-first: as regras base valem para celular; os breakpoints
   (min-width) ampliam o layout para telas maiores.
   ============================================================================ */

:root {
  /* --- paleta extraída dos materiais da marca --- */
  --cream:        #F4EFEA;
  --cream-2:      #FBF8F4;
  --cream-3:      #EDE5DA;
  --ink:          #201C18;
  --ink-soft:     #4A433C;
  --line:         rgba(32, 28, 24, 0.12);
  --line-strong:  rgba(32, 28, 24, 0.22);

  /* cor de marca principal (verde cumaru — usada em CTAs e destaques) */
  --brand:        #1E3B22;
  --brand-dark:   #142918;
  --brand-tint:   #E4EADD;

  /* acento quente (caramelo do pudim — usado com moderação) */
  --accent:       #B5672A;
  --accent-tint:  #F3E3D2;

  /* cores por sabor (detalhe visual — usadas em pequenos elementos: selos,
     etiquetas, bordas e ícones do card. NÃO usar como fundo de seção
     inteira, para manter a base do site clean e coerente) */
  --morango:      #C64F4C;  /* morango — vermelho/rosa sofisticado */
  --pudim:        #A6631F;  /* pudim — caramelo/dourado */
  --maracuja:     #C98A15;  /* maracujá — amarelo quente */
  --cumaru:       #B8863B;  /* cumaru com abacaxi — dourado tropical (distinto do verde --brand, que é a cor de CTA do site) */
  --oreo:         #4A2F22;  /* oreo — chocolate/grafite (antes era azul) */
  --whey:         #8C3A52;  /* whey com frutas vermelhas — tom de fruta vermelha (antes era bege) */

  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    26px;
  --radius-pill:  999px;

  --shadow-sm:    0 2px 10px rgba(32,28,24,0.06);
  --shadow-md:    0 10px 30px rgba(32,28,24,0.10);
  --shadow-lg:    0 20px 50px rgba(32,28,24,0.16);

  /* ---- hierarquia tipográfica da marca (NÃO ALTERAR sem aprovação) ----
     Montserrat    = fonte funcional: preços, CTAs, formulários, textos
                     comerciais e descrições (negrito/seminegrito para
                     ênfase, regular para texto corrido).
     Boston Angel  = nomes de sobremesas/sabores e a palavra "Chefe André"
                     dentro da identidade — NUNCA para textos longos,
                     formulários ou informação funcional.
                     ⚠ Boston Angel é uma fonte paga (Great Type Foundry)
                     e ainda não foi licenciada/enviada para este projeto.
                     Por isso usamos "Playfair Display" (Google Fonts) como
                     PLACEHOLDER temporário — quando a fonte oficial for
                     fornecida, basta trocar o valor abaixo e adicionar o
                     @font-face correspondente. Ver README.
     Raleway       = assinatura da marca — usada SOMENTE na palavra
                     "Sabores" dentro da composição do nome, nunca como
                     fonte principal do site. */
  --font-montserrat:   "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-boston-angel: "Playfair Display", Georgia, serif; /* ⚠ PLACEHOLDER — trocar pela fonte Boston Angel licenciada */
  --font-raleway:      "Raleway", Georgia, serif;

  /* aliases — mantidos para compatibilidade com o restante da folha de
     estilos; não é necessário reescrever cada regra abaixo. */
  --font-display: var(--font-boston-angel);
  --font-ui:      var(--font-montserrat);

  --header-h: 64px;
  --mobile-bar-h: 76px;
}

/* ---------------------------------------------------------------------- */
/* RESET                                                                   */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--mobile-bar-h);
  /* evita rolagem horizontal indevida causada pelos painéis deslizantes
     (menu, carrinho, modal de foto) que ficam fora da tela via transform */
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
input, select, textarea { font-family: inherit; font-size: 16px; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
@media (min-width: 860px) {
  .section { padding: 88px 0; }
  .section-tight { padding: 52px 0; }
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}
.section-head { max-width: 640px; margin: 0 0 32px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 10px;
  color: var(--ink);
}
.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 16.5px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* reveal-on-scroll (discreto) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------------- */
/* BOTÕES                                                                  */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--brand); color: var(--cream-2); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-md); }
.btn-primary:disabled { background: #A9A79E; color: #fff; cursor: not-allowed; box-shadow: none; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); background: rgba(32,28,24,0.04); }
.btn-outline.on-dark { color: var(--cream); border-color: rgba(244,239,234,0.45); }
.btn-outline.on-dark:hover { background: rgba(244,239,234,0.1); border-color: var(--cream); }
.btn-ghost { background: transparent; color: var(--brand); padding: 10px 6px; }
.btn-ghost:hover { text-decoration: underline; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 17px 34px; font-size: 16.5px; }
.btn[data-state="loading"] { opacity: .75; pointer-events: none; }
.btn[data-state="success"] { background: var(--brand-dark); }

/* estados de carregamento simples */
.btn .spin {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: spin .7s linear infinite; display: none;
}
.btn[data-state="loading"] .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------- */
/* HEADER                                                                  */
/* ---------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244,239,234,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.site-header .container {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand-logo { display: flex; align-items: center; gap: 10px; }
.brand-logo img { height: 38px; width: auto; }
.brand-logo .brand-name { display: none; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  color: var(--ink);
}
.icon-btn:hover { background: rgba(32,28,24,0.05); }
.icon-btn svg { width: 20px; height: 20px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1;
  min-width: 18px; height: 18px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.hamburger { display: inline-flex; }
@media (min-width: 900px) {
  .main-nav { display: block; }
  .hamburger { display: none; }
  .brand-logo .brand-name {
    display: inline-block; font-family: var(--font-boston-angel); font-weight: 700; font-size: 19px;
  }
}
/* assinatura da marca — Raleway aparece só na palavra "Sabores" */
.brand-name .raleway-word { font-family: var(--font-raleway); font-weight: 600; font-style: italic; }

/* menu mobile (gaveta simples) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(20,17,14,0.4);
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(84vw, 340px);
  background: var(--cream-2); box-shadow: var(--shadow-lg);
  padding: 24px 22px; transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-panel a {
  padding: 14px 4px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line);
}
.mobile-menu-close { align-self: flex-end; margin-bottom: 8px; }

/* ---------------------------------------------------------------------- */
/* HERO                                                                    */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 40px 0 52px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(30,59,34,0.10), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(181,103,42,0.10), transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero .container { display: grid; gap: 30px; align-items: center; }
.hero-copy .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 7vw, 54px);
  line-height: 1.08;
  margin-top: 14px;
  color: var(--ink);
}
.hero-copy p.lead {
  margin-top: 16px; font-size: 17.5px; color: var(--ink-soft); max-width: 46ch;
}
.hero-ctas { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-min-nota { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }
.hero-badges { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 18px 26px; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.hero-badge svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

/* Mobile-first: a foto do produto aparece antes do texto/botão. No
   desktop, a ordem volta ao natural (texto à esquerda, foto à direita). */
.hero-visual { position: relative; order: -1; }
.hero-stamp {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--cream-3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-stamp::before {
  content: "";
  position: absolute; inset: 14px;
  border: 1.5px solid rgba(244,239,234,0.55);
  border-radius: calc(var(--radius-lg) - 8px);
  z-index: 1;
  pointer-events: none;
}
.hero-real-photo { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .hero { padding: 64px 0 88px; }
  .hero .container { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .hero-visual { order: 1; }
}

/* ---------------------------------------------------------------------- */
/* COMO FUNCIONA                                                          */
/* ---------------------------------------------------------------------- */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step-card {
  background: var(--cream-2); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 22px 18px;
}
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-montserrat); font-weight: 700; font-size: 15px;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.step-card p { font-size: 13.8px; color: var(--ink-soft); }

/* ---------------------------------------------------------------------- */
/* CARDÁPIO — todos os sabores juntos (sem abas)                          */
/* ---------------------------------------------------------------------- */
.menu-toolbar {
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center;
  margin-bottom: 22px;
}
.min-order-banner {
  display: flex; align-items: center; gap: 10px;
  background: var(--accent-tint); color: var(--accent);
  border-radius: var(--radius-pill); padding: 10px 16px; font-size: 13.5px; font-weight: 600;
}
.min-order-banner svg { width: 17px; height: 17px; flex-shrink: 0; }

/* selo de confiança artesanal — discreto, ao lado do aviso de pedido mínimo */
.artesanal-note {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--ink-soft);
}
.artesanal-note svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }

.product-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 620px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); }
.product-card.in-cart { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-tint); }

/* confirmação discreta ao adicionar um sabor à seleção */
@keyframes cardAddedPulse {
  0% { box-shadow: 0 0 0 0 rgba(30,59,34,0.35); }
  100% { box-shadow: 0 0 0 9px rgba(30,59,34,0); }
}
.product-card.just-added { animation: cardAddedPulse .55s ease-out; }

/* Destaque visual do Whey (proposta proteica) — levemente diferente dos
   demais cards, sem quebrar a grade. */
.product-card.destaque-proteico {
  border: 1.5px solid var(--whey);
  background: linear-gradient(180deg, rgba(140,58,82,0.06), var(--cream-2) 46%);
}
.product-card.destaque-proteico:hover { box-shadow: 0 0 0 1px var(--whey), var(--shadow-md); }

/* Destaque visual do Cumaru (criação exclusiva da marca) — mais elegante e
   perceptível que o do Whey, para despertar curiosidade sem exagerar. */
.product-card.destaque-exclusivo {
  border: 1.5px solid var(--cumaru);
  background: linear-gradient(160deg, rgba(184,134,59,0.12), var(--cream-2) 52%);
  box-shadow: 0 0 0 1px rgba(184,134,59,0.22);
}
.product-card.destaque-exclusivo:hover { box-shadow: 0 0 0 1px var(--cumaru), var(--shadow-md); }

.product-photo {
  position: relative; aspect-ratio: 4/3.1; background: var(--cream-3);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  cursor: zoom-in;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-photo img,
  .combo-card:hover .combo-photo img { transform: scale(1.045); }
}
/* placeholder de fotografia — reutilizado em cards de sabor, combo e outros */
.placeholder-ph {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink-soft); text-align: center; padding: 16px;
}
.placeholder-ph svg { width: 30px; height: 30px; opacity: .55; flex-shrink: 0; }
.placeholder-ph span { font-size: 11px; letter-spacing: .03em; opacity: .8; line-height: 1.4; }
.tema-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; padding: 5px 10px; border-radius: var(--radius-pill);
}
.badge-especial {
  position: absolute; top: 12px; right: 12px;
  background: var(--ink); color: var(--cream-2);
  font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--radius-pill);
}
/* Fita "Criação exclusiva" do Cumaru — dourada e discretamente mais elaborada
   que a fita padrão, para comunicar que é algo raro sem parecer exagerado. */
.badge-especial.badge-especial-exclusiva {
  background: linear-gradient(135deg, #C99B4E, #8C6423);
  color: #FFF7E8;
  border: 1px solid rgba(255,247,232,0.45);
  box-shadow: 0 2px 8px rgba(140,100,35,0.35);
  letter-spacing: .07em;
}

.product-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-family: var(--font-boston-angel); font-size: 21px; font-weight: 700; }
.product-body .peso { font-size: 12px; color: var(--ink-soft); }
.product-body .desc { font-size: 13.8px; color: var(--ink-soft); margin-top: 2px; }
.product-body .diferencial {
  font-size: 12.3px; color: var(--ink-soft); font-style: italic; margin-top: 2px;
}

/* selos — pequenas etiquetas de diferenciação (só afirmações verdadeiras) */
.selos-row { display: flex; flex-wrap: wrap; gap: 6px; }
.selo-pill {
  display: inline-flex; align-items: center; font-family: var(--font-montserrat);
  font-size: 10.5px; font-weight: 700; letter-spacing: .03em;
  color: var(--ink-soft); background: var(--cream-3);
  border-radius: var(--radius-pill); padding: 4px 10px;
}
.selo-pill.chef { color: var(--cream-2); background: var(--cumaru); }
.selo-pill.saude { color: var(--brand-dark); background: var(--brand-tint); }

.product-footer {
  margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.price { font-family: var(--font-montserrat); font-weight: 700; font-size: 19px; color: var(--ink); }
.price small { font-family: var(--font-ui); font-weight: 500; font-size: 11.5px; color: var(--ink-soft); }

.stepper {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); overflow: hidden;
}
.stepper button {
  width: 36px; height: 36px; background: transparent; border: none;
  font-size: 18px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.stepper button:disabled { opacity: .35; }
.stepper button:hover:not(:disabled) { background: rgba(32,28,24,0.06); }
.stepper .qty { min-width: 26px; text-align: center; font-weight: 700; font-size: 15px; }
.stepper.bump .qty { animation: bump .28s ease; }
@keyframes bump { 0%{transform:scale(1)} 40%{transform:scale(1.28)} 100%{transform:scale(1)} }

.qty-control-wrap { display: flex; }
@keyframes popIn { 0% { opacity: 0; transform: scale(.85); } 100% { opacity: 1; transform: scale(1); } }
.qty-control-wrap > * { animation: popIn .22s ease; }
.btn-add-sabor {
  background: var(--brand); color: var(--cream-2); border: none; border-radius: var(--radius-pill);
  padding: 11px 20px; font-weight: 600; font-size: 13.5px; white-space: nowrap;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow-sm);
}
.btn-add-sabor:hover { background: var(--brand-dark); box-shadow: var(--shadow-md); }
.btn-add-sabor:active { transform: scale(0.97); }

/* ---------------------------------------------------------------------- */
/* COMBOS                                                                  */
/* ---------------------------------------------------------------------- */
.combo-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .combo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .combo-grid { grid-template-columns: repeat(4, 1fr); } }

.combo-card {
  position: relative; background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
}
.combo-card.destaque { border-color: var(--brand); box-shadow: var(--shadow-md); }
.combo-flag {
  position: absolute; top: -12px; left: 20px;
  background: var(--brand); color: var(--cream-2);
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.combo-photo {
  aspect-ratio: 16/10; border-radius: var(--radius-md); background: var(--cream-3);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.combo-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.combo-beneficio { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.combo-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.combo-card .qtd { font-size: 13px; color: var(--ink-soft); }
.combo-card .desc { font-size: 13.8px; color: var(--ink-soft); }
.combo-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.combo-price-row .total { font-family: var(--font-montserrat); font-size: 22px; font-weight: 700; }
.combo-price-row .individual { font-size: 13px; color: var(--ink-soft); text-decoration: line-through; }
.combo-compare { font-size: 12.5px; color: var(--ink-soft); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.combo-savings { font-size: 12.5px; color: var(--brand); font-weight: 600; }
.combo-unit { font-size: 12px; color: var(--ink-soft); }

/* ---------------------------------------------------------------------- */
/* BANNER DE CAMPANHA (lançamento)                                        */
/* ---------------------------------------------------------------------- */
.campaign-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--cream-2); border-radius: var(--radius-lg); padding: 34px 26px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
.campaign-tag {
  background: rgba(244,239,234,0.16); color: var(--cream-2);
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.campaign-banner h2 { font-family: var(--font-display); font-size: clamp(22px,4vw,30px); }
.campaign-banner p { font-size: 15px; opacity: .92; max-width: 56ch; }
.campaign-coupon { font-size: 14px; margin-top: 4px; }
.campaign-coupon strong { background: rgba(244,239,234,0.18); padding: 4px 10px; border-radius: 6px; letter-spacing: .05em; }

/* ---------------------------------------------------------------------- */
/* CTA FINAL (antes do rodapé)                                            */
/* ---------------------------------------------------------------------- */
.final-cta-section { background: var(--cream-3); }
.final-cta { text-align: center; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.final-cta h2 { font-family: var(--font-display); font-size: clamp(26px,4.6vw,36px); }
.final-cta p { color: var(--ink-soft); font-size: 16px; }

/* ---------------------------------------------------------------------- */
/* BARRA FIXA MOBILE                                                      */
/* ---------------------------------------------------------------------- */
.mobile-order-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--ink);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .25s ease;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
}
.mobile-order-bar.visible { transform: translateY(0); }
.mobile-bar-cta {
  width: 100%; background: var(--cream-2); color: var(--ink); border: none;
  border-radius: var(--radius-pill); padding: 15px 18px;
  font-family: var(--font-ui); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.mobile-bar-cta:active { transform: scale(0.98); }
@media (min-width: 900px) { .mobile-order-bar { display: none; } }

/* progress bar do pedido mínimo (usada no cardápio e no carrinho) */
.progress-wrap { margin-top: 4px; }
.progress-track {
  height: 8px; background: var(--cream-3); border-radius: var(--radius-pill); overflow: hidden;
}
.progress-fill { height: 100%; background: var(--brand); border-radius: var(--radius-pill); transition: width .4s ease; width: 0%; }
.progress-caption { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; transition: opacity .2s ease; }
.progress-caption strong { color: var(--ink); }
.progress-caption.complete strong { color: var(--brand); }
.upsell-suggestion { display: block; margin-top: 6px; color: var(--brand); font-weight: 600; }

/* Sugestão discreta do Cumaru — pequena, ao lado da contagem de itens,
   nunca um pop-up. Cor dourada sutil para remeter à "criação exclusiva",
   sem competir com o texto principal de progresso. */
.chef-tip {
  font-size: 12px; color: var(--cumaru); margin-top: 5px; font-style: italic;
}

.order-status-card {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 18px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px;
}
.order-status-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.order-status-top .totals { font-size: 14px; }
.order-status-top .totals b { font-family: var(--font-montserrat); font-size: 18px; }

/* ---------------------------------------------------------------------- */
/* CARRINHO (painel lateral)                                              */
/* ---------------------------------------------------------------------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(20,17,14,0.45);
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: 100%; max-width: 460px;
  background: var(--cream-2); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .28s ease;
}
.cart-overlay.open .cart-panel { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.cart-header h2 { font-family: var(--font-display); font-size: 21px; font-weight: 700; }
.cart-steps { display: flex; gap: 6px; padding: 12px 20px 0; }
.cart-step-dot {
  flex: 1; height: 4px; border-radius: var(--radius-pill); background: var(--cream-3);
}
.cart-step-dot.active { background: var(--brand); }

.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px 20px; }
.cart-footer { border-top: 1px solid var(--line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--cream-2); }

.cart-empty { text-align: center; padding: 40px 10px; color: var(--ink-soft); }
.cart-empty svg { width: 40px; height: 40px; margin-bottom: 12px; opacity: .5; }

.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item .thumb {
  width: 58px; height: 58px; border-radius: var(--radius-sm); background: var(--cream-3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden;
}
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .info { flex: 1; min-width: 0; }
.cart-item .info .name { font-weight: 600; font-size: 14.5px; }
.cart-item .info .unit { font-size: 12px; color: var(--ink-soft); }
.cart-item .row-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.cart-item .line-total { font-weight: 700; font-size: 14px; }
.cart-item .remove-btn { color: var(--ink-soft); font-size: 12px; text-decoration: underline; background: none; border: none; padding: 4px; }
.combo-slots-note { font-size: 11.5px; color: var(--brand); margin-top: 4px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.hint { font-size: 11.5px; color: var(--ink-soft); margin-top: 4px; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; background: var(--cream-2); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
}
.field textarea { min-height: 76px; resize: vertical; }
.field.invalid input, .field.invalid select { border-color: #B03A2E; }
.field .error-msg { display: none; font-size: 11.5px; color: #B03A2E; margin-top: 4px; }
.field.invalid .error-msg { display: block; }

.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill {
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); padding: 9px 16px;
  font-size: 13.5px; font-weight: 600; cursor: pointer; user-select: none;
}
.radio-pill input { display: none; }
.radio-pill.checked { background: var(--brand); border-color: var(--brand); color: var(--cream-2); }

.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; }
.coupon-feedback { font-size: 12.5px; margin-top: 6px; }
.coupon-feedback.ok { color: var(--brand); }
.coupon-feedback.err { color: #B03A2E; }
.coupon-applied {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--brand-tint); color: var(--brand); border-radius: var(--radius-sm);
  padding: 8px 12px; font-size: 13px; font-weight: 600; margin-top: 8px;
}
.coupon-applied button { background: none; border: none; color: var(--brand); text-decoration: underline; font-size: 12px; }

.summary-line { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; color: var(--ink-soft); }
.summary-line.total { color: var(--ink); font-weight: 700; font-size: 17px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.summary-line.total .val { font-family: var(--font-montserrat); }
.summary-line .val.negative { color: var(--brand); }
.riscado { text-decoration: line-through; color: var(--ink-soft); font-weight: 400; margin-right: 6px; }

/* detalhamento de economia (combo + frete/cupom) no resumo do carrinho */
.savings-breakdown {
  background: var(--brand-tint); border-radius: var(--radius-sm);
  padding: 10px 12px; margin: 4px 0 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.savings-breakdown .savings-line {
  display: flex; justify-content: space-between; font-size: 12.5px; color: var(--brand-dark);
}
.savings-breakdown .savings-total {
  font-family: var(--font-montserrat); font-size: 13px; font-weight: 700; color: var(--brand-dark);
  padding-top: 5px; margin-top: 2px; border-top: 1px dashed rgba(30,59,34,0.25);
}

.section-mini-title { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 10px; }

/* ---------------------------------------------------------------------- */
/* EVENTOS / PARCEIROS                                                     */
/* ---------------------------------------------------------------------- */
.split-panel {
  display: grid; gap: 20px; grid-template-columns: 1fr;
  background: var(--brand); color: var(--cream-2);
  border-radius: var(--radius-lg); overflow: hidden;
}
.split-panel .txt { padding: 34px 26px; }
.split-panel.light { background: var(--cream-3); color: var(--ink); }
.split-panel .eyebrow.on-dark { color: rgba(244,239,234,0.75); }
.split-panel h2 { font-family: var(--font-display); font-size: clamp(24px,4.4vw,32px); margin: 10px 0 12px; }
.split-panel p { opacity: .9; font-size: 15.5px; max-width: 52ch; }
.split-panel ul.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.split-panel ul.tags li {
  font-size: 12.5px; border: 1px solid rgba(244,239,234,0.35); border-radius: var(--radius-pill); padding: 6px 12px;
}
.split-panel.light ul.tags li { border-color: var(--line-strong); }
.split-panel .visual {
  min-height: 180px; background: rgba(244,239,234,0.08);
  display: flex; align-items: center; justify-content: center;
}
.split-panel.light .visual { background: var(--cream-2); }
@media (min-width: 860px) { .split-panel { grid-template-columns: 1fr 1fr; } }

/* Variante "solo" — sem ícone grande ao lado, texto centralizado e mais
   refinado (usada em Eventos e Parcerias). */
.split-panel.solo { text-align: center; }
.split-panel.solo .txt { padding: 46px 26px; max-width: 620px; margin: 0 auto; }
.split-panel-note { opacity: .75; font-size: 14px; margin-top: -8px; }
.split-panel.solo .hero-badges,
.split-panel.solo .btn { margin-top: 22px; }
@media (min-width: 860px) { .split-panel.solo { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------- */
/* CONFIANÇA                                                               */
/* ---------------------------------------------------------------------- */
.trust-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .trust-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1020px) { .trust-grid { grid-template-columns: repeat(4,1fr); } }
.trust-card { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; }
.trust-card svg { width: 26px; height: 26px; color: var(--brand); margin-bottom: 12px; }
.trust-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.trust-card p { font-size: 13.5px; color: var(--ink-soft); }

.chef-card {
  display: grid; gap: 26px; grid-template-columns: 1fr; align-items: center;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
}
@media (min-width: 780px) { .chef-card { grid-template-columns: 270px 1fr; } }
.chef-photo {
  aspect-ratio: 3/4; max-width: 320px; margin: 0 auto; border-radius: var(--radius-md); background: var(--cream-3);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
@media (min-width: 780px) { .chef-photo { max-width: none; } }
.chef-photo img { width: 100%; height: 100%; object-fit: cover; }

.reviews-row { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 10px; }
@media (min-width: 760px) { .reviews-row { grid-template-columns: repeat(3,1fr); } }
.review-card { background: var(--cream-2); border: 1px dashed var(--line-strong); border-radius: var(--radius-md); padding: 18px; text-align: center; color: var(--ink-soft); font-size: 13.5px; }

.insta-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 18px; }
@media (min-width: 700px) { .insta-grid { grid-template-columns: repeat(6,1fr); } }
.insta-grid .cell {
  aspect-ratio: 1/1; background: var(--cream-3); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; color: var(--ink-soft);
}
.insta-grid .cell svg { width: 20px; height: 20px; opacity: .5; }

/* ---------------------------------------------------------------------- */
/* FAQ                                                                     */
/* ---------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 18px 4px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
}
.faq-q .plus { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--ink); border-radius: 2px;
}
.faq-q .plus::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-q .plus::after { width: 2px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); transition: transform .2s ease; }
.faq-item.open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 4px 18px; color: var(--ink-soft); font-size: 14.5px; max-width: 68ch; }

/* ---------------------------------------------------------------------- */
/* RODAPÉ                                                                  */
/* ---------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(244,239,234,0.82); padding: 46px 0 26px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 40px; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; opacity: .75; max-width: 34ch; }
.site-footer h4 { color: var(--cream); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul li { margin-bottom: 9px; font-size: 14px; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(244,239,234,0.14);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 12.5px; opacity: .65;
}

/* ---------------------------------------------------------------------- */
/* MODAL DE FOTO AMPLIADA                                                  */
/* ---------------------------------------------------------------------- */
.photo-modal {
  position: fixed; inset: 0; z-index: 120; background: rgba(20,17,14,0.85);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.photo-modal.open { opacity: 1; pointer-events: auto; }
/* Foto completa e sem corte do produto (não a versão recortada do card) —
   fundo escuro para não competir com a imagem, com espaço para respirar
   tanto no desktop quanto no mobile. */
.photo-modal .box {
  max-width: 420px; width: 100%; max-height: 86vh;
  background: rgba(20,17,14,0.55); border-radius: var(--radius-lg); overflow: hidden;
}
.photo-modal .box .ph { aspect-ratio: 4/5; max-height: 86vh; }
.photo-modal .close-btn { position: absolute; top: 18px; right: 18px; }

/* ---------------------------------------------------------------------- */
/* TOASTS                                                                  */
/* ---------------------------------------------------------------------- */
.toast-wrap {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 200;
  display: flex; flex-direction: column-reverse; gap: 8px; align-items: center;
  bottom: calc(var(--mobile-bar-h) + 14px);
  width: min(92vw, 360px);
}
@media (min-width: 900px) { .toast-wrap { bottom: 24px; } }
.toast {
  background: var(--ink); color: var(--cream-2); padding: 11px 18px; border-radius: var(--radius-pill);
  font-size: 13.5px; box-shadow: var(--shadow-md); text-align: center;
  opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------------- */
/* CORES POR SABOR (tags dos cards — fiéis aos rótulos originais)         */
/* ---------------------------------------------------------------------- */
.tag-morango  { background: var(--morango); }
.tag-pudim    { background: var(--pudim); }
.tag-maracuja { background: var(--maracuja); }
.tag-cumaru   { background: var(--cumaru); }
.tag-oreo     { background: var(--oreo); }
.tag-whey     { background: var(--whey); }

/* ---------------------------------------------------------------------- */
/* AJUSTES FINOS DE ACESSIBILIDADE                                        */
/* ---------------------------------------------------------------------- */
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
