/* Home e partes compartilhadas, traduzidas dos estilos inline do protótipo
   (handoff/reference/source/Ultra Laser - Home.dc.html). Breakpoint principal: 960 px.
   Phase 3: sem JavaScript. Nada de position: sticky nas seções. */

section { scroll-margin-top: 96px; }
/* Celular: cabeçalho não é fixo, então só uma folga pequena (antes 76px, pensada para o header fixo) */
@media (max-width: 959px) { section { scroll-margin-top: 16px; } }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.pad-112 { padding-top: clamp(64px, 10vw, 112px); padding-bottom: clamp(64px, 10vw, 112px); }
.pad-96 { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.sec { background: var(--branco); color: var(--grafite); }
.sec.off { background: var(--off); }
.sec.escuro { background: var(--grafite); color: var(--branco); }
.sec img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sec ul, .sec ol { list-style: none; margin: 0; padding: 0; }

/* Eyebrow: tracinho amarelo 18x3 + rótulo */
.sobre { font-size: 14px; font-weight: 500; color: var(--texto-4); margin: 0 0 18px; display: flex; gap: 10px; align-items: center; line-height: normal; }
.sobre::before { content: ""; width: 18px; height: 3px; background: var(--amarelo); flex-shrink: 0; }
.escuro .sobre { color: var(--texto-escuro); }

.h2 { font-weight: 400; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.03em; margin: 0; text-wrap: balance; }

/* Botões (links) */
.btn-topo, .btn-preto, .btn-amarelo, .btn-nota, .btn-seta, .btn-contorno, .menu-wa, .menu-agendar, .ct-chegar, .flutuante-wa { transition: background .2s, color .2s, gap .2s ease; }
.btn-topo:active, .btn-preto:active, .btn-amarelo:active, .btn-nota:active, .btn-contorno:active, .menu-wa:active, .menu-agendar:active, .ct-chegar:active, .flutuante-wa:active { transform: scale(.97); }
.btn-preto { display: inline-flex; align-items: center; min-height: 52px; background: var(--grafite); color: var(--branco); padding: 0 24px; font-size: 15px; font-weight: 500; border-radius: 2px; }
.btn-preto:hover { color: var(--amarelo); }
.btn-amarelo { display: inline-flex; align-items: center; min-height: 52px; background: var(--amarelo); color: var(--grafite); padding: 0 24px; font-size: 15px; font-weight: 500; border-radius: 2px; }
.btn-amarelo:hover { background: var(--branco); }

/* ---------- Header (Phase 3: estado inicial do protótipo, sobre o hero; fixo ao rolar = Phase 4) ---------- */
.topo { position: absolute; top: 0; left: 0; right: 0; z-index: 40; color: var(--branco); border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top); }
.topo-in { max-width: var(--container); margin: 0 auto; padding: 10px clamp(16px, 5vw, 32px); min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.topo-logo { flex-shrink: 0; display: flex; }
.topo-logo img { height: clamp(38px, 7vw, 52px); width: auto; display: block; }
.topo-nav { display: flex; gap: clamp(16px, 1.8vw, 28px); flex: 1; justify-content: center; font-size: 15px; white-space: nowrap; }
.topo-nav a { padding: 8px 0; border-bottom: 2px solid transparent; transition: opacity .2s; }
.topo-nav a:hover { opacity: .6; }
.topo-acoes { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-topo { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 44px; background: var(--amarelo); color: var(--grafite); padding: 0 18px; font-size: 14px; font-weight: 500; border-radius: 2px; }
.btn-topo:hover { background: var(--grafite); color: var(--amarelo); }
.burger { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.45); border-radius: 2px; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; }
@media (min-width: 960px) { .burger { display: none; } }
/* Cabeçalho mobile: marca oficial em destaque e opções à direita, sem CTA no topo.
   HOME sobre a foto; internas no fluxo. Sai da tela ao rolar. Desktop preservado. */
@media (max-width: 959px) {
  .topo { position: relative; background: var(--branco); color: var(--grafite); }
  /* Só a HOME: marca e menu na própria foto, sem faixa; rolam com a página.
     Internas sem hero e a camada aberta conservam superfície legível. */
  body:has(.hero-pin) .topo { position: absolute; background: transparent; }
  .topo-nav, .topo .btn-topo, .menu-topo .btn-topo { display: none; }
  .topo .topo-in, .menu-topo .topo-in { min-height: 128px; padding-top: 12px; padding-bottom: 12px; gap: 16px; }
  .topo-logo img { width: clamp(160px, 46vw, 196px); height: auto; }
  body:has(.hero-pin) .topo .topo-logo img { width: clamp(138px, 39.56vw, 168.56px); }
  .burger { width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--amarelo); color: var(--grafite); }
  .burger span { height: 2px; }
}

