/* ==========================================================================
   Maciel & Farias | Sociedade de Advogados
   Design system: azul-marinho institucional + bronze do monograma
   ========================================================================== */

:root {
  --navy-950: #070d24;
  --navy-900: #0b1533;
  --navy: #121f48;
  --navy-700: #1b2c5f;
  --navy-500: #34467d;

  --bronze: #85754e;
  --bronze-400: #a08f63;
  --bronze-300: #bfae80;
  --bronze-200: #ddd0ab;

  --paper: #f5f4f0;
  --paper-2: #ebe9e2;
  --white: #ffffff;
  --ink: #10162b;
  --muted: #5a6074;
  --muted-light: rgba(236, 233, 224, .72);
  --line: rgba(18, 31, 72, .12);
  --line-light: rgba(221, 208, 171, .18);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --container: 1240px;
  --header-h: 84px;
  --section-y: clamp(84px, 11vw, 150px);

  --shadow-sm: 0 6px 18px rgba(7, 13, 36, .08);
  --shadow: 0 24px 60px -20px rgba(7, 13, 36, .35);
  --shadow-gold: 0 14px 34px -12px rgba(133, 117, 78, .65);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
section[id] { scroll-margin-top: calc(var(--header-h) - 10px); }
::selection { background: var(--bronze); color: var(--white); }
:focus-visible { outline: 2px solid var(--bronze-300); outline-offset: 3px; border-radius: 6px; }
section[tabindex="-1"]:focus { outline: none; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--bronze); color: var(--white); font-weight: 600;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Tipografia ---------- */
.title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--navy);
  text-wrap: balance;
}
.title em { font-style: italic; font-weight: 500; color: var(--bronze); }
.title--light { color: var(--white); }
.title--light em { color: var(--bronze-300); }

.lead { font-size: 1.12rem; color: var(--ink); }
p { color: var(--muted); }
p strong { color: var(--navy); font-weight: 600; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), background-color .28s, color .28s, border-color .28s;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.28) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.99); }
.btn__icon { width: 18px; height: 18px; flex: none; transition: transform .28s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--gold {
  --btn-bg: linear-gradient(135deg, var(--bronze-300), var(--bronze) 55%, #6f6141);
  background: var(--btn-bg); color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { box-shadow: 0 18px 40px -12px rgba(133, 117, 78, .85); }
.btn--ghost-light {
  background: rgba(255,255,255,.04); color: var(--white);
  border-color: rgba(221, 208, 171, .45);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { border-color: var(--bronze-300); background: rgba(221, 208, 171, .1); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--bronze); color: var(--bronze); }
.btn--whats { background: #1faa59; color: var(--white); box-shadow: 0 12px 28px -12px rgba(31, 170, 89, .8); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: .86rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .92rem; color: var(--bronze-300);
  position: relative; padding-bottom: 4px;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 28px; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(.35); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--dark { color: var(--bronze); }

/* ---------- Grain ---------- */
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, height .4s var(--ease-out), transform .45s var(--ease-out);
  animation: headerIn 1s var(--ease-out) .1s backwards;
}
.header__inner { animation: fadeDown 1s var(--ease-out) .1s backwards; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } }
.header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-light), transparent);
  opacity: 0; transition: opacity .4s;
}
.header.is-scrolled {
  --header-h: 72px;
  background: rgba(9, 17, 42, .82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}
.header.is-scrolled::after { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { width: auto; height: 42px; transition: height .4s var(--ease-out); }
.header.is-scrolled .header__logo img { height: 36px; }

.nav__list { display: flex; gap: 6px; }
.nav__link {
  position: relative; display: block; padding: 10px 14px;
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.82);
  transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--bronze-300); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__mobile-extra { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light); position: relative; }
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .25s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@keyframes headerIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Hero full-bleed com blend
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  background:
    radial-gradient(70% 85% at 78% 45%, #241d15 0%, rgba(26, 22, 20, .85) 40%, rgba(7, 13, 36, 0) 75%),
    var(--navy-950);
  color: var(--white);
  overflow: hidden;
}
.hero__media {
  position: absolute; z-index: -3;
  right: 0; bottom: 0;
  width: min(66%, 1760px); aspect-ratio: 3 / 2; max-height: calc(100% - var(--header-h) + 20px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 16%, #000 34%), linear-gradient(180deg, transparent 0%, rgba(0,0,0,.35) 7%, rgba(0,0,0,.8) 16%, #000 28%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 16%, #000 34%), linear-gradient(180deg, transparent 0%, rgba(0,0,0,.35) 7%, rgba(0,0,0,.8) 16%, #000 28%);
  mask-composite: intersect;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 1.2s var(--ease-out);
}
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img {
  object-fit: cover; object-position: 50% 12%;
  filter: saturate(.95) contrast(1.06) brightness(1.02);
  animation: kenburns 22s var(--ease-soft) .2s both;
  transform-origin: 55% 30%;
}
/* Vinheta: escurece só as bordas do fundo do estúdio, sem tocar rostos e roupas */
.hero__tone {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 95% at 50% 58%, transparent 62%, rgba(18, 13, 9, .65) 100%);
  mix-blend-mode: multiply;
}
/* Luz de recorte quente atrás dos sócios */
.hero__light {
  position: absolute; left: 12%; right: 4%; top: -6%; height: 58%; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 30%, rgba(221, 208, 171, .30), transparent 70%);
  mix-blend-mode: soft-light;
  animation: lightIn 2.4s var(--ease-out) .4s both;
}
@keyframes lightIn { from { opacity: 0; } to { opacity: 1; } }
.hero__blend {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 13, 36, .92) 0%, rgba(9, 13, 28, .6) 28%, rgba(14, 14, 20, .06) 52%, rgba(14, 14, 20, 0) 100%),
    linear-gradient(0deg, var(--navy-950) 0%, rgba(7, 13, 36, .5) 9%, rgba(7, 13, 36, 0) 24%);
}

/* Cartão dos sócios */
.hero__card {
  position: absolute; z-index: 3;
  right: max(24px, calc((100% - var(--container)) / 2));
  bottom: 40px;
  padding: 18px 22px 16px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  border: 1px solid rgba(221, 208, 171, .25);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12);
  animation: cardIn 1s var(--ease-out) 1.2s both;
}
.hero__card-label {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-300);
}
.hero__card-label::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.hero__card ul { display: grid; gap: 6px; }
.hero__card li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 22px;
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; line-height: 1.2; color: var(--white);
}
.hero__card small { font-family: var(--font-body); font-size: .72rem; font-weight: 500; letter-spacing: .06em; color: rgba(236, 233, 224, .6); white-space: nowrap; }
@media (max-width: 1440px) { .hero__card { bottom: 124px; } }
@keyframes cardIn { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }

.hero__vertical {
  position: absolute; z-index: 3; right: 22px; top: 50%;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font-size: .72rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(221, 208, 171, .55);
  animation: fadeIn 1.2s ease 1.5s both;
}
@media (max-width: 1360px) { .hero__vertical { display: none; } }
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 70vmax; height: 70vmax; right: -18vmax; top: -30vmax;
  background: radial-gradient(circle, rgba(191, 174, 128, .28), transparent 60%);
  mix-blend-mode: soft-light;
  animation: glow 9s ease-in-out infinite alternate;
}
.hero__glow::after {
  content: ""; position: absolute; width: 60%; height: 60%; left: -80%; top: 110%;
  background: radial-gradient(circle, rgba(133, 117, 78, .14), transparent 65%);
}
.hero__content { position: relative; z-index: 2; }
.hero__content > * { max-width: 680px; }
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.2rem, 8.4vw, 7.6rem);
  line-height: .92; letter-spacing: -.02em;
  margin-bottom: 30px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.hero__title em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, var(--bronze-200) 0%, var(--bronze-300) 40%, #f2e8cc 55%, var(--bronze-400) 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s ease-in-out 1.6s infinite;
}
.hero__lead { max-width: 520px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: rgba(236, 233, 224, .82); margin-bottom: 38px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 0;
  max-width: 640px;
  border-top: 1px solid var(--line-light);
  padding-top: 26px;
}
.hero__trust li { flex: 1 1 0; min-width: 150px; padding-right: 24px; }
.hero__trust li + li { padding-left: 24px; border-left: 1px solid var(--line-light); }
.hero__trust strong { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--white); line-height: 1.2; }
.hero__trust span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bronze-300); }

