/* ==========================================================================
   CLÍNICA CLISA — DESIGN SYSTEM & ESTILOS GERAIS
   Baseado na especificação oficial de alto padrão (Vanilla CSS puro)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & VARIÁVEIS CSS
   -------------------------------------------------------------------------- */
:root {
  /* Cores Principais da CLISA (Azul Identidade Oficial) */
  --primary: #103E63;
  --primary-medium: #3676A5;
  --primary-soft: #D8EAF5;
  --primary-soft-2: #EAF3F8;

  /* Tons Escuros Refinados */
  --dark: #0B2638;
  --dark-deep: #081E2C;
  --dark-surface: #10334A;

  /* Superfícies Claras e Neutras */
  --white: #FFFFFF;
  --surface: #F3F7F8;
  --surface-alt: #F8FBFC;
  --warm: #F6F3EE;

  /* Tipografia & Contraste */
  --ink: #1B313F;
  --ink-2: #334653;
  --muted: #647B89;

  /* Bordas e Divisores */
  --line: #DCE6EB;
  --line-light: rgba(220, 230, 235, 0.6);

  /* Detalhes Dourados / Acentos */
  --gold: #C5A46D;
  --gold-soft: rgba(197, 164, 109, 0.15);

  /* WhatsApp Oficial */
  --wa: #25D366;
  --wa-hover: #1FAE56;
  --wa-dark: #128C7E;

  /* Tipografia */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Raios de Borda */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Sombras em Camadas */
  --shadow-sm: 0 4px 18px rgba(11, 38, 56, 0.05);
  --shadow: 0 16px 38px rgba(11, 38, 56, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 38, 56, 0.14);

  /* Transições Suaves */
  --transition-fast: 0.2s ease;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Container */
  --container-max: 1200px;
  --container-pad: 24px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   3. TIPOGRAFIA & HIERARQUIA
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-medium);
  margin-bottom: 12px;
}

.eyebrow.eyebrow-light {
  color: var(--primary-soft);
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.375rem);
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 620px;
}

/* --------------------------------------------------------------------------
   4. LAYOUT & CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-white {
  background-color: var(--white);
}

.section-soft {
  background-color: var(--primary-soft-2);
}

.section-dark {
  background-color: var(--dark);
  color: #E2ECF2;
}

.section-contact {
  background: linear-gradient(145deg, #103E63 0%, #0B2638 100%);
  color: #FFFFFF;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}

/* --------------------------------------------------------------------------
   5. BOTÕES & CTAS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(16, 62, 99, 0.25);
}

.btn-primary:hover {
  background-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(16, 62, 99, 0.35);
}

.btn-wa {
  background-color: var(--wa);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  background-color: var(--wa-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-wa svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-medium);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.btn-text-link:hover {
  color: var(--primary);
  gap: 9px;
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVEGAÇÃO
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 16px 0;
  background-color: transparent;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(11, 38, 56, 0.08);
  padding: 10px 0;
  border-bottom: 1px solid rgba(220, 230, 235, 0.8);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1002;
}

.site-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.site-logo:hover img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.site-header.scrolled .nav-link {
  color: var(--ink-2);
}

.nav-link:hover {
  color: var(--white);
}

.site-header.scrolled .nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-soft);
  transition: width 0.25s ease;
}

.site-header.scrolled .nav-link::after {
  background-color: var(--primary);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 38px;
  height: 38px;
  padding: 6px;
  z-index: 1002;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--white);
  border-radius: 4px;
  transition: var(--transition);
}

.site-header.scrolled .nav-toggle span {
  background-color: var(--ink);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. HERO SECTION (Fundo Escuro & Conteúdo Alinhado à Esquerda)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 80px;
  background-color: var(--dark-deep);
  color: var(--white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: brightness(0.96) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 28, 44, 0.84) 0%,
    rgba(8, 28, 44, 0.70) 38%,
    rgba(11, 38, 56, 0.28) 62%,
    rgba(11, 38, 56, 0.05) 85%,
    transparent 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  text-align: left;
}

.hero-title {
  font-size: clamp(2.35rem, 5vw, 3.4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 22px;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(6, 20, 31, 0.5);
}

.hero-text {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #FFFFFF;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 580px;
  text-shadow: 0 1px 8px rgba(6, 20, 31, 0.45);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  flex-wrap: wrap;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #D3E4F0;
  font-weight: 500;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold);
}

/* --------------------------------------------------------------------------
   8. ESPECIALIDADES
   -------------------------------------------------------------------------- */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.specialty-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.specialty-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-medium);
  box-shadow: var(--shadow);
}

