/* =========================================================
   Cartório de Plataforma — Registro Civil
   Identidade: latão (dourado envelhecido) + azul-marinho + marfim
   ========================================================= */

:root {
  --navy-900: #0c1a2e;
  --navy-800: #13253f;
  --navy-700: #1d3557;
  --navy-100: #edf0f5;
  --gold-600: #8a6934;
  --gold-500: #b08d57;
  --gold-400: #c9a96e;
  --gold-100: #f4eee3;
  --cream: #f8f5ef;
  --ink: #17202e;
  --muted: #5a6273;
  --line: #e4ddd0;
  --white: #ffffff;
  --green: #1f9d55;
  --green-dark: #17803f;
  --danger: #b42318;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(12, 26, 46, .05);
  --shadow: 0 12px 32px -12px rgba(12, 26, 46, .18);
  --shadow-lg: 0 30px 60px -20px rgba(12, 26, 46, .35);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
[data-icon] > svg { width: 1.15em; height: 1.15em; }
a { color: var(--navy-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--navy-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 400; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 400; }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--gold-400); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-900); color: #cfd6e2; position: relative; overflow: hidden; }
.section--navy::before {
  content: ""; position: absolute; left: -260px; bottom: -320px; width: 760px; height: 760px;
  background: var(--guilloche) center/contain no-repeat; opacity: .22; pointer-events: none;
}
.section--navy > .container { position: relative; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-400); }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 660px; }
.section--navy .lead { color: #aeb8c9; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy-900); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--font-sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); color: var(--navy-900); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--whats { background: var(--green); color: #fff; }
.btn--whats:hover { background: var(--green-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: #cfc6b5; color: var(--navy-900); }
.btn--ghost:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.btn--ghost-light:hover { border-color: var(--gold-400); color: var(--gold-400); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.is-selected { box-shadow: 0 0 0 3px var(--gold-400); }

/* ---------- Topo ---------- */
.topbar { background: var(--navy-900); color: #aeb8c9; font-size: .8rem; letter-spacing: .01em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #e6eaf1; text-decoration: none; }
.topbar a:hover { color: var(--gold-400); }
.topbar__items { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__items span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 13px; height: 13px; color: var(--gold-400); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy-900); }
.brand:hover { color: var(--navy-900); }
.seal { width: 54px; height: 54px; flex: none; color: var(--gold-500); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 500 1.28rem/1.1 var(--font-serif); letter-spacing: -.01em; }
.brand__sub { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-600); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { position: relative; padding: 10px 13px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .93rem; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1px; background: var(--gold-500); transform: scaleX(0); transition: transform .2s ease; }
.nav a:not(.btn):hover { color: var(--navy-900); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy-900); font-weight: 600; }
.nav .btn { margin-left: 12px; padding: .8em 1.25em; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy-900); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff;
    flex-direction: column; align-items: stretch; padding: 90px 24px 24px; gap: 0;
    transform: translateX(100%); transition: transform .25s ease; box-shadow: var(--shadow-lg);
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 15px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--gold-600); }
  .nav .btn { margin: 20px 0 0; }
  .nav-close { position: absolute; top: 18px; right: 18px; }
  .topbar__hide-sm { display: none !important; }
}
@media (max-width: 420px) { .brand__sub { display: none; } .seal { width: 46px; height: 46px; } .brand__name { font-size: 1.12rem; } }
@media (min-width: 1181px) { .nav-close { display: none; } }
.nav-backdrop { position: fixed; inset: 0; background: rgba(12,26,46,.5); z-index: 49; opacity: 0; pointer-events: none; transition: opacity .2s; }
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 600px at 80% 20%, rgba(29,53,87,.9), transparent 70%), var(--navy-900);
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: 50%; width: 900px; height: 900px; transform: translateY(-50%);
  background: var(--guilloche) center/contain no-repeat; opacity: .45; pointer-events: none;
}
.hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); opacity: .6; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero p { color: #b9c3d3; font-size: 1.14rem; max-width: 540px; }
.hero .btn-row { margin-top: 34px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; color: #aeb8c9; }
.hero__badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 17px; height: 17px; color: var(--gold-400); }

.hero-card { position: relative; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px 28px 28px; box-shadow: var(--shadow-lg); }
.hero-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; background: var(--gold-500); border-radius: 0 0 3px 3px; }
.hero-card h2 { font-size: 1.45rem; margin-bottom: 4px; font-weight: 500; }
.hero-card p { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.quick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.quick-list li + li { border-top: 1px solid var(--line); }
.quick-list a {
  display: flex; align-items: center; gap: 14px; padding: 14px 4px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .97rem;
  transition: color .15s, padding .2s;
}
.quick-list a:hover { color: var(--navy-900); padding-left: 10px; }
.quick-list .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #e3d6bd; color: var(--gold-600); flex: none; transition: background .2s, color .2s; }
.quick-list a:hover .ico { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-400); }
.quick-list .ico svg { width: 19px; height: 19px; }
.quick-list small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.quick-list .arrow { margin-left: auto; color: var(--gold-500); }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero::after { width: 560px; height: 560px; right: -300px; top: 22%; opacity: .25; }
}

