/* =============================================================================
   BHC — Stylesheet compartilhado entre todas as páginas
   Tokens · Componentes · Layouts
   ============================================================================= */

:root {
  /* Paleta — extraída do CSS atual do BHC */
  --brand: #00a0d9;
  --brand-ink: #007bb0;   /* azul da marca em tom legível para textos pequenos (contraste AA) */
  --brand-hover: #0090c2;
  --brand-deep: #062538;
  --brand-darker: #011827;
  --brand-soft: #e6f6fc;
  --brand-softer: #f3fafd;
  --accent: #ff7a59;
  --accent-soft: #fff0eb;
  --success: #00ad57;
  --warn: #f5a623;

  /* Neutros */
  --ink: #0c1c2a;
  --ink-2: #2a3b4a;
  --ink-3: #5b6b7a;
  --ink-4: #8a9ba9;
  --line: #e6edf2;
  --line-2: #f0f4f7;
  --bg: #ffffff;
  --bg-soft: #f7fafc;
  --bg-cream: #fafbfa;

  /* Tipografia */
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  /* Escala */
  --container: 1280px;
  --container-wide: 1440px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 24px;
  --radius-xl: 32px;
  --shadow-1: 0 1px 2px rgba(6,37,56,.06), 0 4px 12px rgba(6,37,56,.04);
  --shadow-2: 0 8px 24px rgba(6,37,56,.08), 0 2px 6px rgba(6,37,56,.05);
  --shadow-3: 0 24px 60px rgba(6,37,56,.16), 0 8px 24px rgba(6,37,56,.08);

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ============================================================================
   Reset / base
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Tipografia base */
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0; color: var(--ink); }
.italic-serif, .em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-deep);
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--brand);
}
.eyebrow.on-dark { color: var(--brand); }
.eyebrow.on-dark::before { background: var(--brand); }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--brand-deep); color: #fff; }
.btn--primary:hover { background: var(--brand); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn--ghost { background: transparent; color: var(--brand-deep); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand-deep); }
.btn--ghost-light { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.btn--ghost-light:hover { border-color: var(--brand); background: rgba(0,160,217,.1); }
.btn--whatsapp { background: var(--success); color: #fff; }
.btn--whatsapp:hover { background: #009249; transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn--coral { background: var(--accent); color: #fff; }
.btn--coral:hover { filter: brightness(.95); transform: translateY(-1px); }
.btn--small { padding: 10px 16px; font-size: 14px; }
.btn--large { padding: 18px 30px; font-size: 16px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================================
   Top bar
   ============================================================================ */
.topbar {
  background: var(--brand-darker);
  color: rgba(255,255,255,.85);
  font-size: 13px;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 38px;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 14px; height: 14px; opacity: .7; }
.topbar a { transition: color .2s; }
.topbar a:hover { color: var(--brand); }

/* ============================================================================
   Header / nav
   ============================================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 14px;
}
.brand img { height: 48px; width: auto; }
.brand__sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-left: 1px solid var(--line);
  padding-left: 14px;
  line-height: 1.35;
  font-weight: 500;
}
.nav { display: none; align-items: center; gap: 26px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav a:hover, .nav a.is-active { color: var(--brand-deep); }
.nav a.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--brand);
  border-radius: 1px;
}
.header__cta { display: none; align-items: center; gap: 12px; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

@media (min-width: 1080px) {
  .nav { display: flex; }
  .header__cta { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: var(--brand-darker);
  color: #fff;
  padding: 24px var(--gutter);
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-menu__head img { height: 40px; width: auto; }
.mobile-menu__close {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__nav a {
  display: block;
  padding: 14px 0;
  font-size: 22px;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
}
.mobile-menu__nav a:last-child { border-bottom: 0; }
.mobile-menu__cta { margin-top: 32px; display: grid; gap: 10px; }

/* ============================================================================
   HERO — assimétrico, tipografia editorial
   ============================================================================ */
.hero {
  position: relative;
  padding: clamp(18px, 2.5vw, 32px) 0 clamp(22px, 3vw, 36px);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(0,160,217,.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-cream) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: auto -10% -20% 50%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0,160,217,.06) 0%, transparent 70%);
  z-index: 0;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  position: relative; z-index: 1;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}
.hero__content {
  display: flex; flex-direction: column; gap: 16px;
  animation: fadeUp .8s var(--ease) both;
}
.hero h1, .hero .hero__title {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.025em;
  font-weight: 600;
  line-height: 1.08;
  color: var(--brand-darker);
}
.hero h1 .em, .hero .hero__title .em {
  display: block;
  color: var(--brand);
}
.hero__lead {
  font-size: clamp(15px, 1.3vw, 16.5px);
  color: var(--ink-2);
  max-width: 520px;
  line-height: 1.5;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.hero__stat .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__stat .lbl {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-top: 6px;
  display: block;
}

.hero__visual {
  position: relative;
  align-self: stretch;
  height: clamp(340px, 42vw, 440px);
  min-height: 340px;
  border-radius: var(--radius-l);
  overflow: visible;
  animation: fadeUp .9s var(--ease) .2s both;
}
.hero__photo {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--brand-deep) center/cover;
  box-shadow: var(--shadow-3);
}
.hero__photo::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero__chip {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-2);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  z-index: 2;
}
.hero__chip svg { color: var(--brand); }
.hero__chip strong { display: block; font-weight: 600; color: var(--ink); font-size: 14px; }
.hero__chip span { color: var(--ink-3); }
.hero__chip--top { top: 24px; left: -32px; animation: floatA 6s ease-in-out infinite; }
.hero__chip--bottom { bottom: 32px; right: -28px; animation: floatB 6s ease-in-out infinite; }
@media (max-width: 1100px) {
  .hero__chip--top { left: 12px; }
  .hero__chip--bottom { right: 12px; }
}

@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================================
   Hero Slider — múltiplos slides com fade + controles
   ============================================================================ */
.hero--slider { position: relative; }
.hero--slider .container { position: relative; }

.hero__slider {
  position: relative;
  display: grid;
  grid-template-areas: "stack";
  grid-template-columns: minmax(0, 1fr);
  min-height: 400px;
}
.hero__slide {
  grid-area: stack;
  min-width: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s var(--ease), visibility 0s .7s;
  pointer-events: none;
}
.hero__grid { min-width: 0; }
.hero__content, .hero__visual { min-width: 0; }
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .7s var(--ease), visibility 0s 0s;
  pointer-events: auto;
}
.hero__slide.is-active .hero__content { animation: heroFadeIn .8s var(--ease) both; }
.hero__slide.is-active .hero__visual { animation: heroFadeIn .9s var(--ease) .15s both; }
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Photos por slide — usando as imagens da galeria/banco do BHC */
.hero__photo--default { background: url('imagens/hero/hero-boasvindas.jpg') center/cover; }
.hero__photo--qualidade { background: url('imagens/hero/hero-qualidade.jpg') center/cover; }
.hero__photo--genetica { background: url('imagens/hero/hero-genetica.jpg') center/cover; }
.hero__photo--tea { background: url('imagens/hero/hero-tea.jpg') center/cover; }

/* Controles — setas */
.hero__controls {
  position: absolute;
  top: 50%;
  right: clamp(20px, 4vw, 48px);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
}
.hero__arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  color: var(--brand-deep);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__arrow:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: scale(1.06);
}
.hero__arrow:active { transform: scale(.96); }

/* Dots / indicadores */
.hero__dots {
  position: absolute;
  bottom: clamp(16px, 3vw, 32px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero__dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(6,37,56,.18);
  border: 0;
  cursor: pointer;
  transition: background .3s var(--ease), width .3s var(--ease);
  padding: 0;
}
.hero__dot:hover { background: rgba(6,37,56,.35); }
.hero__dot.is-active { background: var(--brand); width: 44px; }

/* Em mobile: setas escondidas (swipe usa toque), dots ficam centrados */
@media (max-width: 720px) {
  .hero__slider { min-height: auto; }
  .hero__controls { display: none; }
  .hero__dots { position: relative; left: auto; transform: none; justify-content: center; margin-top: 24px; }
}

/* ============================================================================
   Page hero — para páginas internas
   ============================================================================ */
.page-hero {
  position: relative;
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(0,160,217,.08) 0%, transparent 60%),
    var(--bg-cream);
  overflow: hidden;
}
.page-hero__inner { max-width: 820px; }
.page-hero__crumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-3); margin-bottom: 22px;
}
.page-hero__crumbs a:hover { color: var(--brand); }
.page-hero h1 {
  font-size: clamp(36px, 5.2vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--brand-darker);
  margin-bottom: 18px;
}
.page-hero h1 .em { color: var(--brand); }
.page-hero p {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-2);
  max-width: 620px;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================================
   Buscador de exames — premium, em destaque
   ============================================================================ */
.exam-search {
  position: relative;
  margin-top: -56px;
  z-index: 5;
  padding-bottom: 64px;
}
.exam-search__card {
  background: var(--brand-darker);
  color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-3);
  display: grid;
  gap: 24px;
  background-image:
    radial-gradient(60% 80% at 100% 0%, rgba(0,160,217,.22) 0%, transparent 60%),
    radial-gradient(40% 80% at 0% 100%, rgba(0,160,217,.18) 0%, transparent 60%);
}
.exam-search__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.exam-search h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  max-width: 540px;
}
.exam-search h2 .em { color: var(--brand); }
.exam-search__count { color: rgba(255,255,255,.6); font-size: 13px; }
.exam-search__count b { color: var(--brand); font-family: var(--font-serif); font-style: italic; font-size: 18px; font-weight: 400; }

.exam-search__form {
  display: flex;
  gap: 10px;
  background: #fff;
  padding: 8px;
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}
.exam-search__input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 14px 18px;
  font-size: 16px;
  color: var(--ink);
}
.exam-search__input::placeholder { color: var(--ink-4); }
.exam-search__btn {
  background: var(--brand-deep);
  color: #fff;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s;
}
.exam-search__btn:hover { background: var(--brand); }

.exam-search__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.exam-search__chip {
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 13px; color: rgba(255,255,255,.85);
  transition: background .2s, border-color .2s;
}
.exam-search__chip:hover { background: rgba(0,160,217,.18); border-color: var(--brand); }

/* ============================================================================
   Seções genéricas
   ============================================================================ */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--bg-cream); }