/* Menu de tela cheia no celular: abre por :target (#menu), sem JS */
.menu-m { display: none; }
@media (max-width: 959px) {
  html:not(.js) .menu-m:target, html.menu-aberto .menu-m { position: fixed; inset: 0; z-index: 45; background: var(--branco); color: var(--grafite); display: flex; flex-direction: column; padding: calc(156px + env(safe-area-inset-top)) clamp(16px, 5vw, 32px) calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; }
}
.menu-topo { position: absolute; top: 0; left: 0; right: 0; padding-top: env(safe-area-inset-top); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--borda-2); }
.burger.fechar { gap: 0; border-color: var(--borda); color: var(--grafite); }
.burger.fechar span:first-child { transform: translateY(.75px) rotate(45deg); }
.burger.fechar span:last-child { transform: translateY(-.75px) rotate(-45deg); }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--borda-2); }
.menu-nav span { font-size: 28px; letter-spacing: -.02em; flex: 1; }
.menu-acoes { margin-top: auto; padding-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-wa, .menu-agendar { min-height: 52px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; border-radius: 2px; }
.menu-wa { border: 1px solid var(--grafite); }
.menu-agendar { background: var(--amarelo); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; background: #EDE7DF; overflow: hidden; }
.hero-capa { position: absolute; inset: 0; display: block; }
.hero-capa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.hero-grad { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20,18,16,.5) 0%, rgba(20,18,16,0) 24%, rgba(20,18,16,0) 50%, rgba(20,18,16,.7) 100%); }
.hero-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; color: var(--branco); }
.hero-txt-in { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 6vw, 32px) clamp(32px, 7vh, 72px); }
.hero-rot { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .2em; color: var(--amarelo); margin: 0 0 16px; line-height: normal; }
.hero h1 { font-weight: 400; font-size: clamp(42px, 4.8vw, 72px); line-height: 1.04; letter-spacing: -.035em; margin: 0; max-width: 21ch; text-wrap: balance; text-shadow: 0 1px 18px rgba(0,0,0,.2); }
.hero-apoio { max-width: 650px; margin: 20px 0 24px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.45; text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.hero-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 100px; background: var(--amarelo); color: #24211D; font-weight: 600; text-decoration: none; }
@media (max-width: 959px) {
  .hero-grad { background: linear-gradient(180deg, rgba(20,18,16,.55) 0%, rgba(20,18,16,.38) 30%, rgba(20,18,16,.1) 48%, rgba(20,18,16,0) 58%); }
  .hero-txt { top: calc(164px + env(safe-area-inset-top)); bottom: auto; }
  .hero-txt-in { padding-bottom: 0; }
  .hero h1 { font-size: clamp(30px, 8vw, 38px); max-width: 20ch; }
  .hero-apoio { max-width: 32ch; margin: 16px 0 20px; font-size: 16px; }
}
/* Desktop (quick 261105-i0f): a foto clara deixava a logo e o rótulo amarelo quase invisíveis. Camada
   horizontal escurece só a coluna do texto (as pernas à direita ficam claras); a vertical reforça o topo
   (logo/menu) e a base (título). Mobile acima, intocado. */
@media (min-width: 960px) {
  .hero-grad { background: linear-gradient(90deg, rgba(20,18,16,.5) 0%, rgba(20,18,16,.3) 40%, rgba(20,18,16,0) 62%), linear-gradient(180deg, rgba(20,18,16,.6) 0%, rgba(20,18,16,.15) 16%, rgba(20,18,16,0) 30%, rgba(20,18,16,.35) 56%, rgba(20,18,16,.72) 100%); }
}

/* Hero imersivo (quick 261103-jjg, decisão do usuário em 2026-11-03; substitui o vídeo).
   O hero fica preso por 0,7 tela de rolagem enquanto a imagem aproxima de 1.15 para 1.6, o título sobe e some
   e o degradê clareia; depois a página segue normalmente. ÚNICA exceção à regra "sem position: sticky": o
   sticky fica contido em .hero-pin, então a próxima seção só começa depois do invólucro e nada se sobrepõe
   (tests/test_home.py trava qualquer outro sticky). Só CSS (scroll-driven animations): sem suporte ou com
   "reduzir movimento", o hero é estático e não há rolagem extra. */
.hero-pin { background: #EDE7DF; }
.hero-capa { transform-origin: 70% 62%; }
@media (max-width: 959px) { .hero-capa { transform-origin: 48% 68%; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-pin { height: 170svh; view-timeline: --hero-pin block; }
    .hero-pin > .hero { position: sticky; top: 0; }
    .hero-capa { will-change: transform; animation: imersivo-zoom linear both; animation-timeline: --hero-pin; animation-range: contain 0% contain 100%; }
    .hero-txt { animation: imersivo-txt linear both; animation-timeline: --hero-pin; animation-range: contain 0% contain 45%; }
    .hero-grad { animation: imersivo-grad linear both; animation-timeline: --hero-pin; animation-range: contain 0% contain 60%; }
    @keyframes imersivo-zoom { from { transform: scale(1.15); } to { transform: scale(1.6); } }
    @keyframes imersivo-txt { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-8vh); } }
    @keyframes imersivo-grad { from { opacity: 1; } to { opacity: .35; } }
  }
}

