/* Instituto Índigo — site institucional
   Tokens: design-system/tokens (IDV HP Design). Só League Spartan + Poppins. */

:root {
  --navy: #395480;
  --branco: #F9F9F9;
  --azul-claro: #84DFFB;
  --azul-medio: #69C3EE;
  --verde: #5DD283;
  --amarelo: #F4D347;
  --laranja: #F9785A;
  --rosa: #FC65AA;
  --roxo: #A8A6F7;
  --t-azul-claro: #B5ECFD;
  --t-azul-medio: #A5DBF5;
  --t-verde: #9EE4B5;
  --t-amarelo: #F8E591;
  --t-laranja: #FCB7A8; /* tom claro ajustado: contraste 4,5:1 com o azul escuro */
  --t-rosa: #FEB2D4; /* idem */
  --t-roxo: #CBCAFA;
  --ceu: #E6F4FF;
  --texto-2: #5A6E94;
  --borda: #E3E8F0;
  --borda-forte: #C9D3E3;
  --card: #FFFFFF;
  --display: 'League Spartan', sans-serif;
  --body: 'Poppins', sans-serif;
  --gutter: max(clamp(16px, 5vw, 56px), calc((100% - 1168px) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--branco); font-family: var(--body); color: var(--navy); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--azul-medio); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografia ---------- */
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; }
.eyebrow--muted { color: var(--texto-2); }
.h1 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4.8vw, 60px); line-height: 1; margin: 0; letter-spacing: -1px; text-wrap: balance; }
.h1--hero { font-size: clamp(38px, 5.4vw, 62px); }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.02; margin: 0; text-wrap: balance; }
.h2--sm { font-size: clamp(28px, 3.6vw, 44px); }
.h3 { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.1; margin: 0; }
.lead { font-size: 18px; line-height: 1.6; margin: 0; max-width: 560px; }
.p { font-size: 17px; line-height: 1.6; margin: 0; }
.p-sm { font-size: 15px; line-height: 1.6; margin: 0; }
strong { font-weight: 600; }
.link { font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; align-self: flex-start; background: var(--navy); color: #FFF; border: none; border-radius: 100px; padding: 15px 28px; font-family: var(--body); font-weight: 600; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; box-shadow: 5px 5px 0 var(--sombra, var(--azul-claro)); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { color: #FFF; text-decoration: none; transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--sombra, var(--azul-claro)); }
.btn--lg { padding: 17px 32px; font-size: 15px; box-shadow: 6px 6px 0 var(--sombra, var(--azul-claro)); }
.btn--lg:hover { box-shadow: 8px 8px 0 var(--sombra, var(--azul-claro)); }
.btn--sm { padding: 13px 24px; font-size: 13px; box-shadow: none; }
.btn--sm:hover { box-shadow: 4px 4px 0 var(--navy); }
.btn--light { background: var(--card); color: var(--navy); box-shadow: none; }
.btn--light:hover { color: var(--navy); box-shadow: 4px 4px 0 var(--navy); }
.btn--branco { background: var(--branco); color: var(--navy); box-shadow: none; }
.btn--branco:hover { color: var(--navy); box-shadow: 4px 4px 0 var(--navy); }

/* ---------- layout ---------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.sec { padding-top: 72px; padding-bottom: 72px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr)); }
.split { display: grid; gap: 48px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 420px)), 1fr)); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bg-ceu { background: var(--ceu); }
.bg-navy { background: var(--navy); color: #FFF; }
.bg-navy a:not(.btn) { color: #FFF; }
.bg-amarelo { background: var(--amarelo); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--ceu); border-bottom: 2px solid var(--borda); padding-top: 18px; padding-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; }
.site-header__logo { display: flex; flex-shrink: 0; }
.site-header__logo img { width: 140px; height: auto; display: block; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 500; }
.nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; background: var(--card); border: 2px solid var(--navy); border-radius: 100px; padding: 9px 16px; font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); cursor: pointer; }
.site-header .btn { padding: 12px 24px; box-shadow: 4px 4px 0 var(--azul-claro); flex-shrink: 0; }

@media (max-width: 1120px) {
  .site-header { flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
  .site-header__logo img { width: 116px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-header > .btn { display: none; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; font-size: 17px; padding-top: 8px; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--borda); }
  .nav .btn { display: inline-flex; margin-top: 14px; border-top: none; padding: 15px 28px; align-self: stretch; }
  .site-header.is-open .nav { display: flex; }
}
@media (min-width: 1121px) { .nav .btn { display: none; } }

/* ---------- hero de página ---------- */
.page-hero { padding-top: 56px; padding-bottom: 64px; }
.page-hero .split { gap: 40px; }
.mascotes { display: flex; justify-content: flex-end; align-items: flex-end; gap: 8px; }
.mascotes img { width: auto; }
.mascotes img:nth-child(1) { height: 150px; }
.mascotes img:nth-child(2) { height: 134px; }
.mascotes img:nth-child(3) { height: 118px; }
@media (max-width: 600px) {
  .page-hero { padding-top: 36px; padding-bottom: 44px; }
  .mascotes { justify-content: flex-start; }
  .mascotes img:nth-child(1) { height: 96px; }
  .mascotes img:nth-child(2) { height: 86px; }
  .mascotes img:nth-child(3) { height: 76px; }
}

/* ---------- home ---------- */
.home-hero { padding-top: 56px; padding-bottom: 80px; }
.home-hero .split { gap: 56px; }
.icones { display: flex; gap: 8px; }
.icones img { width: 44px; height: 44px; }
.hero-media { position: relative; height: 560px; }
.hero-media__bg { position: absolute; inset: 0 0 0 40px; background: var(--t-azul-claro); border-radius: 44px; }
.hero-media__foto { position: absolute; inset: 32px 32px 32px 0; }
.hero-media__mascote { position: absolute; right: -6px; bottom: -14px; width: 150px; height: auto; }
@media (max-width: 600px) {
  .home-hero { padding-top: 32px; padding-bottom: 56px; }
  .hero-media { height: 360px; }
  .hero-media__bg { inset: 0 0 0 24px; border-radius: 32px; }
  .hero-media__foto { inset: 20px 20px 20px 0; }
  .hero-media__mascote { width: 96px; right: -4px; }
}

.foto { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--r, 36px); }
.foto-ph { width: 100%; height: 100%; border-radius: var(--r, 36px); background: var(--ph, var(--t-azul-claro)); display: flex; align-items: center; justify-content: center; }
.foto-ph img { width: 40%; max-width: 140px; height: auto; }

