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

: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; }
/* O site tem um só tema: pede ao navegador do celular para não escurecer as cores à força */
:root { color-scheme: only light; }
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; }

.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: var(--gold); 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: 800 .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: var(--gold-l); }

/* 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; }

/* 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 img { height: 50px; 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:last-of-type .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); }
.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; }


/* 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 7s ease-in-out -2s infinite; }
.float-chip.c2 { right: -2%; bottom: 20%; animation: flutuar 6.5s ease-in-out -4s infinite; }
.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%; } }

/* 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; }
.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 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; }

/* 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); }
.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; }

/* 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.2rem/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(5, 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; }
  .online-grid.dupla > :last-child { grid-column: 1 / -1; }
}
.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); }
.hint { font-size: .88rem; color: var(--muted); }

/* 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; }
.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: static; }
  .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);
  }
  .nav[data-open="true"] { display: flex; }
  .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 h4 { 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.2rem; 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(3, 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 */
.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 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: .7em; }
.cg-bloco > h3::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-card { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 20px 22px; }
.cg-card h4, .cg-pacto h4 { font: 600 1.12rem/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; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: 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 { 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; }
}
