/* Magic Cookie Shop · cores medidas no logo e nas artes do Instagram deles */
:root {
  --laranja: #da511d;
  --laranja-forte: #bf4210;
  --brasa: #f08a3c;
  --marrom: #4d2609;
  --cacau: #2c1403;
  --creme: #fdf2e2;
  --pessego: #fbe3cc;
  --papel: #fffaf2;
  --letreiro: 'Titan One', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --texto: 'Montserrat', system-ui, sans-serif;
  --mao: 'Caveat Brush', 'Bradley Hand', cursive;
  --largura: 1240px;
  --borda: clamp(18px, 4.5vw, 56px);
  /* papel de embrulho da loja: o selo repetido */
  --papel-selo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='190' viewBox='0 0 220 190'%3E%3Cg fill='none' stroke='%23da511d' stroke-width='1.6' opacity='.3'%3E%3Cg transform='rotate(-14 62 52)'%3E%3Cellipse cx='62' cy='52' rx='40' ry='31'/%3E%3Ctext x='62' y='49' text-anchor='middle' font-family='Arial Black,Arial,sans-serif' font-weight='900' font-size='12' fill='%23da511d' stroke='none'%3EMAGIC%3C/text%3E%3Ctext x='62' y='63' text-anchor='middle' font-family='Arial Black,Arial,sans-serif' font-weight='900' font-size='12' fill='%23da511d' stroke='none'%3ECOOKIE%3C/text%3E%3C/g%3E%3Cg transform='rotate(-14 172 147)'%3E%3Cellipse cx='172' cy='147' rx='40' ry='31'/%3E%3Ctext x='172' y='144' text-anchor='middle' font-family='Arial Black,Arial,sans-serif' font-weight='900' font-size='12' fill='%23da511d' stroke='none'%3EMAGIC%3C/text%3E%3Ctext x='172' y='158' text-anchor='middle' font-family='Arial Black,Arial,sans-serif' font-weight='900' font-size='12' fill='%23da511d' stroke='none'%3ECOOKIE%3C/text%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  /* retícula das artes */
  --reticula: radial-gradient(circle, rgb(255 255 255 / .2) 1.6px, transparent 2px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--creme);
  color: var(--marrom);
  font-family: var(--texto);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cacau); outline-offset: 3px; border-radius: 6px; }
.faixa-dentro :focus-visible, .abertura :focus-visible, .chamada :focus-visible, .faixa-pedir :focus-visible { outline-color: #fff; }

.pular { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cacau); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 12px; }
.pular:focus { top: 0; }
.mao { font-family: var(--mao); font-weight: 400; line-height: 1.1; }

/* botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  border: 0; border-radius: 999px;
  font-weight: 800; font-size: 16px; letter-spacing: .01em; text-decoration: none; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.botao svg { width: 22px; height: 22px; flex: none; }
.botao:hover { transform: translateY(-2px); }
.botao:active { transform: translateY(1px); }
.botao-escuro { background: var(--marrom); color: var(--creme); box-shadow: 0 5px 0 var(--cacau); }
.botao-claro { background: var(--papel); color: var(--marrom); box-shadow: 0 5px 0 rgb(44 20 3 / .28); }
.botao-laranja { background: var(--laranja-forte); color: #fff; box-shadow: 0 5px 0 #8f2f08; }
.botao-zap { background: #128c4b; color: #fff; box-shadow: 0 5px 0 #0b5c31; width: 100%; }
.botoes { display: flex; flex-wrap: wrap; gap: 14px; }

/* a palavra em adesivo, como nas artes: tarja colorida com contorno branco */
.adesivo {
  display: inline-block; padding: .02em .22em .06em; margin: .04em 0;
  background: var(--marrom); color: var(--creme);
  border: .07em solid var(--papel); border-radius: .2em;
  rotate: -2.5deg;
  box-shadow: 0 .08em 0 rgb(44 20 3 / .25);
}
.adesivo-laranja { background: var(--laranja); color: #fff; }

/* topo */
.topo { position: sticky; top: 0; z-index: 40; background: var(--laranja); color: #fff; border-bottom: 3px solid var(--marrom); }
.topo-dentro { max-width: var(--largura); margin: 0 auto; padding: 8px var(--borda); display: flex; align-items: center; gap: 18px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.marca img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--marrom); }
.marca span { font-family: var(--letreiro); font-size: 22px; color: var(--cacau); text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.menu { display: flex; gap: 4px; }
.menu a { padding: 10px 13px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--cacau); }
.menu a:hover { background: rgb(255 255 255 / .22); }
.sacola-botao { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 8px 6px 16px; border: 0; border-radius: 999px; background: var(--marrom); color: var(--creme); font-weight: 800; font-size: 15px; }
.sacola-botao svg { width: 22px; height: 22px; }
.sacola-botao b { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--papel); color: var(--marrom); display: grid; place-items: center; font-size: 14px; }
.sacola-botao.pulou b { animation: pulo .35s ease; }
@keyframes pulo { 40% { transform: scale(1.35); } }
.menu-botao { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .22); padding: 13px 11px; flex-direction: column; justify-content: space-between; align-items: stretch; }
.menu-botao span { display: block; height: 3px; border-radius: 3px; background: var(--cacau); }