/* Hero de páginas internas */
.page-hero { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -140px; top: 50%; width: 620px; height: 620px; transform: translateY(-50%);
  background: var(--guilloche) center/contain no-repeat; opacity: .4; pointer-events: none;
}
.page-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); opacity: .6; }
.page-hero .container { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.page-hero h1 { color: #fff; margin-bottom: .3em; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.page-hero p { color: #b9c3d3; font-size: 1.1rem; max-width: 660px; margin: 0; }
.breadcrumb { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #8e9bb0; margin-bottom: 18px; }
.breadcrumb a { color: var(--gold-400); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
a.card { display: block; text-decoration: none; color: inherit; }
a.card::after { content: ""; position: absolute; left: 30px; right: 30px; bottom: -1px; height: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
a.card:hover { border-color: #d8cdb8; box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
a.card:hover::after { transform: scaleX(1); }
.card__icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #e3d6bd; color: var(--gold-600); margin-bottom: 22px; background: var(--cream); }
.card__icon svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: .4em; font-size: 1.32rem; }
.card p { color: var(--muted); margin-bottom: 1.2em; font-size: .96rem; }
.card__link { font-weight: 600; font-size: .9rem; color: var(--navy-900); display: inline-flex; align-items: center; gap: 8px; }
a.card:hover .card__link { color: var(--gold-600); }
.tag { position: absolute; top: 28px; right: 26px; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; background: #ecf4ee; color: #2d6a45; }
.tag--gold { background: var(--gold-100); color: var(--gold-600); }

/* Passos */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps > li { counter-increment: step; position: relative; padding: 22px 22px 22px 80px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps > li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 22px; top: 20px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--gold-400); color: var(--gold-600); font: 500 .95rem var(--font-serif);
}
.steps h3 { font-size: 1.04rem; margin-bottom: .2em; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; border: 1px solid var(--gold-400); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6934' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Checklist interativo */
.todo { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.todo label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; transition: background .15s, border-color .15s; }
.todo label:hover { border-color: #d8cdb8; }
.todo input { width: 19px; height: 19px; margin-top: 4px; accent-color: var(--navy-900); flex: none; }
.todo input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--gold-500); }
.todo label:has(input:checked) { background: var(--cream); }
.todo small { display: block; color: var(--muted); }
.progress { height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 10px 0 14px; }
.progress span { display: block; height: 100%; width: 0; background: var(--gold-500); transition: width .3s; }

/* Callouts */
.callout { border-radius: 10px; padding: 20px 22px; border: 1px solid; border-left-width: 3px; display: flex; gap: 14px; align-items: flex-start; }
.callout svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.callout p:last-child { margin-bottom: 0; }
.callout--info { background: #f3f5f9; border-color: #dde3ec; border-left-color: var(--navy-700); color: var(--navy-900); }
.callout--gold { background: var(--gold-100); border-color: #e9dfcb; border-left-color: var(--gold-500); color: #4d3a16; }
.callout--green { background: #f1f7f3; border-color: #d5e8db; border-left-color: #2d6a45; color: #1d4a30; }
.callout--warn { background: #fdf6ec; border-color: #f0dfc4; border-left-color: #b7791f; color: #5c3a06; }

/* Layout de conteúdo com barra lateral */
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.content-grid > aside { position: sticky; top: 110px; display: grid; gap: 18px; }
@media (max-width: 980px) { .content-grid { grid-template-columns: 1fr; } .content-grid > aside { position: static; } }
.prose h2 { margin-top: 1.8em; font-size: 1.85rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.side-card h3 { font-size: 1.15rem; }
.side-card--navy { position: relative; overflow: hidden; background: var(--navy-900); color: #b9c3d3; border-color: var(--navy-900); }
.side-card--navy::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 240px; height: 240px; background: var(--guilloche) center/contain no-repeat; opacity: .3; pointer-events: none; }
.side-card--navy > * { position: relative; z-index: 1; }
.side-card--navy h3 { color: #fff; }
.facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; font-size: .93rem; }
.facts li { display: flex; gap: 12px; }
.facts strong { display: block; color: var(--navy-900); font-weight: 600; }
.side-card--navy .facts strong { color: #fff; }
.facts svg { width: 19px; height: 19px; color: var(--gold-500); flex: none; margin-top: 3px; }

/* Figura */
.figure { position: relative; border-radius: var(--radius); overflow: hidden; }
.figure::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.55); border-radius: 8px; pointer-events: none; }
.figure img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 0 4px; }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; font: 500 1.12rem/1.4 var(--font-serif); display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--navy-900); }
.faq summary:hover { color: var(--gold-600); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 300 1.25rem/1 var(--font-sans); color: var(--gold-600); transition: transform .25s, background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--gold-100); }
.faq details > div { padding: 0 48px 24px 0; color: var(--muted); }

/* Faixa de destaque */
.cta-band {
  position: relative; overflow: hidden; background: var(--gold-100); border: 1px solid #e6d9bf; border-radius: 18px;
  padding: clamp(32px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; color: var(--navy-900);
}
.cta-band::after { content: ""; position: absolute; right: -160px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); background: var(--guilloche) center/contain no-repeat; opacity: .35; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin: 0 0 .25em; }
.cta-band p { margin: 0; color: #4d3a16; }

/* Estatísticas / diferenciais */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
.stat { border-top: 1px solid rgba(201,169,110,.45); padding-top: 18px; }
.stat strong { display: block; font: 400 1.9rem/1.1 var(--font-serif); color: #fff; margin-bottom: 6px; }
.stat span { color: #aeb8c9; font-size: .92rem; }
@media (max-width: 380px) { .stats { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* Mapa */
.map { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: var(--radius); background: var(--navy-100); filter: grayscale(.25) contrast(1.02); }

/* ---------- Formulários ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--navy-900); }
.field .hint { font-size: .83rem; color: var(--muted); margin-top: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid #d6cebf; border-radius: var(--radius-sm); background: #fff;
  font: 400 1rem var(--font-sans); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa1ae; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(176,141,87,.18); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field .error { display: none; color: var(--danger); font-size: .84rem; margin-top: 5px; }
.field.has-error .error { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--navy-900); flex: none; }

/* ---------- Assistente DAJE ---------- */
.wizard { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.wizard__head { padding: 22px 30px; border-bottom: 1px solid var(--line); background: var(--cream); }
.wizard__steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; counter-reset: ws; }
.wizard__steps li { counter-increment: ws; flex: 1; display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); font-weight: 500; }
.wizard__steps li::before { content: counter(ws); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #d6cebf; color: var(--muted); flex: none; font: 500 .88rem var(--font-serif); }
.wizard__steps li.is-active { color: var(--navy-900); font-weight: 600; }
.wizard__steps li.is-active::before { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-400); }
.wizard__steps li.is-done::before { content: "✓"; background: var(--gold-500); border-color: var(--gold-500); color: #fff; }
@media (max-width: 640px) { .wizard__steps li span { display: none; } .wizard__steps li { flex: none; } .wizard__steps { justify-content: space-between; } }
.wizard__body { padding: 30px; }
@media (max-width: 560px) { .wizard__body { padding: 22px; } .wizard__head { padding: 18px 22px; } }
.wizard__panel[hidden] { display: none; }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 640px) { .options { grid-template-columns: 1fr; } }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option label { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; height: 100%; }
.option label:hover { border-color: var(--gold-400); }
.option input:checked + label { border-color: var(--navy-900); background: var(--cream); box-shadow: inset 0 0 0 1px var(--navy-900); }
.option input:focus-visible + label { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.option .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #e3d6bd; color: var(--gold-600); flex: none; }
.option input:checked + label .ico { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-400); }
.option .ico svg { width: 19px; height: 19px; }
.option strong { display: block; color: var(--navy-900); font-weight: 600; }
.option small { color: var(--muted); font-size: .86rem; line-height: 1.45; display: block; margin-top: 2px; }

.copy-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .95rem; }
.copy-table th, .copy-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.copy-table tr:last-child th, .copy-table tr:last-child td { border-bottom: 0; }
.copy-table th { width: 34%; background: var(--cream); color: var(--muted); font-weight: 500; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.copy-table td { color: var(--navy-900); font-weight: 600; }
.copy-btn { margin-left: 8px; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 4px 10px; font: 600 .74rem var(--font-sans); letter-spacing: .04em; color: var(--navy-700); cursor: pointer; }
.copy-btn:hover { border-color: var(--gold-500); }
.copy-btn.is-copied { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-400); }
@media (max-width: 560px) {
  .copy-table, .copy-table tbody, .copy-table tr, .copy-table th, .copy-table td { display: block; width: 100%; }
  .copy-table th { border-bottom: 0; padding-bottom: 2px; }
}

/* ---------- Rodapé ---------- */
.footer { position: relative; overflow: hidden; background: var(--navy-900); color: #97a3b8; padding: 80px 0 32px; font-size: .93rem; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); opacity: .6; }
.footer a { color: #d5dbe5; text-decoration: none; }
.footer a:hover { color: var(--gold-400); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: var(--gold-400); font-family: var(--font-sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer .brand { color: #fff; margin-bottom: 20px; }
.footer .brand:hover { color: #fff; }
.footer .seal { color: var(--gold-400); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: #7d8aa1; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--gold-400); color: var(--gold-400); }
.social svg { width: 16px; height: 16px; }

/* WhatsApp flutuante */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(12,26,46,.4);
  transition: transform .2s;
}
.whats-float:hover { transform: translateY(-2px); color: #fff; }
.whats-float svg { width: 28px; height: 28px; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 48px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
@media (max-width: 640px) { .page-hero::after { opacity: .2; right: -320px; } }

/* Editais de proclamas */
#busca-proclamas { max-width: 680px; }
.proclamas-frame { display: block; width: 100%; height: 900px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
@media (max-width: 640px) { .proclamas-frame { height: 720px; } }
.busca-rapida { display: flex; gap: 10px; flex: 1 1 340px; max-width: 460px; }
.busca-rapida input { flex: 1; min-width: 0; padding: 13px 15px; border: 1px solid #d6cebf; border-radius: var(--radius-sm); background: #fff; font: 400 1rem var(--font-sans); color: var(--ink); }
.busca-rapida input:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(176,141,87,.18); }
@media (max-width: 480px) { .busca-rapida { flex-direction: column; } }

/* Topo com 7 itens: mantém nome e botão em uma linha */
.brand__name, .brand__sub, .nav a { white-space: nowrap; }
.nav .btn { flex: none; margin-left: 8px; }
@media (min-width: 1181px) { .nav a:not(.btn) { padding-left: 10px; padding-right: 10px; } .nav a:not(.btn)::after { left: 10px; right: 10px; } }
