/* ==========================================================================
   GO DRIVER - PÁGINA BIO OFICIAL
   Design System, Glassmorphism, Micro-interações e Animações
   ========================================================================== */

/* --------------------------------------------------------------------------
   Variáveis Globais e Paleta de Cores
   -------------------------------------------------------------------------- */
:root {
  /* Cores Oficiais GO DRIVER */
  --primary-yellow: #FFC107;
  --primary-yellow-light: #FFD54F;
  --primary-yellow-hover: #FFA000;
  --primary-yellow-glow: rgba(255, 193, 7, 0.4);

  --primary-blue: #0066B2;
  --primary-blue-dark: #00457C;
  --primary-blue-light: #0088E8;
  --primary-blue-glow: rgba(0, 102, 178, 0.4);

  /* Fundo Escuro Moderno (Midnight Navy) */
  --bg-deep: #070E1B;
  --bg-surface: #0C172B;
  --bg-card: rgba(15, 27, 49, 0.65);
  --bg-card-hover: rgba(23, 40, 72, 0.85);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(255, 193, 7, 0.4);

  /* Cores das Redes e Marcas */
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  --whatsapp-glow: rgba(37, 211, 102, 0.45);

  --instagram-pink: #E1306C;
  --instagram-grad: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  --instagram-glow: rgba(225, 48, 108, 0.45);

  --facebook-blue: #1877F2;
  --facebook-glow: rgba(24, 119, 242, 0.45);

  --android-color: #3DDC84;
  --android-glow: rgba(61, 220, 132, 0.45);

  --ios-color: #F5F5F7;
  --ios-glow: rgba(255, 255, 255, 0.35);

  /* Maresia Digital */
  --maresia-cyan: #00E5FF;
  --maresia-blue: #0284C7;
  --maresia-glow: rgba(0, 229, 255, 0.4);

  /* Tipografia e Textos */
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Efeitos e Transições */
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --radius-btn: 18px;
  --radius-pill: 9999px;
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.45), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   Reset e Estilos Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100%;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #0F254B 0%, #070E1B 65%, #040810 100%);
  padding: env(safe-area-inset-top, 20px) env(safe-area-inset-right, 16px) env(safe-area-inset-bottom, 24px) env(safe-area-inset-left, 16px);
}

/* --------------------------------------------------------------------------
   Atmosfera de Fundo (Glow Orbs e Malha de Luz)
   -------------------------------------------------------------------------- */
.bg-atmosphere {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-primary {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--primary-blue-light) 0%, transparent 70%);
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
}

.orb-secondary {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--primary-yellow) 0%, transparent 70%);
  bottom: 20%;
  right: -80px;
  animation-duration: 22s;
  opacity: 0.15;
}

.orb-accent {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #00E5FF 0%, transparent 70%);
  bottom: -40px;
  left: -60px;
  animation-duration: 25s;
  opacity: 0.18;
}

.mesh-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 40px) scale(1.1); }
  100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* --------------------------------------------------------------------------
   Container Principal da BIO
   -------------------------------------------------------------------------- */
.bio-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 18px 48px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Cabeçalho / Topo Centralizado
   -------------------------------------------------------------------------- */
.bio-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

/* Anel Luminoso ao Redor da Logo */
.logo-wrapper {
  position: relative;
  margin-bottom: 14px;
}

.logo-outer-ring {
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, rgba(255, 193, 7, 0.2) 40%, var(--primary-blue) 100%);
  box-shadow: 0 0 35px rgba(255, 193, 7, 0.25), 0 0 20px rgba(0, 102, 178, 0.35);
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.logo-outer-ring:hover {
  transform: scale(1.03);
  box-shadow: 0 0 45px rgba(255, 193, 7, 0.4), 0 0 30px rgba(0, 102, 178, 0.5);
}

.logo-inner-ring {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #0B172A;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

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

/* Badge de Verificado */
.verified-badge {
  position: absolute;
  bottom: 2px;
  right: 4px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%);
  border: 2.5px solid #070E1B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.verified-icon {
  width: 14px;
  height: 14px;
  fill: #070E1B;
  font-weight: 900;
}

