/* ==========================================================================
   BETO STORE — Link-in-Bio Premium (Streetwear Ipatinga/MG)
   Cores Oficiais da Marca: Preto + Amarelo Ouro Brilhante
   Superfície Contínua · Zero Caixas Cinzas · Tipografia Monumental
   ========================================================================== */

:root {
  /* 5 Tons Derivados da Logo Oficial */
  --gold-highlight: #FFDC39;
  --gold-primary:   #FFCD0C;
  --gold-mid:       #E5B80B;
  --gold-deep:      #A88204;
  --gold-dark:      #684F00;

  /* Iluminação e Atmosfera */
  --gold-glow-intense: rgba(255, 205, 12, 0.35);
  --gold-glow-soft:    rgba(255, 205, 12, 0.14);
  --gold-glow-subtle:  rgba(255, 205, 12, 0.05);

  /* Superfície Preto Streetwear Contínua */
  --bg-deep:        #060708;
  --bg-body:        #090A0D;
  --surface-tint:   rgba(255, 205, 12, 0.03);
  --border-subtle:  rgba(255, 205, 12, 0.16);
  --border-active:  rgba(255, 220, 57, 0.45);

  /* Texto e Tipografia */
  --text-primary:   #F5F5F7;
  --text-muted:     #9A9FA8;
  --text-on-gold:   #060708;

  /* Geometria e Motion */
  --radius-pill:    9999px;
  --radius-card:    20px;
  --ease-smooth:    cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.22s var(--ease-smooth);
  --transition-base: 0.35s var(--ease-smooth);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at 50% 0%, #15140e 0%, var(--bg-body) 45%, var(--bg-deep) 100%);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: env(safe-area-inset-top, 16px) 16px env(safe-area-inset-bottom, 24px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Atmosfera de Luz Streetwear Suave */
.ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 560px);
  height: 380px;
  background: radial-gradient(circle at 50% 20%, var(--gold-glow-soft) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Container Central Travado em Coluna Única */
.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0 24px;
}

/* ==========================================================================
   1. TOPO DE PROVA (Dados Oficiais: Ipatinga/MG · 4.358 seguidores)
   ========================================================================== */
.proof-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 205, 12, 0.06);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold-highlight);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pulse-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.proof-divider {
  opacity: 0.4;
  color: var(--gold-mid);
}

/* ==========================================================================
   2. BLOCO DE MARCA (Logo Oficial + H1 + Linha de Posicionamento)
   ========================================================================== */
.brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
  width: 100%;
}

.logo-wrapper {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold-highlight), var(--gold-mid), var(--gold-dark));
  box-shadow: 0 8px 24px var(--gold-glow-soft);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.brand-title {
  font-size: clamp(1.75rem, 5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  margin-bottom: 8px;
  text-transform: uppercase;
  line-height: 1.15;
}

.brand-title-gold {
  color: var(--gold-primary);
  background: linear-gradient(180deg, var(--gold-highlight) 0%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-positioning {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 380px;
  padding: 0 8px;
}

/* Resumo de Prova Social Oficial */
.social-proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--surface-tint);
  border: 1px solid rgba(255, 205, 12, 0.08);
}

.proof-item {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.proof-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.proof-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.proof-strip-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--gold-mid);
  opacity: 0.6;
}

/* ==========================================================================
   3. AÇÃO PRINCIPAL (WhatsApp Dominante com Shiny Sweep Glow)
   ========================================================================== */
.primary-action-wrapper {
  width: 100%;
  margin-bottom: 22px;
  text-align: center;
}

.btn-primary-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 16px 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold-highlight) 0%, var(--gold-primary) 70%, var(--gold-mid) 100%);
  color: var(--text-on-gold);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 10px 28px var(--gold-glow-intense), 0 2px 6px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

/* Efeito Shiny Sweep Glow Refinado */
.btn-primary-action::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  animation: shinySweep 3.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shinySweep {
  0% { left: -120%; }
  30%, 100% { left: 180%; }
}

.btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px var(--gold-glow-intense), 0 4px 10px rgba(0, 0, 0, 0.5);
}

