/* ==========================================================================
   DOG DO KENINHO — ESTILOS 3D / SKEUOMORPHIC & FALLBACK COMPLETO DE LAYOUT
   ========================================================================== */

:root {
  --bg-night: #140905;
  --keninho-red: #9E1316;
  --keninho-red-bright: #C8191E;
  --keninho-red-deep: #65080A;
  --keninho-gold: #FFBE1A;
  --keninho-gold-light: #FFD954;
  --keninho-orange: #EB5E16;
  --wood-dark: #3B1E0D;
  --font-display: 'Montserrat', 'Arial Black', Impact, sans-serif;
  --font-sans: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-night);
  color: #ffffff;
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. PALCO E CENÁRIO (NOITE DE LANCHONETE + MESA DE MADEIRA)
   ========================================================================== */
.stage-wrapper {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.scene-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #2a1207 0%, #0d0402 85%);
}

.scene-backdrop__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  opacity: 0.94;
  display: block;
  z-index: 1;
  pointer-events: none;
  transform: scale(1.01);
  filter: contrast(1.06) saturate(1.10);
}

.scene-backdrop__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 25% 35%, rgba(0, 0, 0, 0.44) 0%, transparent 62%),
    linear-gradient(180deg, rgba(12, 5, 2, 0.32) 0%, rgba(12, 5, 2, 0.04) 48%, rgba(18, 6, 2, 0.42) 100%);
}

@media (max-width: 768px) {
  .scene-backdrop__video {
    object-position: center 52%;
    opacity: 0.96;
  }
  .scene-backdrop__vignette {
    background:
      radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0.20) 0%, transparent 70%),
      linear-gradient(180deg, rgba(12, 5, 2, 0.42) 0%, rgba(12, 5, 2, 0.02) 38%, rgba(18, 6, 2, 0.50) 100%);
  }
}

/* ==========================================================================
   2. HEADER GLASSMORPHIC & LOGO 3D "DOG DO KENINHO"
   ========================================================================== */
.glass-navbar {
  background: linear-gradient(135deg, rgba(120, 92, 74, 0.42) 0%, rgba(74, 55, 44, 0.34) 100%);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1.5px solid rgba(255, 238, 215, 0.34);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.42),
    inset 0 1px 1px rgba(255, 255, 255, 0.32);
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.75));
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
}

.brand-logo:hover {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 5px 12px rgba(255, 190, 26, 0.35));
}

.brand-logo__gold {
  background: linear-gradient(180deg, #FFF9D2 0%, #FFD03B 38%, #F59300 70%, #B84E00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1.5px 0 #6A1A02) drop-shadow(0 3px 0 #3E0C00);
  letter-spacing: 0.03em;
}

.brand-logo__accent {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF3D6 45%, #FFDF85 80%, #E89E18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.9em;
  font-weight: 900;
  filter: drop-shadow(0 1.5px 0 #6A1A02) drop-shadow(0 3px 0 #3E0C00);
  letter-spacing: 0.02em;
  margin: 0 0.05rem;
}

.nav-link {
  position: relative;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.25rem 0.15rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--keninho-gold);
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

.nav-link:hover {
  color: var(--keninho-gold-light);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* ==========================================================================
   3. TIPOGRAFIA HERO 3D (IMPACTO VISUAL)
   ========================================================================== */
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.04;
  margin: 0;
}

.hero-title__line {
  display: block;
  paint-order: stroke fill;
}

.hero-title__line--gold {
  font-size: clamp(1.5rem, 2.75vw, 2.5rem);
  color: #FFBE1A;
  -webkit-text-stroke: 1.5px #2B1004;
  text-shadow:
    0 2px 0 #3D1605,
    0 4px 0 #240B02,
    0 8px 18px rgba(0, 0, 0, 0.78);
}

.hero-title__line--white {
  font-size: clamp(1.62rem, 2.95vw, 2.68rem);
  color: #FFFFFF;
  -webkit-text-stroke: 1.5px #260E04;
  text-shadow:
    0 2px 0 #331306,
    0 4px 0 #1E0902,
    0 8px 20px rgba(0, 0, 0, 0.82);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   4. O BOTÃO CTA DE DESTAQUE 3D / SKEUOMORPHIC ("BUSCAR LOJA")
   ========================================================================== */
/* ==========================================================================
   BOTÃO CTA 3D SKEUOMORPHIC — FOOD TRUCK "VER LOCALIZAÇÃO"
   ========================================================================== */
.cta-foodtruck-wrapper {
  position: relative;
  display: inline-block;
  max-width: 390px;
  width: 100%;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.75));
}

.cta-foodtruck-btn {
  position: relative;
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.28s ease;
  will-change: transform, filter;
  animation: foodtruckFloat 4.5s ease-in-out infinite;
}

.cta-foodtruck-btn:hover,
.cta-foodtruck-btn:focus-visible {
  transform: translateY(-7px) scale(1.04);
  filter: drop-shadow(0 18px 32px rgba(255, 190, 26, 0.42));
  animation-play-state: paused;
}

.cta-foodtruck-btn:active {
  transform: translateY(3px) scale(0.97);
}

.cta-foodtruck-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}


