/* Radiosonar — site institucional + áreas (tutor, veterinário, clínica).
   Mobile first. Tema escuro "sonar" com o verde-água da marca. */

@view-transition { navigation: auto; }

:root {
  --teal: #2fd1b4;
  --teal-2: #25b89a;
  --teal-3: #1a957c;
  --teal-glow: rgba(47, 209, 180, .45);
  --mint: #b9f5e8;
  --ink: #04131a;
  --ink-2: #071d26;
  --ink-3: #0c2a35;
  --line: rgba(185, 245, 232, .12);
  --line-2: rgba(185, 245, 232, .22);
  --text: #e8f7f4;
  --muted: #9cb9b5;
  --paper: #f4fbf9;
  --paper-2: #e6f6f1;
  --ink-text: #0d2a2f;
  --danger: #ff6b7a;
  --warn: #ffc56b;
  --r-s: 12px;
  --r: 20px;
  --r-l: 32px;
  --pad: clamp(16px, 5vw, 48px);
  --max: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --f-head: "Sora", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--teal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- grão de ruído sobre tudo (textura de imagem médica) ---------- */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 3%); }
}

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--ink); transition: clip-path 1s var(--ease-io), visibility 0s 1s;
  clip-path: circle(150% at 50% 50%);
}
.loader.done { clip-path: circle(0% at 50% 50%); visibility: hidden; }
.loader__ping { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.loader__ping span {
  position: absolute; inset: 0; border: 2px solid var(--teal); border-radius: 50%;
  animation: ping 1.6s var(--ease) infinite; opacity: 0;
}
.loader__ping span:nth-child(2) { animation-delay: .4s; }
.loader__ping span:nth-child(3) { animation-delay: .8s; }
.loader__ping img { width: 64px; filter: drop-shadow(0 0 20px var(--teal-glow)); }
.loader__bar { position: absolute; bottom: 18%; left: 50%; width: 140px; height: 2px; margin-left: -70px; background: var(--line); overflow: hidden; border-radius: 2px; }
.loader__bar i { position: absolute; inset: 0; background: var(--teal); transform-origin: left; animation: bar 1.1s var(--ease) forwards; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- cursor (só com mouse) ---------- */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-dot { display: block; position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; border-radius: 50%; }
  .cursor { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid var(--teal); opacity: .6;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--teal); }
  .cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(47, 209, 180, .12); opacity: 1; }
  .cursor.is-light { border-color: var(--teal-3); }
}
.click-ping { position: fixed; z-index: 149; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border: 2px solid var(--teal); border-radius: 50%; animation: clickping .7s var(--ease) forwards; }
@keyframes clickping { to { transform: scale(9); opacity: 0; } }

/* ---------- header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-top: env(safe-area-inset-top);
  animation: hdrIn .9s var(--ease) both;
  transition: transform .5s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s;
}
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 80px; transition: height .5s var(--ease); }
.hdr.is-solid .hdr__in { height: 68px; }
.hdr.is-solid { background: rgba(4, 19, 26, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__logo img { height: 58px; width: auto; transition: height .5s var(--ease), transform .5s var(--ease); transform-origin: left center; }
.hdr__logo:hover img { transform: scale(1.04); }
.hdr.is-solid .hdr__logo img { height: 48px; }
.nav { display: none; }
.nav a { position: relative; font-weight: 600; font-size: .92rem; color: var(--muted); padding: 8px 2px; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.btn.hdr__cta { display: none; }
.burger { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; z-index: 120; }
.burger span { position: absolute; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .5s var(--ease), opacity .3s; }
.burger span:nth-child(1) { transform: translateY(-5px); }
.burger span:nth-child(3) { transform: translateY(5px); }
.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .burger span:nth-child(3) { transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 110; background: var(--ink-2);
  clip-path: circle(0 at calc(100% - 39px) 40px); transition: clip-path .8s var(--ease-io);
  display: flex; flex-direction: column; justify-content: center; padding: 90px var(--pad) 40px; overflow-y: auto;
}
.menu-open .mnav { clip-path: circle(160% at calc(100% - 39px) 40px); }
.menu-open { overflow: hidden; }
.mnav::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 10%, rgba(47,209,180,.18), transparent 70%); pointer-events: none; }
.mnav a.mnav__link { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-head); font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 700; padding: 6px 0;
  opacity: 0; transform: translateY(40px); transition: opacity .5s, transform .7s var(--ease), color .3s; }
.mnav a.mnav__link small { font-family: var(--f-body); font-size: .8rem; color: var(--teal); font-weight: 700; }
.mnav a.mnav__link:hover { color: var(--teal); }
.menu-open .mnav a.mnav__link { opacity: 1; transform: none; }
.mnav__foot { margin-top: 36px; display: grid; gap: 12px; opacity: 0; transition: opacity .6s .5s; }
.menu-open .mnav__foot { opacity: 1; }
.mnav__foot .btn { justify-content: center; }

@keyframes hdrIn { from { opacity: 0; } }

/* ---------- botões ---------- */
.btn {
  --bg: var(--teal); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 800; font-size: .95rem; letter-spacing: .01em; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 10px 30px -10px var(--teal-glow);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mint); transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px var(--teal-glow); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.btn--ghost::before { background: rgba(47, 209, 180, .12); }
