/* ═══════════════════════════════════════════════════════════════
   Bittencourt & Vasconcellos Advogados — Stylesheet
   Paleta derivada de referência de mercado (navy + vermelho + neutros)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Cores */
  --navy: #093145;
  --navy-deep: #061f2d;
  --navy-soft: #0e3d55;
  --steel: #3d6579;
  --red: #c12f1e;
  --red-dark: #9a2618;
  --coral: #ce5949;
  --gray: #d2d8da;
  --gray-2: #b7c0c4;
  --mist: #f7f7f7;
  --paper: #fbfbfb;
  --ink: #0b1a22;
  --ink-2: #4d5c63;
  --white: #ffffff;

  /* Tipografia */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* Escala fluida */
  --fs-hero: clamp(2.6rem, 6.2vw, 6rem);
  --fs-h2: clamp(2rem, 4.2vw, 3.8rem);
  --fs-h3: clamp(1.25rem, 1.6vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 1.35vw, 1.3rem);
  --fs-body: 1rem;
  --fs-small: 0.8125rem;
  --fs-micro: 0.6875rem;

  /* Layout */
  --container: 1440px;
  --gutter: clamp(20px, 4vw, 72px);
  --section-y: clamp(96px, 12vw, 180px);
  --header-h: 88px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.7s;
}

/* ───────────── Reset ───────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--white); }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--navy); color: var(--white); }

/* ───────────── Tipografia ───────────── */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
}
.h2--light { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 12px;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
}
.eyebrow--light { color: var(--gray); }
.eyebrow__dot {
  flex: none; margin-top: 0.53em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(193, 47, 30, 0.14);
}

.section__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 28px;
  margin-bottom: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid rgba(9, 49, 69, 0.14);
}
.section--dark .section__head { border-color: rgba(255, 255, 255, 0.14); }
.section__index {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--steel);
  opacity: 0.8;
}
.section--dark .section__index { color: var(--gray); }

/* Split text (masks) */
.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-line > span { display: block; transform: translateY(110%); will-change: transform; }

/* Reveal genérico */
[data-reveal] { opacity: 0; transform: translateY(28px); will-change: transform, opacity; }
[data-reveal].is-inview { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }

/* ───────────── Botões e links ───────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red-dark);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); }
.btn > span { position: relative; }
.btn__arrow { width: 18px; height: 18px; transition: transform 0.45s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(6px); }

.btn--primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--primary:hover { border-color: var(--red-dark); }

.btn--outline { color: var(--navy); border-color: rgba(9, 49, 69, 0.35); }
.btn--outline::before { background: var(--navy); }
.btn--outline:hover { color: var(--white); border-color: var(--navy); }
.header.is-light .btn--outline { color: var(--white); border-color: rgba(255,255,255,0.4); }
.header.is-light .btn--outline::before { background: var(--white); }
.header.is-light .btn--outline:hover { color: var(--navy); border-color: var(--white); }

.btn--sm { padding: 13px 22px; font-size: var(--fs-micro); }
.btn--full { width: 100%; justify-content: center; }

.link-line {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 6px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.link-line::after, .link-line::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor;
  transform-origin: right; transition: transform 0.6s var(--ease-out);
}
.link-line::before { transform: scaleX(1); }
.link-line::after { transform: scaleX(0); transform-origin: left; transition-delay: 0.15s; background: var(--red); }
.link-line:hover::before { transform: scaleX(0); }
.link-line:hover::after { transform: scaleX(1); }
.link-line--light { color: var(--white); }

/* ───────────── Preloader ───────────── */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  pointer-events: none;
}
.preloader__panel { position: absolute; inset: 0; background: var(--navy); }
.preloader__panel--b { background: var(--navy-deep); transform: translateY(100%); }
.preloader__inner { position: relative; z-index: 2; text-align: center; color: var(--white); }
.preloader__mark {
  display: inline-flex; align-items: baseline; gap: 0.12em;
  font-family: var(--serif); font-size: clamp(4rem, 10vw, 7rem); line-height: 1; font-weight: 300;
  overflow: hidden;
}
.preloader__mark > span { display: inline-block; transform: translateY(110%); }
.preloader__amp { font-style: italic; color: var(--coral); font-size: 0.7em; }
.preloader__line { width: 160px; height: 1px; margin: 28px auto 20px; background: rgba(255,255,255,0.15); overflow: hidden; }
.preloader__line span { display: block; width: 100%; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.preloader__caption { font-size: var(--fs-micro); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gray); opacity: 0; }