/* abertura */
.abertura { background: var(--laranja); background-image: var(--reticula); background-size: 16px 16px; color: #fff; overflow: hidden; }
.abertura-dentro { max-width: var(--largura); margin: 0 auto; padding: clamp(34px, 6vw, 76px) var(--borda) clamp(46px, 7vw, 90px); display: grid; grid-template-columns: 1.22fr .78fr; gap: clamp(24px, 3vw, 48px); align-items: center; }
.abertura-mao { font-size: clamp(24px, 2.6vw, 34px); color: var(--cacau); transform: rotate(-2deg); transform-origin: left; margin-bottom: 10px; }
.abertura-titulo { font-family: var(--letreiro); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 5.5vw, 82px); line-height: .98; letter-spacing: .005em; color: var(--papel); text-shadow: 0 .05em 0 rgb(44 20 3 / .3); }
.abertura-titulo span { display: block; width: fit-content; white-space: nowrap; }
.abertura-titulo .adesivo { text-shadow: none; margin-top: .1em; }
.abertura-titulo .adesivo + .adesivo { rotate: 1.5deg; margin-left: .35em; margin-top: -.04em; }
.abertura-lide { max-width: 30em; margin: 28px 0 26px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; color: var(--cacau); }

.abertura-foto { position: relative; justify-self: center; width: min(100%, 470px); padding: 9% 0; }
.retrato { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 10px solid var(--papel); box-shadow: 0 0 0 4px var(--marrom), 0 22px 0 -4px rgb(44 20 3 / .22); background: var(--marrom); }
.retrato img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 12%; }
.ramo { position: absolute; left: 50%; width: 62%; aspect-ratio: 310 / 100; color: var(--papel); }
.ramo-cima { top: -3%; transform: translateX(-50%); }
.ramo-baixo { bottom: -3%; transform: translateX(-50%) rotate(180deg); }
.etiqueta-foto { position: absolute; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 15px; white-space: nowrap; border: 3px solid var(--papel); }
.etiqueta-foto-a { left: -6%; bottom: 22%; background: var(--marrom); color: var(--creme); --giro: -7deg; rotate: var(--giro); font-family: var(--mao); font-weight: 400; font-size: 23px; padding: 4px 18px 6px; }
.etiqueta-foto-b { right: -4%; top: 21%; background: var(--papel); color: var(--marrom); border-color: var(--marrom); --giro: 6deg; rotate: var(--giro); font-family: var(--letreiro); font-weight: 400; font-size: 19px; text-transform: uppercase; }
.etiqueta-foto-b small { font-family: var(--texto); font-weight: 800; font-size: 13px; margin-left: 6px; color: var(--laranja-forte); }

/* letreiro corrido */
.letreiro { position: relative; z-index: 2; width: 104%; margin: -16px -2% -18px; rotate: -1.3deg; background: var(--marrom); color: var(--creme); overflow: hidden; border-block: 3px solid var(--cacau); box-shadow: 0 8px 0 rgb(44 20 3 / .18); }
.letreiro-fita { display: flex; align-items: center; gap: 26px; width: max-content; padding: 13px 0; animation: corre 44s linear infinite; }
.letreiro:hover .letreiro-fita, .letreiro:focus-within .letreiro-fita { animation-play-state: paused; }
.letreiro i { animation: gira 6s linear infinite; }
.letreiro-pausa { position: absolute; right: 3%; top: 50%; translate: 0 -50%; min-height: 34px; padding: 4px 14px; border: 2px solid var(--marrom); border-radius: 999px; background: var(--papel); color: var(--marrom); font-weight: 800; font-size: 12.5px; opacity: 0; }
.letreiro:hover .letreiro-pausa, .letreiro-pausa:focus-visible, .parado .letreiro-pausa { opacity: 1; }
.letreiro span { font-family: var(--letreiro); text-transform: uppercase; font-size: 19px; letter-spacing: .04em; white-space: nowrap; }
.letreiro i { width: 15px; height: 15px; border-radius: 50%; background: var(--brasa); flex: none; box-shadow: inset -3px -2px 0 rgb(44 20 3 / .35); }
@keyframes corre { to { transform: translateX(-50%); } }

