/**
 * COMPONENTES DO BIO LINK STREETWEAR (MÉTODO "COPY" v13 PRO MAX ULTRA)
 * Projeto: Brooklyn Shop
 */

/* ═══════════════════════════════════════════════════════════════
   1. HERO DA MARCA
   ═══════════════════════════════════════════════════════════════ */
.brand-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding-top: 8px;
}

/* Avatar com Anel de Glow Vermelho (Logo Original Completa e Intacta) */
.avatar-frame {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-glow-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0.85;
  box-shadow: 0 0 16px var(--accent-glow);
  will-change: opacity, transform;
  animation: pulse-glow-red 3.5s ease-in-out infinite alternate;
}

@keyframes pulse-glow-red {
  0% { transform: scale(0.98); opacity: 0.75; }
  100% { transform: scale(1.02); opacity: 1; }
}

.avatar-inner {
  position: relative;
  z-index: 2;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(211, 35, 46, 0.45);
  box-shadow: 0 0 20px var(--accent-glow-subtle);
}

.avatar-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Título Monumental Archivo Streetwear */
.brand-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.brand-tagline {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-top: -6px;
}

/* Location Tag com Pin */
.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.location-tag svg {
  color: var(--accent-red);
  flex-shrink: 0;
}

/* Banner Showcase 540x180 Proporcional (CLS Zero) */
.showcase-banner {
  position: relative;
  width: 100%;
  height: 175px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-elevation);
  margin-top: 4px;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.5s var(--ease-spring);
  display: block;
}

.showcase-banner:hover .showcase-img {
  transform: scale(1.06);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 9, 0.15) 0%, rgba(6, 6, 9, 0.80) 72%, #060609 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
  gap: 6px;
}

.showcase-badge {
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--accent-gradient);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.showcase-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.showcase-subtitle {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   2. CARDS DE AÇÃO (Padrão Banco Digital & Alta Conversão)
   ═══════════════════════════════════════════════════════════════ */
.actions-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.action-card {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background-image: 
    linear-gradient(180deg, rgba(20, 20, 28, 0.88) 0%, rgba(12, 12, 18, 0.92) 100%),
    linear-gradient(180deg, rgba(211, 35, 46, 0.30) 0%, rgba(211, 35, 46, 0.08) 45%, rgba(255, 255, 255, 0.02) 100%);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.40), 0 16px 32px rgba(0, 0, 0, 0.50);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-image var(--transition-fast);
  overflow: hidden;
  min-height: 72px;
}

.action-card:hover {
  transform: translateY(-2px);
  background-image: 
    linear-gradient(180deg, rgba(24, 24, 34, 0.92) 0%, rgba(14, 14, 22, 0.95) 100%),
    linear-gradient(180deg, rgba(211, 35, 46, 0.55) 0%, rgba(211, 35, 46, 0.18) 50%, rgba(255, 255, 255, 0.06) 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), 0 20px 40px rgba(0, 0, 0, 0.60);
}

/* Card Destaque (Loja Oficial — Tintado no Vermelho Assinatura) */
.action-card--featured {
  background-image: 
    linear-gradient(180deg, rgba(28, 18, 22, 0.92) 0%, rgba(16, 12, 16, 0.96) 100%),
    linear-gradient(180deg, rgba(211, 35, 46, 0.75) 0%, rgba(211, 35, 46, 0.30) 50%, rgba(255, 255, 255, 0.06) 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.40), 0 18px 36px rgba(0, 0, 0, 0.55), 0 0 24px -2px rgba(211, 35, 46, 0.22);
}

.action-card--featured:hover {
  background-image: 
    linear-gradient(180deg, rgba(34, 20, 26, 0.95) 0%, rgba(18, 14, 20, 0.98) 100%),
    linear-gradient(180deg, rgba(211, 35, 46, 0.90) 0%, rgba(211, 35, 46, 0.45) 50%, rgba(255, 255, 255, 0.12) 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 24px 44px rgba(0, 0, 0, 0.65), 0 0 32px 0px rgba(211, 35, 46, 0.35);
}

/* Shine Sweep Diagonal 60fps no Hover/Press */
.action-card::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(
    65deg,
    transparent 35%,
    rgba(255, 255, 255, 0.05) 47%,
    rgba(211, 35, 46, 0.20) 50%,
    rgba(255, 255, 255, 0.05) 53%,
    transparent 65%
  );
  transform: translateX(-110%) rotate(25deg);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 6;
}

.action-card:hover::after,
.action-card:active::after {
  transform: translateX(110%) rotate(25deg);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .action-card::after {
    display: none !important;
  }
}

/* Ícones dos Cards */
.action-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-primary);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.action-card--featured .action-icon {
  background: rgba(211, 35, 46, 0.18);
  color: var(--accent-red);
  border-color: var(--border-red-subtle);
}

.action-card:hover .action-icon {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border-color: transparent;
}

/* Ícone Oficial do WhatsApp (#25D366) */
.action-icon--whatsapp {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.action-card:hover .action-icon--whatsapp {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.50);
}

/* Ícone Oficial do Instagram (Gradiente Oficial) */
.action-icon--instagram {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.action-card:hover .action-icon--instagram {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.45);
}

/* Conteúdo Textual */
.action-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.action-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.action-label {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.action-subtext {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Badges e Pills nos Cards */
.action-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.action-pill--featured {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(211, 35, 46, 0.4);
}

.action-pill--red {
  background: rgba(211, 35, 46, 0.15);
  color: var(--accent-red);
  border-color: var(--border-red-subtle);
}

/* Bolinha Verde Pulsante "AO VIVO" */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #34D399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: live-pulse 2s infinite ease-in-out;
}

@keyframes live-pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
  }
}

/* Seta Deslizante no Hover */
.action-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.action-card:hover .action-arrow {
  transform: translateX(4px);
  color: var(--accent-red);
}

/* ═══════════════════════════════════════════════════════════════
   3. MICRO-LINK DISCRETO
   ═══════════════════════════════════════════════════════════════ */
.micro-link-wrapper {
  text-align: center;
  margin-top: -4px;
}

.micro-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 14px;
  font-size: 0.80rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
  border-radius: var(--radius-sm);
}

.micro-link:hover {
  color: var(--accent-red);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
   4. TRUST GRID (3 Mini-Caixas)
   ═══════════════════════════════════════════════════════════════ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}

.trust-box {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(211, 35, 46, 0.12);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-title {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.trust-subtitle {
  font-size: 0.65rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

/* ═══════════════════════════════════════════════════════════════
   5. RODAPÉ (EXATAMENTE 2 LINHAS, NADA MAIS)
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.footer-line-1 {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.footer-signature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), text-shadow var(--transition-fast), background var(--transition-fast);
}

.footer-signature:hover {
  color: #FFFFFF;
  text-shadow: 0 0 14px var(--text-accent);
  background: rgba(211, 35, 46, 0.12);
}

/* ═══════════════════════════════════════════════════════════════
   6. TOAST DE FEEDBACK
   ═══════════════════════════════════════════════════════════════ */
.toast-box {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(14, 14, 20, 0.95);
  border: 1px solid var(--border-red-subtle);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  color: #FFFFFF;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease-spring), opacity 0.3s ease;
  z-index: 9999;
}

.toast-box.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-box svg {
  color: var(--accent-red);
}
