/* ============================================================
   Patrícia Ocanha — Assistente Social
   Parte 1: tokens, reset, tipografia, botões, header, hero
   ============================================================ */

:root {
  --forest: #123D32;
  --forest-deep: #204E40;
  --forest-mid: #315D4C;
  --ivory: #F3F0E7;
  --beige: #E5DDCA;
  --gold: #C6A76B;
  --graphite: #252C28;

  --gold-soft: rgba(198, 167, 107, .42);
  --gold-line: rgba(198, 167, 107, .28);
  --ivory-dim: rgba(243, 240, 231, .74);
  --ivory-faint: rgba(243, 240, 231, .13);
  --ink-soft: rgba(37, 44, 40, .76);
  --ink-faint: rgba(37, 44, 40, .10);

  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gap: clamp(1.25rem, 4vw, 3rem);
  --sect-y: clamp(4.75rem, 9vw, 8.5rem);
  --rule: 1px solid var(--gold-line);

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

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.hero :focus-visible,
.projects :focus-visible,
.ethics :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible,
.site-header :focus-visible { outline-color: var(--beige); }

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

.skip-link {
  position: fixed; top: 0; left: 50%;
  transform: translate(-50%, -110%);
  z-index: 200;
  padding: .8rem 1.4rem;
  background: var(--gold);
  color: var(--forest);
  font-size: .82rem; font-weight: 500;
  letter-spacing: .04em;
  transition: transform .25s var(--ease-out);
}
.skip-link:focus { transform: translate(-50%, 0); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 5vw, 3rem);
}

/* ---------- tipografia ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.85rem, 1.15rem + 2.5vw, 3.15rem);
  line-height: 1.14;
  letter-spacing: -.018em;
  color: var(--forest);
  text-wrap: balance;
  max-width: 20ch;
}
.h2--light { color: var(--ivory); }

.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-size: .74rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: 1.5rem;
}
.eyebrow > span {
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: .02em;
  color: var(--gold);
  padding-right: .7rem;
  border-right: 1px solid var(--gold-line);
  line-height: 1;
}
.eyebrow--light { color: var(--gold); }
.eyebrow--light > span { color: var(--ivory-dim); border-right-color: var(--ivory-faint); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: end;
}
.section-lead {
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 42ch;
  line-height: 1.75;
}
.section-lead--right { margin-top: 0; justify-self: end; max-width: 34ch; text-align: right; }

.ico {
  width: 1.05em; height: 1.05em;
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}
.ico--arrow { transition: transform .35s var(--ease-out); }
.ico--down { }

/* ---------- botões ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ivory);
  --btn-bd: rgba(243, 240, 231, .4);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .65rem;
  padding: 1rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 0;
  font-family: var(--sans);
  font-size: .86rem; font-weight: 500;
  letter-spacing: .055em;
  line-height: 1.2;
  cursor: pointer;
  overflow: hidden;
  transition: color .35s var(--ease), border-color .35s var(--ease),
              background-color .35s var(--ease), transform .2s var(--ease);
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.6);
  transform-origin: left;
  transition: transform .45s var(--ease-out), opacity .3s var(--ease);
  z-index: -1;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover .ico--arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--forest); --btn-bd: var(--gold); font-weight: 500; }
.btn--gold:hover { --btn-bg: #D3B77F; --btn-bd: #D3B77F; }

.btn--outline { --btn-fg: var(--ivory); --btn-bd: rgba(243, 240, 231, .38); }
.btn--outline:hover { --btn-bd: var(--gold); --btn-fg: var(--gold); }

.btn--solid { --btn-bg: var(--forest); --btn-fg: var(--ivory); --btn-bd: var(--forest); }
.btn--solid:hover { --btn-bg: var(--forest-deep); --btn-bd: var(--forest-deep); }

.btn--ghost { --btn-fg: var(--forest); --btn-bd: rgba(18, 61, 50, .3); }
.btn--ghost:hover { --btn-bd: var(--forest); --btn-fg: var(--ivory); --btn-bg: var(--forest); }

.btn--block { width: 100%; }
.btn--lg { padding: 1.15rem 2.2rem; font-size: .9rem; }
.btn.is-pulsing { animation: cta-pulse 2.4s var(--ease) 2; }
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198, 167, 107, 0); }
  45% { box-shadow: 0 0 0 7px rgba(198, 167, 107, .16); }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .88rem; font-weight: 500;
  letter-spacing: .04em;
  color: var(--forest);
  padding-bottom: .3rem;
  border-bottom: 1px solid var(--gold-soft);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.link-arrow:hover { border-bottom-color: var(--forest); }
.link-arrow:hover .ico--arrow { transform: translateX(4px); }

/* ---------- progresso ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0;
  height: 2px; z-index: 120;
  background: transparent;
  pointer-events: none;
}
#scroll-progress-bar {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--forest-mid), var(--gold));
  transition: width .12s linear;
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 110;
  background: transparent;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease),
              backdrop-filter .5s var(--ease);
}
.header-inner {
  width: 100%; max-width: 1320px;
  margin-inline: auto;
  padding: clamp(.9rem, 2vw, 1.35rem) clamp(1.15rem, 5vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  transition: padding .45s var(--ease);
}
.site-header.is-solid {
  background: var(--forest);
  box-shadow: 0 1px 0 rgba(198, 167, 107, .16), 0 18px 40px -30px rgba(0, 0, 0, .7);
}
.site-header.is-solid .header-inner { padding-block: .78rem; }

.brand { display: flex; align-items: center; gap: .8rem; min-width: 0; }
/* A marca original é verde-escura e foi criada para fundo claro.
   Sobre o verde do site ela desapareceria (contraste ~1,1:1), por isso
   recebe uma superfície clara — sem nenhuma alteração no arquivo da logo. */
