/* =========================================
   UTILITÁRIOS DE COR
========================================= */
.bg-creme { background-color: #f3edde; }
.text-amarelo { color: #fdad01; }
.text-laranja { color: orange; }
.text-preto { color: #000; }
.text-branco { color: #fff; }

/* =========================================
   LOADER
========================================= */
body.loading {
  overflow: hidden;
}

#site-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  z-index: 999999;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease;
}

.loader-bar {
  width: 100vw;
  height: 3px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: orange;
  transition: width 0.25s ease-out;
}

#site-loader.hide-up {
  transform: translateY(-100%);
}

/* =========================================
   HERO SLIDER
========================================= */
#section_time-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.bg-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.bg1, .bg2 {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bg2 {
  clip-path: circle(0% at 50% 50%);
}

.rays {
  position: absolute;
  width: 180vw;
  height: 180vw;
  left: 50%;
  bottom: -90vw;
  transform: translateX(-50%);
  transform-origin: center center;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.26) 0deg 8deg,
    rgba(255, 255, 255, 0) 8deg 22deg
  );
  animation: rotateRays 30s linear infinite;
}

.rays::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 60%);
}

@keyframes rotateRays {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

.slide {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.inner img {
  display: block;
  margin: 10px auto;
}

.frase {
  position: absolute;
  top: 24%;
  left: 50%;
  width: 500px;
}

.produto {
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 1000px;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  cursor: pointer;
}

.dot.active {
  width: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.dot .progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.9);
}

/* =========================================
   PIZZAS HOVER PREVIEW
========================================= */
#section_pizzas {
  position: relative;
  overflow: hidden;
}

.pizza-item {
  cursor: pointer;
  transition: color 0.4s;
}

.pizza-item:hover {
  color: #e30613;
}

.pizza-preview-dupla img {
  position: absolute;
  width: 560px;
  opacity: 0;
  pointer-events: none;
}

.img-top {
  top: 5%;
  right: -5%;
}

.img-bottom {
  bottom: 5%;
  left: -5%;
  transform: scaleX(-1) !important;
}

/* =========================================
   FAIXA DE PALAVRAS SCROLL
========================================= */
.bloco_palavras {
  width: 100vw;
  overflow: hidden;
  padding: 10px 0 100px;
  margin: 0;
}

.texto-scroll,
.texto-scroll-2 {
  white-space: nowrap;
  will-change: transform;
  color: #d8ceb4;
  line-height: 1;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.texto-scroll strong,
.texto-scroll-2 strong {
  color: orange;
}

/* =========================================
   SEÇÃO 3D BONÉ
========================================= */
#section_ponte {
  position: relative;
  height: 350vh;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
}

.ponte-pin {
  height: 100vh;
  position: relative;
}

#ponte-canvas {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.ponte-step-1,
.ponte-step-2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30%;
  z-index: 10;
}

.ponte-step-1 {
  left: 5%;
  opacity: 1;
}

.ponte-step-2 {
  right: 5%;
  opacity: 0;
}

/* =========================================
   LOTTIE SANDUÍCHE
========================================= */
.sand-lottie-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lottie-sand {
  width: 100%;
  max-width: 700px;
  margin: auto;
}

.frase-lottie {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  max-width: 280px;
  z-index: 2;
  font-size: 42px;
  line-height: 1;
}

.frase-lottie-left {
  left: -220px;
  text-align: left;
}

.frase-lottie-right {
  right: -220px;
  text-align: right;
}

/* =========================================
   CARROSSEL DE SANDUÍCHES EXPLODIDOS
========================================= */
.sanduiches-viewport {
  overflow: hidden;
  width: 100%;
}

.sanduiches-track {
  display: flex;
  gap: 110px;
  cursor: grab;
  will-change: transform;
  padding: 20px 0;
}

.sanduiches-track:active {
  cursor: grabbing;
}

.sanduiches-track .item {
  flex: 0 0 calc((100% - 260px) / 3);
}

.card_sanduiche,
.card_sanduiche_2 {
  border-radius: 24px;
  padding: 560px 20px 20px;
  text-align: center;
  position: relative;
  overflow: visible;
  transition: background 0.4s ease;
}

