/* A Tenor Sans, usada nos títulos, desenha o "É" maiúsculo com o acento
   invertido: "Ética" aparece como "Ètica". Só esse caractere é emprestado de
   uma fonte do sistema; todo o resto continua na Tenor Sans. Se nenhuma das
   fontes locais existir, volta ao comportamento antigo. */
@font-face {
  font-family: "Tenor Sans";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans"), local("Roboto");
  unicode-range: U+C9;
}

:root {
  --ink: #08090a;
  --ink-soft: #17191b;
  --paper: #f5f5f2;
  --white: #ffffff;
  --gold: #c5a86a;
  --gold-dark: #8b7446;
  --line: rgba(8, 9, 10, 0.18);
  --line-light: rgba(255, 255, 255, 0.2);
  --blue: #17191b;
  --wine: #8b7446;
  --font-display: "Tenor Sans", "Times New Roman", serif;
  --font-body: "Montserrat", Arial, sans-serif;
  --font-read: "Newsreader", Georgia, "Times New Roman", serif;
  --page: min(92vw, 1440px);
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section: clamp(6rem, 11vw, 11rem);
  --scroll-y: 0px;
  --wa-viewport-height: 100dvh;
  --wa-offset-top: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.wa-modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  touch-action: none;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 88px;
  color: var(--ink);
  transition: background-color 300ms ease, color 300ms ease, height 300ms ease;
}

.site-header.is-scrolled {
  height: 70px;
  color: var(--paper);
  background: rgba(8, 9, 10, 0.96);
  backdrop-filter: blur(18px);
}

/* Com o menu mobile aberto: cabeçalho transparente e texto claro sobre o overlay. */
body.menu-open .site-header {
  color: var(--paper);
  background: transparent;
  backdrop-filter: none;
}

/* Elementos exclusivos do menu mobile — escondidos no desktop (aparecem no @media). */
.nav-eyebrow,
.nav-extra {
  display: none;
}