.brand-mark {
  flex: none;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--ivory);
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  transition: border-color .4s var(--ease), transform .6s var(--ease-out);
  box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .55);
}
/* só redimensionamento proporcional: a marca nunca é redesenhada */
.brand-mark img {
  height: 32px; width: auto;
  max-width: 82%;
  object-fit: contain;
  display: block;
}
.brand:hover .brand-mark { border-color: var(--gold-soft); transform: rotate(-4deg); }
.brand-type { display: grid; gap: .16rem; min-width: 0; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.16rem; font-weight: 400;
  letter-spacing: .012em;
  color: var(--ivory);
  line-height: 1.1;
  white-space: nowrap;
}
.brand-role {
  display: flex; align-items: center; gap: .45rem;
  font-size: .635rem; font-weight: 400;
  letter-spacing: .155em; text-transform: uppercase;
  color: rgba(243, 240, 231, .62);
  white-space: nowrap;
}
.brand-role-sep {
  width: 4px; height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

.nav-desktop { display: flex; align-items: center; gap: clamp(.85rem, 1.7vw, 1.7rem); }
.nav-link {
  position: relative;
  padding-block: .35rem;
  font-size: .795rem; font-weight: 400;
  letter-spacing: .085em;
  color: rgba(243, 240, 231, .82);
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover { color: var(--ivory); }
.nav-link:hover::after,
.nav-link.is-current::after { transform: scaleX(1); }
.nav-link.is-current { color: var(--ivory); }
.nav-link--cta {
  padding: .58rem 1.15rem;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: var(--gold); color: var(--forest); border-color: var(--gold); }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--gold-line);
  cursor: pointer;
  place-items: center;
}
.menu-toggle-lines { display: grid; gap: 5px; width: 19px; }
.menu-toggle-lines i {
  display: block; height: 1px; width: 100%;
  background: var(--ivory);
  transition: transform .4s var(--ease-out), opacity .25s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { transform: translateY(-3px) rotate(-45deg); }

.menu-mobile {
  display: none;
  background: var(--forest-deep);
  border-top: 1px solid var(--ivory-faint);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}
.menu-mobile nav { display: grid; padding: .5rem clamp(1.15rem, 5vw, 3rem) .9rem; }
.menu-mobile nav a {
  padding: .95rem 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ivory);
  border-bottom: 1px solid rgba(243, 240, 231, .07);
  transition: color .25s var(--ease), padding-left .3s var(--ease);
}
.menu-mobile nav a:hover,
.menu-mobile nav a:focus-visible { color: var(--gold); padding-left: .35rem; }
.menu-mobile-foot {
  padding: .4rem clamp(1.15rem, 5vw, 3rem) 1.6rem;
  display: grid; gap: .9rem;
}
.menu-mobile-mail {
  font-size: .82rem;
  color: var(--ivory-dim);
  text-align: center;
  word-break: break-word;
}
/* ============================================================
   Parte 2: hero, princípios, sobre
   ============================================================ */

.hero {
  position: relative;
  min-height: min(100vh, 940px);
  min-height: min(100svh, 940px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--forest);
  color: var(--ivory);
  overflow: hidden;
  padding-block: clamp(7rem, 14vh, 10rem) clamp(4.5rem, 9vh, 6rem);
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-grain {
  position: absolute; inset: 0;
  opacity: .5;
  background-image:
    radial-gradient(circle at 78% 32%, rgba(49, 93, 76, .55), transparent 55%),
    radial-gradient(circle at 8% 92%, rgba(32, 78, 64, .85), transparent 48%);
}
.hero-arc {
  position: absolute;
  border: 1px solid rgba(198, 167, 107, .16);
  border-radius: 50%;
}
.hero-arc--1 {
  width: min(96vw, 780px); aspect-ratio: 1;
  right: -14vw; top: 50%;
  transform: translateY(-50%);
}
.hero-arc--2 {
  width: min(70vw, 520px); aspect-ratio: 1;
  right: -4vw; top: 50%;
  transform: translateY(-50%);
  border-color: rgba(198, 167, 107, .1);
}

.hero-inner {
  width: 100%; max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-copy { max-width: 40rem; }

.hero-kicker {
  display: flex; align-items: center; gap: .75rem;
  font-size: .7rem; font-weight: 400;
  letter-spacing: .21em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(1.1rem, 2.5vw, 1.7rem);
}
.rule-mini { width: 34px; height: 1px; background: var(--gold-soft); flex: none; }

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.15rem, 1.1rem + 4.35vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: -.026em;
  color: var(--ivory);
  margin-bottom: clamp(1.15rem, 2.4vw, 1.7rem);
}
.hero-line { display: block; }

.hero-sub {
  max-width: 34rem;
  font-size: clamp(.95rem, .9rem + .22vw, 1.075rem);
  line-height: 1.78;
  color: rgba(243, 240, 231, .78);
  font-weight: 300;
}

.hero-id {
  margin-top: clamp(1.4rem, 3vw, 2.1rem);
  padding-left: 1rem;
  border-left: 1px solid var(--gold-soft);
}
.hero-id-name {
  font-family: var(--serif);
  font-size: 1.06rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ivory);
  line-height: 1.3;
}
.hero-id-role {
  display: flex; align-items: center; gap: .55rem;
  margin-top: .3rem;
  font-size: .68rem; font-weight: 400;
  letter-spacing: .17em; text-transform: uppercase;
  color: rgba(243, 240, 231, .58);
}
.id-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); flex: none; }

