/* Click Imagem Radiologia
   Conceito: a logo são placas translúcidas sobrepostas, o mesmo gesto de empilhar
   cortes de uma tomografia. Modo claro = negatoscópio. Modo escuro = sala de laudo. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-ext-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* marca, tirada da logo */
  --laranja: #ff8000;
  --vermelho: #ff3a12;
  --vinho: #9b2335;
  --ameixa: #5b0a36;

  /* negatoscópio */
  --bg: #f1f3f5;
  --bg-2: #e6e9ec;
  --card: #ffffff;
  --ink: #25121c;
  --mute: #63535c;
  --line: rgba(37, 18, 28, .16);
  --tick: rgba(37, 18, 28, .38);
  --accent: #b34f00;
  --glow: rgba(255, 128, 0, .16);
  --shadow: 0 30px 60px -30px rgba(91, 10, 54, .28);
  --click: #25121c;

  --gutter: clamp(20px, 6vw, 96px);
  --rail: 0px;
  --r-s: 10px;
  --r-m: 20px;
  --r-l: 34px;
  color-scheme: light;
}

/* sala de laudo */
[data-theme="dark"],
.escuro {
  --bg: #1b0f16;
  --bg-2: #24141d;
  --card: #2a1922;
  --ink: #f7f0ed;
  --mute: #bdaeb5;
  --line: rgba(247, 240, 237, .15);
  --tick: rgba(247, 240, 237, .4);
  --accent: #ff9a33;
  --glow: rgba(255, 90, 20, .2);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  --click: #ffffff;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #1b0f16;
    --bg-2: #24141d;
    --card: #2a1922;
    --ink: #f7f0ed;
    --mute: #bdaeb5;
    --line: rgba(247, 240, 237, .15);
    --tick: rgba(247, 240, 237, .4);
    --accent: #ff9a33;
    --glow: rgba(255, 90, 20, .2);
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
    --click: #ffffff;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 "Montserrat", system-ui, sans-serif;
  font-feature-settings: "tnum" 0;
  overflow-x: clip;
  transition: background-color .35s ease, color .35s ease;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.04; letter-spacing: -.03em; }
h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.25; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-s); }
.pular:focus { top: 16px; }

