/* 2º Cartório de Registro Civil de Jundiaí — proposta de novo site */

/* Fontes próprias (Source Serif 4 e Source Sans 3, licença OFL em assets/fonts/): nada vem do Google */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(../fonts/source-serif-4-latin-opsz-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(../fonts/source-serif-4-latin-ext-opsz-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(../fonts/source-serif-4-latin-opsz-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(../fonts/source-serif-4-latin-ext-opsz-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
:root {
  --paper: #f5f3ee;
  --white: #ffffff;
  --ink: #1a2433;
  --muted: #4f5b6b;
  --line: #d9d4c8;
  --sand: #ebe6da;
  --blue: #1d4478;
  --blue-d: #14325c;
  --teal: #12284a;
  --cyan: #3a6fb0;
  --gold: #a88443;
  --gold-l: #cdb07a;
  --gold-d: #7f6230;
  --deep: #0c1c36;
  --grad-deep: linear-gradient(180deg, #16305a 0%, #12284a 100%);
  --ico-bg: #eef2f7;
  --ok: #2b6e4f;
  --closed: #9b3b2b;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow: 0 1px 2px rgba(18, 40, 74, .06), 0 8px 24px -12px rgba(18, 40, 74, .18);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
/* Tem tema claro e escuro (o escuro está no fim do arquivo). Assim o navegador do celular não escurece as cores à força */
:root { color-scheme: light dark; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-d); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; color: var(--teal); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { padding-left: 1.2em; }
.wrap { width: min(var(--maxw), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

.icon { width: 1.4em; height: 1.4em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .78em 1.4em; border-radius: 8px; border: 1.5px solid transparent; background: transparent;
  font: 600 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: none; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--teal); }
.btn-light:hover { background: var(--sand); color: var(--teal); }
.btn-line-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-line-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-sm { padding: .6em 1.05em; font-size: .9rem; }
.btn-gold { background: #8a6d37; color: #fff; }
.btn-gold:hover { background: var(--gold-d); color: #fff; }
.btn.wide { width: 100%; justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Selos */
.badge-new {
  display: inline-flex; align-items: center; gap: .4em; padding: .38em .8em .38em .6em; border-radius: 999px;
  background: var(--gold); color: var(--deep); font: 700 .74rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
.badge-new .icon { width: 1.1em; height: 1.1em; }
.badge-new.big { font-size: .82rem; padding: .5em 1em .5em .75em; margin-bottom: 1.1rem; box-shadow: 0 0 0 6px rgba(227, 166, 59, .18); }
.tag-new { display: inline-block; background: var(--gold); color: var(--deep); font: 700 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: .45em .65em; border-radius: 6px; vertical-align: middle; }


.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.eyebrow.on-dark { color: #e3cb98; }

/* Barra superior */
.topbar { background: var(--deep); color: #c3cddb; font-size: .85rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 7px; flex-wrap: wrap; }
.topbar a { color: #e6ebf2; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar .group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar .item { display: inline-flex; align-items: center; gap: .5em; min-height: 26px; }
.topbar .icon { width: 1.05em; height: 1.05em; color: var(--gold-l); }
.status { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; color: #fff; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8a98a0; }
.status[data-open="true"]::before { background: #3fb27a; box-shadow: 0 0 0 3px rgba(63, 178, 122, .22); }
.status[data-open="false"]::before { background: #d0735f; }
.status-reabre { display: block; margin-top: .25em; font-weight: 500; overflow-wrap: anywhere; }
.status-reabre[hidden] { display: none; }

/* Faixa de aviso (feriado, horário especial): texto em aviso.txt, gerada pelo build.js.
   Fica no topo, acima do cabeçalho, e rola junto com a página (o menu fixo não muda). */
.aviso-faixa { background: #f6ecd5; color: var(--ink); border-bottom: 2px solid var(--gold); font-size: .95rem; line-height: 1.45; }
.aviso-faixa[hidden] { display: none; }
.aviso-linha { display: flex; align-items: center; gap: 12px; padding-block: 8px; }
.aviso-texto { margin: 0; flex: 1; min-width: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.aviso-texto a { color: var(--blue); font-weight: 700; }
.aviso-texto a:hover { color: var(--blue-d); }
.aviso-fechar { flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.aviso-fechar:hover { background: rgba(26, 36, 51, .08); }
.aviso-fechar .icon { width: 20px; height: 20px; }
@media print { .aviso-faixa { display: none !important; } }

/* Cabeçalho: faixa da marca + faixa do menu (só o menu fica fixo ao rolar) */
.site-header { position: sticky; top: -93px; z-index: 50; background: #fff; }
.brandbar { border-bottom: 1px solid var(--line); }
.brandbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 20px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand picture { display: contents; }
.brand source { display: none; }
/* Logo oficial (SVG, proporção ~4,1:1): altura fixa, largura pela proporção */
.brand img { height: 46px; width: auto; }
.brand-text { display: grid; gap: 2px; padding-left: 20px; border-left: 1px solid var(--line); line-height: 1.25; }
.brand-text b { font: 600 1.06rem/1.25 var(--serif); color: var(--teal); }
.brand-text span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); font-weight: 600; }
.brand-contact a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal); }
.brand-contact .icon { width: 44px; height: 44px; padding: 10px; border: 1.5px solid var(--gold); border-radius: 50%; color: var(--gold-d); }
.brand-contact small { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand-contact b { font: 600 1.3rem/1.2 var(--serif); font-variant-numeric: lining-nums; }
.brand-contact a:hover b { color: var(--blue); }
.navbar { background: linear-gradient(180deg, #16305a, #12284a); border-bottom: 1px solid rgba(205, 176, 122, .35); transition: box-shadow .25s ease; }
.site-header.scrolled .navbar { box-shadow: 0 8px 20px -12px rgba(12, 28, 54, .55); }
.nav { display: flex; align-items: stretch; gap: 0; min-height: 52px; }
.nav a.link {
  display: inline-flex; align-items: center; white-space: nowrap; padding: 0 1em; text-decoration: none; color: #e6ebf2; font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  position: relative; transition: background-color .15s ease, color .15s ease;
}
.nav a.link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav a.link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a.link[aria-current="page"]::after { content: ""; position: absolute; left: 1em; right: 1em; bottom: 0; height: 3px; background: var(--gold-l); }
.nav .ext { display: inline-block; width: .8em; height: .8em; margin-left: .3em; opacity: .7; }
.nav-cta { margin: 8px 0 8px auto; white-space: nowrap; align-self: center; }
.has-sub { position: relative; display: flex; align-items: stretch; }
.has-sub .link { padding-right: .35em !important; }
.sub-toggle { background: none; border: 0; padding: 0 .75em 0 .15em; cursor: pointer; color: #e6ebf2; display: grid; place-items: center; }
.sub-toggle:hover { background: rgba(255, 255, 255, .07); }
.sub-toggle .icon { width: 15px; height: 15px; transition: transform .2s ease; }
.has-sub:hover .sub-toggle .icon, .has-sub[data-open="true"] .sub-toggle .icon { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 3px); left: 0; width: 360px; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 8px; display: grid; gap: 2px;
  box-shadow: 0 24px 48px -20px rgba(12, 28, 54, .45); opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; }
.has-sub.sub-direita .submenu { left: auto; right: 0; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub[data-open="true"] .submenu { opacity: 1; visibility: visible; transform: none; transition: opacity .15s ease, transform .15s ease, visibility 0s; }
.submenu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.submenu a:hover { background: var(--paper); color: var(--ink); }
.submenu a[aria-current="page"] { background: var(--ico-bg); }
.sm-ico { width: 38px; height: 38px; border-radius: var(--radius); background: var(--ico-bg); color: var(--blue); display: grid; place-items: center; flex: none; }
.sm-ico .icon { width: 20px; height: 20px; }
.submenu b { display: block; font-size: .95rem; line-height: 1.3; color: var(--teal); }
.submenu small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; }
.submenu .tag-new { font-size: .6rem; padding: .35em .5em; margin-left: 4px; }
.head-actions { display: none; align-items: center; gap: 8px; }
.head-call { display: none; width: 44px; height: 44px; border-radius: var(--radius); background: var(--teal); color: #fff; place-items: center; }
.head-call:hover { background: var(--blue); color: #fff; }
.head-call .icon { width: 21px; height: 21px; }
.only-sm { display: none; }
.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--teal); border-radius: var(--radius); padding: 8px 12px; cursor: pointer; color: var(--teal); font: 600 .9rem/1 var(--sans); }
.nav-toggle .icon { display: block; width: 22px; height: 22px; }

/* Abertura institucional (Home) */
.hero-inst {
  position: relative; overflow: hidden; color: #d5dce7;
  background: radial-gradient(90% 120% at 72% 18%, #1f4a86 0%, #163563 38%, #10264a 70%, #0c1c36 100%);
}
.hero-ondas { position: absolute; left: 0; bottom: 0; width: 100%; height: 46%; pointer-events: none; }
.hero-ondas .onda-1 { fill: rgba(255, 255, 255, .035); }
.hero-ondas .onda-2 { fill: rgba(8, 20, 40, .35); }
.hero-ondas .onda-ouro { fill: none; stroke: var(--gold-l); stroke-width: 1.4; opacity: .8; vector-effect: non-scaling-stroke; }
.hero-inst-grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 6vw, 96px); align-items: center; padding-block: clamp(48px, 6vw, 76px) clamp(110px, 10vw, 140px); }
.hero-inst h1 { color: #fff; font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.08; letter-spacing: -.012em; margin-bottom: .5em; }
.hero-inst .lede { font-size: 1.16rem; line-height: 1.7; color: #d5dce7; max-width: 33em; margin-bottom: 2rem; }
.hero-inst .eyebrow { color: var(--gold-l); }
.hero-inst .eyebrow.on-dark { color: #e3cb98; }
.btn-lg { padding: .95em 1.6em; font-size: 1.02rem; border-radius: 8px; }
.hero-inst .btn-line-light { border-color: rgba(255, 255, 255, .7); }

.hero-inst-photo { margin: 0; position: relative; isolation: isolate; }
.hero-inst-photo::before, .hero-inst-photo::after { content: ""; position: absolute; border: 1.5px solid var(--gold); border-radius: 26px; z-index: -1; pointer-events: none; }
.hero-inst-photo::before { top: -16px; right: -28px; width: 62%; height: 72%; border-left-color: transparent; border-bottom-color: transparent; }
.hero-inst-photo::after { bottom: -16px; left: -28px; width: 46%; height: 52%; border-right-color: transparent; border-top-color: transparent; }
.hf-trilho { display: grid; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); background: #0c1c36; }
.hf-trilho img {
  grid-area: 1 / 1; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; opacity: 0; transform: scale(1.12);
  transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1), transform 1.4s ease;
}
.hf-trilho img:first-child { object-position: 50% 62%; }
/* Foto atual: aparece e vai se aproximando devagar (efeito Ken Burns) */
.hf-trilho img.is-active { opacity: 1; transform: scale(1); z-index: 1; transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1), transform 7.5s cubic-bezier(.2, .6, .3, 1); }
.hf-trilho img.saindo { opacity: 0; transform: scale(1.03); z-index: 0; }
/* Botão de pausar as fotos (WCAG 2.2.2): ao pausar, o zoom da foto atual também para */
.hf-pausa { position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1.5px solid rgba(255, 255, 255, .75); border-radius: 50%; background: rgba(12, 28, 54, .82); color: #fff; cursor: pointer; }
.hf-pausa:hover { background: rgba(12, 28, 54, .96); }
.hf-pausa:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hf-pausa .icon { width: 18px; height: 18px; }
.hero-inst-photo.pausada .hf-trilho img { transition: none; }


/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(90px, 11vw, 150px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto auto; width: 62%; height: 100%;
  background: radial-gradient(60% 70% at 70% 40%, rgba(58, 111, 176, .13), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 em { font-style: italic; color: var(--blue); font-weight: 500; }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; }
.hero-visual .photo {
  aspect-ratio: 4 / 4.4; width: 100%; object-fit: cover; border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow);
}
.hours-card {
  position: absolute; left: -28px; bottom: 28px; width: min(300px, 78%);
  background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hours-card h2 { font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; }
.hours-card .status { color: var(--ink); font-size: 1rem; margin-bottom: .8rem; }
.hours-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .95rem; }
.hours-card dt { color: var(--muted); }
.hours-card dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.since {
  position: absolute; top: 26px; right: -10px; background: var(--teal); color: #fff; border-radius: 50%;
  width: 116px; height: 116px; display: grid; place-content: center; text-align: center;
  font-family: var(--serif); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--gold), var(--shadow);
  background-image: radial-gradient(circle, transparent 50px, var(--gold-l) 50px, var(--gold-l) 51px, transparent 51px);
}
.since small { font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); }
.since strong { font-size: 2rem; line-height: 1.1; }

/* Carrossel de destaques */
.slider { position: relative; background: var(--deep); color: #fff; overflow: hidden; isolation: isolate; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; z-index: 1; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -1; }
.slide-photo .slide-bg { transform: scale(1.08); transition: transform 8s ease-out; }
.slide-photo.is-active .slide-bg { transform: scale(1); }
.slide-photo .slide-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 28, 54, .94) 0%, rgba(12, 28, 54, .78) 42%, rgba(12, 28, 54, .2) 100%); }
.slide-atpv .slide-bg { background: var(--grad-deep); }
.slide-atpv .slide-bg::before, .hero-atpv::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px); background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}

.slide-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: clamp(520px, 74vh, 660px); padding-block: 64px 110px; }
.slide-photo .slide-inner { grid-template-columns: minmax(0, 620px); }
.slide-copy h1, .slide-copy h2 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.04; letter-spacing: -.02em; margin-bottom: .35em; }
.slide-copy h1 em, .slide-copy h2 em, .hero-atpv h1 em { font-style: italic; font-weight: 500; color: var(--gold-l); }
.slide-copy p { color: #d5dce7; font-size: 1.15rem; max-width: 34em; }
.slide-copy .kicker-line { font: 600 1.05rem/1.3 var(--sans); color: #fff; letter-spacing: .01em; margin-bottom: .6em; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 1.8rem; }
.price-tag { display: inline-grid; line-height: 1; padding: 10px 16px; border-radius: 14px; border: 1px dashed rgba(244, 197, 106, .7); color: #fff; font: 700 1.35rem/1 var(--serif); }
.price-tag small { font: 600 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 5px; }
.is-active .slide-copy > * { animation: subir .7s cubic-bezier(.2, .7, .2, 1) both; }
.is-active .slide-copy > *:nth-child(2) { animation-delay: .08s; }
.is-active .slide-copy > *:nth-child(3) { animation-delay: .16s; }
.is-active .slide-copy > *:nth-child(4) { animation-delay: .24s; }
.is-active .slide-copy > *:nth-child(5) { animation-delay: .32s; }
@keyframes subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.slider-ui { position: absolute; left: 0; right: 0; bottom: 72px; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.dots { display: flex; gap: 8px; }
.dot { all: unset; cursor: pointer; width: 34px; height: 30px; display: grid; align-items: center; }
.dot span { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .32); overflow: hidden; position: relative; }
.dot[aria-current="true"] { width: 64px; }
.dot[aria-current="true"] span::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(1); }
.slider.tick:not(.paused) .dot[aria-current="true"] span::after { animation: progresso var(--intervalo, 7000ms) linear both; }
@keyframes progresso { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dot:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.arrows { display: flex; gap: 8px; }
.arrow-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(12, 28, 54, .35); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .2s ease, border-color .2s ease; }
.arrow-btn:hover { background: #fff; color: var(--deep); border-color: #fff; }
.arrow-btn .icon { width: 20px; height: 20px; }

/* Celular ilustrado (ATPV-e) */
.slide-art { position: relative; display: grid; place-items: center; min-height: 440px; }
.phone {
  width: 250px; aspect-ratio: 9 / 18.5; border-radius: 40px; padding: 12px; position: relative;
  background: linear-gradient(160deg, #1b2c35, #0b161c); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(255, 255, 255, .08);
  transform: rotate(-4deg); animation: flutuar 6s ease-in-out infinite;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 12px; background: #0b161c; z-index: 2; }
.phone-screen { height: 100%; border-radius: 30px; background: linear-gradient(180deg, #f7fbfd, #e8f2f7); color: var(--ink); padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.ps-top { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.ps-top b { font: 700 1rem/1 var(--serif); color: var(--blue-d); }
.ps-chip { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 600; background: #dcebf3; color: var(--blue-d); padding: 4px 8px; border-radius: 999px; }
.ps-chip .icon { width: 13px; height: 13px; }
.face-scan { position: relative; margin: 8px auto 2px; width: 118px; height: 118px; border-radius: 28px; display: grid; place-items: center; color: var(--blue); background: radial-gradient(circle, #fff 30%, #d7e9f2 100%); overflow: hidden; }
.face-scan .icon { width: 84px; height: 84px; stroke-width: 1.3; }
.scanline { position: absolute; left: 10px; right: 10px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 14px var(--cyan); animation: varrer 2.4s ease-in-out infinite; }
.phone-screen .ps-title { text-align: center; font: 600 .78rem/1.3 var(--sans); color: var(--muted); margin: 0 0 4px; }
.ps-row { display: flex; align-items: center; gap: 7px; background: #fff; border-radius: 12px; padding: 8px 10px; font: 600 .74rem/1.25 var(--sans); box-shadow: 0 2px 6px rgba(13, 36, 49, .06); }
.ps-row .icon { width: 16px; height: 16px; color: var(--ok); flex: none; }
.ps-row.send { background: var(--blue); color: #fff; }
.ps-row.send .icon { color: var(--gold-l); }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 14px;
  font: 600 .85rem/1.2 var(--sans); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); white-space: nowrap;
}
.float-chip .icon { width: 18px; height: 18px; color: var(--blue); }
.float-chip.c1 { left: -4%; top: 22%; animation: flutuar 5s ease-in-out -2s 1; }
.float-chip.c2 { right: -2%; bottom: 20%; animation: flutuar 5s ease-in-out -1s 1; }
.float-chip.c2 .icon { color: var(--gold-d); }
@keyframes flutuar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes varrer { 0%, 100% { top: 14%; } 50% { top: 84%; } }

/* Face ID + Dynamic Island no celular da ATPV-e (ciclo de 9 s, só CSS).
   O estado sem animação é o final (tudo assinado): é o que aparece com "reduzir movimento" e na impressão. */
.phone.face-id::before { display: none; }
.ps-ilha { position: absolute; z-index: 3; top: 20px; left: 50%; transform: translateX(-50%); width: 206px; height: 30px; border-radius: 16px; background: #05090d; color: #fff; overflow: hidden;
           animation: psi-tamanho 9s cubic-bezier(.34, 1.4, .64, 1) infinite; }
.psi { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 .66rem/1 var(--sans); white-space: nowrap; opacity: 0; }
.psi .icon { width: 12px; height: 12px; color: #3fd08a; stroke-width: 2.4; }
.psi-4 { opacity: 1; }
.psi-4 .icon { color: var(--gold-l); }
.psi-1 { animation: psi-1 9s linear infinite; } .psi-2 { animation: psi-2 9s linear infinite; } .psi-3 { animation: psi-3 9s linear infinite; } .psi-4 { animation: psi-4 9s linear infinite; }
.psi-giro { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); border-top-color: var(--cyan); animation: ilha-gira .8s linear infinite; }
@keyframes psi-tamanho {
  0%, 2% { width: 70px; height: 18px; border-radius: 12px; }
  6%, 36% { width: 168px; height: 26px; border-radius: 14px; }
  41%, 56% { width: 186px; height: 30px; border-radius: 16px; }
  61%, 74% { width: 196px; height: 30px; border-radius: 16px; }
  79%, 94% { width: 206px; height: 30px; border-radius: 16px; }
  98%, 100% { width: 70px; height: 18px; border-radius: 12px; }
}
@keyframes psi-1 { 0%, 5% { opacity: 0; } 8%, 35% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes psi-2 { 0%, 40% { opacity: 0; } 43%, 55% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes psi-3 { 0%, 60% { opacity: 0; } 63%, 73% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes psi-4 { 0%, 78% { opacity: 0; } 81%, 93% { opacity: 1; } 96%, 100% { opacity: 0; } }

.face-id .face-scan { background: none; overflow: visible; width: 124px; height: 124px; }
.fs-anel { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fs-anel circle { fill: none; stroke-width: 4; stroke-linecap: round; }
.fs-trilho { stroke: #d7e5ee; }
.fs-progresso { stroke: #3fb27a; stroke-dasharray: 327; stroke-dashoffset: 0; animation: fs-progresso 9s ease-in-out infinite; }
@keyframes fs-progresso {
  0%, 4% { stroke-dashoffset: 327; stroke: var(--cyan); }
  33% { stroke-dashoffset: 0; stroke: var(--cyan); }
  37%, 95% { stroke-dashoffset: 0; stroke: #3fb27a; }
  100% { stroke-dashoffset: 327; stroke: var(--cyan); }
}
.fs-cantos { position: absolute; inset: 22px; transform: scale(.86); animation: fs-cantos 9s ease-in-out infinite; }
.fs-cantos i { position: absolute; width: 18px; height: 18px; border: 3px solid #3fb27a; animation: fs-cor 9s linear infinite; }
.fs-cantos i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.fs-cantos i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.fs-cantos i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.fs-cantos i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
@keyframes fs-cantos { 0% { transform: scale(1); } 8% { transform: scale(.92); } 16% { transform: scale(1); } 24% { transform: scale(.92); } 33% { transform: scale(1); } 38%, 95% { transform: scale(.86); } 100% { transform: scale(1); } }
@keyframes fs-cor { 0%, 35% { border-color: var(--blue); } 38%, 95% { border-color: #3fb27a; } 100% { border-color: var(--blue); } }
.fs-rosto, .fs-ok { position: absolute; inset: 0; display: grid; place-items: center; }
.fs-rosto { color: var(--blue); opacity: 0; animation: fs-rosto 9s ease-in-out infinite; }
.fs-rosto .icon { width: 62px; height: 62px; stroke-width: 1.4; }
.fs-ok { color: #3fb27a; animation: fs-ok 9s cubic-bezier(.34, 1.6, .64, 1) infinite; }
.fs-ok .icon { width: 56px; height: 56px; stroke-width: 2.4; }
@keyframes fs-rosto { 0%, 34% { opacity: 1; transform: scale(1); } 38%, 96% { opacity: 0; transform: scale(.6); } 100% { opacity: 1; transform: scale(1); } }
@keyframes fs-ok { 0%, 35% { opacity: 0; transform: scale(.3); } 40%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.3); } }

.face-id .ps-row .ps-ck { width: 18px; height: 18px; border-radius: 50%; background: #3fb27a; color: #fff; display: grid; place-items: center; flex: none; }
.face-id .ps-row .ps-ck .icon { width: 11px; height: 11px; color: #fff; stroke-width: 3; }
.face-id .r1 .ps-ck { animation: ps-ck1 9s ease-out infinite; }
.face-id .r2 .ps-ck { animation: ps-ck2 9s ease-out infinite; }
@keyframes ps-ck1 { 0%, 40% { background: #e1e8ee; transform: scale(1); } 42% { background: #3fb27a; transform: scale(1.25); } 45%, 96% { background: #3fb27a; transform: scale(1); } 100% { background: #e1e8ee; } }
@keyframes ps-ck2 { 0%, 60% { background: #e1e8ee; transform: scale(1); } 62% { background: #3fb27a; transform: scale(1.25); } 65%, 96% { background: #3fb27a; transform: scale(1); } 100% { background: #e1e8ee; } }
.face-id .ps-row.send { animation: ps-envio 9s ease-out infinite; }
@keyframes ps-envio { 0%, 77% { background: #fff; color: var(--muted); } 80%, 96% { background: var(--blue); color: #fff; } 100% { background: #fff; color: var(--muted); } }
/* Pausar a animação da ilustração (WCAG 2.2.2): o script põe .anim-pausada no celular */
.anim-pausada, .anim-pausada * { animation-play-state: paused !important; }
.anim-btn { position: absolute; left: 0; bottom: 0; z-index: 4; display: inline-flex; align-items: center; gap: .4em; padding: .45em .8em; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--teal); font: 600 .8rem/1.2 var(--sans); cursor: pointer; box-shadow: var(--shadow); }
.anim-btn:hover { border-color: var(--blue); color: var(--blue); }
.anim-btn .icon { width: 14px; height: 14px; }

/* Destaque: certidão digital (portal registrocivil.org.br) em Serviços on-line */
.cdig-sec { padding-bottom: 0 !important; }
.cdig { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
        background: var(--grad-deep); color: #d5dce7; border-radius: 20px; padding: clamp(28px, 5vw, 56px); box-shadow: 0 40px 80px -40px rgba(12, 28, 54, .7); }
.cdig::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000, transparent 75%); }
.cdig::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(205, 176, 122, .28), transparent 65%); }
.cdig h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; margin: .5em 0 .4em; }
.cdig h2 em { font-style: italic; font-weight: 500; color: var(--gold-l); }
.cdig p { color: #d5dce7; font-size: 1.08rem; max-width: 34em; }
.cdig strong { color: #fff; }
.cdig-lista { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 8px; }
.cdig-lista li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.cdig-lista .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(63, 208, 138, .18); color: #3fd08a; stroke-width: 2.6; }
.cdig .slide-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cdig-nota { font-size: .84rem !important; color: #9fb0c6 !important; margin: 14px 0 0; }
.cdig-arte { position: relative; display: grid; place-items: center; min-height: 380px; }
.cdig-papel { width: min(300px, 82%); aspect-ratio: 1 / 1.3; background: linear-gradient(180deg, #fffdf8, #f6f1e5); color: var(--ink); border-radius: 12px; padding: 22px 20px;
              display: flex; flex-direction: column; gap: 12px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7), inset 0 0 0 6px #fff, inset 0 0 0 7px rgba(168, 132, 67, .45);
              transform: rotate(3deg); animation: flutuar 5s ease-in-out 1; }
.cdig-topo { display: grid; text-align: center; gap: 2px; border-bottom: 1px solid rgba(168, 132, 67, .35); padding-bottom: 10px; }
.cdig-topo small { font: 700 .56rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); }
.cdig-titulo { text-align: center; font: 700 1.15rem/1.2 var(--serif); color: var(--teal); }
.cdig-linhas { display: grid; gap: 9px; margin-top: 4px; }
.cdig-linhas i { display: block; height: 7px; border-radius: 4px; background: #e2dccd; }
.cdig-mat { font: 600 .56rem/1 var(--sans); letter-spacing: .04em; color: #9a8a66; text-align: center; }
.cdig-rodape { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.cdig-qr { width: 64px; height: 64px; fill: var(--teal); background: #fff; padding: 4px; border-radius: 6px; box-shadow: 0 0 0 1px #e2dccd; }
.cdig-selo { display: flex; align-items: center; gap: 8px; background: #eaf7f0; border: 1px solid #bfe6cf; color: #1d6b45; border-radius: 10px; padding: 8px 10px; }
.cdig-selo .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #3fb27a; color: #fff; stroke-width: 3; flex: none; }
.cdig-selo span { display: grid; line-height: 1.2; }
.cdig-selo b { font: 700 .72rem/1.2 var(--sans); }
.cdig-selo small { font-size: .64rem; color: #3b7a5a; }
.cdig .float-chip.cdig-c1 { left: -2%; top: 16%; animation: flutuar 5s ease-in-out -2s 1; }
.cdig .float-chip.cdig-c2 { right: -2%; bottom: 14%; animation: flutuar 5s ease-in-out -1s 1; }
.cdig .float-chip.cdig-c2 .icon { color: var(--gold-d); }
/* Destaque da ATPV-e: mesmo bloco da certidão digital, com a arte à esquerda */
/* Dois destaques lado a lado (certidão digital e ATPV-e): cartões menores, com a arte pequena no canto */
.cdig-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cdig-mini { grid-template-columns: minmax(0, 1fr) 118px; gap: 18px; align-items: stretch; padding: clamp(24px, 3vw, 36px); }
.cdig-mini::after { width: 300px; height: 300px; right: -110px; top: -110px; }
.cdig-mini .cdig-texto { display: flex; flex-direction: column; align-items: flex-start; }
.cdig-mini .cdig-texto .badge-new { align-self: flex-start; }
.cdig-mini h2 { font-size: clamp(1.6rem, 2.3vw, 2.05rem); margin: .55em 0 .35em; }
.cdig-mini p { font-size: 1rem; }
.cdig-mini .cdig-lista { margin-bottom: 1.4rem; }
.cdig-mini .cdig-lista li { font-size: .95rem; }
.cdig-mini .slide-actions { margin-top: auto; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.cdig-mini .slide-actions .btn { justify-content: center; text-align: center; }
.cdig-mini .cdig-arte { order: 2; min-height: 0; display: block; padding-top: 6px; }
.cdig-mini .cdig-papel { width: 118px; aspect-ratio: 1 / 1.32; padding: 11px 9px; gap: 7px; border-radius: 8px; transform: rotate(5deg);
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .7), inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(168, 132, 67, .45); }
.cdig-mini .cdig-topo { padding-bottom: 5px; }
.cdig-mini .cdig-topo small { font-size: .46rem; }
.cdig-mini .cdig-titulo { font-size: .7rem; }
.cdig-mini .cdig-linhas { gap: 5px; }
.cdig-mini .cdig-linhas i { height: 4px; }
.cdig-mini .cdig-qr { width: 36px; height: 36px; padding: 2px; border-radius: 4px; }
.cdig-mini .cdig-placa { width: 92%; border-width: 1.5px; border-radius: 4px; }
.cdig-mini .cdig-placa span { font-size: .34rem; }
.cdig-mini .cdig-placa b { font-size: .78rem; letter-spacing: .08em; }
.cdig-mini .cdig-partes { grid-template-columns: 1fr; gap: 4px; }
.cdig-mini .cdig-partes span { padding: 3px 5px; border-radius: 5px; }
.cdig-mini .cdig-partes small { font-size: .5rem; }
.cdig-mini .cdig-partes .icon { width: 11px; height: 11px; padding: 2px; }
.cdig-mini .cdig-selo { padding: 4px 5px; gap: 4px; border-radius: 6px; }
.cdig-mini .cdig-selo .icon { width: 13px; height: 13px; padding: 2px; }
.cdig-mini .cdig-selo b { font-size: .5rem; }
.cdig-placa { align-self: center; display: grid; justify-items: center; width: 74%; margin: 2px auto 0; border: 2px solid #1a2433; border-radius: 6px; overflow: hidden; background: #fff; }
.cdig-placa span { width: 100%; text-align: center; background: #1d4fa3; color: #fff; font: 700 .5rem/1.6 var(--sans); letter-spacing: .3em; }
.cdig-placa b { font: 700 1.35rem/1.4 var(--sans); letter-spacing: .14em; color: #1a2433; }
.cdig-partes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cdig-partes span { display: flex; align-items: center; justify-content: space-between; gap: 6px; background: #fff; border: 1px solid #e2dccd; border-radius: 8px; padding: 6px 8px; }
.cdig-partes small { font: 600 .66rem/1.2 var(--sans); color: var(--ink); }
.cdig-partes .icon { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: #3fb27a; color: #fff; stroke-width: 3; flex: none; }
@media (max-width: 980px) {
  .cdig { grid-template-columns: minmax(0, 1fr); }
  .cdig-duo { grid-template-columns: minmax(0, 1fr); }
  .cdig-mini { grid-template-columns: minmax(0, 1fr) 118px; }
  .cdig-arte { min-height: 340px; }
}
@media (max-width: 600px) {
  .cdig { border-radius: 16px; padding: 24px 20px; }
  .cdig-arte { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 0; padding-top: 8px; }
  .cdig .float-chip.cdig-c1, .cdig .float-chip.cdig-c2 { position: static; animation: none; }
  .cdig-papel { width: 100%; max-width: 300px; margin-bottom: 8px; }
  .cdig .slide-actions .btn { width: 100%; justify-content: center; }
  .cdig-mini { grid-template-columns: minmax(0, 1fr); }
  .cdig-mini .cdig-arte { display: none; }
}

/* Faixa de informações sob o carrossel */
.infostrip { position: relative; z-index: 4; margin-top: -52px; }
.infostrip-card { border-top: 3px solid var(--gold); }
.infostrip-card { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: 0 24px 60px -28px rgba(18, 40, 74, .5), 0 1px 0 var(--line); overflow: hidden; }
.is-item { display: flex; gap: 14px; align-items: center; padding: 20px 24px; color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.4; transition: background-color .2s ease; }
.is-item + .is-item { border-left: 1px solid var(--line); }
a.is-item:hover { background: #f6f8fb; color: var(--ink); }
.is-item b { display: block; font-size: 1rem; margin-bottom: 2px; }
.is-item span:last-child { color: var(--muted); }
.is-item b.status { color: var(--ink); display: flex; }
.is-item .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--ico-bg); color: var(--blue); display: grid; place-items: center; flex: none; }
.is-item .ico .icon { width: 22px; height: 22px; }

/* Acesso rápido */
.quick { margin-top: -78px; position: relative; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (min-width: 601px) { .quick-grid.doors { grid-template-columns: repeat(3, 1fr); } }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 20px;
  text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(13, 36, 49, .05); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: none; border-color: var(--blue); color: var(--ink); box-shadow: var(--shadow); }
.tile::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.tile:hover::before { transform: scaleX(1); }
.tile .ico { width: 50px; height: 50px; border-radius: 50%; background: var(--ico-bg); color: var(--blue); display: grid; place-items: center; transition: background .2s ease, color .2s ease; }
.tile:hover .ico { background: var(--teal); color: var(--gold-l); }
.tile .ico .icon { width: 25px; height: 25px; }
.tile strong { display: block; font: 600 1rem/1.25 var(--serif); color: var(--teal); }
.tile span.sub { display: block; font-size: .86rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.tile .arrow { position: absolute; top: 22px; right: 20px; color: var(--blue); transition: transform .2s ease; }
.tile strong { font-size: 1.14rem; }
.tile:hover .arrow { transform: translateX(3px); }
.tile-hot { background: var(--grad-deep); border-color: transparent; color: #fff; box-shadow: 0 20px 40px -22px rgba(18, 40, 74, .8); }
.tile-hot:hover { color: #fff; }
.tile-hot .ico, .tile-hot:hover .ico { background: var(--gold); color: var(--deep); }
.tile-hot span.sub { color: #b9c6d8; }
.tile-hot .tag-new { position: absolute; top: -9px; right: 14px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }

/* Seções */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin-top: .45em; }
.section-head.center h2::after { margin-inline: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.top { align-items: start; }
.split .media img { border-radius: 0; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .media.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split .media.duo img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.split .media.duo img:not(:first-child) { aspect-ratio: 4 / 3; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 2rem; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.section.alt .fact { background: var(--paper); }
.fact strong { display: block; font: 600 1.7rem/1.1 var(--serif); color: var(--teal); }
.fact > span { font-size: .88rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7em; align-items: flex-start; }
.checklist .icon { color: var(--ok); margin-top: .18em; }
.section.tight { padding-top: clamp(48px, 6vw, 72px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }

/* Destaque ATPV-e */
.feature-atpv { background: var(--grad-deep); color: #d5dce7; position: relative; overflow: hidden; }

.feature-atpv h2 { color: #fff; }
.lead-light { font-size: 1.12rem; color: #d5dce7; max-width: 38em; }
.atpv-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 2rem; }
.benefit { display: flex; gap: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 18px; transition: background-color .2s ease, transform .2s ease; }
.benefit:hover { background: rgba(255, 255, 255, .1); transform: none; }
.benefit .ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(227, 166, 59, .16); color: var(--gold-l); display: grid; place-items: center; flex: none; }
.benefit .ico .icon { width: 23px; height: 23px; }
.benefit b { display: block; color: #fff; margin-bottom: 3px; }
.benefit span { font-size: .93rem; line-height: 1.45; }
.price-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 32px 28px; text-align: center; display: grid; gap: 10px; justify-items: center; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); position: relative; }
.price-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, var(--gold-l), transparent 40%, transparent 60%, var(--gold)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pc-label { font: 700 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pc-value { font: 700 4.2rem/1 var(--serif); color: var(--blue-d); letter-spacing: -.03em; display: flex; align-items: flex-start; gap: 4px; }
.pc-value small { font-size: 1.3rem; margin-top: .45em; letter-spacing: 0; }
.pc-value small:last-child { margin-top: .45em; }
.pc-sub { font-weight: 600; color: var(--ink); margin-top: -4px; }
.price-card p { color: var(--muted); font-size: .95rem; margin: 0 0 8px; }
.price-card .btn { margin-top: 2px; }
.price-card.light { box-shadow: var(--shadow); border: 1px solid var(--line); position: sticky; top: 110px; }
.pc-hours { display: grid; gap: 3px; font-size: .9rem; color: var(--muted); background: var(--paper); border-radius: var(--radius); padding: 12px 16px; width: 100%; margin-bottom: 6px; }
.pc-hours .status { color: var(--ink); justify-content: center; }

/* Foto com selo */
.stacked-photo { position: relative; padding: 10px; border: 1px solid var(--gold); background: #fff; }
.stacked-photo img { border-radius: 0; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.split .media.stacked-photo img { aspect-ratio: 4 / 3.4; }
.stacked-photo .since { top: -26px; right: 24px; }

/* Faixa de números */
.statband { background: var(--blue); background: linear-gradient(90deg, var(--blue-d), var(--blue) 50%, #1576b6); color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-b { padding: 34px 20px; text-align: center; }
.stat-b + .stat-b { border-left: 1px solid rgba(255, 255, 255, .18); }
.stat-b strong { display: block; font: 600 clamp(2.2rem, 4vw, 3rem)/1 var(--serif); color: #fff; }
.stat-b > span { display: block; margin-top: 8px; font-size: .92rem; color: #cfd8e5; }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery button {
  all: unset; cursor: zoom-in; position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.gallery button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery button:hover img { transform: scale(1.05); }
.gallery figcaption, .gallery .cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 10px; color: #fff; font-size: .85rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(7, 30, 40, .78));
}
.gallery.mosaic { grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 200px; }
.gallery.mosaic button { aspect-ratio: auto; }
.gallery.mosaic button:first-child { grid-row: span 2; }
.gallery .cap { transition: padding .3s ease; }
.gallery button:hover .cap { padding-bottom: 16px; }
.gallery.large { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery.large button { aspect-ratio: 16 / 10; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(6, 22, 30, .88); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius); }
.lightbox .bar { display: flex; justify-content: space-between; align-items: center; color: #fff; padding: 10px 4px; gap: 12px; }
.lightbox .bar button { background: rgba(255, 255, 255, .14); color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; font: 600 .9rem var(--sans); cursor: pointer; }
.lightbox .bar button:hover { background: rgba(255, 255, 255, .26); }

/* Atendimento virtual */
.band { background: var(--teal); color: #dfe5ee; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000, transparent 70%); pointer-events: none; }
.band .wrap { position: relative; }
.band h2 { color: #fff; }
.band .eyebrow { color: var(--gold-l); }
.band .eyebrow.on-dark { color: #e3cb98; }
.band a:not(.btn) { color: #fff; }
.band-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.band-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 18px; justify-items: start; }
.band-card .logos { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: #fff; padding: 12px 18px; border-radius: 12px; }
.band-card .logos img { height: 34px; width: auto; }
.band-card > * { min-width: 0; max-width: 100%; }
.band-card .btn { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }

/* Visita */
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
.info-list li > span:last-child { overflow-wrap: anywhere; }
.info-list .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--ico-bg); color: var(--blue); display: grid; place-items: center; }
.info-list .ico .icon { width: 22px; height: 22px; }
.info-list b { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.info-list a { color: var(--ink); font-weight: 500; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 380px; box-shadow: var(--shadow); background: var(--sand); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Páginas internas */
.page-hero { background: var(--grad-deep); color: #d5dce7; padding: clamp(48px, 7vw, 92px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; margin-bottom: clamp(24px, 4vw, 48px); }
.page-hero { border-bottom: 3px solid var(--gold); }
/* Seção com fundo branco logo depois do topo: sem a faixa de respiro entre os dois */
.page-hero:has(+ .section.alt) { margin-bottom: 0; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 64px 100%; mask-image: linear-gradient(270deg, #000, transparent 60%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 18em; }
.page-hero .eyebrow { color: var(--gold-l); }
.page-hero .eyebrow::before, .hero-inst .eyebrow::before { background: var(--gold-l); }
.page-hero p { color: #d5dce7; font-size: 1.2rem; max-width: 40em; }
.crumbs { font-size: .88rem; color: #9fb0c8; margin-bottom: 1rem; }
.crumbs a { color: #cfd8e5; }
.page-hero + .section { padding-top: 8px !important; }
.page-hero + .section.alt { padding-top: clamp(40px, 5vw, 64px) !important; }

/* Página ATPV-e */
.hero-atpv { margin-bottom: 0; padding-bottom: clamp(56px, 7vw, 96px); }
.hero-atpv::after { z-index: 0; }
.hero-atpv h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.05; }
.atpv-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: #fff; font-weight: 600; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45em; }
.hero-points .icon { width: 1.1em; height: 1.1em; color: var(--gold-l); }
.hero-atpv + .section { padding-top: clamp(56px, 8vw, 104px) !important; }
.vcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px; transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden; }
.vcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.vcard:hover { transform: none; box-shadow: 0 24px 44px -26px rgba(18, 40, 74, .55); }
.vcard:hover::before { transform: scaleX(1); }
.vcard .ico { width: 54px; height: 54px; border-radius: 50%; background: var(--teal); color: var(--gold-l); display: grid; place-items: center; margin-bottom: 16px; }
.vcard .ico .icon { width: 27px; height: 27px; }
.vcard h3 { font: 600 1.15rem/1.3 var(--serif); margin-bottom: .4em; }
.vcard p { margin: 0; color: var(--muted); font-size: .95rem; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: f; position: relative; }
.flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px); z-index: 0; }
.flow li { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; text-align: center; gap: 6px; padding: 0 8px; }
.flow .n { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); color: var(--blue-d); display: grid; place-items: center; font: 700 1.35rem/1 var(--serif); box-shadow: 0 0 0 8px var(--white); margin-bottom: 8px; }
.flow li:last-child .n { background: var(--blue); color: #fff; border-color: var(--blue); }
.flow b { font-size: 1.02rem; }
.flow span:last-child { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.who { border-radius: var(--radius-lg); padding: 28px; }
.who h3 { display: flex; align-items: center; gap: .5em; font: 700 1.15rem/1.2 var(--sans); }
.who h3 .icon { width: 30px; height: 30px; padding: 5px; border-radius: 50%; }
.who.yes { background: #e9f5ef; border: 1px solid #bfe0cf; }
.who.yes h3 .icon { background: var(--ok); color: #fff; }
.who.yes p { font-size: 1.05rem; margin: 0; }
.who.no { background: #fbeee9; border: 1px solid #efcdc2; }
.who.no h3 .icon { background: var(--closed); color: #fff; }
.who.no ul { margin: 0; padding-left: 1.1em; display: grid; gap: .3rem; }
.bring { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 12px; }
.bring li { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.bring .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--ico-bg); color: var(--blue); display: grid; place-items: center; flex: none; }
.bring .ico .icon { width: 23px; height: 23px; }
.bring b { display: block; }
.bring span span, .bring li > span:last-child { color: var(--muted); font-size: .93rem; }
.bring li > span:last-child b { color: var(--ink); font-size: 1rem; }
/* Página Serviços */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fcard { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.fcard .ico { width: 60px; height: 60px; border-radius: 50%; background: var(--ico-bg); color: var(--blue); display: grid; place-items: center; }
.fcard .ico .icon { width: 30px; height: 30px; }
.fcard h2 { font-size: 1.6rem; margin: 6px 0 0; max-width: 16em; }
.fcard p { margin: 0; color: var(--muted); }
.fcard > .tag-new, .fcard > .pill { position: absolute; top: 28px; right: 28px; }
.fc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }
.fcard-hot { background: var(--grad-deep); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(18, 40, 74, .7); }
.fcard-hot h2, .fcard-hot strong { color: #fff; }
.fcard-hot p { color: #cfd8e5; }
.fcard-hot .ico { background: var(--gold); color: var(--deep); }
.fc-price { border: 1px dashed rgba(244, 197, 106, .7); border-radius: 12px; padding: 10px 14px; }
.fc-price strong { color: var(--gold-l) !important; font: 700 1.3rem/1 var(--serif); margin-right: 4px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.scard { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease; }
.scard:hover { transform: none; box-shadow: 0 24px 44px -28px rgba(18, 40, 74, .5); }
.scard .ico { width: 50px; height: 50px; border-radius: 50%; background: var(--teal); color: var(--gold-l); display: grid; place-items: center; }
.scard .ico .icon { width: 25px; height: 25px; }
.scard h3 { font: 600 1.15rem/1.3 var(--serif); margin: 4px 0 0; }
.scard p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.scard > .channel, .sc-links { margin-top: 6px; }
.sc-links { display: flex; flex-wrap: wrap; gap: 8px; }
.scard .channel { font-size: .85rem; }
.scard > span[id] { position: absolute; }
.sc-digital { display: flex; gap: 10px; align-items: flex-start; flex: none !important; margin: 2px 0 0 !important; padding: 10px 12px; width: 100%; background: #f1f4f8; border: 1px solid #d6dfeb; border-radius: 10px; font-size: .88rem !important; color: var(--ink) !important; line-height: 1.4; }
.sc-digital .icon { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 1px; }
.sc-prices { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; display: grid; gap: 6px; }
.sc-prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.sc-prices b { color: var(--blue-d); font-size: .98rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.feat-grid.solo { grid-template-columns: minmax(0, 1fr); }
.feat-grid.solo .fcard { display: grid; grid-template-columns: auto 1fr auto; column-gap: 24px; align-items: center; }
.feat-grid.solo .fcard .ico { grid-row: span 2; }
.feat-grid.solo .fcard h2 { margin: 0; max-width: none; }
.feat-grid.solo .fcard p { grid-column: 2; }
.feat-grid.solo .fcard .fc-actions { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; }
.feat-grid.solo .fcard > .pill { position: static; grid-column: 2; justify-self: start; }
.scard-cta { background: var(--grad-deep); border-color: transparent; }
.svc-grid .scard-cta { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 20px; align-items: center; }
.svc-grid .scard-cta h3 { grid-column: 2; margin: 0; }
.svc-grid .scard-cta .ico { grid-row: 1 / span 2; }
.svc-grid .scard-cta p { grid-column: 2; }
.svc-grid .scard-cta .sc-links { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
.scard-cta h3 { color: #fff; }
.scard-cta p { color: #cfd8e5; }
.scard-cta .ico { background: var(--gold); color: var(--deep); }

/* Serviços on-line (e-Notariado) */
.online-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
/* Cinco cartões do mesmo tamanho na mesma linha */
.online-grid.dupla { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.online-grid.dupla .ocard { padding: 22px 20px; }
.online-grid.dupla .ocard .tag-new { position: static; align-self: flex-start; }
@media (max-width: 1180px) {
  .online-grid.dupla { grid-template-columns: 1fr 1fr; }
}
.ocard { position: relative; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ocard:hover { color: var(--ink); transform: none; border-color: transparent; box-shadow: 0 24px 44px -26px rgba(18, 40, 74, .55); }
.ocard .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--ico-bg); color: var(--blue); display: grid; place-items: center; }
.ocard .ico .icon { width: 26px; height: 26px; }
.ocard h3 { font: 600 1.15rem/1.3 var(--serif); margin: 4px 0 0; }
.ocard p { margin: 0; color: var(--muted); font-size: .93rem; flex: 1; }
.ocard .go { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--blue); font-size: .92rem; }
.ocard .go .icon { width: 1em; height: 1em; }
.ocard .tag-new { position: absolute; top: 20px; right: 18px; }
.ocard-hot { background: var(--grad-deep); color: #fff; border-color: transparent; }
.ocard-hot:hover { color: #fff; }
.ocard-hot .ico { background: var(--gold); color: var(--deep); }
.ocard-hot h3 { color: #fff; }
.ocard-hot p { color: #cfd8e5; }
.ocard-hot .go { color: var(--gold-l); }
.online-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.oline { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.oline:hover { color: var(--ink); border-color: var(--blue); }
.oline .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--ico-bg); color: var(--blue); display: grid; place-items: center; flex: none; }
.oline .ico .icon { width: 22px; height: 22px; }
.oline > span:nth-child(2) { flex: 1; font-size: .9rem; color: var(--muted); line-height: 1.4; }
.oline b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.oline > .icon { color: var(--blue); width: 18px; height: 18px; flex: none; }
.home-online { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.home-online .online-grid { grid-template-columns: 1fr 1fr; }
.svc-hot { background: #fff; border: 2px solid var(--gold) !important; border-radius: var(--radius-lg); padding: 32px !important; margin-bottom: 24px; box-shadow: 0 24px 50px -30px rgba(185, 127, 23, .55); }
.svc.svc-hot .ico { background: var(--grad-deep); color: var(--gold-l); }
.svc-hot + .svc { border-top: 0; }
.custas tr.hot td { background: #fff8e8; }
.custas tr.hot a { font-weight: 700; color: var(--blue-d); }
.svc { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 4vw, 56px); padding: 40px 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }
.svc .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--ico-bg); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.svc .ico .icon { width: 28px; height: 28px; }
.svc h2 { font-size: 1.6rem; }
.svc .body p { color: var(--muted); }
.channel { display: inline-flex; align-items: center; gap: .6em; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .55em 1.1em; font-weight: 600; text-decoration: none; color: var(--ink); }
.channel:hover { border-color: var(--blue); color: var(--blue); }
.channel .icon { width: 1.1em; height: 1.1em; color: var(--blue); }
.slot {
  border: 2px dashed #c9c1ad; border-radius: var(--radius); padding: 16px 18px; margin-top: 18px; background: rgba(255, 255, 255, .55);
  font-size: .95rem; color: var(--muted);
}
.slot b { color: var(--ink); display: block; margin-bottom: 2px; }
.pill { display: inline-block; font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: .4em .7em; border-radius: 2px; background: #fdf0d4; color: #7a5311; vertical-align: middle; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 6px; align-content: start; }
.ccard h3 { font: 600 1.15rem/1.3 var(--serif); margin: 0; }
.ccard p { margin: 0; color: var(--muted); font-size: .93rem; }
.ccard a { font-weight: 600; word-break: break-all; }

/* Formulário */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: .75em .95em; border: 1px solid #b9b3a3; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(58, 111, 176, .35); border-color: var(--blue); }

/* Seletor de setores: visual próprio, inclusive no celular. */
.setor-seletor { position: relative; min-width: 0; }
.setor-botao {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 52px; padding: 12px 15px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink);
  font: inherit; font-size: 1rem; line-height: 1.4; text-align: left; cursor: pointer;
}
.setor-botao::after {
  content: ""; width: 8px; height: 8px; margin: -4px 3px 0 0; flex: none;
  border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.setor-botao[aria-expanded="true"] { border-color: var(--blue); }
.setor-botao[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 4px; }
.setor-botao:focus-visible, .setor-opcao:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.setor-opcoes {
  position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; right: 0;
  padding: 6px; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22); scrollbar-width: thin;
}
.setor-opcoes[hidden] { display: none; }
.setor-acima .setor-opcoes { top: auto; bottom: calc(100% + 8px); }
.setor-opcao {
  position: relative; display: block; width: 100%; min-height: 54px;
  padding: 12px 42px 12px 12px; border: 0; border-radius: 7px;
  background: transparent; color: var(--ink); font: inherit; font-size: 1rem;
  line-height: 1.35; text-align: left; cursor: pointer; touch-action: manipulation;
}
.setor-opcao + .setor-opcao { margin-top: 3px; }
.setor-opcao strong { display: block; font-weight: 600; }
.setor-opcao span { display: block; margin-top: 3px; font-size: .875rem; color: var(--muted); }
.setor-opcao:hover, .setor-opcao:focus-visible, .setor-opcao[aria-selected="true"] { background: var(--paper); }
.setor-opcao[aria-selected="true"]::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 12px;
  border: solid var(--blue); border-width: 0 2px 2px 0; transform: translateY(-65%) rotate(45deg);
}
.hint { font-size: .88rem; color: var(--muted); }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .95rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-tipo="ok"] { color: var(--ok); }
.form-status[data-tipo="erro"] { color: var(--closed); }
.req { color: #a12a2a; font-weight: 700; }
.form-obrig { margin: 0; font-size: .92rem; color: var(--muted); }
.field [aria-invalid="true"] { border-color: var(--closed); }
/* Trabalhe conosco: anexo do PDF e caixa de concordância */
.field input[type="file"] {
  padding: 8px; min-width: 0; border: 1px dashed var(--line); border-radius: 8px;
  background: var(--paper); color: var(--muted); font-size: .95rem; cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  min-height: 44px; margin: 0 12px 0 0; padding: 10px 14px;
  border: 0; border-radius: 6px; background: var(--blue); color: var(--white);
  font: 600 .95rem/1.3 var(--sans); cursor: pointer;
}
.field input[type="file"]:hover::file-selector-button { background: var(--blue-d); }
.field input[type="file"]:disabled, .field input[type="file"]:disabled::file-selector-button {
  cursor: not-allowed; opacity: .65;
}
.consentimento { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.45; }
.consentimento input { width: 18px; height: 18px; margin: .2em 0 0; flex: none; accent-color: var(--blue); }
.consentimento input[aria-invalid="true"] { outline: 2px solid var(--closed); outline-offset: 2px; }

/* Trabalhe conosco */
.email-destaque { display: flex; align-items: center; gap: 14px; margin: 18px 0; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); }
.email-destaque .ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--gold-d); border: 1px solid var(--line); }
.email-destaque .ico .icon { width: 22px; height: 22px; }
.email-destaque a { font: 600 1.15rem/1.3 var(--serif); color: var(--teal); text-decoration: none; overflow-wrap: anywhere; min-width: 0; }
.email-destaque a:hover { text-decoration: underline; }
.acoes-email { display: flex; flex-wrap: wrap; gap: 10px; }
.acoes-email + .hint { min-height: 1.4em; margin: 8px 0 0; }
.passos { margin: 10px 0 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--muted); }
.passos b { color: var(--ink); }

/* Custas */
.toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar .field { flex: 1 1 280px; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
table.custas { width: 100%; border-collapse: collapse; font-size: .98rem; }
.custas th { text-align: left; font: 600 .78rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; padding: 16px 20px; background: var(--teal); border-bottom: 1px solid var(--line); }
.custas td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.custas tr:last-child td { border-bottom: 0; }
.custas td.val { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.custas td small { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; }
.custas .none { color: #6b6556; font-weight: 500; }
.notice { display: flex; gap: 14px; background: #fdf6e3; border: 1px solid #ecd9a6; border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; font-size: .95rem; }
.notice .icon { color: #9a6b12; margin-top: .2em; }

/* Política */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; padding-top: .4em; }
.prose h3 { font: 600 1.05rem/1.3 var(--sans); margin: 1.6em 0 .4em; }
.prose p, .prose li { color: #22333e; font-size: 1rem; }
.prose .n { color: var(--blue); font-weight: 600; margin-right: .4em; font-variant-numeric: tabular-nums; }
.doc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: .92rem; border-left: 2px solid var(--line); padding-left: 16px; display: grid; gap: 2px; }
.toc a { color: var(--muted); text-decoration: none; line-height: 1.35; padding-block: 4px; }
.toc a:hover { color: var(--blue); }

/* Rodapé */
.site-footer { background: var(--deep); color: #c3cddb; padding: 64px 0 28px; border-top: 3px solid var(--gold); }
.site-footer .delegacao { font-size: .86rem; color: #9fb0c8; border-left: 2px solid var(--gold); padding-left: 12px; margin-top: 1.2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h2 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 1.1rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .96rem; }
.site-footer .logo-box { display: inline-block; margin-bottom: 16px; }
.site-footer .logo-box img { height: 42px; width: auto; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }
.footer-bottom a { color: #c3cddb; }
.footer-credito { margin: 18px 0 0; text-align: center; font-size: .78rem; letter-spacing: .06em; }
.footer-credito a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; color: #8e9bb0; text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.footer-credito b { color: #d5dce7; font-weight: 600; letter-spacing: .02em; transition: color .2s ease; }
.footer-credito svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.footer-credito a:hover { color: var(--gold-l); border-color: rgba(168, 132, 67, .55); }
.footer-credito a:hover b { color: var(--gold-l); }
.footer-credito a:hover svg { transform: translate(2px, -2px); }

/* Assistente virtual */
.assist-fab {
  position: fixed; right: 20px; bottom: calc(20px + var(--sobe-fab, 0px)); z-index: 85;
  display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  background: var(--teal); color: #fff; border-radius: var(--radius); border-bottom: 3px solid var(--gold); padding: 13px 20px 13px 16px;
  font: 600 .95rem/1 var(--sans); box-shadow: 0 16px 34px -12px rgba(18, 40, 74, .7); transition: bottom .3s ease, transform .2s ease;
}
.assist-fab:hover { transform: translateY(-2px); }
.assist-fab .icon { width: 24px; height: 24px; }

@keyframes pulso { 0% { opacity: 1; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.18); } }
.assist-aberto .assist-fab { display: none; }
.assist {
  position: fixed; right: 20px; bottom: 20px; z-index: 95; width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100vh - 40px));
  display: flex; flex-direction: column; background: var(--paper); border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 80px -24px rgba(18, 40, 74, .55), 0 0 0 1px rgba(18, 40, 74, .08); animation: abrirAssist .25s cubic-bezier(.2, .7, .2, 1);
}
.assist[hidden] { display: none; }
@keyframes abrirAssist { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.assist-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: var(--grad-deep); color: #fff; }
.assist-head .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--deep); display: grid; place-items: center; flex: none; }
.assist-head .avatar .icon { width: 22px; height: 22px; }
.assist-head div { flex: 1; min-width: 0; line-height: 1.25; }
.assist-head b { display: block; font-size: 1rem; }
.assist-head small { color: #b9c6d8; font-size: .8rem; }
.assist-close { background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.assist-close:hover { background: rgba(255, 255, 255, .24); }
.assist-close .icon { width: 18px; height: 18px; }
.assist-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; }
.msg.ele { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.eu { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.msg ul { margin: .4em 0 0; padding-left: 1.1em; }
.msg small { color: var(--muted); }
.msg a { font-weight: 600; }
.msg.digitando { display: inline-flex; gap: 4px; padding: 14px 16px; }
.msg.digitando i { width: 7px; height: 7px; border-radius: 50%; background: #9fb2bd; animation: pontinho 1s ease-in-out infinite; }
.msg.digitando i:nth-child(2) { animation-delay: .15s; }
.msg.digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes pontinho { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: .35em; border: 1.5px solid var(--blue); background: #fff; color: var(--blue); cursor: pointer;
  border-radius: 999px; padding: .45em .85em; font: 600 .82rem/1.2 var(--sans); text-decoration: none; transition: background-color .15s ease, color .15s ease;
}
.chip:hover { background: var(--blue); color: #fff; }
.chip .icon { width: 1em; height: 1em; }
.assist-form { display: flex; gap: 8px; padding: 12px 12px 6px; background: #fff; border-top: 1px solid var(--line); }
.assist-form input { flex: 1; min-width: 0; font: inherit; font-size: .95rem; padding: .7em 1em; border: 1.5px solid #cfc8b6; border-radius: 999px; background: var(--paper); color: var(--ink); }
.assist-form input:focus { outline: 3px solid rgba(58, 111, 176, .3); border-color: var(--blue); }
.assist-form button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gold); color: var(--deep); display: grid; place-items: center; cursor: pointer; }
.assist-form button .icon { width: 20px; height: 20px; }
.assist-note { margin: 0; padding: 4px 16px 12px; background: #fff; font-size: .72rem; color: var(--muted); text-align: center; line-height: 1.35; }
.chat-preview { display: grid; gap: 8px; }
.chat-preview .msg { font-size: .88rem; color: var(--ink); }
.chat-preview .msg.eu { color: #fff; }

/* Modo apresentação: sem assistente virtual (ver MODO_DEMO em site.js) */
.modo-demo [data-assistente], .modo-demo li:has(> [data-assistente]) { display: none !important; }
/* Assistente virtual desligado (ASSISTENTE_ATIVO = false em build.js) */
.sem-assistente [data-assistente], .sem-assistente li:has(> [data-assistente]), .sem-assistente .ccard:has(> [data-assistente]) { display: none !important; }
@media (min-width: 601px) { .sem-assistente .quick-grid.doors { grid-template-columns: repeat(2, 1fr); } }
.modo-demo .quick-grid.doors { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .modo-demo .quick-grid.doors { grid-template-columns: 1fr; } }

/* Aviso do modo demonstração */
.demo-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 12px); z-index: 90;
  background: var(--teal); color: #fff; padding: 12px 22px; border-radius: var(--radius); border-left: 3px solid var(--gold);
  font: 600 .92rem/1.3 var(--sans); box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  max-width: min(420px, calc(100% - 32px)); text-align: center;
}
.demo-toast[data-show="true"] { opacity: 1; transform: translate(-50%, 0); }

/* Cookies */
.cookies {
  position: fixed; inset: auto 16px 16px 16px; z-index: 80; max-width: 720px; margin-inline: auto;
  background: var(--teal); border-top: 3px solid var(--gold); color: #e7eef2; border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .5);
  display: none; gap: 16px; align-items: center; font-size: .92rem; line-height: 1.5;
}
.cookies[data-show="true"] { display: flex; }
.cookies a { color: #fff; }
.cookies .actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }

/* Proposta */
.prop-cover { background: var(--teal); color: #dfe5ee; padding: clamp(48px, 8vw, 110px) 0; position: relative; overflow: hidden; }

.prop-cover h1 { color: #fff; max-width: 15em; }
.prop-cover .eyebrow { color: var(--gold-l); }
.prop-cover p { max-width: 38em; font-size: 1.2rem; }
.prop-cover .meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2rem; position: relative; z-index: 1; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.col { border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); background: #fff; }
.col.before { background: #f4efe4; }
.col.after { border-color: var(--blue); box-shadow: var(--shadow); }
.col h3 { display: flex; align-items: center; gap: .6em; }
.col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.col li { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: .98rem; line-height: 1.5; }
.col li .icon { margin-top: .15em; }
.col.before li .icon { color: var(--closed); }
.col.after li .icon { color: var(--ok); }
.col li small { display: block; color: var(--muted); }
.sitemap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.node { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); display: block; }
.node:hover { border-color: var(--blue); color: var(--ink); }
.node b { display: block; font-size: 1.02rem; }
.node span { color: var(--muted); font-size: .9rem; line-height: 1.4; display: block; margin-top: 3px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; list-style: none; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps b { display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: .94rem; line-height: 1.5; display: block; }
.todo { columns: 2; column-gap: 40px; }
.todo li { break-inside: avoid; margin-bottom: .55rem; }

/* Responsivo */
@media (max-width: 980px) {
  .hero-grid, .split, .band-grid, .visit-grid, .compare { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .hours-card { left: 12px; }
  .quick-grid, .contact-cards, .sitemap { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr; gap: 10px; }
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .slide-inner, .atpv-grid, .atpv-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .slide-inner { padding-block: 48px 104px; min-height: 0; }
  .slide-atpv .slide-art { min-height: 0; margin-top: 8px; }
  .slide-atpv .slide-art .phone { width: 200px; }
  .atpv-hero-grid .slide-art { display: none; }
  .quick-grid, .vcards, .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-b:nth-child(3) { border-left: 0; }
  .stat-b:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .18); }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .flow::before { display: none; }
  .who-grid { grid-template-columns: 1fr; }
  .price-card.light { position: relative; top: auto; }
  .gallery.mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .online-grid { grid-template-columns: 1fr 1fr; }
  .home-online { grid-template-columns: minmax(0, 1fr); }
  .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .slide-atpv .slide-art { display: none; }
  .infostrip-card { grid-template-columns: 1fr; }
  .is-item + .is-item { border-left: 0; border-top: 1px solid var(--line); }
  .is-item { padding: 14px 18px; }
}
@media (max-width: 1100px) {
  .site-header { top: 0; }
  .brandbar .wrap { min-height: 74px; }
  .brand-contact { display: none; }
  .head-actions { display: flex; }
  .nav-toggle { display: inline-flex; }
  .navbar { border-bottom-width: 2px; }
  .navbar .wrap { width: 100%; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; background: var(--teal); flex-direction: column; align-items: stretch; padding: 8px 16px 18px; min-height: 0;
    box-shadow: 0 20px 40px -20px rgba(12, 28, 54, .6); display: none; max-height: calc(100vh - 80px); overflow-y: auto; border-bottom: 3px solid var(--gold);
  }
  /* O menu ocupa até o fim da tela e só ele rola, inclusive no Safari do celular. */
  html.menu-aberto { overflow: hidden; overscroll-behavior: none; }
  html.menu-aberto body { position: fixed; top: var(--menu-rolagem); width: 100%; overflow: hidden; }
  html.menu-aberto .site-header { position: fixed; inset: 0 0 auto; }
  .nav[data-open="true"] {
    display: flex; position: fixed; inset: var(--menu-topo) 0 0;
    max-height: none; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
  .nav > * { flex-shrink: 0; }
  .nav a.link { padding: .85em .6em; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav a.link[aria-current="page"]::after { left: 0; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .nav-cta { margin: 14px 0 0; justify-content: center; }
  .has-sub { flex-wrap: wrap; }
  .has-sub .link { flex: 1; }
  .sub-toggle { display: none; }
  .submenu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; background: transparent; }
  .submenu::before { display: none; }
  .submenu a { padding: 8px 10px; color: #e6ebf2; }
  .submenu a:hover, .submenu a[aria-current="page"] { background: rgba(255, 255, 255, .08); color: #fff; }
  .submenu b { color: inherit; font-weight: 500; }
  .submenu small { display: none; }
  .sm-ico { width: 30px; height: 30px; background: rgba(255, 255, 255, .08); color: var(--gold-l); }
  .sm-ico .icon { width: 17px; height: 17px; }
  .navbar { position: relative; }
}
@media (max-width: 980px) {
  .hero-inst-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-inst-photo { max-width: 460px; width: calc(100% - 56px); margin-inline: auto; }
  .hero-inst-grid { padding-bottom: 150px; }
  }
@media (max-width: 760px) {
  .brand-text { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand img { height: 42px; }
  .nav-toggle span { display: none; }
  .hero-inst-photo { display: none; }
  .hero-inst-grid { padding-bottom: 96px; }
  .topbar { display: none; }
  .head-call { display: grid; }
  .only-sm { display: inline; }
  .svc-grid { grid-template-columns: 1fr; }
  .fcard { padding: 26px 22px; }
  .feat-grid.solo .fcard, .svc-grid .scard-cta { display: flex; flex-direction: column; align-items: flex-start; }
  .fcard > .tag-new, .fcard > .pill { top: 22px; right: 20px; }
  .quick-grid, .contact-cards, .sitemap, .steps, .facts, .form .row, .footer-grid { grid-template-columns: 1fr; }
  .gallery.large { grid-template-columns: 1fr; }
  .since { width: 96px; height: 96px; top: 12px; right: 4px; }
  .since strong { font-size: 1.6rem; }
  .hours-card { position: static; width: 100%; margin-top: -40px; margin-left: 0; }
  .hero-visual .photo { border-radius: 140px 140px var(--radius-lg) var(--radius-lg); }
  .cookies { flex-direction: column; align-items: stretch; }
  .todo { columns: 1; }
  .custas th:nth-child(3), .custas td:nth-child(3) { display: none; }
  .custas th:nth-child(2), .custas td:nth-child(2) { display: none; }
  .quick-grid, .vcards, .benefits, .flow, .online-grid, .home-online .online-grid, .online-list, .online-grid.dupla { grid-template-columns: 1fr; }
  .online-grid.dupla > :last-child { grid-column: auto; }
  .tile { flex-direction: row; align-items: center; padding: 16px 48px 16px 16px; }
  .tile .arrow { top: 50%; transform: translateY(-50%); }
  .tile:hover .arrow { transform: translate(3px, -50%); }
  .slide-copy h1, .slide-copy h2 { font-size: 2.3rem; }
  .slide-copy p { font-size: 1.02rem; }
  .slide-inner { padding-block: 36px 150px; }
  .slider-ui { bottom: 76px; }
  .arrow-btn { width: 40px; height: 40px; }
  .arrow-btn[data-slide="pause"] { display: none; }
  .pc-value { font-size: 3.4rem; }
  .gallery.mosaic { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery.mosaic button:first-child { grid-row: auto; }
  .stacked-photo .since { right: 8px; }
  .svc-hot { padding: 22px !important; }
  .assist-fab { right: 14px; padding: 14px; }
  .assist-fab .fab-label { display: none; }
  .assist { right: 0; bottom: 0; width: 100%; height: min(92dvh, 680px); border-radius: 22px 22px 0 0; }
}
/* Casamento: formulário que gera o PDF oficial preenchido */
.cf { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.cf-corpo { display: grid; gap: 22px; min-width: 0; }
.cf-bloco { margin: 0; padding: 0 26px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; min-width: 0; }
.cf-bloco legend { float: left; width: calc(100% + 52px); margin: 0 -26px 22px; padding: 14px 26px; background: var(--teal); color: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; font: 600 1.15rem/1.3 var(--serif); display: flex; align-items: center; gap: 12px; }
.cf-bloco legend + * { clear: left; }
.cf-num { font: 700 .8rem/1 var(--sans); letter-spacing: .08em; color: var(--gold-l); }
.fgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px 16px; }
.fgrid .s2 { grid-column: span 2; } .fgrid .s3 { grid-column: span 3; } .fgrid .s4 { grid-column: span 4; } .fgrid .s6 { grid-column: span 6; }
.fgrid .s8 { grid-column: span 8; } .fgrid .s9 { grid-column: span 9; } .fgrid .s12 { grid-column: span 12; }
.cf .field label { font-size: .88rem; }
.cf .field input { padding: .6em .8em; }
.cf .field small { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.cf .field input:user-invalid { border-color: var(--closed); }
.cf-grupo { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); }
.cf-grupo h3 { font: 600 .82rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); margin: 0 0 14px; }
.cf-regime { margin-top: 20px; }
.cf-rotulo { font-weight: 600; font-size: .88rem; margin: 0 0 8px; }
.cf-opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cf-opcao, .cf-check { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #b9b3a3; border-radius: var(--radius); background: #fff; cursor: pointer; font-size: .97rem; line-height: 1.35; }
.cf-opcao:has(input:checked) { border-color: var(--blue); background: var(--ico-bg); box-shadow: inset 0 0 0 1px var(--blue); }
.cf-opcao input, .cf-check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--blue); }
.cf-regime .hint { margin: 10px 0 0; }
.cf-ciencia { background: #f4f0e7; border: 1px solid #e3d8bf; border-radius: var(--radius-lg); padding: 24px 26px; }
.cf-ciencia h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: .5em; }
.cf-ciencia h3 .icon { color: var(--gold-d); }
.cf-ciencia p { color: var(--ink); font-size: .97rem; }
.cf-check { display: inline-flex; font-weight: 600; }
.cf-acoes { position: sticky; top: 76px; display: grid; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.cf-acoes h3 { font-size: 1.15rem; margin: 0 0 4px; }
.cf-acoes .btn { justify-content: flex-start; }
.cf-acoes .btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.cf-acoes .hint { margin: 0; font-size: .84rem; }
.cf-status { margin: 0; font-size: .9rem; line-height: 1.45; }
.cf-status:empty { display: none; }
.cf-status[data-tipo="ok"] { color: var(--ok); }
.cf-status[data-tipo="erro"] { color: var(--closed); }
.cf-limpar { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 980px) {
  .cf { grid-template-columns: minmax(0, 1fr); }
  .cf-acoes { position: sticky; top: auto; bottom: 0; z-index: 5; border-radius: var(--radius-lg) var(--radius-lg) 0 0; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
  .cf-acoes h3, .cf-acoes .hint { display: none; }
  .cf-acoes .cf-status { grid-column: 1 / -1; order: -1; }
  .cf-acoes .btn { justify-content: center; padding-inline: .5em; }
  .cf-longo { display: none; }
  body:has(.cf-acoes) .assist-fab { bottom: 96px; }
}
@media (hover: none) { .cf-acoes .btn-ghost:hover { background: transparent; color: var(--ink); } }
@media (max-width: 600px) {
  .cf-bloco { padding: 0 16px 20px; }
  .cf-bloco legend { width: calc(100% + 32px); margin-inline: -16px; padding-inline: 16px; }
  .fgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .fgrid .s2, .fgrid .s3, .fgrid .s4 { grid-column: span 3; }
  .fgrid .s6, .fgrid .s8, .fgrid .s9, .fgrid .s12 { grid-column: span 6; }
  .cf-opcoes { grid-template-columns: 1fr; }
  .cf-acoes { gap: 8px; padding: 10px; }
  .cf-acoes .btn { font-size: .92rem; gap: .35em; }
}
@media (max-width: 420px) {
  .cf-acoes .btn { white-space: nowrap; padding-inline: .3em; }
  .cf-acoes .btn .icon { display: none; }
  .cf-ciencia { padding: 20px 18px; }
}
/* Casamento: guia de dúvidas */
.tile.cg-guia { flex-direction: row; align-items: center; max-width: 620px; margin-top: 18px; padding-right: 56px; }
.tile.cg-guia .arrow { top: 50%; transform: translateY(-50%); }
.tile.cg-guia:hover .arrow { transform: translate(3px, -50%); }
.cg-atalhos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.cg-atalhos a { padding: .5em 1em; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--teal); font-weight: 600; font-size: .92rem; text-decoration: none; }
.cg-atalhos a:hover { border-color: var(--blue); color: var(--blue); }
.cg-bloco { padding-top: clamp(32px, 4vw, 48px); }
.cg-bloco > h3, .cg-bloco > .cg-titulo { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: .7em; }
.cg-bloco > h3::after, .cg-bloco > .cg-titulo::after { content: ""; display: block; width: 44px; height: 2px; background: var(--gold); margin-top: .4em; }
.cg-intro { color: var(--muted); max-width: 46em; }
.cg-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cg-cards.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .cg-cards.tres { grid-template-columns: 1fr; } }
.cg-card { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 20px 22px; }
.cg-card h3, .cg-card h4, .cg-pacto h3, .cg-pacto h4 { font: 600 1.15rem/1.3 var(--serif); color: var(--teal); margin: 0 0 .4em; }
.cg-card p { margin: 0; color: var(--muted); font-size: .97rem; }
.cg-prazos { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1rem; }
.cg-prazos .fact { background: #fff; }
.cg-prazos .fact strong { font-size: 1.45rem; }
.cg-acc { display: grid; gap: 10px; }
.cg-acc details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cg-acc summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 600; color: var(--teal); position: relative; }
.cg-acc summary::-webkit-details-marker { display: none; }
.cg-acc summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 400 1.5rem/1 var(--sans); color: var(--gold-d); }
.cg-acc details[open] summary::after { content: "−"; }
.cg-acc details[open] summary { border-bottom: 1px solid var(--line); }
.cg-acc details > :not(summary) { margin-inline: 20px; }
.cg-acc details > ul, .cg-acc details > ol { padding-left: 1.3em; margin-block: 14px; display: grid; gap: 6px; }
.cg-acc details > p { margin-block: 12px; }
.cg-acc details > :last-child { margin-bottom: 16px; }
.cg-regimes td:first-child { width: 24%; }
.cg-regimes td:last-child { width: 20%; }
.cg-regimes td small { color: var(--muted); }
.cg-pacto { margin-top: 16px; background: #f4f0e7; border: 1px solid #e3d8bf; border-radius: var(--radius-lg); padding: 20px 24px; }
.cg-pacto p { margin: 0; }
@media (max-width: 980px) { .cg-prazos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .cg-cards, .cg-prazos { grid-template-columns: 1fr; }
  .cg-regimes, .cg-regimes tbody, .cg-regimes tr, .cg-regimes td { display: block; width: auto !important; }
  .cg-regimes thead { display: none; }
  .cg-regimes tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .cg-regimes td:nth-child(n) { display: block; padding: 2px 0; border: 0; }
  .cg-regimes td:last-child { margin-top: 6px; }
  .cg-regimes td:last-child::before { content: "Pacto antenupcial: "; color: var(--muted); }
}
@media print { .cg-acc details > :not(summary) { display: block; } }
/* Dynamic Island (inspirada na Cult UI): status no topo do celular e avisos do formulário de casamento */
.ilha-topo { display: none; }
.ilha { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: 300px; max-width: calc(100vw - 32px); height: 40px; border-radius: 22px;
        background: #0b0f17; color: #fff; overflow: hidden; box-shadow: 0 10px 30px -12px rgba(10, 20, 40, .6), inset 0 0 0 1px rgba(255, 255, 255, .06);
        transition: width .5s cubic-bezier(.34, 1.4, .64, 1), height .5s cubic-bezier(.34, 1.4, .64, 1), border-radius .5s cubic-bezier(.34, 1.4, .64, 1), opacity .3s ease, transform .4s cubic-bezier(.34, 1.4, .64, 1); }
.ilha-v { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; padding: 0 16px; opacity: 0; transform: scale(.94); filter: blur(4px); pointer-events: none;
          transition: opacity .22s ease, transform .3s ease, filter .22s ease; }
.ilha[data-estado="compacto"] .ilha-v-compacto, .ilha[data-estado="aberto"] .ilha-v-aberto, .ilha[data-estado="gerando"] .ilha-v-gerando,
.ilha[data-estado="pronto"] .ilha-v-pronto, .ilha[data-estado="erro"] .ilha-v-pronto { opacity: 1; transform: none; filter: none; pointer-events: auto; transition-delay: .1s; }
.ilha .status { color: #fff; font: 600 .86rem/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ilha .status[data-open="true"]::before { background: #3fd08a; box-shadow: 0 0 0 4px rgba(63, 208, 138, .2); }
.ilha .icon { width: 15px; height: 15px; }
.ilha-v-compacto { border: 0; background: none; color: inherit; cursor: pointer; font: inherit; width: 100%; text-align: left; }
.ilha-seta { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; flex: none; }
.ilha[data-estado="aberto"] { width: 400px; height: 180px; border-radius: 30px; }
.ilha-v-aberto { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 12px; padding: 16px 18px; }
.ilha-linha { display: flex; align-items: center; gap: 10px; }
.ilha-fechar { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.ilha-horas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ilha-horas div { background: rgba(255, 255, 255, .07); border-radius: 14px; padding: 9px 12px; }
.ilha-horas small { display: block; color: #9aa7b8; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.ilha-horas strong { font: 600 .95rem/1.3 var(--sans); }
.ilha-acoes { display: flex; gap: 8px; }
.ilha-acoes a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 999px; font: 600 .84rem/1 var(--sans); text-decoration: none; background: rgba(255, 255, 255, .1); color: #fff; }
.ilha-acoes a:first-child { background: #3fd08a; color: #06301d; }
@media (max-width: 600px) {
  .ilha-topo { display: block; position: relative; z-index: 60; height: 56px; background: var(--paper); }
  .topbar { display: none; }
}
/* Aviso do formulário de casamento (fica fixo no topo enquanto gera o PDF) */
.ilha.ilha-aviso { position: fixed; top: 14px; z-index: 95; width: 270px; height: 48px; opacity: 0; transform: translate(-50%, -24px) scale(.9); pointer-events: none; }
.ilha.ilha-aviso.visivel { opacity: 1; transform: translate(-50%, 0); }
.ilha.ilha-aviso[data-estado="pronto"], .ilha.ilha-aviso[data-estado="erro"] { width: 380px; height: 72px; border-radius: 28px; }
.ilha-giro { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--gold-l); animation: ilha-gira .8s linear infinite; flex: none; }
@keyframes ilha-gira { to { transform: rotate(360deg); } }
.ilha-v-gerando span:not(.ilha-giro) { font: 600 .88rem/1 var(--sans); }
.ilha-barra { margin-left: auto; width: 64px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.ilha-barra i { display: block; height: 100%; width: 40%; background: var(--gold-l); border-radius: 4px; animation: ilha-barra 1.1s ease-in-out infinite; }
@keyframes ilha-barra { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.ilha-ok { width: 40px; height: 40px; border-radius: 50%; background: #3fd08a; color: #06301d; display: grid; place-items: center; flex: none; }
.ilha[data-estado="erro"] .ilha-ok { background: #e0705a; color: #3a0d05; }
.ilha-ok .icon { width: 20px; height: 20px; stroke-width: 2.4; }
.ilha-v-pronto > div { display: grid; min-width: 0; line-height: 1.25; }
.ilha-v-pronto b { font: 600 .95rem/1.25 var(--sans); }
.ilha-v-pronto small { color: #9aa7b8; font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .ilha, .ilha-v { transition: none !important; } .ilha-giro, .ilha-barra i { animation: none !important; } }
@media print { .ilha-topo, .ilha-aviso { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hf-pausa, .anim-btn { display: none !important; }
}
@media print {
  @page { size: A4; margin: 0; }
  .cookies, .nav-toggle, .nav, .lightbox { display: none !important; }
  body { background: #fff; }
  .site-header { position: static; box-shadow: none; }
  .topbar .item.hide-sm { display: inline-flex; }
  .quick { margin-top: 24px; }
  .hero::before { display: none; }
  .hero { overflow: visible; position: static; padding-top: 12px; }
  a[href]::after { content: none; }
  .hero-grid, .split, .band-grid, .visit-grid, .compare, .footer-grid { grid-template-columns: 1fr !important; }
  .hero-visual { max-width: 420px; margin-inline: auto; }
  .tile, .fact, .gallery button, .info-card, .band-card, .hours-card, .since, .ccard, .snode, .node, .step2, .stat {
    break-inside: avoid; page-break-inside: avoid;
  }
  .hero-visual, .split .media, .split .media.duo img { break-inside: avoid; page-break-inside: avoid; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .slider-ui, .float-chip, .assist-fab, .assist, .hf-pausa, .anim-btn { display: none !important; }
  .slide:not(:first-child) { display: none !important; }
  .slide:first-child { opacity: 1 !important; visibility: visible !important; }
  .slide-inner { min-height: 0; padding-block: 40px; }
  .infostrip { margin-top: 16px; }
  .phone { animation: none; transform: none; }
  .map iframe { display: none; }
  .map::after { content: "Mapa: Rua Lacerda Franco, 170/178 — Vila Arens, Jundiaí/SP"; display: flex; align-items: center; justify-content: center; height: 100%; min-height: 200px; text-align: center; padding: 20px; color: var(--muted); font-size: .9rem; }
}

/* Janela do aviso do painel (feriados): cabeçalho com selo e título, corpo com rolagem, rodapé com Fechar */
.aviso-janela { padding: 0; border: 0; border-radius: 14px; background: #fff; color: var(--ink); overflow: hidden;
  width: min(460px, calc(100vw - 32px)); max-height: 80vh; max-height: 80dvh; box-shadow: 0 30px 80px -20px rgba(12, 28, 54, .6); }
.aviso-janela[open] { display: flex; flex-direction: column; animation: aviso-entra .25s ease-out both; }
.aviso-janela::backdrop { background: rgba(12, 28, 54, .62); }
@keyframes aviso-entra { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.aviso-janela-cab { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 16px 14px 20px; }
.aviso-janela-cabtexto { min-width: 0; }
.aviso-selo { display: inline-flex; align-items: center; gap: 6px; background: var(--teal); color: var(--gold-l); font: 700 .72rem/1 var(--sans);
  letter-spacing: .14em; text-transform: uppercase; padding: .45em .85em .45em .65em; border-radius: 999px; }
.aviso-selo .icon { width: 14px; height: 14px; stroke-width: 2.2; }
.aviso-janela-titulo { margin: 10px 0 0; font: 700 1.3rem/1.2 var(--serif); text-transform: uppercase; letter-spacing: .02em; color: var(--teal); overflow-wrap: anywhere; }
.aviso-janela-x { flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
  background: #eef2f7; color: var(--teal); cursor: pointer; }
.aviso-janela-x:hover { background: #dde5ef; }
.aviso-janela-x .icon { width: 20px; height: 20px; }
.aviso-janela-corpo { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px 20px; }
.aviso-janela-img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; border-radius: 12px; box-shadow: 0 1px 2px rgba(18, 40, 74, .12); }
.aviso-janela-texto { margin: 16px 0 0; font-size: 1rem; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.aviso-janela-acao { margin: 10px 0 0; }
.aviso-janela-acao a { font-weight: 700; }
.aviso-janela-rodape { flex: none; display: flex; justify-content: flex-end; align-items: center; padding: 14px 20px; background: #f2f3f5; border-top: 1px solid var(--line); }
.aviso-janela-fechar { min-width: 120px; justify-content: center; }
.aviso-janela-fechar:focus-visible, .aviso-janela-x:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 600px) {
  .aviso-janela { width: calc(100vw - 24px); }
  .aviso-janela-cab { padding: 16px 14px 12px 16px; }
  .aviso-janela-corpo { padding: 0 16px 16px; }
  .aviso-janela-rodape { padding: 12px 16px; }
  .aviso-janela-fechar { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .aviso-janela[open] { animation: none; }
}
@media print { .aviso-janela { display: none !important; } }

/* ============================================================
   TEMA ESCURO: só vale com o aparelho em modo escuro.
   Fica no fim do arquivo para vencer as regras do tema claro (mesma força, lidas depois).
   Cores de superfície: fundo #0d1626, cartões #152238, campos e destaques #1b2a44.
   Ilustrações (celular, certificado) guardam as cores do tema claro: o papel continua claro.
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1626;
    --white: #152238;
    --ink: #e7ecf3;
    --muted: #aab6c8;
    --line: #2a3a56;
    --sand: #1b2a44;
    --blue: #8fb8ef;
    --blue-d: #bcd6f5;
    --cyan: #6fa3e6;
    --gold: #d4b06a;
    --gold-l: #e8cf98;
    --gold-d: #d4b06a;
    --deep: #08101e;
    --ico-bg: #1b2a44;
    --ok: #4cc38a;
    --closed: #f08a78;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px -12px rgba(0, 0, 0, .6);
  }
  ::selection { background: #2c5a96; color: #fff; }
  h1, h2, h3, h4 { color: var(--ink); }

  /* Botões e selos */
  .btn-primary { background: #2c5a96; }
  .btn-primary:hover { background: #3a6aae; }
  .btn-ghost:hover { background: var(--sand); color: var(--ink); }
  .btn-light:hover { background: #dfe7f2; color: var(--teal); }
  .btn-gold:hover { background: #7d6130; }
  .skip { background: #1d4478; }
  .eyebrow.on-dark, .hero-inst .eyebrow.on-dark, .band .eyebrow.on-dark { color: var(--gold-l); }

  /* Faixa de aviso e cabeçalho */
  .aviso-faixa { background: #2b2210; }
  .aviso-fechar:hover { background: rgba(255, 255, 255, .08); }
  .site-header { background: #101c31; }
  .brand-text b, .brand-contact a { color: var(--ink); }
  .head-call { background: #1d4478; }
  .head-call:hover { background: #2c5a96; }
  .nav-toggle { color: var(--ink); border-color: #4a6592; }
  .submenu a:hover { background: var(--sand); color: var(--ink); }
  .submenu b { color: var(--ink); }
  @media (min-width: 1101px) {
    .submenu { background: var(--white); border-color: var(--line); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7); }
  }

  /* Início */
  .hours-card { background: var(--white); border-color: var(--line); }
  .since { box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--gold), var(--shadow); }
  .float-chip { background: #1b2a44; color: var(--ink); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); }
  .anim-btn { background: var(--white); border-color: var(--line); color: var(--ink); }
  .infostrip-card { background: var(--white); box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .7), 0 1px 0 var(--line); }
  a.is-item:hover { background: var(--sand); color: var(--ink); }
  .tile:not(.tile-hot) { background: var(--white); border-color: var(--line); }
  .tile strong { color: var(--ink); }
  .tile:hover { box-shadow: var(--shadow); }

  /* Celular ilustrado (ATPV-e) e certificado digital: as cores claras ficam só dentro deles */
  .phone, .cdig-papel {
    --ink: #1a2433; --muted: #4f5b6b; --blue: #1d4478; --blue-d: #14325c; --teal: #12284a; --white: #fff;
    --line: #d9d4c8; --paper: #f5f3ee; --sand: #ebe6da; --ico-bg: #eef2f7; --gold: #a88443; --gold-l: #cdb07a;
    --gold-d: #7f6230; --ok: #2b6e4f; --cyan: #3a6fb0;
  }
  .phone { background: linear-gradient(160deg, #2a3f57, #111d2b); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 2px rgba(255, 255, 255, .14); }

  /* Seções, cartões e listas */
  .fact { background: var(--white); }
  .section.alt .fact { background: var(--sand); }
  .fact strong { color: var(--ink); }
  .email-destaque { background: var(--white); }
  .email-destaque .ico { background: var(--paper); }
  .email-destaque a { color: var(--ink); }
  .statband { background: linear-gradient(90deg, #0f2a52, #1d4478 50%, #1a5f98); }
  .info-card { background: var(--white); border-color: var(--line); }
  .vcard { background: var(--white); border-color: var(--line); }
  .flow .n { background: var(--white); color: var(--blue-d); border-color: var(--gold); box-shadow: 0 0 0 8px var(--paper); }
  .flow li:last-child .n { background: #2c5a96; border-color: #2c5a96; color: #fff; }
  .who.yes { background: rgba(76, 195, 138, .1); border-color: rgba(76, 195, 138, .3); }
  .who.yes h3 .icon { background: #2b6e4f; color: #fff; }
  .who.no { background: rgba(240, 138, 120, .1); border-color: rgba(240, 138, 120, .3); }
  .who.no h3 .icon { background: #9b3b2b; color: #fff; }
  .bring li { background: var(--white); border-color: var(--line); }
  .price-card { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px rgba(143, 184, 239, .18), 0 40px 70px -30px rgba(0, 0, 0, .7); }
  .pc-hours { background: var(--sand); }
  .stacked-photo { background: var(--white); }
  .fcard:not(.fcard-hot), .scard:not(.scard-cta), .ocard:not(.ocard-hot) { background: var(--white); border-color: var(--line); }
  .scard:hover { box-shadow: 0 24px 44px -28px rgba(0, 0, 0, .7); }
  .oline { background: var(--white); border-color: var(--line); }
  .svc-hot { background: var(--white); }
  .channel, .ccard { background: var(--white); border-color: var(--line); }
  .slot { border-color: #3a4a66; background: rgba(255, 255, 255, .03); }
  .pill { background: rgba(212, 176, 106, .16); color: #f0d28f; }
  .sc-digital { background: var(--sand); border-color: var(--line); }
  .sc-prices li { background: var(--sand); border-color: var(--line); }
  .custas tr.hot td { background: rgba(212, 176, 106, .1); }
  .table-wrap { background: var(--white); border-color: var(--line); }
  .custas .none { color: #9aa7b8; }
  .notice { background: rgba(212, 176, 106, .1); border-color: rgba(212, 176, 106, .3); }
  .notice .icon { color: #e0b765; }
  .prose p, .prose li { color: #d5dce7; }
  .col, .node, .steps li { background: var(--white); border-color: var(--line); }
  .col.before { background: var(--sand); }
  .steps li::before { background: #2c5a96; }

  /* Formulários */
  .field input, .field select, .field textarea { background: var(--paper); border-color: #4a5d7e; }
  .field input::placeholder, .field textarea::placeholder, .assist-form input::placeholder { color: #8795ab; opacity: 1; }
  .field input:focus, .field select:focus, .field textarea:focus { outline-color: rgba(111, 163, 230, .5); }
  .req { color: #ff9b8a; }
  .cf-bloco, .cf-acoes { background: var(--white); border-color: var(--line); }
  .cf-opcao, .cf-check { background: var(--sand); border-color: #4a5d7e; }
  .cf-opcao:has(input:checked) { background: #1f3558; }
  .cf-ciencia, .cg-pacto { background: rgba(212, 176, 106, .08); border-color: rgba(212, 176, 106, .3); }
  .cg-atalhos a { background: var(--white); border-color: var(--line); color: var(--ink); }
  .cg-card, .cg-prazos .fact { background: var(--white); }
  .cg-card h3, .cg-card h4, .cg-pacto h3, .cg-pacto h4 { color: var(--ink); }
  .cg-acc details { background: var(--white); border-color: var(--line); }
  .cg-acc summary { color: var(--ink); }

  /* Chat, janela de aviso e cookies */
  .msg.ele, .assist-note, .assist-form { background: var(--white); }
  .msg.ele { border-color: var(--line); }
  .msg.eu, .chip:hover { background: #2c5a96; color: #fff; }
  .chip { background: var(--white); }
  .assist-form { border-top-color: var(--line); }
  .assist-form input { background: var(--paper); border-color: #3a4a66; }
  .aviso-janela { background: var(--white); }
  .aviso-janela-titulo { color: var(--ink); }
  .aviso-janela-x { background: var(--sand); color: var(--ink); }
  .aviso-janela-x:hover { background: #243555; }
  .aviso-janela-rodape { background: #111c2f; border-top-color: var(--line); }
}

/* Seções em construção (build.js, SECOES_EM_CONSTRUCAO): continuam visíveis, mas sem link */
.nc { cursor: not-allowed; }
.nc-txt { opacity: .6; }
.tag-construcao { display: inline-block; vertical-align: middle; background: #f3e6c4; color: #4a3812; font: 700 .62rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: .42em .7em; border-radius: 999px; white-space: nowrap; }
.nav .nc-nav { display: inline-flex; align-items: center; gap: .5em; padding: 0 1em; white-space: nowrap; color: #e6ebf2; font-weight: 600; font-size: .95rem; letter-spacing: .01em; }
@media (max-width: 1100px) { .nav .nc-nav { padding: .85em .6em; border-bottom: 1px solid rgba(255, 255, 255, .1); } }
.site-footer .nc { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5em; color: #fff; }
.contact-cards.dupla { grid-template-columns: 1fr; }
@media (min-width: 601px) { .contact-cards.dupla { grid-template-columns: 1fr 1fr; } }
.nc-bloco { position: relative; }
.nc-bloco, .nc-bloco:hover { transform: none; border-color: var(--line); box-shadow: none; color: var(--ink); }
.nc-bloco::before, .nc-bloco:hover::before { display: none; }
.nc-bloco:hover .ico { background: var(--ico-bg); color: var(--blue); }
/* 0,85 e não 0,6: com 0,6 o texto do cartão ficava abaixo de 4,5:1 (WCAG) */
.nc-bloco > :not(.tag-construcao) { opacity: .85; }
.nc-bloco .arrow { display: none; }
.nc-bloco > .tag-construcao { position: absolute; top: 37px; right: 22px; }
/* Celular: o cartão vira linha (ícone | texto), então a marca fica no fim da linha, sem cobrir o texto */
@media (max-width: 600px) {
  .nc-bloco { padding-right: 16px; }
  .nc-bloco > .tag-construcao { position: static; flex: none; margin-left: auto; }
}

/* Ajustes de usabilidade: navegação, tarefas e formulários. */
html.menu-aberto .ilha-topo, html.menu-aberto .ilha-aviso { visibility: hidden; pointer-events: none; }
.home-tarefas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0 14px; max-width: 640px; }
.home-tarefas a {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.4); border-radius: 8px; background: rgba(255,255,255,.06);
  color: #fff; font: 600 1rem/1.35 var(--sans); text-decoration: none;
}
.home-tarefas a:first-child, .home-tarefas a:hover { background: #fff; color: #12284a; border-color: #fff; }
.home-tarefas .icon { width: 1.25em; height: 1.25em; }
.hero-todos { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: #fff; font-weight: 600; }
.hero-todos:hover { color: #fff; text-decoration-thickness: 2px; }
.servicos-atalhos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.servicos-atalhos a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.6); border-radius: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.servicos-atalhos a:hover { color: #12284a; background: #fff; }
.servico-proximo { padding-block: 22px; }
.servico-resumo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.servico-resumo a { display: grid; gap: 3px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; }
.servico-resumo a:hover { border-color: var(--blue); }
.servico-resumo strong { color: var(--blue); }
.servico-resumo span { color: var(--muted); font-size: .94rem; }
.form-errors { padding: 16px 18px; border: 1px solid var(--closed); border-left-width: 4px; border-radius: 8px; background: var(--paper); color: var(--ink); }
.form-errors p { margin: 0 0 8px; font-weight: 600; }
.form-errors ul { margin: 0; }
.form-errors a { color: var(--closed); text-decoration: underline; }
.field-error { display: block; color: var(--closed); font-size: .94rem; line-height: 1.45; }
.form-errors[hidden], .field-error[hidden], .cf-etapa[hidden], .btn[hidden] { display: none !important; }
.consentimento { flex-wrap: wrap; }
.consentimento label { flex: 1; min-width: 0; }
.consentimento .field-error { flex-basis: 100%; }
.btn[aria-disabled="true"] { cursor: progress; box-shadow: inset 0 0 0 2px currentColor; }
.toc { display: block; align-self: start; }
.toc summary { min-height: 44px; padding: 9px 0; color: var(--ink); font-weight: 600; cursor: pointer; }
.toc-links { display: grid; gap: 2px; }
.toc-links a { display: flex; align-items: center; min-height: 44px; padding-block: 8px; font-size: 1rem; }
.arquivo-controle { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px; background: var(--paper); border: 1px dashed var(--line); border-radius: 8px; }
.arquivo-escolher { position: relative; display: inline-flex; min-width: 0; }
.arquivo-escolher .btn { min-height: 44px; align-items: center; }
.field .arquivo-escolher input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.arquivo-escolher:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.arquivo-nome { display: block; overflow-wrap: anywhere; color: var(--ink); font-size: 1rem; line-height: 1.45; }
.email-destaque a { font: 600 1rem/1.5 var(--sans); overflow-wrap: anywhere; word-break: normal; }
.cf > .form-errors, .cf-navegacao { grid-column: 1 / -1; }
.cf-navegacao { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); scroll-margin-top: 100px; }
.cf-etapa-status { margin: 0 0 10px; font-weight: 600; }
.cf-navegacao progress { display: block; width: 100%; height: 8px; margin-bottom: 14px; accent-color: var(--blue); }
.cf-passos { display: flex; gap: 8px; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.cf-passos button { flex: none; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); font: 600 .94rem/1.35 var(--sans); cursor: pointer; }
.cf-passos button[aria-current="step"] { background: var(--blue); color: var(--white); border-color: var(--blue); }
.cf-guiado .cf-corpo { grid-column: 1 / -1; }
.cf-guiado:not([data-etapa="revisao"]) .cf-acoes { display: none; }
.cf-etapa-acoes { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.cf-etapa-acoes .btn:last-child { margin-left: auto; }
.cf-guiado .cf-acoes { grid-column: 1 / -1; position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--white); }
.cf-guiado .cf-acoes h3, .cf-guiado .cf-acoes p { grid-column: 1 / -1; }
.cf-revisao { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); min-width: 0; }
.cf-revisao details { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; }
.cf-revisao summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 600; }
.cf-revisao dl { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 8px 16px; }
.cf-revisao dt { font-weight: 600; }
.cf-revisao dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .hero-inst { padding-top: 32px; padding-bottom: 32px; }
  .hero-inst-copy h1 { font-size: 2rem; }
  .hero-inst-copy .lede { font-size: 1.0625rem; line-height: 1.5; }
  .home-tarefas a { padding: 11px 10px; font-size: .98rem; }
  .servico-resumo { grid-template-columns: 1fr; }
  .servico-resumo a { padding: 14px 16px; }
  .cf-navegacao, .cf-revisao { padding: 16px; }
  .cf-revisao dl { grid-template-columns: 1fr; gap: 3px; }
  .cf-revisao dd { margin-bottom: 12px; }
}
@media print {
  .cf-navegacao, .cf-etapa-acoes, .cf-revisao, .form-errors { display: none !important; }
  .cf-bloco.cf-etapa, .cf-ciencia.cf-etapa { display: block !important; }
}

:root { --control-border: #7b8491; }
.field input, .field select, .field textarea, .setor-botao { border-color: var(--control-border); }
.field [aria-invalid="true"], .arquivo-controle:has([aria-invalid="true"]) { border-color: var(--closed); }
@media (prefers-color-scheme: dark) { :root { --control-border: #6f819e; } }

.nav-toggle { min-height: 44px; min-width: 44px; }