.section--dark { background: var(--brand-darker); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 64px);
  max-width: 720px;
}
.section__head h2 {
  font-size: clamp(30px, 4.4vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.section__head h2 .em { color: var(--brand); }
.section__head p {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-3);
  max-width: 620px;
  margin: 0;
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { margin-inline: auto; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 24px; }
.section__head--row > div { max-width: 620px; }

/* ============================================================================
   Acessos rápidos
   ============================================================================ */
.access {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) { .access { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .access { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1220px) { .access { grid-template-columns: repeat(5, 1fr); } }

.access__card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px 26px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
  min-height: 240px;
}
.access__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--brand); }
.access__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.access__card--featured { background: var(--brand-deep); color: #fff; border-color: transparent; }
.access__card--featured h3 { color: #fff; }
.access__card--featured p { color: rgba(255,255,255,.7); }
.access__card--featured .access__icon { background: rgba(0,160,217,.18); color: var(--brand); }
.access__card h3 { font-size: 19px; letter-spacing: -0.015em; margin-bottom: 8px; }
.access__card p { color: var(--ink-3); font-size: 14px; flex: 1; line-height: 1.5; margin: 0; }
.access__card .arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 14px; font-weight: 500;
  color: var(--brand);
}
.access__card--featured .arrow-link { color: #fff; }
.access__card .arrow-link svg { transition: transform .25s var(--ease); }
.access__card:hover .arrow-link svg { transform: translateX(4px); }

/* ============================================================================
   Diferenciais — numeração editorial
   ============================================================================ */
.diff {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) { .diff { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .diff { grid-template-columns: repeat(3, 1fr); } }

.diff__item {
  padding: 36px 28px 32px 0;
  border-bottom: 1px solid var(--line);
  display: grid; gap: 14px;
  position: relative;
}
@media (min-width: 720px) { .diff__item:nth-child(2n) { padding-left: 36px; padding-right: 28px; border-left: 1px solid var(--line); } }
@media (min-width: 1080px) {
  .diff__item:nth-child(2n) { padding-left: 36px; border-left: 1px solid var(--line); }
  .diff__item:nth-child(3n+2), .diff__item:nth-child(3n+3) { padding-left: 36px; border-left: 1px solid var(--line); }
  .diff__item:nth-child(3n+1) { padding-left: 0; border-left: none; }
}

.diff__num {
  font-family: var(--font-serif); font-style: italic;
  font-size: 20px; font-weight: 400;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.diff__item h3 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.02em; line-height: 1.15; max-width: 320px; }
.diff__item p { color: var(--ink-3); font-size: 14.5px; line-height: 1.55; max-width: 360px; margin: 0; }

/* ============================================================================
   Sobre
   ============================================================================ */
.about {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) { .about { grid-template-columns: 1fr 1fr; } }
.about__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-l);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,160,217,.1), rgba(6,37,56,.4)),
    url('imagens/galeria/sobre-laboratorio.jpg') center/cover;
  box-shadow: var(--shadow-3);
}
.about__badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-2);
}
.about__badge .num {
  font-family: var(--font-serif); font-style: italic;
  font-size: 44px; color: var(--brand);
  line-height: 1;
}
.about__badge .lbl { font-size: 13px; color: var(--ink-2); line-height: 1.3; }
.about__content { display: flex; flex-direction: column; gap: 22px; max-width: 540px; }
.about__content h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.025em; line-height: 1.05; }
.about__content h2 .em { color: var(--brand); }
.about__content p { color: var(--ink-2); font-size: 16px; line-height: 1.65; margin: 0; }
.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 18px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.about__values h4 { font-size: 13px; letter-spacing: 0.04em; color: var(--brand-deep); margin-bottom: 6px; }
.about__values p { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* ============================================================================
   Serviços
   ============================================================================ */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services { grid-template-columns: repeat(3, 1fr); } }

.service {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  min-height: 380px;
  display: flex; flex-direction: column; justify-content: end;
  padding: 28px;
  color: #fff;
  background-size: cover; background-position: center;
  transition: transform .35s var(--ease);
}
.service::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1,24,39,.0) 35%, rgba(1,24,39,.85) 100%);
  z-index: 1;
}
.service:hover { transform: translateY(-4px); }
.service > * { position: relative; z-index: 2; }
.service__tag {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
  background: rgba(0,160,217,.16);
  padding: 6px 12px; border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 14px;
}
.service h3 {
  color: #fff; font-size: 22px; letter-spacing: -0.015em;
  line-height: 1.2;
  /* linha invisível: reserva 2 linhas para o título alinhar entre os cards */
  min-height: 2.4em;
  display: flex; align-items: flex-end;
}
.service p {
  color: rgba(255,255,255,.85); font-size: 14px; margin: 8px 0 0; line-height: 1.5;
  /* reserva 4 linhas, com o texto ancorado embaixo */
  min-height: 6em;
  display: flex; align-items: flex-end;
}

.service--clinicos { background-image: linear-gradient(135deg, rgba(0,160,217,.2), rgba(1,24,39,.4)), url('imagens/servicos/analises-clinicas.jpg'); background-size: cover; background-position: center; }
.service--coleta { background-image: linear-gradient(135deg, rgba(0,160,217,.2), rgba(1,24,39,.4)), url('imagens/servicos/coleta-domiciliar.jpg'); background-size: cover; background-position: center; }
.service--empresarial { background-size: cover; background-position: center; background-image: linear-gradient(135deg, rgba(0,160,217,.2), rgba(1,24,39,.4)), url('imagens/servicos/empresarial.jpg'); }
.service--toxicologico { background-image: linear-gradient(135deg, rgba(0,160,217,.2), rgba(1,24,39,.4)), url('imagens/servicos/toxicologico.jpg'); background-size: cover; background-position: center; }
.service--genetica { background-size: cover; background-position: center; background-image: linear-gradient(135deg, rgba(0,160,217,.2), rgba(1,24,39,.4)), url('imagens/servicos/genetica.jpg'); }
.service--kids { background-size: cover; background-position: center; background-image: linear-gradient(135deg, rgba(0,160,217,.2), rgba(1,24,39,.4)), url('imagens/servicos/infantil.jpg'); }

/* ============================================================================
   Resultados — formulário com 3 modos
   ============================================================================ */
.results {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
@media (min-width: 980px) { .results { grid-template-columns: 1fr 1fr; } }
.results__copy { color: rgba(255,255,255,.75); }
.results__copy h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 18px; }
.results__copy h2 .em { color: var(--brand); }
.results__copy p { font-size: 16px; line-height: 1.6; margin: 0 0 20px; }
.results__hints { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 6px; }
.results__hint { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.results__hint b { color: #fff; }

.results__form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 36px);
  backdrop-filter: blur(8px);
}
.results__title { color: #fff; font-size: 20px; margin-bottom: 6px; }
.results__sub { color: rgba(255,255,255,.6); font-size: 14px; margin-bottom: 20px; }

.results__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(255,255,255,.06);
  padding: 6px;
  border-radius: 12px;
  margin-bottom: 22px;
}
.results__tab {
  padding: 10px 12px; border-radius: 8px;
  font-size: 13px; text-align: center;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.results__tab.is-active { background: var(--brand); color: #fff; font-weight: 500; box-shadow: 0 2px 6px rgba(0,160,217,.4); }
.results__field { margin-bottom: 14px; }
.results__field label {
  display: block; font-size: 12px;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.results__input {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
.results__input::placeholder { color: rgba(255,255,255,.4); }
.results__input:focus { border-color: var(--brand); background: rgba(0,160,217,.08); outline: none; }
.results__submit {
  width: 100%;
  padding: 15px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  margin-top: 8px;
  transition: background .2s, transform .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.results__submit svg { flex-shrink: 0; }
.results__submit:hover { background: var(--brand-hover); transform: translateY(-1px); }
.results__notice { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 14px; text-align: center; }

/* ============================================================================
   Informativos médicos — cards refinados
   ============================================================================ */
.informativos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) { .informativos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .informativos { grid-template-columns: repeat(3, 1fr); } }

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 0;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
  position: relative;
}
.info-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.info-card__cover {
  aspect-ratio: 4/5;
  background: var(--brand-deep);
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.info-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .5s var(--ease);
}
.info-card:hover .info-card__cover img { transform: scale(1.04); }
.info-card__cover::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1,24,39,.0) 50%, rgba(1,24,39,.7) 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.info-card:hover .info-card__cover::before { opacity: 1; }
.info-card__zoom-hint {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(255,255,255,.95);
  color: var(--brand-deep);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  opacity: 0;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  pointer-events: none;
}
.info-card:hover .info-card__zoom-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.info-card__num-overlay {
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.05em;
  background: rgba(1,24,39,.65);
  backdrop-filter: blur(6px);
  padding: 5px 11px;
  border-radius: 999px;
  z-index: 2;
}
.info-card__body {
  padding: 24px 26px 22px;
  display: flex; flex-direction: column;
  flex: 1;
}
.info-card__category {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
  font-weight: 500;
}
.info-card h3 {
  font-size: 18px; letter-spacing: -0.015em; line-height: 1.3;
  margin-bottom: 16px; color: var(--ink);
  /* linha invisível: reserva 2 linhas para o resumo começar sempre na mesma altura */
  min-height: 2.6em;
}
.info-card__excerpt {
  color: var(--ink-3); font-size: 14px;
  line-height: 1.5; margin-bottom: 16px;
}
.info-card .arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  color: var(--brand-deep);
  margin-top: auto;
}
.info-card:hover .arrow-link { color: var(--brand); }

/* ============================================================================
   Qualidade — selos reais + pilares
   ============================================================================ */
.quality {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
  margin-bottom: 64px;
}
@media (min-width: 980px) { .quality { grid-template-columns: 1fr 1.1fr; } }

.quality__seals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quality__seal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 24px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  aspect-ratio: 4/5;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quality__seal:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.quality__seal img { max-height: 60%; max-width: 80%; object-fit: contain; }
.quality__seal-label { text-align: center; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4; }
.quality__seal-label b { display: block; color: var(--brand-deep); font-weight: 600; font-size: 13px; margin-bottom: 2px; }

.quality__copy { display: flex; flex-direction: column; gap: 22px; max-width: 540px; }
.quality__copy h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.025em; line-height: 1.05; }
.quality__copy h2 .em { color: var(--brand); }
.quality__copy p { color: var(--ink-2); font-size: 16px; line-height: 1.65; margin: 0; }