/* entrada do hero */
.hero__anim { opacity: 0; transform: translateY(34px); filter: blur(6px); }
.hero__title .hero__anim { transform: translateY(105%); filter: none; opacity: 1; }
.hero.is-loaded .hero__anim {
  opacity: 1; transform: none; filter: none;
  transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s), filter 1s var(--ease-out) var(--d, 0s);
}

@keyframes kenburns { from { transform: scale(1.14) translate3d(1.5%, 0, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
@keyframes glow { from { transform: translate3d(0, 0, 0) scale(1); opacity: .8; } to { transform: translate3d(-6%, 6%, 0) scale(1.12); opacity: 1; } }
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  background: var(--navy-950); color: var(--bronze-200);
  border-block: 1px solid var(--line-light);
  overflow: hidden; padding: 16px 0;
}
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 42s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-style: italic; white-space: nowrap; }
.marquee b { color: var(--bronze); font-size: .75rem; font-weight: 400; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
[data-reveal] {
  opacity: 0; transform: translate3d(0, 38px, 0);
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s);
}
[data-reveal="left"] { transform: translate3d(-44px, 0, 0); }
[data-reveal="right"] { transform: translate3d(44px, 0, 0); }
[data-reveal="scale"] { transform: scale(.86); }
[data-reveal="up"] { transform: translate3d(0, 60px, 0); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.reveal-clip { clip-path: inset(0 0 100% 0 round var(--radius-lg)); opacity: 1; transform: none; transition: clip-path 1.3s var(--ease-out) var(--d, 0s); }
.reveal-clip img { transform: scale(1.18); transition: transform 1.8s var(--ease-out) var(--d, 0s); }
.reveal-clip.is-visible { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.reveal-clip.is-visible img { transform: scale(1); }

[data-stagger][data-stagger] > * {
  opacity: 0; transform: translate3d(0, 34px, 0);
  transition: opacity .8s var(--ease-out) calc(var(--i, 0) * 90ms), transform .9s var(--ease-out) calc(var(--i, 0) * 90ms);
}
[data-stagger][data-stagger].is-visible > * { opacity: 1; transform: none; }
[data-stagger][data-stagger].is-done > * {
  transition: opacity .3s, transform .35s var(--ease-out), border-color .3s, background-color .3s, box-shadow .35s, color .3s;
}
[data-stagger][data-stagger].is-done > *:hover { transform: var(--hover-t, none); }

[data-parallax] { will-change: transform; }

/* ==========================================================================
   Sobre
   ========================================================================== */
.sobre { background: var(--paper); overflow: hidden; }
.sobre::before {
  content: ""; position: absolute; right: -10%; top: 6%; width: 46vw; aspect-ratio: 1;
  background: url("../img/simbolo-mf.png") center / contain no-repeat;
  opacity: .035; pointer-events: none;
}
.sobre__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.sobre__media { position: relative; isolation: isolate; padding: 0 0 110px 0; --frame: 18px; }
.sobre__media::before {
  content: ""; position: absolute; z-index: -1;
  top: calc(var(--frame) * -1); left: calc(var(--frame) * -1); right: var(--frame); bottom: calc(110px + var(--frame));
  border: 1px solid rgba(133, 117, 78, .55); border-radius: calc(var(--radius-lg) + 6px);
  opacity: 0; transform: translate3d(calc(var(--frame) * 1.6), calc(var(--frame) * 1.6), 0);
  transition: opacity 1s var(--ease-out) .5s, transform 1.4s var(--ease-out) .5s;
}
.sobre__media:has(.reveal-clip.is-visible)::before { opacity: 1; transform: none; }
.sobre__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: var(--shadow); }
.sobre__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.sobre__accent {
  position: absolute; right: -28px; bottom: 0; width: 34%;
  aspect-ratio: 3 / 4.4; border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--paper); box-shadow: var(--shadow);
}
.sobre__accent img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.sobre__accent:hover img { transform: scale(1.06); }
.sobre__badge {
  position: absolute; left: 28px; bottom: 40px;
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center;
  padding: 20px 26px 20px 20px; border-radius: var(--radius);
  background: var(--navy); color: var(--white); box-shadow: var(--shadow);
  max-width: 300px;
}
.sobre__badge img { grid-row: span 2; width: 52px; height: auto; }
.sobre__badge strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--bronze-300); }
.sobre__badge span { font-size: .8rem; color: rgba(255,255,255,.75); line-height: 1.4; }
.sobre__text .title { margin-bottom: 26px; }
.sobre__text .lead { margin-bottom: 18px; }
.sobre__text > p { margin-bottom: 18px; }

.pilares { margin-top: 38px; display: grid; gap: 4px; }
.pilar {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--radius);
  border: 1px solid transparent;
  --hover-t: translateX(6px);
}
.pilar:hover { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.pilar__icon {
  flex: none; width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(133, 117, 78, .1); color: var(--bronze);
  transition: background-color .35s, color .35s, transform .5s var(--ease-out);
}
.pilar__icon svg { width: 28px; height: 28px; }
.pilar:hover .pilar__icon { background: var(--navy); color: var(--bronze-300); transform: rotate(-6deg); }
.pilar h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 4px; }
.pilar p { font-size: .95rem; }

/* ==========================================================================
   História / timeline
   ========================================================================== */
.historia { background: var(--white); }
.historia__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.historia__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.historia__intro .title { margin-bottom: 34px; }
.historia__quote {
  font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.4;
  color: var(--navy-700); padding-left: 26px; border-left: 2px solid var(--bronze);
}
.timeline { position: relative; padding-left: 46px; display: grid; gap: 22px; }
.timeline__rail { position: absolute; left: 10px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline__progress { position: absolute; inset: 0; background: linear-gradient(var(--bronze-300), var(--bronze)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.timeline__item {
  position: relative; padding: 30px 32px; border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid transparent;
  transition: border-color .4s, box-shadow .4s, transform .4s var(--ease-out), opacity .9s var(--ease-out) var(--d, 0s);
}
.timeline__item::before {
  content: ""; position: absolute; left: -42px; top: 38px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--bronze);
  box-shadow: 0 0 0 6px rgba(133, 117, 78, .12);
}
.timeline__item:hover { border-color: rgba(133, 117, 78, .35); box-shadow: var(--shadow-sm); }
.timeline__year { display: inline-block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; font-style: italic; color: var(--bronze); line-height: 1; margin-bottom: 10px; }
.timeline__item h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.timeline__item p { font-size: .97rem; }

/* ==========================================================================
   Áreas
   ========================================================================== */
.areas {
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(52, 70, 125, .45), transparent 60%),
    radial-gradient(60% 50% at 100% 100%, rgba(133, 117, 78, .2), transparent 60%),
    var(--navy-900);
  color: var(--white); overflow: hidden; isolation: isolate;
}
.areas .container { position: relative; z-index: 2; }
.areas__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.areas__intro { color: var(--muted-light); font-size: 1.05rem; }
.areas__layout { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 28px; align-items: start; }
.areas__main { min-width: 0; }

/* Painel dos pilares */
.areas-panel {
  position: sticky; top: calc(var(--header-h) + 24px);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-950); border: 1px solid var(--line-light);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8);
}
@media (max-height: 820px) { .areas-panel { position: relative; top: 0; } }
.areas-panel__media { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-900); }
.areas-panel__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity .7s var(--ease-out), transform 1.4s var(--ease-out);
}
.areas-panel__media img.is-active { opacity: 1; transform: scale(1); }
.areas-panel__media [data-panel-img="planejamento"] { object-position: 50% 62%; }
.areas-panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--navy-950) 2%, rgba(7, 13, 36, .35) 45%, transparent 75%); }
.areas-panel__count { position: absolute; z-index: 2; left: 24px; bottom: 14px; display: flex; align-items: baseline; gap: 10px; }
.areas-panel__count strong { font-family: var(--font-display); font-size: 2.8rem; font-weight: 600; line-height: 1; color: var(--bronze-300); }
.areas-panel__count span { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.areas-panel__body { display: grid; gap: 14px; padding: 8px 24px 26px; }
.areas-panel__title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1.1; color: var(--white); }
.areas-panel__desc { font-size: .92rem; line-height: 1.6; color: var(--muted-light); }
.areas-panel__title, .areas-panel__desc, .areas-panel__count { transition: opacity .25s, transform .3s var(--ease-out); }
.areas-panel.is-swapping .areas-panel__title,
.areas-panel.is-swapping .areas-panel__desc,
.areas-panel.is-swapping .areas-panel__count { opacity: 0; transform: translateY(6px); }
.areas-panel__cta { justify-self: start; margin-top: 2px; }

