/* =========================================================================
   FITFOOD BY JENI — ESTILO
   Paleta e tipografia seguem identidade/design-guide.md
   ========================================================================= */

:root {
  /* Cores — Fitfood by Jeni: creme + rosê + verde-oliva */
  --branco: #ffffff;
  --creme: #f7efe8;         /* fundo da página (mesmo creme do logo) */
  --creme-2: #f0e5db;
  --sage: #f3e7e1;          /* balões e seções (rosê bem claro) */
  --sage-2: #e9d6cd;
  --verde: #7c8b41;         /* verde-oliva claro (acento pontual) */
  --verde-cta: #4c5a27;     /* oliva escura acessível (botões) */
  --verde-cta-h: #5c6c30;
  --dourado: #a85e51;       /* rosê escuro dos títulos (contraste ok no creme) */
  --dourado-claro: #c4877c; /* rosê do logo (selos, detalhes) */
  --mel: #e2a596;           /* rosê (badges de preço, texto preto legível) */
  --mel-suave: #f6e7e1;
  --preto: #221d1a;         /* texto (quase-preto quente) */
  --cinza: #6b6058;         /* texto secundário (cinza quente) */
  --linha: #ead9cf;

  /* Tipografia */
  --f-script: "Dancing Script", cursive;
  --f-display: "Fraunces", Georgia, serif;
  --f-corpo: "Nunito", system-ui, sans-serif;

  /* Formas */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-full: 999px;
  --sombra: 0 6px 22px rgba(43, 54, 25, .09);
  --sombra-f: 0 14px 40px rgba(43, 54, 25, .16);

  /* Espaço */
  --pad-secao: clamp(3rem, 8vw, 6rem);
  --largura: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--f-corpo);
  color: var(--preto);
  background: var(--creme);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: rgba(76, 90, 39, .14); }
button { touch-action: manipulation; }
/* âncoras não ficam escondidas atrás do cabeçalho fixo */
section[id], [id="topo"] { scroll-margin-top: 76px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; margin: 0; }
em { font-style: italic; color: var(--dourado); }

/* Títulos de seção: serifada itálica dourada (assinatura da marca) */
.secao__titulo, .balao__titulo { color: var(--dourado); font-style: italic; }

:focus-visible { outline: 3px solid var(--verde-cta); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------- Botões ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--f-corpo); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: var(--r-full);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  min-height: 48px; transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:active { transform: scale(.97); }
.btn--primario { background: var(--verde-cta); color: #fff; box-shadow: var(--sombra); }
.btn--primario:hover { background: var(--verde-cta-h); }
.btn--fantasma { background: transparent; color: var(--verde-cta); border-color: var(--verde); }
.btn--fantasma:hover { background: var(--sage); }
.btn--mel { background: var(--mel); color: var(--preto); }
.btn--mel:hover { filter: brightness(1.04); }
.btn--largo { width: 100%; }

/* ------------------------------- Marca -------------------------------- */
.marca { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; min-width: 0; }
.marca__logo { height: 48px; width: auto; border-radius: 50%; }

/* ------------------------------ Cabeçalho ----------------------------- */
.cabecalho {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(247, 239, 232, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linha);
}
.menu { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.6rem); }
.menu a { text-decoration: none; font-weight: 600; color: var(--preto); font-size: .98rem; }
.menu a:not(.menu__wpp):hover { color: var(--verde-cta); }
.menu__wpp { background: var(--verde-cta); color: #fff !important; padding: .55rem 1rem; border-radius: var(--r-full); }
.menu__wpp:hover { background: var(--verde-cta-h); }
.menu a:not(.menu__wpp) { display: none; }
.menu__wpp { white-space: nowrap; }
@media (min-width: 720px) { .menu a:not(.menu__wpp) { display: inline; } .marca__logo { height: 52px; } }
@media (max-width: 380px) {
  .cabecalho { gap: .5rem; padding: .6rem .9rem; }
  .marca__logo { height: 38px; }
  .menu__wpp { font-size: .85rem; padding: .5rem .8rem; }
}

/* -------------------------- Fotos / placeholders ---------------------- */
.foto {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--sage), var(--sage-2));
  border-radius: var(--r-lg);
}
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.foto::after {
  content: attr(data-label); position: absolute; inset: 0; z-index: 0;
  display: grid; place-content: center; gap: .3rem; padding: 1rem; text-align: center;
  font-family: var(--f-display); font-style: italic; color: #7c8c5f; font-size: 1rem;
}
.foto::before {
  content: ""; position: absolute; z-index: 0; top: 18%; left: 12%; right: 12%; height: 40px;
  background-image: radial-gradient(circle, #9fae82 2px, transparent 2.5px);
  background-size: 16px 16px; background-repeat: repeat-x; opacity: .5;
}

/* --------------------------------- Hero ------------------------------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center;
  max-width: var(--largura); margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 2.5rem) 5rem;
}
.hero__texto, .hero__imagem { min-width: 0; }
.hero__selo {
  display: inline-block; margin: 0 0 1rem; padding: .4rem 1rem;
  background: var(--mel-suave); color: #8a4636; border-radius: var(--r-full);
  font-weight: 700; font-size: .82rem; letter-spacing: .01em;
}
.hero__titulo { font-size: clamp(2.1rem, 7vw, 3.5rem); font-weight: 700; }
.hero__sub { color: var(--cinza); font-size: 1.08rem; max-width: 44ch; margin: 1.1rem 0 1.8rem; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: .8rem; }
.rastro { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60px; }

/* Imagem promocional do topo (flyer da promoção da vez) */
.hero__promo { display: block; text-align: center; line-height: 0; }
.hero__promo img {
  display: block; width: 100%; max-width: 340px; height: auto; margin: 0 auto;
  border-radius: var(--r-lg); box-shadow: var(--sombra-f);
}
@media (min-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; }
  .hero__promo img { width: auto; max-width: 100%; max-height: 640px; }
}