.quality__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) { .quality__pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .quality__pillars { grid-template-columns: repeat(4, 1fr); } }

.pillar {
  padding: 32px 24px 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid; gap: 12px;
}
@media (min-width: 720px) { .pillar:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); } }
@media (min-width: 1080px) {
  .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
  .pillar:first-child { padding-left: 0; border-left: none; }
}
.pillar__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.pillar h3 { font-size: 17px; letter-spacing: -0.015em; line-height: 1.25; }
.pillar p { font-size: 14px; color: var(--ink-3); line-height: 1.55; margin: 0; }

/* ============================================================================
   Localização — mapa + horários
   ============================================================================ */
.location {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 980px) { .location { grid-template-columns: 1.2fr 1fr; } }
.location__map {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  min-height: 420px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.location__map iframe { width: 100%; height: 100%; border: 0; min-height: 420px; }
.location__info {
  background: var(--brand-darker);
  color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 40px);
  display: flex; flex-direction: column;
  background-image: radial-gradient(60% 60% at 100% 0%, rgba(0,160,217,.15) 0%, transparent 60%);
}
.location__info h3 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 6px; }
.location__info h3 .em { color: var(--brand); }
.location__lead { color: rgba(255,255,255,.65); margin-bottom: 28px; }
.location__list { display: grid; gap: 18px; }
.location__row { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.location__row svg { color: var(--brand); margin-top: 3px; }
.location__row b { display: block; color: #fff; font-weight: 500; margin-bottom: 2px; }
.location__row span { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.55; }
.location__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  background: var(--brand); color: #fff;
  border-radius: 999px; font-weight: 500;
  margin-top: 28px;
  align-self: flex-start;
}
.location__cta:hover { background: var(--brand-hover); }

/* ============================================================================
   Footer
   ============================================================================ */
.footer {
  background: var(--brand-darker);
  color: rgba(255,255,255,.6);
  padding: clamp(64px, 8vw, 96px) 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 48px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 720px) { .footer__top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

.footer__brand { display: flex; flex-direction: column; gap: 18px; max-width: 320px; }
.footer__logo-wrap {
  display: inline-block;
  align-self: flex-start;
  transition: transform .25s var(--ease), opacity .25s;
}
.footer__logo-wrap:hover { transform: translateY(-2px); opacity: .9; }
.footer__logo-wrap img {
  height: 52px;
  width: auto;
  display: block;
}
.footer__brand p { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.6; }
.footer__col h5 { color: #fff; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { font-size: 14px; transition: color .2s; }
.footer__col a:hover { color: var(--brand); }

.footer__bottom {
  margin-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.footer__bottom a { color: rgba(255,255,255,.7); }
.footer__bottom a:hover { color: var(--brand); }

/* WhatsApp flutuante */
.whatsapp-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--success); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,173,87,.4);
  z-index: 100;
  transition: transform .25s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 30px; height: 30px; }

/* ============================================================================
   Página SOBRE — timeline, equipe, estrutura, TEA
   ============================================================================ */
.timeline { position: relative; max-width: 820px; }
.timeline::before {
  content: ""; position: absolute;
  top: 8px; bottom: 8px; left: 19px;
  width: 2px; background: var(--line);
}
.timeline__item { position: relative; padding-left: 60px; padding-bottom: 48px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: 12px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--brand), 0 0 0 6px rgba(0,160,217,.12);
}
.timeline__year {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--brand);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.timeline__item h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
.timeline__item p { color: var(--ink-3); margin: 0; line-height: 1.6; }

/* Equipe / valores */
.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .values { grid-template-columns: repeat(3, 1fr); } }

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 32px 28px;
  display: grid; gap: 14px;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  transition: border-color .25s, transform .25s var(--ease);
}
.value-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.value-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.value-card h3 { font-size: 19px; letter-spacing: -0.015em; }
.value-card p { color: var(--ink-3); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* Galeria estrutura — mosaico moderno com 6 fotos */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
  }
}

.gallery__item {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--brand-soft);
  position: relative;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-1);
}
@media (min-width: 720px) {
  .gallery__item { aspect-ratio: auto; }
  /* Layout mosaico assimétrico — 6 fotos */
  .gallery__item:nth-child(1) { grid-column: span 4; grid-row: span 2; }   /* hero grande */
  .gallery__item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .gallery__item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
  .gallery__item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
  .gallery__item:nth-child(5) { grid-column: span 2; grid-row: span 1; }
  .gallery__item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
}

.gallery__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
  display: block;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(1,24,39,.85) 100%);
  color: #fff;
  font-size: 13px;
  letter-spacing: -0.005em;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.gallery__item:hover .gallery__item__caption {
  opacity: 1;
  transform: translateY(0);
}
.gallery__item__caption b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 4px;
}

/* TEA bloco */
.tea {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-darker) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.tea::before {
  content: "";
  position: absolute; right: -10%; top: -20%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0,160,217,.18) 0%, transparent 60%);
}
@media (min-width: 980px) { .tea { grid-template-columns: 1.1fr .9fr; } }
.tea > * { position: relative; z-index: 1; }
.tea__content { display: flex; flex-direction: column; gap: 22px; max-width: 540px; }
.tea__content h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; line-height: 1.1; }
.tea__content h2 .em { color: var(--brand); }
.tea__content p { color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.6; margin: 0; }
.tea__pillars { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 6px; }
.tea__pillar { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.tea__pillar svg { color: var(--brand); margin-top: 3px; }
.tea__pillar b { color: #fff; font-weight: 500; }
.tea__pillar span { color: rgba(255,255,255,.7); font-size: 14px; }

.tea__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-l);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,160,217,.15), rgba(1,24,39,.35)),
    url('videos/tea-poster.jpg') center/cover;
  cursor: pointer;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
  box-shadow: var(--shadow-3);
}
.tea__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(1,24,39,.45) 100%);
  pointer-events: none;
}
.tea__visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.tea__visual.is-playing::after { display: none; }
.tea__visual.is-playing .tea__play { display: none; }
.tea__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--brand-deep);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.tea__play svg { margin-left: 4px; }
.tea__visual:hover .tea__play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 14px rgba(255,255,255,.12), 0 8px 24px rgba(0,0,0,.3); }

/* ============================================================================
   Página EXAMES — busca funcional
   ============================================================================ */
.exam-page {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  margin-top: 32px;
}
@media (min-width: 980px) { .exam-page { grid-template-columns: 280px 1fr; gap: 40px; } }

.exam-filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px;
  position: sticky; top: 100px;
  height: fit-content;
}
.exam-filters h3 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 14px; color: var(--brand-deep); }
.exam-filters__alphabet {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 24px;
}
.exam-filters__letter {
  aspect-ratio: 1;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  background: var(--bg-soft);
  border-radius: 6px;
  color: var(--ink-3);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.exam-filters__letter:hover { background: var(--brand-soft); color: var(--brand-deep); }
.exam-filters__letter.is-active { background: var(--brand); color: #fff; }
.exam-filters__letter:disabled { opacity: .3; cursor: default; }

.exam-filters__list { display: grid; gap: 6px; }
.exam-filters__chip {
  text-align: left;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
  cursor: pointer;
}
.exam-filters__chip:hover { background: var(--bg-soft); }
.exam-filters__chip.is-active { background: var(--brand-soft); color: var(--brand-deep); border-color: var(--brand); }

.exam-results {
  display: grid;
  gap: 20px;
}
.exam-results__head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 12px; margin-bottom: 6px;
  flex-wrap: wrap;
}
.exam-results__count { font-size: 14px; color: var(--ink-3); }
.exam-results__count b { color: var(--brand-deep); font-weight: 600; }
.exam-results__sort {
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.exam-list { display: grid; gap: 10px; }
.exam-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.exam-item:hover { border-color: var(--brand); box-shadow: var(--shadow-1); transform: translateX(2px); }
.exam-item__title { font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; flex: 1; }
.exam-item__arrow { color: var(--brand); }
.exam-item.is-open { background: var(--brand-soft); border-color: var(--brand); }
.exam-item__details {
  display: none;
  width: 100%;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(0,160,217,.2);
}
.exam-item.is-open .exam-item__details { display: block; }
.exam-item.is-open { flex-direction: column; align-items: stretch; }
.exam-item__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,160,217,.1);
  font-size: 14px;
}
.exam-item__row:last-child { border-bottom: 0; }
.exam-item__row b {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-deep);
  font-weight: 600;
}
.exam-item__row span { color: var(--ink-2); line-height: 1.55; }

.exam-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-3);
  background: var(--bg-soft);
  border-radius: var(--radius-m);
}
.exam-empty svg { color: var(--ink-4); margin: 0 auto 16px; }

/* ============================================================================
   Forms — pesquisa de satisfação, contato, denúncia
   ============================================================================ */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 60px);
}
@media (min-width: 980px) { .form-wrap { grid-template-columns: 1fr 1.3fr; } }

.form-aside {
  display: flex; flex-direction: column;
  gap: 20px;
  position: sticky; top: 110px; height: fit-content;
}
.form-aside h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.025em; line-height: 1.1; }
.form-aside h2 .em { color: var(--brand); }
.form-aside p { color: var(--ink-3); font-size: 15.5px; line-height: 1.6; margin: 0; }
.form-aside__items { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); margin-top: 6px; }
.form-aside__item { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.form-aside__item svg { color: var(--brand); margin-top: 3px; }
.form-aside__item b { color: var(--ink); display: block; }
.form-aside__item span { color: var(--ink-3); font-size: 14px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-1);
}
.form-card h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
.form-card__sub { color: var(--ink-3); font-size: 14px; margin-bottom: 28px; }

.field { margin-bottom: 22px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .field--row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.field label .req { color: var(--accent); margin-left: 2px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-size: 15px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,160,217,.12);
}
.field__hint { font-size: 12px; color: var(--ink-3); margin-top: 6px; }

/* Rating de pesquisa de satisfação */
.rating { display: flex; gap: 8px; margin-top: 8px; }
.rating input { display: none; }
.rating label {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  transition: all .2s;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.rating label:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); }
.rating input:checked + label {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,160,217,.3);
}

/* Checkbox custom */
.check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  cursor: pointer;
}
.check input { margin-top: 4px; accent-color: var(--brand); }

