/* Centermed: layout em faixas largas, navy e verde-água da apresentação,
   fotos reais da clínica em cantos suaves, barras verticais como marca de lista. */

:root {
  --navy: #05334f;
  --navy-2: #0e4a6b;
  --teal: #1bb5b0;
  --teal-ink: #0b7f7b;
  --mint: #e0f5f4;
  --soft: #f3f8f8;
  --bg: #ffffff;
  --surface: #ffffff;
  --fg: #123247;
  --head: #05334f;
  --muted: #4d6171;
  --line: #d3e3e5;
  --hero-bg: #05334f;
  --on-hero: #ffffff;
  --on-hero-2: #cfe4ec;
  --hero-eyebrow: #7fe0dc;
  --btn-bg: #1bb5b0;
  --btn-fg: #05334f;
  --btn-bg-hover: #3cc9c4;
  --bar-b: #0e4a6b;
  --f-display: "Poppins", "Segoe UI", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --r: 18px;
  --max: 1160px;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071d2c; --surface: #0b2a3d; --fg: #dcebf0; --head: #f2fbfc; --muted: #9db6c2;
    --line: #1c4156; --soft: #0a2536; --mint: #0f3a4a; --hero-bg: #04283f;
    --teal-ink: #52d3cd; --bar-b: #52d3cd; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #071d2c; --surface: #0b2a3d; --fg: #dcebf0; --head: #f2fbfc; --muted: #9db6c2;
  --line: #1c4156; --soft: #0a2536; --mint: #0f3a4a; --hero-bg: #04283f;
  --teal-ink: #52d3cd; --bar-b: #52d3cd; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); color: var(--head); line-height: 1.18; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.eyebrow {
  font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--teal-ink); margin-bottom: 10px;
}
.eyebrow.tiny { font-size: .7rem; margin-bottom: 6px; }
.eyebrow.on-dark { color: var(--hero-eyebrow); }
.lead { font-size: 1.15rem; color: var(--muted); margin-top: 12px; max-width: 62ch; }
.lead.on-dark { color: var(--on-hero-2); }
.note { font-size: .88rem; color: var(--muted); margin-top: 16px; }

/* ---------- botões e links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none;
  font-family: var(--f-display); font-weight: 600; font-size: .95rem;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--btn-bg-hover); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-block { width: 100%; margin-top: 8px; }
.btn-ghost { background: transparent; color: var(--head); border-color: var(--teal-ink); }
.btn-ghost:hover { background: var(--mint); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.12); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.link-arrow {
  display: inline-block; font-family: var(--f-display); font-weight: 600; font-size: .9rem;
  color: var(--teal-ink); text-decoration: none; margin-top: 14px;
}
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- cabeçalho */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand img { height: 52px; width: auto; border-radius: 10px; background: #fff; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  font-family: var(--f-display); font-weight: 500; font-size: .93rem; color: var(--head);
  text-decoration: none; padding: 9px 14px; border-radius: 999px;
}
.nav a:not(.btn):hover { background: var(--soft); }
.nav a[aria-current="page"] { background: var(--mint); color: var(--head); font-weight: 600; }
.nav-cta { margin-left: 8px; }
.menu-btn {
  display: none; font-family: var(--f-display); font-weight: 600; font-size: .9rem;
  background: var(--mint); color: var(--head); border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer;
}