/* ----------------------------- Como funciona -------------------------- */
.como { background: var(--sage); padding: var(--pad-secao) clamp(1rem, 4vw, 2.5rem); }
.secao__titulo { font-size: clamp(1.6rem, 4.5vw, 2.4rem); text-align: center; }
.passos {
  list-style: none; margin: 2.5rem auto 0; padding: 0; max-width: var(--largura);
  display: grid; gap: 2rem;
}
.passo { position: relative; text-align: center; padding: 0 1rem; }
.passo__num {
  display: grid; place-content: center; width: 56px; height: 56px; margin: 0 auto 1rem;
  background: var(--branco); color: var(--verde-cta); border: 2px solid var(--verde);
  border-radius: var(--r-full); font-family: var(--f-display); font-weight: 700; font-size: 1.5rem;
}
.passo h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.passo p { color: var(--cinza); margin: 0; }
@media (min-width: 760px) {
  .passos { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  /* rastro pontilhado ligando os passos */
  .passo:not(:last-child)::after {
    content: ""; position: absolute; top: 28px; left: calc(50% + 40px); right: calc(-50% + 40px); height: 3px;
    background-image: radial-gradient(circle, var(--verde) 2px, transparent 2.5px);
    background-size: 14px 3px; background-repeat: repeat-x;
  }
}

/* ------------------------------ Como pedir ---------------------------- */
.infos { max-width: var(--largura); margin: 0 auto; padding: var(--pad-secao) clamp(1rem, 4vw, 2.5rem); }
.grade-infos { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 2.5rem; }
@media (min-width: 640px) { .grade-infos { grid-template-columns: repeat(2, 1fr); } }
.balao {
  background: var(--sage); border-radius: 26px; padding: 1.6rem 1.7rem;
  border: 1px solid var(--sage-2);
}
.balao__titulo { font-size: 1.5rem; margin-bottom: .7rem; }
.balao p { margin: 0 0 .5rem; color: #454a3a; }
.balao p:last-child { margin-bottom: 0; }
.balao strong { color: var(--preto); }

/* --------------------------------- Kits ------------------------------- */
.cardapio { max-width: var(--largura); margin: 0 auto; padding: var(--pad-secao) clamp(1rem, 4vw, 2.5rem); }
.secao__cabecalho { text-align: center; margin-bottom: 2.5rem; }
.secao__intro { color: var(--cinza); max-width: 52ch; margin: .8rem auto 0; }

/* Cardápio: um só bloco, com kits / montagem / lanches em sequência */
.cardapio__bloco + .cardapio__bloco {
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
  padding-top: clamp(2.2rem, 5vw, 3.4rem);
  border-top: 1px solid var(--linha);
}
.cardapio__sub {
  text-align: center; color: var(--dourado); font-style: italic;
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
}
.cardapio__nota { color: var(--cinza); max-width: 52ch; margin: .5rem auto 1.8rem; text-align: center; }
.grade-kits { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grade-kits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grade-kits { grid-template-columns: repeat(2, 1fr); } }

.kit {
  display: flex; flex-direction: column; background: var(--branco);
  border: 1px solid var(--linha); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sombra); transition: transform .2s ease, box-shadow .2s ease;
}
.kit:hover { transform: translateY(-4px); box-shadow: var(--sombra-f); }
.kit__foto { aspect-ratio: 16 / 10; }
.kit__corpo { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.kit__topo { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.kit__nome { font-size: 1.4rem; }
.kit__resumo { color: var(--cinza); font-size: .95rem; margin: .2rem 0 0; }
.kit__preco {
  flex: none; background: var(--mel); color: var(--preto); font-weight: 800;
  padding: .35rem .7rem; border-radius: var(--r-sm); font-size: 1rem; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.kit__marmitas { font-size: .8rem; font-weight: 700; color: var(--verde-cta); text-transform: uppercase; letter-spacing: .04em; margin: 1rem 0 .6rem; }
.kit__itens { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.kit__item { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: .93rem; }
.kit__qtd {
  flex: none; display: grid; place-content: center; min-width: 26px; height: 22px;
  background: var(--sage); color: var(--verde-cta); border-radius: var(--r-sm);
  font-weight: 800; font-size: .78rem;
}
.kit__item b { font-weight: 700; }
.kit__item span { color: var(--cinza); }
.kit__nota { font-size: .84rem; color: var(--cinza); font-style: italic; margin: .9rem 0 0; }
.kit__acao { margin-top: 1.3rem; }

/* -------------------------------- Lanches ----------------------------- */
.grade-lanches { display: grid; gap: 1.5rem; grid-template-columns: 1fr; max-width: 780px; margin: 0 auto; }
@media (min-width: 620px) { .grade-lanches { grid-template-columns: repeat(2, 1fr); } }
.lanche {
  display: flex; flex-direction: column; background: var(--branco);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sombra); border: 1px solid var(--linha);
}
.lanche__foto { aspect-ratio: 16 / 11; }
.lanche__corpo { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.lanche__nome { font-size: 1.3rem; }
.lanche__unidade { font-size: .85rem; color: var(--cinza); margin: .1rem 0 0; }
.lanche__resumo { color: var(--cinza); font-size: .92rem; margin: .6rem 0 0; }
.lanche__rodape { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; }
.lanche__preco { font-weight: 800; font-size: 1.25rem; color: var(--verde-cta); font-variant-numeric: tabular-nums; }

/* Seletor de quantidade */
.qtd-ctrl { display: inline-flex; align-items: center; border: 2px solid var(--verde); border-radius: var(--r-full); overflow: hidden; }
.qtd-ctrl button {
  width: 44px; height: 44px; border: 0; background: var(--branco); color: var(--verde-cta);
  font-size: 1.3rem; font-weight: 800; cursor: pointer; line-height: 1;
}
.qtd-ctrl button:hover { background: var(--sage); }
.qtd-ctrl span { min-width: 34px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------------------------- Personalizado --------------------------- */
.personalizado { padding: var(--pad-secao) clamp(1rem, 4vw, 2.5rem); }
.personalizado__cartao {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, var(--mel-suave), #fff);
  border: 2px dashed var(--mel); border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3rem);
}
.personalizado__cartao h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
.personalizado__cartao p { color: var(--cinza); max-width: 48ch; margin: .8rem auto 1.6rem; }

/* --------------------------------- Sobre ------------------------------ */
.sobre {
  max-width: var(--largura); margin: 0 auto; padding: var(--pad-secao) clamp(1rem, 4vw, 2.5rem);
  display: grid; gap: 2rem; align-items: center;
}
/* Base (mobile): cada card tem altura PRÓPRIA (aspect-ratio), sem depender de
   spanning + height:100% — isso é o que quebrava no Safari do iOS.
   Foto principal em cima (larga), as outras duas lado a lado embaixo. */
.sobre__montagem {
  display: grid; grid-template-columns: 1fr 1fr; gap: .8rem;
}
/* Grid item = camada de parallax (translateY via JS, sem transição) */
.sobre__foto { position: relative; transform: translateY(var(--py, 0)); }
.sobre__foto--a { grid-column: 1 / -1; z-index: 1; }
.sobre__foto--b { z-index: 3; }
.sobre__foto--c { z-index: 2; }
.sobre__foto:hover { z-index: 6; }

/* Todas em retrato pra não cortar as fotos (que são verticais).
   A da cozinha vem grande em cima; as outras duas menores, lado a lado. */
.sobre__foto--a .sobre__card { aspect-ratio: 3 / 4; }
.sobre__foto--b .sobre__card,
.sobre__foto--c .sobre__card { aspect-ratio: 3 / 4; }
/* Leve inclinação (scrapbook) só nas duas de baixo — não estoura a largura */
.sobre__foto--b .sobre__card { transform: rotate(1.4deg); }
.sobre__foto--c .sobre__card { transform: rotate(-1.4deg); }

/* Cartão = borda, sombra e zoom no hover */
.sobre__card {
  border: 5px solid var(--branco); border-radius: var(--r-md);
  box-shadow: 0 12px 30px rgba(90, 60, 45, .18);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease;
}
.sobre__card img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.sobre__card:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 20px 46px rgba(90, 60, 45, .26);
}
.sobre__card:hover img { transform: scale(1.08); }

/* Desktop: colagem sobreposta com leve rotação (efeito scrapbook premium).
   A foto "a" volta a preencher as duas linhas; as âncoras usam grid-areas. */
@media (min-width: 820px) {
  .sobre__montagem {
    grid-template-columns: 1.35fr .65fr; gap: 0; padding: 1rem 1.2rem;
    grid-template-areas: "a b" "a c"; align-items: stretch;
  }
  .sobre__foto--a { grid-area: a; grid-column: auto; }
  .sobre__foto--b { grid-area: b; margin: 1.2rem -1.4rem 6% -34%; }
  .sobre__foto--c { grid-area: c; margin: -16% -.6rem 0 -20%; }
  .sobre__foto--a .sobre__card { aspect-ratio: auto; height: 100%; transform: rotate(-1.4deg); }
  .sobre__foto--b .sobre__card { transform: rotate(2.4deg); }
  .sobre__foto--c .sobre__card { transform: rotate(-2deg); }
}
.sobre__texto p { color: var(--cinza); }
.sobre__texto .secao__titulo { text-align: left; }
.selos { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.4rem 0 0; }
.selos li { background: var(--sage); color: var(--verde-cta); font-weight: 700; padding: .4rem .9rem; border-radius: var(--r-full); font-size: .9rem; }
@media (min-width: 820px) { .sobre { grid-template-columns: 1fr 1.1fr; gap: 3rem; } }

/* ---------------------------------- FAQ ------------------------------- */
.faq { max-width: 820px; margin: 0 auto; padding: var(--pad-secao) clamp(1rem, 4vw, 2.5rem); }
.faq__lista { display: grid; gap: .8rem; margin-top: 2.5rem; }
.faq__item {
  background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-md);
  box-shadow: var(--sombra); overflow: hidden;
}
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700;
  font-size: 1.04rem; color: var(--preto);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; color: var(--verde-cta); font-size: 1.6rem; line-height: 1; flex: none;
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--cinza); }

/* ------------------------------ Depoimentos --------------------------- */
.depoimentos { background: var(--sage); padding: var(--pad-secao) clamp(1rem, 4vw, 2.5rem); }
.grade-depoimentos { display: grid; gap: 1.4rem; grid-template-columns: 1fr; max-width: var(--largura); margin: 2.5rem auto 0; }
@media (min-width: 760px) { .grade-depoimentos { grid-template-columns: repeat(3, 1fr); } }
.depo { background: var(--branco); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--sombra); }
.depo__texto { font-family: var(--f-display); font-style: italic; font-size: 1.08rem; margin: 0 0 1rem; }
.depo__texto::before { content: "\201C"; color: var(--mel); font-size: 2.4rem; line-height: 0; vertical-align: -.4em; margin-right: .1em; }
.depo__nome { font-weight: 700; font-size: .92rem; color: var(--verde-cta); }