/* Tipografia do Cabeçalho */
.bio-title {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.2;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.title-go {
  color: #FFFFFF;
}

.title-driver {
  color: var(--primary-yellow);
  text-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
}

.bio-tagline {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

/* Slogan Oficial: "BAIXOU, PEDIU, CHEGOU!" */
.slogan-badge-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.slogan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.12) 0%, rgba(0, 102, 178, 0.18) 100%);
  border: 1px solid rgba(255, 193, 7, 0.4);
  padding: 4px 13px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 14px rgba(255, 193, 7, 0.12), inset 0 0 8px rgba(255, 193, 7, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: sloganGlowPulse 3s ease-in-out infinite;
}

.slogan-sparkle {
  color: var(--primary-yellow);
  font-size: 0.65rem;
  animation: sparkleTwinkle 2s ease-in-out infinite alternate;
}

.slogan-sparkle.right {
  animation-delay: 1s;
}

.slogan-text {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #FFF275;
  text-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
  text-transform: uppercase;
}

@keyframes sloganGlowPulse {
  0%, 100% {
    box-shadow: 0 0 16px rgba(255, 193, 7, 0.15), inset 0 0 10px rgba(255, 193, 7, 0.05);
    border-color: rgba(255, 193, 7, 0.35);
  }
  50% {
    box-shadow: 0 0 26px rgba(255, 193, 7, 0.35), inset 0 0 16px rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.7);
  }
}

@keyframes sparkleTwinkle {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Grupo de Botões da BIO com Botão Auxiliar de QR Code
   -------------------------------------------------------------------------- */
.bio-links-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

/* Cartão Interativo do Botão (Estrutura Unificada Link + QR Code) */
.bio-btn-card {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 58px;
  border-radius: var(--radius-btn);
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition-bounce), border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.bio-btn-card:hover {
  transform: translateY(-3px) scale(1.01);
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 193, 7, 0.15);
}

/* Link Principal da Ação */
.bio-btn-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 10px 12px 10px 16px;
  text-decoration: none;
  color: var(--text-main);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  outline: none;
}

.bio-btn-link:focus-visible {
  outline: 2px solid var(--primary-yellow);
}

/* Ícone do Botão */
.btn-icon-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.bio-btn-card:hover .btn-icon-wrap {
  transform: scale(1.08);
}

.svg-icon {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 2;
}

/* Conteúdo de Texto do Botão */
.btn-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.btn-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.3px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Título de linha única para os botões estritos (WhatsApp, Instagram, Facebook) */
.single-line-title {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.btn-subtitle {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Seta Indicativa do Botão */
.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  transition: transform var(--transition-bounce), color var(--transition-fast), background-color var(--transition-fast);
  flex-shrink: 0;
  margin-left: 6px;
}

.arrow-svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.bio-btn-link:hover .btn-arrow {
  transform: translateX(3px);
  color: var(--primary-yellow);
  background: rgba(255, 193, 7, 0.12);
}

/* Divisória Vertical Entre Link e QR Code */
.card-v-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 10px 0;
  flex-shrink: 0;
  transition: background-color var(--transition-fast);
}

.bio-btn-card:hover .card-v-divider {
  background: rgba(255, 255, 255, 0.15);
}

/* Botão Auxiliar de QR Code */
.btn-qr-aux {
  width: 52px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-dim);
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-bounce);
  flex-shrink: 0;
  padding: 0 4px;
  outline: none;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-qr-aux:hover, .btn-qr-aux:focus-visible {
  color: var(--primary-yellow);
  background: rgba(255, 193, 7, 0.12);
  outline: none;
}

.btn-qr-aux:active {
  transform: scale(0.92);
}

.qr-aux-svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
  transition: transform var(--transition-fast);
}

.btn-qr-aux:hover .qr-aux-svg {
  transform: scale(1.15);
}

.qr-aux-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.85;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Estilos e Animações Específicas dos Logos (Android, iOS, WhatsApp, IG, FB)
   -------------------------------------------------------------------------- */

