/* ---------- Fontes (auto-hospedadas) ---------- */
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

/* ---------- Base ---------- */
:root {
  --orange: #EE8004;
  --green: #47AB35;
  --purple: #4A1453;
  --purple-deep: #2E0B35;
  --cream: #FFF8EC;
  --ink: #2B0F31;
  --muted: #5E4B63;
  --ifood: #D91B2A;
  --n99: #FFD400;
  --radius: 28px;
  --shadow: 0 10px 30px rgba(74, 20, 83, .14);
  --display: "Fredoka", "Baloo 2", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; position: relative; z-index: 1; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: .75rem; top: -4rem; z-index: 100;
  background: var(--purple); color: #fff; padding: .75rem 1rem; border-radius: 12px;
}
.skip:focus { top: .75rem; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.menu :focus-visible, .final__box :focus-visible { outline-color: var(--cream); }

/* Placeholders bem visíveis */
.ph {
  background: #FFE48A; color: #4A3000; padding: .05em .4em; border-radius: 6px;
  outline: 1px dashed #B88400; font-weight: 500;
}

/* ---------- Decoração ---------- */
.blob {
  position: absolute; z-index: 0; pointer-events: none;
  border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%;
}
.blob--orange { background: var(--orange); opacity: .16; }
.blob--green { background: var(--green); opacity: .16; }
.palm { position: absolute; z-index: 0; pointer-events: none; color: var(--green); width: 220px; height: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 56px; padding: .5rem 1.25rem;
  border-radius: 999px; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 1.125rem; line-height: 1.1;
  box-shadow: 0 6px 16px rgba(43, 15, 49, .18);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(43, 15, 49, .24); filter: brightness(1.05); }
.btn:active { transform: translateY(0) scale(.98); }
.btn__icon { width: 26px; height: 26px; flex: none; }
.btn__label { display: flex; flex-direction: column; text-align: left; }
.btn__label small { font-family: var(--text); font-size: .8125rem; font-weight: 500; opacity: .95; }
.btn__label b { font-weight: 700; font-size: 1.25rem; }
.btn--ifood { background: var(--ifood); color: #fff; }
.btn--99 { background: var(--n99); color: #1B1B1B; }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--99:focus-visible, .btn--ifood:focus-visible { outline-color: var(--ink); }

.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; max-width: 440px; }
.cta-row .btn { padding-inline: .75rem; }
.cta-row--center { margin-inline: auto; }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal[data-d="1"] { transition-delay: .1s; }
.js .reveal[data-d="2"] { transition-delay: .2s; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 1.25rem 0 3rem; }
.hero__blob1 { width: 340px; height: 340px; top: -120px; right: -120px; }
.hero__blob2 { width: 260px; height: 260px; bottom: -60px; left: -100px; }
.hero__grid { display: grid; gap: 1.75rem; }
.hero__logo { width: 88px; height: auto; margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(2.2rem, 9vw, 3.9rem); font-weight: 700; letter-spacing: -.01em; }
.mark { background: linear-gradient(transparent 62%, rgba(238, 128, 4, .4) 62%); border-radius: 6px; padding: 0 .1em; }
.hero__sub { margin: 1rem 0 1.5rem; font-size: 1.125rem; color: var(--muted); max-width: 30ch; }
.hero__media { position: relative; max-width: 520px; width: 100%; justify-self: center; padding: .5rem; }
.palm--hero { width: 200px; top: -34px; right: -26px; transform: rotate(8deg); }
.float { position: relative; z-index: 1; animation: float 5s ease-in-out infinite alternate; }
.hero__photo {
  width: 100%; aspect-ratio: 1; border-radius: 36px; border: 6px solid #fff;
  box-shadow: 0 24px 50px rgba(74, 20, 83, .25);
}
@keyframes float { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-14px) rotate(1deg); } }

@media (min-width: 900px) {
  .hero { padding: 2rem 0 5rem; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3rem; }
  .hero__logo { width: 120px; margin-bottom: 1.75rem; }
  .hero__sub { font-size: 1.25rem; }
  .hero__blob1 { width: 520px; height: 520px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--orange); color: var(--ink); overflow: hidden; padding: .9rem 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee ul { display: flex; flex: none; }
.marquee li {
  font-family: var(--display); font-weight: 600; font-size: 1.25rem; white-space: nowrap;
  display: flex; align-items: center;
}
.marquee li::after { content: "•"; margin-inline: 1.25rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section-head { text-align: center; margin-bottom: 2rem; }
.eyebrow {
  display: inline-block; font-family: var(--display); font-weight: 600; font-size: 1rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; color: var(--orange);
}
.section-head h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); }

/* ---------- Cardápio ---------- */
.menu {
  position: relative; overflow: hidden; background: var(--purple); color: var(--cream);
  padding: 3.5rem 0 4rem;
}
.menu__blob { width: 380px; height: 380px; bottom: -140px; left: -120px; opacity: .14; }
.palm--menu { width: 260px; top: -20px; right: -70px; transform: rotate(14deg); opacity: .5; }