.header-inner {
  width: var(--page);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.96rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand-mark {
  height: 27px;
  width: auto;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.site-header.is-scrolled .brand-mark,
.dark-header .brand-mark {
  mix-blend-mode: screen;
}

.brand small {
  display: block;
  margin-top: 0.12rem;
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  font-size: 0.69rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-list a::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.45rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 175px;
  min-height: 42px;
  padding: 0 1.1rem;
  border: 1px solid currentColor;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease;
  position: relative;
  overflow: hidden;
}

.header-contact:hover {
  color: var(--paper);
  background: var(--ink);
}

.site-header.is-scrolled .header-contact:hover,
.dark-header .header-contact:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.header-contact .btn-text,
.header-contact .btn-icon {
  transition: opacity 300ms ease, transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header-contact:hover .btn-icon {
  transform: translate(3px, -3px);
}

.header-contact.is-loading {
  pointer-events: none;
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--ink) !important;
}

.header-contact.is-loading .btn-text,
.header-contact.is-loading .btn-icon {
  opacity: 0;
  transform: translateY(-10px);
}

.header-contact::after {
  content: "Redirecionando";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0);
  opacity: 0;
  white-space: nowrap;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: opacity 300ms ease, transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header-contact.is-loading::after {
  opacity: 1;
  transform: translate(-50%, -50%);
  animation: loadingDots 1.5s infinite steps(4, end);
}

@keyframes loadingDots {
  0% { content: "Redirecionando"; }
  25% { content: "Redirecionando."; }
  50% { content: "Redirecionando.."; }
  75% { content: "Redirecionando..."; }
  100% { content: "Redirecionando"; }
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  transition: color 300ms ease;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 23px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-button[aria-expanded="true"] span {
  opacity: 0;
}

.menu-button[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-button[aria-expanded="true"] {
  color: var(--gold);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.4rem;
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.eyebrow::before {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: var(--gold);
}

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: gap 220ms ease, color 220ms ease;
}

.link-arrow:hover {
  gap: 1.7rem;
  color: var(--gold-dark);
}

.link-arrow::after {
  content: "\2192";
  font-size: 1rem;
}

.home-hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: clip;
  background: #fff;
  isolation: isolate;
}



.hero-reception-media {
  position: absolute;
  z-index: -2;
  right: 7vw;
  bottom: 0;
  width: min(43vw, 720px);
  height: 80%;
  color: var(--gold);
  background-color: var(--ink-soft);
  background-image: image-set(
    url('assets/recepcao.webp') type('image/webp'),
    url('assets/recepcao.png') type('image/png')
  );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  transform: translate3d(0, calc(var(--scroll-y) * 0.025), 0);
}

.hero-reception-media::before {
  content: "MP";
  position: absolute;
  right: -0.08em;
  bottom: -0.18em;
  color: rgba(197, 168, 106, 0.14);
  font-family: var(--font-display);
  font-size: clamp(10rem, 22vw, 24rem);
  line-height: 1;
}

.hero-reception-media::after {
  content: "";
  position: absolute;
  inset: clamp(1.4rem, 3vw, 3rem);
  border: 1px solid rgba(197, 168, 106, 0.28);
}

.hero-grid {
  width: var(--page);
  height: 100svh;
  min-height: 680px;
  margin: 0 auto;
  padding: 88px 0 clamp(2rem, 6svh, 4.5rem);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-content: center;
  row-gap: clamp(3rem, 6vh, 5rem);
  column-gap: clamp(1rem, 2.6vw, 2.6rem);
}

.hero-statement {
  grid-column: 1 / 7;
}

.hero-statement .display {
  max-width: 11ch;
  font-size: clamp(3.2rem, min(6.1vw, 11svh), 7.2rem);
}

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

.hero-intro {
  grid-column: 1 / 6;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.5rem;
  max-width: 36rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero-intro p {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(0.82rem, 1.1vw, 1rem);
}

.hero-index {
  position: absolute;
  right: calc(var(--gutter) + 1vw);
  bottom: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.2rem;
  color: var(--paper);
  background: rgba(8, 9, 10, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-index::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.reception {
  position: relative;
  padding: clamp(4rem, 7vw, 7rem) 0;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.reception::before {
  content: "EXCELÊNCIA";
  position: absolute;
  top: 1rem;
  left: -1.2rem;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 19rem);
  line-height: 1;
  white-space: nowrap;
}

.reception-grid {
  position: relative;
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: end;
}

.reception-copy {
  grid-column: 1 / 8;
}

.reception-copy .display {
  max-width: 14ch;
  font-size: clamp(2.4rem, 4.2vw, 4.8rem);
  line-height: 1.04;
}

.reception-copy .display span {
  color: var(--gold);
}

.reception-note {
  grid-column: 8 / 13;
  align-self: end;
  max-width: 34rem;
  padding: 1.6rem 0 0 1.6rem;
  border-left: 1px solid var(--gold);
}

.reception-note p {
  margin: 0 0 2rem;
  font-size: 0.9rem;
}

.identity-section {
  padding: clamp(4.2rem, 7vw, 7rem) 0;
  background: var(--paper);
}

.identity-inner {
  width: var(--page);
  margin: 0 auto;
}

.identity-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}

.identity-heading .display {
  grid-column: 2;
  max-width: 18ch;
  font-size: clamp(2.25rem, 3.8vw, 4.35rem);
  line-height: 1.02;
}

.identity-cards {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 0.9fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.identity-card {
  min-height: 19rem;
  padding: clamp(1.6rem, 2.5vw, 2.4rem);
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.identity-card-featured {
  color: var(--paper);
  background: var(--ink);
}

.identity-card span {
  margin-bottom: auto;
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 0.76rem;
}

.identity-card-featured span {
  color: var(--gold);
}

.identity-card h3 {
  margin: 3rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
}

.identity-card p {
  margin: 0 0 1.4rem;
  color: rgba(8, 9, 10, 0.68);
  font-size: 0.86rem;
}

.identity-card-featured p {
  color: rgba(245, 245, 242, 0.76);
}

.identity-card strong {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(197, 168, 106, 0.65);
  color: var(--gold-dark);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.identity-card-featured strong {
  color: var(--gold);
  border-top-color: rgba(197, 168, 106, 0.7);
}

.areas-showcase {
  padding: var(--section) 0;
  color: var(--paper);
  background: var(--ink-soft);
  overflow: hidden;
}

.areas-layout {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(20rem, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(4.5rem, 9vw, 10rem);
  align-items: start;
}

.areas-heading {
  position: sticky;
  top: 8rem;
}

.areas-heading .display {
  max-width: 13ch;
  margin-bottom: 2rem;
  font-size: clamp(2.7rem, 4.4vw, 5rem);
}

.areas-heading p:not(.eyebrow) {
  max-width: 35rem;
  margin: 0 0 2rem;
  color: rgba(245, 245, 242, 0.76);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

.areas-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.9rem, 1.5vw, 1.25rem);
}

.practice-card,
.people-areas {
  position: relative;
  min-height: 15.5rem;
  padding: clamp(1.35rem, 2vw, 1.85rem);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.practice-card::before,
.people-areas::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(197, 168, 106, 0);
  pointer-events: none;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.practice-card {
  grid-column: span 2;
  display: grid;
  grid-template-rows: 1.8rem minmax(4.2rem, auto) 1fr;
  align-content: start;
  row-gap: clamp(1.15rem, 1.8vw, 1.55rem);
  transform-origin: center;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.practice-card-featured {
  grid-column: span 6;
  min-height: 19.5rem;
  grid-template-rows: 1.8rem auto 1fr;
  row-gap: clamp(1rem, 1.6vw, 1.35rem);
  color: var(--ink);
  background: linear-gradient(135deg, #d1b875 0%, var(--gold) 58%, #b99b58 100%);
  border-color: var(--gold);
}

.practice-card-featured::after {
  content: "";
  position: absolute;
  right: clamp(1.2rem, 4vw, 3.5rem);
  bottom: clamp(1.2rem, 3vw, 2.5rem);
  width: clamp(5.8rem, 10vw, 9rem);
  aspect-ratio: 1;
  border: 1px solid rgba(8, 9, 10, 0.24);
  transform: rotate(18deg);
}

.practice-number {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.76rem;
  line-height: 1;
}

.practice-card-featured .practice-number {
  color: rgba(8, 9, 10, 0.78);
}

.practice-card h3,
.people-areas h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  font-weight: 400;
  line-height: 1.05;
}

.practice-card-featured h3 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 4.2vw, 4.8rem);
}

.practice-card p,
.people-areas p {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0;
  color: rgba(245, 245, 242, 0.74);
  font-size: 0.84rem;
  line-height: 1.65;
}

.practice-card-featured p {
  max-width: 34rem;
  color: rgba(8, 9, 10, 0.82);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

.people-areas {
  grid-column: span 6;
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  background: var(--paper);
  color: var(--ink);
  transform-origin: center;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.people-areas .practice-number {
  margin: 0;
  color: var(--gold-dark);
}

.people-areas p {
  margin-top: 0.55rem;
  color: rgba(8, 9, 10, 0.68);
}

.people-areas .link-arrow {
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .practice-card:hover::before,
  .people-areas:hover::before {
    border-color: rgba(197, 168, 106, 0.82);
    box-shadow: inset 0 0 0 1px rgba(197, 168, 106, 0.26);
  }

  .practice-card:hover {
    transform: scale(1.018);
    border-color: rgba(197, 168, 106, 0.7);
    background: rgba(255, 255, 255, 0.085);
  }

  .practice-card-featured:hover {
    border-color: rgba(8, 9, 10, 0.5);
    background: linear-gradient(135deg, #d8bf7d 0%, #cdb069 56%, #b08f4d 100%);
    box-shadow: inset 0 0 0 1px rgba(8, 9, 10, 0.18), 0 1.2rem 2.8rem rgba(0, 0, 0, 0.18);
  }

  .practice-card-featured:hover::before {
    border-color: rgba(8, 9, 10, 0.36);
    box-shadow: inset 0 0 0 1px rgba(245, 245, 242, 0.2);
  }

  .people-areas:hover {
    transform: scale(1.012);
    border-color: rgba(197, 168, 106, 0.75);
    background: var(--white);
  }

  .people-areas:hover .link-arrow {
    color: var(--gold-dark);
  }
}

.practice-card.is-touching::before,
.people-areas.is-touching::before {
  border-color: rgba(197, 168, 106, 0.82);
  box-shadow: inset 0 0 0 1px rgba(197, 168, 106, 0.26);
}

.practice-card.is-touching {
  transform: scale(1.012);
  border-color: rgba(197, 168, 106, 0.7);
  background: rgba(255, 255, 255, 0.085);
}

.practice-card-featured.is-touching {
  border-color: rgba(8, 9, 10, 0.5);
  background: linear-gradient(135deg, #d8bf7d 0%, #cdb069 56%, #b08f4d 100%);
  box-shadow: inset 0 0 0 1px rgba(8, 9, 10, 0.18);
}

.practice-card-featured.is-touching::before {
  border-color: rgba(8, 9, 10, 0.36);
  box-shadow: inset 0 0 0 1px rgba(245, 245, 242, 0.2);
}

.people-areas.is-touching {
  transform: scale(1.008);
  border-color: rgba(197, 168, 106, 0.75);
  background: var(--white);
}

.people-areas.is-touching .link-arrow {
  color: var(--gold-dark);
}

.health-story {
  position: relative;
  padding: clamp(4.2rem, 7vw, 7rem) 0;
  background: var(--white);
  overflow: hidden;
}

.health-grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

.health-copy {
  grid-column: 1 / 7;
  align-self: center;
}

.health-copy .display {
  max-width: 18ch;
  font-size: clamp(2.35rem, 3.9vw, 4.35rem);
  line-height: 1.02;
}

.health-copy > p:not(.eyebrow) {
  max-width: 33rem;
  margin: 2rem 0;
}

.health-portrait {
  grid-column: 7 / 13;
  align-self: center;
  aspect-ratio: 4/5;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: transparent;
  border: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
}

.health-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.health-portrait picture {
  display: block;
  width: 100%;
  height: 100%;
}

.health-ribbon {
  grid-column: 1 / 13;
  position: relative;
  z-index: 2;
  margin-top: clamp(1rem, 2vw, 2rem);
  padding: 1.4rem clamp(1.4rem, 3vw, 2.4rem);
  color: var(--ink);
  background: var(--paper);
  border-left: 3px solid var(--gold);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.health-ribbon p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 2.2rem);
  line-height: 1.2;
}

.team-preview {
  position: relative;
  padding: var(--section) 0;
  background: var(--paper);
  overflow: hidden;
}

.team-preview::before {
  content: "PRESENÇA";
  position: absolute;
  top: 0.08em;
  right: -0.04em;
  color: rgba(8, 9, 10, 0.035);
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 18rem);
  line-height: 1;
}

.people-editorial {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

.people-intro {
  grid-column: 1 / 8;
}

.people-intro .display {
  max-width: 12ch;
  font-size: clamp(3.1rem, 5.8vw, 6.5rem);
}

.people-intro > p:last-child {
  max-width: 37rem;
  margin: 2.5rem 0 0;
}

.people-manifesto {
  grid-column: 9 / 13;
  align-self: end;
  margin-bottom: 1rem;
  padding: 2rem 0 0 1.5rem;
  border-left: 1px solid var(--gold-dark);
}

.people-manifesto p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 2.2rem);
  line-height: 1.35;
}

.people-values {
  grid-column: 1 / 13;
  margin-top: clamp(3rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.people-value {
  min-height: 14rem;
  padding: clamp(1.5rem, 2.4vw, 2.2rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem clamp(1.2rem, 2vw, 1.8rem);
  align-content: start;
  background: rgba(255, 255, 255, 0.42);
}

.people-value span {
  grid-row: 1 / 3;
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 0.72rem;
  line-height: 1.2;
}

.people-value h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw, 3.1rem);
  font-weight: 400;
  line-height: 1;
}

.people-value p {
  grid-column: 2;
  max-width: 24rem;
  margin: 0;
  font-size: 0.83rem;
}

.people-link {
  grid-column: 1 / 13;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.people-link > span {
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.team-grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

.team-heading {
  grid-column: 1 / 5;
  grid-row: 1;
  position: relative;
  z-index: 2;
  padding-top: 4rem;
}

.team-heading .display {
  width: 14ch;
  font-size: clamp(3rem, 5.8vw, 6rem);
}

.team-photo {
  grid-column: 4 / 13;
  grid-row: 1 / span 2;
  min-height: 45rem;
  background: var(--white);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-caption {
  grid-column: 1 / 4;
  grid-row: 2;
  align-self: end;
  padding: 2rem 0;
  border-top: 1px solid var(--ink);
}

.team-caption p {
  margin: 0 0 2rem;
  font-size: 0.85rem;
}

.journal {
  padding: var(--section) 0;
  background: var(--white);
}

.journal-inner {
  width: var(--page);
  margin: 0 auto;
}

.journal-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: 4rem;
}

.journal-heading .display {
  font-size: clamp(2.8rem, 5vw, 5.5rem);
}

.article-row {
  display: grid;
  grid-template-columns: minmax(8rem, 0.7fr) minmax(0, 2fr) minmax(14rem, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  min-height: 9rem;
  border-top: 1px solid var(--line);
  transition: padding 220ms ease, background-color 220ms ease;
}

.article-row:last-child {
  border-bottom: 1px solid var(--line);
}

.article-row:hover {
  padding: 0 1.2rem;
  background: var(--paper);
}

.article-row time,
.article-row .category {
  font-size: 0.63rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.article-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
}

.article-row p {
  margin: 0;
  font-size: 0.8rem;
}

.final-cta {
  position: relative;
  padding: clamp(7rem, 13vw, 13rem) 0;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.final-cta::after {
  content: "MP";
  position: absolute;
  right: -2rem;
  bottom: -7rem;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--font-display);
  font-size: clamp(14rem, 32vw, 34rem);
  line-height: 1;
}

.final-inner {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

.final-copy {
  grid-column: 1 / 9;
}

.final-copy .display {
  max-width: 12ch;
  margin-bottom: 3rem;
  font-size: clamp(3rem, 6.5vw, 7rem);
}

.final-meta {
  grid-column: 10 / 13;
  align-self: end;
  padding-left: 1.5rem;
  border-left: 1px solid var(--gold);
}

.final-meta p {
  margin: 0 0 1.5rem;
  font-size: 0.78rem;
}

.final-meta address {
  max-width: 18rem;
  margin: 2.2rem 0 0;
  padding-top: 1.2rem;
  color: rgba(245, 245, 242, 0.74);
  border-top: 1px solid rgba(197, 168, 106, 0.45);
  font-style: normal;
  font-size: 0.72rem;
  line-height: 1.75;
}

.site-footer {
  position: relative;
  padding: clamp(3.6rem, 6vw, 5.4rem) 0 1.8rem;
  color: var(--paper);
  background: #030404;
  border-top: 1px solid var(--line-light);
  overflow: hidden;
}

.site-footer::before {
  content: "MP";
  position: absolute;
  left: 50%;
  top: 0.05em;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--font-display);
  font-size: clamp(12rem, 28vw, 28rem);
  line-height: 0.8;
  transform: translateX(-50%);
  pointer-events: none;
}

.footer-signature {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
}

.footer-mark {
  width: clamp(3.1rem, 5vw, 4.7rem);
  height: auto;
  margin-bottom: 1.1rem;
  object-fit: contain;
  mix-blend-mode: screen;
}

.footer-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  font-weight: 400;
}

.footer-motto {
  max-width: 30rem;
  margin: 0.75rem auto 0;
  color: rgba(245, 245, 242, 0.68);
  font-size: 0.82rem;
}

.footer-presence {
  position: relative;
  z-index: 1;
  width: min(var(--page), 58rem);
  margin: clamp(1.8rem, 3.5vw, 3rem) auto 0;
  padding: clamp(1.2rem, 2.4vw, 1.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  text-align: center;
  border-top: 1px solid rgba(197, 168, 106, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.footer-presence span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-presence p,
.footer-presence address {
  max-width: 34rem;
  margin: 0 auto;
  color: rgba(245, 245, 242, 0.76);
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.75;
}

.dark-header {
  color: var(--paper);
}

.page-hero {
  position: relative;
  min-height: 78svh;
  padding: 10rem 0 5rem;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.page-hero::after {
  content: attr(data-watermark);
  position: absolute;
  right: -0.05em;
  bottom: -0.18em;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--font-display);
  font-size: clamp(12rem, 35vw, 34rem);
  line-height: 1;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: var(--page);
  min-height: calc(78svh - 15rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
}

.page-kicker {
  grid-column: 1 / 5;
}

/* "Área · Serviço": no flex do .eyebrow, o link e o texto viravam itens
   separados — o "· Serviço" ficava solto e, com nome de área longo, ia parar
   à direita de um link quebrado em duas linhas. Aqui o rótulo corre como
   texto, com o fio dourado na frente. */
.page-kicker {
  display: block;
  text-wrap: balance;
}

.page-kicker::before {
  display: inline-block;
  margin-right: 0.9rem;
  vertical-align: middle;
}

.page-title {
  grid-column: 1 / 11;
  align-self: end;
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 10rem);
  font-weight: 400;
  line-height: 0.9;
}

/* ---- O escritório: hero refinado ---- */
.about-hero {
  min-height: 88svh;
}

.about-hero .page-hero-inner {
  min-height: calc(88svh - 15rem);
}

.about-hero .page-title {
  font-size: clamp(3.4rem, 7.2vw, 7.6rem);
}

.about-hero-meta {
  grid-column: 1 / 13;
  grid-row: 3;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
  margin-top: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.about-hero-meta span {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: rgba(245, 245, 242, 0.6);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.about-hero-meta strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.page-summary {
  grid-column: 8 / 13;
  align-self: end;
  max-width: 31rem;
  margin: 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--gold);
  font-size: 0.9rem;
}

/* ---- O escritório: abertura ---- */
.about-story {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background: var(--paper);
}

.about-story-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.28fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-story-aside {
  position: sticky;
  top: 8rem;
}

.about-marker {
  display: block;
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 1rem;
}

.about-aside-label {
  margin: 0.6rem 0 0;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(8, 9, 10, 0.55);
}

.about-lead {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
}

.about-lead em {
  font-style: italic;
  color: var(--gold-dark);
}

.about-story-cols {
  margin-top: clamp(2.4rem, 4vw, 3.6rem);
  padding-top: clamp(2rem, 3vw, 2.8rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.6rem, 3vw, 3rem);
}

.about-story-cols p {
  margin: 0;
  color: rgba(8, 9, 10, 0.74);
  font-size: 0.92rem;
}

/* ---- O escritório: experiência do cliente ---- */
.about-care {
  position: relative;
  padding: var(--section) 0;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.about-care::before {
  content: "CUIDADO";
  position: absolute;
  top: 1.5rem;
  right: -1.5rem;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--font-display);
  font-size: clamp(6rem, 17vw, 18rem);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.about-care-inner {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.about-care-head {
  position: sticky;
  top: 7rem;
}

.about-care-head .display {
  max-width: 13ch;
  margin-bottom: 2rem;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1.02;
}

.about-care-head .display span {
  font-style: italic;
  color: var(--gold);
}

.about-care-intro {
  margin: 0;
  max-width: 34rem;
  color: rgba(245, 245, 242, 0.78);
  font-size: 0.92rem;
}

.about-care-tag {
  margin: 2.2rem 0 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--gold);
  max-width: 32rem;
  color: rgba(245, 245, 242, 0.7);
  font-size: 0.86rem;
}

.about-care-tag span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.care-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.care-line {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding: clamp(1.6rem, 2.6vw, 2.3rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  transition: padding-left 320ms ease;
}

.care-line:first-child {
  padding-top: 0;
  border-top: 0;
}

.care-line:hover {
  padding-left: 0.5rem;
}

.care-line h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.05;
}

.care-line p {
  margin: 0;
  color: rgba(245, 245, 242, 0.72);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* ---- O escritório: missão ---- */
.about-mission {
  padding: var(--section) 0;
  background: var(--white);
}

.about-mission-inner {
  width: var(--page);
  max-width: 1100px;
  margin: 0 auto;
}

.about-mission-mark {
  margin: 0 0 clamp(1.6rem, 3vw, 2.4rem);
  padding-left: 2.6rem;
  position: relative;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
}

.about-mission-mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.about-mission-statement {
  margin: 0;
}

.about-mission-statement p {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
}

.about-mission-statement em {
  font-style: italic;
  color: var(--gold-dark);
}

.about-mission-foot {
  margin: clamp(2.4rem, 4vw, 3.4rem) 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  margin-left: auto;
  max-width: 26rem;
  color: rgba(8, 9, 10, 0.62);
  font-size: 0.9rem;
}

/* ---- O escritório: valores ---- */
.about-values {
  position: relative;
  padding: var(--section) 0;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.about-values-inner {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
}

.about-values-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.about-values-head .display {
  max-width: 16ch;
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  line-height: 1.04;
}

.values-wordlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0;
}

.values-wordlist li {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 3.4rem);
  line-height: 1.2;
  color: var(--paper);
  transition: color 280ms ease;
}

.values-wordlist li:hover {
  color: var(--gold);
}

.values-wordlist li:not(:last-child)::after {
  content: "·";
  margin: 0 clamp(0.8rem, 1.6vw, 1.6rem);
  color: var(--gold);
}

.about-values-foot {
  margin: clamp(2.6rem, 4vw, 3.6rem) 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 40rem;
  color: rgba(245, 245, 242, 0.72);
  font-size: 0.9rem;
}

/* ---- O escritório: método (linha do tempo) ---- */
.method-flow {
  padding: var(--section) 0;
  background: var(--paper);
}

.method-flow-inner {
  width: var(--page);
  margin: 0 auto;
}

.method-flow-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.method-flow-head .display {
  max-width: 18ch;
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  line-height: 1.04;
}

.method-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

.method-node {
  position: relative;
  padding-top: 2rem;
  border-top: 2px solid var(--line);
}

.method-node::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.method-stage {
  display: block;
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.method-node h3 {
  margin: 1.1rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.8vw, 1.85rem);
  font-weight: 400;
  line-height: 1.1;
}

.method-node p {
  margin: 0;
  color: rgba(8, 9, 10, 0.7);
  font-size: 0.86rem;
  line-height: 1.6;
}

.principles {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  color: var(--paper);
  background: var(--blue);
}

.principles-inner {
  width: var(--page);
  margin: 0 auto;
}

.principles-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.principles-head .eyebrow {
  grid-column: 1 / -1;
}

.principles-head .display {
  max-width: 14ch;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1.04;
}

.principles-head > p:not(.eyebrow) {
  color: rgba(245, 245, 242, 0.74);
  font-size: 0.9rem;
}

.principle-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding: clamp(1.6rem, 2.4vw, 2.1rem) 0;
  border-top: 1px solid var(--line-light);
  transition: padding-left 320ms ease;
}

.principle-row:hover {
  padding-left: 0.6rem;
}

.principle-row:last-child {
  border-bottom: 1px solid var(--line-light);
}

.principle-row span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.principle-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.05;
}

.principle-row p {
  max-width: 36rem;
  margin: 0;
  color: rgba(245, 245, 242, 0.72);
  font-size: 0.86rem;
}

.method-section {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background: var(--white);
}

.method-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}

.method-heading {
  grid-column: 1 / 6;
  position: sticky;
  top: 8rem;
  align-self: start;
}

.method-heading .display {
  max-width: 13ch;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1.04;
}

.method-note {
  max-width: 26ch;
  margin: 1.6rem 0 0;
  color: rgba(8, 9, 10, 0.6);
  font-size: 0.88rem;
}

.method-steps {
  grid-column: 7 / 13;
}

.method-step {
  padding: clamp(1.6rem, 2.2vw, 2.2rem) 0;
  border-top: 1px solid var(--line);
}

.method-step:first-child {
  padding-top: 0;
  border-top: 0;
}

.method-step span {
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.method-step h3 {
  max-width: 18ch;
  margin: 1.1rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  font-weight: 400;
  line-height: 1.08;
}

.method-step p {
  max-width: 34rem;
  margin: 0;
  color: rgba(8, 9, 10, 0.7);
  font-size: 0.9rem;
}

/* ---- Áreas: índice editorial, busca e navegação por público ---- */
.areas-page .areas-hero { min-height: 0; padding: 8rem 0 3.8rem; }
.areas-page .areas-hero::after { display: none; }
.areas-page .areas-hero .page-hero-inner,
.areas-page .areas-index-inner,
.areas-page .final-inner { width: min(90vw, 1240px); margin: 0 auto; }
.areas-page .areas-hero .page-hero-inner { display: block; min-height: 0; }
.areas-page .areas-hero .page-title {
  max-width: 24ch;
  margin: 1.4rem 0 1.5rem -0.04em;
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
  line-height: 1.1;
  text-wrap: balance;
}
.areas-page .areas-hero .page-summary { max-width: 62ch; margin: 0; padding: 0; border: 0; font-size: 0.93rem; line-height: 1.8; }
.areas-page .areas-index { padding: clamp(3rem, 5vw, 5rem) 0; color: var(--ink); background: var(--paper); scroll-margin-top: 7rem; }
.areas-page .areas-index-head { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 1.5rem 3rem; margin-bottom: 2.5rem; }
.areas-page .areas-index-head .eyebrow { color: #78613a; }
.areas-page .areas-index-head .display { max-width: none; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.2; }
.areas-page .areas-index-note { max-width: 37ch; margin: 0; justify-self: end; color: #606259; font-size: 0.85rem; line-height: 1.8; }
.areas-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 1.6rem 3rem; }
.areas-search { flex: 1 1 22rem; }
.areas-search label { display: block; margin-bottom: 0.7rem; color: #55584e; font-size: 0.72rem; font-weight: 600; }
.areas-search-control { display: flex; align-items: center; gap: 0.8rem; padding: 0 1rem; background: white; border: 1px solid #c7c8bf; }
.areas-search-control:focus-within { border-color: #8b7446; box-shadow: 0 0 0 1px #8b7446; }
.areas-search-control svg { width: 1.2rem; height: 1.2rem; flex-shrink: 0; color: #6d715f; }
.areas-search-control input { width: 100%; min-width: 0; min-height: 3.3rem; padding: 0.85rem 0; color: var(--ink); background: transparent; border: 0; font: inherit; font-size: 0.84rem; }
.areas-search-control input::placeholder { color: #74776b; }
.areas-search-control input:focus-visible { outline: none; }
.areas-page .areas-filter { display: flex; flex-wrap: wrap; gap: 0.3rem 1.5rem; margin: 0; }
.areas-page .areas-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.3rem;
  padding: 0.65rem 0;
  color: #66695f;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font: inherit;
  font-size: 0.77rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}
.areas-page .areas-filter-btn:hover { color: var(--ink); border-bottom-color: #bbb9ad; }
.areas-page .areas-filter-btn.is-active { color: var(--ink); border-bottom-color: #8b7446; }
.areas-filter-btn [data-area-count] { color: #767968; font-size: 0.65rem; font-variant-numeric: tabular-nums; }
.areas-results { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.8rem 1.2rem; margin: 1.8rem 0 1.4rem; font-size: 0.73rem; color: #696d61; }
.areas-results p { margin: 0; overflow-wrap: anywhere; }
.areas-order-note { margin-left: auto; }
.areas-reset,
.areas-empty button { color: #735d36; background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.areas-reset { min-height: 2rem; }
.areas-page .areas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3.5rem; row-gap: 0; border-top: 1px solid #cccec3; }
.areas-page .area-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  gap: 0.8rem 1.4rem;
  min-height: 11rem;
  padding: 1.9rem 0;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid #cccec3;
  background: transparent;
  transition: border-color 180ms ease;
}
.areas-page .area-card:hover { border-bottom-color: #8b7446; }
.areas-page .area-card h3 { grid-column: 1; margin: 0; font-family: var(--font-display); font-size: clamp(1.3rem, 1.9vw, 1.75rem); font-weight: 400; line-height: 1.3; text-wrap: balance; }
.areas-page .area-card p { grid-column: 1; margin: 0; max-width: 49ch; color: #62655a; font-size: 0.83rem; line-height: 1.8; }
.areas-page .area-go { grid-column: 2; grid-row: 1; align-self: center; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; color: #7c643a; font-size: 1.3rem; border: 1px solid #d6d4c7; border-radius: 50%; transition: background-color 180ms ease, border-color 180ms ease; }
.areas-page .area-card:hover .area-go { background: #eae6da; border-color: #b3a47f; }
.areas-empty { padding: 3.5rem 1rem; text-align: center; }
.areas-empty h3 { margin: 0 0 1rem; font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 400; }
.areas-empty p { color: #62655a; font-size: 0.88rem; }
.areas-empty button { min-height: 2.8rem; margin-top: 0.8rem; font-size: 0.85rem; }
.areas-page [hidden] { display: none !important; }
.areas-page :is(.areas-filter-btn, .area-card, .areas-reset, .areas-empty button):focus-visible { outline: 2px solid #8b7446; outline-offset: 5px; }
.areas-page .final-cta { padding: 4rem 0; }
.areas-page .final-cta::before,
.areas-page .final-cta::after { display: none; }
.areas-page .final-inner { grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.areas-page .final-copy,
.areas-page .final-meta { grid-column: auto; }
.areas-page .final-copy .display { max-width: 22ch; margin-bottom: 1.7rem; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.2; }
.areas-page .final-meta { align-self: center; max-width: 42ch; padding: 0; border: 0; }
.areas-page .final-meta p { font-size: 0.85rem; line-height: 1.8; }
@media (max-width: 1050px) {
  .areas-search { flex-basis: 100%; }
  .areas-page .areas-filter { gap: 0.3rem 2rem; }
  .areas-page .areas-grid { column-gap: 2rem; }
}
@media (max-width: 650px) {
  .areas-page .areas-hero { padding: 7rem 0 2.8rem; }
  .areas-page .areas-hero .page-title { font-size: clamp(2.15rem, 8.8vw, 3rem); margin-top: 1.4rem; }
  .areas-page .areas-hero .page-summary { font-size: 0.86rem; }
  .areas-page .areas-index-head { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
  .areas-page .areas-index-note { justify-self: start; max-width: none; }
  .areas-search-control input { font-size: 1rem; }
  .areas-page .areas-filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.2rem; width: 100%; }
  .areas-page .areas-filter-btn { justify-content: flex-start; }
  .areas-page .areas-grid { grid-template-columns: 1fr; }
  .areas-page .area-card { min-height: 0; padding: 1.6rem 0; gap: 0.7rem 1rem; }
  .areas-page .area-card h3 { font-size: 1.4rem; }
  .areas-order-note { display: none; }
  .areas-page .final-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.areas-hero {
  min-height: 0;
  padding: 8rem 0 3.5rem;
}

.areas-hero .page-hero-inner {
  min-height: 0;
  grid-template-rows: auto auto auto;
  align-content: end;
  gap: 1.35rem 2rem;
}

.areas-hero .page-title {
  grid-column: 1 / 9;
  grid-row: 2;
  align-self: end;
  max-width: 14ch;
  margin-left: -0.08em;
  font-size: clamp(3.2rem, 6vw, 6.6rem);
}

.areas-hero .page-summary {
  grid-column: 1 / 8;
  grid-row: 3;
  max-width: 46rem;
  padding-left: 0;
  color: rgba(245, 245, 242, 0.76);
  border-left: 0;
  font-size: 0.96rem;
  line-height: 1.7;
}

.service-hero {
  min-height: 0;
  padding: 8rem 0 4.5rem;
  background: var(--ink);
}

/* Áreas e serviços usam uma abertura editorial alinhada. O resumo deixa de
   parecer uma citação isolada na extrema direita e passa a continuar a
   leitura do título, na mesma margem. */
.service-hero .page-hero-inner {
  min-height: clamp(28rem, 56svh, 40rem);
  grid-template-rows: auto minmax(2rem, 1fr) auto;
  row-gap: 1.5rem;
}

.service-hero .page-title {
  grid-column: 1 / 12;
  grid-row: 2;
  max-width: 22ch;
  margin-left: -0.08em;
  font-size: clamp(3.8rem, 6.2vw, 7.2rem);
  line-height: 0.94;
}

.service-hero .page-summary {
  grid-column: 1 / 8;
  grid-row: 3;
  max-width: 46rem;
  padding-left: 0;
  color: rgba(245, 245, 242, 0.76);
  border-left: 0;
  font-size: 0.96rem;
  line-height: 1.7;
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(197, 168, 106, 0.16), transparent);
  pointer-events: none;
}

.service-hero[data-accent="gold"]::before {
  height: 46%;
  background: linear-gradient(0deg, rgba(197, 168, 106, 0.22), transparent);
}

.service-intro {
  padding: var(--section) 0;
  background: var(--white);
}

.service-intro-grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

/* Introduções de texto: duas colunas proporcionais, alinhadas pelo topo.
   A frase de abertura mantém presença sem dominar toda a seção, enquanto os
   parágrafos ganham largura real de leitura. O painel de experiência possui
   composição própria e não entra nesta regra. */
.service-intro:not(.service-intro-expertise) .service-intro-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.service-quote {
  grid-column: 1;
  max-width: 18ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.5vw, 3.8rem);
  line-height: 1.08;
}

.service-intro-copy {
  grid-column: 8 / 13;
  margin-top: 8rem;
}

.service-intro:not(.service-intro-expertise) .service-intro-copy {
  grid-column: 2;
  max-width: 46rem;
  margin-top: 0.2rem;
}

.service-intro:not(.service-intro-expertise) .service-intro-copy p {
  font-size: 0.98rem;
  line-height: 1.78;
}

.service-intro:not(.service-intro-expertise) .service-intro-copy p:first-child {
  margin-top: 0;
}

.service-intro:not(.service-intro-expertise) .service-intro-copy p:last-child {
  margin-bottom: 0;
}

.service-content .service-intro-grid {
  align-items: start;
}

.service-content .service-intro-lead {
  grid-column: 1;
}

.service-content .service-intro-lead h2 {
  max-width: 16ch;
  font-size: clamp(2.35rem, 3.6vw, 4rem);
}

.service-content-copy {
  margin-top: 0;
}

.service-content-copy p:first-child {
  margin-top: 0;
}

.service-content-copy p:last-child {
  margin-bottom: 0;
}

.service-intro-expertise .service-intro-grid {
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.service-intro-lead {
  grid-column: 1 / 7;
}

.service-intro-lead h2 {
  max-width: 13ch;
  margin: 0 0 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.6vw, 5rem);
  font-weight: 400;
  line-height: 1.03;
}

.service-intro-lead p:not(.eyebrow) {
  max-width: 34rem;
  margin: 0;
  color: rgba(8, 9, 10, 0.7);
}

.service-intro-expertise .service-intro-copy {
  grid-column: 7 / 13;
  margin-top: 0;
}

.expertise-panel {
  position: relative;
  padding: clamp(1.8rem, 3vw, 2.8rem);
  border: 1px solid var(--line);
  background: var(--paper);
}

.expertise-years {
  display: block;
  margin-bottom: 2rem;
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.9;
}

.expertise-panel p {
  max-width: 39rem;
}

.expertise-list {
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.expertise-list li {
  padding: 0.95rem 1rem;
  background: var(--white);
  font-size: 0.78rem;
  line-height: 1.45;
}

.service-note {
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  border-left: 2px solid var(--gold);
  background: var(--paper);
  font-size: 0.86rem;
}

.service-proof {
  padding: var(--section) 0;
  color: var(--paper);
  background: var(--ink);
}

.service-proof-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.service-proof-copy h2 {
  max-width: 13ch;
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  font-weight: 400;
  line-height: 1.02;
}

.service-proof-copy p {
  max-width: 35rem;
  color: rgba(245, 245, 242, 0.76);
}

.service-proof-points {
  display: grid;
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.service-proof-points div {
  padding: clamp(1.4rem, 2vw, 2rem);
  background: rgba(255, 255, 255, 0.045);
}

.service-proof-points span {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.76rem;
}

.service-proof-points h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.12;
}

.service-proof-points p {
  margin: 0;
  color: rgba(245, 245, 242, 0.72);
  font-size: 0.86rem;
}

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

.service-faq-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.service-faq-heading h2 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  font-weight: 400;
  line-height: 1.02;
  text-wrap: balance;
}

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

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

.service-faq-item summary {
  position: relative;
  padding: 1.5rem 3rem 1.5rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.15;
}

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

.service-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--gold-dark);
}

.service-faq-item[open] summary::after {
  content: "−";
}

.service-faq-item p {
  max-width: 42rem;
  margin: 0;
  padding: 0 3rem 1.6rem 0;
  color: rgba(8, 9, 10, 0.7);
}

.service-sources {
  padding: calc(var(--section) * 0.72) 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.service-sources-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.service-sources-heading h2 {
  max-width: 13ch;
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.4vw, 4.6rem);
  font-weight: 400;
  line-height: 1.03;
  text-wrap: balance;
}

.service-sources-heading > p:last-child {
  max-width: 34rem;
  color: rgba(8, 9, 10, 0.68);
}

.service-source-metadata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-source-meta {
  padding: 1.2rem;
  background: var(--paper);
}

.service-source-meta span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold-dark);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.service-source-meta p {
  margin: 0;
  font-size: 0.82rem;
}

.service-source-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-source-list li {
  border-bottom: 1px solid var(--line);
}

.service-source-list a {
  display: block;
  padding: 1rem 2rem 1rem 0;
  color: inherit;
  font-size: 0.82rem;
  line-height: 1.5;
  transition: color 180ms ease;
}

.service-source-list a::after {
  content: " ↗";
  color: var(--gold-dark);
}

.service-source-list a:hover {
  color: var(--gold-dark);
}

@media (max-width: 900px) {
  .service-faq-inner,
  .service-sources-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .service-source-metadata {
    grid-template-columns: 1fr;
  }
}

.service-areas-nav {
  padding: 3rem 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.service-areas-nav-inner {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.services-band {
  padding: var(--section) 0;
  color: var(--paper);
  background: var(--ink);
}

.services-inner {
  width: var(--page);
  margin: 0 auto;
}

.services-heading {
  max-width: 13ch;
  margin: 0 0 5rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.4rem);
  font-weight: 400;
  line-height: 1.03;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 4rem;
  border-top: 1px solid var(--line-light);
}

.service-list div {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-light);
}

.service-list span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.72rem;
}

.service-list p {
  margin: 0;
}

.service-list-link {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-light);
  color: inherit;
  transition: color 240ms ease;
}

.service-list-link p {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
}

.service-list-link p::after {
  content: "\2197";
  color: var(--gold);
  font-size: 0.85rem;
  opacity: 0.7;
  transition: transform 240ms ease, opacity 240ms ease;
}

.service-list-link:hover {
  color: var(--gold);
}

.service-list-link:hover p::after {
  transform: translate(2px, -2px);
  opacity: 1;
}

/* "Mais em <área>": links para outros serviços da mesma área, no fim da
   página de serviço. Mesma lista numerada da seção escura, em fundo claro. */
.service-related {
  padding: calc(var(--section) * 0.6) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.service-related-inner {
  width: var(--page);
  margin: 0 auto;
}

.service-related-heading {
  max-width: 18ch;
  margin: 0 0 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  text-wrap: balance;
}

.service-related .service-list {
  border-top-color: var(--line);
}

.service-related .service-list-link {
  border-bottom-color: var(--line);
}

.service-related .service-list span {
  color: var(--gold-dark);
}

.service-related .service-list-link:hover {
  color: var(--gold-dark);
}

@media (max-width: 760px) {
  .service-related .service-list {
    grid-template-columns: 1fr;
  }
}

/* Lista com número ímpar de itens: o último ficava sozinho na coluna da
   esquerda e o fio de baixo morria no meio. Ele passa a ocupar a linha. */
.service-list > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* Títulos grandes quebravam com uma palavra sozinha na primeira linha
   ("Do / procedimento / ao documento"). O navegador equilibra as linhas, e a
   medida das duas seções de coluna estreita ganha um pouco de folga. */
@media (min-width: 901px) {
  .services-heading,
  .method-heading .display {
    max-width: 16ch;
  }
}

.page-title,
.services-heading,
.service-quote,
.service-intro-lead h2,
.service-proof-copy h2,
.method-heading .display,
.final-copy .display {
  text-wrap: balance;
}

/* "A dor que resolvemos" e "Como atuamos" são duas seções escuras seguidas:
   o padding de baixo de uma somado ao de cima da outra virava um vazio de
   ~200px no celular e ~320px no PC. Aqui elas dividem o espaço, com um fio
   separando os blocos. */
.service-proof:has(+ .services-band) {
  padding-bottom: calc(var(--section) * 0.55);
}

.service-proof + .services-band {
  padding-top: 0;
}

.service-proof + .services-band .services-inner {
  padding-top: calc(var(--section) * 0.55);
  border-top: 1px solid var(--line-light);
}

/* Páginas de área e de serviço no tablet: as seções em duas colunas deixavam
   o texto com ~280px de largura e um vazio ao lado. Aqui elas empilham, como
   no celular, com largura de leitura confortável. */
@media (min-width: 761px) and (max-width: 900px) {
  .service-hero .page-summary {
    grid-column: 6 / 13;
  }

  /* Em /areas o resumo dividia a linha com o título e sobrava ~276px. */
  .areas-hero .page-summary {
    grid-column: 1 / 11;
    grid-row: 3;
    margin-top: 0.5rem;
  }

  .service-intro-grid,
  .service-proof-inner,
  .method-inner {
    display: block;
  }

  .service-quote {
    max-width: 20ch;
  }

  .service-intro-copy {
    width: min(100%, 36rem);
    margin: 3rem 0 0 auto;
  }

  .service-intro-expertise .service-intro-copy {
    width: 100%;
    margin-top: 3rem;
  }

  .service-intro-lead h2 {
    max-width: 16ch;
  }

  .service-proof-copy p {
    max-width: 40rem;
  }

  .service-proof-points {
    margin-top: 3rem;
  }

  .method-heading {
    position: static;
    margin-bottom: 3rem;
  }

  .method-heading .display {
    max-width: 18ch;
  }
}

/* ---- Equipe: hero (mesmo padrão da página "O escritório") ---- */
.team-hero {
  min-height: 88svh;
}

.team-hero .page-hero-inner {
  min-height: calc(88svh - 15rem);
}

.team-hero .page-title {
  font-size: clamp(3.4rem, 7.2vw, 7.6rem);
}

/* ---- Equipe: os sócios (dupla) ---- */
.team-lead {
  position: relative;
  padding: clamp(3.5rem, 6vw, 6.5rem) 0 0;
  background: var(--white);
  overflow: hidden;
}

.team-lead-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.team-lead-copy {
  padding-bottom: clamp(3.5rem, 6vw, 6.5rem);
}

.team-lead-copy .display {
  max-width: 15ch;
  margin: 0 0 1.3rem;
  font-size: clamp(1.85rem, 2.8vw, 3.3rem);
  line-height: 1.06;
}

.team-lead-copy > p:not(.eyebrow) {
  max-width: 44ch;
  margin: 0;
  color: rgba(8, 9, 10, 0.7);
  font-size: 0.88rem;
}

.team-lead-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2.4rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.team-lead-stats span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: rgba(8, 9, 10, 0.5);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.team-lead-stats strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.team-lead-figure {
  margin: 0;
  align-self: end;
}

.team-lead-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Equipe: perfis individuais ---- */
.members {
  padding: var(--section) 0;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vw, 8rem);
}

.member {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.member--reverse {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}

.member--reverse .member-figure {
  grid-column: 2;
  grid-row: 1;
}

.member--reverse .member-body {
  grid-column: 1;
  grid-row: 1;
}

.member-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #eeece5 100%);
  border: 1px solid var(--line);
}

.member-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.member:hover .member-figure img {
  transform: scale(1.03);
}

.member-index {
  position: absolute;
  top: 1.1rem;
  left: 1.3rem;
  z-index: 1;
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 1rem;
}

.member-role {
  margin: 0 0 0.7rem;
  color: var(--gold-dark);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.member-name {
  margin: 0 0 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
}

.member-registration {
  margin: -0.55rem 0 1.25rem;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.member-bio {
  max-width: 48ch;
  margin: 0 0 2rem;
  color: rgba(8, 9, 10, 0.72);
  font-size: 0.92rem;
}

.member-label {
  margin: 0 0 0.9rem;
  color: var(--gold-dark);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.member-tags {
  list-style: none;
  margin: 0 0 2.2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 40rem;
}

.member-tags li {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.75rem;
  color: rgba(8, 9, 10, 0.82);
  transition: border-color 260ms ease, color 260ms ease;
}

.member-tags li:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.member-creds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 40rem;
}

.member-creds li {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.member-creds li span {
  color: var(--gold-dark);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ---- Equipe: parcerias ---- */
.partners {
  padding: var(--section) 0 clamp(3rem, 5vw, 4.5rem);
  color: var(--paper);
  background: var(--ink);
}

.partners-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* Transição entre duas seções escuras adjacentes (Parcerias/Áreas -> CTA) */
.partners + .final-cta,
.areas-index + .final-cta {
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.partners + .final-cta::before,
.areas-index + .final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 1px;
  background: var(--gold);
}

.partners-head .display {
  max-width: 16ch;
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  line-height: 1.04;
}

.partners-body p {
  max-width: 42ch;
  margin: 0 0 1.4rem;
  color: rgba(245, 245, 242, 0.74);
  font-size: 0.92rem;
}

.partners-body p:last-child {
  margin-bottom: 0;
}

.blog-layout {
  padding: var(--section) 0;
  background: var(--white);
}

.blog-inner {
  width: var(--page);
  margin: 0 auto;
}

.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 35rem;
  margin-bottom: 7rem;
  color: var(--paper);
  background: var(--blue);
}

.featured-article-copy {
  padding: clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-article h2 {
  max-width: 12ch;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.featured-article-art {
  position: relative;
  min-height: 30rem;
  background: var(--gold);
  overflow: hidden;
}

.featured-article-art::before,
.featured-article-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(8, 9, 10, 0.35);
}

.featured-article-art::before {
  inset: 12% 18% 28% 10%;
}

.featured-article-art::after {
  inset: 32% 8% 8% 34%;
}

.featured-article-art span {
  position: absolute;
  right: 8%;
  bottom: 3%;
  color: rgba(8, 9, 10, 0.16);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 18rem);
  line-height: 1;
}

.article-page {
  padding: 11rem 0 var(--section);
  background: var(--white);
}

.article-header,
.article-body {
  width: min(90vw, 980px);
  margin: 0 auto;
}

.article-header {
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  margin: 1.5rem 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.98;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.article-body {
  padding-top: 4rem;
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 4rem;
}

.article-aside {
  position: sticky;
  top: 8rem;
  align-self: start;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-dark);
  font-size: 0.7rem;
}

.article-content {
  max-width: 45rem;
  font-family: Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.9;
}

.article-content h2 {
  margin: 3.2rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
}

.article-content blockquote {
  margin: 3rem 0;
  padding: 2rem;
  border-left: 3px solid var(--gold);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.4;
}

.contact-page {
  min-height: 100svh;
  padding: 10rem 0 5rem;
  color: var(--paper);
  background: var(--ink);
}

.contact-grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.contact-intro {
  grid-column: 1 / 7;
}

.contact-intro .display {
  max-width: 10ch;
  font-size: clamp(3.5rem, 7vw, 8rem);
}

.contact-details {
  max-width: 24rem;
  margin: 4rem 0 0 auto;
  padding-left: 1.5rem;
  border-left: 1px solid var(--gold);
}

.contact-form {
  grid-column: 8 / 13;
  padding: clamp(2rem, 4vw, 4rem);
  color: var(--ink);
  background: var(--paper);
}

.field {
  margin-bottom: 1.4rem;
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.8rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.submit-button {
  min-height: 50px;
  padding: 0 1.5rem;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease;
}

.submit-button:hover {
  color: var(--ink);
  background: var(--gold);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.form-status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  font-size: 0.75rem;
}

.form-status[data-state="success"] {
  color: #356541;
}

.form-status[data-state="error"] {
  color: #9b2e34;
}

.legal-page {
  padding: 11rem 0 var(--section);
  background: var(--white);
}

.legal-inner {
  width: min(88vw, 850px);
  margin: 0 auto;
}

.legal-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
}

.not-found {
  min-height: 100svh;
  padding: 0;
  display: flex;
  flex-direction: column;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.not-found-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem var(--gutter) 5rem;
  position: relative;
}

/* subtle radial glow behind the 404 */
.not-found-inner::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  background: radial-gradient(ellipse, rgba(197, 168, 106, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.not-found-inner > * {
  position: relative;
  z-index: 1;
}

.not-found-code {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(7rem, 22vw, 18rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gold) 0%, #d4be8a 40%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  animation: notFoundFadeUp 700ms ease both;
}

.not-found-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1.2rem;
  color: var(--paper);
  animation: notFoundFadeUp 700ms 150ms ease both;
}

.not-found-desc {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  line-height: 1.7;
  color: rgba(245, 245, 242, 0.6);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  animation: notFoundFadeUp 700ms 300ms ease both;
}

.not-found-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: notFoundFadeUp 700ms 450ms ease both;
}

.not-found-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.not-found-actions .btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.not-found-actions .link-arrow {
  color: rgba(245, 245, 242, 0.6);
  font-size: 0.68rem;
  transition: color 0.3s ease, gap 0.3s ease;
}

.not-found-actions .link-arrow:hover {
  color: var(--gold);
}

@keyframes notFoundFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Decorative thin gold line separator */
.not-found-inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
}

.footer-grid {
  width: var(--page);
  margin: clamp(1.7rem, 3vw, 2.5rem) auto 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.footer-grid p,
.footer-grid a {
  font-size: 0.75rem;
}

.footer-links {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.65rem;
  min-width: 0;
  text-align: left;
}

.footer-links a {
  color: rgba(245, 245, 242, 0.72);
  transition: color 220ms ease;
}

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

.footer-label {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.61rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-bottom {
  width: var(--page);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--line-light);
  color: rgba(245, 245, 242, 0.58);
  font-size: 0.62rem;
  position: relative;
  z-index: 1;
}

.footer-bottom > span:first-child {
  justify-self: start;
}

.footer-bottom > span:last-child {
  justify-self: end;
  text-align: right;
}

.footer-legal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.footer-legal a {
  color: rgba(245, 245, 242, 0.68);
  transition: color 220ms ease;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(2.2rem);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

[data-reveal="left"] {
  transform: translateX(-2.4rem);
}

[data-reveal="right"] {
  transform: translateX(2.4rem);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0);
}

@media (max-width: 1050px) {
  [data-reveal="left"],
  [data-reveal="right"] {
    transform: translateY(2.2rem);
  }

  .about-care-inner {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 3rem);
  }

  .about-care-head {
    position: static;
  }

  .method-track {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
  }

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

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-navigation {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    padding: 5.5rem 2rem 2rem;
    color: var(--paper);
    background:
      radial-gradient(125% 60% at 50% 0%, rgba(197, 168, 106, 0.13), transparent 55%),
      var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 400ms ease, visibility 400ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    overscroll-behavior: none;
  }

  .site-navigation::after {
    content: "MP";
    position: absolute;
    right: -0.6rem;
    bottom: -1.5rem;
    z-index: 0;
    color: rgba(255, 255, 255, 0.032);
    font-family: var(--font-display);
    font-size: 15rem;
    line-height: 1;
    pointer-events: none;
  }

  .site-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-eyebrow {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 1rem;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
  }
  .nav-eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--gold); }

  .nav-list {
    position: relative;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
  .nav-list li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.09); }

  .nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0.15rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(245, 245, 242, 0.82);
    opacity: 0;
    transform: translateY(1.1rem);
    transition: color 300ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1), opacity 520ms ease, padding-left 260ms ease;
  }

  .nav-list a::after {
    content: none;
    display: none;
  }

  .site-navigation.is-open .nav-list a { transform: translateY(0); opacity: 1; }

  .nav-list a[aria-current="page"] { color: var(--gold); }
  .nav-list a:hover,
  .nav-list a:active { color: var(--paper); padding-left: 0.55rem; }

  .site-navigation.is-open .nav-list li:nth-child(1) a { transition-delay: 80ms; }
  .site-navigation.is-open .nav-list li:nth-child(2) a { transition-delay: 130ms; }
  .site-navigation.is-open .nav-list li:nth-child(3) a { transition-delay: 180ms; }
  .site-navigation.is-open .nav-list li:nth-child(4) a { transition-delay: 230ms; }
  .site-navigation.is-open .nav-list li:nth-child(5) a { transition-delay: 280ms; }

  .nav-extra {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 520ms ease 320ms, transform 520ms cubic-bezier(0.16, 1, 0.3, 1) 320ms;
  }
  .site-navigation.is-open .nav-extra { opacity: 1; transform: none; }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.05rem 1.4rem;
    color: var(--ink);
    background: var(--gold);
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: background-color 220ms ease;
  }
  .nav-cta:hover { background: #d8bd82; }

  .nav-contact {
    margin: 0;
    color: rgba(245, 245, 242, 0.5);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.01em;
    text-align: center;
  }

  .menu-button {
    display: block;
    z-index: 100;
    position: absolute;
    right: 0.5rem;
    top: 50%;
    margin-top: -22px;
  }

  .header-contact {
    display: none;
  }

  .home-hero,
  .hero-grid {
    min-height: 720px;
  }

  .hero-grid {
    padding-top: 88px;
    padding-bottom: 3.2rem;
    row-gap: 2.2rem;
  }

  .hero-statement {
    grid-column: 1 / 7;
  }

  .hero-statement .display {
    max-width: 9.6ch;
    font-size: clamp(3.4rem, 5.5vw, 5rem);
  }

  .hero-intro {
    grid-column: 1 / 6;
    grid-template-columns: 1fr;
    max-width: 31rem;
  }

  .hero-reception-media {
    right: 3vw;
    width: min(43vw, 500px);
    height: 68%;
    background-position: center 46%;
  }

  .reception-copy {
    grid-column: 1 / 9;
  }

  .reception-note {
    grid-column: 9 / 13;
  }

  .areas-layout {
    grid-template-columns: 1fr;
  }

  .areas-heading {
    position: static;
    top: 0;
  }

  .areas-heading .display {
    max-width: 14ch;
  }

  .practice-card-featured {
    min-height: 18.5rem;
  }

  .article-row {
    grid-template-columns: 7rem minmax(0, 1.6fr) minmax(12rem, 1fr) auto;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  :root {
    --section: 5.6rem;
  }

  .home-hero {
    height: auto;
    min-height: 100svh;
  }

  .hero-grid {
    height: auto;
    min-height: 100svh;
    padding: 8.4rem 0 calc(42svh + 2.5rem);
    align-content: start;
    row-gap: 1.45rem;
  }

  .hero-statement,
  .hero-intro {
    grid-column: 1 / 13;
  }

  .hero-statement {
    padding-top: 0.8rem;
  }

  .hero-statement .display {
    max-width: 11.5ch;
    font-size: clamp(4.2rem, 8vw, 5.4rem);
    line-height: 1;
  }

  .hero-intro {
    max-width: 43rem;
    padding-top: 1.2rem;
  }

  .hero-intro p {
    max-width: 40rem;
  }

  .hero-reception-media {
    z-index: 0;
    right: auto;
    left: 50%;
    bottom: 0;
    width: var(--page);
    height: 42svh;
    min-height: 20rem;
    transform: translateX(-50%);
    background-position: center 44%;
  }

  .hero-reception-media::after {
    inset: 1.3rem;
  }

  .hero-index {
    right: calc(var(--gutter) + 1.6rem);
    bottom: 2.2rem;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  :root {
    --section: 6rem;
  }

  .home-hero,
  .hero-grid {
    min-height: 720px;
  }

  .hero-statement .display {
    max-width: 9.5ch;
    font-size: clamp(3.6rem, 5.2vw, 5.2rem);
  }

  .hero-intro {
    grid-column: 1 / 6;
    max-width: 30rem;
  }

  .hero-reception-media {
    right: 3vw;
    width: min(43vw, 520px);
    height: 68%;
  }

  .areas-layout {
    grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(2.4rem, 5vw, 4.4rem);
  }

  .areas-heading {
    position: sticky;
    top: 6.5rem;
  }

  .areas-heading .display {
    max-width: 12ch;
    font-size: clamp(2.55rem, 4.2vw, 3.7rem);
  }

  .areas-heading p:not(.eyebrow) {
    font-size: 0.92rem;
  }

  .practice-card,
  .people-areas {
    padding: 1.35rem;
  }

  .practice-card {
    min-height: 13.2rem;
    grid-template-rows: 1.45rem minmax(3.6rem, auto) 1fr;
    row-gap: 0.9rem;
  }

  .practice-card-featured {
    min-height: 15.5rem;
  }

  .practice-card-featured h3 {
    font-size: clamp(2.7rem, 4.4vw, 4rem);
  }

  .practice-card h3,
  .people-areas h3 {
    font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  }

  .practice-card p,
  .people-areas p {
    font-size: 0.8rem;
    line-height: 1.58;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .areas-showcase,
  .identity-section,
  .health-story,
  .team-preview,
  .journal {
    padding-top: var(--section);
    padding-bottom: var(--section);
  }

  .identity-card {
    min-height: 16rem;
  }

  .identity-card h3 {
    margin-top: 2rem;
  }

  .people-intro .display {
    font-size: clamp(3rem, 5.1vw, 4.8rem);
  }

  .people-manifesto {
    grid-column: 8 / 13;
  }

  .people-values {
    margin-top: 3.5rem;
  }

  .people-value {
    min-height: 12.5rem;
  }

  .final-cta {
    padding: 6.5rem 0;
  }

  .final-copy {
    grid-column: 1 / 8;
  }

  .final-copy .display {
    font-size: clamp(3rem, 5.2vw, 5.6rem);
  }

  .final-meta {
    grid-column: 8 / 13;
  }

  .wa-float-btn {
    right: 1.6rem;
    bottom: 1.6rem;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 760px) {
  :root {
    --page: calc(100vw - 2.4rem);
    --section: 6rem;
  }

  .site-header {
    height: 72px;
  }

  .brand {
    font-size: 0.8rem;
  }

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



  .hero-reception-media {
    z-index: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: min(34svh, 17rem);
    opacity: 1;
    background-position: center 42%;
    transform: none;
  }

  .hero-reception-media::after {
    inset: 0.9rem;
  }

  .hero-grid {
    position: relative;
    z-index: 1;
    min-height: 100svh;
    padding: 6.2rem 0 calc(min(34svh, 17rem) + 1.5rem);
    align-content: start;
    grid-template-rows: auto auto;
    row-gap: 1.45rem;
  }

  .hero-brand {
    grid-column: 1 / 10;
  }

  .hero-statement {
    grid-column: 1 / 13;
    align-self: start;
    padding-top: 0.9rem;
  }

  .hero-statement .display {
    max-width: 10.5ch;
    font-size: clamp(2.85rem, 10.8vw, 4.25rem);
    line-height: 0.98;
  }

  .hero-intro {
    grid-column: 1 / 13;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    position: relative;
    z-index: 3;
    max-width: 28rem;
    padding: 0.95rem 0 0;
    color: var(--ink);
    background: transparent;
    border-top-color: var(--gold);
  }

  .hero-intro p {
    max-width: 25rem;
    font-size: 0.88rem;
    line-height: 1.75;
  }

  .hero-index {
    display: none;
  }

  .reception-grid,
  .identity-heading,
  .identity-cards,
  .health-grid,
  .team-grid,
  .final-inner {
    display: block;
  }

  .reception-copy,
  .reception-note {
    width: 100%;
  }

  .reception-note {
    max-width: 25rem;
    margin: 3rem 0 0 auto;
  }

  .identity-section,
  .health-story {
    padding: 4.5rem 0;
  }

  .identity-heading {
    margin-bottom: 2rem;
  }

  .identity-heading .display {
    max-width: 14ch;
    font-size: clamp(2.35rem, 9.4vw, 3.15rem);
  }

  .identity-card {
    min-height: 0;
    padding: 1.35rem 1.25rem;
    border-bottom: 1px solid var(--line);
  }

  .identity-card h3 {
    margin: 2rem 0 0.8rem;
  }

  .identity-card strong {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .identity-card:last-child {
    border-bottom: 0;
  }

  .areas-cards {
    grid-template-columns: 1fr;
  }

  .practice-card,
  .practice-card-featured,
  .people-areas {
    grid-column: 1;
  }

  .practice-card {
    min-height: 13.5rem;
    grid-template-rows: 1.4rem auto auto;
    row-gap: 0.85rem;
  }

  .practice-card-featured {
    min-height: 19rem;
    grid-template-rows: 1.4rem auto auto;
  }

  .practice-card-featured h3 {
    font-size: clamp(2.55rem, 10.5vw, 3.7rem);
  }

  .people-areas {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .people-areas .link-arrow {
    width: fit-content;
    white-space: normal;
  }

  /* --- Health Story Mobile: dois blocos elegantes --- */
  .health-story {
    padding: 0;
    overflow: hidden;
    background: var(--ink);
    position: relative;
  }

  .health-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
  }

  /*
   * A foto fica absolutamente posicionada no bloco superior,
   * coberta por um overlay escuro pesado (~85%).
   * Ela vira textura/atmosfera - não é figura, é profundidade.
   */
  .health-portrait {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* Só cobre o bloco de texto, não a ribbon */
    height: auto;
    min-height: 75%;
    aspect-ratio: unset;
    margin: 0;
    opacity: 1;
    z-index: 0;
  }

  /* Overlay escuro pesado por cima da foto */
  .health-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(8, 9, 10, 0.78) 0%,
      rgba(8, 9, 10, 0.88) 60%,
      rgba(8, 9, 10, 1) 100%
    );
    z-index: 1;
  }

  .health-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    /* Foto levemente dessaturada - mais atmosfera, menos foto */
    filter: grayscale(35%) brightness(0.9);
  }

  /* Texto: protagonista absoluto, sobre o overlay */
  .health-copy {
    position: relative;
    z-index: 2;
    padding: 5rem 1.5rem 4rem;
    color: var(--paper);
    background: transparent;
    /* linha dourada sutil no topo */
    border-top: 1px solid rgba(197, 168, 106, 0.25);
  }

  .health-copy .eyebrow {
    color: var(--gold);
    letter-spacing: 0.14em;
    margin-bottom: 1.2rem;
  }

  .health-copy .display {
    color: #ffffff;
    max-width: 16ch;
    font-size: clamp(2.2rem, 9.5vw, 3rem);
    line-height: 1.04;
    margin-bottom: 1.5rem;
  }

  .health-copy > p:not(.eyebrow) {
    color: rgba(245, 245, 242, 0.65);
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 0 0 1.8rem;
    max-width: 32rem;
  }

  .health-copy .link-arrow {
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  /* Ribbon: bloco branco limpo abaixo */
  .health-ribbon {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 1.8rem 1.5rem;
    gap: 1.2rem;
    background: var(--white);
    border-left: none;
    border-top: 3px solid var(--gold);
    color: var(--ink);
  }

  .health-ribbon p {
    font-size: clamp(1rem, 5vw, 1.4rem);
    line-height: 1.4;
  }

  .health-story {
    padding: 4.6rem 0;
    background:
      linear-gradient(180deg, rgba(197, 168, 106, 0.1), rgba(197, 168, 106, 0) 38%),
      var(--white);
  }

  .health-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: var(--page);
  }

  .health-copy {
    grid-column: 1;
    z-index: 3;
    padding: 0;
    color: var(--ink);
    border-top: 1px solid rgba(197, 168, 106, 0.5);
  }

  .health-copy .eyebrow {
    color: var(--gold-dark);
    margin: 1.05rem 0 1rem;
  }

  .health-copy .display {
    color: var(--ink);
    max-width: 13ch;
    font-size: clamp(2.15rem, 9vw, 3rem);
    line-height: 1.02;
    margin: 0 0 1.2rem;
  }

  .health-copy > p:not(.eyebrow) {
    color: rgba(8, 9, 10, 0.7);
    font-size: 0.9rem;
    line-height: 1.74;
    margin: 0 0 1.35rem;
    max-width: 31rem;
  }

  .health-copy .link-arrow {
    color: var(--ink);
  }

  .health-portrait {
    grid-column: 1;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: min(100%, 21rem);
    height: clamp(10.5rem, 38vw, 14.5rem);
    min-height: 0;
    aspect-ratio: auto;
    margin: 0.1rem auto 0;
    opacity: 1;
    isolation: isolate;
    overflow: hidden;
    background: var(--ink);
    border: 1px solid rgba(197, 168, 106, 0.36);
    box-shadow: 0 1.05rem 0 rgba(197, 168, 106, 0.12);
    -webkit-mask-image: none;
    mask-image: none;
    z-index: 1;
  }

  .health-portrait::before {
    content: "";
    position: absolute;
    inset: 0.7rem;
    z-index: 2;
    border: 1px solid rgba(245, 245, 242, 0.42);
    pointer-events: none;
  }

  .health-portrait::after {
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(90deg, rgba(8, 9, 10, 0.5), rgba(8, 9, 10, 0.04) 58%),
      linear-gradient(180deg, rgba(8, 9, 10, 0.08), rgba(8, 9, 10, 0.38));
    pointer-events: none;
  }

  .health-portrait img {
    object-position: center 16%;
    filter: grayscale(12%) contrast(1.04) brightness(0.95);
  }

  .health-ribbon {
    grid-column: 1;
    margin: 0.8rem 0 0;
    padding: 1.25rem;
    background: var(--paper);
    border-left: 3px solid var(--gold);
    border-top: none;
  }

  .health-ribbon p {
    font-size: clamp(1.05rem, 5vw, 1.45rem);
  }

  .team-heading {
    padding: 0;
  }

  .team-heading .display {
    width: auto;
    margin-bottom: -1.1rem;
  }

  .team-photo {
    height: 33rem;
    min-height: 33rem;
  }

  .team-photo img {
    width: 100%;
    height: 100%;
  }

  .team-caption {
    width: 84%;
    margin-top: -2rem;
    padding: 1.6rem;
    color: var(--paper);
    background: var(--ink);
  }

  .people-editorial {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-preview::before {
    content: "PRE";
    top: 4.2rem;
    right: auto;
    left: 1.2rem;
    width: auto;
    color: rgba(8, 9, 10, 0.048);
    font-size: clamp(5.2rem, 21vw, 7rem);
    line-height: 0.78;
    text-align: left;
    white-space: normal;
    transform: none;
    pointer-events: none;
  }

  .team-preview::after {
    content: "SEN\00C7 A";
    position: absolute;
    top: 8.75rem;
    right: 1rem;
    color: rgba(8, 9, 10, 0.048);
    font-family: var(--font-display);
    font-size: clamp(5.2rem, 21vw, 7rem);
    line-height: 0.78;
    pointer-events: none;
  }

  .people-intro,
  .people-manifesto,
  .people-values,
  .people-link {
    grid-column: 1;
  }

  .people-intro .display {
    max-width: 11ch;
    font-size: clamp(2.55rem, 10vw, 3.55rem);
  }

  .people-intro > p:last-child {
    max-width: 30rem;
    margin: 1.4rem 0 0;
  }

  .people-manifesto {
    width: 100%;
    margin: 0;
    padding: 1.35rem 1.25rem;
    color: var(--paper);
    background: var(--ink);
    border-left: 3px solid var(--gold);
  }

  .people-manifesto p {
    font-size: clamp(1.25rem, 6.5vw, 1.85rem);
    line-height: 1.32;
  }

  .people-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    margin: 0;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .people-value {
    min-height: 0;
    padding: 1.45rem 1.25rem;
    display: block;
    background: var(--paper);
    border: 0;
  }

  .people-value h3 {
    margin: 1.4rem 0 0.7rem;
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }

  .people-value p {
    max-width: 27rem;
  }

  .people-link {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 0.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
  }

  .journal-heading {
    grid-template-columns: 1fr;
  }

  .article-row {
    grid-template-columns: 1fr auto;
    gap: 0.8rem 1rem;
    min-height: 0;
    padding: 1.5rem 0;
  }

  .article-row time {
    grid-column: 1;
  }

  .article-row h3 {
    grid-column: 1 / 3;
  }

  .article-row p {
    grid-column: 1 / 3;
  }

  .article-row .category {
    grid-column: 2;
    grid-row: 1;
  }

  .final-copy .display {
    max-width: none;
  }

  .final-meta {
    max-width: 23rem;
    margin: 3rem 0 0 auto;
  }

  .final-meta address {
    max-width: none;
  }

  .footer-presence {
    width: var(--page);
    grid-template-columns: 1fr;
    padding: 1.35rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
  }

  .footer-bottom > span:first-child,
  .footer-bottom > span:last-child {
    justify-self: center;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
  }

  .page-hero {
    min-height: 72svh;
    padding: 8rem 0 3rem;
  }

  .areas-hero {
    min-height: 0;
    padding: 7rem 0 3rem;
  }

  /* No celular tudo ocupa as 12 colunas; os 11 espaços de 2rem entre elas,
     sozinhos, já passavam da largura da tela e empurravam o texto do topo
     para além da margem direita. */
  .page-hero-inner,
  .areas-hero .page-hero-inner {
    column-gap: 0;
  }

  .page-hero-inner {
    min-height: calc(72svh - 11rem);
  }

  .areas-hero .page-hero-inner {
    min-height: 0;
  }

  /* Nas páginas de área e serviço, a abertura não precisa reservar quase uma
     tela inteira no celular. Todos os elementos seguem a mesma margem. */
  .service-hero {
    min-height: 0;
    padding: 7rem 0 3.6rem;
  }

  .service-hero .page-hero-inner,
  .areas-hero .page-hero-inner {
    display: block;
    min-height: 0;
  }

  .page-kicker,
  .page-title,
  .page-summary {
    grid-column: 1 / 13;
  }

  .page-title {
    align-self: center;
    font-size: clamp(3.4rem, 17vw, 6rem);
  }

  .service-hero .page-title {
    max-width: none;
    margin-top: 2.7rem;
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .service-hero .page-summary,
  .areas-hero .page-summary {
    width: 100%;
    max-width: none;
    margin: 1.6rem 0 0;
    padding-left: 0;
    border-left: 0;
  }

  .areas-hero .page-title,
  .areas-hero .page-summary {
    grid-column: 1 / 13;
  }

  .areas-hero .page-title {
    align-self: end;
    max-width: none;
    margin-top: 2.5rem;
    font-size: clamp(2.8rem, 12vw, 4.3rem);
  }

  .about-story-inner,
  .about-care-inner,
  .principles-head,
  .method-inner,
  .service-proof-inner,
  .service-intro-grid,
  .team-lead-inner,
  .member,
  .partners-inner,
  .contact-grid {
    display: block;
  }

  .about-care-head {
    position: static;
    margin-bottom: 2.5rem;
  }

  .about-hero {
    min-height: 78svh;
  }

  .about-hero .page-hero-inner {
    min-height: 0;
  }

  .about-hero-meta {
    gap: 1.4rem 2.5rem;
  }

  .about-story-aside {
    position: static;
    margin-bottom: 2rem;
  }

  .about-story-cols {
    grid-template-columns: 1fr;
  }

  .care-line {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .about-mission-foot {
    margin-left: 0;
  }

  .values-wordlist li {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .method-track {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .method-node {
    padding: 1.6rem 0;
    border-top: 1px solid var(--line);
  }

  .method-node:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .method-node::before {
    display: none;
  }

  .principles-head > p {
    margin-top: 2rem;
  }

  .principle-row {
    grid-template-columns: 3rem 1fr;
  }

  .principle-row p {
    grid-column: 2;
  }

  .method-heading {
    position: static;
    margin-bottom: 3rem;
  }

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

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

  .area-card {
    min-height: 0;
  }

  .service-intro-copy {
    width: 100%;
    max-width: none;
    margin: 2.2rem 0 0;
  }

  .service-intro:not(.service-intro-expertise) .service-intro-copy {
    width: 100%;
    max-width: none;
    margin: 2.2rem 0 0;
  }

  .service-quote {
    max-width: none;
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.1;
  }

  .service-content .service-content-copy {
    margin-top: 2.2rem;
  }

  .service-intro-expertise .service-intro-copy {
    width: 100%;
    margin-top: 2rem;
  }

  .service-intro-lead h2 {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .expertise-panel {
    padding: 1.25rem;
  }

  .expertise-years {
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 13vw, 3.6rem);
  }

  .expertise-list {
    grid-template-columns: 1fr;
  }

  .service-proof-points {
    margin-top: 3rem;
  }

  .service-areas-nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .team-hero {
    min-height: 78svh;
  }

  .team-hero .page-hero-inner {
    min-height: 0;
  }

  .team-lead {
    padding-top: 3rem;
  }

  .team-lead-copy {
    padding-bottom: 0;
  }

  .team-lead-copy .display {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .team-lead-stats {
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.6rem;
  }

  .team-lead-stats span {
    flex-direction: row;
    align-items: baseline;
    gap: 0.7rem;
  }

  .team-lead-stats strong {
    font-size: 1.3rem;
    min-width: 3.2rem;
  }

  .team-lead-figure {
    margin: 1.5rem auto 0;
    max-width: 20rem;
  }

  .partners {
    padding-top: 4rem;
    padding-bottom: 2.6rem;
  }

  .partners-head {
    margin-bottom: 1.4rem;
  }

  .final-cta {
    padding-bottom: 4.5rem;
  }

  .final-copy .display {
    font-size: clamp(2.1rem, 7.5vw, 3rem);
    line-height: 1.06;
  }

  /* A marca-d'água da chamada final ficava colada à do rodapé logo abaixo. */
  .final-cta::after {
    display: none;
  }

  /* Com 13ch no celular, títulos longos ficavam com uma palavra por linha
     ("Do / entendimento / da rotina ao..."). A largura da tela já limita. */
  .services-heading,
  .service-proof-copy h2,
  .method-heading .display {
    max-width: none;
  }

  .service-hero .page-title {
    line-height: 0.98;
  }

  .final-meta {
    width: 100%;
    max-width: none;
    margin: 2.2rem 0 0;
    padding-left: 0;
    border-left: 0;
  }

  .member-figure {
    margin-bottom: 2rem;
    max-width: 26rem;
  }

  .member--reverse .member-figure {
    grid-column: auto;
    grid-row: auto;
  }

  .member--reverse .member-body {
    grid-column: auto;
    grid-row: auto;
  }

  .member-creds li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .featured-article-art {
    min-height: 24rem;
  }

  .article-body {
    display: block;
  }

  .article-aside {
    position: static;
    margin-bottom: 2.5rem;
  }

  .contact-intro {
    margin-bottom: 4rem;
  }

  .contact-details {
    margin-left: 0;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Preferências de privacidade: aparece até a pessoa escolher e não bloqueia
   a navegação. A medição de audiência só é carregada após o aceite. */
.cookie-banner {
  position: fixed;
  z-index: 10000;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(197, 168, 106, 0.4);
  background: #111315;
  color: #f5f5f2;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
  font-family: var(--font-body);
}

.cookie-banner-copy { max-width: 48rem; }
.cookie-banner-copy strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-read);
  font-size: 1rem;
}
.cookie-banner-copy p {
  margin: 0;
  color: rgba(245, 245, 242, 0.78);
  font-size: 0.78rem;
  line-height: 1.55;
}
.cookie-banner-copy a {
  display: inline-block;
  margin-top: 0.45rem;
  color: #dfc88f;
  font-size: 0.72rem;
  text-underline-offset: 0.2em;
}
.cookie-banner-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.7rem;
}
.cookie-banner button {
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid #c5a86a;
  border-radius: 0;
  font: 600 0.72rem/1 var(--font-body);
  cursor: pointer;
}
.cookie-secondary { background: transparent; color: #f5f5f2; }
.cookie-primary { background: #c5a86a; color: #111315; }
.cookie-banner button:hover { filter: brightness(1.08); }
.cookie-preferences-link {
  display: block;
  margin: 1.2rem auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(245, 245, 242, 0.68);
  font: 500 0.68rem/1.4 var(--font-body);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}
.cookie-preferences-link:hover { color: #dfc88f; }

@media (max-width: 720px) {
  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
    padding: 1.1rem;
  }
  .cookie-banner-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-banner button { width: 100%; }
}

/* ==========================================================================
   WhatsApp Floating Button & Modal
   ========================================================================== */

.wa-float-btn {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  color: var(--white);
  background: var(--gold);
  box-shadow: 0 4px 20px rgba(197, 168, 106, 0.4);
  cursor: pointer;
  transition: transform 300ms ease, background-color 300ms ease;
  animation: waPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.wa-float-btn:hover {
  transform: scale(1.08);
  background: var(--gold-dark);
  animation: none;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(197, 168, 106, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(197, 168, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(197, 168, 106, 0); }
}

.wa-modal {
  position: fixed;
  inset: var(--wa-offset-top) 0 auto;
  z-index: 100;
  height: var(--wa-viewport-height);
  padding: clamp(0.75rem, 2vw, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 400ms ease, visibility 0s linear 400ms;
  overscroll-behavior: none;
  touch-action: none;
}

.wa-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.wa-modal-backdrop {
  position: fixed;
  inset: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: rgba(8, 9, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wa-modal-content {
  position: relative;
  width: 90%;
  max-width: 480px;
  max-height: min(600px, calc(var(--wa-viewport-height) - 1.5rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  background: var(--paper);
  color: var(--ink);
  padding: 3rem 2.5rem;
  border-radius: 4px;
  transform: translateY(20px);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.wa-modal.is-open .wa-modal-content {
  transform: translateY(0);
}

.wa-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  transition: color 200ms ease;
}

.wa-modal-close:hover {
  color: var(--ink);
}

.wa-modal-header {
  flex-shrink: 0;
  margin-bottom: 1.5rem;
}

.wa-modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.wa-modal-header p {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
}

.wa-form {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  transition: height 300ms ease;
}

@keyframes waFadeInStep {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.wa-step {
  display: none;
  width: 100%;
  flex-direction: column;
  justify-content: flex-start;
}

.wa-step.is-active {
  display: flex;
  animation: waFadeInStep 300ms ease forwards;
}

.wa-step-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.8rem;
}

.wa-prev-btn,
.wa-next-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 200ms ease;
  border-radius: 2px;
}

.wa-prev-btn {
  background: transparent;
  color: var(--ink-soft);
}

.wa-prev-btn:hover {
  color: var(--ink);
}

.wa-next-btn {
  background: var(--ink);
  color: var(--paper);
}

.wa-next-btn:hover {
  background: var(--gold);
  color: var(--ink);
}

.wa-final-screen {
  text-align: center;
  padding: 2rem 0;
}

.wa-final-screen h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.wa-final-screen p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.wa-direct-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: 0.9rem 1.4rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 200ms ease, color 200ms ease;
}

.wa-direct-link:hover,
.wa-direct-link:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

.wa-spinner[hidden] {
  display: none;
}

.wa-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 2rem;
  border: 3px solid rgba(197, 168, 106, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: waSpin 1s linear infinite;
}

@keyframes waSpin {
  to { transform: rotate(360deg); }
}

.wa-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wa-field.hidden {
  display: none;
}

.wa-field label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.wa-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(8, 9, 10, 0.4);
}

.wa-field input[type="text"],
.wa-field select,
.wa-field textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  border-radius: 2px;
  transition: border-color 200ms ease;
}

.wa-field input:focus,
.wa-field select:focus,
.wa-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.wa-field input.is-error,
.wa-field select.is-error,
.wa-field textarea.is-error {
  border-color: #e53e3e;
  animation: waShake 400ms ease;
}

.wa-field-error-msg {
  color: #e53e3e;
  font-size: 0.7rem;
  font-weight: 500;
  margin-top: 0.2rem;
  opacity: 0;
  transition: opacity 200ms ease;
}

.wa-field input.is-error + .wa-field-error-msg {
  opacity: 1;
}

@keyframes waShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.wa-field textarea {
  min-height: 8.5rem;
  resize: vertical;
  line-height: 1.55;
}

.wa-hint {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .wa-float-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }

  .wa-modal {
    align-items: center;
    padding: max(0.6rem, env(safe-area-inset-top)) 0.75rem max(0.6rem, env(safe-area-inset-bottom));
  }

  .wa-modal-content {
    width: min(100%, 430px);
    max-height: calc(var(--wa-viewport-height) - max(1.2rem, env(safe-area-inset-top)) - max(1.2rem, env(safe-area-inset-bottom)));
    padding: clamp(1.2rem, 4.8vw, 1.8rem);
  }

  .wa-modal-header {
    margin-bottom: 1.2rem;
  }

  .wa-modal-header h3 {
    font-size: 1.4rem;
  }

  .wa-modal-header p {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .wa-modal.is-keyboard-active {
    align-items: flex-start;
  }

  .wa-modal.is-keyboard-active .wa-modal-backdrop {
    position: fixed;
    inset: 0;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .wa-modal.is-keyboard-active .wa-modal-content {
    width: 100%;
    max-width: none;
    height: calc(var(--wa-viewport-height) - 0.8rem);
    max-height: calc(var(--wa-viewport-height) - 0.8rem);
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding: 1rem 1rem 0.9rem;
  }

  .wa-modal.is-keyboard-active .wa-modal-header {
    margin-bottom: 1rem;
  }

  .wa-modal.is-keyboard-active .wa-modal-header h3 {
    font-size: 1.35rem;
    margin: 0 2rem 0.25rem 0;
  }

  .wa-modal.is-keyboard-active .wa-modal-header p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .wa-modal.is-keyboard-active .wa-form {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    margin-top: 0.75rem;
  }

  .wa-modal.is-keyboard-active .wa-step-footer {
    margin-top: 1rem;
  }

  .wa-modal.is-keyboard-active .wa-field label {
    font-size: 0.68rem;
  }

  .wa-modal.is-keyboard-active .wa-field input[type="text"],
  .wa-modal.is-keyboard-active .wa-field textarea {
    padding: 0.8rem 0.9rem;
  }

  .wa-modal.is-keyboard-active .wa-field textarea {
    min-height: 5.5rem;
  }

  .wa-modal.is-keyboard-active .wa-hint {
    font-size: 0.72rem;
  }
}

/* ============================================================= */
/* ==========  CENTRO DE CONHECIMENTO (blog editorial)  ========= */
/* ============================================================= */

:root {
  --kb-accent-saude: #c5a86a;
  --kb-accent-pessoas: #c58f74;
  --kb-accent-empresas: #8fa1a8;
  --kb-surface: #101315;
  --kb-surface-2: #16191b;
}

/* ---- Hero editorial ---- */
.kb-hero {
  position: relative;
  padding: 11rem 0 clamp(3.5rem, 6vw, 6rem);
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.kb-hero::after {
  content: attr(data-watermark);
  position: absolute;
  right: -0.04em;
  bottom: -0.24em;
  color: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-size: clamp(13rem, 34vw, 32rem);
  line-height: 1;
  pointer-events: none;
}

.kb-hero-inner {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem 2rem;
}

.kb-hero .page-kicker {
  grid-column: 1 / 8;
}

.kb-hero-title {
  grid-column: 1 / 10;
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.9rem, 6.2vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.kb-hero-summary {
  grid-column: 8 / 13;
  align-self: end;
  max-width: 34ch;
  margin: 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--gold);
  color: rgba(245, 245, 242, 0.72);
  font-size: 0.92rem;
  line-height: 1.7;
}

.kb-hero-tools {
  grid-column: 1 / 13;
  margin-top: clamp(2.2rem, 4vw, 3.4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2rem;
}

.kb-search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: min(100%, 30rem);
  padding: 1.05rem 1.2rem;
  color: rgba(245, 245, 242, 0.62);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color 260ms ease, background-color 260ms ease, color 260ms ease, transform 260ms ease;
}

.kb-search-trigger:hover {
  color: var(--paper);
  border-color: rgba(197, 168, 106, 0.55);
  background: rgba(197, 168, 106, 0.06);
  transform: translateY(-1px);
}

.kb-search-icon {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--gold);
}

.kb-search-label {
  flex: 1;
  min-width: 0;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kb-search-kbd,
.kb-palette kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9rem;
  padding: 0.28rem 0.5rem;
  color: rgba(245, 245, 242, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.kb-hero-scope {
  margin: 0;
  color: rgba(245, 245, 242, 0.4);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* ---- Acervo ---- */
.knowledge {
  position: relative;
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.knowledge-inner {
  width: var(--page);
  margin: 0 auto;
}

.knowledge-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.knowledge-head .display {
  max-width: 20ch;
  font-size: clamp(2.1rem, 3.6vw, 4rem);
  line-height: 1.04;
}

.knowledge-note {
  margin: 0 0 0.2rem;
  color: rgba(245, 245, 242, 0.62);
  font-size: 0.9rem;
  line-height: 1.7;
}

.kb-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}

.kb-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 1.15rem;
  color: rgba(245, 245, 242, 0.7);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 250ms ease, border-color 250ms ease, background-color 250ms ease;
}

.kb-filter-btn:hover {
  color: var(--paper);
  border-color: rgba(197, 168, 106, 0.6);
}

.kb-filter-btn.is-active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

/* Rótulo de categoria (com ponto de cor por público) */
.kb-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245, 245, 242, 0.78);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.kb-cat i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Áreas do post empilhadas (uma por linha, cada uma com seu ícone de tópico). */
.kb-cat-labels {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.kb-cat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---- Destaque ---- */
.kb-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  min-height: 22rem;
  margin-bottom: clamp(1rem, 1.6vw, 1.4rem);
  color: var(--paper);
  background: linear-gradient(150deg, rgba(197, 168, 106, 0.14), rgba(197, 168, 106, 0.02) 60%), var(--kb-surface);
  border: 1px solid rgba(197, 168, 106, 0.32);
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 400ms ease;
}

.kb-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 168, 106, 0.6);
}

.kb-feature-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(2rem, 3.2vw, 3.2rem);
}

.kb-feature-flag {
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.kb-feature-title {
  max-width: 20ch;
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.9vw, 3rem);
  line-height: 1.06;
}

.kb-feature-excerpt {
  max-width: 46ch;
  margin: 0;
  color: rgba(245, 245, 242, 0.66);
  font-size: 0.92rem;
  line-height: 1.7;
}

.kb-feature-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  margin-top: auto;
  padding-top: 1.4rem;
  color: rgba(245, 245, 242, 0.5);
  font-size: 0.72rem;
}

.kb-feature-foot time,
.kb-feature-foot .kb-time { letter-spacing: 0.02em; }

.kb-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(245, 245, 242, 0.35);
}

.kb-go {
  margin-left: auto;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: letter-spacing 260ms ease;
}

.kb-feature:hover .kb-go,
.kb-card:hover .kb-go { letter-spacing: 0.2em; }

.kb-feature-art {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(197, 168, 106, 0.35), transparent 55%),
    linear-gradient(200deg, rgba(197, 168, 106, 0.9), rgba(139, 116, 70, 0.7));
}

.kb-feature-art::before,
.kb-feature-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(8, 9, 10, 0.28);
  border-radius: 50%;
}

.kb-feature-art::before { inset: 18% 22% 30% 8%; }
.kb-feature-art::after { inset: 34% 6% 10% 34%; }

.kb-feature-glyph {
  position: absolute;
  right: 6%;
  bottom: 1%;
  color: rgba(8, 9, 10, 0.16);
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: 1;
}

/* Destaque com imagem de capa real */
.kb-feature-art--img { background: #14161a; }
.kb-feature-art--img::before,
.kb-feature-art--img::after { display: none; }
.kb-feature-art--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Grid de cards ---- */
.kb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.7rem, 1vw, 1rem);
}

.kb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 15rem;
  padding: clamp(1.4rem, 1.8vw, 1.8rem);
  color: var(--paper);
  background: var(--kb-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 350ms ease, border-color 350ms ease;
}

.kb-card > * { position: relative; z-index: 1; }

/* preenchimento e borda que seguem o cursor (spotlight) */
.kb-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(280px circle at var(--x, 50%) var(--y, -30%), rgba(197, 168, 106, 0.1), transparent 42%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.kb-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1px;
  border-radius: 14px;
  background: radial-gradient(200px circle at var(--x, 50%) var(--y, -30%), rgba(197, 168, 106, 0.85), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.kb-grid:hover .kb-card::before,
.kb-grid:hover .kb-card::after { opacity: 1; }

a.kb-card:hover {
  background: var(--kb-surface-2);
  transform: translateY(-3px);
}

.kb-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.kb-time {
  color: rgba(245, 245, 242, 0.45);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.kb-flag {
  color: rgba(197, 168, 106, 0.9);
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.kb-card-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.15;
}

.kb-card-excerpt {
  margin: 0 0 1.4rem;
  color: rgba(245, 245, 242, 0.58);
  font-size: 0.8rem;
  line-height: 1.6;
}

.kb-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  color: rgba(245, 245, 242, 0.42);
  font-size: 0.68rem;
}

.kb-soon {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.6rem;
}

.kb-card--soon {
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.014) 0 14px, transparent 14px 28px), var(--kb-surface);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.1);
}

.kb-card--soon .kb-card-title { color: rgba(245, 245, 242, 0.82); }

.kb-card.is-hidden,
.kb-feature.is-hidden { display: none; }

.kb-card.is-in,
.kb-feature.is-in { animation: kbIn 520ms var(--stagger, 0ms) both; }

@keyframes kbIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.kb-empty {
  margin: 2.5rem 0 0;
  color: rgba(245, 245, 242, 0.6);
  font-size: 0.9rem;
  text-align: center;
}

.kb-empty-reset {
  color: var(--gold);
  background: none;
  border: none;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Blog: acervo editorial claro, isolado dos cards de artigos relacionados ---- */
.blog-page [data-reveal] { opacity: 1; transform: none; transition: none; }
.blog-page .kb-hero { padding: 8rem 0 4rem; }
.blog-page .kb-hero::after { display: none; }
.blog-page .kb-hero-inner,
.blog-page .knowledge-inner,
.blog-page .trilhas-inner { width: min(90vw, 1240px); }
.blog-page .kb-hero-inner { display: block; }
.blog-page .kb-hero-title {
  max-width: 23ch;
  margin: 1.4rem 0 1.6rem;
  font-size: clamp(2.65rem, 5vw, 4.8rem);
  line-height: 1.08;
}
.blog-page .kb-hero-summary {
  max-width: 58ch;
  padding: 0;
  border: 0;
  font-size: 0.95rem;
  line-height: 1.8;
}
.blog-page .knowledge {
  padding: clamp(3rem, 5vw, 5rem) 0;
  color: var(--ink);
  background: var(--paper);
  overflow: visible;
  border: 0;
  scroll-margin-top: 7rem;
}
.blog-page .knowledge-head { align-items: end; gap: 1rem 3rem; margin-bottom: 2.5rem; }
.blog-page .knowledge-head .eyebrow { color: #76603a; }
.blog-page .knowledge-head .display { max-width: none; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.2; }
.blog-page .knowledge-note { max-width: 34ch; justify-self: end; color: #60615e; font-size: 0.85rem; }
.kb-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.65fr);
  gap: 1.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}
.kb-toolbar label,
.kb-category-field > span {
  display: block;
  margin-bottom: 0.7rem;
  color: #555650;
  font-size: 0.7rem;
  font-weight: 600;
}
.kb-search-control { display: flex; border: 1px solid #c6c7bf; background: white; }
.kb-search-control input {
  width: 100%;
  min-width: 0;
  padding: 0.9rem 1rem;
  background: transparent;
  color: var(--ink);
  border: 0;
  font: inherit;
  font-size: 0.85rem;
}
.kb-search-control input::placeholder { color: #6e7068; }
.kb-search-control button {
  display: grid;
  place-items: center;
  flex: 0 0 3rem;
  min-height: 3.2rem;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.kb-search-control button:hover { background: #eeede6; }
.kb-search-control svg { width: 1.3rem; height: 1.3rem; }
.kb-category-picker { position: relative; }
.kb-category-picker summary,
.kb-toolbar select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  width: 100%;
  min-height: 3.3rem;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: white;
  border: 1px solid #c6c7bf;
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}
.kb-category-picker summary::-webkit-details-marker { display: none; }
.kb-category-picker[open] summary { border-color: #8b7446; }
.kb-category-options {
  position: absolute;
  z-index: 10;
  top: calc(100% + 0.5rem);
  right: 0;
  width: min(35rem, 80vw);
  max-height: 25rem;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  padding: 0.7rem;
  background: #fff;
  border: 1px solid #d5d3ca;
  box-shadow: 0 16px 40px rgba(8, 9, 10, 0.12);
}
.kb-category-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 2.8rem;
  padding: 0.6rem 0.8rem;
  color: #464940;
  font-size: 0.75rem;
  line-height: 1.5;
}
.kb-category-options a:first-child { grid-column: 1 / -1; }
.kb-category-options a:hover,
.kb-category-options a[aria-current] { background: #efeee7; color: var(--ink); }
.kb-category-options a[aria-current] { box-shadow: inset 2px 0 #8b7446; }
.kb-category-count { color: #72756a; font-size: 0.7rem; }
.kb-results-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.6rem 0 2.1rem; }
.kb-results-bar p { margin: 0; color: #62645b; font-size: 0.78rem; line-height: 1.7; overflow-wrap: anywhere; }
.kb-results-bar strong { color: #30342a; font-weight: 600; }
.kb-clear { flex-shrink: 0; color: #655332; font-size: 0.72rem; text-decoration: underline; text-underline-offset: 4px; }
.blog-page .kb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.7rem 2.5rem; }
.blog-page .kb-card {
  min-height: 20rem;
  padding: 1.6rem 0 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-top: 1px solid #b7b7ad;
  border-radius: 0;
  overflow: visible;
  transition: border-color 200ms ease;
}
.blog-page .kb-card::before,
.blog-page .kb-card::after { display: none; }
.blog-page .kb-card:hover { transform: none; background: transparent; border-color: #8b7446; }
.blog-page .kb-card-top { flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.blog-page .kb-cat { color: #6c5835; font-size: 0.63rem; letter-spacing: 0.08em; }
.blog-page .kb-cat i { display: none; }
.blog-page .kb-time { color: #6e7068; font-weight: 400; font-size: 0.7rem; }
.blog-page .kb-card-title { margin-bottom: 1rem; font-family: var(--font-read); font-size: clamp(1.65rem, 2.1vw, 2rem); line-height: 1.18; text-wrap: pretty; }
.blog-page .kb-card:hover .kb-card-title { color: #786038; }
.blog-page .kb-card-excerpt { color: #606259; font-size: 0.83rem; line-height: 1.8; margin-bottom: 1.8rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-page .kb-card-foot { color: #696c62; font-size: 0.7rem; padding-top: 0.5rem; }
.blog-page .kb-go { color: #6c5835; letter-spacing: 0.08em; }
.blog-page .kb-card:hover .kb-go { letter-spacing: 0.08em; }
.kb-list-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.kb-page-size { display: flex; align-items: center; gap: 0.8rem; font-size: 0.72rem; color: #55594d; }
.kb-page-size select { min-height: 2.8rem; padding: 0.5rem 0.7rem; font: inherit; color: var(--ink); background: white; border: 1px solid #c6c7bf; cursor: pointer; }
.kb-pagination { display: flex; align-items: center; gap: 0.3rem; }
.kb-pagination a,
.kb-page-disabled { display: grid; place-items: center; min-width: 2.8rem; min-height: 2.8rem; padding: 0.4rem; font-size: 0.8rem; border: 1px solid transparent; }
.kb-pagination a:hover { border-color: #8b7446; }
.kb-pagination a[aria-current] { color: var(--paper); background: var(--ink); }
.kb-page-disabled { color: #9a9c92; }
.kb-page-gap { padding: 0.25rem; }
.kb-page-position { color: #66695f; font-size: 0.72rem; margin: 0; }
.blog-page .kb-empty { padding: 3rem 1rem 4rem; text-align: center; color: #606259; }
.blog-page .kb-empty h3 { color: var(--ink); font-family: var(--font-read); font-size: 2.1rem; font-weight: 400; }
.blog-page .kb-empty a { display: inline-block; margin-top: 1rem; color: #6c5835; text-decoration: underline; text-underline-offset: 4px; }
.blog-page .knowledge :is(a, button, input, select, summary):focus-visible { outline: 2px solid #8b7446; outline-offset: 5px; }
.blog-page .final-cta { padding: 4rem 0; }
.blog-page .final-cta::after { display: none; }
.blog-page .final-inner { width: min(90vw, 1240px); grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.blog-page .final-copy,
.blog-page .final-meta { grid-column: auto; }
.blog-page .final-copy .display { max-width: 25ch; margin-bottom: 1.7rem; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.18; }
.blog-page .final-meta { align-self: center; max-width: 40ch; padding: 0; border: 0; }
.blog-page .final-meta p { font-size: 0.85rem; line-height: 1.8; }
@media (max-width: 1000px) {
  .blog-page .kb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb-toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kb-search-field { grid-column: 1 / -1; }
  .kb-category-options { left: 0; right: auto; }
}
@media (max-width: 600px) {
  .blog-page .kb-hero { padding: 7rem 0 2.8rem; }
  .blog-page .kb-hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .blog-page .kb-hero-summary { font-size: 0.86rem; }
  .blog-page .knowledge-head { grid-template-columns: 1fr; margin-bottom: 2rem; }
  .blog-page .knowledge-note { justify-self: start; max-width: none; }
  .kb-toolbar { gap: 1.2rem; }
  .kb-category-field { grid-column: 1 / -1; }
  .kb-order-field { grid-column: 1 / -1; }
  .kb-category-options { width: 100%; max-height: 20rem; grid-template-columns: 1fr; }
  .kb-search-control input { font-size: 1rem; }
  .kb-results-bar { flex-wrap: wrap; padding-bottom: 1.7rem; }
  .blog-page .kb-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .blog-page .kb-card { min-height: 0; }
  .blog-page .kb-card-title { font-size: 1.8rem; }
  .blog-page .kb-card-excerpt { margin-bottom: 1.2rem; }
  .kb-list-footer { justify-content: center; gap: 1.3rem; }
  .kb-pagination { order: -1; width: 100%; justify-content: center; gap: 0.15rem; }
  .kb-pagination a, .kb-page-disabled { min-width: 2.5rem; }
  .kb-page-position { width: 100%; text-align: center; }
  .blog-page .final-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- Trilhas de leitura ---- */
/* Índice das trilhas à esquerda e a trilha escolhida à direita. Sem JavaScript,
   todas as trilhas aparecem em sequência; com ele, uma por vez. */
.trilhas {
  position: relative;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  color: var(--paper);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(197, 168, 106, 0.08), transparent 60%),
    var(--kb-surface);
  overflow: hidden;
}

.trilhas-inner {
  width: var(--page);
  margin: 0 auto;
}

.trilhas-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

.trilhas-head .display {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.08;
}

.trilhas-note {
  margin: 0;
  color: rgba(245, 245, 242, 0.66);
  font-size: 0.9rem;
  line-height: 1.75;
}

.trilhas-count {
  display: block;
  margin-top: 0.7rem;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trilhas-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.7fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.trilhas-nav {
  position: sticky;
  top: 6.5rem;
}

.trilhas-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trilhas-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }

.trilhas-nav-item {
  position: relative;
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 1.05rem 0.9rem 1.05rem 0.2rem;
  color: rgba(245, 245, 242, 0.7);
  transition: color 220ms ease, background-color 220ms ease;
}

.trilhas-nav-item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 220ms ease;
}

.trilhas-nav-item:hover { color: var(--paper); }

.trilhas-nav-item[aria-current="true"] {
  color: var(--paper);
  background: linear-gradient(90deg, rgba(197, 168, 106, 0.1), transparent 85%);
}

.trilhas-nav-item[aria-current="true"]::before { opacity: 1; }

.trilhas-nav-num {
  padding-left: 0.7rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.82rem;
  line-height: 1.5;
}

.trilhas-nav-text { display: grid; gap: 0.3rem; }

.trilhas-nav-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.3;
}

.trilhas-nav-meta {
  color: rgba(245, 245, 242, 0.46);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trilhas-panels { display: grid; gap: 1.2rem; min-width: 0; }

.trilha {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: rgba(8, 9, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  scroll-margin-top: 7rem;
}

.trilha[hidden] { display: none; }

.trilha.is-entering { animation: trilha-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1); }

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

.trilha-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-bottom: 1.1rem;
}

.trilha-index {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}

.trilha-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(245, 245, 242, 0.6);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.trilha-tag::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--gold);
}

.trilha-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.12;
}

.trilha-desc {
  max-width: 60ch;
  margin: 0 0 0.9rem;
  color: rgba(245, 245, 242, 0.68);
  font-size: 0.9rem;
  line-height: 1.7;
}

.trilha-meta {
  margin: 0 0 1.6rem;
  color: rgba(245, 245, 242, 0.45);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trilha-steps {
  position: relative;
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

/* linha que liga os passos */
.trilha-steps::before {
  content: "";
  position: absolute;
  top: 1.6rem;
  bottom: 1.6rem;
  left: calc(1rem + 0.95rem);
  width: 1px;
  background: rgba(197, 168, 106, 0.28);
}

.trilha-step-link {
  position: relative;
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.1rem 0.95rem 1rem;
  color: rgba(245, 245, 242, 0.55);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

a.trilha-step-link { color: var(--paper); }

a.trilha-step-link:hover {
  border-color: rgba(197, 168, 106, 0.45);
  background: rgba(197, 168, 106, 0.06);
  transform: translateX(3px);
}

.trilha-step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  color: rgba(245, 245, 242, 0.5);
  background: var(--kb-surface);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-display);
  font-size: 0.8rem;
}

.trilha-step.is-ready .trilha-step-num {
  color: #16130c;
  background: var(--gold);
  border-color: var(--gold);
}

.trilha-step-body { display: grid; gap: 0.25rem; min-width: 0; }

.trilha-step-area {
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trilha-step-name {
  font-family: var(--font-read);
  font-size: 1.08rem;
  line-height: 1.35;
}

.trilha-step-time {
  color: rgba(245, 245, 242, 0.45);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trilha-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: auto;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trilha-start,
.trilha-go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: gap 220ms ease, color 220ms ease;
}

.trilha-start { color: var(--gold); }
.trilha-go { color: rgba(245, 245, 242, 0.75); }
.trilha-start:hover,
.trilha-go:hover { gap: 0.9rem; color: var(--paper); }

.trilhas a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 900px) {
  .trilhas-head { grid-template-columns: 1fr; gap: 1rem; }
  .trilhas-layout { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  /* Índice vira faixa horizontal com rolagem; a trilha escolhida fica logo abaixo. */
  .trilhas-nav {
    position: static;
    margin: 0 calc(-1 * max(5vw, 16px));
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: max(5vw, 16px);
    scrollbar-width: none;
  }
  .trilhas-nav::-webkit-scrollbar { display: none; }
  .trilhas-nav ol {
    display: flex;
    gap: 0.6rem;
    width: max-content;
    padding: 0 max(5vw, 16px) 0.3rem;
    border: 0;
  }
  .trilhas-nav li { border: 0; scroll-snap-align: start; }
  .trilhas-nav-item {
    width: 14.5rem;
    height: 100%;
    grid-template-columns: 1.6rem minmax(0, 1fr);
    gap: 0.5rem;
    padding: 0.9rem 1rem 0.95rem 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
  }
  .trilhas-nav-item::before { display: none; }
  .trilhas-nav-item[aria-current="true"] {
    border-color: rgba(197, 168, 106, 0.6);
    background: rgba(197, 168, 106, 0.1);
  }
  .trilhas-nav-num { padding-left: 0.4rem; }
  .trilhas-nav-title { font-size: 0.94rem; }
}

@media (max-width: 600px) {
  .trilhas { padding: 3.5rem 0; }
  .trilha { padding: 1.4rem 1.1rem; border-radius: 14px; }
  .trilha-steps::before { left: calc(0.8rem + 0.85rem); }
  .trilha-step-link {
    grid-template-columns: 1.7rem minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.85rem 0.9rem 0.85rem 0.8rem;
  }
  .trilha-step-num { width: 1.7rem; height: 1.7rem; font-size: 0.74rem; }
  .trilha-step-time { grid-column: 2; margin-top: -0.35rem; }
  .trilha-step-name { font-size: 1rem; }
  .trilha-foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .trilha.is-entering { animation: none; }
  a.trilha-step-link:hover { transform: none; }
}

/* transição dourada para o CTA final */
.trilhas + .final-cta {
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.trilhas + .final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 1px;
  background: var(--gold);
}

/* ---- Command palette de busca ---- */
.kb-palette {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(4rem, 12vh, 9rem) 1.2rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.kb-palette.is-open {
  opacity: 1;
  visibility: visible;
}

.kb-palette-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 6, 0.72);
  backdrop-filter: blur(6px);
}

.kb-palette-panel {
  position: relative;
  width: min(100%, 40rem);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--paper);
  background: rgba(18, 21, 23, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transform: translateY(-10px) scale(0.99);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.kb-palette.is-open .kb-palette-panel {
  transform: none;
}

.kb-palette-search {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kb-palette-search .kb-search-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.kb-palette-input {
  flex: 1;
  min-width: 0;
  color: var(--paper);
  background: none;
  border: none;
  outline: none;
  font-size: 1rem;
}

.kb-palette-input::placeholder { color: rgba(245, 245, 242, 0.4); }

.kb-palette-esc {
  flex-shrink: 0;
  padding: 0.3rem 0.6rem;
  color: rgba(245, 245, 242, 0.55);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease;
}

.kb-palette-esc:hover { color: var(--paper); border-color: rgba(197, 168, 106, 0.5); }

.kb-palette-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kb-palette-chip {
  padding: 0.4rem 0.85rem;
  color: rgba(245, 245, 242, 0.6);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.kb-palette-chip:hover { color: var(--paper); border-color: rgba(197, 168, 106, 0.5); }

.kb-palette-chip.is-active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.kb-palette-results {
  flex: 1;
  overflow-y: auto;
  padding: 0.6rem;
  scrollbar-width: thin;
}

.kb-result {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background-color 160ms ease;
}

.kb-result.is-active,
.kb-result:hover {
  background: rgba(197, 168, 106, 0.12);
}

.kb-result-main { min-width: 0; flex: 1; }

.kb-result-title {
  display: block;
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kb-result-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(245, 245, 242, 0.5);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.kb-result-arrow {
  flex-shrink: 0;
  color: rgba(245, 245, 242, 0.3);
  font-size: 0.9rem;
  transition: color 160ms ease, transform 160ms ease;
}

.kb-result.is-active .kb-result-arrow {
  color: var(--gold);
  transform: translateX(2px);
}

.kb-result mark {
  color: var(--gold);
  background: none;
  font-weight: 600;
}

.kb-noresults {
  padding: 2.4rem 1rem 2.8rem;
  text-align: center;
  color: rgba(245, 245, 242, 0.55);
}

.kb-noresults strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
}

.kb-noresults a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.kb-palette-foot {
  display: flex;
  gap: 1.4rem;
  padding: 0.75rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 245, 242, 0.4);
  font-size: 0.62rem;
}

.kb-palette-foot span { display: inline-flex; align-items: center; gap: 0.4rem; }

body.kb-palette-open { overflow: hidden; }

/* ---- Responsivo ---- */
@media (max-width: 1080px) {
  .kb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .kb-hero-title { grid-column: 1 / 13; }
  .kb-hero-summary {
    grid-column: 1 / 13;
    margin-top: 0.4rem;
    padding-left: 1.2rem;
  }
  .knowledge-head { grid-template-columns: 1fr; }
  .kb-feature { grid-template-columns: 1fr; }
  .kb-feature-art { min-height: 11rem; order: -1; }
}

@media (max-width: 620px) {
  .kb-hero { padding-top: 9rem; }
  .kb-hero-title { font-size: clamp(2.4rem, 10vw, 3.4rem); }
  .kb-search-trigger { width: 100%; padding: 0.85rem 1rem; gap: 0.7rem; }
  .kb-search-label { font-size: 0.76rem; }
  .kb-grid { grid-template-columns: 1fr; }
  .kb-palette { padding-top: 2.4rem; }
  /* Sem teclado físico: esconde atalho e dicas de teclado. */
  .kb-search-kbd,
  .kb-palette-foot { display: none; }
}

/* Dispositivos de toque (sem teclado): idem, independente da largura. */
@media (hover: none) and (pointer: coarse) {
  .kb-search-kbd,
  .kb-palette-foot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .kb-card.is-in,
  .kb-feature.is-in { animation: none; }
  .kb-search-trigger:hover,
  a.kb-card:hover,
  .kb-feature:hover { transform: none; }
}

/* ============================================================= */
/* ==============  ARTIGO / POST (leitura editorial)  ========== */
/* ============================================================= */

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

/* Barra de progresso de leitura (topo) */
.post-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.post-progress-bar {
  display: block;
  height: 100%;
  width: var(--post-progress, 0%);
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  transition: width 90ms linear;
}

/* ---- Hero ---- */
.post-hero {
  width: min(92vw, 900px);
  margin: 0 auto;
  padding: clamp(8rem, 12vw, 10.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  color: rgba(8, 9, 10, 0.55);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: gap 220ms ease, color 220ms ease;
}

.post-back:hover { gap: 0.85rem; color: var(--gold-dark); }

.post-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.post-cat::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--gold);
}

/* Ponto separador centralizado entre "Conteúdo" e a área do artigo. */
.post-back + .post-cat {
  gap: 0.75rem;
  margin-left: 0.75rem;
}

.post-title {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-read);
  font-weight: 500;
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #14161a;
}

.post-dek {
  margin: 1.5rem 0 0;
  max-width: 54ch;
  font-family: var(--font-read);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-style: italic;
  line-height: 1.55;
  color: rgba(8, 9, 10, 0.6);
}

.post-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  margin-top: clamp(1.8rem, 3vw, 2.4rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: rgba(8, 9, 10, 0.55);
  font-family: var(--font-body);
  font-size: 0.76rem;
}

.post-byline .post-author {
  color: #14161a;
  font-weight: 600;
}

.post-byline-label,
.post-byline-and {
  color: rgba(8, 9, 10, 0.45);
}

.post-author,
.post-reviewer {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.post-author-detail,
.post-reviewer-detail {
  color: rgba(8, 9, 10, 0.5);
  font-size: 0.66rem;
  font-weight: 400;
}

a.post-author:hover .post-author-name,
a.post-reviewer:hover .post-reviewer-name {
  color: var(--gold-dark);
}

.post-reviewers {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.7rem 1rem;
  margin-top: 1rem;
  color: rgba(8, 9, 10, 0.55);
  font-family: var(--font-body);
  font-size: 0.72rem;
}

.post-reviewers > span:first-child {
  padding-top: 0.1rem;
  color: rgba(8, 9, 10, 0.42);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.post-byline .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(8, 9, 10, 0.3);
}

/* ---- Capa ---- */
.post-cover {
  width: min(94vw, 1120px);
  margin: clamp(2rem, 4vw, 3.2rem) auto clamp(2.5rem, 5vw, 4rem);
}

.post-cover img {
  width: 100%;
  height: clamp(16rem, 42vw, 32rem);
  object-fit: cover;
  border-radius: 16px;
}

.post-cover figcaption {
  margin-top: 0.9rem;
  color: rgba(8, 9, 10, 0.5);
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-align: center;
}

/* Fallback de capa (sem imagem) — painel dourado da marca */
.post-cover--fallback {
  position: relative;
  height: clamp(13rem, 30vw, 22rem);
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 82% 12%, rgba(197, 168, 106, 0.45), transparent 55%),
    linear-gradient(200deg, var(--gold), var(--gold-dark));
}

.post-cover--fallback::before,
.post-cover--fallback::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(8, 9, 10, 0.22);
  border-radius: 50%;
}

.post-cover--fallback::before { inset: 22% 40% 34% 12%; }
.post-cover--fallback::after { inset: 34% 10% 16% 46%; }

.post-cover--fallback span {
  position: absolute;
  right: 5%;
  bottom: -2%;
  color: rgba(8, 9, 10, 0.14);
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 13rem);
  line-height: 1;
}

/* ---- Corpo + índice ---- */
.post-shell {
  width: min(92vw, 1080px);
  margin: 0 auto;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.post-toc {
  position: sticky;
  top: 110px;
  align-self: start;
}

.post-toc-label {
  margin: 0 0 1rem;
  color: rgba(8, 9, 10, 0.45);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.post-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.post-toc a {
  display: block;
  padding: 0.4rem 0 0.4rem 0.9rem;
  border-left: 2px solid var(--line);
  color: rgba(8, 9, 10, 0.55);
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.4;
  transition: color 220ms ease, border-color 220ms ease;
}

.post-toc a:hover { color: #14161a; }

.post-toc a.is-current {
  color: var(--gold-dark);
  border-color: var(--gold);
  font-weight: 600;
}

/* Conteúdo do post (o que o CMS vai gerar) */
.post-body {
  max-width: 40rem;
  font-family: var(--font-read);
  font-size: 1.18rem;
  line-height: 1.82;
  color: #26292c;
}

.post-body > p:first-of-type::first-letter {
  float: left;
  margin: 0.06em 0.12em 0 0;
  color: var(--gold-dark);
  font-family: var(--font-read);
  font-weight: 600;
  font-size: 3.6em;
  line-height: 0.72;
}

.post-body p {
  margin: 0 0 1.55rem;
}

.post-highlights {
  margin: 0 0 2.6rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(197, 168, 106, 0.35);
  border-radius: 12px;
  background: rgba(197, 168, 106, 0.07);
}

.post-highlights-label,
.post-resource-label {
  margin: 0 0 0.9rem;
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.post-highlights ul {
  margin-bottom: 0;
}

.post-highlights li:last-child {
  margin-bottom: 0;
}

.post-body h2 {
  margin: 3rem 0 1.1rem;
  font-family: var(--font-read);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #14161a;
  scroll-margin-top: 100px;
}

.post-body h3 {
  margin: 2.4rem 0 0.9rem;
  font-family: var(--font-read);
  font-weight: 600;
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.25;
  color: #14161a;
  scroll-margin-top: 100px;
}

.post-body a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 200ms ease;
}

.post-body a:hover { color: var(--ink); }

.post-body strong { font-weight: 600; color: #14161a; }

.post-body ul,
.post-body ol {
  margin: 0 0 1.55rem;
  padding-left: 1.3rem;
}

.post-body li {
  margin-bottom: 0.6rem;
  padding-left: 0.3rem;
}

.post-body li::marker { color: var(--gold-dark); }

.post-body blockquote {
  margin: 2.6rem 0;
  padding: 0.4rem 0 0.4rem 1.8rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-read);
  font-style: italic;
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
  line-height: 1.4;
  color: #14161a;
}

.post-body figure {
  margin: 2.6rem 0;
}

.post-body figure img {
  width: 100%;
  border-radius: 12px;
}

.post-body figcaption {
  margin-top: 0.8rem;
  color: rgba(8, 9, 10, 0.5);
  font-family: var(--font-body);
  font-size: 0.74rem;
}

.post-body hr {
  margin: 3rem auto;
  width: 4rem;
  height: 0;
  border: none;
  border-top: 1px solid var(--line);
}

/* Bloco de destaque (callout) dentro do texto */
.post-callout {
  clear: both;
  margin: 2.6rem 0;
  padding: 1.4rem 1.6rem;
  background: rgba(197, 168, 106, 0.08);
  border: 1px solid rgba(197, 168, 106, 0.35);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #14161a;
}

.post-resources {
  width: min(92vw, 900px);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}

.post-resource-group {
  min-width: 0;
}

.post-service-links {
  display: grid;
  gap: 0.7rem;
}

.post-service-links a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  color: #14161a;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 200ms ease, transform 200ms ease;
}

.post-service-links a:hover {
  border-color: rgba(197, 168, 106, 0.75);
  transform: translateY(-2px);
}

.post-service-links strong {
  font-family: var(--font-read);
  font-size: 1rem;
}

.post-service-links span,
.post-source-list span {
  color: rgba(8, 9, 10, 0.58);
  font-size: 0.74rem;
  line-height: 1.5;
}

.post-source-list {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(8, 9, 10, 0.7);
  font-size: 0.82rem;
}

.post-source-list li {
  margin-bottom: 0.85rem;
  padding-left: 0.25rem;
}

.post-source-list a,
.post-source-list span {
  display: block;
}

.post-source-list a {
  color: #14161a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-related {
  padding: clamp(3.5rem, 7vw, 6rem) max(4vw, calc((100vw - 1180px) / 2));
  color: var(--paper);
  background: var(--ink);
}

.post-related > h2 {
  margin: 0 0 clamp(1.8rem, 3vw, 2.8rem);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
}

.post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* ---- CTA inserido automaticamente no meio do texto ---- */
.post-cta {
  clear: both;
  margin: 3.2rem 0;
  padding: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--paper);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(197, 168, 106, 0.22), transparent 55%),
    var(--ink);
  border: 1px solid rgba(197, 168, 106, 0.35);
  border-radius: 16px;
}

.post-cta-eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--font-read);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  color: var(--paper);
}

.post-cta-text {
  margin: 0 0 1.5rem;
  max-width: 46ch;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(245, 245, 242, 0.7);
}

.post-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: gap 220ms ease, background-color 220ms ease;
}

.post-cta-btn:hover { gap: 0.95rem; background: #d8bd82; }

/* ---- Fim do artigo: autoria ---- */
.post-foot {
  width: min(92vw, 900px);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem);
}

.post-signature {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: clamp(1.6rem, 3vw, 2.2rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.post-signature-mark {
  flex-shrink: 0;
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
}

.post-signature-copy p {
  margin: 0;
}

.post-signature-copy .name {
  font-family: var(--font-read);
  font-size: 1.05rem;
  font-weight: 600;
  color: #14161a;
}

.post-signature-copy .desc {
  margin-top: 0.2rem;
  color: rgba(8, 9, 10, 0.6);
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.55;
}

.post-signature-copy .desc a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-disclaimer {
  margin: 1.8rem 0 0;
  color: rgba(8, 9, 10, 0.45);
  font-family: var(--font-body);
  font-size: 0.74rem;
  line-height: 1.6;
}

/* ---- Responsivo ---- */
@media (max-width: 960px) {
  .post-shell {
    grid-template-columns: minmax(0, 1fr);
    width: min(92vw, 640px);
  }
  .post-toc { display: none; }
  .post-body { max-width: none; }
  .post-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .post-body { font-size: 1.08rem; line-height: 1.75; }
  .post-body > p:first-of-type::first-letter { font-size: 3em; }
  .post-resources { grid-template-columns: 1fr; }
  .post-related-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .post-progress-bar { transition: none; }
  .post-back:hover,
  .post-cta-btn:hover { gap: inherit; }
}
