/* ============================================================
   Pizza Gyn — Buffet & Eventos | LP
   "Trattoria iluminada pela brasa, à noite"
   ============================================================ */

:root {
  --espresso-900: #14100D;
  --espresso-800: #1E1812;
  --espresso-700: #2A211A;
  --brasa:        #E8531E;
  --ambar:        #F4A229;
  --ouro:         #E7C873;
  --creme:        #FBEFD9;
  --creme-dim:    #C9BCA6;
  --verde-basil:  #4E6B3A;
  --google-star:  #FBBC04;

  --radius:    16px;
  --radius-lg: 22px;
  --radius-sm: 10px;

  --shadow-warm: 0 18px 50px -18px rgba(232, 83, 30, .35), 0 10px 30px -12px rgba(0,0,0,.6);
  --shadow-card: 0 12px 30px -14px rgba(0,0,0,.7);

  --maxw: 1180px;
  --gutter: clamp(18px, 5vw, 40px);

  --ff-display: "Fraunces", Georgia, serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  background: var(--espresso-900);
  color: var(--creme);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--ff-display); line-height: 1.05; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* film grain texture — scoped to SECTION BACKGROUNDS ONLY (never over media).
   Applied as a low z-index layer behind each section's content. Images/video
   live in .media-frame which establishes its own stacking context above this. */
:root {
  --grain: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA6UlEQVR42h2PsQqCYACEf9zEwWjKcIqGNn0Aw9ZmabEhcRZ3IVqcXOoBnBRCdBJcewTBZ2gpKNxcnL6w4ZbjuPtOGIZBFEUcj0cURaGuayRJwrIsFosFYjLHcWS/33O5XLBtm2EYKIoC3/cRq9WK0+lElmXMZjP6vud8PtM0Dd/vF7Hb7Xi9XiRJgq7reJ73l2maaJqG+Hw+qKrK4/HgdrsRBAFpmlKW5b9JdF33D7Rty/P5JAxD8jxHlmUOhwNiAnQch4llmovjmPf7zf1+53q9IrbbLVVVsVwucV2X6fZ6vWY+n7PZbPgBijmTDZpA3rAAAAAASUVORK5CYII=");
}
.hero, .cred, .section, .cta-band, .final-cta, .site-footer { position: relative; }
.hero::after, .cred::after, .section::after, .final-cta::after, .site-footer::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;            /* sits at the section's base, BEHIND all real content */
  opacity: .05;
  background-image: var(--grain);
  background-repeat: repeat;
}
/* Section content stays above the grain layer */
.hero > .container, .cred > .container, .section > .container,
.final-cta > .container, .site-footer > .container { position: relative; z-index: 1; }
/* CTA band already layers its own bg/overlay; add grain over the overlay, under text */
.cta-band .cta-band-inner { position: relative; z-index: 2; }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 760px; }

.section { padding-block: clamp(56px, 9vw, 104px); position: relative; }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head.reveal { }
.kicker {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ambar);
  font-weight: 700;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(1.9rem, 5.5vw, 3.1rem);
  font-variation-settings: "opsz" 96;
  color: var(--creme);
  letter-spacing: -.01em;
}
.section-lead {
  margin-top: 16px;
  color: var(--creme-dim);
  font-size: clamp(1.02rem, 2.4vw, 1.12rem);
  line-height: 1.6;
  max-width: 56ch;
}

/* ---------- BUTTONS ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  text-align: center;
  overflow: hidden;
  transition: transform .2s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease, filter .2s ease;
  line-height: 1.1;
}
.btn > * { position: relative; z-index: 1; }
.btn-primary {
  background: linear-gradient(135deg, var(--brasa) 0%, var(--ambar) 100%);
  color: #1B130C;
  box-shadow: var(--shadow-warm);
}
.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.1) brightness(1.05);
  box-shadow: 0 24px 64px -16px rgba(244, 162, 41, .6), 0 12px 32px -10px rgba(0,0,0,.6);
}
.btn-primary:active { transform: translateY(0) scale(.98); transition-duration: .08s; }
.btn-sm  { padding: 10px 18px; font-size: .92rem; }
.btn-lg  { padding: 16px 28px; font-size: 1.06rem; }
.btn-xl  { padding: 20px 36px; font-size: 1.18rem; }

/* Subtle light sweep — periodic on hero CTA, plus on hover for all primary btns */
.btn-primary::after {
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 45%; height: 100%;
  z-index: 0;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg);
  opacity: 0;
}
.btn-primary:hover::after { animation: btn-sweep .7s ease; }
.btn-sweep::after { animation: btn-sweep 4.5s ease 1.2s infinite; }
@keyframes btn-sweep {
  0%   { left: -60%; opacity: 0; }
  10%  { opacity: 1; }
  60%  { left: 120%; opacity: 1; }
  61%, 100% { left: 120%; opacity: 0; }
}
.ico-wa { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--ouro);
  outline-offset: 3px;
}

