/* ============================================================
   LARA SANTANA 43456 — EXPERIÊNCIA HIGH-END DE CAMPANHA
   Design System: Modern Clean Political / Electric Blue & Pop Pink
   Mobile-First • Zero Layout Thrashing • 60fps GPU Animations
   ============================================================ */

/* ── IMPORTS ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Roboto+Mono:wght@400;500;600&display=swap');

/* ══════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ══════════════════════════════════════════════════════════════ */
:root {
  /* Identidade Visual da Campanha */
  --primary-blue: #0052FF;
  --primary-blue-hover: #1E6BFF;
  --primary-blue-glow: rgba(0, 82, 255, 0.35);
  --primary-blue-subtle: rgba(0, 82, 255, 0.12);

  --accent-pink: #FF2D7A;
  --accent-pink-dim: rgba(255, 45, 122, 0.15);

  --whatsapp-green: #25D366;
  --whatsapp-green-dark: #1EBE5D;

  /* Superfícies & Cores de Fundo (Obsidian Navy) */
  --bg-dark: #070A12;
  --surface-dock: rgba(10, 15, 28, 0.94);
  --surface-card: rgba(13, 20, 36, 0.82);
  --surface-card-active: rgba(16, 26, 48, 0.90);

  /* Texto & Bordas */
  --text-white: #FFFFFF;
  --text-offwhite: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --border-light: rgba(255, 255, 255, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-blue: rgba(0, 82, 255, 0.4);

  /* Tipografia */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'Roboto Mono', monospace;

  /* Easing */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Safe Areas */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 16px);
}

/* ══════════════════════════════════════════════════════════════
   BASE & RESET
   ══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  background: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  width: 100%;
  max-width: 100vw;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  position: relative;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

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

.hidden {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════
   VÍDEO DE FUNDO (CORES ORIGINAIS & ALTA DEFINIÇÃO)
   ══════════════════════════════════════════════════════════════ */
.video-stage {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 1;
  background: #070A12;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s var(--ease-smooth);
  opacity: 0;
  transform: scale(1);
  will-change: opacity;
  filter: none !important;
}

.bg-video.active {
  opacity: 1;
}

/* Camadas de iluminação e tint removidas para manter 100% das cores originais */
.video-tint,
.ambient-glow,
.orb-blue,
.orb-center {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════
   STAGE — LAYOUT PRINCIPAL
   ══════════════════════════════════════════════════════════════ */
.stage {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: max(var(--safe-top), 14px);
  overflow: hidden;
  box-sizing: border-box;
}

/* ══════════════════════════════════════════════════════════════
   A. CABEÇALHO 100% CENTRALIZADO
   ══════════════════════════════════════════════════════════════ */
.candidate-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 54px;
  box-sizing: border-box;
  position: relative;
  z-index: 20;
  margin-bottom: auto;
}

/* Foto de Perfil Centralizada com Borda Limpa */
.profile-photo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  width: 100%;
}

.profile-photo-wrap {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #387BFF 100%);
  box-shadow: 0 4px 20px rgba(0, 82, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.profile-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0A0E1A;
}

/* Identidade: Nome Principal Centralizado e Ampliado */
.candidate-identity {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 0 auto 3px;
}

.candidate-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 2.75rem);
  letter-spacing: -0.02em;
  color: var(--text-white);
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

/* Linha Única Institucional Discreta */
.candidate-tagline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.3;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.polaroid-arc-section {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 480px;
  flex: 1;
  margin: auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.arc-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 54vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: grab;
  perspective: 1000px;
  margin: 0 auto;
}

.arc-container:active {
  cursor: grabbing;
}

/* ── PLAYER CARDS (GLASSMORPHISM ULTRA TRANSPARENTE) ── */
.player-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
  max-width: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transform-origin: center center;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-apple), opacity 0.5s, filter 0.5s;
  will-change: transform, opacity, filter;
  margin: 0 auto;
}