/* 1. Botão App Android (COM LOGO ANIMADO) */
.card-android .icon-android {
  background: linear-gradient(135deg, rgba(61, 220, 132, 0.18) 0%, rgba(61, 220, 132, 0.05) 100%);
  border-color: rgba(61, 220, 132, 0.4);
  color: var(--android-color);
  overflow: visible;
}

.card-android:hover {
  border-color: rgba(61, 220, 132, 0.5);
  box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.55), 0 0 20px var(--android-glow);
}

/* Anéis de Pulso Dinâmicos no Logo Android */
.android-pulse-ring, .android-pulse-ring-delayed {
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1.5px solid var(--android-color);
  opacity: 0;
  pointer-events: none;
  animation: androidPulseRing 2.8s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.android-pulse-ring-delayed {
  animation-delay: 1.4s;
}

@keyframes androidPulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  60% { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Animação Contínua no Ícone SVG do Android */
.anim-android-logo .android-svg {
  animation: androidIconFloat 2.8s ease-in-out infinite;
}

@keyframes androidIconFloat {
  0%, 100% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.12) rotate(-4deg); }
  60% { transform: scale(1.08) rotate(4deg); }
}

/* 2. Botão App iOS (COM LOGO ANIMADO) */
.card-ios .icon-ios {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  overflow: visible;
}

.card-ios:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.55), 0 0 20px var(--ios-glow);
}

/* Anéis de Pulso Metálico no Logo Apple */
.ios-pulse-ring, .ios-pulse-ring-delayed {
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  opacity: 0;
  pointer-events: none;
  animation: iosPulseRing 3s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.ios-pulse-ring-delayed {
  animation-delay: 1.5s;
}

@keyframes iosPulseRing {
  0% { transform: scale(0.95); opacity: 0.75; }
  60% { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Animação Contínua no Ícone SVG da Apple */
.anim-ios-logo .ios-svg {
  animation: appleIconFloat 3s ease-in-out infinite;
}

@keyframes appleIconFloat {
  0%, 100% { transform: scale(1) translateY(0); filter: drop-shadow(0 0 0px rgba(255,255,255,0)); }
  50% { transform: scale(1.1) translateY(-2px); filter: drop-shadow(0 0 8px rgba(255,255,255,0.4)); }
}

/* 3. Botão WhatsApp (COM LOGO ANIMADO) */
.card-whatsapp .icon-whatsapp {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2) 0%, rgba(18, 140, 126, 0.1) 100%);
  border-color: rgba(37, 211, 102, 0.45);
  color: var(--whatsapp-green);
  overflow: visible;
}

.card-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.55);
  box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.55), 0 0 24px var(--whatsapp-glow);
}

.wa-pulse-ring, .wa-pulse-ring-delayed {
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1.5px solid var(--whatsapp-green);
  opacity: 0;
  pointer-events: none;
  animation: waPulseRing 2.6s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.wa-pulse-ring-delayed {
  animation-delay: 1.3s;
}

@keyframes waPulseRing {
  0% { transform: scale(0.95); opacity: 0.85; }
  60% { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.anim-whatsapp-logo .wa-svg {
  animation: waIconBeat 2.6s ease-in-out infinite;
}

@keyframes waIconBeat {
  0%, 100% { transform: scale(1); }
  20% { transform: scale(1.12) rotate(-3deg); }
  30% { transform: scale(1.08) rotate(3deg); }
  40% { transform: scale(1.1) rotate(0deg); }
  50% { transform: scale(1); }
}

/* 4. Botão Instagram (COM LOGO ANIMADO PADRONIZADO) */
.card-instagram .icon-instagram {
  background: var(--instagram-grad);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.35);
  overflow: visible;
  position: relative;
}

.card-instagram:hover {
  border-color: rgba(225, 48, 108, 0.7);
  box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.55), 0 0 24px var(--instagram-glow);
}

.ig-pulse-ring, .ig-pulse-ring-delayed {
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1.5px solid #E1306C;
  opacity: 0;
  pointer-events: none;
  animation: igPulseRing 2.6s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.ig-pulse-ring-delayed {
  animation-delay: 1.3s;
}

@keyframes igPulseRing {
  0% { transform: scale(0.95); opacity: 0.85; }
  60% { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.anim-instagram-logo .ig-svg {
  animation: igCameraBreath 2.6s ease-in-out infinite;
}

@keyframes igCameraBreath {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(225, 48, 108, 0)); }
  25% { transform: scale(1.12) rotate(-3deg); filter: drop-shadow(0 0 6px rgba(225, 48, 108, 0.6)); }
  50% { transform: scale(1.05) rotate(3deg); filter: drop-shadow(0 0 8px rgba(225, 48, 108, 0.7)); }
  75% { transform: scale(1.1) rotate(0deg); }
}

/* 5. Botão Facebook (COM LOGO ANIMADO PADRONIZADO) */
.card-facebook .icon-facebook {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.25) 0%, rgba(24, 119, 242, 0.1) 100%);
  border-color: rgba(24, 119, 242, 0.45);
  color: #1877F2;
  overflow: visible;
  position: relative;
}

