/* ============================================================
   Ribeiro Perez Advocacia Empresarial — site institucional
   Estilos conforme o handoff de design (alta fidelidade).
   Tokens: marinho #101D38 · dourado #B08D3E/#C8AC72 · Montserrat
   ============================================================ */

:root {
  --navy: #101D38;
  --navy-deep: #0B1529;
  --gold: #B08D3E;
  --gold-hover: #8F702C;
  --gold-light: #C8AC72;
  --gold-logo: #C0A060;
  --offwhite: #F7F5F1;
  --text-body: #4A5468;
  --text-soft: #8A8F9A;
  --border-light: #ECE8E0;
  --border-input: #DDD8CE;
  --pad-x: 64px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip;
  animation: pageIn 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

main { flex: 1; }

/* Transições de página */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

body.page-leave { animation: pageOut 0.28s ease-in forwards; }

@keyframes pageOut {
  to { opacity: 0; transform: translateY(-10px); }
}

main > section { animation: secIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
main > section:nth-of-type(2) { animation-delay: 0.08s; }
main > section:nth-of-type(3) { animation-delay: 0.16s; }
main > section:nth-of-type(4) { animation-delay: 0.24s; }

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

a, button {
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease,
              transform 0.35s ease, box-shadow 0.35s ease;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }

h1, h2, h3, p { margin: 0; text-wrap: pretty; }

img { max-width: 100%; }

input, textarea, select { font-family: 'Montserrat', sans-serif; }

.container { max-width: 1160px; margin: 0 auto; }
.container--narrow { max-width: 860px; }

/* Acessibilidade */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 12px 20px;
}
.skip-link:focus { left: 0; color: #FFFFFF; }

/* ------------------------------------------------------------
   Kickers (rótulos dourados com losango / filete)
   ------------------------------------------------------------ */
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
}
.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.kicker--line { gap: 12px; font-size: 13px; }
.kicker--line::before { width: 28px; height: 1px; transform: none; }
.kicker--dark { color: var(--gold-light); }
.kicker--dark::before { background: var(--gold-light); }

/* ------------------------------------------------------------
   Botões
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 16px 30px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--gold-light); color: var(--navy); }
.btn--to-navy:hover { background: var(--navy); color: #FFFFFF; }
.btn--sm { font-size: 12px; padding: 12px 22px; gap: 8px; }
.btn--md { padding: 14px 28px; }
.btn--lg { padding: 18px 34px; }
.btn--submit { padding: 17px 34px; width: fit-content; }
.btn--outline {
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
}
.btn--outline:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad-x);
  border-bottom: 1px solid rgba(192, 160, 96, 0.35);
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__name {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  white-space: nowrap;
}
.brand__sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 4px;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav > a:not(.btn) {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
}
.site-nav > a:not(.btn):hover { color: var(--gold-light); }
.site-nav > a.is-active {
  font-weight: 600;
  color: var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 3px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-light);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer { background: var(--navy-deep); padding: 56px var(--pad-x) 40px; }
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand svg { flex-shrink: 0; }
.footer-brand .brand__text { gap: 3px; }
.footer-brand .brand__sub { color: rgba(255, 255, 255, 0.6); font-size: 8px; font-weight: 300; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col > * {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 300;
  overflow-wrap: anywhere;
}
.footer-col > a:hover { color: var(--gold-light); }
.footer-col__title { color: var(--gold-light); font-size: 11px; font-weight: 600; letter-spacing: 2.5px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom div {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 1px;
}

/* ------------------------------------------------------------
   Imagens com moldura dourada deslocada + véu marinho
   ------------------------------------------------------------ */
.framed { position: relative; margin: 0 18px 18px 0; }
.framed::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold-light);
}
.framed > img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
}
.framed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 29, 56, 0.18) 0%, rgba(16, 29, 56, 0) 45%, rgba(16, 29, 56, 0.35) 100%);
  pointer-events: none;
}
.framed--tight { margin: 0 14px 14px 0; }
.framed--tight::before { top: 14px; left: 14px; }
.framed--tight > img { filter: saturate(0.85); }
/* Retrato: moldura dourada sem véu marinho nem dessaturação */
.framed--plain > img { filter: none; }
.framed--plain::after { content: none; }

