/* Revisão para aprovação — branco dominante, contraste institucional e movimento editorial */
:root {
  --white: #ffffff;
  --soft-white: #fcfbf8;
  --navy-deep: #071c34;
  --navy: #0b2442;
  --navy-soft: #17395d;
  --gold: #ba9448;
  --sand-soft: #eee7da;
  --line-soft: #ded7cb;
}

body {
  background: var(--white);
}

@media (min-width: 821px) {
  .topbar {
    height: 88px;
    grid-template-columns: 255px minmax(0, 1fr) auto;
    padding-right: 3.5vw;
    padding-left: 3.5vw;
    border-bottom-color: var(--line-soft);
    background: rgba(255, 255, 255, .96);
  }

  .brand {
    height: 56px;
    border-right: 0;
  }
}

.brand {
  width: fit-content;
  min-width: 0;
  color: var(--navy-deep);
}

.brandCopy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brandCopy strong {
  font: 400 29px/1 var(--font-display);
  letter-spacing: -.025em;
}

.brandCopy small {
  margin-top: 7px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.nav {
  gap: clamp(22px, 2.4vw, 42px);
}

.nav a {
  color: #283746;
  font-size: 12.5px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 68%) minmax(280px, 32%);
  height: clamp(530px, calc(100svh - 88px), 650px);
  min-height: 530px;
  max-height: 650px;
  background: var(--white);
}

.heroCopy {
  min-height: 0;
  padding: clamp(58px, 7vh, 84px) clamp(60px, 8vw, 128px);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(135deg, var(--white) 0%, var(--soft-white) 68%, #f7f2e9 100%);
}

.heroCopy::before {
  top: clamp(58px, 7vh, 82px);
  bottom: clamp(58px, 7vh, 82px);
  left: clamp(28px, 4.4vw, 68px);
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent);
}

.heroCopy::after {
  content: "MP";
  right: 1.2vw;
  bottom: -34px;
  color: rgba(11, 36, 66, .035);
  font: 400 clamp(150px, 17vw, 250px)/1 var(--font-display);
  letter-spacing: -.1em;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  max-width: 15ch;
  margin: 20px 0 19px;
  color: var(--navy-deep);
  font-size: clamp(41px, 3.55vw, 57px);
  line-height: 1.07;
  letter-spacing: -.032em;
}

.heroIntro {
  max-width: 63ch;
  color: #51565b;
  font-size: 15.5px;
  line-height: 1.72;
  text-align: left;
}

.heroActions {
  margin-top: 29px;
}

.hero .primaryButton,
.hero .lineButton {
  min-height: 52px;
  height: 52px;
}

.heroSignature {
  padding-top: 25px;
}

.heroEditorial {
  position: relative;
  isolation: isolate;
  padding: clamp(52px, 6vw, 84px) clamp(36px, 4vw, 62px);
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 62%, #123759 100%);
}

.heroEditorial::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -110px;
  right: -105px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(186, 148, 72, .28);
  border-radius: 50%;
}

.heroEditorial::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -56px;
  right: -52px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.heroEditorialLead {
  max-width: 18ch;
  font-size: clamp(29px, 2.45vw, 38px);
  line-height: 1.23;
}

.heroEditorial a {
  padding-bottom: 10px;
  border-bottom-color: var(--gold);
}

.perspectives {
  padding: 94px 8vw 90px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
}

.perspectivesHeading {
  display: grid;
  grid-template-columns: minmax(190px, .55fr) minmax(0, 1.55fr);
  gap: clamp(50px, 8vw, 118px);
  align-items: start;
  margin-bottom: 52px;
}

.perspectivesHeading h2 {
  max-width: 29ch;
  color: var(--navy-deep);
  font: 400 clamp(31px, 2.75vw, 42px)/1.17 var(--font-display);
  letter-spacing: -.024em;
}

.perspectivesHeading p {
  max-width: 64ch;
  margin-top: 17px;
  color: #625e57;
  font-size: 14.5px;
}

.insightGrid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  min-height: 410px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
  gap: 1px;
}

.insightCard {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: var(--soft-white);
  outline: 0;
}

