/* ============================================================
   Eduarda Sisnandes Psicóloga — Design tokens — identidade visual da marca
   ============================================================ */
/* ---------- Fontes da marca ----------
   Agatho: fonte de display (títulos). Arquivo licenciado — coloque os
   arquivos em assets/fonts/ (veja assets/fonts/LEIA-ME.txt).
   Montserrat: fonte de texto (carregada pelo Google Fonts no <head>). */
@font-face {
  font-family: "Agatho";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    local("Agatho"),
    local("Agatho Regular"),
    url("../assets/fonts/Agatho-Regular.woff2") format("woff2"),
    url("../assets/fonts/Agatho-Regular.otf") format("opentype");
}
@font-face {
  font-family: "Agatho";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src:
    local("Agatho Light"),
    url("../assets/fonts/Agatho-Light.woff2") format("woff2"),
    url("../assets/fonts/Agatho-Light.otf") format("opentype");
}

:root {
  /* Paleta oficial da marca */
  --green: #20362a; /* verde floresta */
  --gold: #c5a785; /* dourado areia */
  --cream: #f1ece6; /* creme */

  /* Derivados da paleta (mesmas famílias de cor) */
  --bg: var(--cream);
  --bg-deep: #e8e0d5; /* creme um tom abaixo, para alternar seções */
  --card: #ddd2c2;
  --card-soft: #faf8f4; /* creme clareado, para cards */
  --white: #ffffff;
  --green-dark: #182b20; /* verde mais fundo: hover, rodapé */
  --gold-light: #d3bb9c; /* hover do dourado */
  --gold-ink: #7a5c38; /* dourado escurecido para TEXTO sobre creme (contraste 5,2:1) */

  --ink: var(--green);
  --ink-soft: #4a5a4f;
  --ink-faint: #5a6b5f;
  --line: rgba(32, 54, 42, 0.14);

  --font-display: "Agatho", "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --container: 1120px;
  --header-h: 83px; /* altura do header no topo (logo 50px + 2×16px + borda) */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 0.84, 0.44, 1);
  --dur-fast: 0.35s;
  --dur-med: 0.6s;
  --dur-slow: 0.9s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
  padding: 0;
}
/* Só o html corta o overflow horizontal (propaga para a viewport).
   Se o body também tiver overflow != visible, ele vira um scroll
   container e o header deixa de acompanhar a página. */
html {
  overflow-x: hidden;
}
html.menu-open {
  overflow: hidden; /* trava a rolagem com o menu mobile aberto */
}
@supports (overflow: clip) {
  html {
    overflow-x: clip;
  }
  html.menu-open {
    overflow: hidden;
  }
}

body {
  padding-top: var(--header-h);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Ancoras não ficam escondidas atrás do header fixo */
[id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

/* Foco de teclado sempre visível (acessibilidade) */
a:focus-visible,
button:focus-visible,
.faq__q:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Respeita a preferência de movimento reduzido do usuário */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-hero-item {
    opacity: 1;
    transform: none;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* ============================================================
   Sistema de revelação ao rolar
   ============================================================ */
[data-reveal="up"] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity var(--dur-med) var(--ease-soft),
    transform var(--dur-med) var(--ease-soft);
  will-change: opacity, transform;
}
[data-reveal="up"].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal="scale"] {
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition:
    opacity var(--dur-med) var(--ease-soft),
    transform var(--dur-med) var(--ease-soft);
  will-change: opacity, transform;
}
[data-reveal="scale"].is-visible {
  opacity: 1;
  transform: none;
}

/* Revelação "cortina" para fotos — ecoa a luz entrando pela cortina
   já usada na identidade visual da marca */
/* A máscara da revelação "cortina" vive num elemento INTERNO (.curtain-mask),
   nunca no próprio elemento que o IntersectionObserver observa. Clipar o
   elemento observado a 0px de largura fazia o navegador nunca reportar
   interseção (ratio sempre 0), travando a animação pra sempre — era o bug
   relatado na foto da seção Sobre. */
[data-reveal="curtain"] .curtain-mask {
  display: block;
  overflow: hidden;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.1s var(--ease);
}
[data-reveal="curtain"].is-visible .curtain-mask {
  clip-path: inset(0 0 0 0%);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green);
  line-height: 1.14;
  margin: 0;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.section {
  padding: 108px 0;
  position: relative;
}
.section--tight {
  padding: 84px 0;
}
.section--deep {
  background: var(--bg-deep);
}
.section--green {
  background: var(--green);
  color: var(--cream);
}
.section--green h2,
.section--green h3 {
  color: var(--cream);
}

.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-ink);
  margin-bottom: 18px;
}
.eyebrow-line::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-ink);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(32px, 3.8vw, 48px);
}
.section-head p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16.5px;
  font-weight: 300;
  max-width: 56ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}