.areas-filter { display: grid; gap: 6px; margin-top: 4px; }
.areas:not(.has-filter) .areas-filter { display: none; }
.areas-filter__btn {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 46px; padding: 10px 16px; border-radius: 14px;
  border: 1px solid var(--line-light); background: rgba(255, 255, 255, .03);
  font: inherit; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .78); text-align: left; cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease-out);
}
.areas-filter__btn b { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; font-weight: 600; color: var(--bronze-300); }
.areas-filter__btn:hover { border-color: rgba(191, 174, 128, .45); background: rgba(255, 255, 255, .06); color: var(--white); }
.areas-filter__btn[aria-pressed="true"] {
  border-color: rgba(191, 174, 128, .6); color: var(--white);
  background: linear-gradient(120deg, rgba(191, 174, 128, .24), rgba(191, 174, 128, .06));
}
.areas-filter__btn[aria-pressed="true"]::before {
  content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--bronze-300);
}

/* Cards */
.areas__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.area-card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 26px 18px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--line-light);
  overflow: hidden; isolation: isolate;
  --hover-t: translateY(-6px);
}
.area-card[hidden] { display: none !important; }
.area-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(191, 174, 128, .18), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.area-card:hover { border-color: rgba(191, 174, 128, .5); box-shadow: 0 30px 50px -30px rgba(0,0,0,.8); }
.area-card:hover::before { opacity: 1; }
.area-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.area-card__icon {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px;
  background: rgba(191, 174, 128, .12); border: 1px solid rgba(191, 174, 128, .22); color: var(--bronze-300);
  transition: background-color .4s, color .4s, border-color .4s, transform .6s var(--ease-out);
}
.area-icon { width: 26px; height: 26px; }
.area-card:hover .area-card__icon { background: var(--bronze-300); border-color: var(--bronze-300); color: var(--navy-950); transform: rotate(-6deg) scale(1.04); }
.area-num { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: var(--bronze-300); letter-spacing: .08em; opacity: .85; }
.area-card h3 { font-family: var(--font-display); font-size: 1.42rem; font-weight: 600; line-height: 1.15; margin-bottom: 10px; text-wrap: balance; }
.area-card p { font-size: .92rem; color: var(--muted-light); line-height: 1.65; margin-bottom: 20px; }
.area-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-light);
}
.area-card__tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.area-card__link { display: inline-flex; align-items: center; gap: 6px; padding-block: 8px; font-size: .84rem; font-weight: 700; color: var(--bronze-300); transition: color .3s; }
.area-card__link svg { width: 15px; height: 15px; transition: transform .35s var(--ease-out); }
.area-card__link:hover { color: var(--bronze-200); }
.area-card:hover .area-card__link svg { transform: translateX(4px); }

.area-card--cta {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; row-gap: 6px; align-items: center;
  padding: 30px 32px;
  background: linear-gradient(120deg, var(--bronze-300), var(--bronze) 75%);
  border-color: transparent; color: var(--navy-950);
}
.area-card--cta > * { grid-column: 1; }
.area-card--cta::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.35), transparent 50%); }
.area-card--cta:hover { border-color: transparent; }
.area-card__kicker { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.area-card--cta strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; line-height: 1.1; }
.area-card--cta > span:not([class]) { font-size: .95rem; line-height: 1.6; color: rgba(7, 13, 36, .78); }
.area-card__go {
  grid-column: 2; grid-row: 1 / span 3;
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 50%; background: var(--navy-950); color: var(--bronze-300);
  transition: transform .4s var(--ease-out);
}
.area-card__go svg { width: 20px; height: 20px; }
.area-card--cta:hover .area-card__go { transform: translateX(6px); }

.areas__grid.is-leaving > .area-card { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .2s, transform .2s; }
.area-card.is-entering { animation: areaIn .6s var(--ease-out) calc(var(--fi, 0) * 45ms) both; }
@keyframes areaIn { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   Números
   ========================================================================== */
.numeros { background: var(--paper); padding-block: clamp(70px, 8vw, 110px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); padding-bottom: 48px; margin-bottom: 40px; }
.stat { text-align: center; padding: 10px 16px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.8rem, 5vw, 4.4rem); color: var(--navy); line-height: 1; margin-bottom: 10px; font-variant-numeric: lining-nums; }
.stat > span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); font-weight: 600; }
.valores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.valores li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px 12px 14px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--line);
  font-size: .92rem; font-weight: 600; color: var(--navy);
  --hover-t: translateY(-3px);
}
.valores li:hover { border-color: var(--bronze); }
.valores svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--navy); color: var(--bronze-300); }

/* ==========================================================================
   Vídeo
   ========================================================================== */
