/* =====================================================================
   PIZZARIA MORIÁ — style.css
   Mobile-first: os estilos base valem para celular; as media queries
   (min-width) no fim de cada bloco ajustam para tablet e desktop.
   ===================================================================== */

/* Fontes servidas pelo próprio site (só o subconjunto latin; arquivos variáveis cobrem todos os pesos).
   Open Sans e Playfair (pré-carregadas no index.html) usam "optional": o texto do topo não é redesenhado quando a fonte chega, o que atrasava a LCP no celular */
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400 700; font-display: optional; src: url('fonts/open-sans-latin.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700 800; font-display: optional; src: url('fonts/playfair-latin.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 700; font-display: swap; src: url('fonts/playfair-italic-latin.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('fonts/cinzel-latin.woff2') format('woff2'); }
@font-face { font-family: 'Kaushan Script'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/kaushan-script-latin.woff2') format('woff2'); }

/* ---------------------------------------------------------------------
   1. VARIÁVEIS (cores, fontes, espaçamentos)
   Paleta tirada do logo: laranja da pizza, verde do nome, dourado do slogan.
   --------------------------------------------------------------------- */
:root {
  --bg: #0e0c0a;
  --bg-2: #15120f;
  --surface: #1c1814;
  --surface-2: #26201a;
  --border: rgba(255, 228, 196, .10);
  --border-strong: rgba(255, 228, 196, .22);

  --text: #f7efe5;
  --muted: #c4b6a5;

  --orange: #f26522;        /* laranja do logo (botões principais) */
  --orange-hover: #ff7b3a;
  --on-orange: #1b0d05;     /* texto escuro sobre laranja (contraste AA) */
  --green: #4caf57;         /* verde do logo, clareado para fundo escuro */
  --green-deep: #1f6b2a;
  --gold: #e0b052;          /* dourado do slogan / luzes */
  --wa: #25d366;            /* verde do WhatsApp */

  --font-title: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-caps: 'Cinzel', Georgia, serif;
  --font-script: 'Kaushan Script', 'Brush Script MT', cursive;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
  --header-h: 68px;
  --container: 1200px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------------------
   2. RESET E BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
/* Evita rolagem lateral causada pelas animações 3D (clip não quebra o header fixo) */
main, .footer { overflow-x: hidden; overflow-x: clip; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--font-title); font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 300;
  padding: 10px 16px; border-radius: 8px;
  background: var(--gold); color: #000; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------------
   3. LAYOUT E TIPOGRAFIA DE SEÇÃO
   --------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: 72px; }
.section--alt { background: var(--bg-2); }

.section-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-caps); font-weight: 600;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
/* Fio dourado + folha, como no logo */
.eyebrow::before, .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }

.section-title { font-size: clamp(2rem, 7vw, 3.1rem); font-weight: 800; }
.section-title em { font-style: italic; color: var(--orange); }
.section-lead { color: var(--muted); font-size: 1.02rem; margin: 0; }

@media (min-width: 768px) {
  :root { --gutter: 28px; }
  .section { padding-block: 104px; }
  .section-head { margin-bottom: 48px; }
}

/* ---------------------------------------------------------------------
   4. BOTÕES
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--orange); color: var(--on-orange); box-shadow: 0 10px 26px rgba(242, 101, 34, .32); }
.btn--primary:hover { background: var(--orange-hover); box-shadow: 0 14px 32px rgba(242, 101, 34, .45); }

.btn--whatsapp { background: rgba(37, 211, 102, .08); color: var(--text); border-color: var(--wa); }
.btn--whatsapp .icon { color: var(--wa); }
.btn--whatsapp:hover { background: rgba(37, 211, 102, .18); }

.btn--ghost { color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--instagram { background: linear-gradient(45deg, #c92b6f, #a12dbb 55%, #5b51d8); color: #fff; }
.btn--instagram:hover { box-shadow: 0 12px 28px rgba(161, 45, 187, .4); }

.btn--sm { min-height: 40px; padding: .5em 1.05em; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: .85em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------------
   5. HEADER FIXO + MENU
   --------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: box-shadow .3s;
}
/* Fundo em pseudo-elemento: assim o blur não "prende" o menu mobile (position: fixed) */
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(14, 12, 10, .85), rgba(14, 12, 10, 0));
  transition: background-color .3s;
}
.header.is-scrolled::before {
  background: rgba(14, 12, 10, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--border); }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 44px; height: 44px; filter: drop-shadow(0 2px 8px rgba(242, 101, 34, .35)); transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-18deg); }
