/* 
================================================================
  LINK NA BIO PREMIUM - EVELYN FERNANDA (PSICÓLOGA)
  Estilo & Design System (Inspirado nas cores de psicologaevelynfernanda.netlify.app)
  Desenvolvido por Agency Dallas
================================================================
*/

/* Google Fonts Imports com font-display: swap para Performance */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Paleta Extraída do Site de Referência Netlify */
  --primary: #7194cc;
  --primary-dark: #4b70aa;
  --primary-light: #f0f4fa;
  --primary-soft: rgba(113, 148, 204, 0.15);
  
  --navy: #253b5c;
  --navy-light: #3d5a80;
  
  --white: #ffffff;
  --bg-base: #fafbfe;
  
  --text-dark: #2c384a;
  --text-light: #6b7c96;
  
  --success: #2ec4b6;
  
  /* Fontes Exatas do Site de Referência */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Elevações e Sombras Suaves */
  --shadow-subtle: 0 4px 16px rgba(113, 148, 204, 0.08);
  --shadow-hover: 0 12px 32px rgba(113, 148, 204, 0.18);
  --shadow-active: 0 2px 10px rgba(37, 59, 92, 0.12);
}

/* Reset e Configurações Globais */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1.5rem 1rem;
  background-color: #fafbfe;
  background: radial-gradient(circle at 50% 0%, #ffffff 0%, #f0f4fa 50%, #fafbfe 100%);
  background-attachment: fixed;
}

/* Container Principal Mobile-First (Max-width 480px) */
.app-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Base de Animações - Fade Up Inicial */
.animate-fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Componentes Visual Hero */
.hero-avatar-wrapper {
  position: relative;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--white), var(--primary), var(--navy-light));
  box-shadow: var(--shadow-subtle);
  transition: transform 0.4s ease;
}

.hero-avatar-wrapper:hover {
  transform: scale(1.02);
}

.hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border: 3px solid var(--white);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-crp {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero-bio {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.5;
  max-width: 360px;
}

/* Badges Tags inspiradas na referência */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(113, 148, 204, 0.25);
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--navy);
  box-shadow: 0 2px 6px rgba(113, 148, 204, 0.06);
  transition: all 0.25s ease;
}

.badge-pill:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* Custom Button Link Styles com Glassmorphism Discreto */
.link-btn {
  width: 100%;
  min-height: 62px;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 1.125rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(113, 148, 204, 0.2);
  color: var(--text-dark);
  text-decoration: none;
  box-shadow: var(--shadow-subtle);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.link-btn-featured {
  background: linear-gradient(135deg, rgba(113, 148, 204, 0.15), rgba(255, 255, 255, 0.95));
  border: 1.5px solid var(--primary);
}

.link-btn-featured .link-icon-box {
  background: var(--navy);
  color: var(--white);
}

.link-btn:hover {
  transform: translateY(-3px) scale(1.008);
  box-shadow: var(--shadow-hover);
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--primary-dark);
}

.link-btn:active {
  transform: translateY(0) scale(0.995);
  box-shadow: var(--shadow-active);
}

.link-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 0.85rem;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.link-btn:hover .link-icon-box {
  background: var(--primary-dark);
  color: var(--white);
}

.link-text {
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  flex-grow: 1;
  text-align: left;
  padding: 0 1rem;
}

.link-arrow {
  color: var(--text-light);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.link-btn:hover .link-arrow {
  transform: translateX(4px);
  color: var(--primary-dark);
}

/* Indicador Pulsante para Botão Destaque */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: 12px;
  right: 12px;
  box-shadow: 0 0 0 0 rgba(113, 148, 204, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(113, 148, 204, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(113, 148, 204, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(113, 148, 204, 0);
  }
}

/* Quote Mini Session */
.quote-box {
  background: rgba(255, 255, 255, 0.65);
  border-left: 3px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: 0 0.85rem 0.85rem 0;
  margin: 1rem 0;
  box-shadow: var(--shadow-subtle);
}

.quote-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.025rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}

/* Estilos dos Cards da Seção 'Por Que Escolher' - Design Elevado */
.diff-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(113, 148, 204, 0.22);
  border-radius: 1.125rem;
  padding: 0.95rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  box-shadow: 0 4px 20px rgba(113, 148, 204, 0.07);
  transition: all 0.35 cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: transparent;
  transition: background 0.3s ease;
  border-radius: 1.125rem 0 0 1.125rem;
}

.diff-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(113, 148, 204, 0.16);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.98);
}

.diff-card:hover::before {
  background: var(--navy);
}

.diff-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(113, 148, 204, 0.18), rgba(240, 244, 250, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.diff-card:hover .diff-icon-box {
  background: var(--navy);
  color: var(--white);
}

.diff-card:hover .diff-icon-box svg {
  color: var(--white) !important;
}

/* Focus Ring Customizado para Acessibilidade AA */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 1.125rem;
}