.video {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(480px, 80vh, 760px);
  display: grid; place-items: center; text-align: center;
  color: var(--white);
}
.video__media { position: absolute; inset: -8% 0; z-index: -2; }
.video__media img { width: 100%; height: 100%; object-fit: cover; }
.video__overlay { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(7, 13, 36, .35), rgba(7, 13, 36, .88)); }
.video__content { display: flex; flex-direction: column; align-items: center; padding-block: 90px; }
.video__content .title { max-width: 760px; margin-bottom: 40px; }
.play {
  position: relative; width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--bronze-300), var(--bronze));
  color: var(--white); box-shadow: var(--shadow-gold);
}
.play.is-visible { transition: transform .4s var(--ease-out), box-shadow .4s, opacity .9s var(--ease-out) var(--d, 0s); }
.play svg { width: 32px; height: 32px; margin-left: 5px; }
.play:hover { transform: scale(1.06); }
.play__ring { position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(221, 208, 171, .6); animation: ring 2.6s var(--ease-out) infinite; }
.play__ring::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(221, 208, 171, .3); animation: ring 2.6s var(--ease-out) .6s infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.depoimentos { background: var(--paper); overflow: hidden; }
main { overflow-x: clip; }
.depoimentos__head {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.depoimentos__head .title { margin-bottom: 18px; }
.depoimentos__head p { max-width: 520px; }

/* Resumo Google */
.g-summary {
  display: flex; align-items: center; gap: 22px;
  padding: 20px 22px 20px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.g-summary__logo { width: 38px; height: 38px; flex: none; }
.g-summary__score { display: flex; align-items: center; gap: 14px; padding-right: 22px; border-right: 1px solid var(--line); }
.g-summary__score strong { font-family: var(--font-display); font-size: 2.9rem; font-weight: 600; line-height: 1; color: var(--navy); }
.g-summary__score small { display: block; margin-top: 4px; font-size: .78rem; color: var(--muted); white-space: nowrap; }

.stars { position: relative; display: inline-flex; vertical-align: middle; }
.stars svg { width: 18px; height: 18px; flex: none; }
.stars__base, .stars__fill { display: flex; gap: 2px; }
.stars__base { color: #dadce0; }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #fbbc04; width: calc(var(--rating, 5) / 5 * 100%); }

/* Cards de avaliação */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  --hover-t: translateY(-6px);
  position: relative; display: flex; flex-direction: column;
  padding: 24px 24px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(7, 13, 36, .04);
}
.review:hover { box-shadow: 0 22px 44px -22px rgba(7, 13, 36, .3); border-color: rgba(133, 117, 78, .35); }
.review__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--c, var(--navy)); color: var(--white);
  font-size: 1.15rem; font-weight: 600;
}
.review__who { min-width: 0; line-height: 1.35; }
.review__who strong { display: block; font-size: .98rem; font-weight: 700; color: var(--ink); }
.review__who span { display: block; font-size: .78rem; color: var(--muted); }
.review__source { width: 22px; height: 22px; margin-left: auto; flex: none; align-self: flex-start; }
.review__stars { display: flex; gap: 2px; margin-bottom: 12px; color: #fbbc04; }
.review__stars svg { width: 19px; height: 19px; }
.review__stars .is-off { color: #dadce0; }
.review__text {
  color: var(--ink); font-size: .96rem; line-height: 1.65;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden;
}
.review__text.is-expanded { -webkit-line-clamp: unset; line-clamp: unset; display: block; }
.review__more { align-self: flex-start; margin-top: 6px; font-size: .86rem; font-weight: 700; color: var(--navy); transition: color .25s; }
.review__more:hover { color: var(--bronze); }
.review__foot {
  display: flex; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 16px;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--muted);
}
.review__foot::before { content: ""; position: absolute; left: 24px; right: 24px; height: 1px; background: var(--line); transform: translateY(-14px); }
.review__foot svg { width: 14px; height: 14px; color: #1e8e3e; }
.review--cliente .review__avatar { background: var(--navy); color: var(--bronze-300); font-family: var(--font-display); font-size: 1.1rem; }
.review--cliente .review__stars { color: var(--bronze-400); }
.review--cliente .review__foot svg { color: var(--bronze); }
.review__source--quote {
  display: grid; place-items: center; border-radius: 50%;
  width: 30px; height: 30px; margin-top: -4px;
  background: var(--paper); color: var(--bronze);
  font-family: var(--font-display); font-size: 1.9rem; line-height: 1; padding-top: 10px;
}

/* ==========================================================================
   Sócios
   ========================================================================== */
.socios { background: var(--white); }
.socios__head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.socios__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.socio__card { display: block; width: 100%; text-align: left; position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; }
.socio__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--navy-900); }
.socio__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 1.2s var(--ease-out), filter .6s; filter: saturate(.9); }
.socio__card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(7, 13, 36, .96) 0%, rgba(7, 13, 36, .55) 32%, transparent 60%);
  transition: opacity .5s;
}
.socio__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px; color: var(--white); display: flex; flex-direction: column; }
.socio__oab { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-300); font-weight: 700; margin-bottom: 8px; }
.socio__name { font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; line-height: 1.08; margin-bottom: 6px; }
.socio__role { font-size: .88rem; color: rgba(255,255,255,.72); }
.socio__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: .85rem; font-weight: 600; color: var(--bronze-200);
  max-height: 0; opacity: 0; transform: translateY(10px);
  transition: max-height .5s var(--ease-out), opacity .4s, transform .5s var(--ease-out);
}
.socio__more svg { width: 16px; height: 16px; }
.socio__card:hover .socio__photo img, .socio__card:focus-visible .socio__photo img { transform: scale(1.07); filter: saturate(1); }
.socio__card:hover .socio__more, .socio__card:focus-visible .socio__more { max-height: 30px; opacity: 1; transform: none; }
.socio__card .socio__info::before {
  content: ""; position: absolute; left: 28px; top: 0; width: 40px; height: 1px; background: var(--bronze-300);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.socio__card:hover .socio__info::before { transform: scaleX(1); }
.socio template { display: none; }
.socios__lead { margin-top: 20px; color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.socio__facts { display: grid; gap: 10px; margin-top: 22px; padding: 0 6px; }
.socio__facts li {
  position: relative; padding-left: 22px;
  font-size: .9rem; line-height: 1.5; color: var(--ink);
}
.socio__facts li::before {
  content: ""; position: absolute; left: 2px; top: .5em;
  width: 7px; height: 7px; background: var(--bronze); transform: rotate(45deg);
}
.socio__facts li + li { padding-top: 10px; border-top: 1px solid var(--line); }
.socio__facts li + li::before { top: calc(10px + .5em); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head .title { margin-bottom: 22px; }
.faq__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.faq__list { display: grid; gap: 14px; }
.faq__item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .4s var(--ease-out);
}
.faq__item:hover { border-color: rgba(133, 117, 78, .4); }
.faq__item[open] { border-color: rgba(133, 117, 78, .45); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px;
  font-family: var(--font-display); font-size: clamp(1.2rem, 1.7vw, 1.4rem); font-weight: 600; line-height: 1.25; color: var(--navy);
  border-radius: var(--radius);
  transition: color .25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--bronze); }
.faq__icon {
  position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); transition: background-color .3s, border-color .3s, transform .45s var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px;
  background: var(--bronze); border-radius: 2px; transition: transform .45s var(--ease-out), background-color .3s;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--navy); border-color: var(--navy); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--bronze-300); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 28px 26px; max-width: 62ch; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(100deg, var(--navy-950) 0%, var(--navy) 55%, var(--navy-700) 100%);
  color: var(--white);
  padding-block: clamp(80px, 9vw, 120px);
}
.cta-band__media {
  position: absolute; z-index: -1; right: 0; top: -20%; bottom: -20%; width: 46%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  opacity: .5; mix-blend-mode: luminosity;
}
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr auto; gap: 48px; align-items: end; }
.cta-band__text { color: var(--muted-light); max-width: 620px; margin-top: 18px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; }

/* ==========================================================================
   Contato + formulário
   ========================================================================== */
.contato { background: var(--navy-950); color: var(--white); overflow: hidden; isolation: isolate; }
.contato__bg { position: absolute; inset: 0 0 auto; height: 78%; z-index: -1; }
.contato__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.contato__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 13, 36, .55), var(--navy-950) 96%), linear-gradient(90deg, var(--navy-950) 0%, transparent 70%); }
.contato__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contato__lead { color: var(--muted-light); margin: 20px 0 36px; max-width: 460px; }
.contato__list { display: grid; gap: 14px; margin-bottom: 34px; }
.contato__list li {
  display: flex; gap: 18px; align-items: center;
  padding: 16px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid var(--line-light);
  backdrop-filter: blur(6px);
  --hover-t: translateX(6px);
}
.contato__list li:hover { border-color: rgba(191, 174, 128, .5); background: rgba(255,255,255,.07); }
.contato__icon { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: rgba(191, 174, 128, .14); color: var(--bronze-300); }
.contato__icon svg { width: 22px; height: 22px; }
.contato__list small { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-300); font-weight: 700; }
.contato__list div { min-width: 0; font-size: .98rem; color: rgba(255,255,255,.9); line-height: 1.5; }
.contato__list a[href^="mailto:"], .footer__col a[href^="mailto:"] { overflow-wrap: anywhere; }
.contato__list a:hover { color: var(--bronze-200); }
.contato__route {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--bronze-300);
}
.contato__list div > a:first-of-type { display: block; }
button.contato__route { padding: 0; border: 0; background: none; font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--bronze-300); cursor: pointer; }
button.contato__route:hover { color: var(--bronze-200); }
.contato__route svg { width: 15px; height: 15px; transition: transform .3s var(--ease-out); }
.contato__route:hover svg { transform: translateX(4px); }

