/* ============================================================
   Rocha & Santos Advocacia — Landing page styles
   Mobile-first. Boutique, warm, editorial.
   ============================================================ */

/* Local body font. Falls back to Lato from Google Fonts, then system fonts.
   Os .woff2 são variable fonts (eixo wght 300–800): o range no descritor
   font-weight libera os pesos reais — um valor fixo (400) clamparia o eixo
   e forçaria negrito sintético em <strong>/600/700. */
@font-face {
  font-family: "Anthropic Sans Web Text";
  src: url("assets/fonts/anthropic-sans-web-text-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Anthropic Sans Web Text";
  src: url("assets/fonts/anthropic-sans-web-text-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --primary: #8b644b;
  --primary-dark: #8b644b;
  --primary-deeper: #8b644b;
  --bg: #efedeb;
  --bg-soft: #f7f4ef;
  --bg-warm: #ece6dd;
  --hero-bg: #cccbc7;
  --cta: #25d366;
  /* verde oficial WhatsApp */
  --cta-dark: #1da851;
  --text: #413a34;
  --text-muted: #6f625a;
  --text-faint: #98897e;
  --on-dark: #f4ece0;
  --on-dark-muted: rgba(244, 236, 224, 0.72);
  --border-soft: rgba(139, 100, 75, 0.18);
  --border-softer: rgba(139, 100, 75, 0.10);
  --r-card: 14px;
  --r-btn: 8px;
  --max: 1180px;
  --pad: clamp(32px, 8vw, 40px);
  /* mobile com respiro lateral generoso (32 → 40px) */
  --btn-wide: 311px;
  --font-heading: "Playfair Display", "Times New Roman", serif;
  --font-body: "Anthropic Sans Web Text", "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-numbers: "Spectral", "Times New Roman", serif;
  /* lining figures para círculos numerados */
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.logo-mark {
  --logo-color: var(--primary);
  display: block;
  aspect-ratio: 14247.202 / 19250.861;
  background-color: var(--logo-color);
  -webkit-mask-image: url("assets/ROCHA-SANTOS_LOGO.svg");
  mask-image: url("assets/ROCHA-SANTOS_LOGO.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.005em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.desktop-line-break {
  display: none;
}

.mobile-line-break {
  display: none;
}

@media (min-width: 880px) {
  .desktop-line-break {
    display: initial;
  }
}

@media (max-width: 879px) {
  .mobile-line-break {
    display: initial;
  }
}

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

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section {
  position: relative;
}

.section {
  padding-block: clamp(56px, 9vw, 112px);
}

.section--tight {
  padding-block: clamp(44px, 7vw, 88px);
}

.eyebrow {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

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

.section-title {
  font-size: clamp(28px, 4.4vw, 44px);
  margin-top: 14px;
}

.section-title.center {
  text-align: center;
}

.section-lead {
  font-family: var(--font-body);
  font-style: normal;
  color: var(--text-muted);
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 62ch;
  margin-top: 16px;
}

.section-lead.center {
  margin-inline: auto;
  text-align: center;
}

@media (min-width: 880px) {
  .section-lead.judicial-lead,
  .section-lead.patrimony-lead,
  .section-lead.guidance-lead,
  .service[data-screen-label="Inventário Judicial"] .service-header,
  .service[data-screen-label="Planejamento Patrimonial"] .service-header {
    max-width: 920px;
  }

  .judicial-lead__line,
  .patrimony-lead__line,
  .guidance-lead__line {
    display: block;
    white-space: nowrap;
  }
}

.extrajudicial-lead__line {
  display: inline;
}

.extrajudicial-lead__line+.extrajudicial-lead__line::before {
  content: " ";
}

@media (max-width: 879px) {
  .extrajudicial-lead__line {
    display: block;
  }

  .extrajudicial-lead__line+.extrajudicial-lead__line::before {
    content: "";
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.btn * {
  -webkit-user-select: none;
  user-select: none;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--cta {
  background: var(--cta);
  color: #fff;
}

.btn--cta:hover,
.btn--cta:active {
  background: var(--cta-dark);
  color: #fff;
}

/* Shimmer animado nos CTAs principais — luz passando rápido,
   pausa confortável antes de repetir. */
.btn--cta,
.btn--brown,
.help-checklist__btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--cta::after,
.btn--brown::after,
.help-checklist__btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60%;
  background: linear-gradient(110deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.32) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: translateX(-180%) skewX(-12deg);
  pointer-events: none;
  z-index: 1;
  animation: btn-shimmer 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.btn--cta>*,
.btn--brown>*,
.help-checklist__btn>* {
  position: relative;
  z-index: 2;
}

@keyframes btn-shimmer {
  0% {
    transform: translateX(-180%) skewX(-12deg);
  }

  28% {
    transform: translateX(220%) skewX(-12deg);
  }

  100% {
    transform: translateX(220%) skewX(-12deg);
  }
}

/* CTA outline (sem preenchimento): o shimmer interno não aparece, então o
   destaque é um pulso discreto na borda — brilho que percorre o mesmo ciclo
   de 5s dos demais CTAs, clareando o contorno e soltando um halo suave. */
.btn--outline-light:not(.help-checklist__btn) {
  animation: btn-outline-pulse 5s ease-in-out infinite;
}

@keyframes btn-outline-pulse {

  0%,
  100% {
    border-color: rgba(244, 236, 224, 0.42);
    box-shadow: 0 0 0 0 rgba(255, 250, 242, 0);
  }

  10% {
    border-color: rgba(255, 250, 242, 0.95);
    box-shadow: 0 0 18px 0 rgba(255, 250, 242, 0.28);
  }

  26% {
    border-color: rgba(244, 236, 224, 0.42);
    box-shadow: 0 0 0 0 rgba(255, 250, 242, 0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .btn--cta::after,
  .btn--brown::after,
  .help-checklist__btn::after {
    animation: none;
    opacity: 0;
  }

  .btn--outline-light:not(.help-checklist__btn) {
    animation: none;
  }
}

.btn--ghost {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--border-soft);
}

.btn--ghost:hover,
.btn--ghost:active {
  background: rgba(139, 100, 75, 0.06);
}

.btn--brown {
  background: var(--primary);
  color: #fff;
}

.btn--brown:hover,
.btn--brown:active {
  background: var(--primary-dark);
  color: #fff;
}

.btn--outline-light {
  background: transparent;
  color: #fffaf2;
  border: 1px solid rgba(244, 236, 224, 0.42);
}

.btn--outline-light:hover,
.btn--outline-light:active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(244, 236, 224, 0.7);
  color: #fffaf2;
}

.service--brown .judicial-check-btn:hover,
.service--brown .judicial-check-btn:active {
  background: #fff;
  border-color: #fff;
  color: var(--primary-dark);
}

.judicial-check-btn__mobile {
  display: none;
}

.timeline-cta__mobile {
  display: none;
}

.patrimony-cta__mobile {
  display: none;
}

@media (max-width: 879px) {
  .judicial-check-btn__desktop {
    display: none;
  }

  .judicial-check-btn__mobile {
    display: inline;
  }

  .timeline-cta__desktop {
    display: none;
  }

  .timeline-cta__mobile {
    display: inline;
  }

  .patrimony-cta__desktop {
    display: none;
  }

  .patrimony-cta__mobile {
    display: inline;
  }
}

.btn--pill {
  border-radius: 999px;
  padding-inline: 40px;
}

.btn--block {
  width: 100%;
}

.btn--lg {
  min-width: var(--btn-wide);
  max-width: 100%;
  min-height: 54px;
  padding: 14px 28px;
}

.btn .ic-wa {
  width: 20px;
  height: 20px;
}

/* Ícones temáticos / WhatsApp nos CTAs de seção — dimensão proporcional ao botão */
.service-foot .btn svg,
.reviews-foot .btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

@media (max-width: 879px) {

  .btn .ic-wa,
  .service-foot .btn svg,
  .reviews-foot .btn svg {
    width: 23px;
    height: 23px;
  }

  .service-foot .btn,
  .reviews-foot .btn,
  .help-checklist__btn {
    width: 100%;
    min-width: 0;
  }
}

/* CTA buttons — tipografia eyebrow: caixa alta, espaçado, refinado */
.service-foot .btn,
.reviews-foot .btn,
.help-checklist__btn {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-inline: 48px;
  /* respiro entre texto e borda — aumenta largura mas preserva altura */
}

/* ---------- Header ---------- */

/* ---------- Hero tagline bar (segundo "cabeçalho" — destaque sob o hero) ---------- */
.hero-tagline-bar {
  display: block;
  position: relative;
  z-index: 2;
  margin-top: -1px;
  background: var(--bg-soft);
  border-top: 0;
  border-bottom: 0;
}

.hero-tagline-bar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tagline-rotator {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 4.5em;
}

.tagline-item {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5em;
  max-width: 100%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-dark);
  text-align: center;
  line-height: 1.5;
  opacity: 0;
  text-wrap: balance;
}

/* A estrela ★ assenta um pouco abaixo da linha das maiúsculas (métrica do
   glifo). `position: relative` sobe só o glifo, sem mexer na baseline da linha
   nem no "5.0"/texto ao redor (inline-block + vertical-align faziam isso). */
.tg-star {
  position: relative;
  top: -0.1em;
  color: #e6a93b;
}

/* 3 mensagens — ciclo de 15s, janela de 1/3 por item (delays -10s/-5s ordenam 1→2→3) */
.hero-tagline-bar.is-visible .tagline-item--1 {
  animation: tagline-switch 15s ease-in-out infinite;
}

.hero-tagline-bar.is-visible .tagline-item--2 {
  animation: tagline-switch 15s ease-in-out infinite;
  animation-delay: -10s;
}

.hero-tagline-bar.is-visible .tagline-item--3 {
  animation: tagline-switch 15s ease-in-out infinite;
  animation-delay: -5s;
}

@keyframes tagline-switch {
  0% {
    opacity: 0;
    transform: none;
  }

  5% {
    opacity: 1;
    transform: none;
  }

  28% {
    opacity: 1;
    transform: none;
  }

  33% {
    opacity: 0;
    transform: none;
  }

  100% {
    opacity: 0;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tagline-item {
    animation: none !important;
  }

  .tagline-item--1 {
    opacity: 1;
    transform: none;
  }

  .tagline-item--2,
  .tagline-item--3 {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--hero-bg);
  border-bottom: 0;
  overflow: hidden;
  position: relative;
  /* +1px em todas as alturas do hero: compensa o margin-top -1px da
     .hero-tagline-bar, para hero + barra fecharem exatamente 100vh
     (sem isso, 1px da seção seguinte vaza na base da tela). */
  height: calc(100dvh - 79px);
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  left: -200px;
  right: -200px;
  top: -340px;
  bottom: -340px;
  background-color: var(--primary);
  /* Variante SEM as estrelas/sparkles — só o monograma de FUNDO usa esta.
     A logo em primeiro plano (.logo-mark) mantém o SVG original com estrelas. */
  -webkit-mask-image: url("assets/ROCHA-SANTOS_LOGO-nostars.svg");
  mask-image: url("assets/ROCHA-SANTOS_LOGO-nostars.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  /* Posição do monograma de fundo controlada por --mono-x / --mono-y.
     Ajuste por tamanho de tela no bloco "MONOGRAMA DO HERO — POSIÇÃO POR TELA"
     mais abaixo. Os valores aqui são apenas o fallback. */
  -webkit-mask-position: var(--mono-x, 50%) var(--mono-y, 50%);
  mask-position: var(--mono-x, 50%) var(--mono-y, 50%);
  -webkit-mask-size: min(96vh, 102%) auto;
  mask-size: min(96vh, 102%) auto;
  opacity: 0.22;
  /* monograma mais evidente — sem mexer no parallax */
  /* Apenas a entrada (fade-in). O reflexo de luz que ficava aqui foi movido
     para a logo do hero (.hero-logo) e a logo do Contato.
     O parallax do scroll (transform) permanece intocado. */
  animation: hero-monogram-in 1.6s ease-out both;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(var(--parallax-x, 0px),
      calc(var(--parallax-y, 0px) + var(--breath-y, 0px)),
      0) rotate(var(--parallax-r, 0deg));
  transform-origin: center center;
  will-change: transform;
}

@keyframes hero-monogram-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.22;
  }
}

@keyframes hero-monogram-shimmer {
  0% {
    background-position: 240% 0;
  }

  26% {
    background-position: -140% 0;
  }

  100% {
    background-position: -140% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    transform: none;
    animation: none;
  }
}

/* ============================================================
   MONOGRAMA DO HERO — POSIÇÃO POR TELA
   Um knob por formato. Em cada bloco ajuste:
     --mono-x : horizontal — % move junto com a tela; +Npx vai p/ a DIREITA, -Npx p/ a ESQUERDA
     --mono-y : vertical   — % e px; +Npx desce, -Npx sobe
   As faixas são mutuamente exclusivas (só uma se aplica por vez).
   ============================================================ */

/* Centralizado em todas as telas. Para reposicionar por formato, ajuste o
   offset em px de cada bloco (ex.: calc(50% + 20px) move p/ a direita).
   ATENÇÃO: use sempre "px" — um valor inválido (ex.: "0x") invalida o
   mask-position inteiro e o monograma "trava" fora do lugar. */

/* Desktop alto  (~1440x900) */
@media (min-width: 1200px) and (min-height: 821px) {
  .hero {
    --mono-x: calc(50% + -160px);
    --mono-y: calc(50% + 10px);
  }
}

/* Desktop crítico  (~1366x768) */
@media (min-width: 1200px) and (max-height: 820px) {
  .hero {
    --mono-x: calc(50% + -200px);
    --mono-y: calc(50% + 50px);
  }
}

/* Tablet landscape / desktop baixo  (~1024x768) */
@media (min-width: 880px) and (max-width: 1199px) {
  .hero {
    --mono-x: calc(50% + 0px);
    --mono-y: calc(50% + 0px);
  }
}

/* Tablet portrait  (~768x1024) */
@media (min-width: 640px) and (max-width: 879px) {
  .hero {
    --mono-x: calc(50% + 0px);
    --mono-y: calc(50% + 0px);
  }
}

/* Mobile atual  (~390x844) */
@media (max-width: 639px) and (min-height: 720px) {
  .hero {
    --mono-x: calc(50% + -40px);
    --mono-y: calc(50% + 50px);
  }
}

/* Mobile compacto  (~375x667) */
@media (max-width: 639px) and (max-height: 719px) {
  .hero {
    --mono-x: calc(50% + 0px);
    --mono-y: calc(50% + 0px);
  }
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding-block: clamp(24px, 4vw, 48px);
  width: 100%;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: fit-content;
  max-width: calc(100% - 40px);
  margin-inline: auto;
  text-align: left;
}

.hero-logo {
  position: relative;
  z-index: 1;
  /* logo acima do ponto de luz (::before do wrapper) */
  width: clamp(96px, 9.5vw, 132px);
  margin-bottom: clamp(18px, 2vw, 28px);
}

/* Ponto de luz atrás do monograma do hero.
   Brilho radial branco amplo e difuso no ::before do WRAPPER (que não é
   mascarado, ao contrário do .hero-logo). O deslocamento horizontal do logo
   é aplicado no wrapper (não no .hero-logo) para o brilho ficar centrado. */
.hero-logo-aura {
  position: relative;
  z-index: 5;
  display: block;
  width: max-content;
}

.hero-logo-aura::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 560%;
  height: 500%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.62) 38%,
      rgba(255, 255, 255, 0.28) 66%,
      rgba(255, 255, 255, 0) 88%);
  filter: blur(36px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 18px;
}

.hero-title {
  position: relative;
  z-index: 5;
  font-size: clamp(32px, 3.9vw, 54px);
  line-height: 1.06;
  max-width: none;
  color: #2f2a26;
}

/* Qualificador do H1 — hierarquia: promessa em corpo menor sob os termos-chave */
.hero-title__soft {
  position: relative;
  z-index: 5;
  display: block;
  margin-top: 0.42em;
  font-size: 0.57em;
  line-height: 1.25;
  font-weight: 500;
  color: #534a43;
}

.hero-sub {
  margin-top: 22px;
  color: var(--text);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  max-width: 46ch;
}

.hero-sub strong {
  font-weight: 700;
}

.hero-actions {
  margin-top: clamp(14px, 1.8vw, 22px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-support {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}

.hero-support span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-support span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.7;
}

.hero-support .dot {
  display: none;
}

.hero-chips {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: clamp(20px, 2.4vw, 32px);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
  line-height: 1;
}

.hero-chip--filled {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.hero-chip--brand {
  text-transform: uppercase;
  word-spacing: 0.18em;
}

/* ---------- Reflexo de luz nas logos (mesma linguagem do shimmer dos CTAs) ----------
   A varredura de luz que antes ficava no monograma de FUNDO do hero foi movida
   para cá: a logo acima do título e a logo do Contato. */
.hero-logo,
.contact-monogram .logo-mark {
  background-image: linear-gradient(115deg,
      rgba(255, 255, 255, 0) 42%,
      rgba(255, 255, 255, 0.7) 50%,
      rgba(255, 255, 255, 0) 58%);
  background-repeat: no-repeat;
  background-size: 280% 100%;
  background-position: 240% 0;
  animation: logo-shimmer-sweep 6.5s ease-in-out 1.2s infinite;
}

@keyframes logo-shimmer-sweep {
  0% {
    background-position: 240% 0;
  }

  32% {
    background-position: -150% 0;
  }

  100% {
    background-position: -150% 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-logo,
  .contact-monogram .logo-mark {
    animation: none;
  }
}

@media (prefers-reduced-motion: no-preference) {

  .hero-logo,
  .hero-title,
  .hero-chips {
    animation: hero-copy-reveal 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-logo {
    /* entrada (reveal) + reflexo de luz contínuo na logo */
    animation: hero-copy-reveal 820ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both,
      logo-shimmer-sweep 6.5s ease-in-out 1.6s infinite;
  }

  .hero-title {
    animation-delay: 190ms;
  }

  .hero-chips {
    animation-delay: 320ms;
  }

  .hero-figure img {
    animation: hero-figure-reveal 1050ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
    will-change: transform, opacity;
  }
}

@keyframes hero-copy-reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-figure-reveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-tagline {
  margin-top: clamp(14px, 1.8vw, 22px);
  max-width: 48ch;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.45;
  letter-spacing: 0.16em;
  word-spacing: 0.04em;
  font-style: normal;
}

.hero-image {
  position: relative;
  width: 100%;
  align-self: stretch;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 55%, #000 45%, rgba(0, 0, 0, 0.85) 60%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 80% at 70% 55%, #000 45%, rgba(0, 0, 0, 0.85) 60%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
}

/* Hero figure — lawyer photo anchored to the bottom-right of the hero.
   A aura é um halo radial seguindo a silhueta da advogada, com preenchimento
   branco que se espalha para fora — destaca o sujeito do fundo cinza. */
.hero-figure {
  display: none;
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: -16% -34% -6%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 56% 74% at 50% 58%,
      rgba(255, 255, 255, 0.93) 0%,
      rgba(255, 253, 244, 0.68) 32%,
      rgba(253, 246, 226, 0.38) 55%,
      rgba(248, 235, 210, 0) 78%);
  filter: blur(32px);
}

/* Aura pulsante — em todas as versões (mobile, tablet e desktop). A escala
   anima a partir do centro, sem mexer no translate do .hero-figure (pai). */
.hero-figure::before,
.hero-figure::after {
  animation: aura-pulse 4.5s ease-in-out infinite;
  transform-origin: center 56%;
}

@keyframes aura-pulse {

  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-figure::before,
  .hero-figure::after {
    animation: none;
  }
}

@media (min-width: 880px) {
  .hero-tagline-bar {
    height: 104px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    min-height: 520px;
  }

  .hero-copy {
    max-width: 560px;
    margin-inline: 0;
    margin-left: clamp(96px, 9.5vw, 140px);
  }

  .hero-logo-aura {
    margin-left: -38px;
  }

  .hero-chips {
    margin-left: -38px;
  }

  .hero-title {
    margin-left: 41px;
  }

  .hero-figure {
    display: block;
    position: absolute;
    right: clamp(88px, 9vw, 140px);
    top: clamp(48px, 6vw, 80px);
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    transform: translate3d(0, var(--fig-y, 0px), 0);
    will-change: transform;
    isolation: isolate;
    overflow: visible;
  }

  .hero-figure img {
    display: block;
    position: relative;
    z-index: 1;
    height: 100%;
    /* preenche de top a bottom, independente da altura real do hero */
    width: auto;
    max-width: none;
    filter:
      saturate(0.82) sepia(0.16) contrast(1.02) brightness(1.02);
  }

  /* Aura desktop/tablet — mesma intensidade do mobile: halo branco forte,
     curto alcance, queda rápida; com 2ª camada de flare rente à silhueta. */
  .hero-figure::before {
    inset: -20% -38% -10%;
    background:
      radial-gradient(ellipse 62% 80% at 50% 56%,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 253, 244, 0.98) 22%,
        rgba(254, 248, 232, 0.82) 44%,
        rgba(251, 242, 222, 0.5) 66%,
        rgba(248, 235, 210, 0) 86%);
    filter: blur(26px);
  }

  .hero-figure::after {
    content: "";
    position: absolute;
    inset: 4% 8% 6%;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse 40% 52% at 50% 52%,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 252, 240, 0.30) 40%,
        rgba(255, 255, 255, 0) 74%);
    filter: blur(12px);
  }
}

@media (max-width: 879px) {
  .hero {
    align-items: flex-start;
    height: calc(100svh - 87px);
    /* 88px da barra − 1px de overlap */
  }

  .hero-tagline-bar {
    height: 88px;
  }

  .hero .container {
    z-index: 2;
    padding-block: clamp(38px, 9svh, 82px) 40px;
  }

  .hero-copy {
    margin-inline: auto;
  }

  .hero-chips {
    display: none;
  }

  .hero::before {
    /* Posição mobile definida via --mono-x/--mono-y no bloco de config por tela. */
    opacity: 0.18;
  }

  .hero-title {
    max-width: none;
  }

  .hero-figure {
    display: block;
    position: absolute;
    left: 50%;
    right: auto;
    bottom: -6.5svh;
    height: min(58svh, 560px);
    opacity: 1;
    pointer-events: none;
    z-index: 1;
    transform: translateX(-50%);
    overflow: visible;
  }

  /* Aura mobile — halo branco INTENSO seguindo a silhueta.
     Curto alcance, alta opacidade perto da silhueta, queda rápida. */
  .hero-figure::before {
    content: "";
    position: absolute;
    inset: -16% -30% -8%;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse 56% 72% at 50% 56%,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 252, 240, 0.92) 20%,
        rgba(253, 246, 226, 0.66) 40%,
        rgba(250, 240, 218, 0.34) 62%,
        rgba(248, 235, 210, 0) 82%);
    filter: blur(22px);
  }

  /* 2ª camada — flare adicional rente à silhueta, ainda mais intenso */
  .hero-figure::after {
    content: "";
    position: absolute;
    inset: 4% 10% 6%;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse 38% 50% at 50% 52%,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 252, 240, 0.30) 38%,
        rgba(255, 255, 255, 0) 72%);
    filter: blur(10px);
  }

  .hero-figure img {
    display: block;
    position: relative;
    z-index: 1;
    height: 100%;
    width: auto;
    max-width: none;
    filter:
      saturate(0.82) sepia(0.16) contrast(1.02) brightness(1.02);
  }

  .hero-scroll {
    z-index: 5;
  }

  .tagline-item {
    font-size: clamp(11px, 2.85vw, 12px);
    letter-spacing: clamp(0.12em, 0.9vw, 0.18em);
    line-height: 1.45;
  }

  .tagline-rotator,
  .tagline-item {
    min-height: 4.25em;
  }
}

@media (max-width: 420px) {
  .hero-tagline-bar {
    height: 84px;
  }

  .hero {
    height: calc(100svh - 83px);
    /* 84px da barra − 1px de overlap */
  }

  .hero .container {
    padding-block-start: clamp(18px, 9svh, 54px);
  }

  .hero-copy {
    margin-inline: auto;
  }

  .hero-logo {
    width: 90px;
    margin-bottom: 16px;
  }

  .hero-logo-aura {
    margin-left: -8px;
  }

  .hero-title {
    font-size: clamp(30px, 8.2vw, 32px);
    margin-left: 28px;
  }

  .hero-chips {
    display: none;
  }

  .hero-figure {
    left: 50%;
    right: auto;
    bottom: -5svh;
    height: min(46svh, 370px);
    opacity: 1;
  }

  .tagline-item {
    font-size: 10.8px;
    letter-spacing: 0.12em;
    line-height: 1.42;
  }
}

@media (max-width: 420px) and (max-height: 720px) {
  .hero .container {
    padding-block-start: clamp(26px, 4svh, 34px);
  }

  .hero-logo {
    width: 80px;
    margin-bottom: 12px;
  }

  .hero-logo-aura {
    margin-left: -8px;
  }

  .hero-title {
    font-size: 28.5px;
    margin-left: 8px;
  }

  .hero-figure {
    bottom: -3.5svh;
    height: min(42svh, 284px);
  }
}

@media (min-width: 640px) and (max-width: 879px) {
  .hero-figure {
    left: 50%;
    right: auto;
    bottom: -5svh;
    height: min(56svh, 560px);
    opacity: 1;
  }

  .hero-title {
    max-width: 12em;
  }

  /* Tablet portrait — intensidade reforçada da aura (igual desktop/tablet),
     sem afetar os celulares (<=639px, que mantêm a regra mobile). */
  .hero-figure::before {
    background:
      radial-gradient(ellipse 56% 72% at 50% 56%,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 253, 244, 0.98) 22%,
        rgba(254, 248, 232, 0.82) 42%,
        rgba(251, 242, 222, 0.5) 64%,
        rgba(248, 235, 210, 0) 84%);
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 879px) {
    .hero-figure {
      bottom: 0;
      isolation: isolate;
      -webkit-transform: translateX(-50%) translateZ(0);
      transform: translateX(-50%) translateZ(0);
    }

    .hero-figure::before,
    .hero-figure::after {
      content: "";
      position: absolute;
      pointer-events: none;
      z-index: 0;
    }

    .hero-figure::before {
      inset: -16% -34% -4%;
      background:
        radial-gradient(ellipse 58% 76% at 50% 58%,
          rgba(255, 253, 244, 0.84) 0%,
          rgba(253, 246, 226, 0.52) 38%,
          rgba(251, 241, 218, 0.28) 60%,
          rgba(248, 235, 210, 0) 78%);
      filter: blur(18px);
    }

    .hero-figure::after {
      inset: -24% -52% -8%;
      background:
        radial-gradient(ellipse 62% 78% at 50% 62%,
          rgba(253, 246, 226, 0.36) 0%,
          rgba(251, 241, 218, 0.18) 46%,
          rgba(246, 232, 205, 0) 76%);
      filter: blur(34px);
    }

    .hero-figure img {
      z-index: 1;
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      filter:
        saturate(0.82) sepia(0.16) contrast(1.02) brightness(1.02);
    }
  }
}