.form-card__submit { display: flex; justify-content: flex-end; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.form-card__notice {
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 24px;
}

/* Denúncia — caixa de aviso forte */
.alert-box {
  background: linear-gradient(135deg, var(--accent-soft), #fff);
  border: 1px solid #ffd2c2;
  border-radius: var(--radius-m);
  padding: 22px;
  margin-bottom: 28px;
  display: grid; grid-template-columns: 32px 1fr; gap: 14px;
}
.alert-box svg { color: var(--accent); margin-top: 2px; }
.alert-box h4 { font-size: 15px; letter-spacing: -0.01em; margin-bottom: 6px; color: var(--ink); }
.alert-box p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; }

/* ============================================================================
   Results Quick — bloco de acesso rápido a resultados na home
   ============================================================================ */
.results-quick {
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand-deep) 100%);
  color: #fff;
  padding: clamp(48px, 7vw, 88px) 0;
  position: relative;
  overflow: hidden;
}
.results-quick::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% 50%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0,160,217,.18) 0%, transparent 60%);
  pointer-events: none;
}
.results-quick__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  position: relative; z-index: 1;
}
@media (min-width: 980px) {
  .results-quick__grid { grid-template-columns: 1fr 1fr; }
}
.results-quick__copy h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 18px 0 14px;
  color: #fff;
}
.results-quick__copy h2 .em { color: var(--brand); }
.results-quick__copy p {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 480px;
}
.results-quick__hints {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 540px) {
  .results-quick__hints { grid-template-columns: 1fr 1fr; }
}
.results-quick__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.results-quick__hint svg { color: var(--brand); flex-shrink: 0; }

.results-quick__form-wrap {
  display: flex;
  justify-content: flex-end;
}
.results-quick__form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 36px);
  backdrop-filter: blur(8px);
  width: 100%;
  max-width: 480px;
}
.results-quick__help {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.results-quick__help a {
  color: var(--brand);
  transition: color .2s;
}
.results-quick__help a:hover { color: #fff; text-decoration: underline; }
.results-quick__help span { color: rgba(255,255,255,.3); }

/* ============================================================================
   Página SERVIÇOS — detalhamento de cada serviço
   ============================================================================ */
.service-detail {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: 0; }
.service-detail h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 12px 0 14px;
  scroll-margin-top: 100px;
}
.service-detail > p {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 760px;
}
.service-detail__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 760px) { .service-detail__cols { grid-template-columns: 1fr 1fr; gap: 48px; } }
.service-detail__cols h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 14px;
  font-weight: 600;
}
.service-detail__cols ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}
.service-detail__cols li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
}
.service-detail__cols li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.service-detail__cols li strong { color: var(--ink); font-weight: 600; }

/* ============================================================================
   Página CONTATO — formulário e mapa
   ============================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
}
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.1fr 1fr; } }
.contact-info {
  background: var(--brand-darker);
  color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 44px);
}
.contact-info h3 { color: #fff; font-size: 22px; letter-spacing: -0.015em; margin-bottom: 18px; }
.contact-info__list { display: grid; gap: 18px; margin-bottom: 28px; }
.contact-info__item { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; font-size: 14.5px; }
.contact-info__item svg { color: var(--brand); margin-top: 3px; }
.contact-info__item b { color: #fff; display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 5px; font-weight: 600; }
.contact-info__item span { color: rgba(255,255,255,.8); line-height: 1.55; }
.contact-info__item a { color: rgba(255,255,255,.85); transition: color .2s; }
.contact-info__item a:hover { color: var(--brand); }
.contact-info__map {
  margin-top: 8px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: rgba(0,0,0,.3);
}
.contact-info__map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 40px);
}
.contact-form h3 { font-size: 22px; letter-spacing: -0.015em; margin-bottom: 8px; }
.contact-form p { color: var(--ink-3); font-size: 14px; margin-bottom: 24px; }
.contact-form__field { margin-bottom: 16px; }
.contact-form__field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.contact-form__field input,
.contact-form__field textarea,
.contact-form__field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus,
.contact-form__field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,160,217,.12);
}
.contact-form__field textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 540px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__submit {
  width: 100%;
  padding: 14px;
  background: var(--brand-deep);
  color: #fff;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s, transform .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.contact-form__submit:hover { background: var(--brand); transform: translateY(-1px); }
.contact-form__notice { font-size: 12px; color: var(--ink-3); margin-top: 14px; text-align: center; line-height: 1.5; }
.contact-form__notice a { color: var(--brand-deep); text-decoration: underline; }

/* ============================================================================
   Lightbox compartilhado — galeria de estrutura + capas dos informativos
   ============================================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 20px;
}
.lightbox.is-open { display: flex; }
.lightbox__overlay {
  position: absolute; inset: 0;
  background: rgba(1, 24, 39, .94);
  backdrop-filter: blur(8px);
  cursor: pointer;
  animation: lbFadeIn .25s var(--ease) both;
}
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbScaleIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.lightbox__img {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-3);
  animation: lbScaleIn .3s var(--ease) both;
  z-index: 1;
}
.lightbox__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background .2s;
  border: 0;
}
.lightbox__close:hover { background: rgba(255,255,255,.22); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background .2s;
  border: 0;
}
.lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: 13px;
  letter-spacing: 0.04em;
  z-index: 2;
}
.lightbox__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.85);
  font-size: 14px;
  z-index: 2;
  text-align: center;
  max-width: 80%;
}

/* Botões dentro do info-card body */
.info-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}
.info-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--line);
  color: var(--brand-deep);
  background: #fff;
  transition: background .2s, border-color .2s, color .2s;
  cursor: pointer;
}
.info-card__btn:hover { background: var(--brand-soft); border-color: var(--brand); }
.info-card__btn--primary {
  background: var(--brand-deep);
  color: #fff;
  border-color: var(--brand-deep);
}
.info-card__btn--primary:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.info-card__btn svg { flex-shrink: 0; }

/* ============================================================================
   Modal de exame (lateral slide-in)
   ============================================================================ */
.modal { display: none; position: fixed; inset: 0; z-index: 200; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(1,24,39,.5); backdrop-filter: blur(4px); }
.modal__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(560px, 100vw);
  background: #fff;
  padding: 32px;
  overflow-y: auto;
  animation: slideIn .35s var(--ease) both;
  box-shadow: var(--shadow-3);
}
@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* ============================================================================
   Página POLÍTICA DE PRIVACIDADE — leitura longa, sumário lateral
   ============================================================================ */
.legal-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 980px) { .legal-wrap { grid-template-columns: 260px 1fr; } }

.legal-toc {
  position: sticky;
  top: 110px;
  height: fit-content;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px;
}
.legal-toc h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 16px;
  font-weight: 600;
}
.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
  display: grid;
  gap: 6px;
}
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.4;
  transition: background .2s, color .2s;
  position: relative;
  padding-left: 36px;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--brand);
}
.legal-toc a:hover, .legal-toc a.is-active {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.legal-content {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}
.legal-content h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 56px;
  margin-bottom: 16px;
  color: var(--brand-darker);
  scroll-margin-top: 100px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h2::before {
  content: counter(legal-section, decimal-leading-zero);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--brand);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.legal-content { counter-reset: legal-section; }
.legal-content h2 { counter-increment: legal-section; }
.legal-content h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--brand-deep);
}
.legal-content p { margin: 0 0 16px; }
.legal-content ul, .legal-content ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content a {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--brand); }

.legal-meta {
  margin-top: 8px;
  padding: 18px 22px;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 32px;
}
.legal-meta b { color: var(--brand-deep); }

