/* Site institucional Cligox. Layout: estilo SaaS claro — navbar flutuante em pílula, hero centralizado com degradê azul, diagrama de hub, cards em grade, faixa escura de números e CTA escuro arredondado. Visual único (claro com faixas escuras), independente do tema do visitante. */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --soft: #F5F7FB;
  --soft-2: #EDF2FA;
  --line: #E4E8F0;
  --ink: #12151C;
  --body: #4B5060;
  --muted: #8A90A0;
  --blue: #1769E0;
  --blue-hover: #0F58C4;
  --brand: #1983F7;
  --brand-soft: #E8F2FF;
  --navy: #07142E;
  --navy-2: #0D1E42;
  --on-navy: #EEF3FF;
  --on-navy-2: #9FB0CE;
  --ok: #0F8A5F;
  --warn: #B26200;
  --bad: #C0362C;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { overflow-x: clip; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: var(--bg); color: var(--body); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--brand); }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(80px, 10vw, 128px); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); }
.badge svg { width: 16px; height: 16px; color: var(--brand); }
.h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; }
.lead { font-size: 18px; color: var(--body); }
.center { text-align: center; display: grid; justify-items: center; gap: 18px; }
.center .lead { max-width: 56ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font: 600 15.5px var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.btn svg { width: 16px; height: 16px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); }
.btn-white { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-white:hover { border-color: #C9D0DD; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Navbar flutuante */
.nav-shell { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 50; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.navbar { max-width: 1040px; margin: 0 auto; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 999px; box-shadow: 0 10px 30px -12px rgba(7,20,46,.25), 0 0 0 1px rgba(7,20,46,.05); display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 22px; }
.navbar .logo img { height: 24px; width: auto; display: block; }
.links { display: flex; gap: 30px; margin: 0 auto; }
.links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--body); }
.links a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 6px; align-items: center; }
.nav-actions .login { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); padding: 0 14px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.drawer { max-width: 1040px; margin: 10px auto 0; background: var(--bg); border-radius: 24px; box-shadow: 0 20px 40px -16px rgba(7,20,46,.3); padding: 10px 22px 20px; display: none; }
.drawer.open { display: grid; }
.drawer a { padding: 13px 0; text-decoration: none; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer .btn { margin-top: 14px; border-bottom: 0; color: #fff; }

/* Hero */
.hero { padding: calc(150px + env(safe-area-inset-top, 0px)) 0 40px; background: linear-gradient(180deg, #1983F7 0%, #7DB8FF 22%, #D6E8FF 42%, #F4F8FF 60%, #FFFFFF 78%); }
.hero h1 { font-size: clamp(42px, 6.6vw, 82px); line-height: 1.02; letter-spacing: -0.035em; max-width: 15ch; }
.hero .lead { font-size: clamp(17px, 1.6vw, 19px); max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }

/* Hub */
.hub { position: relative; margin: clamp(56px, 7vw, 84px) auto 0; max-width: 1100px; height: 360px; }
.hub svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub .lines path { fill: none; stroke: #9DB4D6; stroke-width: 1.4; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.hub .lines .flow { stroke: var(--brand); stroke-dasharray: 3 14; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -34; } }
.hub .lines circle { fill: #2BC48A; }
.node, .tile, .core { position: absolute; transform: translate(-50%, -50%); }
.core { left: 50%; top: 50%; width: 250px; height: 250px; border-radius: 50%; background: radial-gradient(circle, #fff 58%, var(--brand-soft) 59%, #fff 72%, #EAF2FF 73%); border: 2px solid #C6DCFB; display: grid; place-items: center; box-shadow: 0 30px 60px -30px rgba(23,105,224,.45); }
.core-in { display: grid; justify-items: center; gap: 10px; }
.core-in .mark { width: 62px; height: 62px; border-radius: 18px; background: linear-gradient(140deg, #2398F9, #0068E8 55%, #04418F); display: grid; place-items: center; color: #fff; font: 700 30px var(--font); box-shadow: 0 12px 24px -10px rgba(0,104,232,.7); }
.core-in span { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.node { display: grid; justify-items: center; gap: 8px; }
.node i { width: 74px; height: 74px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 10px 24px -14px rgba(7,20,46,.35); }
.node i b { width: 46px; height: 46px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; color: var(--blue); }
.node i svg { width: 22px; height: 22px; }
.node span { font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.tile { width: 46px; height: 46px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--body); box-shadow: 0 8px 18px -12px rgba(7,20,46,.3); }
.tile svg { width: 21px; height: 21px; }
.tile[data-c="b"] { color: var(--brand); } .tile[data-c="g"] { color: var(--ok); } .tile[data-c="o"] { color: var(--warn); }
.tile .tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.tile:hover .tip { opacity: 1; }
.hub-mobile { display: none; }

/* Faixa de especialidades */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 40px; text-align: center; }
.trust-strip p { font-size: 14.5px; color: var(--muted); }
.specs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 46px; margin-top: 20px; }
.specs span { font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: -0.02em; color: #2B3040; }

/* Plataforma (bento 2x2) */
.platform { position: relative; overflow: hidden; }
.platform::before { content: ""; position: absolute; left: 50%; top: -340px; width: 1100px; height: 1100px; transform: translateX(-50%); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 119px, var(--line) 119px 120px); -webkit-mask: radial-gradient(circle, #000 30%, transparent 60%); mask: radial-gradient(circle, #000 30%, transparent 60%); pointer-events: none; }
.platform .center { position: relative; }
.grid2 { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.card { background: var(--soft); border-radius: 24px; padding: 14px 14px 30px; display: grid; gap: 22px; align-content: start; min-width: 0; }
.card .art { background: #fff; border-radius: 18px; padding: 24px; min-height: 260px; display: grid; align-content: center; min-width: 0; }
.card .txt { padding: 0 16px; display: grid; gap: 8px; }
.card h3 { font-size: 21px; }
.card p { font-size: 15.5px; }

/* FEFO */
.lots { display: grid; gap: 8px; }
.lot { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); transition: border-color .2s ease, background .2s ease; }
.lot .n { font-weight: 600; font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.lot .s { font-size: 12.5px; }
.lot .q { font: 600 18px var(--font); color: var(--ink); font-variant-numeric: tabular-nums; }
.lot.blocked { opacity: .55; }
.lot.picked { border-color: var(--brand); background: var(--brand-soft); }
.st { display: inline-flex; gap: 6px; align-items: center; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.ok { color: var(--ok); } .st.warn { color: var(--warn); } .st.bad { color: var(--bad); }
.art-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.log { font-size: 13.5px; color: var(--body); margin-top: 10px; min-height: 1.5em; }
.log b { color: var(--blue); }

/* XML */
.xmlart { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.file { width: 110px; height: 138px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(7,20,46,.4); position: relative; padding: 16px 14px; display: grid; align-content: start; gap: 7px; }
.file::after { content: "XML"; position: absolute; left: 12px; bottom: 12px; font: 700 11px var(--font); color: #fff; background: var(--brand); padding: 3px 7px; border-radius: 6px; }
.file i { display: block; height: 6px; border-radius: 4px; background: var(--soft-2); }
.file i:nth-child(2) { width: 70%; } .file i:nth-child(3) { width: 85%; } .file i:nth-child(4) { width: 55%; }
.pipe { height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: pipe 1s linear infinite; }
@keyframes pipe { to { background-position: 24px 0; } }
.dest { display: grid; gap: 10px; }
.dest div { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: 0 10px 22px -16px rgba(7,20,46,.35); font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.dest b { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--blue); flex: none; }
.dest b svg { width: 18px; height: 18px; }
.dest small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }

/* Margem */
.mrow { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.mrow span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.range { margin-top: 14px; display: grid; gap: 6px; }
.range label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; color: var(--ink); }
.range output { color: var(--blue); font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; accent-color: var(--blue); }
.mres { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.mres div { background: var(--soft); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.mres span { display: block; font-size: 11.5px; color: var(--muted); }
.mres b { font: 600 clamp(15px, 1.5vw, 18px) var(--font); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mres .hl { background: var(--navy); }
.mres .hl span { color: var(--on-navy-2); }
.mres .hl b { color: #6EE7B7; }

/* Termos */
.steps { display: grid; gap: 10px; }
.step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink); }
.step i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #DDF5EA; color: var(--ok); flex: none; }
.step i svg { width: 14px; height: 14px; }
.step.now { border-color: var(--brand); background: var(--brand-soft); }
.step.now i { background: var(--blue); color: #fff; font: 600 12px var(--font); }
.step small { margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.sig { margin-top: 4px; height: 70px; border: 1px dashed #C9D0DD; border-radius: 14px; position: relative; }
.sig svg { position: absolute; inset: 10px 18px; width: calc(100% - 36px); height: calc(100% - 20px); }
.sig path { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 420; animation: sign 6s ease-in-out infinite; }
@keyframes sign { 0% { stroke-dashoffset: 420; } 40%, 100% { stroke-dashoffset: 0; } }

/* Casos de uso */
.uses { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: 0 clamp(20px, 3vw, 40px); }
.uses-head { position: sticky; top: 110px; display: grid; gap: 18px; justify-items: start; }
.uses-list { display: grid; gap: 18px; }
.use { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 20px; border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: #fff; box-shadow: 0 14px 34px -28px rgba(7,20,46,.4); }
.use svg { width: 56px; height: 56px; color: var(--blue); }
.use h3 { font-size: 19px; }
.use p { font-size: 15px; margin-top: 6px; }
.use ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.use li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--ink); }

/* Faixa escura */
.dark { background: var(--navy); color: var(--on-navy-2); }
.dark h2, .dark h3 { color: var(--on-navy); }
.dark .badge { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--on-navy); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: clamp(44px, 6vw, 64px); border-top: 1px solid rgba(255,255,255,.1); }
.fact { padding: 32px 28px 0 0; display: grid; gap: 10px; align-content: start; }
.fact + .fact { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.1); }
.fact b { font: 600 clamp(38px, 4.4vw, 54px)/1 var(--font); letter-spacing: -0.03em; color: #7DB8FF; font-variant-numeric: tabular-nums; }
.fact p { font-size: 15px; }
.sec-row { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 40px; align-items: center; margin-top: clamp(64px, 8vw, 96px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid rgba(255,255,255,.1); }
.sec-row h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; }
.sec-row p { margin-top: 14px; max-width: 44ch; }
.seals { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.seal { aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: radial-gradient(circle, rgba(125,184,255,.1), transparent 70%); display: grid; place-items: center; text-align: center; padding: 12px; }
.seal svg { width: 26px; height: 26px; color: #7DB8FF; margin: 0 auto 8px; }
.seal span { font-size: 13px; font-weight: 600; color: var(--on-navy); line-height: 1.25; display: block; }

/* FAQ em cards */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: clamp(44px, 6vw, 64px); align-items: start; }
.faq-grid details { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 0 24px; box-shadow: 0 14px 30px -26px rgba(7,20,46,.4); }
.faq-grid summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 16.5px; font-weight: 600; color: var(--ink); }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; transition: transform .2s ease; }
.faq-grid summary i svg { width: 14px; height: 14px; }
.faq-grid details[open] summary i { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-grid details p { padding-bottom: 22px; font-size: 15px; }

/* Em breve */
.soon { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.soon span { padding: 9px 16px; border-radius: 999px; border: 1px dashed #C3CBDA; font-size: 14.5px; font-weight: 500; color: var(--ink); }

/* CTA */
.cta-box { position: relative; overflow: hidden; border-radius: 32px; background: radial-gradient(700px 360px at 50% 0%, rgba(25,131,247,.45), transparent 70%), var(--navy); padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px); text-align: center; display: grid; justify-items: center; gap: 18px; }
.cta-box::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); mask: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); pointer-events: none; }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; font-size: clamp(32px, 4.8vw, 58px); line-height: 1.06; max-width: 18ch; }
.cta-box p { color: var(--on-navy-2); font-size: 17px; }
.pill-form { margin-top: 12px; display: flex; gap: 6px; background: #fff; border-radius: 999px; padding: 6px; width: min(520px, 100%); }
.pill-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 15.5px var(--font); padding: 0 18px; color: var(--ink); }
.pill-form input:focus { outline: none; }
.pill-form:focus-within { box-shadow: 0 0 0 3px rgba(125,184,255,.6); }
.cta-msg { font-size: 14px; min-height: 1.5em; color: var(--on-navy-2); }
.cta-msg.ok { color: #6EE7B7; } .cta-msg.err { color: #FFB4A9; }

/* Rodapé */
.foot { padding-block: 72px 36px; }
.foot-grid { display: grid; grid-template-columns: minmax(0,1.6fr) repeat(3, minmax(0,1fr)); gap: 32px; }
.foot .logo img { height: 28px; }
.foot h4 { font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--blue); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.proto { color: var(--warn); font-size: 13px; }
.to-top { position: fixed; right: max(20px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; text-decoration: none; box-shadow: 0 12px 24px -10px rgba(23,105,224,.7); z-index: 40; }
.to-top svg { width: 18px; height: 18px; transform: rotate(-90deg); }

@media (max-width: 980px) {
  .links, .nav-actions { display: none; }
  .menu-btn { display: grid; }
  .navbar { padding: 6px 6px 6px 20px; }
  .grid2, .faq-grid { grid-template-columns: minmax(0,1fr); }
  .uses { grid-template-columns: minmax(0,1fr); border: 0; padding: 0; }
  .uses-head { position: static; }
  .facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; }
  .sec-row { grid-template-columns: minmax(0,1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hub { transform: scale(.82); transform-origin: top center; height: 300px; }
}
@media (max-width: 720px) {
  .hub { display: none; }
  .hub-mobile { display: grid; justify-items: center; gap: 22px; margin-top: 48px; }
  .hub-mobile .core { position: static; transform: none; width: 200px; height: 200px; }
  .hub-mobile .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .hub-mobile .chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); }
  .hub-mobile .chips svg { width: 16px; height: 16px; color: var(--blue); }
  .xmlart { grid-template-columns: minmax(0,1fr); justify-items: center; }
  .pipe { width: 2px; height: 28px; background: repeating-linear-gradient(180deg, var(--brand) 0 6px, transparent 6px 12px); animation: none; }
  .use { grid-template-columns: minmax(0,1fr); }
  .facts { grid-template-columns: minmax(0,1fr); }
  .fact, .fact + .fact { padding-left: 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; }
  .seals { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mres { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .mres .hl { grid-column: 1 / -1; }
  .pill-form { flex-direction: column; border-radius: 22px; }
  .pill-form input { height: 48px; }
  .foot-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Campo isca do formulário (fica fora da tela para pessoas, visível só para robôs) */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Páginas internas: cabeçalho com degradê curto */
.page-hero { padding: calc(140px + env(safe-area-inset-top, 0px)) 0 56px; background: linear-gradient(180deg, #DCEBFF 0%, #F4F8FF 55%, #FFFFFF 100%); }
.page-hero .center { gap: 16px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.03em; max-width: 18ch; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* Blog: lista */
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.cat { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; }
.cat:hover { border-color: #C9D0DD; }
.cat.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.cat small { color: var(--muted); font-size: 12.5px; }
.cat.on small { color: var(--on-navy-2); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.post-card { display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; box-shadow: 0 14px 34px -30px rgba(7,20,46,.45); transition: transform .15s ease, box-shadow .15s ease; min-width: 0; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -28px rgba(7,20,46,.5); }
.post-cover { aspect-ratio: 16 / 9; background: linear-gradient(140deg, #2398F9, #0068E8 55%, #04418F); display: grid; place-items: center; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-cover .ph { font: 600 15px var(--font); color: rgba(255,255,255,.9); padding: 0 24px; text-align: center; }
.post-body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.post-meta .tag { color: var(--blue); font-weight: 600; }
.post-card h2, .post-card h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; }
.post-card p { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card.featured { grid-column: 1 / -1; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); grid-template-rows: none; }
.post-card.featured .post-cover { aspect-ratio: auto; min-height: 320px; }
.post-card.featured .post-body { padding: clamp(24px, 4vw, 48px); align-content: center; }
.post-card.featured h2 { font-size: clamp(24px, 2.6vw, 34px); }
.empty { text-align: center; padding: 72px 20px; border: 1px dashed #C9D0DD; border-radius: 24px; display: grid; gap: 10px; justify-items: center; }
.empty h2 { font-size: 24px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 48px; font-size: 14.5px; }
.pager span { color: var(--muted); padding: 0 8px; }

/* Blog: post */
.article { max-width: 760px; margin: 0 auto; }
.article-cover { max-width: 1040px; margin: 0 auto 56px; border-radius: 26px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--soft); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prose { font-size: 18px; line-height: 1.75; color: #2F3443; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; line-height: 1.2; margin-top: 1.8em; }
.prose h3 { font-size: 22px; line-height: 1.25; margin-top: 1.6em; }
.prose a { color: var(--blue); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand); color: var(--ink); font-size: 19px; }
.prose code { font-size: .9em; background: var(--soft); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--navy); color: var(--on-navy); padding: 18px 20px; border-radius: 14px; overflow-x: auto; font-size: 14.5px; }
.prose pre code { background: none; padding: 0; }
.prose img { border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { color: var(--ink); font-weight: 600; }
.article-cta { margin-top: 64px; padding: 32px; border-radius: 24px; background: var(--soft); display: grid; gap: 12px; }
.article-cta h2 { font-size: 24px; }
.article-cta .pill-form { margin-top: 4px; box-shadow: 0 0 0 1px var(--line); }
.article-cta .cta-msg { color: var(--body); }
.article-cta .cta-msg.ok { color: var(--ok); }
.article-cta .cta-msg.err { color: var(--bad); }

/* Páginas legais */
.legal { max-width: 760px; margin: 0 auto; }
.legal .note { padding: 16px 20px; border-radius: 14px; background: #FFF6E5; color: #7A4A00; font-size: 15px; margin-bottom: 32px; }

@media (max-width: 980px) {
  .posts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .post-card.featured { grid-template-columns: minmax(0,1fr); }
  .post-card.featured .post-cover { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 680px) {
  .posts { grid-template-columns: minmax(0,1fr); }
  .prose { font-size: 17px; }
  .article-cover { aspect-ratio: 16 / 9; border-radius: 18px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