.card_sanduiche {
  background: linear-gradient(175deg, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
}

.card_sanduiche:hover {
  background: radial-gradient(circle, rgba(213, 63, 251, 1) 0%, rgba(155, 70, 252, 1) 100%);
}

.card_sanduiche_2 {
  background: radial-gradient(circle, rgba(213, 63, 251, 1) 0%, rgba(155, 70, 252, 1) 100%);
}

.card_sanduiche_2:hover {
  background: linear-gradient(0deg, rgba(34, 193, 195, 1) 0%, rgba(253, 187, 45, 1) 100%);
}

.card_sanduiche h2,
.card_sanduiche_2 h2 {
  margin: 0;
  color: #fff;
  position: relative;
  z-index: 3;
}

.burger-stack {
  position: relative;
  width: 500px;
  height: 500px;
  margin: auto;
  cursor: pointer;
}

.card_sanduiche .burger-stack,
.card_sanduiche_2 .burger-stack {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -60%) scale(1.05);
  width: 120%;
  max-width: none;
  transition: transform 0.4s ease;
  z-index: 2;
}

.burger-item {
  position: absolute;
  inset: 0;
}

.burger-stack .layer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  user-select: none;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  will-change: transform;
}

.layer-0 { z-index: 1; bottom: 0; }
.layer-1 { z-index: 2; bottom: 55px; }
.layer-2 { z-index: 3; bottom: 105px; }
.layer-3 { z-index: 4; bottom: 150px; }

.burger-stack:hover .layer-0 { transform: translateX(-50%) translateY(-10px); }
.burger-stack:hover .layer-1 { transform: translateX(-50%) translateY(-60px); }
.burger-stack:hover .layer-2 { transform: translateX(-50%) translateY(-120px); }
.burger-stack:hover .layer-3 { transform: translateX(-50%) translateY(-180px); }

.burger-item::after {
  content: attr(data-alt);
  position: absolute;
  background: #f4f4f4;
  color: #333;
  padding: 6px 12px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 50;
}

.burger-item:nth-child(1)::after { left: 75%; top: 350px; }
.burger-item:nth-child(2)::after { left: 55%; top: 250px; }
.burger-item:nth-child(3)::after { left: 25%; top: 150px; }
.burger-item:nth-child(4)::after { left: 5%; top: 50px; }

.burger-stack:hover .burger-item::after { opacity: 1; }
.burger-stack:hover .burger-item:nth-child(1)::after { transition-delay: 0s; }
.burger-stack:hover .burger-item:nth-child(2)::after { transition-delay: 0.05s; }
.burger-stack:hover .burger-item:nth-child(3)::after { transition-delay: 0.1s; }
.burger-stack:hover .burger-item:nth-child(4)::after { transition-delay: 0.15s; }

/* =========================================
   CARDS EMPILHADOS (PONTO DE ENCONTRO)
========================================= */
#section-patrocinio-container {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.card-patrocinio {
  position: relative;
  top: 0;
  height: 70vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-patro {
  position: absolute;
  width: 300px;
  max-width: 95vw;
  height: 450px;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform-origin: center center;
  opacity: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.card-patro-1 { background-image: url("../imagens/c1.jpg"); }
.card-patro-2 { background-image: url("../imagens/c2.jpg"); }
.card-patro-3 { background-image: url("../imagens/c3.jpg"); }
.card-patro-4 { background-image: url("../imagens/c4.jpg"); }
.card-patro-5 { background-image: url("../imagens/c5.jpg"); }

/* =========================================
   DELIVERY
========================================= */
#section-delivery {
  position: relative;
  height: 100vh;
  background: #f3edde;
  overflow: hidden;
}

.delivery-wrap {
  display: flex;
  height: 100%;
}

.delivery-text {
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}

.inner-text {
  max-width: 500px;
}

.delivery-img {
  width: 55%;
  position: relative;
  overflow: hidden;
}

.delivery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(100%);
}

/* =========================================
   WIPE IFOOD
========================================= */
#section-evoluir {
  position: relative;
  height: 100vh;
  background: #b3271c;
  overflow: hidden;
  --wipe: 100%;
}

.bg-fill {
  position: absolute;
  inset: 0;
  background: #ffa500;
  clip-path: inset(0 var(--wipe) 0 0);
  z-index: 1;
}

#section-evoluir .content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  top: 120px;
  justify-content: center;
}

#section-evoluir .text {
  position: absolute;
  text-align: center;
}

#section-evoluir .text h2 {
  font-size: 4rem;
  color: #fff;
}

.text-black { z-index: 2; }
.text-white { z-index: 3; }

