:root {
  --navy: #1b1e2c;
  --navy-2: #242838;
  --cream: #f7f3ea;
  --cream-2: #efe8d8;
  --gold-light: #f0dfc0;
  --gold: #c9975a;
  --bronze: #8b5a3c;
  --ink: #1c1e24;
  --text-on-dark: #d8d3c4;
  --text-muted-dark: #9b96a3;
  --text-muted-light: #66604f;
  --rule-dark: rgba(240, 223, 192, 0.22);
  --rule-light: rgba(139, 90, 60, 0.25);
  --radius: 10px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; }

p { margin: 0 0 1rem; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bronze);
  margin-bottom: 0.9rem;
}

.section--dark .eyebrow,
.masthead .eyebrow,
.page-banner .eyebrow { color: var(--gold); }

.rule {
  border: none;
  border-top: 1px solid var(--rule-light);
  margin: 0;
}

.section--dark .rule,
.rule--dark { border-top-color: var(--rule-dark); }

/* Header */
.header {
  background: var(--cream);
  border-bottom: 1px solid var(--rule-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header--dark {
  background: var(--navy);
  border-bottom-color: var(--rule-dark);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  gap: 24px;
}

.header__mark {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.header--dark .header__mark { color: #fff; }

.header__mark img {
  height: 44px;
  width: auto;
  display: block;
}

.header__mark-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.header__mark-tag {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bronze);
}

.header--dark .header__mark-tag { color: var(--gold); }

.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav a {
  color: var(--text-muted-light);
  text-decoration: none;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.header--dark .header__nav a { color: var(--text-on-dark); }

.header__nav a:hover,
.header__nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--bronze);
}

.header--dark .header__nav a:hover,
.header--dark .header__nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--gold);
}

.header__cta {
  font-size: 0.78rem;
}

.header__toggle {
  display: none;
  background: none;
  border: 1px solid var(--bronze);
  color: var(--bronze);
  padding: 8px 10px;
  cursor: pointer;
}

.header--dark .header__toggle { border-color: var(--gold); color: var(--gold); }

@media (max-width: 860px) {
  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule-light);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 4px 32px 16px;
    display: none;
  }

  .header--dark .header__nav { background: var(--navy); border-bottom-color: var(--rule-dark); }

  .header__nav.is-open { display: flex; }
  .header__nav li { width: 100%; }
  .header__nav a { display: block; padding: 12px 0; width: 100%; }
  .header__toggle { display: block; }
}

@media (max-width: 480px) {
  .header__inner { padding: 12px 20px; }
  .header__mark img { height: 38px; }
}


/* Superfícies do navegador — seleção, foco e barra de rolagem na paleta */
::selection { background: var(--gold); color: var(--navy); }
.section--dark ::selection,
.masthead ::selection { background: var(--gold-light); color: var(--navy); }

html {
  scrollbar-color: var(--bronze) var(--cream-2);
  scrollbar-width: thin;
}

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

.section--dark :focus-visible,
.masthead :focus-visible,
.page-banner :focus-visible,
.footer :focus-visible { outline-color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .btn, .link-arrow { transition: color 0.2s ease; }
}

/* Text links / buttons — sem gradiente, sem "botão de venda" */
.link-arrow {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  padding-bottom: 3px;
  background-image:
    linear-gradient(var(--bronze), var(--bronze)),
    linear-gradient(var(--rule-light), var(--rule-light));
  background-repeat: no-repeat, no-repeat;
  background-position: 0 100%, 0 100%;
  background-size: 0% 2px, 100% 1px;
  transition: background-size 0.42s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.link-arrow:hover,
.link-arrow:focus-visible { background-size: 100% 2px, 100% 1px; color: var(--bronze); }

.section--dark .link-arrow,
.masthead .link-arrow {
  color: #fff;
  background-image:
    linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--rule-dark), var(--rule-dark));
}

.section--dark .link-arrow:hover,
.section--dark .link-arrow:focus-visible,
.masthead .link-arrow:hover { color: var(--gold-light); }

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  background-color: transparent;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-size: 100% 0;
  /* Saída mais rápida que entrada, e a cor do texto vira DEPOIS que o
     preenchimento cobre a linha de base — senão o rótulo some por um
     instante contra o fundo que ainda está subindo. */
  transition:
    background-size 0.24s ease,
    color 0.16s ease 0.08s,
    border-color 0.24s ease,
    transform 0.12s ease;
}

