/* Eduardo Lima | Consultoria Jurídica e Advocacia — protótipo (CSS escrito à mão, sem build) */
/* Escala de espaço: 4/8/12/16/24/32/48/64. Seções usam clamp(64px, 9vw, 112px). */

@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --font-display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-ui: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-h: 72px;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec-y: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --radius: 4px;
}

/* ---------- Temas ---------- */
[data-theme="escuro"] {
  color-scheme: dark;
  --bg: #102347;
  --bg-2: #14294f;
  --surface: #183059;
  --surface-2: #1e3a68;
  --ink: #f4efe4;
  --ink-2: #b4bdcc;
  --line: rgba(201, 162, 92, .26);
  --line-soft: rgba(244, 239, 228, .12);
  --gold: #c9a25c;
  --focus: #c9a25c;
  --gold-hi: #e6cb91;
  --gold-lo: #a07c3a;
  --accent: #d9b56a;
  --btn-bg: linear-gradient(135deg, #b8923f 0%, #e3c98e 55%, #c9a25c 100%);
  --btn-ink: #102347;
  --ghost-ink: #f4efe4;
  --ghost-line: rgba(201, 162, 92, .55);
  --nav-bg: rgba(16, 35, 71, .8);
  --particle: 226, 192, 118;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
  --glow: rgba(201, 162, 92, .16);
  --field-bg: rgba(255, 255, 255, .03);
  --error: #ff9d8a;
}
[data-theme="claro"] {
  color-scheme: light;
  --bg: #fbf8f1;
  --bg-2: #f3eee2;
  --surface: #ffffff;
  --surface-2: #fffdf8;
  --ink: #0e1d34;
  --ink-2: #4a5770;
  --line: rgba(138, 106, 43, .3);
  --line-soft: rgba(14, 29, 52, .1);
  --gold: #b18a45;
  --focus: #8a6a2b;
  --gold-hi: #c9a25c;
  --gold-lo: #8a6a2b;
  --accent: #7e5f22;
  --btn-bg: #0e1d34;
  --btn-ink: #fbf8f1;
  --ghost-ink: #0e1d34;
  --ghost-line: rgba(14, 29, 52, .35);
  --nav-bg: rgba(251, 248, 241, .86);
  --particle: 177, 138, 69;
  --shadow: 0 24px 50px -28px rgba(14, 29, 52, .35);
  --glow: rgba(177, 138, 69, .16);
  --field-bg: rgba(14, 29, 52, .025);
  --error: #b3261e;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-ui); font-size: 1rem; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--gold); color: var(--bg); padding: 12px 16px; transition: top .2s; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec-y); position: relative; }
.section--alt { background: var(--bg-2); }
.ico { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }

/* ---------- Barra de leitura ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); pointer-events: none; }

/* ---------- Navegação ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); border-bottom: 1px solid transparent; transition: background-color .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease), box-shadow .5s var(--ease); }
.nav.scrolled { background: var(--nav-bg); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line-soft); box-shadow: 0 8px 30px -20px rgba(0, 0, 0, .5); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 48px; width: auto; transition: transform .6s var(--ease), opacity .3s; }
.brand:hover img { transform: scale(1.03); }
.nav-links { display: none; align-items: center; gap: 24px; }
.nav-links a { position: relative; font-size: .8125rem; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 8px 0; transition: color .3s; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav .nav-cta { display: none; }
.burger { width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 1px solid var(--line-soft); border-radius: var(--radius); cursor: pointer; color: var(--ink); }
.burger .ico { width: 24px; height: 24px; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
.menu { position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49; background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px var(--gutter) 24px; display: grid; gap: 4px; max-height: calc(100svh - var(--nav-h)); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.menu.open { visibility: visible; opacity: 1; transform: none; }
.menu a:not(.btn) { display: flex; align-items: center; min-height: 48px; font-size: 1rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.menu .btn { margin-top: 16px; }
@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .nav .nav-cta { display: inline-flex; }
  .burger, .menu { display: none; }
}
@media (min-width: 1100px) and (max-width: 1279px) { .nav-links { gap: 16px; } .nav-cta { padding-inline: 16px; } }
@media (max-width: 480px) { .brand img { height: 42px; } }

/* ---------- Botões ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; font-family: var(--font-ui); font-size: .875rem; font-weight: 600; letter-spacing: .01em; text-decoration: none; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s, background-color .3s, color .3s; isolation: isolate; text-align: center; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 10px 30px -14px var(--gold); }
[data-theme="claro"] .btn--primary { border-color: var(--gold-lo); }
[data-theme="claro"] .btn--primary:hover { box-shadow: 0 14px 30px -14px var(--gold-lo); }
.btn--ghost { color: var(--ghost-ink); border-color: var(--ghost-line); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .75; cursor: progress; transform: none; }

/* ---------- Títulos de seção ---------- */
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head h2, .h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); }
.sec-head .lead { margin-top: 16px; color: var(--ink-2); font-size: 1.0625rem; max-width: 62ch; }
.sec-head--center .lead { margin-inline: auto; }
.rule { display: block; width: 56px; height: 1px; margin: 24px 0 0; background: linear-gradient(90deg, var(--gold), transparent); transform-origin: left; }
.sec-head--center .rule { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform-origin: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }

