/* =========================================================
   Seções — escritas mobile first
   ========================================================= */

/* Estado antes da entrada animada (removido pelo JS) */
html.intro .hero-titulo, html.intro .hero-acoes, html.intro .status, html.intro .hero-galho,
html.intro .hero-xicara, html.intro .marca, html.intro .rolar, html.intro .menu-abrir, html.intro .topo-nav { visibility: hidden; }

/* A vitrine acende só com CSS: começa no primeiro quadro, sem esperar o JavaScript
   (deixa a foto principal aparecer cedo, bom para o LCP) */
@media (prefers-reduced-motion: no-preference) {
  .neon-hero { animation: acender .75s linear .3s both; }
  .arco-foto { animation: abrir-arco 1s cubic-bezier(.75, 0, .2, 1) .2s both; }
  .arco-foto img { animation: zoom-arco 1.7s cubic-bezier(.16, 1, .3, 1) .3s both; }
  .arco-ganache { animation: escorrer .9s cubic-bezier(.5, 0, .9, .6) .95s both; }
}
@keyframes acender {
  0% { opacity: 0; } 8% { opacity: .85; } 16% { opacity: .1; } 24% { opacity: .95; }
  36% { opacity: .25; } 44% { opacity: 1; } 52% { opacity: .6; } 60%, 100% { opacity: 1; }
}
@keyframes abrir-arco { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes zoom-arco { from { scale: 1.3; } to { scale: 1; } }
@keyframes escorrer { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -40% 0); } }

/* ===================== Cabeçalho ===================== */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 calc(var(--gutter) - 6px) 0 var(--gutter);
  transition: transform .45s var(--ease-saida), background-color .3s, box-shadow .3s;
}
.topo.rolado {
  background: rgba(246, 211, 217, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(74, 42, 34, .08), 0 12px 30px -24px rgba(74, 42, 34, .6);
}
.topo.escondido { transform: translateY(-110%); }

.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cacau); }
.marca-logo { width: 30px; height: 38px; color: var(--cacau); }
.marca-nome {
  display: grid; font-family: var(--f-display); font-size: 1.32rem; font-weight: 600; line-height: .95; letter-spacing: -0.02em;
}
.marca-nome small {
  font-family: var(--f-texto); font-size: .66rem; font-weight: 700; letter-spacing: .14em;
  color: var(--cacau-suave); margin-top: 3px;
}
.topo-nav { display: none; }
.menu-abrir svg { width: 30px; height: 30px; }

@media (min-width: 1024px) {
  .topo-nav { display: flex; gap: 6px; }
  .topo-nav a {
    position: relative; text-decoration: none; font-weight: 700; font-size: .95rem;
    padding: 10px 14px; border-radius: var(--raio-pilula);
  }
  .topo-nav a:hover { background: rgba(255, 247, 242, .6); }
  .menu-abrir { display: none; }
  .marca-logo { width: 34px; height: 42px; }
  .marca-nome { font-size: 1.5rem; }
}

