/* ==========================================================================
   DR. RAPHAEL VIEIRA SOUTO — LINK BIO PRIME
   Identidade: Obsidian Dark, Sapphire Blue, Electric Cyan Glow & Frost Glass
   Tipografia: Outfit (Headings) + Plus Jakarta Sans (Body)
   ========================================================================== */

:root {
  /* Paleta Primária */
  --bg-dark: #060911;
  --bg-gradient-start: #080d1a;
  --bg-gradient-end: #04060b;
  
  /* Cartões e Superfícies Glass */
  --card-bg: rgba(14, 21, 37, 0.72);
  --card-border: rgba(56, 189, 248, 0.16);
  --card-border-hover: rgba(56, 189, 248, 0.48);
  --card-glow: rgba(37, 99, 235, 0.22);
  --card-inner-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* Destaques e Cores de Ação */
  --blue-primary: #2563eb;
  --blue-light: #38bdf8;
  --cyan-glow: #00f0ff;
  --whatsapp-green: #25d366;
  --whatsapp-hover: #1ebd5a;
  --whatsapp-glow: rgba(37, 211, 102, 0.38);

  /* Tipografia & Contrastes */
  --text-pure: #ffffff;
  --text-title: #f1f5f9;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Fontes */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Formas & Raios */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
  --shadow-glow-blue: 0 8px 30px rgba(37, 99, 235, 0.3);
  --shadow-glow-cyan: 0 8px 30px rgba(56, 189, 248, 0.28);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, #0d1a38 0%, transparent 60%),
    radial-gradient(circle at 100% 50%, #081a33 0%, transparent 45%),
    radial-gradient(circle at 0% 80%, #091329 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Grid sutil e orbes luminosos no fundo */
.cyber-grid {
  position: fixed;
  inset: 0;
  background-size: 36px 36px;
  background-image: 
    linear-gradient(to right, rgba(56, 189, 248, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.025) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.38;
}

.glow-top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  height: 380px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.6) 0%, rgba(56, 189, 248, 0.25) 60%, transparent 100%);
}

.glow-middle {
  top: 45%;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.4) 0%, transparent 70%);
}

.glow-bottom {
  bottom: -50px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
}

/* Container Principal Mobile-First */
.page-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 24px 18px calc(110px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* ==========================================================================
   01. HERO / CABEÇALHO / PERFIL
   ========================================================================== */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Top Navigation Bar */
.top-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 18px;
}

/* Badge de Status Ativo */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--blue-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--blue-light);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.65;
  }
}

.status-text {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #7dd3fc;
  text-transform: uppercase;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
  transform: scale(1.05);
}

.share-btn svg {
  width: 17px;
  height: 17px;
}

/* Avatar com Aura e Ring */
.avatar-container {
  position: relative;
  width: 144px;
  height: 144px;
  margin-bottom: 18px;
}

.avatar-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(37, 99, 235, 0.2) 60%, transparent 80%);
  filter: blur(12px);
  z-index: 0;
  animation: avatar-breathe 4s infinite ease-in-out;
}

@keyframes avatar-breathe {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.avatar-ring-outer {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-primary) 50%, #0369a1 100%);
  padding: 3px;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.avatar-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #070d1a;
  background-color: #0b1329;
}

.avatar-badge {
  position: absolute;
  bottom: 4px;
  right: 6px;
  z-index: 3;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border: 2.5px solid #060911;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

.avatar-badge svg {
  width: 16px;
  height: 16px;
}

/* Nomes e Subtítulos */
.doctor-name {
  font-family: var(--font-heading);
  font-size: 1.68rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  margin-bottom: 4px;
  line-height: 1.25;
}

.doctor-crm {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Instagram Pill */
.instagram-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-title);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  transition: all 0.25s ease;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.instagram-pill:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

.instagram-pill .ig-icon {
  width: 16px;
  height: 16px;
  color: #e1306c;
}

.instagram-pill .check-icon {
  width: 16px;
  height: 16px;
  color: #38bdf8;
}

/* Bio */
.doctor-bio {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 440px;
  padding: 0 6px;
  margin-bottom: 18px;
}

.doctor-bio strong {
  color: var(--text-pure);
  font-weight: 600;
}

/* ==========================================================================
   STORIES / DESTAQUES DO INSTAGRAM INTERATIVOS
   ========================================================================== */
.stories-scroll-container {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 0 10px;
}

.stories-scroll-container::-webkit-scrollbar {
  display: none;
}

.stories-track {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 4px;
  min-width: max-content;
}

.story-bubble-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  transition: transform 0.2s ease;
}

