/* ==========================================================
   Adaline — sistema de design do site institucional
   Tokens em :root (tema claro) e redefinidos para o tema escuro.
   ========================================================== */

:root {
	/* cor */
	--bg: #f5f8fa;
	--bg-alt: #ebf1f5;
	--surface: #ffffff;
	--ink: #0f1c26;
	--ink-soft: #33444f;
	--muted: #5a6b77;
	--line: #d9e3ea;
	--brand: #0b6ea8;          /* azul da marca, AA sobre branco */
	--brand-strong: #08557f;
	--brand-bright: #28abe3;   /* ciano da identidade atual */
	--brand-soft: #e3f2fa;
	--on-brand: #ffffff;
	--ok: #1f8a4c;
	--ok-soft: #e2f4ea;
	--warn: #9a6400;
	--warn-soft: #fcf1dc;
	--danger: #b42318;
	--whats: #1fa855;
	--hero-grad-a: #e9f5fc;
	--hero-grad-b: #f5f8fa;

	/* tipografia */
	--font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-base: 1.0625rem;
	--fs-lg: 1.1875rem;
	--fs-h3: 1.25rem;
	--fs-h2: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
	--fs-h1: clamp(2rem, 1.3rem + 3vw, 3.25rem);

	/* espaço e forma */
	--gutter: 20px;
	--wrap: 1180px;
	--sec: clamp(56px, 7vw, 96px);
	--r-sm: 8px;
	--r: 14px;
	--r-lg: 22px;
	--shadow: 0 1px 2px rgba(15, 28, 38, .06), 0 8px 24px rgba(15, 28, 38, .07);
	--shadow-lg: 0 2px 4px rgba(15, 28, 38, .06), 0 20px 48px rgba(11, 110, 168, .14);
	--header-h: 72px;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		color-scheme: dark;
		--bg: #0b1319;
		--bg-alt: #0f1a22;
		--surface: #121f29;
		--ink: #e7eff4;
		--ink-soft: #c5d3dc;
		--muted: #93a6b3;
		--line: #22333f;
		--brand: #3db3ea;
		--brand-strong: #6fc8f0;
		--brand-bright: #3db3ea;
		--brand-soft: #0f2c3d;
		--on-brand: #06212f;
		--ok: #5fd08f;
		--ok-soft: #10301f;
		--warn: #f0b252;
		--warn-soft: #33260d;
		--danger: #ff8a80;
		--hero-grad-a: #0f2433;
		--hero-grad-b: #0b1319;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
		--shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 20px 48px rgba(0, 0, 0, .4);
	}
}
:root[data-theme="dark"] {
	color-scheme: dark;
	--bg: #0b1319;
	--bg-alt: #0f1a22;
	--surface: #121f29;
	--ink: #e7eff4;
	--ink-soft: #c5d3dc;
	--muted: #93a6b3;
	--line: #22333f;
	--brand: #3db3ea;
	--brand-strong: #6fc8f0;
	--brand-bright: #3db3ea;
	--brand-soft: #0f2c3d;
	--on-brand: #06212f;
	--ok: #5fd08f;
	--ok-soft: #10301f;
	--warn: #f0b252;
	--warn-soft: #33260d;
	--danger: #ff8a80;
	--hero-grad-a: #0f2433;
	--hero-grad-b: #0b1319;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
	--shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 20px 48px rgba(0, 0, 0, .4);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 var(--fs-base)/1.65 var(--font-body);
	-webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: var(--on-brand); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 700; }
