/* Verun Vet — componentes das paginas internas (carregado depois de site.css) */

.page-hero .hero-grid { padding-block: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 40px); }
.page-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.hero-grid-single { grid-template-columns: minmax(0, 860px); }
.page-hero .pulse-sm { height: 60px; margin-top: 0; margin-bottom: 8px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: clamp(28px, 4vw, 44px); color: rgba(255, 255, 255, .6); font-size: 14px; }
.breadcrumb a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--teal-400); }
.eyebrow-light { color: var(--teal-400); }
.page-hero .shot { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); }
.tag-new { display: inline-block; margin-left: 4px; padding: 2px 7px; border-radius: 99px; background: var(--teal-soft); color: var(--teal-ink); font: 700 10.5px/1.5 var(--font-body); font-style: normal; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }

/* desafio -> resposta */
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pain-card { display: grid; align-content: start; gap: 16px; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.pain-q { display: flex; align-items: center; gap: 14px; color: var(--navy-900); font: 400 clamp(1.35rem, 2.2vw, 1.65rem)/1.2 var(--font-display); }
.pain-q .icon { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: #fdecea; color: var(--danger); }
.pain-card > p { color: var(--muted); font-size: 15.5px; }
.pain-a { display: grid; gap: 6px; padding: 16px 18px; border-left: 3px solid var(--teal-500); border-radius: 0 12px 12px 0; background: var(--teal-soft); }
.pain-a b { color: var(--teal-ink); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.pain-a span { color: var(--ink); font-size: 16px; line-height: 1.55; }

/* setores / modulos */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.sector > .icon { width: 30px; height: 30px; color: var(--teal-ink); }
.sector h3 { font: 600 19px/1.3 var(--font-body); letter-spacing: 0; color: var(--navy-900); }
.sector .check-list li { font-size: 15px; }
.sector .check-list .icon { width: 18px; height: 18px; }

/* nuvem de campos */
.field-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.field-cloud li { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy-900); font-size: 15px; font-weight: 500; }

/* passos numerados */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 28px 24px 26px; border-top: 2px solid var(--teal-500); background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; margin-bottom: 14px; color: var(--teal-ink); font: 400 2rem/1 var(--font-display); }
.steps b { display: block; margin-bottom: 8px; color: var(--navy-900); font-size: 17px; }
.steps span { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

/* faixa que leva a outra pagina */
.teaser { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.teaser h2 { font-size: clamp(2rem, 3.8vw, 3rem); color: var(--white); }
.teaser h2 em { font-style: italic; color: var(--teal-400); }
.teaser p { margin-top: 18px; color: rgba(255, 255, 255, .75); font-size: 18px; }
.teaser .hero-ctas { margin-top: 28px; }
.teaser .badge { margin-bottom: 20px; }

/* diagrama do gateway */
.gateway { display: grid; gap: 0; padding: clamp(20px, 3vw, 30px); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); }
.gw-node { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(3, 24, 44, .55); color: var(--white); }
.gw-node .icon { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: rgba(37, 200, 189, .14); color: var(--teal-400); }
.gw-node b { display: block; font-weight: 600; }
.gw-node small { display: block; color: rgba(255, 255, 255, .6); font-size: 13.5px; line-height: 1.4; }
.gw-main { border-color: rgba(37, 200, 189, .55); box-shadow: 0 0 0 4px rgba(37, 200, 189, .08), 0 0 30px -8px rgba(37, 200, 189, .5); }
.gw-arrow { width: 2px; height: 22px; margin-left: 38px; background: linear-gradient(var(--teal-400), rgba(37, 200, 189, .2)); }
.gw-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gw-row .gw-node { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; font-size: 14px; }
.gw-row .gw-node .icon { width: 34px; height: 34px; padding: 7px; }
.gw-dashed { border-style: dashed !important; }

/* fluxo horizontal */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.flow li { position: relative; padding: 0 26px 0 0; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: 64px; right: 10px; height: 2px; background: linear-gradient(90deg, var(--teal-500), rgba(0, 168, 163, .2)); }
.flow .journey-node { margin-bottom: 18px; }
.flow b { display: block; margin-bottom: 6px; color: var(--navy-900); font: 400 1.35rem/1.2 var(--font-display); }
.flow span { color: var(--ink-2); font-size: 15.5px; }
.flow-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 40px; padding: 18px 22px; border: 1px solid #f3d9a6; border-radius: 14px; background: #fff8ea; color: #6b4a07; font-size: 16px; }
.flow-note .icon { width: 24px; height: 24px; margin-top: 1px; color: #b7791f; }

/* principios em lista */
.principles-light { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principles-light .principle { border-color: var(--line); background: var(--white); }
.principles-light .principle .icon { color: var(--teal-ink); }
.principles-light .principle h3 { color: var(--navy-900); }
.principles-light .principle p { color: var(--ink-2); }

/* status do projeto */
.status-list { display: grid; max-width: 860px; margin: 0; padding: 0; list-style: none; }
.status-list li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 18px; padding-bottom: 28px; }
.status-list li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.status-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); color: var(--muted); }
.status-dot .icon { width: 16px; height: 16px; }
.is-done .status-dot { border-color: var(--teal-500); background: var(--teal-500); color: var(--white); }
.is-next .status-dot { border-style: dashed; }
.status-list small { display: inline-block; margin-bottom: 6px; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.is-done small { background: var(--teal-soft); color: var(--teal-ink); }
.is-next small { border: 1px solid var(--line); background: var(--paper); color: var(--muted); }
.status-list b { display: block; color: var(--navy-900); font-size: 17.5px; }
.status-list span { color: var(--ink-2); font-size: 15.5px; }

/* chips (perfis) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--white); font-size: 15px; }
.chips li .icon { width: 16px; height: 16px; color: var(--teal-400); }

/* bloco de duas colunas texto + lista */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.two-col h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy-900); }
.two-col h3 em { font-style: italic; color: var(--teal-ink); }
.two-col p { margin-top: 16px; color: var(--ink-2); font-size: 17.5px; }