.btn:hover,
.btn:focus-visible {
  background-size: 100% 100%;
  color: var(--cream);
  transition:
    background-size 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.2s ease 0.14s,
    border-color 0.28s ease,
    transform 0.12s ease;
}

.btn:active { transform: translateY(1px); }

.btn--invert {
  border-color: var(--gold);
  color: var(--gold-light);
  background-image: linear-gradient(var(--gold), var(--gold));
}

.btn--invert:hover,
.btn--invert:focus-visible { color: var(--navy); }

.btn--block { width: 100%; text-align: center; }

button.btn { font-family: var(--sans); }

/* Masthead (hero institucional — com foto, produtor se reconhece na cena) */
.masthead {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 128px 0 96px;
  overflow: hidden;
  min-height: 78vh;
  min-height: 78svh;
  display: flex;
  align-items: center;
}

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

.masthead__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  animation: mastheadZoom 34s ease-in-out infinite alternate;
}

@keyframes mastheadZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.masthead__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(27, 30, 44, 0) 45%, rgba(27, 30, 44, 0.45) 100%),
    linear-gradient(115deg, rgba(27, 30, 44, 0.96) 0%, rgba(27, 30, 44, 0.86) 38%, rgba(27, 30, 44, 0.6) 78%, rgba(27, 30, 44, 0.52) 100%);
}

.masthead .container {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .masthead__bg img { animation: none; }
}

.masthead__index {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 22px;
}

.masthead h1 {
  color: #fff;
  max-width: 720px;
  text-shadow: 0 1px 2px rgba(27, 30, 44, 0.5), 0 2px 20px rgba(27, 30, 44, 0.35);
}

.masthead__sub {
  max-width: 560px;
  color: var(--text-on-dark);
  font-size: 1.05rem;
  text-shadow: 0 1px 2px rgba(27, 30, 44, 0.5), 0 2px 16px rgba(27, 30, 44, 0.35);
}

.masthead .link-arrow { color: #fff; border-bottom-color: var(--gold); }
.masthead .link-arrow:hover { color: var(--gold-light); }

.masthead__actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.masthead__note {
  font-size: 0.8rem;
  color: var(--text-on-dark);
  text-shadow: 0 1px 2px rgba(27, 30, 44, 0.5);
}

/* Page banner (interior pages) — mesma foto do hero, mais compacta */
.page-banner {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 96px 0 64px;
  overflow: hidden;
}

.page-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  animation: mastheadZoom 30s ease-in-out infinite alternate;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .page-banner__bg img { animation: none; }
}

.page-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(27, 30, 44, 0.93) 0%, rgba(27, 30, 44, 0.86) 45%, rgba(27, 30, 44, 0.55) 90%);
}

.page-banner .container { position: relative; z-index: 2; }

.page-banner h1 {
  color: #fff;
  margin-bottom: 0.6rem;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  text-shadow: 0 1px 2px rgba(27, 30, 44, 0.5), 0 2px 20px rgba(27, 30, 44, 0.35);
}
.page-banner p {
  color: var(--text-on-dark);
  max-width: 560px;
  text-shadow: 0 1px 2px rgba(27, 30, 44, 0.5);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section--tight { padding: 56px 0; }

.section--dark {
  background: var(--navy);
  color: var(--text-on-dark);
}

.section--dark h2 { color: #fff; }
.section--dark p { color: var(--text-muted-dark); }

.section--cream { background: var(--cream-2); }
.section--form { background: var(--cream); }

.section__head {
  max-width: 620px;
  margin-bottom: 48px;
}

/* Grids */
.grid { display: grid; gap: 40px; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--align-center { align-items: center; }
.grid--align-start { align-items: start; }

@media (max-width: 800px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

/* Índice de serviços — lista numerada, não cards com sombra */
.index-list {
  display: flex;
  flex-direction: column;
}

.index-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--rule-light);
  align-items: start;
}

.section--dark .index-item { border-top-color: var(--rule-dark); }

.index-item:last-child { border-bottom: 1px solid var(--rule-light); }
.section--dark .index-item:last-child { border-bottom-color: var(--rule-dark); }

.index-item__num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--bronze);
}