.btn--primary {
  background: var(--green);
  color: var(--bg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.16) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  z-index: -1;
}
.btn--primary:hover::before {
  transform: translateX(120%);
}
.btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(32, 54, 42, 0.28);
}
.btn--ghost {
  padding: 12px 24px;
  font-size: 13.5px;
  background: var(--green);
  border-color: var(--green);
  color: var(--bg);
}
.btn--ghost:hover {
  border-color: var(--green-dark);
  background: var(--green-dark);
}
.btn--on-green {
  background: var(--gold);
  color: var(--green);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--on-green::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  z-index: -1;
}
.btn--on-green:hover::before {
  transform: translateX(120%);
}
.btn--on-green:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-fast) var(--ease);
}
/* O blur/fundo translúcido vive num pseudo-elemento próprio: se ficasse
   direto no .site-header, o backdrop-filter cria um containing block para
   os descendentes com position:fixed (o .main-nav no mobile), o que
   colapsa a altura do menu e deixa o fundo dele transparente. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(241, 236, 230, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(32, 54, 42, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--container);
  margin: 0 auto;
  transition: padding var(--dur-fast) var(--ease);
}
.site-header.is-scrolled .site-header__inner {
  padding: 11px 28px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img {
  height: 50px;
  width: auto;
  transition: height var(--dur-fast) var(--ease);
}
.site-header.is-scrolled .brand img {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-ink);
  transition: width 0.25s ease;
}
.main-nav a:hover::after {
  width: 100%;
}
.main-nav a:hover {
  color: var(--green-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 22px;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-dark);
  transition: all 0.25s ease;
}
.menu-toggle span:nth-child(1) {
  top: 0;
}
.menu-toggle span:nth-child(2) {
  top: 10px;
}
.menu-toggle span:nth-child(3) {
  top: 20px;
}
.menu-toggle.is-open span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

/* progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  width: 0%;
  z-index: 80;
  transition: width 0.1s linear;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 88px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: 1%;
  top: 4%;
  width: min(46vw, 560px);
  height: 92%;
  background: url("../assets/logo/simbolo-dourado.png") no-repeat right center /
    contain;
  opacity: 0.32;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gold-ink);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-ink);
}
.hero__sub {
  margin-top: 26px;
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 52ch;
}
.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.hero__trust b {
  color: var(--green-dark);
}

.hero__visual {
  position: relative;
}
.hero__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(32, 54, 42, 0.28);
  transform: rotate(0deg);
}
.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  left: -22px;
  bottom: -22px;
  background: var(--green);
  color: var(--bg);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 36px -12px rgba(32, 54, 42, 0.4);
  max-width: 210px;
  transform: rotate(-2deg);
}
.hero__badge b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--bg);
}
.hero__badge span {
  font-size: 13px;
  color: rgba(241, 236, 230, 0.8);
}

/* Entrada orquestrada do hero, disparada uma vez ao carregar a página */
.reveal-hero-item {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--dur-slow) var(--ease-soft),
    transform var(--dur-slow) var(--ease-soft);
}
.reveal-hero-item.is-visible {
  opacity: 1;
  transform: none;
}

