/* ==========================================================================
   DR. ADERBAL GALASSI NETO — CIRURGIÃO PLÁSTICO
   Design System & Estilos Globais
   Diretrizes: Branco Premium + Azul Royal Suave | Tipografia Montserrat
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Tokens do Design System --- */
:root {
  /* Tipografia Unificada */
  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Cores Principais — Branco Premium + Azul Royal */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafd;
  --bg-ambient: #f0f6ff;
  --bg-soft-blue: #eef4fe;
  
  /* Azuis da Marca */
  --royal-blue: #1d4ed8;
  --royal-blue-hover: #1e40af;
  --royal-blue-deep: #172554;
  --royal-blue-light: #3b82f6;
  --royal-blue-subtle: rgba(29, 78, 216, 0.06);
  --royal-blue-border: rgba(29, 78, 216, 0.14);
  --royal-glow: rgba(37, 99, 235, 0.16);

  /* Tons de Texto & Contraste (WCAG AA Compliance) */
  --text-title: #0f172a;        /* Azul ardósia profundo / quase preto */
  --text-body: #334155;         /* Ardósia suave de alta leitura */
  --text-muted: #64748b;        /* Apoio discreto */
  --text-light: #94a3b8;        /* Microcopy */
  
  /* Superfícies & Bordas */
  --border-light: rgba(15, 23, 42, 0.08);
  --border-card: rgba(29, 78, 216, 0.10);
  --card-glass: rgba(255, 255, 255, 0.85);
  --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 12px 32px -4px rgba(29, 78, 216, 0.08);
  --shadow-hover: 0 20px 40px -8px rgba(29, 78, 216, 0.14);

  /* Espaçamentos e Raios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Transições Suaves */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-smooth);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-body);
  overflow-x: hidden !important;
  width: 100%;
}

body {
  background: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden !important;
  width: 100%;
  position: relative;
}

/* Fundo Global Contínuo ("Uma Coisa Só") */
.page-background-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 85% 35%, rgba(29, 78, 216, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 75%, rgba(59, 130, 246, 0.035) 0%, transparent 55%),
    var(--bg-primary);
}

/* Elementos Principais sobre a camada de fundo */
.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Container Responsivo Padronizado */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 480px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 768px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1200px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* Links & Acessibilidade */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--royal-blue);
  outline-offset: 3px;
}

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

/* --- Botão Canônico com Efeito Shiny Sweep --- */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--royal-blue);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 14px 20px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px -4px rgba(29, 78, 216, 0.32);
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  text-align: center;
  white-space: normal;
  word-break: break-word;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 600px) {
  .btn-primary {
    width: auto;
    white-space: nowrap;
    padding: 15px 28px;
    font-size: 1rem;
    min-height: 52px;
    gap: 12px;
  }
}

/* Shiny Sweep (Feixe Diagonal Suave) */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.35) 50%, 
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.btn-primary:hover {
  background-color: var(--royal-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(29, 78, 216, 0.42);
}

.btn-primary:hover::before {
  left: 140%;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px -2px rgba(29, 78, 216, 0.3);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Botão Secundário / Sutil */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: transparent;
  color: var(--royal-blue) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 20px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--royal-blue-border);
  transition: all var(--transition-fast);
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .btn-secondary {
    width: auto;
    font-size: 0.95rem;
    padding: 14px 24px;
  }
}

.btn-secondary:hover {
  background-color: var(--royal-blue-subtle);
  border-color: var(--royal-blue);
  transform: translateY(-1px);
}

/* --- Navbar (Métrica Numérica do Segundo Cérebro) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  transition: height var(--transition-normal), background var(--transition-normal);
}

@media (min-width: 768px) {
  .site-header {
    height: 72px;
  }
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Marca / Logotipo */
.brand-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-title);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-specialty {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--royal-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: -2px;
}

@media (min-width: 768px) {
  .brand-name { font-size: 1.12rem; }
  .brand-specialty { font-size: 0.72rem; }
}

/* Navegação Desktop */
.nav-menu-desktop {
  display: none;
}