@media (min-width: 880px) and (max-height: 820px) {
  .hero-logo {
    width: clamp(98px, 8.5vw, 118px);
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: clamp(38px, 3.55vw, 48px);
    max-width: 390px;
  }

  .hero-chips {
    margin-top: 24px;
  }

  .hero-figure {
    top: 56px;
    right: clamp(16px, 5vw, 92px);
  }
}

@media (min-width: 1120px) and (max-width: 1540px) and (max-height: 820px) {
  .hero-copy {
    margin-left: clamp(156px, 13vw, 184px);
  }

  .hero-figure {
    right: clamp(196px, 15vw, 232px);
  }

  /* Seção 6 — o lead atual é longo demais para linha única; limita a
     largura para quebrar em 2 linhas equilibradas no desktop crítico */
  .service--brown .section-lead {
    max-width: 72ch;
    margin-inline: auto;
  }
}

@media (min-width: 880px) and (max-width: 1100px) {
  .hero {
    height: calc(100svh - 95px);
    /* 96px da barra − 1px de overlap */
  }

  .hero-tagline-bar {
    height: 96px;
  }

  .hero-copy {
    margin-left: clamp(72px, 9vw, 96px);
    transform: translateY(-28px);
  }

  .hero-chips {
    display: none;
  }

  .hero-figure {
    right: clamp(-96px, -8vw, -72px);
    top: 64px;
    bottom: -24px;
    z-index: 1;
  }

  .hero-figure img {
    position: relative;
    filter:
      saturate(0.82) sepia(0.16) contrast(1.02) brightness(1.02);
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 880px) {
  .hero-figure {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-logo,
  .hero-title,
  .hero-chips,
  .hero-figure img {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Hero scroll indicator — bottom-center arrow */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3vw, 32px);
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  cursor: pointer;
  z-index: 5;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
  animation: hero-scroll-bob 2.2s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
  /* sem caixa cinza no toque mobile */
  -webkit-user-select: none;
  user-select: none;
  outline: none;
}

.hero-scroll:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.hero-scroll:hover {
  opacity: 1;
}

.hero-scroll svg {
  width: 44px;
  height: 44px;
  stroke-width: 1.3;
}

.hero-scroll-chip {
  display: none;
}

@media (min-width: 1101px) and (min-height: 821px) {
  .hero-scroll {
    color: #bca392;
  }
}

@media (max-width: 1100px) {
  .hero-scroll {
    width: auto;
    height: auto;
    min-width: 64px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  /* Em desktop pequeno/tablet a seta cai sobre a roupa marrom da advogada:
     vira branca para garantir contraste. */
  .hero-scroll svg {
    color: #fff;
    filter: drop-shadow(0 1px 3px rgba(47, 42, 38, 0.28));
  }

  .hero-scroll-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #fff;
    background: var(--primary);
    white-space: nowrap;
  }
}

@keyframes hero-scroll-bob {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 4px);
  }
}

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