.story-bubble-btn:hover {
  transform: scale(1.06);
}

.story-bubble-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  padding: 2.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.ring-blue {
  background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 50%, #0369a1 100%);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.ring-white {
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.story-bubble-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #081124;
  border: 2px solid #060911;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
}

.bg-white-inner {
  background: #ffffff;
  color: #060911;
}

.story-bubble-inner svg {
  width: 22px;
  height: 22px;
}

.story-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-title);
  letter-spacing: 0.02em;
  max-width: 68px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   02. CTA PRINCIPAL DE ALTA CONVERSÃO (WHATSAPP)
   ========================================================================== */
.cta-master {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 50%, #166534 100%);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: var(--radius-lg);
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.32), 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-master:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 36px rgba(22, 163, 74, 0.45), 0 4px 12px rgba(0, 0, 0, 0.5);
  border-color: rgba(134, 239, 172, 0.7);
}

.cta-master:active {
  transform: translateY(0) scale(0.99);
}

/* Efeito Shimmer de Brilho Dinâmico */
.cta-shine {
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: cta-shine 3.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes cta-shine {
  0% { left: -60%; }
  35% { left: 140%; }
  100% { left: 140%; }
}

.cta-icon-wrapper {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.cta-icon-wrapper svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

.cta-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.cta-subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 3px;
  line-height: 1.35;
}

.cta-arrow {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.25s ease;
}

.cta-master:hover .cta-arrow {
  transform: translateX(4px);
  color: #ffffff;
}

.cta-arrow svg {
  width: 20px;
  height: 20px;
}

.cta-microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 10px;
  text-align: center;
}

.cta-microcopy svg {
  width: 14px;
  height: 14px;
  color: var(--blue-light);
}

/* ==========================================================================
   02.1 SELETOR DE MODALIDADE: PRESENCIAL VS ON-LINE
   ========================================================================== */
.attendance-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.attendance-card {
  position: relative;
  background: var(--card-bg);
  background-image: var(--card-inner-shine);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-pure);
  text-decoration: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.attendance-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-border-hover);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 99, 235, 0.2);
}

.att-badge {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-full);
  color: #7dd3fc;
}

.badge-cyan {
  background: rgba(14, 165, 233, 0.2);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.att-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
}

.icon-cyan {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}

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

.att-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
}

.att-desc {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.att-btn-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-light);
  margin-top: 4px;
}

.att-btn-label svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.attendance-card:hover .att-btn-label svg {
  transform: translateX(4px);
}

/* ==========================================================================
   03. CREDENCIAIS & PROVA SOCIAL
   ========================================================================== */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cred-card {
  background: var(--card-bg);
  background-image: var(--card-inner-shine);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.cred-card:hover {
  transform: translateY(-2px);
  border-color: var(--card-border-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.cred-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--blue-light);
}

.cred-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.cred-value {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.2;
}

.cred-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ==========================================================================
   03.1 MANIFESTO EDITORIAL
   ========================================================================== */
.manifesto-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(14, 21, 37, 0.8) 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  position: relative;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.manifesto-quote-icon {
  font-family: serif;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(56, 189, 248, 0.25);
  position: absolute;
  top: 10px;
  left: 16px;
  pointer-events: none;
}

.manifesto-text {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #e2e8f0;
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.manifesto-text strong {
  color: #38bdf8;
}

.manifesto-author {
  display: flex;
  flex-direction: column;
}

.manifesto-author strong {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: #ffffff;
}

.manifesto-author span {
  font-size: 0.76rem;
  color: var(--blue-light);
}

/* ==========================================================================
   SEÇÕES & CABEÇALHOS
   ========================================================================== */
.section-block {
  width: 100%;
}

.section-header {
  margin-bottom: 14px;
  padding: 0 4px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-light);
  margin-bottom: 4px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-title);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   04. PILARES DE ATUAÇÃO (CARDS EXPANSIVOS / AÇÃO RÁPIDA)
   ========================================================================== */
.pillars-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar-card {
  background: var(--card-bg);
  background-image: var(--card-inner-shine);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 99, 235, 0.15);
}

.pillar-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--blue-light);
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar-info {
  flex: 1;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 6px;
  line-height: 1.3;
}