.btn--dark { --bg: var(--ink); --fg: var(--text); }
.btn--dark::before { background: var(--ink-3); }
.btn--sm { padding: 10px 16px; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }
.btn[disabled], .btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after { content: ""; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .8rem; font-weight: 700; color: var(--mint); background: rgba(47,209,180,.06); }
.chip .live { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 var(--teal-glow); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 var(--teal-glow); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.h-xl { font-size: clamp(2.5rem, 10.5vw, 6rem); font-weight: 800; letter-spacing: -.035em; }
.h-l { font-size: clamp(2rem, 7vw, 3.8rem); font-weight: 800; letter-spacing: -.03em; }
.h-m { font-size: clamp(1.4rem, 4.5vw, 2rem); font-weight: 700; }
.lead { font-size: clamp(1.02rem, 2.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.grad { background: linear-gradient(100deg, var(--teal) 0%, var(--mint) 45%, var(--teal) 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }

/* texto dividido em palavras para animação */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > i { display: inline-block; font-style: normal; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
.split.in .w > i { transform: none; }

/* revelações genéricas */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal="left"], [data-reveal="right"] { transform: translateY(40px); }
@media (min-width: 960px) {
  [data-reveal="left"] { transform: translateX(-50px); }
  [data-reveal="right"] { transform: translateX(50px); }
}
[data-reveal="zoom"] { transform: scale(.88); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px 0 56px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__bg { position: absolute; inset: 0; z-index: -3; background:
  radial-gradient(80% 60% at 70% 30%, rgba(47,209,180,.16), transparent 60%),
  radial-gradient(60% 50% at 10% 90%, rgba(26,149,124,.18), transparent 70%), var(--ink); }
.hero__grid { position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%); }
.hero__spot { position: absolute; z-index: -1; width: 520px; height: 520px; left: 0; top: 0; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,209,180,.16), transparent 65%); pointer-events: none; transition: opacity .4s; }
.hero__content { position: relative; display: grid; gap: 26px; }
.hero__tag { display: flex; flex-wrap: wrap; gap: 10px; }
.hero h1 { max-width: 13ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 560px; }
.hero__meta b { display: block; font-family: var(--f-head); font-size: clamp(1.3rem, 5vw, 2rem); color: var(--text); }
.hero__meta span { font-size: .78rem; color: var(--muted); line-height: 1.3; display: block; }
.scroll-cue { position: absolute; right: var(--pad); bottom: 40px; display: none; flex-direction: column; align-items: center; gap: 10px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 70px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -30%; width: 100%; height: 30%; background: var(--teal); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }


/* cartões flutuantes do hero (desktop) */
.hero__cards { display: none; }
.hcard { position: absolute; display: flex; gap: 14px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 22px;
  background: rgba(7, 29, 38, .62); border: 1px solid var(--line-2); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); transition: transform .9s var(--ease); will-change: transform; }
.hcard b { display: block; font-family: var(--f-head); font-size: 1rem; }
.hcard small { display: block; color: var(--muted); font-size: .8rem; }
.hcard__ico { width: 46px; height: 46px; flex: none; border-radius: 15px; display: grid; place-items: center; background: var(--teal); color: var(--ink); }
.hcard__ico svg { width: 24px; height: 24px; }
.hcard__ico--ping { background: #c8f56b; position: relative; }
.hcard__ico--ping::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #c8f56b; animation: ping 2s var(--ease) infinite; }
.hcard img { width: 110px; height: 82px; border-radius: 14px; object-fit: cover; }
.hcard--2 { flex-direction: row; align-items: stretch; }
.hcard__bar { display: block; width: 150px; height: 6px; border-radius: 6px; background: var(--line); margin: 10px 0 6px; overflow: hidden; }
.hcard__bar i { display: block; height: 100%; width: 40%; border-radius: 6px; background: linear-gradient(90deg, var(--teal), var(--mint)); animation: barra 3.2s var(--ease-io) infinite; }
@keyframes barra { 0% { width: 8%; } 70%, 100% { width: 92%; } }
.hcard__st { color: var(--warn) !important; font-weight: 700; }
.hcard > * { animation: flutua 6s ease-in-out infinite; }
@keyframes flutua { 50% { transform: translateY(-8px); } }

/* ---------- faixa rolante ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--ink-2); padding: 18px 0; transform: rotate(-1.5deg) scale(1.03); }
.marquee--rev { transform: rotate(1.5deg) scale(1.03); margin-top: -12px; background: var(--teal); color: var(--ink); border: 0; }
.marquee__track { display: flex; width: max-content; gap: 40px; animation: marquee 38s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 46s; }
.marquee span { display: inline-flex; align-items: center; gap: 40px; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.1rem, 3.5vw, 1.6rem); white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--teal); font-size: .8em; }
.marquee--rev span::after { color: var(--ink); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.sec { position: relative; padding: clamp(80px, 14vw, 150px) 0; }
.sec__head { display: grid; gap: 16px; margin-bottom: clamp(36px, 7vw, 70px); }
.sec--light { background: var(--paper); color: var(--ink-text); color-scheme: light; }
.sec--light .lead { color: #4a6a68; }
.sec--light .eyebrow { color: var(--teal-3); }

/* ---------- exames ---------- */
.exams { display: grid; gap: 18px; }
.exam {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--r-l); padding: 28px 24px; background: var(--ink-2); border: 1px solid var(--line);
  overflow: hidden; isolation: isolate; transform-style: preserve-3d; transition: transform .7s var(--ease), border-color .4s, opacity .9s var(--ease) var(--d, 0ms);
}
.exam::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(47,209,180,.16), transparent 45%); }
.exam:hover::before { opacity: 1; }
.exam:hover { border-color: var(--line-2); }
.exam__ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(47,209,180,.1); color: var(--teal); margin-bottom: 22px; }
.exam__ico svg { width: 34px; height: 34px; }
.exam h3 { font-size: 1.45rem; margin-bottom: 10px; }
.exam > p { color: var(--muted); margin-bottom: 20px; }
.exam ul { display: grid; gap: 2px; }
.exam li { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: .95rem; transition: color .3s, padding .4s var(--ease); }
.exam li::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; border: 1.5px solid var(--teal); transition: background .3s; }
.exam li:hover { color: var(--teal); padding-left: 6px; }
.exam li:hover::before { background: var(--teal); }
.exam__num { position: absolute; top: 18px; right: 22px; font-family: var(--f-head); font-weight: 800; font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); z-index: -1; }
.exam--feature { background: linear-gradient(160deg, #0d3b3f, var(--ink-2) 60%); }
.exam--feature .exam__num { display: none; }

/* ultrassom: tela gerada em canvas */
.us-screen { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); background: #000; overflow: hidden; margin-bottom: 22px; border: 1px solid var(--line); }
.us-screen canvas { width: 100%; height: 100%; }
.us-screen__hud { position: absolute; inset: 10px 12px; display: flex; justify-content: space-between; font: 600 10px/1.4 ui-monospace, Menlo, monospace; color: rgba(185,245,232,.7); pointer-events: none; }
.us-screen__hud span:last-child { text-align: right; }

/* ---------- lente de raio-x ---------- */
.xray { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 934 / 643; cursor: none; touch-action: pan-y; background: #000; }
.xray img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xray__x { filter: grayscale(1) invert(1) contrast(1.5) brightness(.9) sepia(.4) hue-rotate(120deg) saturate(2.2);
  -webkit-mask-image: radial-gradient(circle var(--lr, 90px) at var(--lx, 50%) var(--ly, 50%), #000 98%, transparent 100%);
  mask-image: radial-gradient(circle var(--lr, 90px) at var(--lx, 50%) var(--ly, 50%), #000 98%, transparent 100%); }
.xray__ring { position: absolute; left: var(--lx, 50%); top: var(--ly, 50%); width: calc(var(--lr, 90px) * 2); height: calc(var(--lr, 90px) * 2);
  transform: translate(-50%, -50%); border: 2px solid var(--teal); border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 6px rgba(47,209,180,.12), 0 0 40px var(--teal-glow); }
.xray__ring::after { content: "RX"; position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font: 800 11px/1 var(--f-head); letter-spacing: .2em; color: var(--teal); }
.exams .xray { grid-column: 1 / -1; }
.xray__hint { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(4,19,26,.7); backdrop-filter: blur(8px); }

/* ---------- telerradiologia: passos ---------- */
.tele { display: grid; gap: 40px; }
.steps { position: relative; display: grid; gap: 18px; padding-left: 34px; }
.steps__line { position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: var(--line); border-radius: 2px; }
.steps__line i { position: absolute; inset: 0; background: linear-gradient(var(--teal), var(--mint)); transform-origin: top; transform: scaleY(var(--p, 0)); border-radius: 2px; box-shadow: 0 0 18px var(--teal-glow); }
.step { position: relative; padding: 22px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); transition: border-color .5s, background .5s, opacity .9s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms); }
.step::before { content: ""; position: absolute; left: -31px; top: 28px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--line-2); transition: all .5s var(--ease); }
.step.is-on { border-color: rgba(47,209,180,.4); background: linear-gradient(140deg, rgba(47,209,180,.1), var(--ink-2) 70%); }
.step.is-on::before { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 0 6px rgba(47,209,180,.18); }
.step__n { font: 800 .75rem/1 var(--f-head); letter-spacing: .2em; color: var(--teal); }
.step h3 { font-size: 1.25rem; margin: 10px 0 6px; }
.step p { color: var(--muted); font-size: .95rem; }
.tele__visual { position: relative; border-radius: var(--r-l); overflow: hidden; }
.tele__visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.tele__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(4,19,26,.85)); }
.scanline { position: absolute; left: 0; right: 0; height: 120px; top: -120px; z-index: 2; pointer-events: none;
  background: linear-gradient(transparent, rgba(47,209,180,.25) 80%, rgba(185,245,232,.9) 99%, transparent); mix-blend-mode: screen; animation: scan 3.6s var(--ease-io) infinite; }
@keyframes scan { to { top: 100%; } }
.tele__badge { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: rgba(4,19,26,.7); backdrop-filter: blur(12px); border: 1px solid var(--line-2); }
.tele__badge b { font-family: var(--f-head); font-size: 1.05rem; display: block; }
.tele__badge small { color: var(--muted); }
.tele__badge .ok { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--ink); }