.card-facebook:hover {
  border-color: rgba(24, 119, 242, 0.6);
  box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.55), 0 0 24px var(--facebook-glow);
}

.fb-pulse-ring, .fb-pulse-ring-delayed {
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1.5px solid var(--facebook-blue);
  opacity: 0;
  pointer-events: none;
  animation: fbPulseRing 2.6s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.fb-pulse-ring-delayed {
  animation-delay: 1.3s;
}

@keyframes fbPulseRing {
  0% { transform: scale(0.95); opacity: 0.85; }
  60% { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.anim-facebook-logo .fb-svg {
  animation: fbFloatPulse 2.6s ease-in-out infinite;
}

@keyframes fbFloatPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.1); }
}

/* 6. Botão Site GODRIVER (COM LOGO ANIMADO PADRONIZADO) */
.card-website .icon-website {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(0, 102, 178, 0.2) 100%);
  border-color: rgba(255, 193, 7, 0.45);
  color: var(--primary-yellow);
  overflow: visible;
  position: relative;
}

.card-website:hover {
  border-color: var(--primary-yellow);
  box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.55), 0 0 25px var(--primary-yellow-glow);
}

.site-pulse-ring, .site-pulse-ring-delayed {
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1.5px solid var(--primary-yellow);
  opacity: 0;
  pointer-events: none;
  animation: sitePulseRing 2.6s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.site-pulse-ring-delayed {
  animation-delay: 1.3s;
}

@keyframes sitePulseRing {
  0% { transform: scale(0.95); opacity: 0.85; }
  60% { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.anim-website-logo .site-svg {
  animation: siteGlobeBreath 2.6s ease-in-out infinite;
}

@keyframes siteGlobeBreath {
  0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 0px rgba(255, 193, 7, 0)); }
  25% { transform: scale(1.1) rotate(12deg); filter: drop-shadow(0 0 6px rgba(255, 193, 7, 0.5)); }
  50% { transform: scale(1.05) rotate(0deg); filter: drop-shadow(0 0 4px rgba(255, 193, 7, 0.3)); }
  75% { transform: scale(1.1) rotate(-12deg); filter: drop-shadow(0 0 6px rgba(255, 193, 7, 0.5)); }
}

/* 7. Botão Tábua de Marés (COM LOGO ANIMADO DE ONDAS PADRONIZADO) */
.card-tide .icon-tide {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2) 0%, rgba(2, 132, 199, 0.15) 100%);
  border-color: rgba(0, 229, 255, 0.45);
  color: var(--maresia-cyan);
  overflow: visible;
  position: relative;
}

.card-tide:hover {
  border-color: var(--maresia-cyan);
  box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 229, 255, 0.35);
}

