/* saneamento.info - site institucional. Paleta viva: azul, agua, turquesa, verde, sol e coral sobre fundo claro. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --azul: #1677ff;
  --azul-esc: #0b5ed7;
  --agua: #19a7ff;
  --turquesa: #00c9a7;
  --verde: #2ec27e;
  --sol: #ffc233;
  --sol-esc: #f5a300;
  --coral: #ff6b6b;
  --marinho: #0b2545;
  --texto: #1d3550;
  --suave: #5b7189;
  --linha: #dce8f3;
  --fundo: #ffffff;
  --fundo-2: #f3f9ff;
  --fundo-3: #eafaf6;

  --grad-agua: linear-gradient(135deg, var(--agua), var(--azul) 55%, var(--turquesa));
  --grad-sol: linear-gradient(135deg, #ffd45c, var(--sol) 50%, #ff9f43);
  --sombra: 0 18px 50px -20px rgba(11, 37, 69, .28);
  --sombra-leve: 0 6px 20px -10px rgba(11, 37, 69, .22);
  --raio: 18px;
  --raio-g: 26px;
  --container: 1180px;
  --topo-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; color: var(--texto); background: var(--fundo);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--azul); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--marinho); line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr, .isca { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--marinho); color: #fff; padding: 10px 16px; border-radius: 10px; }
.pular:focus { top: 12px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.estreito { width: min(820px, 100% - 40px); }

/* ---------------- botoes ---------------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.25em; border-radius: 999px; border: 2px solid transparent;
  background: var(--grad-agua); color: #fff; font-weight: 700; font-size: .95rem; cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(22, 119, 255, .8); transition: transform .15s, box-shadow .15s, filter .15s;
  text-decoration: none !important; white-space: nowrap;
}
.botao:hover { transform: translateY(-2px); filter: saturate(1.15); box-shadow: 0 14px 30px -12px rgba(22, 119, 255, .9); }
.botao .ico { width: 1.1em; height: 1.1em; }
.botao-grande { padding: .95em 1.6em; font-size: 1.02rem; }
.botao-pequeno { padding: .5em 1em; font-size: .88rem; }
.botao-sol { background: var(--grad-sol); color: var(--marinho); box-shadow: 0 10px 24px -12px rgba(245, 163, 0, .9); }
.botao-claro { background: #fff; color: var(--azul); border-color: #cfe3ff; box-shadow: var(--sombra-leve); }
.botao-linha { background: transparent; color: var(--azul); border-color: #b9d6ff; box-shadow: none; }
.botao-linha:hover { background: #eef5ff; box-shadow: none; }
.link-seta { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; }

/* ---------------- topo ---------------- */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topo.rolou { border-color: var(--linha); box-shadow: 0 8px 30px -22px rgba(11, 37, 69, .5); }
.topo-in { height: var(--topo-h); display: flex; align-items: center; gap: 24px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none !important; flex: none; }
.marca-gota { width: 36px; height: 36px; }
.marca-nome { font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; color: var(--marinho); display: flex; align-items: baseline; }
.marca-nome i { width: 7px; height: 7px; border-radius: 50%; background: var(--sol); margin: 0 2px 0 3px; align-self: center; transform: translateY(4px); }
.marca-nome b { color: #0aa58c; font-weight: 800; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.menu ul { display: flex; gap: 4px; }
.menu ul a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--texto); font-weight: 600; font-size: .95rem; }
.menu ul a:hover, .menu ul a[aria-current] { background: var(--fundo-2); color: var(--azul); text-decoration: none; }
.menu-acoes { display: flex; gap: 10px; }
.menu-botao { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: var(--fundo-2); border-radius: 12px; color: var(--marinho); align-items: center; justify-content: center; cursor: pointer; }
.menu-botao .fecha { display: none; }