.hero__eyebrow.reveal-hero-item {
  transition-delay: 0.05s;
}
.hero h1.reveal-hero-item {
  transition-delay: 0.18s;
}
.hero__sub.reveal-hero-item {
  transition-delay: 0.34s;
}
.hero__cta-row.reveal-hero-item {
  transition-delay: 0.48s;
}
.hero__visual.reveal-hero-item {
  transition-delay: 0.3s;
}
.hero__visual.reveal-hero-item.is-visible .hero__frame img {
  transform: scale(1);
}
.hero__frame img {
  transition: transform 1.4s var(--ease);
  transform: scale(1.08);
}
.hero__frame[data-reveal="curtain"] .curtain-mask {
  transition-delay: 0.38s;
}

/* ============================================================
   Sobre / Autoridade
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.about__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -18px rgba(32, 54, 42, 0.22);
}
.about__photo img {
  transition: transform 1.4s var(--ease);
  transform: scale(1.08);
}
.about__photo.is-visible img {
  transform: scale(1);
}
.about__crp {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-faint);
  text-align: center;
}
.about h2 {
  font-size: clamp(28px, 3.2vw, 38px);
}
.about p {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 58ch;
}
.about__signature {
  margin-top: 30px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 28px;
  color: var(--green);
}
.about__stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  flex-wrap: nowrap;
}
.about__stat {
  flex: 1 1 0;
  min-width: 0;
}
.about__stat b {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--gold-ink);
  display: block;
}
.about__stat span {
  font-size: 14px;
  color: var(--ink-soft);
  display: block;
}
@media (max-width: 560px) {
  .about__stats {
    flex-wrap: wrap;
    gap: 28px 40px;
  }
  .about__stat {
    flex: 1 1 40%;
  }
}

/* ============================================================
   Abordagem
   ============================================================ */
.approach__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.approach__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px;
  transition:
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}
.approach__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -20px rgba(32, 54, 42, 0.22);
  border-color: rgba(197, 167, 133, 0.35);
}
.approach__card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.approach__card p {
  color: var(--ink-soft);
}
.approach__tag {
  display: inline-block;
  font-size: 12px;
  color: var(--gold-ink);
  border: 1px solid var(--gold);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* Duas colunas de informação (usado na seção verde "O que é psicoterapia") */
.duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 46px;
}
.duo-grid__eyebrow {
  color: var(--gold);
}
.duo-grid__eyebrow::before {
  background: var(--gold);
}
.duo-grid h3 {
  font-size: 26px;
  margin-bottom: 16px;
}
.duo-grid p {
  color: rgba(241, 236, 230, 0.82);
}

/* ============================================================
   Para quem é (cards no estilo dos destaques do Instagram)
   ============================================================ */
.forwho {
  background: var(--green);
  color: var(--bg);
}
.forwho .section-head h2 {
  color: var(--cream);
}
.forwho .section-head p {
  color: rgba(241, 236, 230, 0.75);
}
.forwho .eyebrow-line {
  color: var(--gold);
}
.forwho .eyebrow-line::before {
  background: var(--gold);
}
.forwho__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.forwho__card {
  background: var(--gold);
  color: var(--green);
  border-radius: var(--radius-md);
  padding: 30px 32px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.4;
  transition:
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}
.forwho__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px -16px rgba(0, 0, 0, 0.35);
}
.forwho__card:nth-child(2n) {
  background: var(--cream);
}

/* ============================================================
   Benefícios
   ============================================================ */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 36px;
}
.benefit {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  transition:
    border-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}
.benefit:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.benefit h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.benefit p {
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ============================================================
   Como funciona (timeline real: é uma sequência)
   ============================================================ */
.how__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.how__item {
  padding: 34px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-fast) var(--ease);
}
.how__item:hover {
  background: rgba(197, 167, 133, 0.06);
}
.how__num {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--gold-ink);
  font-size: 22px;
  margin-bottom: 14px;
  display: block;
}
.how__item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.how__item p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* ============================================================
   Prova / Credibilidade
   ============================================================ */
.proof__top {
  display: flex;
  align-items: baseline;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 54px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.proof__rating b {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--green-dark);
}
.proof__rating span {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
}
.proof__stars {
  color: var(--gold-ink);
  font-size: 20px;
  letter-spacing: 3px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial {
  background: var(--card-soft);
  border-radius: var(--radius-md);
  padding: 30px;
  transition:
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px -18px rgba(32, 54, 42, 0.18);
}
.testimonial p {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--green);
  font-style: normal;
  line-height: 1.45;
}
.testimonial cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 13.5px;
  color: var(--ink-faint);
}
.proof__note {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 18px;
}

