/* ==========================================================================
   Cachoeira Pena Branca — estilos do site
   Paleta derivada do logotipo: verde-mata, azul-água e areia.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --mata: #143d2e;
  --mata-2: #1d5641;
  --folha: #3d9a5c;
  --folha-clara: #e3f1e6;
  --agua: #1683c4;
  --agua-escura: #0c5f91;
  --agua-clara: #e2f1fa;
  --sol: #e3a43b;

  --bg: #f7f3ea;
  --bg-2: #efe9dc;
  --papel: #fffdf8;
  --tinta: #18231e;
  --tinta-2: #3a4842;
  --suave: #5f6d66;
  --linha: #e2dbcb;
  --linha-forte: #cfc6b2;
  --link: #0c6a9e;
  --foco: #1683c4;
  --sombra: 0 1px 2px rgb(20 40 30 / .06), 0 8px 24px -8px rgb(20 40 30 / .14);
  --sombra-forte: 0 2px 4px rgb(20 40 30 / .08), 0 24px 48px -16px rgb(20 40 30 / .28);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 24px;
  --primario: #143d2e;
  --largura: 1200px;
  --texto: 70ch;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --mata: #0e2a20;
    --mata-2: #1a4636;
    --folha: #5cbf7c;
    --folha-clara: #173326;
    --agua: #4db3ec;
    --agua-escura: #8fd0f5;
    --agua-clara: #122c3b;
    --bg: #101714;
    --bg-2: #16201b;
    --papel: #18221d;
    --tinta: #ecefe9;
    --tinta-2: #c9d1cb;
    --suave: #9aa8a0;
    --linha: #2a3832;
    --linha-forte: #3b4b44;
    --link: #7cc6f0;
    --primario: #2a7a4f;
    --sombra: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -8px rgb(0 0 0 / .5);
    --sombra-forte: 0 2px 4px rgb(0 0 0 / .3), 0 24px 48px -16px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --mata: #0e2a20;
  --mata-2: #1a4636;
  --folha: #5cbf7c;
  --folha-clara: #173326;
  --agua: #4db3ec;
  --agua-escura: #8fd0f5;
  --agua-clara: #122c3b;
  --bg: #101714;
  --bg-2: #16201b;
  --papel: #18221d;
  --tinta: #ecefe9;
  --tinta-2: #c9d1cb;
  --suave: #9aa8a0;
  --linha: #2a3832;
  --linha-forte: #3b4b44;
  --link: #7cc6f0;
  --primario: #2a7a4f;
  --sombra: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -8px rgb(0 0 0 / .5);
  --sombra-forte: 0 2px 4px rgb(0 0 0 / .3), 0 24px 48px -16px rgb(0 0 0 / .6);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tinta);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; color: var(--tinta); margin: 0 0 .5em; text-wrap: balance; font-variation-settings: "SOFT" 50, "opsz" 72; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--linha); margin: 2.5rem 0; }
::selection { background: var(--agua); color: #fff; }

.container { width: min(100% - 2 * var(--gutter), var(--largura)); margin-inline: auto; }
.container-estreito { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pular { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--mata); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.pular:focus { top: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: .5em; font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--folha); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--tinta-2); line-height: 1.6; }
.muted { color: var(--suave); }

/* ---------- botões ---------- */
.btn {
  --btn-bg: var(--primario); --btn-fg: #fff; --btn-borda: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 1.5px solid var(--btn-borda);
  background: var(--btn-bg); color: var(--btn-fg); font: 600 .98rem/1.1 var(--sans); text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--sombra); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-agua { --btn-bg: var(--agua); }