/* -------------------------------- Galeria ----------------------------- */
.galeria { max-width: var(--largura); margin: 0 auto; padding: var(--pad-secao) clamp(1rem, 4vw, 2.5rem); }
.grade-galeria { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); margin-top: 2.5rem; }
@media (min-width: 700px) { .grade-galeria { grid-template-columns: repeat(3, 1fr); } }
.grade-galeria .foto { aspect-ratio: 1; }

/* --------------------------------- Rodapé ----------------------------- */
.rodape {
  background: var(--preto); color: #f2f2ee; text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2.5rem);
  display: grid; gap: 1.2rem; justify-items: center;
}
.rodape__logo { height: 96px; width: auto; border-radius: 50%; box-shadow: var(--sombra); }
.rodape__contatos { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; }
.rodape__contatos a { color: var(--mel); text-decoration: none; font-weight: 700; }
.rodape__contatos a:hover { text-decoration: underline; }
.rodape__cidade { color: #b9c0ad; }
.rodape__nota { color: #b9c0ad; font-size: .88rem; margin: 0; }

/* --------------------------- Carrinho flutuante ----------------------- */
.carrinho-flutuante {
  position: fixed; right: clamp(1rem, 4vw, 2rem); bottom: clamp(1rem, 4vw, 2rem); z-index: 120;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--verde-cta); color: #fff; border: 0; cursor: pointer;
  padding: .9rem 1.3rem; border-radius: var(--r-full); font-family: var(--f-corpo);
  font-weight: 700; font-size: 1rem; box-shadow: var(--sombra-f);
  transition: transform .18s ease, background .18s ease;
}
.carrinho-flutuante:hover { background: var(--verde-cta-h); transform: translateY(-2px); }
.carrinho-flutuante__contador {
  display: grid; place-content: center; min-width: 24px; height: 24px; padding: 0 .3rem;
  background: var(--mel); color: var(--preto); border-radius: var(--r-full);
  font-size: .82rem; font-weight: 800;
}

/* ----------------------------- Gaveta pedido -------------------------- */
.gaveta { position: fixed; inset: 0; z-index: 200; }
.gaveta__fundo { position: absolute; inset: 0; background: rgba(26, 26, 26, .5); }
.gaveta__painel {
  position: absolute; top: 0; right: 0; height: 100%; max-height: 100dvh; width: min(440px, 100%);
  background: var(--branco); box-shadow: var(--sombra-f);
  display: flex; flex-direction: column; overflow-y: auto; animation: entra .25s ease;
  overscroll-behavior: contain;
}
@keyframes entra { from { transform: translateX(100%); } to { transform: translateX(0); } }
.gaveta__topo { position: sticky; top: 0; z-index: 2; background: var(--branco); display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--linha); }
.gaveta__topo h2 { font-size: 1.4rem; }
.gaveta__fechar { border: 0; background: var(--sage); width: 44px; height: 44px; border-radius: var(--r-full); font-size: 1.5rem; cursor: pointer; color: var(--preto); line-height: 1; }
.gaveta__itens { padding: 1rem 1.4rem 0; }
.gaveta__vazio { padding: 2rem 1.4rem; text-align: center; color: var(--cinza); }
.gaveta__continuar { padding: 1rem 1.4rem 0; }
.gaveta__continuar .btn { font-weight: 700; }

