/* ==========================================================================
   Fábio Lima · Advogado — folha de estilos
   Identidade: azul-marinho #1D264F + dourado #CA8E2D,
   Cinzel nos títulos e Montserrat no texto.
   Cantos retos e fios dourados duplos, vindos do monograma.
   ========================================================================== */

:root {
  --navy: #1D264F;
  --navy-950: #0D1128;
  --navy-900: #10152F;
  --navy-800: #161D3E;
  --navy-600: #2A3566;
  --gold: #CA8E2D;
  --gold-300: #DDB062;
  --bronze: #907447;
  --gold-ink: #8A6320;          /* dourado para texto pequeno sobre fundo claro (AA) */
  --gold-line: rgba(202, 142, 45, .45);
  --ivory: #F5F2EA;
  --paper: #FBFAF6;
  --white: #FFFFFF;
  --ink: #1D264F;
  --text: #474D6B;
  --muted: #6A6F8C;
  --line: rgba(29, 38, 79, .12);
  --line-strong: rgba(29, 38, 79, .22);
  --line-dark: rgba(255, 255, 255, .1);
  --on-dark: rgba(255, 255, 255, .74);
  --on-dark-soft: rgba(255, 255, 255, .58);

  --font-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 88px;
  --section-y: clamp(88px, 11vw, 150px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.is-menu-open body,
.is-dialog-open body { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: .01em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }

::selection { background: var(--gold); color: var(--navy-900); }

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

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 600;
  font-size: .85rem;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Tipografia de apoio
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

/* fio duplo: a assinatura do monograma */
.eyebrow::before {
  content: "";
  width: 34px;
  height: 4px;
  border-block: 1px solid currentColor;
}

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

.h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.95rem);
  line-height: 1.14;
}

.lead {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.8;
}

/* ornamento: fio — losango — fio */
.ornament {
  position: relative;
  display: block;
  width: 76px;
  height: 9px;
  background:
    linear-gradient(var(--gold), var(--gold)) left center / 30px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right center / 30px 1px no-repeat;
}

.ornament::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: translateX(-50%) rotate(45deg);
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .17em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-sweep, var(--navy));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .55s var(--ease-out);
}

.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn .icon { width: 1.25em; height: 1.25em; }
.btn .icon--arrow { transition: transform .45s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy-900);
  --btn-border: var(--gold);
  --btn-sweep: var(--gold-300);
}

.btn--ghost {
  --btn-fg: var(--white);
  --btn-border: rgba(255, 255, 255, .3);
  --btn-sweep: rgba(255, 255, 255, .08);
}
.btn--ghost:hover { --btn-border: var(--gold); --btn-fg: var(--gold-300); }

.btn--navy {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-border: var(--navy);
  --btn-sweep: var(--navy-900);
}

.btn--outline {
  --btn-fg: var(--ink);
  --btn-border: var(--line-strong);
  --btn-sweep: var(--navy);
}
.btn--outline:hover { --btn-fg: var(--white); --btn-border: var(--navy); }

.btn--sm { min-height: 44px; padding: 0 20px; font-size: .68rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 6px;
  border: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out), color .3s;
}
.text-link:hover { background-size: 0 1px; background-position: right bottom; }
.text-link .icon { transition: transform .45s var(--ease-out); }
.text-link:hover .icon { transform: translateX(4px); }

.icon-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  transition: background-color .4s var(--ease), border-color .4s, color .4s;
}
.icon-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* --------------------------------------------------------------------------
   Cabeçalho
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  color: var(--white);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease);
}

.site-header.is-scrolled,
.site-header--solid {
  background: rgba(16, 21, 47, .94);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(202, 142, 45, .16);
}

.is-menu-open .site-header {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-h);
  transition: height .5s var(--ease);
}

.site-header.is-scrolled .site-header__inner { height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.brand img {
  width: 44px;
  height: 44px;
  transition: width .5s var(--ease), height .5s var(--ease);
}

.is-scrolled .brand img { width: 38px; height: 38px; }

.brand__text { display: flex; flex-direction: column; line-height: 1; }

.brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: .09em;
  color: var(--white);
}

.brand__role {
  margin-top: 7px;
  padding-left: 2px;
  font-size: .54rem;
  font-weight: 500;
  letter-spacing: .52em;
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.3vw, 36px);
}

.nav__link {
  position: relative;
  padding: 8px 0;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .76);
  transition: color .3s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}

.nav__link:hover,
.nav__link.is-active { color: var(--white); }

.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav .btn { margin-left: 6px; }

.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  background: transparent;
}

.menu-toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1px;
  background: var(--white);
  transition: transform .45s var(--ease-out), top .45s var(--ease-out), opacity .3s;
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }

.is-menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.is-menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* menu do celular: fica fora do cabeçalho porque o backdrop-filter
   prenderia um elemento fixo dentro dele */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  background:
    radial-gradient(80% 50% at 100% 0%, rgba(42, 53, 102, .8), transparent 70%),
    var(--navy-900);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}

.is-menu-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transition: opacity .5s var(--ease), visibility 0s;
}

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