@keyframes foodtruckFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 639px) {
  .cta-foodtruck-wrapper {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

.cta-3d-wrapper {
  position: relative;
  display: inline-block;
  perspective: 900px;
}

.cta-dashed-arc {
  position: absolute;
  top: -34px;
  left: -14px;
  width: 245px;
  height: 165px;
  z-index: 5;
}

.cta-3d-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transform: rotate(-3deg) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), filter 0.32s ease;
  filter: drop-shadow(0 18px 20px rgba(15, 4, 1, 0.78));
}

.cta-3d-card:hover,
.cta-3d-card:focus-visible {
  transform: rotate(-1deg) scale(1.055) translateY(-4px);
  filter: drop-shadow(0 24px 26px rgba(15, 4, 1, 0.88)) brightness(1.05);
}

.cta-3d-card:active {
  transform: rotate(-2deg) scale(0.98) translateY(2px);
}

/* Pin 3D Vermelho no Topo do Botão */
.cta-3d-pin {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-44%) rotate(3deg);
  width: 68px;
  height: 82px;
  z-index: 30;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-3d-card:hover .cta-3d-pin {
  transform: translateX(-44%) translateY(-6px) rotate(0deg) scale(1.07);
}

/* Corpo Skeuomorphic com Borda Amarela 3D */
.cta-3d-body {
  position: relative;
  width: 218px;
  height: 128px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #FF9914 0%, #D12814 55%, #5C0709 100%);
  border: 3.5px solid #FFCB36;
  box-shadow:
    0 7px 0 #8E1216,
    0 11px 0 #4D0507,
    inset 0 2px 3px rgba(255, 255, 255, 0.65),
    inset 0 -4px 8px rgba(45, 4, 4, 0.85);
}

.cta-3d-bg-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 82%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.06);
  filter: saturate(1.18) contrast(1.06);
}

.cta-3d-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 168, 28, 0.05) 0%,
    rgba(140, 20, 14, 0.32) 44%,
    rgba(52, 6, 6, 0.92) 76%,
    rgba(32, 3, 4, 0.98) 100%
  );
}

.cta-3d-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  z-index: 20;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 80%
  );
  transform: skewX(-20deg);
  animation: ctaShineSweep 4.2s infinite ease-in-out;
}

@keyframes ctaShineSweep {
  0%, 65% { left: -120%; }
  100% { left: 160%; }
}

.cta-inner-sparkle {
  position: absolute;
  color: #FFF4B8;
  font-size: 13px;
  z-index: 15;
  text-shadow: 0 0 6px #FFD03B;
}

.cta-inner-sparkle--left {
  bottom: 42px;
  left: 12px;
}

.cta-inner-sparkle--right {
  bottom: 46px;
  right: 12px;
}

.cta-text-top {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.02rem;
  line-height: 1.05;
  color: #FFC72C;
  -webkit-text-stroke: 1.3px #2A0A03;
  paint-order: stroke fill;
  text-shadow:
    0 2px 0 #1E0602,
    0 3px 6px rgba(0, 0, 0, 0.85);
}