.btn-primary-action:active {
  transform: translateY(1px);
  box-shadow: 0 6px 18px var(--gold-glow-intense);
}

.btn-icon-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: var(--text-on-gold);
  stroke-width: 2;
  fill: none;
}

.primary-benefit-note {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.benefit-dot {
  color: var(--gold-primary);
}

/* ==========================================================================
   4. AÇÕES SECUNDÁRIAS (Superfície Contínua · Sem Caixas Cinzas)
   ========================================================================== */
.secondary-actions-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.secondary-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: var(--radius-card);
  text-decoration: none;
  background: rgba(255, 205, 12, 0.02);
  border: 1px solid var(--border-subtle);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
}

.secondary-card:hover {
  background: rgba(255, 205, 12, 0.06);
  border-color: var(--border-active);
  transform: translateY(-1px);
}

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

.card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.card-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 205, 12, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 205, 12, 0.12);
}

.card-icon-svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold-highlight);
  stroke-width: 1.75;
  fill: none;
}

.card-texts {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 2px;
}

.card-subtitle {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-arrow-box {
  flex-shrink: 0;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-arrow-svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-mid);
  stroke-width: 2;
  fill: none;
  transition: transform var(--transition-fast), stroke var(--transition-fast);
}

.secondary-card:hover .card-arrow-svg {
  transform: translateX(3px);
  stroke: var(--gold-highlight);
}

/* ==========================================================================
   5. CANAIS SOCIAIS & ORIGEM
   ========================================================================== */
.social-channels {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  background: rgba(255, 205, 12, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.social-button:hover {
  background: rgba(255, 205, 12, 0.08);
  border-color: var(--gold-primary);
}

.social-icon-svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-highlight);
  stroke-width: 1.75;
  fill: none;
}

/* ==========================================================================
   6. RODAPÉ MÍNIMO & METADADOS
   ========================================================================== */
.site-footer {
  width: 100%;
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 205, 12, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-brand {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-mid);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.footer-url {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 6px 14px;
  transition: opacity var(--transition-fast);
}

.footer-url:hover {
  opacity: 1;
}

/* ==========================================================================
   7. MOTION SUAVE (Stagger de Entrada + IntersectionObserver)
   Conteúdo Visível por Padrão (Sem Bloqueio de JS)
   ========================================================================== */
.stagger-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
}

/* Apenas quando JS estiver ativo e preparado para animar */
.js-motion-ready .stagger-item {
  opacity: 0;
  transform: translateY(16px);
}

.js-motion-ready .stagger-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Redução de Movimento (Acessibilidade) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .btn-primary-action::after {
    display: none;
  }

  .js-motion-ready .stagger-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Ajuste Responsivo Fino para Telas Pequenas (320px) */
@media (max-width: 340px) {
  .page-wrapper {
    padding: 8px 0 16px;
  }
  .brand-title {
    font-size: 1.6rem;
  }
  .brand-positioning {
    font-size: 0.85rem;
  }
  .btn-primary-action {
    font-size: 0.98rem;
    padding: 14px 18px;
  }
  .card-subtitle {
    font-size: 0.72rem;
  }
}

/* Paisagem Celular (Telas Baixas, ex: 844x390, 667x375) */
@media (max-height: 480px) and (orientation: landscape) {
  body {
    padding-top: 8px;
    padding-bottom: 12px;
  }
  .logo-wrapper {
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
  }
  .brand-logo {
    width: 58px;
    height: 58px;
  }
  .proof-bar {
    margin-bottom: 10px;
    padding: 4px 10px;
  }
  .brand-block {
    margin-bottom: 14px;
  }
  .brand-title {
    font-size: 1.5rem;
    margin-bottom: 4px;
  }
  .brand-positioning {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  .social-proof-strip {
    display: none; /* Mantém ação principal acima da dobra em landscape */
  }
  .primary-action-wrapper {
    margin-bottom: 14px;
  }
  .btn-primary-action {
    min-height: 50px;
    padding: 12px 20px;
  }
}