/* ---------- Revelação no scroll ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rule.rv { transform: scaleX(0); opacity: 1; transition: transform 1.1s var(--ease) calc(var(--d, 0s) + .2s); }
.js .rule.rv.in { transform: scaleX(1); }

/* ---------- Banner ---------- */
.hero { position: relative; overflow: clip; min-height: min(100svh, 840px); padding: calc(var(--nav-h) + 48px) 0 64px; display: flex; align-items: center; isolation: isolate; }
[data-theme="escuro"] .hero { background: radial-gradient(120% 80% at 50% 0%, #1f4076 0%, var(--bg) 62%); }
[data-theme="claro"] .hero { background: radial-gradient(90% 70% at 85% 20%, rgba(201, 162, 92, .16) 0%, transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(14, 29, 52, .06) 0%, transparent 60%), var(--bg); }
.hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; contain: paint; }
.beam { position: absolute; top: -20%; height: 140%; background: linear-gradient(90deg, transparent, rgba(var(--particle), .1), transparent); transform: rotate(35deg); filter: blur(20px); animation: sweep 14s infinite linear; }
[data-theme="escuro"] .beam { mix-blend-mode: screen; background: linear-gradient(90deg, transparent, rgba(var(--particle), .11), transparent); }
[data-theme="claro"] .beam { background: linear-gradient(90deg, transparent, rgba(var(--particle), .1), transparent); }
.beam-1 { left: -40%; width: 15vw; }
.beam-2 { left: 10%; width: 25vw; animation-delay: -5s; }
.beam-3 { left: 60%; width: 12vw; animation-delay: -9s; }
.particles { position: absolute; inset: 0; }
.p { position: absolute; bottom: -8px; border-radius: 50%; background: rgb(var(--particle)); opacity: .1; will-change: transform, opacity; animation: floatUp var(--dur, 20s) linear var(--delay, 0s) infinite, pulseOpacity var(--pd, 6s) ease-in-out var(--delay, 0s) infinite; }
[data-theme="escuro"] .p { box-shadow: 0 0 6px 1px rgba(var(--particle), .55); }
[data-theme="claro"] .p { --pmax: .45; }
[data-theme="claro"] .p.b { background: #0e1d34; --pmax: .3; }
.fx-paused .p, .fx-paused .beam, .fx-paused .wa-float::before { animation-play-state: paused; }
@keyframes floatUp { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(var(--dx, 0px), calc(var(--rise, 100vh) * -1 - 40px), 0); } }
@keyframes pulseOpacity { 0%, 100% { opacity: .1; } 50% { opacity: var(--pmax, .7); } }
@keyframes sweep { 0% { transform: translateX(-100vw) rotate(35deg); } 100% { transform: translateX(100vw) rotate(35deg); } }
@keyframes drawScale { to { stroke-dashoffset: 0; } }

.hero-grid { display: grid; gap: 48px; align-items: center; width: 100%; }
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.hero--center .hero-copy { text-align: center; max-width: 860px; margin-inline: auto; align-items: center; }
.seal { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--bg) 60%, transparent); }
.seal::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(var(--particle), .6); animation: ping 2.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(var(--particle), .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(var(--particle), 0); } }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5.25rem); line-height: 1.04; letter-spacing: -.02em; margin-top: 24px; }
.hero h1 .gold { background: linear-gradient(100deg, var(--gold-lo), var(--gold-hi) 45%, var(--gold-lo)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; animation: shimmer 9s ease-in-out infinite; }
[data-theme="claro"] .hero h1 .gold { background-image: linear-gradient(100deg, #7e5f22, #b18a45 45%, #7e5f22); }
@keyframes shimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.flourish { width: 200px; height: 14px; margin-top: 24px; color: var(--gold); overflow: visible; }
.flourish path { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 260; stroke-dashoffset: 260; animation: drawScale 3.4s var(--ease) .8s forwards; }
.flourish .dia { fill: currentColor; stroke: none; stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; animation: fadeIn 1.2s ease 2.4s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.hero .sub { margin-top: 24px; max-width: 58ch; color: var(--ink-2); font-size: clamp(1rem, 1.5vw, 1.1875rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero--center .hero-cta { justify-content: center; }

/* Foto no banner (versão clara) */
.arch { position: relative; width: min(calc(100% - 32px), 420px); margin-inline: auto; aspect-ratio: 4 / 5; }
.arch::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--gold); border-radius: 999px 999px 8px 8px; opacity: .7; animation: floaty 9s ease-in-out infinite; }
.arch-img { position: absolute; inset: 0; overflow: hidden; border-radius: 999px 999px 8px 8px; background: var(--bg-2); box-shadow: var(--shadow); }
.arch-img img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 12%; will-change: transform; }
.arch-tag { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 8px 16px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-align: center; color: var(--ink); background: color-mix(in srgb, var(--surface) 78%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 999px; }
@keyframes floaty { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -8px); } }
@media (min-width: 900px) {
  .hero--split .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
}
@media (max-width: 899px) { .hero--split .arch { max-width: 340px; } .hero--split .hero-copy { text-align: left; } }

/* Banner em palco (versão escura): painel azul-marinho + areia com retrato recortado */
.hero--stage { display: block; min-height: 0; padding: calc(var(--nav-h) + 8px) var(--gutter) 40px; overflow: clip; }
.stage { position: relative; max-width: var(--maxw); margin-inline: auto; display: flex; flex-direction: column; border-radius: 32px; overflow: hidden; background: #efe6d4; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .6); }
.stage-cream { position: absolute; inset: 0; background: radial-gradient(80% 60% at 80% 30%, #f6efe0 0%, transparent 70%), linear-gradient(165deg, #f1e8d6 0%, #e6d8bc 100%); }
.stage-panel { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; padding: 40px 24px 72px; border-radius: 0 0 32px 32px; background: radial-gradient(90% 80% at 0% 0%, #204382 0%, transparent 60%), linear-gradient(160deg, #17315f 0%, #102347 100%); }
.stage-panel .hero-fx { z-index: -1; }
.stage .hero-copy { max-width: 560px; }
.stage .hero h1, .hero--stage h1 { font-size: clamp(2.25rem, 9.5vw, 3.5rem); margin-top: 20px; }
.hero--stage .seal { background: rgba(255, 255, 255, .05); }
.hero--stage .flourish { margin-top: 20px; }
.hero--stage .hero-cta { gap: 12px; }
.hero--stage .btn { border-radius: 999px; }
.btn--orb { padding: 0 8px 0 24px; gap: 16px; }
.btn--orb .orb { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none; }
.btn--orb .orb .ico { width: 16px; height: 16px; }
.hero--stage .btn--primary .orb { background: var(--btn-ink); color: var(--gold-hi); }
.btn--light { background: #fbf8f1; color: #102347; border-color: transparent; box-shadow: 0 10px 30px -16px rgba(0, 0, 0, .6); }
.btn--light .orb { background: var(--gold); color: #102347; }
.stage-photo { position: relative; z-index: 2; width: min(78%, 330px); margin: -28px auto 0; }
.stage-photo::before { content: ""; position: absolute; inset: 14% -6% 0 6%; border: 1px solid var(--gold); border-bottom: 0; border-radius: 999px 999px 0 0; opacity: .55; }
.stage-photo img { position: relative; display: block; width: 100%; height: auto; will-change: transform; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
@media (min-width: 900px) {
  .hero--stage { padding-bottom: 56px; }
  .stage { display: block; min-height: clamp(560px, calc(100svh - var(--nav-h) - 72px), 700px); }
  .stage-panel { position: absolute; inset: 0 auto 0 0; width: 60%; padding: 64px 140px 64px 56px; border-radius: 0 40px 40px 0; }
  .stage .hero-copy { max-width: none; }
  .hero--stage h1 { font-size: clamp(2.75rem, 4.4vw, 4.25rem); }
  .stage-photo { position: absolute; z-index: 2; right: 12%; bottom: 0; width: auto; height: 96%; margin: 0; aspect-ratio: 853 / 1280; }
  .stage-photo::before { inset: 10% -8% 0 8%; }
  .stage-photo img { height: 100%; width: 100%; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .stage-panel { padding-right: 120px; }
  .stage-photo { right: 6%; }
}

/* ---------- Destaques ---------- */
.highlights { border-block: 1px solid var(--line-soft); background: var(--bg-2); }
.hl-grid { display: grid; grid-template-columns: 1fr; }
.hl { display: flex; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.hl:last-child { border-bottom: 0; }
.hl-ico { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); transition: background-color .4s, color .4s, transform .6s var(--ease); }
.hl:hover .hl-ico { background: var(--gold); color: var(--bg); transform: translateY(-3px); }
.hl h3 { font-family: var(--font-ui); font-size: .9375rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.hl p { margin-top: 4px; font-size: .875rem; color: var(--ink-2); line-height: 1.6; }
@media (min-width: 640px) { .hl-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; } .hl:nth-last-child(2) { border-bottom: 0; } }
@media (min-width: 1100px) { .hl-grid { grid-template-columns: repeat(4, 1fr); column-gap: 0; } .hl { flex-direction: column; padding: 32px 24px; border-bottom: 0; border-left: 1px solid var(--line-soft); } .hl:first-child { border-left: 0; padding-left: 0; } }

/* ---------- Sobre ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-fig { margin: 0; }
.about-fig .arch { width: min(calc(100% - 32px), 400px); }
.about-fig .arch-img img { height: 100%; object-position: 50% 6%; }
.about-fig figcaption { margin-top: 32px; text-align: center; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.about-copy .h2 { margin-bottom: 0; }
.about-copy p.body { margin-top: 16px; color: var(--ink-2); max-width: 62ch; }
.about-copy p.body:first-of-type { margin-top: 24px; }
.signature { margin: 32px 0 0; padding: 24px 0 0 24px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-style: italic; font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.3; color: var(--ink); max-width: 30ch; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } }

/* ---------- Família (foto): ponte para Divórcio ---------- */
.fam { background: radial-gradient(60% 70% at 12% 50%, rgba(201, 162, 92, .09) 0%, transparent 70%), var(--bg); }
.fam-grid { display: grid; gap: 40px; align-items: center; }
.fam-fig { position: relative; margin: 0; }
.fam-fig::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; border: 1px solid var(--gold); border-radius: 28px; opacity: .45; }
.fam-frame { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; background: #efe6d4; aspect-ratio: 1400 / 885; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .65); }
.fam-frame img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transform-origin: 50% 60%; animation: famZoom 26s ease-in-out infinite alternate; }
@keyframes famZoom { from { transform: scale(1); } to { transform: scale(1.045); } }
.fam-title { font-size: clamp(2rem, 6.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em; }
.fam-title .ln { display: block; }
.fam-title .gold-i { font-style: italic; background: linear-gradient(100deg, var(--gold-lo), var(--gold-hi) 45%, var(--gold-lo)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 9s ease-in-out infinite; }
.fam-copy .body { margin: 24px 0 32px; max-width: 54ch; color: var(--ink-2); }
@media (min-width: 900px) {
  .fam-grid { grid-template-columns: 1.3fr 1fr; gap: 72px; }
  .fam-title { font-size: clamp(2.25rem, 3.6vw, 3.5rem); }
}

/* ---------- Cartões ---------- */
.cards { display: grid; gap: 24px; }
.card { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), border-color .5s, box-shadow .5s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(420px circle at var(--mx) var(--my), var(--glow), transparent 65%); transition: opacity .5s; }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--gold-lo)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow), 0 0 28px -6px var(--glow); }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }
.card h3 { font-size: 1.5rem; }
.card p { color: var(--ink-2); font-size: .9375rem; }
.card .more { margin-top: auto; padding-top: 8px; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .875rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.link .ico { transition: transform .35s var(--ease); }
.link:hover .ico { transform: translateX(4px); }
.link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); padding-bottom: 2px; }
.link:hover span { background-size: 100% 1px; }

.cards--family { grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards--family { grid-template-columns: 1fr 1fr; } .card--feat { grid-column: span 2; } }
@media (min-width: 1000px) { .cards--family { grid-template-columns: repeat(3, 1fr); } .card--feat { grid-column: 1 / span 2; grid-row: span 2; } }
.card--feat { padding: clamp(32px, 4vw, 48px); justify-content: center; gap: 24px; border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, conic-gradient(from var(--ang), var(--gold-lo), var(--gold-hi), var(--gold-lo) 40%, transparent 60%, var(--gold-lo)) border-box; animation: spin 12s linear infinite; }
.card--feat:hover { border-color: transparent; }
@keyframes spin { to { --ang: 360deg; } }
.card--feat h3 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
.card--feat p { font-size: 1.0625rem; max-width: 46ch; }
.card--feat .bg-deco { position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; z-index: -1; border-radius: 50%; background: repeating-radial-gradient(circle at center, transparent 0 47px, var(--line) 47px 48px); -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%); mask-image: radial-gradient(circle, #000 35%, transparent 70%); opacity: .9; }
.card--feat .btn { align-self: flex-start; margin-top: 16px; }

.cards--comp { grid-template-columns: 1fr; }
@media (min-width: 800px) { .cards--comp { grid-template-columns: 1fr 1fr; } }
.card--comp h3 { font-size: clamp(1.625rem, 2.6vw, 2.125rem); }
.card--comp .lead { color: var(--ink); font-size: 1rem; }
.checks { display: grid; gap: 12px; margin-top: 8px; }
.checks li { position: relative; padding-left: 28px; font-size: .9375rem; color: var(--ink-2); line-height: 1.6; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg) translateY(-2px); }

/* ---------- Atendimento ---------- */
.steps { position: relative; display: grid; gap: 32px; counter-reset: s; }
.step { position: relative; padding-left: 80px; }
.step-n { position: absolute; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); background: var(--bg); border: 1px solid var(--gold); border-radius: 50%; z-index: 1; transition: background-color .4s, color .4s, box-shadow .4s; }
.step:hover .step-n { background: var(--gold); color: var(--bg); box-shadow: 0 0 0 8px var(--glow); }
.step h3 { font-family: var(--font-ui); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
.steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: linear-gradient(var(--gold), var(--line)); transform: scaleY(0); transform-origin: top; transition: transform 1.8s var(--ease) .2s; }
.steps.in::before { transform: scaleY(1); }
.no-js .steps::before, :root:not(.js) .steps::before { transform: none; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step { padding: 80px 0 0; }
  .steps::before { left: 56px; right: calc(25% - 24px); top: 28px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--gold), var(--line)); transform: scaleX(0); transform-origin: left; }
  .steps.in::before { transform: scaleX(1); }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); transition: background-color .4s; }
.faq-item.open { background: linear-gradient(90deg, var(--glow), transparent 70%); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 16px 8px; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--font-display); font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.3; color: var(--ink); }
.faq-q:hover { color: var(--accent); }
.faq-plus { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .4s, border-color .4s, transform .5s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .5s var(--ease), background-color .4s; }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-plus { background: var(--gold); border-color: var(--gold); transform: rotate(180deg); }
.faq-item.open .faq-plus::before, .faq-item.open .faq-plus::after { background: var(--bg); }
.faq-item.open .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .5s var(--ease), visibility .5s; }
.faq-item.open .faq-a { grid-template-rows: 1fr; visibility: visible; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 56px 24px 8px; color: var(--ink-2); font-size: .9375rem; max-width: 68ch; }
@media (max-width: 480px) { .faq-a p { padding-right: 8px; } }