.cta-text-main {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.32rem;
  line-height: 1.05;
  color: #FFFFFF;
  -webkit-text-stroke: 1.5px #240802;
  paint-order: stroke fill;
  text-shadow:
    0 2px 0 #240802,
    0 4px 0 #140301,
    0 5px 10px rgba(0, 0, 0, 0.9);
}

.cta-3d-subbox {
  position: relative;
  z-index: 25;
  margin-top: 2px;
  padding: 4px 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #3A1D12 0%, #1C0B06 100%);
  border: 1.5px solid rgba(255, 198, 66, 0.45);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.75);
}

.cta-3d-subbox span {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: #FFF5E4;
  text-transform: uppercase;
  white-space: nowrap;
}

.cta-hand-cursor {
  position: absolute;
  right: -18px;
  bottom: -14px;
  width: 46px;
  height: 52px;
  z-index: 35;
  transform: rotate(-18deg);
  animation: handHoverBob 2.2s ease-in-out infinite;
}

@keyframes handHoverBob {
  0%, 100% {
    transform: translate(0, 0) rotate(-18deg) scale(1);
  }
  45% {
    transform: translate(-5px, -6px) rotate(-12deg) scale(0.95);
  }
  55% {
    transform: translate(-3px, -4px) rotate(-14deg) scale(1.03);
  }
}

.cursor-ripple {
  animation: cursorPulse 2.2s ease-out infinite;
  transform-origin: 16px 12px;
}

@keyframes cursorPulse {
  0%, 35% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

/* ==========================================================================
   5. HERO PRODUCT SHOWCASE COM FOTOS REAIS DO ENSAIO
   ========================================================================== */
.hero-selector-pills {
  background: rgba(30, 14, 8, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 214, 71, 0.28);
}

.hero-selector-btn {
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.68rem, 1.2vw, 0.78rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.hero-selector-btn:hover {
  color: #FFD954;
  background: rgba(255, 255, 255, 0.08);
}

.hero-selector-btn.active {
  background: linear-gradient(180deg, #FFCE38 0%, #E59400 100%);
  color: #240B02;
  border-color: #FFE680;
  box-shadow: 0 4px 14px rgba(229, 148, 0, 0.45);
}

.hero-showcase-container {
  position: relative;
  width: 100%;
}

.hero-showcase-card {
  position: relative;
  background: #140704;
}

.hero-slide-wrapper {
  position: relative;
  width: 100%;
}

.hero-slide-img {
  transition: opacity 0.28s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

/* Canvas de Fumaça Dinâmica */
.steam-canvas {
  position: absolute;
  top: -12%;
  left: 12%;
  width: 76%;
  height: 66%;
  z-index: 25;
  pointer-events: none;
  mix-blend-mode: screen;
}

.steam-wisps {
  position: absolute;
  top: -6%;
  left: 20%;
  width: 52%;
  height: 48%;
  z-index: 24;
  pointer-events: none;
}

.steam-wisp {
  position: absolute;
  bottom: 10%;
  width: 90px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 248, 240, 0.08) 45%,
    transparent 72%
  );
  filter: blur(14px);
  opacity: 0;
  animation: steamRise 5.5s ease-in-out infinite;
}

.steam-wisp--1 {
  left: 18%;
  animation-delay: 0s;
}

.steam-wisp--2 {
  left: 44%;
  width: 110px;
  height: 170px;
  animation-delay: 1.8s;
}

.steam-wisp--3 {
  left: 65%;
  animation-delay: 3.4s;
}

@keyframes steamRise {
  0% {
    transform: translateY(25px) scaleX(0.8) scaleY(0.7) rotate(-6deg);
    opacity: 0;
  }
  35% {
    opacity: 0.55;
  }
  70% {
    opacity: 0.35;
  }
  100% {
    transform: translateY(-75px) scaleX(1.35) scaleY(1.25) rotate(10deg);
    opacity: 0;
  }
}

/* ==========================================================================
   6. ELEMENTOS FLUTUANTES (BATATAS, MANJERICÃO, ESTRELAS)
   ========================================================================== */
.floating-elements-layer {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  overflow: hidden;
}

.float-item {
  position: absolute;
  will-change: transform;
}

.float-fry-top-left {
  top: 9.5%;
  left: 10.5%;
  width: clamp(72px, 8.8vw, 128px);
  height: clamp(58px, 7vw, 102px);
  animation: floatSlow1 5.4s ease-in-out infinite;
}

.float-leaf-left {
  top: 40%;
  left: 11.2%;
  width: clamp(56px, 6.2vw, 92px);
  height: clamp(46px, 5.2vw, 76px);
  animation: floatSlow2 6.2s ease-in-out infinite;
}

.float-leaf-right {
  top: 15.5%;
  right: 11%;
  width: clamp(64px, 7.2vw, 106px);
  height: clamp(58px, 6.5vw, 96px);
  animation: floatSlow1 5.8s ease-in-out infinite reverse;
}

.float-mini-fries-box {
  bottom: 15.5%;
  left: 11.5%;
  width: clamp(68px, 7.8vw, 112px);
  height: clamp(74px, 8.4vw, 122px);
  animation: floatSubtleBox 6.5s ease-in-out infinite;
}

.sparkle {
  position: absolute;
  animation: twinkleStar 3.2s ease-in-out infinite;
}

.sparkle--white-left {
  top: 14%;
  left: 20.2%;
  width: 20px;
  height: 20px;
}

.sparkle--red-left {
  top: 36.5%;
  left: 18.8%;
  width: 18px;
  height: 18px;
  animation-delay: 1.1s;
}

.sparkle--gold-star {
  top: 16%;
  right: 23.2%;
  width: 24px;
  height: 24px;
  animation-delay: 0.6s;
}

.sparkle--white-right {
  top: 35%;
  right: 16.5%;
  width: 20px;
  height: 20px;
  animation-delay: 1.7s;
}

@keyframes floatSlow1 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -11px, 0) rotate(4deg); }
}

