/* ============ Tapiocas de Minas — tokens ============ */
:root {
  --ouro: #F4B41A;
  --ouro-claro: #FFD35C;
  --ouro-escuro: #D38E06;
  --vinho: #5A1C24;
  --vinho-escuro: #3B1016;
  --taupe: #8A716A;
  --massa: #FFFDF7;
  --tinta: #2B1714;
  --laranja: #F28C28;
  --verde-zap: #0F7A40; /* contraste AA com texto branco */

  --f-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-mao: 'Caveat Brush', cursive;

  --t-xs: .8125rem; --t-s: .9375rem; --t-m: 1.0625rem; --t-l: 1.375rem;
  --t-xl: clamp(1.75rem, 3vw, 2.5rem);
  --t-xxl: clamp(2.5rem, 6vw, 4.75rem);
  --t-hero: clamp(2.9rem, 7.6vw, 7.4rem);

  --r-s: 10px; --r-m: 18px; --pill: 999px;
  --sombra: 0 18px 40px -18px rgba(59, 16, 22, .45);
  --wrap: min(1180px, 100% - 2.5rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-display); font-size: var(--t-m); line-height: 1.55;
  color: var(--tinta); background: var(--massa); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--vinho); outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============ Botões ============ */
.btn {
  --bg: var(--vinho); --fg: var(--massa);
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  padding: .9rem 1.5rem; border-radius: var(--pill); border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: var(--t-m);
  text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px var(--bg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--linha { background: transparent; color: var(--bg); }
.btn--linha:hover { background: var(--bg); color: var(--fg); }
.btn--ouro { --bg: var(--ouro); --fg: var(--vinho-escuro); }
.btn--zap { --bg: var(--verde-zap); --fg: #fff; }
.btn--claro { --bg: var(--massa); --fg: var(--vinho); }
.btn--s { padding: .55rem 1rem; font-size: var(--t-s); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ============ Cabeçalho ============ */
.topo {
  position: sticky; top: 0; z-index: 50; background: var(--ouro);
  transition: box-shadow .3s, background .3s;
}
.topo.is-scrolled { box-shadow: 0 8px 24px -16px rgba(59, 16, 22, .6); }
.topo__in { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.marca { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--vinho); line-height: 1; }
.marca img { width: 46px; height: auto; }
.marca b { font-size: 1.05rem; font-weight: 800; letter-spacing: .02em; display: block; }
.marca small { font-size: .74rem; font-weight: 600; color: var(--vinho); }
.menu { display: flex; gap: 1.6rem; margin-left: auto; }
.menu a { white-space: nowrap; text-decoration: none; font-weight: 600; color: var(--vinho); position: relative; padding: .3rem 0; }
.menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--vinho); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.acoes { display: flex; gap: .6rem; align-items: center; }
.sacola-btn { position: relative; }
.sacola-btn .badge {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: var(--pill); background: var(--laranja); color: var(--tinta); font-size: .75rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--ouro);
}
.sacola-btn .badge:empty { display: none; }
.sacola-btn.pulse { animation: pulse .5s var(--ease); }
@keyframes pulse { 40% { transform: scale(1.15) rotate(-6deg); } }
.burger { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--vinho); }
.burger svg { width: 30px; height: 30px; }

@media (max-width: 1080px) {
  .menu {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; background: var(--ouro);
    padding: .5rem 1.25rem 1.5rem; transform: translateY(-120%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.4); z-index: -1;
  }
  .menu.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
  .acoes { margin-left: auto; }
  .menu a { padding: .9rem 0; font-size: 1.25rem; border-bottom: 1px solid rgba(90,28,36,.15); }
  .burger { display: block; }
  .acoes .entrar-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ============ Hero ============ */
.hero { background: var(--ouro); color: var(--vinho); overflow: hidden; position: relative; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2rem; padding: 2.5rem 0 4.5rem; }
.hero__script { font-family: var(--f-mao); font-size: clamp(2.2rem, 5vw, 4rem); color: var(--vinho); line-height: .8; display: block; transform: rotate(-4deg); margin-left: .2em; }
.hero h1 { font-size: var(--t-hero); font-weight: 800; line-height: .86; letter-spacing: -.035em; margin: 0 0 1.4rem; color: var(--tinta); }
.hero h1 .linha { display: block; overflow: hidden; }
.hero h1 .linha > span { display: inline-block; animation: sobe .9s var(--ease) both; }
.hero h1 .linha:nth-child(2) > span { animation-delay: .1s; }
.hero h1 .linha:nth-child(3) > span { animation-delay: .2s; }
@keyframes sobe { from { transform: translateY(105%); } }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 30ch; margin: 0 0 2rem; font-weight: 500; animation: fade 1s .5s both; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; animation: fade 1s .65s both; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }

/* A meia-lua: o recorte da tapioca é o elemento-assinatura do site */
.lua { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 520px; justify-self: end; }
.lua__foto {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  clip-path: inset(0 0 0 0 round 50%);
  animation: dourar 2.4s .3s var(--ease) both;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.25);
}
.lua__foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; transform: scale(1.08); animation: zoom 14s ease-in-out infinite alternate; }
@keyframes dourar {
  0% { clip-path: inset(0 0 100% 0 round 50%); filter: saturate(0) brightness(1.6); }
  45% { clip-path: inset(0 0 50% 0 round 50%); filter: saturate(.2) brightness(1.4); }
  100% { clip-path: inset(0 0 50% 0 round 50%); filter: none; }
}
@keyframes zoom { to { transform: scale(1.2) translateY(4%); } }
.lua__metade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 50%;
  border-radius: 0 0 999px 999px; background: var(--vinho);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 12%;
  animation: fade 1s 1.4s both;
}
.lua__metade p { margin: 0; color: var(--ouro); text-align: center; font-weight: 700; font-size: clamp(1rem, 1.8vw, 1.3rem); line-height: 1.25; max-width: 18ch; }
.selo {
  position: absolute; top: 4%; right: -2%; width: clamp(110px, 13vw, 150px); aspect-ratio: 1;
  border-radius: 50%; background: #A8231F; color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--f-mao); line-height: .95; box-shadow: var(--sombra);
  animation: carimbo .7s 1.8s cubic-bezier(.3,1.6,.5,1) both; z-index: 2;
}
.selo small { font-size: 1.1rem; display: block; }
.selo strong { font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 400; display: block; }
.selo em { font-family: var(--f-display); font-style: normal; font-size: .72rem; font-weight: 700; display: block; margin-top: .3rem; }
@keyframes carimbo { from { transform: scale(2.4) rotate(-30deg); opacity: 0; } to { transform: rotate(-10deg); } }