.mobile-nav__list li {
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .6s var(--ease-out);
}

.is-menu-open .mobile-nav__list li {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 60ms + 120ms);
}

.mobile-nav__list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2rem);
}

.mobile-nav__list a small {
  font-family: var(--font-body);
  font-size: .7rem;
  color: var(--gold);
  letter-spacing: .1em;
}

.mobile-nav__foot { display: grid; gap: 18px; }
.mobile-nav__foot .btn { width: 100%; }

.mobile-nav__contact {
  font-size: .82rem;
  color: var(--on-dark-soft);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Seções e cabeçalhos de seção
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding-block: var(--section-y);
}

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

.section--navy {
  background: var(--navy);
  color: var(--on-dark);
  isolation: isolate;
  overflow: hidden;
}
.section--navy h2,
.section--navy h3 { color: var(--white); }

/* granulação sutil nas áreas escuras */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* régua: rótulo + fio que atravessa a largura toda */
.section-rule {
  display: flex;
  align-items: center;
  gap: 22px;
}

.section-rule .eyebrow { flex: none; margin: 0; }

.section-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--line) 55%, transparent);
  transform-origin: left;
}

.on-dark .section-rule::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08) 55%, transparent);
}

.js .section-rule::after { transform: scaleX(0); transition: transform 1.6s var(--ease-out) .25s; }
.js .section-rule.is-visible::after { transform: none; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(40px, 7vw, 112px);
  row-gap: clamp(30px, 3.4vw, 44px);
  align-items: end;
  margin-bottom: clamp(56px, 6.5vw, 96px);
}

.section-head .section-rule { grid-column: 1 / -1; }
.section-head .h2 { max-width: 22ch; }

/* texto de apoio preso ao título por um fio dourado */
.section-head__aside {
  padding: 4px 0 4px 28px;
  border-left: 1px solid var(--gold-line);
}

.section-head__aside p { max-width: 42ch; margin: 0; }
.section-head__aside p + .text-link { margin-top: 22px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: max(720px, 100svh);
  color: var(--on-dark);
  background:
    radial-gradient(70% 80% at 80% 32%, rgba(42, 53, 102, .95) 0%, rgba(29, 38, 79, 0) 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-800) 100%);
  overflow: hidden;
  isolation: isolate;
}

/* linhas-guia verticais, como colunas de um projeto arquitetônico */
.hero__guides {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__guides::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: min(100% - 2 * var(--gutter), var(--container));
  transform: translateX(-50%);
  border-inline: 1px solid rgba(255, 255, 255, .045);
  background: linear-gradient(90deg, transparent calc(50% - .5px), rgba(255, 255, 255, .045) calc(50% - .5px), rgba(255, 255, 255, .045) calc(50% + .5px), transparent calc(50% + .5px));
}

.hero__main {
  flex: 1;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 64px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.hero__title {
  margin-bottom: 30px;
  font-size: clamp(2.55rem, 4.5vw, 4rem);
  line-height: 1.07;
  color: var(--white);
}

.hero__title em { font-style: normal; color: var(--gold); }

.hero__lead {
  max-width: 46ch;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, .74);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* dupla de retratos, desencontrados e unidos por uma moldura */
.hero__duo {
  --stagger: clamp(40px, 5.4vw, 80px);
  position: relative;
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  width: min(100% - 22px, 600px);
  margin: 0 22px 0 0;
}

.hero__duo .portrait__photo { aspect-ratio: 3 / 4; }

.portrait {
  position: relative;
  z-index: 1;
  margin: 0;
}

.portrait--a { margin-bottom: var(--stagger); }
.portrait--b { margin-top: var(--stagger); }

.portrait__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #16213D;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}

.portrait__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.portrait__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 52%, rgba(10, 14, 34, .88) 100%);
  pointer-events: none;
}

.portrait__caption {
  position: absolute;
  left: clamp(14px, 1.6vw, 20px);
  right: 12px;
  bottom: clamp(14px, 1.6vw, 20px);
  z-index: 3;
  line-height: 1.2;
}

.portrait__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(.92rem, 1.1vw, 1.06rem);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--white);
}

.portrait__caption span {
  display: block;
  margin-top: 6px;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* moldura dourada que se desenha ao carregar */
.frame {
  position: absolute;
  pointer-events: none;
}

.hero__duo .frame { inset: 9% -22px; z-index: 0; }

.frame i {
  position: absolute;
  background: var(--gold);
  transition: transform 1s var(--ease-out);
}
.frame i:nth-child(1) { top: 0; left: 0; right: 0; height: 1px; transform-origin: left; }
.frame i:nth-child(2) { top: 0; bottom: 0; left: 0; width: 1px; transform-origin: top; }
.frame i:nth-child(3) { top: 0; bottom: 0; right: 0; width: 1px; transform-origin: top; }
.frame i:nth-child(4) { bottom: 0; left: 0; right: 0; height: 1px; transform-origin: left; }

/* faixa com as três áreas */
.hero__areas {
  position: relative;
  border-top: 1px solid var(--line-dark);
  background: rgba(13, 17, 40, .38);
}

.hero__areas .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.area-link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  padding: 26px clamp(18px, 2.4vw, 34px);
  border-right: 1px solid var(--line-dark);
  transition: background-color .5s var(--ease);
}
.area-link:first-child { border-left: 1px solid var(--line-dark); }

