/* ==========================================================================
   WE ASSISTÊNCIA — LINK-IN-BIO PREMIUM & EXPERIÊNCIA VISUAL
   Identidade tecnológica: Preto, Azul Petróleo, Ciano Cirúrgico e Branco
   ========================================================================== */

/* --- 1. TOKENS & RESET --- */
:root {
  --bg-deep: #030712;
  --bg-surface: #060e1d;
  --bg-card: rgba(8, 17, 34, 0.72);
  --bg-card-hover: rgba(14, 28, 54, 0.85);

  --accent-cyan: #00d2ff;
  --accent-blue: #0077b6;
  --accent-dark-blue: #0f2b46;
  
  --border-cyan-subtle: rgba(0, 210, 255, 0.16);
  --border-cyan-hover: rgba(0, 210, 255, 0.45);
  --border-glass: rgba(255, 255, 255, 0.08);

  --text-white: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-sm: 10px;

  --shadow-glow: 0 10px 30px rgba(0, 210, 255, 0.22);
}

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

html {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  width: 100%;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden !important;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

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

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

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

/* --- 2. BACKGROUND VIDEO & ATMOSPHERE --- */
.video-bg-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.02);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 7, 18, 0.85) 0%,
    rgba(3, 7, 18, 0.92) 45%,
    rgba(3, 7, 18, 0.97) 100%
  );
}

.ambient-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 600px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, transparent 68%);
}

/* --- 3. PAGE WRAPPER & LAYOUT --- */
.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: 24px 16px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Status Bar Superior */
.top-status-bar {
  margin-bottom: 24px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(8, 20, 38, 0.8);
  border: 1px solid var(--border-cyan-subtle);
  backdrop-filter: blur(10px);
}

.status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseGlow 2.5s infinite ease-in-out;
}

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

.status-text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  font-weight: 600;
}

/* --- 4. MAIN CARD --- */
.main-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Profile Hero */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
}

.avatar-wrapper {
  position: relative;
  width: 108px;
  height: 108px;
  margin-bottom: 18px;
}

.avatar-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #00d2ff, #0077b6, #0f2b46, #00d2ff);
  opacity: 0.6;
  filter: blur(4px);
}

.avatar-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-deep);
  background-color: #ffffff;
}

.verified-badge {
  position: absolute;
  bottom: 0;
  right: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #00d2ff;
  color: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-deep);
  box-shadow: 0 2px 8px rgba(0, 210, 255, 0.4);
}

.brand-title {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 6px;
}

.brand-category {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 12px;
}

.brand-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.55;
  margin-bottom: 14px;
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
  margin-bottom: 24px;
}

.location-tag svg {
  color: var(--accent-cyan);
}

/* --- 5. SHINY SWEEP CTA BOTÃO PRINCIPAL --- */
.btn-primary-shiny {
  position: relative;
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #00d2ff 0%, #0077b6 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.btn-primary-shiny:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 210, 255, 0.4);
}

.btn-primary-shiny::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 45%;
  height: 220%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transform: rotate(25deg);
  animation: shinySweep 3.5s infinite ease-in-out;
  pointer-events: none;
}

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

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-label {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.btn-arrow {
  display: flex;
  align-items: center;
  opacity: 0.85;
}

/* --- 6. LINKS HUB --- */
.links-hub {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.link-action-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 18px;
  border-radius: var(--radius-card);
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  overflow: hidden;
}

.link-action-card:hover {
  transform: translateY(-2px);
  background-color: var(--bg-card-hover);
  border-color: var(--border-cyan-hover);
}

.link-action-card.highlight-card {
  border-color: var(--border-cyan-subtle);
  background: linear-gradient(
    135deg,
    rgba(8, 20, 42, 0.85) 0%,
    rgba(6, 14, 28, 0.85) 100%
  );
}

.card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid var(--border-cyan-subtle);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.link-action-card:hover .card-icon-box {
  transform: scale(1.06);
  color: #ffffff;
  background: rgba(0, 210, 255, 0.2);
}

.card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
}

.card-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.card-arrow {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: transform 0.25s ease, color 0.25s ease;
}

.link-action-card:hover .card-arrow {
  transform: translateX(3px);
  color: var(--accent-cyan);
}

/* --- 7. SERVICES BENTO GRID --- */
.services-bento {
  padding-top: 10px;
}

.bento-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
  text-align: center;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 460px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-full {
    grid-column: span 2;
  }
}

.bento-item {
  padding: 18px;
  border-radius: var(--radius-card);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.bento-item:hover {
  border-color: var(--border-cyan-subtle);
  transform: translateY(-2px);
}

.bento-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 210, 255, 0.08);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.bento-item h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.bento-item p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- 8. FOOTER --- */
.card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding-top: 10px;
}

.contact-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.06);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-cyan-subtle);
  margin-bottom: 6px;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
}

.footer-sub {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* --- 9. STICKY BOTTOM BAR (MOBILE) --- */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-cyan-subtle);
  z-index: 100;
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.sticky-bottom-bar.visible {
  transform: translateY(0);
}

.sticky-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  min-height: 48px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #00d2ff 0%, #0077b6 100%);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
}

/* --- 10. MOTION & GSAP UTILITIES --- */
.gs-reveal {
  opacity: 0;
  transform: translateY(20px);
}

/* Suporte a Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .video-bg {
    display: none;
  }

  .video-bg-container {
    background: url('assets/bg-poster.webp') center/cover no-repeat;
  }

  .btn-primary-shiny::after {
    animation: none;
  }

  .gs-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