.hero-actions {
  display: flex; flex-wrap: wrap; gap: .85rem;
  margin-top: clamp(1.7rem, 3.5vw, 2.4rem);
}

/* selo à direita */
.hero-seal {
  position: relative;
  justify-self: center;
  width: min(100%, 380px);
  aspect-ratio: 1;
}
.seal-body {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  will-change: transform;
}
.seal-frame { position: absolute; inset: 0; display: grid; place-items: center; }
.seal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(198, 167, 107, .3);
}
.seal-ring--outer { inset: 0; }
.seal-ring--inner { inset: 12%; border-color: rgba(198, 167, 107, .16); }
.seal-tick {
  position: absolute;
  background: var(--gold);
  opacity: .75;
}
.seal-tick--n, .seal-tick--s { width: 1px; height: 9px; left: 50%; margin-left: -.5px; }
.seal-tick--n { top: -4px; }
.seal-tick--s { bottom: -4px; }
.seal-tick--e, .seal-tick--w { height: 1px; width: 9px; top: 50%; margin-top: -.5px; }
.seal-tick--e { right: -4px; }
.seal-tick--w { left: -4px; }

/* Marca completa dentro de uma placa clara: a identidade foi criada para
   fundo claro e é aplicada aqui sem qualquer alteração de cor ou desenho.
   object-fit garante proporção intacta dentro da placa. */
.seal-mark {
  position: relative;
  width: 76%;
  height: auto;
  margin-top: -3%;
  display: block;
  object-fit: contain;
  background: var(--ivory);
  padding: 1rem .9rem;
  border-radius: 2px;
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .6);
}
.seal-caption {
  position: absolute;
  bottom: 9%;
  text-align: center;
  font-size: .63rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.7;
}
.seal-caption span { color: rgba(243, 240, 231, .5); letter-spacing: .18em; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: clamp(1.1rem, 2.5vh, 2rem);
  transform: translateX(-50%);
  display: grid; justify-items: center; gap: .55rem;
  font-size: .6rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(243, 240, 231, .48);
  padding: .4rem;
  transition: color .3s var(--ease);
}
.scroll-cue:hover { color: var(--gold); }
.scroll-cue-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--gold-soft) 35%, var(--gold-soft));
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold);
  animation: cue-run 2.6s var(--ease) infinite;
}
@keyframes cue-run {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- princípios ---------- */
.principles {
  background: var(--beige);
  padding-block: clamp(1.9rem, 4vw, 2.9rem);
  border-bottom: 1px solid rgba(18, 61, 50, .08);
}
.principles-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.principles-label {
  font-family: var(--serif);
  font-size: .98rem;
  font-style: italic;
  color: var(--forest-deep);
  line-height: 1.45;
  border-right: 1px solid rgba(18, 61, 50, .16);
  padding-right: 1.5rem;
}
.principles-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.9rem;
}
.principles-list li {
  position: relative;
  padding-left: 1rem;
  font-size: .8rem;
  letter-spacing: .035em;
  color: var(--forest);
  line-height: 1.5;
}
.principles-list li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* ---------- sobre ---------- */
.about {
  background: var(--ivory);
  padding-block: var(--sect-y);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.about-plate {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--forest);
  will-change: transform;
  overflow: hidden;
}
.plate-figure { display: grid; gap: 1.6rem; justify-items: center; }
/* Marca completa sobre superfície clara, mantendo a placa verde ao redor.
   Nenhuma alteração no arquivo da logo, apenas na superfície que a recebe. */
.plate-emblem {
  width: min(78%, 250px);
  height: auto;
  display: block;
  object-fit: contain;
  background: var(--ivory);
  padding: 1.15rem 1rem;
  border-radius: 2px;
}
.plate-caption { display: grid; gap: .3rem; text-align: center; }
.plate-caption-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ivory);
}
.plate-caption-role {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}
.plate-caption-oreg {
  font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(243, 240, 231, .76);
}
.plate-corner {
  position: absolute;
  width: 26px; height: 26px;
  border: 1px solid var(--gold);
  opacity: .8;
}
.plate-corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.plate-corner--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.about-copy .h2 { max-width: 22ch; }
.about-lead {
  margin-top: 1.6rem;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1rem + .5vw, 1.34rem);
  line-height: 1.6;
  color: var(--forest-deep);
  max-width: 38ch;
}
.about-body {
  margin-top: 1.4rem;
  display: grid; gap: .95rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.about-facts {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 2rem;
  padding-top: 1.6rem;
  border-top: var(--rule);
}
.about-facts dt {
  font-size: .64rem; letter-spacing: .19em; text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: .22rem;
}
.about-facts dd {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--graphite);
  line-height: 1.4;
}
/* ============================================================
   Parte 3: atuação, projetos, honorários, critérios
   ============================================================ */

