/* Koramed — folha de estilo principal
   Tokens seguem a prancha de identidade visual (app/koramed-identidade.png). */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --azul-kora: #0A3D62;
  --verde-validacao: #1FB57A;
  --verde-escuro: #0F7A50;
  --azul-sinal: #1F6FA8;
  --grafite: #1E2A36;
  --ardosia: #5B6B7B;
  --nevoa: #EEF3F7;
  --branco: #FFFFFF;
  --impeditivo: #C8323A;
  --alerta: #F5A524;
  --conforme: #0F7A50;
  --borda: #D9E2EA;

  --font-title: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius: 12px;
  --container: 1200px;
  --gutter: 24px;
  --shadow: 0 1px 2px rgba(10, 61, 98, .06), 0 8px 24px rgba(10, 61, 98, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--branco);
  color: var(--grafite);
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 28px;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--azul-sinal); text-underline-offset: 3px; }
a:hover { color: var(--azul-kora); }
:focus-visible { outline: 3px solid var(--azul-sinal); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-title); color: var(--azul-kora); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 52px; line-height: 60px; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 36px; line-height: 44px; font-weight: 700; }
h3 { font-size: 24px; line-height: 32px; font-weight: 600; }
h4 { font-size: 18px; line-height: 26px; font-weight: 700; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--font-mono); font-size: 14px; line-height: 20px; }
small, .caption { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ardosia); }

@media (max-width: 760px) {
  body { font-size: 16px; line-height: 26px; }
  h1 { font-size: 36px; line-height: 44px; }
  h2 { font-size: 28px; line-height: 36px; }
  h3 { font-size: 20px; line-height: 28px; }
  :root { --gutter: 16px; }
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--azul-kora); color: var(--branco); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: var(--branco); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-title); font-weight: 700; font-size: 17px; line-height: 1;
  padding: 16px 26px; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--verde-validacao); color: var(--grafite); }
.btn-primary:hover { background: #1aa36d; color: var(--grafite); }
.btn-secondary { background: transparent; color: var(--azul-kora); border-color: var(--azul-kora); }
.btn-secondary:hover { background: var(--azul-kora); color: var(--branco); }
.btn-light { background: transparent; color: var(--branco); border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: var(--branco); color: var(--azul-kora); }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--borda); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--azul-kora); flex-shrink: 0; }
.brand svg { width: 30px; height: 33px; }
.brand-name { font-family: var(--font-title); font-weight: 800; font-size: 27px; letter-spacing: -.02em; line-height: 1; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 10px 12px; font-size: 16px; font-weight: 500; color: var(--grafite); text-decoration: none; border-radius: 8px; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-item.is-active > .nav-link { color: var(--azul-kora); background: var(--nevoa); }
.nav-link .chev { display: inline-block; width: 10px; height: 10px; margin-left: 4px; vertical-align: 1px; }
.submenu { position: absolute; left: 0; top: 100%; min-width: 280px; list-style: none; margin: 0; padding: 8px; background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav-item:hover > .submenu, .nav-item:focus-within > .submenu, .nav-item.open > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--grafite); font-size: 15px; line-height: 20px; }
.submenu a span { display: block; font-size: 13px; color: var(--ardosia); }
.submenu a:hover { background: var(--nevoa); color: var(--azul-kora); }
.header-cta { flex-shrink: 0; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--borda); border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--azul-kora); }
.nav-toggle svg { width: 24px; height: 24px; display: block; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: 72px 0 0 0; background: var(--branco); overflow-y: auto; padding: 16px var(--gutter) 40px; display: none; margin: 0; }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { font-size: 18px; padding: 14px 8px; width: 100%; text-align: left; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; display: none; }
  .nav-item.open > .submenu { display: block; }
  .nav-mobile-cta { display: block !important; margin-top: 16px; }
  .nav-mobile-cta .btn { width: 100%; }
}
.nav-mobile-cta { display: none; }