.area-link::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease-out);
}

.area-link:hover { background: rgba(255, 255, 255, .03); }
.area-link:hover::before { transform: scaleX(1); }

.area-link__num {
  padding-top: 3px;
  font-family: var(--font-display);
  font-size: .95rem;
  line-height: 1.3;
  color: var(--gold);
}

.area-link__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--white);
  line-height: 1.3;
}

.area-link__desc {
  display: block;
  margin-top: 4px;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--on-dark-soft);
}

.area-link .icon {
  align-self: center;
  color: var(--gold);
  opacity: .5;
  transition: transform .5s var(--ease-out), opacity .4s;
}
.area-link:hover .icon { opacity: 1; transform: translate(3px, -3px); }

/* entrada do hero */
.js [data-hero] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.js .is-loaded [data-hero] { opacity: 1; transform: none; }

.js .hero__title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-top: .12em;
  margin-top: -.12em;
}

.js .hero__title .w > span {
  display: inline-block;
  transform: translateY(108%);
  transition: transform 1.15s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms + 150ms);
}

.js .is-loaded .hero__title .w > span { transform: none; }

.js .portrait__photo { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-out) var(--d, .2s); }
.js .portrait__photo img { transform: scale(1.12); transition: transform 2s var(--ease-out) var(--d, .2s); }
.js .is-loaded .portrait__photo { clip-path: inset(0 0 0 0); }
.js .is-loaded .portrait__photo img { transform: none; }

.js .frame i:nth-child(1),
.js .frame i:nth-child(4) { transform: scaleX(0); }
.js .frame i:nth-child(2),
.js .frame i:nth-child(3) { transform: scaleY(0); }
.js .is-loaded .frame i { transform: none; }
.js .is-loaded .frame i:nth-child(1),
.js .is-loaded .frame i:nth-child(2) { transition-delay: .8s; }
.js .is-loaded .frame i:nth-child(3),
.js .is-loaded .frame i:nth-child(4) { transition-delay: 1.35s; }

/* espaço reservado enquanto a foto não chega */
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 26px;
  background:
    radial-gradient(80% 60% at 50% 35%, rgba(42, 53, 102, .9), transparent 70%),
    var(--navy);
  text-align: center;
}

.photo-placeholder__mark {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid var(--gold);
  outline: 1px solid rgba(202, 142, 45, .35);
  outline-offset: 7px;
  font-family: var(--font-display);
  font-size: 2.3rem;
  letter-spacing: .04em;
  color: var(--gold);
}

.photo-placeholder small {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.portrait .photo-placeholder { padding-bottom: 22%; gap: 18px; }
.portrait .photo-placeholder__mark { width: 72px; height: 72px; font-size: 1.5rem; outline-offset: 5px; }
.portrait .photo-placeholder small { font-size: .54rem; }

/* --------------------------------------------------------------------------
   Princípios — tríptico em moldura de fio duplo
   -------------------------------------------------------------------------- */

.principles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -60px rgba(16, 21, 47, .35);
}

/* fio interno dourado */
.principles::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold-line);
  pointer-events: none;
}

.principle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(48px, 5.4vw, 76px) clamp(28px, 3.4vw, 52px) clamp(52px, 5.6vw, 80px);
  text-align: center;
  transition: background-color .6s var(--ease);
}

/* divisória que esmaece nas pontas */
.principle + .principle::before {
  content: "";
  position: absolute;
  top: 56px; bottom: 56px; left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 25%, var(--line-strong) 75%, transparent);
}

.principle:hover { background: var(--paper); }

.principle__num {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 4.4vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  transition: transform .8s var(--ease-out);
}

.principle:hover .principle__num { transform: translateY(-4px); }

.principle h3 {
  font-size: 1.5rem;
  letter-spacing: .06em;
}

.principle .ornament { margin: 20px 0 24px; }

.principle p {
  max-width: 31ch;
  margin: 0;
  font-size: .96rem;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Áreas de atuação
   -------------------------------------------------------------------------- */

.areas {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}

.areas__nav {
  position: sticky;
  top: 112px;
}

.areas__tabs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.areas__tab {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 18px;
  width: 100%;
  padding: 28px 8px 28px 30px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  transition: background-color .4s var(--ease);
}

/* marcador de fio duplo vertical */
.areas__tab::before {
  content: "";
  position: absolute;
  top: 28px; bottom: 28px; left: 0;
  width: 4px;
  border-inline: 1px solid var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .6s var(--ease-out);
}

.areas__tab[aria-selected="true"]::before { transform: scaleY(1); }
.areas__tab:hover { background: rgba(29, 38, 79, .025); }

.areas__tab-num {
  padding-top: 5px;
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--gold-ink);
}

.areas__tab-title {
  font-family: var(--font-display);
  font-size: 1.36rem;
  line-height: 1.3;
  color: var(--muted);
  transition: color .4s var(--ease);
}

