/* VIDDIA — site institucional (MVP) — versão 2
   Paleta: #010636 (ink) · #061180 (deep) · #1233D0 (blue) · #EDF1FA (mist) · #F7F7F7 (paper) · #131313 (texto)
   Tipografia: Raleway (títulos) e Inter (texto), com fontes de reserva (hospedadas em /assets/fonts/).
   Vocabulário visual: fundo escuro em gradiente com círculos translúcidos, cartões sólidos azul-escuro e azul,
   fundo claro (mist) e branco apenas onde a leitura pede. */

/* Fontes hospedadas no próprio site (licença SIL OFL) */
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/raleway-600.woff") format("woff"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/raleway-700.woff") format("woff"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/raleway-800.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-600.woff") format("woff"); }

:root {
  --ink: #010636;
  --deep: #061180;
  --blue: #1233d0;
  --sky: #aebef4;
  --mist: #edf1fa;
  --paper: #f7f7f7;
  --text: #131313;
  --muted: #4a4f66;
  --line: #d5dcee;
  --white: #ffffff;
  --on-dark: #dfe6ff;
  --grad: linear-gradient(135deg, #010636 0%, #061180 58%, #0f2dc0 100%);
  --font-head: "Raleway", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-weight: 700; font-size: clamp(1.75rem, 3.3vw, 2.6rem); line-height: 1.15; }
h3 { font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.25; }
h4 { font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin-bottom: .3em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: #ffffff; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.measure { max-width: 64ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 58ch; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; text-align: center; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--deep); border-color: var(--deep); }
.btn-ghost:hover { background: var(--deep); color: #fff; }
.on-dark .btn-primary, .site-header .btn-primary { background: #fff; color: var(--ink); }
.on-dark .btn-primary:hover, .site-header .btn-primary:hover { background: var(--sky); color: var(--ink); }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.75); }
.on-dark .btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--ink); }

/* ---------- Ícones ---------- */
.ico { width: 22px; height: 22px; fill: currentColor; flex: none; display: block; }
.social { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); color: #fff; transition: background-color .15s, color .15s, border-color .15s; }
.social a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-lines li { display: flex; gap: 14px; align-items: flex-start; }
.contact-lines .ico { margin-top: 2px; color: var(--sky); }
.contact-lines .wa .ico { color: #25d366; width: 26px; height: 26px; margin-top: 0; }
.contact-lines .wa { align-items: center; }
.contact-lines a { color: #fff; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; color: #fff; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: block; padding: 10px 14px; border-radius: 8px; color: #fff; text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav-link:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav-link[aria-current="page"] { font-weight: 600; box-shadow: inset 0 -3px 0 var(--sky); border-radius: 8px 8px 0 0; }
.nav .btn { padding: 11px 20px; font-size: .95rem; margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,.7); border-radius: 10px; width: 46px; height: 46px; padding: 0; cursor: pointer; color: #fff; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; margin: 0 auto; transition: transform .2s, background-color .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.12); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 24px; box-shadow: 0 18px 30px -20px rgba(1,6,54,.6); }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.14); border-radius: 0; box-shadow: none; }
  .nav-link[aria-current="page"] { box-shadow: none; border-radius: 0; color: var(--sky); }
  .nav .btn { margin: 18px 0 0; }
  .brand img { height: 34px; }
}

/* ---------- Seções e fundos ---------- */
.section { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--grad); color: var(--on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark a:not(.btn) { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p:last-child { margin-bottom: 0; }
.section-dark .lead { color: var(--on-dark); }
.statement { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.7; }

/* Círculos translúcidos (identidade da proposta comercial) */
.orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.orbs span { position: absolute; border-radius: 50%; }
.orbs .o1 { width: clamp(260px, 36vw, 520px); aspect-ratio: 1; right: -7%; top: -22%; background: rgba(18, 51, 208, .42); }
.orbs .o2 { width: clamp(170px, 22vw, 320px); aspect-ratio: 1; right: -3%; bottom: -26%; background: rgba(140, 160, 245, .26); }
.orbs .o3 { width: clamp(60px, 8vw, 120px); aspect-ratio: 1; right: 28%; bottom: 14%; background: rgba(150, 165, 230, .22); }
.orbs.left .o1 { right: auto; left: -9%; top: auto; bottom: -30%; }
.orbs.left .o2 { right: auto; left: 12%; bottom: auto; top: -22%; }
.orbs.left .o3 { right: auto; left: 3%; bottom: auto; top: 30%; }
@media (max-width: 700px) { .orbs { opacity: .6; } .orbs .o3 { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 9vw, 128px) 0 clamp(72px, 9vw, 136px); }
.hero h1 { color: #fff; max-width: 21ch; }
.hero h1 .l1 { display: block; }
.hero .lead { margin-top: 1.4rem; max-width: 56ch; }
.hero-sub { padding: clamp(52px, 7vw, 96px) 0 clamp(56px, 7vw, 92px); }
.hero-sub h1 { max-width: 22ch; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.hero-sub .lead { max-width: 60ch; }

/* ---------- Desafios ---------- */
.problem-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.solid { border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); color: #fff; }
.solid h3 { color: #fff; margin-bottom: .5em; }
.solid-navy { background: var(--ink); }
.solid-blue { background: var(--blue); }
.solid-deep { background: var(--deep); }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.28); font-size: 1.04rem; line-height: 1.5; }
.lines li:last-child { padding-bottom: 0; }

/* Desafios em blocos sólidos (sem marcadores) */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }
.tile { border-radius: var(--radius); padding: 26px 28px; color: #fff; font-size: 1.06rem; line-height: 1.55; display: flex; align-items: center; min-height: 118px; }
.tile:nth-child(4n+1), .tile:nth-child(4n+4) { background: var(--ink); }
.tile:nth-child(4n+2), .tile:nth-child(4n+3) { background: var(--blue); }
@media (max-width: 760px) { .tile:nth-child(odd) { background: var(--ink); } .tile:nth-child(even) { background: var(--blue); } }

/* ---------- Pilares (vidro sobre fundo escuro) ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.glass-card { display: flex; flex-direction: column; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.26); border-radius: 22px; padding: clamp(28px, 3.5vw, 44px); }
.glass-card .name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--sky); margin-bottom: .6em; }
.glass-card h3 { color: #fff; font-size: clamp(1.4rem, 2.3vw, 1.85rem); }
.glass-card p { color: var(--on-dark); }
.glass-card p:last-of-type { margin-bottom: 1.8rem; }
.glass-card .link-arrow { margin-top: auto; align-self: flex-start; color: #fff; }

/* ---------- Diferencial (texto em duas colunas) ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split h2 { margin: 0; }
.split p:last-child { margin-bottom: 0; }

/* ---------- Formatos de trabalho (círculos que se combinam) ---------- */
.bubbles { list-style: none; margin: 0; padding: 0 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bubble-item { text-align: center; }
.bubble { display: grid; place-items: center; width: calc(100% + 36px); margin-left: -18px; aspect-ratio: 1; border-radius: 50%; padding: 12%; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 1.9vw, 1.6rem); line-height: 1.2; position: relative; }
.bubble-item:nth-child(1) .bubble { background: var(--ink); }
.bubble-item:nth-child(2) .bubble { background: rgba(18, 51, 208, .94); }
.bubble-item:nth-child(3) .bubble { background: rgba(6, 17, 128, .94); }
.bubble-item:nth-child(4) .bubble { background: rgba(18, 51, 208, .94); }
.bubble-item:nth-child(1) .bubble { z-index: 1; }
.bubble-item p { margin: 22px auto 0; padding: 0 8px; max-width: 28ch; color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) {
  .bubbles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 0; }
  .bubble { width: min(100%, 230px); margin: 0 auto; }
  .bubble-item p { margin-top: 14px; }
}

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(28px, 4vw, 48px); }
.stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius); padding: 28px 26px; }
.stat .num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.8rem, 4.8vw, 4rem); line-height: 1; color: #c7d3ff; margin-bottom: 14px; letter-spacing: -0.02em; }
.stat p { margin: 0; color: #fff; font-size: 1.02rem; line-height: 1.5; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } }
.credit-text { max-width: 70ch; font-size: 1.12rem; }

/* ---------- Clientes (faixas em movimento) ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee + .marquee { margin-top: 10px; }
.track { display: flex; width: max-content; animation: slide 80s linear infinite; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 90s; }
.track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.track li { width: 190px; height: 96px; display: flex; align-items: center; justify-content: center; padding: 0 20px; }
.track img { max-height: 56px; max-width: 150px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .track, .logos-paused .track { animation-play-state: paused; }
.logos-control { margin-top: 18px; display: flex; justify-content: flex-end; }
.logos-control button { background: none; border: 1.5px solid var(--deep); color: var(--deep); border-radius: 999px; padding: 8px 18px; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; }
.logos-control button:hover { background: var(--deep); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .track ul { flex-wrap: wrap; justify-content: center; }
  .track ul[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .logos-control { display: none; }
}

/* ---------- Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 32px 30px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 22px; font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.quote blockquote p { margin: 0; }
.quote figcaption { margin-top: auto; padding-top: 18px; border-top: 3px solid var(--blue); font-size: .95rem; color: var(--muted); line-height: 1.45; }
.quote figcaption strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.02rem; }

/* ---------- Serviços (cartão dividido) ---------- */
.svc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); background: #fff; border-radius: 22px; overflow: hidden; margin-bottom: 24px; }
.svc:last-child { margin-bottom: 0; }
.svc-head { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.svc-head::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -90px; bottom: -90px; background: rgba(140, 160, 245, .24); }
.svc-head > * { position: relative; z-index: 1; }
.badge { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); color: #fff; margin-bottom: 8px; }
.svc-head h3 { color: #fff; margin: 0; }
.tagline { margin: 0; color: #cfdaff; font-weight: 500; font-size: 1.04rem; line-height: 1.45; }
.svc-body { padding: clamp(26px, 3vw, 40px); }
.svc-body > p { max-width: 66ch; margin-bottom: 1.2em; }
.svc-body .label { font-family: var(--font-head); font-weight: 700; color: var(--deep); margin: 1.4em 0 .6em; font-size: 1rem; }
.svc-body .label:first-child { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 1em; padding: 0; }
.chip { background: var(--mist); color: var(--deep); border-radius: 999px; padding: 7px 15px; font-size: .94rem; font-weight: 500; line-height: 1.3; }
.result { background: var(--mist); border-left: 5px solid var(--blue); border-radius: 12px; padding: 16px 20px; margin-top: 1.2em; }
.result strong { display: block; font-family: var(--font-head); color: var(--deep); margin-bottom: 2px; }
.result p { margin: 0; }
.fine { font-size: .96rem; color: var(--muted); margin: 0 0 1em; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }

/* ---------- Dimensões ---------- */
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 26px); }
@media (max-width: 960px) { .dims { grid-template-columns: 1fr; } }
.dims .solid p { color: var(--on-dark); }
.dims .ex { margin: 1.2em 0 0; padding-top: 1em; border-top: 1px solid rgba(255,255,255,.3); font-size: .98rem; color: #fff; }
.dims .ex span { font-weight: 600; }
.note { margin-top: 28px; font-size: .95rem; color: var(--muted); max-width: 70ch; }

.callout > * { max-width: 820px; }
.callout p { font-size: 1.15rem; }

/* ---------- Artigos (blocos ocultos até haver páginas) ---------- */
.articles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .articles-grid { grid-template-columns: 1fr; } }
.article-card { background: #fff; border-radius: var(--radius); padding: 28px 28px 24px; display: flex; flex-direction: column; }
.article-card .cat { font-size: .88rem; font-weight: 600; color: var(--blue); margin-bottom: .5em; }
.article-card h3 { font-size: 1.25rem; }
.article-card p { color: var(--muted); font-size: 1rem; }
.article-card .link-arrow { margin-top: auto; align-self: flex-start; }
[hidden] { display: none !important; }

/* ---------- CTA final ---------- */
.cta-band .inner { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { margin: 0; font-size: 1.12rem; max-width: 56ch; color: var(--on-dark); }
@media (max-width: 800px) { .cta-band .inner { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border-radius: 22px; padding: clamp(24px, 3.5vw, 44px); }
.form { display: grid; gap: 20px; }
.field label { display: block; font-weight: 600; font-size: .98rem; margin-bottom: 6px; color: var(--ink); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1.5px solid #9aa5c9; border-radius: 10px; padding: 13px 14px; min-height: 50px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(18,51,208,.35); border-color: var(--blue); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; border-radius: 10px; font-weight: 500; margin-bottom: 16px; }
.form-status.ok { background: #e6f4ea; color: #14532d; border: 1px solid #9fd4ae; }
.form-status.err { background: #fdecec; color: #7a1010; border: 1px solid #f0aaaa; }
.contact-card { position: relative; overflow: hidden; background: var(--grad); color: var(--on-dark); border-radius: 22px; padding: clamp(26px, 3.5vw, 40px); }
.contact-card::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -110px; bottom: -110px; background: rgba(140,160,245,.22); }
.contact-card > * { position: relative; z-index: 1; }
.contact-card h2 { color: #fff; font-size: 1.5rem; margin-bottom: 1em; }
.contact-card .social { margin-top: 26px; }

/* ---------- Texto jurídico ---------- */
.prose { max-width: 70ch; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: #c9d1ee; padding: clamp(48px, 6vw, 80px) 0 28px; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img.flogo { height: 44px; width: auto; display: block; margin-bottom: 16px; }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: 1em; letter-spacing: 0; }
.site-footer ul.links { list-style: none; margin: 0; padding: 0; }
.site-footer ul.links li { margin-bottom: 9px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .social a:hover { text-decoration: none; }
.site-footer .social { margin-top: 22px; }
.footer-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .9rem; color: #aab4da; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .nav-toggle, .btn-row, .cta-band, .orbs { display: none; }
  body { font-size: 11pt; }
}

/* ---------- Artigos ---------- */
.crumbs { font-size: .92rem; color: var(--on-dark); margin-bottom: 18px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 8px; opacity: .6; }
.tag { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 6px 16px; font-size: .9rem; font-weight: 600; margin-bottom: 18px; }
.art-hero h1 { max-width: 26ch; font-size: clamp(1.9rem, 3.8vw, 3rem); }
.art-hero .lead { max-width: 62ch; }
.art-meta { margin: 1.4rem 0 0; font-size: .95rem; color: var(--on-dark); }
.art-hero { padding-bottom: clamp(44px, 6vw, 80px); }
.art-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.toc { position: sticky; top: 104px; font-size: .95rem; }
.toc h2 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-family: var(--font-body); font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 7px 0 7px 16px; color: var(--ink); text-decoration: none; line-height: 1.35; margin-left: -2px; border-left: 2px solid transparent; }
.toc li a:hover { color: var(--blue); border-left-color: var(--blue); }
.toc-m { display: none; }
@media (max-width: 1000px) {
  .art-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
  .toc-m { display: block; background: var(--mist); border-radius: 14px; padding: 14px 18px; margin-bottom: 28px; }
  .toc-m summary { cursor: pointer; font-weight: 600; color: var(--ink); }
  .toc-m ol { margin: 12px 0 4px; padding-left: 1.2em; }
  .toc-m li { margin-bottom: 6px; }
}
.art-body { max-width: 70ch; font-size: 1.1875rem; line-height: 1.78; }
.art-body > p { margin-bottom: 1.25em; }
.art-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 2.2em 0 .6em; scroll-margin-top: 100px; }
.art-body h3 { font-size: 1.28rem; margin: 1.8em 0 .5em; color: var(--deep); scroll-margin-top: 100px; }
.art-body h4.label { font-family: var(--font-body); font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin: 1.4em 0 .3em; }
.art-body .pull { margin: 2em 0; padding: 6px 0 6px 26px; border-left: 5px solid var(--blue); }
.art-body .pull p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.35; color: var(--ink); }
.art-body .callout-box { background: var(--mist); border-radius: 14px; padding: 20px 24px; margin: 1.8em 0; font-weight: 600; color: var(--ink); line-height: 1.6; }
.art-body ul.items { list-style: none; margin: 1.4em 0; padding: 0; }
.art-body ul.items li { padding: 14px 0; border-top: 1px solid var(--line); }
.art-body ul.items li:last-child { border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; margin: 1.8em 0; border-radius: 14px; border: 1px solid var(--line); }
.art-body table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
.art-body th { background: var(--ink); color: #fff; text-align: left; padding: 14px 16px; font-family: var(--font-head); }
.art-body td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.art-body tbody tr:nth-child(even) td { background: var(--mist); }
.art-body .ref { margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: .92rem; line-height: 1.6; color: var(--muted); }
.art-cta { max-width: 70ch; margin-top: 3em; position: relative; overflow: hidden; background: var(--grad); color: var(--on-dark); border-radius: 22px; padding: clamp(26px, 4vw, 42px); font-size: 1.05rem; line-height: 1.6; }
.art-cta::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -100px; bottom: -110px; background: rgba(140,160,245,.24); }
.art-cta > * { position: relative; z-index: 1; }
.art-cta h2 { color: #fff; font-size: 1.5rem; margin: 0 0 .5em; }
.art-cta p { margin: 0 0 1.2em; }
.art-cta .btn-row { margin-top: 1.2rem; }
.art-cta .link-arrow { color: #fff; align-self: center; }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .rel-grid { grid-template-columns: 1fr; } }
@media print { .toc, .toc-m, .art-cta { display: none; } .art-grid { display: block; } }

/* ---------- Links em artigos e página Artigos ---------- */
a.inl { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--sky); }
a.inl:hover { text-decoration-color: currentColor; color: inherit; }
.section-dark a.inl { color: #fff; }
.solid a.inl, .tile a.inl { color: #fff; }
.see { margin: 1em 0 0; font-size: .92rem; line-height: 1.55; color: var(--on-dark); }
.see a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.all-link { margin: 28px 0 0; }
.articles-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .articles-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .articles-grid.three { grid-template-columns: 1fr; } }
.chips-nav { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips-nav .chip { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); color: #fff; text-decoration: none; padding: 8px 16px; font-weight: 500; }
.chips-nav .chip:hover { background: #fff; color: var(--ink); }