@media (min-width: 900px) {
  .nav-menu-desktop {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
  }

  .nav-item-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    transition: color var(--transition-fast);
    padding: 6px 0;
    position: relative;
  }

  .nav-item-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--royal-blue);
    transition: width var(--transition-fast);
  }

  .nav-item-link:hover {
    color: var(--royal-blue);
  }

  .nav-item-link:hover::after {
    width: 100%;
  }
}

/* Ações da Navbar */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Botão Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1050;
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-title);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

.menu-toggle.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu Mobile Fullscreen (Inert quando fechado) */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1020;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  overflow-x: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-nav-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-bottom: 36px;
  text-align: center;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-title);
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--royal-blue);
}

.mobile-nav-cta {
  width: 100%;
  max-width: 280px;
}

/* --- HERO SECTION MONUMENTAL --- */
.hero-section {
  position: relative;
  padding-top: 96px;
  padding-bottom: 60px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 130px;
    padding-bottom: 80px;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding-top: 150px;
    padding-bottom: 100px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

@media (min-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
  }
}

/* Conteúdo do Hero */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Sem badges decorativos no topo — Direto ao Ponto Focal Monumental */
.hero-title {
  font-size: clamp(1.65rem, 6.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-title);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-title .highlight-blue {
  color: var(--royal-blue);
  display: inline;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 3.5vw, 1.2rem);
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 580px;
}

/* Grupo de Ação */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-bottom: 32px;
}

@media (min-width: 600px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 16px;
  }
}

/* Barra de Credenciais Médicas Integrada no Hero */
.hero-credentials-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

@media (min-width: 600px) {
  .hero-credentials-bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding-top: 24px;
  }
}

.credential-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
  word-break: break-word;
}

.credential-item strong {
  color: var(--text-title);
  font-weight: 600;
}

.credential-dot {
  display: none;
}

@media (min-width: 600px) {
  .credential-dot {
    display: block;
    width: 5px;
    height: 5px;
    background-color: var(--royal-blue);
    border-radius: 50%;
    opacity: 0.6;
  }
}

/* Visual do Hero (Espaço da Foto Oficial) */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-photo-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafd 0%, #eff6ff 100%);
  border: 1px solid var(--royal-blue-border);
  box-shadow: var(--shadow-card);
  margin: 0 auto;
}

/* Estado Discreto de Placeholder */
.hero-placeholder-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 80px;
  text-align: center;
  z-index: 1;
  background: radial-gradient(circle at 50% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 70%), #f8fafd;
}

.placeholder-art {
  width: 110px;
  height: 110px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-silhouette {
  width: 100%;
  height: 100%;
}

.placeholder-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: 90%;
}

.placeholder-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
}

.placeholder-spec {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--royal-blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.placeholder-creds {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
}

.placeholder-note {
  font-size: 0.7rem;
  font-style: italic;
  color: var(--text-light);
  margin-top: 6px;
}

/* Imagem da Hero com Dimensões Explícitas */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-normal), opacity 0.3s ease;
  z-index: 2;
}

.hero-photo-container:hover .hero-photo {
  transform: scale(1.02);
}

/* Tarja Nobre de Identificação Embutida */
.hero-photo-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  border: 1px solid var(--royal-blue-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  z-index: 3;
}

@media (min-width: 480px) {
  .hero-photo-caption {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 12px 18px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.caption-doctor {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-title);
}

.caption-registry {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--royal-blue);
}

/* --- SEÇÃO DE AUTORIDADE & CREDENCIAIS --- */
.section-authority {
  padding: 60px 0;
  position: relative;
}