.section--dark .index-item__num { color: var(--gold); }

.index-item h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; margin-bottom: 8px; }
.index-item p { max-width: 620px; color: var(--text-muted-light); margin-bottom: 0; }
.section--dark .index-item p { color: var(--text-muted-dark); }

/* Posicionamento / editorial split */
.editorial {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.editorial--text-first {
  grid-template-columns: 1.15fr 0.85fr;
}

@media (max-width: 800px) {
  .editorial { grid-template-columns: 1fr; }
}

.editorial__frame {
  position: relative;
  filter: grayscale(0.15) contrast(1.02);
  border-radius: var(--radius);
  overflow: hidden;
}

.editorial__frame img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.editorial__frame:hover img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .editorial__frame:hover img { transform: none; }
}

.editorial__frame--fixed {
  aspect-ratio: 4 / 5;
}

.editorial__frame--fixed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial__frame--wide {
  aspect-ratio: 16 / 10;
}

.editorial__frame--wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 30, 44, 0.08), rgba(27, 30, 44, 0.28));
  pointer-events: none;
}

/* Formação — só os nomes, sem coluna de rótulo repetindo "Curso" */
.study-block {
  margin-top: 32px;
  padding-top: 4px;
}

.study {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  border-bottom: 1px solid var(--rule-light);
}

.study li {
  position: relative;
  padding: 14px 0 14px 24px;
  border-top: 1px solid var(--rule-light);
  font-size: 0.93rem;
  line-height: 1.5;
}

.study li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 12px;
  height: 1px;
  background: var(--bronze);
}

@media (max-width: 640px) {
  .study { grid-template-columns: 1fr; }
}

/* ============================================================
   Linha do tempo — a espinha da página Sobre.
   O trilho é estático; a linha dourada por cima é desenhada pelo
   scroll (--linha, 0→1). Sem JS ela nasce cheia, e o conteúdo
   nunca depende de script pra ficar legível.
   ============================================================ */
.timeline-section .container { max-width: 860px; }

.timeline {
  --rail: 128px;
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  position: relative;
}

/* trilho */
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  left: var(--rail);
  top: 10px;
  bottom: 10px;
  width: 1px;
}

.timeline::before { background: var(--rule-light); }

/* linha desenhada */
.timeline::after {
  background: linear-gradient(180deg, var(--bronze), var(--gold));
  transform: scaleY(var(--linha, 1));
  transform-origin: top;
}

.timeline__item {
  display: grid;
  grid-template-columns: var(--rail) 1fr;
  column-gap: 40px;
  padding: 0 0 52px;
  position: relative;
}

.timeline__item:last-child { padding-bottom: 0; }

/* nó */
.timeline__item::before {
  content: "";
  position: absolute;
  left: var(--rail);
  top: 12px;
  width: 11px;
  height: 11px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--bronze);
  box-shadow: 0 0 0 6px var(--cream);
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.timeline__year {
  grid-column: 1;
  text-align: right;
  padding-right: 28px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1;
  color: var(--bronze);
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums tabular-nums;
  margin: 0;
}

.timeline__body { grid-column: 2; }

.timeline__body h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.timeline__body p {
  color: var(--text-muted-light);
  max-width: 60ch;
  margin: 0;
}

.timeline__meta {
  display: block;
  margin-top: 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bronze);
}

/* Com JS, o trecho ainda não alcançado fica recuado — passado x presente.
   A classe só entra pelo script, então sem JS nada é escondido. */
.timeline.is-live { --linha: 0; }