/* ===================== Menu em tela cheia ===================== */
.menu-tela {
  position: fixed; inset: 0; z-index: 110;
  background: var(--ganache); color: var(--creme);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 16px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow: hidden;
}
.menu-tela[hidden] { display: none; }
.menu-galho { position: absolute; top: 0; right: -10px; width: min(70vw, 360px); opacity: .95; }
.menu-fechar { position: absolute; top: 8px; right: calc(var(--gutter) - 6px); color: var(--creme); z-index: 2; }
.menu-links { display: grid; gap: 4px; margin-top: auto; position: relative; }
.menu-links a {
  font-family: var(--f-display); font-size: clamp(2.2rem, 11vw, 3.4rem); font-weight: 520; letter-spacing: -0.03em; line-height: 1.12;
  text-decoration: none; padding: 4px 0;
}
.menu-links a:active { color: var(--rosa-cadeira); }
.menu-rodape { display: grid; gap: 10px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 247, 242, .14); }
.menu-rodape a { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; min-height: 44px; }
.menu-rodape svg { width: 22px; height: 22px; color: var(--rosa-cadeira); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 6px) var(--gutter) 0;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--rosa-parede) 0%, #F5CCD4 55%, var(--rosa-quente) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--papel); opacity: .32; mix-blend-mode: multiply;
}
.hero-salvia {
  position: absolute; z-index: -1;
  left: -38vw; bottom: -14svh;
  width: 92vw; height: 52svh;
  border-radius: 50%;
  background: var(--salvia);
  box-shadow: inset 0 0 0 1px rgba(74, 42, 34, .05);
}
.hero-galho {
  position: absolute; z-index: 1;
  top: calc(var(--header-h) - 34px); right: -6px;
  width: min(48vw, 300px);
  pointer-events: none;
}
.hero-petalas { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.petala { position: absolute; top: 0; left: 0; width: 14px; height: 18px; will-change: transform; }

.hero-grid { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; }
.hero-texto { position: relative; z-index: 3; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 11px; border-radius: var(--raio-pilula);
  background: rgba(255, 247, 242, .72);
  box-shadow: inset 0 0 0 1px rgba(74, 42, 34, .1);
  font-size: .8rem; font-weight: 700; color: var(--cacau);
}
.status-ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--caramelo); position: relative; }
.status.aberto .status-ponto { background: #2F8A4E; }
.status.aberto .status-ponto::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #2F8A4E; animation: pulso 1.8s ease-out infinite;
}
.status.fechado .status-ponto { background: #8C7A75; }
@keyframes pulso { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

.hero-titulo {
  margin-top: 14px;
  font-size: var(--t-hero);
  font-weight: 600;
  font-variation-settings: "opsz" 144;
  line-height: .94;
  letter-spacing: -0.04em;
  max-width: 8.6em;
  color: var(--cacau);
}
.hero-titulo .linha { display: block; }
.hero-sub {
  margin-top: 14px; max-width: 31ch;
  font-size: clamp(1rem, 3.9vw, 1.2rem); line-height: 1.5;
  color: var(--cacau-suave);
}
.hero-acoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-acoes .botao-contorno { min-height: 46px; }
.hero-acoes .botao-cacau { flex: 1 1 auto; }
.hero-acoes .botao-contorno { flex: 1 1 auto; background: rgba(255, 247, 242, .35); }

.hero-vitrine {
  position: relative;
  flex: 1 1 auto;
  min-height: 230px;
  margin-top: 26px;
  display: flex; justify-content: center; align-items: stretch;
}
.neon-hero {
  position: absolute; z-index: 0;
  left: calc(-1 * var(--gutter)); width: 100vw;
  top: 2%; height: 64px; max-width: none;
  overflow: visible;
  filter: var(--brilho-neon);
}
.neon-tubo { stroke: var(--neon); stroke-width: 6; }
.neon-nucleo { stroke: #FFF2D9; stroke-width: 1.8; opacity: .9; }

.arco {
  position: relative; z-index: 1;
  width: min(80vw, 380px);
  container-type: inline-size;
}
.arco::after {
  content: ""; position: absolute; inset: -9px -9px 0;
  border: 1.5px solid rgba(74, 42, 34, .28);
  border-bottom: 0;
  border-radius: calc(50cqi + 9px) calc(50cqi + 9px) 0 0;
  pointer-events: none;
}
.arco-foto {
  position: absolute; inset: 0;
  overflow: hidden;
  border-radius: 50cqi 50cqi 0 0;
  background: var(--cacau);
  box-shadow: 0 30px 60px -28px rgba(74, 42, 34, .65);
}
.arco-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; transform-origin: 50% 40%; }
.arco-ganache {
  position: absolute; z-index: 2; top: -1px; left: 0; width: 100%;
  pointer-events: none; overflow: visible;
  filter: drop-shadow(0 4px 4px rgba(42, 22, 17, .25));
}
.hero-xicara { display: none; }

.rolar {
  position: absolute; z-index: 6;
  left: var(--gutter); bottom: calc(var(--dock-h) + 20px + env(safe-area-inset-bottom));
  width: 46px; height: 52px; display: grid; place-items: center;
  color: var(--cacau);
  border-radius: 50%;
  background: rgba(255, 247, 242, .7);
}
.rolar svg { width: 30px; height: 34px; }
.vapor { stroke-dasharray: 12 14; animation: vapor 2.4s ease-in-out infinite; opacity: 0; }
.v2 { animation-delay: .5s; } .v3 { animation-delay: 1s; }
@keyframes vapor {
  0% { stroke-dashoffset: 26; opacity: 0; }
  35% { opacity: .9; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

/* Telas baixas: comprime o texto para o CTA aparecer sem rolar */
@media (max-height: 700px) and (max-width: 767px) {
  .hero-titulo { font-size: clamp(2.4rem, 10.4vw, 3rem); margin-top: 10px; }
  .hero-sub { margin-top: 10px; font-size: .98rem; }
  .hero-acoes { margin-top: 14px; }
  .hero-acoes .botao { min-height: 48px; }
  .hero-vitrine { margin-top: 18px; min-height: 190px; }
}

@media (min-width: 768px) {
  .hero-galho { width: min(40vw, 380px); }
  .arco { width: min(56vw, 420px); }
}

@media (min-width: 1024px) {
  .hero { padding-top: var(--header-h); }
  .hero-grid {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch; gap: 32px;
    max-width: 1320px; width: 100%; margin: 0 auto;
  }
  .hero-texto { align-self: center; padding-bottom: 8vh; }
  .hero-titulo { max-width: 8em; }
  .hero-sub { max-width: 34ch; }
  .hero-acoes { flex-wrap: nowrap; }
  .hero-acoes .botao { flex: 0 0 auto; }
  .hero-vitrine { margin-top: 28px; min-height: 0; }
  .arco { width: min(36vw, 470px); }
  .neon-hero { left: calc(-60vw); width: 170vw; top: 79%; height: 72px; }
  .hero-galho { width: min(30vw, 440px); top: calc(var(--header-h) - 30px); }
  .hero-salvia { left: -12vw; width: 50vw; height: 58vh; bottom: -24vh; }
  .hero-xicara {
    display: block; position: absolute; z-index: 3;
    left: max(0px, calc(50% - min(18vw, 235px) - 120px)); bottom: 9%;
    width: min(13vw, 190px); aspect-ratio: 3 / 4;
    border-radius: 999px 999px 18px 18px;
    overflow: hidden;
    border: 6px solid var(--creme);
    box-shadow: var(--sombra-2);
    transform: rotate(-7deg);
  }
  .hero-xicara img { width: 100%; height: 100%; object-fit: cover; }
  .rolar { bottom: 28px; }
}

/* ===================== Letreiro ===================== */
.letreiro {
  position: relative; z-index: 6;
  background: var(--cacau); color: var(--creme);
  padding: 18px 0 16px;
}
.letreiro-trilho {
  background: var(--cacau);
  display: flex; align-items: center; gap: 22px;
  width: max-content;
  font-family: var(--f-display); font-style: italic; font-weight: 420;
  font-size: clamp(1.25rem, 5vw, 1.8rem); white-space: nowrap;
  will-change: transform;
}
.letreiro-trilho svg { width: 22px; height: 22px; color: var(--rosa-cadeira); flex: none; }
.letreiro { overflow-x: clip; }
.ganache { position: absolute; left: 0; width: 100%; height: 44px; pointer-events: none; transform-origin: 50% 0; }
.ganache-baixo { top: calc(100% - 1px); }
.ganache-invertida { bottom: calc(100% - 1px); height: 26px; transform-origin: 50% 100%; }
@media (min-width: 1024px) { .ganache { height: 60px; } .ganache-invertida { height: 32px; } }

/* ===================== Novidades ===================== */
.novidades { padding-top: calc(var(--secao) + 20px); }
.carrossel {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 18px;
  scrollbar-width: none;
}
.carrossel::-webkit-scrollbar { display: none; }
.card-novo {
  position: relative;
  flex: 0 0 min(80vw, 340px);
  scroll-snap-align: start;
  background: var(--creme);
  border-radius: 30px;
  padding: 10px 10px 20px;
  box-shadow: var(--sombra-1);
  container-type: inline-size;
}
.card-novo-foto {
  position: relative;
  aspect-ratio: 1 / 1.02;
  border-radius: 50cqi 50cqi 20px 20px;
  overflow: hidden;
  background: var(--rosa-cadeira);
}
.card-novo-foto img { width: 100%; height: 100%; object-fit: cover; }
.selo-novo {
  position: absolute; top: 16px; left: 0; right: 0; margin: 0 auto; width: fit-content; z-index: 2;
  background: var(--cereja); color: var(--creme);
  font-weight: 800; font-size: .78rem; letter-spacing: .02em;
  padding: 6px 12px; border-radius: var(--raio-pilula);
  transform-origin: 50% 0;
}
.card-novo-texto { padding: 16px 10px 0; display: grid; gap: 8px; }
.card-novo h3 { font-size: var(--t-h3); }
.card-novo p { color: var(--cacau-suave); font-size: .95rem; line-height: 1.5; }
.card-novo .linha-acao { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }

@media (min-width: 900px) {
  .carrossel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: var(--largura); margin: 0 auto; padding: 6px 0 0; gap: 24px; overflow: visible; }
  .card-novo { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; padding: 12px; }
  .card-novo-foto { aspect-ratio: 4 / 5; border-radius: 999px 999px 20px 20px; }
  .card-novo-texto { padding: 10px 14px; }
}

/* ===================== Preço e adicionar ===================== */
.preco {
  font-family: var(--f-display); font-weight: 600; font-size: 1.15rem;
  color: var(--caramelo-texto);
}
.preco .pendente { font-size: .72rem; white-space: nowrap; }
.botao-add {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 16px 0 12px;
  border-radius: var(--raio-pilula); border: 0;
  background: var(--cacau); color: var(--creme);
  font-weight: 700; font-size: .9rem;
  transition: transform .25s var(--ease-mola);
}
.botao-add svg { width: 20px; height: 20px; }
.botao-add:active { transform: scale(.94); }

/* ===================== Cardápio ===================== */
.cardapio { background: var(--creme); }
.cardapio::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--papel); opacity: .22; mix-blend-mode: multiply;
}
.chips-wrap {
  position: sticky; z-index: 20;
  top: var(--topo-offset, 0px);
  margin: 0 calc(-1 * var(--gutter)) 22px;
  background: rgba(255, 247, 242, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: top .45s var(--ease-saida);
}
.chips {
  display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
  padding: 12px var(--gutter) 22px;
  max-width: calc(var(--largura) + 2 * var(--gutter)); margin: 0 auto;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  min-height: 44px; padding: 0 18px;
  border-radius: var(--raio-pilula);
  border: 1.5px solid rgba(74, 42, 34, .18);
  background: transparent;
  font-weight: 700; font-size: .92rem; color: var(--cacau-suave);
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip[aria-selected="true"] { background: var(--rosa-cadeira); border-color: transparent; color: var(--cacau); }
.chips-neon {
  position: absolute; left: 0; bottom: 5px; height: 12px; width: 60px;
  pointer-events: none;
}
.chips-neon path { fill: none; stroke-width: 2.6; stroke-linecap: round; }

.grade-produtos {
  position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 12px;
  max-width: var(--largura); margin: 0 auto;
  min-height: 320px;
}
.produto {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  background: none; border: 0; padding: 0; text-align: left;
  cursor: pointer;
  container-type: inline-size;
}
.produto-thumb {
  position: relative; width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 50cqi 50cqi 16px 16px;
  overflow: hidden;
  background: var(--rosa-parede);
  box-shadow: var(--sombra-1);
}
.produto-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-saida); }
@media (hover: hover) { .produto:hover .produto-thumb img { transform: scale(1.05); } }
.produto h3 { font-size: clamp(1.02rem, 4.2vw, 1.3rem); line-height: 1.1; }
/* o nome é o botão; o ::after estica a área de toque pelo card inteiro */
.abrir-produto {
  all: unset; cursor: pointer; font: inherit; color: inherit;
}
.abrir-produto::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 16px; }
.abrir-produto:focus-visible { outline: none; }
.abrir-produto:focus-visible::after { outline: 3px solid var(--cerejeira-texto); outline-offset: 4px; }
.produto-desc {
  font-size: .84rem; line-height: 1.45; color: var(--cacau-suave);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.produto-desc .pendente { display: none; }
.produto .preco { font-size: 1rem; }
.produto-mais {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: var(--creme); color: var(--cacau);
  box-shadow: 0 8px 18px -8px rgba(42, 22, 17, .6);
  transition: transform .25s var(--ease-mola);
}
.produto-mais svg { width: 22px; height: 22px; }
.produto-mais:active { transform: scale(.9); }
.selo-encomenda {
  display: inline-block; width: fit-content;
  font-size: .74rem; font-weight: 800;
  color: var(--cacau); background: var(--rosa-cadeira);
  padding: 4px 10px; border-radius: var(--raio-pilula);
}
.produto-thumb .selo-encomenda, .produto-thumb .selo-novo { position: absolute; left: 10px; right: auto; margin: 0; top: auto; bottom: 10px; z-index: 2; }
.produto-thumb .selo-novo { top: auto; padding: 4px 10px; font-size: .72rem; }

.vapor-card { position: absolute; left: 50%; top: 14%; width: 46px; height: 46px; transform: translateX(-50%); color: #fff; opacity: .9; z-index: 2; pointer-events: none; }
.vapor-card path { stroke: currentColor; }

.cardapio-nota { max-width: var(--largura); margin: 28px auto 0; font-size: .92rem; color: var(--cacau-suave); }

@media (min-width: 768px) { .grade-produtos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; } }
@media (min-width: 1180px) { .grade-produtos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ===================== O salão ===================== */
.espaco {
  z-index: 5;
  background: var(--ganache); color: var(--creme);
  padding-bottom: calc(var(--secao) + 10px);
}
.espaco .secao-lead { color: rgba(255, 247, 242, .78); }
.espaco-galho {
  position: absolute; top: -6px; right: -8px;
  width: min(54vw, 360px); pointer-events: none;
}
.galeria {
  position: relative;
  max-width: 520px; margin: 0 auto;
  aspect-ratio: 9 / 14;
  max-height: 78svh;
  border-radius: 30px;
  overflow: hidden;
  background: #3a2019;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.galeria-itens { position: absolute; inset: 0; }
.foto-salao { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.foto-salao.ativa { opacity: 1; visibility: visible; }
.foto-salao img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.foto-salao figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 80px 22px 24px;
  background: linear-gradient(to top, rgba(42, 22, 17, .82), rgba(42, 22, 17, 0));
  font-family: var(--f-display); font-size: 1.6rem; font-weight: 520; letter-spacing: -0.02em;
}
.stories-barras {
  position: absolute; z-index: 3; top: 12px; left: 12px; right: 12px;
  display: flex; gap: 5px;
}
.stories-barras span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 247, 242, .32); overflow: hidden; }
.stories-barras i { display: block; height: 100%; width: 100%; background: var(--creme); transform: scaleX(0); transform-origin: 0 50%; }
.stories-toque {
  position: absolute; z-index: 2; top: 0; bottom: 0;
  border: 0; background: transparent; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.stories-voltar { left: 0; width: 34%; }
.stories-avancar { right: 0; width: 66%; }
.stories-ampliar { position: absolute; z-index: 4; top: 26px; right: 10px; color: var(--creme); background: rgba(42, 22, 17, .35); }
.stories-ampliar svg { width: 20px; height: 20px; }

@media (min-width: 1024px) {
  .galeria {
    max-width: var(--largura); aspect-ratio: auto; max-height: none;
    border-radius: 0; overflow: visible; background: none; box-shadow: none;
  }
  .galeria-itens {
    position: static;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px;
    align-items: start;
  }
  .foto-salao {
    position: relative; inset: auto; opacity: 1; visibility: visible;
    aspect-ratio: 3 / 5;
    border-radius: 999px 999px 22px 22px; overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8);
  }
  .foto-salao:nth-child(even) { margin-top: 90px; }
  .foto-salao:nth-child(3) { margin-top: 40px; }
  .foto-salao figcaption { font-size: 1.15rem; padding: 60px 16px 18px; }
  .stories-barras, .stories-toque, .stories-ampliar { display: none; }
}

/* ===================== Encomenda ===================== */
.encomenda { background: var(--rosa-cadeira); padding-top: calc(var(--secao) + 30px); }
.encomenda .secao-lead { color: var(--cacau); }
.passos { display: grid; gap: 14px; max-width: var(--largura); margin: 0 auto; counter-reset: passo; }
.passos li {
  position: relative;
  background: var(--creme);
  border-radius: 24px;
  padding: 22px 22px 22px 84px;
  box-shadow: var(--sombra-1);
}
.passo-num {
  position: absolute; left: 20px; top: 18px;
  width: 48px; height: 48px; display: grid; place-items: center;
  font-family: var(--f-display); font-size: 1.7rem; font-weight: 600;
  color: var(--creme); background: var(--cerejeira-texto);
  border-radius: 50% 50% 50% 14px;
}
.passos h3 { font-size: 1.3rem; }
.passos p { margin-top: 6px; color: var(--cacau-suave); font-size: .96rem; }
.encomenda-acao { max-width: var(--largura); margin: 28px auto 0; display: grid; gap: 14px; justify-items: start; }
.nota { font-size: .92rem; color: var(--cacau); }
@media (min-width: 900px) {
  .passos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .passos li { padding: 84px 26px 28px; }
  .passo-num { top: 22px; left: 24px; }
}

/* ===================== Avaliações ===================== */
.avaliacoes { background: var(--creme); }
.nota-google, .depoimentos, .avaliar { max-width: var(--largura); margin-left: auto; margin-right: auto; }
.nota-google {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.nota-google .numero { font-family: var(--f-display); font-size: 3.2rem; font-weight: 600; line-height: 1; }
.depoimentos {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px;
}
.depoimentos::-webkit-scrollbar { display: none; }
.depoimento {
  flex: 0 0 min(82vw, 360px); scroll-snap-align: start;
  background: var(--rosa-parede); border-radius: 24px; padding: 22px;
  display: grid; gap: 12px; align-content: start;
}
.depoimento blockquote {
  margin: 0; font-family: var(--f-display); font-size: 1.15rem; line-height: 1.4;
}
.depoimento-vazio {
  background: transparent;
  border: 1.5px dashed rgba(163, 50, 79, .45);
  color: var(--cacau-suave); font-size: .92rem;
  min-height: 170px; align-content: center;
}
.flores-nota { display: flex; gap: 2px; color: var(--cerejeira); }
.flores-nota svg { width: 18px; height: 18px; }

.avaliar {
  margin-top: 34px;
  background: var(--rosa-parede);
  border-radius: 30px;
  padding: 28px 22px;
  display: grid; justify-items: center; text-align: center; gap: 14px;
  position: relative; overflow: hidden;
}
.avaliar h3 { font-size: var(--t-h3); max-width: 18ch; }
.estrelas { display: flex; gap: 4px; }
.estrela {
  position: relative; width: 54px; height: 54px;
  border: 0; background: transparent; padding: 0; color: var(--cacau);
  display: grid; place-items: center;
  -webkit-tap-highlight-color: transparent;
}
.estrela svg { grid-area: 1 / 1; width: 40px; height: 40px; transition: transform .35s var(--ease-mola), opacity .25s; }
.estrela .e-flor { color: var(--cerejeira); transform: scale(0) rotate(-90deg); opacity: 0; width: 46px; height: 46px; }
.estrela.marcada .e-estrela { transform: scale(.2); opacity: 0; }
.estrela.marcada .e-flor { transform: scale(1) rotate(0deg); opacity: 1; }
.avaliar-texto { font-weight: 600; color: var(--cacau-suave); min-height: 1.6em; }
@media (min-width: 900px) { .depoimentos { margin: 0 auto; padding: 4px 0 10px; } }

/* ===================== Instagram ===================== */
.instagram { background: var(--rosa-parede); text-align: center; }
.instagram .secao-cabeca { display: grid; justify-items: center; }
.instagram .neon-titulo { left: 50%; transform: translateX(-50%); }
.titulo-insta span { display: block; font-size: .56em; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.instagram .secao-lead { margin-left: auto; margin-right: auto; }
.insta-celular { max-width: 520px; margin: 0 auto 28px; }
.insta-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 18px; overflow: hidden; }
.insta-grade a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--rosa-cadeira); }
.insta-grade img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-saida); }
.insta-grade a::after {
  content: ""; position: absolute; inset: 0; background: rgba(42, 22, 17, .38);
  opacity: 0; transition: opacity .25s;
}
.insta-grade a svg { position: absolute; z-index: 2; inset: 0; margin: auto; width: 30px; height: 30px; color: var(--creme); opacity: 0; transform: scale(.7); transition: opacity .25s, transform .3s var(--ease-mola); }
.insta-grade a:hover::after, .insta-grade a:focus-visible::after, .insta-grade a.tocado::after { opacity: 1; }
.insta-grade a:hover svg, .insta-grade a:focus-visible svg, .insta-grade a.tocado svg { opacity: 1; transform: scale(1); }
.insta-grade a:hover img { transform: scale(1.06); }