.areas__tab-desc {
  grid-column: 2;
  margin-top: 6px;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--muted);
}

.areas__tab:hover .areas__tab-title,
.areas__tab[aria-selected="true"] .areas__tab-title { color: var(--ink); }

.areas__help {
  margin-top: 36px;
  padding: 28px 28px 30px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.areas__help-title {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--ink);
}

.areas__help p:not(.areas__help-title) {
  margin-bottom: 18px;
  font-size: .88rem;
  line-height: 1.6;
}

.area-panel {
  position: relative;
  padding: clamp(32px, 4.6vw, 64px);
  background: var(--navy);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

.area-panel[hidden] { display: none; }
.no-js .area-panel[hidden] { display: block; margin-top: 24px; }

.js .area-panel.is-active { animation: panel-in .7s var(--ease-out) both; }

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

.area-panel__bg-num {
  position: absolute;
  bottom: clamp(10px, 1.8vw, 22px);
  right: clamp(20px, 3vw, 40px);
  z-index: -1;
  font-family: var(--font-display);
  font-size: clamp(6rem, 10vw, 9rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(202, 142, 45, .2);
  pointer-events: none;
  user-select: none;
}

.area-panel h3 {
  margin-bottom: 20px;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  color: var(--white);
}

.area-panel__intro { max-width: 62ch; color: rgba(255, 255, 255, .78); }

.area-panel__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 38px 0 20px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.area-panel__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-dark);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--white);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .5em;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

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

.subareas--single { grid-template-columns: 1fr; }

.subarea {
  padding: 26px 28px;
  background: var(--navy);
  transition: background-color .5s var(--ease);
}

.subarea:hover { background: #212B58; }

.subarea h4 {
  margin-bottom: 10px;
  font-size: 1.06rem;
  color: var(--white);
}

.subarea p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .68);
}

.area-panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 44px;
}

/* itens do painel entram em sequência */
.js .area-panel.is-active [data-item] {
  animation: item-in .6s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 45ms + 120ms);
}

@keyframes item-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Como funciona
   -------------------------------------------------------------------------- */

.steps {
  --gap: clamp(28px, 4vw, 64px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* linha que liga as etapas */
.steps::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 30px;
  right: calc((100% - 2 * var(--gap)) / 3 - 30px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(202, 142, 45, .35));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease-out) .2s;
}

.steps.is-visible::before { transform: scaleX(1); }

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 34px;
  border: 1px solid var(--gold);
  background: var(--navy);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
}

/* segundo fio, por dentro: o eco do monograma */
.step__num::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(202, 142, 45, .3);
}

.step h3 { margin-bottom: 14px; font-size: 1.35rem; }
.step p { margin: 0; max-width: 34ch; }

.steps-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: 40px;
  border-top: 1px solid var(--line-dark);
}

.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assurances li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .86rem;
  color: var(--white);
}

.assurances .icon { color: var(--gold); width: 1.3em; height: 1.3em; }

/* --------------------------------------------------------------------------
   Quem somos
   -------------------------------------------------------------------------- */

.team-rule { margin-bottom: clamp(48px, 5.4vw, 80px); }

.team {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(48px, 6.4vw, 104px);
  align-items: start;
}

.team__intro {
  position: sticky;
  top: 120px;
}

.team__intro .h2 {
  margin-bottom: 28px;
  font-size: clamp(1.9rem, 2.7vw, 2.45rem);
}
.team__intro > p { max-width: 38ch; margin: 0; }

.team-quote {
  margin: 48px 0 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.team-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink);
}

.team-quote blockquote::before {
  content: "“";
  display: block;
  height: .5em;
  margin-bottom: 18px;
  font-size: 4.2rem;
  line-height: 1;
  color: var(--gold);
}

.team-quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.team-quote figcaption::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
}

/* o segundo cartão desce um pouco, no mesmo ritmo dos retratos do topo */
.member:nth-child(2) { margin-top: clamp(48px, 6vw, 96px); }

.member__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}

.member__photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy);
}

.member__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform 1.4s var(--ease-out);
}

/* passe-partout: fio dourado por dentro da foto */
.member__photo::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 3;
  border: 1px solid rgba(202, 142, 45, .5);
  pointer-events: none;
  transition: inset .8s var(--ease-out), border-color .6s;
}

.member__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 14, 34, .78) 100%);
  opacity: 0;
  transition: opacity .6s var(--ease);
  pointer-events: none;
}

.member__hint {
  position: absolute;
  left: 32px;
  bottom: 30px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .6s var(--ease-out);
}

.member__hint .icon { color: var(--gold); }

.member__media:hover .member__photo img,
.member__media:focus-visible .member__photo img { transform: scale(1.04); }
.member__media:hover .member__photo::after,
.member__media:focus-visible .member__photo::after { inset: 9px; border-color: var(--gold); }
.member__media:hover .member__photo::before,
.member__media:focus-visible .member__photo::before { opacity: 1; }
.member__media:hover .member__hint,
.member__media:focus-visible .member__hint { opacity: 1; transform: none; }