/* ---------- "Como posso te ajudar" — brown band, full screen ---------- */
.help {
  background: var(--primary-dark);
  color: var(--on-dark);
  min-height: calc(100dvh - 80px);
  display: block;
  padding-block: 0;
}

.help .container {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  width: 100%;
}

.help-panel {
  background: var(--primary-dark);
}

.help-panel--cards {
  background: var(--primary-dark);
}

.help-intro,
.help-cards-wrap {
  padding-block: clamp(56px, 8vw, 96px);
}

.help-eyebrow {
  color: var(--on-dark);
  opacity: 0.9;
}

.help-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #fffaf2;
}

.help-body {
  color: var(--on-dark-muted);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
  max-width: 70ch;
}

.help-body p+p {
  margin-top: 14px;
}

.help-intro-line {
  display: block;
}

.help-body mark {
  background: transparent;
  color: #fff;
  font-weight: 700;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.45);
  padding-bottom: 1px;
}

/* Highlights em fundo claro (seções de serviço) */
.service .section-lead mark,
.service .card__list mark,
.service .service-foot mark,
.service .service-header mark {
  background: transparent;
  color: var(--primary-dark);
  font-weight: 700;
  border-bottom: 1px dotted rgba(139, 100, 75, 0.45);
  padding-bottom: 1px;
}

/* Em variantes de serviço com fundo marrom escuro */
.service--brown .section-lead mark,
.service--brown .card__list mark,
.service--brown .service-foot mark,
.service--brown .service-header mark {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

/* Card tag — pequeno subtítulo em caixa alta no topo de cada card */
.card__tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin: -2px 0 -4px;
  align-self: flex-start;
}

.card--brown .card__tag {
  color: rgba(255, 255, 255, 0.78);
}

/* Help highlights — 4 cards reforçando os pontos-chave */
.help-highlights {
  margin-top: clamp(20px, 3vw, 40px);
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  /* mesmo gap dos .cards das demais seções */
}

@media (min-width: 560px) {
  .help-highlights {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .help-highlights {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}

.help-card {
  background: var(--primary-dark);
  border: 1px solid rgba(244, 236, 224, 0.28);
  border-radius: var(--r-card);
  padding: 48px 24px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  color: var(--on-dark);
}

.help-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--on-dark);
  align-self: center;
}

.help-card__icon svg {
  width: 26px;
  height: 26px;
}

