/* ==========================================================================
   Márcia Chaves • Terapeuta
   Tokens → base → componentes → seções → utilitários
   ========================================================================== */

:root {
  /* Paleta: tons extraídos do selo TRG (azul, marinho, coral, verde, laranja, bordô) */
  --branco-quente: #FFFFFF;
  --bege: #F2F7FB;
  --bege-profundo: #E1EDF6;
  --areia: #B7D8EF;
  --terracota: #3B8FD1; /* azul do selo: acento principal */
  --terracota-profunda: #16305A; /* marinho do selo: acento escuro, botões, títulos (AA) */
  --marrom: #0E2038; /* marinho mais escuro, usado em hover */
  --salvia: #A9B5A1;
  --salvia-clara: #E4E9DF;
  --rosa: #D7AAA2;
  --rosa-claro: #F5E6E2;
  --texto: #26313D;
  --texto-suave: #5B6B80;
  --titulo: #16305A;
  --borda-campo: #9FB3C4;
  --erro: #A2402E;
  --sucesso: #4F6048;
  --foco: #16305A;

  /* Outras cores do selo, usadas nos ícones de tópico para variar as cores */
  --trg-coral: #FF4D51;
  --trg-verde: #4EC08C;
  --trg-laranja: #F9951B;
  --trg-bordo: #A0104B;
  --trg-azul: #3B8FD1;

  /* Tipografia */
  --font-titulo: "Hind Vadodara", "Hind", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-destaque: "Crimson Text", Georgia, "Times New Roman", serif;
  --font-texto: "Hind Siliguri", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-h1: clamp(2.25rem, 1.55rem + 2.9vw, 3.625rem);
  --fs-h2: clamp(1.875rem, 1.45rem + 1.7vw, 2.625rem);
  --fs-h3: clamp(1.125rem, 1.08rem + 0.25vw, 1.25rem);
  --fs-lead: clamp(1.3125rem, 1.15rem + 0.7vw, 1.5625rem);

  /* Layout */
  --max: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(4.5rem, 3rem + 6vw, 7.5rem);
  --header-h: 72px;

  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-arco: 140px;
  --shadow-card: 0 14px 34px -24px rgba(114, 85, 72, 0.55);
  --shadow-soft: 0 28px 56px -36px rgba(114, 85, 72, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

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

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

body {
  margin: 0;
  background: var(--branco-quente);
  color: var(--texto);
  font-family: var(--font-texto);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-titulo);
  color: var(--titulo);
  text-wrap: balance;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  color: var(--texto);
}

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

a { color: var(--terracota-profunda); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--marrom); text-decoration-thickness: 2px; }

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

main:focus { outline: none; }

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-space); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--texto);
  color: var(--branco-quente);
  font-family: var(--font-titulo);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: var(--branco-quente); }

/* Conteúdo pendente: visível para revisão, some quando o campo é preenchido */
.pendente {
  display: inline;
  padding: 0.05em 0.35em;
  background: var(--rosa-claro);
  color: var(--texto);
  font-family: var(--font-texto);
  font-style: normal;
  font-size: 0.85em;
  letter-spacing: 0;
  outline: 1px dashed var(--terracota-profunda);
  outline-offset: -1px;
  border-radius: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Elementos decorativos ------------------------------------------------- */

.watermark {
  position: absolute;
  z-index: -1;
  color: var(--areia);
  opacity: 0.32;
  font-family: var(--font-destaque);
  font-size: clamp(5.5rem, 3rem + 11vw, 13rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.thread path {
  fill: none;
  stroke: var(--terracota);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.icon8 {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--terracota-profunda);
  color: var(--branco-quente);
}
.tile .icon { width: 24px; height: 24px; }
.tile--soft {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background: var(--terracota);
}
.tile--soft .icon { width: 24px; height: 24px; }
.tile .icon { transform: translateY(1px); }

.seal { flex: none; height: auto; }
.seal--xs { width: 52px; }
.seal--md { width: clamp(104px, 18vw, 128px); }

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

.btn {
  --btn-bg: var(--terracota-profunda);
  --btn-fg: #FFFFFF;
  --btn-border: var(--terracota-profunda);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.7rem 1.5rem;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-titulo);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { --btn-bg: var(--marrom); --btn-border: var(--marrom); color: var(--btn-fg); text-decoration: none; }
.btn .icon { width: 1.25em; height: 1.25em; flex: none; }

.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--marrom);
  --btn-border: var(--marrom);
}
.btn--secondary:hover { --btn-bg: var(--bege); --btn-fg: var(--texto); --btn-border: var(--texto); }

.btn--large { min-height: 56px; padding-inline: 1.75rem; font-size: 1.0625rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 248, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header[data-scrolled] {
  border-bottom-color: rgba(217, 194, 170, 0.7);
  box-shadow: 0 10px 30px -24px rgba(63, 53, 48, 0.4);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  margin-right: auto;
  padding-block: 0.25rem;
  color: var(--titulo);
  text-decoration: none;
  line-height: 1.05;
}
.brand:hover { color: var(--texto); }
.brand__name {
  font-family: var(--font-titulo);
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand__role {
  font-family: var(--font-destaque);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--texto-suave);
}

.site-nav { order: 2; }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -0.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--texto);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

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

.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--texto);
  font-family: var(--font-titulo);
  font-weight: 500;
  text-decoration: none;
}
.site-nav__link:hover { color: var(--terracota-profunda); }
.site-nav__link[aria-current] { color: var(--terracota-profunda); }