.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.lede { max-width: 38em; color: var(--mute); }
.nota { font-size: .875rem; color: var(--mute); }
.link { color: var(--accent); text-underline-offset: .22em; text-decoration-thickness: 1px; font-weight: 500; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.5em;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 "Montserrat", sans-serif; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; background: none; color: inherit;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-wa { background: var(--laranja); color: #25121c; }
.btn-wa:hover { background: #ff9426; }
.btn-linha { border-color: var(--line); }
.btn-linha:hover { border-color: var(--ink); }
.btn-escuro { background: #25121c; color: #fff; }
.btn-escuro:hover { background: #3a1c2c; }

/* cabeçalho */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: 76px; padding: 0 var(--gutter);
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.topo.rolou { height: 64px; }
/* o vidro fica no pseudo-elemento: backdrop-filter no próprio header prenderia o menu móvel fixo */
.topo::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity .3s;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.topo.rolou::before { opacity: 1; }
.marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--click); flex: none; }
.marca .simbolo { width: 38px; height: 44px; }
.marca .palavra { width: 150px; height: auto; }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.nav a { text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--mute); padding: 6px 0; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.topo-acoes { display: flex; align-items: center; gap: 12px; }
.tema { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.tema button {
  display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: none; color: var(--mute); cursor: pointer; transition: background-color .2s, color .2s;
}
.tema button:hover { color: var(--ink); }
.tema button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.topo .btn { min-height: 42px; font-size: .9375rem; padding: 0 1.15em; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: none; color: inherit; cursor: pointer; place-items: center; }

/* régua lateral: posição na página, como o eixo de uma lâmina de tomografia */
.regua {
  position: fixed; left: 0; top: 0; bottom: 0; width: 34px; z-index: 40; pointer-events: none;
  background-image:
    repeating-linear-gradient(to bottom, var(--tick) 0 1px, transparent 1px 50px),
    repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 10px);
  background-size: 14px 100%, 7px 100%;
  background-repeat: no-repeat;
}
.regua i {
  position: absolute; left: 0; top: 0; width: 22px; height: 2px; background: var(--laranja);
  transform: translateY(calc(var(--p, 0) * (100vh - 2px)));
}
.regua span {
  position: absolute; left: 22px; top: 0; font-size: .6875rem; font-weight: 500; color: var(--mute); white-space: nowrap;
  transform-origin: 0 0;
  transform: translateY(calc(var(--p, 0) * (100vh - 120px) + 12px)) rotate(90deg) translateY(-14px);
}
@media (max-width: 1180px) { .regua { display: none; } }

/* hero */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: center;
  padding: 110px var(--gutter) 56px;
  overflow: clip;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; z-index: -2; right: -12%; top: 4%; width: 74vw; height: 74vw; max-height: 110vh; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent);
}
.hero-txt { position: relative; z-index: 2; max-width: 48rem; }
.hero h1 { font-size: clamp(2.6rem, 6.1vw, 6.6rem); line-height: .98; }
.hero h1 b { display: block; font-weight: 800; color: var(--laranja-titulo); letter-spacing: -.035em; }
:root { --laranja-titulo: #d95f00; }
[data-theme="dark"] { --laranja-titulo: #ff8000; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) { --laranja-titulo: #ff8000; } }
p { text-wrap: pretty; }
h1, h2, h3, blockquote { text-wrap: balance; }
.hero .lede { margin-top: 28px; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.tel { font-weight: 500; text-decoration: none; white-space: nowrap; display: inline-flex; gap: .5em; align-items: center; }
.tel:hover { color: var(--accent); }

.palco {
  --rig: min(47vw, 78vh, 800px);
  --k: 1;
  position: absolute; z-index: -1; right: max(-2vw, -30px); top: 50%; translate: 0 -50%;
  width: calc(var(--rig) * 1.08); height: calc(var(--rig) * 1.2);
  perspective: 1500px; perspective-origin: 50% 40%;
  display: grid; place-items: center;
}
.rig {
  --rx: 9deg; --ry: -27deg; --e: 1;
  position: relative; width: var(--rig); height: calc(var(--rig) * 1.1154);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  will-change: transform;
}
.placa {
  position: absolute; border-radius: calc(var(--rig) * .042);
  transform: translateZ(calc(var(--z) * var(--e) * var(--k)));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 calc(var(--rig) * .04) calc(var(--rig) * .1) -30px rgba(60, 5, 35, .55);
  background: linear-gradient(150deg, rgba(255,255,255,.14), rgba(255,255,255,0) 46%), var(--c);
}
.p-vinho-a { left: 33.75%; top: 4.57%; width: 47.02%; height: 50.6%; --z: -150px; --c: rgba(155, 35, 53, .88); }
.p-vinho-b { left: 24.33%; top: 53.45%; width: 46.83%; height: 42.5%; --z: -150px; --c: rgba(155, 35, 53, .88); }
.p-laranja { left: 46.15%; top: 33.7%; width: 47.21%; height: 42.76%; --z: -70px; --c: rgba(255, 128, 0, .9); }
.p-vermelho { left: 6.63%; top: 19.31%; width: 48.75%; height: 44.14%; --z: 120px; --c: rgba(255, 58, 18, .74); }
.fatia { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: translateZ(calc(var(--z) * var(--e) * var(--k))); }
.fatia use { fill: rgba(240, 0, 10, .3); }
.fatia.contorno use { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.varredura {
  position: absolute; left: -4%; right: -4%; top: 0; height: 2px; background: #fff; opacity: 0;
  box-shadow: 0 0 22px 5px rgba(255, 128, 0, .75);
  transform: translateZ(calc(130px * var(--k)));
  animation: varrer 1.9s .25s cubic-bezier(.45,.05,.3,1) both;
}
@keyframes varrer {
  0% { top: 0; opacity: 0; } 10% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; }
}
/* a régua das lâminas, em volta do volume */
.mm { position: absolute; color: var(--tick); opacity: .9; }
.mm-h { left: 8%; right: 8%; bottom: 0; height: 12px;
  background: repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 10px) bottom / 100% 5px no-repeat,
              repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 50px) bottom / 100% 12px no-repeat; }

/* seções */
.secao { padding: clamp(72px, 11vw, 160px) var(--gutter); position: relative; }
.cab { display: grid; gap: 22px; margin-bottom: clamp(36px, 5vw, 72px); max-width: 52rem; }

/* a clínica */
.clinica { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: start; }
.clinica-foto { grid-column: 1 / span 4; margin: 0; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 3 / 4.6; box-shadow: var(--shadow); }
.clinica-foto img { width: 100%; height: 100%; object-fit: cover; }
.clinica-txt { grid-column: 6 / -1; display: grid; gap: 28px; padding-top: clamp(0px, 3vw, 44px); }
.clinica-txt p.grande { font-size: clamp(1.5rem, 2.9vw, 2.75rem); font-weight: 300; line-height: 1.18; letter-spacing: -.024em; }
.clinica-txt p:not(.grande) { color: var(--mute); max-width: 36em; }
.prazos { grid-column: 3 / -1; display: grid; grid-template-columns: 1fr 1fr 1fr 1.25fr; gap: 14px; margin-top: clamp(30px, 5vw, 72px); }
.prazo { background: var(--card); padding: 24px; border-radius: var(--r-m); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-height: 196px; }
.prazo strong { display: block; font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.prazo span { font-size: .9375rem; color: var(--mute); line-height: 1.4; }
.prazo.destaque { background: var(--ameixa); color: #fff; }
.prazo.destaque span { color: rgba(255,255,255,.82); }
.prazo.destaque strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.25; }
.prazo.destaque .i { width: 28px; height: 28px; color: var(--laranja); }

/* exames, empilhados como cortes */
.pilha { display: grid; gap: 22px; }
.exame {
  --i: 0;
  position: sticky; top: calc(84px + var(--i) * 16px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--card); border-radius: var(--r-l); overflow: hidden;
  min-height: min(560px, 76vh);
  box-shadow: 0 -1px 0 var(--line), var(--shadow);
}
.exame-txt { padding: clamp(26px, 3.4vw, 54px); display: flex; flex-direction: column; gap: 18px; }
.exame-txt h3 { font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; }
.exame-txt p { color: var(--mute); max-width: 32em; }
.exame-prazo { display: inline-flex; align-items: center; gap: .5em; font-size: .9375rem; font-weight: 600; color: var(--accent); }
.exame-txt .btn { margin-top: auto; align-self: flex-start; }
.visor { position: relative; background: #0d0709; margin: 12px 12px 12px 0; border-radius: calc(var(--r-l) - 10px); overflow: hidden; }
.visor img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visor.inteira img { object-fit: contain; padding: 18px 10px 18px 22px; }
.visor::before, .visor::after { content: ""; position: absolute; z-index: 1; color: rgba(255,255,255,.55); pointer-events: none; }
.visor::before { left: 0; top: 0; bottom: 0; width: 12px;
  background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 12px) left / 6px 100% no-repeat,
              repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 60px) left / 12px 100% no-repeat; }
.visor::after { left: 0; right: 0; bottom: 0; height: 12px;
  background: repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 12px) bottom / 100% 6px no-repeat,
              repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 60px) bottom / 100% 12px no-repeat; }