/* faixas */
.faixa { max-width: var(--largura); margin: 0 auto; padding: clamp(60px, 9vw, 120px) var(--borda); }
.cabeca { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 4vw, 52px); }
.cabeca .rotulo { grid-column: 1 / -1; }
.cabeca-texto { max-width: 32em; padding-bottom: 8px; }
.rotulo { display: inline-flex; align-items: center; gap: 10px; width: fit-content; margin-bottom: 16px; padding: 6px 16px; border-radius: 999px; background: var(--marrom); color: var(--creme); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.rotulo::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--brasa); }
.rotulo-claro { background: var(--papel); color: var(--marrom); }
.titulo { font-family: var(--letreiro); font-weight: 400; text-transform: uppercase; font-size: clamp(38px, 5.6vw, 78px); line-height: 1; color: var(--marrom); text-wrap: balance; }
.nota { margin-top: 26px; font-size: 13.5px; font-weight: 600; color: #7a4a26; }

/* cardápio */
.faixa-cardapio { position: relative; }
.filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filtros button { min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 2.5px solid var(--marrom); background: transparent; font-weight: 800; font-size: 15px; color: var(--marrom); }
.filtros button[aria-pressed='true'] { background: var(--marrom); color: var(--creme); }
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }

.cookie { position: relative; display: flex; flex-direction: column; background: var(--papel); border-radius: 30px; padding: 12px 12px 20px; box-shadow: 0 2px 0 rgb(77 38 9 / .1), 0 14px 30px -18px rgb(77 38 9 / .5); }
.cookie[hidden] { display: none; }
.cookie-foto { position: relative; }
/* a mordida no canto da foto */
.cookie-foto img {
  width: 100%; aspect-ratio: 1 / .92; object-fit: cover; border-radius: 22px;
  -webkit-mask: radial-gradient(circle var(--mordida) at calc(100% - 4px) 6px, #0000 97%, #000), radial-gradient(circle calc(var(--mordida) * .58) at calc(100% - var(--mordida) * 1.4) 0, #0000 97%, #000), radial-gradient(circle calc(var(--mordida) * .55) at 100% calc(var(--mordida) * 1.45), #0000 97%, #000);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle var(--mordida) at calc(100% - 4px) 6px, #0000 97%, #000), radial-gradient(circle calc(var(--mordida) * .58) at calc(100% - var(--mordida) * 1.4) 0, #0000 97%, #000), radial-gradient(circle calc(var(--mordida) * .55) at 100% calc(var(--mordida) * 1.45), #0000 97%, #000);
  mask-composite: intersect;
}
.cookie-num { position: absolute; left: 12px; top: 12px; padding: 4px 12px; border-radius: 999px; background: var(--papel); color: var(--marrom); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.cookie-preco { position: absolute; left: -6px; bottom: -16px; padding: 5px 14px 6px; background: var(--laranja); color: #fff; border: 3px solid var(--papel); border-radius: 12px; font-family: var(--letreiro); font-size: 22px; line-height: 1; rotate: -4deg; box-shadow: 0 4px 0 rgb(44 20 3 / .22); }
.cookie-preco small { font-family: var(--texto); font-weight: 800; font-size: 12px; margin-right: 3px; }
.cookie h3 { margin: 30px 8px 8px; font-family: var(--letreiro); font-weight: 400; text-transform: uppercase; font-size: 27px; line-height: 1; color: var(--marrom); }
.cookie-desc { margin: 0 8px 18px; font-size: 14.5px; line-height: 1.5; color: #6b3d1b; flex: 1; }
.cookie-pe { display: flex; align-items: center; gap: 10px; margin: 0 8px; }
.cookie-pe .botao { flex: 1; min-height: 48px; padding: 10px 16px; font-size: 15px; }
.passo { display: none; align-items: center; gap: 4px; flex: 1; height: 48px; padding: 4px; border-radius: 999px; background: var(--marrom); color: var(--creme); }
.passo button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--papel); color: var(--marrom); font-weight: 900; font-size: 20px; line-height: 1; }
.passo output { flex: 1; text-align: center; font-weight: 800; }
.cookie.na-sacola .passo { display: flex; }
.cookie.na-sacola .cookie-pe .botao { display: none; }
.cookie.na-sacola { box-shadow: 0 0 0 3px var(--laranja), 0 14px 30px -18px rgb(77 38 9 / .5); }

/* por dentro */
.faixa-dentro { max-width: none; background: var(--laranja); background-image: var(--reticula); background-size: 16px 16px; color: var(--cacau); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-inline: max(var(--borda), calc((100vw - var(--largura)) / 2 + var(--borda))); }
.faixa-dentro .titulo { color: var(--papel); text-shadow: 0 .05em 0 rgb(44 20 3 / .3); }
.faixa-dentro p { font-weight: 600; margin: 22px 0; max-width: 30em; }
.dentro-foto { position: relative; }
.dentro-foto img { width: 100%; border-radius: 44% 56% 52% 48% / 50% 46% 54% 50%; border: 10px solid var(--papel); box-shadow: 0 0 0 4px var(--marrom); }
.seta-nota { position: absolute; padding: 4px 18px 7px; background: var(--papel); color: var(--marrom); border: 3px solid var(--marrom); border-radius: 999px; font-size: clamp(20px, 2vw, 26px); white-space: nowrap; }
.seta-nota-a { left: -2%; top: 12%; rotate: -6deg; }
.seta-nota-b { right: -2%; bottom: 14%; rotate: 4deg; background: var(--marrom); color: var(--creme); border-color: var(--papel); }
.tres { display: grid; gap: 12px; margin: 0 0 28px; }
.tres li { display: grid; grid-template-columns: 124px 1fr; gap: 14px; align-items: baseline; padding-top: 12px; border-top: 2px solid rgb(44 20 3 / .3); font-weight: 600; font-size: 15.5px; }
.tres b { font-family: var(--letreiro); font-weight: 400; text-transform: uppercase; font-size: 20px; color: var(--papel); }

/* encomendas */
.vitrines { display: grid; gap: clamp(30px, 5vw, 70px); }
.vitrine { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(22px, 5vw, 72px); align-items: center; }
.vitrine-foto { position: relative; padding: clamp(14px, 2vw, 24px); background-color: var(--papel); background-image: var(--papel-selo); background-size: 150px; border-radius: 34px; --giro: -1.6deg; rotate: var(--giro); box-shadow: 0 14px 30px -18px rgb(77 38 9 / .55); }
.vitrine-vira .vitrine-foto { --giro: 1.6deg; }
.vitrine-foto img { width: 100%; aspect-ratio: 4 / 3.5; object-fit: cover; object-position: 50% 82%; border-radius: 22px; }
.vitrine-texto .mao { font-size: 27px; color: var(--laranja-forte); transform: rotate(-2deg); transform-origin: left; }
.vitrine-texto h3 { margin: 4px 0 14px; font-family: var(--letreiro); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.8vw, 50px); line-height: 1; }
.vitrine-texto > p:not(.mao) { max-width: 30em; }
.vitrine-texto .sabores { margin: 12px 0 26px; font-weight: 800; }
.datas { margin-top: clamp(40px, 6vw, 80px); padding: clamp(24px, 3.6vw, 44px); border-radius: 34px; background: var(--pessego); }
.datas-titulo { font-family: var(--letreiro); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 20px; }
.datas ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 30px; margin-bottom: 22px; }
.datas li { border-top: 3px solid var(--marrom); padding-top: 12px; font-size: 15px; }
.datas b { display: block; font-weight: 800; font-size: 17px; margin-bottom: 2px; }
.datas p { font-size: 15px; font-weight: 600; }
.datas a { font-weight: 800; color: var(--laranja-forte); }