.member__body { padding-top: 30px; }

.member__role {
  margin: 0 0 12px;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.member__name {
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 2.3vw, 2.05rem);
}

.member__focus {
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
  color: var(--muted);
}

.member__bio {
  margin-bottom: 26px;
  font-size: .94rem;
  line-height: 1.75;
}

.member__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Painel de trajetória (diálogo lateral)
   -------------------------------------------------------------------------- */

.bio-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(620px, 100%);
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--text);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: -40px 0 80px -40px rgba(0, 0, 0, .5);
}

.bio-dialog[open] { animation: drawer-in .65s var(--ease-out) both; }
.bio-dialog.is-closing { animation: drawer-out .4s var(--ease) both; }

.bio-dialog::backdrop {
  background: rgba(13, 17, 40, .62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: fade-in .5s var(--ease) both;
}

.bio-dialog.is-closing::backdrop { animation: fade-out .4s var(--ease) both; }

@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drawer-out { from { transform: none; } to { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }

.bio-dialog__head {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  padding: 72px clamp(24px, 5vw, 56px) 40px;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(42, 53, 102, .9), transparent 70%),
    var(--navy);
  color: var(--on-dark);
  isolation: isolate;
  overflow: hidden;
}

.bio-dialog__portrait {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy-800);
  outline: 1px solid var(--gold-line);
  outline-offset: 5px;
}

.bio-dialog__portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.bio-dialog__portrait .photo-placeholder { gap: 0; }
.bio-dialog__portrait .photo-placeholder__mark { width: 56px; height: 56px; font-size: 1.15rem; outline-offset: 4px; }

.bio-dialog__head .eyebrow { margin-bottom: 14px; font-size: .62rem; }

.bio-dialog__head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  color: var(--white);
}

.bio-dialog__fullname {
  margin: 8px 0 0;
  font-size: .86rem;
  color: var(--on-dark-soft);
}

.bio-dialog__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  background: transparent;
  color: var(--white);
  transition: border-color .3s, color .3s, transform .5s var(--ease-out);
}

.bio-dialog__close:hover { border-color: var(--gold); color: var(--gold); transform: rotate(90deg); }

.bio-dialog__body { padding: 44px clamp(24px, 5vw, 56px) 56px; }

.bio-dialog__body > p { font-size: .98rem; line-height: 1.8; }

.bio-dialog__quote {
  position: relative;
  margin: 32px 0;
  padding-left: 28px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink);
}

.bio-dialog__quote::before {
  content: "";
  position: absolute;
  top: 4px; bottom: 4px; left: 0;
  width: 4px;
  border-inline: 1px solid var(--gold);
}

.bio-dialog__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 40px 0 24px;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.bio-dialog__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.timeline {
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line-strong);
}

.timeline li {
  position: relative;
  padding: 0 0 24px 30px;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  top: .42em;
  left: -5px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  background: var(--paper);
  transform: rotate(45deg);
}

.timeline__year {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--gold-ink);
}

.timeline__text {
  display: block;
  font-size: .96rem;
  line-height: 1.55;
  color: var(--ink);
}

.no-js .bio-dialog {
  position: static;
  display: block;
  width: auto;
  height: auto;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Artigos (cartões)
   -------------------------------------------------------------------------- */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 34px 32px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), background-color .4s;
}

.section--paper .article-card { background: var(--white); }

.article-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease-out);
}

.article-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  box-shadow: 0 30px 60px -36px rgba(16, 21, 47, .45);
}

.article-card:hover::before { transform: scaleX(1); }

.article-card__cat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.article-card__cat::before {
  content: "";
  width: 22px;
  height: 4px;
  border-block: 1px solid currentColor;
}

.article-card h2,
.article-card h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
  line-height: 1.34;
}

.article-card h2 a::after,
.article-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.article-card p {
  margin: 0 0 28px;
  font-size: .92rem;
  line-height: 1.7;
}

.article-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}

.article-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink);
}

.article-card__more .icon { transition: transform .5s var(--ease-out); }
.article-card:hover .article-card__more .icon { transform: translateX(5px); }

.articles-empty {
  grid-column: 1 / -1;
  padding: 56px 24px;
  border: 1px dashed var(--line-strong);
  text-align: center;
  color: var(--muted);
}

/* indicadores dos carrosséis do celular */
.rail-dots { display: none; }

/* --------------------------------------------------------------------------
   Contato
   -------------------------------------------------------------------------- */

.contact {
  position: relative;
  padding-block: var(--section-y);
  background: var(--navy-900);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

.contact__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
  opacity: .42;
  filter: saturate(.7);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(16, 21, 47, .98) 0%, rgba(16, 21, 47, .93) 42%, rgba(16, 21, 47, .72) 100%);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}

.contact__title {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  line-height: 1.1;
  color: var(--white);
}

.contact__lead { max-width: 42ch; font-size: 1.05rem; }

.contact-list {
  display: grid;
  max-width: 460px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: padding .5s var(--ease-out);
}

.contact-list a:hover { padding-left: 10px; }