.help-card p {
  color: var(--on-dark-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.help-card p strong {
  color: #fff;
  font-weight: 700;
}

.help-checklist {
  margin-top: clamp(26px, 4vw, 42px);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.help-checklist p {
  color: var(--on-dark-muted);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
  max-width: none;
  margin: 0;
  white-space: nowrap;
}

.help-checklist__btn {
  background: #cbb795;
  /* tom claro que deixa o shimmer visível */
  border-color: #cbb795;
  color: #fff;
}

.help-checklist__btn:hover,
.help-checklist__btn:active {
  background: #cbb795;
  border-color: #d7c6ad;
  color: #fff;
}

.help-checklist__btn svg {
  width: 19px;
  height: 19px;
  flex: none;
}

@media (max-width: 560px) {
  .help-checklist p {
    white-space: normal;
    max-width: 34ch;
  }
}

/* Painéis-slide do .help também em tablet (era 1120px) — intro numa tela,
   cards na outra, como no desktop. */
@media (min-width: 640px) {
  .help {
    min-height: 0;
    padding-block: 0;
  }

  .help-panel {
    min-height: calc(100dvh - 104px);
    scroll-snap-align: start;
  }

  .help-panel--intro {
    display: grid;
  }

  .help-intro {
    align-self: stretch;
    display: grid;
    align-content: center;
    padding-block: clamp(48px, 7vh, 72px);
    max-width: 980px;
  }

  .help-body {
    max-width: 78ch;
  }

  .help-panel--cards {
    display: grid;
    align-items: center;
    padding-block: clamp(38px, 6vh, 64px);
  }

  .help-cards-wrap {
    padding-block: 0;
    gap: 0;
  }

  .help-highlights {
    margin-top: 0;
  }

  .help-checklist {
    margin-top: clamp(24px, 4vh, 34px);
  }
}

/* ---------- Timeline ---------- */
.timeline {
  background: var(--bg-soft);
}

.tl-note {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 10px;
  max-width: 60ch;
}

.tl-note.center {
  margin-inline: auto;
  text-align: center;
}

.timeline .tl-note mark {
  background: transparent;
  color: var(--primary-dark);
  font-weight: 700;
  border-bottom: 1px dotted rgba(139, 100, 75, 0.45);
}

.tl-mobile {
  margin-top: 48px;
  position: relative;
  padding-left: 32px;
}

.tl-mobile::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border-soft);
}

.tl-step {
  position: relative;
  padding: 0 0 44px 24px;
  /* respiro maior entre etapas no mobile */
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.tl-step:last-child {
  padding-bottom: 0;
}

.tl-step__marker {
  position: absolute;
  left: -32px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  padding-top: 3px;
  font-family: var(--font-numbers);
  /* lining figures uniformes para círculos numerados */
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 6px solid var(--bg-soft);
  outline: 1px solid var(--border-soft);
}

.tl-step__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.tl-step__icon {
  width: 30px;
  height: 30px;
  color: var(--primary-dark);
  flex: none;
}

.tl-step__title {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  line-height: 1.35;
}

.tl-step__desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.tl-desktop {
  display: none;
}

@media (min-width: 960px) {
  .tl-mobile {
    display: none;
  }

  .tl-desktop {
    display: block;
    margin-top: 64px;
    position: relative;
    padding-block: 24px;
    /* folga equilibrada para cards acima e abaixo do rail */
  }

  .tl-rail {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: center;
    min-height: 360px;
  }

  .tl-rail::before {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    top: 50%;
    height: 1px;
    background: var(--border-soft);
  }

  .tl-node {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-inline: 8px;
  }

  .tl-node__dot {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    padding-top: 3px;
    font-family: var(--font-numbers);
    /* lining figures uniformes para círculos numerados */
    font-style: italic;
    font-weight: 600;
    font-size: 17px;
    line-height: 1;
    border: 8px solid var(--bg-soft);
    position: relative;
    z-index: 2;
  }

  .tl-node__card {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(176px, 118%, 212px);
    text-align: center;
    background: #fff;
    border: 1px solid var(--border-softer);
    border-radius: var(--r-card);
    padding: 14px 18px;
    height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .tl-node__card:hover {
    border-color: var(--primary);
    box-shadow: 0 14px 32px -18px rgba(47, 42, 38, 0.32);
    transform: translateX(-50%) translateY(-2px);
  }

  .tl-node:nth-child(odd) .tl-node__card:hover {
    transform: translateX(-50%) translateY(-4px);
  }

  .tl-node:nth-child(even) .tl-node__card:hover {
    transform: translateX(-50%) translateY(2px);
  }

  .tl-node:nth-child(odd) .tl-node__card {
    bottom: calc(50% + 28px);
  }

  .tl-node:nth-child(even) .tl-node__card {
    top: calc(50% + 28px);
  }

  .tl-node__connector {
    position: absolute;
    left: 50%;
    width: 1px;
    background: var(--border-soft);
    z-index: 1;
  }

  .tl-node:nth-child(odd) .tl-node__connector {
    bottom: calc(50% + 23px);
    height: 8px;
  }

  .tl-node:nth-child(even) .tl-node__connector {
    top: calc(50% + 23px);
    height: 8px;
  }

  .tl-node__icon {
    width: 28px;
    height: 28px;
    color: #bca392;
    margin-inline: auto;
    margin-bottom: 5px;
  }

  .tl-node__title {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #bcbab8;
    line-height: 1.35;
  }

  .tl-node__desc {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin-top: 5px;
  }
}

/* ---------- Service sections (cards) ---------- */
.service {
  background: var(--bg);
}

.service--soft {
  background: var(--bg-soft);
}

.service--warm {
  background: var(--bg-warm);
}

.service-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.service-header .eyebrow {
  margin-bottom: 6px;
}

.service-header .section-title {
  text-align: center;
}

.cards {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  gap: 22px;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: #fff;
  border: 1px solid var(--border-softer);
  border-radius: var(--r-card);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Pressionar/segurar um card no mobile não deve selecionar texto nem abrir
   o menu de copiar/“callout” do iOS. */
.card,
.help-card,
.tl-node__card,
.tl-step,
.reviewer-chip,
.testimonial {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Microinteração discreta — em DUAS camadas para não "grudar" no touch:
   - :hover apenas em dispositivos com ponteiro real (hover: hover);
   - :active em todos — dispara só ENQUANTO o card está pressionado. */
@media (hover: hover) {
  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -18px rgba(47, 42, 38, 0.25);
    border-color: var(--border-soft);
  }

  .card--brown:hover,
  .help-card:hover {
    background: #9d775e;
    border-color: rgba(244, 236, 224, 0.48);
    box-shadow: 0 14px 32px -18px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
  }
}

.card:active {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -18px rgba(47, 42, 38, 0.25);
  border-color: var(--border-soft);
}

/* Em fundos marrons o destaque usa um marrom mais CLARO, mantendo contraste
   com os ícones (moldura redonda branca translúcida). */
.card--brown:active,
.help-card:active {
  background: #9d775e;
  border-color: rgba(244, 236, 224, 0.48);
  box-shadow: 0 14px 32px -18px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.help-card {
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:focus-within {
  border-color: var(--primary);
}

.card--featured {
  border-top: 2px solid var(--primary);
}

.card--edge {
  border-bottom: 2px solid var(--primary);
}

.card--brown {
  background: var(--primary-dark);
  color: var(--on-dark);
  border-color: rgba(244, 236, 224, 0.28);
  /* mesmo peso visual das help-card */
  padding: 40px 28px 40px;
  gap: 20px;
  justify-content: center;
}

/* Altura uniforme só no desktop (cards lado a lado); no mobile o conteúdo dirige.
   300px (não 364) evita respiro interno exagerado: como o brown usa
   justify-center e tem pouco conteúdo, 364 dava ~74px topo/base no desktop
   alto; 300 dá ~42px, em linha com as faixas mais baixas (~31–33). */
@media (min-width: 880px) {
  .card--brown {
    min-height: 300px;
  }
}

.card__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: grid;
  place-items: center;
  color: var(--primary-dark);
}

.card--brown .card__icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__icon svg[data-icon="share-07"] {
  transform: translate(-1px, -1px);
}

.card__title {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  color: var(--text);
}

.card--brown .card__title {
  color: #fff;
}

.card__support {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: -8px;
}

.card--brown .card__support {
  color: var(--on-dark-muted);
}

.card__list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 10px;
}

.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

.card--brown .card__list li {
  color: var(--on-dark-muted);
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  background-color: #ece6dd;
  transform: rotate(45deg);
  opacity: 0.9;
}

.card--brown .card__list li::before {
  background-color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.service-foot {
  margin-top: clamp(28px, 4vw, 44px);
  text-align: center;
}

.service-foot p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 60ch;
  margin: 0 auto 20px;
}

.fit-note__line {
  display: inline;
}

.fit-note__line+.fit-note__line::before {
  content: " ";
}

@media (max-width: 879px) {
  .fit-note__line {
    display: block;
  }

  .fit-note__line+.fit-note__line::before {
    content: "";
  }
}

.service-foot .btn {
  min-width: var(--btn-wide);
}

.service--brown {
  background: var(--primary-dark);
}

.service--brown .section-title,
.service--brown .service-header .eyebrow,
.service--brown .service-foot p {
  color: #fffaf2;
}

.service--brown .service-foot p {
  color: var(--on-dark-muted);
}

.service--brown .section-lead {
  color: var(--on-dark-muted);
}

/* Trecho de título com cor de destaque (ex.: Planejamento Patrimonial) */
.title-accent {
  color: var(--primary-dark);
}

/* Observações entre parênteses na lista de especializações */
.about-list em {
  opacity: 0.8;
}

/* ---------- About ---------- */
.about {
  background: var(--primary-dark);
  color: var(--on-dark);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about-copy h2 {
  color: #fffaf2;
  font-size: clamp(28px, 4vw, 42px);
}

.about-firm {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  margin-top: 6px;
  margin-bottom: 18px;
}

.about-copy p {
  color: var(--on-dark-muted);
  font-size: 14.5px;
  line-height: 1.85;
  /* texto longo: respiro entre linhas maior */
}

.about-copy p+p {
  margin-top: 18px;
}

.about-copy strong {
  color: #fff;
  font-weight: 700;
}

.about-block-title {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  /* títulos brancos para hierarquia clara; respiro abaixo do título
     levemente maior que o gap entre os tópicos (14px) para o heading
     não colar no primeiro item. */
  margin: 0 0 10px;
  opacity: 1;
}

/* Espaçamento maior e consistente entre os 6 blocos do Sobre Mim */
.about-block+.about-block {
  margin-top: clamp(28px, 3.5vw, 40px);
}

.about-block--name h2 {
  margin-bottom: 6px;
}

.about-block--name .about-firm {
  margin: 0;
}

/* Desktop full-screen: o bloco "Atendimento" sai para o conteúdo caber
   melhor; mobile/tablet mantêm com respiro extra entre blocos. */
@media (min-width: 1101px) {
  .about-block--availability {
    display: none;
  }
}

@media (max-width: 1100px) {
  .about-block+.about-block {
    margin-top: clamp(34px, 5vw, 48px);
  }
}

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

.about-list {
  gap: 10px;
}

/* mais respiro entre os tópicos */
.about-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--on-dark-muted);
  line-height: 1.65;
}

/* Marcador refinado: losango aberto, ecoando o monograma R&S */
.about-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 250, 242, 0.78);
  background: transparent;
  transform: rotate(45deg);
}

.about-mission {
  padding: 18px 20px;
  border-left: 2px solid rgba(255, 255, 255, 0.45);
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  color: #fff;
  line-height: 1.45;
  margin: 0;
}

.about-image {
  position: relative;
}

.about-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 18px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  /* Ancorar pelo topo: quando a altura é pequena e a imagem é cortada,
     mantém o rosto visível em vez de cortar a cabeça. */
  object-position: top;
}

/* Efeito de profundidade — dois blocos arredondados atrás da imagem
   (cores herdadas do antigo efeito de borda: creme sólido e creme
   translúcido), levemente mais estreitos e deslocados para baixo,
   com flutuação sutil alternada. Substitui a borda inferior anterior. */
.about-image::before,
.about-image::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 18px;
  z-index: 0;
  pointer-events: none;
}

.about-image::before {
  left: 4%;
  right: 4%;
  background: #fffaf2;
  transform: translate(0, 12px);
  animation: about-float-a 7s ease-in-out infinite;
}

.about-image::after {
  left: 9%;
  right: 9%;
  background: rgba(255, 250, 242, 0.42);
  transform: translate(0, 24px);
  animation: about-float-b 9.5s ease-in-out -4s infinite;
}

/* Flutuação em X e Y, com cada elemento (cards de fundo, imagem e chip)
   no seu próprio timing/offset — movimento dessincronizado. */
@keyframes about-float-a {

  0%,
  100% {
    transform: translate(0, 12px);
  }

  33% {
    transform: translate(-7px, 16px);
  }

  66% {
    transform: translate(5px, 9px);
  }
}

@keyframes about-float-b {

  0%,
  100% {
    transform: translate(0, 24px);
  }

  40% {
    transform: translate(6px, 19px);
  }

  72% {
    transform: translate(-5px, 28px);
  }
}

.about-image img {
  animation: about-float-img 8s ease-in-out -2.5s infinite;
}

