/* =========================================================
   Homens Batistas de Barbalha — premium responsive theme
   Paleta: marinho profundo + dourado champanhe + cream
   ========================================================= */

:root {
  --navy-950: #050f24;
  --navy-900: #0b1e3a;
  --navy-800: #13315c;
  --navy-700: #1a3d70;
  --navy-100: #e7ecf3;
  --gold-500: #c9a961;
  --gold-400: #d6ba79;
  --gold-300: #e3cea0;
  --cream-50: #faf7f0;
  --cream-100: #f3ede0;
  --ink-900: #111827;
  --ink-700: #3d3d3d;
  --ink-500: #6b6b6b;
  --ink-300: #c9c9c9;
  --bg: #fbfaf6;
  --line: #e8e2d2;
  --danger: #b3261e;
  --ok: #1f7a3a;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 1px 2px rgba(11,30,58,.06), 0 12px 28px rgba(11,30,58,.08);
  --shadow-deep: 0 4px 14px rgba(11,30,58,.18), 0 24px 60px rgba(11,30,58,.22);

  --serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --gap: clamp(1.5rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-800); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--gold-500);
  margin: 0 0 0.9em;
}
.eyebrow.dark { color: var(--navy-800); }
.eyebrow.light { color: var(--gold-400); }
.lead-muted { color: var(--ink-500); font-size: 1.05rem; max-width: 60ch; }
.prose { color: var(--ink-700); }
.prose p { font-size: 1.02rem; line-height: 1.75; }
.accent { color: var(--gold-500); font-style: italic; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
}
.brand-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy-900);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-text span {
  font-size: 0.78rem;
  font-family: var(--sans);
  color: var(--gold-500);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.primary-nav a {
  padding: 0.55rem 0.95rem;
  font-size: 0.95rem;
  color: var(--ink-700);
  font-weight: 500;
  border-radius: 999px;
}
.primary-nav a:hover { color: var(--navy-900); background: var(--cream-100); }
.primary-nav .nav-cta {
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
}
.primary-nav .nav-cta:hover { background: var(--navy-800); color: #fff; }
.primary-nav .nav-admin {
  border: 1px solid var(--navy-100);
  color: var(--navy-800);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy-900);
  transition: transform .25s, opacity .25s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #f6efe2;
  background: linear-gradient(135deg, #050f24 0%, #0b1e3a 55%, #13315c 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(201,169,97,0.18), transparent 55%),
    radial-gradient(circle at 0% 80%, rgba(201,169,97,0.10), transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><g fill='none' stroke='%23c9a961' stroke-opacity='0.05' stroke-width='1'><circle cx='100' cy='100' r='80'/><circle cx='100' cy='100' r='60'/><circle cx='100' cy='100' r='40'/></g></svg>");
  background-size: cover, cover, 240px 240px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(4rem, 9vw, 6rem);
  max-width: 980px;
}
.hero .eyebrow { color: var(--gold-400); }
.hero-title { color: #fff; margin-bottom: 1.2rem; }
.hero-title .accent { color: var(--gold-400); display: block; font-size: .9em; }
.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #e8d9b4;
  max-width: 60ch;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-actions .btn { min-height: 48px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  border-top: 1px solid rgba(201,169,97,0.25);
  padding-top: 1.5rem;
  max-width: 620px;
}
.hero-stats > div {
  display: flex; flex-direction: column;
}
.hero-stats strong {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold-400);
  line-height: 1;
}
.hero-stats span {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: #cdd5e2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  font: 600 0.96rem var(--sans);
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
}
@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn,
  .cta-actions .btn,
  .form-actions .btn { width: 100%; flex: none; }
}
.btn-block { width: 100%; }
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, #d4b774, #b08e3f);
  color: #1a1208;
  box-shadow: 0 6px 16px rgba(176, 142, 63, 0.35);
}
.btn-gold:hover { color: #1a1208; box-shadow: 0 10px 20px rgba(176,142,63,.45); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-ghost-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-100);
}
.btn-ghost-dark:hover { background: var(--cream-100); color: var(--navy-900); }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--gold-400);
}
.btn-outline:hover { background: var(--gold-400); color: #1a1208; }
.btn-whats {
  background: #25D366;
  color: #062c12;
  padding: 1rem 1.6rem;
  font-size: 1.05rem;
  box-shadow: 0 6px 16px rgba(37,211,102,.35);
}
.btn-whats:hover { background: #1ebf5b; color: #062c12; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-light { background: #fff; }
.section-cream { background: var(--cream-50); }
.section-dark {
  background: var(--navy-950);
  background-image: radial-gradient(circle at 90% 0%, rgba(201,169,97,0.08), transparent 50%);
  color: #ebe2cb;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #c8cfdc; }
.section-dark .lead-muted { color: #c8cfdc; }

.section-head {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 720px;
}
.section-head h2 { margin-bottom: 0.6rem; }
.section-cta { display: flex; justify-content: center; margin-top: 2.5rem; }

.two-col {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr 1.4fr;
  align-items: start;
}
.two-col.reverse { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 840px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
}

/* ---------- Avisos ---------- */
.avisos-section { background: var(--cream-50); }
.avisos-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.8rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 920px;
  margin: 0 auto;
}
.aviso-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.aviso-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s;
}
.aviso-overlay {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(11,30,58,0.85);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}
.aviso-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.aviso-card:hover img { transform: scale(1.04); }

/* ---------- Feature cards ---------- */
.cards-2 {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,97,0.18);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .25s, border-color .25s, background .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,169,97,0.5);
  background: rgba(201,169,97,0.06);
}
.feature-card h3 { color: #fff; margin-bottom: 0.4rem; }
.feature-card p { color: #c8cfdc; font-size: 0.95rem; margin: 0; }
.icon-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(201,169,97,0.12);
  color: var(--gold-400);
  margin-bottom: 1rem;
  border: 1px solid rgba(201,169,97,0.25);
}

/* ---------- ER section ---------- */
.er-logo-wrap {
  display: flex; justify-content: center;
  padding: 1rem;
}
.er-logo-wrap img {
  max-width: 360px;
  width: 100%;
  filter: drop-shadow(0 12px 26px rgba(11,30,58,0.18));
}
.postos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.postos span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
  color: var(--ink-700);
}
.postos b { color: var(--navy-900); }

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: tl;
}
.timeline li {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,169,97,0.18);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
}
.timeline .year {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--gold-400);
  margin-bottom: 0.4rem;
}
.timeline h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.35rem; }
.timeline p { color: #c8cfdc; font-size: 0.92rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #0b1e3a, #13315c);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid rgba(201,169,97,0.25);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-inner > div { flex: 1 1 280px; min-width: 0; }
.cta-actions { flex: 0 1 auto; }
.cta-inner h2 { color: #fff; margin-bottom: 0.3rem; }
.cta-inner p { color: #d4cdb8; margin: 0; }
.cta-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-page { background: var(--cream-50); padding: clamp(3rem, 6vw, 5rem) 0; }
.form-wrap { max-width: 880px; }
.form-header { text-align: center; margin-bottom: 2.5rem; }
.form-header p { color: var(--ink-500); }
.card-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-soft);
}
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.fieldset {
  border: 0; border-top: 1px solid var(--line);
  padding: 1.4rem 0 0; margin: 0 0 1.4rem;
}
.fieldset:first-of-type { border-top: 0; padding-top: 0; }
.fieldset legend {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-900);
  padding: 0 0.6rem 0 0;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem 1.1rem;
}
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: 0.02em;
}
.input,
input[type="text"].input,
input[type="email"].input,
input[type="password"].input,
input[type="date"].input,
input[type="search"].input,
select.input,
textarea.input {
  width: 100%;
  font: 400 1rem var(--sans);
  color: var(--ink-900);
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.input:focus,
input.input:focus, select.input:focus, textarea.input:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201,169,97,0.12);
}
textarea.input { resize: vertical; min-height: 80px; }
.hint { color: var(--ink-500); font-size: 0.78rem; }
.err { color: var(--danger); font-size: 0.82rem; }
.check-field {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}
.check-field label { font-weight: 500; color: var(--ink-700); }
.check { margin-top: 0.2rem; transform: scale(1.15); accent-color: var(--gold-500); }