@media (min-width: 1024px) {
  .insta-celular {
    max-width: 380px;
    padding: 46px 14px 30px;
    border: 2px solid var(--cacau);
    border-radius: 52px;
    position: relative;
    background: var(--creme);
    box-shadow: var(--sombra-2);
  }
  .insta-celular::before {
    content: ""; position: absolute; top: 18px; left: 50%; width: 82px; height: 10px;
    transform: translateX(-50%); border-radius: 10px; background: var(--cacau);
  }
  .insta-grade { border-radius: 10px; }
}

/* ===================== Contato ===================== */
.contato { background: var(--salvia); overflow: hidden; }
.contato-galho {
  position: absolute; top: -8px; right: -12px;
  width: min(46vw, 320px); opacity: .95; pointer-events: none;
}
.contato-grade { position: relative; display: grid; gap: 26px; max-width: var(--largura); margin: 0 auto; }
.contato-fachada {
  border-radius: 999px 999px 24px 24px; overflow: hidden;
  aspect-ratio: 3 / 3.4; max-width: 420px; width: 100%;
  box-shadow: var(--sombra-2);
  border: 6px solid var(--creme);
}
.contato-fachada img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.contato-info { display: grid; gap: 22px; align-content: start; }
.info-bloco h3 { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; margin-bottom: 8px; }
.info-bloco h3 svg { width: 22px; height: 22px; color: var(--cerejeira-texto); }
.info-ref { margin-top: 4px; color: var(--cacau-suave); font-size: .95rem; }
.horarios { display: grid; gap: 2px; }
.horarios li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 12px; font-size: .96rem; }
.horarios li.hoje { background: var(--creme); font-weight: 800; }
.contato-botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contato-botoes .botao { padding: 0 14px; }
.contato-botoes .botao-contorno { background: rgba(255, 247, 242, .4); }

