/* =========================================================
   Clínica de Autismo Pipo — folha de estilos
   Organizada por seção, na mesma ordem em que aparecem no index.html.
   Cores e espaçamentos ficam em variáveis no topo — mude ali para
   afetar o site inteiro, ou dentro de cada bloco para algo pontual.
   ========================================================= */

:root {
  --blue: #019bef;
  --navy: #0b2239;
  --yellow: #ffcc00;
  --orange: #ff6b3d;
  --deep-orange: #ff5722;
  --pink: #e8368f;
  --green: #3fb96b;
  --purple: #7c4dff;
  --amber: #ffb300;
  --amber-dark: #e8a10a;

  --bg-beige: #f6efe2;
  --bg-offwhite: #fbfaf6;
  --bg-yellow-light: #fff7d6;
  --bg-purple-light: #f2eefc;
  --bg-navy-dark: #062d4a;
  --bg-blue-light: #e8f4fc;

  --text-slate: #3c5468;
  --text-slate-2: #4a6076;
  --text-slate-3: #54697c;
  --text-brown: #5b4a35;
  --text-brown-dark: #4b3f1c;
  --text-muted: #6b8299;

  --font-body: "Nunito", sans-serif;
  --font-display: "Baloo 2", "Nunito", sans-serif;
}

/* ---- Reset & base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
iframe { border: 0; }

.icon { flex-shrink: 0; }
.icon use { fill: currentColor; stroke: none; }

/* ---- Shared layout helpers ---- */
.section-inner { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
.section-inner-narrow { max-width: 72rem; }
@media (min-width: 768px) { .section-inner { padding: 0 2.5rem; } }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 2.15;
  color: var(--navy);
}
.section-title-center { text-align: center; max-width: 48rem; margin: 0 auto; }
@media (max-width: 639px) {
  #orientacao .section-title { font-size: 30px; }
  #avaliacao .section-title { font-size: 28px; line-height: 1.15; }
  .coord-section .section-title { line-height: 1.15; }
}
@media (min-width: 640px) { .section-title { font-size: 34px; line-height: 1.15; } }

.section-desc { margin-top: 12px; max-width: 32rem; font-size: 1.125rem; color: var(--text-slate); }
.section-desc-center { max-width: 68rem; margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.25em; }
@media (max-width: 767px) { .eyebrow { font-size: 16px; } }
.eyebrow-orange { color: var(--orange); }
.eyebrow-yellow { color: var(--yellow); }

.text-blue { color: var(--blue); }
.text-yellow { color: var(--yellow); }

.dots-pattern {
  background-image: radial-gradient(currentColor 1.6px, transparent 1.7px);
  background-size: 18px 18px;
}

/* Reveal-on-scroll (replaces the framer-motion animation from the React version) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(11,34,57,0.4); filter: brightness(0.96); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: 0 4px 10px -6px rgba(11,34,57,0.35); filter: brightness(0.92); }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn:active { transform: none; } }
.btn-sm { min-height: 44px; padding: 0 1.25rem; font-size: 0.9375rem; }
@media (max-width: 767px) { .btn-sm { min-height: 52px; } }
.btn-upper { text-transform: none; letter-spacing: 0.05em; padding: 0 2rem; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-outline-dark { background: transparent; border: 2px solid rgba(11,34,57,0.15); color: var(--navy); }
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); filter: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-deep-orange { background: var(--deep-orange); color: #fff; }

/* =========================================================
   Cabeçalho / Hero
   ========================================================= */
.site-header {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  /* Começa com Flexbox para alinhar certinho no celular */
  display: flex;
  justify-content: space-between;
  align-items: center;

  min-height: 5rem; /* Aumentado para dar o respiro extra no topo/base */
  /* Realinhamento parcial: mais próximo do hero (1250px) sem descolar tanto da faixa azul (89rem) */
  padding: 1rem max(1.25rem, calc((100vw - 84rem) / 2 + 1.25rem));

  background: rgba(255, 255, 255, 0.97);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition:
    min-height 0.25s ease,
    padding 0.25s ease,
    box-shadow 0.25s ease;
}

/* Regra para garantir o alinhamento exato lateral no desktop (onde o hero usa 2.5rem de padding) */
@media (min-width: 768px) {
  .nav {
    padding-left: max(2.5rem, calc((100vw - 84rem) / 2 + 2.5rem));
    padding-right: max(2.5rem, calc((100vw - 84rem) / 2 + 2.5rem));
  }
}

.nav.is-scrolled {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  background: rgba(255, 255, 255, 0.985);
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.logo img {
  height: 2.5rem; /* Tamanho normal da logo */
  width: auto;
  max-width: 13rem;
  object-fit: contain;
  object-position: center;
  transition: height 0.3s ease; /* Faz a logo crescer e diminuir de forma suave */
}

.nav.is-scrolled .logo img {
  height: 2rem; /* Tamanho MENOR para quando rolar a página */
}

/* Nos celulares ficam apenas a logo e o menu hamburger. */
.nav-links {
  display: none;
}

.nav-cta-desktop {
  display: none;
  flex-shrink: 0;
}

@media (min-width: 1024px) {

.nav-links {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(1.4rem, 2vw, 2.2rem);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  white-space: nowrap;
}

  .nav-links a:not(.btn) {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    white-space: nowrap;
    padding-bottom: 0.15rem;
  }

  .nav-links a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--blue);
    transition: width 0.25s ease;
  }

  .nav-links a:not(.btn):hover::after,
  .nav-links a:not(.btn):focus-visible::after {
    width: 100%;
  }

  .nav-links a:not(.btn):hover {
    color: var(--blue);
  }

  .nav-cta-desktop {
    display: inline-flex;
  }
}

@media (max-width: 1199px) and (min-width: 1024px) {

  .nav-links {
    gap: 1.35rem;
    font-size: 0.85rem;
  }

  .logo img {
    height: 2.75rem;
    max-width: 15rem;
  }
}

@media (max-width: 639px) {

  .logo img {
    height: 2.45rem;
    max-width: min(70vw, 14rem);
  }
}

/* =========================================================
   Dropdown "Modalidades" no menu desktop
   ========================================================= */