.services { background: var(--ivory); padding-block: 0 var(--sect-y); }
.services .section-head { padding-top: 0; }

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--rule);
  border-left: var(--rule);
  background: rgba(229, 221, 202, .22);
}
.service {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "num main" ". ico";
  gap: .5rem 1.15rem;
  padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.3rem, 2.6vw, 2rem);
  border-right: var(--rule);
  border-bottom: var(--rule);
  background: var(--ivory);
  transition: background-color .5s var(--ease);
}
.service::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .55s var(--ease-out);
}
.service:hover,
.service:focus-within { background: #EBE6D8; }
.service:hover::before,
.service:focus-within::before { transform: scaleY(1); }

.service-num {
  grid-area: num;
  font-family: var(--serif);
  font-size: .82rem;
  letter-spacing: .1em;
  color: var(--gold);
  padding-top: .42rem;
  line-height: 1;
}
.service-main { grid-area: main; }
.service-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.16rem, 1rem + .5vw, 1.42rem);
  line-height: 1.28;
  letter-spacing: -.008em;
  color: var(--forest);
  transition: color .35s var(--ease);
}
.service-desc {
  margin-top: .6rem;
  font-size: .93rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 40ch;
}
.service-ico {
  grid-area: ico;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  margin-top: .9rem;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--forest-mid);
  transition: color .4s var(--ease), border-color .4s var(--ease),
              transform .5s var(--ease-out), background-color .4s var(--ease);
}
.service-ico svg {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor;
  stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round;
}
.service:hover .service-ico,
.service:focus-within .service-ico {
  color: var(--gold);
  border-color: var(--gold-soft);
  transform: translateY(-3px);
}

.service-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.05rem;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--forest-mid);
  padding-bottom: .28rem;
  border-bottom: 1px solid var(--gold-line);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.service-link .ico { width: .95em; height: .95em; }
.service-link:hover { color: var(--forest); border-bottom-color: var(--forest); }
.service-link:hover .ico--arrow { transform: translateX(3px); }

.services-note {
  display: flex; align-items: flex-start; gap: .7rem;
  margin-top: 1.9rem;
  font-size: .84rem;
  color: var(--ink-soft);
  max-width: 60ch;
}
.services-note .ico { width: 1.1rem; height: 1.1rem; margin-top: .18rem; color: var(--forest-mid); }
.services-note a {
  color: var(--forest);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 1px;
  transition: border-color .3s var(--ease);
  white-space: nowrap;
}
.services-note a:hover { border-bottom-color: var(--forest); }

/* ---------- projetos ---------- */
.projects {
  position: relative;
  background: var(--forest-deep);
  color: var(--ivory);
  padding-block: var(--sect-y);
  overflow: hidden;
  isolation: isolate;
}
.projects-bg { position: absolute; inset: 0; z-index: -1; }
.projects-arc {
  position: absolute;
  width: min(120vw, 900px); aspect-ratio: 1;
  left: -38vw; bottom: -55%;
  border-radius: 50%;
  border: 1px solid rgba(198, 167, 107, .13);
  background: radial-gradient(circle at 60% 40%, rgba(18, 61, 50, .55), transparent 62%);
}
.projects-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.projects-copy .h2 { max-width: 18ch; }
.projects-lead {
  margin-top: 1.6rem;
  max-width: 42ch;
  color: rgba(243, 240, 231, .78);
  line-height: 1.8;
}
.projects-tags {
  display: flex; flex-wrap: wrap; gap: .45rem;
  margin-top: 1.7rem;
  margin-bottom: 2.1rem;
}
.projects-tags li {
  padding: .42rem .85rem;
  border: 1px solid rgba(198, 167, 107, .26);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(243, 240, 231, .8);
}

.projects-panel {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid rgba(243, 240, 231, .13);
  background: rgba(18, 61, 50, .42);
  backdrop-filter: blur(2px);
}
.panel-title {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(243, 240, 231, .13);
}
.panel-list { display: grid; }
.panel-list li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  align-items: baseline;
  gap: .4rem;
  padding: .92rem 0;
  border-bottom: 1px solid rgba(243, 240, 231, .075);
  font-size: .95rem;
  color: rgba(243, 240, 231, .9);
  transition: color .3s var(--ease), padding-left .35s var(--ease);
}
.panel-list li:last-child { border-bottom: 0; }
.panel-list li:hover { color: var(--gold); padding-left: .3rem; }
.panel-index {
  font-family: var(--serif);
  font-size: .78rem;
  color: rgba(198, 167, 107, .72);
  letter-spacing: .06em;
}

/* ---------- honorários ---------- */
.fees { background: var(--ivory); padding-block: var(--sect-y); }

.ledger {
  border-top: 1px solid rgba(18, 61, 50, .22);
  border-bottom: 1px solid rgba(18, 61, 50, .22);
}
.ledger-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 13rem 12.5rem;
  gap: 1.2rem;
  align-items: center;
  padding: .95rem 0;
  border-bottom: var(--rule);
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--forest-mid);
}
.ledger-head span:nth-child(2) { text-align: right; }

.ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 13rem 12.5rem;
  gap: 1.2rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(18, 61, 50, .1);
  transition: background-color .45s var(--ease);
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-row:hover { background: rgba(229, 221, 202, .5); }

.ledger-name {
  font-family: var(--serif);
  font-size: clamp(1.02rem, .96rem + .3vw, 1.16rem);
  color: var(--forest);
  line-height: 1.4;
}
.ledger-name em {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: .76rem;
  letter-spacing: .015em;
  color: var(--ink-soft);
  margin-top: .18rem;
}
.ledger-value {
  text-align: right;
  font-family: var(--serif);
  font-size: 1.06rem;
  letter-spacing: .005em;
  color: var(--forest-deep);
  white-space: nowrap;
}
.ledger-value small { font-family: var(--sans); font-size: .72rem; color: var(--ink-soft); margin-left: .1rem; }
.ledger-cta { text-align: right; }