.btn--header { order: 1; min-height: 44px; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn--header__long { display: none; }

/* Menu compacto (celular e tablet) */
@media (max-width: 1023.98px) {
  .site-nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--branco-quente);
    border-bottom: 1px solid var(--areia);
    box-shadow: 0 24px 40px -30px rgba(63, 53, 48, 0.45);
  }
  .site-nav__list.is-open { display: flex; }
  .site-nav__list li + li { border-top: 1px solid var(--bege); }
  .site-nav__link { min-height: 56px; font-size: 1.125rem; }
  .site-nav__link[aria-current]::before {
    content: "";
    width: 6px; height: 6px;
    margin-right: 0.75rem;
    border-radius: 50%;
    background: var(--terracota);
  }
  .no-js .site-nav__list { position: static; display: flex; flex-direction: row; flex-wrap: wrap; gap: 0 1rem; box-shadow: none; border: 0; padding: 0; }
  .no-js .nav-toggle { display: none; }
}

@media (max-width: 479.98px) {
  .btn--header { width: 44px; padding: 0; }
  .btn--header__short { display: none; }
  .btn--header .icon { width: 1.35rem; height: 1.35rem; }
}

@media (min-width: 1024px) {
  .site-header__inner { gap: 2rem; }
  .site-nav { order: 0; }
  .nav-toggle { display: none; }
  .site-nav__list { display: flex; gap: 1.75rem; }
  .site-nav__link { font-size: 0.9875rem; }
  .site-nav__link[aria-current]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--terracota);
    transform: translateX(-50%);
  }
  .btn--header { order: 0; padding-inline: 1.25rem; }
  .btn--header__long { display: inline; }
  .btn--header__short { display: none; }
}

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

.hero {
  position: relative;
  padding-block: clamp(2.75rem, 1.75rem + 3vw, 5rem) clamp(6rem, 4.5rem + 5vw, 9rem);
  overflow: clip;
  isolation: isolate;
  background: var(--terracota-profunda);
}

.watermark--vertical {
  display: none;
  font-size: clamp(5rem, 1rem + 7vw, 8.5rem);
  top: 50%;
  left: -0.12em;
  color: var(--areia);
  opacity: 0.16;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

.hero__thread {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: min(46vw, 620px);
  height: 100%;
  opacity: 0.85;
}

.hero__grid {
  display: grid;
  gap: clamp(3.5rem, 6vw, 5.5rem);
  align-items: center;
}

.hero__title {
  max-width: 12ch;
  color: var(--branco-quente);
  font-size: clamp(2.75rem, 2rem + 3vw, 4.75rem);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -0.035em;
}

.hero__text {
  max-width: 31rem;
  margin-top: 1.75rem;
  color: var(--branco-quente);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.65;
  opacity: 0.82;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.hero__actions .btn--primary {
  --btn-bg: var(--branco-quente);
  --btn-fg: var(--terracota-profunda);
  --btn-border: var(--branco-quente);
}
.hero__actions .btn--primary:hover {
  --btn-bg: var(--bege-profundo);
  --btn-border: var(--bege-profundo);
  --btn-fg: var(--marrom);
}
.hero__actions .btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--branco-quente);
  --btn-border: var(--branco-quente);
}
.hero__actions .btn--secondary:hover {
  --btn-bg: var(--branco-quente);
  --btn-fg: var(--terracota-profunda);
  --btn-border: var(--branco-quente);
}