.pular:focus { top: 12px; color: var(--on-brand); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.secao { padding-block: var(--sec); }
.secao--alt { background: var(--bg-alt); }
.secao-topo { max-width: 720px; margin-bottom: 40px; }
.secao-topo--centro { margin-inline: auto; text-align: center; }
.secao-topo p { color: var(--muted); font-size: var(--fs-lg); margin: 0; }
.rotulo {
	display: inline-flex; align-items: center; gap: 8px;
	font: 600 var(--fs-xs)/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
	color: var(--brand); margin-bottom: 14px;
}
.rotulo::before { content: ""; width: 18px; height: 2px; background: var(--brand-bright); border-radius: 2px; }
.lead { font-size: var(--fs-lg); color: var(--ink-soft); max-width: 62ch; }

/* ---------- botões ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
	font: 700 var(--fs-sm)/1.2 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
	transition: background-color .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.btn .icone { width: 20px; height: 20px; flex: none; }
.btn--primario { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 18px rgba(11, 110, 168, .28); }
.btn--primario:hover { background: var(--brand-strong); color: var(--on-brand); transform: translateY(-1px); }
.btn--contorno { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--contorno:hover { border-color: var(--brand); color: var(--brand); }
.btn--whats { background: var(--whats); color: #fff; }
.btn--whats:hover { background: #178a45; color: #fff; }
.btn--claro { background: #fff; color: #08557f; }
.btn--claro:hover { background: #e3f2fa; color: #08557f; }
.btn--linha { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--linha:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-seta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-seta .icone { width: 18px; height: 18px; transition: transform .18s; }
.link-seta:hover .icone { transform: translateX(3px); }

/* ---------- cabeçalho ---------- */
.topo {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--line);
}
.topo .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.marca { display: flex; align-items: center; flex: none; }
.marca img { width: 150px; height: auto; }
.menu { margin-left: auto; }
.menu > ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.menu a, .menu summary {
	display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: var(--r-sm);
	color: var(--ink-soft); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; cursor: pointer; list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu a:hover, .menu summary:hover, .menu a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.menu summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.submenu { position: relative; }
.submenu-painel {
	position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
	width: min(760px, 92vw); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
	box-shadow: var(--shadow-lg); padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.submenu-painel h4 { font: 600 var(--fs-xs)/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 4px 12px 8px; }
.submenu-painel ul { list-style: none; }
.submenu-painel a { padding: 8px 12px; font-weight: 600; color: var(--ink); }
.submenu-painel .todos { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; }
.topo-acoes { display: flex; align-items: center; gap: 8px; }
.topo-acoes .btn { min-height: 44px; padding: 10px 18px; }
.area-cliente { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); text-decoration: none; padding: 8px 10px; }
.menu-botao { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: var(--r-sm); cursor: pointer; align-items: center; justify-content: center; }
.menu-botao .icone { width: 22px; height: 22px; }

@media (max-width: 1060px) {
	.menu-botao { display: inline-flex; }
	.menu, .topo-acoes .area-cliente { display: none; }
	.topo.aberto .menu {
		display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg);
		overflow-y: auto; padding: 16px var(--gutter) 32px; border-top: 1px solid var(--line);
	}
	.topo.aberto .menu > ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.topo.aberto .menu a, .topo.aberto .menu summary { font-size: var(--fs-base); min-height: 48px; }
	.submenu-painel { position: static; transform: none; width: auto; box-shadow: none; grid-template-columns: 1fr; padding: 8px 0 8px 8px; border: 0; background: transparent; }
	.menu .menu-extra { display: block; }
}
@media (max-width: 560px) {
	.topo-acoes .btn--primario { display: none; }
	.marca img { width: 128px; }
}
.menu .menu-extra { display: none; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }

/* ---------- hero da página inicial ---------- */
.hero { background: radial-gradient(1200px 520px at 85% -10%, var(--hero-grad-a), var(--hero-grad-b) 70%); padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 88px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 span { color: var(--brand); }
.hero .lead { margin-bottom: 28px; }
.garantias { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--ink-soft); font-size: var(--fs-sm); font-weight: 600; }
.garantias li { display: flex; align-items: center; gap: 8px; }
.garantias .icone { width: 18px; height: 18px; color: var(--ok); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* quadro de sprint (ilustração do método de trabalho) */
.sprint {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
	box-shadow: var(--shadow-lg); padding: 22px; font-size: var(--fs-sm);
}
.sprint-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.sprint-cab strong { font-family: var(--font-display); font-size: 1rem; }
.sprint-cab span { font: 500 var(--fs-xs)/1 var(--font-mono); color: var(--muted); }
.sprint-barra { height: 8px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; margin: 14px 0 18px; }
.sprint-barra i { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, var(--brand), var(--brand-bright)); border-radius: 99px; }
.sprint ul { list-style: none; display: grid; gap: 10px; }
.sprint li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); }
.sprint li b { font-weight: 600; color: var(--ink); }
.sprint small { display: block; color: var(--muted); font: 500 var(--fs-xs)/1.4 var(--font-mono); }
.status { font: 700 11px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; white-space: nowrap; }
.status--ok { background: var(--ok-soft); color: var(--ok); }
.status--and { background: var(--brand-soft); color: var(--brand); }
.status--prox { background: var(--warn-soft); color: var(--warn); }
.sprint-rodape { display: flex; justify-content: space-between; margin-top: 16px; color: var(--muted); font: 500 var(--fs-xs)/1.4 var(--font-mono); }