.ledger-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .62rem 1.05rem;
  border: 1px solid rgba(18, 61, 50, .26);
  font-size: .755rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--forest);
  white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease);
}
.ledger-btn:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--ivory);
}

.fees-foot {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.6rem 2.5rem;
  align-items: start;
}
.fees-note {
  display: flex; gap: .7rem;
  font-size: .86rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 52ch;
}
.fees-note .ico { width: 1.1rem; height: 1.1rem; margin-top: .2rem; color: var(--forest-mid); flex: none; }
.fees-list {
  grid-column: 1;
  font-size: .86rem;
  color: var(--ink-soft);
  max-width: 52ch;
  padding-left: 1.1rem;
  border-left: 1px solid var(--gold-line);
}
.fees-foot .btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

/* ---------- critérios ---------- */
.criteria { background: var(--beige); padding-block: var(--sect-y); }
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(18, 61, 50, .12);
  border: 1px solid rgba(18, 61, 50, .12);
}
.criterion {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  background: var(--beige);
  transition: background-color .45s var(--ease);
}
.criterion:hover { background: #EFE9DA; }
.criterion-ico {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(18, 61, 50, .2);
  border-radius: 50%;
  color: var(--forest);
  margin-bottom: 1.15rem;
  transition: border-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease-out);
}
.criterion-ico svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}
.criterion:hover .criterion-ico { border-color: var(--gold); color: #8E7540; transform: translateY(-3px); }
.criterion h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.32;
  color: var(--forest);
}
.criterion p {
  margin-top: .55rem;
  font-size: .88rem;
  line-height: 1.68;
  color: var(--ink-soft);
}
/* ============================================================
   Parte 4: etapas, pagamento, ética, FAQ
   ============================================================ */

.steps { background: var(--ivory); padding-block: var(--sect-y); }
.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(18, 61, 50, .2);
  counter-reset: step;
}
.step {
  position: relative;
  padding: clamp(1.4rem, 2.6vw, 1.9rem) clamp(1rem, 2vw, 1.6rem) clamp(1.6rem, 3vw, 2.2rem) 0;
  border-right: 1px solid rgba(18, 61, 50, .1);
}
.step:last-child { border-right: 0; }
.step::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 100%; height: 1px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.step.is-in::before { transform: scaleX(1); }
.step:nth-child(2).is-in::before { transition-delay: .12s; }
.step:nth-child(3).is-in::before { transition-delay: .24s; }
.step:nth-child(4).is-in::before { transition-delay: .36s; }

.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 300;
  letter-spacing: .02em;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .95rem;
}
.step-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--forest);
}
.step-body p {
  margin-top: .5rem;
  font-size: .89rem;
  line-height: 1.68;
  color: var(--ink-soft);
}

/* ---------- pagamento ---------- */
.payment {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.6rem, 3.2vw, 2.4rem);
  background: var(--forest);
  color: var(--ivory);
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem) clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.payment-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -.012em;
  color: var(--ivory);
}
.payment-sub {
  margin-top: .7rem;
  font-size: .86rem;
  line-height: 1.65;
  color: rgba(243, 240, 231, .66);
  max-width: 26ch;
}
.payment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.6rem;
}
.payment-list li {
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr);
  gap: .6rem;
  align-items: start;
}
.pay-ico {
  display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem;
  border: 1px solid rgba(198, 167, 107, .32);
  border-radius: 50%;
  color: var(--gold);
}
.pay-ico svg {
  width: 13px; height: 13px;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.payment-list li > span:last-child {
  font-size: .84rem;
  line-height: 1.6;
  color: rgba(243, 240, 231, .62);
}
.payment-list strong {
  display: block;
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .005em;
  color: var(--ivory);
  margin-bottom: .1rem;
}
.payment-note {
  grid-column: 1 / -1;
  margin-top: .4rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(243, 240, 231, .13);
  font-size: .8rem;
  line-height: 1.65;
  color: rgba(243, 240, 231, .74);
}

/* ---------- ética ---------- */
.ethics {
  position: relative;
  background: var(--forest);
  color: var(--ivory);
  padding-block: var(--sect-y);
  overflow: hidden;
}
.ethics::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: min(90vw, 620px); aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(198, 167, 107, .1);
  pointer-events: none;
}
.ethics-inner { position: relative; }
.ethics-copy { max-width: 40rem; margin-bottom: clamp(2.2rem, 4.5vw, 3.4rem); }
.ethics-copy .h2 { max-width: 24ch; }
.ethics-lead {
  margin-top: 1.5rem;
  font-size: clamp(1rem, .95rem + .25vw, 1.1rem);
  line-height: 1.78;
  color: rgba(243, 240, 231, .76);
  max-width: 44ch;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(243, 240, 231, .1);
  border: 1px solid rgba(243, 240, 231, .1);
}
.pillar {
  padding: clamp(1.35rem, 2.6vw, 1.85rem);
  background: var(--forest);
  transition: background-color .45s var(--ease);
}
.pillar:hover { background: var(--forest-deep); }
.pillar-ico {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(198, 167, 107, .3);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: 1.05rem;
  transition: border-color .4s var(--ease), transform .5s var(--ease-out);
}
.pillar:hover .pillar-ico { border-color: var(--gold); transform: translateY(-3px); }
.pillar-ico svg {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor;
  stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}