.item-carrinho { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding: .9rem 0; border-bottom: 1px solid var(--linha); }
.item-carrinho__nome { font-weight: 700; }
.item-carrinho__preco { font-weight: 800; color: var(--verde-cta); font-variant-numeric: tabular-nums; }
.item-carrinho__ctrl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: .3rem; }
.item-carrinho__remover { border: 0; background: none; color: var(--cinza); text-decoration: underline; cursor: pointer; font-size: .85rem; }

.gaveta__total { display: flex; flex-direction: column; gap: .7rem; padding: 1rem 1.4rem; font-size: 1.1rem; border-top: 1px solid var(--linha); }
.gaveta__linha { display: flex; align-items: center; justify-content: space-between; }
.gaveta__linha strong { font-size: 1.35rem; color: var(--verde-cta); font-variant-numeric: tabular-nums; }
.gaveta__linha--desconto { color: var(--verde-cta); font-weight: 700; }
.gaveta__linha--desconto strong { font-size: 1.1rem; }
.gaveta__linha--final { border-top: 1px dashed var(--linha); padding-top: .7rem; }

/* Cupom de desconto */
.cupom { display: grid; gap: .5rem; background: var(--sage); padding: .8rem .9rem; border-radius: var(--r-sm); }
.cupom__titulo { font-weight: 700; font-size: .9rem; }
.cupom__linha { display: flex; gap: .5rem; }
.cupom__linha input {
  flex: 1; min-width: 0; font-family: var(--f-corpo); font-size: 1rem;
  padding: .6rem .7rem; border: 2px solid var(--branco); border-radius: var(--r-sm);
  min-height: 44px; text-transform: uppercase; background: var(--branco);
}
.cupom__linha input:focus { border-color: var(--verde); outline: none; }
.cupom__btn { padding: .6rem 1.1rem; min-height: 44px; white-space: nowrap; }
.cupom__msg { margin: 0; font-size: .85rem; font-weight: 700; }
.cupom__msg--ok { color: var(--verde-cta); }
.cupom__msg--erro { color: #c0392b; }

/* ------------------------------ Formulário ---------------------------- */
.formulario { padding: 0 1.4rem 1.6rem; display: grid; gap: 1rem; }
.campo { display: grid; gap: .35rem; border: 0; padding: 0; margin: 0; }
.grupo-endereco { display: grid; gap: .8rem; }
.campo > span, .campo legend { font-weight: 700; font-size: .92rem; }
.campo b { color: #c0392b; }
.campo input[type="text"], .campo textarea {
  font-family: var(--f-corpo); font-size: 1rem; padding: .7rem .8rem;
  border: 2px solid var(--linha); border-radius: var(--r-sm); width: 100%; min-height: 46px;
}
.campo textarea { resize: vertical; }
.campo input:focus, .campo textarea:focus { border-color: var(--verde); outline: none; }
.campo small { color: var(--cinza); font-size: .82rem; }
.opcoes { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.opcoes--coluna { flex-direction: column; gap: .6rem; }
.opcoes label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; cursor: pointer; min-height: 40px; }
.opcoes label small { color: var(--cinza); font-weight: 500; }
.opcoes input { width: 20px; height: 20px; accent-color: var(--verde-cta); }
.opcoes--coluna .opcao-pag { display: flex; flex-direction: column; gap: .1rem; }
.opcao-taxa { margin-left: 30px; color: var(--cinza); font-size: .8rem; }

/* Cápsula de escolha entrega x retirada (destaque forte) */
.opcoes--capsula { display: flex; gap: .4rem; background: var(--creme-2); border: 1px solid var(--sage-2); border-radius: var(--r-full); padding: .35rem; }
.opcoes--capsula .capsula__opcao { flex: 1; position: relative; margin: 0; min-height: 0; cursor: pointer; }
.opcoes--capsula .capsula__opcao input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opcoes--capsula .capsula__opcao span {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 50px; padding: .6rem 1rem; border-radius: var(--r-full);
  font-weight: 800; font-size: 1.02rem; color: var(--preto); text-align: center;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.opcoes--capsula .capsula__opcao:hover span { background: var(--sage); }
.opcoes--capsula .capsula__opcao input:checked + span { background: var(--verde-cta); color: #fff; box-shadow: var(--sombra); }
.opcoes--capsula .capsula__opcao input:focus-visible + span { outline: 3px solid var(--dourado-claro); outline-offset: 2px; }
.formulario__aviso { font-size: .84rem; color: var(--cinza); background: var(--mel-suave); padding: .7rem .9rem; border-radius: var(--r-sm); margin: 0; }
.formulario__erro { font-size: .88rem; font-weight: 700; color: #c0392b; background: #fbeaea; padding: .7rem .9rem; border-radius: var(--r-sm); margin: 0; }

/* -------------------------- Monte do seu jeito ------------------------ */
#montar .montar__lista, #montar .montar__barra { max-width: 780px; margin-left: auto; margin-right: auto; }
.montar__lista { display: grid; gap: .7rem; margin-top: 0; grid-template-columns: 1fr; }
@media (min-width: 620px) { .montar__lista { grid-template-columns: repeat(2, 1fr); } }
.montar__item {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-md);
  padding: .8rem 1rem; box-shadow: var(--sombra);
}
.montar__info { display: flex; flex-direction: column; }
.montar__nome { font-weight: 700; }
.montar__acomp { font-size: .82rem; color: var(--cinza); }
.montar__barra {
  position: sticky; bottom: 12px; margin-top: 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem;
  background: var(--sage); border: 1px solid var(--sage-2); border-radius: var(--r-lg);
  padding: 1rem 1.3rem; box-shadow: var(--sombra);
}
.montar__resumo { display: flex; align-items: baseline; gap: .6rem; margin-right: auto; }
.montar__resumo strong { font-size: 1.15rem; }
.montar__resumo span { color: var(--verde-cta); font-weight: 800; font-variant-numeric: tabular-nums; }
.montar__aviso { flex: 1 1 100%; order: 3; margin: 0; font-size: .88rem; font-weight: 700; color: var(--verde-cta); }
.montar__aviso--alerta { color: #c0392b; }

/* ------------------------------ Utilitários --------------------------- */
[hidden] { display: none !important; }