.legal-rights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 24px 0 28px;
}
@media (min-width: 640px) { .legal-rights { grid-template-columns: 1fr 1fr; } }
.legal-rights__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.legal-rights__item svg { color: var(--brand); margin-top: 3px; }
.legal-rights__item b { color: var(--ink); display: block; margin-bottom: 4px; font-size: 14.5px; }
.legal-rights__item span { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

.legal-contact-box {
  background: var(--brand-darker);
  color: #fff;
  border-radius: var(--radius-m);
  padding: 28px 32px;
  margin: 32px 0;
}
.legal-contact-box h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.legal-contact-box p { color: rgba(255,255,255,.75); margin: 0 0 18px; font-size: 14.5px; }
.legal-contact-box .legal-contact-rows {
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.legal-contact-box .legal-contact-rows a { color: var(--brand); text-decoration: none; }
.legal-contact-box .legal-contact-rows a:hover { text-decoration: underline; }

/* ============================================================================
   Utilities
   ============================================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-32 { margin-top: 32px; }

/* ============================================================================
   MOBILE — Revisão completa para celular (≤ 720px)
   ============================================================================ */
@media (max-width: 720px) {

  /* Gutter menor + tipografia mais confortável em mobile */
  :root { --gutter: 16px; }
  body { font-size: 15px; line-height: 1.55; }

  /* Sections — espaçamento mais enxuto */
  .section { padding: 56px 0; }

  /* ---------- TOPBAR — oculto no mobile (mais limpo) ---------- */
  .topbar { display: none; }

  /* ---------- HEADER mais compacto ---------- */
  .header__inner { min-height: 56px; gap: 10px; }
  .brand { gap: 10px; }
  .brand img { height: 30px; }
  .brand__sub { display: none; }
  .menu-toggle { width: 40px; height: 40px; border-radius: 10px; }

  /* ---------- HERO SLIDER — mais respiração ---------- */
  .hero { padding: 28px 0 32px; }
  .hero__slider { min-height: auto; }
  .hero__grid { gap: 28px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: 0.16em; }
  .hero h1, .hero .hero__title {
    font-size: clamp(26px, 7.6vw, 36px);
    letter-spacing: -0.015em;
    line-height: 1.12;
  }
  .hero h1 .em, .hero .hero__title .em { display: block; }
  .hero__content { gap: 22px; }
  .hero__lead {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-2);
  }
  /* Botões EMPILHADOS no mobile (mais legível que lado a lado) */
  .hero__ctas {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    font-size: 14.5px;
  }
  /* Stats com mais respiração */
  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 24px;
    margin-top: 4px;
  }
  .hero__stat .num { font-size: 24px; }
  .hero__stat .lbl { font-size: 11px; letter-spacing: 0.02em; margin-top: 4px; }
  .hero__visual {
    width: 100%;
    height: auto;
    aspect-ratio: 16/11;
    max-height: 260px;
    min-height: 0;
    margin: 4px 0 0;
  }
  /* Chips: menores e dentro da área visível */
  .hero__chip { padding: 10px 14px; gap: 10px; border-radius: 14px; }
  .hero__chip strong { font-size: 13px; }
  .hero__chip span { font-size: 11.5px; }
  .hero__chip svg { width: 18px; height: 18px; }
  .hero__chip--top { top: 12px; left: 8px; }
  .hero__chip--bottom { bottom: 16px; right: 8px; }
  /* Slider controles: setas escondidas, dots embaixo */
  .hero__controls { display: none; }
  .hero__dots {
    position: relative;
    left: auto;
    transform: none;
    bottom: auto;
    justify-content: center;
    margin-top: 24px;
  }
  .hero__dot { width: 28px; height: 4px; }
  .hero__dot.is-active { width: 40px; }

  /* ---------- PAGE HERO ---------- */
  .page-hero { padding: 36px 0 28px; }
  .page-hero__crumbs { margin-bottom: 14px; font-size: 12px; }
  .page-hero h1 {
    font-size: clamp(26px, 7.5vw, 36px);
    letter-spacing: -0.015em;
    line-height: 1.1;
    margin-bottom: 14px;
  }
  .page-hero p { font-size: 15px; line-height: 1.55; }

  /* ---------- SECTION HEAD ---------- */
  .section__head h2 { font-size: clamp(24px, 6.5vw, 32px); letter-spacing: -0.015em; }
  .section__head p { font-size: 15px; }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* ---------- ACESSO A RESULTADOS (results-quick) ---------- */
  .results-quick { padding: 44px 0; }
  .results-quick__grid { gap: 28px; }
  .results-quick__copy h2 { font-size: clamp(24px, 6.8vw, 32px); }
  .results-quick__copy p { font-size: 15px; }
  .results-quick__hints { grid-template-columns: 1fr; gap: 10px; padding-top: 16px; }
  .results-quick__form-wrap { justify-content: stretch; }
  .results-quick__form { padding: 20px; max-width: none; }
  .results-quick__help { font-size: 12px; gap: 6px; }

  /* Tabs do form de resultados */
  .results__tabs { gap: 4px; padding: 4px; margin-bottom: 16px; }
  .results__tab { font-size: 12px; padding: 9px 6px; }
  .results__input { padding: 12px 14px; font-size: 15px; }
  .results__submit { padding: 14px; font-size: 15px; }

  /* ---------- BUSCADOR DE EXAMES ---------- */
  .exam-search { margin-top: -28px; padding-bottom: 36px; }
  .exam-search__card { padding: 24px 20px; border-radius: var(--radius-m); }
  .exam-search__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .exam-search h2 { font-size: 22px; }
  .exam-search__count { font-size: 12px; }
  .exam-search__form { flex-direction: column; gap: 8px; }
  .exam-search__input { padding: 12px 14px; font-size: 15px; }
  .exam-search__btn { width: 100%; padding: 12px; justify-content: center; }
  .exam-search__chips { gap: 6px; }
  .exam-search__chip { padding: 6px 12px; font-size: 12px; }

  /* ---------- ACESSO RÁPIDO (cards) ---------- */
  .access__card { padding: 22px; min-height: auto; }
  .access__card h3 { font-size: 17px; }
  .access__icon { width: 44px; height: 44px; }

  /* ---------- DIFERENCIAIS — padding limpo ---------- */
  .diff__item { padding: 22px 0; }

  /* ---------- SOBRE ---------- */
  .about { gap: 28px; }
  .about__img { aspect-ratio: 16/11; max-height: 260px; }

  /* ---------- SERVIÇOS (cards) ---------- */
  .service { min-height: 280px; padding: 24px; }
  .service h3 { font-size: 20px; }
  .service p { font-size: 13.5px; }
  .service__tag { padding: 5px 10px; font-size: 10.5px; }

  /* ---------- INFORMATIVOS ---------- */
  .info-card__cover { aspect-ratio: 3/4; }
  .info-card__body { padding: 20px; }
  .info-card h3 { font-size: 17px; }
  .info-card__num-overlay { top: 10px; right: 12px; font-size: 12px; padding: 4px 9px; }

  /* ---------- TEA bloco ---------- */
  .tea {
    border-radius: var(--radius-l);
    padding: 32px 24px;
    gap: 28px;
  }
  .tea h2 { font-size: clamp(24px, 7vw, 32px); }
  .tea__visual { aspect-ratio: 16/11; max-height: 260px; }
  .tea__play { width: 64px; height: 64px; }
  .tea__pillars { gap: 12px; }
  .tea__pillar { font-size: 14px; }

  /* ---------- GALERIA mosaico em 2 colunas ---------- */
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 120px;
    gap: 8px;
  }
  .gallery__item { aspect-ratio: auto; border-radius: 10px; }
  .gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery__item:nth-child(2),
  .gallery__item:nth-child(3),
  .gallery__item:nth-child(4),
  .gallery__item:nth-child(5),
  .gallery__item:nth-child(6) { grid-column: span 1; grid-row: span 1; }
  .gallery__item__caption { opacity: 1; transform: none; padding: 12px 14px 10px; font-size: 11.5px; }
  .gallery__item__caption b { font-size: 9.5px; letter-spacing: 0.1em; margin-bottom: 2px; }

  /* ---------- QUALIDADE ---------- */
  .quality__pillars { gap: 20px; }
  .pillar { padding: 22px 0; }

  /* ---------- LOCALIZAÇÃO ---------- */
  .location { gap: 24px; }
  .location__map { aspect-ratio: 16/12; min-height: 240px; }

  /* ---------- BOTÕES — em mobile ficam um pouco menores ---------- */
  .btn { padding: 12px 18px; font-size: 14.5px; }
  .btn--large { padding: 15px 22px; font-size: 15px; }
  .btn--small { padding: 9px 14px; font-size: 13px; }

  /* ---------- FOOTER ---------- */
  .footer { padding: 56px 0 32px; }
  .footer__top { gap: 28px; padding-bottom: 32px; }
  .footer__brand { max-width: none; gap: 14px; }
  .footer__col h5 { margin-bottom: 12px; }
  .footer__col ul { gap: 8px; }
  .footer__col a { font-size: 13.5px; }
  .footer__bottom {
    margin-top: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
  }

  /* ---------- WHATSAPP FAB menor ---------- */
  .whatsapp-fab {
    width: 52px; height: 52px;
    bottom: 16px; right: 16px;
    box-shadow: 0 6px 16px rgba(0,173,87,.35);
  }
  .whatsapp-fab svg { width: 24px; height: 24px; }

  /* ---------- MODAL DE EXAME vira bottom sheet ---------- */
  .modal__panel {
    top: auto;
    right: 0; left: 0;
    bottom: 0;
    width: 100%;
    max-height: 88vh;
    border-radius: 18px 18px 0 0;
    padding: 24px 20px 32px;
    animation: slideUp .35s var(--ease) both;
  }
  .modal__panel::before {
    content: "";
    display: block;
    width: 44px; height: 4px;
    background: var(--line);
    border-radius: 2px;
    margin: 0 auto 18px;
  }
  @keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

  /* ---------- PÁGINA EXAMES ---------- */
  .exam-page { gap: 24px; margin-top: 16px; }
  .exam-filters {
    position: static;
    padding: 18px 20px;
    border-radius: var(--radius-m);
  }

  /* ---------- POLÍTICA DE PRIVACIDADE ---------- */
  .legal-wrap { gap: 24px; }
  .legal-toc {
    position: static;
    padding: 18px 20px;
  }
  .legal-toc h4 { margin-bottom: 10px; }
  .legal-content { font-size: 15px; }
  .legal-content h2 {
    font-size: clamp(20px, 5.8vw, 24px);
    margin-top: 40px;
    grid-template-columns: auto 1fr;
    gap: 10px;
  }
  .legal-content h2::before { font-size: 18px; }
  .legal-rights { grid-template-columns: 1fr; }

  /* ---------- CONTATO ---------- */
  .contact-grid { gap: 24px; }
  .contact-info { padding: 24px; }
  .contact-info__map { aspect-ratio: 16/12; }
  .contact-form { padding: 24px; }
  .contact-form__row { grid-template-columns: 1fr; gap: 14px; }

  /* ---------- LIGHTBOX ---------- */
  .lightbox { padding: 50px 12px 60px; }
  .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__counter { font-size: 12px; bottom: 16px; }

  /* ---------- FORM-WRAP (pesquisa / denúncia) ---------- */
  .form-wrap { gap: 24px; }
  .form-aside { position: static; gap: 14px; }

  /* ---------- SERVICE DETAIL ---------- */
  .service-detail { padding: 32px 0; }
  .service-detail h2 { font-size: clamp(22px, 6vw, 30px); margin-bottom: 10px; }
  .service-detail > p { font-size: 15px; margin-bottom: 22px; }
  .service-detail__cols { gap: 24px; }

  /* Header sticky com blur mais leve em mobile (performance) */
  .header { backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px); }
}

/* ============================================================================
   MOBILE PEQUENO — iPhone SE etc (≤ 480px)
   ============================================================================ */
@media (max-width: 480px) {
  .section { padding: 44px 0; }

  .hero h1, .hero .hero__title { font-size: 26px; }
  .hero__stats { gap: 6px; }
  .hero__stat .num { font-size: 20px; }
  .hero__stat .lbl { font-size: 10.5px; }
  .hero__visual { aspect-ratio: 16/10; max-height: 220px; }

  .page-hero { padding: 28px 0 24px; }
  .page-hero h1 { font-size: 24px; }
  .page-hero p { font-size: 14.5px; }

  .results__tab { font-size: 11px; padding: 8px 4px; line-height: 1.2; }

  /* CTAs principais do hero ficam full-width em telinhas */
  .hero__ctas .btn,
  .results-quick__form .results__submit { width: 100%; flex: 1 1 100%; }

  .service { min-height: 240px; padding: 20px; }
  .service h3 { font-size: 18px; }

  .gallery { grid-auto-rows: 150px; }
  .gallery__item:nth-child(1) { grid-row: span 1; aspect-ratio: 16/10; }

  .mobile-menu { padding: 20px 18px; }
  .mobile-menu__nav a { font-size: 17px; padding: 14px 0; }

  .tea { padding: 28px 20px; }
  .tea__visual { aspect-ratio: 16/12; max-height: 240px; }
  .tea__play { width: 56px; height: 56px; }
  .tea__play svg { width: 24px; height: 24px; }
}

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