.social { display: flex; gap: 12px; }
.social a, .social button {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-light); color: var(--bronze-200);
  transition: background-color .3s, color .3s, transform .3s var(--ease-out), border-color .3s;
}
.social svg { width: 20px; height: 20px; }
.ig-card {
  display: flex; align-items: center; gap: 14px; margin-top: 22px; max-width: 460px;
  padding: 14px 14px 14px 14px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid var(--line-light);
  transition: border-color .3s, background .3s, transform .4s var(--ease-out);
  --hover-t: translateY(-3px);
}
.ig-card:hover { border-color: rgba(191, 174, 128, .5); background: rgba(255,255,255,.07); }
.ig-card__icon {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff;
}
.ig-card__icon svg { width: 22px; height: 22px; }
.ig-card__body { display: grid; gap: 2px; min-width: 0; }
.ig-card__body strong { font-size: .95rem; color: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-card__body small { font-size: .76rem; color: rgba(255,255,255,.6); line-height: 1.45; }
.ig-card__cta {
  margin-left: auto; flex: none; padding: 8px 16px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; background: var(--bronze); color: var(--white); transition: background .3s;
}
.ig-card:hover .ig-card__cta { background: var(--bronze-300); color: var(--navy-950); }
.social a:hover, .social button:hover { background: var(--bronze); border-color: var(--bronze); color: var(--white); transform: translateY(-3px); }

.form-card {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.form-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  background: linear-gradient(140deg, var(--bronze-300), transparent 40%, transparent 60%, var(--bronze));
}
.form__title { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--navy); line-height: 1.1; }
.form__sub { font-size: .85rem; margin: 6px 0 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.field { position: relative; margin-bottom: 18px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 58px;
  padding: 24px 18px 8px;
  border-radius: 14px;
  border: 1px solid #d9dbe3;
  background: #f8f8f6;
  font: inherit; font-size: .97rem; color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; padding-top: 28px; }
.field label {
  position: absolute; left: 19px; top: 18px;
  font-size: .95rem; color: var(--muted); pointer-events: none;
  transform-origin: left top;
  transition: transform .25s var(--ease-out), color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--bronze); background: var(--white);
  box-shadow: 0 0 0 4px rgba(133, 117, 78, .14);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has-value + label {
  transform: translateY(-11px) scale(.78); color: var(--bronze);
}
.field--select::after {
  content: ""; position: absolute; right: 20px; top: 26px; width: 8px; height: 8px;
  border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy);
  transform: rotate(45deg); pointer-events: none;
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c2413b; background: #fdf6f5; }
.field.is-invalid label { color: #c2413b; }
.field__error { display: block; font-size: .78rem; color: #c2413b; min-height: 0; margin-top: 4px; padding-left: 6px; }
.field__error:empty { display: none; }
.field--sm input { min-height: 50px; padding: 20px 16px 6px; border-radius: 12px; }
.field--sm label { top: 14px; left: 17px; font-size: .9rem; }
.field--sm input:focus + label, .field--sm input:not(:placeholder-shown) + label { transform: translateY(-9px) scale(.78); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--muted); cursor: pointer; margin: 6px 0 4px; line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  flex: none; width: 22px; height: 22px; border-radius: 7px; margin-top: 1px;
  border: 1.5px solid #c9ccd6; display: grid; place-items: center;
  transition: background-color .25s, border-color .25s;
}
.check__box svg { width: 14px; height: 14px; color: var(--white); transform: scale(0); transition: transform .3s var(--ease-out); }
.check input:checked + .check__box { background: var(--bronze); border-color: var(--bronze); }
.check input:checked + .check__box svg { transform: scale(1); }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(133, 117, 78, .2); }
.check a { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.field__error--check { margin: 0 0 8px 34px; }

.form__submit { margin-top: 18px; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: var(--white); animation: spin .8s linear infinite; }
.form.is-loading .spinner { display: inline-block; }
.form.is-loading .form__submit .btn__icon { display: none; }
.form.is-loading .form__submit { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { font-size: .88rem; margin-top: 14px; text-align: center; }
.form__status.is-error { color: #c2413b; }

.form-success { text-align: center; padding: 40px 10px; animation: successIn .7s var(--ease-out) both; }
.form-success h3 { font-family: var(--font-display); font-size: 2.2rem; color: var(--navy); margin: 20px 0 8px; }
.form-success p { margin-bottom: 28px; }
.form-success__check { width: 92px; height: 92px; margin: 0 auto; }
.form-success__check circle { stroke: var(--bronze); stroke-width: 2; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s var(--ease-out) .1s forwards; }
.form-success__check path { stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease-out) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes successIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

.mapa { position: relative; margin-top: clamp(56px, 7vw, 90px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-light); height: 380px; background: var(--navy-900); }
.mapa iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.9) invert(.9) hue-rotate(180deg) contrast(.9) brightness(.95); transition: filter .6s; }
.mapa:hover iframe { filter: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding-top: 80px; border-top: 1px solid var(--line-light); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer__brand img { width: 250px; height: auto; margin-bottom: 22px; }
.footer__brand p { color: rgba(255,255,255,.6); font-size: .93rem; max-width: 340px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.footer__col h4 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-300); margin-bottom: 8px; }
.footer__col a { width: fit-content; transition: color .25s, transform .25s var(--ease-out); }
.footer__col a:hover { color: var(--bronze-200); transform: translateX(3px); }
.footer__btn {
  width: fit-content; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
  transition: color .25s, transform .25s var(--ease-out);
}
.footer__btn:hover { color: var(--bronze-200); transform: translateX(3px); }
.social--footer { margin-top: 8px; }
.footer__handle {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: .88rem; font-weight: 600; color: var(--bronze-300); transition: color .3s;
}
.footer__handle svg { width: 18px; height: 18px; }
.footer__handle:hover { color: var(--white); }
.social--footer a { width: 42px; height: 42px; }
.social--footer a:hover { transform: translateY(-3px); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 26px; border-top: 1px solid var(--line-light); font-size: .82rem; color: rgba(255,255,255,.5); }
.footer__bottom { padding-right: max(0px, calc(128px - max(24px, (100vw - var(--container)) / 2))); }
.footer__copy { margin: 0; }
.footer__credit { margin-left: auto; white-space: nowrap; }
.footer__credit a { color: var(--bronze-300); font-weight: 600; transition: color .25s; }
.footer__credit a:hover { color: var(--white); }
@media (max-width: 760px) {
  .footer__credit { margin-left: 0; }
}
.footer__top { display: inline-flex; align-items: center; gap: 8px; color: var(--bronze-300); }
.footer__top svg { width: 16px; height: 16px; transform: rotate(-90deg); transition: transform .3s var(--ease-out); }
.footer__top:hover svg { transform: rotate(-90deg) translateX(4px); }

/* ==========================================================================
   Modais
   ========================================================================== */
.modal {
  border: 0; padding: 0; border-radius: var(--radius-lg);
  max-width: min(980px, calc(100% - 32px)); width: 100%;
  max-height: calc(100dvh - 40px);
  background: var(--white); color: var(--ink);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.7);
  overflow: hidden;
}
.modal::backdrop { background: rgba(7, 13, 36, .78); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .55s var(--ease-out) both; }
.modal[open]::backdrop { animation: fadeIn .4s ease both; }
.modal.is-closing { animation: modalOut .3s var(--ease-soft) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes modalOut { to { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__close {
  position: absolute; right: 16px; top: 16px; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--navy); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), background-color .3s;
}
.modal__close svg { width: 20px; height: 20px; }
.modal__close:hover { transform: rotate(90deg); background: var(--bronze-200); }

.modal-socio { display: grid; grid-template-columns: .85fr 1.15fr; max-height: calc(100dvh - 40px); }
.modal-socio__photo { background: var(--navy-900); }
.modal-socio__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.modal-socio__body { padding: clamp(28px, 4vw, 48px); overflow-y: auto; }
.modal-socio__body .socio__oab { color: var(--bronze); display: block; }
.modal-socio__body h3 { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 600; color: var(--navy); line-height: 1.05; margin-bottom: 22px; }
.modal-socio__cv ul { display: grid; gap: 10px; margin-bottom: 28px; }
.modal-socio__cv li { position: relative; padding-left: 26px; font-size: .95rem; color: var(--muted); line-height: 1.55; opacity: 0; transform: translateX(14px); animation: cvIn .5s var(--ease-out) forwards; animation-delay: calc(.2s + var(--i, 0) * 50ms); }
.modal-socio__cv li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 1px; background: var(--bronze); }
@keyframes cvIn { to { opacity: 1; transform: none; } }

.modal--video { background: #000; max-width: min(1100px, calc(100% - 32px)); }
.modal-video__frame { position: relative; aspect-ratio: 16 / 9; }
.modal-video__frame:has(.cc-gate) { aspect-ratio: auto; min-height: min(420px, 80vh); }
.modal-video__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   WhatsApp flutuante
   ========================================================================== */
.wa { position: fixed; right: 24px; bottom: 24px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa__fab {
  position: relative; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1faa59; color: var(--white);
  box-shadow: 0 16px 34px -10px rgba(31, 170, 89, .7);
  transition: transform .35s var(--ease-out), background-color .3s;
  animation: fabIn .8s var(--ease-out) 1.2s both;
}
.wa__fab:hover { transform: scale(1.07); }
.wa__fab svg { width: 30px; height: 30px; position: absolute; transition: transform .4s var(--ease-out), opacity .3s; }
.wa__icon-close { opacity: 0; transform: rotate(-90deg) scale(.6); width: 24px !important; height: 24px !important; }
.wa.is-open .wa__fab { background: var(--navy); }
.wa.is-open .wa__icon-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.wa.is-open .wa__icon-close { opacity: 1; transform: none; }
.wa__pulse { position: absolute; inset: 0; border-radius: 50%; background: #1faa59; animation: pulse 2.4s ease-out infinite; z-index: -1; }
.wa.is-open .wa__pulse { display: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.65); opacity: 0; } }
@keyframes fabIn { from { opacity: 0; transform: translateY(30px) scale(.6); } to { opacity: 1; transform: none; } }

.wa__tip {
  position: relative; padding: 12px 18px; border-radius: 16px 16px 4px 16px;
  background: var(--white); color: var(--navy); font-size: .88rem; font-weight: 600;
  box-shadow: var(--shadow);
  animation: tipIn .6s var(--ease-out) both;
}
@keyframes tipIn { from { opacity: 0; transform: translateY(10px) scale(.95); } to { opacity: 1; transform: none; } }

/* ---------- Voltar ao topo ---------- */
.to-top {
  --size: 52px;
  position: fixed; z-index: 149;
  right: calc(24px + (64px - var(--size)) / 2);
  bottom: calc(24px + 64px + 16px);
  width: var(--size); height: var(--size); border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(11, 21, 51, .9); color: var(--bronze-200);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -12px rgba(7, 13, 36, .6);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(18px) scale(.8);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s linear .5s, background-color .3s, color .3s, box-shadow .3s;
}
.to-top.is-visible {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s, background-color .3s, color .3s, box-shadow .3s;
}
.wa.is-open ~ .to-top.is-visible,
.wa:has(.wa__tip:not([hidden])) ~ .to-top.is-visible { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(18px) scale(.8); }
.to-top:hover { background: var(--bronze); color: var(--white); box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 1.5; }
.to-top__track { stroke: rgba(221, 208, 171, .18); }
.to-top__progress {
  stroke: var(--bronze-300); stroke-linecap: round;
  stroke-dasharray: 150.8; stroke-dashoffset: calc(150.8 * (1 - var(--p, 0)));
  transition: stroke .3s;
}
.to-top:hover .to-top__progress { stroke: var(--white); }
.to-top__icon { width: 20px; height: 20px; transform: rotate(-90deg); transition: transform .35s var(--ease-out); }
.to-top:hover .to-top__icon { transform: rotate(-90deg) translateX(3px); }

.wa__panel {
  width: min(370px, calc(100vw - 32px));
  border-radius: 24px; overflow: hidden;
  background: var(--white); box-shadow: 0 30px 70px -20px rgba(7, 13, 36, .55);
  transform-origin: bottom right;
  animation: panelIn .45s var(--ease-out) both;
}
.wa__panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
.wa__header { display: flex; align-items: center; gap: 12px; padding: 18px 18px; background: linear-gradient(120deg, var(--navy-950), var(--navy)); color: var(--white); }
.wa__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: none; border: 2px solid var(--bronze-300); }
.wa__avatar img { width: 28px; height: auto; }
.wa__header strong { display: block; font-size: .98rem; }
.wa__status { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255,255,255,.7); }
.wa__status i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .25); }
.wa__status.is-off i { background: var(--bronze-300); box-shadow: 0 0 0 3px rgba(191, 174, 128, .25); }
.wa__close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.8); transition: background-color .25s; }
.wa__close:hover { background: rgba(255,255,255,.12); }
.wa__close svg { width: 18px; height: 18px; }
.wa__body {
  padding: 18px;
  background: #efeae2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 4v6M17 7h6' stroke='%23d9d2c4' stroke-width='1'/%3E%3C/svg%3E");
}
.wa__bubble {
  position: relative; background: var(--white); border-radius: 4px 16px 16px 16px;
  padding: 14px 16px 22px; font-size: .88rem; box-shadow: 0 1px 1px rgba(0,0,0,.08);
  margin-bottom: 16px; animation: tipIn .5s var(--ease-out) .15s both;
}
.wa__bubble p { color: var(--ink); line-height: 1.5; }
.wa__bubble p + p { margin-top: 6px; }
.wa__bubble time { position: absolute; right: 12px; bottom: 6px; font-size: .68rem; color: var(--muted); }
.wa__form { background: var(--white); border-radius: 18px; padding: 14px; animation: tipIn .5s var(--ease-out) .3s both; }
.wa__form .field { margin-bottom: 12px; }
.wa__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip {
  padding: 7px 13px; border-radius: var(--radius-pill);
  border: 1px solid #d9dbe3; font-size: .78rem; font-weight: 600; color: var(--navy);
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out);
}
.chip:hover { border-color: var(--bronze); transform: translateY(-1px); }
.chip.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.wa .btn { min-height: 50px; }

