@font-face {
  font-family: "Cinzel";
  src: url("assets/cinzel.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

/* Retratos principais: cada nome permanece ligado à sua própria foto. */
.hero-people {
  position: relative;
  display: grid;
  height: 560px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hero-person,
.hero-person--antonio,
.hero-person--ismael {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
}

.hero-person img {
  object-position: center 16%;
}

.hero-person figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: grid;
  min-height: 76px;
  padding: 14px 15px;
  align-content: center;
  color: var(--white);
  background: rgba(6, 19, 45, 0.92);
  backdrop-filter: blur(8px);
}

.hero-person figcaption strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.72rem;
  line-height: 1.3;
}

.hero-person figcaption span {
  margin-top: 3px;
  color: var(--gold-soft);
  font-size: 0.62rem;
}

.hero-people__seal {
  transform: translate(-50%, -50%);
}

.previd-portraits__seal {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 88px;
  height: 88px;
  padding: 7px;
  background: var(--white);
  border: 4px solid var(--navy-deep);
  border-radius: 50%;
  box-shadow: 0 18px 36px rgba(2, 9, 26, 0.38);
  place-items: center;
  transform: translate(-50%, -50%);
}

.previd-portraits__seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

@media (max-width: 820px) {
  .hero-people,
  .previd-hero__portraits {
    height: 500px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-person,
  .hero-person--antonio,
  .hero-person--ismael,
  .previd-portrait,
  .previd-portrait--main,
  .previd-portrait--secondary {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .hero-people,
  .previd-hero__portraits {
    height: 420px;
    gap: 8px;
  }

  .hero-person figcaption,
  .previd-portrait figcaption {
    min-height: 82px;
    padding: 10px 8px;
  }

  .hero-person figcaption strong,
  .previd-portrait figcaption strong {
    font-size: 0.57rem;
  }

  .hero-person figcaption span,
  .previd-portrait figcaption span {
    font-size: 0.56rem;
  }

  .hero-people__seal,
  .previd-portraits__seal {
    width: 66px;
    height: 66px;
    padding: 5px;
    border-width: 3px;
  }
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/montserrat-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/montserrat-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --navy: #102653;
  --navy-deep: #091939;
  --navy-soft: #1a3468;
  --gold: #f9b61b;
  --gold-soft: #ffd067;
  --ink: #13203a;
  --muted: #626a78;
  --paper: #f7f8fb;
  --white: #ffffff;
  --line: rgba(16, 38, 83, 0.13);
  --shadow: 0 24px 70px rgba(13, 31, 67, 0.12);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 16px;
  left: 16px;
  padding: 12px 18px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.contact-bar {
  color: rgba(255, 255, 255, 0.84);
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.contact-bar__inner {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: space-between;
}

.contact-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.contact-bar svg {
  width: 14px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 35px;
  right: 0;
  left: 0;
  height: 92px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(16, 38, 83, 0.12);
  box-shadow: 0 8px 30px rgba(7, 22, 53, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.site-header.is-sticky {
  position: fixed;
  top: 0;
  height: 78px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 40px rgba(5, 17, 40, 0.13);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  width: 260px;
  height: 74px;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.site-header.is-sticky .brand {
  height: 68px;
}

.site-header.is-sticky .brand img {
  width: 46px;
  height: 46px;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 7px;
  color: #657088;
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 38px);
  font-size: 0.86rem;
  font-weight: 600;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  padding: 12px 0;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 18px;
  color: var(--navy-deep);
  background: var(--gold);
  border: 1px solid var(--gold);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 48%, rgba(40, 72, 133, 0.5), transparent 32%),
    linear-gradient(128deg, var(--navy-deep) 0%, var(--navy) 54%, #152f62 100%);
}

.hero::before {
  position: absolute;
  top: 0;
  right: clamp(18px, 6vw, 110px);
  width: 1px;
  height: 100%;
  content: "";
  background: rgba(255, 255, 255, 0.08);
}

.hero-pattern {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  opacity: 0.045;
  background-image: url("assets/brand-pattern-optimized.jpg");
  background-size: 860px;
  mix-blend-mode: screen;
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 780px;
  padding-top: 165px;
  padding-bottom: 95px;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  max-width: 675px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 23px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eyebrow--navy {
  color: var(--navy);
}

.hero h1,
.section-heading h2,
.story-copy h2,
.team-intro h2,
.faq-intro h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.11;
}

.hero h1 {
  max-width: 670px;
  font-size: clamp(2.75rem, 5.25vw, 5.05rem);
}

.hero h1 em {
  position: relative;
  color: var(--gold);
  font-style: normal;
}

.hero h1 em::after {
  position: absolute;
  right: 1px;
  bottom: -2px;
  left: 1px;
  height: 1px;
  content: "";
  background: rgba(249, 182, 27, 0.55);
}

.hero-lead {
  max-width: 600px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 23px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 19px;
  fill: currentColor;
}

.button--gold {
  color: var(--navy-deep);
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(249, 182, 27, 0.18);
}

.button--gold:hover {
  background: var(--gold-soft);
  box-shadow: 0 18px 36px rgba(249, 182, 27, 0.25);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.button--navy {
  color: var(--white);
  background: var(--navy);
}

.button--navy:hover {
  background: var(--navy-soft);
  box-shadow: 0 14px 28px rgba(16, 38, 83, 0.17);
}

.hero-meta {
  display: flex;
  gap: 42px;
  margin-top: 45px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-meta div {
  display: grid;
  gap: 2px;
}

.hero-meta strong {
  color: var(--gold-soft);
  font-size: 0.71rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-meta span {
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.83rem;
}

.hero-mark {
  position: relative;
  display: grid;
  width: min(100%, 520px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
}

.hero-mark img {
  position: relative;
  z-index: 2;
  width: 73%;
  filter: drop-shadow(0 20px 36px rgba(4, 13, 34, 0.35));
}

.hero-mark__disc {
  position: relative;
  z-index: 2;
  display: grid;
  width: 76%;
  aspect-ratio: 1;
  place-items: center;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 28px 70px rgba(3, 13, 33, 0.38);
}

.hero-mark__disc img {
  width: 91%;
  filter: none;
}

.hero-mark__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(249, 182, 27, 0.27);
  border-radius: 50%;
}

.hero-mark__ring::before,
.hero-mark__ring::after {
  position: absolute;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(249, 182, 27, 0.08);
}

.hero-mark__ring::before {
  top: 13%;
  right: 13%;
}

.hero-mark__ring::after {
  bottom: 11%;
  left: 15%;
}

.hero-mark__ring--inner {
  inset: 9%;
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-mark__ring--inner::before,
.hero-mark__ring--inner::after {
  display: none;
}

.hero-mark__caption {
  position: absolute;
  right: -70px;
  bottom: 50%;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right bottom;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 34px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--gold);
  animation: cue 2.4s ease-in-out infinite;
  transform: translateX(-100%);
}

@keyframes cue {
  50%, 100% { transform: translateX(100%); }
}

.section {
  padding: 112px 0;
}

.section--light {
  background: var(--paper);
}

.section--navy {
  color: var(--white);
  background: var(--navy);
}

.section-heading {
  display: grid;
  max-width: 870px;
  margin-bottom: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  column-gap: 66px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.story-copy h2,
.team-intro h2,
.faq-intro h2,
.contact-copy h2 {
  font-size: clamp(2.15rem, 4vw, 3.65rem);
}

.section-heading > p:last-child {
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.practice-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(16, 38, 83, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.practice-card:hover {
  border-color: rgba(16, 38, 83, 0.22);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.practice-card--featured {
  position: relative;
}

.practice-card--featured::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--gold);
}

.practice-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.practice-number {
  color: #99a1af;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.practice-card svg {
  width: 48px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.practice-card h3 {
  max-width: 270px;
  margin: 64px 0 15px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 650;
  line-height: 1.28;
}

.practice-card p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.75;
}

.practice-card a,
.team-card a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--navy);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
}

.practice-card a span,
.team-card a span {
  color: var(--gold);
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.practice-card a:hover span,
.team-card a:hover span {
  transform: translate(3px, -3px);
}

.practice-explorer {
  display: grid;
  min-height: 720px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  grid-template-columns: 330px minmax(0, 1fr);
}

.practice-tabs {
  max-height: 790px;
  padding: 14px;
  overflow-y: auto;
  background: var(--navy-deep);
  scrollbar-color: rgba(249, 182, 27, 0.55) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.practice-tab {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 88px;
  padding: 16px 42px 15px 15px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
  font: inherit;
  grid-template-columns: 34px minmax(0, 1fr);
  text-align: left;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.practice-tab > span {
  padding-top: 2px;
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  grid-row: 1 / 3;
}

.practice-tab strong {
  color: inherit;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.91rem;
  font-weight: 620;
  line-height: 1.28;
}

.practice-tab small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  line-height: 1.35;
}

.practice-tab > i {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--gold);
  font-size: 1rem;
  font-style: normal;
  opacity: 0;
  transform: translate(-7px, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.practice-tab:hover,
.practice-tab.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.075);
}

.practice-tab.is-active {
  box-shadow: inset 3px 0 0 var(--gold);
}

.practice-tab:hover > i,
.practice-tab.is-active > i {
  opacity: 1;
  transform: translate(0, -50%);
}

.practice-panels {
  min-width: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.975), rgba(255, 255, 255, 0.975)),
    url("assets/brand-pattern-optimized.jpg") center / 920px;
}

.practice-panel {
  padding: 46px clamp(32px, 5vw, 64px) 40px;
  animation: panel-in 0.32s ease both;
}

.practice-panel[hidden] {
  display: none;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.practice-panel__header {
  display: grid;
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.8fr);
  gap: 44px;
}

.practice-kicker {
  margin: 0 0 10px;
  color: #7d8696;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.practice-panel__header h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  font-weight: 620;
  line-height: 1.18;
}

.practice-panel__header > p {
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.case-grid details {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.case-grid details[open] {
  background: var(--white);
  border-color: rgba(16, 38, 83, 0.24);
  box-shadow: 0 12px 28px rgba(16, 38, 83, 0.07);
}

.case-grid summary {
  display: flex;
  min-height: 67px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.case-grid summary::-webkit-details-marker {
  display: none;
}

.case-grid summary strong {
  color: var(--navy);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.35;
}

.case-grid summary span {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.case-grid details[open] summary span {
  transform: rotate(45deg);
}

.case-grid details p {
  margin: -2px 18px 18px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.practice-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.practice-panel__footer p {
  max-width: 475px;
  margin: 0;
  color: #747d8c;
  font-size: 0.74rem;
  line-height: 1.65;
}

.practice-panel__footer a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
}

.practice-panel__footer a span {
  color: var(--gold);
}

.scope-note {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.scope-note a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  font-weight: 600;
}

.story {
  background: var(--white);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(60px, 9vw, 120px);
}

.story-visual {
  position: relative;
  min-height: 560px;
  padding: 42px 42px 0 0;
}

.story-visual::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  height: 84%;
  content: "";
  background: var(--gold);
}

.story-visual__panel {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 500px;
  place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    url("assets/brand-pattern-optimized.jpg") center / 740px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.story-visual__panel img {
  width: min(78%, 410px);
}

.story-visual__note {
  position: absolute;
  z-index: 2;
  right: -18px;
  bottom: 0;
  display: grid;
  width: 160px;
  height: 116px;
  place-content: center;
  color: var(--white);
  background: var(--navy);
  text-align: center;
}

.story-visual__note strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.15rem;
}

.story-visual__note span {
  color: var(--gold-soft);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-copy .eyebrow {
  margin-bottom: 22px;
}

.story-intro {
  margin: 28px 0 14px;
  color: var(--ink);
  font-size: 1.04rem;
}

.story-copy > p:not(.eyebrow):not(.story-intro) {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 29px 0 32px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
}

.check-list span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-size: 0.72rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  font-size: 0.84rem;
  font-weight: 600;
}

.process-section {
  position: relative;
  overflow: hidden;
}

.process-section::after {
  position: absolute;
  right: -160px;
  bottom: -240px;
  width: 550px;
  height: 550px;
  content: "";
  border: 1px solid rgba(249, 182, 27, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(249, 182, 27, 0.025), 0 0 0 140px rgba(249, 182, 27, 0.018);
}

.section-heading--inverse {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 720px;
}

.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.process-grid li {
  min-height: 235px;
  padding: 4px 38px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.process-grid li:first-child {
  padding-left: 0;
  border-left: 0;
}

.process-grid li > span {
  display: inline-block;
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.process-grid h3 {
  margin: 45px 0 13px;
  color: var(--white);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 600;
}

.process-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.89rem;
  line-height: 1.75;
}

.team-section {
  background: var(--paper);
}

.team-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 52px;
}

.team-intro > div {
  max-width: 780px;
}

.team-intro > p {
  max-width: 280px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.91rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.team-card {
  display: grid;
  min-height: 430px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(16, 38, 83, 0.06);
  grid-template-columns: 48% 52%;
}

.team-card__photo {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card__photo img {
  transform: scale(1.025);
}

.team-card__monogram {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--gold);
  background: var(--navy);
  font-family: "Cinzel", Georgia, serif;
  font-size: 4.7rem;
  letter-spacing: -0.08em;
}

.team-card__monogram::before,
.team-card__monogram::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(249, 182, 27, 0.16);
  border-radius: 50%;
}

.team-card__monogram::before {
  width: 230px;
  height: 230px;
}

.team-card__monogram::after {
  width: 165px;
  height: 165px;
}

.team-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 32px;
}

.team-card__body > span {
  color: #7b8390;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 11px 0 5px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.35;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.team-card .team-card__summary {
  margin: 22px 0 26px;
  font-size: 0.8rem;
  line-height: 1.7;
}

.faq-section {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(60px, 9vw, 120px);
}

.faq-intro > p:not(.eyebrow) {
  margin: 24px 0 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 79px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 2px;
  cursor: pointer;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  flex: 0 0 auto;
  color: var(--gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: -3px 44px 24px 2px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 108px 0;
  color: var(--white);
  background: var(--navy-deep);
}

.contact-section__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("assets/brand-pattern-optimized.jpg");
  background-size: 800px;
  mix-blend-mode: screen;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
  align-items: center;
  gap: clamp(56px, 9vw, 120px);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.contact-card {
  display: grid;
  margin: 0;
  padding: 34px 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-style: normal;
  gap: 22px;
}

.contact-card div {
  display: grid;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-card span {
  color: var(--gold-soft);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card strong {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.contact-card > div > a {
  width: fit-content;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(249, 182, 27, 0.45);
}

.site-footer {
  color: rgba(255, 255, 255, 0.66);
  background: #06132d;
}

.footer-main {
  display: grid;
  min-height: 210px;
  grid-template-columns: 260px minmax(260px, 0.65fr) 1fr;
  align-items: center;
  gap: 44px;
}

.footer-brand {
  display: flex;
  width: 260px;
  min-height: 90px;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 62px;
  height: 62px;
  padding: 2px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(249, 182, 27, 0.64);
  border-radius: 50%;
  box-shadow: 0 9px 24px rgba(0, 6, 20, 0.32);
}

.footer-brand .brand-copy strong {
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.26);
}

.footer-brand .brand-copy small {
  color: var(--gold-soft);
}

.footer-main > p {
  max-width: 390px;
  margin: 0;
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 30px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.69rem;
  line-height: 1.5;
}

.footer-bottom p:last-child {
  max-width: 535px;
  text-align: right;
}

.floating-whatsapp {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: auto;
  min-width: 58px;
  height: 56px;
  padding: 0 18px;
  grid-auto-flow: column;
  place-items: center;
  gap: 10px;
  color: #fff;
  background: #158f50;
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 14px 35px rgba(4, 17, 42, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-whatsapp::after {
  content: "WhatsApp";
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.floating-whatsapp:hover {
  background: #0f7b43;
  transform: translateY(-4px);
}

.floating-whatsapp svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .site-nav {
    gap: 20px;
  }

  .site-nav > a:not(.nav-cta):nth-child(4) {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 28px;
  }

  .hero-mark__caption {
    display: none;
  }

  .practice-explorer {
    grid-template-columns: 285px minmax(0, 1fr);
  }

  .practice-panel {
    padding-inline: 34px;
  }

  .practice-panel__header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .story-grid {
    gap: 62px;
  }

  .story-visual {
    min-height: 500px;
  }

  .story-visual__panel {
    min-height: 440px;
  }

  .team-card {
    grid-template-columns: 45% 55%;
  }

  .team-card__monogram {
    font-size: 3.6rem;
  }

  .footer-main {
    grid-template-columns: 260px minmax(210px, 0.85fr) minmax(210px, 1fr);
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 82px;
  }

  .contact-bar span {
    display: none;
  }

  .contact-bar__inner {
    justify-content: center;
  }

  .site-header {
    height: 80px;
  }

  .brand {
    width: 218px;
    height: 69px;
  }

  .brand img {
    width: 45px;
    height: 45px;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .brand-copy small {
    font-size: 0.54rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 12px;
    background: transparent;
    border: 1px solid rgba(16, 38, 83, 0.24);
    cursor: pointer;
    gap: 5px;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    padding: 130px 32px 40px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    color: var(--white);
    background: rgba(6, 19, 45, 0.99);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a,
  .site-nav > a:not(.nav-cta):nth-child(4) {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: "Cinzel", Georgia, serif;
    font-size: 1.16rem;
  }

  .site-nav .nav-cta {
    margin-top: 22px;
    padding: 14px 20px;
    text-align: center;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 176px;
    padding-bottom: 112px;
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-mark {
    width: min(82vw, 470px);
    justify-self: center;
  }

  .hero-pattern {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 86px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    max-width: 650px;
  }

  .section-heading > p:last-child {
    max-width: 600px;
    margin-top: 22px;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-explorer {
    grid-template-columns: 1fr;
  }

  .practice-tabs {
    display: grid;
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-tab {
    border-right: 1px solid rgba(255, 255, 255, 0.09);
  }

  .practice-panel__header {
    grid-template-columns: 1fr;
  }

  .practice-card {
    min-height: 360px;
  }

  .practice-card h3 {
    margin-top: 42px;
  }

  .story-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .story-visual {
    width: min(100%, 580px);
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid li,
  .process-grid li:first-child {
    min-height: auto;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .process-grid h3 {
    margin-top: 16px;
  }

  .team-intro {
    display: block;
  }

  .team-intro > p {
    margin-top: 20px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    gap: 56px;
  }

  .footer-main {
    padding: 48px 0;
    grid-template-columns: 260px 1fr;
  }

  .footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .footer-bottom {
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .footer-bottom p:last-child {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .hero-grid {
    padding-top: 158px;
    padding-bottom: 86px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.6rem);
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-meta {
    flex-direction: column;
    gap: 18px;
  }

  .hero-mark {
    width: min(92vw, 390px);
  }

  .section {
    padding: 74px 0;
  }

  .section-heading h2,
  .story-copy h2,
  .team-intro h2,
  .faq-intro h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .practice-card {
    min-height: 400px;
  }

  .practice-tabs {
    max-height: 440px;
    overflow-y: auto;
    grid-template-columns: 1fr;
  }

  .practice-tab {
    min-height: 79px;
    border-right: 0;
  }

  .practice-panel {
    padding: 34px 20px 30px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .practice-panel__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-visual {
    min-height: 390px;
    padding: 24px 24px 0 0;
  }

  .story-visual__panel {
    min-height: 350px;
  }

  .story-visual__note {
    right: -2px;
    width: 132px;
    height: 92px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card__photo {
    min-height: 430px;
  }

  .team-card__monogram {
    min-height: 190px;
  }

  .contact-section {
    padding: 78px 0;
  }

  .contact-card {
    padding: 28px 24px;
  }

  .footer-main {
    display: block;
  }

  .footer-brand {
    margin-bottom: 18px;
  }

  .footer-links {
    margin-top: 30px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 58px;
    padding: 0;
    border-radius: 50%;
  }

  .floating-whatsapp::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Refinamento editorial e páginas previdenciárias */
.site-nav {
  gap: clamp(14px, 1.65vw, 25px);
}

.site-nav > a:not(.nav-cta) {
  font-size: 0.81rem;
}

.brand {
  width: 245px;
  gap: 13px;
}

.brand img {
  width: 56px;
  height: 56px;
}

.brand-copy strong {
  font-size: 1.1rem;
}

.hero {
  min-height: 830px;
}

.hero-grid {
  min-height: 830px;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
  gap: 38px;
}

.hero h1 {
  font-size: clamp(2.75rem, 4.75vw, 4.75rem);
}

.hero-people {
  position: relative;
  width: min(100%, 540px);
  height: 590px;
  justify-self: end;
}

.hero-people__halo {
  position: absolute;
  inset: 11% 4% 4% 12%;
  border: 1px solid rgba(249, 182, 27, 0.32);
  border-radius: 50%;
}

.hero-people__halo::before,
.hero-people__halo::after {
  position: absolute;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 9px rgba(249, 182, 27, 0.08);
}

.hero-people__halo::before {
  top: 9%;
  right: 6%;
  width: 8px;
  height: 8px;
}

.hero-people__halo::after {
  bottom: 11%;
  left: 4%;
  width: 6px;
  height: 6px;
}

.hero-person {
  position: absolute;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  background: #10224a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 70px rgba(2, 10, 28, 0.45);
}

.hero-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-person--antonio {
  top: 42px;
  right: 0;
  width: 58%;
  height: 67%;
}

.hero-person--ismael {
  bottom: 38px;
  left: 0;
  width: 59%;
  height: 68%;
  border-color: rgba(249, 182, 27, 0.58);
}

.hero-people__seal {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 104px;
  height: 104px;
  padding: 7px;
  background: var(--white);
  border: 5px solid var(--navy-deep);
  border-radius: 50%;
  box-shadow: 0 18px 35px rgba(1, 8, 22, 0.4);
  place-items: center;
  transform: translate(-44%, -43%);
}

.hero-people__seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.hero-people > p {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  display: flex;
  min-width: 310px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  padding: 13px 18px;
  color: var(--navy-deep);
  background: var(--gold);
  box-shadow: 0 14px 35px rgba(3, 11, 30, 0.28);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

.hero-people > p span {
  opacity: 0.55;
}

.trust-ribbon {
  position: relative;
  z-index: 6;
  color: var(--navy);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(12, 31, 69, 0.08);
}

.trust-ribbon__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-ribbon__grid > div {
  display: grid;
  min-height: 112px;
  align-content: center;
  padding: 22px 26px;
  border-right: 1px solid var(--line);
}

.trust-ribbon__grid > div:first-child {
  border-left: 1px solid var(--line);
}

.trust-ribbon strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.trust-ribbon span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.previdenciario-feature {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.previdenciario-feature::before {
  position: absolute;
  top: 0;
  right: -200px;
  width: 620px;
  height: 620px;
  content: "";
  background: radial-gradient(circle, rgba(249, 182, 27, 0.09), transparent 68%);
}

.previdenciario-feature__intro {
  position: relative;
  display: grid;
  margin-bottom: 48px;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.65fr);
  gap: 72px;
}

.previdenciario-feature__intro h2,
.previd-hero h1,
.previd-solutions h2,
.previd-team-callout h2,
.national-cta h2,
.national-hero h1,
.location-finder h2,
.national-directory h2,
.national-service-callout h2 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.previdenciario-feature__intro h2,
.previd-team-callout h2,
.location-finder h2,
.national-service-callout h2 {
  font-size: clamp(2.15rem, 4vw, 3.65rem);
}

.previdenciario-feature__intro > div:last-child {
  align-self: end;
}

.previdenciario-feature__intro > div:last-child > p {
  margin: 0 0 24px;
  color: var(--muted);
}

.benefit-showcase {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.benefit-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 31px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
  border-color: rgba(16, 38, 83, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.benefit-card--lead {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.benefit-card--national {
  color: var(--white);
  background: var(--navy-deep);
  border-color: rgba(249, 182, 27, 0.4);
}

.benefit-card--national::after {
  position: absolute;
  right: -70px;
  bottom: -115px;
  width: 280px;
  height: 280px;
  content: "";
  border: 1px solid rgba(249, 182, 27, 0.25);
  border-radius: 50%;
}

.benefit-card__number,
.benefit-card__tag {
  color: #8b96a9;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.benefit-card--lead .benefit-card__number,
.benefit-card--national .benefit-card__tag {
  color: var(--gold-soft);
}

.benefit-card h3 {
  margin: 42px 0 13px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.25;
}

.benefit-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.benefit-card--lead p,
.benefit-card--national p {
  color: rgba(255, 255, 255, 0.72);
}

.benefit-card > a:not(.button) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--navy);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
}

.benefit-card--lead > a:not(.button) {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
}

.benefit-card--national .button {
  z-index: 2;
  align-self: flex-start;
  margin-top: auto;
}

.subpage .site-header {
  position: absolute;
}

.subpage .site-header.is-sticky {
  position: fixed;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.74rem;
}

.breadcrumbs a:hover {
  color: var(--gold-soft);
}

.previd-hero,
.national-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(126deg, var(--navy-deep), var(--navy) 60%, #18356a);
}

.previd-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 38%, rgba(249, 182, 27, 0.12), transparent 27%),
    linear-gradient(90deg, transparent 0 74%, rgba(255, 255, 255, 0.035) 74% 74.1%, transparent 74.1%);
}

.previd-hero__grid {
  position: relative;
  display: grid;
  min-height: 850px;
  padding-top: 175px;
  padding-bottom: 92px;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.92fr);
  align-items: center;
  gap: 70px;
}

.previd-hero__copy {
  max-width: 690px;
}

.previd-hero h1,
.national-hero h1 {
  font-size: clamp(2.7rem, 4.8vw, 4.85rem);
}

.previd-hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.previd-hero__copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.06rem;
}

.previd-hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 24px;
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}

.previd-hero__checks li {
  position: relative;
  padding-left: 17px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.previd-hero__checks li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.previd-hero__portraits {
  position: relative;
  width: 100%;
  height: 600px;
}

.previd-portrait {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 70px rgba(2, 9, 26, 0.4);
}

.previd-portrait--main {
  top: 20px;
  right: 0;
  z-index: 1;
  width: 71%;
  height: 78%;
}

.previd-portrait--secondary {
  bottom: 12px;
  left: 0;
  z-index: 2;
  width: 52%;
  height: 58%;
  border-color: rgba(249, 182, 27, 0.55);
}

.previd-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.previd-portrait figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 17px 20px;
  color: var(--white);
  background: rgba(6, 19, 45, 0.9);
  backdrop-filter: blur(8px);
}

.previd-portrait figcaption strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.78rem;
}

.previd-portrait figcaption span {
  margin-top: 2px;
  color: var(--gold-soft);
  font-size: 0.68rem;
}

.previd-proof {
  color: var(--navy);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.previd-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.previd-proof__grid > div {
  display: grid;
  min-height: 135px;
  align-content: center;
  padding: 25px;
  border-right: 1px solid var(--line);
}

.previd-proof__grid > div:first-child {
  border-left: 1px solid var(--line);
}

.previd-proof span,
.solution-card__index {
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.previd-proof strong {
  margin-top: 5px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.95rem;
}

.previd-proof small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}

.previd-solutions {
  background: var(--paper);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.solution-card {
  position: relative;
  display: flex;
  min-height: 495px;
  flex-direction: column;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(16, 38, 83, 0.035);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.solution-card:hover {
  border-color: rgba(16, 38, 83, 0.26);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.solution-card--featured {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.solution-card__label {
  margin: 9px 0 0;
  color: #8e97a7;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.solution-card h3 {
  margin: 34px 0 13px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.52rem;
  line-height: 1.25;
}

.solution-card > p:not(.solution-card__label) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.solution-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  color: var(--ink);
  font-size: 0.82rem;
  list-style: none;
}

.solution-card li {
  position: relative;
  padding-left: 15px;
}

.solution-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.solution-card > a:not(.button) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 17px;
  color: var(--navy);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
}

.solution-card--featured > p:not(.solution-card__label),
.solution-card--featured .solution-card__label,
.solution-card--featured ul {
  color: rgba(255, 255, 255, 0.75);
}

.solution-card--featured > a:not(.button) {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
}

.solution-card--cta {
  justify-content: center;
  color: var(--white);
  background: var(--navy-deep);
  border-color: rgba(249, 182, 27, 0.32);
}

.solution-card--cta img {
  width: 78px;
  height: 78px;
  margin-bottom: 14px;
  object-fit: contain;
  border-radius: 50%;
}

.solution-card--cta .solution-card__label,
.solution-card--cta > p:not(.solution-card__label) {
  color: rgba(255, 255, 255, 0.7);
}

.solution-card--cta .button {
  align-self: flex-start;
  margin-top: 12px;
}

.process-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.previd-team-callout {
  background: var(--white);
}

.previd-team-callout__grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 95px;
}

.previd-team-callout__photos {
  position: relative;
  display: grid;
  min-height: 560px;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 14px;
}

.previd-team-callout__photos::before {
  position: absolute;
  inset: 38px 24px 0 -24px;
  content: "";
  background: var(--paper);
  border: 1px solid var(--line);
}

.previd-team-callout__photos img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.previd-team-callout__photos img:first-child {
  height: 440px;
}

.previd-team-callout__copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
}

.previd-team-callout__copy .check-list {
  margin: 28px 0 30px;
}

.national-cta {
  padding: 88px 0;
  color: var(--white);
  background: var(--navy-deep);
  border-top: 1px solid rgba(249, 182, 27, 0.18);
}

.national-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: end;
  gap: 70px;
}

.national-cta h2 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.national-cta p:not(.eyebrow) {
  max-width: 650px;
  margin: 19px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.national-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.national-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("assets/brand-pattern-optimized.jpg");
  background-size: 720px;
  mix-blend-mode: screen;
}

.national-hero__grid {
  position: relative;
  display: grid;
  min-height: 710px;
  padding-top: 175px;
  padding-bottom: 80px;
  grid-template-columns: minmax(0, 1.15fr) 360px;
  align-items: center;
  gap: 100px;
}

.national-hero__grid > div:first-child > p:not(.eyebrow) {
  max-width: 670px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.national-hero__map-card {
  display: grid;
  min-height: 420px;
  padding: 36px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(249, 182, 27, 0.5);
  box-shadow: 0 34px 70px rgba(2, 10, 29, 0.38);
  place-items: center;
  align-content: center;
}

.national-hero__map-card img {
  width: 102px;
  height: 102px;
  margin-bottom: 15px;
  object-fit: contain;
  border-radius: 50%;
}

.national-hero__map-card strong {
  color: var(--navy);
  font-family: "Cinzel", Georgia, serif;
  font-size: 2.6rem;
  line-height: 1;
}

.national-hero__map-card span {
  color: var(--muted);
  font-size: 0.8rem;
}

.national-hero__map-card i {
  width: 56px;
  height: 1px;
  margin: 17px 0;
  background: var(--gold);
}

.national-hero__map-card small {
  margin-top: 22px;
  color: #858c99;
  font-size: 0.66rem;
  line-height: 1.55;
}

.location-finder {
  background: var(--white);
}

.location-finder__intro {
  display: grid;
  margin-bottom: 38px;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 70px;
}

.location-finder__intro > p {
  margin: 0;
  color: var(--muted);
}

.location-search {
  display: grid;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(16, 38, 83, 0.07);
  grid-template-columns: minmax(260px, 1.4fr) minmax(220px, 0.8fr) 220px;
  align-items: end;
  gap: 14px;
}

.location-search label {
  display: grid;
  gap: 8px;
}

.location-search label > span {
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.location-search__field {
  position: relative;
  display: grid;
  gap: 8px;
}

.location-search__field > label {
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.location-search input,
.location-search select {
  width: 100%;
  min-height: 56px;
  padding: 13px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(16, 38, 83, 0.2);
  border-radius: 0;
  font: inherit;
  font-size: 0.9rem;
}

.location-search input:focus,
.location-search select:focus {
  outline: 3px solid rgba(249, 182, 27, 0.35);
  border-color: var(--gold);
}

.city-autocomplete {
  z-index: 12;
}

.city-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: grid;
  max-height: 342px;
  padding: 7px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid rgba(16, 38, 83, 0.18);
  box-shadow: 0 24px 54px rgba(6, 19, 45, 0.22);
}

.city-suggestions[hidden] {
  display: none;
}

.city-suggestion {
  display: flex;
  min-height: 50px;
  padding: 10px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy-deep);
  border-bottom: 1px solid var(--line);
  transition: color 0.18s ease, background 0.18s ease;
}

.city-suggestion:last-child {
  border-bottom: 0;
}

.city-suggestion:hover,
.city-suggestion:focus-visible {
  color: var(--navy-deep);
  background: rgba(249, 182, 27, 0.17);
  outline: none;
}

.city-suggestion strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.78rem;
}

.city-suggestion span {
  flex: 0 0 auto;
  min-width: 38px;
  padding: 4px 7px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.66rem;
  font-weight: 700;
  text-align: center;
}

.city-suggestions__empty {
  margin: 0;
  padding: 15px 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.location-search__status {
  display: grid;
  min-height: 56px;
  align-content: center;
  padding: 8px 18px;
  color: var(--white);
  background: var(--navy);
}

.location-search__status strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1;
}

.location-search__status span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.69rem;
}

.location-search__note {
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.national-directory {
  background: var(--paper);
}

.region-directory {
  margin-top: 64px;
}

.region-directory[hidden],
.state-card[hidden],
.city-name[hidden] {
  display: none;
}

.region-directory__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(16, 38, 83, 0.18);
}

.region-directory__heading > div {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.region-directory__heading span {
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.76rem;
}

.region-directory__heading h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.region-directory__heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.state-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.state-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.state-card summary {
  display: grid;
  min-height: 86px;
  padding: 15px 19px;
  cursor: pointer;
  list-style: none;
  grid-template-columns: 50px 1fr 28px;
  align-items: center;
  gap: 15px;
}

.state-card summary::-webkit-details-marker {
  display: none;
}

.state-card__code {
  display: grid;
  width: 50px;
  height: 50px;
  color: var(--navy);
  background: rgba(249, 182, 27, 0.18);
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  place-items: center;
}

.state-card summary > span:nth-child(2) {
  display: grid;
}

.state-card summary strong {
  color: var(--navy);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.92rem;
}

.state-card summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.73rem;
}

.state-card summary i {
  color: var(--gold);
  font-size: 1.25rem;
  font-style: normal;
  text-align: center;
  transition: transform 0.2s ease;
}

.state-card[open] summary i {
  transform: rotate(45deg);
}

.cities-grid {
  display: flex;
  max-height: 370px;
  flex-wrap: wrap;
  gap: 7px;
  padding: 22px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}

.city-name {
  padding: 6px 9px;
  color: #445068;
  background: var(--paper);
  border: 1px solid rgba(16, 38, 83, 0.08);
  font-size: 0.74rem;
  line-height: 1.25;
}

.national-service-callout {
  padding: 98px 0;
  color: var(--white);
  background: var(--navy);
}

.national-service-callout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 85px;
}

.national-service-callout h2 {
  font-size: clamp(2.15rem, 4vw, 3.5rem);
}

.national-service-callout p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.7);
}

.national-service-callout ul {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  list-style: none;
}

.national-service-callout li {
  position: relative;
  padding-left: 19px;
}

.national-service-callout li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

@media (max-width: 1120px) {
  .site-nav > a:not(.nav-cta) {
    font-size: 0.76rem;
  }

  .site-nav {
    gap: 13px;
  }

  .brand {
    width: 225px;
  }

  .hero-grid,
  .previd-hero__grid {
    gap: 30px;
  }

  .solution-card {
    min-height: 520px;
  }
}

@media (max-width: 1050px) {
  .site-nav > a:not(.nav-cta):nth-child(4),
  .site-nav > a:not(.nav-cta):nth-child(5) {
    display: none;
  }

  .hero-grid,
  .previd-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  }

  .hero-people {
    height: 530px;
  }

  .solution-grid,
  .benefit-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }

  .previd-team-callout__grid {
    gap: 55px;
  }

  .location-search {
    grid-template-columns: 1fr 1fr;
  }

  .location-search__status {
    grid-column: 1 / -1;
  }

  .city-suggestions {
    width: calc(200% + 14px);
  }
}

@media (max-width: 820px) {
  .site-nav > a:not(.nav-cta):nth-child(4),
  .site-nav > a:not(.nav-cta):nth-child(5) {
    display: block;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 178px;
    padding-bottom: 70px;
    grid-template-columns: 1fr;
  }

  .hero-people {
    width: min(100%, 520px);
    height: 540px;
    margin: 6px auto 0;
    justify-self: center;
  }

  .trust-ribbon__grid,
  .previd-proof__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-ribbon__grid > div:nth-child(3),
  .previd-proof__grid > div:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .previdenciario-feature__intro,
  .location-finder__intro,
  .national-cta__grid,
  .national-service-callout__grid,
  .previd-team-callout__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .previd-hero__grid,
  .national-hero__grid {
    padding-top: 178px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .previd-hero__portraits {
    width: min(100%, 560px);
    height: 590px;
    margin-inline: auto;
  }

  .national-hero__map-card {
    width: min(100%, 440px);
    min-height: 360px;
    justify-self: center;
  }

  .previd-team-callout__photos {
    width: min(100%, 570px);
    margin-inline: auto;
    order: 2;
  }

  .national-cta__actions {
    justify-content: flex-start;
  }

  .state-directory-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .benefit-showcase,
  .solution-grid,
  .location-search {
    grid-template-columns: 1fr;
  }

  .location-search__status {
    grid-column: auto;
  }

  .city-suggestions {
    width: 100%;
  }

  .benefit-card,
  .solution-card {
    min-height: auto;
  }

  .solution-card {
    padding: 27px;
  }

  .previd-hero__portraits {
    height: 490px;
  }

  .previd-portrait--main {
    width: 73%;
  }

  .previd-portrait--secondary {
    width: 58%;
  }

  .previd-team-callout__photos {
    min-height: 440px;
  }

  .previd-team-callout__photos img {
    height: 390px;
  }

  .previd-team-callout__photos img:first-child {
    height: 340px;
  }

  .region-directory__heading {
    display: grid;
    gap: 5px;
  }
}

/* Retratos previdenciários: mesma proporção, sem sobreposição */
.previd-hero__portraits {
  display: grid;
  height: 560px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.previd-portrait,
.previd-portrait--main,
.previd-portrait--secondary {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
}

.previd-portrait img {
  object-position: center 16%;
}

.previd-team-callout__photos {
  min-height: 500px;
  align-items: stretch;
}

.previd-team-callout__photos img,
.previd-team-callout__photos img:first-child {
  height: 500px;
  object-position: center 16%;
}

@media (max-width: 820px) {
  .site-header {
    z-index: 100;
  }

  .menu-toggle {
    z-index: 102;
  }

  .site-nav,
  .site-nav.is-open {
    z-index: 101;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    overflow-y: auto;
    background: #06132d;
  }

  .previd-hero__portraits {
    width: 100%;
    height: 520px;
  }

  .previd-portrait figcaption strong {
    font-size: 0.7rem;
  }
}

@media (max-width: 620px) {
  .previd-hero__portraits {
    height: 410px;
    gap: 8px;
  }

  .previd-portrait figcaption {
    padding: 11px 9px;
  }

  .previd-portrait figcaption strong {
    font-size: 0.58rem;
    line-height: 1.3;
  }

  .previd-portrait figcaption span {
    font-size: 0.58rem;
  }

  .previd-team-callout__photos {
    min-height: 380px;
    gap: 8px;
  }

  .previd-team-callout__photos img,
  .previd-team-callout__photos img:first-child {
    height: 380px;
  }
}

@media (max-width: 480px) {
  .hero-people {
    height: 420px;
  }

  .hero-person--antonio {
    width: 63%;
    height: 70%;
  }

  .hero-person--ismael {
    width: 64%;
    height: 70%;
  }

  .hero-people__seal {
    width: 78px;
    height: 78px;
  }

  .hero-people > p {
    min-width: 0;
    font-size: 0.62rem;
  }

  .trust-ribbon__grid,
  .previd-proof__grid,
  .process-grid--four {
    grid-template-columns: 1fr;
  }

  .trust-ribbon__grid > div,
  .previd-proof__grid > div {
    min-height: 98px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .previd-hero__portraits {
    height: 420px;
  }

  .previd-portrait figcaption {
    padding: 12px;
  }

  .national-hero__map-card {
    min-height: 330px;
    padding: 26px;
  }

  .state-card summary {
    grid-template-columns: 44px 1fr 22px;
    padding: 13px;
  }

  .state-card__code {
    width: 44px;
    height: 44px;
  }

  .cities-grid {
    max-height: 330px;
    padding: 15px;
  }
}

/* Conteúdo, localidades e artigos */
.city-name.city-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(16, 38, 83, 0.12);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-size: 0.8rem;
  line-height: 1.3;
  text-decoration: none;
  transition: 180ms ease;
}

.city-name.city-link i {
  flex: 0 0 auto;
  color: var(--gold);
  font-style: normal;
}

.city-name.city-link:hover,
.city-name.city-link:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(16, 38, 83, 0.1);
  transform: translateY(-1px);
}

.home-content-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--navy);
  color: #fff;
}

.home-content-section::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  background: url("assets/brand-pattern-optimized.jpg") center / cover;
  opacity: 0.09;
  content: "";
}

.home-content-section__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 80px;
  align-items: end;
}

.home-content-section__copy h2 {
  max-width: 820px;
  margin: 16px 0 20px;
  color: #fff;
  font: 400 clamp(2rem, 4.8vw, 4.2rem) / 1.03 var(--serif);
}

.home-content-section__copy > p:last-child {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
  line-height: 1.8;
}

.home-content-section__links {
  display: grid;
  gap: 12px;
}

.home-content-section__links a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
}

.home-content-section__links a > span {
  color: var(--gold);
  font: 600 0.72rem var(--sans);
  letter-spacing: 0.13em;
}

.home-content-section__links strong {
  font: 400 1.18rem var(--serif);
}

.home-content-section__links i {
  color: var(--gold);
  font-style: normal;
}

.home-content-section__links a:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}

.locality-hero,
.blog-hero,
.article-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.locality-hero {
  min-height: 690px;
}

.locality-hero__pattern {
  position: absolute;
  inset: 0 0 0 auto;
  width: 50%;
  background: linear-gradient(90deg, var(--navy), transparent), url("assets/brand-pattern-optimized.jpg") center / cover;
  opacity: 0.16;
}

.locality-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  gap: 80px;
  align-items: center;
  min-height: 690px;
  padding-top: 140px;
  padding-bottom: 75px;
}

.locality-hero h1,
.blog-hero h1,
.article-hero h1 {
  margin: 20px 0;
  color: #fff;
  font: 400 clamp(2.6rem, 5.5vw, 5.4rem) / 0.98 var(--serif);
}

.locality-hero h1 em,
.blog-hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.locality-hero__grid > div > p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.75;
}

.locality-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.locality-hero__meta span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.73rem;
  letter-spacing: 0.05em;
}

.locality-hero__card {
  display: grid;
  justify-items: center;
  padding: 42px 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
  color: var(--navy);
  text-align: center;
}

.locality-hero__card img {
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
  object-fit: contain;
}

.locality-hero__card p,
.locality-hero__card small {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.locality-hero__card strong {
  margin: 10px 0;
  font: 400 clamp(1.8rem, 3vw, 2.7rem) / 1.05 var(--serif);
}

.locality-hero__card > span {
  margin-bottom: 22px;
  color: var(--gold-dark);
  font-weight: 600;
}

.locality-overview {
  background: #f7f5f0;
}

.locality-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr);
  gap: 70px;
  align-items: center;
}

.locality-map {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 60px rgba(16, 38, 83, 0.1);
}

.map-privacy-note {
  margin: 0;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: #f7f5f0;
  font-size: 0.78rem;
  line-height: 1.55;
}

.map-privacy-note a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.locality-map iframe {
  display: block;
  width: 100%;
  min-height: 470px;
  border: 0;
}

.locality-map > a {
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.privacy-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.privacy-note a,
.privacy-page .article-body a {
  color: var(--navy);
  font-weight: 600;
  text-underline-offset: 3px;
}

.locality-overview__copy h2 {
  margin: 14px 0 20px;
  color: var(--navy);
  font: 400 clamp(2rem, 4vw, 3.5rem) / 1.05 var(--serif);
}

.locality-overview__copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.locality-overview__copy ol {
  display: grid;
  gap: 0;
  margin-top: 26px;
}

.locality-overview__copy li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.locality-overview__copy li > span {
  color: var(--gold-dark);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.locality-overview__copy li strong {
  color: var(--navy);
}

.locality-overview__copy li p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.locality-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.locality-benefit-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.locality-benefit-card > span {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.locality-benefit-card h3 {
  margin: auto 0 14px;
  color: var(--navy);
  font: 400 1.55rem/1.12 var(--serif);
}

.locality-benefit-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.locality-benefit-card a {
  margin-top: 20px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.locality-benefit-card--dark {
  background: var(--navy);
}

.locality-benefit-card--dark h3,
.locality-benefit-card--dark a {
  color: #fff;
}

.locality-benefit-card--dark p {
  color: rgba(255, 255, 255, 0.7);
}

.locality-source-section,
.locality-final-cta,
.article-cta {
  padding: 72px 0;
  background: var(--navy);
  color: #fff;
}

.locality-source-section__grid,
.locality-final-cta__grid,
.article-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.locality-source-section h2,
.locality-final-cta h2,
.article-cta h2 {
  margin-top: 13px;
  color: #fff;
  font: 400 clamp(2rem, 4vw, 3.6rem) / 1.05 var(--serif);
}

.locality-source-section__grid > div:last-child p,
.locality-final-cta p,
.article-cta p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.locality-source-section a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.locality-final-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.locality-final-cta__grid > a,
.article-cta__grid > a {
  justify-self: end;
}

.blog-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 80px;
  align-items: center;
  min-height: 720px;
  padding-top: 150px;
  padding-bottom: 70px;
}

.blog-hero__grid > div > p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.75;
}

.blog-hero__visual {
  position: relative;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #d9d1c6;
}

.blog-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.blog-hero__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(7, 18, 43, 0.9));
  content: "";
}

.blog-hero__visual div {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  left: 24px;
}

.blog-hero__visual span,
.article-category,
.article-date {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.blog-hero__visual strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font: 400 1.4rem/1.2 var(--serif);
}

.articles-section {
  background: #f7f5f0;
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: center;
  margin-top: 42px;
  padding: 44px;
  background: var(--navy);
  color: #fff;
}

.featured-article h3 {
  max-width: 760px;
  margin: 14px 0;
  color: #fff;
  font: 400 clamp(2rem, 4vw, 3.5rem)/1.05 var(--serif);
}

.featured-article p:not(.article-category):not(.article-date) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.featured-article__mark {
  display: grid;
  justify-items: center;
  padding: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.featured-article__mark img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.featured-article__mark span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.article-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.article-card__number {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.article-card .article-category {
  margin-top: auto;
}

.article-card h3 {
  margin: 12px 0;
  color: var(--navy);
  font: 400 1.5rem/1.15 var(--serif);
}

.article-card > p:not(.article-category) {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.article-card > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  font-size: 0.78rem;
}

.article-card > div span {
  color: var(--muted);
}

.article-card a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.article-card--service {
  background: #ece7dc;
}

.instagram-section {
  padding: 100px 0;
  background: #fff;
}

.instagram-section__grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 60px;
}

.instagram-profile {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;
  padding: 38px;
  border: 1px solid var(--line);
}

.instagram-profile__seal {
  display: grid;
  width: 180px;
  height: 180px;
  place-items: center;
  background: var(--navy);
}

.instagram-profile__seal img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.instagram-profile span {
  color: var(--gold-dark);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.instagram-profile strong {
  display: block;
  margin: 8px 0 10px;
  color: var(--navy);
  font: 400 clamp(1.8rem, 3vw, 2.8rem)/1 var(--serif);
}

.instagram-profile p {
  color: var(--muted);
  line-height: 1.65;
}

.instagram-topics {
  display: grid;
}

.instagram-topics a {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px 16px;
  align-content: center;
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  text-decoration: none;
}

.instagram-topics a:last-child {
  border-bottom: 1px solid var(--line);
}

.instagram-topics span {
  grid-row: 1 / span 2;
  color: var(--gold-dark);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.instagram-topics strong {
  font: 400 1.35rem var(--serif);
}

.instagram-topics small {
  color: var(--muted);
}

.instagram-topics a:hover {
  padding-left: 30px;
  background: #f7f5f0;
}

.article-hero__inner {
  max-width: 1040px;
  min-height: 620px;
  padding-top: 165px;
  padding-bottom: 80px;
}

.article-hero h1 {
  max-width: 980px;
}

.article-intro {
  max-width: 840px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.14rem;
  line-height: 1.75;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 80px;
  justify-content: center;
  padding-top: 90px;
  padding-bottom: 110px;
}

.article-summary {
  position: sticky;
  top: 120px;
  display: grid;
  align-self: start;
  border-top: 2px solid var(--gold);
}

.article-summary > span {
  padding: 18px 0 12px;
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-summary a {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.85rem;
  text-decoration: none;
}

.article-body {
  color: #36425b;
  font-size: 1.02rem;
  line-height: 1.85;
}

.article-body .article-lead {
  margin-bottom: 42px;
  color: var(--navy);
  font: 400 1.45rem/1.55 var(--serif);
}

.article-body h2 {
  scroll-margin-top: 120px;
  margin: 46px 0 14px;
  color: var(--navy);
  font: 400 clamp(1.7rem, 3vw, 2.35rem)/1.15 var(--serif);
}

.article-callout {
  margin: 38px 0;
  padding: 28px 30px;
  border-left: 3px solid var(--gold);
  background: #f3f0e9;
}

.article-callout strong {
  color: var(--navy);
  font: 400 1.35rem var(--serif);
}

.article-callout p {
  margin-top: 8px;
}

.article-source {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.article-source span {
  color: var(--muted);
}

.article-source a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .locality-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-hero__grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 45px;
  }

  .instagram-section__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .home-content-section__grid,
  .locality-hero__grid,
  .locality-overview__grid,
  .locality-source-section__grid,
  .locality-final-cta__grid,
  .article-cta__grid,
  .blog-hero__grid,
  .featured-article {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-content-section {
    padding: 76px 0;
  }

  .home-content-section::after {
    width: 100%;
  }

  .locality-hero__grid,
  .blog-hero__grid {
    padding-top: 175px;
  }

  .locality-hero__card {
    width: min(100%, 460px);
  }

  .locality-final-cta__grid > a,
  .article-cta__grid > a {
    justify-self: start;
  }

  .blog-hero__visual {
    width: min(100%, 500px);
    height: 520px;
  }

  .featured-article__mark {
    display: none;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: 300px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .article-summary {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .article-summary > span {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .locality-benefit-grid,
  .instagram-profile {
    grid-template-columns: 1fr;
  }

  .locality-benefit-card {
    min-height: 270px;
  }

  .locality-map iframe {
    min-height: 360px;
  }

  .blog-hero__visual {
    height: 450px;
  }

  .featured-article,
  .instagram-profile {
    padding: 28px;
  }

  .instagram-profile__seal {
    width: 140px;
    height: 140px;
  }

  .article-hero__inner {
    min-height: 560px;
    padding-top: 170px;
  }

  .article-summary {
    grid-template-columns: 1fr;
  }

  .article-source {
    flex-direction: column;
  }
}

/* Garantias finais de enquadramento dos retratos em todas as larguras. */
.hero-people {
  display: grid;
  height: 560px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hero-person,
.hero-person--antonio,
.hero-person--ismael {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
}

.hero-people__seal {
  transform: translate(-50%, -50%);
}

@media (max-width: 820px) {
  .hero-people,
  .previd-hero__portraits {
    height: 500px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-person,
  .hero-person--antonio,
  .hero-person--ismael,
  .previd-portrait,
  .previd-portrait--main,
  .previd-portrait--secondary {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .hero-people,
  .previd-hero__portraits {
    height: 420px;
    gap: 8px;
  }
}