.hero__meta {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--branco-quente);
  font-size: var(--fs-small);
  opacity: 0.78;
}
.hero__meta .icon { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; flex: none; color: var(--areia); }

.hero__media {
  position: relative;
  width: min(100%, 470px);
  margin-inline: auto;
  padding: 0 1.5rem 1.5rem 0;
}

.hero__panel {
  position: absolute;
  z-index: 0;
  top: 3rem;
  right: 0;
  bottom: 0;
  left: 18%;
  border-radius: var(--radius-lg) var(--radius-arco) var(--radius-lg) var(--radius-lg);
  background: var(--terracota);
}

.hero__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-arco) var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero__badge {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 250px;
  padding: 0.55rem 1.1rem 0.55rem 0.55rem;
  background: var(--branco-quente);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  color: var(--texto);
  font-family: var(--font-titulo);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  background: var(--bege);
  color: var(--texto-suave);
  text-align: center;
}
.photo-placeholder__mark { width: 56px; height: 56px; opacity: 0.7; }
.photo-placeholder__label {
  font-family: var(--font-destaque);
  font-size: 1.3125rem;
  font-style: italic;
  line-height: 1.3;
}

@media (max-width: 899.98px) {
  .hero__media { width: min(92%, 360px); }
  .hero__thread { width: 90vw; height: 60%; top: auto; bottom: 0; opacity: 0.45; }
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .hero__content { padding-left: clamp(0rem, 2vw, 1.5rem); }
  .hero__media { margin-inline: auto 0; }
  .hero__badge { left: -2.25rem; bottom: 3.5rem; }
  .watermark--vertical { display: block; }
}

/* Entrada do hero: estado inicial (a animação é conduzida pela Motion em main.js) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__content > * { opacity: 0; transform: translateY(14px); }
  .js .hero__panel { opacity: 0; transform: translate(-16px, -16px); }
  .js .hero__photo { opacity: 0; transform: scale(0.94); }
  .js .hero__badge { opacity: 0; transform: translateY(14px); }
  .js .hero__thread path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 2.4s var(--ease) 0.4s forwards;
  }
}

@keyframes draw { to { stroke-dashoffset: 0; } }

/* Faixa de confiança: painel que avança sobre o hero ------------------- */

.trust {
  position: relative;
  z-index: 3;
  margin-top: calc(-1 * clamp(3rem, 2rem + 3vw, 4.5rem));
}

.trust__list {
  display: grid;
  gap: 0.9rem 1.5rem;
  margin: 0;
  padding: 1.25rem 1.35rem;
  list-style: none;
  background: var(--branco-quente);
  border: 1px solid rgba(217, 194, 170, 0.65);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-titulo);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.35;
}

@media (min-width: 600px) {
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 1.35rem 1.75rem; }
  .trust__item + .trust__item { padding-left: 1.5rem; border-left: 1px solid var(--bege-profundo); }
}

/* Sobre ------------------------------------------------------------------ */

.about {
  position: relative;
  overflow: clip;
  isolation: isolate;
}

.about__watermark {
  top: clamp(1.5rem, 4vw, 3rem);
  right: -0.08em;
}

.about__grid {
  display: grid;
  gap: 2rem 4rem;
}

.about__intro h2 { max-width: 18ch; }

.about__lead {
  margin-top: 1.75rem;
  max-width: 34ch;
  font-family: var(--font-destaque);
  font-size: var(--fs-lead);
  line-height: 1.45;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 38rem;
}

.about__photo {
  width: 100%;
  /* Um pouco mais alto que a foto original (4:5) para sobrar espaço acima da cabeça. */
  aspect-ratio: 4 / 5.6;
  object-fit: contain;
  object-position: center bottom;
  background: var(--bege);
  border-radius: var(--radius-lg) var(--radius-arco) var(--radius-lg) var(--radius-lg);
}
.about__figure { margin: 0; }