.divider-label {
  display: flex; align-items: center; gap: 0.8rem;
  margin: 0.8rem 0 0.2rem;
}
.divider-label span {
  font-size: 0.78rem;
  color: var(--gold-500);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.divider-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ---------- Flash ---------- */
.flash-wrap { padding-top: 1rem; display: grid; gap: 0.5rem; }
.flash {
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid;
}
.flash-ok, .flash-message { background: #ecf6ef; color: var(--ok); border-color: #bfe1c9; }
.flash-error { background: #fdecec; color: var(--danger); border-color: #f3c3c3; }

/* ---------- Success ---------- */
.success-page { background: var(--cream-50); padding: clamp(3rem, 7vw, 6rem) 0; }
.success-wrap { display: flex; justify-content: center; }
.success-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 640px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.success-mark {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d4b774, #b08e3f);
  color: #1a1208;
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  box-shadow: 0 12px 28px rgba(176,142,63,.35);
}
.success-hint { color: var(--ink-500); font-size: 0.92rem; margin-top: 1.2rem; word-break: break-all; }
.success-hint code { background: var(--cream-100); padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.85rem; }
.success-foot { margin-top: 2rem; }

/* ---------- Login ---------- */
.login-page {
  min-height: calc(100vh - 72px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
  background: var(--cream-50);
}
.login-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.login-mark { margin-bottom: 1rem; }
.login-back { margin-top: 1.2rem; font-size: 0.92rem; }
.login-back a { color: var(--ink-500); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #c0c8d6;
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}
@media (max-width: 840px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.2rem;
}
.footer-sub { color: var(--gold-400); font-size: 0.82rem; letter-spacing: 0.15em; text-transform: uppercase; margin: 0 0 1rem; }
.footer-church { color: #d3dbe9; font-size: 0.92rem; margin: 0 0 1rem; max-width: 36ch; }
.footer-credit { color: #6c7585; font-size: 0.82rem; }
.footer-credit a { color: var(--gold-400); }
.footer-credit a:hover { color: var(--gold-300); }
.footer-verse { font-style: italic; color: #b3bcce; font-size: 0.95rem; max-width: 32ch; }
.footer-verse span { display: block; color: var(--gold-400); font-style: normal; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.3rem; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.92rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; font-size: 0.95rem; }
.site-footer a { color: #c0c8d6; }
.site-footer a:hover { color: var(--gold-400); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
  color: #6c7585;
}
.footer-admin { color: #6c7585; }

/* ---------- Mobile refinements ---------- */
@media (max-width: 880px) {
  .section { padding: 3rem 0; }
  .two-col, .two-col.reverse { gap: 1.5rem; }
  .er-logo-wrap { padding: 0; }
  .er-logo-wrap img { max-width: 240px; }
}
@media (max-width: 640px) {
  :root { --container: 100%; }
  .container { padding: 0 1.35rem; }
  .section { padding: 2.5rem 0; }
  .section-head { margin-bottom: 1.8rem; }
  h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  h2 { font-size: clamp(1.35rem, 5.5vw, 1.7rem); }
  h3 { font-size: 1.05rem; }
  .lead-muted { font-size: 0.98rem; }
  .prose p { font-size: 0.98rem; line-height: 1.65; }

  .nav-row { min-height: 64px; }
  .brand-text span { display: none; }
  .brand-mark svg { width: 32px; height: 32px; }

  .hero-inner {
    padding-top: 3.2rem;
    padding-bottom: 3rem;
    text-align: center;
    margin: 0 auto;
  }
  .hero .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    line-height: 1.5;
    max-width: 22rem;
    margin: 0 auto 1.1em;
  }
  .hero-title {
    font-size: clamp(1.95rem, 8.5vw, 2.4rem);
    margin: 0 auto 1rem;
    max-width: 18ch;
  }
  .hero-title .accent { font-size: .92em; margin-top: 0.15em; }
  .hero-lead {
    font-size: 1rem;
    margin: 0 auto 1.8rem;
    max-width: 36ch;
    color: #d8d0bd;
  }
  .hero-actions {
    gap: 0.65rem;
    margin: 0 auto 2.2rem;
    max-width: 22rem;
  }
  .hero-actions .btn { min-height: 50px; }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding-top: 1.5rem;
    margin: 0 auto;
    max-width: 22rem;
    border-color: rgba(201,169,97,0.2);
  }
  .hero-stats > div {
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 0.65rem;
    text-align: left;
  }
  .hero-stats strong {
    font-size: 1.5rem;
    min-width: 2.4rem;
    text-align: right;
  }
  .hero-stats span {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    margin-top: 0;
    flex: 0 1 auto;
  }

  .two-col, .two-col.reverse { text-align: center; }
  .two-col .eyebrow, .two-col.reverse .eyebrow { display: block; }
  .two-col .prose, .two-col.reverse .prose { margin: 0 auto; max-width: 38ch; }
  .two-col .lead-muted, .two-col.reverse .lead-muted { margin-left: auto; margin-right: auto; }
  .postos { justify-content: center; }

  .cards-2 { grid-template-columns: 1fr; gap: 1rem; }
  .feature-card { padding: 1.4rem; text-align: center; }
  .feature-card .icon-circle { margin-left: auto; margin-right: auto; display: flex; }

  .timeline { grid-template-columns: 1fr; gap: 0.9rem; }
  .timeline li { padding: 1.2rem; text-align: center; }

  .avisos-grid { grid-template-columns: 1fr; gap: 1rem; max-width: 440px; margin-left: auto; margin-right: auto; }

  .cta-band { padding: 2.5rem 0; text-align: center; }
  .cta-inner { flex-direction: column; align-items: center; gap: 1.2rem; }
  .cta-inner > div { text-align: center; max-width: 36ch; }
  .cta-actions { flex-direction: column; gap: 0.6rem; width: 100%; max-width: 22rem; }
  .cta-actions .btn { width: 100%; }

  .form-header { text-align: center; }
  .form-header h1, .form-header p { margin-left: auto; margin-right: auto; }

  .form-page { padding: 2rem 0; }
  .form-header { margin-bottom: 1.5rem; }
  .form-header h1 { font-size: 1.6rem; }
  .card-form { padding: 1.2rem; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .form-actions .btn { width: 100%; }

  .success-card { padding: 1.6rem 1.2rem; }
  .btn-whats { padding: 0.95rem 1.2rem; font-size: 0.98rem; }

  .footer-grid { gap: 1.5rem; }
  .site-footer { padding: 2.5rem 0 1rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.4rem; }

  .page-head { flex-direction: column; align-items: stretch; }
  .page-head-actions { flex-direction: column; align-items: stretch; }
  .page-head-actions .search { width: 100%; }
  .search input { width: 100%; }
  .kpi { padding: 1rem 1.1rem; }
  .kpi strong { font-size: 1.8rem; }
}

@media (max-width: 380px) {
  .hero-stats strong { font-size: 1.3rem; }
  .hero-stats span { font-size: 0.65rem; }
  .postos span { font-size: 0.8rem; padding: 0.35rem 0.7rem; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.2rem;
    box-shadow: 0 20px 40px rgba(11,30,58,0.12);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav a {
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    text-align: left;
  }
  .primary-nav .nav-cta { margin-top: 0.4rem; text-align: center; }
}

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