.tide-pulse-ring, .tide-pulse-ring-delayed {
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1.5px solid var(--maresia-cyan);
  opacity: 0;
  pointer-events: none;
  animation: tidePulseRing 2.6s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.tide-pulse-ring-delayed {
  animation-delay: 1.3s;
}

@keyframes tidePulseRing {
  0% { transform: scale(0.95); opacity: 0.85; }
  60% { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.anim-tide-logo .tide-svg {
  animation: tideWaveOscillate 2.6s ease-in-out infinite;
}

@keyframes tideWaveOscillate {
  0%, 100% { transform: scale(1) translateY(0); filter: drop-shadow(0 0 2px rgba(0, 229, 255, 0.4)); }
  35% { transform: scale(1.1) translateY(-2px) rotate(-3deg); filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.7)); }
  70% { transform: scale(1.06) translateY(2px) rotate(3deg); filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.5)); }
}

/* --------------------------------------------------------------------------
   Rodapé da BIO (Logo Discreto da Maresia + Texto Solicitado)
   -------------------------------------------------------------------------- */
.bio-footer {
  width: 100%;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.12), transparent);
  margin-bottom: 10px;
}

/* Frase Oficial Exigida no Rodapé */
.footer-copyright {
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Logo da Maresia Bem Discreto + Texto "Desenvolvido por Maresia Digital" */
.maresia-footer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.maresia-mini-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 229, 255, 0.14);
  transition: all var(--transition-fast);
}

.maresia-mini-link:hover {
  background: rgba(0, 229, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.18);
  transform: translateY(-1px);
}

/* Mini Wave Icon Discreto */
.maresia-mini-wave {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(2, 132, 199, 0.22));
  border: 1px solid rgba(0, 229, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 6px rgba(0, 229, 255, 0.12);
  transition: all 0.25s ease;
}

.maresia-mini-link:hover .maresia-mini-wave {
  border-color: rgba(0, 229, 255, 0.85);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
}

.maresia-mini-svg {
  width: 28px;
  height: 28px;
  overflow: visible;
}

/* Animações das Ondas em Movimento Contínuo (GODRIVER Style) */
.wave-track-primary {
  animation: waveFlowRight 2.8s linear infinite;
}

.wave-track-secondary {
  animation: waveFlowRight 4.2s linear infinite;
  opacity: 0.75;
}

.wave-track-glow {
  animation: waveFlowRight 2.8s linear infinite, wavePulseGlow 2.5s ease-in-out infinite;
  opacity: 0.35;
  filter: blur(1px);
}

@keyframes waveFlowRight {
  0% { transform: translateX(-60px); }
  100% { transform: translateX(0px); }
}

@keyframes wavePulseGlow {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.65; }
}

/* Nós Digitais em Movimento e Pulso */
.wave-node {
  animation: nodeBob 2s ease-in-out infinite;
  transform-origin: center;
}
.wave-node-1 { animation-delay: 0s; }
.wave-node-2 { animation-delay: 0.4s; }
.wave-node-3 { animation-delay: 0.8s; }

@keyframes nodeBob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.15); }
}

/* Frase: "Desenvolvido por Maresia Digital" */
.maresia-dev-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.maresia-mini-link:hover .maresia-dev-text {
  color: var(--maresia-cyan);
}

/* --------------------------------------------------------------------------
   Modal de QR Code Dinâmico
   -------------------------------------------------------------------------- */
.qr-modal-panel {
  max-width: 420px;
}

.modal-target-subtitle {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary-yellow);
  margin-top: 2px;
}

.qr-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-canvas-card {
  width: 100%;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 20px 16px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  margin-bottom: 16px;
}

.qr-code-box {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-box img, .qr-code-box canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: 8px;
}

.qr-hint-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  margin-top: 12px;
  text-align: center;
  letter-spacing: 0.2px;
}

.qr-url-box {
  width: 100%;
  margin-bottom: 12px;
}

.qr-actions-row {
  width: 100%;
  display: flex;
  gap: 10px;
}

.btn-download-qr {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-download-qr:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.action-icon {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Botão de Compartilhamento da BIO (Canto Superior Direito)
   Compatível com Recursos Nativos do Windows, MacOS, Android e iOS
   -------------------------------------------------------------------------- */
.top-share-wrapper {
  position: absolute;
  top: 20px;
  right: 18px;
  z-index: 90;
}

.top-share-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, #FFA000 50%, var(--primary-blue) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #070E1B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 193, 7, 0.35), 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
  outline: none;
}

.top-share-btn:hover, .top-share-btn:focus-visible {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 6px 24px rgba(255, 193, 7, 0.55), 0 0 20px rgba(0, 102, 178, 0.5);
  outline: none;
}

.top-share-btn:active {
  transform: scale(0.94);
}

.share-btn-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-yellow);
  opacity: 0;
  pointer-events: none;
  animation: shareFabPulse 3s ease-out infinite;
}