.specialty-card-top {
  margin-bottom: 14px;
}

.specialty-num {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-medium);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

/* Fonte do título da especialidade idêntica ao corpo, mas em negrito */
.specialty-title {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
}

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

.specialty-card-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.specialty-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition-fast);
}

.specialty-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.specialty-card:hover .specialty-cta {
  color: var(--primary-medium);
}

.specialty-card:hover .specialty-cta svg {
  transform: translateX(3px);
}

/* Ocultação / Expansão dinâmica das especialidades adicionais */
.specialty-extra {
  display: none;
}

.specialty-extra.is-expanded {
  display: flex;
  animation: fadeIn 0.4s ease forwards;
}

.specialties-expand-wrapper {
  text-align: center;
  margin-top: 24px;
}

.btn-expand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-expand:hover {
  background: var(--primary-soft);
  border-color: var(--primary-soft);
  transform: translateY(-2px);
}

.btn-expand svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn-expand.is-active svg {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   9. SOBRE A CLISA
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-content-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin-bottom: 36px;
  list-style: none;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}

.about-feature-check {
  color: var(--wa-dark);
  font-size: 1.1rem;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   10. EQUIPE / PROFISSIONAIS
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.team-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-soft);
}

.team-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background-color: var(--surface);
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-image img {
  transform: scale(1.04);
}

.team-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.team-specialty-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-medium);
  margin-bottom: 6px;
}

.team-name {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.team-registry {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.team-desc {
  font-size: 0.84rem;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 18px;
}

.team-card .btn {
  width: 100%;
  padding: 10px 18px;
  font-size: 0.8125rem;
}

.team-note-wrapper {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.team-note-text {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Dica mobile do carrossel */
.team-carousel-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   11. NOSSA ESTRUTURA
   -------------------------------------------------------------------------- */
.structure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.structure-features {
  list-style: none;
  margin: 28px 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.structure-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}

.structure-feature-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.structure-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.structure-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.structure-photo-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.structure-photo-card:hover img {
  transform: scale(1.03);
}

.structure-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(8, 30, 44, 0.9) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   12. COMO FUNCIONA (STEPPER)
   -------------------------------------------------------------------------- */
.process-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 50px;
}

/* Linha conectora no desktop */
.process-stepper::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed rgba(255, 255, 255, 0.22);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-node {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--dark-surface);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 25px rgba(197, 164, 109, 0.2);
  transition: var(--transition);
}

.process-step:hover .step-node {
  transform: scale(1.1);
  background-color: var(--primary);
  border-color: var(--white);
  color: var(--white);
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.875rem;
  color: #B2CAD6;
  line-height: 1.55;
  max-width: 240px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   13. CONVÊNIOS E FORMAS DE ATENDIMENTO (Com Logos Amil, Bradesco, SulAmérica)
   -------------------------------------------------------------------------- */
.convenios-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.convenio-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 165px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.convenio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-soft);
}

.convenio-logo-stage {
  width: 100%;
  max-width: 220px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
}

.convenio-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.convenio-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 10px;
}

.convenio-reembolso-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-sm);
}

.convenio-reembolso-info h4 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.convenio-reembolso-info p {
  font-size: 0.90625rem;
  color: var(--muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   14. FAQ (DÚVIDAS FREQUENTES)
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: flex-start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition-fast);
}

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

.faq-item.active {
  border-color: var(--primary-medium);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 24px 22px;
}

.faq-answer p {
  font-size: 0.90625rem;
  line-height: 1.65;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   15. LOCALIZAÇÃO
   -------------------------------------------------------------------------- */
.location-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.location-details {
  padding: 56px 48px;
}

.location-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0 36px;
}

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

.location-meta-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-meta-text strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.location-meta-text span, .location-meta-text a {
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 500;
}

.location-map-wrapper {
  background-color: var(--surface);
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.map-placeholder-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  max-width: 380px;
  box-shadow: var(--shadow-sm);
}

.map-placeholder-box svg {
  width: 44px;
  height: 44px;
  color: var(--primary);
  margin: 0 auto 16px;
}