/* como pedir */
.faixa-pedir { max-width: none; background: var(--marrom); color: var(--creme); padding-inline: max(var(--borda), calc((100vw - var(--largura)) / 2 + var(--borda))); }
.faixa-pedir .titulo { color: var(--creme); }
.canais { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 28px); }
.canal { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(22px, 2.6vw, 34px); border-radius: 30px; background: var(--laranja); color: var(--cacau); }
.canal:nth-child(2) { background: var(--papel); }
.canal:nth-child(3) { background: var(--brasa); }
.canal h3 { font-family: var(--letreiro); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1; }
.canal p { font-weight: 600; font-size: 15.5px; flex: 1; }

/* cookieto */
.faixa-cookieto { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 80px); align-items: center; }
.cookieto-figura { position: relative; justify-self: center; width: min(86%, 380px); aspect-ratio: 1; margin-top: 60px; border-radius: 50%; background: var(--marrom); background-image: var(--reticula); background-size: 16px 16px; border: 10px solid var(--papel); box-shadow: 0 0 0 4px var(--marrom); display: grid; place-items: end center; }
.cookieto-figura img { position: absolute; left: -6%; bottom: -9%; width: 112%; max-width: none; transform-origin: 50% 90%; }
.cookieto-texto > p:not(.rotulo) { margin: 22px 0; max-width: 30em; }
.mimos { display: grid; gap: 12px; margin-bottom: 28px; }
.mimos li { padding-top: 12px; border-top: 3px solid var(--marrom); font-size: 15px; }
.mimos b { display: block; font-weight: 800; font-size: 16.5px; }

