@font-face { font-family: "Nunito"; src: url(fontes/nunito-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(fontes/nunito-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(fontes/nunito-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(fontes/nunito-latin-900-normal.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Puff"; src: url(fontes/dynapuff-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Puff"; src: url(fontes/dynapuff-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Caneta"; src: url(fontes/caveat-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --fundo: #FFF3EE;
  --papel: #FFFBF8;
  --lilas: #C49BC2;
  --lilas-claro: #F3E5F1;
  --lilas-tinta: #7B4C7A;
  --rosa: #EBB1AB;
  --rosa-claro: #FBE4DF;
  --rosa-caixa: #E2A5A1;
  --pessego: #F4D3B4;
  --cafe: #5A2F21;
  --cafe-suave: #7A5446;
  --dourado: #DDB565;
  --puff: "Puff", "Nunito", system-ui, sans-serif;
  --texto: "Nunito", system-ui, -apple-system, sans-serif;
  --mao: "Caneta", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { overflow-x: clip; }
body { margin: 0; background: var(--fundo); color: var(--cafe); font-family: var(--texto); font-weight: 600; font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--lilas-tinta); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3 { margin: 0; }
.miolo { width: min(100% - 36px, 1100px); margin-inline: auto; }
.titulo-secao { font-family: var(--puff); font-weight: 700; font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: .95; letter-spacing: -.01em; }
.secao-sub { color: var(--cafe-suave); margin: .7rem 0 0; max-width: 40ch; }
.pular { position: absolute; left: -999px; top: 8px; background: var(--cafe); color: var(--papel); padding: 10px 14px; border-radius: 10px; z-index: 80; }
.pular:focus { left: 8px; }

/* Botões */
.botao { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.5em; border-radius: 999px; border: 2.5px solid var(--cafe); font-weight: 900; font-size: 1.02rem; text-decoration: none; transition: transform .15s ease; background: var(--papel); color: var(--cafe); }
.botao:active { transform: scale(.96); }
.botao-cheio { background: var(--cafe); color: var(--papel); box-shadow: 0 5px 0 #3B1D13; }
.botao-cheio:active { box-shadow: 0 2px 0 #3B1D13; transform: translateY(3px); }
.botao-linha { background: transparent; }
.botao[disabled] { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.botao-largo { width: 100%; }
.botao-peq { min-height: 46px; padding: 0 1.1em; font-size: .95rem; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: color-mix(in srgb, var(--fundo) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.topo-marca img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px var(--papel), 0 0 0 4px var(--lilas); }
.topo-nav { display: none; gap: 4px; margin-left: 8px; }
.topo-nav a { color: var(--cafe); text-decoration: none; font-weight: 800; padding: 10px 14px; border-radius: 999px; }
.topo-nav a:hover { background: var(--lilas-claro); }
.topo-pedido { margin-left: auto; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 7px 0 18px; border-radius: 999px; border: 2.5px solid var(--cafe); background: var(--papel); font-weight: 900; }
.topo-qtd { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 999px; background: var(--lilas); font-size: .92rem; }

/* Topo da página */
.hero { position: relative; padding: 6px 0 34px; overflow: hidden; }
.hero-texto { width: min(100% - 32px, 640px); margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.hero-titulo { font-family: var(--puff); font-weight: 700; font-size: clamp(3.1rem, 15.5vw, 6.6rem); line-height: .86; letter-spacing: -.02em; color: var(--cafe); paint-order: stroke fill; -webkit-text-stroke: .14em var(--papel); text-shadow: 0 .09em 0 var(--rosa); }
.hero-titulo span { display: block; }
.hero-palco { position: relative; height: min(100vw, 560px); max-width: 640px; margin: -8px auto 0; touch-action: pan-y; }
.hero-arco { position: absolute; left: 3%; width: 94%; top: 12%; overflow: visible; }
.hero-arco path, .historia-arco path, .rodape-arco path { fill: none; stroke-linecap: round; }
.hero-arco path { stroke-width: 32; }
.b1 { stroke: var(--lilas); } .b2 { stroke: var(--rosa); } .b3 { stroke: var(--pessego); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-reserva { position: absolute; left: 10%; width: 80%; bottom: 8%; }
.hero-brilho { position: absolute; width: 22px; height: 22px; fill: var(--dourado); z-index: 2; }
.h1b { left: 6%; top: 10%; width: 26px; height: 26px; fill: var(--rosa); }
.h2b { right: 8%; top: 6%; }
.h3b { right: 2%; top: 38%; width: 16px; height: 16px; fill: var(--lilas); }
.h4b { left: 1%; top: 44%; width: 14px; height: 14px; }
.selo-recheado { position: absolute; z-index: 3; right: 4%; bottom: 10%; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--lilas); color: var(--cafe); font-family: var(--puff); font-weight: 600; font-size: .86rem; line-height: 1.05; transform: rotate(12deg); box-shadow: 0 0 0 4px var(--papel), 0 8px 18px -8px rgba(90,47,33,.5); }
.hero-baixo { width: min(100% - 36px, 520px); margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.hero-sub { margin: 0 auto 18px; max-width: 34ch; color: var(--cafe-suave); font-size: 1.08rem; }
.hero-acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.hero-preco { font-weight: 800; color: var(--cafe-suave); }
.hero-preco strong { color: var(--cafe); font-weight: 900; }
.de-novo { margin: 18px auto 0; display: inline-flex; min-height: 46px; padding: 8px 18px; border: 2px dashed var(--lilas); border-radius: 999px; background: var(--papel); font-weight: 800; color: var(--lilas-tinta); }

/* Fita de sabores */
.fita-sabores { position: relative; z-index: 3; background: var(--lilas); transform: rotate(-2.2deg); margin: 6px -20px 0; padding: 10px 0; overflow: hidden; box-shadow: inset 0 3px 0 rgba(255,255,255,.35), inset 0 -3px 0 rgba(90,47,33,.12); }
.fita-trilho { display: flex; width: max-content; gap: 22px; animation: correr 34s linear infinite; }
.fita-item { display: flex; align-items: center; gap: 10px; font-family: var(--puff); font-weight: 600; font-size: 1.3rem; color: var(--cafe); white-space: nowrap; }
.fita-item img { width: 44px; height: 44px; object-fit: contain; }
.fita-item svg { width: 14px; height: 14px; fill: var(--papel); margin-left: 12px; }
@keyframes correr { to { transform: translateX(-50%); } }

/* Cardápio */
.cardapio { padding: 64px 0 40px; }
.papel { background: var(--papel); border-radius: 34px; padding: 34px 18px 26px; border: 2px solid var(--lilas); outline: 2px solid var(--lilas); outline-offset: 6px; margin: 8px; }
.papel > .titulo-secao, .papel > .secao-sub { text-align: center; margin-inline: auto; }
.grade { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
.prod { position: relative; display: flex; flex-direction: column; }
.prod-ilus { width: 100%; height: auto; aspect-ratio: 420 / 300; object-fit: contain; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.prod:hover .prod-ilus { transform: rotate(-4deg) scale(1.04); }
.prod-nome { font-family: var(--puff); font-weight: 600; font-size: 1.22rem; line-height: 1.05; margin: 8px 0 0; }
.prod-detalhe { margin: 2px 0 0; font-size: .9rem; color: var(--cafe-suave); line-height: 1.25; min-height: 1.25em; }
.prod-baixo { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 6px; }
.prod-preco { font-weight: 900; font-size: 1.05rem; }
.selo-novo { position: absolute; top: 2px; right: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--rosa); font-family: var(--puff); font-weight: 600; font-size: .85rem; transform: rotate(14deg); box-shadow: 0 0 0 3px var(--papel); }
.prod.esgotado .prod-ilus { filter: grayscale(.9); opacity: .5; }
.prod-esgotado { font-weight: 900; font-size: .85rem; color: var(--cafe-suave); }
.passo { display: flex; align-items: center; gap: 2px; }
.passo button { width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--cafe); background: var(--papel); font-size: 1.35rem; font-weight: 900; line-height: 1; display: grid; place-items: center; padding: 0; }
.passo .mais { background: var(--cafe); color: var(--papel); }
.passo output { min-width: 20px; text-align: center; font-weight: 900; }
.extra { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; margin-top: 28px; padding: 16px; border-radius: 26px; background: var(--rosa-claro); }
.leque { position: relative; height: 92px; }
.leque img { position: absolute; width: 64px; top: 16px; }
.leque img:nth-child(1) { left: 0; transform: rotate(-16deg); }
.leque img:nth-child(2) { left: 24px; top: 0; z-index: 2; }
.leque img:nth-child(3) { left: 48px; transform: rotate(16deg); }

/* Puxa e vê por dentro */
.abre { background: var(--lilas-claro); padding: 64px 0 56px; border-radius: 44px 44px 0 0; }
.abre-grade { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.abre-sabores { display: flex; gap: 8px; overflow-x: auto; margin: 18px -18px 0; padding: 4px 18px 8px; scrollbar-width: none; }
.abre-sabores::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 14px 4px 5px; border-radius: 999px; border: 2px solid transparent; background: var(--papel); font-weight: 800; font-size: .95rem; white-space: nowrap; }
.chip img { width: 38px; height: 38px; object-fit: contain; }
.chip[aria-checked="true"] { border-color: var(--cafe); background: var(--pessego); }
.abre-palco { position: relative; background: var(--papel); border-radius: 34px; overflow: hidden; box-shadow: 0 0 0 2px var(--lilas); }
.abre-canvas { display: block; width: 100%; height: 330px; touch-action: pan-y; cursor: grab; }
.abre-canvas:active { cursor: grabbing; }
.abre-dica { position: absolute; top: 16px; left: 0; right: 0; margin: 0; text-align: center; font-family: var(--puff); font-weight: 600; font-size: 1.15rem; color: var(--lilas-tinta); pointer-events: none; }
.abre-dica span { display: inline-block; }
.abre-estalo { position: absolute; top: 14px; left: 0; right: 0; margin: 0; text-align: center; font-family: var(--puff); font-weight: 700; font-size: 1.7rem; color: var(--cafe); paint-order: stroke fill; -webkit-text-stroke: 7px var(--papel); pointer-events: none; }
.abre-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 18px; border-top: 2px dashed var(--lilas-claro); }
.abre-nome { margin: 0; font-family: var(--puff); font-weight: 600; font-size: 1.3rem; line-height: 1.1; }
.abre-recheio { margin: 2px 0 0; color: var(--cafe-suave); font-size: .95rem; }
.abre-acoes { display: flex; gap: 8px; }

/* Caixa */
.caixa-sec { background: var(--papel); padding: 64px 0 70px; }
.caixa-grade { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.tamanhos { display: flex; gap: 10px; margin-top: 18px; }
.tamanho { flex: 1; min-height: 66px; border-radius: 22px; border: 2.5px solid var(--lilas); background: transparent; display: grid; align-content: center; text-align: center; font-weight: 900; line-height: 1.15; padding: 8px; }
.tamanho small { display: block; font-weight: 700; color: var(--cafe-suave); font-size: .92rem; }
.tamanho[aria-checked="true"] { background: var(--lilas); }
.caixa-status { margin: 14px 0 0; font-weight: 900; min-height: 1.5em; }
.caixa-area { display: grid; justify-items: center; }
.caixa { position: relative; width: min(100%, 330px); perspective: 900px; }
.caixa[data-tam="6"] { width: min(100%, 410px); }
.caixa-fundo { background: var(--rosa-caixa); border-radius: 24px; padding: 14px; box-shadow: inset 0 -7px 0 rgba(90,47,33,.12), 0 18px 34px -20px rgba(90,47,33,.55); }
.caixa-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 12px; background: #F9E3DD; border-radius: 15px; box-shadow: inset 0 4px 12px rgba(90,47,33,.14); }
.caixa[data-tam="6"] .caixa-slots { grid-template-columns: repeat(3, 1fr); }
.slot { aspect-ratio: 1; border-radius: 50%; border: 2.5px dashed rgba(123,76,122,.4); background: rgba(255,255,255,.4); display: grid; place-items: center; padding: 0; color: rgba(123,76,122,.55); font-size: 1.6rem; font-weight: 900; }
.slot.cheio { border: 0; background: transparent; }
.slot img { width: 104%; height: 104%; max-width: none; object-fit: contain; filter: drop-shadow(0 5px 5px rgba(90,47,33,.25)); }
.caixa-tampa { position: absolute; inset: 0; border-radius: 24px; background: linear-gradient(180deg, #EDB8B4, var(--rosa-caixa)); display: grid; place-items: center; overflow: hidden; visibility: hidden; box-shadow: 0 18px 30px -16px rgba(90,47,33,.55); }
.fita { position: absolute; background: var(--lilas); }
.fita-v { top: 0; bottom: 0; left: 50%; width: 24px; transform: translateX(-50%); }
.fita-h { left: 0; right: 0; top: 50%; height: 24px; transform: translateY(-50%); }
.laco { position: absolute; width: 46%; left: 27%; top: calc(50% - 22%); z-index: 2; }
.tampa-selo { position: absolute; width: 26%; right: 8%; bottom: 8%; border-radius: 50%; box-shadow: 0 4px 10px rgba(90,47,33,.25); transform: rotate(-8deg); }
.escolha-titulo { margin: 0 0 10px; font-weight: 900; }
.escolhas { display: flex; gap: 10px; overflow-x: auto; margin-inline: -18px; padding: 4px 18px 12px; scroll-snap-type: x proximity; scrollbar-width: none; }
.escolhas::-webkit-scrollbar { display: none; }
.escolha { flex: 0 0 auto; width: 108px; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; padding: 10px 6px 12px; border-radius: 24px; border: 2px solid var(--lilas-claro); background: var(--fundo); text-align: center; }
.escolha img { width: 70px; height: 70px; object-fit: contain; }
.escolha b { font-family: var(--puff); font-weight: 600; font-size: .98rem; line-height: 1.1; }
.escolha span { font-size: .78rem; color: var(--cafe-suave); line-height: 1.15; }
.escolha[disabled] { opacity: .4; }
.caixa-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.caixa-acoes .botao { flex: 1 1 180px; }

/* Nossa história */
.historia { background: var(--rosa-claro); padding: 40px 0 0; overflow: hidden; }
.historia-grade { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); }
.historia-foto { position: relative; margin: 0 auto; width: min(100%, 440px); aspect-ratio: 440 / 430; }
.historia-arco { position: absolute; left: 0; bottom: 0; width: 100%; }
.historia-arco path { stroke-width: 34; }
.historia-foto img { position: absolute; bottom: 0; left: 10%; width: 80%; height: auto; }
.hist-brilho, .hist-coracao { position: absolute; z-index: 2; }
.hist-brilho { fill: var(--dourado); width: 24px; height: 24px; }
.hb1 { left: 4%; top: 22%; } .hb2 { right: 6%; top: 12%; width: 18px; height: 18px; fill: var(--lilas-tinta); }
.hist-coracao { right: 12%; top: 38%; width: 30px; height: 28px; fill: var(--rosa); transform: rotate(14deg); }
.historia-texto { max-width: 36rem; padding-bottom: 60px; }
.historia-texto p { margin: 1rem 0 0; }
.historia-abre { font-family: var(--puff); font-weight: 600; font-size: 1.32rem; line-height: 1.3; color: var(--lilas-tinta); }
.assinatura { font-family: var(--mao); font-weight: 600; font-size: 2.6rem; line-height: 1; display: flex; align-items: center; gap: 8px; margin-top: 1.2rem !important; }
.assinatura svg { width: 22px; height: 20px; fill: var(--rosa); }

/* Instagram */
.feed { padding: 64px 0; background: var(--fundo); }
.perfil { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; background: var(--papel); border-radius: 34px; padding: 24px 20px; }
.perfil-foto img { width: 92px; height: 92px; border-radius: 50%; box-shadow: 0 0 0 4px var(--papel), 0 0 0 9px var(--pessego), 0 0 0 14px var(--rosa), 0 0 0 19px var(--lilas); margin: 19px; }
.perfil-foto { display: block; }
.perfil-nome { font-family: var(--puff); font-weight: 700; font-size: 1.7rem; line-height: 1; }
.perfil-arroba { margin: 4px 0 8px; font-weight: 800; color: var(--lilas-tinta); }
.perfil-bio { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: .95rem; }
.perfil-bio li { display: flex; align-items: center; gap: 8px; }
.perfil-bio svg { width: 12px; height: 12px; fill: var(--dourado); flex: 0 0 auto; }
.perfil-seguir { grid-column: 1 / -1; }
.posts { display: flex; gap: 16px; overflow-x: auto; margin: 22px -18px 0; padding: 4px 18px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.posts::-webkit-scrollbar { display: none; }
.post { flex: 0 0 auto; width: min(82vw, 340px); scroll-snap-align: center; border-radius: 24px; overflow: hidden; background: var(--papel); box-shadow: 0 0 0 2px var(--lilas); }
.post .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.post-reserva { display: grid; place-items: center; gap: 10px; min-height: 380px; padding: 24px; text-align: center; color: var(--cafe); text-decoration: none; font-weight: 900; }
.post-reserva img { width: 90px; border-radius: 50%; }

/* Etiquetas */
.etiquetas { padding: 30px 0 70px; }
.etiquetas-grade { display: grid; gap: 38px; }
.etiqueta { position: relative; background: var(--papel); padding: 54px 24px 26px; border-radius: 20px; filter: drop-shadow(0 12px 14px rgba(90,47,33,.12)); clip-path: polygon(16% 0, 84% 0, 100% 9%, 100% 100%, 0 100%, 0 9%); }
.etiqueta::before { content: ""; position: absolute; top: 18px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--fundo); box-shadow: inset 0 2px 4px rgba(90,47,33,.25); }
.et-fita { position: absolute; top: -2px; left: 50%; width: 46px; margin-left: -23px; z-index: 2; }
.et-1 { transform: rotate(-1.5deg); }
.et-2 { transform: rotate(1.5deg); }
.etiqueta h2 { font-family: var(--puff); font-weight: 700; font-size: 1.8rem; text-align: center; margin-bottom: 14px; }
.pagamentos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pagamentos li { display: flex; gap: 12px; align-items: center; font-weight: 800; }
.pagamentos li::before { content: ""; width: 26px; height: 13px; border-radius: 26px 26px 0 0; flex: 0 0 auto; background: var(--cor, var(--lilas)); }
.regra { margin: 16px 0 0; padding: 12px 14px; background: var(--rosa-claro); border-radius: 14px; color: var(--cafe); font-size: .95rem; }
.cuidados { margin: 0; display: grid; gap: 12px; }
.cuidados dt { font-weight: 900; }
.cuidados dd { margin: 0; color: var(--cafe-suave); }

/* Rodapé */
.rodape { display: grid; justify-items: center; gap: 12px; padding: 40px 20px calc(110px + env(safe-area-inset-bottom)); background: var(--papel); text-align: center; }
.rodape-arco { width: 150px; }
.rodape-arco path { stroke-width: 26; }
.rodape-frase { margin: 0; font-family: var(--mao); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--lilas-tinta); transform: rotate(-3deg); }
.rodape-links { display: flex; gap: 10px; }
.rodape-links a { min-height: 46px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 2.5px solid var(--lilas); color: var(--cafe); text-decoration: none; font-weight: 900; }
.credito { color: var(--cafe-suave); font-size: .85rem; margin-top: 8px; }

/* Barra do pedido */
.barra-pedido { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 22px; background: var(--cafe); color: var(--papel); border-radius: 999px; box-shadow: 0 14px 30px -12px rgba(90,47,33,.6); font-weight: 900; max-width: 560px; margin-inline: auto; }
.barra-pedido .botao { background: var(--lilas); border-color: var(--lilas); min-height: 46px; }

/* Folha do pedido */
.folha-fundo { position: fixed; inset: 0; background: rgba(90,47,33,.42); z-index: 50; }
.folha { position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; max-height: 92dvh; display: flex; flex-direction: column; background: var(--papel); border-radius: 30px 30px 0 0; box-shadow: 0 -10px 40px rgba(90,47,33,.25); }
.folha-cab { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; }
.folha-cab h2 { font-family: var(--puff); font-weight: 700; font-size: 1.9rem; }
.fechar { min-height: 46px; padding: 0 16px; border-radius: 999px; border: 2.5px solid var(--lilas); background: transparent; font-weight: 900; }
.folha-corpo { overflow-y: auto; padding: 0 20px calc(24px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.itens { list-style: none; margin: 0; padding: 0; }
.it { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 2px dashed var(--lilas-claro); align-items: center; }
.it-nome { font-weight: 900; }
.it-sabores { grid-column: 1 / -1; margin: 0; color: var(--cafe-suave); font-size: .92rem; }
.it-lado { display: flex; align-items: center; gap: 6px; }
.it-preco { font-weight: 900; white-space: nowrap; }
.remover { min-height: 44px; padding: 0 10px; border: 0; background: none; color: var(--lilas-tinta); font-weight: 900; text-decoration: underline; }
.vazio { color: var(--cafe-suave); }
.caixinha { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 4px; padding: 14px; border-radius: 16px; background: var(--fundo); font-weight: 700; }
.caixinha input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--cafe); flex: 0 0 auto; }
.form { margin-top: 16px; display: grid; gap: 14px; }
.campo { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.campo label, .campo legend { font-weight: 900; padding: 0; }
.opcional { font-weight: 600; color: var(--cafe-suave); }
.campo input, .campo textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 16px; border: 2.5px solid var(--lilas); background: #fff; font-weight: 700; }
.campo textarea { min-height: 72px; resize: vertical; }
.campo input[aria-invalid="true"] { border-color: #B3261E; }
.opcoes { display: grid; gap: 8px; }
.opcao { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border-radius: 16px; border: 2.5px solid var(--lilas-claro); background: #fff; font-weight: 800; }
.opcao:has(input:checked) { border-color: var(--cafe); background: var(--fundo); }
.opcao input { width: 20px; height: 20px; accent-color: var(--cafe); margin: 0; }
.erro { margin: 0; color: #B3261E; font-weight: 800; font-size: .92rem; }
.erro:empty { display: none; }
.regra-folha { margin: 0; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.2rem; padding: 6px 2px; }
.total strong { font-family: var(--puff); font-weight: 700; font-size: 1.8rem; }
.voo { position: fixed; z-index: 70; width: 60px; height: 60px; object-fit: contain; pointer-events: none; }

@media (min-width: 640px) {
  .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .papel { padding: 44px 34px 34px; }
  .etiquetas-grade { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (min-width: 960px) {
  .topo { padding: 10px 28px; }
  .topo-nav { display: flex; }
  .hero { display: grid; grid-template-columns: 1fr 1.1fr; grid-template-rows: auto auto; width: min(100% - 48px, 1200px); margin: 0 auto; padding: 30px 0 60px; align-items: center; column-gap: 20px; overflow: visible; }
  .hero-texto { grid-column: 1; grid-row: 1; text-align: left; width: auto; margin: 0; align-self: end; }
  .hero-baixo { grid-column: 1; grid-row: 2; text-align: left; width: auto; margin: 22px 0 0; align-self: start; }
  .hero-sub { margin-left: 0; }
  .hero-acoes { justify-content: flex-start; }
  .hero-palco { grid-column: 2; grid-row: 1 / span 2; height: 600px; max-width: none; width: 100%; margin: 0; }
  .grade { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 22px; }
  .abre-grade { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 40px; }
  .abre-canvas { height: 420px; }
  .caixa-grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "texto area" "escolha area"; column-gap: 50px; align-items: start; }
  .caixa-texto { grid-area: texto; } .caixa-area { grid-area: area; align-self: center; } .caixa-escolha { grid-area: escolha; }
  .historia-grade { grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; }
  .historia-texto { padding-bottom: 64px; }
  .feed .perfil { grid-template-columns: auto 1fr auto; padding: 26px 34px; }
  .perfil-seguir { grid-column: auto; }
  .folha { left: auto; top: 0; width: 460px; max-height: none; border-radius: 30px 0 0 30px; }
  .barra-pedido { left: auto; right: 24px; bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .fita-trilho { animation: none; }
}