.brand__text { display: none; line-height: 1.1; }
.brand__name { display: block; font-family: var(--font-caps); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; color: var(--green); text-transform: uppercase; }
.brand__tag { display: block; font-family: var(--font-caps); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
@media (min-width: 400px) { .brand__text { display: block; } }

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__wa {
  display: none; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  color: var(--wa); border: 1px solid var(--border-strong); transition: background-color .2s;
}
.header__wa:hover { background: rgba(37, 211, 102, .12); }
.header__cta .icon { display: none; }

.nav-toggle {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--border-strong); border-radius: 12px;
}
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* Menu mobile: painel em tela cheia abaixo do header */
.nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  display: flex; flex-direction: column; gap: 28px;
  padding: 28px var(--gutter) 40px;
  background: var(--bg);
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__list { display: flex; flex-direction: column; }
.nav__link {
  display: block; padding: 14px 4px;
  font-family: var(--font-title); font-size: 1.6rem; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav__link.is-active { color: var(--orange); }
.nav__extra { display: grid; gap: 12px; }
.nav__hours { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

@media (min-width: 480px) {
  .header__wa { display: grid; }
  .header__cta .icon { display: block; }
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .nav-toggle { display: none; }
  .nav {
    position: static; flex-direction: row; padding: 0; background: none; overflow: visible;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav__list { flex-direction: row; gap: 4px; }
  .nav__link {
    position: relative; padding: 8px 12px; border: 0;
    font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--muted);
    transition: color .2s;
  }
  .nav__link::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
    background: var(--orange); border-radius: 2px; transform: scaleX(0); transition: transform .25s var(--ease);
  }
  .nav__link:hover, .nav__link.is-active { color: var(--text); }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
  .nav__extra { display: none; }
  .brand img { width: 52px; height: 52px; }
}

/* ---------------------------------------------------------------------
   6. VARAL DE LUZES (decorativo, gerado pelo script.js)
   --------------------------------------------------------------------- */
.string-lights { position: absolute; left: 0; right: 0; height: 56px; pointer-events: none; z-index: 1; }
.string-lights svg { width: 100%; height: 100%; display: block; }
.string-lights .wire { fill: none; stroke: rgba(0, 0, 0, .7); stroke-width: 1.5; }
.string-lights .socket { stroke: rgba(0, 0, 0, .7); stroke-width: 2; }
.string-lights .bulb { fill: #ffd27a; filter: drop-shadow(0 0 6px rgba(255, 190, 90, .95)) drop-shadow(0 0 14px rgba(255, 160, 60, .6)); animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (min-width: 768px) { .string-lights { height: 76px; } }

/* ---------------------------------------------------------------------
   7. HERO
   --------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 64px) 0 72px;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; background: #1a120c; }
.hero__bg picture { display: contents; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: heroZoom 20s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
/* Película escura sobre a foto para garantir a leitura do texto */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14, 12, 10, .5) 0%, rgba(14, 12, 10, .62) 50%, rgba(14, 12, 10, .97) 100%);
}
@media (min-width: 900px) {
  .hero__bg img { object-position: center 45%; }
  .hero::after {
    background:
      linear-gradient(180deg, transparent 70%, var(--bg) 100%),
      linear-gradient(90deg, rgba(14, 12, 10, .94) 0%, rgba(14, 12, 10, .75) 38%, rgba(14, 12, 10, .1) 72%, rgba(14, 12, 10, 0) 100%);
  }
}
.hero .string-lights { top: var(--header-h); }

.hero__content { max-width: 680px; }

.hero__badge { margin-bottom: 22px; }
.hero__badge .status {
  padding: 7px 14px; border-radius: 999px; font-size: .86rem;
  background: rgba(0, 0, 0, .45); border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

.hero__title {
  font-size: clamp(2.6rem, 11vw, 5rem); font-weight: 800; line-height: 1.04; letter-spacing: -.01em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .5);
}
.hero__title em { display: block; font-style: italic; color: var(--orange); }

