/* Clínica Imaginarium — folha de estilo única do site.
   Cores e fontes seguem o Manual de Identidade Visual (07-MANUAL-DE-IDENTIDADE-VISUAL.md). */

:root {
  /* Paleta oficial */
  --azul: #008BD0;            /* Azul Institucional */
  --vermelho: #F1272D;        /* Vermelho Institucional */
  --grafite: #222222;         /* Grafite Institucional */
  --azul-claro: #D8EDF8;
  --azul-acinzentado: #B8D3E6;
  --cinza-medio: #7D8792;
  --cinza-claro: #EEF2F5;
  --branco: #FFFFFF;

  /* Tons de apoio para contraste (texto e botões sobre branco, WCAG AA) */
  --azul-profundo: #0A4D86;   /* botões e títulos de destaque, como na prancha 14 */
  --azul-texto: #006FA8;      /* links em texto corrido */
  --vermelho-texto: #C8161C;
  --texto: #3A4148;
  --texto-suave: #5B6570;
  --noite: #061A33;

  --fonte-titulo: "Montserrat", system-ui, sans-serif;
  --fonte-texto: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --raio: 18px;
  --raio-g: 28px;
  --sombra: 0 1px 2px rgba(10, 40, 70, .06), 0 8px 24px rgba(10, 40, 70, .08);
  --sombra-g: 0 2px 4px rgba(10, 40, 70, .05), 0 24px 56px rgba(10, 40, 70, .14);
  --largura: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --altura-topo: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--altura-topo) + 16px); }
body {
  margin: 0;
  background: var(--branco);
  color: var(--texto);
  font: 400 17px/1.65 var(--fonte-texto);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul-texto); text-underline-offset: 3px; }
