/* ==========================================================================
   ANA SHOES — DESIGN SYSTEM & ESTILOS GLOBAIS
   Cores: Preto Premium, Branco Premium, Laranja Destaque
   ========================================================================== */

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

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

:root {
  /* Cores Primárias */
  --color-black-pure: #050608;
  --color-black-deep: #0a0b0e;
  --color-black-card: #12141a;
  --color-white-pure: #ffffff;
  --color-white-soft: #f8f9fa;
  --color-white-card: #ffffff;

  /* Laranja Premium Oficial */
  --color-orange: #ff5500;
  --color-orange-glow: rgba(255, 85, 0, 0.4);
  --color-orange-subtle: rgba(255, 85, 0, 0.12);
  --color-orange-border: rgba(255, 85, 0, 0.28);
  --color-orange-hover: #ff661a;

  /* Textos */
  --text-dark-primary: #0a0b0e;
  --text-dark-secondary: #3c3e44;
  --text-light-primary: #ffffff;
  --text-light-secondary: #d1d5db;

  /* Bordas e Sombras */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 9999px;

  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--color-black-pure);
  color: var(--text-light-primary);
  scroll-behavior: auto; /* Lenis comanda o scroll suave */
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden !important;
  position: relative;
  background-color: var(--color-black-pure);
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Parallax de Profundidade no Fundo */
.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  will-change: transform;
}

.orb-1 {
  top: -10%;
  left: 15%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--color-orange) 0%, transparent 70%);
}

.orb-2 {
  top: 45%;
  right: -5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--color-orange) 0%, transparent 70%);
}

.orb-3 {
  bottom: 5%;
  left: -5%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, var(--color-orange) 0%, transparent 70%);
}

/* ==========================================================================
   HEADER & NAVBAR MINIMALISTA MOBILE-FIRST
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 85, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
}

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

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

.btn-store-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light-secondary);
  padding: 6px 12px;
  border-radius: var(--border-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-fast);
  min-height: 38px;
}

.btn-store-nav:hover {
  color: var(--color-white-pure);
  border-color: var(--color-orange);
  background: var(--color-orange-subtle);
}

.btn-wa-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-white-pure);
  background: var(--color-orange);
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
  transition: var(--transition-fast);
  box-shadow: 0 4px 14px var(--color-orange-glow);
  min-height: 38px;
  white-space: nowrap;
}

.btn-wa-nav:hover {
  background: var(--color-orange-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   SISTEMA DE BOTÕES COM SHINY SWEEP GLOW
   ========================================================================== */
.btn-primary-orange {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-orange);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 16px 32px;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 8px 24px var(--color-orange-glow);
  overflow: hidden;
  transition: var(--transition-fast);
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--color-orange-glow);
  background: var(--color-orange-hover);
}

.btn-secondary-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--color-white-pure) !important;
  border: 1px solid var(--color-orange-border);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 16px 28px;
  border-radius: var(--border-radius-pill);
  transition: var(--transition-fast);
  min-height: 48px;
  white-space: nowrap;
}

.btn-secondary-outline:hover {
  background: var(--color-orange-subtle);
  border-color: var(--color-orange);
  transform: translateY(-2px);
}

/* Sweep Glow Animation */
.glow-sweep::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: shinySweep 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes shinySweep {
  0% {
    left: -60%;
  }
  35% {
    left: 140%;
  }
  100% {
    left: 140%;
  }
}

/* ==========================================================================
   SEÇÕES GLOBAIS E TRANSIÇÕES
   ========================================================================== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section-header {
  margin-bottom: 48px;
}

.text-center {
  text-align: center;
}

.section-tag-orange {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  background: var(--color-orange-subtle);
  border: 1px solid var(--color-orange-border);
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 16px;
}

.section-title-white {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--color-white-pure);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-title-dark {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--text-dark-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-desc-light {
  font-size: 1.05rem;
  color: var(--text-light-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-desc-dark {
  font-size: 1.05rem;
  color: var(--text-dark-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Alternância Preto / Branco */
.dark-section {
  background-color: var(--color-black-pure);
  color: var(--text-light-primary);
  padding: 96px 0;
  position: relative;
  z-index: 2;
}

.light-section {
  background-color: var(--color-white-pure);
  color: var(--text-dark-primary);
  padding: 96px 0;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   SEÇÃO 1: HERO (Preto Premium)
   ========================================================================== */
.hero-section {
  padding-top: 130px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.hero-brand-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.logo-box {
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.7));
}

.hero-support {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 400;
  color: var(--text-light-secondary);
  line-height: 1.4;
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white-pure);
  background: var(--color-black-card);
  border: 1px solid var(--color-orange-border);
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
}

.badge-icon {
  stroke: var(--color-orange);
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-orange);
  opacity: 0.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-transition-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.08) 70%, var(--color-white-pure) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   SEÇÃO 2: ESTEIRA INFINITA DE PRODUTOS (Branco Premium)
   ========================================================================== */
.marquee-section {
  overflow: hidden;
  padding-bottom: 80px;
}