.hero__lead { max-width: 560px; font-size: 1.08rem; color: #e9dccd; margin-bottom: 28px; }

.hero__ctas { display: flex; flex-direction: column; gap: 12px; }

.hero__script {
  margin: 30px 0 0;
  font-family: var(--font-caps); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #e9dccd;
}
.hero__script span {
  display: block; margin-top: 2px;
  font-family: var(--font-script); font-size: 2rem; letter-spacing: 0; text-transform: none; color: var(--orange);
}

@media (min-width: 600px) {
  .hero__ctas { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 1024px) {
  .hero { padding-top: calc(var(--header-h) + 80px); }
  .hero__lead { font-size: 1.2rem; }
  .hero__script span { font-size: 2.4rem; }
}

/* Selo "Aberto agora / Fechado" (preenchido pelo script.js) */
.status { display: inline-flex; align-items: center; gap: 8px; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.status.is-open .status__dot { background: #3ddc7a; animation: pulse 2s infinite; }
.status.is-closed .status__dot { background: #ef5b3a; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 122, .6); }
  70% { box-shadow: 0 0 0 9px rgba(61, 220, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 122, 0); }
}

/* ---------------------------------------------------------------------
   8. DIFERENCIAIS
   --------------------------------------------------------------------- */
.features { position: relative; z-index: 2; margin-top: -36px; }
.features__grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.feature {
  position: relative; padding: 22px 20px 20px 84px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .3s, transform .3s var(--ease);
}
.feature:hover { border-color: rgba(242, 101, 34, .45); transform: translateY(-3px); }
.feature__icon {
  position: absolute; left: 20px; top: 22px;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: rgba(242, 101, 34, .14); color: var(--orange);
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature__title { font-size: 1.2rem; margin-bottom: .3em; }
.feature p { margin: 0; color: var(--muted); font-size: .94rem; }

@media (min-width: 600px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .features { margin-top: -64px; }
  .features__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .feature { padding: 28px 24px; }
  .feature__icon { position: static; margin-bottom: 18px; width: 56px; height: 56px; }
}

/* ---------------------------------------------------------------------
   9. CARDÁPIO
   --------------------------------------------------------------------- */
/* Abas (rolam na horizontal no celular) */
.tabs {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 28px; padding: 4px var(--gutter);
  scroll-snap-type: x proximity;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--border-strong); border-radius: 999px;
  background: var(--surface); color: var(--muted); font-weight: 600; font-size: .95rem;
  scroll-snap-align: start; transition: background-color .2s, color .2s, border-color .2s;
}
.tab:hover { color: var(--text); border-color: var(--gold); }
.tab[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
@media (min-width: 900px) { .tabs { justify-content: center; } }

/* Sem JavaScript: esconde as abas e mostra tudo empilhado */
html:not(.js) .tabs { display: none; }
html:not(.js) .tab-panel + .tab-panel { margin-top: 56px; }
.panel-title { font-size: 1.6rem; margin-bottom: 18px; }
.js .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tab-panel { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Cards com foto */
.menu-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 1200px) { .menu-grid { grid-template-columns: repeat(4, 1fr); } }
/* Destaques com 3 cards: no máximo 3 colunas, e no tablet o 3º card fica centralizado */
@media (min-width: 1200px) { .menu-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 600px) and (max-width: 899px) {
  .menu-grid--3 > :last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 9px); }
}

.menu-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.menu-card:hover { transform: translateY(-5px); border-color: rgba(224, 176, 82, .45); box-shadow: var(--shadow); }
.menu-card--featured { border-color: rgba(242, 101, 34, .5); }

.menu-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #3a2414, var(--surface)); }
.menu-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.menu-card:hover .menu-card__media img { transform: scale(1.07); }

.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(14, 12, 10, .82); color: var(--gold);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.badge--hot { background: var(--orange); color: var(--on-orange); }

.menu-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.menu-card__title { font-size: 1.32rem; margin-bottom: .35em; }
.menu-card__desc { color: var(--muted); font-size: .93rem; margin-bottom: .8em; }
.menu-card__note { font-size: .8rem; color: var(--gold); margin-bottom: .8em; }
.menu-card__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border-strong);
}
.price { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: 1.45rem; line-height: 1.05; }
.price small {
  display: block; margin-bottom: 3px;
  font-family: var(--font-body); font-weight: 600; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

/* Faixa de tamanhos/preços de cada categoria */
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.sizes li {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; text-align: center;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.sizes span { font-weight: 700; font-size: .95rem; }
.sizes small { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); }
.sizes strong { font-family: var(--font-title); font-size: 1.3rem; color: var(--orange); }
@media (min-width: 768px) {
  .sizes { max-width: 640px; margin-inline: auto; margin-bottom: 32px; }
  .sizes strong { font-size: 1.55rem; }
}

/* Lista de sabores */
.flavors { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .flavors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .flavors { grid-template-columns: repeat(3, 1fr); } }
.flavor {
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--green-deep);
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.flavor:hover { border-left-color: var(--orange); background: var(--surface-2); transform: translateX(3px); }
.flavor h4 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: .25em; font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .03em; color: var(--orange); }
.flavor h4 span { padding: 2px 8px; border-radius: 999px; background: rgba(224, 176, 82, .15); color: var(--gold); font-size: .66rem; letter-spacing: .08em; }
.flavor p { margin: 0; color: var(--muted); font-size: .9rem; }
.flavor em { display: block; margin-top: 4px; color: var(--gold); font-style: normal; font-size: .8rem; }
.flavor--highlight { border-left-color: var(--gold); background: linear-gradient(120deg, rgba(224, 176, 82, .08), var(--surface) 60%); }

.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.photo-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); border: 2px solid var(--gold); }
@media (min-width: 768px) { .photo-strip { max-width: 720px; margin: 0 auto 28px; gap: 16px; } .photo-strip img { aspect-ratio: 4 / 3; } }