.pillar-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.pillar-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-md);
  color: #e0f2fe;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.22s ease;
}

.pillar-action:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.45);
  color: #ffffff;
}

.pillar-action svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.pillar-action:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   05. ACESSOS RÁPIDOS & CANAIS
   ========================================================================== */
.action-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--card-bg);
  background-image: var(--card-inner-shine);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  color: var(--text-pure);
  text-decoration: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-btn:hover {
  transform: translateY(-2px);
  border-color: var(--card-border-hover);
  background-color: rgba(22, 32, 54, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.link-btn:active {
  transform: translateY(0);
}

.link-btn-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.ig-bg {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.2) 0%, rgba(131, 58, 180, 0.2) 100%);
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.3);
}

.mic-bg {
  background: rgba(56, 189, 248, 0.12);
  color: var(--blue-light);
  border-color: rgba(56, 189, 248, 0.3);
}

.phone-bg {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
}

.link-btn-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.link-btn-text strong {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-pure);
  line-height: 1.25;
}

.link-btn-text small {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.link-btn-arrow {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--text-dim);
  transition: transform 0.2s ease, color 0.2s ease;
}

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

/* ==========================================================================
   06. LOCALIZAÇÃO DO CONSULTÓRIO & MAPA
   ========================================================================== */
.location-card {
  background: var(--card-bg);
  background-image: var(--card-inner-shine);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pin-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
}

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

.location-name {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.location-address {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.map-embed-container {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.2);
  background-color: #0d1527;
}

.map-embed-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(1.05) brightness(0.95);
}

.map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 13px 18px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.map-btn:hover {
  background: rgba(37, 99, 235, 0.32);
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
}

.map-btn svg {
  width: 18px;
  height: 18px;
  color: var(--blue-light);
}

/* ==========================================================================
   07. FAQ ACCORDION (DÚVIDAS FREQUENTES)
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--card-bg);
  background-image: var(--card-inner-shine);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--card-border-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-pure);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--blue-light);
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: #f43f5e;
}

.faq-answer {
  padding: 0 18px 16px 18px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   08. RODAPÉ INSTITUCIONAL
   ========================================================================== */
.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 14px;
}

.footer-social-links {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-icon-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
}

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

.footer-name {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.footer-crm {
  font-size: 0.78rem;
  color: var(--blue-light);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.footer-rights {
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.footer-brand-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   09. STICKY BOTTOM BAR (WHATSAPP FLUTUANTE)
   ========================================================================== */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  background: linear-gradient(to top, rgba(6, 9, 17, 0.95) 0%, rgba(6, 9, 17, 0.7) 70%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sticky-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 460px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border: 1px solid rgba(74, 222, 128, 0.4);
  border-radius: var(--radius-full);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4), 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.sticky-action-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.55);
}

.sticky-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.sticky-text {
  flex: 1;
  text-align: center;
}

.sticky-arrow {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   10. MODAL INTERATIVO DE STORIES
   ========================================================================== */
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.story-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.story-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.story-modal-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  background: #0b1326;
  background-image: 
    radial-gradient(circle at 50% 0%, #1e3a8a 0%, transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(37, 99, 235, 0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-modal.is-open .story-modal-card {
  transform: scale(1);
}

.story-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.story-progress-fill {
  width: 0%;
  height: 100%;
  background: #38bdf8;
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

.story-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.story-card-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-card-profile img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--blue-light);
}

.story-card-profile strong {
  font-size: 0.88rem;
  color: #ffffff;
  display: block;
}

.story-card-profile span {
  font-size: 0.72rem;
  color: var(--blue-light);
}

.story-close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.story-card-body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #e2e8f0;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.story-card-body p {
  margin-bottom: 12px;
}

.story-card-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.story-card-body li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
}

.story-card-body li::before {
  content: "✦";
  color: #38bdf8;
}

.story-card-footer {
  margin-top: 4px;
}

.story-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: var(--radius-md);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.story-cta-btn svg {
  width: 18px;
  height: 18px;
}

/* Toast de Notificação */
.toast-notification {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: rgba(14, 21, 37, 0.95);
  border: 1px solid var(--blue-light);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

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

/* ==========================================================================
   ANIMAÇÕES DE ENTRADA (REVEAL ON SCROLL)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Desktop Polish */
@media (min-width: 768px) {
  .page-container {
    max-width: 520px;
  }
}