/* ───────────── Cursor ───────────── */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 900;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  opacity: 0;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), background 0.3s;
  display: none;
}
.cursor__label {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); opacity: 0; transition: opacity 0.3s;
  white-space: nowrap;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; background: rgba(193, 47, 30, 0.9); }
.cursor.is-label { width: 96px; height: 96px; background: var(--red); mix-blend-mode: normal; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ───────────── Header ───────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--header-h);
  color: var(--navy);
  transition: background 0.5s var(--ease-out), color 0.4s, box-shadow 0.5s, transform 0.5s var(--ease-out), height 0.5s var(--ease-out);
}
.header.is-light { color: var(--white); }
.header.is-scrolled {
  height: 72px;
  background: rgba(251, 251, 251, 0.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  color: var(--navy);
  box-shadow: 0 1px 0 rgba(9, 49, 69, 0.08);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: 100%;
  width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.header__progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left;
}

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.brand__name em { font-style: italic; color: var(--red); font-weight: 400; }
.brand__name--lg { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.brand__sub { margin-top: 5px; font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.75; }

.nav { display: flex; gap: 36px; }
.nav__link { position: relative; font-size: var(--fs-small); font-weight: 500; letter-spacing: 0.04em; padding: 6px 0; overflow: hidden; }
.nav__link span { display: block; transition: transform 0.5s var(--ease-out); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 24px; }
.lang { display: flex; align-items: center; gap: 10px; font-size: var(--fs-micro); letter-spacing: 0.16em; }
.lang__btn { opacity: 0.5; transition: opacity 0.3s; }
.lang__btn.is-active, .lang__btn:hover { opacity: 1; }
.lang__sep { width: 1px; height: 12px; background: currentColor; opacity: 0.35; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span {
  position: absolute; left: 10px; width: 24px; height: 1.5px; background: currentColor;
  transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out), width 0.4s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; width: 16px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 21px; width: 24px; transform: rotate(-45deg); }

/* ───────────── Menu mobile ───────────── */
.menu { position: fixed; inset: 0; z-index: 450; visibility: hidden; pointer-events: none; }
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__bg { position: absolute; inset: 0; background: var(--navy); transform: translateY(-100%); }
.menu__inner {
  position: relative; height: 100%; padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; color: var(--white);
}
.menu__nav { display: flex; flex-direction: column; }
.menu__link {
  display: flex; align-items: baseline; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.menu__num { font-size: var(--fs-micro); letter-spacing: 0.2em; color: var(--coral); }
.menu__txt { font-family: var(--serif); font-size: clamp(2rem, 8vw, 3.2rem); line-height: 1.1; display: inline-block; }
.menu__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: var(--fs-small); color: var(--gray); }
.menu__label { font-size: var(--fs-micro); letter-spacing: 0.2em; text-transform: uppercase; color: var(--coral); margin-bottom: 6px; }

/* ───────────── Hero ───────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 40px) 0 40px;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  filter: saturate(0.7) contrast(1.05);
  transform: scale(1.12);
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9,49,69,0.92) 0%, rgba(9,49,69,0.72) 45%, rgba(9,49,69,0.35) 100%),
    linear-gradient(180deg, rgba(9,49,69,0.35) 0%, rgba(9,49,69,0) 30%, rgba(6,31,45,0.85) 100%);
}
.hero__grid {
  position: relative; z-index: 1;
  width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: end;
  flex: 1;
  padding-bottom: clamp(48px, 8vh, 96px);
}
.hero__content { max-width: 920px; }
.hero__title {
  font-family: var(--serif); font-weight: 300; font-size: var(--fs-hero);
  line-height: 1.02; letter-spacing: -0.02em;
  margin: 28px 0 32px;
  text-wrap: balance;
}
.hero__lead { max-width: 620px; font-size: var(--fs-lead); font-weight: 300; line-height: 1.55; color: rgba(255,255,255,0.82); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; margin-top: 44px; }

.hero__aside {
  display: flex; flex-direction: column;
  border-left: 1px solid rgba(255,255,255,0.18);
  padding-left: 32px;
}
.hero__stat { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.hero__stat:last-child { border-bottom: 0; }
.hero__stat-num { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 3.4rem); font-weight: 300; line-height: 1; }
.hero__stat-label { display: block; margin-top: 8px; font-size: var(--fs-small); color: rgba(255,255,255,0.7); letter-spacing: 0.02em; }

.hero__bottom {
  position: relative; z-index: 1;
  width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15);
  font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.65);
}
.hero__scroll { display: flex; align-items: center; gap: 14px; }
.hero__scroll-line { width: 48px; height: 1px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: translateX(-100%); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ───────────── Marquee ───────────── */
.marquee {
  background: var(--navy-deep); color: var(--gray);
  padding: 20px 0; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: var(--fs-micro); letter-spacing: 0.22em; text-transform: uppercase;
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 48px; padding-right: 48px; white-space: nowrap; }
.marquee__group i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────────── Sobre ───────────── */
.about__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(48px, 7vw, 128px);
  align-items: start;
}
.about__text .h2 { margin-bottom: 36px; }
.about__body { display: grid; gap: 20px; max-width: 600px; font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); }
.about__pillars {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px;
  border-top: 1px solid rgba(9,49,69,0.14); padding-top: 40px;
}
.pillar__num { display: block; font-family: var(--serif); font-style: italic; color: var(--red); font-size: 1.15rem; margin-bottom: 14px; }
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; }
.pillar p { font-size: var(--fs-small); line-height: 1.65; color: var(--ink-2); }