.panel-cta { display: flex; justify-content: center; margin-top: 28px; }

/* Bebidas & extras */
.extras { display: grid; gap: 22px; }
.extras__cards { display: grid; gap: 16px; align-content: start; }
.menu-card--row .menu-card__media { aspect-ratio: 16 / 9; }
@media (min-width: 560px) {
  .menu-card--row { flex-direction: row; }
  .menu-card--row .menu-card__media { flex: 0 0 40%; aspect-ratio: auto; min-height: 180px; }
}
@media (min-width: 1024px) { .extras { grid-template-columns: 1fr 1.1fr; gap: 28px; } }

.borders, .drinks { padding: 22px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.borders__title, .drinks__title { font-size: 1.4rem; margin-bottom: 10px; }
.price-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 11px 0; border-bottom: 1px dashed var(--border-strong);
}
.price-list li:last-child { border-bottom: 0; }
.price-list span { font-weight: 600; }
.price-list small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.price-list strong { flex-shrink: 0; color: var(--gold); font-variant-numeric: tabular-nums; }
.price-list--compact { display: grid; grid-template-columns: 1fr; column-gap: 28px; }
@media (min-width: 480px) { .price-list--compact { grid-template-columns: 1fr 1fr; } .price-list--compact li:nth-last-child(2) { border-bottom: 0; } }

.menu-note { margin: 32px 0 0; text-align: center; color: var(--muted); font-size: .88rem; }
.menu-note a { color: var(--gold); }

/* ---------------------------------------------------------------------
   10. RODÍZIO
   --------------------------------------------------------------------- */
.rodizio {
  position: relative; overflow: hidden;
  padding: 104px 0 80px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(242, 101, 34, .22), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(224, 176, 82, .12), transparent 50%),
    linear-gradient(180deg, #1d130c, #120d09);
  border-block: 1px solid var(--border);
}
.rodizio .string-lights { top: 0; }
.rodizio__inner { display: grid; gap: 40px; align-items: center; }