.btn-agua:hover { --btn-bg: var(--agua-escura); }
:root[data-theme="dark"] .btn-agua:hover { --btn-bg: #1683c4; }
.btn-whats { --btn-bg: #1f9d55; }
.btn-whats:hover { --btn-bg: #188046; }
.btn-claro { --btn-bg: var(--papel); --btn-fg: var(--tinta); --btn-borda: var(--linha-forte); }
.btn-claro:hover { --btn-borda: var(--tinta-2); }
.btn-vidro { --btn-bg: rgb(255 255 255 / .12); --btn-fg: #fff; --btn-borda: rgb(255 255 255 / .35); backdrop-filter: blur(6px); }
.btn-vidro:hover { --btn-bg: rgb(255 255 255 / .2); }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .9rem; }
.link-seta { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--link); }
.link-seta svg { width: 1em; height: 1em; transition: transform .2s; }
.link-seta:hover svg { transform: translateX(3px); }

/* ---------- cabeçalho ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--papel) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--linha);
}
.topo .container { width: min(100% - 2 * var(--gutter), 1320px); display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.marca { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--tinta); flex: none; }
.marca img { height: 52px; width: auto; }
.marca-texto { display: flex; flex-direction: column; line-height: 1.1; }
.marca-texto strong { font: 600 1.08rem/1.1 var(--serif); }
.marca-texto span { font-size: .75rem; color: var(--suave); letter-spacing: .02em; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .55rem .8rem; white-space: nowrap; border-radius: 999px; color: var(--tinta-2);
  font-weight: 500; font-size: .95rem; text-decoration: none; transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--bg-2); color: var(--tinta); }
.nav a[aria-current="page"] { color: var(--mata); background: var(--folha-clara); font-weight: 600; }
:root[data-theme="dark"] .nav a[aria-current="page"] { color: var(--tinta); }
.topo-acoes { display: flex; align-items: center; gap: .5rem; }
.icone-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--linha); background: var(--papel); color: var(--tinta-2); cursor: pointer; text-decoration: none;
}
.icone-btn:hover { color: var(--tinta); border-color: var(--linha-forte); }
.icone-btn svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }
.tema-escuro-icone { display: none; }
:root[data-theme="dark"] .tema-claro-icone { display: none; }
:root[data-theme="dark"] .tema-escuro-icone { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tema-claro-icone { display: none; }
  :root:not([data-theme="light"]) .tema-escuro-icone { display: block; }
  :root:not([data-theme="light"]) .nav a[aria-current="page"] { color: var(--tinta); }
}

@media (max-width: 1380px) {
  .topo-cta { display: none; }
}
@media (max-width: 1080px) {
  .menu-toggle { display: inline-grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; background: var(--papel);
    border-bottom: 1px solid var(--linha); box-shadow: var(--sombra-forte);
    padding: .75rem var(--gutter) 1.25rem; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.aberto { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: .15rem; }
  .nav a { padding: .85rem 1rem; font-size: 1.05rem; border-radius: var(--r-sm); }
  .topo-acoes { margin-left: auto; }
  .marca-texto span { display: none; }
}
@media (max-width: 420px) {
  .marca img { height: 44px; }
  .marca-texto { display: none; }
}

/* ---------- hero da página inicial ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--agua) 14%, transparent), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.8rem); margin-bottom: 1.25rem; line-height: 1.02; }
.hero h1 .h1-sub { display: block; margin-top: .9rem; font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); font-weight: 450; line-height: 1.3; color: var(--tinta-2); letter-spacing: -.005em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--agua); }
.hero .lead { max-width: 34em; margin-bottom: 2rem; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.fatos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; max-width: 34em; padding: 0; margin: 0; list-style: none; }
.fatos li { display: flex; gap: .8rem; align-items: flex-start; }
.fatos .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--folha-clara); color: var(--folha); }
.fatos .ic svg { width: 20px; height: 20px; }
.fatos strong { display: block; font-size: .95rem; color: var(--tinta); line-height: 1.3; }
.fatos span { display: block; font-size: .85rem; color: var(--suave); line-height: 1.35; }

.hero-fotos { position: relative; justify-self: center; width: min(100%, 480px); }
.hero-foto-principal {
  border-radius: 240px 240px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--sombra-forte); background: var(--bg-2);
}
.hero-foto-principal img { width: 100%; height: 100%; object-fit: cover; }
.hero-foto-sec {
  position: absolute; left: -16%; bottom: 8%; width: 46%; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  border: 6px solid var(--bg); box-shadow: var(--sombra-forte);
}
.hero-foto-sec img { width: 100%; height: 100%; object-fit: cover; }
.hero-selo {
  position: absolute; right: -6%; top: 10%; background: var(--papel); border-radius: var(--r); padding: .85rem 1rem;
  box-shadow: var(--sombra-forte); display: flex; gap: .7rem; align-items: center; max-width: 220px; border: 1px solid var(--linha);
}
.hero-selo img { width: 46px; height: 46px; border-radius: 50%; }
.hero-selo strong { display: block; font: 600 .95rem/1.2 var(--serif); }
.hero-selo span { display: block; font-size: .78rem; line-height: 1.35; color: var(--suave); margin-top: .15rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fotos { order: -1; width: min(100%, 420px); }
  .hero-foto-sec { left: -4%; width: 40%; }
  .hero-selo { right: -2%; }
}
@media (max-width: 520px) {
  .fatos { grid-template-columns: 1fr; }
  .hero-foto-principal { aspect-ratio: 4 / 4.4; border-radius: 180px 180px var(--r-lg) var(--r-lg); }
  .hero-selo { top: auto; bottom: -18px; right: 8px; }
  .hero-foto-sec { display: none; }
  .hero-acoes .btn { flex: 1 1 100%; }
}

/* ---------- seções ---------- */
.secao { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.secao-alt { background: var(--papel); border-block: 1px solid var(--linha); }
.secao-escura { background: var(--mata); color: #e8efe9; }
.secao-escura h2, .secao-escura h3 { color: #fff; }
.secao-escura .eyebrow { color: #8fd6a6; }
.secao-escura .lead { color: #c8d6cd; }
.secao-topo { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); flex-wrap: wrap; }
.secao-topo > div { max-width: 640px; }
.secao-topo h2 { margin-bottom: .35em; }
.secao-topo p { margin: 0; color: var(--suave); }
.secao-escura .secao-topo p { color: #c8d6cd; }

/* planeje: cartões de atalho */
.atalhos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.atalho {
  position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border-radius: var(--r-lg);
  background: var(--papel); border: 1px solid var(--linha); text-decoration: none; color: var(--tinta);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.atalho:hover { transform: translateY(-3px); box-shadow: var(--sombra); border-color: var(--linha-forte); }
.atalho .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: .5rem; }
.atalho .ic svg { width: 24px; height: 24px; }
.atalho:nth-child(1) .ic { background: var(--agua-clara); color: var(--agua); }
.atalho:nth-child(2) .ic { background: var(--folha-clara); color: var(--folha); }
.atalho:nth-child(3) .ic { background: color-mix(in srgb, var(--sol) 18%, transparent); color: #b37712; }
.atalho:nth-child(4) .ic { background: var(--folha-clara); color: var(--mata-2); }
:root[data-theme="dark"] .atalho:nth-child(4) .ic { color: var(--folha); }
.atalho h3 { font-size: 1.2rem; margin: 0; }
.atalho p { margin: 0; color: var(--suave); font-size: .95rem; }
.atalho .link-seta { margin-top: auto; padding-top: .5rem; font-size: .92rem; }
@media (max-width: 960px) { .atalhos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .atalhos { grid-template-columns: 1fr; } }

/* ---------- cartões de post ---------- */
.grid-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
@media (max-width: 960px) { .grid-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-posts { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--papel); border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--linha); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra-forte); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-corpo { display: flex; flex-direction: column; gap: .6rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.card h2, .card h3 { font-size: 1.2rem; margin: 0; line-height: 1.25; }
.card h2 a, .card h3 a { color: inherit; text-decoration: none; }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card p { margin: 0; color: var(--suave); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: auto; padding-top: .4rem; display: flex; gap: .4rem .9rem; flex-wrap: wrap; font-size: .82rem; color: var(--suave); }
.card-meta span { display: inline-flex; align-items: center; gap: .35em; }
.card-meta svg { width: 14px; height: 14px; }
.tag {
  display: inline-flex; align-self: flex-start; align-items: center; gap: .4em; padding: .3em .7em; border-radius: 999px;
  font: 600 .72rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  background: var(--folha-clara); color: var(--mata-2); position: relative; z-index: 2;
}
.tag-eventos-religiosos { background: var(--agua-clara); color: var(--agua-escura); }
:root[data-theme="dark"] .tag { color: var(--folha); }
:root[data-theme="dark"] .tag-eventos-religiosos { color: var(--agua); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tag { color: var(--folha); }
  :root:not([data-theme="light"]) .tag-eventos-religiosos { color: var(--agua); }
}

/* destaque grande */
.destaques { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.destaques .card-grande { grid-row: span 2; }
.card-grande .card-img { aspect-ratio: auto; flex: 1; min-height: 320px; }
.card-grande h2, .card-grande h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.card-horizontal { flex-direction: row; }
.card-horizontal .card-img { aspect-ratio: auto; width: 42%; flex: none; }
.card-horizontal .card-corpo { padding: 1.25rem; }
@media (max-width: 860px) {
  .destaques { grid-template-columns: 1fr; }
  .destaques .card-grande { grid-row: auto; }
  .card-grande .card-img { aspect-ratio: 16 / 10; min-height: 0; flex: none; }
}
@media (max-width: 520px) {
  .card-horizontal { flex-direction: column; }
  .card-horizontal .card-img { width: 100%; aspect-ratio: 16 / 10; }
}

/* ---------- duas experiências ---------- */
.experiencias { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.experiencia {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end;
  color: #fff; isolation: isolate; text-decoration: none;
}
.experiencia img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.experiencia::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(8 25 18 / 0) 15%, rgb(8 25 18 / .55) 45%, rgb(8 25 18 / .92) 100%); }
.experiencia:hover img { transform: scale(1.04); }
.experiencia-corpo { padding: clamp(1.5rem, 3vw, 2.25rem); max-width: 520px; }
.experiencia h3 { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.experiencia p { color: #dfe8e2; margin-bottom: 1.25rem; }
.experiencia .eyebrow { color: #a9e3bd; }
@media (max-width: 820px) { .experiencias { grid-template-columns: 1fr; } .experiencia { min-height: 380px; } }

/* ---------- mapa / passos ---------- */
.rota { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.rota-mapa { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sombra-forte); background: #fff; display: block; position: relative; }
.rota-mapa img { width: 100%; }
.rota-mapa .zoom-dica {
  position: absolute; right: 12px; bottom: 12px; background: rgb(10 30 22 / .78); color: #fff; font-size: .8rem; font-weight: 600;
  padding: .45em .8em; border-radius: 999px; display: inline-flex; gap: .4em; align-items: center;
}
.rota-mapa .zoom-dica svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .rota { grid-template-columns: 1fr; } }

.passos { list-style: none; margin: 0 0 2rem; padding: 0; counter-reset: passo; }
.passos li { position: relative; padding: 0 0 1.4rem 3.4rem; counter-increment: passo; }
.passos li::before {
  content: counter(passo); position: absolute; left: 0; top: -.15rem; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--agua); color: #fff; font: 700 1rem/1 var(--sans);
  box-shadow: 0 0 0 5px var(--agua-clara);
}
.passos li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.15rem - 1px); top: 2.4rem; bottom: .2rem; width: 2px; background: var(--linha-forte); }
.passos strong { display: block; color: var(--tinta); font-size: 1.02rem; }
.passos span { color: var(--suave); font-size: .96rem; }
.secao-escura .passos strong { color: #fff; }
.secao-escura .passos span { color: #c8d6cd; }
.secao-escura .passos li::before { box-shadow: 0 0 0 5px rgb(255 255 255 / .1); }
.secao-escura .passos li::after { background: rgb(255 255 255 / .2); }
.passos-grande li { padding-bottom: 2rem; padding-left: 4rem; }
.passos-grande li::before { width: 2.75rem; height: 2.75rem; font-size: 1.1rem; }
.passos-grande li:not(:last-child)::after { left: calc(1.375rem - 1px); top: 2.9rem; }
.passos-grande strong { font: 600 1.25rem/1.3 var(--serif); margin-bottom: .25rem; }
.passos-grande span { font-size: 1rem; }

/* ---------- galeria ---------- */
.faixa-galeria { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.faixa-galeria a { aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; display: block; background: var(--bg-2); }
.faixa-galeria a:nth-child(even) { transform: translateY(1.5rem); }
.faixa-galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.faixa-galeria a:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .faixa-galeria { grid-template-columns: repeat(3, 1fr); } .faixa-galeria a:nth-child(even) { transform: none; } }

.filtros { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filtro {
  min-height: 42px; padding: .5em 1.1em; border-radius: 999px; border: 1px solid var(--linha-forte); background: var(--papel);
  color: var(--tinta-2); font: 500 .95rem/1 var(--sans); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: .4em;
}
.filtro:hover { border-color: var(--tinta-2); color: var(--tinta); }
.filtro[aria-pressed="true"], .filtro[aria-current="page"] { background: var(--primario); border-color: var(--primario); color: #fff; }
.filtro small { opacity: .7; font-size: .82em; }
.galeria { columns: 3 280px; column-gap: 1rem; }
.galeria figure { break-inside: avoid; margin: 0 0 1rem; border-radius: var(--r); overflow: hidden; background: var(--papel); border: 1px solid var(--linha); }
.galeria figure[hidden] { display: none; }
.galeria a { display: block; overflow: hidden; }
.galeria img { width: 100%; transition: transform .5s; }
.galeria a:hover img { transform: scale(1.03); }
.galeria figcaption { padding: .7rem .9rem; font-size: .88rem; color: var(--suave); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--linha-forte); box-shadow: var(--sombra); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.3rem; position: relative;
  font: 600 1.06rem/1.4 var(--sans); color: var(--tinta);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6d66' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .resposta { padding: 0 1.3rem 1.2rem; color: var(--tinta-2); }
.faq .resposta p:last-child { margin-bottom: 0; }
.faq-grupo + .faq-grupo { margin-top: 3rem; }
.faq-grupo h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.faq-duas { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .faq-duas { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, var(--mata) 0%, var(--mata-2) 55%, #1b6a6e 100%); color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; isolation: isolate;
}
.cta::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgb(77 179 236 / .35), transparent);
}
.cta h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.cta p { color: #cfe0d6; margin: 0; max-width: 40em; }
.cta-acoes { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } .cta-acoes .btn { flex: 1 1 auto; } }

/* ---------- cabeçalho de páginas internas ---------- */
.pagina-topo { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.pagina-topo h1 { margin-bottom: .4em; }
.pagina-topo .lead { max-width: 44em; margin: 0; }
.pagina-topo-escuro { background: var(--mata); color: #e8efe9; padding-bottom: clamp(3rem, 7vw, 5rem); }
.pagina-topo-escuro h1 { color: #fff; }
.pagina-topo-escuro .lead { color: #c8d6cd; }
.pagina-topo-escuro .eyebrow { color: #8fd6a6; }
.pagina-topo-escuro .migalhas, .pagina-topo-escuro .migalhas a { color: #a9bdb1; }
.pagina-topo-escuro .migalhas [aria-current] { color: #e8efe9; }

.migalhas { font-size: .85rem; color: var(--suave); margin-bottom: 1.25rem; }
.migalhas ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.migalhas li { display: inline-flex; align-items: center; gap: .35rem; min-width: 0; }
.migalhas li + li::before { content: "/"; opacity: .5; }
.migalhas a { color: var(--suave); text-decoration: none; }
.migalhas a:hover { color: var(--tinta); text-decoration: underline; }
.migalhas [aria-current] { color: var(--tinta-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 36ch; }

/* ---------- blog: busca e listagem ---------- */
.barra-blog { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.barra-blog .filtros { margin: 0; }
.busca { position: relative; flex: 1 1 280px; max-width: 380px; }
.busca svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--suave); pointer-events: none; }
.busca input {
  width: 100%; min-height: 48px; padding: .6rem 1rem .6rem 2.75rem; border-radius: 999px; border: 1px solid var(--linha-forte);
  background: var(--papel); color: var(--tinta); font: inherit; font-size: 1rem;
}
.busca input:focus { outline: none; border-color: var(--agua); box-shadow: 0 0 0 4px color-mix(in srgb, var(--agua) 20%, transparent); }
.resultado-info { color: var(--suave); margin: -1rem 0 1.5rem; font-size: .95rem; min-height: 1.5em; }
.vazio { text-align: center; padding: 3rem 1rem; color: var(--suave); background: var(--papel); border: 1px dashed var(--linha-forte); border-radius: var(--r-lg); }

.paginacao { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; flex-wrap: wrap; }
.paginacao a, .paginacao span {
  min-width: 44px; height: 44px; padding: 0 .9rem; display: inline-grid; place-items: center; border-radius: 999px;
  border: 1px solid var(--linha-forte); color: var(--tinta-2); text-decoration: none; font-weight: 600; background: var(--papel);
}
.paginacao a:hover { border-color: var(--tinta-2); }
.paginacao [aria-current] { background: var(--primario); border-color: var(--primario); color: #fff; }

/* ---------- artigo ---------- */
.artigo-topo { padding: clamp(1.75rem, 4vw, 3rem) 0 2rem; }
.artigo-topo-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.artigo-topo h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); margin: .75rem 0 1rem; }
.artigo-topo .lead { margin-bottom: 1.5rem; }
.artigo-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--suave); font-size: .92rem; align-items: center; }
.artigo-meta span { display: inline-flex; align-items: center; gap: .4em; }
.artigo-meta svg { width: 16px; height: 16px; }
.artigo-capa {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--mata);
  box-shadow: var(--sombra-forte); isolation: isolate;
}
.artigo-capa .fundo { position: absolute; inset: -30px; width: calc(100% + 60px); max-width: none; height: calc(100% + 60px); object-fit: cover; filter: blur(24px) saturate(1.1); opacity: .65; z-index: -1; }
.artigo-capa a { display: block; height: 100%; }
.artigo-capa .frente { width: 100%; height: 100%; object-fit: contain; }
.artigo-capa.paisagem .frente { object-fit: cover; }
@media (max-width: 860px) {
  .artigo-topo-grid { grid-template-columns: 1fr; }
  .artigo-capa { aspect-ratio: 16 / 11; }
}

.artigo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-bottom: 4rem; }
@media (max-width: 1020px) { .artigo-layout { grid-template-columns: minmax(0, 1fr); } .lateral { order: -1; } }
.lateral { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
@media (max-width: 1020px) { .lateral { position: static; } .lateral .box-cta { display: none; } }
.box { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--r); padding: 1.25rem; }
.box h2 { font: 700 .78rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--suave); margin: 0 0 .85rem; }
.indice ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; counter-reset: ind; }
.indice a {
  display: block; padding: .4rem .6rem .4rem .75rem; border-left: 2px solid var(--linha); color: var(--tinta-2);
  text-decoration: none; font-size: .92rem; line-height: 1.4;
}
.indice a:hover { color: var(--tinta); border-color: var(--linha-forte); }
.indice a.ativo { color: var(--agua-escura); border-color: var(--agua); font-weight: 600; }
:root[data-theme="dark"] .indice a.ativo { color: var(--agua); }
details.indice-mobile { display: none; }
@media (max-width: 1020px) {
  .indice-desktop { display: none; }
  details.indice-mobile { display: block; margin-bottom: 2rem; }
  details.indice-mobile summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
  details.indice-mobile summary::-webkit-details-marker { display: none; }
  details.indice-mobile summary::after { content: "+"; font-size: 1.3rem; color: var(--suave); }
  details.indice-mobile[open] summary::after { content: "–"; }
  details.indice-mobile ol { margin-top: .75rem; }
}
.box-cta { background: var(--mata); border-color: var(--mata); color: #dfe9e2; }
.box-cta h2 { color: #9fd9b3; }
.box-cta p { font-size: .95rem; margin-bottom: 1rem; }
.box-cta .btn { width: 100%; }
.box-cta .btn + .btn { margin-top: .5rem; }

.prosa { font-size: 1.1rem; line-height: 1.75; color: var(--tinta-2); max-width: var(--texto); }
.prosa > *:first-child { margin-top: 0; }
.prosa h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.95rem); margin: 2.4em 0 .6em; color: var(--tinta); }
.prosa h3 { font-size: 1.3rem; margin: 1.9em 0 .5em; color: var(--tinta); }
.prosa p, .prosa ul, .prosa ol { margin: 0 0 1.15em; }
.prosa li { margin-bottom: .45em; }
.prosa li::marker { color: var(--folha); }
.prosa ol > li::marker { font-weight: 700; color: var(--agua); }
.prosa strong { color: var(--tinta); font-weight: 650; }
.prosa > p:first-of-type { font-size: 1.2rem; color: var(--tinta); }
.prosa a { font-weight: 500; }
.prosa blockquote { margin: 2em 0; padding: .25em 0 .25em 1.4em; border-left: 3px solid var(--folha); font: italic 400 1.25rem/1.55 var(--serif); color: var(--tinta); }
.prosa hr { margin: 3rem auto; width: 80px; border-top-width: 2px; border-color: var(--linha-forte); }
.prosa .table-wrap { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--linha); border-radius: var(--r); }
.prosa table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.prosa th, .prosa td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--linha); vertical-align: top; }
.prosa th { background: var(--bg-2); color: var(--tinta); font-weight: 600; }
.prosa tr:last-child td { border-bottom: 0; }
.prosa code { font-size: .88em; background: var(--bg-2); padding: .1em .35em; border-radius: 4px; }
.post-figure { margin: 2.2em 0; }
.post-figure a { display: block; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--bg-2); }
.post-figure img { width: 100%; }
.post-figure figcaption { font-size: .88rem; color: var(--suave); margin-top: .6rem; text-align: center; }
.post-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .6rem; margin: 2em 0; }
.post-gallery .post-figure { margin: 0; }
.post-gallery .post-figure a { aspect-ratio: 1; }
.post-gallery img { height: 100%; object-fit: cover; }

.compartilhar { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--linha); }
.compartilhar > span { font-weight: 600; color: var(--tinta-2); margin-right: .25rem; font-size: .95rem; }
.compartilhar .icone-btn svg { width: 18px; height: 18px; }
.copiado { font-size: .85rem; color: var(--folha); font-weight: 600; }

.autor { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; padding: 1.25rem; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--r); max-width: var(--texto); }
.autor img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.autor strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.autor p { margin: .2rem 0 0; font-size: .92rem; color: var(--suave); }

.nav-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; max-width: var(--texto); }
.nav-posts a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--linha); border-radius: var(--r); text-decoration: none; background: var(--papel); color: var(--tinta); transition: border-color .2s; }
.nav-posts a:hover { border-color: var(--linha-forte); }
.nav-posts small { display: block; color: var(--suave); font-size: .8rem; margin-bottom: .25rem; }
.nav-posts strong { font-family: var(--serif); font-weight: 600; line-height: 1.3; display: block; }
.nav-posts .proximo { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .nav-posts { grid-template-columns: 1fr; } .nav-posts .proximo { grid-column: 1; } }

.barra-progresso { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--agua); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }

/* páginas simples (institucionais) */
.pagina-corpo { padding-bottom: 5rem; }
.atualizado svg { width: 16px; height: 16px; flex: none; }
.atualizado { display: inline-flex; gap: .4em; align-items: center; font-size: .9rem; color: var(--suave); background: var(--papel); border: 1px solid var(--linha); padding: .35em .8em; border-radius: 999px; margin-top: 1rem; }

/* ---------- como chegar ---------- */
.resumo-rota { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: -2.5rem; position: relative; }
.resumo-rota .box { box-shadow: var(--sombra); display: flex; gap: .9rem; align-items: center; }
.resumo-rota .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--agua-clara); color: var(--agua); display: grid; place-items: center; }
.resumo-rota .ic svg { width: 22px; height: 22px; }
.resumo-rota small { display: block; color: var(--suave); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.resumo-rota strong { font-size: 1.02rem; line-height: 1.3; display: block; }
@media (max-width: 820px) { .resumo-rota { grid-template-columns: 1fr; } }
.botoes-nav { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.dicas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 860px) { .dicas-grid { grid-template-columns: 1fr; } }
.dica { padding: 1.4rem; border-radius: var(--r-lg); background: var(--papel); border: 1px solid var(--linha); }
.dica .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--folha-clara); color: var(--folha); margin-bottom: .9rem; }
.dica .ic svg { width: 22px; height: 22px; }
.dica h3 { font-size: 1.15rem; margin-bottom: .35em; }
.dica p { margin: 0; color: var(--suave); font-size: .96rem; }
.dica-alerta .ic { background: color-mix(in srgb, var(--sol) 20%, transparent); color: #b37712; }

/* ---------- guia do visitante ---------- */
.essenciais { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 960px) { .essenciais { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .essenciais { grid-template-columns: 1fr; } }
.essencial { padding: 1.4rem; border-radius: var(--r-lg); background: var(--papel); border: 1px solid var(--linha); }
.essencial small { display: block; font: 600 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--folha); margin-bottom: .6rem; }
.essencial strong { display: block; font: 600 1.4rem/1.2 var(--serif); margin-bottom: .35rem; color: var(--tinta); }
.essencial p { margin: 0; color: var(--suave); font-size: .94rem; }

.checklist-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .checklist-grid { grid-template-columns: 1fr; } }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 520px) { .checklist { grid-template-columns: 1fr; } }
.checklist label {
  display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border-radius: var(--r); background: var(--papel);
  border: 1px solid var(--linha); cursor: pointer; transition: border-color .2s, background-color .2s; font-weight: 500; color: var(--tinta-2);
}
.checklist label:hover { border-color: var(--linha-forte); }
.checklist input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--linha-forte); flex: none; display: grid; place-items: center; margin: 0; background: var(--papel); cursor: pointer; }
.checklist input::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.checklist input:checked { background: var(--folha); border-color: var(--folha); }
.checklist input:checked::after { opacity: 1; }
.checklist input:checked + span { text-decoration: line-through; color: var(--suave); }
.checklist-barra { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; font-size: .92rem; color: var(--suave); }
.progresso { height: 8px; background: var(--bg-2); border-radius: 99px; overflow: hidden; margin-top: 1rem; }
.progresso span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--folha), var(--agua)); border-radius: 99px; transition: width .3s; }
.botao-texto { background: none; border: 0; color: var(--link); font: inherit; font-size: .92rem; cursor: pointer; padding: .5rem 0; text-decoration: underline; text-underline-offset: .18em; }