/* Entrada do hero ao abrir o site ("máscara", aprovada pelo usuário em 2026-11-03): a imagem assenta
   (1.12 → 1, no <img>; o zoom da rolagem fica no .hero-capa e os dois se somam), o rótulo fecha o
   espaçamento entre letras e cada palavra do título sobe de trás de uma linha invisível.
   Só CSS: com "reduzir movimento", tudo aparece direto. */
.h1-anim .w { display: inline-block; vertical-align: top; }
@media (prefers-reduced-motion: no-preference) {
  .hero-capa img { animation: ent-img 2.4s cubic-bezier(.2,.7,.2,1) both; }
  .hero-rot { animation: ent-rot 1s cubic-bezier(.2,.7,.2,1) .15s both; }
  .h1-anim .w { overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
  .h1-anim .wi { display: inline-block; animation: ent-sobe 1.1s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(.45s + var(--i, 0) * 80ms); }
  @keyframes ent-img { from { transform: scale(1.12); filter: brightness(.82); } to { transform: none; filter: none; } }
  @keyframes ent-rot { from { opacity: 0; letter-spacing: .6em; } to { opacity: 1; letter-spacing: .2em; } }
  @keyframes ent-sobe { from { transform: translateY(110%); } to { transform: none; } }
}
/* Atraso por palavra (o projeto não permite style="" no HTML) */
.h1-anim [data-i="0"] { --i: 0; }
.h1-anim [data-i="1"] { --i: 1; }
.h1-anim [data-i="2"] { --i: 2; }
.h1-anim [data-i="3"] { --i: 3; }
.h1-anim [data-i="4"] { --i: 4; }
.h1-anim [data-i="5"] { --i: 5; }

/* ---------- Tratamentos ---------- */
.trat-topo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.destaque { margin: 0 0 14px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 400; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.grifo { background: linear-gradient(transparent 55%, var(--amarelo) 55%); padding: 0 2px; }
.trat-apoio { font-size: 16px; line-height: 1.6; color: var(--texto-3); margin: 0; max-width: 460px; text-wrap: pretty; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); row-gap: 20px; }
.card { min-width: 0; display: flex; color: var(--grafite); border: 2px solid var(--amarelo); }
.card:nth-child(5) { grid-column: 1 / -1; }
.card-txt { width: 100%; padding: 24px clamp(16px, 2vw, 24px) 26px; display: flex; flex-direction: column; align-items: flex-start; }
.card-titulo { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.card-icone, .sec img.card-icone { width: 56px; height: 56px; flex: 0 0 56px; object-fit: contain; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; color: var(--texto-3); }
.card h3 { font-weight: 450; font-size: clamp(20px, 2vw, 24px); line-height: 1.2; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.card p { font-size: 15px; line-height: 1.55; color: var(--texto-3); margin: 0; max-width: 62ch; text-wrap: pretty; }
.card-mais { margin-top: auto; padding-top: 18px; font-size: 13px; font-weight: 500; line-height: normal; color: var(--grafite); }
.card-mais span { color: var(--texto-4); margin-left: 3px; }
.card:is(:hover, :focus-visible) .card-mais { text-decoration: underline; text-decoration-color: var(--amarelo); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card:nth-child(5) .card-txt { display: grid; grid-template-columns: minmax(240px, 1.35fr) minmax(220px, 2fr) auto; align-items: center; column-gap: 24px; }
.card:nth-child(5) .card-titulo { margin: 0; }
.card:nth-child(5) .card-mais { padding: 0; white-space: nowrap; }
.trat-agenda { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; margin-top: 32px; padding: 24px 0 0; border-top: 1px solid var(--borda); }
.trat-agenda p { margin: 0; max-width: 46ch; font-size: 17px; line-height: 1.5; color: var(--texto-3); }
@media (max-width: 759px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card:nth-child(5) { grid-column: auto; }
  .card:nth-child(5) .card-txt { display: flex; align-items: flex-start; }
  .card:nth-child(5) .card-titulo { margin-bottom: 10px; }
  .card:nth-child(5) .card-mais { padding-top: 18px; }
}

/* ---------- Como funciona ---------- */
.h2-como { font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 32px; text-wrap: balance; }
.passos-wrap { position: relative; }
/* Linha de progresso no estado cheio (igual ao protótipo com reduzir movimento); ligada à rolagem = Phase 4 */
.passos-wrap::before { content: ""; position: absolute; pointer-events: none; z-index: 1; left: 0; right: 0; top: 0; height: 2px; background: var(--amarelo); }
@media (max-width: 759px) { .passos-wrap::before { left: 14px; right: auto; top: 2px; bottom: 0; width: 2px; height: auto; background: var(--grafite); } }
.passos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 2px solid var(--grafite); }
.passo { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--borda); display: flex; gap: 16px; align-items: flex-start; }
.passo-n { position: relative; z-index: 1; width: 30px; height: 30px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--amarelo); font-size: 14px; font-weight: 500; }
.passo-t { font-size: 19px; letter-spacing: -.01em; margin-bottom: 4px; }
.passo-d { font-size: 15px; line-height: 1.5; color: var(--texto-3); }

/* ---------- Médico ---------- */
.med { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 6vw, 72px); align-items: start; }
.med-visual { min-width: 0; }
.med-section-title { margin: 0 0 28px; font-size: clamp(32px, 3.3vw, 48px); line-height: 1.12; font-weight: 650; letter-spacing: -.035em; color: var(--grafite); overflow-wrap: anywhere; }
.med-foto { position: relative; padding: 12px 0 0 12px; }
.med-bloco { position: absolute; top: 0; left: 0; width: 60%; height: 60%; background: var(--amarelo); }
.med-mask { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #F4F4F1; }
.med-mask picture { display: block; height: 100%; }
.med-mask img { object-position: 50% 15%; }
.h2-med { font-weight: 400; font-size: clamp(36px, 4.8vw, 64px); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 10px; }
.med-crm { font-size: 15px; color: var(--texto-4); margin: 0 0 24px; }
.med-bio { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; margin: 0 0 28px; text-wrap: pretty; }
.cv > summary { list-style: none; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda); font-size: 16px; font-weight: 500; cursor: pointer; }
.cv > summary::-webkit-details-marker { display: none; }
.cv[open] > summary { margin-bottom: 20px; }
.cv-abrir, .cv-fechar { flex: 1; }
.cv[open] .cv-abrir, .cv:not([open]) .cv-fechar { display: none; }
.cv-ico { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--off); font-size: 18px; font-weight: 400; }
.cv-ico::before { content: "+"; }
.cv[open] .cv-ico { background: var(--amarelo); }
.cv[open] .cv-ico::before { content: "−"; }
.sec .cv-lista { border-left: 3px solid var(--amarelo); padding-left: 22px; display: flex; flex-direction: column; gap: 14px; }
.cv-lista li { font-size: 16px; line-height: 1.45; color: var(--texto-2); }