.about__media { position: relative; padding-bottom: 96px; }
.about__fig { position: relative; overflow: hidden; background: var(--gray); aspect-ratio: 4 / 5; }
.about__fig img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75); transform: scale(1.08); }
.about__fig--small {
  position: absolute; right: -4%; bottom: 0; width: 46%; aspect-ratio: 1;
  box-shadow: 0 30px 60px -20px rgba(9,49,69,0.35);
}
.about__badge {
  position: absolute; left: 0; bottom: 8%;
  background: var(--navy); color: var(--white);
  padding: 24px 28px; display: flex; align-items: center; gap: 20px;
  transform: translateX(-24px);
}
.about__badge-year { font-family: var(--serif); font-size: 2.4rem; font-weight: 300; line-height: 1; }
.about__badge-txt { font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); line-height: 1.6; }

/* Image clip reveal */
.clip-reveal { clip-path: inset(0 0 100% 0); }

/* ───────────── Áreas ───────────── */
.areas { overflow: clip; }
.areas__intro {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 96px); align-items: end;
  margin-bottom: clamp(56px, 7vw, 104px);
}
.areas__desc { color: rgba(255,255,255,0.72); font-size: 1.05rem; line-height: 1.7; max-width: 480px; }

.areas__layout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}
.areas__list { border-top: 1px solid rgba(255,255,255,0.14); }
.area { border-bottom: 1px solid rgba(255,255,255,0.14); }
.area__row {
  position: relative;
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 40px;
  grid-template-areas: "num name arrow" "num tag arrow";
  align-items: center; column-gap: 20px;
  padding: 26px 0;
  transition: padding 0.5s var(--ease-out);
}
.area__row::before {
  content: ""; position: absolute; left: -24px; right: -24px; top: 0; bottom: 0;
  background: rgba(255,255,255,0.04);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}
.area.is-active .area__row::before, .area__row:hover::before { transform: scaleY(1); }
.area__num { grid-area: num; font-size: var(--fs-micro); letter-spacing: 0.2em; color: var(--coral); align-self: start; padding-top: 6px; }
.area__name {
  grid-area: name;
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.15;
  transition: transform 0.5s var(--ease-out), color 0.4s;
}
.area.is-active .area__name { transform: translateX(10px); }
.area__tag {
  grid-area: tag; font-size: var(--fs-small); color: rgba(255,255,255,0.55); margin-top: 6px;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s, transform 0.5s var(--ease-out);
}
.area.is-active .area__tag { max-height: 48px; opacity: 1; transform: translateX(10px); }
.area__arrow {
  grid-area: arrow; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  display: grid; place-items: center;
  transition: background 0.45s var(--ease-out), border-color 0.45s, transform 0.45s var(--ease-out);
}
.area__arrow svg { width: 16px; height: 16px; transition: transform 0.45s var(--ease-out); }
.area.is-active .area__arrow, .area__row:hover .area__arrow { background: var(--red); border-color: var(--red); }
.area__row:hover .area__arrow svg { transform: translate(2px, -2px); }

.areas__visual { position: relative; }
.areas__sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.areas__frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--navy-deep);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.areas__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.6) contrast(1.05);
  opacity: 0; transform: scale(1.08);
  transition: opacity 0.9s var(--ease-out), transform 1.4s var(--ease-out);
}
.areas__frame img.is-active { opacity: 1; transform: scale(1); }
.areas__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,49,69,0) 40%, rgba(9,49,69,0.85) 100%);
}
.areas__frame-num {
  position: absolute; right: 28px; bottom: 20px; z-index: 2;
  font-family: var(--serif); font-size: clamp(4rem, 7vw, 7rem); font-weight: 300; line-height: 1;
  color: rgba(255,255,255,0.9);
}
.areas__caption {
  margin-top: 24px; font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,0.72);
  padding-left: 20px; border-left: 2px solid var(--red);
  min-height: 3.3em;
}