.pillar h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.06rem;
  line-height: 1.3;
  color: var(--ivory);
}
.pillar p {
  margin-top: .5rem;
  font-size: .855rem;
  line-height: 1.68;
  color: rgba(243, 240, 231, .62);
}
.ethics-ref {
  margin-top: 1.9rem;
  font-size: .8rem;
  line-height: 1.7;
  color: rgba(243, 240, 231, .74);
  max-width: 62ch;
}
.ethics-ref a {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
  margin-left: .3rem;
}
.ethics-ref a:hover { border-bottom-color: var(--gold-soft); }

/* ---------- FAQ ---------- */
.faq { background: var(--ivory); padding-block: var(--sect-y); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
.faq-head { position: sticky; top: 120px; }
.faq-head .h2 { max-width: 15ch; }
.faq-head .section-lead { margin-bottom: 1.7rem; }

.accordion { border-top: 1px solid rgba(18, 61, 50, .2); }
.acc-item { border-bottom: 1px solid rgba(18, 61, 50, .12); }
.acc-heading { font: inherit; }
.acc-trigger {
  width: 100%;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.02rem, .96rem + .32vw, 1.2rem);
  line-height: 1.4;
  color: var(--forest);
  transition: color .3s var(--ease);
}
.acc-trigger:hover { color: var(--forest-mid); }
.acc-trigger span:first-child { max-width: 42ch; }

.acc-icon {
  position: relative;
  flex: none;
  width: 15px; height: 15px;
  margin-top: .3rem;
  align-self: flex-start;
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transition: transform .45s var(--ease-out), opacity .3s var(--ease);
}
.acc-icon::after { transform: rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: rotate(0deg); opacity: 0; }

.acc-panel { overflow: hidden; }
.acc-panel > p {
  padding: 0 2.4rem 1.45rem 0;
  font-size: .93rem;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 58ch;
}
.acc-panel[hidden] { display: none; }
.acc-panel.is-animating { will-change: height; }
/* ============================================================
   Parte 5: contato, formulário, rodapé, flutuante
   ============================================================ */

.contact {
  position: relative;
  background: var(--forest-deep);
  color: var(--ivory);
  padding-block: var(--sect-y);
  overflow: hidden;
  isolation: isolate;
}
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-grain {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 14%, rgba(49, 93, 76, .6), transparent 52%),
    radial-gradient(circle at 4% 96%, rgba(18, 61, 50, .8), transparent 46%);
}
.contact-arc {
  position: absolute;
  width: min(88vw, 620px); aspect-ratio: 1;
  right: -26vw; top: -18%;
  border-radius: 50%;
  border: 1px solid rgba(198, 167, 107, .12);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-copy .h2 { max-width: 17ch; }
.contact-lead {
  margin: 1.5rem 0 2rem;
  font-size: clamp(.98rem, .94rem + .2vw, 1.06rem);
  line-height: 1.8;
  color: rgba(243, 240, 231, .78);
  max-width: 40ch;
}
.contact-facts {
  margin-top: 2.4rem;
  display: grid; gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(243, 240, 231, .13);
}
.contact-facts li {
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(243, 240, 231, .86);
  overflow-wrap: anywhere;
}
.contact-ico {
  display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem;
  border: 1px solid rgba(198, 167, 107, .3);
  border-radius: 50%;
  color: var(--gold);
}
.contact-ico svg {
  width: 13px; height: 13px;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.fact-label {
  display: block;
  font-size: .62rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .12rem;
}
.contact-facts a {
  border-bottom: 1px solid rgba(243, 240, 231, .22);
  padding-bottom: 1px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.contact-facts a:hover { color: var(--gold); border-bottom-color: var(--gold-soft); }

/* ---------- formulário ---------- */
.contact-form-wrap {
  background: var(--ivory);
  color: var(--graphite);
  padding: clamp(1.5rem, 3.4vw, 2.6rem);
}
.form-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem);
  line-height: 1.2;
  color: var(--forest);
}
.form-sub {
  margin-top: .6rem;
  font-size: .82rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 44ch;
}
.contact-form { display: grid; gap: 1.1rem; margin-top: 1.7rem; }

.field { display: grid; gap: .38rem; }
.field label {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest-mid);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .78rem .9rem;
  background: #FBF9F3;
  border: 1px solid rgba(18, 61, 50, .2);
  border-radius: 0;
  color: var(--graphite);
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.5;
  transition: border-color .3s var(--ease), background-color .3s var(--ease),
              box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 6.2rem; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(37, 44, 40, .38); font-weight: 300; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(18, 61, 50, .34); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest-mid);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(49, 93, 76, .1);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #9A3B2E;
  background: #FBF2F0;
}
.field-error {
  font-size: .76rem;
  line-height: 1.5;
  color: #9A3B2E;
}
.field-hint {
  font-size: .74rem;
  line-height: 1.55;
  color: rgba(37, 44, 40, .72);
}

.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  padding-right: 2.4rem;
  cursor: pointer;
}
.select-chevron {
  position: absolute;
  right: .85rem; top: 50%;
  transform: translateY(-50%);
  width: 15px; height: 15px;
  fill: none; stroke: var(--forest-mid);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  pointer-events: none;
}

.form-actions { display: grid; gap: .6rem; margin-top: .3rem; }
.contact-form .btn--ghost { font-size: .82rem; padding: .85rem 1.4rem; }

.form-privacy {
  font-size: .74rem;
  line-height: 1.65;
  color: rgba(37, 44, 40, .74);
  border-top: 1px solid rgba(18, 61, 50, .12);
  padding-top: 1rem;
}
.form-privacy a {
  color: var(--forest);
  border-bottom: 1px solid var(--gold-soft);
  white-space: nowrap;
}
.form-privacy a:hover { border-bottom-color: var(--forest); }