.timeline.is-live .timeline__year,
.timeline.is-live .timeline__body {
  opacity: 0.38;
  transform: translateY(8px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline.is-live .timeline__item.is-reached .timeline__year,
.timeline.is-live .timeline__item.is-reached .timeline__body {
  opacity: 1;
  transform: none;
}

.timeline.is-live .timeline__item.is-reached::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 9px rgba(201, 151, 90, 0.18);
}

/* o marco de hoje pulsa uma vez ao ser alcançado, e só uma */
.timeline__item--agora.is-reached::before { animation: no-agora 1.1s cubic-bezier(0.16, 1, 0.3, 1) 1; }

@keyframes no-agora {
  0%   { box-shadow: 0 0 0 6px var(--cream), 0 0 0 9px rgba(201, 151, 90, 0.18); }
  55%  { box-shadow: 0 0 0 6px var(--cream), 0 0 0 22px rgba(201, 151, 90, 0); }
  100% { box-shadow: 0 0 0 6px var(--cream), 0 0 0 9px rgba(201, 151, 90, 0.18); }
}

@media (max-width: 720px) {
  .timeline { --rail: 7px; }
  .timeline__item { grid-template-columns: 1fr; column-gap: 0; padding-left: 32px; padding-bottom: 40px; }
  .timeline__year { grid-column: 1; text-align: left; padding-right: 0; margin-bottom: 4px; }
  .timeline__body { grid-column: 1; }
  .timeline__item::before { top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .timeline.is-live { --linha: 1; }
  .timeline.is-live .timeline__year,
  .timeline.is-live .timeline__body { opacity: 1; transform: none; transition: none; }
  .timeline__item--agora.is-reached::before { animation: none; }
}

/* ============================================================
   Retrato — o bloco de autoridade. Foto grande, texto ao lado.
   ============================================================ */
.portrait {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: center;
}

.portrait__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
}

.portrait__frame img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(0.2) contrast(1.04);
  transform: scale(1.01);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s ease;
}

.portrait__frame:hover img { transform: scale(1.045); filter: grayscale(0) contrast(1.06); }

/* a marca do escritório assinando o canto da foto */
.portrait__frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(27, 30, 44, 0.55));
  pointer-events: none;
}

.portrait__oab {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 18px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-light);
}

@media (max-width: 860px) {
  .portrait { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .portrait__frame img,
  .portrait__frame:hover img { transform: none; transition: none; }
}

/* ============================================================
   Números — prosa editorial, não régua de métrica.
   ============================================================ */
.pullstat {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.5;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pullstat span {
  display: block;
  padding-left: 2px;
  border-left: 0;
}

.section--dark .pullstat { color: var(--text-on-dark); }

.pullstat b {
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
  font-variant-numeric: lining-nums tabular-nums;
}

.pullstat__note {
  margin: 32px 0 0;
  font-size: 0.85rem;
  max-width: 64ch;
}

/* Método — lista, não grid de boxes */
.method-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.method-list__item {
  padding: 0 24px 0 0;
  border-left: 1px solid var(--rule-dark);
  padding-left: 24px;
}

.method-list__item:first-child { border-left: none; padding-left: 0; }

.method-list__num {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}

.method-list__item h3 { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; }
.method-list__item p { color: var(--text-muted-dark); font-size: 0.92rem; margin: 0; }

@media (max-width: 900px) {
  .method-list { grid-template-columns: 1fr 1fr; gap: 32px; }
  .method-list__item { border-left: none; padding-left: 0; border-top: 1px solid var(--rule-dark); padding-top: 20px; }
  .method-list__item:first-child { border-top: none; padding-top: 0; }
}

@media (max-width: 560px) {
  .method-list { grid-template-columns: 1fr; }
}

/* Quote */
.quote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  max-width: 760px;
  margin: 0;
  color: var(--ink);
}

.section--dark .quote { color: #fff; }

.quote__cite {
  display: block;
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bronze);
}

.section--dark .quote__cite { color: var(--gold); }

/* Radar Agro — listagem de artigos */
.radar-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--rule-light);
  align-items: start;
}

.radar-item:last-child { border-bottom: 1px solid var(--rule-light); }

.radar-item__tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bronze);
  font-weight: 600;
}

.radar-item__date {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-muted-light);
}

.radar-item h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; margin-bottom: 8px; }
.radar-item p { max-width: 620px; color: var(--text-muted-light); margin-bottom: 12px; }

@media (max-width: 640px) {
  .radar-item { grid-template-columns: 1fr; gap: 8px; }
}

/* Radar Agro — teaser compacto na Home */
.radar-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.radar-teaser__item {
  padding: 24px 0 0;
  border-top: 1px solid var(--rule-dark);
}

.radar-teaser__tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.radar-teaser__item h3 { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; color: #fff; margin-bottom: 8px; }
.radar-teaser__item p { color: var(--text-muted-dark); font-size: 0.92rem; margin-bottom: 10px; }

@media (max-width: 800px) {
  .radar-teaser { grid-template-columns: 1fr; gap: 24px; }
}

/* Página de artigo — TOC */
.article-toc {
  max-width: 680px;
  margin: 0 auto 48px;
  padding: 20px 24px;
  border: 1px solid var(--rule-light);
  background: var(--cream-2);
}

.article-toc__title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bronze);
  font-weight: 600;
  margin: 0 0 12px;
}

