/* ==========================================================================
   STORE ATACADO — LINK-IN-BIO PREMIUM (?v=1.2.0)
   Design System Autoral & Arquitetura Visual (Preto Contínuo + Dourado Ouro)
   Zero Caixas Cinzas · Motion Contínuo · Shiny Sweep Glow · Mobile-First Rigoroso
   ========================================================================== */

:root {
  --bg-black: #020202;
  --bg-subtle: #070707;
  
  /* Cores extraídas diretamente da logo oficial */
  --gold-highlight: #F7D779;
  --gold-primary: #E2B655;
  --gold-metallic: #C59B3F;
  --gold-dark: #8F6E24;
  --gold-glow: rgba(226, 182, 85, 0.32);
  --gold-glow-intense: rgba(247, 215, 121, 0.55);
  --gold-line: rgba(226, 182, 85, 0.24);
  --gold-line-subtle: rgba(226, 182, 85, 0.12);

  /* Tipografia & Contrastes Rigorosamente Validados (WCAG AAA) */
  --text-primary: #FFFFFF;
  --text-secondary: #E0E0E0;
  --text-muted: #A3A3A3;
  --text-gold: #F7D779;
  --btn-ink-black: #000000; /* WCAG 13.5:1+ sobre botão dourado */

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 560px;
  --radius-full: 9999px;
  --radius-pill: 50px;
  --radius-card: 20px;
  --radius-img: 16px;

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Universal & Prevenção Absoluta de Overflow Horizontal */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
}

body {
  position: relative;
  background-color: #020202;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(226, 182, 85, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 45%, rgba(226, 182, 85, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(226, 182, 85, 0.08) 0%, transparent 40%);
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* Iluminação de Fundo Autoral (Zero Custo de CPU — Gradiente Rasterizado sem Filter Blur) */
.site-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ambient-glow.top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(226, 182, 85, 0.22) 0%, rgba(226, 182, 85, 0.08) 40%, transparent 70%);
}

.ambient-glow.bottom {
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(226, 182, 85, 0.16) 0%, rgba(226, 182, 85, 0.04) 45%, transparent 70%);
}

/* Container Estrutural Mobile-First */
.page-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ==========================================================================
   1. IDENTIDADE & HERO AUTORAL (STORE ATACADO)
   ========================================================================== */

.hero-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding-top: 10px;
}

.brand-avatar-box {
  position: relative;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold-highlight), var(--gold-dark), var(--gold-primary));
  box-shadow: 0 0 35px rgba(226, 182, 85, 0.35);
  animation: auraPulse 6s ease-in-out infinite alternate;
}

.brand-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background-color: #000;
  display: block;
}

@keyframes auraPulse {
  0% {
    box-shadow: 0 0 25px rgba(226, 182, 85, 0.25);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 45px rgba(247, 215, 121, 0.45);
    transform: scale(1.02);
  }
}

.brand-header-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-size: clamp(1.75rem, 5.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.15;
  text-transform: uppercase;
}

.brand-name .gold-span {
  background: linear-gradient(90deg, #FFFFFF, var(--gold-highlight), var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-bio {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 440px;
  line-height: 1.45;
}

/* Badges / Fios de Autoridade Sem Caixas Cinzas */
.badges-stream {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-gold);
  border: 1px solid var(--gold-line);
  background: rgba(226, 182, 85, 0.04);
  letter-spacing: 0.01em;
}

.status-badge.subtle {
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--gold-highlight);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-highlight);
  animation: blink 2s infinite ease-in-out;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   2. AÇÃO PRINCIPAL MONUMENTAL (WHATSAPP — DOURADO BRILHANTE)
   ========================================================================== */

.primary-action-wrap {
  width: 100%;
}

.btn-canonical {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  overflow: hidden !important; /* Estritamente contido para nunca vazar scrollWidth */
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
  -webkit-tap-highlight-color: transparent;
}

.btn-gold {
  background: linear-gradient(90deg, #F7D779 0%, #E2B655 45%, #D6A84A 100%);
  color: var(--btn-ink-black) !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(226, 182, 85, 0.35);
}

.btn-gold:hover, .btn-gold:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(247, 215, 121, 0.5);
  outline: none;
}

.btn-gold:active {
  transform: translateY(0);
  box-shadow: 0 6px 20px rgba(226, 182, 85, 0.3);
}

.btn-left {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.btn-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-highlight);
  flex-shrink: 0;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #000000;
  text-transform: uppercase;
  line-height: 1.2;
}

.btn-caption {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.2;
  margin-top: 2px;
}

.btn-action-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  z-index: 2;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

/* SHINY SWEEP GLOW NOS BOTÕES (Feixe diagonal contido no botão) */
.shiny-sweep::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -120%;
  width: 80%;
  height: 200%;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: shinySweepLoop 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 3;
}

@keyframes shinySweepLoop {
  0% {
    left: -120%;
  }
  30% {
    left: 140%;
  }
  100% {
    left: 140%;
  }
}

/* ==========================================================================
   3. VITRINE DE PROVA REAL (GRADE DETERMINÍSTICA LINEAR COM PREÇOS)
   Zero caixas cinzas · 6 peças com topos e alturas rigorosamente iguais
   Cada item é um link para o WhatsApp com scrim protetor e contraste >= 4.5:1
   ========================================================================== */

.showcase-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-label-group {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 4px;
}

.section-heading {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-highlight);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-heading::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--gold-primary);
}

.section-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.clothes-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.mosaic-item {
  position: relative;
  display: block;
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--gold-line-subtle);
  background: #030303;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
  cursor: pointer;
}