/* ---------- 3D MEDIA FRAME (hero video, station cards, gallery) ----------
   Warm layered depth: highlight top-left, shadow bottom-right, inset rim,
   warm elevation drop-shadow. Hover = gentle perspective tilt + lift. */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d0a08;
  border: 1px solid rgba(231,200,115,.22);
  box-shadow:
    0 2px 0 rgba(255,228,178,.10) inset,
    0 -2px 0 rgba(0,0,0,.45) inset,
    0 26px 60px -22px rgba(232,83,30,.5),
    0 14px 34px -14px rgba(0,0,0,.7);
}
.media-frame > img,
.media-frame > video {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.media-frame::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(255,231,184,.16) 0%,
    rgba(255,231,184,0) 30%,
    rgba(0,0,0,0) 65%,
    rgba(0,0,0,.28) 100%);
  box-shadow: 0 0 0 1px rgba(255,231,184,.10) inset;
}
/* Parents that hold a tilting frame need perspective */
.station-card, .flavor-item, .hero-media { perspective: 1000px; }
.station-card .media-frame,
.flavor-item.media-frame,
.hero-panel.media-frame {
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.station-card:hover .media-frame,
.flavor-item.media-frame:hover,
.hero-media:hover .hero-panel.media-frame {
  transform: perspective(1000px) rotateX(2.2deg) rotateY(-3deg) translateY(-4px);
  box-shadow:
    0 2px 0 rgba(255,228,178,.14) inset,
    0 -2px 0 rgba(0,0,0,.5) inset,
    0 34px 72px -22px rgba(244,162,41,.55),
    0 18px 40px -14px rgba(0,0,0,.72);
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(20, 16, 13, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(231, 200, 115, .14);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 14px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 1.28rem;
  color: var(--creme);
  letter-spacing: -.01em;
}
.brand-tag {
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ambar);
  font-weight: 600;
  margin-top: 3px;
}
.header-cta .ico-wa { width: 1.05em; height: 1.05em; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: clamp(28px, 6vw, 56px);
  padding-bottom: clamp(40px, 7vw, 80px);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -10%; left: -15%;
  width: 70vw; height: 70vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(232,83,30,.42) 0%, rgba(244,162,41,.16) 38%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.eyebrow {
  display: inline-block;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ouro);
  font-weight: 700;
  padding: 7px 14px;
  border: 1px solid rgba(231,200,115,.32);
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.05rem, 7.6vw, 4.2rem);
  font-variation-settings: "opsz" 144;
  font-weight: 900;
  letter-spacing: -.02em;
  text-wrap: balance;
  background: linear-gradient(180deg, var(--creme) 60%, var(--ouro) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(1.06rem, 2.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--creme-dim);
  max-width: 52ch;
}
.hero-actions { margin-top: 30px; }
.hero-proof {
  margin-top: 22px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  color: var(--creme-dim);
  font-size: .95rem;
}
.hero-proof strong { color: var(--creme); }
.stars { color: var(--google-star); letter-spacing: 1px; }

.hero-media { display: flex; justify-content: center; position: relative; z-index: 2; }
.hero-panel {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 576 / 900;
}
.hero-panel video, .hero-panel img { object-position: center 55%; }

/* ---------- CRED BAR ---------- */
.cred {
  background: var(--espresso-800);
  border-block: 1px solid rgba(231,200,115,.12);
}
.cred-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 22px;
  padding-block: 26px;
}
.cred-item {
  display: flex; align-items: center; gap: 12px;
  font-size: .98rem; font-weight: 500; line-height: 1.35;
  color: var(--creme);
}
.cred-item svg { width: 26px; height: 26px; fill: var(--ambar); flex: none; }

/* ---------- STEPS ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.step-card {
  background: var(--espresso-800);
  border: 1px solid rgba(231,200,115,.12);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-family: var(--ff-display);
  font-weight: 900; font-size: 1.4rem;
  color: #1B130C;
  background: linear-gradient(135deg, var(--brasa), var(--ambar));
  margin-bottom: 18px;
}
.step-card h3 { font-size: 1.3rem; color: var(--creme); margin-bottom: 8px; font-weight: 600; }
.step-card p { color: var(--creme-dim); font-size: 1rem; line-height: 1.55; }

/* ---------- STATIONS ---------- */
.stations { background: var(--espresso-900); }
.stations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2.5vw, 22px);
}
.station-card {
  background: var(--espresso-800);
  border: 1px solid rgba(231,200,115,.12);
  border-radius: var(--radius);
  padding: 12px 12px 4px;
  transition: border-color .25s ease;
}
.station-card:hover { border-color: rgba(244,162,41,.4); }
.station-img {
  aspect-ratio: 4 / 3;
  background: var(--espresso-700);
}
.station-img img { object-position: center center; }
.station-body { padding: 16px 8px 16px; }
.station-body h3 {
  font-size: 1.22rem; color: var(--ouro); font-weight: 600; margin-bottom: 7px;
  font-variation-settings: "opsz" 40;
}
.station-body p { color: var(--creme-dim); font-size: .98rem; line-height: 1.5; }