.article-toc ol {
  margin: 0;
  padding-left: 1.1rem;
  columns: 1;
}

.article-toc li { margin-bottom: 6px; font-size: 0.92rem; }
.article-toc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.article-toc a:hover { border-bottom-color: var(--bronze); }

/* Frase-definição em destaque, logo após o H1 */
.article-lead {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 680px;
  margin: 0 auto 8px;
}

/* Diagrama de processo — passos em linha (desktop) / coluna (mobile) */
.process-diagram {
  display: grid;
  grid-template-columns: repeat(var(--steps, 4), 1fr);
  gap: 0;
  margin: 2.2rem 0;
  max-width: 680px;
}

.process-diagram__step {
  position: relative;
  padding: 0 14px;
  text-align: center;
}

.process-diagram__step::before {
  content: "";
  position: absolute;
  top: 17px;
  left: -50%;
  width: 100%;
  height: 1px;
  background: var(--rule-light);
}

.process-diagram__step:first-child::before { display: none; }

.process-diagram__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--cream);
  font-family: var(--serif);
  color: var(--bronze);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.process-diagram__step h4 {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.process-diagram__step p {
  font-size: 0.78rem;
  color: var(--text-muted-light);
  margin: 0;
}

@media (max-width: 640px) {
  .process-diagram {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .process-diagram__step::before { display: none; }
}

/* Comparativo entra/não entra, antes/depois */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 2rem 0;
  max-width: 680px;
}

.compare-grid__col {
  padding: 20px;
  border: 1px solid var(--rule-light);
}

.compare-grid__col--positive { border-left: 3px solid var(--bronze); }
.compare-grid__col--negative { border-left: 3px solid var(--text-muted-light); }

.compare-grid__col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

.compare-grid__col ul { list-style: none; margin: 0; padding: 0; }
.compare-grid__col li {
  font-size: 0.94rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--cream-2);
}
.compare-grid__col li:last-child { border-bottom: none; }

@media (max-width: 640px) {
  .compare-grid { grid-template-columns: 1fr; }
}

/* Cenário comum (ilustrativo, sem cliente real) */
.scenario-box {
  max-width: 680px;
  margin: 2rem auto;
  padding: 24px 28px;
  background: var(--cream-2);
  border-left: 3px solid var(--gold);
}

.scenario-box__tag {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bronze);
  font-weight: 600;
  margin-bottom: 10px;
}

.scenario-box p { margin-bottom: 0; font-style: italic; color: var(--ink); }
.scenario-box p:not(:last-child) { margin-bottom: 0.8rem; }

/* CTA discreto no meio do artigo */
.mid-cta {
  max-width: 680px;
  margin: 2.4rem auto;
  padding: 18px 22px;
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.mid-cta p { margin: 0; font-size: 0.96rem; }

/* FAQ */
.article-faq {
  max-width: 680px;
  margin: 0 auto;
}

.article-faq details {
  border-bottom: 1px solid var(--rule-light);
  padding: 16px 0;
}

.article-faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

.article-faq summary::after {
  content: "+";
  font-family: var(--sans);
  color: var(--bronze);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.article-faq details[open] summary::after { content: "–"; }

.article-faq p {
  margin: 12px 0 0;
  color: var(--text-muted-light);
  font-size: 0.96rem;
}

/* Box de autor no final do artigo */
.author-box {
  max-width: 680px;
  margin: 2.5rem auto 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--rule-light);
  display: flex;
  align-items: center;
  gap: 18px;
}

.author-box img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(0.4);
}

.author-box strong { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 400; }
.author-box span { font-size: 0.85rem; color: var(--text-muted-light); }

/* Página de artigo — coluna de leitura */
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  margin-top: -6px;
}

.article-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 12px;
  color: var(--rule-dark);
}

.article-body {
  max-width: 680px;
  margin: 0 auto;
}

.article-body p { font-size: 1.05rem; color: var(--ink); }
.article-body h2 { margin-top: 2.4rem; font-size: 1.5rem; }
.article-body ul { margin: 0 0 1.5rem; padding-left: 1.2rem; }
.article-body li { margin-bottom: 0.5rem; font-size: 1.02rem; }