/* ---------- Formulário ---------- */
.form-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .form-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } .form-grid .sec-head { position: sticky; top: calc(var(--nav-h) + 32px); margin-bottom: 0; } }
.form { display: grid; gap: 24px; padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.form::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), transparent); }
.field { display: grid; gap: 8px; }
.field label { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 16px; background: var(--field-bg); border: 1px solid var(--line-soft); border-bottom: 1px solid var(--line); border-radius: 2px; font-size: 1rem; color: var(--ink); transition: border-color .3s, background-color .3s, box-shadow .3s; }
.field textarea { min-height: 112px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: #0e1d34; background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--ink-2) 72%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); background: var(--surface-2); box-shadow: 0 0 0 3px var(--glow); }
.field.invalid input, .field.invalid select { border-color: var(--error); }
.err { min-height: 0; font-size: .8125rem; color: var(--error); line-height: 1.5; }
.err:empty { display: none; }
.consent { display: grid; gap: 8px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .875rem; color: var(--ink-2); line-height: 1.6; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.check .box { width: 24px; height: 24px; margin-top: 0; border: 1px solid var(--gold); border-radius: 2px; display: grid; place-items: center; transition: background-color .3s, box-shadow .3s; }
.check .box::after { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg) scale(0); transition: transform .3s var(--ease); margin-top: -3px; }
.check input:checked + .box { background: var(--gold); }
.check input:checked + .box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--focus); outline-offset: 3px; }
.check a, .linkbtn { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
.consent.invalid .box { border-color: var(--error); box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 25%, transparent); }