/* ============================================================
   Marquee infinito de avaliações
   ============================================================ */
.marquee {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 8px;
  margin-bottom: 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}
.marquee__row {
  overflow: hidden;
}
.marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-left 52s linear infinite;
}
.marquee__track--right {
  animation-name: marquee-right;
}
.marquee__row:hover .marquee__track,
.marquee__row:focus-within .marquee__track {
  animation-play-state: paused;
}
@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
.marquee__card {
  flex: 0 0 auto;
  width: 320px;
  background: var(--card-soft);
  border-radius: var(--radius-md);
  padding: 26px;
}
.marquee__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.marquee__stars {
  color: var(--gold-ink);
  font-size: 15px;
  letter-spacing: 2px;
}
.marquee__source {
  color: var(--ink-faint);
  font-size: 14px;
}
.marquee__card p {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--green);
  font-style: normal;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.marquee__card cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 13.5px;
  color: var(--ink-faint);
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
  .marquee__row {
    overflow-x: auto;
  }
}
@media (max-width: 640px) {
  .marquee__card {
    width: 260px;
    padding: 20px;
  }
  .marquee__track {
    animation-duration: 38s;
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__list {
  max-width: 780px;
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--green);
}
.faq__q .icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
}
.faq__q .icon::before,
.faq__q .icon::after {
  content: "";
  position: absolute;
  background: var(--green);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq__q .icon::before {
  width: 10px;
  height: 1.4px;
}
.faq__q .icon::after {
  width: 1.4px;
  height: 10px;
  transition:
    transform var(--dur-fast) var(--ease),
    opacity var(--dur-fast) var(--ease);
}
.faq__item.is-open .icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq__q .icon {
  transition:
    border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
}
.faq__item.is-open .icon {
  border-color: var(--gold);
  background: rgba(197, 167, 133, 0.08);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.5s var(--ease),
    opacity 0.35s ease;
}
.faq__item.is-open .faq__a {
  opacity: 1;
  transition:
    max-height 0.5s var(--ease),
    opacity 0.45s ease 0.1s;
}
.faq__a p {
  padding: 0 0 26px;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ============================================================
   Localização
   ============================================================ */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 380px;
}
.location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}
.location__info dl {
  margin-top: 28px;
}
.location__info dt {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 20px;
}
.location__info dd {
  margin: 4px 0 0;
  font-size: 19px;
  color: var(--green);
  font-family: var(--font-display);
}

/* ============================================================
   CTA final
   ============================================================ */