.faixa { background: var(--vinho); color: var(--ouro); overflow: hidden; padding: 1rem 0; transform: rotate(-1.2deg); margin: -1.2rem -1rem 0; position: relative; z-index: 3; }
.faixa__trilho { display: flex; gap: 2.5rem; width: max-content; animation: corre 32s linear infinite; font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; }
.faixa__trilho span { display: inline-flex; align-items: center; gap: 2.5rem; }
.faixa__trilho span::after { content: ''; width: 34px; height: 17px; border-radius: 0 0 34px 34px; background: var(--ouro); }
@keyframes corre { to { transform: translateX(-50%); } }

@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 1.5rem; }
  .lua { justify-self: center; max-width: 380px; order: -1; }
}

/* ============ Seções ============ */
.secao { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.secao h2 { font-size: var(--t-xxl); line-height: .95; letter-spacing: -.03em; margin: 0 0 1rem; font-weight: 800; }
.secao .intro { font-size: var(--t-l); max-width: 44ch; margin: 0 0 3rem; color: #5b4540; }
.mao { font-family: var(--f-mao); font-weight: 400; color: var(--vinho); font-size: 1.4em; }

/* ============ Cardápio ============ */
.cardapio__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 32vw, 420px); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.sabores { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--tinta); }
.sabor {
  display: grid; grid-template-columns: 1fr auto; gap: .4rem 1.5rem; align-items: center;
  padding: 1.4rem .25rem; border-bottom: 2px solid var(--tinta); cursor: default; position: relative; isolation: isolate;
}
.sabor::before {
  content: ''; position: absolute; inset: 0; background: var(--cor, var(--ouro)); opacity: 0;
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease), opacity .45s; z-index: -1;
}
.sabor.is-ativo::before { opacity: .14; transform: none; }
.sabor h3 { margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; display: flex; align-items: center; gap: .8rem; }
.sabor h3::before { content: ''; flex: none; width: .9em; height: .45em; border-radius: 0 0 1em 1em; background: var(--cor); transition: transform .4s var(--ease); }
.sabor.is-ativo h3::before { transform: rotate(-20deg) scale(1.15); }
.sabor p { margin: 0; color: #5b4540; grid-column: 1; max-width: 52ch; font-size: var(--t-s); }
.sabor__compra { grid-row: 1 / span 2; grid-column: 2; display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 1180px) and (min-width: 921px) { .sabor { grid-template-columns: 1fr; } .sabor__compra { grid-row: auto; grid-column: 1; justify-content: flex-start; margin-top: .6rem; } .sabor__preco { text-align: left; margin-right: auto; } }
.sabor__preco { text-align: right; line-height: 1.1; }
.sabor__preco b { font-size: 1.35rem; display: block; }
.sabor__preco small { font-size: var(--t-xs); color: #6d5853; }
.sabor--off { opacity: .45; }
.qtd { display: inline-flex; align-items: center; border: 2px solid var(--tinta); border-radius: var(--pill); overflow: hidden; }
.qtd button { width: 34px; height: 36px; border: 0; background: transparent; cursor: pointer; font-weight: 800; font-size: 1.1rem; }
.qtd button:hover { background: var(--ouro); }
.qtd output { min-width: 26px; text-align: center; font-weight: 700; }

.vitrine { position: sticky; top: 100px; }
.vitrine__foto { aspect-ratio: 4 / 5; border-radius: 210px 210px var(--r-m) var(--r-m); overflow: hidden; background: var(--ouro); box-shadow: var(--sombra); position: relative; }
.vitrine__foto img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: opacity .5s, transform .8s var(--ease); }
.vitrine__foto img.sai { opacity: 0; transform: scale(1.06); }
.vitrine__legenda { margin-top: 1rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.vitrine__legenda b { font-size: var(--t-l); }
.vitrine__legenda span { color: #6d5853; font-size: var(--t-s); }
.aviso-preco { margin-top: 1.5rem; padding: 1rem 1.2rem; background: #fff; border: 2px dashed var(--taupe); border-radius: var(--r-s); font-size: var(--t-s); }

@media (max-width: 920px) {
  .cardapio__grid { grid-template-columns: 1fr; }
  .vitrine { display: none; }
  .sabor { grid-template-columns: 1fr; }
  .sabor__compra { grid-row: auto; grid-column: 1; justify-content: space-between; margin-top: .6rem; }
  .sabor__preco { text-align: left; }
}

/* ============ Como preparar ============ */
.preparo { background: var(--tinta); color: var(--massa); overflow: hidden; }
.preparo h2 { color: var(--ouro); }
.preparo .intro { color: #d8c8c3; }
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: p; }
.passo { position: relative; padding-top: 1rem; }
.passo__n { font-size: clamp(4.5rem, 9vw, 7.5rem); font-weight: 800; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--ouro); display: block; margin-bottom: 1rem; }
.passo h3 { font-size: var(--t-l); margin: 0 0 .4rem; }
.passo p { margin: 0; color: #d8c8c3; }
.tapioca-anim { margin: 4rem auto 0; width: min(320px, 70%); aspect-ratio: 2 / 1; border-radius: 0 0 999px 999px; background: #f4efe4; position: relative; box-shadow: inset 0 -10px 0 rgba(0,0,0,.06); }
.tapioca-anim.is-in { animation: tostar 3.2s .2s var(--ease) forwards; }
@keyframes tostar { to { background: radial-gradient(ellipse at 50% 30%, #f3cf7e, #d99a3b 55%, #b8731f); box-shadow: inset 0 -10px 0 rgba(0,0,0,.12), 0 0 60px -10px rgba(244,180,26,.6); } }
@media (max-width: 760px) { .passos { grid-template-columns: 1fr; } }

/* ============ História ============ */
.historia__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.historia__fotos { position: relative; aspect-ratio: 4 / 5; }
.historia__fotos img { position: absolute; object-fit: cover; border-radius: var(--r-m); box-shadow: var(--sombra); }
.historia__fotos .f1 { width: 72%; height: 82%; left: 0; top: 0; }
.historia__fotos .f2 { width: 52%; height: 52%; right: 0; bottom: 0; border: 8px solid var(--massa); transform: rotate(4deg); }
.historia blockquote { margin: 2rem 0; padding: 0 0 0 1.4rem; border-left: 6px solid var(--ouro); font-size: var(--t-l); font-weight: 600; line-height: 1.35; }
.historia p { max-width: 58ch; }
.fatos { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2rem; }
.fatos div b { display: block; font-size: 2.4rem; line-height: 1; color: var(--vinho); font-weight: 800; }
.fatos div span { font-size: var(--t-s); color: #6d5853; }
@media (max-width: 860px) { .historia__grid { grid-template-columns: 1fr; } .historia__fotos { max-width: 440px; } }

/* ============ Na mídia ============ */
.midia { background: #fff; }
.midia__lista { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.recorte { text-decoration: none; display: block; position: relative; }
.recorte figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-s); background: var(--tinta); }
.recorte img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.recorte:hover img { transform: scale(1.06); }
.recorte b { display: block; margin-top: .8rem; font-size: var(--t-m); }
.recorte span { font-size: var(--t-s); color: #6d5853; }
@media (max-width: 860px) { .midia__lista { grid-template-columns: repeat(2, 1fr); } }

/* ============ Podcast ============ */
.podcast { background: var(--vinho); color: var(--massa); overflow: hidden; }
.podcast h2 { color: var(--ouro); }
.podcast .intro { color: #ecd8d4; }
.podcast__grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.player { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); background: #000; }
.player img { width: 100%; height: 100%; object-fit: cover; }
.player__play {
  position: absolute; inset: 0; margin: auto; width: 86px; height: 86px; border-radius: 50%; border: 0;
  background: var(--ouro); color: var(--vinho); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(244,180,26,.6); animation: onda 2.2s infinite; text-decoration: none;
}
.player__play svg { width: 34px; height: 34px; margin-left: 5px; }
@keyframes onda { 70% { box-shadow: 0 0 0 26px rgba(244,180,26,0); } 100% { box-shadow: 0 0 0 0 rgba(244,180,26,0); } }
.eps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.ep a { display: grid; grid-template-columns: 74px 1fr auto; gap: 1rem; align-items: center; padding: .7rem; border-radius: var(--r-m); text-decoration: none; background: rgba(255,255,255,.06); transition: background .3s; }
.ep a:hover { background: rgba(255,255,255,.14); }
.ep img { width: 74px; height: 74px; object-fit: cover; border-radius: 12px; }
.ep b { display: block; }
.ep span { font-size: var(--t-s); color: #e0c6c1; }
.ep svg { width: 24px; height: 24px; color: var(--ouro); }
.ondas { display: flex; gap: 4px; align-items: center; height: 40px; margin-top: 2rem; }
.ondas i { width: 5px; border-radius: 3px; background: var(--ouro); animation: eq 1.1s ease-in-out infinite; }
@keyframes eq { 50% { transform: scaleY(.25); } }
@media (max-width: 860px) { .podcast__grid { grid-template-columns: 1fr; } .player { max-width: 320px; } }

/* ============ Depoimentos ============ */
.provou { background: var(--ouro); color: var(--vinho); overflow: hidden; }
.provou h2 { color: var(--tinta); }
.provou .intro { color: var(--vinho); }
.mural { columns: 3 300px; column-gap: 1.25rem; }
.dep {
  break-inside: avoid; margin: 0 0 1.25rem; background: var(--massa); color: var(--tinta);
  padding: 1.6rem; border-radius: var(--r-m) var(--r-m) var(--r-m) 4px; position: relative;
  box-shadow: 0 14px 30px -22px rgba(59,16,22,.9);
}
.dep:nth-child(3n+2) { background: var(--vinho); color: var(--massa); }
.dep:nth-child(3n+2) .dep__autor span { color: #e5cbc6; }
.dep__estrelas { color: var(--laranja); letter-spacing: .15em; font-size: 1.05rem; }
.dep blockquote { margin: .6rem 0 1.1rem; font-size: 1.12rem; line-height: 1.45; font-weight: 500; }
.dep__autor { display: flex; align-items: center; gap: .75rem; }
.dep__autor i { width: 42px; height: 42px; border-radius: 50%; background: var(--ouro); color: var(--vinho); display: grid; place-items: center; font-style: normal; font-weight: 800; }
.dep__autor b { display: block; line-height: 1.2; }
.dep__autor span { font-size: var(--t-xs); color: #6d5853; }
.dep__tag { position: absolute; top: 1rem; right: 1rem; font-size: .7rem; font-weight: 700; background: var(--laranja); color: var(--tinta); padding: .2rem .55rem; border-radius: var(--pill); }
.dep--video { padding: 0; overflow: hidden; }
.dep--video img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.dep--video .dep__cap { padding: 1.1rem 1.4rem 1.3rem; }
.provou__cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }

/* ============ Encomendas ============ */
.encomendas__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.publicos { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.publicos li { display: flex; gap: 1rem; align-items: flex-start; }
.publicos svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--ouro); color: var(--vinho); }
.publicos b { display: block; }
.publicos span { color: #6d5853; font-size: var(--t-s); }

/* ============ Formulários ============ */
.form { background: #fff; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-m); box-shadow: var(--sombra); border: 1px solid #efe4d6; }
.form h3 { margin: 0 0 1.2rem; font-size: var(--t-l); }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.campo { display: grid; gap: .35rem; }
.campo--full { grid-column: 1 / -1; }
.campo label { font-weight: 600; font-size: var(--t-s); }
.campo input, .campo select, .campo textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--r-s); border: 2px solid #e6d9cc; background: var(--massa);
  transition: border-color .2s, box-shadow .2s;
}
.campo textarea { min-height: 110px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--ouro-escuro); box-shadow: 0 0 0 4px rgba(244,180,26,.25); }
.campo .ajuda { font-size: var(--t-xs); color: #7a6560; }
.campo.erro input { border-color: #b3261e; }
.form .btn { width: 100%; margin-top: 1.4rem; }
.msg-erro { color: #b3261e; font-size: var(--t-s); font-weight: 600; margin: .8rem 0 0; min-height: 1.2em; }
.estrelas-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; }
.estrelas-input input { position: absolute; opacity: 0; }
.estrelas-input label { font-size: 1.8rem; color: #e1d3c2; cursor: pointer; transition: color .15s, transform .15s; }
.estrelas-input label:hover, .estrelas-input label:hover ~ label, .estrelas-input input:checked ~ label { color: var(--laranja); }
.estrelas-input input:focus-visible + label { outline: 3px solid var(--vinho); outline-offset: 2px; border-radius: 6px; }
.estrelas-input label:hover { transform: scale(1.2); }
@media (max-width: 860px) { .encomendas__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .campos { grid-template-columns: 1fr; } }

/* ============ Instagram ============ */
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.insta__grid a { aspect-ratio: 1; overflow: hidden; border-radius: 8px; position: relative; }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.insta__grid a:hover img { transform: scale(1.1); filter: saturate(1.2); }
.insta__topo { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
@media (max-width: 760px) { .insta__grid { grid-template-columns: repeat(3, 1fr); } }

/* ============ Rodapé ============ */
.rodape { background: var(--tinta); color: #d8c8c3; padding: 4rem 0 2rem; }
.rodape__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.rodape h4 { color: var(--ouro); margin: 0 0 .9rem; font-size: var(--t-m); }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--ouro); }
.rodape .marca { color: var(--massa); }
.rodape .marca small { color: #d8c8c3; }
.rodape__base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--t-xs); }
@media (max-width: 760px) { .rodape__grid { grid-template-columns: 1fr 1fr; } }

/* ============ WhatsApp flutuante ============ */
.zap-flutua {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  background: var(--verde-zap); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 28px -10px rgba(0,0,0,.5);
  transition: transform .3s var(--ease);
}
.zap-flutua:hover { transform: scale(1.08) rotate(-8deg); }
.zap-flutua svg { width: 32px; height: 32px; }

/* ============ Sacola (gaveta) ============ */
.veu { position: fixed; inset: 0; background: rgba(43,23,20,.5); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 80; }
.veu.is-open { opacity: 1; pointer-events: auto; }
.gaveta {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--massa); z-index: 90;
  transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column;
}
.gaveta.is-open { transform: none; }
.gaveta__topo { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 2px solid var(--tinta); }
.gaveta__topo h2 { margin: 0; font-size: var(--t-l); }
.fechar { background: none; border: 0; cursor: pointer; padding: .4rem; }
.fechar svg { width: 26px; height: 26px; }
.gaveta__itens { flex: 1; overflow: auto; padding: 1rem 1.5rem; }
.item { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid #eadfd2; animation: fade .4s both; }
.item img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.item b { display: block; }
.item small { color: #6d5853; }
.item__rm { background: none; border: 0; color: #9b4b44; cursor: pointer; font-size: var(--t-xs); text-decoration: underline; padding: .6rem .8rem .6rem 0; min-height: 36px; }
.gaveta__vazia { text-align: center; padding: 3rem 1rem; color: #6d5853; }
.gaveta__vazia .tapioca-mini { width: 90px; height: 45px; margin: 0 auto 1rem; border-radius: 0 0 90px 90px; background: #eadfd2; }
.gaveta__rodape { padding: 1.25rem 1.5rem 1.5rem; border-top: 2px solid var(--tinta); }
.linha-total { display: flex; justify-content: space-between; font-size: var(--t-l); font-weight: 800; margin-bottom: 1rem; }

/* Tapioca voando para a sacola */
.voa { position: fixed; z-index: 100; width: 44px; height: 22px; border-radius: 0 0 44px 44px; background: radial-gradient(ellipse at 50% 30%, #f3cf7e, #d99a3b); pointer-events: none; box-shadow: 0 6px 14px rgba(0,0,0,.25); }

/* ============ Toast ============ */
.toasts { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 120; display: grid; gap: .5rem; }
.toast { background: var(--tinta); color: var(--massa); padding: .85rem 1.3rem; border-radius: var(--pill); font-weight: 600; box-shadow: var(--sombra); animation: toast 3.2s var(--ease) forwards; display: flex; gap: .6rem; align-items: center; }
.toast::before { content: ''; width: 18px; height: 9px; border-radius: 0 0 18px 18px; background: var(--ouro); }
@keyframes toast { 0% { opacity: 0; transform: translateY(20px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(10px); } }

/* ============ Revelar ao rolar (uma única linguagem de movimento) ============ */
.revela { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.revela.is-in { opacity: 1; transform: none; }

/* ============ Páginas internas (auth, conta, checkout) ============ */
.pagina { min-height: calc(100vh - 76px); }
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 76px); }
.auth__arte { background: var(--vinho); color: var(--massa); padding: clamp(2rem, 6vw, 5rem); display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.auth__arte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.auth__arte > div { position: relative; }
.auth__arte h2 { font-size: var(--t-xxl); line-height: .95; margin: 0 0 1rem; color: var(--ouro); letter-spacing: -.03em; }
.auth__form { display: grid; place-items: center; padding: clamp(2rem, 5vw, 4rem) 1.25rem; }
.auth__form .form { width: min(460px, 100%); box-shadow: none; border: 0; background: transparent; padding: 0; }
.auth__form h1 { font-size: var(--t-xl); margin: 0 0 .4rem; letter-spacing: -.02em; }
.auth__form .sub { color: #6d5853; margin: 0 0 2rem; }
.auth__troca { margin-top: 1.5rem; text-align: center; font-size: var(--t-s); }
.auth__troca a, .link { color: var(--vinho); font-weight: 700; }
.linha-opcoes { display: flex; justify-content: space-between; align-items: center; margin-top: .9rem; font-size: var(--t-s); }
.check { display: inline-flex; gap: .5rem; align-items: center; }
.check input { accent-color: var(--vinho); width: 18px; height: 18px; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth__arte { min-height: 220px; } }

.dialogo { border: 0; border-radius: var(--r-m); padding: 0; width: min(440px, calc(100% - 2rem)); box-shadow: var(--sombra); }
.dialogo::backdrop { background: rgba(43,23,20,.55); backdrop-filter: blur(3px); }
.dialogo[open] { animation: fade .35s var(--ease); }
.dialogo .form { box-shadow: none; border: 0; }

.cabeca-pag { background: var(--ouro); color: var(--vinho); padding: 3rem 0 2.5rem; }
.cabeca-pag h1 { font-size: var(--t-xxl); margin: 0; letter-spacing: -.03em; line-height: .95; color: var(--tinta); }
.cabeca-pag p { margin: .6rem 0 0; font-size: var(--t-l); }

.abas { display: flex; gap: .5rem; flex-wrap: wrap; margin: 2rem 0; }
.abas__tabs { display: contents; }
.aba { padding: .6rem 1.1rem; border-radius: var(--pill); border: 2px solid var(--tinta); background: transparent; font-weight: 700; cursor: pointer; }
.aba[aria-selected="true"] { background: var(--tinta); color: var(--massa); }

.pedido-card { background: #fff; border: 1px solid #ecdfd1; border-radius: var(--r-m); padding: 1.4rem; margin-bottom: 1rem; }
.pedido-card header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: .8rem; }
.status { display: inline-block; padding: .25rem .75rem; border-radius: var(--pill); font-size: var(--t-xs); font-weight: 700; background: #eee; }
.status[data-s="novo"], .status[data-s="nova"], .status[data-s="pendente"] { background: #FFF0C2; color: #7a5300; }
.status[data-s="confirmado"], .status[data-s="em orçamento"] { background: #DDEBFF; color: #1b4a8a; }
.status[data-s="em preparo"] { background: #FFE2C7; color: #8a4310; }
.status[data-s="saiu para entrega"] { background: #E7DDFF; color: #4b2a92; }
.status[data-s="entregue"], .status[data-s="fechada"], .status[data-s="aprovado"] { background: #D8F3E2; color: #146c3a; }
.status[data-s="cancelado"], .status[data-s="recusada"], .status[data-s="oculto"] { background: #F7D9D7; color: #8a1f17; }
.trilha { display: flex; gap: 4px; margin: 1rem 0 .4rem; }
.trilha i { flex: 1; height: 6px; border-radius: 3px; background: #eadfd2; }
.trilha i.on { background: var(--ouro-escuro); }
.vazio { text-align: center; padding: 3rem 1rem; color: #6d5853; }

.checkout__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 2.5rem; align-items: start; padding: 3rem 0 5rem; }
.resumo { position: sticky; top: 100px; }
.escolhas { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.escolha { position: relative; }
.escolha input { position: absolute; opacity: 0; }
.escolha label { display: block; padding: 1rem; border: 2px solid #e6d9cc; border-radius: var(--r-s); cursor: pointer; transition: border-color .2s, background .2s; font-weight: 600; }
.escolha label small { display: block; font-weight: 400; color: #6d5853; }
.escolha input:checked + label { border-color: var(--vinho); background: #fff6e0; }
.escolha input:focus-visible + label { outline: 3px solid var(--vinho); outline-offset: 2px; }
.sucesso { text-align: center; padding: 4rem 1rem 6rem; }
.sucesso .tapioca-anim { margin: 0 auto 2rem; }
@media (max-width: 860px) { .checkout__grid { grid-template-columns: 1fr; } .resumo { position: static; } }

/* "Reduzir movimento": mantém efeitos suaves (aparecer, faixa lenta, equalizador) e tira só o movimento grande */
@media (prefers-reduced-motion: reduce) {
  html:not(.forca-movimento) { scroll-behavior: auto; }
  html:not(.forca-movimento) .lua__foto img { animation: none; transform: scale(1.05); }
  html:not(.forca-movimento) .faixa__trilho { animation-duration: 70s; }
  html:not(.forca-movimento) .selo { animation: none; transform: rotate(-10deg); }
  html:not(.forca-movimento) .rolar span, html:not(.forca-movimento) .player__play { animation: none; }
  html:not(.forca-movimento) .revela { transform: none; }
  html:not(.forca-movimento) .btn:hover, html:not(.forca-movimento) .dep:hover { transform: none; }
}

@media (max-width: 480px) {
  .topo__in { gap: .6rem; }
  .marca img { width: 36px; }
  .marca b { font-size: .88rem; }
  .marca small { display: none; }
  .hero__script { margin-bottom: .15em; }
}

/* ============ Aviso de cookies ============ */
.aviso-cookies {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 130; width: min(440px, calc(100% - 2rem));
  background: var(--tinta); color: var(--massa); padding: 1.2rem 1.3rem; border-radius: var(--r-m);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); animation: fade .5s var(--ease) both;
}
.aviso-cookies p { margin: 0 0 1rem; font-size: var(--t-s); line-height: 1.5; }
.aviso-cookies a { color: var(--ouro); font-weight: 700; }
.aviso-cookies div { display: flex; gap: .6rem; justify-content: flex-end; }
.aviso-cookies .btn--linha { --bg: var(--massa); color: var(--massa); }
.aviso-cookies .btn--linha:hover { color: var(--tinta); }
.aviso-cookies .btn:not(.btn--linha) { --bg: var(--ouro); --fg: var(--tinta); }
.aviso-cookies.sai { opacity: 0; transform: translateY(20px); transition: .35s var(--ease); }

/* ============ Rodapé legal ============ */
.rodape__legal { margin-top: 2.5rem; font-size: var(--t-xs); line-height: 1.6; color: #cdbdb8; max-width: 80ch; }
.rodape__legal a { text-decoration: underline; }
.rodape__docs { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.link-btn:hover, .rodape a:hover { color: var(--ouro); }

/* ============ Páginas de documentos ============ */
.doc { width: min(780px, 100% - 2.5rem); margin: 0 auto; padding: 3rem 0 6rem; }
.doc h2 { font-size: var(--t-l); margin: 2.4rem 0 .6rem; letter-spacing: -.01em; scroll-margin-top: 100px; }
.doc p, .doc li { line-height: 1.7; }
.doc table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: var(--t-s); }
.doc th, .doc td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid #eadfd2; vertical-align: top; }
.doc th { background: #fbf4e6; }
.doc .indice { background: #fff; border: 1px solid #ecdfd1; border-radius: var(--r-m); padding: 1.2rem 1.4rem; }
.doc .indice ol { margin: 0; padding-left: 1.2rem; columns: 2 220px; }
.doc .nota { background: #fff6e0; border-left: 5px solid var(--ouro); padding: 1rem 1.2rem; border-radius: 0 var(--r-s) var(--r-s) 0; }

/* ============ Caixa de aceite ============ */
.aceite { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--t-s); line-height: 1.45; margin-top: .9rem; }
.aceite input { accent-color: var(--vinho); width: 20px; height: 20px; flex: none; margin-top: .1rem; }
.aceite a { color: var(--vinho); font-weight: 700; }

/* ============ Chamados ============ */
.chamado { background: #fff; border: 1px solid #ecdfd1; border-radius: var(--r-m); margin-bottom: 1rem; overflow: hidden; }
.chamado > summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; }
.chamado > summary::-webkit-details-marker { display: none; }
.chamado[open] > summary { border-bottom: 1px solid #f1e7da; }
.conversa { padding: 1.1rem 1.3rem; display: grid; gap: .7rem; max-height: 420px; overflow: auto; }
.msg { max-width: 80%; padding: .7rem 1rem; border-radius: 16px 16px 16px 4px; background: #f6efe3; white-space: pre-wrap; }
.msg small { display: block; font-size: .72rem; color: #6d5853; margin-top: .3rem; }
.msg--admin { justify-self: start; }
.msg--cliente { justify-self: end; background: #fff3cf; border-radius: 16px 16px 4px 16px; }
.msg--eu-admin { justify-self: end; background: var(--vinho); color: var(--massa); border-radius: 16px 16px 4px 16px; }
.msg--eu-admin small { color: #e5cbc6; }
.responder { display: flex; gap: .6rem; padding: 0 1.3rem 1.2rem; align-items: flex-end; flex-wrap: wrap; }
.responder textarea { flex: 1; min-width: 200px; min-height: 60px; padding: .7rem .9rem; border-radius: var(--r-s); border: 2px solid #e6d9cc; background: var(--massa); resize: vertical; }
.status[data-s="aberto"] { background: #FFF0C2; color: #7a5300; }
.status[data-s="respondido"] { background: #DDEBFF; color: #1b4a8a; }
.status[data-s="fechado"] { background: #e9e4de; color: #4d413d; }
.zona-perigo { border: 2px solid #f0c9c5; background: #fffafa; }
.zona-perigo .btn { --bg: #9b2c23; }

.campo .rotulo { font-weight: 600; font-size: var(--t-s); }

@media (max-width: 400px) { .marca span { display: none; } .acoes .btn--s { padding: .5rem .8rem; } }
.codigo-rec { font-family: ui-monospace, Consolas, monospace; font-size: clamp(.95rem, 3.6vw, 1.35rem); font-weight: 700; letter-spacing: .06em; white-space: nowrap; overflow-x: auto; text-align: center; background: #fff6e0; border: 2px dashed var(--ouro-escuro); border-radius: 12px; padding: 1rem; margin: 1rem 0; }
.endereco { border: 0; padding: 0; margin: 1rem 0 0; min-width: 0; }
.endereco input[readonly] { background: #f6f0e6; color: #4d413d; }
.calc-entrega { margin: .9rem 0 0; padding: .8rem 1rem; border-radius: var(--r-s); background: #fbf4e6; font-size: var(--t-s); font-weight: 600; }
.calc-entrega[data-s="ok"] { background: #D8F3E2; color: #0f5c30; }
.calc-entrega[data-s="erro"] { background: #F7D9D7; color: #7a1a13; }

/* ============ Mídia dos depoimentos ============ */
[hidden] { display: none !important; }
.dmidias { display: grid; gap: .4rem; margin: .8rem 0 1rem; grid-template-columns: 1fr 1fr; }
.dmidias--1 { grid-template-columns: 1fr; }
.dmidia { border: 0; padding: 0; margin: 0; border-radius: 12px; overflow: hidden; background: #f1e7da; display: block; width: 100%; }
.dmidia--foto { cursor: zoom-in; aspect-ratio: 1; }
.dmidias--1 .dmidia--foto { aspect-ratio: 4 / 3; }
.dmidia--foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dmidia--foto:hover img { transform: scale(1.05); }
.dmidia--video { grid-column: 1 / -1; aspect-ratio: 9 / 12; background: var(--tinta); }
.dmidia--video video, .dmidia--yt iframe { width: 100%; height: 100%; object-fit: contain; border: 0; display: block; }
.dmidia--yt { aspect-ratio: 16 / 9; }
.yt-carregar { width: 100%; height: 100%; border: 0; background: var(--tinta); color: var(--massa); cursor: pointer; display: grid; place-content: center; justify-items: center; gap: .4rem; padding: 1rem; font-weight: 700; }
.yt-carregar svg { width: 40px; height: 40px; color: var(--ouro); }
.yt-carregar small { font-weight: 500; }
.dmidia--link { grid-column: 1 / -1; display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; text-decoration: none; font-weight: 700; color: var(--vinho); background: #fff3cf; }
.dmidia--link svg { width: 22px; height: 22px; flex: none; }
.dep:nth-child(3n+2) .dmidia--link { background: rgba(255,255,255,.12); color: var(--ouro); }
.zoom { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.zoom::backdrop { background: rgba(20,10,8,.85); }
.zoom img { max-width: 94vw; max-height: 88vh; border-radius: 12px; display: block; }
.zoom__fechar { position: absolute; top: .5rem; right: .5rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.6rem; cursor: pointer; line-height: 1; }

.editor-midias { display: grid; gap: .7rem; }
.editor-midias__lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; }
.editor-midias__lista:empty { display: none; }
.em-item { position: relative; aspect-ratio: 1; }
.em-item__prev { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; background: #f1e7da; display: block; }
.em-item__prev--link, .em-item__prev--carregando { display: grid; place-items: center; align-content: center; gap: .2rem; color: var(--vinho); font-weight: 700; font-size: var(--t-xs); position: relative; overflow: hidden; }
.em-item__prev--link svg { width: 26px; height: 26px; }
.em-item__prev--carregando i { position: absolute; left: 0; bottom: 0; height: 5px; background: var(--ouro-escuro); transition: width .2s; }
.em-item__rm { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: #9b2c23; color: #fff; font-weight: 800; cursor: pointer; line-height: 1; }
.editor-midias__acoes label { cursor: pointer; width: auto; margin: 0; }
.editor-midias__acoes label:focus-within, .editor-midias__acoes input:focus-visible + label { outline: 3px solid var(--vinho); }
.editor-midias__link { display: flex; gap: .5rem; flex-wrap: wrap; }
.editor-midias__link input { flex: 1; min-width: 200px; padding: .7rem .9rem; border-radius: var(--r-s); border: 2px solid #e6d9cc; background: var(--massa); }
.editor-midias .msg-erro { margin: 0; min-height: 0; }
.editor-midias .btn { width: auto; margin: 0; }

/* ============ Celular ============ */
@media (max-width: 860px) {
  .cardapio__grid, .historia__grid, .podcast__grid, .encomendas__grid, .checkout__grid { grid-template-columns: minmax(0, 1fr); }
  .encomendas__grid > *, .historia__grid > *, .podcast__grid > * { min-width: 0; }
  .secao { padding: clamp(3.5rem, 12vw, 5rem) 0; }
  .secao .intro { font-size: var(--t-m); margin-bottom: 2rem; }
  .lua { max-width: min(340px, 86vw); }
  .selo { right: 2%; top: 0; width: clamp(92px, 26vw, 120px); }
  .hero__in { padding-bottom: 3rem; gap: 1.2rem; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .faixa { margin: -1rem 0 0; }
  .video-historia { max-height: 70vh; max-width: 340px; margin: 0 auto; }
  .player { max-width: 280px; margin: 0 auto; }
  .ep a { grid-template-columns: 56px 1fr auto; gap: .7rem; }
  .ep img { width: 56px; height: 56px; }
  .mural { columns: 1; }
  .provou__cta .btn { flex: 1 1 100%; }
  .insta__topo .btn { width: 100%; }
  .passos { gap: 1.5rem; }
  .passo__n { font-size: 4rem; }
  .rodape { padding-bottom: 5.5rem; } /* espaço para o botão do WhatsApp */
  .rodape__base { flex-direction: column; }
  .zap-flutua { width: 54px; height: 54px; right: .9rem; bottom: calc(.9rem + env(safe-area-inset-bottom)); }
  .zap-flutua svg { width: 28px; height: 28px; }
  .aviso-cookies { left: .6rem; right: .6rem; width: auto; bottom: .6rem; }
  .form { padding: 1.3rem; }
  .gaveta__itens, .gaveta__topo, .gaveta__rodape { padding-left: 1rem; padding-right: 1rem; }
  .dialogo { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); overflow: auto; }
  .cabeca-pag { padding: 2rem 0 1.6rem; }
  .abas { margin: 1.4rem 0; gap: .4rem; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .3rem; scrollbar-width: none; }
  .abas::-webkit-scrollbar { display: none; }
  .aba { flex: none; padding: .55rem .9rem; font-size: var(--t-s); }
  #sair { margin-left: 0 !important; }
  .pedido-card { padding: 1.1rem; }
  .pedido-card .btn { flex: 1 1 auto; }
  .escolhas { grid-template-columns: 1fr; }
  .checkout__grid { padding: 1.5rem 0 4rem; gap: 1.5rem; }
  .resumo { order: -1; }
  .auth__arte { min-height: 180px; padding: 1.5rem 1.25rem; }
  .auth__arte h2 { font-size: var(--t-xl); }
  .auth__form { padding: 2rem 1.25rem 3rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .secao h2, .mesa__titulo h2 { font-size: clamp(2rem, 10vw, 2.6rem); }
  .sabor h3 { font-size: 1.5rem; }
  .sabor__compra { gap: .6rem; }
  .sabor__compra .btn { flex: 1; }
  .qtd button { width: 40px; height: 40px; }
  .campos { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .abas { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .aba { width: 100%; text-align: center; }
}

/* ============ Celular: abertura com impacto, cardápio com fotos ============ */
.sabor__foto { display: none; }
.rolar { display: none; }
@media (max-width: 920px) {
  /* Cada sabor vira um cartão com foto */
  .sabores { border-top: 0; display: grid; gap: 1.2rem; }
  .sabor { border: 0; padding: 0 0 1.1rem; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 36px -24px rgba(59,16,22,.55); }
  .sabor::before { display: none; }
  .sabor > :not(.sabor__foto) { margin-left: 1.1rem; margin-right: 1.1rem; }
  .sabor__foto { display: block; position: relative; margin: 0 0 1rem; aspect-ratio: 16 / 11; overflow: hidden; background: var(--ouro); }
  .sabor__foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease); }
  .sabor.is-in .sabor__foto img { transform: scale(1); }
  .sabor__foto span { position: absolute; right: .8rem; bottom: .8rem; background: var(--vinho); color: var(--ouro); font-weight: 800; padding: .35rem .8rem; border-radius: var(--pill); font-size: var(--t-s); box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
  .sabor__foto::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--cor); }
  .sabor h3::before { display: none; }
  .sabor--off .sabor__foto img { filter: grayscale(1); }
}
@media (max-width: 860px) {
  /* Abertura ocupa a tela toda */
  .hero__in { min-height: calc(100svh - 76px - 2.5rem); align-content: center; padding-top: 1.2rem; }
  .lua { position: relative; }
  .lua::before { content: ''; position: absolute; inset: -12%; border-radius: 50%; z-index: -1;
    background: radial-gradient(circle, rgba(255,250,230,.75) 0%, rgba(255,236,170,.35) 40%, transparent 68%);
    animation: brilho 4.5s ease-in-out infinite; }
  .lua__foto { animation: dourar 2.4s .3s var(--ease) both, flutua 6s 2.8s ease-in-out infinite; }
  .lua__metade { animation: fade 1s 1.4s both, flutua 6s 2.8s ease-in-out infinite; }
  .hero h1 { margin-bottom: 1rem; }
  .rolar { display: grid; place-items: center; position: absolute; left: 50%; bottom: 4.2rem; transform: translateX(-50%); width: 34px; height: 54px; border: 2.5px solid var(--vinho); border-radius: 20px; z-index: 2; opacity: .8; }
  .rolar span { width: 6px; height: 10px; border-radius: 3px; background: var(--vinho); animation: rolar 1.8s ease-in-out infinite; }
  .hero { padding-bottom: .5rem; }
}
@keyframes flutua { 50% { transform: translateY(-9px) rotate(-1.2deg); } }
@keyframes brilho { 50% { opacity: .55; transform: scale(1.06); } }
@keyframes rolar { 0% { transform: translateY(-8px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

/* Ajustes da revisão (celular) */
body:has(.gaveta.is-open) .aviso-cookies { display: none; }
.toasts { left: 1rem; right: 1rem; transform: none; justify-items: center; }
.toast { max-width: 100%; border-radius: 18px; }
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
}
@media (max-width: 860px) {
  .hero__in { padding-bottom: 6.5rem; }
  .rolar { bottom: 3.6rem; }
}
@media (max-width: 860px) and (max-height: 700px) { .rolar { display: none; } }
