@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}

:root {
  --black: #050505;
  --pure-black: #000000;
  --white: #ffffff;
  --white-88: rgba(255, 255, 255, 0.88);
  --white-72: rgba(255, 255, 255, 0.72);
  --white-28: rgba(255, 255, 255, 0.28);
  --white-18: rgba(255, 255, 255, 0.18);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-04: rgba(255, 255, 255, 0.04);
  --black-88: rgba(5, 5, 5, 0.88);
  --black-72: rgba(5, 5, 5, 0.72);
  --black-16: rgba(5, 5, 5, 0.16);
  --container-max: 1120px;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background-color: var(--black);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--black);
  color: var(--white);
  overflow-x: clip;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.08) 0%, transparent 48%),
    radial-gradient(circle at 50% 88%, rgba(255, 255, 255, 0.04) 0%, transparent 52%);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

/* =========================================
   INTRO CINEMATOGRÁFICA (MAPA + PINS + PULAR)
   ========================================= */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: var(--black);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

html.js-intro-active .intro-overlay {
  display: flex;
}

.intro-inner {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.intro-map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 320;
  border-radius: 24px;
  border-top: 1px solid var(--white-28);
  border-right: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-04);
  border-left: 1px solid var(--white-10);
  background: radial-gradient(circle at 52% 48%, rgba(255, 255, 255, 0.06) 0%, transparent 72%);
  overflow: hidden;
}

.intro-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.map-pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translate3d(-50%, -40%, 0);
  pointer-events: none;
}

.map-pin-salvador {
  left: 24%;
  top: 68%;
}

.map-pin-pituba {
  left: 68%;
  top: 28%;
}

.map-pin-main {
  left: 51.6%;
  top: 48.5%;
}

.pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

.pin-ring {
  position: absolute;
  left: -9px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  animation: pinPulse 1.8s var(--ease-premium) infinite;
}

.pin-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--white-28);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.intro-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.intro-caption {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-72);
}

.btn-skip {
  min-width: 96px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 28px;
  background: var(--white);
  color: var(--black);
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease-premium), opacity 0.25s ease;
}

.btn-skip:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

@keyframes pinPulse {
  0% {
    transform: scale(0.75);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

/* =========================================
   NAVBAR FLUTUANTE MINIMALISTA
   ========================================= */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding-inline: 12px;
  pointer-events: none;
}

.floating-nav {
  pointer-events: auto;
  width: 100%;
  max-width: 560px;
  height: 54px;
  padding: 6px 8px 6px 10px;
  border-radius: 28px;
  background: rgba(5, 5, 5, 0.92);
  border-top: 1px solid var(--white-28);
  border-right: 1px solid var(--white-18);
  border-bottom: 1px solid var(--white-10);
  border-left: 1px solid var(--white-18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-right: 8px;
  white-space: nowrap;
}

.nav-logo-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 3px;
  flex-shrink: 0;
}

.nav-logo-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-brand-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white-04);
  border: 1px solid var(--white-18);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease-premium), background-color 0.25s ease, border-color 0.25s ease;
}

.nav-icon-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.nav-icon-btn:active {
  transform: scale(0.96);
}

/* =========================================
   BOTÕES PREMIUM COM SHINY SWEEP GLOW
   ========================================= */
.btn-shiny {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 28px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
}

.btn-shiny-primary {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 12px 34px rgba(255, 255, 255, 0.16);
}

.btn-shiny-outline {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--white-28);
  box-shadow: inset 0 1px 0 var(--white-18);
}

.btn-shiny::after,
.btn-shiny-circle::after {
  content: '';
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 55%;
  background: linear-gradient(105deg, transparent 10%, rgba(255, 255, 255, 0.65) 50%, transparent 90%);
  transform: translate3d(-120%, 0, 0) rotate(12deg);
  animation: shinySweep 4.8s var(--ease-premium) infinite;
  pointer-events: none;
  z-index: 1;
}