/* tomógrafo */
.escuro { background: var(--bg); color: var(--ink); }
.tomografo { overflow: clip; }
.tomo-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 20px; align-items: center; }
.tomo-top h2 b { display: block; font-weight: 800; }
.tomo-top .lede { margin-top: 26px; }
.eagle-cena { perspective: 1400px; }
.eagle-cena img { width: 100%; max-width: 760px; margin-left: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.5)); transform: rotateX(var(--trx, 0deg)) rotateY(var(--try, 0deg)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }

.fov { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(26px, 4vw, 70px); margin-top: clamp(50px, 7vw, 110px); align-items: center; }
.fov-figura { background: var(--bg-2); border-radius: var(--r-l); padding: clamp(12px, 2vw, 26px); }
.fov-figura svg { width: 100%; height: auto; }
.fov-cabeca { fill: rgba(255, 255, 255, .1); stroke: rgba(255,255,255,.5); stroke-width: 2.5; }
.fov-campo { fill: rgba(255, 128, 0, .24); stroke: var(--laranja); stroke-width: 3.5; transition: x .6s cubic-bezier(.3,.8,.2,1), y .6s cubic-bezier(.3,.8,.2,1), width .6s cubic-bezier(.3,.8,.2,1), height .6s cubic-bezier(.3,.8,.2,1); }
.fov-info h3 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 300; letter-spacing: -.028em; line-height: 1.08; }
.fov-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.fov-tabs button {
  min-height: 44px; padding: 0 1.1em; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--mute);
  font: 600 .9375rem/1 "Montserrat", sans-serif; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.fov-tabs button:hover { color: var(--ink); border-color: var(--tick); }