.article-sources {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-light);
  font-size: 0.82rem;
  color: var(--text-muted-light);
}

.article-sources a { color: var(--bronze); }

.article-related {
  border-top: 1px solid var(--rule-light);
  padding-top: 24px;
  margin-top: 24px;
}

.article-related h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bronze);
  margin: 0 0 16px;
}

.article-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.article-related a { color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.05rem; border-bottom: 1px solid transparent; }
.article-related a:hover { border-bottom-color: var(--bronze); }

/* Detalhe de área de atuação */
.service-detail {
  padding: 72px 0;
  border-bottom: 1px solid var(--rule-light);
}

.service-detail:last-of-type { border-bottom: none; }

.service-detail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.service-detail__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 0.96rem;
}

.service-detail__list li:first-child { border-top: 1px solid var(--rule-light); }

.service-detail__aside {
  padding: 28px 0 0;
  border-top: 1px solid var(--rule-light);
}

.service-detail__aside h3 { font-family: var(--serif); font-weight: 400; font-size: 1rem; margin-bottom: 8px; }
.service-detail__aside p { color: var(--text-muted-light); font-size: 0.92rem; margin: 0; }

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted-light);
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--rule-light);
  background: transparent;
  color: var(--ink);
  font-weight: 400;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-bottom-color: var(--bronze);
}

.form__note {
  font-size: 0.78rem;
  color: var(--text-muted-light);
  margin: 4px 0 0;
}

.form__feedback { font-size: 0.9rem; margin: 0; }
.form__feedback.is-ok { color: #2f6b3f; font-weight: 600; }
.form__feedback.is-error { color: #8b3a2f; font-weight: 600; }

/* Campo-isca do formulário: fora da tela, invisível pra pessoa. */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Signature */
.signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-light);
}

.signature-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(0.4);
}

.signature strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.signature span {
  font-size: 0.82rem;
  color: var(--text-muted-light);
}

/* Contato — canais */
.contact-channels {
  margin-top: 32px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule-light);
}

.contact-channel {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-light);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-channel strong {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted-light);
  font-weight: 600;
}

.contact-channel span, .contact-channel a {
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}

.contact-channel a:hover { color: var(--bronze); }

/* Footer */
.footer {
  background: var(--navy);
  color: var(--text-muted-dark);
  padding: 56px 0 32px;
  border-top: 1px solid var(--rule-dark);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule-dark);
}

@media (max-width: 700px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

.footer__mark {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.footer__col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 0 0 14px;
  font-weight: 600;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a, .footer__col span, .footer__col p {
  color: var(--text-muted-dark);
  text-decoration: none;
  font-size: 0.88rem;
  margin: 0;
}

.footer__col a:hover { color: #fff; }

.footer__bottom {
  padding-top: 24px;
  font-size: 0.78rem;
  color: var(--text-muted-dark);
}

/* Sem regra própria, este link caía no azul padrão do navegador sobre o
   navy do rodapé — ilegível, e em todas as páginas. */
.footer__bottom a {
  color: var(--text-on-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-dark);
  padding-bottom: 1px;
  transition: color 0.22s ease, border-color 0.22s ease;
}

.footer__bottom a:hover,
.footer__bottom a:focus-visible { color: var(--gold-light); border-bottom-color: var(--gold); }

/* Reveal — fade + leve deslocamento + desfoque, com stagger via JS */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(12px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* As molduras editoriais já carregam filtro próprio — o desfoque entra junto,
   senão a regra .reveal apagaria o grayscale delas */
.editorial__frame.reveal { filter: grayscale(0.15) contrast(1.02) blur(12px); }
.editorial__frame.reveal.is-visible { filter: grayscale(0.15) contrast(1.02) blur(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .editorial__frame.reveal,
  .editorial__frame.reveal.is-visible { filter: grayscale(0.15) contrast(1.02); }
}

/* Mobile */
@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .section { padding: 60px 0; }
  .service-detail { padding: 44px 0; }
  .masthead { padding: 72px 0 56px; }
  .index-item { grid-template-columns: 1fr; gap: 8px; }
  .signature { flex-wrap: wrap; }
  .footer__grid { padding-bottom: 28px; }
}