/* a cozinha */
.faixa-sobre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(26px, 5vw, 80px); align-items: center; border-top: 3px solid var(--marrom); }
.sobre-fotos { position: relative; padding: 0 10% 16% 0; }
.sobre-foto-a { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 30px; }
.sobre-foto-b { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--creme); box-shadow: 0 0 0 3px var(--marrom); }
.sobre-texto p { margin-top: 18px; max-width: 30em; }
.sobre-texto .frase { font-size: clamp(26px, 2.8vw, 36px); color: var(--laranja-forte); margin-top: 22px; }
.sobre-texto .botao { margin-top: 28px; }

/* instagram */
.faixa-insta { padding-top: 0; }
.feed { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.feed a { display: block; position: relative; border-radius: 18px; overflow: hidden; }
.feed img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feed span { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 6px 8px; border-radius: 999px; background: var(--papel); color: var(--marrom); font-weight: 800; font-size: 12.5px; text-align: center; opacity: 0; translate: 0 8px; transition: opacity .2s, translate .2s; }
.feed a:hover span, .feed a:focus-visible span { opacity: 1; translate: 0 0; }
.fome { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.fome .mao { flex-basis: 100%; font-size: clamp(28px, 3vw, 38px); color: var(--laranja-forte); rotate: -2deg; transform-origin: left; }
.botao-zap-curto { width: auto; }
.botao-fome { animation: fome 4.5s 2s ease-in-out infinite; }
@keyframes fome { 0%, 84%, 100% { rotate: 0deg; scale: 1; } 87% { rotate: -3deg; scale: 1.05; } 91% { rotate: 3deg; scale: 1.05; } 95% { rotate: -2deg; scale: 1.03; } }

/* chamada final */
.chamada { background: var(--laranja); background-image: var(--reticula); background-size: 16px 16px; text-align: center; padding: clamp(60px, 9vw, 110px) var(--borda); display: grid; justify-items: center; }
.chamada-cookieto { width: clamp(120px, 15vw, 170px); margin-bottom: 6px; transform-origin: 50% 90%; }
.chamada h2 { font-family: var(--letreiro); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 5vw, 66px); line-height: 1.02; color: var(--papel); max-width: 16em; text-shadow: 0 .05em 0 rgb(44 20 3 / .3); text-wrap: balance; }
.chamada .mao { font-size: clamp(30px, 4vw, 48px); color: var(--cacau); margin: 8px 0 30px; transform: rotate(-2deg); }
.chamada .botoes { justify-content: center; }

/* rodapé */
.rodape { background: var(--cacau); color: #e9cfb4; padding: clamp(40px, 6vw, 70px) var(--borda) 110px; }
.rodape-dentro { max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1.2fr 1fr .8fr; gap: 34px; }
.rodape-marca img { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 14px; }
.rodape-marca p { font-family: var(--letreiro); text-transform: uppercase; font-size: 20px; line-height: 1.15; color: var(--creme); }
.rodape-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.rodape-col h3 { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brasa); margin-bottom: 4px; }
.rodape-col a { text-decoration: none; padding: 3px 0; }
.rodape-col a:hover { color: #fff; text-decoration: underline; }
.rodape-fim { max-width: var(--largura); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .16); font-size: 13.5px; }
.rodape :focus-visible { outline-color: #fff; }

/* sacola */
.barra-sacola { position: fixed; left: 50%; bottom: 16px; z-index: 30; translate: -50% 0; display: flex; align-items: center; gap: 12px; min-height: 58px; width: min(440px, calc(100vw - 28px)); padding: 8px 22px; border: 3px solid var(--papel); border-radius: 999px; background: var(--marrom); color: var(--creme); font-weight: 800; box-shadow: 0 12px 30px -8px rgb(44 20 3 / .7); }
.barra-sacola[hidden] { display: none; }
.barra-sacola svg { width: 24px; height: 24px; }
.barra-sacola span, .barra-sacola strong { white-space: nowrap; }
.barra-sacola strong { margin-left: auto; font-family: var(--letreiro); font-weight: 400; font-size: 21px; }
.veu { position: fixed; inset: 0; z-index: 50; background: rgb(44 20 3 / .55); }
.sacola { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(440px, 100vw); display: flex; flex-direction: column; background-color: var(--creme); background-image: var(--papel-selo); background-size: 150px; box-shadow: -10px 0 40px rgb(44 20 3 / .35); }
.sacola[hidden], .veu[hidden], .sacola-pe[hidden], .sacola-vazia[hidden] { display: none; }
.sacola-topo { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--laranja); border-bottom: 3px solid var(--marrom); }
.sacola-topo h2 { font-family: var(--letreiro); font-weight: 400; text-transform: uppercase; font-size: 26px; color: var(--papel); }
.fechar { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--marrom); color: var(--creme); font-size: 28px; line-height: 1; }
.sacola-vazia { margin: auto; padding: 30px; text-align: center; display: grid; justify-items: center; gap: 16px; font-weight: 700; }
.sacola-vazia img { width: 150px; transform-origin: 50% 90%; animation: gingado 2.6s ease-in-out infinite; }
.sacola-itens { flex: 1; overflow: auto; padding: 14px; display: grid; gap: 10px; align-content: start; }
.sacola-itens:empty { display: none; }
.item { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 20px; background: var(--papel); }
.item img { width: 62px; height: 62px; object-fit: cover; border-radius: 14px; }
.item h3 { font-weight: 800; font-size: 15.5px; line-height: 1.2; }
.item p { font-size: 13.5px; color: #6b3d1b; }
.item .passo { display: flex; flex: none; height: 42px; }
.item .passo button { width: 34px; height: 34px; font-size: 18px; }
.item .passo output { min-width: 26px; }
.sacola-pe { padding: 16px 20px 20px; background: var(--papel); border-top: 3px solid var(--marrom); display: grid; gap: 12px; }
.campo { display: grid; gap: 5px; font-weight: 700; font-size: 14px; }
.campo-erro { margin-top: -6px; font-weight: 800; font-size: 13.5px; color: #a3200c; }
.campo-erro[hidden] { display: none; }
.campo input[aria-invalid='true'] { border-color: #a3200c; background: #fff1ec; }
.campo.treme { animation: treme .4s; }
.campo input { min-height: 48px; padding: 10px 16px; border: 2.5px solid var(--marrom); border-radius: 14px; background: #fff; font: inherit; font-size: 16px; color: var(--cacau); }
.sacola-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.sacola-total strong { font-family: var(--letreiro); font-weight: 400; font-size: 30px; color: var(--laranja-forte); }
.sacola-aviso { font-size: 13px; font-weight: 600; color: #6b3d1b; }
.limpar { border: 0; background: none; padding: 8px; font-weight: 700; font-size: 14px; text-decoration: underline; color: #6b3d1b; justify-self: center; }

/* telas menores */
@media (max-width: 980px) {
  .menu { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 0; padding: 8px var(--borda) 16px; background: var(--laranja); border-bottom: 3px solid var(--marrom); }
  .menu.aberto { display: flex; }
  .menu a { padding: 14px 6px; border-radius: 0; border-bottom: 2px solid rgb(44 20 3 / .2); font-size: 17px; }
  .menu-botao { display: flex; }
  .topo-dentro { position: relative; gap: 10px; }
  .abertura-dentro, .faixa-dentro, .faixa-cookieto, .faixa-sobre { grid-template-columns: 1fr; }
  .abertura-foto { width: min(84%, 400px); order: -1; }
  .cabeca { grid-template-columns: 1fr; row-gap: 16px; }
  .vitrine { grid-template-columns: 1fr; }
  .canais, .datas ul { grid-template-columns: 1fr; }
  .feed { grid-template-columns: repeat(3, 1fr); }
  .rodape-dentro { grid-template-columns: 1fr 1fr; }
  .dentro-foto { width: min(100%, 460px); justify-self: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .marca span { display: none; }
  .sacola-botao span { display: none; }
  .sacola-botao { padding-left: 12px; }
  .grade { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cookie { border-radius: 22px; padding: 8px 8px 14px; }
  .cookie-foto img { border-radius: 16px; }
  .cookie h3 { font-size: 20px; margin: 26px 4px 6px; }
  .cookie-desc { font-size: 13px; margin: 0 4px 12px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .cookie-pe { margin: 0 2px; }
  .cookie-pe .botao { padding: 8px 6px; font-size: 14px; min-height: 44px; }
  .cookie-preco { font-size: 18px; left: -4px; }
  .cookie-num { font-size: 9.5px; letter-spacing: .06em; left: 8px; top: 8px; padding: 3px 8px; }
  .barra-sacola { font-size: 15px; padding: 8px 18px; gap: 10px; }
  .passo { height: 44px; }
  .passo button { width: 36px; height: 36px; }
  .tres li { grid-template-columns: 1fr; gap: 2px; }
  .rodape-dentro { grid-template-columns: 1fr; }
  .etiqueta-foto-a { font-size: 19px; left: -8%; }
  .etiqueta-foto-b { font-size: 15px; right: -8%; }
  .botoes .botao, .fome .botao { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .botao { transition: none; }
  .sacola-botao.pulou b { animation: none; }
}

/* movimento
   As animações tocam mesmo com "Reduzir movimento" ligado no aparelho (pedido do dono em 07/10/2026);
   quem quiser parar usa o botão "Pausar animações" do letreiro, que guarda a escolha. */
@property --mordida { syntax: '<length>'; inherits: true; initial-value: 40px; }
.cookie { --mordida: 40px; transition: --mordida .28s cubic-bezier(.3, 1.6, .5, 1); }
.cookie:hover, .cookie:focus-within { --mordida: 47px; }
.cookie.na-sacola { --mordida: 55px; }
.cookie.nhac { animation: nhac .45s ease; }
@media (max-width: 560px) { .cookie { --mordida: 30px; } .cookie:hover, .cookie:focus-within { --mordida: 34px; } .cookie.na-sacola { --mordida: 40px; } }

@keyframes gira { to { rotate: 360deg; } }
@keyframes sobe { from { opacity: 0; translate: 0 26px; } }
@keyframes carimbo { from { opacity: 0; scale: 1.7; } 60% { opacity: 1; scale: .93; } }
@keyframes pop { from { opacity: 0; scale: .5; } 70% { opacity: 1; scale: 1.07; } }
@keyframes cresce { from { opacity: 0; scale: .15; } }
@keyframes forno { from { opacity: 0; translate: 0 38px; scale: .93; } 65% { opacity: 1; translate: 0 -6px; scale: 1.015; } }
@keyframes joga { from { opacity: 0; rotate: calc(var(--giro) * 6); translate: -46px 34px; } }
@keyframes balanco { 0%, 100% { rotate: calc(var(--giro) - 2.5deg); } 50% { rotate: calc(var(--giro) + 2.5deg); } }
@keyframes gingado { 0%, 100% { rotate: -3deg; translate: 0 2px; } 50% { rotate: 3deg; translate: 0 -8px; } }
@keyframes nhac { 30% { scale: .955; rotate: -1.6deg; } 62% { scale: 1.02; rotate: 1deg; } }
@keyframes entra { from { translate: 100% 0; } }
@keyframes clareia { from { opacity: 0; } }
@keyframes sobe-barra { from { translate: -50% 140%; } 70% { translate: -50% -6px; } }
@keyframes vento { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }

/* abertura: o título chega linha a linha e os adesivos são carimbados por cima */
.js .abertura-mao { animation: sobe .5s .05s both; }
.js .abertura-titulo span:nth-child(1) { animation: sobe .5s .12s both; }
.js .abertura-titulo span:nth-child(2) { animation: sobe .5s .22s both; }
.js .abertura-titulo span:nth-child(3) { animation: carimbo .42s .5s both; }
.js .abertura-titulo span:nth-child(4) { animation: carimbo .42s .68s both; }
.js .abertura-lide { animation: sobe .5s .85s both; }
.js .abertura .botoes { animation: sobe .5s .95s both; }
.js .retrato { animation: pop .65s .2s both; }
.js .ramo-cima { animation: cresce .5s .7s both; }
.js .ramo-baixo { animation: cresce .5s .82s both; }
.js .etiqueta-foto-a { animation: pop .4s 1.05s both, balanco 5s 1.5s ease-in-out infinite; }
.js .etiqueta-foto-b { animation: pop .4s 1.2s both, balanco 6s 1.7s ease-in-out infinite reverse; }

/* ao rolar: cada coisa entra do jeito dela (o script marca com data-anima e põe .visto quando aparece) */
.js [data-anima]:not(.visto) { opacity: 0; }
[data-anima='forno'].visto { animation: forno .6s var(--atraso, 0s) both; }
[data-anima='carimbo'].visto { animation: carimbo .45s var(--atraso, .15s) both; }
[data-anima='pop'].visto { animation: pop .5s var(--atraso, 0s) both; }
[data-anima='joga'].visto { animation: joga .7s cubic-bezier(.2, .9, .3, 1.15) both; }
[data-anima='cresce'].visto { animation: pop .6s both, gingado 2.8s .6s ease-in-out infinite; }
[data-anima='lado'].visto { animation: lado .6s var(--atraso, .1s) both; }
.cookie.visto .cookie-preco { animation: carimbo .4s calc(var(--atraso, 0s) + .4s) both; }
.cookie.nhac.visto { animation: nhac .45s ease; }

/* o Cookieto ginga */
.cookieto-figura img { animation: gingado 2.8s ease-in-out infinite; }
.cookieto-figura:hover img { animation: pulinho .6s ease 2; }

/* sacola: o painel desliza, a barra sobe, o cookie voa até ela */
.sacola:not([hidden]) { animation: entra .32s cubic-bezier(.2, .9, .3, 1); }
.veu:not([hidden]) { animation: clareia .25s; }
.barra-sacola:not([hidden]) { animation: sobe-barra .45s; }
.voador { position: fixed; z-index: 70; border-radius: 50%; object-fit: cover; border: 4px solid var(--papel); box-shadow: 0 0 0 3px var(--marrom); pointer-events: none; }

/* pausado pelo botão */
.parado *, .parado *::before, .parado *::after { animation: none !important; transition: none !important; }
.parado [data-anima] { opacity: 1 !important; }

/* segunda leva de movimento (07/10/2026) */
@keyframes lado { from { opacity: 0; translate: 34px 0; } }
@keyframes pulinho { 0%, 100% { translate: 0 0; rotate: 0deg; } 40% { translate: 0 -22px; rotate: -5deg; } 70% { translate: 0 0; rotate: 3deg; } }
@keyframes treme { 20% { translate: -7px 0; } 40% { translate: 6px 0; } 60% { translate: -4px 0; } 80% { translate: 3px 0; } }
@keyframes flutua { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes massa { 0%, 100% { border-radius: 44% 56% 52% 48% / 50% 46% 54% 50%; } 50% { border-radius: 54% 46% 45% 55% / 46% 55% 45% 54%; } }
@keyframes prato { to { rotate: 360deg; } }

/* a foto da abertura flutua, o cookie aberto respira como massa, o prato de cookies gira devagar */
.js .abertura-foto { animation: flutua 6s 1.6s ease-in-out infinite; }
.dentro-foto img { animation: massa 9s ease-in-out infinite; }
.sobre-foto-b.visto, .sobre-foto-b:not([data-anima]) { animation: prato 50s linear infinite; }
[data-anima='pop'].sobre-foto-b.visto { animation: pop .5s both, prato 50s .5s linear infinite; }

/* o selo do topo dá uma volta, os cartões de pedido inclinam, o contador pula quando o cookie entra */
.marca img { transition: rotate .6s cubic-bezier(.3, 1.4, .5, 1); }
.marca:hover img { rotate: 360deg; }
.canal { transition: rotate .2s, translate .2s; }
.canal:hover { rotate: -1.4deg; translate: 0 -5px; }
.canal:nth-child(2):hover { rotate: 1.4deg; }
.cookie.na-sacola .passo { animation: pop .35s; }
.farelo { position: fixed; z-index: 70; width: 9px; height: 9px; border-radius: 40% 60% 55% 45%; pointer-events: none; }