/* ===== SEÇÃO PARCEIRO DO MÉDICO / ACOLHIMENTO (home) ===== */
.partner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.partner__content { display: flex; flex-direction: column; gap: 16px; }
.partner__content h2 { margin: 0; }
.partner__content > p { color: var(--ink-2); line-height: 1.7; margin: 0; }
.partner__points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0 6px;
}
.partner__point { display: flex; gap: 14px; align-items: flex-start; }
.partner__point-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(0,160,217,.1);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.partner__point div { display: flex; flex-direction: column; gap: 2px; }
.partner__point strong { color: var(--brand-deep); font-size: 15px; }
.partner__point span { color: var(--ink-2); font-size: 14px; line-height: 1.5; }

.partner__aside { display: flex; justify-content: center; }
.partner__quote {
  position: relative;
  background: linear-gradient(150deg, var(--brand-deep), #0b3d5a);
  color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(32px, 4vw, 44px);
  box-shadow: var(--shadow-3, 0 20px 50px rgba(6,37,56,.25));
  overflow: hidden;
}
.partner__quote::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,160,217,.35), transparent 70%);
  pointer-events: none;
}
.partner__quote-mark { color: rgba(0,160,217,.5); margin-bottom: 12px; }
.partner__quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.45;
  margin: 0 0 18px;
  position: relative;
  z-index: 1;
}
.partner__quote-author {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #8ecdec;
  position: relative;
  z-index: 1;
}
@media (max-width: 860px) {
  .partner { grid-template-columns: 1fr; }
  .partner__aside { order: -1; }
}

/* ===== UPLOAD DE ARQUIVO (Trabalhe Conosco) ===== */
.file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 20px;
  border: 2px dashed var(--line);
  border-radius: 14px;
  background: #fafcfe;
  color: var(--ink-2);
  cursor: pointer;
  text-align: center;
  transition: border-color .2s, background .2s, color .2s;
}
.file-drop svg { color: var(--brand); }
.file-drop:hover, .file-drop.is-dragover {
  border-color: var(--brand);
  background: rgba(0,160,217,.06);
}
.file-drop__text { font-weight: 600; font-size: 15px; word-break: break-all; }
.file-drop__hint { font-size: 12.5px; color: var(--ink-3); }
.file-drop.has-file {
  border-style: solid;
  border-color: var(--brand);
  background: rgba(0,160,217,.08);
}
.file-drop.has-file svg { color: #1a9c53; }

/* ===== QUADRINHO TEA (página tea.html) ===== */
.tea-comic {
  margin-top: 56px;
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1, 0 8px 24px rgba(6,37,56,.06));
}
.tea-comic__intro {
  max-width: 620px;
  margin: 0 auto 28px;
  text-align: center;
}
.tea-comic__intro .eyebrow { justify-content: center; }
.tea-comic__intro h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
}
.tea-comic__intro h3 .em { color: var(--brand); font-family: var(--font-serif); font-style: italic; }
.tea-comic__intro p { color: var(--ink-2); line-height: 1.65; margin: 0; }
.tea-comic__figure { margin: 0; text-align: center; }
.tea-comic__figure img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 620px;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(6,37,56,.12);
}
.tea-comic__figure figcaption {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 14px;
  font-style: italic;
}

/* ===== EXPLORE TAMBÉM (sobre.html) ===== */
.explore-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.explore-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.explore-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(6,37,56,.1);
  border-color: var(--brand);
}
.explore-card__icon {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(0,160,217,.1);
  color: var(--brand);
  margin-bottom: 4px;
}
.explore-card h3 { font-size: 19px; letter-spacing: -0.015em; margin: 0; }
.explore-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin: 0; flex-grow: 1; }
.explore-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 14.5px;
  margin-top: 4px;
}
.explore-card:hover .explore-card__link svg { transform: translateX(3px); }
.explore-card__link svg { transition: transform .2s; }

/* ===== GRADE DE SETORES (sobre.html) — 4+4 ===== */
@media (max-width: 900px) {
  .setores-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .setores-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   ACESSIBILIDADE
   ============================================================ */

/* Skip link — pular direto ao conteúdo */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--brand-darker);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* Foco visível consistente em toda navegação por teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Botão flutuante de acessibilidade */

/* Painel de acessibilidade */

.a11y-group { margin-bottom: 14px; }
.a11y-group__label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.a11y-btns { display: flex; gap: 7px; }
.a11y-btn {
  flex: 1;
  padding: 9px 6px;
  border: 1px solid rgba(6,37,56,.18);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-darker);
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
.a11y-btn:hover { background: rgba(0,160,217,.08); border-color: var(--brand); }
.a11y-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Alto contraste */

/* Respeitar quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 720px) {
  
  
  
}

/* ==========================================================================
   ACESSIBILIDADE — widget e preferências do usuário
   ========================================================================== */
:root { --a11y-escala: 1; }

html.a11y-fonte body { font-size: calc(16px * var(--a11y-escala)); }
html.a11y-fonte h1, html.a11y-fonte h2, html.a11y-fonte h3,
html.a11y-fonte h4, html.a11y-fonte p, html.a11y-fonte li,
html.a11y-fonte a, html.a11y-fonte span, html.a11y-fonte label,
html.a11y-fonte button, html.a11y-fonte input, html.a11y-fonte td, html.a11y-fonte th {
  font-size: calc(1em * var(--a11y-escala));
}

html.a11y-links a:not(.btn) {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 600;
}

html.a11y-sem-animacao *,
html.a11y-sem-animacao *::before,
html.a11y-sem-animacao *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
  scroll-behavior: auto !important;
}