.form-status {
  padding: .85rem 1rem;
  font-size: .82rem;
  line-height: 1.6;
  border-left: 2px solid var(--gold);
  background: rgba(198, 167, 107, .12);
  color: var(--forest);
}
.form-status[data-state="error"] {
  border-left-color: #9A3B2E;
  background: rgba(154, 59, 46, .08);
  color: #7B2E23;
}

/* ---------- rodapé ---------- */
.site-footer {
  background: var(--forest);
  color: var(--ivory);
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(1.6rem, 3vw, 2.2rem);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 1.6rem 2.5rem;
  align-items: center;
  padding-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
  border-bottom: 1px solid rgba(243, 240, 231, .13);
}
.footer-brand { display: flex; align-items: center; gap: 1.1rem; }
/* mesmo tratamento do cabeçalho: superfície clara sob a marca original */
.footer-mark {
  width: 62px; height: 62px;
  flex: none;
  display: block;
  object-fit: contain;
  background: var(--ivory);
  border-radius: 50%;
  padding: 7px;
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .5);
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ivory);
  line-height: 1.15;
}
.footer-role {
  font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold);
  margin-top: .28rem;
}
.footer-oreg {
  font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(243, 240, 231, .76);
  margin-top: .15rem;
}
.footer-tag {
  justify-self: end;
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  letter-spacing: .01em;
  color: rgba(243, 240, 231, .66);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(1.8rem, 3.5vw, 2.6rem);
}
.footer-col-title {
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .95rem;
}
.footer-col ul { display: grid; gap: .5rem; }
.footer-col li { font-size: .855rem; line-height: 1.55; color: rgba(243, 240, 231, .7); }
.footer-col a {
  color: rgba(243, 240, 231, .7);
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
  overflow-wrap: anywhere;
}
.footer-col a:hover { color: var(--ivory); border-bottom-color: var(--gold-soft); }

.footer-legal {
  border-top: 1px solid rgba(243, 240, 231, .13);
  padding-top: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: .9rem;
}
.privacy { max-width: 78ch; }
.privacy summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem;
  letter-spacing: .06em;
  color: rgba(243, 240, 231, .8);
  transition: color .3s var(--ease);
}
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::before {
  content: "+";
  font-size: .95rem;
  color: var(--gold);
  line-height: 1;
  transition: transform .3s var(--ease);
}
.privacy[open] summary::before { content: "\2013"; }
.privacy summary:hover { color: var(--ivory); }
.privacy-body {
  margin-top: .9rem;
  display: grid; gap: .7rem;
  font-size: .79rem;
  line-height: 1.72;
  color: rgba(243, 240, 231, .74);
  max-width: 74ch;
  padding-left: 1.1rem;
  border-left: 1px solid rgba(243, 240, 231, .13);
}
.copyright {
  font-size: .76rem;
  letter-spacing: .02em;
  color: rgba(243, 240, 231, .66);
}
.legal-note {
  font-size: .72rem;
  line-height: 1.65;
  color: rgba(243, 240, 231, .72);
  max-width: 70ch;
}

/* ---------- whatsapp flutuante ---------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--forest);
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  color: var(--gold);
  box-shadow: 0 12px 30px -12px rgba(18, 61, 50, .65);
  opacity: 0;
  transform: translateY(14px) scale(.92);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease-out),
              background-color .35s var(--ease), color .35s var(--ease);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor;
  stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round;
}
.wa-float:hover { background: var(--gold); color: var(--forest); }
.wa-float::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  animation: wa-ring 3.4s var(--ease) infinite;
}
@keyframes wa-ring {
  0% { transform: scale(1); opacity: .5; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}
/* ============================================================
   Parte 6: revelações, responsivo, movimento reduzido, print
   ============================================================ */