.signature { margin-top: 1rem; color: var(--terracota-profunda); }
.signature__name {
  display: block;
  font-family: var(--font-destaque);
  font-size: 2.125rem;
  font-style: italic;
  line-height: 1.1;
}
.signature__swash { width: 180px; height: 16px; margin-top: 0.25rem; }
.signature__swash path { fill: none; stroke: var(--terracota); stroke-width: 1.5; stroke-linecap: round; }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: start; }
  .about__body { padding-top: clamp(9rem, 14vw, 12rem); }
  .about__grid--photo { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); }
  .about__grid--photo .about__figure { grid-row: span 2; }
  .about__grid--photo .about__body { padding-top: 0; }
}

/* Identificação --------------------------------------------------------- */

.identification { background: var(--bege); }

.identification__grid {
  display: grid;
  gap: 3rem;
}

.identification__head {
  position: relative;
  isolation: isolate;
  margin-bottom: 2.25rem;
}
.identification__head h2 { max-width: 16ch; }

.identification__watermark {
  left: -0.05em;
  bottom: 0.15em;
  opacity: 0.35;
  font-size: clamp(4.5rem, 2.5rem + 9vw, 8rem);
}

.identification__list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.situation {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.25rem 0.8rem 0.8rem;
  background: var(--branco-quente);
  border: 1px solid rgba(217, 194, 170, 0.6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  line-height: 1.45;
}

.identification__closing {
  margin-top: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--terracota-profunda);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-family: var(--font-destaque);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.4375rem);
  line-height: 1.45;
}

.identification__art svg { width: min(62%, 240px); margin-inline: auto; }
.identification__art path { stroke: var(--terracota); stroke-width: 1.5; }

@media (min-width: 960px) {
  .identification__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: 5rem; }
  .identification__art {
    position: sticky;
    top: calc(var(--header-h) + 3rem);
    align-self: start;
    padding-top: 4rem;
  }
  .identification__art svg { width: 100%; max-width: 420px; margin-inline: auto; }
  .identification__art path { stroke: var(--terracota); stroke-width: 1.75; }
}

/* Abordagens ------------------------------------------------------------ */

.approaches__grid { display: grid; gap: 2.5rem 5rem; }

.approaches__intro { margin-top: 1rem; max-width: 30rem; font-size: 1.125rem; }

.approach-note {
  max-width: 30rem;
  margin-top: 1.75rem;
  padding-left: 1rem;
  border-left: 2px solid var(--terracota);
  color: var(--texto-suave);
  font-size: var(--fs-small);
}

.approaches__list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.approach {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--branco-quente);
  border: 1px solid rgba(217, 194, 170, 0.6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.approach p { margin-top: 0.4rem; }

.approach--trg {
  border: 1.5px solid var(--terracota);
  padding-block: 1.75rem;
}
.approach--trg h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 500; color: var(--titulo); }
.approach--trg p { font-family: var(--font-destaque); font-size: 1.25rem; line-height: 1.45; }

.approach__seal {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bege-profundo);
}
.approach__seal figcaption { color: var(--texto-suave); font-size: var(--fs-small); line-height: 1.4; }

@media (min-width: 640px) {
  .approach--trg { grid-template-columns: auto minmax(0, 1fr) auto; }
  .approach__seal {
    grid-column: auto;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0 0 0 1.5rem;
    border-top: 0;
    border-left: 1px solid var(--bege-profundo);
    text-align: center;
  }
  .approach__seal { width: 170px; }
  .approach__seal figcaption { max-width: 20ch; }
}