/* Alto contraste */
html.a11y-contraste body { background: #fff; }
html.a11y-contraste p, html.a11y-contraste li, html.a11y-contraste span,
html.a11y-contraste h1, html.a11y-contraste h2, html.a11y-contraste h3, html.a11y-contraste h4 {
  color: #000 !important;
}
html.a11y-contraste .section--soft, html.a11y-contraste .section { background: #fff !important; }
html.a11y-contraste a:not(.btn) { color: #00407a !important; text-decoration: underline !important; }
html.a11y-contraste .btn--primary, html.a11y-contraste .btn--brand { background: #00263d !important; color: #fff !important; border-color: #00263d !important; }
html.a11y-contraste .card, html.a11y-contraste .legal-rights__item,
html.a11y-contraste .service-detail, html.a11y-contraste .hero__photo { border: 2px solid #000 !important; }
html.a11y-contraste .hero__photo img, html.a11y-contraste .service { filter: contrast(1.15) saturate(.85); }

/* Widget */
.a11y { position: fixed; left: 16px; bottom: 16px; z-index: 1200; font-family: inherit; }
.a11y__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-darker); color: #fff;
  border: 0; border-radius: 999px; padding: 11px 16px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  box-shadow: 0 6px 20px rgba(1,24,39,.28);
}
.a11y__btn:hover { background: #062538; }
.a11y__painel {
  position: absolute; bottom: calc(100% + 10px); left: 0;
  width: 260px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 14px; box-shadow: 0 18px 44px rgba(1,24,39,.18);
}
.a11y__topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y__topo strong { font-size: 14.5px; }
.a11y__fechar { background: none; border: 0; cursor: pointer; color: var(--ink-2); padding: 4px; line-height: 0; }
.a11y__linha { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 13.5px; }
.a11y__fonte { display: inline-flex; align-items: center; gap: 6px; }
.a11y__fonte button {
  width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: #f4f7f9; color: var(--ink);
  font-size: 13px; font-weight: 700;
}
.a11y__fonte em { font-style: normal; font-size: 12.5px; color: var(--ink-3); min-width: 44px; text-align: center; }
.a11y__opt, .a11y__reset {
  display: block; width: 100%; text-align: left; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 10px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 8px;
}
.a11y__opt.is-on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.a11y__reset { text-align: center; color: var(--ink-3); font-size: 13px; margin-bottom: 0; }
.a11y__opt:hover, .a11y__reset:hover { border-color: var(--brand); }

@media (max-width: 720px) {
  .a11y { left: 12px; bottom: 12px; }
  .a11y__btn { padding: 10px; }
  .a11y__btn-txt { display: none; }
  .a11y__painel { width: min(260px, calc(100vw - 32px)); }
}

/* ==========================================================================
   RESPONSIVIDADE — ajustes finos de harmonia e usabilidade
   ========================================================================== */

/* Faixa em que os títulos dos informativos chegam a 3 linhas */
@media (min-width: 961px) and (max-width: 1120px) {
  .info-card h3 { min-height: 3.9em; }
}

/* O resumo empurra o link para baixo, mantendo a base alinhada */
.info-card__excerpt { margin-bottom: 16px; }

/* Legibilidade: nenhuma etiqueta abaixo de 11px */
@media (max-width: 720px) {
  .service__tag { font-size: 11.5px; }
  .hero__stat .lbl { font-size: 11.5px; }
}

/* Área de toque confortável nos links de lista no mobile (WCAG 2.5.8) */
@media (max-width: 720px) {
  .footer__col ul a,
  .footer__bottom a {
    display: inline-block;
    padding: 6px 0;
    line-height: 1.4;
  }
  .footer__col ul li { margin-bottom: 2px; }
  .page-hero__crumbs a { display: inline-block; padding: 4px 0; }
  .legal-toc a { display: inline-block; padding: 5px 0; }
}

/* Pontos do slider: barra continua com 4px, mas a área de toque cresce para 24px */
.hero__dot {
  box-sizing: content-box;
  padding: 10px 4px;
  background-clip: content-box;
}
@media (max-width: 720px) {
  .hero__dots { margin-top: 8px; }
}

/* Links auxiliares do bloco de resultados: área de toque confortável */
@media (max-width: 720px) {
  .results-quick__help a { display: inline-block; padding: 5px 0; }
}
.hero__dot,
.hero__dot:hover,
.hero__dot.is-active { background-clip: content-box; }

/* ==========================================================================
   CONVÊNIOS ATENDIDOS (aba Serviços)
   ========================================================================== */
.convenios { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.convenios__intro h2 { margin: 10px 0 14px; }
.convenios__intro p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.convenios__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.convenios__grid li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 14px 16px; font-size: 14.5px; font-weight: 500; color: var(--ink);
  display: flex; align-items: center; gap: 10px; min-height: 56px;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .3s var(--ease);
}
.convenios__grid li:hover {
  border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-2);
}
.convenios__check {
  flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.convenios__grid li:hover .convenios__check { background: var(--brand); color: #fff; }

/* Contador + CTA na coluna de intro */
.convenios__meta { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.convenios__count {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--brand-softer);
  border-radius: var(--radius-m); align-self: flex-start;
}
.convenios__count strong {
  font-size: 34px; line-height: 1; color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
}
.convenios__count span { font-size: 13px; color: var(--ink-2); line-height: 1.25; }
.convenios__cta {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  padding: 12px 20px; border-radius: 999px;
  background: var(--success); color: #fff;
  font-size: 14px; font-weight: 600;
  transition: transform .2s var(--ease), background .2s, box-shadow .3s var(--ease);
}
.convenios__cta:hover { background: #009249; transform: translateY(-2px); box-shadow: var(--shadow-2); }
.convenios__grid li:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-1); }

@media (max-width: 900px) {
  .convenios { grid-template-columns: 1fr; gap: 28px; }
  .convenios__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .convenios__grid { grid-template-columns: 1fr; }
}
html.a11y-contraste .convenios__grid li { border: 2px solid #000 !important; }

/* ==========================================================================
   NAV — submenu "O BHC" e ícone do símbolo do espectro (TEA)
   ========================================================================== */
.nav__item { position: relative; display: inline-flex; align-items: center; }
.nav__item--has-sub { gap: 2px; }
.nav__toplink {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav__toplink:hover { color: var(--brand-deep); }
.nav__sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; padding: 4px;
  color: var(--ink-3); line-height: 0; border-radius: 6px;
  transition: transform .25s var(--ease), color .2s;
}
.nav__item--has-sub:hover .nav__sub-toggle,
.nav__sub-toggle[aria-expanded="true"] { color: var(--brand-deep); transform: rotate(180deg); }

.nav__submenu {
  position: absolute; top: calc(100% + 10px); left: -16px;
  min-width: 264px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-m); box-shadow: var(--shadow-2);
  padding: 8px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.nav__item--has-sub:hover .nav__submenu,
.nav__item--has-sub:focus-within .nav__submenu,
.nav__submenu.is-open {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s 0s;
}
/* faixa invisível que conecta o link ao submenu, evitando o "buraco" no hover */
.nav__item--has-sub::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px;
}
.nav__submenu a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  transition: background .18s, color .18s; white-space: nowrap;
}
.nav__submenu a:hover { background: var(--brand-softer); color: var(--brand-deep); }

/* Ícone do símbolo do espectro ao lado do "TEA" */
.nav__tea { display: inline-flex; align-items: center; gap: 6px; }
.nav__tea-icon { flex-shrink: 0; }

/* Mobile: sublinks recuados sob "O BHC" */
.mobile-menu__sub {
  padding-left: 22px !important;
  font-size: 14px !important;
  color: var(--ink-3) !important;
  position: relative;
}
.mobile-menu__sub::before {
  content: "—"; position: absolute; left: 4px; color: var(--line-2);
}


/* ==========================================================================
   AVISO EM POPUP (gerenciado pelo painel)
   ========================================================================== */
.bhc-aviso { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .22s ease; }
.bhc-aviso.is-open { opacity: 1; }
.bhc-aviso__backdrop { position: absolute; inset: 0; background: rgba(1, 24, 39, .62); backdrop-filter: blur(3px); }
.bhc-aviso__box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: translateY(14px) scale(.98); transition: transform .25s var(--ease, ease); }
.bhc-aviso.is-open .bhc-aviso__box { transform: none; }
.bhc-aviso__box::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--brand), var(--brand-deep)); }
.bhc-aviso__box.has-img::before { display: none; }
.bhc-aviso__img { display: block; width: 100%; height: auto; max-height: 60vh; object-fit: contain; background: var(--brand-softer, #f3fafd); }
.bhc-aviso__body { padding: 26px 28px 28px; }
.bhc-aviso__title { font-size: clamp(22px, 3vw, 28px); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); margin: 0 36px 12px 0; }
.bhc-aviso__box.has-img .bhc-aviso__title { margin-right: 0; }
.bhc-aviso__text { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin: 0; }
.bhc-aviso__btn { margin-top: 20px; }
.bhc-aviso__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.bhc-aviso__close:hover { background: var(--brand-soft, #e6f6fc); }
.bhc-aviso__close:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .bhc-aviso, .bhc-aviso__box { transition: none; } }

/* ==========================================================================
   AGENDAMENTO ONLINE (agendar.html)
   ========================================================================== */
.ag-num { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.ag-note { background: var(--brand-softer); border: 1px solid var(--brand-soft); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.ag-walink { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-weight: 600; }
.ag { min-height: 380px; }
.ag h3 { margin-top: 4px; }
.ag-loading, .ag-muted { color: var(--ink-3); font-size: 14px; }
.ag-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 24px; flex-wrap: wrap; }
.ag-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-4); padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--bg-soft); }
.ag-steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink-3); font-size: 12px; }
.ag-steps li.is-current { color: var(--brand-deep); background: var(--brand-soft); }
.ag-steps li.is-current span { background: var(--brand); color: #fff; }
.ag-steps li.is-done span { background: var(--success); color: #fff; }
.ag-svcs { display: grid; gap: 12px; }
.ag-svc { text-align: left; display: grid; gap: 4px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; font: inherit; color: inherit; }
.ag-svc:hover, .ag-svc:focus-visible { border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateY(-1px); outline: none; }
.ag-svc strong { font-size: 17px; color: var(--ink); }
.ag-svc span { color: var(--ink-3); font-size: 14px; }
.ag-svc em { font-style: normal; color: var(--brand); font-weight: 600; font-size: 13px; margin-top: 4px; }
.ag-back { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.ag-link { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; }
.ag-pill { background: var(--brand-soft); color: var(--brand-deep); padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.ag-cal { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 22px; }
.ag-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ag-cal__head strong { display: inline-block; }
.ag-cal__head strong::first-letter, .ag-summary span::first-letter { text-transform: uppercase; }
.ag-cal__nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; color: var(--brand-deep); }
.ag-cal__nav:disabled { opacity: .3; cursor: default; }
.ag-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.ag-cal__dow { text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-4); padding: 4px 0; }
.ag-day { aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; color: var(--ink-4); font: inherit; font-size: 14px; cursor: default; }
.ag-day.is-free { background: var(--brand-softer); color: var(--brand-deep); font-weight: 700; cursor: pointer; border: 1px solid var(--brand-soft); }
.ag-day.is-free:hover { background: var(--brand-soft); }
.ag-day.is-sel { background: var(--brand); color: #fff; border-color: var(--brand); }
.ag-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.ag-slot { padding: 12px 0; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-weight: 700; color: var(--brand-deep); cursor: pointer; font-variant-numeric: tabular-nums; }
.ag-slot:hover, .ag-slot:focus-visible { border-color: var(--brand); background: var(--brand-softer); outline: none; }
.ag-summary { display: grid; gap: 2px; background: var(--brand-softer); border-left: 4px solid var(--brand); border-radius: 10px; padding: 14px 18px; margin-bottom: 22px; }
.ag-summary strong { color: var(--ink); }
.ag-summary span { display: block; color: var(--ink-2); }
.ag-summary .ag-proto { font-size: 13px; color: var(--ink-3); }
.ag-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 6px 0 16px; cursor: pointer; }
.ag-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--brand); }
.ag-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ag-error { background: #fdecec; border: 1px solid #f3c4c4; color: #8e1c1c; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 12px; }
.ag-done { text-align: center; display: grid; gap: 10px; justify-items: center; }
.ag-done .ag-summary { text-align: left; width: 100%; }
.ag-done .form-card__submit { justify-content: center; }
.ag-done__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--success); color: #fff; font-size: 32px; display: grid; place-items: center; }
.ag-alt { display: inline-block; margin: 8px 0 0 12px; font-size: 14px; font-weight: 600; color: var(--success); }
.ag-sub { font-size: 16px; margin: 8px 0 12px; color: var(--ink); }
.ag-small { font-size: 13px; margin-top: 6px; }
.ag-addr[hidden] { display: none; }
.ag-row-city { grid-template-columns: 1fr 1fr 80px; }
@media (max-width: 640px) { .ag-row-city { grid-template-columns: 1fr; } }
.form-msg { border-radius: 10px; padding: 12px 14px; font-size: 14.5px; margin: 8px 0 14px; }
.form-msg--ok { background: #e9f8f0; border: 1px solid #b9e6cd; color: #0b5a34; }
.form-msg--err { background: #fdecec; border: 1px solid #f3c4c4; color: #8e1c1c; }
/* Ouvidoria: comprovante e acompanhamento */
.ouv-receipt { border: 2px solid var(--brand); border-radius: 14px; padding: 22px; background: var(--brand-softer); display: grid; gap: 10px; }
.ouv-receipt h3 { margin: 0; }
.ouv-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ouv-codes div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.ouv-codes span { display: block; font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.ouv-codes strong { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 18px; letter-spacing: .06em; color: var(--brand-deep); }
.ouv-warn { font-size: 13.5px; color: #7a4e0a; background: #fff7e6; border: 1px solid #f3dca8; border-radius: 10px; padding: 10px 12px; }
.ouv-follow { max-width: 860px; margin: 0 auto; }
.ouv-follow .field--row { grid-template-columns: 1fr 1fr auto; align-items: end; }
.ouv-follow .form-card__submit { margin: 0 0 22px; }
.ouv-status { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 8px 0 16px; font-size: 14px; color: var(--ink-3); }
.ouv-status b { background: var(--brand-soft); color: var(--brand-deep); padding: 4px 12px; border-radius: 99px; }
.ouv-msgs { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.ouv-msgs li { padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); max-width: 90%; font-size: 15px; line-height: 1.55; }
.ouv-msgs li.is-ouv { background: var(--brand-soft); margin-left: auto; }
.ouv-msgs small { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
@media (max-width: 720px) { .ouv-codes, .ouv-follow .field--row { grid-template-columns: 1fr; } }

/* ==========================================================================
   AVISO DE COOKIES (discreto, canto inferior esquerdo)
   ========================================================================== */
.ck { position: fixed; left: 16px; bottom: 76px; z-index: 10050; width: 350px; max-width: calc(100vw - 32px); background: var(--brand-deep); color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.12); border-left: 4px solid var(--brand); border-radius: 14px; box-shadow: 0 16px 44px rgba(1,24,39,.38); padding: 14px 16px; font-size: 13.5px; line-height: 1.5; opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; }
.ck.is-in { opacity: 1; transform: none; }
.ck__txt { margin: 0 0 10px; }
.ck__txt strong { color: #fff; }
.ck__txt a { color: #7fd3f2; text-decoration: underline; }
.ck__row { display: flex; gap: 8px; justify-content: flex-end; }
.ck-btn { font: inherit; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.ck-btn:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.ck-btn--pri { background: var(--brand); border-color: var(--brand); color: #fff; }
.ck-btn--pri:hover { background: #fff; border-color: #fff; color: var(--brand-deep); }
.ck-ph .ck-btn { color: #fff; }
.ck-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.ck-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; min-height: 260px; height: 100%; padding: 24px; background: var(--brand-softer); color: var(--ink-3); border-radius: inherit; font-size: 14px; }
.ck-ph svg { color: var(--brand); }
.ck-ph p { margin: 0; max-width: 280px; }
.footer__bottom [data-cookie-prefs] { color: inherit; text-decoration: underline; opacity: .8; }
@media (max-width: 640px) { .ck { left: 12px; right: 12px; width: auto; bottom: 72px; } }
@media (prefers-reduced-motion: reduce) { .ck { transition: none; } }
html.a11y-contraste .ck { border: 2px solid #000; }

/* ==========================================================================
   SERVIÇOS — revisão visual (cores, contraste e espaçamento)
   ========================================================================== */
/* Etiquetas dos cards com imagem: legíveis sobre a foto */
.service__tag { color: #fff; background: rgba(0,160,217,.92); font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,.18); }

/* Detalhamento: cada serviço vira um cartão */
.section--details { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 88px); }
.section--details .container { display: grid; gap: 24px; }
.service-detail {
  position: relative; background: #fff; border: 1px solid var(--line); border-bottom: 1px solid var(--line);
  border-radius: 20px; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  box-shadow: 0 1px 2px rgba(6,37,56,.04), 0 12px 32px rgba(6,37,56,.06); overflow: hidden;
}
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.service-detail::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--brand); }
.service-detail .eyebrow { color: var(--brand); font-weight: 700; }
.service-detail h2 { margin: 10px 0 12px; color: var(--ink); }
.service-detail h2 .em { color: var(--brand); }
.service-detail > p { font-size: 16.5px; margin-bottom: 26px; color: var(--ink-2); }
.service-detail__cols { gap: 20px; }
@media (min-width: 760px) { .service-detail__cols { gap: 20px; } }
.service-detail__cols > div { background: var(--brand-softer); border: 1px solid var(--brand-soft); border-radius: 14px; padding: 22px 22px 18px; }
.service-detail__cols h4 { color: var(--brand-deep); font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--brand-soft); }
.service-detail__cols ul { gap: 9px; }
.service-detail__cols li { color: var(--ink-2); padding-left: 26px; }
.service-detail__cols li::before { width: 16px; height: 16px; top: 3px; border-radius: 50%; background: var(--brand); }
.service-detail__cols li::after { content: ""; position: absolute; left: 5px; top: 6.5px; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.service-detail__cols li a { color: var(--brand-deep); font-weight: 600; text-decoration: underline; }
.service-detail__cols .btn { margin-top: 6px; }
.service-detail__cols .btn--ghost { background: #fff; border-color: var(--brand-deep); color: var(--brand-deep); }
.service-detail__cols .btn--ghost:hover { background: var(--brand-deep); color: #fff; }
.service-detail__cols > div > p { color: var(--ink-2); }
@media (max-width: 760px) {
  .service-detail { border-radius: 16px; }
  .service-detail__cols > div { padding: 18px 16px 14px; }
}

/* Convênios: faixa escura com destaque */
.section--convenios {
  background: radial-gradient(1200px 400px at 85% -10%, rgba(0,160,217,.25), transparent 60%), var(--brand-deep);
  color: #fff; padding: clamp(64px, 8vw, 104px) 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.section--convenios .convenios { grid-template-columns: 360px 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.section--convenios .eyebrow { color: var(--brand); }
.section--convenios .convenios__intro h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.025em; margin: 12px 0 16px; }
.section--convenios .convenios__intro h2 .em { color: var(--brand); }
.section--convenios .convenios__intro p { color: rgba(255,255,255,.72); font-size: 16px; }
.section--convenios .convenios__count { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.section--convenios .convenios__count strong { color: #fff; font-size: 38px; }
.section--convenios .convenios__count span { color: rgba(255,255,255,.75); }
.section--convenios .convenios__grid { gap: 12px; }
.section--convenios .convenios__grid li {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff;
  font-size: 15px; font-weight: 600; min-height: 60px; backdrop-filter: blur(2px);
}
.section--convenios .convenios__grid li:hover { background: rgba(255,255,255,.12); border-color: var(--brand); box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.section--convenios .convenios__check { background: var(--brand); color: #fff; }
@media (max-width: 900px) {
  .section--convenios .convenios { grid-template-columns: 1fr; }
}
html.a11y-contraste .section--convenios { background: #000; }
.ag-periods { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.footer__bottom .footer__dev { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; opacity: .9; }
.footer__bottom .footer__dev:hover { color: var(--brand); opacity: 1; }

h1.h2-size { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -0.025em; }
.contact-info__alt { display: inline-block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.contact-info__alt a { color: inherit; text-decoration: underline; }
.topbar__wa svg { opacity: 1 !important; color: #25d366; }
.topbar__wa:hover svg { color: var(--brand); }
@media (max-width: 640px) {
  .section--convenios .convenios__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .section--convenios .convenios__grid li { font-size: 13.5px; min-height: 52px; padding: 10px 12px; }
}

/* ==========================================================================
   LEGIBILIDADE (revisão de contraste — WCAG AA)
   ========================================================================== */
/* Textos sobre fundo escuro: rótulos e títulos sempre claros */
.legal-contact-box strong, .section--dark strong, .section--dark h1, .section--dark h4 { color: #fff; }
.legal-contact-box .legal-contact-rows a { color: #7fd3f2; }
/* Azul da marca em textos pequenos */
.service-detail .eyebrow, .arrow-link, .info-card__category, .explore-card__link, .timeline__year,
.legal-content a, .faq a, .results-faq a { color: var(--brand-ink); }
.info-card:hover .arrow-link { color: var(--brand-ink); }
.access__card--featured .arrow-link { color: #fff; }
/* Botões azuis com texto branco */
.results__tab.is-active, .results__submit, .location__cta, .ck-ph .ck-btn--pri { background: var(--brand-ink); }
.results__submit:hover, .location__cta:hover { background: var(--brand-deep); }
/* WhatsApp: verde mais fechado para o texto branco ficar legível (ícone continua identificando) */
.btn--whatsapp, .convenios__cta { background: #128c4a; }
.btn--whatsapp:hover, .convenios__cta:hover { background: #0e7a40; }
.ag-walink, .ag-alt { color: #0e7a40; }
/* Rodapé e textos auxiliares */
.footer__bottom { color: rgba(255,255,255,.72); }
.footer__bottom a { color: rgba(255,255,255,.88); }
.contact-info__alt { color: rgba(255,255,255,.72); }
.ag-num { background: var(--brand-ink); }

/* ==========================================================================
   GRADES EQUILIBRADAS — a última linha nunca fica "sobrando" à esquerda:
   o número de colunas se ajusta à quantidade de itens e sobras ficam centralizadas.
   ========================================================================== */
.balance { --cols: 1; --g: 20px; display: flex !important; flex-wrap: wrap; justify-content: center; gap: var(--g); }
.balance > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols)); min-width: 0; max-width: 100%; }
.balance > :only-child { flex-basis: min(100%, 460px); }
@media (min-width: 640px) {
  .balance { --cols: 2; }
  .balance--compact { --cols: 3; }
}
@media (min-width: 1000px) {
  .balance { --cols: 3; }
  .balance:has(> :nth-child(2):last-child),
  .balance:has(> :nth-child(4):last-child),
  .balance:has(> :nth-child(8):last-child) { --cols: 2; }
}
@media (min-width: 1100px) {
  /* 4 ou 8 itens: 4 por linha */
  .balance:has(> :nth-child(4):last-child), .balance:has(> :nth-child(8):last-child) { --cols: 4; }
}
@media (min-width: 1220px) {
  .balance--5:has(> :nth-child(5):last-child) { --cols: 5; }
}
.informativos.balance { --g: 24px; }
/* Formulários em duas colunas com número ímpar de campos: o último ocupa a linha toda */
@media (min-width: 641px) { .field--row:not(#ouv-consulta) > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; } }
.svc-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 16px; }
.svc-ctas .ag-alt { margin: 0; }
/* Faixa escura de destaque (mesmo tratamento dos Convênios) — se separa visualmente do rodapé */
.section--highlight {
  background: radial-gradient(1200px 400px at 85% -10%, rgba(0,160,217,.25), transparent 60%), var(--brand-deep);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.access__card .arrow-link { color: var(--brand-ink); }
.access__card--featured .arrow-link { color: #fff; }
.access__card--featured p { color: rgba(255,255,255,.82); }
.ag-num { color: #fff !important; }
.ag-steps li { color: var(--ink-3); }
.ag-svc em { color: var(--brand-ink); }
.ag-steps li.is-current span { background: var(--brand-ink); }
.balance--convenios { --g: 12px; }
@media (min-width: 640px) { .balance--convenios { --cols: 2; } }
@media (min-width: 1000px) { .balance--convenios { --cols: 3; } }
@media (max-width: 639px) { .balance--convenios { --cols: 2; --g: 8px; } }

/* Destaque colorido dos títulos sempre em linha própria (pedido do cliente: não misturar duas cores na mesma linha) */
h1 .em, h2 .em, h3 .em, .hero__title .em { display: block; }

/* Títulos equilibrados: o navegador distribui as palavras entre as linhas, sem deixar uma palavra sozinha */
h1, h2, h3, .hero__title, h1 .em, h2 .em, h3 .em { text-wrap: balance; }