.regras { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 760px) { .regras { grid-template-columns: 1fr; } }
.regras .box h3 { display: flex; gap: .5rem; align-items: center; font-size: 1.2rem; }
.regras ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.regras li { display: flex; gap: .6rem; align-items: flex-start; color: var(--tinta-2); }
.regras li svg { flex: none; width: 20px; height: 20px; margin-top: .2rem; }
.regras .sim svg { color: var(--folha); }
.regras .nao svg { color: #c2493d; }

/* ---------- contato ---------- */
.contato-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-bottom: 5rem; }
@media (max-width: 900px) { .contato-grid { grid-template-columns: 1fr; } }
.canais { display: grid; gap: 1rem; }
.canal { display: flex; gap: 1rem; align-items: center; padding: 1.25rem; border-radius: var(--r-lg); background: var(--papel); border: 1px solid var(--linha); text-decoration: none; color: var(--tinta); transition: border-color .2s, transform .2s; }
.canal:hover { border-color: var(--linha-forte); transform: translateY(-2px); }
.canal .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.canal .ic svg { width: 26px; height: 26px; }
.canal-whats .ic { background: #e3f6ea; color: #1f9d55; }
.canal-email .ic { background: var(--agua-clara); color: var(--agua); }
.canal-horario .ic { background: var(--folha-clara); color: var(--folha); }
:root[data-theme="dark"] .canal-whats .ic { background: #173326; }
.canal small { display: block; color: var(--suave); font-size: .85rem; }
.canal strong { font-size: 1.08rem; word-break: break-word; }
.form { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--sombra); }
.form h2 { font-size: 1.5rem; }
.campo { display: grid; gap: .4rem; margin-bottom: 1rem; }
.campo label { font-weight: 600; font-size: .92rem; color: var(--tinta-2); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: var(--r-sm); border: 1px solid var(--linha-forte);
  background: var(--bg); color: var(--tinta); font: inherit; font-size: 1rem;
}
.campo textarea { min-height: 140px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--agua); box-shadow: 0 0 0 4px color-mix(in srgb, var(--agua) 20%, transparent); }
.campos-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .campos-2 { grid-template-columns: 1fr; } }
.form-acoes { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }
.form-nota { font-size: .85rem; color: var(--suave); margin: 1rem 0 0; }