.insightCard::before,
.insightCard::after {
  content: "";
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(186, 148, 72, .2);
  border-radius: 50%;
  pointer-events: none;
}

.insightCard::before {
  top: -82px;
  right: -96px;
  width: 230px;
  height: 230px;
}

.insightCard::after {
  top: -25px;
  right: -40px;
  width: 120px;
  height: 120px;
}

.insightBase,
.insightReveal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3vw, 46px);
}

.insightBase {
  z-index: 0;
  justify-content: flex-end;
  background: linear-gradient(160deg, var(--white), #f2ece1);
  color: var(--navy-deep);
}

.insightCardFeatured .insightBase {
  background: linear-gradient(145deg, var(--navy-deep), #123a61);
  color: var(--white);
}

.insightBase span,
.insightReveal span {
  margin-bottom: auto;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.insightBase h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 20px;
  font: 400 clamp(24px, 2vw, 31px)/1.2 var(--font-display);
  letter-spacing: -.02em;
}

.insightBase small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .68;
}

.insightReveal {
  z-index: 3;
  justify-content: flex-end;
  border-top: 4px solid var(--gold);
  background: linear-gradient(150deg, #102f50 0%, var(--navy-deep) 100%);
  color: var(--white);
  transform: translateY(calc(100% - 8px));
  transition: transform .46s cubic-bezier(.22, .72, .22, 1);
}

.insightReveal p {
  margin: 28px 0 32px;
  color: #e6ebef;
  font-size: 14.5px;
  line-height: 1.72;
}

.insightReveal strong {
  width: fit-content;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(186, 148, 72, .85);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.insightCard:hover .insightReveal,
.insightCard:focus .insightReveal,
.insightCard:focus-visible .insightReveal {
  transform: translateY(0);
}

.insightCard:focus-visible {
  box-shadow: inset 0 0 0 3px var(--gold);
}

.perspectivesNote {
  margin-top: 22px;
  color: #777168;
  font-size: 10.5px;
  line-height: 1.6;
}

.officeOverview,
.practices,
.contact {
  background: var(--white);
}

.faq {
  background: #f6f2ea;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 63%) minmax(290px, 37%);
  }

  .heroCopy {
    padding-right: 54px;
    padding-left: 62px;
  }

  .heroCopy::before {
    left: 28px;
  }

  .hero h1 {
    font-size: clamp(39px, 4vw, 50px);
  }

  .insightGrid {
    min-height: 440px;
  }
}

@media (max-width: 820px) {
  .topbar {
    background: rgba(255, 255, 255, .97);
  }

  .brandCopy strong {
    font-size: 24px;
  }

  .hero {
    display: flex;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .heroCopy {
    min-height: 525px;
    padding: 66px 30px 48px;
  }

  .heroCopy::before {
    left: 15px;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(38px, 9.5vw, 49px);
  }

  .heroEditorial {
    min-height: 285px;
    padding: 48px 30px;
  }

  .heroEditorialLead {
    max-width: 20ch;
  }

  .perspectives {
    padding: 70px 28px 68px;
  }

  .perspectivesHeading {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }

  .insightGrid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .insightCard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 330px;
  }

  .insightBase,
  .insightReveal {
    position: relative;
    inset: auto;
    min-height: 330px;
  }

  .insightReveal {
    border-top: 0;
    border-left: 4px solid var(--gold);
    transform: none;
  }
}

@media (max-width: 560px) {
  .heroCopy {
    min-height: 555px;
    padding-right: 25px;
    padding-left: 25px;
  }

  .hero h1 {
    font-size: 37px;
  }

  .heroSignature {
    display: none;
  }

  .perspectives {
    padding-right: 24px;
    padding-left: 24px;
  }

  .perspectivesHeading h2 {
    font-size: 31px;
  }

  .insightCard {
    display: block;
    min-height: 0;
  }

  .insightBase,
  .insightReveal {
    min-height: 290px;
    padding: 30px 26px;
  }

  .insightReveal {
    min-height: 245px;
    border-top: 4px solid var(--gold);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insightReveal {
    transition: none;
  }
}
