/* ==========================================================================
   RESENHA STORE — IDENTIDADE VISUAL E ARQUITETURA DE ESTILO
   Paleta: Preto Premium, Branco Premium, Ouro Branco Premium (frio/desaturado)
   Zero caixas cinzas de sistema. Superfície contínua.
   ========================================================================== */

@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 {
  /* Tons Principais */
  --bg-canvas: #070709;
  --bg-ambient: #0a0a0e;
  --text-primary: #f5f5f7;
  --text-muted: #9e9ea6;
  --text-subtle: #73737c;

  /* Ouro Branco Premium (Frio, desaturado, champagne pálido) */
  --gold-white: #e2d7c3;
  --gold-light: #f0e9dc;
  --gold-dark: #b8aa93;
  --gold-border: rgba(226, 215, 195, 0.22);
  --gold-faint: rgba(226, 215, 195, 0.08);
  --gold-glow-hero: rgba(226, 215, 195, 0.28);
  --gold-glow-subtle: rgba(226, 215, 195, 0.12);

  /* Dimensões & Espaçamentos */
  --container-max: 1140px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-btn: 999px;
  --radius-media: 14px;

  /* Transições */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  width: 100%;
  background: var(--bg-canvas);
}

/* Halos de Luz Ambiente (Superfície Contínua com Ouro Branco) */
.ambient-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
  will-change: transform;
}

.glow-top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(320px, 60vw, 680px);
  height: clamp(320px, 60vw, 680px);
  background: radial-gradient(circle, rgba(226, 215, 195, 0.15) 0%, rgba(216, 200, 168, 0.04) 45%, transparent 70%);
}

.glow-mid {
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 50vw, 600px);
  height: clamp(280px, 50vw, 600px);
  background: radial-gradient(circle, rgba(226, 215, 195, 0.09) 0%, transparent 65%);
}

.glow-bottom {
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(260px, 45vw, 520px);
  height: clamp(260px, 45vw, 520px);
  background: radial-gradient(circle, rgba(226, 215, 195, 0.08) 0%, transparent 65%);
}

/* Canvas Principal */
.page-canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  padding-top: clamp(48px, 10vh, 96px);
  padding-bottom: clamp(56px, 8vh, 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-container {
  width: 100%;
  max-width: var(--container-max);
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Selo Oficial */
.brand-badge-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(20px, 4vw, 32px);
}

.badge-halo {
  position: absolute;
  width: clamp(220px, 40vw, 340px);
  height: clamp(220px, 40vw, 340px);
  background: radial-gradient(circle, rgba(226, 215, 195, 0.18) 0%, rgba(226, 215, 195, 0.04) 50%, transparent 72%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.brand-badge-img {
  width: clamp(140px, 28vw, 210px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

/* Tipografia Hero */
.hero-text-block {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.brand-title {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.brand-tagline {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

/* Botões com Ouro Branco e Shiny Sweep Glow */
.hero-cta-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--gold-white);
  color: #070709;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.88rem, 1.8vw, 0.98rem);
  letter-spacing: -0.01em;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
  cursor: pointer;
  width: fit-content;
  max-width: calc(100% - 32px);
  min-height: 48px;
  padding: 14px 28px;
  transition: transform 0.25s var(--ease-smooth), background-color 0.25s var(--ease-smooth);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-gold:hover {
  transform: translateY(-2px);
  background-color: var(--gold-light);
}

.btn-gold:active {
  transform: translateY(0);
}

/* Shiny Sweep Glow — Feixe claro cruzando em loop lento */
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: shinySweep 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes shinySweep {
  0% {
    left: -130%;
  }
  30%, 100% {
    left: 170%;
  }
}

/* Brilho mais forte no botão principal da hero */
.btn-hero {
  box-shadow: 0 0 28px var(--gold-glow-hero), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.btn-arrow {
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-smooth);
}

.btn-gold:hover .btn-arrow {
  transform: translateX(3px);
}

/* Degradê suave no fim da Hero */
.hero-fade-out {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 48px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-canvas) 100%);
  pointer-events: none;
}

/* ==========================================================================
   ESTEIRA DE PRODUTOS (TICKER HORIZONTAL)
   ========================================================================== */
.ticker-section {
  position: relative;
  width: 100%;
  padding: clamp(32px, 6vh, 56px) 0;
  overflow: hidden;
}

.section-lead {
  text-align: center;
  margin-bottom: clamp(18px, 3vw, 28px);
  padding: 0 var(--gutter);
}

.eyebrow-text {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-white);
  opacity: 0.85;
}

.ticker-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  padding: 8px 0;
}

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

.ticker-track {
  display: flex;
  gap: clamp(14px, 2.2vw, 24px);
  width: max-content;
  will-change: transform;
}

.ticker-item {
  flex-shrink: 0;
  width: clamp(200px, 22vw, 270px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-media);
  overflow: hidden;
  background: #0d0d12;
  border: 1px solid var(--gold-border);
}

.item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}

.ticker-item:hover .item-img {
  transform: scale(1.04);
}

/* Overlay com Botão de Pedido */
.item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 7, 9, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
}

.ticker-item:hover .item-overlay,
.ticker-item:focus-within .item-overlay,
.ticker-item.is-touched .item-overlay {
  opacity: 1;
}

.btn-item {
  font-size: 0.82rem;
  padding: 9px 18px;
  min-height: 38px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.item-caption {
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  text-align: center;
}

/* ==========================================================================
   ONDE A LOJA ESTÁ (LOCALIZAÇÃO & ATENDIMENTO)
   Um bloco só, sem cartão, sem moldura e sem fundo de caixa
   ========================================================================== */
.location-section {
  position: relative;
  width: 100%;
  padding: clamp(56px, 9vh, 88px) 0;
  text-align: center;
}

.location-container {
  width: 100%;
  max-width: var(--container-max);
  padding: 0 var(--gutter);
  display: flex;
  justify-content: center;
}

.location-content {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.location-title {
  font-size: clamp(1.6rem, 3.8vw, 2.3rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-top: 6px;
  margin-bottom: 14px;
}

.location-detail {
  font-size: clamp(0.96rem, 1.8vw, 1.08rem);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 10px;
}

.location-subtext {
  font-size: clamp(0.88rem, 1.6vw, 0.95rem);
  color: var(--text-subtle);
  line-height: 1.5;
  margin-bottom: 28px;
}

.link-subtle {
  color: var(--gold-white);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}

.link-subtle:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.location-action {
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-standard {
  box-shadow: 0 0 18px var(--gold-glow-subtle), 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   RODAPÉ DISCRETO
   ========================================================================== */
.page-footer {
  position: relative;
  width: 100%;
  padding: clamp(40px, 6vh, 64px) 0 clamp(32px, 4vh, 48px);
  text-align: center;
  border-top: 1px solid rgba(226, 215, 195, 0.08);
}

.footer-container {
  width: 100%;
  max-width: var(--container-max);
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-brand {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.footer-meta {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.footer-action {
  margin-top: 12px;
}

.footer-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-white);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.footer-link:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* ==========================================================================
   RESPONSIVIDADE E ACESSIBILIDADE
   ========================================================================== */
@media (max-width: 480px) {
  .ticker-item {
    width: clamp(170px, 48vw, 210px);
  }

  .btn-gold {
    max-width: calc(100% - 24px);
    padding: 13px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .btn-gold::after {
    animation: none !important;
    display: none;
  }
}