/* ---------- hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--hero-bg); }
.hero-text {
  display: flex; align-items: center; justify-content: flex-end;
  padding-block: 64px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: 40px;
}
.hero-inner { max-width: 540px; width: 100%; }
.hero h1 { color: var(--on-hero); margin-top: 6px; }
.hero .lead { margin-top: 18px; }
.hero-place { margin-top: 34px; font-family: var(--f-display); font-weight: 600; font-size: .82rem; letter-spacing: .04em; color: var(--hero-eyebrow); }
.hero-photo { min-height: 460px; position: relative; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }

.stats { background: var(--mint); }
.stats-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-block: 18px; }
.stats p { font-size: .98rem; color: var(--head); }
.stats strong { font-family: var(--f-display); font-size: 1.5rem; color: var(--teal-ink); margin-right: 6px; }

/* ---------- blocos */
.block { padding-block: 72px; }
.block.tight { padding-block: 40px 64px; }
.block.soft { background: var(--soft); }
.narrow { max-width: 820px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head .link-arrow { margin-top: 0; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split-photo { margin: 0; }
.split-photo img { width: 100%; border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
.split-photo figcaption { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.split-text h2 + .lead { margin-bottom: 4px; }
.split-text h3 { margin-top: 28px; margin-bottom: 8px; }
.callout {
  background: var(--mint); color: var(--head); font-weight: 600; font-size: 1rem;
  border-radius: 14px; padding: 18px 22px; margin-top: 24px;
}

.spec-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.spec-chip {
  font-family: var(--f-display); font-weight: 500; font-size: .92rem; text-decoration: none;
  color: var(--head); background: var(--surface); border: 1px solid var(--line);
  padding: 10px 18px; border-radius: 999px; transition: border-color .15s, background .15s;
}
.spec-chip:hover { border-color: var(--teal); background: var(--mint); }

.photo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.photo-card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.photo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s; }
.photo-card:hover img { transform: scale(1.03); }
.photo-card { overflow: hidden; }
.pc-body { padding: 22px 24px 26px; }
.pc-body p { color: var(--muted); margin-top: 8px; font-size: 1rem; }
.pc-body .more { display: inline-block; margin-top: 14px; font-family: var(--f-display); font-weight: 600; font-size: .9rem; color: var(--teal-ink); }
.pc-body .more::after { content: " \2192"; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }

/* ---------- cabeçalho de página */
.page-head { background: var(--soft); padding-block: 52px 44px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }

/* ---------- filtros */
.filters { display: grid; gap: 16px; margin-bottom: 28px; }
.filters-top { padding-top: 36px; margin-bottom: 0; }
.search input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 13px 22px;
}
.search input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(27,181,176,.25); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--f-display); font-weight: 500; font-size: .86rem; cursor: pointer;
  color: var(--head); background: var(--surface); border: 1.5px solid var(--line);
  padding: 8px 16px; border-radius: 999px;
}
.chip:hover { border-color: var(--teal); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
:root[data-theme="dark"] .chip.is-on { background: var(--teal); border-color: var(--teal); color: #05334f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip.is-on { background: var(--teal); border-color: var(--teal); color: #05334f; } }
.count { font-size: .9rem; color: var(--muted); }
.empty { padding: 28px 0; color: var(--muted); font-size: 1.05rem; }

/* ---------- consultas */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 56px; }
.spec { padding-left: 24px; border-left: 5px solid var(--teal); scroll-margin-top: 100px; }
.spec.tone-b { border-left-color: var(--bar-b); }
.spec h3 { font-size: 1.3rem; }
.spec > p:not(.eyebrow) { color: var(--muted); margin-top: 8px; font-size: 1rem; }
.docs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.docs li { display: flex; flex-direction: column; font-size: 1rem; }
.docs strong { font-family: var(--f-display); font-weight: 600; font-size: .98rem; color: var(--head); }
.docs span { color: var(--muted); font-size: .94rem; }
.team { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 32px; }
.team li { padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-weight: 500; font-size: .95rem; color: var(--head); }

/* ---------- exames */
.exam-sec { padding-block: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.exam-sec.flip .split-photo { order: 2; }
.exam-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.exam { padding-left: 18px; border-left: 4px solid var(--teal); }
.exam:nth-child(even) { border-left-color: var(--bar-b); }
.exam h3 { font-size: 1.05rem; }
.exam p { color: var(--muted); font-size: .98rem; margin-top: 3px; }
.exam .prof { color: var(--head); font-family: var(--f-display); font-weight: 600; font-size: .92rem; margin-top: 6px; }

/* ---------- resultados */
.steps { list-style: none; counter-reset: s; margin: 22px 0 0; padding: 0; display: grid; gap: 20px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mint); color: var(--head);
  font-family: var(--f-display); font-weight: 700; font-size: .95rem;
}
.steps p { color: var(--muted); margin-top: 4px; font-size: 1rem; }
.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--head); }
.faq details p { color: var(--muted); padding-bottom: 16px; font-size: 1rem; }