/* ───────────── Statement / Números ───────────── */
.statement { background: var(--mist); text-align: center; }
.statement__quote {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.7rem, 3.6vw, 3.2rem); line-height: 1.22; letter-spacing: -0.01em;
  color: var(--navy); max-width: 22ch; margin: 0 auto;
}
.statement__author { margin-top: 28px; font-size: var(--fs-micro); letter-spacing: 0.22em; text-transform: uppercase; color: var(--steel); }
.numbers {
  margin-top: clamp(64px, 8vw, 120px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(9,49,69,0.14); border-bottom: 1px solid rgba(9,49,69,0.14);
}
.numbers__item { padding: 40px 28px; text-align: left; border-right: 1px solid rgba(9,49,69,0.14); }
.numbers__item:last-child { border-right: 0; }
.numbers__val { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4rem); font-weight: 300; line-height: 1; color: var(--navy); }
.numbers__label { display: block; margin-top: 14px; font-size: var(--fs-small); line-height: 1.55; color: var(--ink-2); }

/* ───────────── Sócios ───────────── */
.team__intro, .insights__intro {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.team__intro .h2, .insights__intro .h2 { max-width: 16ch; }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.member { cursor: pointer; }
.member__photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--gray); }
.member__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,49,69,0) 55%, rgba(9,49,69,0.55) 100%);
  opacity: 0; transition: opacity 0.6s var(--ease-out);
}
.member__photo picture { display: block; width: 100%; height: 100%; }
.member__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.02);
  transition: filter 0.8s var(--ease-out), transform 1.2s var(--ease-out);
}
.member:hover .member__photo img { filter: grayscale(0.15) contrast(1); transform: scale(1.07); }
.member:hover .member__photo::after { opacity: 1; }
.member__info { padding-top: 20px; border-top: 1px solid rgba(9,49,69,0.14); margin-top: 20px; position: relative; }
.member__info::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.member:hover .member__info::before { transform: scaleX(1); }
.member__name { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--navy); }
.member__role { margin-top: 4px; font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.member__bio { margin-top: 14px; font-size: var(--fs-small); line-height: 1.65; color: var(--ink-2); }

/* ───────────── Insights ───────────── */
.insights { background: var(--mist); }
.insights__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 4vw, 64px); }
.post { display: block; }
.post__meta { display: flex; align-items: center; gap: 16px; font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); }
.post__tag { color: var(--red); font-weight: 700; }
.post__title { font-family: var(--serif); font-weight: 400; color: var(--navy); line-height: 1.2; transition: color 0.35s; }
.post:hover .post__title { color: var(--red-dark); }
.post__more { display: inline-block; margin-top: 18px; font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--navy); position: relative; padding-bottom: 4px; }
.post__more::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--red); transform: scaleX(0.35); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.post:hover .post__more::after { transform: scaleX(1); }

.post--featured { background: var(--white); display: grid; grid-template-rows: auto 1fr; }
.post--featured .post__media { aspect-ratio: 16 / 9; overflow: hidden; }
.post--featured .post__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6); transform: scale(1.03); transition: transform 1.2s var(--ease-out); }
.post--featured:hover .post__media img { transform: scale(1.08); }
.post--featured .post__body { padding: 36px 40px 40px; }
.post--featured .post__title { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-top: 18px; }
.post__excerpt { margin-top: 16px; color: var(--ink-2); line-height: 1.7; max-width: 60ch; }

.insights__side { display: flex; flex-direction: column; }
.post--row { padding: 28px 0; border-top: 1px solid rgba(9,49,69,0.14); }
.post--row:last-child { border-bottom: 1px solid rgba(9,49,69,0.14); }
.post--row .post__title { font-size: 1.3rem; margin-top: 12px; }

/* ───────────── Contato ───────────── */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; top: -30%; right: -10%; width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(61,101,121,0.35) 0%, rgba(9,49,69,0) 60%);
  pointer-events: none;
}
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 140px); align-items: start; }
.contact__text .h2 { margin: 28px 0 24px; max-width: 14ch; }
.contact__desc { color: rgba(255,255,255,0.72); line-height: 1.7; max-width: 46ch; }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.14); }
.office h4 { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; margin-bottom: 10px; }
.office p { font-size: var(--fs-small); line-height: 1.65; color: rgba(255,255,255,0.62); }

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.28);
  padding: 22px 0 12px; color: var(--white);
  transition: border-color 0.3s;
  border-radius: 0; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { cursor: pointer; }