.marquee-viewport {
  width: 100%;
  overflow: hidden;
  padding: 20px 0 36px;
  position: relative;
  cursor: grab;
}

.marquee-viewport:active {
  cursor: grabbing;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 24px;
  will-change: transform;
}

.marquee-card {
  flex: 0 0 290px;
  width: 290px;
}

.product-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background-color: #f1f2f4;
  border: 1px solid var(--color-orange-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

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

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

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 14, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  padding: 20px;
}

.product-thumb-wrap:hover .card-overlay,
.product-thumb-wrap:focus-within .card-overlay {
  opacity: 1;
  pointer-events: auto;
}

.btn-card-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-orange);
  color: var(--color-white-pure);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 6px 18px var(--color-orange-glow);
  white-space: nowrap;
}

.marquee-action-cta {
  margin-top: 36px;
}

/* ==========================================================================
   SEÇÃO 3: LOJA FÍSICA E HORÁRIO (Preto Premium)
   ========================================================================== */
.store-section {
  position: relative;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 20px;
}

.store-card {
  background: var(--color-black-card);
  border: 1px solid var(--color-orange-border);
  border-radius: var(--border-radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.store-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.7), 0 0 20px var(--color-orange-subtle);
}

.store-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-md);
  background: var(--color-orange-subtle);
  border: 1px solid var(--color-orange-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  margin-bottom: 24px;
}

.store-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white-pure);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.store-card-text {
  font-size: 1.05rem;
  color: var(--text-light-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
  flex-grow: 1;
}

.schedule-list {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 85, 0, 0.15);
  font-size: 1rem;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-day {
  color: var(--color-white-pure);
  font-weight: 600;
}

.schedule-hours {
  color: var(--color-orange);
  font-weight: 600;
}

.btn-outline-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white-pure);
  border: 1px solid var(--color-orange-border);
  padding: 14px 24px;
  border-radius: var(--border-radius-pill);
  transition: var(--transition-fast);
  min-height: 48px;
}

.btn-outline-orange:hover {
  background: var(--color-orange-subtle);
  border-color: var(--color-orange);
  color: var(--color-orange);
}

/* ==========================================================================
   SEÇÃO 4: DIFERENCIAIS (Branco Premium)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.feature-card {
  background: var(--color-white-card);
  border: 1px solid var(--color-orange-border);
  border-radius: var(--border-radius-md);
  padding: 36px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
  box-shadow: 0 14px 32px rgba(255, 85, 0, 0.12);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-orange-subtle);
  border: 1px solid var(--color-orange-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark-primary);
  margin-bottom: 12px;
}

.feature-text {
  font-size: 0.98rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SEÇÃO 5: FAQ (Preto Premium)
   ========================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto 48px;
}

.faq-item {
  background: var(--color-black-card);
  border: 1px solid var(--color-orange-border);
  border-radius: var(--border-radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-orange);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-white-pure);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  stroke: var(--color-orange);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-light-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-cta-text {
  color: var(--text-light-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer {
  background: var(--color-black-deep);
  border-top: 1px solid var(--color-orange-border);
  padding: 72px 0 32px;
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-bottom: 56px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white-pure);
  display: block;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.footer-tagline {
  color: var(--text-light-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.footer-phone a {
  color: var(--color-orange);
  font-weight: 600;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white-pure);
  display: block;
  margin-bottom: 18px;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: var(--text-light-secondary);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--color-orange);
}

.footer-address-text {
  font-style: normal;
  color: var(--text-light-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 85, 0, 0.15);
  padding-top: 28px;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light-secondary);
}

/* ==========================================================================
   ANIMAÇÃO E ESTADOS INICIAIS (FOUC PREVENT)
   ========================================================================== */
[data-reveal] {
  opacity: 1; /* Visível por padrão se JS falhar */
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  will-change: transform, opacity;
}

/* ==========================================================================
   RESPONSIVIDADE AJUSTADA
   ========================================================================== */
@media (max-width: 768px) {
  .site-header {
    height: 54px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .btn-store-nav {
    display: none; /* Mantém navbar minimalista no mobile */
  }

  .btn-wa-nav {
    padding: 6px 12px;
    font-size: 0.8rem;
    min-height: 36px;
  }

  .hero-section {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .logo-box {
    width: 150px;
    height: 150px;
  }

  .hero-support {
    font-size: 1.15rem;
  }

  .btn-primary-orange,
  .btn-secondary-outline {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .marquee-card {
    flex: 0 0 220px;
    width: 220px;
  }

  .dark-section,
  .light-section {
    padding: 64px 0;
  }

  .store-card {
    padding: 28px 20px;
  }

  .schedule-item {
    font-size: 0.92rem;
  }
}

@media (max-width: 360px) {
  .marquee-card {
    flex: 0 0 190px;
    width: 190px;
  }
}

/* Preferência de Movimento Reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .glow-sweep::after {
    animation: none !important;
    display: none !important;
  }

  .marquee-track {
    transform: none !important;
  }

  .glow-orb {
    display: none !important;
  }
}
