/* ==========================================================================
   NAPILHA — IDENTIDADE E DESIGN SYSTEM (PRETO & BRANCO PREMIUM)
   ========================================================================== */

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

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

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

:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Cores Estritas: Branco e Preto Premium */
  --bg-black: #07080a;
  --bg-black-soft: #0d0f14;
  --bg-white: #ffffff;
  --bg-white-soft: #f4f5f7;
  
  --text-on-black: #ffffff;
  --text-on-black-muted: rgba(255, 255, 255, 0.72);
  --text-on-black-dim: rgba(255, 255, 255, 0.48);
  
  --text-on-white: #0a0b0e;
  --text-on-white-muted: rgba(10, 11, 14, 0.72);
  --text-on-white-dim: rgba(10, 11, 14, 0.48);
  
  --border-light-on-black: rgba(255, 255, 255, 0.12);
  --border-light-on-white: rgba(10, 11, 14, 0.1);

  --max-w: 1240px;
  --header-h: 56px;
}

/* Reset Universal */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-black);
  color: var(--text-on-black);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  line-height: 1.5;
  background-color: var(--bg-black);
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ==========================================================================
   NAVBAR (BLINDADA MOBILE & DESKTOP)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 100;
  background: rgba(7, 8, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light-on-black);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.nav-container {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-transform: uppercase;
}

.brand-emblem {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

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

.btn-nav-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  background: #ffffff;
  color: #07080a;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 999px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.btn-nav-whatsapp:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.nav-instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light-on-black);
  color: #ffffff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-instagram-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   BOTÃO CANÔNICO SHINY SWEEP GLOW
   ========================================================================== */
.btn-shiny {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

/* Variante Botão Branco (em fundo escuro) */
.btn-shiny-white {
  background: #ffffff;
  color: #07080a;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

.btn-shiny-white:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.28);
}

/* Efeito Sweep Glow */
.btn-shiny::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.65) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: shinySweep 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Variante Botão Preto (em fundo claro) */
.btn-shiny-black {
  background: #07080a;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(7, 8, 10, 0.25);
}

.btn-shiny-black:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(7, 8, 10, 0.38);
}

.btn-shiny-black::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
}

@keyframes shinySweep {
  0% { left: -120%; }
  40% { left: 160%; }
  100% { left: 160%; }
}

/* ==========================================================================
   SEÇÃO 1: HERO COM FOTO DE FUNDO (PRETO PREMIUM)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 24px 80px;
  overflow: hidden;
  background-color: var(--bg-black);
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* Reserva para parallax GSAP */
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Overlay suave para legibilidade sem cortar botão */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 8, 10, 0.72) 0%,
    rgba(7, 8, 10, 0.55) 45%,
    rgba(7, 8, 10, 0.88) 85%,
    #07080a 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-logo-wrap {
  width: 100%;
  max-width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.45));
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-tagline {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-on-black-muted);
  max-width: 580px;
}

.hero-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light-on-black);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-on-black-muted);
  backdrop-filter: blur(8px);
}

.hero-cta-wrap {
  margin-top: 12px;
}

/* Transição contínua da Hero para a próxima seção */
.hero-transition-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(to bottom, transparent 0%, #07080a 70%, #ffffff 100%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   SEÇÃO 2: ESTEIRA DE PRODUTOS (BRANCO PREMIUM)
   ========================================================================== */
.products-section {
  position: relative;
  background-color: var(--bg-white);
  color: var(--text-on-white);
  padding: 100px 0 110px;
  overflow: hidden;
  z-index: 2;
}

.section-head {
  max-width: var(--max-w);
  margin: 0 auto 48px;
  padding: 0 24px;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-on-white-dim);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-on-white);
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-on-white-muted);
  max-width: 560px;
  margin: 12px auto 0;
  line-height: 1.5;
}

/* Esteira Marquee Infinita com GSAP */
.carousel-track-outer {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0 30px;
}

.carousel-track-inner {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
  cursor: grab;
}

.carousel-track-inner:active {
  cursor: grabbing;
}

.product-item {
  position: relative;
  flex: 0 0 280px;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #07080a;
  border: 1px solid var(--border-light-on-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

@media (min-width: 768px) {
  .product-item {
    flex: 0 0 320px;
    height: 440px;
  }
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 10, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.product-item:hover .product-overlay,
.product-item:focus-within .product-overlay,
.product-item.is-touched .product-overlay {
  opacity: 1;
  pointer-events: auto;
}

.product-item:hover .product-img {
  transform: scale(1.05);
}

.btn-product-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 24px;
  background: #ffffff;
  color: #07080a;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.btn-product-whatsapp:hover {
  transform: scale(1.04);
}

.products-footer-cta {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding: 0 24px;
  text-align: center;
}

/* Transição contínua da Esteira para a Seção de Loja */
.transition-white-to-black {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(to bottom, transparent 0%, #07080a 100%);
  pointer-events: none;
}

/* ==========================================================================
   SEÇÃO 3: LOJA FÍSICA & HORÁRIOS (PRETO PREMIUM)
   ========================================================================== */
.store-section {
  position: relative;
  background-color: var(--bg-black);
  color: var(--text-on-black);
  padding: 110px 24px 120px;
  overflow: hidden;
  z-index: 3;
}

.store-container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}

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

.store-card {
  background: var(--bg-black-soft);
  border: 1px solid var(--border-light-on-black);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.store-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.card-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light-on-black);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 24px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.card-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-on-black-muted);
  margin-bottom: 32px;
}

.card-text strong {
  color: #ffffff;
}

/* Lista de Horários */
.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.hour-day {
  color: var(--text-on-black-muted);
  font-weight: 500;
}

.hour-time {
  font-weight: 700;
  color: #ffffff;
}

.hour-closed {
  color: var(--text-on-black-dim);
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}

.card-action {
  margin-top: auto;
}

/* ==========================================================================
   RODAPÉ (PRETO MINIMALISTA)
   ========================================================================== */
.site-footer {
  background-color: #040507;
  border-top: 1px solid var(--border-light-on-black);
  padding: 60px 24px 40px;
  color: var(--text-on-black-muted);
  position: relative;
  z-index: 3;
}

.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }
}

.footer-brand-block {
  max-width: 380px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-on-black-muted);
  line-height: 1.5;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: #ffffff;
  transition: color 0.2s ease;
}

.footer-link-item:hover {
  color: var(--text-on-black-muted);
}

.footer-bottom {
  width: 100%;
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-on-black-dim);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   ACELERAÇÃO DE HARDWARE & ESTADOS INICIAIS GSAP
   ========================================================================== */
.gsap-reveal {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}

/* Suporte a prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .gsap-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .btn-shiny::after {
    display: none !important;
  }
  .hero-bg-container {
    transform: none !important;
  }
}