.btn-shiny-primary::after {
  background: linear-gradient(105deg, transparent 10%, rgba(5, 5, 5, 0.18) 50%, transparent 90%);
}

.btn-shiny span,
.btn-shiny svg,
.btn-shiny-circle svg {
  position: relative;
  z-index: 2;
}

.btn-shiny:focus-visible,
.btn-shiny-circle:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.btn-shiny:active,
.btn-shiny-circle:active {
  transform: scale(0.98);
}

@keyframes shinySweep {
  0%,
  45% {
    transform: translate3d(-140%, 0, 0) rotate(12deg);
    opacity: 0;
  }
  58% {
    opacity: 1;
  }
  75%,
  100% {
    transform: translate3d(380%, 0, 0) rotate(12deg);
    opacity: 0;
  }
}

/* =========================================
   SEÇÕES EM CAMADAS (SOBEM UMAS SOBRE AS OUTRAS)
   ========================================= */
.page-main {
  position: relative;
  z-index: 1;
}

.layer-section {
  position: relative;
  background-color: var(--black);
}

.layer-hero {
  z-index: 10;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 96px 0 64px;
}

.layer-cards {
  z-index: 20;
  border-top: 1px solid var(--white-18);
  box-shadow: 0 -24px 64px rgba(0, 0, 0, 0.9);
  padding: 84px 0 64px;
}

.layer-marquee {
  z-index: 30;
  border-top: 1px solid var(--white-18);
  box-shadow: 0 -24px 64px rgba(0, 0, 0, 0.9);
  padding: 72px 0;
  overflow-x: clip;
}

.layer-location {
  z-index: 40;
  border-top: 1px solid var(--white-18);
  box-shadow: 0 -24px 64px rgba(0, 0, 0, 0.9);
  padding: 72px 0 44px;
}

/* =========================================
   HERO
   ========================================= */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-bubble-wrap {
  position: relative;
  margin-bottom: 24px;
}

.hero-bubble-wrap::before {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.logo-bubble {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--white);
  box-shadow: 0 20px 54px rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  padding: 12px;
  overflow: hidden;
}

.logo-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-title {
  margin: 0 0 8px;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--white);
}

.hero-subtitle {
  margin: 0 0 6px;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 500;
  color: var(--white-88);
  letter-spacing: -0.015em;
}

.hero-delivery {
  margin: 0 0 28px;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--white-72);
}

.hero-cta-row {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-cta-row .btn-shiny {
  width: 100%;
}

.hero-meta-grid {
  width: 100%;
  max-width: 740px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--white-18);
  text-align: center;
}

.meta-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white-72);
  margin-bottom: 6px;
}

.meta-value {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--white);
  line-height: 1.45;
}

/* =========================================
   CABEÇALHOS CENTRALIZADOS DE SEÇÃO
   ========================================= */
.section-header-center {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--white-72);
}

.section-title {
  margin: 8px 0 10px;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
}

.section-subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: var(--white-72);
}

/* =========================================
   CARDS EMPILHADOS COM PIN + CONTADOR
   ========================================= */
.cards-pin-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cards-counter-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cards-counter {
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--white-28);
  color: var(--white);
  background: var(--black);
}

.cards-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 360px;
  margin: 28px auto 0;
}

.stack-card {
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  height: 256px;
  border-radius: 26px;
  padding: 22px;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  will-change: transform, opacity;
  transform-origin: 50% 0%;
}

.stack-card.is-front {
  pointer-events: auto;
}

.stack-card[data-index='1'],
.stack-card[data-index='3'] {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--white-28);
  border-right: 1px solid var(--white-18);
  border-bottom: 1px solid var(--white-10);
  border-left: 1px solid var(--white-18);
  box-shadow: inset 0 1px 0 var(--white-28), 0 24px 56px rgba(0, 0, 0, 0.85);
}

.stack-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stack-card-num {
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
}