.fov-tabs button[aria-pressed="true"] { background: var(--laranja); border-color: var(--laranja); color: #25121c; }
.fov-painel p { color: var(--mute); margin-top: 14px; max-width: 34em; }
.fov-painel img { margin-top: 22px; border-radius: var(--r-s); width: 100%; max-width: 440px; }
.fov-painel .nota { font-size: .8125rem; }

.folhas-bloco { margin-top: clamp(60px, 8vw, 130px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(26px, 4vw, 70px); align-items: center; }
.folhas-bloco h3 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 300; letter-spacing: -.028em; line-height: 1.08; margin-bottom: 18px; }
.folhas-bloco p { color: var(--mute); }
.folhas { position: relative; display: flex; justify-content: center; perspective: 1500px; padding: 26px 0; }
.folha {
  width: 37%; flex: none; margin: 0 -3.5%; background: #000; border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
  outline-offset: 4px;
}
.folha:nth-child(1) { transform: rotateY(30deg) translateZ(-70px) ; transform-origin: right center; }
.folha:nth-child(2) { transform: translateZ(0); z-index: 2; }
.folha:nth-child(3) { transform: rotateY(-30deg) translateZ(-70px); transform-origin: left center; }
.folhas:hover .folha:nth-child(1), .folhas:focus-within .folha:nth-child(1) { transform: rotateY(16deg) translateX(-7%) translateZ(-30px); }
.folhas:hover .folha:nth-child(3), .folhas:focus-within .folha:nth-child(3) { transform: rotateY(-16deg) translateX(7%) translateZ(-30px); }
.folha img { width: 100%; }

/* exames online */
.online-grade { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; }
.online-visor { grid-row: span 2; background: #000; border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow); }
.online-visor img { width: 100%; }
.online-visor div { padding: 24px clamp(20px, 3vw, 36px) 30px; color: #f7f0ed; }
.online-visor h3 { font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.025em; margin-bottom: 10px; }
.online-visor p { color: #cdbfc5; font-size: 1rem; max-width: 36em; }
.recursos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.recurso { background: var(--card); border-radius: var(--r-m); padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.recurso .i { width: 28px; height: 28px; color: var(--accent); }
.recurso h3 { font-size: 1.0625rem; }
.recurso p { font-size: .9375rem; line-height: 1.5; color: var(--mute); }
.recurso.largo { grid-column: 1 / -1; }

.passos-bloco { margin-top: clamp(50px, 6vw, 90px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(26px, 4vw, 70px); }
.passos-bloco h3 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 300; letter-spacing: -.028em; line-height: 1.08; margin-bottom: 22px; }
.passos { counter-reset: p; display: grid; }
.passos li { counter-increment: p; display: grid; grid-template-columns: 3.2rem 1fr; gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); }
.passos li:last-child { border-bottom: 1px solid var(--line); }
.passos li::before { content: counter(p); font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1.2; }
.passos strong { display: block; font-weight: 600; }
.passos span { color: var(--mute); font-size: 1rem; }

/* espaço */
.mosaico { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(100px, 13vw, 210px); gap: 12px; }
.mosaico figure { margin: 0; position: relative; border-radius: var(--r-m); overflow: hidden; background: var(--bg-2); }
.mosaico img { width: 100%; height: 100%; object-fit: cover; }
.mosaico figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 99px; background: rgba(27,15,22,.72); color: #fff; font-size: .8125rem; font-weight: 500; }
.m-1 { grid-column: 1 / span 3; grid-row: span 3; }
.m-2 { grid-column: 4 / span 5; grid-row: span 2; }
.m-3 { grid-column: 9 / span 4; grid-row: span 2; }
.m-4 { grid-column: 4 / span 3; grid-row: span 1; }
.m-5 { grid-column: 7 / span 2; grid-row: span 1; }
.gerente {
  grid-column: 9 / span 4; grid-row: span 1; position: relative; background: var(--laranja); color: #25121c;
  border-radius: var(--r-m); padding: 18px 20px; display: flex; flex-direction: column; justify-content: flex-end; overflow: visible;
}
.gerente img { position: absolute; right: 8px; bottom: 0; height: 168%; width: auto; max-width: none; object-fit: contain; border-radius: 0 0 var(--r-m) 0; }
.gerente strong { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.gerente span { font-size: .9375rem; }

.local { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px; margin-top: 14px; }
.local-dados { background: var(--card); border-radius: var(--r-m); padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; box-shadow: var(--shadow); align-content: start; }
.dado { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.dado .i { margin-top: .25em; color: var(--accent); }
.dado address { font-style: normal; }
.horas { display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; margin: 0; font-size: 1rem; }
.horas dt { color: var(--mute); }
.horas dd { margin: 0; font-variant-numeric: tabular-nums; }
.mapa { position: relative; min-height: 340px; border-radius: var(--r-m); overflow: hidden; background: var(--bg-2); display: grid; place-items: center; padding: 24px; text-align: center; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa-capa { display: grid; gap: 18px; justify-items: center; max-width: 28em; }
.mapa-capa .i { width: 34px; height: 34px; color: var(--accent); }
.mapa-acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* avaliações */
.avaliacoes { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.nota-google { display: grid; gap: 10px; }
.nota-num { font-size: clamp(5rem, 10vw, 9.5rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.estrelas { display: inline-flex; gap: 3px; color: var(--laranja); }
.estrelas svg { width: 22px; height: 22px; }
.estrelas .cheia { fill: currentColor; stroke: currentColor; stroke-width: 1; }
.estrelas .vazia { fill: none; stroke: currentColor; stroke-width: 1.25; }
.nota-google p { color: var(--mute); font-size: 1rem; }
.depoimentos { display: grid; gap: 18px; }
.depoimento { margin: 0; }
.depoimento blockquote { margin: 0; font-size: clamp(2rem, 5.2vw, 5rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.04; }
.depoimentos.varios { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.depoimentos.varios .depoimento { background: var(--card); padding: 26px; border-radius: var(--r-m); box-shadow: var(--shadow); }
.depoimentos.varios blockquote { font-size: 1.125rem; letter-spacing: -.01em; line-height: 1.45; font-weight: 400; }
.depoimento figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 22px; font-size: 1rem; color: var(--mute); }
.depoimento figcaption strong { color: var(--ink); font-weight: 600; }
.aval-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(26px, 4vw, 44px); }

/* contato */
.contato { background: var(--laranja); color: #25121c; padding: clamp(70px, 10vw, 150px) var(--gutter); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: end; position: relative; overflow: clip; }
.contato h2 { font-size: clamp(2.8rem, 8vw, 8.4rem); line-height: .96; letter-spacing: -.04em; }
.contato h2 b { display: block; font-weight: 800; }
.contato .btn { margin-top: 36px; min-height: 60px; font-size: 1.0625rem; }
.contato-lista { display: grid; gap: 14px; font-weight: 500; }
.contato-lista a { display: inline-flex; gap: .6em; align-items: center; text-decoration: none; overflow-wrap: anywhere; }
.contato-lista a:hover { text-decoration: underline; text-underline-offset: .2em; }
.contato :focus-visible { outline-color: #25121c; }

.rodape { padding: 40px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; font-size: .875rem; color: var(--mute); }
.rodape-txt { display: grid; gap: 2px; }
@media (min-width: 720px) { .rodape-txt { text-align: right; } }
.rodape .marca .simbolo { width: 30px; height: 35px; }
.rodape .marca .palavra { width: 120px; }

/* WhatsApp flutuante */
.wa-flutuante {
  position: fixed; right: 20px; bottom: 20px; z-index: 45; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--laranja); color: #25121c; box-shadow: 0 16px 30px -10px rgba(91, 10, 54, .55);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .25s;
  opacity: 0; transform: translateY(14px) scale(.92); pointer-events: none;
}
.wa-flutuante.ver { opacity: 1; transform: none; pointer-events: auto; }
.wa-flutuante:hover { transform: translateY(-3px); }
.wa-flutuante .i { width: 28px; height: 28px; }

/* responsivo */
@media (max-width: 1240px) {
  .marca .palavra { width: 128px; }
  .nav { gap: 16px; }
  .nav a { font-size: .875rem; }
}
@media (max-width: 1060px) {
  .menu-btn { display: inline-grid; }
  .topo-acoes { margin-left: auto; }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0; flex-direction: column; justify-content: center; gap: 8px; padding: 90px var(--gutter) 40px;
    background: var(--bg); visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
  }
  .nav.aberto { visibility: visible; opacity: 1; }
  .nav a { font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 300; letter-spacing: -.025em; color: var(--ink); }
  .hero { grid-template-columns: 1fr; align-content: start; padding-top: 100px; }
  .palco { --rig: min(84vw, 560px, 38svh); --k: .62; position: relative; right: auto; top: auto; translate: none; justify-self: center; order: -1; margin-bottom: 8px; }
  .mm-h { display: none; }
  .prazos { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .online-grade, .tomo-top, .fov, .folhas-bloco, .passos-bloco, .local, .avaliacoes { grid-template-columns: minmax(0, 1fr); }
  .eagle-cena img { margin: 0 auto; max-width: 560px; }
  .contato { grid-template-columns: 1fr; }
}
@media (max-width: 820px), (max-height: 660px) {
  .exame { position: static; }
}
@media (max-width: 820px) {
  .exame { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .exame-txt .btn { margin-top: 8px; }
  .visor { order: -1; margin: 10px 10px 0; aspect-ratio: 16 / 10; }
  .clinica-foto { grid-column: 1 / -1; aspect-ratio: 4 / 3.4; }
  .clinica-txt { grid-column: 1 / -1; }
  .mosaico { grid-auto-rows: 42vw; }
  .m-1 { grid-column: 1 / span 6; grid-row: span 2; }
  .m-2 { grid-column: 7 / span 6; grid-row: span 1; }
  .m-3 { grid-column: 7 / span 6; grid-row: span 1; }
  .m-4 { grid-column: 1 / span 6; grid-row: span 1; }
  .m-5 { grid-column: 7 / span 6; grid-row: span 1; }
  .gerente { grid-column: 1 / -1; grid-row: span 1; }
  .gerente img { height: 118%; }
  .folhas { justify-content: flex-start; perspective: none; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; padding: 4px 0 14px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .folha { width: 72%; margin: 0; scroll-snap-align: start; transform: none !important; }
}
@media (max-width: 560px) {
  .topo .btn { display: none; }
  .tema button { width: 30px; height: 30px; }
  .marca .palavra { width: 112px; }
  .marca .simbolo { width: 30px; height: 35px; }
  .prazos, .recursos { grid-template-columns: 1fr; }
  .prazo { min-height: 0; gap: 18px; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .exame { position: static; }
}