/* ---------- números ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { position: relative; padding: 24px 18px; border-radius: var(--r); background: #fff; border: 1px solid #d6eee8; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; border: 18px solid var(--paper-2); }
.stat b { display: block; font-family: var(--f-head); font-weight: 800; font-size: clamp(1.9rem, 8vw, 3.4rem); letter-spacing: -.03em; color: var(--teal-3); line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: .88rem; font-weight: 600; color: #4a6a68; position: relative; z-index: 1; }
.stat--dark { background: var(--ink); border-color: var(--ink); color: var(--text); }
.stat--dark b { color: var(--teal); }
.stat--dark span { color: var(--muted); }
.stat--dark::after { border-color: rgba(47,209,180,.1); }
.stats__note { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: .85rem; color: #4a6a68; }

/* ---------- sobre ---------- */
.about { display: grid; gap: 40px; }
.about__img { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; }
.about__img img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.about__img figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 14px 16px; border-radius: var(--r); background: rgba(255,255,255,.85); backdrop-filter: blur(10px); color: var(--ink-text); font-weight: 700; font-size: .9rem; display: flex; gap: 10px; align-items: center; }
.about__text { display: grid; gap: 22px; align-content: start; }
.about__text p { color: #4a6a68; font-size: 1.05rem; }
.mvv { display: grid; gap: 14px; margin-top: 10px; }
.mvv__item { border-radius: var(--r); background: #fff; border: 1px solid #d6eee8; overflow: hidden; }
.mvv__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; }
.mvv__item summary::-webkit-details-marker { display: none; }
.mvv__item summary i { width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); position: relative; flex: none; transition: transform .5s var(--ease), background .3s; }
.mvv__item summary i::before, .mvv__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--teal-3); border-radius: 2px; }
.mvv__item summary i::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.mvv__item[open] summary i { background: var(--teal); transform: rotate(180deg); }
.mvv__item[open] summary i::after { transform: rotate(0); }
.mvv__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.mvv__item[open] .mvv__body { grid-template-rows: 1fr; }
.mvv__body > div { overflow: hidden; }
.mvv__body p { padding: 0 20px 20px; color: #4a6a68; }
.values { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; }
.values span { padding: 8px 14px; border-radius: 999px; background: var(--paper-2); font-weight: 700; font-size: .85rem; color: var(--teal-3); }

/* ---------- áreas de acesso ---------- */
.areas { display: grid; gap: 16px; }
.area-card {
  --c: var(--teal);
  position: relative; display: grid; align-content: start; gap: 14px; padding: 28px 24px 24px; border-radius: var(--r-l); overflow: hidden; isolation: isolate;
  background: var(--ink-2); border: 1px solid var(--line); transition: transform .8s var(--ease) var(--d, 0ms), border-color .4s, opacity .9s var(--ease) var(--d, 0ms);
}
.area-card::before { content: ""; position: absolute; inset: -1px; z-index: -2; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--c) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinA 5s linear infinite; opacity: .0; transition: opacity .5s; }
.area-card:hover::before { opacity: 1; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spinA { to { --a: 360deg; } }
.area-card:hover { transform: translateY(-6px); border-color: transparent; }
.area-card__ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: var(--ink); background: var(--c); box-shadow: 0 12px 30px -10px var(--c); transition: transform .6s var(--ease); }
.area-card:hover .area-card__ico { transform: rotate(-8deg) scale(1.08); }
.area-card__ico svg { width: 30px; height: 30px; }
.area-card h3 { font-size: 1.4rem; }
.area-card p { color: var(--muted); font-size: .95rem; }
.area-card__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--c); margin-top: 4px; }
.area-card__go svg { width: 20px; transition: transform .4s var(--ease); }
.area-card:hover .area-card__go svg { transform: translateX(6px); }
.area-card--vet { --c: #7ee3ff; }
.area-card--clin { --c: #c8f56b; }

/* ---------- contato ---------- */
.cta { position: relative; border-radius: var(--r-l); padding: clamp(32px, 7vw, 72px) clamp(22px, 6vw, 64px); overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 120% at 100% 0%, rgba(47,209,180,.35), transparent 60%), linear-gradient(140deg, #0d3b3f, var(--ink-2)); border: 1px solid var(--line-2); }
.cta__rings { position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; z-index: -1; pointer-events: none; }
.cta__rings span { position: absolute; inset: 0; border: 1px solid rgba(47,209,180,.35); border-radius: 50%; animation: ring 4.5s linear infinite; }
.cta__rings span:nth-child(2) { animation-delay: 1.5s; } .cta__rings span:nth-child(3) { animation-delay: 3s; }
@keyframes ring { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.2); opacity: 0; } }
.cta h2 { max-width: 16ch; margin: 14px 0 18px; }
.contacts { display: grid; gap: 12px; margin-top: 34px; }
.contact { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); background: rgba(4,19,26,.45); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease); }
a.contact:hover { border-color: rgba(47,209,180,.5); transform: translateX(4px); }
.contact__ico { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(47,209,180,.12); color: var(--teal); }
.contact__ico svg { width: 22px; height: 22px; }
.contact small { display: block; color: var(--muted); font-size: .78rem; }
.contact b { font-weight: 700; word-break: break-word; }