.mosaic-item:hover, .mosaic-item:focus-visible {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--gold-primary);
  box-shadow: 0 10px 25px rgba(226, 182, 85, 0.25);
  outline: none;
}

.mosaic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.mosaic-item:hover .mosaic-img {
  transform: scale(1.06);
}

/* Scrim reforçado na base (>= 80% preto onde o texto assenta para WCAG AAA) */
.mosaic-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(0, 0, 0, 0) 35%, 
    rgba(0, 0, 0, 0.6) 68%, 
    rgba(0, 0, 0, 0.94) 100%
  );
  pointer-events: none;
}

.mosaic-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  z-index: 2;
  pointer-events: none;
}

.mosaic-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.mosaic-price {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-highlight);
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   4. DESTINOS ESTRATÉGICOS (SUBSTITUTO DE LINKTREE DE ELITE)
   SEM CAIXAS CINZAS: Linhas e botões com contornos dourados e fundo puro
   ========================================================================== */

.destinations-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-link-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--gold-line);
  color: var(--text-primary);
  transition: all 0.25s var(--ease-smooth);
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

.nav-link-row:hover, .nav-link-row:focus-visible {
  border-color: var(--gold-primary);
  background: rgba(226, 182, 85, 0.06);
  transform: translateX(3px);
  box-shadow: 0 4px 20px rgba(226, 182, 85, 0.15);
  outline: none;
}

.nav-link-row:active {
  transform: scale(0.99);
}

.nav-link-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-icon {
  width: 22px;
  height: 22px;
  color: var(--gold-highlight);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-title-box {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.nav-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.nav-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

.nav-arrow {
  color: var(--gold-primary);
  opacity: 0.8;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-link-row:hover .nav-arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* ==========================================================================
   5. CONTEXTO FÍSICO, CARD DA ENTRADA DA LOJA, HORÁRIOS & MAPA OFICIAL
   Rodovia Washington Luiz, 6686 · Duque de Caxias – RJ
   ========================================================================== */

.store-context-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--gold-line);
  background: radial-gradient(circle at 50% 0%, rgba(226, 182, 85, 0.08) 0%, transparent 80%);
}

.context-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.context-icon-gold {
  color: var(--gold-highlight);
}

.context-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* Card da Entrada da Loja Física (Referência Alta com Acento Dourado na Base) */
.store-entrance-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-img);
  overflow: hidden;
  border: 1px solid var(--gold-line);
  background: #020202;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}

.store-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(24, 25, 27, 0.9);
  border-bottom: 1px solid var(--gold-line-subtle);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.store-card-tag {
  color: var(--gold-highlight);
}

.store-card-badge {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.store-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #000;
}

.store-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.store-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(0, 0, 0, 0.05) 0%, 
    rgba(0, 0, 0, 0.2) 50%, 
    rgba(0, 0, 0, 0.82) 82%, 
    rgba(0, 0, 0, 0.95) 100%
  );
  pointer-events: none;
}

.store-card-action-bar {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
}

.store-card-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #F7D779 0%, #E2B655 45%, #D6A84A 100%);
  color: var(--btn-ink-black) !important;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(226, 182, 85, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  overflow: hidden !important;
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
}

.store-card-btn:hover, .store-card-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(247, 215, 121, 0.5);
  outline: none;
}

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

.context-address-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.context-address-text strong {
  color: var(--gold-highlight);
  font-weight: 600;
}

/* Grid de Horários Oficiais */
.schedule-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--gold-line-subtle);
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.schedule-days {
  color: var(--text-muted);
}

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

.schedule-hours.closed {
  color: #ff6b6b;
  font-weight: 500;
}

.schedule-hours.open {
  color: #55f385;
}

/* Mapa Integrado Sob Demanda (Zero Caixa Cinza) */
.map-container-box {
  width: 100%;
  margin-top: 4px;
}

.map-frame-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: var(--radius-img);
  overflow: hidden;
  border: 1px solid var(--gold-line);
  background: #020202;
  box-shadow: 0 4px 20px rgba(226, 182, 85, 0.12);
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none; /* Previne sequestro de scroll no celular */
  transition: opacity 0.3s ease;
}

.map-frame-wrapper.interactive iframe {
  pointer-events: auto; /* Permite zoom/pan após toque explícito */
}

.map-interaction-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 2, 2, 0.25);
  cursor: pointer;
  transition: opacity 0.25s ease;
  z-index: 2;
}

.map-hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid var(--gold-primary);
  color: var(--gold-highlight);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.map-frame-wrapper.interactive .map-interaction-hint {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   6. RODAPÉ MÍNIMO & METADADOS
   ========================================================================== */

.page-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 10px;
}

.footer-brand {
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   ACESSIBILIDADE: PREFERS-REDUCED-MOTION & FOCO VISÍVEL
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--gold-highlight);
  outline-offset: 3px;
}

@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;
  }
  .shiny-sweep::after {
    display: none !important;
  }
}

/* ==========================================================================
   RESPONSIVIDADE: 320px até Telas Maiores (Determinística)
   ========================================================================== */

@media (max-width: 360px) {
  .page-container {
    padding: 24px 14px 40px;
    gap: 24px;
  }
  .brand-avatar-box {
    width: 108px;
    height: 108px;
  }
  .brand-name {
    font-size: 1.6rem;
  }
  .btn-title {
    font-size: 0.95rem;
  }
  .clothes-mosaic {
    gap: 6px;
  }
  .mosaic-info {
    padding: 6px 6px 8px;
  }
  .mosaic-name {
    font-size: 0.72rem;
  }
  .mosaic-price {
    font-size: 0.66rem;
  }
}

@media (min-width: 768px) {
  .page-container {
    padding: 50px 24px 80px;
  }
}