/* ---------- Estrutura de seções ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section--mist { background: var(--nevoa); }
.section--navy { background: var(--azul-kora); color: #DCE7F0; }
.section--navy h2, .section--navy h3 { color: var(--branco); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--font-title); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--verde-escuro); margin-bottom: 14px; }
.section--navy .eyebrow { color: var(--verde-validacao); }
.lead { font-size: 20px; line-height: 32px; color: var(--ardosia); }
.section--navy .lead { color: #C3D4E2; }
@media (max-width: 760px) { .section { padding: 64px 0; } .section-sm { padding: 48px 0; } .lead { font-size: 18px; line-height: 28px; } }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; background: linear-gradient(180deg, var(--branco) 0%, var(--nevoa) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 580px; }
.hero-sub { font-weight: 600; color: var(--verde-escuro); }
.page-hero { padding: 56px 0 72px; background: var(--nevoa); }
.page-hero .lead { max-width: 760px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding: 56px 0 64px; } }

/* Cartão ilustrativo do pedido validado */
.order-card { background: var(--branco); border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--borda); padding: 24px; max-width: 480px; margin-left: auto; }
.order-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; }
.order-card .oc-title { font-family: var(--font-title); font-weight: 700; color: var(--azul-kora); }
.order-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.order-rows li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--nevoa); font-size: 15px; line-height: 20px; }
.order-rows .k { color: var(--ardosia); font-size: 13px; display: block; }
.order-rows .v { font-family: var(--font-mono); font-size: 14px; color: var(--grafite); }
.order-card footer { margin-top: 18px; display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 10px; background: #E6F6EF; color: var(--verde-escuro); font-weight: 600; font-size: 15px; }
@media (max-width: 960px) { .order-card { margin: 0 auto; } }

/* Selos de status (triagem) */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge-ok { background: #E6F6EF; color: var(--conforme); }
.badge-alert { background: #FEF3DE; color: #8A5A00; }
.badge-alert::before { background: var(--alerta); }
.badge-block { background: #FBE7E8; color: var(--impeditivo); }
.badge-info { background: #E4EFF8; color: var(--azul-sinal); }

/* ---------- Grids e cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius); padding: 28px; }
.section--mist .card { border-color: transparent; }
.card h3 { font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.card p { font-size: 16px; line-height: 26px; color: var(--ardosia); margin: 0; }
.card p + p, .card ul { margin-top: 12px; }
.card ul { font-size: 16px; line-height: 26px; color: var(--ardosia); padding-left: 20px; margin-bottom: 0; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-link:hover { border-color: var(--azul-sinal); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card-link .more { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 15px; color: var(--verde-escuro); }
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--nevoa); color: var(--azul-kora); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.section--mist .icon { background: var(--branco); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.num { font-family: var(--font-title); font-weight: 800; font-size: 15px; color: var(--verde-escuro); letter-spacing: .06em; display: block; margin-bottom: 10px; }

/* ---------- Tabelas ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--borda); border-radius: var(--radius); background: var(--branco); }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
th, td { text-align: left; padding: 16px 20px; vertical-align: top; border-bottom: 1px solid var(--borda); }
thead th { font-family: var(--font-title); font-size: 15px; font-weight: 700; color: var(--azul-kora); background: var(--nevoa); }
tbody tr:last-child td { border-bottom: 0; }
td strong { color: var(--grafite); }
.compare th:first-child { color: var(--impeditivo); }
.compare th:last-child { color: var(--verde-escuro); }
@media (max-width: 640px) { th, td { padding: 12px 14px; font-size: 15px; } }

/* ---------- Passos e fluxo ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: step; position: relative; background: var(--branco); border-radius: var(--radius); padding: 28px; border: 1px solid var(--borda); }
.steps li::before { content: counter(step); display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--azul-kora); color: var(--branco); font-family: var(--font-title); font-weight: 800; margin-bottom: 16px; }
.steps h3 { font-size: 20px; line-height: 28px; }
.steps p { font-size: 16px; line-height: 26px; color: var(--ardosia); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.flow { display: grid; grid-template-columns: 1fr auto 1.4fr auto 1fr; gap: 16px; align-items: center; }
.flow-node { background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius); padding: 22px; }
.flow-node h3 { font-size: 18px; line-height: 26px; margin-bottom: 6px; }
.flow-node p { font-size: 15px; line-height: 22px; color: var(--ardosia); margin: 0; }
.flow-core { background: var(--azul-kora); color: #DCE7F0; border-color: var(--azul-kora); }
.flow-core h3 { color: var(--branco); }
.flow-core p { color: #C3D4E2; }
.flow, .order-card { margin-top: 0; margin-bottom: 0; }
.flow { margin-left: 0; margin-right: 0; }
.flow-core .dims { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.flow-core .dims span { background: rgba(255,255,255,.1); border-radius: 8px; padding: 8px 10px; font-size: 14px; line-height: 18px; color: var(--branco); text-align: center; }
.flow-arrow { color: var(--ardosia); display: flex; justify-content: center; }
.flow-arrow svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.flow-out { display: grid; gap: 10px; }
.flow-out .flow-node { padding: 14px 16px; }
.flow-out .flow-node p { font-size: 14px; }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr; } .flow-arrow svg { transform: rotate(90deg); } }

.trail { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.trail li { background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius); padding: 18px; position: relative; }
.trail li strong { display: block; font-family: var(--font-title); color: var(--azul-kora); }
.trail li span { font-size: 14px; line-height: 20px; color: var(--ardosia); }
@media (max-width: 960px) { .trail { grid-template-columns: 1fr; } }

/* Fases de implantação */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.phases li { background: var(--branco); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--azul-sinal); }
.phases li.pilot { border-top-color: var(--verde-validacao); }
.phases .num { margin-bottom: 6px; }
.phases h3 { font-size: 17px; line-height: 24px; margin-bottom: 8px; }
.phases p { font-size: 14px; line-height: 21px; color: var(--ardosia); margin: 0; }
@media (max-width: 1000px) { .phases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .phases { grid-template-columns: 1fr; } }

/* Listas com check */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #E6F6EF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F7A50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.section--navy .checklist li::before { background-color: rgba(31,181,122,.18); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li { background: var(--branco); border: 1px solid var(--borda); border-radius: 999px; padding: 8px 16px; font-size: 15px; line-height: 20px; }
.section--navy .pill-list li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: var(--branco); }

/* Destaque (custo de não ter, citações) */
.callout { border-left: 4px solid var(--impeditivo); background: #FDF3F3; padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0; }
.callout h3 { color: var(--impeditivo); font-size: 20px; }
.callout p:last-child { margin: 0; }
.callout-ok { border-left-color: var(--verde-validacao); background: #EEF9F4; }
.callout-ok h3 { color: var(--verde-escuro); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--borda); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--font-title); font-weight: 700; font-size: 19px; line-height: 28px; color: var(--azul-kora); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 28px; font-weight: 400; color: var(--azul-sinal); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 22px; color: var(--ardosia); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Faixa de CTA ---------- */
.cta-band { background: var(--azul-kora); color: #DCE7F0; border-radius: 20px; padding: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--branco); margin-bottom: 12px; }
.cta-band p { margin: 0; color: #C3D4E2; }
.cta-band .btn-row { margin: 0; justify-content: flex-end; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 286px; background: url("../img/koramed-simbolo.svg") center / contain no-repeat; opacity: .07; pointer-events: none; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 40px 28px; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; line-height: 20px; color: var(--ardosia); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #9AA8B5; }
.breadcrumb a { color: var(--ardosia); text-decoration: none; }
.breadcrumb a:hover { color: var(--azul-kora); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--grafite); font-weight: 500; }

/* ---------- Artigos e conteúdo longo ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; line-height: 38px; margin-top: 48px; }
.prose h3 { margin-top: 32px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose table { margin: 8px 0 28px; }
.prose .table-wrap { margin: 8px 0 28px; }
.prose .table-wrap table { margin: 0; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--verde-validacao); color: var(--azul-kora); font-family: var(--font-title); font-weight: 600; font-size: 22px; line-height: 32px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--ardosia); margin-top: 16px; }
.post-list { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .post-list { grid-template-columns: 1fr; } }
.post-card .tag { font-size: 13px; font-weight: 600; color: var(--verde-escuro); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.post-card time { font-size: 14px; color: var(--ardosia); margin-top: 14px; display: block; }
.toc { background: var(--nevoa); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 32px; font-size: 16px; }
.toc strong { font-family: var(--font-title); color: var(--azul-kora); }
.toc ol { margin: 8px 0 0; padding-left: 20px; }

/* Glossário */
.glossary-index { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 40px; }
.glossary-index a { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; background: var(--nevoa); font-family: var(--font-title); font-weight: 700; text-decoration: none; color: var(--azul-kora); padding: 0 10px; }
.glossary-index a:hover { background: var(--azul-kora); color: var(--branco); }
.glossary dt { font-family: var(--font-title); font-weight: 700; font-size: 20px; color: var(--azul-kora); margin-top: 28px; scroll-margin-top: 96px; }
.glossary dd { margin: 6px 0 0; color: var(--grafite); }
.glossary-letter { font-size: 28px; margin: 48px 0 0; padding-bottom: 8px; border-bottom: 2px solid var(--nevoa); scroll-margin-top: 96px; }

/* Nome da marca: raízes */
.roots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.roots .card .root { font-family: var(--font-title); font-weight: 800; font-size: 40px; line-height: 1; color: var(--azul-kora); margin-bottom: 8px; display: block; }
.roots .card .origin { font-family: var(--font-mono); font-size: 13px; color: var(--verde-escuro); display: block; margin-bottom: 14px; }
@media (max-width: 860px) { .roots { grid-template-columns: 1fr; } }

/* ---------- Formulário ---------- */
.form { display: grid; gap: 18px; background: var(--branco); border: 1px solid var(--borda); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .form { padding: 24px 20px; } }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #B9C6D2; border-radius: 10px; background: var(--branco); color: var(--grafite); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(31,111,168,.3); border-color: var(--azul-sinal); }
.field .hint { font-size: 13px; color: var(--ardosia); margin-top: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 21px; color: var(--ardosia); }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }
.form-status { font-size: 15px; font-weight: 600; }
.form-status.error { color: var(--impeditivo); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--grafite); color: #AEBBC7; padding: 72px 0 32px; font-size: 15px; line-height: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.site-footer .brand { color: var(--branco); margin-bottom: 16px; }
.site-footer h2 { color: var(--branco); font-size: 15px; line-height: 20px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #D2DCE5; text-decoration: none; }
.site-footer a:hover { color: var(--branco); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

.h3 { font-size: 22px; line-height: 30px; font-weight: 700; }
.sitemap-grid ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: 16px; line-height: 24px; }

/* Utilitários */
.mt-0 { margin-top: 0; } .mt-lg { margin-top: 48px; } .mb-0 { margin-bottom: 0; }
.text-muted { color: var(--ardosia); }
.center { text-align: center; }
.notice { font-size: 14px; line-height: 21px; color: var(--ardosia); background: var(--nevoa); border-radius: 10px; padding: 14px 18px; }