.field select option { color: var(--ink); }
.field label {
  position: absolute; left: 0; top: 22px;
  font-size: 0.95rem; color: rgba(255,255,255,0.55);
  pointer-events: none;
  transition: transform 0.35s var(--ease-out), font-size 0.35s, color 0.3s;
  transform-origin: left;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--white); }
.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:valid ~ label {
  transform: translateY(-20px); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral);
}
.field::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: var(--coral); }

.check { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; font-size: var(--fs-small); color: rgba(255,255,255,0.65); line-height: 1.55; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box { flex: none; width: 18px; height: 18px; margin-top: 2px; border: 1px solid rgba(255,255,255,0.4); position: relative; transition: background 0.3s, border-color 0.3s; }
.check__box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) scale(0); transition: transform 0.3s var(--ease-out); }
.check input:checked ~ .check__box { background: var(--red); border-color: var(--red); }
.check input:checked ~ .check__box::after { transform: rotate(45deg) scale(1); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form__success { font-size: var(--fs-small); color: var(--coral); min-height: 1.2em; }

/* ───────────── Footer ───────────── */
.footer { background: var(--navy-deep); color: var(--white); padding: clamp(64px, 8vw, 112px) 0 32px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 96px); padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__brand { display: flex; flex-direction: column; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h5 { font-size: var(--fs-micro); letter-spacing: 0.22em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
.footer__col a { font-size: var(--fs-small); color: rgba(255,255,255,0.7); transition: color 0.3s, transform 0.3s var(--ease-out); display: inline-block; }
.footer__col a:hover { color: var(--white); transform: translateX(4px); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding-top: 28px; font-size: var(--fs-micro); color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }
.footer__bottom p:nth-child(2) { flex: 1; }
.totop { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: grid; place-items: center; color: var(--white); transition: background 0.4s, border-color 0.4s; margin-left: auto; }
.totop svg { width: 18px; height: 18px; }
.totop:hover { background: var(--red); border-color: var(--red); }

/* ───────────── Responsivo ───────────── */
@media (max-width: 1180px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .footer__top { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers__item:nth-child(2) { border-right: 0; }
  .numbers__item:nth-child(-n+2) { border-bottom: 1px solid rgba(9,49,69,0.14); }
}

@media (max-width: 1024px) {
  .nav, .header .btn--outline, .lang { display: none; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__aside { flex-direction: row; border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 8px; gap: 24px; }
  .hero__stat { flex: 1; border-bottom: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .areas__intro, .areas__layout { grid-template-columns: 1fr; }
  .areas__visual { order: -1; }
  .areas__sticky { position: relative; top: 0; }
  .areas__frame { aspect-ratio: 16 / 10; }
  .contact__grid { grid-template-columns: 1fr; }
  .insights__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .hero { padding-bottom: 28px; }
  .hero__aside { flex-direction: column; gap: 0; }
  .hero__stat { border-bottom: 1px solid rgba(255,255,255,0.12); padding: 14px 0; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__note { display: none; }
  .about__pillars { grid-template-columns: 1fr; }
  .about__badge { transform: none; padding: 18px 20px; }
  .area__row { grid-template-columns: 36px 1fr 36px; }
  .area__arrow { width: 36px; height: 36px; }
  .numbers { grid-template-columns: 1fr; }
  .numbers__item { border-right: 0; border-bottom: 1px solid rgba(9,49,69,0.14); }
  .numbers__item:last-child { border-bottom: 0; }
  .team__grid { grid-template-columns: 1fr; }
  .team__intro, .insights__intro { flex-direction: column; align-items: flex-start; gap: 24px; }
  .offices { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .post--featured .post__body { padding: 24px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .totop { margin-left: 0; }
  .menu__foot { grid-template-columns: 1fr; }
}

/* ───────────── Reduced motion ───────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal], .split-line > span { opacity: 1 !important; transform: none !important; }
  .clip-reveal { clip-path: none !important; }
  .preloader { display: none; }
  .cursor { display: none !important; }
}

/* ───────────── Seletor de idioma ───────────── */
.lang__btn { cursor: pointer; }
.menu__lang { display: flex; gap: 20px; margin: 28px 0 32px; }
.menu__lang-btn {
  font-size: var(--fs-micro); letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45); padding-bottom: 5px; position: relative;
  transition: color 0.35s var(--ease-out);
}
.menu__lang-btn::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.menu__lang-btn.is-active, .menu__lang-btn:hover { color: var(--white); }
.menu__lang-btn.is-active::after { transform: scaleX(1); }
@media (min-width: 1025px) { .menu__lang { display: none; } }