.bento { display: grid; gap: 1.25rem; }
.card {
  position: relative; background: var(--cream); color: var(--ink);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.card__media { position: relative; }
.card__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card__body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.card h3 { font-size: 1.5rem; }
.card__body p { color: var(--muted); margin-bottom: .5rem; }
.card--featured { outline: 4px solid var(--orange); outline-offset: -4px; }
.card--featured h3 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.card--featured .card__body p { font-size: 1.0625rem; }
.tag {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--orange); color: var(--ink);
  font-family: var(--display); font-weight: 600; font-size: .95rem;
  padding: .45rem .9rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.tag svg { width: 16px; height: 16px; }

@media (min-width: 640px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--featured { grid-column: 1 / -1; }
}
@media (min-width: 700px) {
  .card--featured { display: grid; grid-template-columns: 1fr 1fr; }
  .card--featured .card__media img { height: 100%; }
  .card--featured .card__body { justify-content: center; padding: 2rem; gap: .9rem; }
}
@media (min-width: 960px) {
  .card:not(.card--featured) { display: grid; grid-template-columns: .85fr 1.15fr; }
  .card:not(.card--featured) .card__media img { height: 100%; }
  .card:not(.card--featured) .card__body { justify-content: center; }
}

/* ---------- Como pedir ---------- */
.steps { position: relative; overflow: hidden; padding: 4rem 0; }
.steps__blob { width: 320px; height: 320px; top: -80px; right: -100px; }
.steps__list { display: grid; gap: 2rem; }
.step { text-align: center; position: relative; }
.step__icon {
  position: relative; display: inline-grid; place-items: center;
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--purple); color: var(--cream); box-shadow: var(--shadow); margin-bottom: 1rem;
}
.step__icon svg { width: 40px; height: 40px; }
.step__n {
  position: absolute; top: -6px; right: -6px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: var(--ink);
  font-family: var(--display); font-size: 1.1rem; border: 3px solid var(--cream);
}
.step h3 { font-size: 1.375rem; max-width: 16ch; margin-inline: auto; }

@media (min-width: 760px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 44px; left: calc(50% + 62px); width: calc(100% - 124px + 2.5rem);
    border-top: 3px dashed var(--green); opacity: .7;
  }
}

/* ---------- Chamada final ---------- */
.final { padding: 0 0 4rem; }
.final__box {
  position: relative; overflow: hidden; text-align: center; color: var(--cream);
  background: var(--purple); border-radius: 40px; padding: 3.5rem 1.5rem; box-shadow: var(--shadow);
}
.final__box > :not(.palm) { position: relative; z-index: 1; }
.final__box h2 { font-size: clamp(2rem, 7vw, 3.4rem); max-width: 18ch; margin: 0 auto .75rem; }
.final__box p { font-size: 1.125rem; margin-bottom: 1.75rem; color: #F3E4F0; }
.palm--final1 { width: 200px; left: -60px; bottom: -30px; transform: rotate(-20deg) scaleX(-1); opacity: .55; z-index: 0 !important; }
.palm--final2 { width: 180px; right: -50px; top: -20px; transform: rotate(12deg); opacity: .45; z-index: 0 !important; }

/* ---------- Rodapé ---------- */
.footer { padding: 1rem 0 7rem; }
.footer__grid { display: grid; gap: 1.5rem; justify-items: center; text-align: center; }
.footer__logo { width: 64px; height: auto; }
.footer__info { display: grid; gap: .75rem; }
.footer__insta {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; text-decoration: none; font-weight: 500;
}
.footer__insta svg { width: 26px; height: 26px; color: var(--purple); }
.footer__insta:hover { text-decoration: underline; }
.footer__copy { color: var(--muted); font-size: .9rem; }

@media (min-width: 768px) {
  .footer { padding-bottom: 2.5rem; }
  .footer__grid { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; align-items: center; gap: 2.5rem; }
}

/* ---------- Barra fixa (celular) ---------- */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 248, 236, .96); backdrop-filter: blur(8px);
  box-shadow: 0 -8px 24px rgba(43, 15, 49, .15);
  transform: translateY(100%); visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
.stickybar.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
.stickybar .btn { box-shadow: none; }
@media (min-width: 768px) { .stickybar { display: none; } }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .marquee__track { animation: none; }
  .marquee__track { width: auto; justify-content: center; flex-wrap: wrap; }
  .marquee ul:nth-child(2) { display: none; }
  .btn, .card, .stickybar { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Botões de loja sem link ---------- */
[hidden] { display: none !important; }
.cta-row.is-single, .stickybar.is-single { grid-template-columns: 1fr; }
.cta-row.is-single { max-width: 240px; }

/* ---------- Selo aberto/fechado ---------- */
.status {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 1rem; padding: .4rem .9rem; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 500; font-size: .9375rem;
  box-shadow: 0 2px 10px rgba(74, 20, 83, .1);
}
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: #B8A9BC; flex: none; }
.status.is-open .status__dot { background: var(--green); box-shadow: 0 0 0 4px rgba(71, 171, 53, .2); }

/* ---------- Alergênicos ---------- */
.card__body .allergen { font-size: .875rem; margin-top: -.25rem; }