/* ---------- contato */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 28px; }
.c-item { padding-left: 22px; border-left: 5px solid var(--teal); }
.c-item:nth-child(even) { border-left-color: var(--bar-b); }
.c-label { font-family: var(--f-display); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); }
.c-val { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; color: var(--head); margin-top: 2px; overflow-wrap: anywhere; }
.person { display: flex; gap: 20px; align-items: center; background: var(--soft); border-radius: var(--r); padding: 20px; }
.person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: none; }
.person .num, .person .mail { font-size: .98rem; color: var(--head); font-weight: 600; overflow-wrap: anywhere; }
.builder { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }
.builder p { color: var(--muted); margin-top: 8px; }
.builder form { margin-top: 20px; display: grid; gap: 6px; }
.builder label { font-family: var(--f-display); font-weight: 600; font-size: .86rem; color: var(--head); margin-top: 10px; }
.builder select, .builder input {
  font: inherit; font-size: 1rem; color: var(--fg); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
}
.builder select:focus, .builder input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(27,181,176,.25); }

/* ---------- faixa de chamada e rodapé */
.cta-band { background: var(--hero-bg); color: var(--on-hero); padding-block: 60px; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--on-hero); }
.cta-band p:not(.eyebrow) { color: var(--on-hero-2); margin-top: 8px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { background: #031f33; color: #cfe4ec; padding-block: 52px 0; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr; gap: 36px; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 12px; font-weight: 600; }
.site-footer p { font-size: .98rem; margin-top: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.logo-tile { display: inline-block; background: #fff; border-radius: 12px; padding: 6px 10px; }
.logo-tile img { height: 52px; width: auto; }
.foot-brand p { max-width: 28ch; margin-top: 14px; }
.foot-links { display: grid; gap: 6px; font-size: .98rem; }
.legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 40px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: .8rem; color: #8fb2c3; font-family: var(--f-display); letter-spacing: .03em;
}

/* ---------- responsivo */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-text { justify-content: flex-start; padding-block: 48px; padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .hero-photo { min-height: 300px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .exam-sec.flip .split-photo { order: 0; }
  .photo-cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: 1fr; gap: 32px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; background: var(--bg); gap: 2px;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px));
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 13px 16px; }
  .nav-cta { margin: 8px 0 0; }
  .bar { position: relative; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .block { padding-block: 52px; }
  .team { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .builder { padding: 24px 20px; }
  .person { flex-direction: column; align-items: flex-start; }
  .stats-in { flex-direction: column; }
  .brand img { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- breadcrumb e texto corrido */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--teal-ink); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.split-text p + p { margin-top: 12px; }
.split-text .lead + p { margin-top: 16px; }

/* ---------- busca na Home */
.finder { background: var(--soft); border-block: 1px solid var(--line); padding-block: 40px; }
.finder-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.finder .lead { margin-top: 8px; }
.finder-form { display: flex; gap: 10px; }
.finder-form input {
  flex: 1; min-width: 0; font: inherit; font-size: 1rem; color: var(--fg); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 14px 22px;
}
.finder-form input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(27,181,176,.25); }

/* ---------- lista completa de exames */
.spec .aka { font-size: .88rem; color: var(--teal-ink); margin-top: 6px; font-family: var(--f-display); font-weight: 500; }
.is-searching .exam-sec { display: none; }
.catalog .cat-block { margin-top: 36px; scroll-margin-top: 100px; }
.catalog .cat-n { color: var(--muted); font-weight: 500; font-size: .95rem; }
.letters { margin-top: 14px; display: grid; gap: 8px; }
.letter { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.letter summary {
  display: flex; align-items: baseline; gap: 14px; cursor: pointer; padding: 12px 20px; list-style-position: inside;
}
.letter .lt { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--head); min-width: 2.2ch; }
.letter .ct { font-size: .88rem; color: var(--muted); }
.cat-list { list-style: none; margin: 0; padding: 4px 20px 16px; columns: 3 260px; column-gap: 32px; }
.cat-list-open { padding: 12px 0 0; }
.cat-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .9rem; line-height: 1.4; overflow-wrap: anywhere; }
.cat-ask { margin-top: 32px; color: var(--muted); }
.cat-ask .link-arrow { margin-top: 0; margin-left: 6px; }
.exam-sec .link-arrow { margin-right: 22px; }
.catalog { background: var(--soft); }

@media (max-width: 960px) {
  .finder-in { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .finder-form { flex-direction: column; }
  .cat-list { columns: 1; }
}

.letter summary { list-style: none; }
.letter summary::-webkit-details-marker { display: none; }
.letter summary::after { content: "+"; margin-left: auto; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; color: var(--teal-ink); line-height: 1; }
.letter[open] summary::after { content: "\2013"; }
.is-searching .catalog { padding-block: 28px 56px; }
.is-searching .catalog .eyebrow, .is-searching .catalog h2, .is-searching .catalog .lead { display: none; }
.is-searching .catalog .cat-block:first-of-type { margin-top: 0; }

/* ---------- botão "Resultados de Exames" na barra */
.btn-results { background: var(--head); color: var(--bg); }
.btn-results:hover { background: var(--navy-2); color: #fff; }
.btn-results[aria-current="page"] { box-shadow: 0 0 0 3px var(--mint); }
.nav .btn { white-space: nowrap; }
.nav-cta { margin-left: 0; }

/* ---------- destaque em Resultados */
.results-cta { background: var(--hero-bg); color: var(--on-hero); padding-block: 44px; }
.results-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.results-cta h2 { color: var(--on-hero); }
.results-cta p:not(.eyebrow) { color: var(--on-hero-2); margin-top: 8px; max-width: 52ch; }
.btn-lg { font-size: 1.12rem; padding: 18px 38px; }
.btn-hero { box-shadow: 0 0 0 6px rgba(27,181,176,.28); }
.btn-hero:hover { box-shadow: 0 0 0 9px rgba(27,181,176,.3); }

/* ---------- mural de parceiros */
.partners { padding-block: 64px; overflow: hidden; }
.partners h2 { margin-bottom: 28px; }
.marquee {
  overflow: hidden; padding-block: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; gap: 20px; padding: 0 20px 0 0; margin: 0; list-style: none; }
.partner {
  flex: none; width: 220px; height: 104px; display: grid; place-items: center; padding: 14px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 1px 3px rgba(5,51,79,.08); transition: transform .2s, box-shadow .2s;
}
.partner:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(5,51,79,.14); }
.partner img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 560px) {
  .partner { width: 168px; height: 84px; padding: 10px 16px; }
  .btn-lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; }
  .marquee-set { flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .marquee-set[aria-hidden="true"] { display: none; }
}

.partner img { max-height: 76px; }
.nav .btn-results[aria-current="page"] { background: var(--head); color: var(--bg); }
@media (max-width: 560px) { .partner img { max-height: 64px; } }

/* ---------- botão flutuante de WhatsApp */
.wa-float {
  position: fixed; z-index: 45;
  right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: center;
  min-width: 60px; height: 60px; padding: 0 14px; border-radius: 999px;
  background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.28); transition: background .2s, transform .2s;
}
.wa-float svg { flex: none; }
.wa-float span { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-family: var(--f-display); font-weight: 600; font-size: .95rem; transition: max-width .25s, opacity .2s, margin .25s; }
.wa-float:hover, .wa-float:focus-visible { background: #0f7a6c; transform: translateY(-2px); }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 160px; opacity: 1; margin-left: 10px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: wa-pulse 2.6s ease-out infinite; pointer-events: none; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
@media (max-width: 560px) { .site-footer .legal { padding-bottom: 84px; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; display: none; } }