@media (max-width: 1080px) {
  .sector-grid, .principles-light { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; gap: 24px; }
  .flow li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 0; }
  .flow li:not(:last-child)::after { display: none; }
  .flow .journey-node { grid-row: span 2; margin: 0; }
}
@media (max-width: 860px) {
  .pain-grid, .teaser, .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sector-grid, .steps, .gw-row, .principles-light { grid-template-columns: 1fr; }
}

/* folha timbrada ilustrativa */
.paper-mock { position: relative; max-width: 420px; margin-inline: auto; aspect-ratio: 210 / 297; padding: 7% 8%; border-radius: 6px; background: var(--white); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.paper-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--navy-900); }
.paper-logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--paper); color: var(--navy-900); }
.paper-logo .icon { width: 22px; height: 22px; }
.paper-head b { display: block; color: var(--navy-900); font-size: 14px; }
.paper-head small { display: block; color: var(--muted); font-size: 11px; }
.paper-guide { position: relative; display: block; margin-inline: -8.5%; padding-left: 8.5%; border-top: 2px solid var(--teal-500); color: transparent; font-size: 0; }
.paper-guide::after { position: absolute; left: 6%; top: -11px; padding: 2px 8px; border-radius: 4px; background: var(--navy-900); color: var(--white); font: 600 10.5px/1.5 var(--font-body); content: attr(data-label); }
.paper-guide-top { margin-top: 14px; }
.paper-guide-bottom { margin-top: auto; }
.paper-body { display: grid; gap: 10px; align-content: start; padding: 22px 0; border-inline: 1px dashed rgba(0, 168, 163, .6); padding-inline: 12px; flex: 1; }
.paper-body b { color: var(--navy-900); font-size: 15px; margin-bottom: 6px; }
.paper-body i { display: block; height: 8px; border-radius: 4px; background: #e7edf1; }
.paper-sign { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--muted); justify-self: end; width: 55%; color: var(--muted); font-size: 11px; text-align: center; }
.paper-foot { height: 6%; margin-top: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--navy-900), var(--teal-500)); opacity: .85; }