/* ---------- rodapé ---------- */
.ftr { padding: 70px 0 34px; border-top: 1px solid var(--line); margin-top: clamp(60px, 10vw, 120px); }
.ftr__big { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.4rem, 12.6vw, 9.2rem); line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--line-2); white-space: nowrap; overflow: hidden; user-select: none; }
.ftr__big span { display: inline-block; transition: color .5s, -webkit-text-stroke-color .5s; }
.ftr__big span:hover { color: var(--teal); -webkit-text-stroke-color: var(--teal); }
.ftr__row { display: grid; gap: 26px; margin-top: 44px; }
.ftr__row img { height: 76px; width: auto; }
.ftr h4 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; font-family: var(--f-body); font-weight: 800; }
.ftr a { color: var(--muted); transition: color .3s; }
.ftr a:hover { color: var(--teal); }
.ftr li { padding: 3px 0; }
.ftr__social { display: flex; gap: 10px; }
.ftr__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, transform .5s var(--ease); }
.ftr__social a:hover { background: var(--teal); color: var(--ink); transform: translateY(-4px) rotate(-8deg); }
.ftr__social svg { width: 20px; height: 20px; }
.ftr__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .82rem; color: var(--muted); }

/* ---------- WhatsApp flutuante ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 95; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 34px -10px rgba(37,211,102,.7);
  transform: scale(0); transition: transform .6s var(--ease); }
.fab.show { transform: scale(1); }
.fab:hover { transform: scale(1.08) rotate(-6deg); }
.fab svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.fab::before, .fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s var(--ease) infinite; }
.fab::after { animation-delay: 1.2s; }
.fab__tip { position: absolute; right: 72px; white-space: nowrap; padding: 8px 14px; border-radius: 12px; background: #fff; color: #0d2a2f; font-weight: 700; font-size: .85rem; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0; transform: translateX(10px); transition: all .4s var(--ease); pointer-events: none; }
.fab:hover .fab__tip, .fab.tip .fab__tip { opacity: 1; transform: none; }

/* barra de progresso de rolagem */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 130; background: linear-gradient(90deg, var(--teal-3), var(--teal), var(--mint)); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* ---------- breakpoints ---------- */
@media (min-width: 640px) {
  .exams { grid-template-columns: 1fr 1fr; }
  .exam--feature { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .contacts { grid-template-columns: 1fr 1fr; }
  .ftr__row { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .hdr__in { height: 104px; }
  .hdr.is-solid .hdr__in { height: 80px; }
  .hdr__logo img { height: 76px; }
  .hdr.is-solid .hdr__logo img { height: 58px; }
  .nav { display: flex; gap: 30px; }
  .btn.hdr__cta { display: inline-flex; }
  .burger { display: none; }
  .hero { align-items: center; padding: 160px 0 90px; }
  .hero__content { grid-template-columns: 1.2fr .8fr; align-items: end; }
  .hero__meta { grid-column: 1; }
  .hero__cards { display: block; position: relative; height: 440px; }
  .hcard--1 { top: 10px; right: 0; }
  .hcard--2 { top: 150px; left: -10px; }
  .hcard--3 { bottom: 20px; right: 30px; }
  .scroll-cue { display: flex; }
  .exams { grid-template-columns: 1.15fr 1fr 1fr; }
  .exam--feature { grid-column: auto; grid-row: span 2; }
  .exams .xray { grid-column: 2 / -1; aspect-ratio: auto; min-height: 320px; }
  .tele { grid-template-columns: 1fr 1fr; align-items: start; gap: 70px; }
  .tele__visual { position: sticky; top: 120px; }
  .about { grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
  .about__img { position: sticky; top: 110px; }
  .cta__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: end; }
  .contacts { margin-top: 0; }
  .fab { right: 28px; bottom: 28px; width: 66px; height: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], .split .w > i { opacity: 1 !important; transform: none !important; }
  body::after { display: none; }
}