.player-card:not(.is-active) {
  opacity: 0.12 !important;
  filter: blur(2px) brightness(0.85);
  pointer-events: auto;
  cursor: pointer;
}

.player-card.is-active {
  opacity: 1;
  filter: blur(0px) brightness(1);
  pointer-events: auto;
}

.card-glass-surface {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 8px 12px 8px 8px;
  border-radius: 18px;
  background: rgba(10, 15, 30, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
}

.player-card.is-active .card-glass-surface {
  background: rgba(10, 15, 30, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.card-cover-wrapper {
  width: 54px;
  height: 54px;
  background: rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.card-video-indicator {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
}

.card-video-indicator svg {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  flex: 1;
  min-width: 0;
  gap: 2px;
}

.card-tag-pill {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  background: rgba(255, 45, 122, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 1px 6px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.card-title {
  color: var(--text-white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.card-artist {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

/* ══════════════════════════════════════════════════════════════
   NAVEGADOR DE FLUXO (PILL)
   ══════════════════════════════════════════════════════════════ */
.flow-navigator {
  position: absolute;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 5px 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s var(--ease-smooth);
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.flow-navigator.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-text {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-offwhite);
  white-space: nowrap;
}

.nav-chevron {
  color: var(--primary-blue);
  display: flex;
  align-items: center;
}

/* ══════════════════════════════════════════════════════════════
   C. FOOTER DOCK — BOTÕES FLUTUANTES TRANSPARENTES
   ══════════════════════════════════════════════════════════════ */
.dock-surface {
  position: relative;
  z-index: 30;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  margin-top: auto;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 6px 14px max(var(--safe-bottom), 14px);
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
}

/* ── DUAS AÇÕES ESSENCIAIS FLUTUANTES (50% / 50%) ── */
.action-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  min-height: 46px;
  border-radius: 50px;
  transition: transform 0.2s var(--ease-apple), box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
  text-decoration: none;
}

.action-btn:active {
  transform: scale(0.96);
}

.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-text-block {
  display: flex;
  flex-direction: column;
  gap: 0px;
  min-width: 0;
  overflow: hidden;
}

.btn-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-sub {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 1. Botão Principal: WhatsApp Oficial */
.btn-primary-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary-whatsapp .btn-icon {
  background: rgba(0, 0, 0, 0.15);
  color: #FFFFFF;
}

.btn-primary-whatsapp:hover {
  background: linear-gradient(135deg, #2ae06d 0%, #1eaf54 100%);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
}

/* 2. Botão Secundário: Redes Sociais */
.btn-secondary-social {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  color: #FFFFFF;
}

.btn-secondary-social .btn-icon {
  background: rgba(0, 82, 255, 0.2);
  color: #387BFF;
}

.btn-secondary-social:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

/* ══════════════════════════════════════════════════════════════
   PAINEL SOCIAL (SLIDE-UP DRAWER)
   ══════════════════════════════════════════════════════════════ */
.social-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-radius: 24px 24px 0 0;
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  background: rgba(10, 14, 26, 0.96);
  border-top: 1px solid var(--border-light);
  padding: 14px 20px max(var(--safe-bottom), 18px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(100%);
  transition: transform 0.45s var(--ease-apple);
  will-change: transform;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.8);
}

.social-panel.open {
  transform: translateY(0);
}

.social-panel-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  align-self: center;
}

.social-panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-white);
  text-align: center;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: background-color 0.2s ease, transform 0.2s ease;
  min-height: 56px;
  text-decoration: none;
  cursor: pointer;
}

.social-link:active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.08);
}

.link-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-icon svg {
  width: 20px;
  height: 20px;
}

.link-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.link-platform {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-white);
}

.link-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.link-arrow {
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.whatsapp-official .link-icon {
  background: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp-green);
}

.instagram .link-icon {
  background: rgba(255, 45, 122, 0.15);
  color: var(--accent-pink);
}

.proposals-link .link-icon {
  background: var(--primary-blue-subtle);
  color: var(--primary-blue);
}

.tiktok .link-icon {
  background: rgba(105, 201, 208, 0.15);
  color: #69C9D0;
}

.panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px;
  align-self: center;
  transition: color 0.2s ease;
}

.panel-close:active {
  color: #FFFFFF;
}

/* ══════════════════════════════════════════════════════════════
   MODAL DE PROPOSTAS DE GOVERNO
   ══════════════════════════════════════════════════════════════ */
.proposals-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-apple), visibility 0.35s;
}