@keyframes shareFabPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  60% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

.top-share-btn .share-icon {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

/* --------------------------------------------------------------------------
   Modal / Bottom Sheet de Fallback de Compartilhamento
   -------------------------------------------------------------------------- */
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.share-modal[hidden] {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: #0E1A30;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  padding: 16px 20px 32px 20px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
  animation: slideUpModal 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
  .share-modal {
    align-items: center;
  }
  .modal-panel {
    border-radius: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 24px 24px 30px 24px;
    animation: zoomInModal 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@keyframes slideUpModal {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes zoomInModal {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-drag-bar {
  width: 44px;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  margin: 0 auto 16px auto;
}

@media (min-width: 640px) {
  .modal-drag-bar {
    display: none;
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Grade de Opções de Compartilhamento */
.share-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.share-option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 6px;
  text-decoration: none;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.share-option-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.option-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.copy-icon {
  background: rgba(255, 193, 7, 0.2);
  color: var(--primary-yellow);
}

.wa-icon {
  background: rgba(37, 211, 102, 0.2);
  color: var(--whatsapp-green);
}

.tg-icon {
  background: rgba(0, 136, 204, 0.2);
  color: #0088CC;
}

.email-icon {
  background: rgba(234, 67, 53, 0.2);
  color: #EA4335;
}

.option-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Caixa com Link Formatado */
.share-url-box {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 4px 6px 4px 14px;
}

.share-url-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 0.86rem;
  font-family: inherit;
  outline: none;
  text-overflow: ellipsis;
}

.btn-copy-input {
  background: var(--primary-yellow);
  color: #070E1B;
  border: none;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-input:hover {
  background: #FFE082;
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   Toast de Notificação (Feedback Instantâneo)
   -------------------------------------------------------------------------- */
.bio-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.bio-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0B172A;
  border: 1px solid var(--primary-yellow);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 193, 7, 0.3);
}

.toast-icon {
  width: 22px;
  height: 22px;
  background: var(--primary-yellow);
  color: #070E1B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 900;
}

.toast-message {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Acessibilidade e Preferência de Movimento Reduzido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .wave-track-primary,
  .wave-track-secondary,
  .wave-track-glow,
  .wave-node,
  .anim-android-logo .android-svg,
  .anim-ios-logo .ios-svg,
  .anim-whatsapp-logo .wa-svg,
  .anim-instagram-logo .ig-svg,
  .anim-facebook-logo .fb-svg,
  .android-pulse-ring,
  .android-pulse-ring-delayed,
  .ios-pulse-ring,
  .ios-pulse-ring-delayed,
  .wa-pulse-ring,
  .wa-pulse-ring-delayed,
  .ig-glow-shimmer,
  .fb-pulse-effect,
  .share-btn-ring,
  .slogan-badge,
  .glow-orb {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   Ajustes Específicos para Telas Ultra-Pequenas (<360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .bio-container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .logo-inner-ring {
    width: 92px;
    height: 92px;
  }
  .bio-title {
    font-size: 1.55rem;
  }
  .slogan-text {
    font-size: 0.80rem;
    letter-spacing: 1px;
  }
  .bio-btn-card {
    min-height: 54px;
  }
  .bio-btn-link {
    padding: 8px 8px 8px 12px;
  }
  .btn-icon-wrap {
    width: 36px;
    height: 36px;
    margin-right: 10px;
  }
  .btn-title {
    font-size: 0.94rem;
  }
  .top-share-wrapper {
    top: 16px;
    right: 14px;
  }
  .top-share-btn {
    width: 40px;
    height: 40px;
  }
  .top-share-btn .share-icon {
    width: 18px;
    height: 18px;
  }
  .share-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