@keyframes about-float-img {

  0%,
  100% {
    transform: translate(0, 0);
  }

  35% {
    transform: translate(-5px, -7px);
  }

  68% {
    transform: translate(4px, 5px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .about-image::before,
  .about-image::after,
  .about-image img,
  .about-badge {
    animation: none;
  }
}

/* Chip "+10 anos" — fonte dos títulos (Playfair itálico), estático. */
.about-badge {
  position: absolute;
  left: -22px;
  /* levemente mais para fora */
  bottom: 48px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 35px;
  background: #bca392;
  color: #fff;
  border: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 0 18px;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
}

.about-badge__text {
  display: block;
  transform: translateY(-1.5px);
}

.about-badge::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60%;
  background: linear-gradient(110deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.32) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: translateX(-180%) skewX(-12deg);
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
  animation: btn-shimmer 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.about-cta {
  margin-top: 32px;
}

@media (min-width: 880px) {
  .about .container {
    grid-template-columns: 1fr 0.85fr;
  }

  .about-image {
    order: 2;
  }
}

/* ---------- Reviews ---------- */
.reviews {
  background: var(--bg-soft);
}

.reviews-header {
  text-align: center;
}

.reviews .section-lead {
  max-width: 62ch;
}

@media (min-width: 880px) {
  .reviews .section-lead {
    max-width: none;
    white-space: nowrap;
  }
}

.reviews-lead__line {
  display: inline;
}

.reviews-lead__line--proof::before {
  content: " — ";
}

.reviews-lead__line--profile::before {
  content: " ";
}

.reviews-summary {
  margin: 28px auto 0;
  width: min(100%, 460px);
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--border-softer);
  border-radius: var(--r-card);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 18px;
  align-items: center;
  justify-items: start;
  justify-content: center;
  align-content: center;
  text-align: left;
}

@media (max-width: 639px) {
  .reviews .section-lead {
    max-width: 34ch;
    line-height: 1.55;
  }

  .reviews-lead__line {
    display: block;
  }

  .reviews-lead__line--proof::before,
  .reviews-lead__line--profile::before {
    content: "";
  }
}

.reviews-summary>div {
  display: grid;
  justify-items: start;
}

.rs-rating {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  color: var(--text);
}

.rs-stars {
  display: inline-flex;
  gap: 2px;
  color: #e6a93b;
  margin-top: 6px;
}

.rs-stars svg {
  width: 16px;
  height: 16px;
}

.rs-meta {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
  width: 178px;
  text-align: left;
}

.rs-meta strong {
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.06em;
  font-size: 12px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.rs-google {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.rs-google svg {
  width: 14px;
  height: 14px;
}

a.rs-google {
  transition: color 0.2s ease;
}

a.rs-google:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.reviewers {
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
  max-width: 760px;
  padding: 0;
  /* o .container já dá as margens — padding duplo desequilibrava */
  list-style: none;
  text-align: center;
}

.reviewer-chip {
  background: #fff;
  border: 1px solid var(--border-softer);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reviewer-chip svg {
  width: 11px;
  height: 11px;
  color: #e6a93b;
}

.testimonial {
  margin: 40px auto 0;
  max-width: 640px;
  background: #fff;
  border: 1px solid var(--border-softer);
  border-radius: var(--r-card);
  padding: 28px 30px 26px;
  text-align: left;
  position: relative;
}

.testimonial::before {
  content: "";
  width: 30px;
  height: 30px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M14 16c0-1.886 0-2.828.586-3.414S16.114 12 18 12s2.828 0 3.414.586S22 14.114 22 16s0 2.828-.586 3.414S19.886 20 18 20s-2.828 0-3.414-.586S14 17.886 14 16Z'/%3E%3Cpath stroke-linecap='round' d='M14 16v-4.137C14 8.196 16.516 5.086 20 4'/%3E%3Cpath d='M2 16c0-1.886 0-2.828.586-3.414S4.114 12 6 12s2.828 0 3.414.586S10 14.114 10 16s0 2.828-.586 3.414S7.886 20 6 20s-2.828 0-3.414-.586S2 17.886 2 16Z'/%3E%3Cpath stroke-linecap='round' d='M2 16v-4.137C2 8.196 4.516 5.086 8 4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M14 16c0-1.886 0-2.828.586-3.414S16.114 12 18 12s2.828 0 3.414.586S22 14.114 22 16s0 2.828-.586 3.414S19.886 20 18 20s-2.828 0-3.414-.586S14 17.886 14 16Z'/%3E%3Cpath stroke-linecap='round' d='M14 16v-4.137C14 8.196 16.516 5.086 20 4'/%3E%3Cpath d='M2 16c0-1.886 0-2.828.586-3.414S4.114 12 6 12s2.828 0 3.414.586S10 14.114 10 16s0 2.828-.586 3.414S7.886 20 6 20s-2.828 0-3.414-.586S2 17.886 2 16Z'/%3E%3Cpath stroke-linecap='round' d='M2 16v-4.137C2 8.196 4.516 5.086 8 4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  color: var(--primary);
  opacity: 0.35;
  position: absolute;
  top: 18px;
  left: 22px;
}

.testimonial p {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  padding-left: 46px;
}

.testimonial .t-stars {
  display: inline-flex;
  gap: 2px;
  color: #e6a93b;
  margin-top: 14px;
  margin-left: 46px;
}

.testimonial .t-stars svg {
  width: 14px;
  height: 14px;
}

/* Mobile: recuo da citação menor — o padding de 36px lia como
   conteúdo "empurrado para a direita" em telas estreitas. */
@media (max-width: 879px) {
  .testimonial {
    padding: 24px 22px 22px;
  }

  .testimonial::before {
    top: 18px;
    left: 14px;
    width: 26px;
    height: 26px;
  }

  .testimonial p {
    padding-left: 34px;
  }

  .testimonial .t-stars {
    margin-left: 34px;
  }

  .t-source {
    margin-left: 34px;
  }
}

/* Depoimentos — pista horizontal com snap; arrasta no touch, auto-rotate via JS.
   Quando há um único depoimento, ele ocupa toda a largura e o rotator não dispara. */
.testimonials {
  margin: 40px auto 0;
  max-width: 720px;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 16px;
  padding: 4px 0;
  /* simétrico — sem deslocamento lateral percebido */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.testimonials--peek {
  -webkit-mask-image: linear-gradient(90deg,
      transparent 0,
      #000 34px,
      #000 calc(100% - 34px),
      transparent 100%);
  mask-image: linear-gradient(90deg,
      transparent 0,
      #000 34px,
      #000 calc(100% - 34px),
      transparent 100%);
}

.testimonials::-webkit-scrollbar {
  display: none;
}

.testimonials .testimonial {
  margin: 0;
  flex: 0 0 100%;
  scroll-snap-align: center;
  min-width: 0;
}

.t-source {
  margin-top: 10px;
  margin-left: 46px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.reviews-google-link {
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
}

.reviews-google-link a {
  color: var(--primary-dark);
  font-weight: 500;
  border-bottom: 1px dotted rgba(139, 100, 75, 0.45);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}

.reviews-google-link a:hover {
  border-bottom-style: solid;
}

.reviews-foot {
  text-align: center;
  margin-top: 40px;
}

.reviews-foot .reviews-cta__mobile {
  display: none;
}

@media (max-width: 879px) {
  .reviews-foot .reviews-cta__desktop {
    display: none !important;
  }

  .reviews-foot .reviews-cta__mobile {
    display: inline !important;
  }
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--bg);
}

.faq-list {
  margin: clamp(28px, 5vw, 48px) auto 0;
  max-width: 760px;
  display: grid;
  gap: 12px;
}

details.qa {
  background: #fff;
  border: 1px solid var(--border-softer);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

details.qa:hover,
details.qa:has(summary:hover),
details.qa[open] {
  border-color: #8b644b;
}

details.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 500;
  /* peso visual mais leve, como pedido */
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
  min-height: 48px;
  transition: background-color 0.2s ease;
}

details.qa[open] summary {
  background: #ece6dd;
}

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

details.qa .qa-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  transition: transform 0.25s ease, background 0.25s ease;
}

details.qa[open] .qa-icon {
  background: var(--primary-dark);
  color: #fff;
  transform: rotate(45deg);
}

details.qa .qa-icon svg {
  width: 12px;
  height: 12px;
}

details.qa .qa-body {
  padding: 10px 22px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  /* usa a largura do card (760px) para as respostas caberem em 2–3 linhas */
  max-width: none;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--bg-soft);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.contact-list {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.contact-list a,
.contact-list>li>span {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border-softer);
  border-radius: var(--r-card);
  color: var(--text);
  font-size: 14.5px;
  min-height: 48px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-list a:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.contact-list .ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  flex: none;
}

.contact-list .ci-icon svg {
  width: 22px;
  height: 22px;
}

/* WhatsApp usa o glifo thin fornecido, mantendo proporção do card. */
.contact-list .ci-icon .wa-icon {
  width: 21px;
  height: 21px;
}

/* E-mails longos não estouram o card em telas estreitas (ex.: 360px) */
.contact-list a[href^="mailto"] {
  overflow-wrap: anywhere;
}

.contact-list .ci-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
  font-weight: 700;
}

.contact-cta {
  margin-top: 24px;
}

/* Compartilhar página — subtítulo clicável (texto + ícone arrow-up-right) */
.share-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 0 1px;
  background: none;
  border: none;
  border-bottom: 1px dotted rgba(139, 100, 75, 0.45);
  color: var(--primary-dark);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.share-link:hover {
  border-bottom-style: solid;
}

.share-link__icon {
  display: inline-flex;
  align-items: center;
}

.share-link__icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.share-link .share-ico-done {
  display: none;
}

/* Feedback de "Link Copiado" */
.share-link.is-copied .share-ico-default {
  display: none;
}

.share-link.is-copied .share-ico-done {
  display: block;
}

.contact-monogram {
  display: none;
  justify-self: center;
  width: min(280px, 60%);
}

.contact-monogram .logo-mark {
  width: 100%;
  --logo-color: var(--primary);
}

@media (min-width: 880px) {
  .contact .container {
    grid-template-columns: 1.2fr 1fr;
  }

  .contact-monogram {
    display: block;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-deeper);
  color: var(--on-dark);
  padding: 72px 0 96px;
}

@media (max-width: 879px) {
  .site-footer {
    padding-top: 96px;
    padding-bottom: 112px;
    /* respiro extra após o copyright */
  }
}

.site-footer .container {
  display: grid;
  gap: 28px;
  text-align: center;
}

.site-footer .footer-logo {
  margin-inline: auto;
}

.site-footer .footer-logo .logo-mark {
  width: 96px;
  --logo-color: #fff;
}

@media (max-width: 879px) {
  .site-footer .footer-logo .logo-mark {
    width: 128px;
  }

  /* logo maior no mobile */
}

.footer-name {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: #fff;
  margin-top: 14px;
}

.footer-name small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-top: 6px;
}

.footer-copy {
  font-size: 13px;
  color: var(--on-dark-muted);
  max-width: 56ch;
  margin-inline: auto;
  line-height: 1.7;
}

.footer-closing {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.footer-rights {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(244, 236, 224, 0.55);
  text-transform: uppercase;
  line-height: 1.8;
}

.footer-rights span {
  display: inline;
}

@media (max-width: 1023px) {

  /* mobile e tablet: copyright em duas linhas */
  .footer-rights br {
    display: inline;
  }

  .footer-rights span {
    display: block;
  }
}

@media (min-width: 1024px) {
  .footer-rights br {
    display: none;
  }

  .footer-rights span::before {
    content: " · ";
  }
}

/* Barra sticky de CTA mobile foi REMOVIDA — no mobile usamos o FAB circular
   (.fab-wa) ancorado no canto inferior direito, igual ao desktop. */
.sticky-cta {
  display: none !important;
}

/* Floating WhatsApp */
.fab-actions {
  position: fixed;
  right: 36px;
  bottom: 45px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  border-radius: 50%;
  z-index: 60;
  opacity: 1;
  pointer-events: auto;
  transition:
    opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.fab-wa,
.fab-share {
  place-items: center;
  height: 58px;
  color: #fff;
  box-shadow: 0 12px 24px rgba(65, 58, 52, 0.14);
}

.fab-wa {
  display: grid;
  width: 58px;
  border-radius: 50%;
  background: #0d8f3d;
}

.fab-share {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-width: 176px;
  padding-inline: 28px 26px;
  border-radius: 999px;
  background: #cbb795;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateX(14px) scale(0.9);
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.fab-share::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0d8f3d;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.34s ease;
  z-index: 0;
}

.fab-share.is-copied::before {
  transform: scaleX(1);
}

.fab-share>* {
  position: relative;
  z-index: 1;
}

.fab-actions.is-open .fab-share {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

@media (hover: hover) and (pointer: fine) {
  .fab-actions:hover .fab-share {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .fab-actions {
    opacity: 0;
    pointer-events: none;
  }

  body.has-passed-hero .fab-actions {
    opacity: 1;
    pointer-events: auto;
  }
}

.fab-actions:hover {
  transform: translateY(-2px);
}

.fab-wa svg,
.fab-share svg {
  width: 26px;
  height: 26px;
  flex: none;
}

/* Mobile — FAB menor, discreto, ancorado no canto inferior direito.
   Só aparece depois do hero (.has-passed-hero), para não competir com o título. */
@media (max-width: 879px) {
  .fab-actions {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: flex-end;
    transform: translateY(8px);
    transition:
      opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.has-passed-hero .fab-actions {
    transform: translateY(0);
  }

  .fab-wa,
  .fab-share {
    height: 52px;
  }

  .fab-wa {
    width: 52px;
  }

  .fab-share {
    /* Fora do fluxo: o rótulo recolhido (invisível) não reserva largura,
       então a caixa do .fab-actions encolhe para só o botão do WhatsApp no
       canto — sem invadir a área da seta de scroll centralizada e roubar
       seus toques. Ancorado acima do botão (52px + folga). */
    position: absolute;
    right: 0;
    bottom: 64px;
    min-width: 164px;
    padding-inline: 26px 10px;
    transform: translateY(14px) scale(0.9);
  }

  .fab-actions.is-open .fab-share {
    transform: translateY(0) scale(1);
  }

  .fab-wa svg,
  .fab-share svg {
    width: 24px;
    height: 24px;
  }

  .fab-share svg {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 879px) and (hover: hover) and (pointer: fine) {
  .fab-actions:hover .fab-share {
    transform: translateY(0) scale(1);
  }
}

/* ---------- Timeline modal (desktop) ---------- */
.tl-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(560px, 92vw);
  width: 100%;
  overscroll-behavior: contain;
  touch-action: none;
}

.tl-modal::backdrop {
  background: rgba(47, 42, 38, 0.55);
  backdrop-filter: blur(4px);
}

.tl-modal__card {
  background: #fff;
  border-radius: var(--r-card);
  padding: 36px 32px 28px;
  position: relative;
  border-top: 3px solid var(--primary);
  /* Altura fixa — os popups das 7 etapas ficam consistentes
     mesmo com descrições de tamanhos diferentes. */
  height: 360px;
  display: flex;
  flex-direction: column;
  touch-action: none;
  user-select: none;
}

.tl-modal__content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tl-modal__desc {
  flex: 0 1 auto;
  overflow: auto;
}

/* Transição ao trocar de etapa: o conteúdo novo entra deslizando do lado
   correspondente à direção da navegação. */
@keyframes tl-slide-in-right {
  from {
    opacity: 0.35;
    transform: translateX(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tl-slide-in-left {
  from {
    opacity: 0.35;
    transform: translateX(-14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.tl-modal__content.is-from-right {
  animation: tl-slide-in-right 0.26s ease;
}

.tl-modal__content.is-from-left {
  animation: tl-slide-in-left 0.26s ease;
}

@media (prefers-reduced-motion: reduce) {

  .tl-modal__content.is-from-right,
  .tl-modal__content.is-from-left {
    animation: none;
  }
}

/* Barra de navegação no rodapé do popup: setas ladeando as bolinhas
   (‹ • • • • • • • ›) — navegação óbvia, sem sobrepor o texto. */
.tl-modal__nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}

/* Setas — moldura circular apenas na interação. */
.tl-modal__nav {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.tl-modal__nav:hover,
.tl-modal__nav:focus-visible {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}

.tl-modal__nav svg {
  width: 24px;
  height: 24px;
}

.tl-modal__nav[disabled] {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

/* Bolinhas — espelham as do carrossel de depoimentos. */
.tl-modal__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.tl-modal__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(139, 100, 75, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tl-modal__dot.is-active {
  background: var(--primary);
  transform: scale(1.25);
}

.tl-modal__step {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.tl-modal__title {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin: 8px 0 14px;
  line-height: 1.3;
}

.tl-modal__desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.tl-modal__desc mark {
  background: transparent;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0;
}

.tl-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tl-modal__close:hover,
.tl-modal__close:focus-visible {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}

.tl-modal__close svg {
  width: 20px;
  height: 20px;
}

/* ---------- Testimonials rotator (arrows + dots indicator) ---------- */
.testimonials-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.testimonials-nav {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.testimonials-nav:hover,
.testimonials-nav:focus-visible {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}

.testimonials-nav svg {
  width: 19px;
  height: 19px;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}

.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(139, 100, 75, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.testimonials-dot.is-active {
  background: var(--primary);
  transform: scale(1.15);
}

/* ---------- Mobile fixed next-section arrow (bloco reversível) ---------- */
.mobile-next-section {
  display: none;
}

.mobile-next-vignette,
.fixed-vignette-bottom {
  display: none;
}

@media (max-width: 879px) {
  .mobile-next-vignette,
  .fixed-vignette-bottom {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 57;
    display: block;
    width: 100%;
    height: clamp(144px, 21vh, 208px);
    background-image:
      linear-gradient(to top,
        rgba(0, 0, 0, 0.44) 0%,
        rgba(0, 0, 0, 0.42) 8%,
        rgba(0, 0, 0, 0.36) 17%,
        rgba(0, 0, 0, 0.28) 28%,
        rgba(0, 0, 0, 0.20) 40%,
        rgba(0, 0, 0, 0.13) 53%,
        rgba(0, 0, 0, 0.075) 66%,
        rgba(0, 0, 0, 0.038) 79%,
        rgba(0, 0, 0, 0.014) 91%,
        rgba(0, 0, 0, 0) 100%),
      url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NCIgaGVpZ2h0PSI2NCI+PGZpbHRlciBpZD0ibiI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuOCIgbnVtT2N0YXZlcz0iMiIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjxmZUNvbG9yTWF0cml4IHR5cGU9InNhdHVyYXRlIiB2YWx1ZXM9IjAiLz48ZmVDb21wb25lbnRUcmFuc2Zlcj48ZmVGdW5jQSB0eXBlPSJ0YWJsZSIgdGFibGVWYWx1ZXM9IjAgMC4wNCIvPjwvZmVDb21wb25lbnRUcmFuc2Zlcj48L2ZpbHRlcj48cmVjdCB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIGZpbHRlcj0idXJsKCNuKSIvPjwvc3ZnPg==");
    background-size: 100% 100%, 64px 64px;
    background-repeat: no-repeat, repeat;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.86s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.has-passed-hero .mobile-next-vignette,
  body.has-passed-hero .fixed-vignette-bottom {
    opacity: 1;
  }

  .mobile-next-section {
    position: fixed;
    left: 50%;
    /* bottom reduzido para compensar o aumento da área de toque: a seta
       (centralizada) permanece praticamente na mesma altura visual. */
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 58;
    display: grid;
    place-items: center;
    /* Área de toque generosa (72px) ao redor da seta de 42px — antes eram
       52px, com só ~5px de folga, exigindo acerto em cima da seta. */
    width: 72px;
    height: 72px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(6px);
    transition:
      opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-next-section::before {
    content: none;
  }

  .mobile-next-section.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .mobile-next-section.is-visible::after {
    content: none;
  }

  .mobile-next-section svg {
    position: relative;
    width: 42px;
    height: 42px;
    fill: none;
    filter: drop-shadow(0 8px 18px rgba(65, 58, 52, 0.2));
  }
}

@media (prefers-reduced-motion: reduce) {
  .fab-actions,
  .fab-share,
  .mobile-next-vignette,
  .fixed-vignette-bottom,
  .mobile-next-section {
    transition: none;
  }
}

/* ---------- Utility ---------- */
.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;
}

.divider {
  width: 64px;
  height: 1px;
  background: var(--border-soft);
  margin: 0 auto;
}

/* ==========================================================
   Mobile — alturas dirigidas pelo conteúdo e respiro harmônico.
   Cards empilhados não precisam de altura igual; padding menor
   mantém a proporção sem esticar cards de pouco conteúdo.
   ========================================================== */
@media (max-width: 879px) {
  .card {
    padding: 36px 24px;
    min-height: 0;
  }

  .card--brown {
    padding: 36px 24px;
    gap: 16px;
  }

  .help-card {
    padding: 36px 22px;
    gap: 20px;
    min-height: 0;
  }

  .tl-mobile {
    margin-top: 56px;
  }

  /* mais respiro entre o subtítulo e a 1ª etapa */
  .timeline .tl-note {
    margin-top: 34px;
  }

  /* mais respiro entre a última etapa e a nota */
  .tl-step__head {
    margin-bottom: 6px;
  }

  .help-checklist {
    gap: 16px;
  }

  .service-foot p {
    margin-bottom: 16px;
  }
}

/* ==========================================================
   Borda alternada nos cards empilhados (mobile, < 720px):
   1º card → só borda inferior; 2º → superior e inferior;
   3º → só superior. Desktop mantém o padrão edge/featured/edge.
   ========================================================== */
@media (max-width: 719px) {
  .cards .card--featured {
    border-bottom: 2px solid var(--primary);
  }

  .cards .card--edge:last-child {
    border-top: 2px solid var(--primary);
    border-bottom: 1px solid var(--border-softer);
  }
}

/* Quebra de linha visível apenas no desktop */
.br-desktop {
  display: none;
}

@media (min-width: 880px) {
  .br-desktop {
    display: block;
  }
}

/* ==========================================================
   Fullpage scroll snap — desktop only (≥ 880px)
   Seções encaixam no topo ao rolar. Mobile: scroll natural.
   ========================================================== */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ---- Base desktop: snap + fullscreen sections ---- */
@media (min-width: 880px) {
  html {
    scroll-snap-type: y proximity;
    scroll-padding-top: 0;
  }

  .hero {
    height: calc(100dvh - 103px);
    /* 104px da barra − 1px de overlap */
    scroll-snap-align: start;
  }

  .hero-tagline-bar {
    scroll-snap-align: start;
  }

  .section {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    padding-block: 72px;
  }

  /* Help tem mais conteúdo textual — padding menor e gap do container fixo */
  .help {
    min-height: 100dvh;
    padding-block: 56px;
  }

  .help .container {
    gap: 36px;
  }

  .help-highlights {
    margin-top: 0;
  }

  .help-card {
    min-height: unset;
  }

  /* Espaçamentos internos desktop — base confortável para telas altas */
  .cards {
    margin-top: 44px;
  }

  .service-foot {
    margin-top: 36px;
  }

  .tl-desktop {
    margin-top: 48px;
  }

  .tl-note {
    white-space: nowrap;
    max-width: none;
  }

  /* Seções 4–8: sistema visual consistente — cabeçalho e cards */
  .service-header {
    padding-bottom: 20px;
  }

  .service .card:not(.card--brown) {
    min-height: 310px;
  }

  /* Planejamento Patrimonial — tagline do service-foot em linha única no desktop */
  .service--soft .service-foot p {
    white-space: nowrap;
    max-width: max-content;
  }
}

@media (min-width: 880px) and (max-width: 1100px) {
  .hero {
    height: calc(100svh - 95px);
    /* 96px da barra − 1px de overlap */
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none !important;
  }
}

/* ==========================================================
   Desktop 16:9 compacto — cobre 768–820px de altura
   Ex: 1366×768, 1440×810. Padding 38px → 692px disponíveis.
   Estratégia: reduzir apenas espaçamentos, não tamanho de texto.
   ========================================================== */

@media (min-width: 880px) and (max-height: 820px) {
  .section {
    padding-block: 38px;
  }

  .help {
    padding-block: 28px;
  }

  .help .container {
    gap: 18px;
  }

  .cards {
    margin-top: 24px;
    gap: 18px;
  }

  .help-highlights {
    gap: 18px;
  }

  /* acompanha o gap compacto dos .cards */
  .service-foot {
    margin-top: 20px;
  }

  .tl-desktop {
    margin-top: 28px;
  }

  /* Seções de serviço, timeline e FAQ: ancora eyebrow na mesma posição vertical dos tagline-items (52px).
     38px compensa o offset de ~4–5px que o strut da service-header (16px × 1.6 = 25.6px)
     adiciona ao posicionamento da eyebrow dentro da primeira line-box.
     Reviews herda o mesmo padding da .section e só define o rodapé no bloco estrutural próprio. */
  .service.section,
  .timeline.section,
  .faq.section {
    justify-content: flex-start;
    padding-block-start: 38px;
  }

  /* Subtítulos longos em 2 linhas equilibradas (mais largura = menos altura).
     O header alarga junto — 760px só permitiria 3 linhas nos leads longos.
     Contato fica de fora (lead estreito por design). */
  .service-header {
    max-width: 920px;
  }

  .service-header .section-lead {
    max-width: 110ch;
    text-wrap: balance;
  }

}

/* Seções 4–8: cards normalizados em desktop compacto */
@media (min-width: 880px) and (max-height: 820px) {

  /* Remove padding extra do cabeçalho — gap já é dado por .cards margin-top */
  .service-header {
    padding-bottom: 0;
  }

  /* Cards light: padding reduzido, ícone menor, min-height proporcional */
  .service .card:not(.card--brown) {
    padding: 24px 20px 24px;
    gap: 12px;
    min-height: 240px;
  }

  .service .card:not(.card--brown) .card__list {
    gap: 10px;
  }

  /* Cards brown: respiro vertical interno levemente acima dos cards claros
     (há espaço sobrando na seção). Com justify-center, o respiro = (altura −
     conteúdo)/2, controlado pelo min-height; 256px dá ~31px topo/base. */
  .card--brown {
    padding: 24px 24px;
    gap: 14px;
    min-height: 256px;
  }

  /* Ícones mais compactos no crítico */
  .service .card__icon {
    width: 48px;
    height: 48px;
  }
}

/* About: imagem portrait sem aspect-ratio rígido em tela baixa */
@media (min-width: 880px) and (max-height: 820px) {
  .about-image img {
    aspect-ratio: auto;
    max-height: min(460px, 56vh);
    object-fit: cover;
  }

  .about-block-title {
    margin-top: 14px;
    margin-bottom: 10px;
  }

  .about-mission {
    margin-top: 14px;
  }

  .about-cta {
    margin-top: 14px;
  }
}

/* Timeline: trilho e nodes compactados.
   Trilho mais alto + margem maior para os cards ímpares (que crescem para cima
   a partir do centro do trilho) não invadirem o section-lead. */
@media (min-width: 880px) and (max-height: 820px) {
  .timeline {
    --timeline-rail-y-offset: 0px;
  }

  .tl-desktop {
    margin-top: 44px;
  }

  .tl-rail {
    min-height: min(324px, 42vh);
  }

  .tl-node__dot {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .tl-node__card {
    width: clamp(216px, 152%, 276px);
    /* Mais largura reduz quebras e permite voltar a altura compacta. */
    padding: 14px 20px;
    height: 158px;
  }

  .tl-node__title {
    font-size: 11px;
    line-height: 1.32;
  }

  .tl-node__desc {
    font-size: 13px;
    line-height: 1.45;
    margin-top: 6px;
  }

  .tl-node__icon {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    margin-bottom: 6px;
  }

  /* No crítico a nota sai de cena e o CTA assume o rodapé do slide */
  .timeline .tl-note {
    display: none;
  }
}

/* Reviews (Avaliações) */
@media (min-width: 880px) and (max-height: 820px) {
  .reviews.section>.container {
    padding-top: 34px;
  }

  .reviews-summary {
    margin-top: 10px;
    padding-block: 10px;
  }

  .reviewers {
    margin-top: 10px;
    row-gap: 8px;
  }

  .reviews .section-lead {
    margin-top: 10px;
  }

  .testimonial {
    margin-top: 12px;
    max-width: 700px;
    padding: 14px 28px 14px;
  }

  .testimonials {
    max-width: 700px;
  }

  .testimonial p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.45;
    max-height: 2.9em;
    text-overflow: ellipsis;
  }

  .testimonial .t-stars {
    margin-top: 10px;
    vertical-align: middle;
  }

  .testimonial .t-source {
    display: inline-block;
    margin: 10px 0 0 12px;
    vertical-align: middle;
    white-space: nowrap;
  }
}

/* FAQ */
@media (min-width: 880px) and (max-height: 820px) {
  .faq-list {
    margin-top: 28px;
    gap: 8px;
  }

  details.qa summary {
    padding: 12px 20px;
  }
}

/* Contato */
@media (min-width: 880px) and (max-height: 820px) {
  .contact-list {
    margin-top: 20px;
    gap: 8px;
  }

  .contact-cta {
    margin-top: 14px;
  }
}

/* CTAs e notas: ancorados a 47px da base do viewport — desktop crítico (1366×768)
   Espelha o espaçamento do eyebrow no topo (47px do topo), criando simetria visual.
   Seções têm min-height: 100dvh e position sticky/relative. */
@media (min-width: 880px) and (max-height: 820px) {

  .service .service-foot,
  .reviews-foot,
  .help-checklist,
  .timeline .service-foot {
    position: absolute;
    bottom: 47px;
    left: 0;
    right: 0;
    margin-top: 0;
  }
}

@media (min-width: 1120px) {
  .help.section {
    min-height: 0;
    display: block;
    justify-content: initial;
    scroll-snap-align: none;
    padding-block: 0;
  }

  .help>.hero-tagline-bar {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .help-panel {
    min-height: calc(100dvh - 104px);
    scroll-snap-align: start;
  }

  .help-panel--intro {
    display: grid;
  }

  .help-intro {
    display: grid;
    align-content: center;
    min-height: calc(100dvh - 104px);
    padding-block: clamp(38px, 6vh, 64px);
  }

  .help-panel--cards {
    display: grid;
    align-items: center;
    padding-block: clamp(38px, 6vh, 64px);
  }

  .help-cards-wrap {
    padding-block: 0;
    gap: 0;
  }

  .help-highlights {
    margin-top: 0;
  }

  .help-checklist {
    margin-top: clamp(22px, 3.5vh, 34px);
  }
}

@media (min-width: 1120px) and (max-height: 820px) {
  .help-intro {
    padding-block: 32px;
  }

  .help-body {
    font-size: 15.5px;
    line-height: 1.65;
  }

  .help-panel--cards {
    padding-block: 34px;
    position: relative;
  }

  .help-card {
    padding: 36px 20px;
    gap: 20px;
  }

  .help-card__icon svg {
    width: 26px;
    height: 26px;
  }

  .help-card p {
    font-size: 15px;
    line-height: 1.62;
  }

  .help .help-highlights {
    padding-top: 30px;
  }

  .help-checklist {
    margin-top: 20px;
    gap: 14px;
  }

  .help-checklist p {
    max-width: 760px;
    white-space: normal;
    font-size: 16px;
    line-height: 1.48;
  }
}

/* Help cards — proporção levemente portrait (altura > largura) no grid de 4 colunas */
@media (min-width: 960px) {
  .help-card {
    min-height: 284px;
  }
}

@media (max-width: 1100px) {
  .help.section {
    display: block;
    padding-block: 0;
    scroll-snap-align: none;
  }

  .help-panel {
    scroll-snap-align: none;
  }

  /* Parte B (cards): menos respiro no topo — ao tocar a seta da parte A,
     o primeiro card fica próximo ao topo da tela, com a mesma margem usada
     nas laterais (var(--pad)). */
  .help-cards-wrap {
    padding-top: var(--pad);
  }
}

@media (min-width: 1120px) {

  html,
  body {
    scroll-snap-type: none;
  }

  .help-panel,
  body>section.section:not(.help):not(.contact) {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .help-panel,
  body>section.section:not(.help):not(.contact) {
    isolation: isolate;
  }

  .help .help-panel {
    top: 104px;
  }

  body>section.section:not(.help):not(.contact) {
    z-index: 2;
  }

  .contact,
  .site-footer {
    position: relative;
    z-index: 2;
  }

  /* Sobreposição de 2px: cada slide tem a altura do viewport e o snap encaixa
     1px PARA DENTRO (SNAP_INTO, cobre a costura de cima). Sem folga embaixo,
     vazava uma linha sub-pixel do início da próxima seção no desktop crítico
     (DPR fracionário, ex.: 1366×768 @125%). +2px deixa a seção ativa cobrir
     também a borda de baixo. O conteúdo continua centralizado (só +2px de min). */
  body>section.section:not(.help),
  .help .help-panel {
    min-height: calc(100dvh + 2px);
  }

  .help .help-panel {
    min-height: calc(100dvh - 104px + 2px);
  }
}

/* Tablet TOUCH (880–1119px, ponteiro grosseiro): full-slide igual ao desktop —
   snap OBRIGATÓRIO e 1 seção por swipe (scroll-snap-stop: always). Em touch não
   há eventos de wheel, então o snap nativo é o caminho robusto (sem hijack JS).
   Os subpainéis do .help viram passos próprios, como no desktop. */
@media (min-width: 880px) and (max-width: 1119px) and (pointer: coarse) {
  html {
    scroll-snap-type: y mandatory;
  }

  .hero,
  .hero-tagline-bar,
  body>section.section:not(.help),
  .help-panel {
    scroll-snap-stop: always;
  }

  .help.section {
    scroll-snap-align: none;
  }

  .help-panel {
    scroll-snap-align: start;
  }
}

/* ============================================================
   ALTURA REAL CURTA — browser maximizado em telas 768p tem
   ~615–700px úteis (barra de tarefas + chrome). Compacta além
   do bloco 820px para cada seção caber em 1 slide.
   ============================================================ */
@media (min-width: 880px) and (max-height: 760px) {
  .section {
    padding-block: 28px;
  }

  /* Fallback de espaçamento (sobrescrito pela centralização intrínseca
     das .service no bloco min-height:681). */
  .cards {
    margin-top: 18px;
  }

  /* Sobre Mim: texto mais compacto */
  .about-copy p {
    line-height: 1.66;
  }

  .about-copy p+p {
    margin-top: 12px;
  }

  .about-firm {
    margin-bottom: 10px;
  }

  /* Mais respiro entre os blocos de texto no desktop crítico (há folga
     vertical de sobra: container centrado deixa ~85px acima/abaixo). */
  .about-block+.about-block {
    margin-top: 26px;
  }

  .about-list li+li {
    margin-top: 0;
  }

  .about-image img {
    max-height: min(420px, 62vh);
    object-position: top;
  }

  .reviews-summary {
    margin-top: 14px;
    padding: 12px 22px;
  }

  .reviewers {
    margin-top: 12px;
  }

  .testimonials,
  .testimonial {
    margin-top: 14px;
  }

  .testimonial {
    padding: 18px 26px 16px;
  }

  .reviews-google-link {
    margin-top: 8px;
  }

  /* Contato: linhas mais enxutas */
  .contact-list a,
  .contact-list>li>span {
    padding: 11px 16px;
  }

  .contact-list .ci-icon {
    width: 40px;
    height: 40px;
  }

  .share-link {
    margin-top: 12px;
  }

  /* Link "Ler todas" fica coberto pelo CTA ancorado em alturas curtas;
     o selo "Publicado em Google" do summary mantém o caminho. */
  .reviews-google-link {
    display: none;
  }
}

/* ============================================================
   ALTURA MUITO CURTA (≤680px úteis — ex.: 1366×768 maximizado):
   o padrão de CTA ancorado a 47px não tem espaço; CTAs voltam ao
   fluxo e os deslocamentos decorativos dos cards são zerados.
   ============================================================ */
@media (min-width: 880px) and (max-height: 680px) {

  .service .service-foot,
  .reviews-foot,
  .timeline .service-foot,
  .help-checklist {
    position: static;
    margin-top: 16px;
  }

  .section-title {
    font-size: clamp(26px, 3.2vw, 33px);
  }

  .section-lead {
    margin-top: 10px;
  }

  /* Cards mais enxutos */
  .service .card:not(.card--brown) {
    padding: 18px 16px 18px;
    gap: 10px;
  }

  .card--brown {
    padding: 22px 20px;
    gap: 12px;
  }

  .card__list {
    gap: 8px;
  }

  .card__list li {
    line-height: 1.5;
  }

  .cards {
    margin-top: 14px;
  }

  /* Avaliações: bloco central mais compacto */
  .reviews-summary {
    padding: 10px 18px;
  }

  .testimonial {
    padding: 16px 24px 14px;
  }

  .service[data-screen-label="Inventário Extrajudicial"] .cards,
  .service[data-screen-label="Inventário Judicial"] .cards,
  .service[data-screen-label="Planejamento Patrimonial"] .cards,
  .service[data-screen-label="Orientações Gerais"] .cards {
    transform: none;
  }

  /* Sem espaço para a frase auxiliar — fica só o botão */
  .service-foot p {
    display: none;
  }

  .card--brown {
    min-height: 250px;
  }

  .service .card:not(.card--brown) {
    min-height: 210px;
  }

  .tl-desktop {
    margin-top: 22px;
  }
}

/* ============================================================
   SEÇÕES DE SERVIÇO (4, 6, 7, 8) — centralização intrínseca.
   Padrão visual: cabeçalho fixo no topo, CTA fixo a 47px da base, e
   o miolo (cards) distribuído com espaços IGUAIS entre os dois, sem
   translateY por tela. O container vira coluna flex preenchendo a
   100dvh; a área dos cards cresce (flex:1) e centraliza a linha do
   grid (align-content). O CTA volta ao fluxo (não mais position:
   absolute) como último item, então o miolo nunca o invade.
   Aplica-se de 681px para cima (em ≤680 o regime compacto já trata).
   ============================================================ */
@media (min-width: 880px) and (min-height: 681px) {
  /* CTA a 47px do fundo de forma consistente em todas as alturas
     (anula os padding-bottom variáveis por faixa: 0 / 28 / 38). */
  .service.section {
    padding-bottom: 47px;
  }

  .service>.container {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }

  /* Sem padding extra sob o subtítulo: espaço acima/abaixo simétrico. */
  .service .service-header {
    padding-bottom: 0;
  }

  /* A área dos cards cresce para ocupar todo o vão entre subtítulo e CTA;
     align-content:center centraliza a linha do grid dentro dela. */
  .service .cards {
    flex: 1 1 auto;
    align-content: center;
    margin-top: 0;
    margin-bottom: 0;
    transform: none;
  }

  /* CTA volta ao fluxo como último item flex, ancorado na base pelo
     crescimento da área dos cards acima dele — sem overlap. */
  .service .service-foot {
    position: static;
    margin-top: 0;
    padding-bottom: 0;
  }
}

/* ============================================================
   SEÇÃO 5 — TIMELINE (Etapas): mesmo padrão das de serviço.
   Cabeçalho fixo no topo, CTA fixo a 47px da base, e o trilho
   (.tl-desktop) cresce (flex:1) e centraliza-se no vão — espaços
   iguais acima e abaixo. Escopo ≥960px (abaixo usa-se o stepper
   vertical .tl-mobile, que rola). A nota, quando visível, fica
   logo acima do CTA.
   ============================================================ */
@media (min-width: 960px) and (min-height: 681px) {
  .timeline.section {
    padding-bottom: 47px;
  }

  .timeline>.container {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }

  .timeline .service-header {
    padding-bottom: 0;
  }

  /* O trilho ocupa todo o vão e centraliza o rail verticalmente.
     O offset padrão compensa a assimetria intrínseca dos cards
     (os de cima são mais altos): desloca o rail ~7px p/ baixo, deixando
     o cluster de cards com folga igual acima/abaixo. No desktop crítico,
     os cards mais largos/baixos zeram essa compensação via variável. */
  .timeline .tl-desktop {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding-top: var(--timeline-rail-y-offset, 14px);
    padding-bottom: 0;
    transform: none;
  }

  .timeline .tl-note {
    margin: 0 0 clamp(16px, calc(16px + (100dvh - 820px) * 0.152), 30px);
  }

  .timeline .service-foot {
    position: static;
    margin-top: 0;
    padding-bottom: 0;
  }
}

/* ============================================================
   SEÇÃO 3 — "COMO POSSO TE AJUDAR", PARTE B (cards + checklist):
   mesma centralização intrínseca das seções de serviço, adaptada ao
   fato de a parte B dividir a tela cheia com a barra de tagline fixa
   no topo (área útil = 100dvh − 104px, como o hero faz com a barra).
   O CTA (checklist) volta ao fluxo, fixo a 47px da base; os 4 cards
   crescem (flex:1) e centralizam no vão restante — sem translateY nem
   checklist em position:absolute por faixa de altura.
   Parte A (.help-intro) já segue o padrão (align-content:center no
   mesmo vão de 100dvh − 104px), por isso não precisa de mudança.
   ============================================================ */
@media (min-width: 1120px) and (min-height: 681px) {
  .help-panel--cards {
    display: flex;
    flex-direction: column;
    /* Sem padding no topo: a parte B não tem cabeçalho próprio (a barra de
       tagline é o "topo"), então os cards centralizam simetricamente entre
       a barra e o checklist. CTA a 47px da base. */
    padding-block: 0 47px;
  }

  /* .help .container é display:grid (0,2,0) — precisa de especificidade
     igual/maior para virar coluna flex distribuível. */
  .help .help-cards-wrap {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding-block: 0;
    gap: 0;
  }

  /* A faixa dos 4 cards cresce e centraliza a linha do grid no vão
     entre o topo e o checklist — espaços iguais acima/abaixo. */
  .help .help-highlights {
    flex: 1 1 auto;
    align-content: center;
    margin: 0;
    transform: none;
  }

  /* Checklist (CTA) como último item flex, ancorado a 47px da base
     pelo crescimento da área dos cards acima — sem overlap, sem hack. */
  .help-checklist {
    position: static;
    margin-top: 0;
    padding-bottom: 0;
    transform: none;
  }

}

/* ------------------------------------------------------------
   Parte B em DESKTOP ALTO (altura > 820px): em vez de prender o
   CTA a 47px da base (o que abriria um vão enorme até os cards),
   o conjunto cards + checklist concentra-se no CENTRO da área
   marrom, com pouco espaço entre eles. Mantém o crítico (≤820)
   no padrão de CTA na base.
   ------------------------------------------------------------ */
@media (min-width: 1120px) and (min-height: 821px) {
  .help-panel--cards {
    padding-block: 0;
    justify-content: center;
  }

  /* O wrap volta a ter altura natural e é centralizado pelo painel;
     os cards param de crescer (flex:0 0 auto). */
  .help .help-cards-wrap {
    flex: 0 1 auto;
  }

  .help .help-highlights {
    flex: 0 0 auto;
  }

  /* Vão pequeno entre os cards e a frase/CTA. */
  .help-checklist {
    margin-top: clamp(28px, 4.5vh, 48px);
  }
}

/* ------------------------------------------------------------
   SEÇÃO 3 em MOBILE (<640px):
   • Parte A mantém o comportamento full-screen, com conteúdo centralizado.
   • Parte B sobe parcialmente sobre o fim da Parte A, mas os cards só ganham
     presença depois de uma pequena rolagem, eliminando a área vazia.
   ------------------------------------------------------------ */
@media (max-width: 639px) {
  .help-panel--intro {
    display: grid;
    min-height: calc(100dvh - 84px);
  }

  .help-intro {
    display: grid;
    align-content: center;
    transform: translateY(-20px);
  }

  .help-panel--cards {
    position: relative;
    z-index: 2;
    margin-top: clamp(-112px, -13dvh, -82px);
  }

  .help-cards-wrap {
    padding-top: 0;
    padding-bottom: clamp(40px, 11vw, 64px);
  }
}

@media (max-width: 639px) {
  .help-panel--cards.is-reveal-ready .help-card {
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px);
    transition:
      opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  .help-panel--cards.is-revealed .help-card {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

@media (max-width: 639px) and (prefers-reduced-motion: reduce) {
  .help-highlights .help-card {
    transition: none;
  }
}

/* ============================================================
   PADRONIZAÇÃO DOS CARDS — seções 6, 7 e 8 (Judicial, Planejamento,
   Orientações): mesmo tamanho e posição no desktop. min-height
   unificado (≥ conteúdo da mais alta, a seção 7, que tem itens em 2
   linhas), conteúdo centralizado e padding/gap iguais — vale tanto p/
   card claro quanto brown. Seção 4 fica de fora (tem card__support).
   Mobile/tablet (<880px) não recebem min-height → altura pelo conteúdo.
   ============================================================ */
@media (min-width: 880px) and (max-height: 820px) {
  .service[data-screen-label="Inventário Judicial"] {
    --service-critical-card-height: 274px;
  }

  .service[data-screen-label="Inventário Judicial"] .card,
  .service[data-screen-label="Planejamento Patrimonial"] .card,
  .service[data-screen-label="Orientações Gerais"] .card {
    min-height: var(--service-critical-card-height, 290px);
    padding: 24px 20px;
    gap: 12px;
    justify-content: center;
  }
}

@media (min-width: 880px) and (min-height: 821px) {

  .service[data-screen-label="Inventário Judicial"] .card,
  .service[data-screen-label="Planejamento Patrimonial"] .card,
  .service[data-screen-label="Orientações Gerais"] .card {
    min-height: 332px;
    padding: 32px 28px;
    gap: 18px;
    justify-content: center;
  }

}

/* ============================================================
  SEÇÃO 10 — REVIEWS: mesmo padrão das outras seções.
   Header no topo herdando o mesmo padding das demais seções,
   CTA fixo a 47px da base, e os
   blocos do miolo (nota, avaliadores, depoimento) distribuídos
   uniformemente com space-between.
   ============================================================ */
@media (min-width: 880px) and (min-height: 681px) {
  .reviews.section {
    padding-bottom: 47px;
  }

  .reviews.section>.container {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    justify-content: space-between;
  }

  .reviews .reviews-header {
    padding-bottom: 0;
  }

  /* Zera as margens verticais próprias dos blocos do miolo para o
     space-between distribuir gaps IGUAIS (senão somam-se e desequilibram).
     margin-block:0 preserva o margin-inline:auto que centraliza horizontalmente. */
  .reviews .reviews-summary,
  .reviews .reviewers,
  .reviews .testimonials {
    margin-block: 0;
  }

  .reviews .reviews-google-link {
    margin-block: 0;
  }

  .reviews .reviews-foot {
    position: static;
    margin: 0;
    padding-bottom: 0;
  }
}

/* ============================================================
   SEÇÃO 11 — FAQ: pouca densidade de conteúdo. Header e CTA seguem o
   padrão das demais, mas com inset maior (não colados nas bordas), e a
   lista de perguntas centralizada no vão — tudo mais agrupado no centro.
   Acordeon na mesma altura dos cards de Contato. Vale para todas as
   alturas de desktop (inclui ≤680, cabe folgado). */
@media (min-width: 880px) {
  .faq.section {
    /* Inset adaptativo à altura: mantém a área útil ~constante, logo o gap
       header↔acordeon↔CTA fica ~constante (~64px) em qualquer altura.
       Evita o acordeon colar no título/CTA ao abrir (telas baixas) e o
       excesso de distância nas telas altas. */
    padding-block: clamp(40px, calc(50dvh - 292px), 220px);
  }

  .faq.section>.container {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }

  .faq .service-header {
    padding-bottom: 0;
  }

  /* Mantém grid (display da base) + margin-inline:auto da base (centraliza
     horizontalmente o bloco de 760px). align-content:center centraliza as
     perguntas verticalmente no vão; margin-block:0 preserva o inline auto. */
  .faq .faq-list {
    flex: 1 1 auto;
    align-self: center;
    width: min(100%, 760px);
    align-content: center;
    margin-block: 0;
    /* gap fixo nas duas faixas → acordeon com mesma altura → vão consistente */
    gap: 8px;
  }

  /* Acordeon na mesma altura dos cards da seção de Contato (~67px). */
  .faq details.qa summary {
    min-height: 67px;
  }

  .faq .service-foot {
    position: static;
    margin-top: 0;
    padding-bottom: 0;
  }
}

/* FAQ no mobile/tablet (<880px): a seção ocupa no mínimo a tela inteira,
   com o conteúdo centralizado verticalmente — assim a navegação por seta
   posiciona a seção do topo ao fim da tela, sem a próxima seção vazar. */
@media (max-width: 879px) {
  .faq.section {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ============================================================
   TABLET LANDSCAPE (880–1199) — Sobre Mim em 2 colunas reais:
   coluna de texto mais larga (menos quebras de linha) e foto menor.
   ============================================================ */
@media (min-width: 880px) and (max-width: 1199px) {
  .about .container {
    grid-template-columns: 1.35fr 0.65fr;
    gap: clamp(28px, 4vw, 44px);
  }

  .about-copy p {
    font-size: 14px;
  }

  .about-image img {
    max-height: min(400px, 58vh);
  }
}

/* ============================================================
   TABLET PORTRAIT (640–879) — cada seção em 1 slide:
   paddings verticais menores e melhor uso da largura.
   ============================================================ */
@media (min-width: 640px) and (max-width: 879px) {
  .section {
    padding-block: 36px;
  }

  .section-title {
    margin-top: 10px;
  }

  .section-lead {
    margin-top: 10px;
  }

  /* Cards de serviço: 3 colunas compactas */
  .cards {
    margin-top: 24px;
    gap: 16px;
  }

  .card {
    padding: 22px 18px 24px;
    gap: 14px;
  }

  .service-foot {
    margin-top: 18px;
  }

  .service-foot p {
    margin-bottom: 12px;
  }

  /* Sobre Mim: texto distribuído em 2 colunas; foto sai para a seção
     caber em 1 slide (a apresentação visual já existe no hero). */
  .about-image {
    display: none;
  }

  .about-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
    align-items: start;
  }

  .about-copy>.eyebrow,
  .about-block--name,
  .about-mission {
    grid-column: 1 / -1;
  }

  .about-block+.about-block {
    margin-top: 18px;
  }

  /* Avaliações: respiros reduzidos */
  .reviews-summary {
    margin-top: 18px;
  }

  .reviewers {
    margin-top: 16px;
  }

  .testimonials,
  .testimonial {
    margin-top: 20px;
  }

  .reviews-google-link {
    margin-top: 12px;
  }

  .reviews-foot {
    margin-top: 20px;
  }
}

@media (max-width: 879px) {
  :root {
    --mobile-section-edge-y: 56px;
  }

  body>section.section:not(.help) {
    padding-block-start: var(--mobile-section-edge-y);
    padding-block-end: calc(var(--mobile-section-edge-y) + 15px);
  }

  .help-panel--cards .help-cards-wrap {
    padding-bottom: calc(var(--mobile-section-edge-y) + 15px);
  }

  .faq.section,
  .contact.section {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Etapas: stepper vertical em 2 colunas enquanto o rail horizontal
   não está disponível (tl-desktop só ≥960px). */
@media (min-width: 640px) and (max-width: 959px) {
  .tl-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    padding-left: 0;
    margin-top: 30px;
  }

  .tl-mobile::before {
    display: none;
  }

  .tl-step {
    padding: 0 0 26px 56px;
  }

  .tl-step__marker {
    left: 0;
  }
}