/* ---------- Duplex Scan (alternância por rádio + :has, sem JS; sem :has os dois painéis aparecem) ---------- */
.dx-topo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 48px; align-items: end; margin-bottom: 32px; }
.dx-foto-m { aspect-ratio: 4 / 3; width: 100%; background: var(--borda); overflow: hidden; }
.dx-foto-m img { object-position: 50% 30%; }
.dx-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--grafite); border-radius: 2px; max-width: 360px; width: 100%; margin: 0; padding: 0; min-inline-size: 0; }
.dx-tabs input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.dx-tabs label { min-height: 48px; display: flex; align-items: center; justify-content: center; background: var(--branco); font-size: 14px; font-weight: 500; cursor: pointer; }
.dx-tabs input:checked + label { background: var(--amarelo); }
.dx-tabs input:focus-visible + label { outline: 2px solid var(--grafite); outline-offset: -4px; }
.dx:has(#dx-venoso:checked) .dx-arterial, .dx:has(#dx-arterial:checked) .dx-venoso { display: none; }
.dx-corpo { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.dx-lead { font-size: clamp(18px, 1.8vw, 24px); line-height: 1.5; color: var(--texto-2); max-width: 640px; margin: 0 0 clamp(28px, 4vw, 40px); text-wrap: pretty; }
.sec .dx-itens { border-top: 2px solid var(--grafite); }
.dx-itens li { padding: 16px 0; border-bottom: 1px solid var(--borda); }
.dx-n { font-size: 13px; font-weight: 500; color: var(--texto-4); margin-bottom: 6px; }
.dx-t { font-size: clamp(18px, 1.6vw, 21px); letter-spacing: -.01em; margin-bottom: 4px; }
.dx-d { font-size: 15px; line-height: 1.5; color: var(--texto-3); text-wrap: pretty; }
.dx-foto-d { aspect-ratio: 4 / 5; width: 100%; background: var(--borda); overflow: hidden; display: none; }
.dx-foto-d img { object-position: 38% 50%; }
.sec .dx-tags { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 28px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); }
.dx-tags::-webkit-scrollbar { display: none; }
.dx-tags li { flex-shrink: 0; white-space: nowrap; border: 1px solid var(--borda); background: var(--branco); padding: 8px 12px; font-size: 14px; color: var(--texto-2); border-radius: 2px; }
.dx-cta { margin-top: 28px; }
@media (min-width: 960px) {
  .dx-foto-m { display: none; }
  .dx-foto-d { display: block; }
  .dx-corpo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .dx-itens li { padding: 20px 0; }
  .sec .dx-tags { flex-wrap: wrap; margin: 28px 0 0; padding: 0; }
}

/* ---------- Ultrassonografia ---------- */
.us { padding-top: clamp(64px, 10vw, 104px); padding-bottom: clamp(64px, 10vw, 104px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(36px, 5vw, 64px); align-items: start; }
.us-foto { aspect-ratio: 4 / 3; width: 100%; background: #2A2B2E; overflow: hidden; }
.us-foto img { object-position: 40% 45%; }
@media (min-width: 960px) { .us-foto { aspect-ratio: 1 / 1; } }
.h2-us { font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -.025em; margin: 0 0 18px; text-wrap: balance; }
.us-apoio { font-size: 16px; line-height: 1.6; color: var(--texto-escuro); margin: 0 0 24px; max-width: 480px; }
.us-por { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.2); margin-bottom: 28px; }
.quad { width: 8px; height: 8px; background: var(--amarelo); flex-shrink: 0; }
.us-por-rot { font-size: 13px; color: var(--texto-5); margin-bottom: 2px; }
.us-por-nome { font-size: 17px; color: var(--branco); }
.us-por-crm { font-size: 13px; color: var(--texto-5); margin-top: 2px; }
.sec .us-lista { border-top: 1px solid rgba(255,255,255,.2); }
.us-lista a { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; border-bottom: 1px solid rgba(255,255,255,.2); font-size: clamp(18px, 1.8vw, 22px); font-weight: 400; }
.us-lista a:hover, .us-lista a:active { color: var(--amarelo); }
.us-acao { font-size: 14px; font-weight: 500; color: var(--amarelo); white-space: nowrap; }
.us-agendar { margin-top: 28px; }

/* ---------- Comece pela consulta ---------- */
.pp-card { background: var(--grafite); color: var(--branco); border-top: 4px solid var(--amarelo); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(12px, 1.6vw, 20px); }
.pp-foto { aspect-ratio: 4 / 3; background: #3A3B3F; width: 100%; overflow: hidden; }
.pp-foto img { object-position: 40% 40%; }
.pp-txt { padding: clamp(4px, 1vw, 12px) clamp(8px, 1.6vw, 20px) clamp(16px, 2vw, 24px); display: flex; flex-direction: column; gap: 18px; }
.pp-txt .sobre { color: var(--texto-escuro); margin: 0; }
.h2-pp { font-weight: 400; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.h2-pp span { color: var(--amarelo); }
.pp-apoio { font-size: 17px; line-height: 1.55; color: var(--texto-escuro); margin: 0; max-width: 440px; text-wrap: pretty; }
.pp-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.btn-seta { min-height: 56px; display: inline-flex; align-items: center; gap: 14px; background: var(--amarelo); color: var(--grafite); padding: 0 8px 0 22px; font-size: 16px; font-weight: 500; border-radius: 2px; }
.btn-seta:hover, .btn-seta:active { background: var(--branco); gap: 20px; }
.btn-seta:active { transform: scale(.98); }
.btn-seta span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--grafite); color: var(--amarelo); font-size: 18px; }
.pp-info { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--texto-escuro); }
.ponto-verde { width: 7px; height: 7px; border-radius: 50%; background: #25B35A; flex-shrink: 0; }

/* ---------- Nota importante ---------- */
.nota-sec { position: relative; background: var(--off); }
.nota-m { display: none; }
.h2-nota { font-weight: 400; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 24px; text-wrap: balance; }
.nota-intro { font-size: 16px; line-height: 1.6; color: var(--texto-2); margin: 0; max-width: 480px; text-wrap: pretty; }
.sec .nota-lista { border-top: 2px solid var(--grafite); margin-top: 24px; }
.nota-lista li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--borda); font-size: 15px; line-height: 1.45; }
.nota-lista li::before { content: ""; width: 6px; height: 6px; background: var(--amarelo); outline: 1px solid var(--grafite); flex-shrink: 0; margin-top: 8px; }
.nota-d { padding-top: clamp(64px, 10vw, 112px); padding-bottom: clamp(64px, 10vw, 112px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 64px; align-items: start; }
.nota-blocos { display: flex; flex-direction: column; gap: 12px; }
.nota-bloco { background: var(--branco); padding: clamp(20px, 3vw, 32px); border-top: 3px solid var(--amarelo); }
.nota-bloco.escuro-borda { border-top-color: var(--grafite); }
.nota-bloco h3 { font-weight: 400; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; margin: 0 0 12px; line-height: normal; }
.nota-bloco p { font-size: 16px; line-height: 1.65; color: var(--texto-2); margin: 0; text-wrap: pretty; }
.btn-nota { align-self: flex-start; margin-top: 12px; display: inline-flex; align-items: center; min-height: 52px; background: var(--amarelo); color: var(--grafite); padding: 0 26px; font-size: 15px; font-weight: 500; border-radius: 2px; }
.btn-nota:hover { background: var(--grafite); color: var(--amarelo); }
@media (max-width: 959px) {
  .nota-sec { background: var(--amarelo); }
  .nota-m { display: block; padding: 56px 20px; color: var(--grafite); }
  .nota-m .sobre { color: var(--grafite); margin-bottom: 16px; }
  .nota-m .sobre::before { background: var(--grafite); }
  .h2-nota-m { font-weight: 400; font-size: 32px; line-height: 1.06; letter-spacing: -.03em; margin: 0 0 24px; text-wrap: balance; }
  .sec .nota-pontos { border-top: 2px solid var(--grafite); }
  .nota-pontos li { display: flex; gap: 12px; align-items: center; min-height: 52px; border-bottom: 1px solid rgba(23,24,26,.25); font-size: 15px; font-weight: 500; line-height: 1.3; }
  .nota-pontos li::before { content: ""; width: 8px; height: 8px; background: var(--amarelo); outline: 1.5px solid var(--grafite); flex-shrink: 0; }
  .nota-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
  .nota-acoes .btn-preto { padding: 0 22px; }
  .link-sub { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
  /* Nota completa no celular (desvio aprovado D-02): aparece ao tocar em "Ler nota completa" (:target, sem JS) */
  .nota-d { display: none; }
  .nota-d:target { display: grid; background: var(--off); padding: 56px 20px; }
}

/* ---------- Dúvidas ---------- */
.duv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 28px 48px; }
.h2-duv { font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -.025em; margin: 0 0 24px; text-wrap: balance; }
.btn-contorno { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1px solid var(--grafite); font-size: 15px; border-radius: 2px; }
.btn-contorno:hover { background: var(--amarelo); }
.faq { border-top: 1px solid var(--grafite); }
.faq-item { border-bottom: 1px solid var(--borda); }
.faq-item > summary { list-style: none; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; cursor: pointer; font-size: 17px; line-height: 1.35; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-ico { width: 32px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--off); font-size: 18px; border-radius: 2px; }
.faq-ico::before { content: "+"; }
.faq-item[open] .faq-ico { background: var(--amarelo); }
.faq-item[open] .faq-ico::before { content: "−"; }
.faq-resp { padding: 0 48px 20px 0; display: flex; flex-direction: column; gap: 10px; }
.faq-resp p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--texto-2); text-wrap: pretty; }
/* No computador o protótipo mostra 5 perguntas; as 3 que vêm da Nota ficam no HTML (a Nota completa aparece) */
@media (min-width: 960px) { .faq-nota { display: none; } }