/* Placeholder da foto profissional (pendente) */
.photo-placeholder {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------------------------
   Home — hero
   ------------------------------------------------------------ */
.hero { padding: 110px var(--pad-x) 100px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; max-width: 620px; }
.hero h1 { font-size: 46px; font-weight: 500; line-height: 1.2; color: var(--navy); }
.hero__lead { font-size: 17px; font-weight: 300; line-height: 1.8; color: var(--text-body); }
.hero__actions { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
/* min-width: 0 permite que a coluna única do grid encolha em telas estreitas
   (sem isso, a largura definida vira mínimo da trilha e estoura o viewport) */
.hero__media { width: 360px; max-width: 100%; min-width: 0; aspect-ratio: 360 / 460; }

/* ------------------------------------------------------------
   Home — áreas de atuação (pilares)
   ------------------------------------------------------------ */
.pillars { background: var(--offwhite); padding: 90px var(--pad-x); }
.pillars .container { display: flex; flex-direction: column; gap: 48px; }

.section-heading { display: flex; flex-direction: column; gap: 10px; }
.section-heading h2 { font-size: 32px; font-weight: 500; color: var(--navy); }

.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  background: #FFFFFF;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 3px solid var(--gold);
}
.pillar h3 { font-size: 19px; font-weight: 600; color: var(--navy); }
.pillar p { font-size: 14.5px; font-weight: 300; line-height: 1.8; color: var(--text-body); }
.pillar__link { font-size: 12px; font-weight: 600; letter-spacing: 2px; margin-top: auto; }

/* ------------------------------------------------------------
   Home — teaser do Sobre
   ------------------------------------------------------------ */
.about-teaser { padding: 100px var(--pad-x); }
.about-teaser .container {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}
.about-teaser__media { width: 380px; max-width: 100%; min-width: 0; aspect-ratio: 380 / 440; }
.about-teaser__body { display: flex; flex-direction: column; gap: 22px; }
.about-teaser h2 { font-size: 32px; font-weight: 500; color: var(--navy); }
.oab-line { color: var(--gold); font-size: 13px; font-weight: 500; letter-spacing: 2px; }
.about-teaser p { font-size: 15.5px; font-weight: 300; line-height: 1.9; color: var(--text-body); }
.about-teaser .btn { width: fit-content; }

/* ------------------------------------------------------------
   Faixa de CTA (marinho)
   ------------------------------------------------------------ */
.cta-band { background: var(--navy); padding: 80px var(--pad-x); }
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band__text { display: flex; flex-direction: column; gap: 12px; }
.cta-band h2 { font-size: 30px; font-weight: 500; color: #FFFFFF; }
.cta-band__sub { font-size: 15px; font-weight: 300; color: var(--gold-light); }
.cta-band .btn { flex-shrink: 0; }

/* ------------------------------------------------------------
   Título de página interna
   ------------------------------------------------------------ */
.page-title { background: var(--offwhite); padding: 72px var(--pad-x); }
.page-title .container { display: flex; flex-direction: column; gap: 16px; }
.page-title h1 { font-size: 38px; font-weight: 500; color: var(--navy); }
.page-title__lead {
  max-width: 700px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-body);
}
.page-title__date { font-size: 13px; font-weight: 300; color: var(--text-body); }

.page-title--split .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
.page-title__text { display: flex; flex-direction: column; gap: 16px; }
.page-title--split .page-title__lead { max-width: 760px; }
.page-title__media { width: 300px; max-width: 100%; min-width: 0; aspect-ratio: 300 / 340; }

/* ------------------------------------------------------------
   Atuação — áreas
   ------------------------------------------------------------ */
.area { padding: 90px var(--pad-x); }
.area--tinted { background: var(--offwhite); }
.area .container { display: grid; grid-template-columns: 340px 1fr; gap: 64px; }
.area--center .container { align-items: center; }
.area__side { display: flex; flex-direction: column; gap: 18px; }
.area__side h2 { font-size: 28px; font-weight: 500; color: var(--navy); }
.area__side p { font-size: 15px; font-weight: 300; line-height: 1.9; color: var(--text-body); }

.gold-rule { display: flex; align-items: center; gap: 8px; }
.gold-rule::before { content: ""; width: 40px; height: 2px; background: var(--gold); }
.gold-rule::after { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

.area__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc-card {
  background: var(--offwhite);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.area--tinted .svc-card { background: #FFFFFF; }
.svc-card h3 { font-size: 15px; font-weight: 600; color: var(--navy); }
.svc-card p { font-size: 13.5px; font-weight: 300; line-height: 1.7; color: var(--text-body); }
.svc-card--flag { border-left: 3px solid var(--gold); }
.area__single { font-size: 15.5px; font-weight: 300; line-height: 1.9; color: var(--text-body); }

/* ------------------------------------------------------------
   Sobre — bio
   ------------------------------------------------------------ */
.bio { padding: 90px var(--pad-x); }
.bio .container {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 72px;
  align-items: start;
}
.bio__media-col { display: flex; flex-direction: column; gap: 20px; }
.bio__media { width: 400px; max-width: 100%; min-width: 0; aspect-ratio: 400 / 500; }
.bio__credit {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
}
.bio__credit-name { font-size: 17px; font-weight: 600; color: var(--navy); }
.bio__credit-role { font-size: 12px; font-weight: 500; letter-spacing: 2px; color: var(--gold); }
.bio__text { display: flex; flex-direction: column; gap: 24px; }
.bio__text p { font-size: 15.5px; font-weight: 300; line-height: 2; color: var(--text-body); }
.bio__text strong { font-weight: 600; color: var(--navy); }
.bio__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.info-card {
  background: var(--offwhite);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-card__label { font-size: 13px; font-weight: 600; letter-spacing: 2px; color: var(--gold); }
.info-card__body { font-size: 13.5px; font-weight: 300; line-height: 1.8; color: var(--text-body); }

/* ------------------------------------------------------------
   Sobre — diferenciais (marinho)
   ------------------------------------------------------------ */
.differentials { background: var(--navy); padding: 90px var(--pad-x); }
.differentials .container { display: flex; flex-direction: column; gap: 48px; }
.differentials h2 { font-size: 30px; font-weight: 500; color: #FFFFFF; }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.diff {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid rgba(200, 172, 114, 0.4);
  padding-top: 22px;
}
.diff h3 { font-size: 16px; font-weight: 600; color: var(--gold-light); }
.diff p { font-size: 14px; font-weight: 300; line-height: 1.9; color: rgba(255, 255, 255, 0.8); }

/* ------------------------------------------------------------
   Sobre — CTA claro com borda
   ------------------------------------------------------------ */
.cta-box-section { padding: 80px var(--pad-x); }
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid var(--border-light);
  padding: 48px 56px;
}
.cta-box__text { display: flex; flex-direction: column; gap: 10px; }
.cta-box h2 { font-size: 26px; font-weight: 500; color: var(--navy); }
.cta-box__sub { font-size: 14.5px; font-weight: 300; color: var(--text-body); }
.cta-box .btn { flex-shrink: 0; }

/* ------------------------------------------------------------
   Artigos
   ------------------------------------------------------------ */
.articles { padding: 80px var(--pad-x); }
.articles .container { display: flex; flex-direction: column; gap: 40px; }
.articles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
  color: inherit;
}
.article-card:hover { border-color: var(--gold); color: inherit; }
.article-card__thumb {
  height: 180px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-card__thumb--tinted { background: var(--offwhite); }
.article-card__body { padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.article-card__cat { color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: 2.5px; }
.article-card__title { font-size: 17px; font-weight: 600; line-height: 1.5; color: var(--navy); }
.article-card__excerpt { font-size: 13.5px; font-weight: 300; line-height: 1.8; color: var(--text-body); }
.articles__note { font-size: 13px; color: var(--text-soft); font-weight: 300; }

/* ------------------------------------------------------------
   Contato
   ------------------------------------------------------------ */
.contact { padding: 80px var(--pad-x); }
.contact .container {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 72px;
  align-items: start;
}
.channels { display: flex; flex-direction: column; gap: 18px; }
.channel {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--border-light);
  padding: 24px 26px;
  color: inherit;
}
a.channel:hover { border-color: var(--gold); color: inherit; }
.channel svg { flex-shrink: 0; }
.channel__text { display: flex; flex-direction: column; gap: 3px; }
.channel__label { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--gold); }
.channel__value { font-size: 15px; font-weight: 500; color: var(--navy); overflow-wrap: anywhere; }

.form-panel {
  background: var(--offwhite);
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
}
.form-panel__head { display: flex; flex-direction: column; gap: 8px; }
.form-panel h2 { font-size: 22px; font-weight: 600; color: var(--navy); }
.form-panel__sub { font-size: 13.5px; font-weight: 300; color: var(--text-body); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--navy); }
.field input,
.field select,
.field textarea {
  border: 1px solid var(--border-input);
  border-radius: 0;
  background: #FFFFFF;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--navy);
  outline: none;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }
.form-note { font-size: 12px; font-weight: 300; line-height: 1.8; color: var(--text-soft); }

/* ------------------------------------------------------------
   Política de Privacidade
   ------------------------------------------------------------ */
.legal { padding: 72px var(--pad-x); }
.legal .container--narrow { display: flex; flex-direction: column; gap: 36px; }
.legal-block { display: flex; flex-direction: column; gap: 12px; }
.legal-block h2 { font-size: 20px; font-weight: 600; color: var(--navy); }
.legal-block p { font-size: 14.5px; font-weight: 300; line-height: 2; color: var(--text-body); }
.legal-block strong { font-weight: 600; color: var(--navy); }
.legal-note {
  background: var(--offwhite);
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 3px solid var(--gold);
}
.legal-note__title { font-size: 13px; font-weight: 600; color: var(--navy); }
.legal-note__body { font-size: 13.5px; font-weight: 300; line-height: 1.9; color: var(--text-body); }

/* ------------------------------------------------------------
   Página 404
   ------------------------------------------------------------ */
.error-hero { padding: 110px var(--pad-x); }
.error-hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.error-hero h1 { font-size: 42px; font-weight: 500; color: var(--navy); }
.error-hero p { font-size: 16px; font-weight: 300; line-height: 1.9; color: var(--text-body); max-width: 560px; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1080px) {
  :root { --pad-x: 40px; }
  .hero h1 { font-size: 40px; }
}

@media (max-width: 1020px) {
  .hero { padding: 80px var(--pad-x) 72px; }
  /* minmax(0, 1fr): impede que imagens/molduras com largura fixa alarguem a
     coluna única além do viewport em telas estreitas */
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }

  .page-title--split .container { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about-teaser .container,
  .bio .container,
  .area .container,
  .contact .container { grid-template-columns: minmax(0, 1fr); gap: 40px; }

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

  .cta-band .container,
  .cta-box { flex-direction: column; align-items: flex-start; gap: 28px; }

  .about-teaser { padding: 72px var(--pad-x); }
  .pillars, .area, .bio, .differentials { padding-top: 72px; padding-bottom: 72px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px var(--pad-x) 26px;
    background: var(--navy);
    border-bottom: 1px solid rgba(192, 160, 96, 0.35);
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav > a:not(.btn) { padding: 10px 0; font-size: 14px; }
  .site-nav > a.is-active { border-bottom: none; padding-bottom: 10px; }
  .site-nav .btn { margin-top: 12px; }
}

@media (max-width: 720px) {
  :root { --pad-x: 24px; }

  .hero { padding: 64px var(--pad-x); }
  .hero h1 { font-size: 32px; }
  .hero__lead { font-size: 16px; }

  .page-title { padding: 56px var(--pad-x); }
  .page-title h1 { font-size: 30px; }

  .section-heading h2, .about-teaser h2 { font-size: 26px; }
  .area__side h2 { font-size: 24px; }
  .cta-band h2, .differentials h2 { font-size: 24px; }
  .cta-box h2 { font-size: 22px; }
  .error-hero h1 { font-size: 32px; }

  .pillars, .area, .bio, .differentials { padding-top: 64px; padding-bottom: 64px; }
  .about-teaser { padding: 64px var(--pad-x); }
  .cta-band { padding: 64px var(--pad-x); }
  .cta-box-section { padding: 56px var(--pad-x); }
  .cta-box { padding: 32px 26px; }
  .articles, .contact { padding: 56px var(--pad-x); }
  .legal { padding: 56px var(--pad-x); }
  .error-hero { padding: 72px var(--pad-x); }

  .pillars__grid,
  .articles__grid,
  .diff-grid,
  .area__grid,
  .bio__cards,
  .form-row { grid-template-columns: 1fr; }

  .pillar { padding: 32px 26px; }
  .form-panel { padding: 30px 24px; }
  .footer-cols { gap: 40px; }
}

/* ------------------------------------------------------------
   Movimento reduzido
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body,
  body.page-leave,
  main > section { animation: none; }
  a, button, .nav-toggle span { transition: none; }
}