.nav-dropdown { position: relative; }
.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::marker { content: ""; }
.nav-dropdown-caret { transition: transform 0.2s ease; }
.nav-dropdown[open] > summary { color: var(--blue); }
.nav-dropdown[open] > summary .nav-dropdown-caret { transform: rotate(180deg); }

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  min-width: 26rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(11.5rem, 1fr));
  gap: 0.2rem;
  padding: 0.65rem;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 26px 50px -22px rgba(11,34,57,0.35);
  border: 1px solid rgba(11,34,57,0.06);
}
.nav-dropdown-panel a {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-radius: 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.nav-dropdown-panel a:hover,
.nav-dropdown-panel a:focus-visible {
  background: var(--bg-blue-light);
  color: var(--blue);
}

/* =========================================================
   Menu Mobile (Botão Hamburger & Tela de Overlay)
   ========================================================= */

.nav-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  padding: 0.25rem;
}

/* Lógica de trocar o ícone de Hamburguer (menu) para o 'X' (close) */
.icon-close { display: none; }
body.is-menu-open .icon-menu { display: none; }
body.is-menu-open .icon-close { display: block; }
body.is-menu-open { overflow: hidden; } /* Trava o fundo da tela para não rolar quando o menu estiver aberto */

/* Tela de fundo do menu mobile */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--navy); /* Usamos o azul escuro da sua marca, igual ao verde da Vale Europeu */
  z-index: 999; /* Fica logo atrás do cabeçalho branco (que é 1000) */
  display: flex;
  flex-direction: column;
  padding: 6.5rem 1.5rem 2rem; /* Espaço no topo para o cabeçalho branco não tapar os links */
  overflow-y: auto;

  /* Deixa invisível e intocável por padrão */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Quando o menu está aberto */
body.is-menu-open .mobile-menu-overlay {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Estilo dos links inspirados na sua imagem de referência */
.mobile-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Linha divisória suave */
}

/* Dropdown "Modalidades" dentro do menu mobile */
.mobile-dropdown {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-dropdown > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.mobile-dropdown > summary::-webkit-details-marker { display: none; }
.mobile-dropdown > summary::marker { content: ""; }
.mobile-dropdown-caret { transition: transform 0.2s ease; flex-shrink: 0; }
.mobile-dropdown[open] .mobile-dropdown-caret { transform: rotate(180deg); }
.mobile-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.1rem 0 0.25rem;
}
.mobile-dropdown-list a {
  font-size: 1.0625rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
}

/* Estilo do botão Agendar dentro do menu escuro */
.mobile-btn-agendar {
  margin-top: 2rem; /* Empurra o botão um pouco para baixo dos links */
  justify-content: center;
  padding: 1.25rem;
  font-size: 1.125rem;
  width: 100%;
}

/* Esconde tudo isso se a tela for de computador */
@media (min-width: 1024px) {
  .nav-mobile-actions,
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* Ajuste de espaço e layout da seção inicial (Hero) */
.hero {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
  /* Espaçamento em celulares: 7rem no topo para desgrudar do menu, base menor antes da faixa azul */
  padding: 7rem 1.25rem 3rem;
}

@media (min-width: 768px) {
  .hero {
    /* Espaçamento em tablets: 8rem no topo e embaixo */
    padding: 8rem 1.5rem 8rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    /* Colunas iguais: a foto fica com a mesma largura da frase
       "Clínica de Autismo Pipo" no título. */
    grid-template-columns: 1fr 1fr;
    /* Colunas mais próximas, com menos espaço em branco entre o texto e a foto. */
    gap: 2.5rem;
    /* ESPAÇAMENTO NO COMPUTADOR: margens maiores para a seção respirar e
       garantir que a foto/decoração não fiquem coladas no menu fixo. */
    padding-top: 90px;
    padding-bottom: 40px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: var(--yellow);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--navy);
}

.hero-title { font-family: var(--font-display); margin-top: 20px; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); }
.hero-title-size { display: inline-block; max-width: 100%; font-size: clamp(1.5rem, 8vw, 56px); line-height: normal; white-space: nowrap; }
.hero-title-highlight { position: relative; display: inline-block; color: var(--blue); }
.hero-title-underline { position: absolute; bottom: -0.5rem; left: 0; width: 100%; }

.hero-lead { margin-top: 30px; max-width: 35rem; }
.hero-lead-strong { font-size: 24px; line-height: 1.4; font-weight: 700; color: var(--text-slate); }
.hero-lead-sub { margin-top: 1rem; font-size: 18px; line-height: 1.5; color: var(--text-slate); }

.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