.mapa {
  position: relative;
  aspect-ratio: 16 / 11; border-radius: 26px; overflow: hidden;
  box-shadow: var(--sombra-1);
  background: #E7EEE9;
}
.mapa-estatico, .mapa-estatico > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapa-pin {
  position: absolute; left: 50%; top: 44%;
  width: 54px; height: 66px; transform: translate(-50%, -100%);
  color: var(--cacau);
  filter: drop-shadow(0 8px 6px rgba(42, 22, 17, .25));
  animation: pin 2.4s ease-in-out infinite;
}
@keyframes pin { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, -112%); } }
.mapa .botao { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (min-width: 900px) {
  .contato-grade { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: start; gap: 40px; }
  .mapa { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
}

/* ===================== Rodapé ===================== */
.rodape {
  position: relative;
  background: var(--ganache); color: var(--creme);
  padding: 64px var(--gutter) calc(28px + env(safe-area-inset-bottom));
}
.rodape-grade { display: grid; gap: 36px; max-width: var(--largura); margin: 0 auto; }
.rodape-logo { width: 48px; height: 58px; color: var(--creme); }
.rodape-nome {
  display: grid; margin-top: 12px;
  font-family: var(--f-display); font-size: 2rem; font-weight: 560; line-height: 1; letter-spacing: -0.02em;
}
.rodape-nome small { font-family: var(--f-texto); font-size: .72rem; letter-spacing: .14em; font-weight: 700; opacity: .7; margin-top: 6px; }
.neon-rodape { width: 160px; height: 16px; margin-top: 18px; }
.rodape-links { display: grid; gap: 2px; }
.rodape-links a, .rodape-contato a {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
  text-decoration: none; font-weight: 600;
}
.rodape-links a:hover, .rodape-contato a:hover { color: var(--rosa-cadeira); }
.rodape-contato { display: grid; gap: 2px; align-content: start; }
.rodape-contato p { opacity: .8; font-size: .95rem; margin-bottom: 6px; }
.rodape-contato svg { width: 22px; height: 22px; color: var(--rosa-cadeira); }
.rodape-base {
  max-width: var(--largura); margin: 44px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255, 247, 242, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: .85rem; opacity: .78;
}
.assinatura a { text-decoration: none; font-weight: 700; }
.assinatura a:hover { text-decoration: underline; }
@media (min-width: 900px) { .rodape-grade { grid-template-columns: 1.3fr 1fr 1fr; } .rodape { padding-top: 90px; } }

/* ===================== Dock (mobile) ===================== */
.dock {
  position: fixed; z-index: 95; left: 0; right: 0; bottom: 0;
  height: calc(var(--dock-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center;
  background: rgba(255, 247, 242, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 -1px 0 rgba(74, 42, 34, .08), 0 -16px 30px -26px rgba(74, 42, 34, .6);
}
.dock-item {
  display: grid; justify-items: center; gap: 3px;
  text-decoration: none; font-size: .74rem; font-weight: 700; color: var(--cacau);
  padding: 8px 0;
}
.dock-item svg { width: 24px; height: 24px; }
.dock-sacola {
  justify-self: center;
  position: relative;
  width: 66px; height: 66px; margin-top: -26px;
  border-radius: 50%; border: 4px solid var(--rosa-parede);
  background: var(--cacau); color: var(--creme);
  display: grid; place-items: center; align-content: center; gap: 0;
  box-shadow: 0 14px 26px -12px rgba(42, 22, 17, .8);
  -webkit-tap-highlight-color: transparent;
}
.dock-sacola svg { width: 26px; height: 26px; }
.dock-sacola-texto { font-size: .62rem; font-weight: 800; margin-top: 1px; }
.contador {
  position: absolute; top: -4px; right: -4px;
  min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 12px; display: grid; place-items: center;
  background: var(--cereja); color: var(--creme);
  font-size: .78rem; font-weight: 800;
  border: 2px solid var(--creme);
}
.contador[hidden] { display: none; }
@media (min-width: 1024px) {
  .dock {
    left: auto; right: 28px; bottom: 28px; height: auto; padding: 0;
    display: block; background: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .dock-item { display: none; }
  .dock-sacola { margin: 0; width: 72px; height: 72px; }
}

/* ===================== Folhas (bottom sheets) ===================== */
.folha {
  margin: auto 0 0; padding: 0; border: 0;
  width: 100%; max-width: 100%;
  max-height: 92svh;
  border-radius: 28px 28px 0 0;
  background: var(--creme); color: var(--cacau);
  box-shadow: 0 -20px 60px -20px rgba(42, 22, 17, .5);
  overflow: hidden;
}
.folha::backdrop { background: rgba(42, 22, 17, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.folha[open] { display: block; }
.folha-corpo {
  position: relative;
  max-height: 92svh; overflow-y: auto; overscroll-behavior: contain;
  padding: 14px var(--gutter) calc(26px + env(safe-area-inset-bottom));
}
.folha-alca { display: block; width: 46px; height: 5px; margin: 0 auto 6px; border-radius: 5px; background: rgba(74, 42, 34, .2); }
.folha-fechar { position: absolute; top: 6px; right: 6px; z-index: 3; background: var(--creme); }
.produto-foto {
  margin-top: 12px;
  aspect-ratio: 4 / 3.2;
  border-radius: 999px 999px 20px 20px; overflow: hidden;
  background: var(--rosa-parede);
}
.produto-foto img { width: 100%; height: 100%; object-fit: cover; }
.produto-info { display: grid; gap: 12px; margin-top: 18px; }
.produto-info h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
.produto-desc { color: var(--cacau-suave); }
.produto-info .produto-desc { display: block; font-size: 1rem; -webkit-line-clamp: unset; }
.produto-info .produto-desc .pendente { display: inline; }
.opcoes-grupo { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.opcoes-grupo legend { font-weight: 700; font-size: .92rem; padding: 0; margin-bottom: 8px; }
.opcoes-lista { display: flex; flex-wrap: wrap; gap: 8px; }
.opcoes-lista label { position: relative; }
.opcoes-lista input { position: absolute; opacity: 0; }
.opcoes-lista span {
  display: grid; place-items: center; min-height: 44px; min-width: 52px; padding: 0 16px;
  border-radius: var(--raio-pilula); border: 1.5px solid rgba(74, 42, 34, .22); font-weight: 700;
}
.opcoes-lista input:checked + span { background: var(--cacau); color: var(--creme); border-color: var(--cacau); }
.opcoes-lista input:focus-visible + span { outline: 3px solid var(--cerejeira-texto); outline-offset: 2px; }
.produto-rodape {
  position: sticky; bottom: calc(-26px - env(safe-area-inset-bottom));
  display: flex; gap: 10px; align-items: center;
  margin: 8px calc(-1 * var(--gutter)) 0; padding: 14px var(--gutter);
  background: linear-gradient(to top, var(--creme) 75%, rgba(255, 247, 242, 0));
}
.produto-rodape .botao { flex: 1; }
.qtd {
  display: flex; align-items: center;
  border-radius: var(--raio-pilula); border: 1.5px solid rgba(74, 42, 34, .22);
  height: 52px;
}
.qtd button { width: 44px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--cacau); }
.qtd button svg { width: 18px; height: 18px; }
.qtd output { min-width: 22px; text-align: center; font-weight: 800; }
.qtd-mini { height: 40px; }
.qtd-mini button { width: 36px; }

.folha-sacola h2 { font-size: 1.9rem; margin-top: 6px; }
.sacola-vazia { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 26px 0 10px; color: var(--cacau-suave); }
.sacola-vazia svg { width: 64px; height: 78px; color: var(--rosa-cadeira); }
.sacola-vazia[hidden] { display: none; }
.sacola-itens { display: grid; gap: 12px; margin-top: 18px; }
.item-sacola {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start;
  padding-bottom: 12px; border-bottom: 1px solid rgba(74, 42, 34, .1);
}
.item-sacola img { width: 64px; height: 72px; object-fit: cover; border-radius: 32px 32px 10px 10px; }
.item-sacola h3 { font-family: var(--f-texto); font-size: .98rem; font-weight: 800; letter-spacing: 0; line-height: 1.3; }
.item-sacola .detalhe { font-size: .85rem; color: var(--cacau-suave); }
.item-sacola .item-acoes { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.item-sacola .remover { width: 40px; height: 40px; color: var(--cacau-suave); }
.item-sacola .remover svg { width: 20px; height: 20px; }
.item-sacola input {
  width: 100%; min-height: 40px; margin-top: 8px; padding: 8px 12px;
  border: 1.5px solid rgba(74, 42, 34, .18); border-radius: 12px; font-size: 16px; background: #fff;
}
.sacola-total { margin-top: 12px; text-align: right; font-weight: 800; }
.retirada { display: grid; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 2px dashed rgba(74, 42, 34, .15); }
.retirada[hidden] { display: none; }
.retirada h3 { font-size: 1.4rem; }
.campo-duplo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; }
.aviso {
  font-size: .9rem; line-height: 1.5;
  background: var(--rosa-parede); border-radius: 14px; padding: 12px 14px;
}
.aviso[hidden] { display: none; }
.aviso-confirmacao { background: var(--salvia); }
.pronto { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--salvia); font-size: .92rem; }

@media (min-width: 1024px) {
  .folha {
    margin: 0 0 0 auto; width: 460px; height: 100vh; max-height: 100vh;
    border-radius: 28px 0 0 28px;
  }
  .folha-corpo { max-height: 100vh; height: 100%; padding: 22px 30px 30px; }
  .folha-alca { display: none; }
  .produto-rodape { bottom: -30px; margin: 8px -30px 0; padding: 16px 30px; }
}

/* ===================== Lightbox ===================== */
.lightbox {
  width: 100vw; height: 100svh; max-width: 100vw; max-height: 100svh;
  margin: 0; padding: 0; border: 0;
  background: rgba(30, 15, 12, .95); color: var(--creme);
  overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(30, 15, 12, .6); }
.lightbox-foto { display: grid; gap: 14px; justify-items: center; touch-action: none; }
.lightbox-foto img { max-width: 94vw; max-height: 80svh; border-radius: 18px; object-fit: contain; transition: transform .3s var(--ease-saida); }
.lightbox-foto figcaption { font-family: var(--f-display); font-size: 1.3rem; }
.lightbox-fechar { position: absolute; top: 10px; right: 10px; color: var(--creme); z-index: 2; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: var(--creme); background: rgba(255, 247, 242, .1); display: none; }
.lightbox-ant { left: 14px; } .lightbox-prox { right: 14px; }
@media (min-width: 768px) { .lightbox-nav { display: grid; } }

/* ===================== Efeitos ===================== */
.voando {
  position: fixed; z-index: 160; left: 0; top: 0;
  object-fit: cover; border-radius: 50%;
  box-shadow: 0 10px 20px -6px rgba(42, 22, 17, .5);
  pointer-events: none;
}
.balao {
  position: absolute; bottom: -120px;
  width: 54px; height: 64px; border-radius: 50% 50% 48% 48%;
  box-shadow: inset -8px -10px 0 rgba(0, 0, 0, .08), inset 8px 8px 0 rgba(255, 255, 255, .35);
}
.balao::after {
  content: ""; position: absolute; left: 50%; top: 100%;
  width: 1px; height: 46px; background: rgba(74, 42, 34, .4);
}
.petala-efeito { position: absolute; width: 14px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .hero-petalas, .vapor, .vapor-card { display: none; }
  .mapa-pin { animation: none; }
}