/* ---------- Contato ---------- */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.ct { display: flex; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); text-decoration: none; transition: transform .5s var(--ease), border-color .5s, box-shadow .5s var(--ease); position: relative; overflow: hidden; min-width: 0; }
.ct::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
a.ct:hover, .ct:hover { transform: translateY(-3px); border-color: var(--line); box-shadow: var(--shadow); }
.ct:hover::after { transform: scaleX(1); }
.ct-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); }
.ct-body { min-width: 0; }
.ct-label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ct-val { display: block; margin-top: 4px; font-size: 1rem; color: var(--ink); overflow-wrap: anywhere; line-height: 1.5; }
.ct-link { display: inline-flex; margin-top: 8px; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--accent); text-decoration: none; min-height: 32px; }
.ct-link .ico { transition: transform .35s var(--ease); }
.ct-link:hover .ico { transform: translateX(4px); }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 32px; }
[data-theme="escuro"] .footer { background: #0b1b3a; }
.foot-top { display: grid; gap: 32px; }
.foot-brand img { height: 84px; width: auto; }
.foot-brand p { margin-top: 16px; font-size: .9375rem; color: var(--ink-2); }
.foot-brand p strong { display: block; color: var(--ink); font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-content: flex-start; }
.foot-links a, .foot-links button { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 500; color: var(--ink-2); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; transition: color .3s; }
.foot-links a:hover, .foot-links button:hover { color: var(--accent); }
.legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: .8125rem; color: var(--ink-2); line-height: 1.7; max-width: 90ch; }
.copy { margin-top: 16px; font-size: .8125rem; color: var(--ink-2); }
@media (min-width: 800px) { .foot-top { grid-template-columns: 1fr auto; align-items: end; } }
.has-wa .footer { padding-bottom: 96px; }