.rodizio__media { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.rodizio__media img { width: 100%; aspect-ratio: 8 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
/* Selo-moeda: gira em 3D mostrando frente e verso */
.rodizio__stamp {
  position: absolute; right: -6px; bottom: -22px; z-index: 2;
  width: 128px; height: 128px; perspective: 700px; transform: rotate(-10deg);
}
.coin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: coinFlip 7s cubic-bezier(.6, 0, .3, 1) infinite; }
.coin__face {
  position: absolute; inset: 0; border-radius: 50%;
  display: grid; place-items: center; align-content: center; text-align: center; line-height: 1.1;
  background: radial-gradient(circle at 35% 30%, #ff8a4d, var(--orange) 60%, #c94a12);
  color: var(--on-orange); box-shadow: 0 12px 30px rgba(242, 101, 34, .45), inset 0 0 0 4px rgba(255, 255, 255, .18);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.coin__face--back { transform: rotateY(180deg); background: radial-gradient(circle at 35% 30%, #f6d28a, var(--gold) 60%, #a97a23); }
.coin__face span { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.coin__face strong { font-family: var(--font-script); font-weight: 400; font-size: 1.9rem; line-height: 1.15; }
.coin__face--back strong { font-size: 1.4rem; }
@keyframes coinFlip {
  0%, 38% { transform: rotateY(0); }
  50%, 88% { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}

.rodizio__lead { font-size: 1.08rem; color: #e9dccd; }
.checklist { display: grid; gap: 10px; margin: 0 0 24px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { margin-top: 3px; color: var(--green); }
/* Preço do rodízio em destaque */
.rodizio__price {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 20px; padding: 14px 22px;
  border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(242, 101, 34, .22), rgba(242, 101, 34, .06));
  border: 1px solid rgba(242, 101, 34, .55); box-shadow: 0 10px 30px -12px rgba(242, 101, 34, .55);
}
.rodizio__price span { font-family: var(--font-caps); font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #f3e6d6; }
.rodizio__price strong { font-family: var(--font-title); font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1; color: var(--orange); white-space: nowrap; }
.rodizio__price em { font-family: var(--font-body); font-size: 1rem; font-style: normal; font-weight: 600; color: #e9dccd; }
.rodizio__next {
  display: flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 12px 16px;
  border-radius: var(--radius-sm); background: rgba(224, 176, 82, .1); border: 1px solid rgba(224, 176, 82, .3); color: var(--gold); font-weight: 600;
}
.rodizio__ctas { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 600px) { .rodizio__ctas { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 900px) {
  .rodizio { padding: 140px 0 120px; }
  .rodizio__inner { grid-template-columns: 1fr 1.1fr; gap: 72px; }
  .rodizio__stamp { width: 150px; height: 150px; right: -30px; }
  .coin__face strong { font-size: 2.3rem; }
  .coin__face--back strong { font-size: 1.65rem; }
}

/* ---------------------------------------------------------------------
   11. SOBRE
   --------------------------------------------------------------------- */
.about { display: grid; gap: 48px; align-items: center; }
.about__media { position: relative; padding: 0 12% 12% 0; }
.about__img { border-radius: var(--radius); object-fit: cover; }
.about__img--main { width: 100%; aspect-ratio: 6 / 7; box-shadow: var(--shadow); }
.about__img--accent {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1;
  border: 6px solid var(--bg); box-shadow: var(--shadow);
}
.about__content p { color: #e2d5c5; }

.events { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.events li {
  padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(76, 175, 87, .1); border: 1px solid rgba(76, 175, 87, .35); color: #bfe6c3;
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats li { padding: 16px 10px; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.stats strong { display: block; font-family: var(--font-title); font-size: clamp(1.3rem, 5vw, 1.9rem); color: var(--orange); line-height: 1.1; }
.stats span { display: block; margin-top: 4px; font-size: .76rem; color: var(--muted); line-height: 1.35; }

@media (min-width: 900px) {
  .about { grid-template-columns: 1fr 1.05fr; gap: 72px; }
}

/* ---------------------------------------------------------------------
   12. GALERIA + LIGHTBOX
   --------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 10px; }
.gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.gallery__item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 12, 10, .55), transparent 50%);
  opacity: 0; transition: opacity .35s;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }

/* 2 colunas no celular, 4 a partir do tablet: assim o mosaico fecha sem buracos */
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px; } }
@media (min-width: 1100px) { .gallery { grid-auto-rows: 220px; } }

.lightbox {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 56px 12px;
  border: 0; background: rgba(8, 6, 5, .94); color: var(--text);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); }
.lightbox__caption { margin-top: 12px; text-align: center; color: var(--muted); font-size: .9rem; }
.lightbox__btn {
  position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid var(--border-strong); transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------------------------
   13. INSTAGRAM + DEPOIMENTOS
   --------------------------------------------------------------------- */
.insta {
  position: relative; overflow: hidden;
  display: grid; gap: 22px; justify-items: center; text-align: center;
  padding: 36px 22px; margin-bottom: 40px; border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(201, 43, 111, .25), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(91, 81, 216, .22), transparent 55%),
    var(--surface);
  border: 1px solid var(--border-strong);
}
.insta__icon {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px;
  background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); color: #fff;
}
.insta__icon .icon { width: 38px; height: 38px; }
.insta__count { margin: 0 0 4px; color: var(--muted); }
.insta__count strong { display: block; font-family: var(--font-title); font-size: clamp(2.6rem, 10vw, 3.6rem); color: var(--text); line-height: 1; }
.insta__title { font-size: clamp(1.4rem, 5vw, 1.9rem); margin-bottom: .3em; }
.insta__title span { color: var(--orange); }
.insta__lead { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .insta { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; align-items: center; padding: 40px 48px; gap: 36px; }
}

.testimonials { display: grid; gap: 16px; }
@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.testimonial {
  display: flex; flex-direction: column; margin: 0; padding: 24px 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--gold); }
.stars .icon { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0 0 18px; font-family: var(--font-title); font-style: italic; font-size: 1.08rem; line-height: 1.5; }
.testimonial figcaption { margin-top: auto; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { color: var(--muted); font-size: .85rem; }

/* ---------------------------------------------------------------------
   14. LOCALIZAÇÃO
   --------------------------------------------------------------------- */
.location { display: grid; gap: 22px; }
.location__info { display: grid; gap: 20px; align-content: start; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.location__photo { margin: 0; }
.location__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 45%; border-radius: var(--radius-sm); }
.info-list { display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; }
.info-list__icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(242, 101, 34, .14); color: var(--orange); }
.info-list strong { display: block; font-family: var(--font-caps); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.info-list p, .info-list address { margin: 0; }
.info-list a { color: var(--text); text-decoration-color: var(--orange); text-underline-offset: 3px; }
.info-list .status { margin-top: 6px; font-size: .88rem; color: var(--muted); }

.location__map { min-height: 340px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.location__map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; filter: saturate(.85) contrast(1.05); }
/* Prévia do mapa (ruas desenhadas em CSS) até a pessoa pedir o mapa do Google */
.location__map.map { position: relative; }
.map__facade {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 20px; text-align: center;
  background:
    linear-gradient(118deg, transparent 47%, rgba(255, 228, 196, .16) 47% 50.5%, transparent 50.5%),
    linear-gradient(28deg, transparent 63%, rgba(255, 228, 196, .1) 63% 65%, transparent 65%),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(255, 228, 196, .06) 42px 45px),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255, 228, 196, .06) 58px 61px),
    radial-gradient(38% 34% at 16% 80%, rgba(76, 175, 87, .14), transparent 72%),
    radial-gradient(30% 28% at 88% 18%, rgba(76, 175, 87, .12), transparent 72%),
    var(--surface);
}
.map__pin { width: 52px; height: 52px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--orange); color: var(--on-orange); display: grid; place-items: center; box-shadow: 0 14px 26px rgba(242, 101, 34, .35); }
.map__pin .icon { width: 24px; height: 24px; transform: rotate(45deg); }
.map__addr { margin: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 10px 18px; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.map__addr strong { display: block; color: var(--text); font-size: .98rem; }
.map__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.map__actions .btn--ghost { background: var(--bg); }

/* Perguntas frequentes */
.faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 22px; transition: border-color .3s, background-color .3s; }
.faq details[open] { background: var(--surface-2); border-color: var(--border-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 16px 0; font-family: var(--font-title); font-weight: 700; font-size: 1.08rem; line-height: 1.35; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 101, 34, .14); color: var(--orange); font: 600 1.25rem/1 var(--font-body); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.footer__bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--gold); }

@media (min-width: 900px) {
  .location { grid-template-columns: 1fr 1.4fr; gap: 28px; }
  .location__info { padding: 26px; }
}

/* ---------------------------------------------------------------------
   15. RODAPÉ
   --------------------------------------------------------------------- */
.footer { padding: 64px 0 100px; background: #0a0807; border-top: 1px solid var(--border); }

.footer__cta {
  display: grid; gap: 22px; justify-items: center; text-align: center;
  padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer__cta-title { margin: 0; font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 800; }
.footer__cta-title em { color: var(--orange); }
.footer__cta-btns { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 520px; }
@media (min-width: 600px) { .footer__cta-btns { flex-direction: row; justify-content: center; width: auto; max-width: none; } }

.footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
.footer__brand img { width: 220px; margin-bottom: 10px; }
.footer__brand p { color: var(--muted); font-style: italic; font-family: var(--font-title); }
.footer__title { font-family: var(--font-caps); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a, .footer__links span { display: inline-flex; gap: 10px; align-items: flex-start; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--orange); }
.footer__links .icon { margin-top: 3px; width: 1.1em; height: 1.1em; }

.footer__bottom {
  display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted);
}
.footer__bottom p { margin: 0; }
.footer__slogan { font-family: var(--font-caps); letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; color: var(--gold); }

@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .footer { padding-bottom: 40px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------------------------------------------------------------------
   16. BOTÃO FLUTUANTE DO WHATSAPP
   --------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  height: 60px; min-width: 60px; padding: 0 17px; border-radius: 999px;
  background: var(--wa); color: #0b2b16; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 0 0 rgba(37, 211, 102, .5);
  animation: waPulse 2.6s infinite;
  transition: transform .2s var(--ease);
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float__label { display: none; }
@keyframes waPulse {
  0% { box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (min-width: 1024px) {
  .wa-float { right: 24px; bottom: 24px; }
  .wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { display: inline; padding-right: 4px; }
}

/* ---------------------------------------------------------------------
   17. EFEITOS 3D
   --------------------------------------------------------------------- */

/* 17.1 Hero em camadas: foto, brasas e conteúdo se movem com o mouse */
.hero__inner { position: relative; z-index: 1; }
.hero__bg { transform: translate3d(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -10px), 0) scale(1.05); }
.hero__content { transform: translate3d(calc(var(--px, 0) * 8px), calc(var(--py, 0) * 5px), 0); }
.hero__embers { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }

/* 17.2 Pizza 3D (fatias montadas pelo script.js) */
.pizza3d {
  /* Foto real da Moriá, endireitada para vista de cima: quadrada, pizza ocupando o quadro todo */
  --pizza-img: url('assets/img/pizza-moria-3d-600.webp');
  --size: min(76vw, 300px);
  --explode: 0;
  --spread: calc(var(--size) * .14);
  --lift: calc(var(--size) * .12);
  position: relative; width: var(--size); aspect-ratio: 1; margin: 0 auto 8px;
  perspective: 1100px; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none;
}
html:not(.js) .pizza3d { display: none; }

.pizza3d__glow {
  position: absolute; inset: -30%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(242, 101, 34, .38), rgba(224, 176, 82, .1) 45%, transparent 68%);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%, 100% { opacity: .75; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }

.pizza3d__shadow {
  position: absolute; left: 4%; right: 4%; bottom: -4%; height: 30%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .8), transparent);
  transform: scale(calc(1 + var(--explode) * .3)); opacity: calc(.95 - var(--explode) * .35);
  transition: transform .7s var(--ease), opacity .7s;
}

.pizza3d__scene {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 58deg)) rotateY(var(--ry, 0deg)) rotateZ(var(--rz, 0deg));
}

/* Cada fatia: topo com a foto + 2 camadas de "massa" por baixo para dar espessura */
.slice {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform:
    translate3d(calc(var(--dx) * var(--explode) * var(--spread)), calc(var(--dy) * var(--explode) * var(--spread)), calc(var(--explode) * var(--lift) * var(--zf)))
    rotate3d(var(--ax), var(--ay), 0, calc(var(--explode) * 16deg));
  transition: transform .8s cubic-bezier(.2, .85, .25, 1.15);
}
.slice__top, .slice__side { position: absolute; inset: 0; clip-path: var(--clip); }
.slice__top { background: var(--pizza-img) center / 100% no-repeat; }
.slice__side { background: linear-gradient(135deg, #d9944b, #8a4b1d); transform: translateZ(-5px); }
.slice__side--deep { background: #5b2e10; transform: translateZ(-10px); }

/* Vapor saindo da pizza */
/* A pizza deitada ocupa a faixa do meio do quadro (~25% a 75% da altura) */
.pizza3d__steam { position: absolute; left: 20%; right: 20%; top: 2%; height: 50%; pointer-events: none; }
.pizza3d__steam span {
  position: absolute; bottom: 0; width: 34%; height: 70%; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 245, 230, .5), transparent 68%);
  filter: blur(10px); opacity: 0; animation: steam 4.5s ease-out infinite;
}
.pizza3d__steam span:nth-child(1) { left: 6%; }
.pizza3d__steam span:nth-child(2) { left: 34%; animation-delay: 1.5s; }
.pizza3d__steam span:nth-child(3) { left: 62%; animation-delay: 3s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(30%) scale(.6, .5); }
  25% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-80%) scale(1.5, 1.3); }
}

.pizza3d__hint {
  position: absolute; left: 50%; bottom: 6%; margin: 0; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--font-caps); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  opacity: calc(.9 - var(--explode)); transition: opacity .4s;
}

@media (min-width: 1024px) {
  .hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
  .pizza3d { --size: clamp(340px, 33vw, 470px); margin: 0; }
}

/* 17.3 Cards que inclinam em 3D seguindo o mouse, com reflexo de luz */
.tilt { position: relative; will-change: transform; }
.tilt__glare {
  position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 236, 205, .22), transparent 55%);
  opacity: 0; transition: opacity .35s;
}
.tilt:hover .tilt__glare { opacity: 1; }