@media (min-width: 1024px) {
  .approaches__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .approaches__aside { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
}

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

.how { background: var(--bege); }

.section-heading { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-heading__intro { margin-top: 1rem; font-size: 1.125rem; }

.steps {
  display: grid;
  gap: 1.25rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  margin-left: 22px;
  padding: 1.5rem 1.5rem 1.6rem 3rem;
  background: var(--terracota-profunda);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  color: #FFF7F1;
}

.step__number {
  position: absolute;
  top: 1.25rem;
  left: -22px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--branco-quente);
  border: 1.5px solid var(--terracota);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  color: var(--terracota-profunda);
  font-family: var(--font-titulo);
  font-size: 1.1875rem;
  font-weight: 600;
}

.step__title { color: #FFFFFF; }
.step p { margin-top: 0.4rem; }
.step .pendente { background: rgba(255, 252, 248, 0.16); color: #FFFFFF; outline-color: var(--areia); }

.how__cta { margin-top: 2.5rem; }

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Frase ------------------------------------------------------------------ */

.quote { padding-block: var(--section-space); }

.quote__card {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 8vw, 7rem);
  background: var(--terracota);
  border-radius: var(--radius-lg) clamp(48px, 12vw, 140px) var(--radius-lg) var(--radius-lg);
  isolation: isolate;
}

.quote__head {
  display: none;
  position: absolute;
  z-index: -1;
  right: -1%;
  bottom: -4%;
  height: 92%;
  width: auto;
}
.quote__head path { stroke: rgba(255, 252, 248, 0.42); stroke-width: 1.5; }

@media (min-width: 900px) {
  .quote__head { display: block; }
  .quote__card .quote__text { margin-left: 0; max-width: 22ch; text-align: left; }
}

.quote__text {
  max-width: 26ch;
  margin-inline: auto;
  color: #FFFFFF;
  font-family: var(--font-destaque);
  font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3.125rem); /* sempre texto grande (AA ≥ 3:1) */
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

/* Depoimentos (renderizado só com relatos reais) ------------------------ */

.testimonials__list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.testimonial {
  height: 100%;
  margin: 0;
  padding: 2rem;
  background: var(--branco-quente);
  border: 1px solid rgba(217, 194, 170, 0.6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.testimonial blockquote { margin: 0; font-family: var(--font-destaque); font-size: 1.25rem; line-height: 1.5; }
.testimonial figcaption { margin-top: 1.25rem; font-family: var(--font-titulo); font-weight: 600; color: var(--texto-suave); }

@media (min-width: 900px) {
  .testimonials__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* FAQ -------------------------------------------------------------------- */

.faq { padding-top: 0; }

.faq__grid { display: grid; gap: 2rem 5rem; }

.faq__aside p { margin-top: 1rem; max-width: 28ch; color: var(--texto-suave); }

.faq__list { display: grid; gap: 0.6rem; }

.faq__item {
  background: var(--branco-quente);
  border: 1px solid rgba(217, 194, 170, 0.7);
  border-radius: var(--radius-md);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s;
}
.faq__item[open] { border-color: var(--terracota); box-shadow: var(--shadow-card); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 60px;
  padding: 0.9rem 1rem 0.9rem 1.35rem;
  font-family: var(--font-titulo);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  border-radius: var(--radius-md);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { color: var(--terracota-profunda); }
.faq__question .faq-icon-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  background: var(--bege);
  color: var(--terracota-profunda);
  transition: transform 0.3s var(--ease), background-color 0.2s, color 0.2s;
}
.faq__question .faq-icon-badge .icon { width: 16px; height: 16px; }
.faq__item[open] .faq__question .faq-icon-badge { transform: rotate(45deg); background: var(--terracota-profunda); color: #FFFFFF; }

.faq__answer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 44rem;
  padding: 0 3.5rem 1.35rem 1.35rem;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .faq__item { interpolate-size: allow-keywords; }
    .faq__item::details-content {
      height: 0;
      overflow: clip;
      transition: height 0.35s var(--ease), content-visibility 0.35s allow-discrete;
    }
    .faq__item[open]::details-content { height: auto; }
  }
}

@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
  .faq__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* Contato: faixa terracota com cartões sobrepostos --------------------- */

.contact { padding-bottom: var(--section-space); background: var(--bege); }

.contact__title {
  max-width: 20ch;
  margin-inline: auto;
  text-align: center;
}

.contact__stage {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  isolation: isolate;
}
.contact__stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 7rem;
  bottom: 7rem;
  background: var(--terracota);
}

.contact__cards {
  display: grid;
  gap: 1.25rem;
  max-width: calc(1000px + 2 * var(--gutter));
}

.contact__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--branco-quente);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.contact__card .tile { width: 52px; height: 52px; }
.contact__card .tile .icon { width: 28px; height: 28px; }
.contact__text { font-size: 1.125rem; }
.contact__card .btn { width: 100%; }
.contact__aux { margin-top: -0.25rem; color: var(--texto-suave); font-size: var(--fs-small); }

.contact-form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--branco-quente);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.contact-form__title { font-size: 1.375rem; font-weight: 500; color: var(--titulo); }
.contact-form__intro { margin-top: -0.75rem; color: var(--texto-suave); font-size: var(--fs-small); }

.field { display: grid; gap: 0.4rem; }
.field__label { font-family: var(--font-titulo); font-weight: 600; font-size: 0.9875rem; }
.field__optional { font-weight: 400; color: var(--texto-suave); }
.field__hint { color: var(--texto-suave); font-size: var(--fs-small); }
.field__error { color: var(--erro); font-size: var(--fs-small); font-weight: 500; }

.input {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--borda-campo);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--texto);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
  transition: border-color 0.2s;
}
.input::placeholder { color: #8A7466; opacity: 1; }
.input:hover { border-color: var(--marrom); }
.input:focus-visible { outline: 3px solid var(--foco); outline-offset: 1px; border-color: var(--texto); border-radius: var(--radius-sm); }
.input[aria-invalid="true"] { border-color: var(--erro); }
textarea.input { min-height: 110px; resize: vertical; }
select.input {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23725548' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.2rem;
}

.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 0.75rem;
  font-size: var(--fs-small);
  line-height: 1.5;
}
.field--check .field__error { grid-column: 2; }
.checkbox {
  width: 22px;
  height: 22px;
  margin: 0.1rem 0 0;
  accent-color: var(--terracota-profunda);
}