.proposals-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.proposals-modal {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%);
  width: 100%;
  max-width: 480px;
  max-height: 84vh;
  background: rgba(10, 14, 26, 0.97);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  border: 1px solid var(--border-light);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s var(--ease-apple), opacity 0.35s, visibility 0.35s;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.8);
}

.proposals-modal.open {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.proposals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 8px;
}

.proposals-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary-blue);
  background: var(--primary-blue-subtle);
  border: 1px solid rgba(0, 82, 255, 0.3);
  padding: 4px 10px;
  border-radius: 100px;
}

.proposals-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.proposals-content {
  padding: 0 18px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.proposals-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: #FFFFFF;
}

.proposals-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.proposals-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.proposal-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.proposal-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proposal-icon-box.p-blue {
  background: var(--primary-blue-subtle);
  color: var(--primary-blue);
}

.proposal-icon-box.p-pink {
  background: var(--accent-pink-dim);
  color: var(--accent-pink);
}

.proposal-body h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #FFFFFF;
}

.proposal-body p {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.proposals-footer-action {
  width: 100%;
}

.btn-send-proposal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 100px;
  background: var(--primary-blue);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 4px 16px rgba(0, 82, 255, 0.35);
  transition: transform 0.2s ease;
}

.btn-send-proposal:active {
  transform: scale(0.97);
}

/* ══════════════════════════════════════════════════════════════
   OVERLAYS (AUTH, SHARE, TOAST)
   ══════════════════════════════════════════════════════════════ */
.audio-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.5s var(--ease-apple), visibility 0.5s;
}

.audio-auth-overlay.hidden-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.auth-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 28px 22px;
  text-align: center;
  max-width: 320px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}

.auth-icon-badge {
  width: 64px;
  height: 64px;
  background: var(--primary-blue-subtle);
  border: 1px solid rgba(0, 82, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--primary-blue);
}

.auth-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.auth-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 20px;
}

.btn-authorize {
  background: var(--primary-blue);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 100px;
  width: 100%;
  box-shadow: 0 4px 16px rgba(0, 82, 255, 0.35);
  cursor: pointer;
}

.btn-authorize:active {
  transform: scale(0.97);
}

/* Experience Loader */
.experience-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-apple), visibility 0.4s;
  pointer-events: none;
}

.experience-loader.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.loader-ring {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-blue);
  animation: spin 0.9s linear infinite;
}

.loader-text {
  font-size: 0.75rem;
  color: var(--text-offwhite);
  font-weight: 600;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════════════════════
   BIRD SYSTEM BUTTON (CANTO SUPERIOR ESQUERDO) & PROMO MODAL
   ══════════════════════════════════════════════════════════════ */
.bird-system-btn {
  position: fixed;
  top: max(var(--safe-top), 14px);
  left: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 16px rgba(0, 82, 255, 0.25), 0 2px 8px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.2s ease;
}

.bird-system-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(66, 160, 237, 0.5);
  background: #FFFFFF;
}

.bird-system-btn:active {
  transform: scale(0.92);
}

.bird-btn-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.bird-system-btn:hover .bird-btn-logo {
  transform: rotate(8deg) scale(1.08);
}