@keyframes floatSlow2 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(6px, -9px, 0) rotate(-5deg); }
}

@keyframes floatSubtleBox {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -4px, 0) rotate(-1.5deg); }
}

@keyframes twinkleStar {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.92; }
  50% { transform: scale(1.25) rotate(12deg); opacity: 1; }
}

/* ==========================================================================
   7. RODAPÉ / SEÇÃO "COMO FUNCIONA" (ONDA VERMELHA + CARDS COM FOTOS REAIS)
   ========================================================================== */
.red-wave-footer {
  position: relative;
  width: 100%;
}

.red-wave-shape-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.red-wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Cards Táteis 3D com Estética Diner Escura, Borda Dourada e Foto Real */
.step-card {
  position: relative;
  background: linear-gradient(180deg, #240E07 0%, #170703 100%);
  color: #FFFDF8;
  border-radius: 20px;
  padding: 1rem 0.95rem 1.05rem;
  text-align: center;
  border: 1.8px solid rgba(255, 199, 44, 0.45);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.65),
    0 4px 0 #4A1505,
    inset 0 1px 0 rgba(255, 235, 150, 0.25);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start;
}

.step-card:hover,
.step-card:focus-visible {
  transform: translateY(-5px);
  border-color: #FFC72C;
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.8),
    0 5px 0 #FF9E00,
    0 0 22px rgba(255, 190, 26, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  outline: none;
}