/* ---------- faixa de números ---------- */
.numeros { border-block: 1px solid var(--line); background: var(--surface); }
.numeros ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.numeros li { padding: 28px 20px; border-left: 1px solid var(--line); }
.numeros li:first-child { border-left: 0; }
.numeros strong { display: block; font: 700 clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem)/1.1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.numeros span { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 820px) {
	.numeros ul { grid-template-columns: repeat(2, 1fr); }
	.numeros li:nth-child(3) { border-left: 0; }
	.numeros li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- cards ---------- */
.grade { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grade--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.card {
	position: relative; display: flex; flex-direction: column; gap: 10px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px;
	transition: border-color .18s, box-shadow .18s, transform .18s;
}
.card h3 { margin: 4px 0 0; }
.card p { color: var(--muted); margin: 0; }
.card .link-seta { margin-top: auto; padding-top: 8px; }
.card--link:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.card--link a.esticado::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.icone-caixa { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.icone-caixa .icone { width: 26px; height: 26px; }

.publicos .card { padding-top: 22px; }
.publicos .card ul { list-style: none; display: grid; gap: 6px; margin: 4px 0 6px; color: var(--ink-soft); font-size: var(--fs-sm); }
.publicos .card li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.publicos .card li .icone { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }

/* ---------- processo (etapas) ---------- */
.etapas { list-style: none; counter-reset: etapa; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.etapas li { counter-increment: etapa; position: relative; padding: 22px 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.etapas li::before { content: counter(etapa, decimal-leading-zero); display: block; font: 700 var(--fs-xs)/1 var(--font-mono); color: var(--brand); letter-spacing: .08em; margin-bottom: 14px; }
.etapas h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.etapas p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.etapas .prazo { display: inline-block; margin-top: 10px; font: 600 var(--fs-xs)/1 var(--font-mono); color: var(--ink-soft); background: var(--bg-alt); padding: 6px 8px; border-radius: 6px; }
@media (max-width: 1000px) { .etapas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .etapas { grid-template-columns: 1fr; } }

/* ---------- produtos ---------- */
.produto { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.produto .selo { font: 700 var(--fs-xs)/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ---------- tecnologias ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: 600 var(--fs-sm)/1.2 var(--font-body); color: var(--ink-soft); }

/* ---------- blocos de conteúdo ---------- */
.dividido { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .dividido { grid-template-columns: 1fr; } }
.lista-check { list-style: none; display: grid; gap: 12px; }
.lista-check li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--ink-soft); }
.lista-check .icone { width: 22px; height: 22px; color: var(--ok); margin-top: 2px; }
.destaque {
	border-left: 4px solid var(--brand-bright); background: var(--surface); border-radius: 0 var(--r) var(--r) 0;
	padding: 22px 24px; box-shadow: var(--shadow); color: var(--ink-soft); font-size: var(--fs-lg);
}
.destaque strong { color: var(--ink); }
.prosa { max-width: 70ch; }
.prosa h2 { margin-top: 1.6em; }
.prosa ul { padding-left: 1.2em; margin-bottom: 1em; }
.prosa li { margin-bottom: .4em; }

/* ---------- blog ---------- */
.blog-lista { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.blog-lista h2, .blog-lista h3 { font-size: var(--fs-h3); margin: 0; }
.blog-lista a { color: var(--ink); text-decoration: none; }
.blog-lista time { margin-top: auto; color: var(--muted); font-size: var(--fs-sm); }
.blog-meta { font: 600 var(--fs-xs)/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.blog-titulo { max-width: 24ch; }
.blog-texto { margin-inline: auto; }
.blog-texto p, .blog-texto ol { margin-bottom: 1em; }
.blog-texto ol { padding-left: 1.2em; }
.blog-texto h3 { margin-top: 1.4em; }
.blog-servico { display: grid; gap: 10px; margin-top: 2em; }

/* ---------- topo das páginas internas ---------- */
.pagina-topo { background: radial-gradient(900px 420px at 90% -20%, var(--hero-grad-a), var(--hero-grad-b) 70%); padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.pagina-topo .lead { margin-bottom: 26px; }
.trilha { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 18px; }
.trilha li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.trilha a { color: var(--muted); text-decoration: none; }
.trilha a:hover { color: var(--brand); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font: 600 var(--fs-base)/1.4 var(--font-display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 1.5rem/1 var(--font-body); color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 20px; color: var(--ink-soft); }
.faq details > div p { margin: 0; }

/* ---------- chamada final ---------- */
.chamada { background: linear-gradient(120deg, #08557f, #0b6ea8 55%, #1d97cf); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr auto; gap: 24px 40px; align-items: center; }
.chamada h2 { color: #fff; margin-bottom: 8px; }
.chamada p { color: rgba(255, 255, 255, .86); margin: 0; font-size: var(--fs-lg); }
@media (max-width: 820px) { .chamada { grid-template-columns: 1fr; } }

/* ---------- contato ---------- */
.contato { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contato { grid-template-columns: 1fr; } }
.canais { list-style: none; display: grid; gap: 16px; margin-top: 24px; }
.canais li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.canais .icone-caixa { width: 44px; height: 44px; }
.canais .icone-caixa .icone { width: 22px; height: 22px; }
.canais small { display: block; color: var(--muted); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.canais a, .canais span { color: var(--ink); font-weight: 600; text-decoration: none; }
.canais a:hover { color: var(--brand); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.form h3 { margin-bottom: 4px; }
.form > p { color: var(--muted); font-size: var(--fs-sm); }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.campo { display: grid; gap: 6px; }
.campo--cheio { grid-column: 1 / -1; }
@media (max-width: 600px) { .campos { grid-template-columns: 1fr; } }
.campo label { font-weight: 700; font-size: var(--fs-sm); color: var(--ink); }
.campo label span { font-weight: 400; color: var(--muted); }
.campo input, .campo select, .campo textarea {
	width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
	background: var(--bg); color: var(--ink); font: 400 var(--fs-base)/1.4 var(--font-body);
}
.campo textarea { min-height: 120px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.campo--consentimento { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; font-size: var(--fs-sm); color: var(--ink-soft); }
.campo--consentimento input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--brand); }
.campo--consentimento label { font-weight: 400; color: var(--ink-soft); }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .acoes { margin-top: 20px; }
.form-aviso { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); font-weight: 600; }
.form-aviso--ok { background: var(--ok-soft); color: var(--ok); }
.form-aviso--erro { background: #fdecea; color: var(--danger); }
:root[data-theme="dark"] .form-aviso--erro { background: #3a1512; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-aviso--erro { background: #3a1512; } }

/* ---------- rodapé ---------- */
.rodape { background: #0a1620; color: #b9c8d2; padding-block: 64px 28px; margin-top: var(--sec); font-size: var(--fs-sm); }
.rodape a { color: #dbe6ec; text-decoration: none; }
.rodape a:hover { color: #6fc8f0; }
.rodape-grade { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.rodape h4 { color: #fff; font: 600 var(--fs-xs)/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.rodape ul { list-style: none; display: grid; gap: 10px; }
.rodape .marca-rodape { display: inline-block; margin-bottom: 16px; }
.rodape .marca-rodape img { width: 150px; }
.rodape address { font-style: normal; line-height: 1.7; }
.redes { display: flex; gap: 10px; margin-top: 16px; }
.redes a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid #25394a; display: grid; place-items: center; font: 700 12px/1 var(--font-mono); }
.rodape-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #1c2f3e; margin-top: 44px; padding-top: 22px; color: #8aa0ae; }
@media (max-width: 900px) { .rodape-grade { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rodape-grade { grid-template-columns: 1fr; } }

/* botão flutuante de WhatsApp */
.whats-flutuante {
	position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
	display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px;
	background: var(--whats); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}
.whats-flutuante:hover { color: #fff; background: #178a45; }
.whats-flutuante .icone { width: 26px; height: 26px; }
@media (max-width: 560px) { .whats-flutuante span { display: none; } .whats-flutuante { padding: 14px; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* banner e capas do blog (imagens 1200x630, enviadas pelo adm) */
.blog-banner { max-width: 960px; margin: 0 auto 32px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1200 / 630; }
.blog-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-capa { width: calc(100% + 52px); max-width: none; margin: -26px -26px 6px; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--r) var(--r) 0 0; display: block; }