/* Magic animation ao clicar no botão da Bird */
.bird-system-btn.animate-magic {
  animation: birdMagic 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes birdMagic {
  0% { transform: scale(1) rotate(0deg); box-shadow: 0 0 0 0 rgba(66, 160, 237, 0); }
  25% { transform: scale(1.25) rotate(6deg); box-shadow: 0 0 20px 8px rgba(66, 160, 237, 0.5); }
  50% { transform: scale(1.1) rotate(-4deg); box-shadow: 0 0 28px 12px rgba(117, 68, 234, 0.4); }
  75% { transform: scale(1.18) rotate(3deg); box-shadow: 0 0 22px 10px rgba(66, 160, 237, 0.45); }
  100% { transform: scale(1) rotate(0deg); box-shadow: 0 4px 16px rgba(0, 82, 255, 0.25); }
}

/* ===== BIRD PROMO PANEL MODAL ===== */
.bird-promo-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.bird-promo-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.bird-promo-modal {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 100%);
  width: 90%;
  max-width: 400px;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 30px rgba(66, 160, 237, 0.25);
  background: linear-gradient(135deg, #42A0ED 0%, #267CC1 50%, #7544EA 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 10000;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s, visibility 0.35s;
  color: #FFFFFF;
}

.bird-promo-modal.open {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.bird-promo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.bird-promo-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.1);
}

.bird-promo-content {
  position: relative;
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bird-promo-logo-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.bird-promo-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.bird-promo-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bird-promo-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
  max-width: 300px;
}

.bird-promo-link-preview {
  width: 100%;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  padding: 10px 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bird-promo-link-preview span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #161616;
}

.bird-promo-cta-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 280px;
  background: #161616;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 13px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  margin-bottom: 14px;
  text-decoration: none;
}

.bird-promo-cta-btn:hover {
  background: #000000;
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.bird-promo-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bird-promo-sublink {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.bird-promo-sublink:hover {
  color: #FFFFFF;
}

/* Share Button & Modal */
.bird-share-btn {
  position: fixed;
  top: max(var(--safe-top), 14px);
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 16px rgba(0, 82, 255, 0.25), 0 2px 8px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  z-index: 1000;
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.2s ease;
}

.bird-share-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(66, 160, 237, 0.5);
  background: #FFFFFF;
}

.bird-share-btn:active {
  transform: scale(0.92);
}

.bird-share-btn svg {
  stroke: var(--primary-blue);
  stroke-width: 2.3;
}

.share-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-apple), visibility 0.35s;
}

.share-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.share-modal-bird {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 100%);
  width: 90%;
  max-width: 380px;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--border-light);
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s var(--ease-apple), opacity 0.35s, visibility 0.35s;
}

.share-modal-bird.open {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.share-panel-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
}

.share-panel-content {
  position: relative;
  padding: 24px 18px 18px;
}

.share-profile-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.share-profile-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--primary-blue);
  flex-shrink: 0;
}

.share-profile-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.share-profile-info h3 {
  font-family: var(--font-display);
  color: var(--text-white);
  font-size: 0.92rem;
  font-weight: 700;
}

.share-profile-info p {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.share-actions-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.share-action-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px;
  border-radius: 10px;
}

.share-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.bg-blue { background: var(--primary-blue); }
.bg-pink { background: var(--accent-pink); }
.bg-green { background: var(--whatsapp-green); }

.share-icon-circle svg {
  width: 18px;
  height: 18px;
}

.share-action-item span {
  color: var(--text-white);
  font-size: 0.65rem;
  font-weight: 600;
}

.share-promo-box p {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-align: center;
}

/* Toast */
.bird-toast {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-light);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s var(--ease-apple), opacity 0.3s;
}

.bird-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVIDADE (MOBILE FIRST)
   ══════════════════════════════════════════════════════════════ */
@media (max-height: 700px) {
  .profile-photo-wrap {
    width: 105px;
    height: 105px;
  }
  .arc-container {
    height: 48vh;
  }
  .flow-navigator {
    bottom: 72px;
  }
}

@media (min-width: 600px) {
  .dock-surface {
    max-width: 480px;
    margin: 0 auto;
  }
}