@media (min-width: 768px) {
  .section-authority {
    padding: 80px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--royal-blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* Grid de Credenciais */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .credentials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.credential-card {
  background: var(--card-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.credential-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--royal-blue);
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--royal-blue-subtle);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.35;
}

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

/* --- SEÇÃO DE POSICIONAMENTO & FILOSOFIA --- */
.section-philosophy {
  padding: 70px 0;
  position: relative;
}

@media (min-width: 768px) {
  .section-philosophy {
    padding: 100px 0;
  }
}

.philosophy-container {
  background: linear-gradient(135deg, rgba(240, 246, 255, 0.7) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid var(--royal-blue-border);
  border-radius: var(--radius-xl);
  padding: 40px 24px;
  box-shadow: var(--shadow-subtle);
}

@media (min-width: 768px) {
  .philosophy-container {
    padding: 64px 48px;
  }
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .philosophy-layout {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
}

.philosophy-text-block h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.25;
  margin-bottom: 20px;
}

.philosophy-text-block p {
  font-size: 1.02rem;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.7;
}

.philosophy-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar-item {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.pillar-item:hover {
  border-color: var(--royal-blue);
  transform: translateX(4px);
}

.pillar-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--royal-blue-subtle);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 6px;
}

.pillar-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- SEÇÃO JORNADA DO PACIENTE (COMO FUNCIONA O ATENDIMENTO) --- */
.section-journey {
  padding: 70px 0;
  position: relative;
}

@media (min-width: 768px) {
  .section-journey {
    padding: 100px 0;
  }
}

.journey-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}

@media (min-width: 768px) {
  .journey-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .journey-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--royal-blue);
}

.step-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--royal-blue);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 12px;
  line-height: 1.35;
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- SEÇÃO FAQ (DÚVIDAS FREQUENTES — ACORDEÃO ACESSÍVEL) --- */
.section-faq {
  padding: 70px 0;
  position: relative;
}

@media (min-width: 768px) {
  .section-faq {
    padding: 100px 0;
  }
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.faq-item.is-open {
  border-color: var(--royal-blue);
  box-shadow: var(--shadow-subtle);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.4;
}

.faq-icon {
  width: 22px;
  height: 22px;
  color: var(--royal-blue);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-body {
  padding: 0 24px 22px;
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* --- SEÇÃO CTA FINAL --- */
.section-cta-final {
  padding: 70px 0 90px;
  position: relative;
}

@media (min-width: 768px) {
  .section-cta-final {
    padding: 100px 0 120px;
  }
}

.cta-banner {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 50%, #2563eb 100%);
  border-radius: var(--radius-xl);
  padding: 48px 24px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px -10px rgba(29, 78, 216, 0.45);
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 64px 48px;
  }
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Botão Claro para o Banner Escuro */
.btn-banner-whatsapp {
  background-color: #ffffff !important;
  color: var(--royal-blue-hover) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.btn-banner-whatsapp:hover {
  background-color: #f8fafd !important;
  color: var(--royal-blue-deep) !important;
}

/* Links Sociais de Apoio */
.cta-social-links {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.social-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- RODAPÉ INSTITUCIONAL --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 50px 0 32px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.footer-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 6px;
}

.footer-info p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-credentials {
  font-size: 0.82rem;
  color: var(--royal-blue);
  font-weight: 600;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .footer-contact {
    align-items: flex-end;
  }
}

.footer-link-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-body);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-link-item:hover {
  color: var(--royal-blue);
}

/* Disclaimer Ético CFM */
.footer-disclaimer {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
  text-align: center;
}

/* --- BOTÃO FLUTUANTE DE WHATSAPP OFICIAL --- */
.whatsapp-float-btn {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--royal-blue);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 10px 24px -2px rgba(29, 78, 216, 0.38), 0 4px 12px rgba(15, 23, 42, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  touch-action: manipulation;
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  background-color: var(--royal-blue-hover);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 28px -2px rgba(29, 78, 216, 0.48);
}

.whatsapp-float-btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 6px 14px -2px rgba(29, 78, 216, 0.3);
}

.whatsapp-float-btn:focus-visible {
  outline: 3px solid var(--royal-blue-light);
  outline-offset: 3px;
}

.whatsapp-float-icon {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
  }
  .whatsapp-float-icon {
    width: 26px;
    height: 26px;
  }
}

/* --- ACESSIBILIDADE: REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn-primary::before {
    display: none !important;
  }
  .whatsapp-float-btn {
    transition: none !important;
  }
}