.stack-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid currentColor;
  opacity: 0.88;
}

.stack-card-title {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.stack-card-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.42;
  opacity: 0.82;
}

.stack-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stack-card-hint {
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.78;
}

.circle-cta {
  position: relative;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease-premium);
}

.stack-card[data-index='1'] .circle-cta,
.stack-card[data-index='3'] .circle-cta {
  background: var(--white);
  color: var(--black);
}

/* =========================================
   ESTEIRA DE PRODUTOS EM GSAP
   ========================================= */
.marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8px 0 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.product-frame {
  margin: 0;
  width: 220px;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  background: var(--black);
  border-top: 1px solid var(--white-28);
  border-right: 1px solid var(--white-18);
  border-bottom: 1px solid var(--white-10);
  border-left: 1px solid var(--white-18);
  flex-shrink: 0;
}

.product-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.marquee-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* =========================================
   LOCALIZAÇÃO E RODAPÉ
   ========================================= */
.location-container {
  max-width: 780px;
}

.location-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--white-18);
  border-bottom: 1px solid var(--white-18);
  text-align: center;
}

.location-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white-72);
  margin-bottom: 6px;
}

.location-text {
  margin: 0;
  font-size: 0.98rem;
  color: var(--white);
}

.location-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px auto 44px;
  max-width: 560px;
}

.location-actions .btn-shiny {
  width: 100%;
}

.site-footer {
  padding-top: 24px;
  border-top: 1px solid var(--white-18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-bubble {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  padding: 3px;
  overflow: hidden;
}

.footer-logo-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-88);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--white-28);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: transform 0.25s var(--ease-premium), background-color 0.25s ease, color 0.25s ease;
}

/* =========================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================= */
.floating-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 55;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.78), 0 0 28px rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease-premium);
}

.floating-wa::after {
  background: linear-gradient(105deg, transparent 10%, rgba(5, 5, 5, 0.2) 50%, transparent 90%);
}

/* =========================================
   HOVER APENAS EM DISPOSITIVOS COM PONTEIRO FINO
   ========================================= */
@media (hover: hover) and (pointer: fine) {
  .btn-skip:hover,
  .btn-shiny:hover,
  .circle-cta:hover,
  .floating-wa:hover {
    transform: translateY(-2px) scale(1.015);
  }

  .nav-icon-btn:hover,
  .footer-icon-link:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    transform: translateY(-2px);
  }
}

@media (max-width: 359px) {
  .stack-card {
    padding: 18px;
  }

  .stack-card-title {
    font-size: 1.25rem;
  }

  .stack-card-desc {
    font-size: 0.85rem;
  }
}

/* =========================================
   RESPONSIVO DESKTOP / TABLET
   ========================================= */
@media (min-width: 768px) {
  .floating-nav {
    height: 58px;
    padding: 6px 10px 6px 12px;
  }

  .logo-bubble {
    width: 128px;
    height: 128px;
  }

  .hero-cta-row {
    flex-direction: row;
  }

  .hero-cta-row .btn-shiny {
    flex: 1;
  }

  .hero-meta-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
  }

  .cards-stage {
    height: 380px;
  }

  .stack-card {
    height: 272px;
    padding: 26px;
  }

  .product-frame {
    width: 280px;
  }

  .location-details {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .location-actions {
    flex-direction: row;
  }

  .location-actions .btn-shiny {
    flex: 1;
  }

  .site-footer {
    flex-direction: row;
  }

  .floating-wa {
    right: 24px;
    bottom: 24px;
  }
}

/* =========================================
   PREFERS-REDUCED-MOTION
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  .intro-overlay {
    display: none !important;
  }

  .btn-shiny::after,
  .btn-shiny-circle::after,
  .pin-ring {
    animation: none !important;
  }

  .cards-stage {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .stack-card {
    position: relative;
    top: auto;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .marquee-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-track {
    padding-inline: 20px;
  }
}