.final-cta {
  background: var(--green);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 74px 60px;
  text-align: center;
  margin: 0 28px;
  max-width: calc(var(--container) - 56px);
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  height: 130%;
  aspect-ratio: 981 / 1451;
  background: url("../assets/logo/simbolo-dourado.png") no-repeat center /
    contain;
  opacity: 0.13;
  pointer-events: none;
}
.final-cta::before {
  left: -9%;
  transform: translateY(-50%);
}
.final-cta::after {
  right: -9%;
  transform: translateY(-50%) scaleX(-1);
}
.final-cta h2 {
  color: var(--cream);
  font-size: clamp(28px, 3.6vw, 42px);
  max-width: 22ch;
  margin: 0 auto;
}
.final-cta p {
  margin-top: 18px;
  color: rgba(241, 236, 230, 0.78);
  font-size: 17px;
}
.final-cta .btn {
  margin-top: 30px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding: 70px 0 30px;
  background: var(--green-dark);
  color: rgba(241, 236, 230, 0.75);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(241, 236, 230, 0.12);
}
.footer__brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer__brand img {
  height: 56px;
  width: auto;
}
.footer__desc {
  margin-top: 16px;
  font-size: 14.5px;
  max-width: 32ch;
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  color: var(--gold);
}
.footer__col a,
.footer__col p {
  display: block;
  font-size: 14.5px;
  padding: 6px 0;
  color: rgba(241, 236, 230, 0.75);
}
.footer__col a:hover {
  color: var(--cream);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer__bottom a {
  color: rgba(241, 236, 230, 0.75);
}
.footer__bottom a:hover {
  color: var(--cream);
}

/* ============================================================
   Botão flutuante de WhatsApp
   ============================================================ */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  background: var(--green);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(32, 54, 42, 0.35);
  z-index: 70;
  animation: waPulse 2.4s infinite;
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.wa-float.is-visible {
  opacity: 1;
  transform: scale(1);
}
.wa-float svg {
  width: 30px;
  height: 30px;
  fill: var(--cream);
}
@keyframes waPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(197, 167, 133, 0.6),
      0 10px 24px rgba(32, 54, 42, 0.35);
  }
  70% {
    box-shadow:
      0 0 0 14px rgba(197, 167, 133, 0),
      0 10px 24px rgba(32, 54, 42, 0.35);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(197, 167, 133, 0),
      0 10px 24px rgba(32, 54, 42, 0.35);
  }
}

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid,
  .about__grid,
  .location__grid {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: -1;
  }
  .hero__badge {
    left: 12px;
    bottom: -18px;
  }
  .approach__grid,
  .duo-grid,
  .forwho__list,
  .how__list,
  .testimonials,
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .main-nav {
    /* Colado na base do header (que é fixed): acompanha qualquer mudança
       de altura sem depender de JS, então nunca sobra brecha */
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    height: calc(100vh - 100% - 1px);
    height: calc(100dvh - 100% - 1px);
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 28px 30px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0s linear 0.2s;
    z-index: 55;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
    transform: none;
  }
  .main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .menu-toggle {
    display: block;
  }
  .header-actions .btn--ghost {
    display: none;
  }
  .section {
    padding: 70px 0;
  }
  .approach__grid,
  .duo-grid,
  .forwho__list,
  .how__list,
  .testimonials,
  .benefits__grid {
    grid-template-columns: 1fr;
  }
  .how__list {
    border-right: 0;
  }
  .how__item {
    border-right: 0;
  }
  .proof__top {
    flex-direction: column;
    gap: 16px;
  }
  .final-cta {
    padding: 50px 26px;
    margin: 0 16px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .footer__desc {
    max-width: none;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 980px) and (min-width: 761px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid > div:first-child {
    grid-column: 1 / -1;
  }
}

/* Logo horizontal ocupa mais espaço: menu vira hambúrguer até 1080px */
@media (max-width: 1080px) and (min-width: 761px) {
  .main-nav {
    /* Colado na base do header (que é fixed): acompanha qualquer mudança
       de altura sem depender de JS, então nunca sobra brecha */
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    height: calc(100vh - 100% - 1px);
    height: calc(100dvh - 100% - 1px);
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 28px 30px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0s linear 0.2s;
    z-index: 55;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
    transform: none;
  }
  .main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .menu-toggle {
    display: block;
  }
}
@media (max-width: 760px) {
  .hero::before {
    width: 90vw;
    opacity: 0.2;
    top: 0;
  }
  .brand img {
    height: 40px;
  }
  .footer__brand img {
    height: 48px;
  }
}
@media (max-width: 400px) {
  .brand img {
    height: 34px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 73px;
  }
}
@media (max-width: 400px) {
  :root {
    --header-h: 67px;
  }
}

/* CTA final no mobile: um único símbolo centralizado atrás do texto */
@media (max-width: 760px) {
  .final-cta::after {
    display: none;
  }
  .final-cta::before {
    left: 50%;
    height: 118%;
    transform: translate(-50%, -50%);
    opacity: 0.12;
  }
}

/* ============================================================
   Fonte principal (Agatho) em bold
   Agatho só tem os arquivos Regular/Light; font-synthesis: weight
   permite o negrito mesmo sem um arquivo Bold dedicado.
   ============================================================ */
h1,
h2,
h3,
h4,
.hero__badge b,
.about__signature,
.about__stat b,
.forwho__card,
.how__num,
.proof__rating b,
.testimonial p,
.marquee__card p,
.faq__q,
.location__info dd {
  font-weight: 700;
  font-synthesis: weight;
}