.contact-list__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(202, 142, 45, .45);
  color: var(--gold);
  transition: background-color .4s var(--ease), color .4s;
}

.contact-list a:hover .contact-list__icon { background: var(--gold); color: var(--navy-900); }

.contact-list__label {
  display: block;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.contact-list__value {
  display: block;
  font-size: 1rem;
  color: var(--white);
}

.contact-list .icon--arrow {
  margin-left: auto;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .4s, transform .5s var(--ease-out);
}

.contact-list a:hover .icon--arrow { opacity: 1; transform: none; }

.form-card {
  position: relative;
  padding: clamp(30px, 3.6vw, 46px);
  background: var(--paper);
  color: var(--text);
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  border-block: 1px solid var(--gold);
}

.form-card h3 { margin-bottom: 8px; font-size: 1.4rem; }

.form-card > p {
  margin-bottom: 30px;
  font-size: .9rem;
  color: var(--muted);
}

.field { margin-bottom: 22px; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.field textarea { min-height: 92px; resize: vertical; line-height: 1.6; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23CA8E2D' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") right 4px center no-repeat;
}

.field input::placeholder,
.field textarea::placeholder { color: #9A9EB4; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 1px 0 var(--gold);
}

.field.has-error input { border-color: #B4452F; box-shadow: 0 1px 0 #B4452F; }

.field__error {
  display: none;
  margin-top: 6px;
  font-size: .78rem;
  color: #B4452F;
}

.field.has-error .field__error { display: block; }

.form-card .btn { width: 100%; margin-top: 8px; }

.form-note {
  display: flex;
  gap: 10px;
  margin: 18px 0 0;
  font-size: .76rem;
  line-height: 1.55;
  color: var(--muted);
}

.form-note .icon { margin-top: 2px; color: var(--gold-ink); }

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */

.site-footer {
  padding-top: clamp(72px, 9vw, 112px);
  background: var(--navy-950);
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 72px;
}

.footer__logo { width: 172px; margin-bottom: 28px; }

.footer__about { max-width: 34ch; margin-bottom: 28px; line-height: 1.7; }

.footer__title {
  margin: 6px 0 24px;
  font-family: var(--font-body);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__list a { transition: color .3s var(--ease); }
.footer__list a:hover { color: var(--white); }

.socials { display: flex; gap: 10px; }

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--white);
  transition: border-color .4s var(--ease), color .4s, background-color .4s;
}

.socials a:hover { border-color: var(--gold); background: var(--gold); color: var(--navy-900); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .76rem;
}

.footer__bottom p { margin: 0; }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  transition: color .3s;
}

.to-top:hover { color: var(--gold); }

.to-top .icon { transition: transform .4s var(--ease-out); }
.to-top:hover .icon { transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   WhatsApp flutuante
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 45;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease-out), background-color .3s;
}

.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--gold-300); }
.wa-float .icon { width: 26px; height: 26px; }

.wa-float__label {
  position: absolute;
  right: calc(100% + 12px);
  padding: 10px 16px;
  background: var(--navy-900);
  color: var(--white);
  font-size: .76rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}

.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }

.is-menu-open .wa-float,
.is-dialog-open .wa-float { opacity: 0; pointer-events: none; }

/* --------------------------------------------------------------------------
   Revelação ao rolar
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Páginas internas: lista de artigos e artigo
   ========================================================================== */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(56px, 7vw, 88px);
  background:
    radial-gradient(60% 90% at 85% 0%, rgba(42, 53, 102, .9) 0%, rgba(29, 38, 79, 0) 70%),
    var(--navy);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

.page-hero h1 {
  max-width: 18ch;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
}

.page-hero p { max-width: 56ch; margin: 0; }

.page-hero__mark {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--container)) / 2));
  bottom: -60px;
  z-index: -1;
  width: clamp(180px, 24vw, 320px);
  opacity: .07;
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(202, 142, 45, .7);
}

.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--white); }

/* lista */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background-color .35s var(--ease), color .35s, border-color .35s;
}

.chip:hover { border-color: var(--navy); }

.chip[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.search {
  position: relative;
  flex: 0 1 320px;
}

.search input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--white);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .3s;
}

.search input:focus { outline: none; border-color: var(--gold); }

.search .icon {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--muted);
  transform: translateY(-50%);
}

.results-count {
  margin: -24px 0 32px;
  font-size: .82rem;
  color: var(--muted);
}

.article-card.is-entering { animation: card-in .7s var(--ease-out) both; animation-delay: var(--d, 0s); }

@keyframes card-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* artigo */
.reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 70;
  height: 2px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.article-hero { padding-bottom: clamp(56px, 7vw, 80px); }

.article-hero h1 {
  max-width: 24ch;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.16;
}

.article-hero__dek {
  max-width: 62ch;
  margin-top: 4px !important;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, .78);
}

.tag {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 1px solid rgba(202, 142, 45, .5);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  font-size: .84rem;
}

.article-meta__author { display: flex; align-items: center; gap: 14px; }

.article-meta__author img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid rgba(202, 142, 45, .6);
}