/* ==========================================================================
   Páginas internas (documentos legais, 404)
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 80px; background: radial-gradient(90% 120% at 90% 0%, var(--navy-700), var(--navy-950) 70%); color: var(--white); overflow: hidden; isolation: isolate; }
.page-hero::after {
  content: ""; position: absolute; right: -8%; top: 10%; z-index: -1; width: min(520px, 60vw); aspect-ratio: 1;
  border-radius: 50%; border: 1px solid var(--line-light);
  box-shadow: 0 0 0 60px rgba(221, 208, 171, .025), 0 0 0 140px rgba(221, 208, 171, .02);
  animation: heroRing 14s var(--ease-soft) infinite alternate;
}
@keyframes heroRing { to { transform: translate3d(-30px, 20px, 0) scale(1.06); } }
.page-hero .title { font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero__lead { max-width: 640px; margin-top: 18px; font-size: 1.05rem; color: var(--muted-light); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: .82rem; color: rgba(255,255,255,.55); }
.crumbs a { color: var(--bronze-200); transition: color .25s; }
.crumbs a:hover { color: var(--white); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.3); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.page-hero__meta span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px;
  border-radius: var(--radius-pill); border: 1px solid var(--line-light); background: rgba(255,255,255,.04);
  font-size: .8rem; font-weight: 600; color: var(--muted-light);
}
.page-hero__meta svg { width: 16px; height: 16px; color: var(--bronze-300); }

.legal { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 28px); }
.legal__toc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin-bottom: 14px;
}
.legal__toc summary::-webkit-details-marker { display: none; }
.legal__toc ol { counter-reset: toc; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal__toc a {
  counter-increment: toc; position: relative; display: block; padding: 8px 0 8px 18px; margin-left: -1px;
  border-left: 2px solid transparent; font-size: .88rem; color: var(--muted); line-height: 1.4;
  transition: color .25s, border-color .25s, transform .3s var(--ease-out);
}
.legal__toc a::before { content: counter(toc, decimal-leading-zero) "  "; font-size: .72rem; font-weight: 700; color: var(--bronze-400); }
.legal__toc a:hover { color: var(--navy); transform: translateX(3px); }
.legal__toc a.is-active { color: var(--navy); font-weight: 600; border-left-color: var(--bronze); }

.legal__summary {
  position: relative; padding: 28px 30px; margin-bottom: 12px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
}
.legal__summary::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--bronze-300), var(--bronze)); }
.legal__summary h2 { margin: 0 0 14px !important; font-size: 1.5rem !important; }
.legal__summary ul { list-style: none !important; padding: 0 !important; gap: 10px !important; }
.legal__summary li { position: relative; padding-left: 28px; color: var(--ink) !important; }
.legal__summary li svg { position: absolute; left: 0; top: 3px; width: 18px; height: 18px; color: var(--bronze); }

.prose { max-width: 820px; margin-inline: auto; }
.legal .prose { max-width: 780px; margin: 0; }
.prose h2 { font-family: var(--font-display); font-size: 1.9rem; color: var(--navy); margin: 44px 0 12px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin: 26px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.prose ol { list-style: decimal; }
.prose a { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--navy); font-weight: 600; }
.link-btn { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--navy); }

.legal-table { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; background: var(--white); }
.legal-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .88rem; }
.legal-table th, .legal-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--muted); }
.legal-table th { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); background: #fbfaf7; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { color: var(--navy); font-weight: 600; }
.legal-table code { font-size: .82rem; padding: 2px 6px; border-radius: 6px; background: var(--paper-2); color: var(--navy); }
@media (max-width: 640px) {
  .legal-table.is-labeled { border: 0; border-radius: 0; background: none; overflow: visible; }
  .legal-table.is-labeled table { min-width: 0; }
  .legal-table.is-labeled thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-table.is-labeled table, .legal-table.is-labeled tbody, .legal-table.is-labeled tr, .legal-table.is-labeled td { display: block; }
  .legal-table.is-labeled tr { margin-bottom: 12px; padding: 6px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
  .legal-table.is-labeled td, .legal-table.is-labeled tr:last-child td { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .legal-table.is-labeled td:last-child { border-bottom: 0; }
  .legal-table.is-labeled td::before { content: attr(data-label); display: block; margin-bottom: 3px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }
  .legal-table.is-labeled td:first-child { font-size: 1rem; }
}

.legal__cta {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center;
  margin-top: 56px; padding: 34px 36px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 100% 0%, var(--navy-700), var(--navy-950) 70%); color: var(--white);
}
.legal__cta h2 { margin: 0 0 8px !important; color: var(--white) !important; font-size: 1.7rem !important; }
.legal__cta p { color: var(--muted-light) !important; margin: 0; }
.legal__cta a:not(.btn) { color: var(--bronze-200); }
.legal__cta .btn { text-decoration: none; }
.legal__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.footer--legal .footer__bottom { border-top: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 26px; padding-block: 34px 0; font-size: .88rem; color: rgba(255,255,255,.7); }
.footer__legal a, .footer__legal button { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; transition: color .25s; }
.footer__legal a:hover, .footer__legal button:hover, .footer__legal [aria-current] { color: var(--bronze-200); }

.notfound { min-height: 100vh; display: grid; place-items: center; padding: calc(var(--header-h) + 40px) 0 80px; text-align: center; }
.notfound__code { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 12rem); line-height: .9; font-weight: 600; color: transparent; -webkit-text-stroke: 1px var(--bronze-300); }
.notfound .title { margin-top: 10px; }
.notfound p { max-width: 520px; margin: 18px auto 0; color: var(--muted-light); }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

@media (max-width: 980px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .legal__toc { position: static; padding: 18px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
  .legal__toc summary { margin-bottom: 0; }
  .legal__toc summary::after { content: "+"; font-size: 1.2rem; letter-spacing: 0; color: var(--bronze); transition: transform .3s var(--ease-out); }
  .legal__toc[open] summary { margin-bottom: 12px; }
  .legal__toc[open] summary::after { transform: rotate(45deg); }
  .legal__cta { grid-template-columns: 1fr; padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero::after { animation: none; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1140px) {
  .nav__link { padding: 10px 10px; font-size: .86rem; }
  .hero__trust { max-width: 600px; }
  .hero__trust li { min-width: 0; padding-right: 16px; }
  .hero__trust li + li { padding-left: 16px; }
  .hero__trust span { letter-spacing: .05em; }
  .areas__layout { grid-template-columns: minmax(0, 1fr); }
  .areas-panel { position: relative; top: 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .areas-panel__media { aspect-ratio: auto; min-height: 100%; }
  .areas-panel__media::after { background: linear-gradient(90deg, transparent 40%, var(--navy-950)), linear-gradient(0deg, rgba(7, 13, 36, .75), transparent 45%); }
  .areas-panel__body { align-content: center; padding: 30px 30px 28px; }
  .areas-filter { grid-template-columns: 1fr 1fr; }
  .areas__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 74px; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    display: flex; flex-direction: column; justify-content: center;
    padding: 110px 32px 40px;
    background: linear-gradient(160deg, var(--navy-950), var(--navy));
    clip-path: circle(0% at calc(100% - 46px) 37px);
    transition: clip-path .7s var(--ease-out);
    visibility: hidden;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 46px) 37px); visibility: visible; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; padding: 8px 0; color: var(--white); opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), color .25s; }
  .nav.is-open .nav__link { opacity: 1; transform: none; }
  .nav.is-open li:nth-child(1) .nav__link { transition-delay: .15s; }
  .nav.is-open li:nth-child(2) .nav__link { transition-delay: .2s; }
  .nav.is-open li:nth-child(3) .nav__link { transition-delay: .25s; }
  .nav.is-open li:nth-child(4) .nav__link { transition-delay: .3s; }
  .nav.is-open li:nth-child(5) .nav__link { transition-delay: .35s; }
  .nav.is-open li:nth-child(6) .nav__link { transition-delay: .4s; }
  .nav__link::after { left: 0; right: auto; width: 40px; }
  .nav__mobile-extra { display: grid; gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-light); }
  .nav__mobile-contact { display: flex; align-items: center; gap: 12px; color: var(--bronze-200); font-size: .95rem; }
  .nav__mobile-contact svg { width: 20px; height: 20px; }
  body.nav-open { overflow: hidden; }
  .nav { overflow-y: auto; overscroll-behavior: contain; justify-content: safe center; }
  body.nav-open .wa, body.nav-open .to-top { opacity: 0; visibility: hidden; pointer-events: none; }
  body.nav-open .header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
  body.nav-open .header::after { opacity: 0; }

  .hero__media { top: 0; bottom: auto; width: 100%; height: 72%; aspect-ratio: auto; max-height: none; opacity: .92; -webkit-mask-image: linear-gradient(0deg, transparent 5%, #000 55%); mask-image: linear-gradient(0deg, transparent 5%, #000 55%); }
  .hero__blend { background: linear-gradient(0deg, var(--navy-950) 0%, rgba(7, 13, 36, .9) 40%, rgba(16, 14, 16, .3) 75%, rgba(16, 14, 16, .45) 100%); }
  .hero { align-items: flex-end; }
  .hero__card { display: none; }
  .hero__media { transform: none; }

  .sobre__grid, .historia__grid, .contato__grid, .faq__grid, .depoimentos__head { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { padding-right: 84px; }
  .sobre__media { width: min(100%, 640px); margin-inline: auto; }
  .sobre__accent { right: -16px; }
  .depoimentos__head { align-items: start; gap: 28px; }
  .g-summary { justify-self: start; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .historia__intro, .faq__head { position: static; }
  .areas__head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .socios__grid { gap: 16px; }
  .socio__info { padding: 20px 18px; }
  .socio__name { font-size: clamp(1.3rem, 2.8vw, 1.6rem); }
  .socio__photo { aspect-ratio: 3 / 4.6; }
  .socio__photo img { object-position: 50% 6%; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stat:nth-child(3) { border-left: 0; }
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .cta-band__media { width: 100%; opacity: .25; }
  .modal-socio { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
  .modal-socio__photo { max-height: 340px; }
  .modal-socio__body { overflow: visible; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { width: min(100% - 36px, var(--container)); }
  .header__inner { gap: 14px; }
  .header__inner > .btn { flex: none; padding-inline: 18px; }
  .header__logo { min-width: 0; }
  .header__logo img { max-width: 100%; object-fit: contain; object-position: left center; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 64vw + 36px) 0 72px; }
  .hero__media { top: calc(var(--header-h) - 6px); width: 100%; height: auto; aspect-ratio: 1 / .8; opacity: 1; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 58%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 58%, transparent 100%); }
  .hero__media img { object-position: 50% 18%; }
  .hero__blend { background: linear-gradient(0deg, var(--navy-950) 0%, rgba(16, 14, 16, .2) 55%, rgba(16, 14, 16, .1) 100%); }
  .hero__title { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero__ctas { margin-bottom: 40px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__trust li { min-width: 0; padding-right: 12px; }
  .hero__trust li + li { padding-left: 12px; }
  .hero__trust strong { font-size: 1.1rem; }
  .hero__trust span { display: block; margin-top: 2px; font-size: .74rem; letter-spacing: .03em; line-height: 1.35; }
  .sobre__media { padding-bottom: 80px; --frame: 10px; }
  .sobre__media::before { bottom: calc(80px + var(--frame)); }
  .sobre__accent { right: -6px; width: 40%; }
  .sobre__badge { left: 12px; bottom: 24px; padding: 14px 18px 14px 14px; max-width: 230px; }
  .sobre__badge strong { font-size: 1.9rem; }
  .sobre__badge img { width: 40px; }

  .timeline { padding-left: 34px; }
  .timeline__rail { left: 6px; }
  .timeline__item { padding: 24px; }
  .timeline__item::before { left: -34px; }

  .areas__head { margin-bottom: 40px; }
  .areas-panel { grid-template-columns: minmax(0, 1fr); }
  .areas-panel__media { aspect-ratio: 16 / 9; min-height: 0; }
  .areas-panel__media::after { background: linear-gradient(0deg, var(--navy-950) 2%, rgba(7, 13, 36, .3) 50%, transparent 80%); }
  .areas-panel__count { left: 20px; }
  .areas-panel__count strong { font-size: 2.3rem; }
  .areas-panel__body { padding: 4px 20px 22px; gap: 12px; }
  .areas-panel__title { font-size: 1.5rem; }
  .areas-filter {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: -20px; padding: 2px 20px; scroll-padding-inline: 20px;
  }
  .areas-filter::-webkit-scrollbar { display: none; }
  .areas-filter__btn { width: auto; flex: none; gap: 10px; min-height: 44px; padding: 10px 16px; border-radius: 999px; }
  .areas-filter__btn[aria-pressed="true"]::before { display: none; }
  .areas__layout { gap: 20px; }
  .areas__grid { gap: 12px; }
  .area-card:not(.area-card--cta) { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 20px 18px 8px; }
  .area-card__top { display: contents; }
  .area-card__icon { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 13px; }
  .area-card__icon .area-icon { width: 22px; height: 22px; }
  .area-card:not(.area-card--cta) .area-num { position: absolute; top: 16px; right: 18px; font-size: .85rem; }
  .area-card:not(.area-card--cta) h3 { font-size: 1.24rem; margin-bottom: 6px; padding-right: 28px; }
  .area-card p { font-size: .9rem; line-height: 1.6; margin-bottom: 14px; }
  .area-card__foot { grid-column: 1 / -1; padding-top: 4px; }
  .area-card--cta { grid-template-columns: minmax(0, 1fr); padding: 24px 22px; }
  .area-card--cta .area-card__go { grid-column: 1; grid-row: auto; width: 48px; height: 48px; margin-top: 8px; }

  .contato__list li { gap: 14px; padding: 14px 16px; }
  .contato__icon { width: 42px; height: 42px; }

  .socios__grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-inline: auto; }
  .socio__info { padding: 28px; }
  .socio__name { font-size: 1.85rem; }
  .socio__photo { aspect-ratio: 3 / 4; }
  .socio__photo img { object-position: 50% 15%; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 6px 8px; }
  .valores li { font-size: .85rem; }

  .g-summary { flex-wrap: wrap; gap: 16px; width: 100%; padding: 18px; }
  .g-summary__logo { width: 32px; height: 32px; }
  .g-summary__score { flex: 1; min-width: 0; padding-right: 0; border-right: 0; gap: 12px; }
  .g-summary__score strong { font-size: 2.4rem; }
  .g-summary__score small { white-space: normal; }
  .g-summary .btn { width: 100%; }
  .reviews {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -18px; padding: 4px 18px 18px; scroll-padding-inline: 18px;
    scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: start; }

  .faq__item summary { padding: 20px 20px; }
  .faq__a p { padding: 0 20px 22px; }

  .form__row { grid-template-columns: minmax(0, 1fr); }
  .mapa { height: 300px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }

  .wa { right: 16px; bottom: 16px; }
  .wa__fab { width: 58px; height: 58px; }
  .to-top { --size: 46px; right: calc(16px + (58px - var(--size)) / 2); bottom: calc(16px + 58px + 14px); }
}

@media (max-width: 980px) and (max-height: 720px) {
  .nav { padding-top: 92px; padding-bottom: 28px; }
  .nav__link { font-size: 1.7rem; padding: 5px 0; }
  .nav__mobile-extra { margin-top: 22px; padding-top: 18px; }
}

@media (pointer: coarse), (max-width: 760px) {
  .socio__more { max-height: 30px; opacity: 1; transform: none; }
  .contato__list .contato__route { padding-block: 10px 4px; margin-top: 0; }
  .contato__list div > a:first-of-type { padding-block: 8px; margin-block: -8px; }
  .review__more { padding-block: 10px; margin-top: 0; }
  .link-arrow { padding-block: 8px 12px; }
  .link-arrow::after { bottom: 8px; }
  .footer__col { gap: 2px; }
  .footer__col h4 { margin-bottom: 6px; }
  .footer__col a, .footer__btn { padding-block: 9px; }
  .footer__handle { margin-top: 8px; padding-block: 10px; }
  .footer__top { padding-block: 10px; }
  .footer__legal { gap: 0 22px; }
  .footer__legal a, .footer__legal button { padding-block: 10px; }
}

/* ==========================================================================
   Movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  [data-reveal], [data-stagger] > *, .hero__anim, .hero__title .hero__anim { opacity: 1 !important; transform: none !important; filter: none !important; }
  .reveal-clip { clip-path: none !important; }
  .reveal-clip img { transform: none !important; }
  .marquee__track { animation: none; }
  [data-parallax], [data-hero-media] { transform: none !important; }
}