/* Miniatura da Foto Real do Produto dentro do Card */
.step-card__img-wrap {
  position: relative;
  width: 100%;
  max-width: 190px;
  height: 112px;
  border-radius: 14px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.75rem;
  border: 2px solid rgba(255, 199, 44, 0.75);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.step-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.step-card:hover .step-card__img {
  transform: scale(1.08);
}

/* Medalhão 3D Laranja/Vermelho sobreposto à miniatura */
.step-card__icon-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: radial-gradient(circle at 35% 30%, #FF8533 0%, #E04312 58%, #9E1908 100%);
  border: 2px solid #FFD27D;
  box-shadow: 0 4px 8px rgba(60, 6, 4, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  color: #FFD03B;
  margin: 0 0 0.3rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.step-card__desc {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.76rem;
  line-height: 1.38;
  color: rgba(255, 245, 235, 0.9);
  margin: 0;
}

/* Ícones Sociais no Rodapé */
.social-pill {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #8E1115;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-pill:hover {
  transform: translateY(-2px) scale(1.08);
  background: #FFD03B;
  color: #4D0507;
}

/* ==========================================================================
   8. RESPONSIVIDADE AVANÇADA (MOBILE-FIRST PERFECTION)
   ========================================================================== */
@media (min-width: 1024px) {
  .hero-visual-col {
    margin-left: -12px;
  }
}

@media (max-width: 1023px) {
  .float-fry-top-left {
    top: 7%;
    left: 2%;
    width: 60px;
  }
  .float-leaf-left {
    top: 30%;
    left: 2%;
    width: 48px;
  }
  .float-leaf-right {
    top: 10%;
    right: 2%;
    width: 52px;
  }
  .float-mini-fries-box {
    display: none;
  }
  .sparkle--white-left,
  .sparkle--red-left {
    display: none;
  }
  .red-wave-footer {
    background: linear-gradient(180deg, #AA1418 0%, #6D080B 100%);
    border-top: 3px solid rgba(255, 138, 117, 0.55);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.65);
    margin-top: 1.5rem;
    padding-bottom: 4.8rem; /* Espaço para a barra flutuante mobile */
  }
  .red-wave-shape-wrap {
    display: none;
  }

  /* Hierarquia Mobile: Texto -> Imagem do Produto -> Botão CTA */
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .hero-text-col {
    order: 1;
    width: 100%;
  }
  .hero-visual-col {
    order: 2;
    width: 100%;
  }
  .cta-3d-wrapper {
    margin-top: 1.25rem;
  }
}

@media (max-width: 639px) {
  .hero-title__line--gold {
    font-size: 1.48rem;
  }
  .hero-title__line--white {
    font-size: 1.58rem;
  }
  .cta-3d-body {
    width: 206px;
    height: 120px;
  }
  .hero-selector-pills {
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 3px;
    gap: 4px;
  }
  .hero-selector-btn {
    padding: 5px 8px;
    font-size: 0.68rem;
  }
  .hero-selector-pills::-webkit-scrollbar {
    display: none;
  }
}

/* Respeito a Redução de Movimento (Acessibilidade) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   9. ESTRUTURA NATIVA COMPLETA (GARANTE LAYOUT 100% FUNCIONAL MESMO OFFLINE)
   ========================================================================== */
.hidden {
  display: none !important;
}

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.min-h-screen { min-height: 100vh; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-auto { margin-top: auto; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* Containers e Espaçamentos Estruturais */
header .glass-navbar {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.75rem;
  border-radius: 1rem;
}

header .glass-navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

main#topo {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.75rem 1.5rem;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1.5rem;
}

.red-wave-footer > .relative.z-10 {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 1.5rem 1rem;
}

@media (min-width: 640px) {
  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex !important;
  }
  .md\:hidden {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }
  .lg\:col-span-5 {
    grid-column: span 5 / span 5;
  }
  .lg\:col-span-7 {
    grid-column: span 7 / span 7;
  }
  .lg\:col-span-9 {
    grid-column: span 9 / span 9;
  }
  .lg\:items-start {
    align-items: flex-start;
  }
  .lg\:text-left {
    text-align: left;
  }
  .lg\:pl-6 {
    padding-left: 1.5rem;
  }
  .lg\:pl-2 {
    padding-left: 0.5rem;
  }
}

/* Modais Estruturais */
.keninho-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.keninho-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.keninho-modal__panel {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 48rem;
  border-radius: 1.5rem;
  background: #1F0E08;
  border: 2px solid #FFBE1A;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  padding: 1.75rem;
  color: #ffffff;
}