/* ---------- Botão flutuante de WhatsApp ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 55; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .5); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waPulse 3.2s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px -8px rgba(37, 211, 102, .6); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
@media (min-width: 768px) { .wa-float { right: 32px; bottom: 32px; width: 60px; height: 60px; } }

/* ---------- Modal da política ---------- */
.modal { width: min(720px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7); overflow: hidden; }
.modal[open] { display: flex; flex-direction: column; animation: modalIn .45s var(--ease); }
.modal::backdrop { background: rgba(5, 12, 24, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 24px 16px; border-bottom: 1px solid var(--line-soft); }
.modal-head h2 { font-size: 1.75rem; }
.modal-head .upd { margin-top: 4px; font-size: .8125rem; color: var(--ink-2); }
.modal-x { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--line-soft); border-radius: 50%; cursor: pointer; color: var(--ink); transition: border-color .3s, color .3s; }
.modal-x:hover { border-color: var(--gold); color: var(--accent); }
.modal-body { padding: 8px 24px 32px; overflow-y: auto; overscroll-behavior: contain; }
.modal-body p { margin-top: 16px; font-size: .9375rem; color: var(--ink-2); }
.modal-body p strong { color: var(--ink); font-weight: 600; }
body.lock { overflow: hidden; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1 !important; transform: none !important; }
  .js .rule.rv { transform: none !important; }
  .beam { display: none; }
  .p { animation: none !important; bottom: var(--y, 50%); opacity: .35; }
  .flourish path { stroke-dashoffset: 0 !important; }
  .flourish .dia { opacity: 1 !important; }
  .steps::before { transform: none !important; }
  .wa-float::before { display: none; }
  .card--feat { animation: none; --ang: 120deg; }
  .arch::before { animation: none; }
  [data-theme="escuro"] .p { display: none; }
  .fam-frame img { animation: none; transform: none; }
  .fam-title .gold-i { animation: none; }
}