/* ---------- CTA BAND (mid) ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(60px, 10vw, 120px);
  text-align: center;
}
.cta-band-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,16,13,.82), rgba(20,16,13,.9)),
              radial-gradient(circle at 50% 40%, rgba(232,83,30,.28), transparent 60%);
}
.cta-band-inner { position: relative; z-index: 2; max-width: 680px; }
.cta-band h2 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  color: var(--creme);
  font-variation-settings: "opsz" 96;
}
.cta-band p { margin: 16px auto 30px; color: var(--creme-dim); max-width: 44ch; font-size: 1.05rem; }

/* ---------- EVENTS / CHIPS ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--espresso-800);
  border: 1px solid rgba(231,200,115,.24);
  color: var(--creme);
  font-weight: 600;
  font-size: 1rem;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.chips li:hover { border-color: var(--ambar); color: var(--ambar); transform: translateY(-2px); }

/* ---------- FLAVOR GALLERY ---------- */
.flavor { background: var(--espresso-800); }
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 2vw, 18px);
}
.flavor-item {
  margin: 0;
  aspect-ratio: 4 / 5;
}

/* ---------- REVIEWS (Google style) ---------- */
.reviews { background: var(--espresso-900); }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.review-card {
  background: #ffffff;
  color: #202124;
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  box-shadow: 0 14px 34px -16px rgba(0,0,0,.6);
  position: relative;
}
.review-top { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.review-id { display: flex; flex-direction: column; min-width: 0; }
.review-name { font-weight: 700; font-size: .98rem; color: #202124; }
.review-sub { font-size: .8rem; color: #5f6368; }
.review-g {
  position: absolute; top: 20px; right: 20px;
  width: 22px; height: 22px;
}
.review-meta { display: flex; align-items: center; gap: 10px; margin: 12px 0 8px; }
.review-stars { display: inline-flex; gap: 1px; }
.review-stars svg { width: 17px; height: 17px; }
.review-stars .on  { fill: var(--google-star); }
.review-stars .off { fill: #dadce0; }
.review-time { font-size: .8rem; color: #5f6368; }
.review-text { font-size: .97rem; color: #3c4043; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--espresso-800);
  border: 1px solid rgba(231,200,115,.14);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--creme);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--ff-display);
  font-size: 1.5rem; line-height: 1;
  color: var(--ambar);
  transition: transform .25s ease;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; color: var(--creme-dim); font-size: .98rem; }

/* ---------- FINAL CTA ---------- */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--espresso-900), var(--espresso-800));
}
.final-glow {
  position: absolute; bottom: -30%; left: 50%; transform: translateX(-50%);
  width: 90vw; height: 60vw; max-width: 900px; max-height: 560px;
  background: radial-gradient(circle, rgba(232,83,30,.4) 0%, rgba(244,162,41,.12) 40%, transparent 70%);
  pointer-events: none;
}
.final-inner { position: relative; z-index: 1; max-width: 680px; }
.final-cta h2 {
  font-size: clamp(2rem, 6.5vw, 3.4rem);
  font-variation-settings: "opsz" 144;
  color: var(--creme);
}
.final-cta p { margin: 18px auto 34px; color: var(--creme-dim); max-width: 46ch; font-size: 1.08rem; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--espresso-900);
  border-top: 1px solid rgba(231,200,115,.12);
  padding-block: 40px 96px; /* extra bottom for mobile sticky bar */
}
.footer-inner { display: flex; flex-direction: column; gap: 16px; }
.footer-brand { display: flex; flex-direction: column; }
.footer-contact { font-style: normal; color: var(--creme-dim); font-size: .9rem; line-height: 1.7; }
.footer-contact a { color: var(--ambar); }
.footer-contact a:hover { text-decoration: underline; }
.footer-copy { color: #6e6356; font-size: .8rem; }

/* ---------- STICKY MOBILE CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 200;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brasa), var(--ambar));
  color: #1B130C;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08) inset;
  animation: sticky-pulse 2.8s ease-in-out 1.5s infinite;
}
.sticky-cta:active { transform: scale(.98); }
.sticky-cta .ico-wa { width: 1.3em; height: 1.3em; }
@keyframes sticky-pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 0 0 rgba(244,162,41,.0); }
  50%      { box-shadow: 0 12px 30px -8px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 22px 2px rgba(244,162,41,.45); }
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--rd, 0ms);   /* set by JS for staggered groups */
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE — DESKTOP
   ========================================================= */
@media (min-width: 720px) {
  .cred-inner { grid-template-columns: repeat(4, 1fr); padding-block: 22px; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .stations-grid { grid-template-columns: repeat(3, 1fr); }
  .flavor-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .footer-copy { width: 100%; }
}

@media (min-width: 960px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1.12fr .88fr; align-items: center; }
  .hero-media { justify-content: flex-end; }
  .hero-panel { max-width: 440px; aspect-ratio: 576 / 760; }
  /* Sticky mobile bar hidden on desktop — header CTA + section CTAs cover it */
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 48px; }
}

/* =========================================================
   MOTION / ACCESSIBILITY
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .btn-sweep::after, .btn-primary::after { display: none; }
  .sticky-cta { animation: none; }
  .station-card:hover .media-frame,
  .flavor-item.media-frame:hover,
  .hero-media:hover .hero-panel.media-frame { transform: none; }
  .hero-media[data-parallax] { transform: none !important; }
}