.text-white h2 {
  color: #b3271c !important;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--wipe)), transparent 0);
  mask-image: linear-gradient(to right, #000 calc(100% - var(--wipe)), transparent 0);
}

.pizza-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 70vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 4;
}

.pizza-wrap img {
  width: auto;
  height: auto;
  max-width: none;
  aspect-ratio: 1 / 1;
}

/* =========================================
   PARALLAX VÍDEOS
========================================= */
#section-treinos video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* =========================================
   FESTAS DE ANIVERSÁRIO
========================================= */
.reveal_foto {
  --progress: 0;
  --sub-scale: 0.25;
  --sub-opacity: 0;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.reveal_foto_text_left {
  font-size: 4vw;
  margin: 0;
}

.reveal_subtitulo {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  font-size: 3rem;
  line-height: 0.9;
  color: #fff;
  text-align: center;
  opacity: var(--sub-opacity, 0);
  transform: translate(-50%, -50%) scale(var(--sub-scale, 0.5));
  will-change: transform, opacity;
}

.reveal_foto_text_left-left,
.reveal_foto_text_right {
  display: inline-block;
}

.reveal_foto_text_left-left {
  transform: translate3d(calc(var(--progress) * (-96vw + 100%) - 0.5vw), 0, 0);
}

.reveal_foto_text_right {
  transform: translate3d(calc(var(--progress) * (96vw - 100%)), 0, 0);
}

.reveal_foto_media {
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scale(var(--progress));
}

.reveal_foto_media_img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================
   RESPONSIVO (MOBILE)
========================================= */
@media (max-width: 768px) {
  .pizza-item {
    font-size: 36px !important;
    line-height: 0.9;
  }

  .pizza-preview-dupla img {
    width: 260px;
  }

  .img-top { top: 10%; right: -20%; }
  .img-bottom { bottom: 10%; left: -20%; }

  .sand-lottie-wrapper {
    flex-direction: column;
    padding: 40px 0;
  }

  .frase-lottie {
    position: relative;
    top: auto;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    opacity: 1;
    width: 100%;
    max-width: 100%;
    text-align: center !important;
    font-size: 28px;
    line-height: 1.1;
    margin: 20px auto;
    padding: 0 15px;
  }

  .sanduiches-viewport {
    overflow: visible;
    padding: 0 10px;
  }

  .sanduiches-track {
    gap: 24px;
    padding: 20px 0 40px;
  }

  .sanduiches-track .item {
    flex: 0 0 88%;
  }

  .card_sanduiche,
  .card_sanduiche_2 {
    border-radius: 24px;
    padding: 420px 18px 50px;
    min-height: 420px;
    overflow: hidden;
  }

  .burger-stack {
    width: 320px;
    height: 320px;
  }

  .card_sanduiche .burger-stack,
  .card_sanduiche_2 .burger-stack {
    top: 42%;
    left: 50%;
    width: 115%;
    transform: translate(-50%, -50%) scale(0.92);
  }

  .card_sanduiche h2,
  .card_sanduiche_2 h2 {
    font-size: 32px;
    line-height: 1;
  }

  .burger-item::after {
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 30px;
    max-width: 140px;
    white-space: normal;
    text-align: center;
    line-height: 1.1;
  }

  .burger-item:nth-child(1)::after { left: 58%; top: 240px; }
  .burger-item:nth-child(2)::after { left: 45%; top: 180px; }
  .burger-item:nth-child(3)::after { left: 18%; top: 120px; }
  .burger-item:nth-child(4)::after { left: 5%; top: 60px; }

  .burger-stack:hover .layer-0 { transform: translateX(-50%) translateY(-6px); }
  .burger-stack:hover .layer-1 { transform: translateX(-50%) translateY(-30px); }
  .burger-stack:hover .layer-2 { transform: translateX(-50%) translateY(-60px); }
  .burger-stack:hover .layer-3 { transform: translateX(-50%) translateY(-90px); }

  #section-delivery {
    height: auto;
    padding: 60px 0;
  }

  .delivery-wrap {
    flex-direction: column;
  }

  .delivery-text {
    width: 100%;
    padding: 20px;
  }

  .inner-text {
    max-width: 100%;
  }

  .delivery-img {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  .delivery-img img {
    position: relative;
    height: auto;
    object-fit: contain;
    transform: none !important;
  }

  .pizza-wrap {
    height: 60vh;
    align-items: center;
  }

  .pizza-wrap img {
    width: 110vw;
    height: auto;
  }

  .reveal_foto_text_left {
    font-size: 7vw;
  }
}