/* quem somos */
.sobre-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-bottom: 4rem; }
@media (max-width: 860px) { .sobre-grid { grid-template-columns: 1fr; } }
.sobre-logo { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--sombra); }
.valores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 760px) { .valores { grid-template-columns: 1fr; } }

/* ---------- rodapé ---------- */
.rodape { background: var(--mata); color: #c4d3ca; padding: clamp(3rem, 7vw, 5rem) 0 0; margin-top: auto; }
:root[data-theme="dark"] .rodape { background: #0a1712; }
.rodape a { color: #e7efe9; text-decoration: none; }
.rodape a:hover { text-decoration: underline; }
.rodape-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 3rem; }
.rodape h2 { font: 700 .78rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8fd6a6; margin-bottom: 1rem; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.rodape-marca img { height: 72px; width: auto; margin-bottom: 1rem; }
.rodape-marca p { max-width: 30em; font-size: .95rem; }
.rodape-contato li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.rodape-contato svg { width: 18px; height: 18px; flex: none; margin-top: .2rem; color: #8fd6a6; }
.rodape-base { border-top: 1px solid rgb(255 255 255 / .12); padding: 1.25rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .87rem; }
.rodape-base nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.rodape-base button { background: none; border: 0; padding: 0; color: #e7efe9; font: inherit; cursor: pointer; }
.rodape-base button:hover { text-decoration: underline; }
@media (max-width: 900px) { .rodape-grid { grid-template-columns: 1fr 1fr; } .rodape-marca { grid-column: 1 / -1; } }
@media (max-width: 480px) { .rodape-grid { grid-template-columns: 1fr; } }

/* WhatsApp flutuante */
.whats-flutuante {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgb(31 157 85 / .6);
  transition: transform .2s;
}
.whats-flutuante:hover { transform: scale(1.06); }
.whats-flutuante svg { width: 30px; height: 30px; }
body.cookies-abertos .whats-flutuante { bottom: 120px; }
@media (max-width: 600px) { body.cookies-abertos .whats-flutuante { display: none; } }

/* ---------- aviso de cookies ---------- */
.cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; margin-left: auto;
  background: var(--papel); color: var(--tinta); border: 1px solid var(--linha-forte); border-radius: var(--r-lg);
  box-shadow: var(--sombra-forte); padding: 1.25rem 1.35rem;
}
.cookies[hidden] { display: none; }
.cookies p { margin: 0 0 1rem; font-size: .93rem; color: var(--tinta-2); }
.cookies strong { display: block; font-family: var(--serif); font-size: 1.1rem; margin-bottom: .3rem; color: var(--tinta); }
.cookies-acoes { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookies-acoes .btn { flex: 1 1 auto; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgb(6 14 10 / .94); display: grid; grid-template-rows: 1fr auto; padding: 56px 16px 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; place-items: center; min-height: 0; }
.lightbox img { max-width: min(100%, 1400px); max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: #d7e2db; text-align: center; padding: .9rem 3rem 0; font-size: .95rem; }
.lightbox button { position: absolute; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgb(255 255 255 / .2); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-fechar { top: 12px; right: 12px; }
.lb-ant { left: 12px; top: 50%; margin-top: -24px; }
.lb-prox { right: 12px; top: 50%; margin-top: -24px; }
.lb-contador { position: absolute; top: 22px; left: 20px; color: #a9bdb1; font-size: .9rem; }
body.travado { overflow: hidden; }

/* 404 */
.erro { text-align: center; padding: clamp(3rem, 10vw, 7rem) 0 4rem; }
.erro .numero { font: 600 clamp(5rem, 3rem + 10vw, 9rem)/1 var(--serif); color: var(--agua); opacity: .9; margin-bottom: .5rem; }
.erro .busca { margin: 2rem auto; max-width: 440px; }
.erro .hero-acoes { justify-content: center; }

/* impressão */
@media print {
  .topo, .rodape, .lateral, .compartilhar, .cookies, .whats-flutuante, .nav-posts, .barra-progresso, .cta { display: none !important; }
  body { background: #fff; color: #000; }
  .artigo-layout { display: block; }
  .prosa { max-width: none; }
}

/* barra do administrador no site público */
.barra-admin { position: fixed; left: 16px; bottom: 16px; z-index: 65; display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; background: #1c2448; color: #fff; padding: .35rem; border-radius: 999px; box-shadow: var(--sombra-forte); font-size: .88rem; }
.barra-admin a { color: #fff; text-decoration: none; padding: .45rem .8rem; border-radius: 999px; display: inline-flex; gap: .4rem; align-items: center; }
.barra-admin a:hover { background: rgb(255 255 255 / .14); }
.barra-admin svg { width: 16px; height: 16px; }
.barra-admin-alerta { display: inline-flex; gap: .4rem; align-items: center; background: #c9850f; padding: .45rem .8rem; border-radius: 999px; font-weight: 600; }