/* 17.4 Títulos: cada palavra "vira" em 3D ao aparecer */
.split .word {
  display: inline-block; transform-origin: 50% 100%;
  opacity: 0; transform: perspective(600px) rotateX(-88deg) translateY(.3em);
  transition: transform 1s var(--ease), opacity .7s ease;
  transition-delay: calc(var(--i) * 85ms + var(--d, 0s));
}
.is-visible .split .word, .split.is-visible .word { opacity: 1; transform: none; }

/* 17.5 Entradas em 3D (substituem o "subir e aparecer" simples) */
.js .feature.reveal { transform: perspective(900px) rotateX(38deg) translateY(36px); transform-origin: 50% 0; }
.js .reveal.reveal--flip { transform: perspective(1000px) rotateX(-24deg) rotateY(var(--fy, 0deg)) translateY(46px) scale(.94); transform-origin: 50% 100%; }
.js .gallery__item.reveal { transform: perspective(1000px) rotateY(var(--gry, -26deg)) rotateX(10deg) translateZ(-80px) scale(.9); }
.js .gallery__item.reveal:nth-child(even) { --gry: 26deg; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Ícones dos diferenciais giram como moedas */
.feature__icon { transition: transform .9s var(--ease); }
.feature:hover .feature__icon { transform: rotateY(360deg); }
.feature.is-visible .feature__icon { animation: iconSpin 1.2s var(--ease) calc(var(--d, 0s) + .35s) backwards; }
@keyframes iconSpin { from { transform: rotateY(-540deg) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* 17.6 Fotos que giram levemente em profundidade conforme a rolagem */
[data-depth] {
  transform: perspective(1100px)
    rotateY(calc(var(--sp, 0) * var(--depth-ry, 12deg)))
    rotateX(calc(var(--sp, 0) * var(--depth-rx, -6deg)))
    translateY(calc(var(--sp, 0) * var(--depth-y, 0px)));
  will-change: transform;
}

/* ---------------------------------------------------------------------
   18. ANIMAÇÃO DE ENTRADA AO ROLAR (scroll reveal)
   O atraso de cada item pode ser ajustado com style="--d:.1s" no HTML.
   --------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