.contact-form__submit { width: 100%; margin-top: 0.25rem; }
.contact-form__submit[disabled] { cursor: progress; opacity: 0.85; }

.spinner {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #FFFFFF;
  border-radius: 50%;
}
.contact-form__submit[aria-busy="true"] .spinner { display: inline-block; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.form-status[data-state="success"] { background: var(--salvia-clara); color: var(--sucesso); }
.form-status[data-state="error"] { background: var(--rosa-claro); color: var(--erro); }
.form-status[data-state="loading"] { background: var(--bege); color: var(--texto-suave); }

@media (min-width: 900px) {
  .contact__cards { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: 1.5rem; }
  .contact__cards--single { grid-template-columns: minmax(0, 520px); justify-content: center; }
}

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

.site-footer {
  --foco: var(--areia);
  padding-block: 4rem 2rem;
  background: var(--texto);
  color: var(--bege);
  font-size: var(--fs-small);
}
.site-footer a { color: var(--bege); }
.site-footer a:hover { color: #FFFFFF; }
.site-footer .pendente { background: rgba(255, 252, 248, 0.12); color: var(--bege); outline-color: var(--areia); }

.site-footer__grid { display: grid; gap: 2.5rem; }

.site-footer__name {
  margin-bottom: 0.5rem;
  color: var(--branco-quente);
  font-family: var(--font-titulo);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}
.site-footer__name span { font-weight: 400; color: var(--areia); }

.site-footer__links { display: grid; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.site-footer__links li:first-child { margin-top: -0.65rem; }
.site-footer__links a,
.site-footer__static {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  text-decoration: none;
}
.site-footer__links a:hover span { text-decoration: underline; }
.site-footer__links .icon { width: 1.2rem; height: 1.2rem; flex: none; color: var(--areia); }

.site-footer__notice { display: grid; gap: 0.75rem; max-width: 26rem; color: var(--areia); }
.site-footer__emergency {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(217, 194, 170, 0.45);
  border-radius: var(--radius-sm);
  color: var(--branco-quente);
  font-weight: 500;
}

.site-footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  color: var(--areia);
}
.site-footer__credit { font-size: var(--fs-small); }
.site-footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid rgba(217, 194, 170, 0.25);
}

@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr 1.1fr; }
}

/* WhatsApp flutuante (celular) ----------------------------------------- */

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--terracota-profunda);
  color: #FFFFFF;
  box-shadow: 0 14px 30px -12px rgba(63, 53, 48, 0.6);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
}
.whatsapp-float:hover { background: var(--marrom); color: #FFFFFF; }
.whatsapp-float .icon { width: 28px; height: 28px; }
.whatsapp-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); }
.whatsapp-float:focus-visible { outline-color: var(--texto); }

@media (min-width: 1024px) {
  .whatsapp-float { display: none; }
}

/* Revelação leve ao rolar: estado inicial (a Motion anima ao entrar na tela) */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* Política de privacidade ---------------------------------------------- */

.legal { padding-block: clamp(3rem, 8vw, 6rem); }
.legal__container { max-width: calc(46rem + 2 * var(--gutter)); }
.legal h1 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.15; }
.legal__draft {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--rosa-claro);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
}
.legal__section { margin-top: 2.5rem; }
.legal__section h2 { font-size: 1.375rem; font-weight: 600; }
.legal__section p { margin-top: 0.75rem; }
.legal__back { margin-top: 3rem; }

/* Reduzir movimento ----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