/* documento de cadeia de custodia (ilustrativo) */
.custody-doc { display: grid; gap: 16px; max-width: 470px; margin-inline: auto; padding: 26px; border-radius: 8px; background: var(--white); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); font-size: 13px; }
.cd-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; padding-bottom: 14px; border-bottom: 2px solid var(--navy-900); }
.cd-head b { display: block; color: var(--navy-900); font-size: 13.5px; }
.cd-head small { display: block; color: var(--muted); font-size: 11px; }
.cd-head strong { grid-column: 1 / -1; margin-top: 8px; color: var(--navy-900); font: 400 1.45rem/1.1 var(--font-display); }
.cd-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 0; }
.cd-meta div { padding: 8px 10px; border-radius: 8px; background: var(--paper); }
.cd-meta dt { color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cd-meta dd { margin: 2px 0 0; color: var(--navy-900); font-weight: 600; }
.cd-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cd-table th { padding: 7px 6px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.cd-table td { padding: 8px 6px; border-bottom: 1px solid #eef2f5; color: var(--ink); }
.cd-table th:nth-child(n+3), .cd-table td:nth-child(n+3) { text-align: right; }
.cd-table td:first-child { color: var(--muted); white-space: nowrap; }
.cd-table .in { color: var(--teal-ink); font-weight: 700; }
.cd-table .out { color: var(--danger); font-weight: 700; }
.custody-doc .paper-sign { margin-top: 18px; }
@media (max-width: 560px) { .custody-doc { padding: 18px; } .cd-meta { grid-template-columns: 1fr; } }

/* ilustracao do alerta de prescricao */
.rx-mock { margin: 0; }
.rx-card { display: grid; gap: 12px; padding: 22px; border-radius: 18px; background: var(--white); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); font-size: 14px; }
.rx-patient { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rx-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); }
.rx-avatar .icon { width: 20px; height: 20px; }
.rx-patient b { display: block; color: var(--navy-900); }
.rx-patient small { display: block; color: var(--muted); font-size: 12px; }
.rx-fields { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.rx-fields label { display: grid; gap: 4px; }
.rx-fields label > span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rx-fields i { display: flex; align-items: center; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--navy-900); font-style: normal; font-weight: 600; }
.rx-dose i { border-color: var(--danger); background: #fff5f4; box-shadow: 0 0 0 3px rgba(194, 65, 58, .12); }
.rx-caret { width: 2px; height: 18px; margin-left: 3px; background: var(--navy-900); animation: blink 1s steps(1) infinite; }
.rx-alert { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 11px 12px; border-radius: 11px; font-size: 13px; line-height: 1.45; }
.rx-alert .icon { width: 20px; height: 20px; margin-top: 1px; }
.rx-alert b { display: block; margin-bottom: 2px; font-size: 13.5px; }
.rx-high { background: #fdecea; color: #7a1f19; }
.rx-high .icon { color: var(--danger); }
.rx-mid { background: #fff6e5; color: #6b4a07; }
.rx-mid .icon { color: #b7791f; }
.rx-ai { padding: 12px 14px; border: 1px solid rgba(0, 168, 163, .35); border-radius: 11px; background: linear-gradient(135deg, var(--teal-soft), #f3f8fb); }
.rx-ai-tag { color: var(--teal-ink); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rx-ai p { margin-top: 4px; color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.rx-actions { color: var(--muted); font-size: 12.5px; font-weight: 600; text-align: right; }
.rx-mock figcaption { margin-top: 10px; color: rgba(255, 255, 255, .5); font-size: 12.5px; text-align: center; }
.rx-alert { animation: rx-in .5s var(--ease) both; }
.rx-alert.rx-high { animation-delay: .9s; }
.rx-alert.rx-mid { animation-delay: 1.4s; }
.rx-ai { animation: rx-in .5s 1.9s var(--ease) both; }
@keyframes rx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.sector-text { color: var(--ink-2); font-size: 16px; }

/* duas camadas */
.layers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.layer { display: grid; align-content: start; gap: 14px; padding: clamp(26px, 3.5vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.layer small { color: var(--teal-ink); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.layer h3 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); color: var(--navy-900); }
.layer p { color: var(--ink-2); font-size: 16.5px; }
.layer-ai { border-color: var(--navy-900); background: var(--navy-900); }
.layer-ai small { color: var(--teal-400); }
.layer-ai h3 { color: var(--white); }
.layer-ai p, .layer-ai .check-list li { color: rgba(255, 255, 255, .78); }
.layer-ai .check-list .icon { color: var(--teal-400); }

/* niveis de alerta */
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.levels li { display: grid; gap: 6px; padding: 26px 24px; background: var(--white); border-top: 4px solid; }
.levels li + li { border-left: 1px solid var(--line); }
.levels b { color: var(--navy-900); font: 400 1.4rem/1.2 var(--font-display); }
.levels span { color: var(--ink-2); font-size: 15px; }
.level-1 { border-top-color: #7aa7c7 !important; }
.level-2 { border-top-color: #e0a63a !important; }
.level-3 { border-top-color: #e2703a !important; }
.level-4 { border-top-color: var(--danger) !important; }

/* destaque da IA na home */
.ia-band .spotlight { align-items: center; }
.ia-band .spotlight h2 { font-size: clamp(2rem, 3.8vw, 3rem); color: var(--white); }
.ia-band .spotlight h2 em { font-style: italic; color: var(--teal-400); }
.ia-band .spotlight-copy > p { color: rgba(255, 255, 255, .75); }
.ia-band .badge { margin-bottom: 18px; }

@media (max-width: 1080px) { .levels { grid-template-columns: 1fr 1fr; } .levels li:nth-child(3) { border-left: 0; } }
@media (max-width: 860px) { .layers { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .levels { grid-template-columns: 1fr; } .levels li + li { border-left: 0; } .rx-fields { grid-template-columns: 1fr; } }

/* paginas legais */
.legal { max-width: 820px; margin-inline: auto; }
.legal-meta { margin-bottom: 36px; padding: 14px 18px; border-left: 3px solid var(--teal-500); border-radius: 0 10px 10px 0; background: var(--white); color: var(--muted); font-size: 15px; }
.legal h2 { margin: 44px 0 14px; color: var(--navy-900); font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.legal p + p { margin-top: 14px; }
.legal ul, .legal ol { display: grid; gap: 10px; margin: 14px 0 0; padding-left: 22px; }
.legal li::marker { color: var(--teal-ink); }
.legal strong { color: var(--ink); }
.legal a { color: var(--teal-ink); text-underline-offset: 3px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--white); text-decoration: underline; }

/* paginas de funcionalidades */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 24px 32px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; color: var(--navy-900); font: 400 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--font-display); }
.fact span { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }
.feat-blocks { display: grid; gap: 0; }
.feat-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); padding-block: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.feat-block:first-child { border-top: 0; padding-top: 0; }
.feat-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 15px; background: var(--teal-soft); color: var(--teal-ink); }
.feat-icon .icon { width: 26px; height: 26px; }
.feat-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: var(--navy-900); }
.feat-head h2 em { font-style: italic; color: var(--teal-ink); }
.feat-head p { margin-top: 16px; color: var(--ink-2); font-size: 17.5px; }
.feat-body { align-self: center; display: grid; gap: 18px; }
.feat-body .field-cloud { margin-top: 0; }
.feat-body .check-list li { font-size: 16.5px; }
.feat-note { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid #f3d9a6; border-radius: 12px; background: #fff8ea; color: #6b4a07; font-size: 15px; }
.feat-note .icon { width: 20px; height: 20px; margin-top: 1px; color: #b7791f; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.related-card:hover { border-color: var(--teal-500); transform: translateY(-2px); }
.related-card > .icon:first-child { width: 26px; height: 26px; color: var(--teal-ink); }
.related-card > .icon:last-child { width: 18px; height: 18px; color: var(--muted); }
.related-card b { display: block; color: var(--navy-900); font-size: 16px; }
.related-card small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
@media (max-width: 1080px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .feat-block { grid-template-columns: 1fr; } .facts-grid { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; padding-left: 0; } .fact { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }

/* topo claro (clinicas) */
.hero.hero-light {
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(37, 200, 189, .2), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(6, 44, 79, .06), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.hero.hero-light::before { opacity: 1; background-image: linear-gradient(rgba(6, 44, 79, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 44, 79, .045) 1px, transparent 1px); }
.hero-light h1 { color: var(--navy-900); }
.hero-light h1 em { color: var(--teal-ink); }
.hero-light .hero-lead { color: var(--ink-2); }
.hero-light .eyebrow-light { color: var(--teal-ink); }
.hero-light .breadcrumb { color: var(--muted); }
.hero-light .breadcrumb a { color: var(--ink-2); }
.hero-light .breadcrumb a:hover { color: var(--navy-900); }
.hero-light .breadcrumb [aria-current] { color: var(--teal-ink); }
.hero-light .shot { border-color: var(--line); background: var(--white); }
.hero-light .pulse-line { stroke: var(--teal-500); filter: none; opacity: .7; }
.hero-light .badge { border-color: var(--line); background: var(--white); color: var(--ink-2); }

/* ilustracao do pedido de exame */
.ex-mock { position: relative; margin: 0; padding-bottom: 34px; }
.ex-card { display: grid; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-lg); font-size: 14px; }
.ex-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ex-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-ink); }
.ex-icon .icon { width: 22px; height: 22px; }
.ex-head b { display: block; color: var(--navy-900); font-size: 15px; }
.ex-head small { display: block; color: var(--muted); font-size: 12.5px; }
.ex-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.ex-steps li { position: relative; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 7px 0; color: var(--ink-2); }
.ex-steps li:not(.is-last)::after { content: ""; position: absolute; left: 12px; top: 30px; bottom: -8px; width: 2px; background: rgba(0, 168, 163, .35); }
.ex-dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-500); color: var(--white); }
.ex-dot .icon { width: 14px; height: 14px; }
.ex-steps li.is-last span:nth-child(2) { color: var(--navy-900); font-weight: 700; }
.ex-steps time { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ex-files { display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: var(--paper); }
.ex-files small { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ex-file { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--navy-900); font-weight: 600; font-size: 13.5px; }
.ex-file .icon { width: 18px; height: 18px; color: var(--teal-ink); }
.ex-toast { position: absolute; right: -14px; bottom: 30px; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-left: 4px solid var(--teal-500); border-radius: 12px; background: var(--navy-900); color: var(--white); box-shadow: var(--shadow-lg); font-size: 13.5px; animation: rx-in .5s 1s var(--ease) both; }
.ex-bell { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(37, 200, 189, .16); color: var(--teal-400); }
.ex-bell .icon { width: 18px; height: 18px; }
.ex-toast b { display: block; }
.ex-toast small { display: block; color: rgba(255, 255, 255, .7); }
.ex-mock figcaption { position: absolute; left: 0; bottom: 0; color: var(--muted); font-size: 12.5px; }
@media (max-width: 860px) { .ex-toast { position: static; margin-top: 12px; } .ex-mock figcaption { position: static; margin-top: 10px; } .ex-mock { padding-bottom: 0; } }

/* foto ilustrativa com legenda */
.photo { margin: 0; }
.photo figcaption { margin-top: 10px; color: var(--muted); font-size: 12.5px; }
.hero:not(.hero-light) .photo figcaption { color: rgba(255, 255, 255, .55); }

/* =================== Organograma animado dos fluxos =================== */
.flow-story { position: relative; }
.flow-story .section-head { margin-bottom: 24px; }
.fs-track { position: relative; height: calc(var(--fs-steps, 9) * 58vh + 100vh); }
.fs-sticky { position: sticky; top: 76px; height: calc(100vh - 76px); display: flex; align-items: center; overflow: hidden; }
.fs-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; height: 100%; padding-block: 24px; }
.fs-panel { display: grid; gap: 22px; align-content: center; }
.fs-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; width: fit-content; border: 1px solid var(--line); border-radius: 999px; background: var(--white); box-shadow: var(--shadow); }
.fs-tab { padding: 10px 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .2s, color .2s; }
.fs-tab:hover { color: var(--navy-900); background: var(--paper); }
.fs-tab[aria-selected="true"] { background: var(--navy-900); color: var(--white); }
.fs-meter { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.fs-count b { color: var(--teal-ink); font: 600 1.4rem/1 var(--font-display); }
.fs-bar { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.fs-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal-500), var(--navy-700)); transform: scaleX(.02); transform-origin: left; }
.fs-texts { position: relative; min-height: 200px; }
.fs-steps { margin: 0; padding: 0; list-style: none; }
.fs-steps li h3 { margin-bottom: 12px; color: var(--navy-900); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.fs-steps li p { color: var(--ink-2); font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.6; }
.flow-story.is-ready .fs-steps li { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.flow-story.is-ready .fs-steps li.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.fs-hint { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; }
.fs-hint .icon { width: 16px; height: 16px; animation: fs-bounce 1.6s ease-in-out infinite; }
@keyframes fs-bounce { 50% { transform: translateY(4px); } }

.fs-stage { position: relative; height: min(100%, 680px); min-height: 360px; border: 1px solid var(--line); border-radius: 26px; background:
  radial-gradient(600px 300px at 80% 0%, rgba(37, 200, 189, .12), transparent 70%),
  linear-gradient(rgba(6, 44, 79, .04) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(90deg, rgba(6, 44, 79, .04) 1px, transparent 1px) 0 0 / 28px 28px,
  var(--white); box-shadow: var(--shadow-lg); transition: opacity .22s; }
.flow-story.is-switching .fs-stage, .flow-story.is-switching .fs-texts { opacity: 0; }
.fs-edges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fs-edges path { stroke-dasharray: 1 1; }
.fs-edges path { fill: none; stroke: var(--teal-500); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85; transition: stroke-dashoffset .25s linear; }
.fs-nodes { position: absolute; inset: 0; }
.fs-node { position: absolute; z-index: 1; display: flex; align-items: center; gap: 8px; width: 29%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy-900); font-size: clamp(11.5px, 1.05vw, 14px); font-weight: 600; line-height: 1.25; box-shadow: 0 6px 18px -8px rgba(6, 44, 79, .25);
  transform: translate(-50%, -50%) scale(.85); opacity: 0; transition: opacity .4s var(--ease), transform .45s var(--ease), border-color .3s, box-shadow .3s; }
.fs-node .icon { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: var(--teal-soft); color: var(--teal-ink); }
.fs-node.is-in { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.fs-node.is-active { border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(0, 168, 163, .14), 0 12px 28px -10px rgba(0, 168, 163, .55); }
.fs-node.is-active .icon { background: var(--teal-500); color: var(--white); }

/* sem animacao (preferencia do sistema) ou sem JavaScript: tudo visivel, sem trava na tela */
.flow-story.is-static .fs-track, .no-js .fs-track { height: auto; }
.flow-story.is-static .fs-sticky, .no-js .fs-sticky { position: static; height: auto; }
.flow-story.is-static .fs-steps li { position: relative !important; opacity: 1 !important; transform: none !important; margin-bottom: 18px; }
.no-js .fs-stage, .no-js .fs-meter, .no-js .fs-hint, .no-js .fs-tabs { display: none; }

@media (max-width: 860px) {
  .fs-track { height: calc(var(--fs-steps, 9) * 62vh + 100vh); }
  .fs-sticky { top: 68px; height: calc(100dvh - 68px); align-items: stretch; }
  .fs-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 12px; padding-block: 10px 14px; }
  .fs-stage { height: auto; min-height: 0; border-radius: 18px; }
  .fs-tabs { width: 100%; justify-content: space-between; }
  .fs-tab { flex: 1; padding: 8px 6px; font-size: 13px; }
  .fs-texts { min-height: 128px; }
  .fs-steps li h3 { margin-bottom: 6px; font-size: 1.3rem; }
  .fs-steps li p { font-size: 14.5px; line-height: 1.5; }
  .fs-hint { display: none; }
  .fs-node { width: 31%; min-height: 34px; padding: 5px 6px; gap: 5px; font-size: 10.5px; border-radius: 9px; }
  .fs-texts { padding-right: 64px; }
  .fs-node .icon { width: 20px; height: 20px; padding: 4px; border-radius: 6px; }
  .flow-story .fs-grid { display: flex; flex-direction: column; align-items: stretch; }
  .flow-story .fs-panel { display: contents; }
  .flow-story .fs-tabs { order: 0; }
  .flow-story .fs-stage { order: 1; flex: 1; }
  .flow-story .fs-meter { order: 2; }
  .flow-story .fs-texts { order: 3; }
}

/* celular com a tela do sistema */
.phone-mock { margin: 0 auto; width: min(300px, 78vw); }
.phone-frame { position: relative; padding: 12px; border-radius: 44px; background: linear-gradient(145deg, #1b2b3d, #050c14); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.phone-frame::before { content: ""; position: absolute; top: 20px; left: 50%; z-index: 2; width: 88px; height: 24px; border-radius: 20px; background: #050c14; transform: translateX(-50%); }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 33px; }
.hero-light .phone-frame { box-shadow: 0 30px 60px -25px rgba(6, 44, 79, .45); }