a:hover { color: var(--azul-profundo); }
h1, h2, h3, h4 { font-family: var(--fonte-titulo); color: var(--grafite); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.45rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
strong { color: var(--grafite); font-weight: 600; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--azul-profundo); color: #fff; padding: 10px 16px; border-radius: 10px; }
.pular:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--largura) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Ícones */
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.22em; }
.ic--cheio { fill: currentColor; stroke: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.5em;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--fonte-texto); text-decoration: none; text-align: center;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .ic { width: 1.2em; height: 1.2em; }
.btn--primario { background: var(--azul-profundo); color: #fff; box-shadow: 0 8px 20px rgba(10, 77, 134, .25); }
.btn--primario:hover { background: #083E6D; color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(10, 77, 134, .32); }
.btn--secundario { background: #fff; color: var(--azul-profundo); border-color: var(--azul-acinzentado); }
.btn--secundario:hover { border-color: var(--azul); color: var(--azul-profundo); background: #F5FAFD; }
.btn--claro { background: #fff; color: var(--azul-profundo); }
.btn--claro:hover { background: var(--azul-claro); color: var(--azul-profundo); }
.btn--contorno-claro { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--contorno-claro:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--pequeno { min-height: 44px; padding: .55em 1.15em; font-size: .94rem; }
.btn--seta .ic:last-child { transition: transform .2s; }
.btn--seta:hover .ic:last-child { transform: translateX(3px); }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-seta { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--azul-profundo); text-decoration: none; }
.link-seta .ic { transition: transform .2s; }
.link-seta:hover .ic { transform: translateX(4px); }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.topo.rolou { border-bottom-color: var(--cinza-claro); box-shadow: 0 6px 24px rgba(10, 40, 70, .07); }
.topo__barra { display: flex; align-items: center; gap: 28px; height: var(--altura-topo); }
.topo__logo { flex: none; display: block; }
.topo__logo img { width: 178px; height: auto; }
.menu { margin-left: auto; }
.menu ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a {
  position: relative; display: block; padding: 10px 12px;
  font: 500 .95rem/1 var(--fonte-texto); color: var(--grafite); text-decoration: none; border-radius: 8px; white-space: nowrap;
}
.menu a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--vermelho); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.menu a:hover { color: var(--azul-profundo); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a[aria-current="page"] { color: var(--azul-profundo); font-weight: 600; }
/* Submenu "Exames" */
.menu__sub { position: relative; }
.menu__sub-btn {
  display: flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; cursor: pointer;
  font: 500 .95rem/1 var(--fonte-texto); color: var(--grafite); border-radius: 8px; white-space: nowrap;
}
.menu__sub-btn .ic { width: 16px; height: 16px; transition: transform .25s; }
.menu__sub-btn:hover, .menu__sub-btn.ativo { color: var(--azul-profundo); }
.menu__sub-btn.ativo { font-weight: 600; }
/* Mega menu "Exames": painel largo, centralizado na barra do topo */
.topo__barra { position: relative; }
.menu__sub { position: static; }
.mega {
  position: absolute; top: calc(100% - 6px); left: 50%; z-index: 60; width: min(1000px, calc(100vw - 2 * var(--gutter)));
  background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(6, 26, 51, .18); border: 1px solid #E3ECF2;
  opacity: 0; visibility: hidden; transform: translate(-50%, -8px); transition: opacity .22s, transform .22s, visibility .22s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; }
.menu__sub:hover .mega, .menu__sub:focus-within .mega, .menu__sub.aberto .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu__sub:hover .menu__sub-btn .ic, .menu__sub.aberto .menu__sub-btn .ic { transform: rotate(180deg); }
.mega__grade { display: grid; grid-template-columns: 1fr 1fr minmax(0, .9fr); gap: 8px; padding: 14px; }
.mega__col { padding: 14px 10px; }
.mega__titulo { margin: 0 0 10px 12px; font: 600 .72rem/1 var(--fonte-texto); letter-spacing: .14em; text-transform: uppercase; color: var(--vermelho-texto); }
.menu .mega ul { display: block; }
.menu .mega__item {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px;
  color: var(--grafite); white-space: normal; transition: background .2s;
}
.menu .mega a::after { content: none; }
.mega__icone {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, #EAF6FD 0%, var(--azul-claro) 100%); color: var(--azul); transition: background .2s, color .2s;
}
.mega__icone .ic { width: 22px; height: 22px; }
.mega__item strong { display: block; font: 600 .95rem/1.25 var(--fonte-titulo); color: var(--azul-profundo); }
.mega__item small { display: block; margin-top: 3px; font-size: .82rem; line-height: 1.3; color: var(--texto-suave); }
.menu .mega__item:hover, .menu .mega__item[aria-current="page"] { background: #F3F9FD; }
.mega__item:hover .mega__icone, .mega__item[aria-current="page"] .mega__icone { background: var(--azul); color: #fff; }
.mega__cta {
  display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 14px; color: #fff;
  background: linear-gradient(150deg, #0A6FB0 0%, var(--azul-profundo) 100%);
}
.mega__cta-titulo { margin: 0; font: 600 1.15rem/1.25 var(--fonte-titulo); color: #fff; }
.mega__cta p:not(.mega__cta-titulo) { margin: 0; font-size: .88rem; line-height: 1.45; color: #CFE4F3; }
.menu .mega__cta .btn { align-self: flex-start; margin-top: 4px; color: var(--azul-profundo); }
.menu .mega__cta .btn::after { content: none; }
.mega__links { margin-top: auto !important; padding-top: 14px !important; border-top: 1px solid rgba(255, 255, 255, .18); }
.menu .mega__links a { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: .88rem; color: #fff; }
.menu .mega__links a:hover { color: #9FD3F2; }
.mega__links .ic { width: 16px; height: 16px; }
.topo:not(.rolou) .menu__sub-btn { color: rgba(255, 255, 255, .88); }
.topo:not(.rolou) .menu__sub-btn:hover, .topo:not(.rolou) .menu__sub-btn.ativo { color: #fff; }
.topo:not(.rolou) .menu .mega__item { color: var(--grafite); }
.topo:not(.rolou) .menu .mega__cta .btn { color: var(--azul-profundo); }
.topo:not(.rolou) .menu .mega__links a { color: #fff; }
.topo__acoes { display: flex; gap: 10px; flex: none; }
.topo__menu-btn { display: none; }
.gaveta { display: none; }

/* Telas médias (notebook 1024–1200px): menu continua aberto, só mais compacto */
@media (max-width: 1200px) {
  :root { --altura-topo: 70px; }
  .topo__logo img { width: 150px; }
  .topo__barra { gap: 18px; }
  .menu ul { gap: 0; }
  .menu a, .menu__sub-btn { padding: 10px 9px; font-size: .9rem; }
  .menu a::after { left: 9px; right: 9px; }
  .topo__acoes { gap: 8px; }
  .topo__acoes .btn { padding: .5em .95em; font-size: .88rem; }
}
@media (max-width: 1080px) {
  .topo__barra { gap: 16px; }
  .menu a, .menu__sub-btn { padding: 10px 8px; font-size: .88rem; }
  .menu a::after { left: 8px; right: 8px; }
  .topo__acoes .btn { padding: .5em .9em; font-size: .86rem; }
  .topo__acoes .btn--secundario .ic { display: none; }
}
/* Tablet em pé e celular: menu vira gaveta */
@media (max-width: 980px) {
  .menu { display: none; }
  .topo__barra { gap: 18px; }
  .topo__acoes .btn--secundario { display: none; } /* fica na gaveta */
  .topo__acoes { margin-left: auto; }
  .topo__menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--azul-acinzentado);
    background: #fff; color: var(--grafite); cursor: pointer;
  }
  .topo__menu-btn .ic { width: 24px; height: 24px; }
  .gaveta {
    display: block; position: fixed; inset: var(--altura-topo) 0 0; z-index: 49;
    background: #fff; padding: 12px var(--gutter) 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .gaveta.aberta { opacity: 1; visibility: visible; transform: none; }
  .gaveta ul { list-style: none; margin: 0 0 24px; padding: 0; }
  .gaveta li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 4px; border-bottom: 1px solid var(--cinza-claro);
    font: 600 1.15rem/1.2 var(--fonte-titulo); color: var(--grafite); text-decoration: none;
  }
  .gaveta li a[aria-current="page"] { color: var(--azul-profundo); }
  .gaveta .gaveta__grupo > p { margin: 18px 4px 2px; font: 600 .78rem/1 var(--fonte-texto); letter-spacing: .14em; text-transform: uppercase; color: var(--vermelho-texto); }
  .gaveta .gaveta__grupo ul { margin: 0; padding-left: 12px; border-left: 2px solid var(--azul-claro); }
  .gaveta .gaveta__grupo li a { font-size: 1.02rem; padding: 13px 4px; }
  .gaveta li a .ic { color: var(--azul); }
  .gaveta .acoes { flex-direction: column; align-items: stretch; }
  .gaveta__contato { margin-top: 24px; font-size: .95rem; color: var(--texto-suave); }
  body.menu-aberto { overflow: hidden; }
}
@media (max-width: 480px) {
  .topo__barra { gap: 10px; }
  .topo__logo img { width: 124px; }
  .topo__acoes .btn { min-height: 42px; padding: .5em .9em; font-size: .86rem; }
  .topo__menu-btn { width: 42px; height: 42px; }
}
@media (max-width: 350px) {
  .topo__acoes { display: none; }
  .topo__menu-btn { margin-left: auto; }
}

/* ---------- Elementos de marca ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: 600 .78rem/1.3 var(--fonte-titulo); letter-spacing: .16em; text-transform: uppercase; color: var(--azul-profundo);
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--vermelho); flex: none; }
.eyebrow--claro { color: #9FD3F2; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--texto-suave); max-width: 62ch; }

/* Anéis concêntricos — grafismo do gantry (manual, seção 6) */
.aneis { position: absolute; pointer-events: none; border-radius: 50%; }
.aneis::before, .aneis::after { content: ""; position: absolute; border-radius: 50%; }
.aneis { border: 1px solid rgba(0, 139, 208, .16); }
.aneis::before { inset: 9%; border: 1px solid rgba(0, 139, 208, .12); }
.aneis::after { inset: 20%; border: 1px solid rgba(241, 39, 45, .14); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(-20deg); }

/* Linhas de varredura (slices) */
.varredura { background-image: repeating-linear-gradient(0deg, rgba(0, 139, 208, .06) 0 1px, transparent 1px 14px); }

/* ---------- Seções ---------- */
.secao { padding: clamp(64px, 8vw, 112px) 0; position: relative; overflow-x: clip; }
.secao--cinza { background: var(--cinza-claro); }
.secao--suave { background: linear-gradient(180deg, #F7FBFE 0%, #fff 100%); }
.secao--compacta { padding: clamp(48px, 6vw, 80px) 0; }
.cabeca { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.cabeca--centro { margin-left: auto; margin-right: auto; text-align: center; }
.cabeca--centro .eyebrow { justify-content: center; }
.cabeca--centro .lead { margin-left: auto; margin-right: auto; }
.cabeca p:last-child { margin-bottom: 0; }

.grade { display: grid; gap: clamp(16px, 2vw, 24px); }
.grade--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grade--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grade--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grade--3, .grade--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grade--2, .grade--3, .grade--4 { grid-template-columns: 1fr; } }

/* ---------- Hero da página inicial ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px);
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .96) 38%, rgba(255, 255, 255, .72) 70%, rgba(255, 255, 255, .45) 100%), url("../img/bg-hero-claro.webp") right center / cover no-repeat;
}
.hero__grade { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--azul-profundo); }
.hero__sub { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--texto-suave); max-width: 56ch; margin-bottom: 30px; }
.provas { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.provas li { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 500; color: var(--grafite); }
.provas .ic { color: var(--azul); width: 20px; height: 20px; }
.hero__visual { position: relative; }
.hero__visual .aneis { width: 132%; aspect-ratio: 1; left: -16%; top: 50%; transform: translateY(-50%); }
.moldura {
  position: relative; z-index: 1; margin: 0; border-radius: var(--raio-g); overflow: hidden;
  box-shadow: var(--sombra-g); border: 6px solid #fff; background: #fff;
}
.moldura img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.selo {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--sombra); font-size: .92rem; line-height: 1.35; color: var(--grafite); max-width: 260px;
}
.selo strong { display: block; font-family: var(--fonte-titulo); font-size: .98rem; }
.selo__icone { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--azul-claro); color: var(--azul-profundo); flex: none; }
.selo--a { left: -28px; bottom: 56px; }
.selo--b { right: -20px; top: 36px; }
.selo--b .selo__icone { background: #FDE4E5; color: var(--vermelho-texto); }
@media (max-width: 980px) {
  .hero { background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .92) 60%, rgba(255, 255, 255, .7) 100%), url("../img/bg-hero-claro.webp") 70% center / cover no-repeat; }
  .hero__grade { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin: 8px auto 0; width: 100%; }
  .moldura img { aspect-ratio: 5 / 4; }
  .selo--a { left: 12px; bottom: -22px; }
  .selo--b { right: 12px; top: -18px; }
}
@media (max-width: 480px) {
  .selo { padding: 10px 12px; font-size: .82rem; max-width: 210px; }
  .selo__icone { width: 34px; height: 34px; }
  .acoes .btn { width: 100%; }
}

/* ---------- Hero das páginas internas ---------- */
.hero-pagina {
  --grad: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .95) 45%, rgba(255, 255, 255, .45) 100%);
  position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px);
  background: var(--grad), url("../img/bg-ondas-claro.webp") right center / cover no-repeat;
}
.hero-pagina--scanner { background-image: var(--grad), url("../img/bg-hero-claro.webp"); }
.hero-pagina--aneis { background-image: var(--grad), url("../img/bg-aneis-claro.webp"); }
.hero-pagina__grade { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-pagina__grade--simples { grid-template-columns: minmax(0, 820px); }
.hero-pagina .hero__sub { margin-bottom: 28px; }
.hero-pagina .moldura img { aspect-ratio: 4 / 3; }
.trilha { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .85rem; color: var(--texto-suave); }
.trilha li + li::before { content: "/"; margin-right: 6px; color: var(--azul-acinzentado); }
.trilha a { color: var(--texto-suave); text-decoration: none; }
.trilha a:hover { color: var(--azul-profundo); text-decoration: underline; }
@media (max-width: 980px) {
  .hero-pagina { --grad: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .9) 100%); background-position: 70% center; }
  .hero-pagina__grade { grid-template-columns: 1fr; }
}

/* ---------- Cartões de exame ---------- */
.card-exame {
  position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  border-radius: var(--raio-g); background: #fff; box-shadow: var(--sombra); border: 1px solid #E3ECF2;
  transition: transform .3s, box-shadow .3s;
}
.card-exame:hover { transform: translateY(-4px); box-shadow: var(--sombra-g); }
.card-exame__foto { position: relative; overflow: hidden; }
.card-exame__foto img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s; }
.card-exame:hover .card-exame__foto img { transform: scale(1.04); }
.card-exame__tag {
  position: absolute; left: 18px; top: 18px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); font: 600 .78rem/1 var(--fonte-titulo); letter-spacing: .06em; text-transform: uppercase; color: var(--azul-profundo);
}
.card-exame__corpo { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; }
.card-exame__corpo h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); font-weight: 700; }
.card-exame__corpo p { color: var(--texto-suave); }
.card-exame__corpo .link-seta { margin-top: auto; }
.card-exame__lista { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.card-exame__lista li { padding: 5px 12px; border-radius: 999px; background: var(--azul-claro); color: var(--azul-profundo); font-size: .85rem; font-weight: 500; }

/* ---------- Benefícios / itens com ícone ---------- */
.item { padding: 28px; border-radius: var(--raio); background: #fff; border: 1px solid #E3ECF2; transition: border-color .25s, box-shadow .25s; }
.item:hover { border-color: var(--azul-acinzentado); box-shadow: var(--sombra); }
.secao--cinza .item { border-color: transparent; }
.item h3 { margin-bottom: .45em; }
.item p { margin: 0; color: var(--texto-suave); font-size: .98rem; }
.item__icone {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px;
  border-radius: 16px; background: var(--azul-claro); color: var(--azul-profundo);
}
.item__icone .ic { width: 26px; height: 26px; }
/* Home: faixa "Também realizamos" (cards que são links) */
.exames-mais { margin-top: clamp(40px, 5vw, 64px); }
.exames-mais__titulo { margin: 0 0 20px; font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); }
.item--link { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.item--link .link-seta { margin-top: auto; padding-top: 14px; }
.item--link:hover h3 { color: var(--azul-profundo); }
.item--destaque { background: var(--azul-profundo); border-color: var(--azul-profundo); color: #fff; }
.item--destaque h3, .item--destaque p { color: #fff; }
.item--destaque p { opacity: .85; }
.item--destaque .item__icone { background: rgba(255, 255, 255, .14); color: #fff; }
.beneficios { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.beneficios > :nth-child(-n+3) { grid-column: span 2; }
.beneficios > :nth-child(n+4) { grid-column: span 3; }
@media (max-width: 980px) {
  .beneficios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beneficios > * { grid-column: auto !important; }
  .beneficios > :last-child { grid-column: 1 / -1 !important; }
}
@media (max-width: 640px) { .beneficios { grid-template-columns: 1fr; } .beneficios > :last-child { grid-column: auto !important; } }

/* ---------- Passos ---------- */
.passos { list-style: none; margin: 0; padding: 0; counter-reset: passo; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; position: relative; }
.passos::before {
  content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 2px;
  background: linear-gradient(90deg, var(--azul) 0%, var(--azul-acinzentado) 60%, var(--vermelho) 100%); opacity: .45;
}
.passos li { position: relative; counter-increment: passo; }
.passos li::before {
  content: counter(passo, decimal-leading-zero); display: grid; place-items: center; position: relative;
  width: 56px; height: 56px; margin-bottom: 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--azul); color: var(--azul-profundo);
  font: 700 1.05rem/1 var(--fonte-titulo); box-shadow: 0 0 0 8px var(--fundo-passos, #fff);
}
.secao--cinza .passos { --fundo-passos: var(--cinza-claro); }
.passos h3 { margin-bottom: .4em; }
.passos p { margin: 0; color: var(--texto-suave); font-size: .98rem; }
@media (max-width: 980px) {
  .passos { grid-template-columns: 1fr; gap: 0; }
  .passos::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--azul), var(--vermelho)); }
  .passos li { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .passos li::before { grid-row: span 2; margin: 0; }
  .passos li:last-child { padding-bottom: 0; }
}
.passos-cta { margin-top: 44px; }

/* ---------- Bloco dividido (imagem + texto) ---------- */
.dividido { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.dividido--inverso > :first-child { order: 2; }
.dividido__visual { position: relative; }
.dividido__visual .aneis { width: 120%; aspect-ratio: 1; left: -10%; top: 50%; transform: translateY(-50%); }
.mosaico { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; z-index: 1; }
.mosaico > *, .dividido > *, .hero__grade > *, .hero-pagina__grade > *, .com-indice > * { min-width: 0; }
.mosaico picture { display: block; }
.canal p, .rodape p { overflow-wrap: anywhere; }
.mosaico img { border-radius: var(--raio); width: 100%; height: 100%; object-fit: cover; box-shadow: var(--sombra); }
.mosaico > :first-child { grid-row: span 2; aspect-ratio: 4 / 5; }
.mosaico > :not(:first-child) { aspect-ratio: 1; }
@media (max-width: 860px) {
  .dividido { grid-template-columns: 1fr; }
  .dividido--inverso > :first-child { order: 0; }
}

.lista-check { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.lista-check li { position: relative; padding-left: 34px; }
.lista-check li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--azul-claro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A4D86' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.lista-num { list-style: none; padding: 0; margin: 0; counter-reset: n; display: grid; gap: 14px; }
.lista-num li { counter-increment: n; position: relative; padding: 18px 20px 18px 68px; border-radius: 14px; background: #fff; border: 1px solid #E3ECF2; }
.lista-num li::before {
  content: counter(n); position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--azul-profundo); color: #fff; font: 700 .95rem/1 var(--fonte-titulo);
}

/* ---------- Público (para quem é) ---------- */
.publico { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--raio); background: #fff; box-shadow: var(--sombra); }
.publico .item__icone { margin-bottom: 8px; }
.publico h3 { margin: 0; }
.publico p { margin: 0; color: var(--texto-suave); font-size: .98rem; }
.publico a { margin-top: auto; padding-top: 8px; }

/* ---------- Tipos de exame ---------- */
.tipo {
  display: flex; gap: 18px; padding: 24px; border-radius: var(--raio); background: #fff; border: 1px solid #E3ECF2;
  transition: border-color .25s, transform .25s;
}
.tipo:hover { border-color: var(--azul-acinzentado); transform: translateY(-2px); }
.tipo .item__icone { margin: 0; width: 48px; height: 48px; flex: none; }
.tipo h3 { font-size: 1.08rem; margin-bottom: .35em; }
.tipo p { margin: 0; font-size: .96rem; color: var(--texto-suave); }

/* ---------- Faixa escura (tecnologia) ---------- */
.escura {
  position: relative; color: #D5E6F3; overflow: hidden;
  background: linear-gradient(90deg, rgba(6, 26, 51, .96) 0%, rgba(6, 26, 51, .85) 50%, rgba(6, 26, 51, .55) 100%), url("../img/bg-escuro.webp") center / cover no-repeat;
}
.escura h2, .escura h3, .escura strong { color: #fff; }
.escura .lead, .escura p { color: #C3D6E6; }
.escura a:not(.btn) { color: #9FD3F2; }
.escura .item { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); backdrop-filter: blur(6px); }
.escura .item p { color: #B9CDDE; }
.escura .item__icone { background: rgba(0, 139, 208, .2); color: #9FD3F2; }
.escura .lista-check li::before { background-color: rgba(0, 139, 208, .25); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239FD3F2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.escura .moldura { border-color: rgba(255, 255, 255, .12); background: transparent; }

/* ---------- Avisos ---------- */
.aviso {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px;
  background: var(--azul-claro); color: var(--grafite); font-size: .96rem; line-height: 1.55;
}
.aviso .ic { color: var(--azul-profundo); width: 22px; height: 22px; margin-top: 1px; }
.aviso p { margin: 0; }
.aviso--alerta { background: #FFF1F1; }
.aviso--alerta .ic { color: var(--vermelho-texto); }
.nota { font-size: .95rem; color: var(--texto-suave); }

/* ---------- Painel de conteúdo (orientações) ---------- */
.painel { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--raio-g); background: #fff; border: 1px solid #E3ECF2; }
.painel h3 { display: flex; align-items: center; gap: 10px; margin-top: 1.4em; }
.painel h3:first-of-type { margin-top: 0; }
.painel h3 .ic { color: var(--azul); }
.painel > :last-child { margin-bottom: 0; }
.painel__foto { margin: 18px 0 20px; border-radius: var(--raio); overflow: hidden; aspect-ratio: 21 / 10; box-shadow: 0 10px 28px rgba(6, 26, 51, .09); }
.painel__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.indice { position: sticky; top: calc(var(--altura-topo) + 24px); display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--raio); background: var(--cinza-claro); }
.indice p { margin: 0 0 8px; font: 600 .78rem/1.3 var(--fonte-titulo); letter-spacing: .14em; text-transform: uppercase; color: var(--texto-suave); }
.indice a { padding: 8px 12px; border-radius: 10px; color: var(--grafite); text-decoration: none; font-size: .95rem; font-weight: 500; }
.indice a:hover { background: #fff; color: var(--azul-profundo); }
.com-indice { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.com-indice__conteudo { display: grid; gap: 24px; }
@media (max-width: 980px) {
  .com-indice { grid-template-columns: 1fr; }
  .indice { position: static; flex-direction: row; flex-wrap: wrap; }
  .indice p { width: 100%; }
  .indice a { background: #fff; }
}

/* ---------- Pessoas ---------- */
.pessoa { display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: var(--raio-g); background: #fff; box-shadow: var(--sombra); }
.pessoa__foto { position: relative; }
.pessoa__iniciais { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--azul-claro); background: var(--azul-profundo); color: #fff; font-family: "Playfair Display", serif; font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: .04em; }
.pessoa__foto img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--azul-claro); }
.pessoa__foto::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--azul-acinzentado); border-top-color: var(--vermelho); transform: rotate(30deg); }
.pessoa h3 { font-size: 1.45rem; margin-bottom: .25em; }
.pessoa__cargo { font-weight: 600; color: var(--azul-profundo); margin-bottom: .6em; }
.pessoa__registro { font-size: .92rem; color: var(--texto-suave); }
@media (max-width: 640px) { .pessoa { grid-template-columns: 1fr; text-align: center; } .pessoa__foto { width: 160px; margin: 0 auto; } }

.parceiro { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px; border-radius: var(--raio); background: #fff; border: 1px solid #E3ECF2; }
.parceiro img, .parceiro__inicial { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
.parceiro__inicial { display: grid; place-items: center; background: var(--cinza-claro); color: var(--cinza-medio); font: 700 1.6rem/1 var(--fonte-titulo); }
.parceiro h3 { margin: 0; font-size: 1.1rem; }
.parceiro .pessoa__cargo { margin: 0; font-size: .95rem; }
.parceiro p { margin: 0; font-size: .94rem; color: var(--texto-suave); }

/* Dados que a clínica ainda vai confirmar */
.pendente { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #FFF4D6; color: #7A5600; font-size: .85em; font-weight: 500; }

/* ---------- Perguntas frequentes ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq__item { border-radius: 16px; background: #fff; border: 1px solid #E3ECF2; transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: var(--azul-acinzentado); box-shadow: var(--sombra); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px;
  cursor: pointer; list-style: none; font: 600 1.05rem/1.4 var(--fonte-titulo); color: var(--grafite);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { color: var(--azul); transition: transform .3s; flex: none; }
.faq__item[open] summary .ic { transform: rotate(180deg); }
.faq__resp { padding: 0 24px 22px; color: var(--texto-suave); }
.faq__resp p:last-child { margin: 0; }

/* ---------- Chamada final ---------- */
.cta-final { text-align: center; }
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-final .lead { margin: 0 auto 32px; }
.cta-final .acoes { justify-content: center; }
.cta-final__info { margin-top: 28px; font-size: .95rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.cta-final__info span { display: inline-flex; align-items: center; gap: 8px; }
.cta-final .aneis { width: 760px; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); border-color: rgba(159, 211, 242, .14); }
.cta-final .aneis::before { border-color: rgba(159, 211, 242, .1); }

/* ---------- Contato ---------- */
.canais { display: grid; gap: 14px; }
.canal { display: flex; gap: 16px; padding: 20px; border-radius: var(--raio); background: #fff; border: 1px solid #E3ECF2; }
.canal .item__icone { margin: 0; width: 48px; height: 48px; flex: none; }
.canal h3 { font-size: 1rem; margin: 0 0 .25em; }
.canal p { margin: 0; font-size: .96rem; color: var(--texto-suave); }
.canal p a { font-weight: 600; }
.canal--wa .item__icone { background: #DDF6E6; color: #128C4A; }

.formulario { display: grid; gap: 16px; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--raio-g); background: #fff; box-shadow: var(--sombra-g); }
.formulario h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin: 0; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { display: grid; gap: 6px; }
.campo--largo { grid-column: 1 / -1; }
.campo label { font-weight: 600; font-size: .92rem; color: var(--grafite); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--azul-acinzentado); background: var(--cinza-claro);
  font: 400 1rem/1.4 var(--fonte-texto); color: var(--grafite); transition: border-color .2s, background .2s;
}
.campo textarea { resize: vertical; min-height: 110px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 2px solid var(--azul); outline-offset: 1px; border-color: var(--azul); background: #fff; box-shadow: 0 0 0 4px rgba(0, 139, 208, .14); }
.formulario .nota { margin: 0; font-size: .86rem; }
@media (max-width: 560px) { .campos { grid-template-columns: 1fr; } }

.mapa { border-radius: var(--raio-g); overflow: hidden; box-shadow: var(--sombra); background: var(--cinza-claro); }
.mapa iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--grafite); color: #B9C0C7; font-size: .95rem; padding: 72px 0 32px; position: relative; overflow: hidden; }
.rodape::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--azul) 0 70%, var(--vermelho) 70% 100%); }
.rodape a { color: #E4E9ED; text-decoration: none; }
.rodape a:hover { color: #fff; text-decoration: underline; }
.rodape__grade { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.rodape__logo img { width: 190px; margin-bottom: 20px; }
.rodape__titulo { font: 600 .8rem/1.3 var(--fonte-titulo); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rodape address p, .rodape__contato p { margin: 0 0 10px; display: flex; gap: 10px; }
.rodape .ic { color: #6FBDE6; margin-top: 3px; }
.rodape__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: .85rem; color: #8F98A1; }
.rodape__legal p { margin: 0; }
@media (max-width: 980px) { .rodape__grade { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rodape__grade { grid-template-columns: 1fr; gap: 32px; } .rodape { padding-top: 56px; } }

/* ---------- Botão flutuante de WhatsApp ---------- */
.wa-flutuante {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px;
  background: #1FA855; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  box-shadow: 0 10px 28px rgba(18, 140, 74, .38); transition: transform .2s, box-shadow .2s;
}
.wa-flutuante:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(18, 140, 74, .45); }
.wa-flutuante .ic { width: 28px; height: 28px; }
@media (max-width: 640px) {
  .wa-flutuante { right: 14px; bottom: 14px; padding: 14px; }
  .wa-flutuante span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Animação de entrada ---------- */
.revelar { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.revelar.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .revelar { opacity: 1; transform: none; }
}

/* =====================================================================
   Reformulação visual (out/2026) — grafismos do manual da marca,
   fotos reais da clínica e fundos oficiais (02-backgrounds-e-texturas)
   ===================================================================== */

/* Texturas oficiais nas seções */
.secao--cinza { background: radial-gradient(1200px 520px at 88% 0%, rgba(0, 139, 208, .07), transparent 70%), radial-gradient(900px 480px at 0% 100%, rgba(10, 77, 134, .05), transparent 70%), linear-gradient(180deg, #F4F7FB 0%, #EEF3F8 100%); }
.secao--circulos { background: radial-gradient(1000px 560px at 100% 50%, rgba(0, 139, 208, .08), transparent 70%), linear-gradient(180deg, #FFFFFF 0%, #F5F8FC 100%); }
.eyebrow { color: var(--azul-texto); }
.hero h1 em, .hero-pagina h1 em { font-style: normal; color: var(--azul); }
.item__icone { background: linear-gradient(135deg, #EAF6FD 0%, var(--azul-claro) 100%); }

/* Foto em círculo com os anéis do gantry (manual, seção 6: máscara circular) */
.hero__visual--circulo { max-width: 540px; margin-left: auto; width: 100%; }
.grafismo { position: absolute; pointer-events: none; z-index: 0; }
.hero__visual--circulo .grafismo { width: 122%; left: -11%; top: -11%; animation: girar 60s linear infinite; }
.circulo-foto { position: relative; z-index: 1; margin: 0; border-radius: 50%; overflow: hidden; aspect-ratio: 1; border: 10px solid #fff; box-shadow: var(--sombra-g); background: #fff; }
.circulo-foto img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual--circulo .selo--a { left: -36px; bottom: 12%; }
.hero__visual--circulo .selo--b { right: -24px; top: 6%; }
@keyframes girar { to { transform: rotate(360deg); } }
@media (max-width: 980px) {
  .hero__visual--circulo { max-width: 420px; margin: 24px auto 0; }
  .hero__visual--circulo .selo--a { left: 0; bottom: 2%; }
  .hero__visual--circulo .selo--b { right: 0; top: 0; }
}

/* Faixa de números logo abaixo do topo */
.numeros { position: relative; z-index: 2; margin-top: clamp(-56px, -4vw, -36px); }
.numeros__grade {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-radius: var(--raio-g); background: #fff; box-shadow: var(--sombra-g); overflow: hidden;
}
.numero { position: relative; padding: clamp(20px, 2.6vw, 30px) clamp(18px, 2.4vw, 30px); }
.numero + .numero::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: #E3ECF2; }
.numero strong { display: block; font: 800 clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem)/1.05 var(--fonte-titulo); color: var(--azul-profundo); letter-spacing: -.02em; margin-bottom: 6px; }
.numero strong span { color: var(--vermelho); }
.numero p { margin: 0; font-size: .93rem; line-height: 1.45; color: var(--texto-suave); }
/* Card da lista de exames: mais largo e com título menor, para a lista caber */
.numeros__grade:has(.numero--exames) { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); }
.numero--exames strong { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); white-space: nowrap; }
@media (max-width: 860px) {
  .numeros__grade, .numeros__grade:has(.numero--exames) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numero--exames strong { white-space: normal; }
  .numero:nth-child(3)::before { display: none; }
  .numero:nth-child(n+3) { border-top: 1px solid #E3ECF2; }
}

/* Pilares da marca (prancha 02) sobre o fundo escuro de varredura */
.pilares-faixa {
  background: linear-gradient(90deg, rgba(4, 18, 40, .92) 0%, rgba(4, 18, 40, .78) 55%, rgba(4, 18, 40, .55) 100%), url("../img/bg-varredura-escuro.webp") center / cover no-repeat;
}
.pilares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 4vw, 52px); }
.pilar { text-align: center; padding: 0 8px; }
.pilar__foto { position: relative; width: min(190px, 70%); margin: 0 auto 22px; aspect-ratio: 1; }
.pilar__foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .14); }
.pilar__foto::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1.5px solid rgba(159, 211, 242, .35); border-top-color: var(--vermelho); transform: rotate(-35deg); }
.pilar h3 { font-size: 1.25rem; margin-bottom: .35em; }
.pilar h3::after { content: ""; display: block; width: 36px; height: 2px; margin: 12px auto 0; background: var(--azul); }
.pilar p { font-size: .97rem; margin: 0; }
.slogan { font: 300 clamp(.9rem, .85rem + .3vw, 1.05rem)/1.4 var(--fonte-titulo); letter-spacing: .32em; text-transform: uppercase; color: #9FD3F2; margin: 0 0 14px; }
@media (max-width: 760px) { .pilares { grid-template-columns: 1fr; gap: 36px; } }

/* Galeria de fotos reais da clínica */
.galeria { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 230px); gap: clamp(10px, 1.4vw, 16px); }
.galeria figure { position: relative; margin: 0; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); background: var(--cinza-claro); }
.galeria figure:first-child { grid-column: span 2; grid-row: span 2; }
.galeria picture, .galeria img { display: block; width: 100%; height: 100%; }
.galeria img { object-fit: cover; transition: transform .7s; }
.galeria figure:hover img { transform: scale(1.05); }
.galeria figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(4, 18, 40, .72));
  color: #fff; font: 600 .9rem/1.3 var(--fonte-titulo);
}
.galeria--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.galeria--3 figure, .galeria--3 figure:first-child { grid-column: span 1; grid-row: span 2; }
@media (max-width: 860px) {
  .galeria, .galeria--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 42vw, 260px); }
  .galeria figure:first-child { grid-column: span 2; grid-row: span 1; }
  .galeria--3 figure { grid-row: span 1; }
  .galeria--3 figure:first-child { grid-column: span 2; grid-row: span 1; }
}

/* Grafismo de arcos em seções e na chamada final */
.secao > .grafismo--canto { width: min(520px, 60vw); right: max(-140px, -12vw); top: -120px; opacity: .55; }
.cta-final > .grafismo { width: 680px; left: 50%; top: 50%; margin: -340px 0 0 -340px; opacity: .35; }

/* Rodapé com o símbolo da marca em marca d'água */
.rodape::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; background: url("../img/grafismo-arcos.svg") center / contain no-repeat; opacity: .12; pointer-events: none; }
.rodape .container { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) { .hero__visual--circulo .grafismo { animation: none; } }
.valores { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.valores li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.valores li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vermelho); flex: none; box-shadow: 0 0 0 3px rgba(241, 39, 45, .25); }
.rodape__slogan { font: 300 .78rem/1.4 var(--fonte-titulo); letter-spacing: .28em; text-transform: uppercase; color: #6FBDE6; }

/* =====================================================================
   PREMIUM (plano site-premium, out/2026)
   Tipografia display, topo transparente, hero cinema, avaliações,
   galerias com ampliação e sistema de movimento.
   ===================================================================== */
:root {
  --fonte-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --noite-2: #04122A;
  --dourado: #F5B301;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* Tipografia */
h1, h2 { font-family: var(--fonte-display); font-weight: 500; letter-spacing: -.012em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5rem); }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--azul); }
.secao { padding: clamp(80px, 10vw, 140px) 0; }
.lead { font-weight: 400; }

/* Numeração fina das seções (eyebrow) */
main { counter-reset: secao; }
.cabeca > .eyebrow::before {
  counter-increment: secao; content: counter(secao, decimal-leading-zero);
  width: auto; height: auto; background: none; color: var(--vermelho-texto); font-weight: 700;
  padding-right: 12px; border-right: 1px solid currentColor; line-height: 1;
}
.cabeca > .slogan::before { content: none; }

/* ---------- Topo transparente sobre o hero ---------- */
.topo { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .35s, box-shadow .35s, border-color .35s; }
.topo__logo { position: relative; }
.topo__logo img { transition: opacity .35s; }
.topo__logo .topo__logo-branca { position: absolute; left: 0; top: 0; }
.topo:not(.rolou) .topo__logo-cor { opacity: 0; }
.topo.rolou .topo__logo-branca { opacity: 0; }
.topo:not(.rolou) .menu a { color: rgba(255, 255, 255, .88); }
.topo:not(.rolou) .menu a:hover, .topo:not(.rolou) .menu a[aria-current="page"] { color: #fff; }
.topo:not(.rolou) .topo__acoes .btn--secundario { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(10px); }
.topo:not(.rolou) .topo__acoes .btn--primario { background: #fff; color: var(--azul-profundo); box-shadow: none; }
.topo:not(.rolou) .topo__menu-btn { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.topo.rolou { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
body.menu-aberto .topo { background: #fff; }
body.menu-aberto .topo .topo__logo-cor { opacity: 1; }
body.menu-aberto .topo .topo__logo-branca { opacity: 0; }
body.menu-aberto .topo .topo__menu-btn { background: #fff; color: var(--grafite); border-color: var(--azul-acinzentado); }
body.menu-aberto .topo .topo__acoes .btn--primario { background: var(--azul-profundo); color: #fff; }

/* ---------- Hero cinema ---------- */
.hero-cine {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--noite-2);
  min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--altura-topo) + 56px) 0 clamp(80px, 11vh, 132px);
}
.hero-cine--interna { min-height: 76vh; min-height: 76svh; padding-bottom: clamp(64px, 9vh, 104px); }
.hero-cine--home { padding-bottom: clamp(150px, 19vh, 200px); }
.hero-cine__slides { position: absolute; inset: 0; z-index: -2; }
.hero-cine__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-cine__slide.ativo { opacity: 1; }
.hero-cine__slide picture, .hero-cine__slide img { display: block; width: 100%; height: 100%; }
.hero-cine__slide img { object-fit: cover; transform: scale(1.04); will-change: transform; }
.hero-cine__slide.ativo img { animation: kenburns 16s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translate3d(-1.2%, -1%, 0); } }
.hero-cine::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 18, 42, .9) 0%, rgba(4, 18, 42, .7) 38%, rgba(4, 18, 42, .2) 72%, rgba(4, 18, 42, .05) 100%),
    linear-gradient(0deg, rgba(4, 18, 42, .85) 0%, rgba(4, 18, 42, 0) 48%),
    linear-gradient(180deg, rgba(4, 18, 42, .55) 0%, rgba(4, 18, 42, 0) 22%);
}
.hero-cine > .grafismo { width: min(760px, 70vw); right: -12vw; top: 50%; margin-top: min(-380px, -35vw); opacity: .22; z-index: -1; animation: girar 90s linear infinite; }
.hero-cine__conteudo { position: relative; max-width: 780px; }
.hero-cine h1 { color: #fff; margin-bottom: 22px; font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.6rem); max-width: 15ch; }
.hero-cine--interna h1 { font-size: clamp(2.3rem, 1.3rem + 3vw, 4rem); max-width: 18ch; }
.hero-cine h1 em { color: #7FCDF5; }
.hero-cine .eyebrow { color: #A9DBF6; }
.hero-cine .eyebrow::before { background: var(--vermelho); }
.hero-cine__sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 58ch; margin-bottom: 34px; font-weight: 300; }
.hero-cine .trilha, .hero-cine .trilha a { color: rgba(255, 255, 255, .72); }
.hero-cine .trilha li + li::before { color: rgba(255, 255, 255, .4); }
.hero-cine .trilha a:hover { color: #fff; }
.hero-cine .provas li { color: rgba(255, 255, 255, .9); }
.hero-cine .provas .ic { color: #7FCDF5; }
.btn--vidro { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--vidro:hover { background: rgba(255, 255, 255, .2); color: #fff; border-color: #fff; }
.hero-cine .btn--claro { box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }

.selo-google {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); color: #fff; text-decoration: none;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: .9rem; line-height: 1.2; margin-bottom: 26px;
  transition: background .3s, transform .3s;
}
.selo-google:hover { color: #fff; background: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.selo-google .logo-g { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #fff; flex: none; }
.selo-google strong { font: 700 1.05rem/1 var(--fonte-titulo); color: #fff; }
.selo-google small { display: block; font-size: .78rem; opacity: .8; margin-top: 2px; }
.estrelas { color: var(--dourado); letter-spacing: 2px; font-size: .95em; }

.hero-cine__base { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 1; }
.hero-cine__base .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.hero-cine__barras { display: flex; gap: 10px; align-items: center; }
.hero-cine__barra { position: relative; width: 46px; height: 3px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .28); cursor: pointer; overflow: hidden; }
.hero-cine__barra::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-cine__barra.ativa::after { animation: barra 6.5s linear forwards; }
@keyframes barra { to { transform: scaleX(1); } }
.hero-cine__legenda { font: 500 .78rem/1.3 var(--fonte-titulo); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-left: 14px; }
.rolar { display: inline-flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .75); font: 500 .74rem/1 var(--fonte-titulo); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.rolar:hover { color: #fff; }
.rolar span { position: relative; width: 22px; height: 36px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 12px; }
.rolar span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: rolar 2s var(--ease) infinite; }
@keyframes rolar { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.hero-cine--home + .numeros { margin-top: -96px; }
.hero-cine--home ~ .numeros .numeros__grade { background: rgba(255, 255, 255, .97); }
@media (max-width: 980px) {
  .hero-cine::before { background: linear-gradient(0deg, rgba(4, 18, 42, .94) 0%, rgba(4, 18, 42, .72) 50%, rgba(4, 18, 42, .35) 100%); }
  .hero-cine { min-height: 92svh; }
  .hero-cine--interna { min-height: 74svh; }
  .rolar { display: none; }
}
@media (max-width: 640px) {
  .hero-cine { padding-top: calc(var(--altura-topo) + 40px); }
  .hero-cine--home { padding-bottom: 150px; }
  .hero-cine__legenda { display: none; }
  .selo-google { font-size: .82rem; }
}

/* ---------- Sistema de movimento ---------- */
html.js:not(.anima-off) [data-anima="sobe"] { opacity: 0; visibility: hidden; }
html.js:not(.anima-off) [data-anima="titulo"] { visibility: hidden; }
.palavra { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.palavra > span { display: inline-block; will-change: transform; }
[data-parallax] { overflow: hidden; }


/* ---------- Avaliações do Google ---------- */
.secao--avaliacoes { background: radial-gradient(1100px 520px at 0% 0%, rgba(0, 139, 208, .08), transparent 70%), radial-gradient(800px 480px at 100% 100%, rgba(241, 39, 45, .04), transparent 70%), linear-gradient(180deg, #F7FAFD 0%, #FFFFFF 100%); overflow: hidden; }
.avaliacoes__topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.nota-google { display: flex; align-items: center; gap: 18px; }
.nota-google .logo-g { width: 58px; height: 58px; padding: 12px; border-radius: 50%; background: #fff; box-shadow: var(--sombra); }
.nota-google strong { display: inline-block; font: 600 3.4rem/1 var(--fonte-display); color: var(--grafite); margin-right: 10px; vertical-align: middle; }
.nota-google .estrelas { font-size: 1.35rem; vertical-align: middle; }
.nota-google small { display: block; margin-top: 4px; color: var(--texto-suave); font-size: .95rem; }
.avaliacoes__nav { display: flex; gap: 10px; }
.avaliacoes__btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--azul-acinzentado); background: #fff; color: var(--azul-profundo); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.avaliacoes__btn:hover { background: var(--azul-profundo); color: #fff; border-color: var(--azul-profundo); }
.avaliacoes__trilho {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 86%); gap: 20px;
  overflow-x: auto; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 8px 4px 28px; margin: 0 -4px; scrollbar-width: none;
}
.avaliacoes__trilho::-webkit-scrollbar { display: none; }
.depo {
  position: relative; scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: 16px;
  padding: 34px 30px 28px; border-radius: 26px; background: #fff; border: 1px solid #E3ECF2; box-shadow: var(--sombra);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.depo:hover { transform: translateY(-4px); box-shadow: var(--sombra-g); }
.depo__aspas { position: absolute; right: 26px; top: 24px; color: var(--azul-claro); }
.depo__aspas .ic { width: 44px; height: 44px; fill: currentColor; stroke: none; }
.depo blockquote { margin: 0; flex: 1; }
.depo blockquote p { margin: 0; font: italic 500 1.12rem/1.6 var(--fonte-display); color: var(--grafite); }
.depo figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--cinza-claro); font-size: .86rem; color: var(--texto-suave); }
.depo figcaption strong { display: block; font-size: .98rem; }
.depo__inicial { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--azul), var(--azul-profundo)); color: #fff; font: 700 1rem/1 var(--fonte-titulo); flex: none; }
.avaliacoes__rodape { margin: 8px 0 0; }

/* ---------- Faixa de fotos (por dentro da sala) ---------- */
.faixa-fotos { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.faixa-fotos figure { position: relative; margin: 0; border-radius: var(--raio-g); aspect-ratio: 4 / 5; box-shadow: var(--sombra); cursor: zoom-in; }
.faixa-fotos figure:first-child { aspect-ratio: auto; }
.faixa-fotos picture, .faixa-fotos img { display: block; width: 100%; height: 100%; }
.faixa-fotos img { object-fit: cover; }
.faixa-fotos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(180deg, transparent, rgba(4, 18, 40, .72)); color: #fff; font: 600 .92rem/1.3 var(--fonte-titulo); }
@media (max-width: 760px) {
  .faixa-fotos { grid-template-columns: 1fr 1fr; }
  .faixa-fotos figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
.galeria figure { cursor: zoom-in; }

/* ---------- Ampliar foto (lightbox) ---------- */
.ampliar { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3, 12, 28, .94); color: #fff; }
.ampliar::backdrop { background: rgba(3, 12, 28, .6); }
.ampliar[open] { display: grid; place-items: center; animation: aparece .35s var(--ease); }
@keyframes aparece { from { opacity: 0; } }
.ampliar img { max-width: min(1400px, 92vw); max-height: 82vh; width: auto; height: auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.ampliar p { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; margin: 0; font: 500 .95rem/1.4 var(--fonte-titulo); color: rgba(255, 255, 255, .85); }
.ampliar button { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.ampliar button:hover { background: rgba(255, 255, 255, .2); }
.ampliar .ic { width: 24px; height: 24px; }
.ampliar__fechar { top: 22px; right: 22px; }
.ampliar__ant { left: 22px; top: 50%; margin-top: -27px; }
.ampliar__prox { right: 22px; top: 50%; margin-top: -27px; }

/* ---------- Cards de exame premium ---------- */
.card-exame { border-radius: 30px; border-color: #E6EEF4; }
.card-exame__foto img { aspect-ratio: 4 / 3; transition: transform 1.1s var(--ease); }
.card-exame:hover .card-exame__foto img { transform: scale(1.07); }
.card-exame__corpo { position: relative; }
.card-exame__corpo::before { content: ""; position: absolute; left: clamp(22px, 3vw, 34px); top: 0; width: 56px; height: 3px; background: linear-gradient(90deg, var(--azul) 0 70%, var(--vermelho) 70%); }
.card-exame__corpo h3 { font-family: var(--fonte-display); font-weight: 500; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); }
.card-exame .link-seta .ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid var(--azul-acinzentado); transition: background .3s, color .3s, transform .3s; }
.card-exame:hover .link-seta .ic { background: var(--azul-profundo); color: #fff; border-color: var(--azul-profundo); }
.grade--3.exames3 .card-exame__lista li:nth-child(n+5) { display: none; }

/* ---------- Passos: linha que se desenha ---------- */
.passos::before { transform: scaleX(var(--progresso, 1)); transform-origin: left; opacity: .7; }
@media (max-width: 980px) { .passos::before { transform: scaleY(var(--progresso, 1)); transform-origin: top; } }

/* ---------- Pilares: anel girando ---------- */
.pilar__foto::after { animation: girar 22s linear infinite; }
.pilar h3 { font-family: var(--fonte-display); font-weight: 500; font-size: 1.45rem; }

/* ---------- Chamada final com a fachada ---------- */
.cta-final.escura { background: linear-gradient(180deg, rgba(4, 18, 42, .9) 0%, rgba(4, 18, 42, .78) 100%), url("../img/real-fachada-1920.jpg") center 40% / cover no-repeat; padding: clamp(110px, 13vw, 180px) 0; }
.cta-final h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); max-width: 18ch; }
.cta-final h2 em { color: #7FCDF5; }

/* ---------- Rodapé premium ---------- */
.rodape { background: #07152B; }
.rodape__faixa { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 52px; margin-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.rodape__frase { margin: 0; font: 500 clamp(1.9rem, 1.2rem + 2.6vw, 3.3rem)/1.1 var(--fonte-display); color: #fff; }
.rodape__frase em { color: #6FBDE6; }
.rodape__faixa .selo-google { margin: 0; }

/* ---------- Micro-interações ---------- */
.btn--primario, .btn--claro { position: relative; overflow: hidden; }
.btn--primario::after, .btn--claro::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transition: left .7s var(--ease); pointer-events: none;
}
.btn--claro::after { background: linear-gradient(90deg, transparent, rgba(0, 139, 208, .18), transparent); }
.btn--primario:hover::after, .btn--claro:hover::after { left: 130%; }
.wa-flutuante::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 168, 85, .55); animation: pulso 8s ease-out infinite; }
@keyframes pulso { 0%, 82% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .55); } 100% { box-shadow: 0 0 0 18px rgba(31, 168, 85, 0); } }

@media (prefers-reduced-motion: reduce) {
  .hero-cine__slide.ativo img, .hero-cine > .grafismo, .pilar__foto::after, .wa-flutuante::before { animation: none; }
  [data-parallax] img { transform: none; }
}

/* Galeria ampla (A clínica): 9 fotos em mosaico */
.galeria--ampla { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.galeria--ampla figure:first-child { grid-column: span 2; grid-row: span 2; }
.galeria--ampla figure:nth-child(n+6) { grid-column: span 2; }
@media (max-width: 860px) {
  .galeria--ampla figure:nth-child(n+6) { grid-column: span 1; }
}

/* =========================================================
   Pop-up de agendamento + formulário
   ========================================================= */
.btn--largo { width: 100%; justify-content: center; }
.form-agendar { display: grid; gap: 16px; }
.form-agendar__isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-agendar__aceite { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--grafite); line-height: 1.45; cursor: pointer; }
.form-agendar__aceite input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--azul-profundo); flex: none; }
.form-agendar__status { margin: 0; font-size: .92rem; font-weight: 600; }
.form-agendar__status:empty { display: none; }
.form-agendar__status.ok { color: #0F7A3D; background: #E8F6EE; padding: 12px 14px; border-radius: 12px; }
.form-agendar__status.erro { color: #B3261E; }
.form-agendar .nota { font-size: .82rem; margin: 0; }
.formulario .form-agendar { margin-top: 8px; }

.popup-agendar { padding: 0; border: 0; background: transparent; width: min(1040px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); overflow: visible; }
.popup-agendar::backdrop { background: rgba(4, 18, 42, .62); backdrop-filter: blur(6px); }
.popup-agendar[open] { animation: popupEntra .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes popupEntra { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.popup-agendar__caixa { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: minmax(0, 1fr); background: #fff; border-radius: var(--raio-g); overflow: hidden; box-shadow: 0 30px 80px rgba(4, 18, 42, .35); max-height: calc(100dvh - 32px); }
.popup-agendar__lado { position: relative; color: #fff; min-height: 100%; }
.popup-agendar__lado picture, .popup-agendar__lado img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.popup-agendar__lado::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 18, 42, .1) 0%, rgba(4, 18, 42, .5) 45%, rgba(4, 18, 42, .92) 100%); }
.popup-agendar__lado-texto { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 32px; }
.popup-agendar__frase { font-family: var(--fonte-display); font-size: 1.7rem; line-height: 1.2; margin: 6px 0 18px; color: #fff; }
.popup-agendar__frase em { color: #9FD3F2; }
.popup-agendar__lado ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.popup-agendar__lado li { display: flex; gap: 8px; align-items: center; }
.popup-agendar__lado li .ic { width: 18px; height: 18px; color: #9FD3F2; }
.popup-agendar__form { position: relative; min-height: 0; padding: clamp(24px, 3vw, 40px); overflow-y: auto; }
.popup-agendar__form h2 { margin: 0 0 6px; padding-right: 50px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.popup-agendar__sub { margin: 0 0 20px; }
.popup-agendar__fechar { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--azul-acinzentado); background: #fff; color: var(--grafite); display: grid; place-items: center; cursor: pointer; }
.popup-agendar__fechar:hover { background: var(--azul-claro); }
.popup-agendar__wa { margin: 16px 0 0; text-align: center; font-size: .92rem; }
.popup-agendar__wa a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #128C4A; }
.popup-agendar__wa .ic { width: 18px; height: 18px; }
body.popup-aberto { overflow: hidden; }
@media (max-width: 860px) {
  .popup-agendar { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; }
  .popup-agendar__caixa { grid-template-columns: 1fr; border-radius: 0; height: 100dvh; max-height: 100dvh; }
  .popup-agendar__lado { display: none; }
  .popup-agendar__form { padding: 22px 18px 28px; }
}
@media (prefers-reduced-motion: reduce) { .popup-agendar[open] { animation: none; } }

/* =========================================================
   Fotos de pessoas e atendimento (banco de imagens)
   ========================================================= */
.foto-larga { margin: 0 0 clamp(32px, 4vw, 56px); border-radius: var(--raio-g); overflow: hidden; aspect-ratio: 21 / 8; box-shadow: 0 24px 60px rgba(6, 26, 51, .14); }
.foto-larga img, .foto-coluna img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-coluna { margin: 28px 0; border-radius: var(--raio-g); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 20px 50px rgba(6, 26, 51, .14); }
.faixa-imagem { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(380px, 46vw, 600px); padding: clamp(48px, 6vw, 88px) 0; color: #fff; overflow: hidden; }
.faixa-imagem picture, .faixa-imagem > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.faixa-imagem::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 18, 42, .86) 0%, rgba(4, 18, 42, .55) 50%, rgba(4, 18, 42, .1) 100%), linear-gradient(0deg, rgba(4, 18, 42, .55) 0%, transparent 50%); }
.faixa-imagem .container { width: 100%; }
.faixa-imagem__frase { font-family: var(--fonte-display); font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem); line-height: 1.15; max-width: 20ch; margin: 8px 0 0; color: #fff; }
.faixa-imagem__frase em { color: #9FD3F2; }
.escura.escura--foto { background: linear-gradient(90deg, rgba(4, 18, 42, .95) 0%, rgba(4, 18, 42, .86) 45%, rgba(4, 18, 42, .62) 100%), var(--foto) center / cover no-repeat; }
@media (max-width: 760px) {
  .foto-larga { aspect-ratio: 16 / 10; }
  .faixa-imagem::after { background: linear-gradient(0deg, rgba(4, 18, 42, .9) 0%, rgba(4, 18, 42, .45) 60%, rgba(4, 18, 42, .2) 100%); }
  .escura.escura--foto { background: linear-gradient(180deg, rgba(4, 18, 42, .9), rgba(4, 18, 42, .94)), var(--foto) center / cover no-repeat; }
}
.popup-agendar__lado .eyebrow { color: #9FD3F2; }

/* =========================================================
   Revisão de proporções (26/10/2026)
   ========================================================= */
.secao { padding: clamp(56px, 6.2vw, 100px) 0; }
.secao--compacta { padding: clamp(40px, 4.5vw, 64px) 0; }
/* duas seções brancas seguidas não somam dois respiros inteiros */
.secao:not([class*="secao--"]):not(.escura) + .secao:not([class*="secao--"]):not(.escura),
.secao--avaliacoes + .secao:not([class*="secao--"]):not(.escura) { padding-top: clamp(8px, 1.5vw, 24px); }
h2 { font-size: clamp(1.85rem, 1.3rem + 1.7vw, 2.75rem); }
.cabeca { margin-bottom: clamp(28px, 3.2vw, 44px); }
.cta-final.escura { padding: clamp(72px, 8vw, 120px) 0; }
.cta-final h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
.faixa-imagem { min-height: clamp(320px, 30vw, 460px); padding: clamp(40px, 4.5vw, 64px) 0; }
.faixa-imagem > picture img { object-position: var(--pos, center 30%); }
.faixa-imagem__frase { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.7rem); }
/* textos claros sobre fundo escuro (a regra geral do eyebrow vinha depois e escurecia) */
.eyebrow.eyebrow--claro, .escura .eyebrow, .faixa-imagem .eyebrow { color: #9FD3F2; }
/* faixa com foto: cartão largo dentro da grade do site (menos corte nas pessoas, mais proporcional) */
.faixa-imagem { width: min(100% - 2 * var(--gutter), var(--largura)); margin: clamp(16px, 2vw, 32px) auto; border-radius: var(--raio-g); min-height: clamp(300px, 28vw, 440px); }
.faixa-imagem .container { padding: 0 clamp(24px, 4vw, 56px); }
.escura.escura--foto { background: linear-gradient(90deg, rgba(4, 18, 42, .94) 0%, rgba(4, 18, 42, .8) 42%, rgba(4, 18, 42, .45) 100%), var(--foto) center / cover no-repeat; }
.escura--foto .item { background: rgba(6, 26, 51, .55); backdrop-filter: blur(8px); }
@media (max-width: 760px) {
  .faixa-imagem { width: 100%; margin: 0; border-radius: 0; }
  .faixa-imagem .container { padding: 0 var(--gutter); }
  .escura.escura--foto { background: linear-gradient(180deg, rgba(4, 18, 42, .88), rgba(4, 18, 42, .94)), var(--foto) center / cover no-repeat; }
}

/* Perguntas frequentes: realce suave do item aberto */
.faq__item { transition: border-color .35s ease, box-shadow .35s ease, background-color .35s ease; }
.faq__item summary { transition: color .25s ease; }
.faq__item summary:hover { color: var(--azul-profundo); }
.faq__item summary .ic { transition: transform .42s cubic-bezier(.2, .7, .2, 1); }
.faq__item.fechando summary .ic { transform: rotate(0deg); }
.faq__item.fechando { border-color: #E3ECF2; box-shadow: none; }

/* Faixa escura com foto: foto ao fundo + camada de degradê da marca na frente */
.escura.escura--foto { background: #061A33; isolation: isolate; overflow: hidden; }
.escura__foto, .escura__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; }
.escura--foto::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(0, 139, 208, .28), transparent 60%),
    radial-gradient(50% 70% at 85% 100%, rgba(241, 39, 45, .14), transparent 60%),
    linear-gradient(90deg, rgba(4, 18, 42, .97) 0%, rgba(4, 18, 42, .9) 38%, rgba(6, 26, 51, .62) 70%, rgba(6, 26, 51, .38) 100%);
}
.escura--foto .item { background: rgba(6, 26, 51, .5); border-color: rgba(159, 211, 242, .18); backdrop-filter: blur(10px); }
@media (max-width: 760px) {
  .escura.escura--foto { background: #061A33; }
  .escura--foto::after { background: linear-gradient(180deg, rgba(4, 18, 42, .82) 0%, rgba(4, 18, 42, .93) 45%, rgba(4, 18, 42, .97) 100%); }
}

/* Grafismo animado (o próprio desenho gira e tem o feixe de luz; sem rotação extra por fora) */
.hero-cine > .grafismo { animation: none; opacity: .32; }
.cta-final > .grafismo { width: min(760px, 92vw); margin: calc(min(760px, 92vw) / -2) 0 0 calc(min(760px, 92vw) / -2); opacity: .55; mix-blend-mode: screen; }

/* =========================================================
   CORPO PREMIUM (27/10/2026) — alternância claro/escuro,
   cartões vivos, layouts em mosaico e novo efeito nos botões
   ========================================================= */
:root {
  --marinho: #061A33;
  --marinho-fundo: #04122A;
  --azul-luz: #9FD3F2;
  --vidro: rgba(255, 255, 255, .045);
  --vidro-borda: rgba(159, 211, 242, .16);
  --mola: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Fundos claros ---------- */
.secao.claro { background: #fff; }
.secao.claro.secao--suave { background: linear-gradient(180deg, #F5F8FC 0%, #EDF3F9 100%); }

/* ---------- Fundo escuro de verdade (marinho + brilhos + grafismo animado) ---------- */
.secao.escura:not(.cta-final):not(.escura--foto) {
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(0, 139, 208, .22), transparent 62%),
    radial-gradient(760px 460px at 0% 100%, rgba(241, 39, 45, .10), transparent 62%),
    linear-gradient(180deg, var(--marinho) 0%, var(--marinho-fundo) 100%);
  isolation: isolate;
}
.secao.escura:not(.cta-final):not(.escura--foto)::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: clamp(420px, 46vw, 720px); aspect-ratio: 1; right: clamp(-260px, -14vw, -120px); top: clamp(-260px, -14vw, -120px);
  background: url("../img/grafismo-animado.svg") center / contain no-repeat; opacity: .38;
}
.secao.escura:not(.cta-final):not(.escura--foto):nth-of-type(even)::before { right: auto; top: auto; left: clamp(-260px, -14vw, -120px); bottom: clamp(-260px, -14vw, -120px); }
.secao.escura:not(.cta-final):not(.escura--foto)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(rgba(159, 211, 242, .10) 1px, transparent 1.4px) 0 0 / 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.secao.escura > .container { position: relative; z-index: 1; }
.escura h2 em, .escura .faixa-imagem__frase em { color: #6CC4F0; }
.escura .cabeca > .eyebrow::before { color: #FF6A6E; }

/* componentes sobre fundo escuro */
.escura .item, .escura .tipo, .escura .publico, .escura .painel, .escura .depo, .escura .canal {
  background: var(--vidro); border: 1px solid var(--vidro-borda); box-shadow: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.escura .tipo h3, .escura .publico h3, .escura .painel h3, .escura .depo strong { color: #fff; }
.escura .tipo p, .escura .publico p, .escura .item p, .escura .painel p, .escura .lista-check li, .escura .depo figcaption { color: #B9CDDE; }
.escura .item__icone { background: rgba(0, 139, 208, .18); color: var(--azul-luz); box-shadow: inset 0 0 0 1px rgba(159, 211, 242, .18); }
.escura .item--destaque { background: linear-gradient(135deg, #0A6FB0 0%, var(--azul-profundo) 100%); border-color: transparent; }
.escura .item--destaque .item__icone { background: rgba(255, 255, 255, .16); color: #fff; }
.escura .link-seta, .escura a:not(.btn) { color: var(--azul-luz); }
.escura .aviso { background: rgba(0, 139, 208, .12); border: 1px solid var(--vidro-borda); color: #D5E6F3; }
.escura .aviso .ic { color: var(--azul-luz); }
.escura .moldura { box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.escura .aneis { border-color: rgba(159, 211, 242, .2); }
.escura .foto-larga, .escura .galeria figure, .escura .faixa-fotos figure { box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.escura .galeria figure { background: #0B2442; }
.escura .depo blockquote p { color: #EAF3FA; }
.escura .depo figcaption { border-top-color: rgba(159, 211, 242, .14); }
.escura .depo__aspas { color: rgba(159, 211, 242, .22); }
.escura .nota-google strong { color: #fff; }
.escura .nota-google small { color: #B9CDDE; }
.escura .avaliacoes__btn { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(159, 211, 242, .3); }
.escura .avaliacoes__btn:hover { background: #fff; color: var(--azul-profundo); border-color: #fff; }
.escura .passos { --fundo-passos: var(--marinho); }
.escura .passos li::before { background: var(--marinho); color: #fff; border-color: var(--azul); box-shadow: 0 0 0 8px var(--marinho), 0 0 24px rgba(0, 139, 208, .45); }
.escura .passos p { color: #B9CDDE; }
.escura .passos::before { opacity: .9; }
.escura .indice { background: rgba(255, 255, 255, .06); }
.escura .mapa { box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }

/* ---------- Cartões vivos (claro e escuro) ---------- */
.item, .tipo, .publico, .canal, .depo, .card-exame, .painel {
  position: relative; overflow: hidden;
  transition: transform .5s var(--mola), box-shadow .5s var(--mola), border-color .4s ease, background-color .4s ease;
}
.item:hover, .tipo:hover, .publico:hover, .canal:hover, .card-exame:hover {
  transform: translateY(-6px); border-color: var(--azul-acinzentado);
  box-shadow: 0 24px 50px rgba(10, 77, 134, .14);
}
.escura .item:hover, .escura .tipo:hover, .escura .publico:hover, .escura .depo:hover, .escura .canal:hover {
  border-color: rgba(159, 211, 242, .5); background: rgba(255, 255, 255, .07);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(159, 211, 242, .12), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.item__icone { transition: transform .5s var(--mola), background .4s ease, color .4s ease, box-shadow .4s ease; }
.item:hover .item__icone, .tipo:hover .item__icone, .publico:hover .item__icone, .canal:hover .item__icone {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-profundo) 100%); color: #fff;
  transform: rotate(-6deg) scale(1.08); box-shadow: 0 10px 22px rgba(0, 139, 208, .35);
}
.item--destaque:hover .item__icone { background: rgba(255, 255, 255, .22); }
/* reflexo de luz que atravessa o cartão */
.item::after, .tipo::after, .publico::after, .canal::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .55) 50%, transparent 100%);
  transform: skewX(-18deg); opacity: 0;
}
.item:hover::after, .tipo:hover::after, .publico:hover::after, .canal:hover::after { animation: reflexo 1s var(--mola); }
.escura .item::after, .escura .tipo::after, .escura .publico::after {
  background: linear-gradient(100deg, transparent 0%, rgba(159, 211, 242, .16) 50%, transparent 100%);
  animation: reflexo 1.6s var(--mola) infinite; animation-delay: var(--atraso, 0s);
  animation-duration: 9s;
}
.escura .grade > :nth-child(2)::after { --atraso: 1.2s; }
.escura .grade > :nth-child(3)::after { --atraso: 2.4s; }
.escura .grade > :nth-child(4)::after { --atraso: 3.6s; }
.escura .grade > :nth-child(5)::after { --atraso: 4.8s; }
.escura .grade > :nth-child(6)::after { --atraso: 6s; }
@keyframes reflexo { 0% { left: -70%; opacity: 0; } 8% { opacity: 1; } 18% { left: 130%; opacity: 0; } 100% { left: 130%; opacity: 0; } }
.item:hover::after, .tipo:hover::after, .publico:hover::after, .canal:hover::after { animation-duration: 1s; }
/* entrada em cascata dos cartões */
.grade > .revelar:nth-child(2) { transition-delay: .08s; }
.grade > .revelar:nth-child(3) { transition-delay: .16s; }
.grade > .revelar:nth-child(4) { transition-delay: .24s; }
.grade > .revelar:nth-child(5) { transition-delay: .32s; }
.grade > .revelar:nth-child(6) { transition-delay: .40s; }
.revelar.visivel:hover { transition-delay: 0s; }

/* ---------- Mosaico (foto grande + cartões) ---------- */
.bento > .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(18px, 2.2vw, 28px); align-items: stretch; }
.bento .cabeca, .bento .aviso, .bento .passos-cta, .bento .nota { grid-column: 1 / -1; }
.bento .cabeca { margin-bottom: clamp(8px, 1.4vw, 16px); }
.bento .foto-larga { margin: 0; aspect-ratio: auto; min-height: 100%; }
.bento .foto-larga picture, .bento .foto-larga img { height: 100%; }
.bento .grade { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; margin: 0; }
.bento .grade > * { grid-column: auto !important; }
.bento .grade > :last-child:nth-child(odd) { grid-column: 1 / -1 !important; }
.bento .aviso { margin-top: 4px !important; }
@media (max-width: 900px) {
  .bento > .container { grid-template-columns: 1fr; }
  .bento .foto-larga { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 560px) { .bento .grade { grid-template-columns: 1fr !important; } }

/* ---------- Faixa com foto: volta a ser faixa escura de ponta a ponta ---------- */
.faixa-imagem { width: 100%; margin: 0; border-radius: 0; min-height: clamp(380px, 36vw, 560px); padding: clamp(56px, 6vw, 96px) 0; }
.faixa-imagem .container { padding: 0 var(--gutter); }
.faixa-imagem::after {
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(0, 139, 208, .22), transparent 60%),
    linear-gradient(90deg, rgba(4, 18, 42, .94) 0%, rgba(4, 18, 42, .72) 45%, rgba(4, 18, 42, .2) 100%),
    linear-gradient(0deg, rgba(4, 18, 42, .6) 0%, transparent 45%);
}
.faixa-imagem::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: clamp(360px, 40vw, 620px); aspect-ratio: 1;
  left: clamp(-240px, -12vw, -100px); bottom: clamp(-260px, -14vw, -120px);
  background: url("../img/grafismo-animado.svg") center / contain no-repeat; opacity: .5;
}

/* ---------- Equipe: radiologista + foto com frase ---------- */
.dividido--equipe { align-items: center; }
.foto-destaque { position: relative; margin: 0; border-radius: var(--raio-g); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 30px 70px rgba(6, 26, 51, .22); }
.foto-destaque picture, .foto-destaque img { display: block; width: 100%; height: 100%; object-fit: cover; }
.foto-destaque figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 28px 26px; color: #fff;
  font: 500 clamp(1.2rem, 1rem + .8vw, 1.6rem)/1.25 var(--fonte-display);
  background: linear-gradient(180deg, transparent, rgba(4, 18, 42, .88));
}
.foto-destaque figcaption em { color: var(--azul-luz); }

/* ---------- Botões: preenchimento que corre + leve elevação ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: color .4s ease, border-color .4s ease, transform .45s var(--mola), box-shadow .45s var(--mola); }
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; pointer-events: none;
  background: var(--btn-preenche, var(--azul)); transform: scaleX(0); transform-origin: right center;
  transition: transform .55s cubic-bezier(.7, 0, .2, 1);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ic { transition: transform .45s var(--mola); }
.btn:hover .ic:first-child { transform: scale(1.12) rotate(-6deg); }
.btn:hover .ic:last-child:not(:first-child) { transform: translateX(4px); }
.btn--primario { --btn-preenche: linear-gradient(90deg, #0A6FB0 0%, var(--azul) 100%); }
.btn--primario:hover { color: #fff; box-shadow: 0 16px 34px rgba(0, 139, 208, .38); }
.btn--secundario { --btn-preenche: var(--azul-profundo); }
.btn--secundario:hover { color: #fff; border-color: var(--azul-profundo); box-shadow: 0 14px 30px rgba(10, 77, 134, .25); }
.btn--claro { --btn-preenche: linear-gradient(90deg, var(--azul) 0%, #0A6FB0 100%); }
.btn--claro:hover { color: #fff; box-shadow: 0 16px 36px rgba(0, 139, 208, .4); }
.btn--vidro, .btn--contorno-claro { --btn-preenche: #fff; }
.btn--vidro:hover, .btn--contorno-claro:hover { color: var(--azul-profundo); border-color: #fff; }
.topo:not(.rolou) .topo__acoes .btn--secundario { --btn-preenche: #fff; }
.topo:not(.rolou) .topo__acoes .btn--secundario:hover { color: var(--azul-profundo); border-color: #fff; }
.topo:not(.rolou) .topo__acoes .btn--primario { --btn-preenche: linear-gradient(90deg, var(--azul) 0%, #0A6FB0 100%); }
.topo:not(.rolou) .topo__acoes .btn--primario:hover { color: #fff; }
/* link com seta: sublinhado que cresce */
.link-seta { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--mola), color .3s ease; }
.link-seta:hover { background-size: 100% 1.5px; }

@media (prefers-reduced-motion: reduce) {
  .escura .item::after, .escura .tipo::after, .escura .publico::after { animation: none; }
  .btn::before { transition: none; }
  .item:hover, .tipo:hover, .publico:hover, .canal:hover, .card-exame:hover, .btn:hover { transform: none; }
}

/* ---------- Particular e convênios + botões de WhatsApp por serviço ---------- */
.convenios { margin-bottom: 20px; }
.convenios .item p + p { margin-top: .7em; }
.convenios__lista { list-style: none; padding: 0; margin: .7em 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.convenios__lista li { padding: 6px 14px; border-radius: 999px; background: var(--azul-claro); color: var(--azul-profundo); font-weight: 600; font-size: .92rem; }
.convenios__outro { margin: 0 0 24px; }
.acoes--wa .btn { flex: 1 1 200px; justify-content: center; }
@media (max-width: 640px) { .grade--2.convenios { grid-template-columns: 1fr; } }

/* Endereço clicável: abre a clínica no Google Maps */
.link-endereco { color: inherit; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-style: dotted; }
.link-endereco:hover, .link-endereco:focus-visible { text-decoration-style: solid; }
.cta-final__info .link-endereco { display: inline-flex; align-items: center; gap: 8px; }
.rodape .link-endereco { color: #E4E9ED; text-decoration: underline dotted; }
.rodape .link-endereco:hover { color: #fff; text-decoration: underline; }

/* ---------- Lista completa de exames (Tomografia e Ressonância) ---------- */
.exames { max-width: 960px; }
.exames__grupo summary span { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.exames__grupo summary small { font: 500 .8rem/1 var(--fonte-texto, inherit); color: var(--texto-suave); letter-spacing: .02em; }
.exames__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.exames__lista li { display: flex; gap: 10px; align-items: flex-start; color: var(--texto); line-height: 1.45; }
.exames__lista .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--azul); }
.exames__acao { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #E3ECF2; }
@media (max-width: 640px) { .exames__lista { grid-template-columns: 1fr; } }

/* Política de Privacidade (18/11/2026) */
.politica { max-width: 760px; }
.politica h2 { font-size: 1.3rem; margin: 1.8em 0 .5em; }
.politica h2:first-child { margin-top: 0; }
.politica p, .politica li { color: var(--grafite); }
.politica ul { padding-left: 1.2em; margin: 0 0 1em; }
.politica li { margin-bottom: .35em; }
.form-agendar__aceite a { color: inherit; text-decoration: underline; }

/* Aviso de cookies (aparece só quando o Google Tag Manager está ligado) */
.aviso-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
  background: var(--branco); color: var(--grafite); border: 1px solid #DCE6EE; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(10, 40, 70, .18); padding: 14px 18px; font-size: .92rem; line-height: 1.45; }
.aviso-cookies[hidden] { display: none; }
.aviso-cookies p { margin: 0; flex: 1 1 320px; }
.aviso-cookies a { color: var(--azul-profundo); }
.aviso-cookies__acoes { display: flex; gap: 8px; }
/* Aviso de cookies fora do caminho do botão flutuante do WhatsApp */
.aviso-cookies { right: auto; margin: 0; max-width: min(560px, calc(100% - 32px)); }
@media (max-width: 700px) { .aviso-cookies { right: 16px; max-width: none; bottom: 96px; } }

/* ---------- Ajustes da revisão (18/11/2026) ---------- */
/* Encaixe do carrossel só depois da primeira interação/avanço: o encaixe automático no carregamento conta como rolagem e o Chrome deixa de medir o LCP */
.avaliacoes__trilho.snap { scroll-snap-type: x mandatory; }
/* Título do topo visível desde o início (é o maior elemento da primeira tela) */
html.js:not(.anima-off) .hero-cine [data-anima="titulo"] { visibility: visible; }
.escura .cabeca > .eyebrow::before { color: #FF7A7E; }
/* Controles do topo: área de toque de 24 px e botão de pausa */
.hero-cine__barra { height: 24px; background: none; }
.hero-cine__barra::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: rgba(255, 255, 255, .28); }
.hero-cine__barra::after { inset: auto 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
.hero-cine__pausa { display: grid; place-items: center; width: 32px; height: 32px; margin-right: 4px; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(4, 18, 42, .25); color: #fff; cursor: pointer; }
.hero-cine__pausa .ic { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.hero-cine__pausa .tocar { display: none; fill: currentColor; stroke: none; }
.hero-cine__pausa[aria-pressed="true"] .pausa { display: none; }
.hero-cine__pausa[aria-pressed="true"] .tocar { display: inline; }
.hero-cine.pausado .hero-cine__barra.ativa::after { animation-play-state: paused; }
.galeria figure, .faixa-fotos figure { position: relative; }
.ampliar__abrir { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; border-radius: inherit; }
.ampliar__abrir:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.rodape__legal a { text-decoration: underline; text-underline-offset: 2px; }
.hero-cine--home .hero-cine__base { bottom: 112px; }
@media (max-width: 700px) { .hero-cine--home .hero-cine__base { bottom: 100px; } }