@media (max-width: 1023px) {
  .hero-content { display: flex; flex-direction: column; text-align: left; }
  .hero-badge { align-self: flex-start; }
  .hero-lead { margin-left: 0; margin-right: 0; max-width: none; text-align: left; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

.hero-media-wrap { position: relative; }

/* Esconde a foto grande (imagem do header) no mobile */
@media (max-width: 1023px) {
  .hero-media-wrap {
    display: none; 
  }
}
.hero-media { position: relative; }
.hero-media-img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 2.5rem;
  object-fit: cover;
  box-shadow: 0 15px 60px -25px rgba(1,155,239,0.55);
}
@media (min-width: 640px) { .hero-media-img { aspect-ratio: 5 / 4; } }
@media (min-width: 1024px) {
  /* A foto (com a decoração) fica centralizada verticalmente no espaço
     disponível da coluna, em vez de colada no topo. */
  .hero-media-wrap { align-self: stretch; display: flex; align-items: center; }
  .hero-media { width: 100%; }
  .hero-media-img { width: 100%; height: auto; aspect-ratio: 5 / 4; }
}
.hero-puzzle-decor {
  position: absolute;
  z-index: 0;
  left: -1.25rem;
  top: -1.5rem;
  width: 30%;
  min-width: 4.5rem;
  max-width: 9rem;
  aspect-ratio: 1 / 1;
}
@media (min-width: 768px) { .hero-puzzle-decor { left: -28px; top: -13px; width: 20%; min-width: 3rem; max-width: 6rem; } }

.hero-banner {
  background: var(--blue);
}
.hero-banner-inner {
  /* Mesma largura fixa do hero, para alinhar as bordas. */
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1.25rem;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-banner-inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; padding: 1.5rem 2.5rem; text-align: left; }
}
@media (min-width: 1200px) {
  /* Espaço suficiente para texto + os dois botões numa única linha, sem cortar nada. */
  .hero-banner-inner { flex-wrap: nowrap; }
}
.hero-banner-text { flex-shrink: 0; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: normal; color: #fff; }
.hero-banner-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
@media (min-width: 768px) { .hero-banner-actions { flex-shrink: 0; flex-wrap: nowrap; justify-content: flex-end; } }

/* =========================================================
   Prova social (números)
   ========================================================= */
.stats-section { position: relative; overflow: hidden; background: var(--bg-yellow-light); padding: 2rem 0 2.5rem; }
@media (min-width: 1024px) { .stats-section { padding: 0px 0px 20px; } }
/* Mesma largura da faixa azul do hero, para alinhar as duas seções. */
.stats-section .section-inner { max-width: 89rem; }
.decor-puzzle { object-fit: contain; filter: drop-shadow(0 10px 18px rgba(11,34,57,0.18)); }

.stats-decor-1 { position: absolute; right: -2rem; top: 1.5rem; height: 6rem; width: 6rem; opacity: 0.9; pointer-events: none; }
@media (max-width: 767px) { .stats-decor-1 { display: none; } }
.stats-decor-2 { position: absolute; left: -2.5rem; bottom: 1.5rem; height: 7rem; width: 7rem; border-radius: 1.5rem; background: rgba(1,155,239,0.1); transform: rotate(12deg); pointer-events: none; }
.stats-grid { position: relative; margin-top: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); column-gap: 2.5rem; } }
@media (min-width: 1024px) { .stats-grid { margin-top: 1.25rem; } }
.stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat-value { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--navy); }
@media (min-width: 640px) { .stat-value { font-size: 3.75rem; } }
.stat-value-google { display: inline-flex; align-items: baseline; gap: 0.25rem; justify-content: center; }
.icon-star-fill { color: var(--yellow); align-self: center; }
.stat-label { margin-top: 1rem; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--navy); }
@media (min-width: 640px) { .stat-label { font-size: 1.125rem; } }
.stat-sub { margin-top: 0.25rem; font-size: 0.875rem; color: var(--text-muted); }
.stat-stars { margin-top: 0.35rem; display: flex; align-items: center; justify-content: center; gap: 0.2rem; flex-wrap: nowrap; }
.stat-google-links { margin-top: 0.25rem; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 0.35rem; }
.stat-google-link { display: inline-block; font-size: 0.875rem; font-weight: 700; color: var(--blue); text-decoration: underline; text-decoration-color: rgba(1,155,239,0.4); text-underline-offset: 2px; white-space: nowrap; }
.stat-google-link:hover { text-decoration-color: var(--blue); }
.stat-google-sep { font-size: 0.875rem; font-weight: 700; color: var(--text-muted); }

/* =========================================================
   Orientação inicial
   ========================================================= */
.orientacao-section { position: relative; overflow: hidden; background: #fff; padding: 60px 0; }
.orientacao-decor-2 { position: absolute; right: 2.5rem; bottom: 2.5rem; height: 8rem; width: 8rem; border-radius: 1.5rem; background: rgba(255,204,0,0.4); transform: rotate(12deg); pointer-events: none; }
.orientacao-grid { position: relative; max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; display: grid; gap: 3.5rem; }
@media (min-width: 768px) { .orientacao-grid { padding: 0 2.5rem; } }
@media (min-width: 1024px) { .orientacao-grid { grid-template-columns: 1.1fr 1fr; } }

.orientacao-cta { margin-top: 1.5rem; }
.orientacao-list { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.orientacao-item { display: flex; gap: 1rem; border-radius: 1rem; border: 1px solid rgba(11,34,57,0.08); background: var(--bg-offwhite); padding: 1rem; }
.orientacao-num { font-family: var(--font-display); flex-shrink: 0; display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 0.75rem; background: var(--blue); font-size: 1.125rem; font-weight: 800; color: #fff; }
.orientacao-item-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.orientacao-item-desc { margin-top: 0.125rem; font-size: 0.875rem; color: var(--text-slate-3); }

@media (min-width: 1024px) { .orientacao-media { margin-top: 5rem; } }
.orientacao-media img { width: 100%; aspect-ratio: 4 / 5; border-radius: 2rem; object-fit: cover; }
.orientacao-callout { margin-top: 1.25rem; border-radius: 2rem; background: var(--yellow); padding: 1.5rem; text-align: center; }
.orientacao-callout-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--navy); }
@media (max-width: 767px) { .orientacao-callout-title { max-width: 19rem; margin-left: auto; margin-right: auto; } }
.orientacao-callout-desc { margin-top: 0.5rem; color: var(--text-slate); }
.orientacao-callout-lead { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--navy); white-space: nowrap; }
.orientacao-callout-lead + .orientacao-callout-desc { margin-top: 0.75rem; }
.orientacao-callout-desc + .orientacao-callout-lead { margin-top: 1.25rem; font-size: inherit; font-weight: 400; font-style: italic; white-space: normal; max-width: none; margin-left: 0; margin-right: 0; }
@media (min-width: 768px) { .orientacao-callout-desc + .orientacao-callout-lead { margin-top: 12px; font-weight: 700; } }
@media (max-width: 767px) {
  .orientacao-callout-lead { white-space: normal; max-width: 20rem; margin-left: auto; margin-right: auto; font-size: clamp(1rem, 6vw, 1.5rem); }
  .orientacao-callout-desc { font-size: 1.0625rem; }
  .orientacao-callout-desc + .orientacao-callout-lead { font-size: 1.0625rem; }
}
.orientacao-callout-actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* =========================================================
   Cuidado único
   ========================================================= */