/* ---------- entrada do hero (uma única sequência) ---------- */
/* sequência de entrada da dobra — só quando há suporte a animação */
@media (prefers-reduced-motion: no-preference) {
  .hero-kicker,
  .hero-title .hero-line,
  .hero-sub,
  .hero-id,
  .hero-actions,
  .hero-seal,
  .scroll-cue {
    opacity: 0;
    transform: translateY(18px);
    animation: hero-in 1.1s var(--ease-out) forwards;
  }
  .hero-kicker { animation-delay: .05s; }
  .hero-title .hero-line:nth-child(1) { animation-delay: .16s; }
  .hero-title .hero-line:nth-child(2) { animation-delay: .26s; }
  .hero-title .hero-line:nth-child(3) { animation-delay: .36s; }
  .hero-sub { animation-delay: .46s; }
  .hero-id { animation-delay: .56s; }
  .hero-actions { animation-delay: .66s; }
  .hero-seal {
    opacity: 0;
    animation: seal-in 1.5s var(--ease-out) .3s forwards;
  }
  .scroll-cue { animation: hero-in 1s var(--ease-out) 1s forwards; }
}

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes seal-in {
  from { opacity: 0; transform: scale(.94) rotate(-2deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

/* ---------- revelações na rolagem ---------- */
/* O estado escondido só existe quando o JS está ativo: sem JS ou com
   erro de carregamento, todo o conteúdo permanece legível. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* fallback quando não há IntersectionObserver */
html.no-io [data-reveal] { opacity: 1; transform: none; }

/* ---------- telas baixas (notebooks) ---------- */
@media (min-width: 961px) and (max-height: 820px) {
  .hero { padding-block: 6rem 3.5rem; }
  .hero-title { font-size: clamp(2rem, 1rem + 3.5vw, 3.5rem); }
  .hero-sub { font-size: .97rem; line-height: 1.7; }
  .hero-seal { width: min(100%, 320px); }
  .scroll-cue-line { height: 30px; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  /* respiro do cabeçalho reduzido para a barra de navegação não encostar
     na marca entre 961 e 1080 px (largura de tablet deitado e netbook) */
  .header-inner { gap: 1.15rem; }
  .nav-desktop { gap: .7rem; }
  .nav-link { font-size: .74rem; letter-spacing: .06em; }
  .ledger-head,
  .ledger-row { grid-template-columns: minmax(0, 1fr) 10.5rem 11rem; }
  .hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
}

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: grid; }
  .menu-mobile { display: block; }
  .menu-mobile[hidden] { display: none; }

  .site-header.is-solid { box-shadow: 0 1px 0 rgba(198, 167, 107, .16); }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }
  .hero-seal {
    justify-self: start;
    width: min(64vw, 260px);
    margin-top: .5rem;
  }
  .seal-caption { font-size: .56rem; letter-spacing: .18em; }
  .scroll-cue { display: none; }

  .principles-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
  }
  .principles-label {
    border-right: 0;
    padding-right: 0;
    padding-bottom: .2rem;
  }
  .principles-list { gap: .5rem 1.4rem; }

  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-plate { max-width: 420px; }

  .projects-grid { grid-template-columns: minmax(0, 1fr); }
  .projects-panel { max-width: 560px; }

  .criteria-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid rgba(18, 61, 50, .1); }

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

  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
  .faq-head .h2 { max-width: 22ch; }

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

  .section-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .section-lead--right { justify-self: start; text-align: left; margin-top: 1.2rem; }

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

  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-tag { justify-self: start; text-align: left; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

  .hero { min-height: auto; padding-block: 7rem 3.5rem; }
  .hero-arc--1 { right: -46vw; }
  .hero-arc--2 { right: -34vw; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .service-list { grid-template-columns: minmax(0, 1fr); }

  .ledger { border-top: 0; }
  .ledger-head { display: none; }
  .ledger-row {
    grid-template-columns: minmax(0, 1fr);
    gap: .55rem;
    padding: 1.25rem 0 1.45rem;
    border-top: 1px solid rgba(18, 61, 50, .22);
    border-bottom: 0;
  }
  .ledger-row:last-child { border-bottom: 1px solid rgba(18, 61, 50, .22); }
  .ledger-value {
    text-align: left;
    font-size: 1.2rem;
  }
  .ledger-value::before {
    content: attr(data-label);
    display: block;
    font-family: var(--sans);
    font-size: .6rem;
    letter-spacing: .19em;
    text-transform: uppercase;
    color: var(--forest-mid);
    margin-bottom: .15rem;
  }
  .ledger-cta { text-align: left; margin-top: .35rem; }
  .ledger-btn { width: 100%; padding: .75rem 1rem; }

  .fees-foot { grid-template-columns: minmax(0, 1fr); }
  .fees-foot .btn { grid-column: 1; grid-row: auto; width: 100%; }

  .criteria-grid { grid-template-columns: minmax(0, 1fr); }
  .step-list { grid-template-columns: minmax(0, 1fr); }
  .step {
    border-right: 0;
    padding-right: 0;
    border-bottom: 1px solid rgba(18, 61, 50, .1);
    padding-bottom: 1.3rem;
  }
  .step:last-child { border-bottom: 0; }

  .payment-list { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); }

  .acc-panel > p { padding-right: .5rem; }

  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 1.7rem; }
  .footer-brand { align-items: flex-start; }
  .footer-mark { width: 52px; height: 52px; padding: 6px; }

  .wa-float { width: 50px; height: 50px; }
  .wa-float svg { width: 23px; height: 23px; }

  .brand-role { font-size: .575rem; letter-spacing: .11em; }
  .brand-name { font-size: 1.05rem; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-mark img { height: 28px; }
}

@media (max-width: 400px) {
  .brand-role .brand-role-sep { display: none; }
  .menu-toggle { width: 42px; height: 42px; }
  .hero-kicker { font-size: .62rem; letter-spacing: .15em; }
}

/* Telas estreitas (iPhone SE, Galaxy A/S antigos): a marca, o nome e o botão
   do menu precisam caber em 320 px sem empurrar a página para o lado.
   Só espaçamento e tamanhos — cores, hierarquia e desenho não mudam. */
@media (max-width: 360px) {
  .header-inner {
    gap: .9rem;
    padding-inline: .9rem;
    padding-block: .7rem;
  }
  .brand { gap: .55rem; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark img { height: 26px; }
  .brand-name { font-size: 1rem; }
  .brand-role { font-size: .53rem; letter-spacing: .07em; }
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero-kicker,
  .hero-title .hero-line,
  .hero-sub,
  .hero-id,
  .hero-actions,
  .hero-seal,
  .scroll-cue {
    opacity: 1;
    transform: none;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .scroll-cue-line::after { display: none; }
  .wa-float::after { display: none; }
}

/* ---------- impressão ---------- */
@media print {
  .site-header, .wa-float, .scroll-progress, .menu-mobile, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .projects, .ethics, .contact, .payment, .site-footer { background: #fff !important; color: #000 !important; }
  .hero-title, .h2, .h2--light, .ethics-copy .h2, .contact-copy .h2 { color: #000 !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .acc-panel[hidden] { display: block !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .7em; }
}