/* ---------------- hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 90px; background: linear-gradient(180deg, #f2f9ff 0%, #ffffff 70%); }
.hero-fundo .bolha { position: absolute; border-radius: 50%; filter: blur(4px); }
.hero-fundo .b1 { width: 520px; height: 520px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(255, 194, 51, .45), rgba(255, 194, 51, 0) 70%); }
.hero-fundo .b2 { width: 420px; height: 420px; left: -160px; bottom: -160px; background: radial-gradient(circle, rgba(0, 201, 167, .28), rgba(0, 201, 167, 0) 70%); }
.hero-fundo .b3 { width: 300px; height: 300px; left: 42%; top: 10%; background: radial-gradient(circle, rgba(25, 167, 255, .18), rgba(25, 167, 255, 0) 70%); }
.hero-grade { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.selo { display: inline-flex; align-items: center; gap: .5em; padding: .45em .95em; border-radius: 999px; background: #fff; border: 1px solid #ffe3a3; color: #8a5a00; font-weight: 700; font-size: .85rem; box-shadow: var(--sombra-leve); margin-bottom: 22px; }
.selo .ico { color: var(--sol-esc); }
.destaque { background: var(--grad-agua); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.15rem; color: var(--suave); margin: 22px 0 30px; max-width: 36em; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-acoes.centro { justify-content: center; }
.contagem { margin-top: 34px; display: inline-flex; flex-direction: column; gap: 8px; padding: 14px 18px; border-radius: var(--raio); background: #fff; border: 1px solid var(--linha); box-shadow: var(--sombra-leve); }
.contagem-rotulo { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--suave); }
.contagem-numeros { display: flex; gap: 18px; color: var(--suave); font-size: .85rem; }
.contagem-numeros b { display: block; font-size: 1.9rem; line-height: 1; font-weight: 800; color: var(--marinho); font-variant-numeric: tabular-nums; }
.contagem-numeros span:first-child b { color: var(--azul); }

.hero-visual { position: relative; }
.tela { background: #fff; border-radius: var(--raio-g); box-shadow: var(--sombra); border: 1px solid var(--linha); overflow: hidden; transform: rotate(-1deg); }
.tela-barra { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--fundo-2); border-bottom: 1px solid var(--linha); }
.tela-barra i { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.tela-barra i:nth-child(2) { background: var(--sol); }
.tela-barra i:nth-child(3) { background: var(--verde); }
.tela-barra span { margin-left: 10px; font-size: .78rem; color: var(--suave); background: #fff; padding: 3px 12px; border-radius: 999px; }
.tela-corpo { padding: 22px; }
.tela-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.tela-topo small { display: block; color: var(--suave); font-size: .78rem; }
.tela-topo strong { color: var(--marinho); }
.chip { display: inline-flex; align-items: center; gap: .35em; padding: .3em .75em; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.chip .ico { width: 1em; height: 1em; }
.chip-verde { background: #e3f8ee; color: #138a52; }
.chip-sol { background: #fff3d1; color: #8a5a00; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 12px; border-radius: 14px; }
.kpi small { display: block; font-size: .72rem; font-weight: 600; opacity: .8; }
.kpi strong { display: block; font-size: 1.05rem; color: var(--marinho); }
.kpi em { font-style: normal; font-size: .72rem; font-weight: 700; }
.k-azul { background: #e8f2ff; color: var(--azul); }
.k-verde { background: #e3f8ee; color: #138a52; }
.k-sol { background: #fff3d1; color: #a86c00; }
.grafico { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin-top: 18px; padding: 10px 4px 0; border-bottom: 1px solid var(--linha); }
.grafico span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #8fd1ff, #4ab3ff); }
.grafico span.atual { background: var(--grad-agua); }
.grafico-legenda { display: block; margin-top: 8px; color: var(--suave); font-size: .75rem; }
.cartao-flutuante { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-radius: 16px; box-shadow: var(--sombra); border: 1px solid var(--linha); animation: flutua 6s ease-in-out infinite; }
.cartao-flutuante strong { display: block; font-size: .9rem; color: var(--marinho); }
.cartao-flutuante small { color: var(--suave); font-size: .75rem; }
.cf-icone { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #e3f8ee; color: #138a52; }
.cf-icone.sol { background: #fff3d1; color: #a86c00; }
.cf-nfag { left: -34px; bottom: 54px; }
.cf-pix { right: -18px; top: 56px; animation-delay: -3s; }
.tela-nota { margin-top: 14px; text-align: right; font-size: .75rem; color: var(--suave); }
@keyframes flutua { 50% { transform: translateY(-10px); } }

/* ---------------- faixa de fatos ---------------- */
.fatos { padding: 0 0 20px; margin-top: -36px; position: relative; }
.fatos-grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fato { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 20px; box-shadow: var(--sombra-leve); }
.fato strong { display: block; color: var(--marinho); font-size: 1.05rem; margin: 10px 0 4px; }
.fato span { color: var(--suave); font-size: .9rem; line-height: 1.45; display: block; }
.fato-ico { width: 40px; height: 40px; padding: 8px; border-radius: 12px; color: #fff; background: var(--grad-agua); }
.fato:nth-child(2) .fato-ico { background: linear-gradient(135deg, var(--turquesa), var(--verde)); }
.fato:nth-child(3) .fato-ico { background: var(--grad-sol); color: var(--marinho); }
.fato:nth-child(4) .fato-ico { background: linear-gradient(135deg, #ff8a8a, var(--coral)); }

/* ---------------- secoes ---------------- */
.secao { padding: 96px 0; }
.secao-curta { padding: 56px 0 96px; }
.secao-cor { background: linear-gradient(180deg, var(--fundo-2), var(--fundo-3)); }
.secao-escura { background: radial-gradient(circle at 85% 10%, rgba(0, 201, 167, .35), transparent 45%), linear-gradient(135deg, #0b2545, #0d3b78); color: #d9e9ff; }
.secao-escura h2 { color: #fff; }
.secao-escura .lead { color: #b9d2f0; }
.sobretitulo { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--azul); margin-bottom: 12px; }
.secao-escura .sobretitulo, .sobretitulo.claro { color: var(--sol); }
.lead { font-size: 1.12rem; color: var(--suave); margin-top: 16px; }
.cabeca-secao { max-width: 760px; margin-bottom: 48px; }
.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.duas-colunas.topo { align-items: start; grid-template-columns: 1.3fr .9fr; }
.duas-colunas.invertida > :first-child { order: 0; }
.lista-check { margin-top: 26px; display: grid; gap: 12px; }
.lista-check li { display: flex; gap: 12px; align-items: flex-start; }
.lista-check .ico { color: #fff; background: var(--verde); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 2px; stroke-width: 3; }
.lista-check.claro li { color: #e6f0ff; }
.nota { margin-top: 18px; font-size: .88rem; color: var(--suave); }

/* NFAg */
.nfag-cartao { background: #fff; border-radius: var(--raio-g); padding: 32px; border: 1px solid var(--linha); box-shadow: var(--sombra); position: relative; }
.nfag-cartao::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; border-radius: var(--raio-g) var(--raio-g) 0 0; background: linear-gradient(90deg, var(--agua), var(--turquesa), var(--verde), var(--sol)); }
.linha-tempo { margin-top: 22px; display: grid; gap: 0; }
.linha-tempo li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; position: relative; padding-bottom: 20px; }
.linha-tempo li::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--linha); }
.linha-tempo li:last-child::before { display: none; }
.linha-tempo li > span { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--linha); background: #fff; }
.linha-tempo li.feito > span { background: var(--verde); border-color: #bff0d6; }
.linha-tempo li.proximo > span { background: var(--sol); border-color: #ffe7a6; animation: pulsa 2s infinite; }
.linha-tempo strong { display: block; color: var(--marinho); }
.linha-tempo small { color: var(--suave); font-size: .88rem; }
@keyframes pulsa { 50% { box-shadow: 0 0 0 8px rgba(255, 194, 51, .25); } }

/* modulos */
.modulos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.modulo { background: #fff; border-radius: var(--raio); padding: 24px; border: 1px solid var(--linha); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden; }
.modulo:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.modulo h3 { margin: 16px 0 8px; }
.modulo p { color: var(--suave); font-size: .93rem; line-height: 1.5; }
.modulo-ico, .mini { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.modulo-ico .ico, .mini .ico { width: 24px; height: 24px; }
.m-azul .modulo-ico, .mini.m-azul { background: #e8f2ff; color: var(--azul); }
.m-agua .modulo-ico, .mini.m-agua { background: #e2f5ff; color: #0790e0; }
.m-turquesa .modulo-ico, .mini.m-turquesa { background: #dcfaf4; color: #00a084; }
.m-verde .modulo-ico, .mini.m-verde { background: #e3f8ee; color: #1e9e63; }
.m-sol .modulo-ico, .mini.m-sol { background: #fff3d1; color: #c98500; }
.m-coral .modulo-ico, .mini.m-coral { background: #ffe9e9; color: #e04848; }
.modulo::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; opacity: .5; }
.m-azul::after { background: #f0f6ff; } .m-agua::after { background: #eef9ff; } .m-turquesa::after { background: #ebfcf8; }
.m-verde::after { background: #eefbf4; } .m-sol::after { background: #fff9e6; } .m-coral::after { background: #fff3f3; }

/* jornada */
.jornada { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: passo; }
.jornada li { position: relative; text-align: center; padding: 0 6px; }
.jornada li::after { content: ""; position: absolute; top: 34px; left: calc(50% + 44px); right: calc(-50% + 44px); height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, #b9d6ff 0 8px, transparent 8px 14px); }
.jornada li:last-child::after { display: none; }
.passo { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 16px; color: #fff; box-shadow: var(--sombra-leve); }
.passo .ico { width: 30px; height: 30px; }
.p-agua { background: linear-gradient(135deg, #5cc8ff, var(--agua)); }
.p-azul { background: var(--grad-agua); }
.p-verde { background: linear-gradient(135deg, var(--turquesa), var(--verde)); }
.p-sol { background: var(--grad-sol); color: var(--marinho); }
.p-coral { background: linear-gradient(135deg, #ff9a7a, var(--coral)); }
.jornada strong { display: block; color: var(--marinho); font-size: 1.05rem; }
.jornada small { display: block; color: var(--suave); font-size: .88rem; margin-top: 6px; line-height: 1.45; }

/* migracao */
.migra-visual { display: grid; gap: 18px; justify-items: center; }
.migra-caixa { width: 100%; max-width: 380px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 20px 22px; border-radius: var(--raio); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); }
.migra-caixa .ico { grid-row: span 2; width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #9fd2ff; }
.migra-caixa.destino { background: var(--grad-agua); border-color: transparent; box-shadow: 0 20px 50px -20px rgba(25, 167, 255, .8); }
.migra-caixa.destino .ico { color: #fff; background: rgba(255, 255, 255, .2); }
.migra-caixa strong { color: #fff; }
.migra-caixa small { color: #cfe3ff; }
.migra-fluxo { display: grid; gap: 6px; }
.migra-fluxo span { width: 10px; height: 10px; border-radius: 50%; background: var(--sol); animation: desce 1.5s infinite; }
.migra-fluxo span:nth-child(2) { animation-delay: .25s; } .migra-fluxo span:nth-child(3) { animation-delay: .5s; }
@keyframes desce { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }
.migra-itens { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 420px; }
.migra-itens li { padding: 5px 12px; border-radius: 999px; background: rgba(46, 194, 126, .18); color: #a9f0cc; font-size: .82rem; font-weight: 600; }

/* cidadao */
.celular-visual { display: flex; justify-content: center; position: relative; }
.celular-visual::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 194, 51, .35), transparent 70%); top: 30px; }
.celular { position: relative; width: 290px; padding: 12px; border-radius: 42px; background: var(--marinho); box-shadow: var(--sombra); }
.celular-tela { border-radius: 32px; background: linear-gradient(180deg, #f2f9ff, #fff); padding: 22px 18px; display: grid; gap: 14px; }
.cel-topo { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--marinho); font-size: .9rem; }
.cel-marca { width: 26px; height: 26px; }
.cel-fatura { background: var(--grad-agua); color: #fff; border-radius: 20px; padding: 18px; display: grid; gap: 4px; justify-items: start; }
.cel-fatura small { opacity: .85; font-size: .8rem; }
.cel-fatura strong { font-size: 1.8rem; line-height: 1.1; }
.cel-botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cel-b { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; border-radius: 14px; background: #fff; border: 1px solid var(--linha); font-size: .78rem; font-weight: 700; color: var(--marinho); }
.cel-b.b-pix { background: #e3f8ee; border-color: #c4efd9; color: #138a52; }
.cel-b .ico { width: 16px; height: 16px; }
.cel-consumo { background: #fff; border-radius: 16px; border: 1px solid var(--linha); padding: 12px; }
.cel-consumo small { color: var(--suave); font-size: .74rem; }
.mini-barras { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 6px; }
.mini-barras span { flex: 1; height: var(--h); border-radius: 5px; background: #bfe4ff; }
.mini-barras span:last-child { background: var(--coral); }
.cel-alerta { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: #ffe9e9; color: #b53535; font-size: .76rem; font-weight: 600; line-height: 1.35; }
.cel-alerta .ico { width: 16px; height: 16px; margin-top: 1px; }
.lista-ico { display: grid; gap: 18px; margin-top: 26px; }
.lista-ico li { display: flex; gap: 14px; align-items: flex-start; }
.lista-ico strong { display: block; color: var(--marinho); }
.lista-ico small { color: var(--suave); font-size: .92rem; }

/* cartoes */
.cartoes-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cartoes-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cartao { background: #fff; border-radius: var(--raio); padding: 24px; border: 1px solid var(--linha); box-shadow: var(--sombra-leve); }
.cartao h3 { margin: 14px 0 8px; }
.cartao p { color: var(--suave); font-size: .94rem; }
.seg { text-align: center; padding: 26px 18px; border-radius: var(--raio); background: var(--fundo-2); }
.seg h3 { margin: 14px 0 6px; }
.seg p { color: var(--suave); font-size: .92rem; }
.seg-ico { width: 54px; height: 54px; padding: 13px; margin: 0 auto; border-radius: 50%; background: #fff; color: var(--azul); box-shadow: var(--sombra-leve); }
.seg:nth-child(2) .seg-ico { color: var(--turquesa); } .seg:nth-child(3) .seg-ico { color: var(--sol-esc); } .seg:nth-child(4) .seg-ico { color: var(--coral); }

/* eventos */
.eventos-lista { display: grid; gap: 14px; }
.evento-cartao { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 18px 22px; background: #fff; border-radius: var(--raio); border: 1px solid var(--linha); box-shadow: var(--sombra-leve); color: var(--texto); transition: transform .2s; }
.evento-cartao:hover { transform: translateX(4px); text-decoration: none; }
.evento-cartao > .ico { color: var(--azul); }
.evento-cartao h3 { margin-bottom: 2px; }
.evento-cartao p { color: var(--suave); font-size: .92rem; }
.evento-resumo { margin-top: 6px; }
.evento-data { width: 64px; height: 64px; border-radius: 16px; background: var(--grad-sol); color: var(--marinho); display: grid; place-items: center; align-content: center; font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.evento-data b { font-size: 1.6rem; line-height: 1; }
.evento-info { display: grid; gap: 18px; margin-bottom: 28px; }
.evento-info > div { display: flex; gap: 14px; align-items: flex-start; }
.evento-info small { display: block; color: var(--suave); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.evento-info strong { display: block; color: var(--marinho); }
.evento-info span:not(.mini) { color: var(--suave); }
.eventos-passados { display: grid; gap: 8px; margin-top: 16px; }
.eventos-passados li { display: flex; gap: 8px; align-items: center; color: var(--suave); }
.eventos-passados .ico { color: var(--verde); }
.subtitulo { font-size: 1.3rem; margin-top: 48px; }
.acompanhantes { display: grid; gap: 10px; justify-items: start; margin: 4px 0 16px; }
.acompanhantes small { color: var(--suave); }
.acompanhante { width: 100%; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--sombra-leve); border-color: #b9d6ff; }
.faq summary { cursor: pointer; padding: 18px 30px 18px 0; font-weight: 700; color: var(--marinho); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--fundo-2); color: var(--azul); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { content: "−"; background: var(--azul); color: #fff; }
.faq details p { padding: 0 0 20px; color: var(--suave); }

/* chamada final */
.chamada { background: radial-gradient(circle at 10% 90%, rgba(255, 194, 51, .35), transparent 40%), radial-gradient(circle at 90% 10%, rgba(0, 201, 167, .45), transparent 45%), linear-gradient(135deg, #0d4fd6, var(--azul) 50%, #0a8fd8); color: #fff; }
.chamada h2 { color: #fff; }
.chamada .lead { color: #dcebff; }
.chamada-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* ---------------- formularios ---------------- */
.form-cartao { background: #fff; color: var(--texto); border-radius: var(--raio-g); padding: 32px; box-shadow: var(--sombra); border: 1px solid var(--linha); display: grid; gap: 4px; }
.form-cartao h3 { font-size: 1.3rem; margin-bottom: 12px; }
.form-cartao form { display: grid; gap: 4px; }
fieldset { border: 0; padding: 0; margin: 0 0 12px; }
legend { font-weight: 800; color: var(--marinho); margin-bottom: 10px; font-size: 1.02rem; }
.campo { display: grid; gap: 6px; margin-bottom: 12px; }
.campo label { font-weight: 600; font-size: .9rem; color: var(--marinho); }
.opc { font-weight: 500; color: var(--suave); font-size: .8rem; }
.campo input, .campo select, .campo textarea, .admin-filtro input, .admin-filtro select {
  width: 100%; padding: .75em .9em; border-radius: 12px; border: 1.5px solid var(--linha); background: #fbfdff; transition: border-color .15s, box-shadow .15s;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(22, 119, 255, .15); background: #fff; }
.campo input[aria-invalid="true"], .campo textarea[aria-invalid="true"], .campo select[aria-invalid="true"] { border-color: var(--coral); }
.campo textarea { resize: vertical; min-height: 110px; }
.campos-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.campos-3 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.campos-3 .campo-uf { order: 0; }
.campos-3 { grid-template-columns: 1.4fr .6fr 1fr; }
.aceite { display: block; position: relative; padding-left: 28px; font-size: .86rem; color: var(--suave); margin: 6px 0 16px; }
.aceite input { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; margin: 0; accent-color: var(--azul); }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.opcao input { position: absolute; opacity: 0; }
.opcao span { display: inline-block; padding: .5em .95em; border-radius: 999px; border: 1.5px solid var(--linha); font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .15s; background: #fbfdff; }
.opcao input:checked + span { background: #e8f2ff; border-color: var(--azul); color: var(--azul); }
.opcao input:focus-visible + span { outline: 3px solid var(--sol); outline-offset: 2px; }
.form-msg { font-size: .92rem; margin-top: 10px; }
.form-msg:empty { display: none; }
.form-msg.erro { padding: 12px 14px; border-radius: 12px; background: #ffeeee; color: #b42e2e; }
.form-msg.erro ul { padding-left: 1.1em; list-style: disc; margin-top: 4px; }
.form-msg.ok, .aviso-ok { padding: 12px 14px; border-radius: 12px; background: #e3f8ee; color: #137a49; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.form-rodape { font-size: .86rem; color: var(--suave); margin-top: 8px; }
.botao[disabled] { opacity: .65; cursor: progress; transform: none; }
.sucesso, .vazio { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 20px 0; }
.sucesso-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(46, 194, 126, .8); }
.sucesso-ico .ico { width: 32px; height: 32px; stroke-width: 3; }
.vazio p, .sucesso p { color: var(--suave); max-width: 32em; }

/* paginas internas */
.pagina-topo { padding: 64px 0 40px; background: radial-gradient(circle at 90% 0%, rgba(255, 194, 51, .3), transparent 35%), linear-gradient(180deg, #f2f9ff, #fff); }
.pagina-topo .lead { max-width: 44em; }
.contato-lado { display: grid; gap: 16px; }
.contato-lado .cartao h3 { margin-top: 12px; }
.destaque-cartao { background: linear-gradient(160deg, #fffaf0, #fff); border-color: #ffe3a3; }
.passos-num { display: grid; gap: 14px; margin-top: 14px; }
.passos-num li { display: flex; gap: 12px; }
.passos-num b { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-sol); display: grid; place-items: center; flex: none; color: var(--marinho); }
.passos-num strong { display: block; color: var(--marinho); }
.passos-num small { color: var(--suave); }
.texto-livre h2 { font-size: 1.35rem; margin: 32px 0 10px; }
.texto-livre p { margin-bottom: 12px; }
.erro-404 { padding: 120px 0; }
.gota-404 { width: 110px; height: 110px; animation: flutua 4s ease-in-out infinite; }

/* ---------------- rodape ---------------- */
.rodape { position: relative; background: var(--marinho); color: #b9cde3; padding: 90px 0 0; margin-top: 0; }
.onda-rodape { position: absolute; top: -1px; left: 0; right: 0; height: 60px; background: #fff; clip-path: ellipse(75% 100% at 50% 0%); }
.pg-home .onda-rodape { background: #0b5ed7; }
.rodape-grade { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.3fr; gap: 40px; }
.rodape-marca p { margin: 16px 0; font-size: .93rem; }
.rodape h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: 0; }
.rodape a { color: #d9e7f7; }
.rodape-links { display: grid; align-content: start; gap: 8px; font-size: .93rem; }
.rodape-contato { display: grid; gap: 8px; font-size: .93rem; }
.rodape-contato a { display: inline-flex; gap: 8px; align-items: center; }
.rodape-news p { font-size: .9rem; margin-bottom: 14px; }
.news-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.news-form input { padding: .75em 1em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; min-width: 0; }
.news-form input::placeholder { color: #8fa8c4; }
.news-form .form-msg { grid-column: 1 / -1; }
.rodape-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px 0; margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #8fa8c4; }

/* ---------------- admin ---------------- */
body.admin { background: var(--fundo-2); }
.admin-topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 24px; background: #fff; border-bottom: 1px solid var(--linha); }
.admin-etq { margin-left: 8px; font-size: .72rem; font-weight: 800; text-transform: uppercase; background: var(--sol); color: var(--marinho); padding: 2px 8px; border-radius: 6px; }
.admin-topo nav { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-topo nav a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 10px; color: var(--texto); font-weight: 600; font-size: .92rem; }
.admin-topo nav a:hover { background: var(--fundo-2); text-decoration: none; }
.admin-main { width: min(1200px, 100% - 32px); margin: 28px auto 60px; }
.admin-main h1 { font-size: 1.7rem; margin-bottom: 20px; }
.admin-login { max-width: 420px; margin: 60px auto; }
.admin-login h1 { font-size: 1.5rem; margin-bottom: 12px; }
.painel-cartao { color: var(--texto); }
.painel-cartao:hover { text-decoration: none; box-shadow: var(--sombra); }
.painel-cartao h2 { font-size: 1.05rem; margin: 12px 0 4px; }
.painel-cartao strong { font-size: 2.2rem; color: var(--marinho); margin-right: 6px; }
.painel-cartao small { color: var(--suave); }
.admin-filtro { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-filtro input, .admin-filtro select { width: auto; min-width: 200px; background: #fff; }
.tabela-rolagem { overflow-x: auto; background: #fff; border-radius: var(--raio); border: 1px solid var(--linha); }
.tabela { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tabela th, .tabela td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--linha); vertical-align: top; }
.tabela th { background: var(--fundo-2); color: var(--marinho); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.tabela tr:last-child td { border-bottom: 0; }
.tabela small { color: var(--suave); }
.etq { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--fundo-2); }
.etq-novo { background: #fff3d1; color: #8a5a00; }
.etq-em_atendimento { background: #e8f2ff; color: var(--azul); }
.etq-respondido, .etq-confirmada, .etq-presente { background: #e3f8ee; color: #137a49; }
.etq-arquivado, .etq-cancelada { background: #eef1f5; color: var(--suave); }
.admin-registro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.dados { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.dados dt { color: var(--suave); font-size: .88rem; }
.dados dd { margin: 0; color: var(--marinho); font-weight: 600; word-break: break-word; }
.mensagem { margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--fundo-2); white-space: normal; }
.anotacoes { display: grid; gap: 10px; margin-top: 16px; }
.anotacoes li { background: #fff; border: 1px solid var(--linha); border-radius: 12px; padding: 12px 14px; }
.anotacoes small { color: var(--suave); }
.vazio-admin { color: var(--suave); padding: 30px; text-align: center; background: #fff; border-radius: var(--raio); }

/* ---------------- responsivo ---------------- */
@media (max-width: 1080px) {
  .modulos { grid-template-columns: repeat(3, 1fr); }
  .menu ul a { padding: 8px 8px; }
  .menu-acoes .botao-linha { display: none; }
}
@media (max-width: 960px) {
  :root { --topo-h: 64px; }
  .menu-botao { display: inline-flex; }
  .menu { position: fixed; inset: var(--topo-h) 0 auto; flex-direction: column; align-items: stretch; gap: 16px; padding: 18px 20px 26px; background: #fff; border-bottom: 1px solid var(--linha); box-shadow: var(--sombra); transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; max-height: calc(100vh - var(--topo-h)); overflow-y: auto; }
  .menu.aberto { transform: none; visibility: visible; }
  .menu ul { flex-direction: column; }
  .menu ul a { padding: 12px; font-size: 1.05rem; }
  .menu-acoes { flex-direction: column; }
  .menu-acoes .botao-linha { display: inline-flex; }
  .menu-botao[aria-expanded="true"] .abre { display: none; }
  .menu-botao[aria-expanded="true"] .fecha { display: block; }
  .hero-grade, .duas-colunas, .duas-colunas.topo, .chamada-grade, .admin-registro { grid-template-columns: 1fr; gap: 44px; }
  .duas-colunas.invertida > :first-child { order: 2; }
  .hero { padding-top: 40px; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .fatos-grade, .cartoes-4 { grid-template-columns: repeat(2, 1fr); }
  .cartoes-3 { grid-template-columns: repeat(2, 1fr); }
  .jornada { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .jornada li { display: grid; grid-template-columns: 70px 1fr; column-gap: 18px; text-align: left; padding-bottom: 26px; }
  .jornada li .passo { grid-row: span 2; margin: 0; }
  .jornada li::after { left: 34px; right: auto; top: 74px; bottom: 4px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, #b9d6ff 0 8px, transparent 8px 14px); }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .secao { padding: 72px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .estreito { width: calc(100% - 32px); }
  .modulos, .cartoes-3, .cartoes-4, .fatos-grade { grid-template-columns: 1fr; }
  .campos-2, .campos-3 { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .kpi { padding: 8px; }
  .kpi strong { font-size: .88rem; }
  .cf-nfag { left: -6px; bottom: 30px; }
  .cf-pix { right: -6px; top: 40px; }
  .cartao-flutuante { padding: 8px 12px; }
  .tela { transform: none; }
  .contagem-numeros { gap: 12px; }
  .contagem-numeros b { font-size: 1.5rem; }
  .form-cartao { padding: 22px 18px; }
  .rodape-grade { grid-template-columns: 1fr; }
  .evento-cartao { grid-template-columns: auto 1fr; }
  .evento-cartao > .ico { display: none; }
  .marca-nome { font-size: 1.15rem; }
  .botao { white-space: normal; text-align: center; }
  .hero-acoes .botao { width: 100%; }
  .admin-filtro input, .admin-filtro select { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