.cuidado-section { position: relative; overflow: hidden; background: #fff; padding: 60px 0; }
.cuidado-dots { position: absolute; inset: 0 0 auto 0; top: 0; height: 10rem; color: rgba(1,155,239,0.2); pointer-events: none; }

.perguntas-grid { margin-top: 3.5rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .perguntas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .perguntas-grid-row { grid-template-columns: repeat(3, 1fr); } }
.pergunta-card { height: 100%; border-radius: 1.75rem; padding: 1.5rem; }
.pergunta-icon { display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 0.75rem; color: #fff; }
.pergunta-q { font-family: var(--font-display); margin-top: 1rem; font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.pergunta-a { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--text-slate-2); }
@media (max-width: 767px) { .pergunta-a { font-size: 16px; } }

.cuidado-cta-wrap { position: relative; margin-top: 0.5rem; text-align: center; }
.cuidado-cta-label { font-family: var(--font-display); font-weight: 800; font-size: 25px; color: var(--navy); max-width: 20rem; margin: 0 auto 1rem; }
@media (min-width: 768px) { .cuidado-cta-label { font-size: 1.35rem; max-width: 70rem; } }
.cuidado-cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
/* Faixa de CTA do carrossel de planos: fundo próprio, largura total do site */
.convenios-carousel-section .cuidado-cta-wrap { align-self: stretch; margin-top: 1.5rem; padding: 2rem 1.25rem; }
.cuidado-cta-wrap-blue { background: var(--blue); }
.cuidado-cta-wrap-blue .cuidado-cta-label { color: #fff; }

/* =========================================================
   Multidisciplinar
   ========================================================= */
.multi-section { position: relative; overflow: hidden; background: var(--navy); padding: 60px 0; }
.multi-dots { position: absolute; inset: 0; color: rgba(255,255,255,0.1); pointer-events: none; }
.multi-blur-decor { position: absolute; left: -5rem; top: 10rem; height: 16rem; width: 16rem; border-radius: 999px; background: rgba(1,155,239,0.3); filter: blur(40px); pointer-events: none; }
@media (max-width: 767px) { .multi-blur-decor { left: -8rem; top: -4rem; } }

.multi-title { position: relative; font-family: var(--font-display); text-align: center; font-size: 2.25rem; font-weight: 800; color: #fff; }
@media (min-width: 640px) { .multi-title { font-size: 3.75rem; } }
.multi-subtitle { position: relative; max-width: 68rem; margin: 0; text-align: center; font-size: 17px; line-height: 1.6; color: rgba(185,198,214,1); }
@media (min-width: 768px) { .multi-subtitle { margin: 0 5rem; } }

.especialidades-list { position: relative; margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .especialidades-list { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; row-gap: 2rem; } }
.especialidade-item { display: flex; flex-direction: row; gap: 0.75rem; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; }
@media (min-width: 640px) { .especialidade-item { gap: 2rem; } }
.especialidade-num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--blue); }
@media (min-width: 640px) { .especialidade-num { font-size: 3.75rem; } }
.especialidade-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; }
.especialidade-desc { margin-top: 0.25rem; max-width: 40rem; color: rgba(255,255,255,0.7); }

.multi-cta-wrap { position: relative; margin-top: 2.5rem; text-align: center; }

.avaliacoes-grid { position: relative; margin-top: 2.5rem; display: grid; gap: 1rem; border-radius: 2rem; background: #47aaeb; padding: 1.5rem; }
@media (min-width: 640px) { .avaliacoes-grid { grid-template-columns: repeat(2, 1fr); padding: 2.5rem; } }
.avaliacao-card { display: block; width: 100%; border: none; font: inherit; text-align: left; cursor: pointer; border-radius: 1.25rem; background: #0199ec; padding: 1.75rem; transition: transform 0.2s ease; box-shadow: 0 20px 40px -28px rgba(1,20,40,0.5); }
.avaliacao-card:hover { transform: translateY(-4px); }
.avaliacao-header { display: flex; align-items: center; gap: 1rem; }
.avaliacao-icon { display: inline-flex; flex-shrink: 0; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: 0.85rem; color: #fff; }
.avaliacao-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: #fff; }
.avaliacao-desc { margin-top: 1rem; color: #fff; }

/* =========================================================
   Modalidades (grade com modal de detalhes)
   ========================================================= */
.modalidades-section { position: relative; overflow: hidden; background: var(--navy); padding: 60px 0; }
@media (max-width: 767px) { .modalidades-section { padding: 40px 0; } }
.modalidades-dots { position: absolute; inset: 0; color: rgba(255,255,255,0.08); pointer-events: none; }
.modalidades-glow { position: absolute; right: -6rem; top: -6rem; height: 20rem; width: 20rem; border-radius: 999px; background: radial-gradient(circle, rgba(1,155,239,0.25), transparent 70%); pointer-events: none; }
@media (max-width: 767px) { .modalidades-glow { right: -8rem; top: -8rem; } }

.modalidades-intro { position: relative; max-width: 38rem; margin: 0 auto; text-align: center; }
.modalidades-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1rem; border-radius: 999px; background: rgba(255,204,0,0.16); color: var(--yellow); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.modalidades-heading { margin: 1rem 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(25px, 4vw, 2.1rem); white-space: nowrap; color: #fff; }
.modalidades-subtitle { margin: 0.9rem 0 0; font-size: 1.0625rem; line-height: 1.6; color: rgba(185,198,214,1); }

.modalidades-grid2 { position: relative; margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .modalidades-grid2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .modalidades-grid2 { gap: 1.5rem; } }
@media (min-width: 1024px) { .modalidades-grid2 { grid-template-columns: repeat(4, 1fr); } }

.modalidade-btn {
  all: unset;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background: #132c47;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px -28px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.modalidade-btn:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(0,0,0,0.65); }
.modalidade-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.modalidade-btn-photo { position: relative; margin: 0; aspect-ratio: 4 / 3; }
.modalidade-btn-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05) brightness(1.03);
}
.modalidade-btn-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1,155,239,0.16) 0%, rgba(11,34,57,0.06) 55%, rgba(11,34,57,0.28) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.modalidade-btn-icon { position: absolute; left: 0.9rem; bottom: -1.1rem; z-index: 1; display: inline-flex; align-items: center; justify-content: center; height: 2.75rem; width: 2.75rem; border-radius: 0.85rem; color: #fff; box-shadow: 0 8px 16px -6px rgba(0,0,0,0.5); }
.modalidade-btn-body { padding: 1.6rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; text-align: left; }
.modalidade-btn-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; }
.modalidade-btn-link { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 700; }

.modalidade-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4,14,26,0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.modalidade-modal-overlay.is-open { display: flex; animation: modalidadeScrimIn 0.2s ease; }
body.modalidade-modal-open { overflow: hidden; }

.modalidade-modal {
  width: 100%;
  max-width: 34rem;
  max-height: 88vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0f2740;
  border-radius: 1.75rem;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  animation: modalidadeModalIn 0.28s cubic-bezier(0.22,1,0.36,1);
}

@keyframes modalidadeScrimIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalidadeModalIn { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .modalidade-modal-overlay.is-open, .modalidade-modal { animation: none; }
}
.modalidade-modal-header { position: relative; flex-shrink: 0; padding: 2rem 1.75rem 1.5rem; border-radius: 1.75rem 1.75rem 0 0; }
.modalidade-modal-close { all: unset; cursor: pointer; position: absolute; right: 1.1rem; top: 1.1rem; height: 2.25rem; width: 2.25rem; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,0.22); color: #fff; }
.modalidade-modal-icon { display: inline-flex; align-items: center; justify-content: center; height: 3.25rem; width: 3.25rem; border-radius: 1rem; background: rgba(255,255,255,0.22); color: #fff; }
.modalidade-modal-title { margin: 0.9rem 0 0; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: #fff; }
.modalidade-modal-indicado { margin: 0.35rem 0 0; font-size: 0.95rem; color: rgba(255,255,255,0.9); }

.modalidade-modal-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 1.35rem; overflow-y: auto; min-height: 0; }
.modalidade-modal-desc { margin: 0; font-size: 1rem; line-height: 1.65; color: #dbe6f0; }
.modalidade-modal-label { margin: 0 0 0.6rem; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #8fa9c2; }
.modalidade-modal-list { display: flex; flex-direction: column; gap: 0.55rem; }
.modalidade-modal-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; line-height: 1.5; color: #eaf1f8; }
.modalidade-modal-list .icon { flex-shrink: 0; margin-top: 0.15rem; }
.modalidade-modal-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.modalidade-modal-tags span { padding: 0.4rem 0.85rem; border-radius: 999px; background: rgba(255,255,255,0.08); color: #cfe1f0; font-size: 0.85rem; font-weight: 700; }
.modalidade-modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.25rem; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.25rem; }
.modalidade-modal-nav { display: flex; gap: 0.5rem; }
.modalidade-modal-nav button { all: unset; cursor: pointer; height: 2.5rem; width: 2.5rem; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,0.08); color: #fff; }
.modalidade-modal-cta { min-height: 2.75rem; padding: 0 1.35rem; font-size: 0.9rem; }

/* =========================================================
   Intervenção ABA
   ========================================================= */
.aba-section { position: relative; overflow: hidden; background: var(--bg-beige); padding: 60px 0; }
.aba-decor-1 { position: absolute; left: 2rem; top: 2.5rem; height: 5rem; width: 5rem; border-radius: 1rem; background: rgba(1,155,239,0.2); transform: rotate(12deg); pointer-events: none; }
.aba-decor-2 { position: absolute; right: 3rem; top: 30%; height: 4.5rem; width: 4.5rem; opacity: 0.9; pointer-events: none; }

.aba-header { position: relative; display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.icon-aba { color: var(--deep-orange); }
.aba-title { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--deep-orange); }
@media (min-width: 640px) { .aba-title { font-size: 3rem; } }
.aba-lead { position: relative; margin: 1.25rem 0 0; width: 100%; max-width: none; text-align: center; font-size: 0.875rem; line-height: 1.6; color: var(--text-brown); text-wrap: balance; }

.aba-cards { position: relative; margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1.75rem; align-items: stretch; }
@media (min-width: 640px) { .aba-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .aba-cards { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.aba-card { display: flex; flex-direction: column; background: #fff; border-radius: 1.75rem; overflow: hidden; box-shadow: 0 20px 45px -30px rgba(11,34,57,0.35); }
.aba-card-photo { margin: 0; aspect-ratio: 4 / 3; }
.aba-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.aba-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.aba-card-heading { display: flex; align-items: center; gap: 0.75rem; }
.aba-card-num { font-family: var(--font-display); flex-shrink: 0; display: inline-flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: 0.65rem; font-size: 1rem; font-weight: 800; color: #fff; }
.aba-card-title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; color: var(--navy); }
.aba-card-desc { font-size: 0.9375rem; line-height: 1.6; color: var(--text-slate-2); }

.aba-cta-wrap { position: relative; margin-top: 3rem; text-align: center; }

/* =========================================================
   Diferenciais
   ========================================================= */
.diferenciais-section { position: relative; overflow: hidden; background: var(--bg-beige); padding: 60px 0; }
.diferenciais-dots { position: absolute; inset: 0; color: rgba(11,34,57,0.1); pointer-events: none; }
.diferenciais-inner { position: relative; max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .diferenciais-inner { padding: 0 2.5rem; } }
.diferenciais-title { font-family: var(--font-display); text-align: center; font-size: 2.25rem; font-weight: 800; color: var(--blue); }
@media (min-width: 640px) { .diferenciais-title { font-size: 3rem; } }
.diferenciais-subtitle { font-family: var(--font-display); margin-top: 0.5rem; text-align: center; font-size: 1.25rem; font-weight: 700; color: var(--orange); }
@media (max-width: 767px) { .diferenciais-subtitle { margin-top: -0.5rem; font-size: 22px; } }
.diferenciais-list { margin-top: 2.5rem; display: grid; gap: 1.5rem 2.5rem; }
@media (min-width: 768px) { .diferenciais-list { grid-template-columns: repeat(2, 1fr); } }
.diferencial-item { display: flex; gap: 1.25rem; }
.diferencial-num { font-family: var(--font-display); font-size: 1.875rem; font-weight: 800; color: var(--amber-dark); }
.diferencial-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.diferencial-desc { color: var(--text-brown); }

/* =========================================================
   Coordenação clínica
   ========================================================= */
.coord-section { position: relative; overflow: hidden; background: var(--bg-navy-dark); padding: 60px 0; }
.coord-dots { position: absolute; inset: 0; color: rgba(255,255,255,0.08); pointer-events: none; }
.coord-inner { position: relative; max-width: 48rem; margin: 0 auto; padding: 0 1.25rem; text-align: center; }
.coord-inner-wide { max-width: 68rem; }
.coord-photo { display: block; margin: 0 auto; width: 8rem; height: 8rem; border-radius: 999px; object-fit: cover; border: 4px solid #019bef; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6); }
@media (min-width: 768px) { .coord-inner { padding: 0 2.5rem; } }
.coord-title { font-family: var(--font-display); margin-top: 0.75rem; font-size: 40px; line-height: normal; font-weight: 800; color: #fff; }
.coord-desc { margin-top: 1rem; font-size: 1.125rem; color: rgba(255,255,255,0.8); }
.coord-tags { margin-top: 1.75rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.coord-tag { border-radius: 999px; background: var(--blue); padding: 0.5rem 1.25rem; font-size: 0.875rem; font-weight: 800; color: #fff; }

.coord-section .eyebrow { font-size: 16px; }
@media (min-width: 768px) { .coord-section .eyebrow { font-size: 20px; } }
.coord-grid { margin-top: 2.5rem; display: grid; gap: 2.5rem; text-align: center; }
@media (min-width: 768px) { .coord-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }
.coord-card .coord-photo { margin-bottom: 1.25rem; }
.coord-card .coord-title-sm { margin-top: 0; font-size: 1.5rem; }
.coord-role { margin-top: 0.35rem; font-weight: 800; font-size: 0.9375rem; line-height: 1.4; color: var(--yellow); }
.coord-card .coord-role { min-height: 2.8em; }
.coord-card .coord-desc { font-size: 1rem; text-align: center; }

/* =========================================================
   Depoimentos
   ========================================================= */
.depoimentos-section { position: relative; overflow: hidden; background: var(--bg-purple-light); padding: 60px 0; }
.depoimentos-decor-1 { position: absolute; left: 1.25rem; top: 1rem; height: 2.75rem; width: 2.75rem; border-radius: 999px; background: var(--yellow); pointer-events: none; }
.depoimentos-decor-2 { position: absolute; right: 1.5rem; top: 1.25rem; height: 1.5rem; width: 1.5rem; background: var(--green); transform: rotate(45deg); pointer-events: none; }
@media (min-width: 768px) {
  .depoimentos-decor-1 { left: 2.5rem; top: 2.5rem; height: 4rem; width: 4rem; }
  .depoimentos-decor-2 { right: 4rem; top: 6rem; height: 2.5rem; width: 2.5rem; }
}
.depoimentos-grid { position: relative; margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .depoimentos-grid { grid-template-columns: repeat(3, 1fr); } }
.depoimento-card { display: flex; height: 100%; flex-direction: column; border-radius: 1.75rem; background: #fff; padding: 1.75rem; box-shadow: 0 20px 45px -30px rgba(11,34,57,0.7); }
.depoimento-header { display: flex; align-items: center; gap: 0.75rem; }
.depoimento-header img { height: 3rem; width: 3rem; border-radius: 999px; object-fit: cover; }
.depoimento-nome { font-family: var(--font-display); font-weight: 700; line-height: 1.25; color: var(--navy); }
.depoimento-role { font-size: 0.75rem; font-weight: 700; }
.depoimento-stars { margin-top: 1rem; display: flex; gap: 0.25rem; }
.depoimento-text { margin-top: 1rem; color: var(--text-slate-2); }
.depoimentos-cta-wrap { position: relative; margin-top: 2.5rem; text-align: center; }

/* =========================================================
   Convênios
   ========================================================= */
.convenio-logo { display: flex; height: 3.25rem; width: 3.25rem; flex-shrink: 0; align-items: center; justify-content: center; overflow: hidden; border-radius: 0.65rem; background: #fff; border: 1px solid rgba(11,34,57,0.08); }
.convenio-logo img { height: 100%; width: 100%; object-fit: contain; padding: 0.2rem; }
.convenio-logo-fallback { font-family: var(--font-display); font-size: 0.7rem; font-weight: 800; color: #fff; text-align: center; line-height: 1; border: none; }
.convenio-name { font-size: 0.9375rem; font-weight: 700; line-height: 1.25; color: var(--navy); }

/* Carrossel de planos e convênios (logo abaixo da faixa azul do hero) */
.convenios-carousel-section { position: relative; background: #fff; padding: 40px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; box-sizing: border-box; }
.convenios-carousel-title { margin: 0; text-align: center; font-weight: 800; font-size: 1.125rem; color: #000; }
.convenios-carousel-wrap { position: relative; width: 100%; max-width: 90rem; margin: 0 auto; padding: 0 3.25rem; }
.convenios-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0.25rem;
}
.convenios-track::-webkit-scrollbar { display: none; }
.convenio-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(11,34,57,0.08);
  background: #fff;
  padding: 0.75rem;
  box-shadow: 0 8px 24px -18px rgba(11,34,57,0.5);
}
.convenios-track .convenio-item { flex: 0 0 auto; scroll-snap-align: center; width: 14rem; }
.convenios-track .convenio-name { font-size: 0.9375rem; text-align: left; }
/* Grade estática de convênios (usada nas páginas de unidade) */
.convenios-static-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
@media (min-width: 480px) { .convenios-static-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .convenios-static-grid { grid-template-columns: repeat(4, 1fr); } }
.convenios-static-grid .convenio-name { text-align: left; }
.convenios-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(11,34,57,0.12);
  color: var(--navy);
  box-shadow: 0 10px 24px -12px rgba(11,34,57,0.4);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.convenios-arrow:hover { transform: translateY(-50%) scale(1.06); box-shadow: 0 14px 28px -12px rgba(11,34,57,0.5); }
.convenios-arrow-prev { left: 0.25rem; }
.convenios-arrow-next { right: 0.25rem; }
@media (max-width: 639px) {
  .convenios-carousel-title { font-size: 1rem; }
  .convenios-carousel-wrap { padding: 0 2.75rem; }
  .convenios-arrow { height: 2.25rem; width: 2.25rem; }
  .convenios-track .convenio-item { width: 11.5rem; min-height: 4rem; padding: 0.6rem; gap: 0.6rem; }
}

/* =========================================================
   Formulário "Consultar meu plano" (modal, reaproveita .modalidade-modal)
   ========================================================= */
.lead-modal-header { background: var(--blue); }
.lead-form { display: flex; flex-direction: column; gap: 1rem; }
.lead-field { display: flex; flex-direction: column; gap: 0.4rem; }
.lead-field label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.02em; color: #8fa9c2; }
.lead-field input, .lead-field select {
  height: 3rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 0 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.lead-field select { appearance: auto; }
.lead-field input::placeholder { color: #8fa9c2; }
.lead-field input:focus, .lead-field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.lead-field select option { color: #0b2239; }
.lead-form-fields { display: flex; flex-direction: column; gap: 1rem; }
.lead-form-fields[hidden] { display: none; }
.lead-whatsapp-btn { width: 100%; justify-content: center; }
.lead-submit { width: 100%; justify-content: center; min-height: 3rem; }
.lead-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.lead-form-error { margin: 0; min-height: 1.2rem; font-size: 0.9rem; font-weight: 700; text-align: center; color: #ff8a8a; }

/* Painel de sucesso: substitui o formulário inteiro no popup, ocupando o espaço todo. */
.lead-success { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; min-height: 22rem; padding: 1rem 0.5rem; text-align: center; }
.lead-success[hidden] { display: none; }
.lead-success-icon { display: inline-flex; align-items: center; justify-content: center; height: 3.5rem; width: 3.5rem; border-radius: 999px; background: rgba(111,227,160,0.16); color: #6fe3a0; }
.lead-success-msg { margin: 0; font-size: 1.15rem; font-weight: 800; line-height: 1.5; color: #6fe3a0; max-width: 26rem; }
.lead-success .lead-whatsapp-btn { max-width: 22rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-section { background: var(--bg-offwhite); padding: 60px 0; }
.faq-inner { max-width: 56rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .faq-inner { padding: 0 2.5rem; } }
.faq-list { margin-top: 2.5rem; border-top: 1px solid rgba(11,34,57,0.1); border-bottom: 1px solid rgba(11,34,57,0.1); }
.faq-item { border-bottom: 1px solid rgba(11,34,57,0.1); }
.faq-item:last-child { border-bottom: none; }
.faq-question { display: flex; width: 100%; min-height: 64px; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.faq-q-text { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.faq-item.is-active .faq-q-text { color: var(--blue); }
.faq-icon-plus { color: var(--orange); }
.faq-icon-minus { color: var(--blue); display: none; }
.faq-item.is-active .faq-icon-plus { display: none; }
.faq-item.is-active .faq-icon-minus { display: block; }
.faq-answer { display: none; padding: 0 2.5rem 1.5rem 0; }
.faq-item.is-active .faq-answer { display: block; }
.faq-answer p + p { margin-top: 0.75rem; }
.faq-answer ul { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; }
.faq-answer ul li::marker { color: var(--blue); }
.faq-answer p, .faq-answer li { color: var(--text-slate-2); }

/* =========================================================
   Unidades
   ========================================================= */
.unidades-section { background: #fff; padding: 60px 0; }
.unidades-grid { margin-top: 2.5rem; display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 1024px) { .unidades-grid { grid-template-columns: repeat(2, 1fr); } }
.unidade-col { display: flex; flex-direction: column; }
.unidade-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 1.75rem; border: 1px solid rgba(11,34,57,0.1); }
.unidade-card iframe { flex-shrink: 0; height: 14rem; width: 100%; }
.unidade-body { flex: 1; display: flex; flex-direction: column; padding: 1.75rem; }
.unidade-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--blue); }
.unidade-address { margin-top: 0.75rem; display: flex; gap: 0.5rem; color: var(--text-slate-2); min-height: 2.75rem; }
.unidade-address .icon { margin-top: 0.2rem; color: var(--orange); }
.unidade-phone { margin-top: 0.5rem; display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--navy); }
.unidade-phone .icon { color: var(--green); }
.unidade-body .btn { margin-top: auto; align-self: flex-start; }
.unidade-phone { margin-bottom: 1.25rem; }

.unidades-gallery { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
@media (min-width: 640px) { .unidades-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .unidades-gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.unidades-gallery img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 1rem; box-shadow: 0 12px 28px -18px rgba(11,34,57,0.5); transition: transform 0.25s ease; }
.unidades-gallery img:hover { transform: scale(1.03); }
.unidades-gallery img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: 4 / 3; }

/* Galeria de cada unidade (dentro da coluna, 1 foto grande + 8 pequenas) */
.unidade-gallery { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
@media (min-width: 480px) { .unidade-gallery { grid-template-columns: repeat(3, 1fr); } }
.unidade-gallery img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 0.85rem; box-shadow: 0 10px 22px -16px rgba(11,34,57,0.5); transition: transform 0.25s ease; }
.unidade-gallery img:hover { transform: scale(1.03); }
.unidade-gallery img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: 4 / 3; }
.unidade-gallery-placeholder { margin-top: 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; min-height: 12rem; border-radius: 1rem; border: 2px dashed rgba(11,34,57,0.15); background: rgba(11,34,57,0.03); padding: 2rem 1.5rem; text-align: center; }
.unidade-gallery-placeholder .icon { color: rgba(11,34,57,0.25); }
.unidade-gallery-placeholder p { font-size: 0.9375rem; font-weight: 700; color: var(--text-slate-2); }
.unidade-details-btn { margin-top: 1.5rem; align-self: flex-start; }
@media (max-width: 639px) { .unidades-gallery img:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 4 / 3; } }

/* =========================================================
   Trabalhe conosco
   ========================================================= */
.recrutamento-section { background: var(--bg-beige); padding: 60px 0; }
.recrutamento-inner { max-width: 72rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 0 1.25rem; text-align: center; }
@media (min-width: 768px) { .recrutamento-inner { padding: 0 2.5rem; } }
.recrutamento-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--navy); }
@media (min-width: 640px) { .recrutamento-title { font-size: 1.875rem; } }
.recrutamento-desc { max-width: 36rem; font-size: 0.875rem; color: var(--text-brown); }
@media (min-width: 640px) { .recrutamento-desc { font-size: 1rem; } }
.recrutamento-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; }

/* =========================================================
   CTA final
   ========================================================= */
.cta-final-section { position: relative; overflow: hidden; background: var(--blue); padding: 60px 0; }
.cta-final-dots { position: absolute; inset: 0; color: rgba(255,255,255,0.2); pointer-events: none; }
.cta-final-inner { position: relative; max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; text-align: center; }
@media (min-width: 768px) { .cta-final-inner { padding: 0 2.5rem; } }
.cta-final-title { font-family: var(--font-display); font-size: clamp(1.6rem, 9vw, 56px); line-height: normal; font-weight: 800; color: #fff; }
@media (max-width: 767px) { .cta-final-title { font-size: 40px; max-width: 17rem; margin-left: auto; margin-right: auto; } }
.cta-final-desc { margin: 1.25rem auto 0; max-width: 42rem; font-size: 1.125rem; color: rgba(255,255,255,0.9); }
.cta-final-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* =========================================================
   Rodapé
   ========================================================= */
.site-footer { background: var(--bg-navy-dark); padding: 3.5rem 0; color: rgba(255,255,255,0.7); }
.footer-grid { max-width: 80rem; margin: 0 auto; display: grid; gap: 2.5rem; padding: 0 1.25rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); padding: 0 2.5rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); } }
.footer-logo { height: 2.75rem; width: auto; }
.footer-brand-desc { margin-top: 1rem; font-size: 0.875rem; }
.footer-socials { margin-top: 1rem; display: flex; gap: 0.75rem; }
.footer-socials a { display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,0.1); padding: 0.75rem; transition: background 0.2s ease; }
.footer-socials a:hover { background: var(--blue); }
.footer-col-title { font-family: var(--font-display); margin-bottom: 0.75rem; font-weight: 700; color: #fff; }
.footer-nav, .footer-contact, .footer-address { font-size: 0.875rem; }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a:hover { color: #fff; }
.footer-contact p + p, .footer-address p + p { margin-top: 0.25rem; }
.footer-address p { line-height: 1.5; }
.footer-email { margin-top: 0.5rem; }
.footer-copy { margin-top: 2.5rem; text-align: center; font-size: 0.75rem; }

/* Botão flutuante "voltar ao topo" */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 3rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 26px -10px rgba(11,34,57,0.5);
  opacity: 0;
  transform: translateY(0.75rem);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--blue); transform: translateY(-2px); }
.back-to-top svg { transform: rotate(-90deg); }
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: opacity 0.2s ease; } .back-to-top:hover { transform: translateY(0.75rem); } .back-to-top.is-visible:hover { transform: translateY(0); } }

/* =========================================================
   Página do Blog (blog.html e blog-post-*.html)
   Usa as mesmas variáveis, header, footer e botões do site —
   aqui só ficam as classes específicas dessas páginas.
   ========================================================= */
.page-header-spacer { height: 4.6rem; }
@media (min-width: 1024px) { .page-header-spacer { height: 5.1rem; } }

.page-breadcrumb { padding: 1.5rem 0 0; font-size: 0.85rem; color: var(--text-muted); }
.page-breadcrumb a { color: var(--blue); text-decoration: none; }
.page-breadcrumb a:hover { text-decoration: underline; }

.blog-hero { padding: 2.5rem 0 1rem; text-align: center; }
.blog-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.25rem, 5vw, 3.25rem); color: var(--navy); margin: 0.75rem 0 0; }
.blog-hero p { margin: 0.9rem auto 0; max-width: 38rem; color: var(--text-slate); }

.blog-grid { margin-top: 3rem; padding-bottom: 5rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; border-radius: 1.5rem; overflow: hidden; background: #fff; box-shadow: 0 20px 40px -28px rgba(11,34,57,0.35); text-decoration: none; color: inherit; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(11,34,57,0.45); }
.blog-card-photo { margin: 0; aspect-ratio: 16 / 10; }
.blog-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.blog-card-tag { align-self: flex-start; padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.blog-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--navy); margin: 0; }
.blog-card-excerpt { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--text-slate-2); flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.8rem; color: var(--text-muted); border-top: 1px solid rgba(11,34,57,0.08); padding-top: 0.9rem; }
.blog-card-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }

.article-section { padding: 2.5rem 0 5rem; }
.article-header { max-width: 44rem; margin: 0 auto; text-align: center; }
.article-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.5vw, 2.75rem); color: var(--navy); margin: 1rem 0 0; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 1.25rem; font-size: 0.875rem; color: var(--text-muted); flex-wrap: wrap; }
.article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-cover { margin: 2.5rem auto 0; max-width: 56rem; border-radius: 1.75rem; overflow: hidden; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.article-body { max-width: 44rem; margin: 2.5rem auto 0; font-size: 1.0625rem; line-height: 1.75; color: var(--text-slate); }
.article-body h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--navy); margin: 2rem 0 0.75rem; }
.article-body p { margin: 0 0 1.1rem; }
.article-body ul { list-style: disc; margin: 0 0 1.1rem; padding-left: 1.25rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-quote { margin: 2rem 0; padding: 1.5rem 1.75rem; border-left: 4px solid var(--blue); background: var(--bg-offwhite); border-radius: 0 1rem 1rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.article-cta { max-width: 44rem; margin: 3rem auto 0; border-radius: 1.75rem; background: var(--navy); padding: 2rem; text-align: center; color: #fff; }
.article-cta h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin: 0 0 0.5rem; }
.article-cta p { margin: 0 0 1.25rem; color: rgba(255,255,255,0.75); }
.article-author { max-width: 44rem; margin: 3rem auto 0; display: flex; gap: 1.25rem; align-items: flex-start; border-top: 1px solid rgba(11,34,57,0.1); padding-top: 2rem; }
.article-author img { width: 4rem; height: 4rem; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.article-author h4 { font-family: var(--font-display); margin: 0; font-size: 1.05rem; color: var(--navy); }
.article-author p { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--text-slate-2); }
.article-related { max-width: 56rem; margin: 4rem auto 0; }
.article-related h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--navy); text-align: center; margin: 0 0 2rem; }

/* =========================================================
   Páginas individuais de modalidade (modalidade-*.html)
   ========================================================= */
.modpage-hero { max-width: 68rem; margin: 0 auto; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .modpage-hero { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

.modpage-photo { position: relative; border-radius: 1.75rem; overflow: hidden; aspect-ratio: 4 / 3; }
.modpage-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modpage-photo.is-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; background: rgba(11,34,57,0.04); border: 2px dashed rgba(11,34,57,0.15); color: var(--text-slate-2); }
.modpage-photo.is-placeholder .icon { color: rgba(11,34,57,0.25); }
.modpage-photo.is-placeholder p { font-size: 0.9375rem; font-weight: 700; }
.modpage-photo-icon { position: absolute; left: 1.25rem; bottom: 1.25rem; display: inline-flex; align-items: center; justify-content: center; height: 3.5rem; width: 3.5rem; border-radius: 1rem; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,0.45); }

.modpage-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1rem; border-radius: 999px; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.modpage-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 4.5vw, 2.75rem); color: var(--navy); margin: 1rem 0 0; }
.modpage-indicado { margin-top: 1.1rem; font-size: 1.125rem; line-height: 1.6; font-weight: 700; color: var(--text-slate); }
.modpage-desc { margin-top: 0.9rem; font-size: 1.0625rem; line-height: 1.7; color: var(--text-slate-2); }
.modpage-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.modpage-section { max-width: 44rem; margin: 3.5rem auto 0; }
.modpage-section h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--navy); margin: 0 0 1.25rem; }

.modpage-list { display: flex; flex-direction: column; gap: 0.85rem; }
.modpage-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 1.0625rem; line-height: 1.6; color: var(--text-slate); }
.modpage-list li .icon { flex-shrink: 0; margin-top: 0.2rem; }

.modpage-tags { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.modpage-tags span { padding: 0.55rem 1.1rem; border-radius: 999px; font-size: 0.9rem; font-weight: 700; }