.article-meta__author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

.article-meta__author span { font-size: .76rem; color: var(--on-dark-soft); }

.article-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--on-dark);
}

.article-meta__item .icon { color: var(--gold); }

.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 720px);
  justify-content: center;
  gap: clamp(40px, 6vw, 96px);
  padding-block: clamp(64px, 8vw, 104px);
}

.article-aside { position: relative; }

.article-aside__sticky {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 40px;
}

.toc__title,
.share__title {
  margin: 0 0 16px;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}

.toc a {
  position: relative;
  display: block;
  padding: 8px 0 8px 18px;
  font-size: .84rem;
  line-height: 1.45;
  color: var(--muted);
  transition: color .3s var(--ease);
}

.toc a::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -1px;
  width: 1px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform .4s var(--ease-out);
}

.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); font-weight: 500; }
.toc a.is-active::before { transform: scaleY(1); }

.share__list { display: flex; gap: 8px; }

.share__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  transition: background-color .35s var(--ease), color .35s, border-color .35s;
}

.share__btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.share__feedback {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  padding: 6px 10px;
  background: var(--navy-900);
  color: var(--white);
  font-size: .7rem;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 4px);
  pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease-out);
}

.share__btn.is-copied .share__feedback { opacity: 1; transform: translate(-50%, 0); }

.share--inline { display: none; margin-top: 40px; }

/* texto do artigo */
.prose {
  font-size: 1.06rem;
  line-height: 1.85;
  color: #3E4462;
}

.prose > :first-child { margin-top: 0; }

.prose p { margin: 0 0 1.4em; }

.prose > p:first-of-type {
  font-size: 1.16rem;
  line-height: 1.8;
  color: var(--ink);
}

.prose h2 {
  position: relative;
  margin: 2.4em 0 .9em;
  padding-top: 26px;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  line-height: 1.3;
}

.prose h2::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 34px;
  height: 4px;
  border-block: 1px solid var(--gold);
}

.prose h3 { margin: 2em 0 .7em; font-size: 1.22rem; }

.prose strong { font-weight: 600; color: var(--ink); }

.prose a {
  color: var(--gold-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  margin: 0 0 1.6em;
  padding: 0;
  list-style: none;
}

.prose li { position: relative; margin-bottom: .7em; padding-left: 30px; }

.prose ul li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 4px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.prose ol { counter-reset: item; }

.prose ol li { counter-increment: item; padding-left: 40px; }

.prose ol li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  top: .1em;
  left: 0;
  font-family: var(--font-display);
  font-size: .92rem;
  color: var(--gold-ink);
}

.prose blockquote {
  position: relative;
  margin: 2em 0;
  padding: 4px 0 4px 32px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink);
}

.prose blockquote::before {
  content: "";
  position: absolute;
  top: 4px; bottom: 4px; left: 0;
  width: 4px;
  border-inline: 1px solid var(--gold);
}

.prose blockquote p { margin: 0; }

.prose blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-style: normal;
  letter-spacing: .08em;
  color: var(--muted);
}

.callout {
  margin: 2.2em 0;
  padding: 26px 30px;
  background: var(--ivory);
  border-left: 2px solid var(--gold);
}

.callout__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px !important;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

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

.author-box {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 64px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--white);
}

.author-box img {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.author-box h3 { margin-bottom: 4px; font-size: 1.2rem; }

.author-box__role {
  display: block;
  margin-bottom: 12px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.author-box p { margin: 0 0 16px; font-size: .92rem; line-height: 1.7; }

.listing { padding-top: clamp(48px, 6vw, 72px); }
.listing__cta { margin-top: clamp(64px, 8vw, 96px); }

.disclaimer {
  margin-top: 32px;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--muted);
}

.article-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
  padding: clamp(36px, 5vw, 56px);
  background: var(--navy);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

.article-cta h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--white);
}

.article-cta p { margin: 0; }

.article-cta__mark {
  position: absolute;
  right: -40px;
  top: 50%;
  z-index: -1;
  width: 260px;
  opacity: .06;
  transform: translateY(-50%);
}