.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 36px; }
.card-area { background: var(--tint); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 20px; transition: transform .15s ease, box-shadow .15s ease; }
.card-area:hover { text-decoration: none; transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--navy); }
.card-area img { width: 84px; height: 84px; }
.card-area__nome { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.05; }
.card-area__sub { font-size: 14px; margin-top: 6px; }
.card-cta { background: var(--navy); color: #FFF; border-radius: 28px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.card-cta:hover { color: #FFF; text-decoration: none; box-shadow: 6px 6px 0 var(--azul-claro); }
.card-cta__t { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.1; }

.bloco { border-radius: 36px; padding: clamp(28px, 5vw, 52px); }
.mini { background: var(--branco); border-radius: 24px; padding: 24px 26px; }
.mini__t { font-family: var(--display); font-weight: 700; font-size: 21px; margin-bottom: 6px; }
.mini__p { font-size: 15px; line-height: 1.55; }

.foto-box { height: 440px; border-radius: 36px; overflow: hidden; box-shadow: 10px 10px 0 var(--sombra, var(--amarelo)); }
@media (max-width: 600px) { .foto-box { height: 300px; } }
.chip { display: inline-block; background: var(--c, var(--card)); border-radius: 100px; padding: 9px 18px; font-weight: 600; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.card { background: var(--card); border: 2px solid var(--borda); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card--tint { background: var(--tint); border: none; }
.card--lg { border-radius: 36px; padding: clamp(24px, 4vw, 44px); }
.num { font-family: var(--display); font-weight: 700; font-size: 32px; }
.num--xl { font-size: 56px; line-height: 1; }

.avatar-lg { width: min(280px, 100%); aspect-ratio: 1; }
.avatar { width: 150px; height: 150px; border-radius: 50%; background: var(--tint); padding: 8px; flex-shrink: 0; }
.avatar__in { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--card); font-family: var(--display); font-weight: 700; font-size: 44px; color: var(--navy); }
.avatar__in img { width: 100%; height: 100%; object-fit: cover; }
.avatar--sm { width: 110px; height: 110px; padding: 6px; }
.avatar--sm .avatar__in { font-size: 34px; }
.avatar--xl { width: 100%; height: 100%; padding: 10px; }
.avatar--xl .avatar__in { font-size: 88px; }

.cta-faixa { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 32px; }
.cta-faixa .btn { --sombra: var(--branco); }

/* ---------- serviços ---------- */
.filtro { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 28px; }
.filtro__chip { font-family: var(--body); font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 100px; cursor: pointer; border: 2px solid var(--borda); background: var(--card); color: var(--navy); transition: all .15s ease; }
.filtro__chip[aria-pressed="true"] { border-color: var(--c); background: var(--c); box-shadow: 3px 3px 0 var(--navy); }
.filtro__chip[data-espec="todas"][aria-pressed="true"] { color: #FFF; }
.serv { background: var(--tint); border-radius: 32px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.serv[hidden], .auditiva[hidden], .vazio[hidden] { display: none; }
.serv__tag { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.serv__tag img { width: 64px; height: 64px; }
.serv__nome { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.02; margin: 0; }
.serv__acoes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.full { grid-column: 1 / -1; }
.vazio { text-align: center; padding: 40px; border: 2px dashed var(--borda-forte); border-radius: 28px; font-size: 16px; }
.btn-link { background: none; border: none; font: inherit; font-weight: 600; color: var(--navy); text-decoration: underline; cursor: pointer; }
.item-outro { display: flex; align-items: center; background: var(--tint); border-radius: 18px; padding: 14px 18px; font-weight: 600; font-size: 16px; }

/* ---------- listas ---------- */
.bullets { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bullets li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
.bullets li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--azul-medio); margin-top: 8px; flex-shrink: 0; }
.checks { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(249,249,249,.3); font-size: 17px; line-height: 1.5; }
.checks li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--azul-claro); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }

/* ---------- salas / equipe ---------- */
.sala { background: var(--tint); border-radius: 32px; padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.sala__foto { height: 240px; }
.sala__nome { display: flex; align-items: center; gap: 12px; padding: 0 8px 8px; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.1; }
.sala__nome::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.equipe-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.pessoa { background: var(--card); border: 2px solid var(--borda); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.pessoa__nome { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.1; }
.pessoa__cargo { font-size: 14px; line-height: 1.45; margin-top: 6px; }
.titulo-icone { display: flex; align-items: center; gap: 14px; }
.titulo-icone img { width: 56px; height: 56px; }

/* ---------- formulários ---------- */
.form { background: var(--card); border: 2px solid var(--borda); border-radius: 28px; padding: clamp(22px, 4vw, 32px); display: flex; flex-direction: column; gap: 20px; color: var(--navy); }
.campo { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.campo__label { font-weight: 600; font-size: 14px; padding: 0; }
.input { width: 100%; padding: 13px 15px; border-radius: 8px; border: 2px solid var(--borda); background: var(--branco); color: var(--navy); font-family: var(--body); font-size: 16px; outline: none; }
.input:focus { border-color: var(--azul-medio); background: #FFF; }
textarea.input { resize: vertical; }
.opcoes { display: flex; flex-wrap: wrap; gap: 10px; }
.opcao { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 2px solid var(--borda); border-radius: 100px; font-size: 14px; cursor: pointer; background: #FFF; }
.opcao input { accent-color: var(--navy); }
.opcao:has(input:checked) { border-color: var(--navy); }
.form__erro { color: #B3261E; font-size: 14px; margin: 0; }
.sucesso { background: var(--t-verde); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 12px; color: var(--navy); }
.sucesso__t { font-family: var(--display); font-weight: 700; font-size: 30px; }

.vaga-chip { font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 100px; border: 2px solid var(--borda-forte); background: #FFF; color: var(--navy); }
.vaga-chip[aria-current="page"] { border-color: var(--navy); background: var(--navy); color: #FFF; }
.vaga-chip:hover { text-decoration: none; border-color: var(--navy); }

/* ---------- matérias ---------- */
.materia { background: var(--card); border: 2px solid var(--borda); border-radius: 28px; padding: 14px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- contato ---------- */
.mapa { height: 420px; border-radius: 32px; overflow: hidden; border: 2px solid var(--borda); }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- rodapé ---------- */
.site-footer { padding-top: 56px; padding-bottom: 36px; }
.site-footer__grid { display: grid; gap: 36px; margin-bottom: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer__t { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.site-footer__p { font-size: 14px; line-height: 1.7; }
.site-footer__base { border-top: 1px solid rgba(249,249,249,.25); padding-top: 20px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: #FFF; display: flex; align-items: center; justify-content: center; box-shadow: 4px 4px 0 var(--azul-claro); transition: transform .15s ease; }
.whats-float:hover { transform: translate(-2px, -2px); text-decoration: none; }
.whats-float svg { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- provas, necessidades e filtro por especialidade ---------- */
.provas { display: grid; gap: 16px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.provas > div { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.4; }
.provas__n { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.1; }
.necessidades { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.necessidade { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card); border: 2px solid var(--borda); border-radius: 20px; padding: 18px 20px; font-weight: 600; font-size: 16px; line-height: 1.35; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.necessidade span { flex-shrink: 0; }
.necessidade:hover { text-decoration: none; border-color: var(--navy); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--navy); }
.filtro-bloco { margin-bottom: 18px; }
.filtro-bloco__t { font-weight: 600; font-size: 14px; color: var(--texto-2); margin-bottom: 10px; }
.filtro-bloco .filtro { padding-top: 0; }
.filtro__chip--nec { font-weight: 500; }
.filtro-status { font-size: 15px; margin: 4px 0 0; scroll-margin-top: 90px; }
.filtro-status .btn-link { margin-left: 6px; }
.serv { scroll-margin-top: 110px; }
.serv[data-destaque] { box-shadow: 6px 6px 0 var(--navy); }
.serv__nome { font-size: clamp(28px, 3vw, 34px); }
.serv__para { font-size: 14px; line-height: 1.5; padding-top: 12px; border-top: 1px solid rgba(57, 84, 128, .2); }
.serv__para span { font-weight: 600; display: block; }
.bullets--navy li::before { background: var(--navy); }
@media (max-width: 700px) {
  .filtro-bloco .filtro { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .filtro-bloco .filtro__chip { white-space: nowrap; flex-shrink: 0; }
}

/* situações como destaques menores, no estilo dos chips das salas */
.filtro__chip--nec { border: none; background: var(--tint); padding: 8px 16px; font-size: 13px; font-weight: 600; box-shadow: none; }
.filtro__chip--nec:hover { box-shadow: 2px 2px 0 var(--navy); }
.filtro__chip--nec[aria-pressed="true"] { background: var(--navy); color: #FFF; box-shadow: 3px 3px 0 var(--azul-claro); }
.filtro--nec { gap: 8px; }
@media (max-width: 700px) {
  .filtro-bloco .filtro--nec { flex-wrap: wrap; overflow-x: visible; }
  .filtro-bloco .filtro--nec .filtro__chip { white-space: normal; flex-shrink: 1; text-align: left; }
}

/* nomes longos (Neuropsicopedagogia) não podem passar da borda do card */
.card-area > div, .serv > * { min-width: 0; }
.card-area__nome, .serv__nome, .h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.card-area__nome { font-size: clamp(22px, 2.3vw, 28px); }

/* resultado do filtro por situação: sugestão, não diagnóstico */
.filtro-status { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.filtro-status[hidden] { display: none; }
.filtro-status__t { font-weight: 700; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; }
.filtro-status__p { font-size: 15px; line-height: 1.55; max-width: 760px; }

/* ---------- ajustes do teste de usabilidade ---------- */
/* 1. botão de agendar sempre à vista no topo, também no celular */
.cta-curto { display: none; }
@media (max-width: 1120px) {
  .site-header { gap: 10px; }
  .site-header__logo { order: 1; }
  .site-header > .site-header__cta { display: inline-flex; order: 2; margin-left: auto; padding: 0 18px; min-height: 44px; font-size: 13px; box-shadow: 3px 3px 0 var(--azul-claro); }
  .nav-toggle { order: 3; margin-left: 0; min-height: 44px; }
  .nav { order: 4; }
  .nav .btn { display: none; }
}
@media (max-width: 640px) {
  .cta-longo { display: none; }
  .cta-curto { display: inline; }
}
/* 2. mascotes menores no topo das páginas, no celular */
@media (max-width: 600px) {
  .mascotes { gap: 6px !important; }
  .mascotes img { height: 64px !important; margin-top: 0 !important; }
}
/* 3. chips das salas em tom claro, com a cor forte no ponto */
.chip--sala { display: inline-flex; align-items: center; gap: 8px; }
.chip--sala::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
/* 4. áreas de toque de 44px e texto mínimo de 14px */
.link { display: inline-flex; align-items: center; min-height: 44px; }
.filtro__chip { min-height: 44px; }
.filtro__chip--nec { font-size: 14px; }
.site-footer__base { font-size: 14px; }
.site-footer__base a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 700px) { .site-footer { padding-bottom: 104px; } } /* o WhatsApp flutuante não cobre o rodapé */
.nav a { padding-top: 11px; padding-bottom: 11px; }
.site-footer__p a { display: inline-block; padding: 12px 0; }
.site-footer__p { line-height: 1.5; }
.nav-toggle, .site-header > .site-header__cta, .btn--sm, .serv__tag { font-size: 14px; }
.serv__tag { letter-spacing: 1.5px; }
.card a[href*="politica-de-privacidade"] { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 420px) {
  .site-header { gap: 8px; }
  .site-header__logo img { width: 100px; }
  .site-header > .site-header__cta { padding: 0 14px; }
  .nav-toggle { padding: 8px 12px; }
}
.site-header__logo { min-height: 44px; align-items: center; }

/* ================= página de especialidades: busca em abas + sanfona ================= */
.esp-hero { padding-top: 44px; padding-bottom: 40px; }
.esp-hero .h1 { font-size: clamp(34px, 5vw, 56px); }
@media (max-width: 600px) { .esp-hero { padding-top: 28px; padding-bottom: 28px; } }

.finder { padding-top: 28px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 16px; }
.finder__abas { display: grid; grid-template-columns: 1fr 1fr; max-width: 520px; padding: 4px; background: var(--card); border: 2px solid var(--borda); border-radius: 100px; }
.finder__aba { min-height: 44px; border: none; border-radius: 100px; background: transparent; font-family: var(--body); font-weight: 600; font-size: 14px; color: var(--navy); cursor: pointer; padding: 0 12px; transition: background .2s ease, color .2s ease; }
.finder__aba[aria-selected="true"] { background: var(--navy); color: #FFF; }
.finder__aba:not([aria-selected="true"]):hover { background: var(--ceu); }
.finder__painel { animation: painel .25s ease both; }
@keyframes painel { from { opacity: 0; transform: translateY(4px); } }

.filtro--linha { padding-top: 0; gap: 8px; }
.filtro--linha .filtro__chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 2px solid var(--borda); background: var(--card); color: var(--navy); font-size: 14px; font-weight: 600; box-shadow: none; }
.filtro--linha .filtro__chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--navy)); flex-shrink: 0; }
.filtro--linha .filtro__chip:hover { border-color: var(--navy); }
.filtro--linha .filtro__chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFF; box-shadow: 3px 3px 0 var(--azul-claro); }
.filtro--linha .filtro__chip[aria-pressed="true"]::before { box-shadow: 0 0 0 2px #FFF; }
@media (max-width: 760px) {
  /* uma linha só, com rolagem lateral e esmaecido na borda indicando que há mais */
  .filtro--linha { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px 0; -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
  .filtro--linha::-webkit-scrollbar { display: none; }
  .filtro--linha .filtro__chip { white-space: nowrap; flex-shrink: 0; scroll-snap-align: start; }
  .finder__abas { max-width: none; }
}

.esp-lista { display: grid; gap: 12px; align-items: start; padding-top: 16px; padding-bottom: 56px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .esp-lista { grid-template-columns: 1fr 1fr; gap: 16px; } }
.esp-lista .vazio { grid-column: 1 / -1; }
.esp { background: var(--tint); border-radius: 24px; scroll-margin-top: 110px; transition: box-shadow .2s ease; }
.esp[hidden] { display: none; }
.esp:has(details[open]) { box-shadow: 5px 5px 0 var(--navy); }
.esp__sum { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 76px; cursor: pointer; list-style: none; border-radius: 24px; }
.esp__sum::-webkit-details-marker { display: none; }
.esp__sum:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.esp__icone { width: 48px; height: 48px; flex-shrink: 0; }
.esp__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.esp__nome { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.1; overflow-wrap: break-word; hyphens: auto; }
.esp__resumo { font-size: 14px; line-height: 1.4; }
.esp__mais { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--card); flex-shrink: 0; transition: transform .3s ease, background .2s ease; }
.esp__mais::before, .esp__mais::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; border-radius: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: background .2s ease; }
.esp__mais::after { transform: translate(-50%, -50%) rotate(90deg); }
.esp__sum:hover .esp__mais { background: var(--navy); }
.esp__sum:hover .esp__mais::before, .esp__sum:hover .esp__mais::after { background: #FFF; }
.esp__det[open] .esp__mais { transform: rotate(45deg); }
.esp__corpo { display: flex; flex-direction: column; gap: 14px; padding: 0 18px 22px 78px; }
@media (max-width: 600px) { .esp__corpo { padding: 0 16px 20px; } }
.esp__det[open] .esp__corpo { animation: abre .3s ease both; }
@keyframes abre { from { opacity: 0; transform: translateY(-6px); } }
/* altura animada onde o navegador permite */
@supports (interpolate-size: allow-keywords) {
  .esp__det { interpolate-size: allow-keywords; }
  .esp__det::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s allow-discrete; }
  .esp__det[open]::details-content { height: auto; }
}
/* entrada em sequência quando o filtro muda */
.esp--entra { animation: entra .4s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes entra { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .esp--entra, .finder__painel, .esp__det[open] .esp__corpo { animation: none !important; } }
.esp__nome { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 400px) { .esp__nome { font-size: 19px; } .esp__sum { gap: 12px; padding: 14px; } }
.avatar__in img { object-position: 50% 28%; }
.avatar-lg { align-self: center; justify-self: center; } .avatar--xl { aspect-ratio: 1; height: auto; }

/* galeria da estrutura */
.galeria { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .galeria { grid-template-columns: repeat(4, 1fr); gap: 16px; } .galeria__item--destaque { grid-column: span 2; grid-row: span 2; } }
.galeria__item { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.galeria__item .foto { aspect-ratio: 4 / 3; height: auto; transition: transform .3s ease, box-shadow .3s ease; }
.galeria__item--destaque .foto { aspect-ratio: auto; flex: 1; min-height: 0; }
.galeria__item:hover .foto { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--navy); }
.galeria__item figcaption { font-size: 14px; font-weight: 600; line-height: 1.35; }
@media (min-width: 900px) { .galeria__item:last-child { grid-column: span 2; } .galeria__item:last-child .foto { aspect-ratio: 8 / 3; } }

/* caixas de destaque dentro de uma especialidade (Fono: audição/PAC e amamentação) */
.esp__caixa { position: relative; background: var(--card); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 110px; transition: box-shadow .3s ease; }
.esp__caixa[data-destaque] { box-shadow: 0 0 0 3px var(--navy); }
.esp__caixa-t { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.15; margin: 0; }
.esp__selo { align-self: flex-start; background: var(--amarelo); border-radius: 100px; padding: 6px 12px; font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.esp__passos { margin: 0; padding: 0; list-style: none; counter-reset: passo; display: flex; flex-direction: column; gap: 10px; }
.esp__passos li { counter-increment: passo; display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; font-size: 14px; line-height: 1.45; }
.esp__passos li::before { content: counter(passo); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; background: var(--t-azul-claro); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.esp__passos li strong { font-weight: 600; }
.esp__caixa .btn { margin-top: 4px; }
/* a sanfona cresce com animação; sem isto o navegador empurra a rolagem e o link direto (#audicao) passa da caixa */
body { overflow-anchor: none; }

/* acompanhantes terapêuticos: lista compacta na página de equipe */
.ats { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.ats__lista { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ats__lista li { background: var(--tint); border-radius: 100px; padding: 10px 16px; font-weight: 600; font-size: 14px; }
@media (max-width: 600px) {
  .equipe-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pessoa { padding: 16px 10px; gap: 10px; border-radius: 22px; }
  .pessoa .avatar { width: 88px; height: 88px; padding: 5px; }
  .pessoa .avatar__in { font-size: 28px; }
  .pessoa__nome { font-size: 17px; }
  .pessoa__cargo { font-size: 14px; }
}

/* credenciais da fundadora (página Equipe) */
.credenciais { display: grid; gap: 18px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); padding-top: 18px; border-top: 2px solid var(--borda); }
.credenciais__t { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.credenciais .bullets li { font-size: 14px; }
.card.split:has(.credenciais) { align-items: start; }

/* destaques curtos da formação da fundadora */
.destaques { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.destaques li { background: var(--t-azul-claro); border-radius: 100px; padding: 8px 14px; font-weight: 600; font-size: 14px; }

/* política de privacidade */
.politica { max-width: 760px; }
.politica a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