/* ---------- Contato ---------- */
.ct { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 56px; }
.h2-ct { margin: 0 0 36px; }
.ct-lista { border-top: 2px solid var(--grafite); }
.ct-lista a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--borda); }
.ct-rot { font-size: 13px; font-weight: 500; color: var(--texto-4); margin-bottom: 6px; }
.ct-val { font-size: 19px; }
.ct-val.end { line-height: 1.4; }
.ct-ico { flex-shrink: 0; width: 44px; height: 44px; background: var(--branco); display: flex; align-items: center; justify-content: center; }
.ct-ico.amarelo { background: var(--amarelo); }
/* Mapa automático (quick 261102-map): iframe do Google já no HTML, lazy, sem botão. Cinza e, no celular, sem toque
   (protótipo: mapPE); o link "Como chegar" fica por cima. */
.ct-mapa { position: relative; min-height: 320px; background: var(--borda-2); overflow: hidden; }
.ct-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1); }
@media (max-width: 959px) { .ct-iframe { pointer-events: none; } }
.ct-chegar { position: absolute; left: 12px; bottom: 12px; min-height: 44px; display: flex; align-items: center; padding: 0 16px; background: var(--amarelo); font-size: 14px; font-weight: 500; border-radius: 2px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }

/* ---------- Rodapé ---------- */
.rod { background: var(--amarelo); color: var(--grafite); }
.rod-grid { padding-top: 48px; padding-bottom: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.rod-logo { justify-self: start; display: block; }
.rod-logo img { height: 60px; width: auto; display: block; filter: brightness(0); }
.rod-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.rod-col a { padding: 4px 0; }
.rod-col a.sem-pad { padding: 0; }
.rod-tit { font-size: 13px; font-weight: 600; color: var(--texto-2); }
.rod-cfm { padding-top: 18px; padding-bottom: 18px; border-top: 1px solid rgba(23,24,26,.2); font-size: 13px; line-height: 1.5; color: var(--texto-2); }
.rod-cfm p { margin: 0 0 6px; }
.rod-cfm p:last-child { margin-bottom: 0; }
.rod-cfm strong { font-weight: 600; }
.rod-base { padding-top: 18px; padding-bottom: 28px; border-top: 1px solid rgba(23,24,26,.2); display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: 13px; line-height: 1.5; color: var(--texto-2); }

/* Botão flutuante do computador (WhatsApp, sempre visível como no protótipo). O do celular depende da rolagem = Phase 4. */
.flutuante-wa { position: fixed; right: 24px; bottom: 24px; z-index: 60; background: var(--grafite); color: var(--branco); min-height: 50px; padding: 0 20px; font-size: 14px; font-weight: 500; display: flex; gap: 10px; align-items: center; border-radius: 2px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.flutuante-wa:hover { color: var(--amarelo); }
.flutuante-wa .ponto-verde { width: 8px; height: 8px; }
@media (max-width: 959px) { .flutuante-wa { display: none; } }

/* =====================================================================================
   Phase 4 — interações (só com JavaScript: html.js). Valores literais do protótipo.
   Sem JS nada abaixo muda a página da Phase 3 (exceto o foco visível por teclado).
   ===================================================================================== */
:focus-visible { outline: 2px solid var(--grafite); outline-offset: 2px; }
.escuro :focus-visible, .pp-card :focus-visible, .hero :focus-visible, .flutuante-wa:focus-visible, .flutuante-agendar:focus-visible { outline-color: var(--amarelo); }
.dx-tabs input:focus-visible { outline: none; }

/* Header fixo: transparente sobre o hero, branco depois de 60% da altura da tela (ou com o menu aberto) */
/* Celular (<960px): o cabeçalho fica só no topo e rola junto com a página (pedido do usuário, 2026-11-02);
   fixo/branco ao rolar vale só no desktop. O menu aberto é um overlay próprio (.menu-m, fixed). */
@media (min-width: 960px) {
  html.js .topo { position: fixed; transition: background .3s ease, border-color .3s ease; }
  html.js .topo.rolado { background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--borda-2); color: var(--grafite); }
  html.js .topo.rolado .burger { border-color: var(--borda); }
}
.topo-nav a.ativo { border-bottom-color: var(--amarelo); }
@media (max-width: 959px) { html.js .topo.rolado .btn-topo { display: none; } }
.menu-nav a::after { content: ""; width: 8px; height: 8px; background: transparent; align-self: center; flex-shrink: 0; }
.menu-nav a.ativo::after { background: var(--amarelo); }

/* Barra flutuante do celular "Agendar consulta" (link wa.me): aparece depois do hero, some com o menu aberto */
.flutuante-agendar { display: none; }
@media (max-width: 959px) {
  html.js body { padding-bottom: 72px; }
  html.js .flutuante-agendar { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; min-height: 52px; display: flex; align-items: center; gap: 12px; background: var(--grafite); color: var(--branco); padding: 0 8px 0 20px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; border-radius: 2px; box-shadow: 0 8px 24px rgba(23,24,26,.18); transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s linear .35s; }
  html.js .flutuante-agendar.visivel { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s; }
  html.js .flutuante-agendar:active { transform: scale(.97); }
  .flutuante-agendar span { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--amarelo); color: var(--grafite); font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .topo, html.js .flutuante-agendar, html.js .flutuante-agendar.visivel { transition: none; }
}

/* Duplex sem :has (o JS marca a aba arterial) */
html.js .dx.dx-arterial-on .dx-venoso, html.js .dx:not(.dx-arterial-on) .dx-arterial { display: none; }

/* Linha de progresso do "Como funciona" ligada à rolagem (--p = 0..1; sem JS ou com reduzir movimento = cheia) */
html.js .passos-wrap::before { transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
@media (max-width: 759px) {
  .passos-wrap::after { content: ""; position: absolute; pointer-events: none; left: 14px; top: 2px; bottom: 0; width: 2px; background: var(--borda); }
  html.js .passos-wrap::before { transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
}