.article-layout .article-cta {
  grid-template-columns: 1fr;
  justify-items: start;
  margin-top: 56px;
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .nav .nav__link { display: none; }
  .menu-toggle { display: block; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  :root { --header-h: 76px; }

  .nav .btn { display: none; }

  /* cabeçalhos de seção empilhados */
  .section-head { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .section-head .h2 { max-width: 22ch; }
  .section-head__aside { padding-left: 22px; }

  /* hero */
  .hero__main { padding-top: calc(var(--header-h) + 44px); padding-bottom: 56px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }

  .hero__duo {
    justify-self: center;
    width: min(100% - 32px, 520px);
    margin: 0;
  }

  .hero__duo .frame { inset: 9% -14px; }

  .hero__areas .container { grid-template-columns: 1fr; }

  .area-link,
  .area-link:first-child {
    border-inline: 0;
    border-bottom: 1px solid var(--line-dark);
    padding: 20px 4px;
  }

  .area-link:last-child { border-bottom: 0; }

  /* princípios empilhados dentro da moldura */
  .principles { grid-template-columns: minmax(0, 1fr); }

  .principle { padding: 48px 32px 52px; }

  .principle + .principle::before {
    top: 0; bottom: auto;
    left: 48px; right: 48px;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong) 25%, var(--line-strong) 75%, transparent);
  }

  /* áreas: lista vertical compacta, sem nada escondido */
  .areas { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .areas__nav { position: relative; top: auto; min-width: 0; }
  .areas__help { display: none; }

  .areas__tab {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    padding: 18px 20px;
  }

  .areas__tab::before { display: none; }

  /* seta: aponta para baixo na área aberta */
  .areas__tab::after {
    content: "";
    grid-column: 3;
    grid-row: 1;
    width: 8px;
    height: 8px;
    border-right: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    transform: rotate(-45deg);
    transition: transform .4s var(--ease-out);
  }

  .areas__tab[aria-selected="true"] { background: var(--navy); border-bottom-color: var(--navy); }
  .areas__tab[aria-selected="true"]::after { transform: rotate(45deg) translate(-2px, -2px); }
  .areas__tab[aria-selected="true"] .areas__tab-title { color: var(--white); }
  .areas__tab[aria-selected="true"] .areas__tab-num { color: var(--gold); }

  .areas__tab-num { padding: 0; font-size: .8rem; }
  .areas__tab-title { font-size: 1.08rem; }
  .areas__tab-desc { display: none; }

  /* etapas na vertical */
  .steps { grid-template-columns: 1fr; gap: 44px; }

  .steps::before {
    top: 30px;
    bottom: 30px;
    left: 30px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--gold), rgba(202, 142, 45, .35));
    transform: scaleY(0);
    transform-origin: top;
  }

  .steps.is-visible::before { transform: scaleY(1); }

  .step { position: relative; padding-left: 92px; }
  .step__num { position: absolute; left: 0; top: 0; margin: 0; }
  .step h3 { padding-top: 14px; }

  /* quem somos */
  .team { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .team__intro { position: relative; top: auto; }
  .team-quote { max-width: 560px; }

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

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

  .article-layout { grid-template-columns: minmax(0, 720px); }
  .article-aside { display: none; }
  .share--inline { display: block; }

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

@media (max-width: 720px) {
  .eyebrow { gap: 12px; letter-spacing: .2em; }
  .section-rule { gap: 16px; }

  .btn {
    min-height: 52px;
    padding: 14px 20px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }

  .hero__title { font-size: clamp(2.2rem, 9.4vw, 2.9rem); }
  .hero__actions .btn { flex: 1 1 100%; }

  .hero__duo {
    --stagger: 34px;
    width: calc(100% - 28px);
    gap: 12px;
  }

  .portrait__caption { left: 12px; bottom: 12px; }
  .portrait__caption strong { font-size: .84rem; }
  .portrait__caption span { font-size: .5rem; letter-spacing: .16em; }

  .principle { padding: 44px 24px 48px; }

  .area-panel { padding: 32px 24px 36px; }
  .area-panel__bg-num { display: none; }

  .checklist,
  .subareas { grid-template-columns: 1fr; }

  .subarea { padding: 22px; }

  .area-panel__foot .btn { width: 100%; }

  .steps-foot { flex-direction: column; align-items: stretch; }
  .steps-foot .btn { width: 100%; }

  /* carrosséis deslizantes: equipe e artigos da página inicial */
  .team__grid,
  .articles-grid--rail {
    display: flex;
    gap: 14px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .team__grid::-webkit-scrollbar,
  .articles-grid--rail::-webkit-scrollbar { display: none; }

  .team__grid > *,
  .articles-grid--rail > * {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .member:nth-child(2) { margin-top: 0; }
  .member__photo::after { inset: 10px; }

  .articles-grid--rail .article-card { min-height: 100%; }
  .articles-grid--rail .article-card:hover { transform: none; }

  .rail-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
  }

  .rail-dots button {
    position: relative;
    width: 28px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
  }

  .rail-dots button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line-strong);
    transition: background-color .4s, height .3s;
  }

  .rail-dots button[aria-current="true"]::before { height: 2px; background: var(--gold); }

  .articles-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 0; }

  .bio-dialog__head {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 20px;
    padding-top: 76px;
  }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer__grid > :last-child { grid-column: 1 / -1; }

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

  .search { flex: 1 1 100%; }

  .author-box { grid-template-columns: 1fr; padding: 26px; }
}

@media (max-width: 420px) {
  .brand__name { font-size: 1.05rem; }
  .brand img { width: 38px; height: 38px; }
}

/* --------------------------------------------------------------------------
   Movimento reduzido
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

/* --------------------------------------------------------------------------
   Impressão (útil para artigos)
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .mobile-nav, .wa-float, .reading-progress,
  .article-aside, .article-cta, .site-footer, .related { display: none !important; }
  .page-hero { padding: 0 0 24px; background: none; color: #000; }
  .page-hero h1, .article-meta__author strong { color: #000; }
  .article-layout { display: block; padding: 0; }
}