.map-placeholder-box h4 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.map-placeholder-box p {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   16. CTA FINAL (FECHAMENTO)
   -------------------------------------------------------------------------- */
.cta-final-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-final-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(54, 118, 165, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

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

.cta-final-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  color: var(--white);
  margin-bottom: 18px;
}

.cta-final-text {
  font-size: 1.0625rem;
  color: #D3E6F2;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--dark-deep);
  color: #A6BFCD;
  padding: 80px 0 32px;
  font-size: 0.875rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer-brand p {
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #A6BFCD;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

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

.footer-contact-info span {
  display: block;
}

.footer-contact-info strong {
  color: var(--white);
  font-weight: 500;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

/* --------------------------------------------------------------------------
   18. BOTÃO FLUTUANTE DO WHATSAPP
   -------------------------------------------------------------------------- */
.floating-wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--wa);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.floating-wa-btn:hover {
  background-color: var(--wa-hover);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.floating-wa-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.floating-wa-text {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Efeito de pulso suave */
.floating-wa-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: waPulse 2.4s infinite cubic-bezier(0.66, 0, 0, 1);
  pointer-events: none;
}

@keyframes waPulse {
  to {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   19. RESPONSIVIDADE & MEDIA QUERIES (360px a 1024px)
   -------------------------------------------------------------------------- */

/* Telas Médias / Tablets Grandes (<= 1024px) */
@media (max-width: 1024px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .about-grid, .structure-grid, .faq-grid {
    gap: 40px;
  }
}

/* Tablets e Mobile Médio (<= 860px) */
@media (max-width: 860px) {
  .section {
    padding: 72px 0;
  }

  /* Header Mobile */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 40px;
    gap: 24px;
    box-shadow: -10px 0 30px rgba(11, 38, 56, 0.15);
    transition: right 0.35s ease;
    z-index: 1001;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    color: var(--ink);
    font-size: 1.125rem;
    font-weight: 600;
  }

  .site-header.scrolled .nav-link {
    color: var(--ink);
  }

  .header-actions .btn {
    display: none;
  }

  /* Hero no Mobile */
  .hero-content {
    max-width: 100%;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(6, 20, 31, 0.60) 0%,
      rgba(8, 27, 42, 0.78) 55%,
      rgba(6, 20, 31, 0.88) 100%
    );
  }

  /* Sobre em 1 coluna */
  .about-grid, .structure-grid, .faq-grid, .location-card, .convenios-logos-grid, .convenio-reembolso-card {
    grid-template-columns: 1fr;
  }

  .convenio-reembolso-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }

  .about-image {
    height: 360px;
  }

  /* Process Stepper Mobile */
  .process-stepper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .process-stepper::before {
    display: none;
  }

  .step-node {
    margin-bottom: 14px;
  }

  /* Centralização Obrigatória dos Botões Mobile */
  .hero-actions, .about-action, .structure-action, .contact-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .hero-actions .btn, .about-action .btn, .structure-action .btn, .contact-action .btn {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    text-align: center;
    justify-content: center;
  }

  /* Estrutura Mobile */
  .structure-gallery {
    grid-template-columns: 1fr;
  }

  .structure-photo-card img {
    height: 260px;
  }
}

/* Mobile Padrão (<= 768px) */
@media (max-width: 768px) {
  /* No Mobile: Apenas 4 especialidades visíveis inicialmente! */
  .specialty-mobile-extra:not(.is-expanded) {
    display: none !important;
  }

  /* Profissionais em Carrossel com Snap Nativo */
  .team-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 10px 16px 22px;
    margin-inline: calc(var(--container-pad) * -1);
    scrollbar-width: none;
  }

  .team-grid::-webkit-scrollbar {
    display: none;
  }

  .team-card {
    flex: 0 0 265px;
    max-width: 265px;
    scroll-snap-align: center;
  }

  .team-carousel-hint {
    display: flex;
  }

  /* Floating WhatsApp compacto */
  .floating-wa-btn {
    padding: 12px;
    bottom: 20px;
    right: 20px;
  }

  .floating-wa-text {
    display: none;
  }
}

/* Mobile Compacto (<= 640px) */
@media (max-width: 640px) {
  /* Especialidades em coluna única */
  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .about-features, .structure-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .location-details {
    padding: 36px 20px;
  }

  .cta-final-card {
    padding: 48px 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Acessibilidade para Preferência de Menos Movimento */
@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;
  }
}
