/* =========================================================
   Nayana Porto — Psicóloga
   Design system: marfim editorial + azul da marca + terracota
   ========================================================= */

:root {
  --color-bg: #faf7f1;
  --color-bg-alt: #f1ead9;
  --color-surface: #ffffff;
  --color-text: #2b2a28;
  --color-text-soft: #6a6659;
  --color-heading: #264771;
  --color-accent: #ec8327;
  --color-accent-dark: #c96a15;
  --color-accent-soft: #f8e3c8;
  --color-teal: #168f8f;
  --color-plum: #7a4771;
  --color-green: #687646;
  --color-border: #e6dcc7;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container-width: 1180px;
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --shadow-soft: 0 30px 70px -30px rgba(38, 71, 113, 0.25);
  --shadow-card: 0 14px 34px -18px rgba(38, 71, 113, 0.22);
  --shadow-lift: 0 26px 56px -34px rgba(38, 71, 113, 0.45);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body, h1, h2, h3, p, blockquote, figure, ul, ol {
  margin: 0;
}
body {
  position: relative;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

::selection {
  background: var(--color-accent-soft);
  color: var(--color-heading);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  z-index: 1000;
  background: var(--color-heading);
  color: #fff;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
}

/* ---------- Manchas de fundo (profundidade orgânica) ---------- */
.section-glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.section-glow--hero {
  top: -8%;
  right: 6%;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle, rgba(236, 131, 39, 0.16) 0%, rgba(236, 131, 39, 0) 70%);
}
.section-glow--signs {
  bottom: -18%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  max-width: 520px;
  max-height: 520px;
  background: radial-gradient(circle, rgba(38, 71, 113, 0.12) 0%, rgba(38, 71, 113, 0) 70%);
}
.section-glow--contact {
  top: -14%;
  left: 2%;
  width: 36vw;
  height: 36vw;
  max-width: 460px;
  max-height: 460px;
  background: radial-gradient(circle, rgba(236, 131, 39, 0.14) 0%, rgba(236, 131, 39, 0) 70%);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--color-heading);
  line-height: 1.15;
  font-weight: 500;
}
h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent-dark);
}

.color-wash {
  color: var(--color-accent-dark);
  animation: hero-color-wash 0.58s 0.08s var(--ease-out) both;
}

@keyframes hero-color-wash {
  0% {
    color: var(--color-heading);
    text-shadow: 0 0 0 rgba(236, 131, 39, 0);
  }
  42% {
    color: var(--color-accent-dark);
    text-shadow:
      -10px 0 18px rgba(236, 131, 39, 0.18),
      8px 0 10px rgba(236, 131, 39, 0.1);
  }
  100% {
    color: var(--color-accent-dark);
    text-shadow: 0 0 0 rgba(236, 131, 39, 0);
  }
}

h1 {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.lead, .section-lead {
  font-size: 1.15rem;
  color: var(--color-text-soft);
  max-width: 46ch;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.75rem;
}
.section-head .section-lead { max-width: 56ch; }
.desktop-break { display: none; }
@media (min-width: 901px) {
  .desktop-break { display: initial; }
}

section { position: relative; padding: clamp(3rem, 6vw, 5.5rem) 0; }
.bg-alt { background: var(--color-bg-alt); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  overflow: hidden;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  isolation: isolate;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), background 0.22s var(--ease-out), color 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -30% -55%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  opacity: 0;
  transform: translateX(-45%) skewX(-14deg);
  transition: transform 0.55s var(--ease-out), opacity 0.25s var(--ease-out);
  pointer-events: none;
}
.btn:hover::before {
  opacity: 1;
  transform: translateX(45%) skewX(-14deg);
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(236, 131, 39, 0.55);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -12px rgba(236, 131, 39, 0.6);
}
.btn-ghost {
  background: transparent;
  color: var(--color-heading);
  border: 1.5px solid var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-heading);
  background: rgba(38, 71, 113, 0.04);
  transform: translateY(-3px);
}
.btn-small { padding: 0.65rem 1.3rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Leaf parallax field ---------- */
.leaf-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* as folhas se deslocam via transform conforme o scroll (parallax); sem
     isso, o deslocamento acumulado empurra uma folha rápida pra muito além
     do rodapé e isso vira espaço em branco "fantasma" rolável no fim da
     página. overflow:hidden aqui corta esse excesso sem afetar o scroll
     real do body/html. */
  overflow: hidden;
}
.leaf {
  position: absolute;
  will-change: transform;
}
.leaf__sway {
  animation: leaf-sway 9s ease-in-out infinite;
}
.leaf img { opacity: 0.85; }

.leaf--1 { top: 5%;  left: 3%;  }
.leaf--2 { top: 10%; left: 91%; }
.leaf--3 { top: 20%; left: 86%; }
.leaf--4 { top: 34%; left: 4%; }
.leaf--5 { top: 46%; left: 93%; }
.leaf--6 { top: 59%; left: 5%; }
.leaf--7 { top: 65%; left: 87%; }
.leaf--8 { top: 87%; left: 7%; }
.leaf--9 { top: 92%; left: 90%; }
.leaf--10 { top: 76%; left: 4%; }

.leaf--2 .leaf__sway { animation-duration: 7s; animation-delay: -1s; }
.leaf--3 .leaf__sway { animation-duration: 11s; animation-delay: -4s; }
.leaf--4 .leaf__sway { animation-duration: 13s; animation-delay: -2s; }
.leaf--5 .leaf__sway { animation-duration: 8s;  animation-delay: -5s; }
.leaf--6 .leaf__sway { animation-duration: 10s; animation-delay: -3s; }
.leaf--7 .leaf__sway { animation-duration: 7.5s; animation-delay: -6s; }
.leaf--8 .leaf__sway { animation-duration: 12s; animation-delay: -1.5s; }
.leaf--9 .leaf__sway { animation-duration: 9.5s; animation-delay: -3.5s; }
.leaf--10 .leaf__sway { animation-duration: 10.5s; animation-delay: -2.5s; }

@keyframes leaf-sway {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(14px, -26px) rotate(10deg); }
}

@media (max-width: 900px) {
  /* Abaixo de 900px o hero/sobre/contato empilham em coluna única e as
     proporções de cada seção mudam bastante — as % de "top" acima foram
     calibradas para o layout de 2 colunas do desktop. Aqui reposicionamos
     cada folha para cair nas folgas de padding ENTRE seções (medidas de
     verdade em 390px de largura), não no meio de blocos de texto. */
  .leaf--1  { top: 2%;  }
  .leaf--2  { top: 10%; }
  .leaf--3  { top: 12%; }
  .leaf--4  { top: 30.2%; }
  .leaf--5  { top: 31.5%; }
  .leaf--6  { top: 43%; }
  .leaf--7  { top: 57%; }
  .leaf--8  { top: 62%; }
  .leaf--9  { top: 80%; }
  .leaf--10 { top: 93%; }
}
@media (max-width: 640px) {
  /* nota: .leaf já recebe transform via JS (parallax) — não sobrescrever
     transform aqui, ou o scroll cancela essa regra. Usar opacity + display. */
  .leaf { opacity: 0.55; }
  .leaf--3, .leaf--5, .leaf--7, .leaf--9 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .leaf__sway { animation: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 247, 241, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(38, 71, 113, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
}
.brand-mark { height: 40px; width: auto; }
.brand-type { height: 32px; width: auto; }
.brand-type--h { height: 26px; }
.footer-brand .brand-type { height: 26px; }
.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
}
.brand-wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.28rem;
  color: var(--color-heading);
  line-height: 1;
}
.brand-wordmark::after {
  content: "";
  width: 0.52rem;
  height: 0.82rem;
  margin-left: 0.08rem;
  border-radius: 70% 30% 70% 30%;
  background: var(--color-accent);
  transform: rotate(24deg) translateY(0.08rem);
  transition: transform 0.24s var(--ease-out), background 0.24s var(--ease-out);
}
.brand:hover .brand-wordmark::after {
  background: var(--color-teal);
  transform: rotate(38deg) translate(0.06rem, -0.02rem);
}
.brand-wordmark__first {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-style: normal;
  font-weight: 600;
}
.brand-wordmark__last {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
}
.site-header .brand-wordmark__first,
.site-header .brand-wordmark__last {
  font-size: 1.52rem;
}
.brand-subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1;
  text-align: center;
  color: color-mix(in srgb, var(--color-heading) 68%, var(--color-text-soft));
  transform: translateX(0.08em);
}

.main-nav ul {
  display: flex;
  gap: 2.1rem;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  z-index: 0;
  padding: 0.3rem 0;
  transition: color 0.22s var(--ease-out);
}
.main-nav a::before {
  content: "";
  position: absolute;
  inset: -0.38rem -0.62rem;
  z-index: -1;
  border-radius: var(--radius-sm);
  background: rgba(236, 131, 39, 0.1);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: right 0.25s var(--ease);
}
.main-nav a:hover::after { right: 0; }
.main-nav a:hover,
.main-nav a.is-active {
  color: var(--color-heading);
}
.main-nav a:hover::before,
.main-nav a.is-active::before {
  opacity: 1;
  transform: scale(1);
}

.header-cta { margin-left: 1.7rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  margin-left: 0.5rem;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-heading);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: 1.5rem clamp(1.5rem, 5vw, 3rem) 2rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}
.mobile-nav a { font-size: 1.05rem; font-weight: 500; }
.mobile-nav a.is-active { color: var(--color-accent-dark); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 1;
  filter: none;
  transform: translateY(12px);
  transition: transform 0.55s var(--ease-out);
  transition-delay: calc(var(--reveal-index, 0) * 70ms);
}
.reveal.is-visible {
  transform: translateY(0);
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(0.5rem, calc(7vw - 50px), 1.875rem); overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text .lead { margin-bottom: 2.3rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 66%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--color-accent-soft) 0%, rgba(248, 227, 200, 0) 70%);
}
.hero-media .about-tree-float { height: 81%; }

.about-visual .hero-photo-frame { width: min(100%, 380px); }

.hero-photo-frame {
  position: relative;
  --rx: 0deg;
  --ry: 0deg;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out);
}
.hero-photo-frame:hover,
.hero-photo-frame.is-pointer-active {
  box-shadow: 0 36px 76px -34px rgba(38, 71, 113, 0.42);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-5px);
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s var(--ease-out), filter 0.55s var(--ease-out);
}
.hero-photo-frame:hover .hero-photo,
.hero-photo-frame.is-pointer-active .hero-photo {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.025);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  /* width (não max-width): a árvore é position:absolute e não contribui
     com tamanho intrínseco, então margin-inline:auto + max-width sozinho
     faz o grid abandonar o stretch e o item colapsa para 0x0. */
  .hero-media { width: min(100%, 380px); margin-inline: auto; order: -1; }
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: stretch;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.about-text { position: relative; }
.about-text p { margin-bottom: 1.3rem; font-size: 1.06rem; color: var(--color-text); }
.about-text p:last-of-type { margin-bottom: 2rem; }

.about-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual::before {
  content: "";
  position: absolute;
  inset: -20px -20px auto auto;
  width: 52%;
  height: 38%;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}
.about-tree-float {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 66%;
  aspect-ratio: 186.79 / 248.55;
  animation: about-tree-float 8s ease-in-out infinite;
  filter: drop-shadow(0 30px 34px rgba(38, 71, 113, 0.16));
}
.about-tree-img { height: 100%; width: 100%; max-width: none; display: block; overflow: visible; }

@keyframes about-tree-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-18px); }
}
@media (prefers-reduced-motion: reduce) {
  .about-tree-float { animation: none; }
}

/* ---------- Árvore: revelação caule → folhas grandes → folhas pequenas ---------- */
/* dispara junto com o .reveal do .hero-media (mesmo IntersectionObserver, ver main.js) */
#tree-trunk {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  opacity: 0;
  transform: scaleY(0.5) translateY(3%);
  filter: blur(2px);
  transition: opacity 0.85s var(--ease-out), transform 1.05s var(--ease-out), filter 0.85s var(--ease-out);
}
.hero-media.is-visible #tree-trunk {
  opacity: 1;
  transform: scaleY(1) translateY(0);
  filter: blur(0);
}

#tree-leaves-big path,
#tree-leaves-small path {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  opacity: 0;
  transform: translateY(8px) scale(0.55);
  transition: opacity 0.6s var(--ease-out), transform 0.75s var(--ease-out);
}
.hero-media.is-visible #tree-leaves-big path,
.hero-media.is-visible #tree-leaves-small path {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#tree-leaves-big path:nth-child(1)  { transition-delay: 0.55s; }
#tree-leaves-big path:nth-child(2)  { transition-delay: 0.60s; }
#tree-leaves-big path:nth-child(3)  { transition-delay: 0.66s; }
#tree-leaves-big path:nth-child(4)  { transition-delay: 0.72s; }
#tree-leaves-big path:nth-child(5)  { transition-delay: 0.78s; }
#tree-leaves-big path:nth-child(6)  { transition-delay: 0.84s; }
#tree-leaves-big path:nth-child(7)  { transition-delay: 0.90s; }
#tree-leaves-big path:nth-child(8)  { transition-delay: 0.96s; }
#tree-leaves-big path:nth-child(9)  { transition-delay: 1.02s; }
#tree-leaves-big path:nth-child(10) { transition-delay: 1.08s; }

#tree-leaves-small path:nth-child(1)  { transition-delay: 0.95s; }
#tree-leaves-small path:nth-child(2)  { transition-delay: 1.02s; }
#tree-leaves-small path:nth-child(3)  { transition-delay: 1.09s; }
#tree-leaves-small path:nth-child(4)  { transition-delay: 1.16s; }
#tree-leaves-small path:nth-child(5)  { transition-delay: 1.23s; }
#tree-leaves-small path:nth-child(6)  { transition-delay: 1.30s; }
#tree-leaves-small path:nth-child(7)  { transition-delay: 1.37s; }
#tree-leaves-small path:nth-child(8)  { transition-delay: 1.44s; }
#tree-leaves-small path:nth-child(9)  { transition-delay: 1.51s; }
#tree-leaves-small path:nth-child(10) { transition-delay: 1.58s; }

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  /* width, mesmo motivo do .hero-media acima: evita depender do tamanho
     intrínseco do conteúdo quando margin-inline:auto está presente. */
  .about-visual { min-height: 300px; width: min(100%, 420px); margin-inline: auto; }
}

blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: var(--color-heading);
  border-left: 3px solid var(--color-accent);
  padding-left: 1.6rem;
  margin: 2.5rem 0;
  line-height: 1.4;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.credentials li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-heading);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 0.55rem 1rem;
  border-radius: 999px;
}

/* ---------- Areas ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.area-card {
  position: relative;
  --rx: 0deg;
  --ry: 0deg;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  overflow: hidden;
  transform: perspective(850px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out), background 0.28s var(--ease-out);
}
.area-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(236, 131, 39, 0.08), rgba(22, 143, 143, 0.06), transparent 62%);
  opacity: 0;
  transform: translateX(-20%);
  transition: opacity 0.32s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}
.area-card:hover,
.area-card.is-pointer-active {
  border-color: rgba(236, 131, 39, 0.34);
  background: rgba(255, 255, 255, 0.92);
  transform: perspective(850px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.area-card:hover::before,
.area-card.is-pointer-active::before {
  opacity: 1;
  transform: translateX(0);
}
.area-card-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.area-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s var(--ease-out), filter 0.28s var(--ease-out);
}
.area-card:hover .area-icon,
.area-card.is-pointer-active .area-icon {
  filter: drop-shadow(0 8px 8px rgba(38, 71, 113, 0.12));
  transform: translateY(-3px) rotate(-8deg) scale(1.08);
}
.area-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-accent-soft);
  -webkit-text-stroke: 1.5px var(--color-accent);
}
.area-card h3 { font-size: 1.15rem; margin-bottom: 0.7rem; }
.area-card h3 span { display: block; font-size: 0.95rem; font-weight: 400; color: var(--color-text-soft); }
.area-card p { font-size: 0.95rem; color: var(--color-text-soft); }

@media (max-width: 980px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .areas-grid { grid-template-columns: 1fr; }
}

/* ---------- Signs ---------- */
.signs-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.signs-list {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}
.signs-list li {
  position: relative;
  padding-left: 2.1rem;
  font-size: 1.03rem;
  color: var(--color-text);
}
.signs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 15px;
  height: 15px;
  background-color: var(--color-accent);
  -webkit-mask-image: url("../assets/leaves/leaf-orange.svg");
  mask-image: url("../assets/leaves/leaf-orange.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.signs-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-heading);
}

.signs-media { position: relative; }
.signs-media::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 55%;
  height: 40%;
  background: var(--color-accent-soft);
  border-radius: var(--radius-lg);
}
.signs-photo-frame {
  position: relative;
  --rx: 0deg;
  --ry: 0deg;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-card);
  transform: perspective(850px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out);
}
.signs-photo-frame:hover,
.signs-photo-frame.is-pointer-active {
  box-shadow: var(--shadow-lift);
  transform: perspective(850px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-5px);
}
.signs-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease-out), filter 0.55s var(--ease-out); }
.signs-photo-frame:hover .signs-photo,
.signs-photo-frame.is-pointer-active .signs-photo {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.035);
}

@media (max-width: 900px) {
  .signs-inner { grid-template-columns: 1fr; }
  .signs-media { max-width: 360px; margin-inline: auto; order: -1; }
}

/* ---------- Process ---------- */
.process-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.process-media { position: relative; }
.process-media::before {
  content: "";
  position: absolute;
  inset: auto auto -18px -18px;
  width: 55%;
  height: 40%;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}
.process-photo-frame {
  position: relative;
  --rx: 0deg;
  --ry: 0deg;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-card);
  transform: perspective(850px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out);
}
.process-photo-frame:hover,
.process-photo-frame.is-pointer-active {
  box-shadow: var(--shadow-lift);
  transform: perspective(850px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-5px);
}
.process-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease-out), filter 0.55s var(--ease-out); }
.process-photo-frame:hover .process-photo,
.process-photo-frame.is-pointer-active .process-photo {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.035);
}

.process-col h3 { margin-bottom: 0.9rem; }
.process-col p { color: var(--color-text-soft); font-size: 1.02rem; }
.process-col + .process-col {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .process-inner { grid-template-columns: 1fr; }
  .process-media { max-width: 360px; margin-inline: auto; }
}

/* ---------- FAQ ---------- */
.faq-inner { max-width: 780px; margin-inline: auto; }
.faq-list { display: grid; gap: 0.9rem; }
.faq-item {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.4rem 1.6rem;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), border-color 0.22s var(--ease-out), background 0.22s var(--ease-out);
}
.faq-item:hover,
.faq-item[open] {
  border-color: rgba(236, 131, 39, 0.34);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px -30px rgba(38, 71, 113, 0.42);
  transform: translateY(-2px);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  font-weight: 600;
  color: var(--color-heading);
  cursor: pointer;
  transition: color 0.2s var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
  background: transparent;
  position: relative;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-accent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 9px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 9px; transition: opacity 0.2s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-item[open] .faq-icon {
  background: var(--color-accent);
}
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: #fff;
}
.faq-item[open] .faq-icon::after { opacity: 0; }

.faq-answer { overflow: hidden; padding-bottom: 1.5rem; }
.faq-answer p { color: var(--color-text-soft); }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.contact-info > p { margin: 1.2rem 0 2rem; color: var(--color-text-soft); max-width: 42ch; }
.contact-details { margin-top: 2.5rem; display: grid; gap: 0.9rem; }
.contact-details li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.95rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}
.contact-details li span {
  color: var(--color-text-soft);
  min-width: 6.5rem;
}
.contact-details a:hover { color: var(--color-accent-dark); }

.contact-form {
  --rx: 0deg;
  --ry: 0deg;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-card);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}
.contact-form:hover,
.contact-form.is-pointer-active,
.contact-form:focus-within {
  border-color: rgba(236, 131, 39, 0.34);
  box-shadow: var(--shadow-lift);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-4px);
}
.form-row { margin-bottom: 1.3rem; }
.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
  transition: color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.form-row .optional { font-weight: 400; color: var(--color-text-soft); }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(236, 131, 39, 0.11);
  transform: translateY(-1px);
  outline: none;
}
.form-row:focus-within label {
  color: var(--color-accent-dark);
  transform: translateY(-1px);
}
.form-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--color-text-soft);
  text-align: center;
}

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-heading);
  color: #eef2f6;
  padding-top: 4.5rem;
}
.site-footer .brand-type { filter: brightness(0) invert(1); }
.site-footer .brand-wordmark {
  color: #eef2f6;
}
.site-footer .brand-wordmark::after {
  background: #f0b381;
}
.brand-wordmark--footer .brand-wordmark__first {
  font-size: 1.05rem;
}
.brand-wordmark--footer .brand-wordmark__last {
  font-size: 0.88rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(238, 242, 246, 0.7);
}
.footer-nav ul, .footer-contact { display: grid; gap: 0.8rem; }
.footer-nav a, .footer-contact a {
  font-size: 0.95rem;
  color: rgba(238, 242, 246, 0.85);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 1.6rem;
  font-size: 0.82rem;
  color: rgba(238, 242, 246, 0.6);
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Botão flutuante do WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 300;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 16px 32px -12px rgba(38, 71, 113, 0.5);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: var(--color-accent-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 22px 40px -12px rgba(38, 71, 113, 0.55);
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--color-heading);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
  box-shadow: 0 12px 26px -10px rgba(38, 71, 113, 0.4);
}
.whatsapp-float__tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--color-heading);
}
.whatsapp-float:hover .whatsapp-float__tooltip,
.whatsapp-float:focus-visible .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .whatsapp-float { right: 1rem; bottom: 1rem; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
  /* sem hover real em touch — evita tooltip "grudado" depois do toque */
  .whatsapp-float__tooltip { display: none; }
}

@media (max-width: 640px) {
  :root {
    --header-h: 72px;
    --radius-md: 18px;
    --radius-lg: 24px;
  }

  .container { padding-inline: 1.25rem; }
  section { padding: 3.2rem 0; }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
  }
  h1 {
    font-size: clamp(2.15rem, 11vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: 0;
  }
  h2 {
    font-size: clamp(1.78rem, 8.4vw, 2.2rem);
    line-height: 1.12;
    letter-spacing: 0;
    margin-bottom: 1rem;
  }
  h3 { font-size: 1.16rem; }
  .lead,
  .section-lead {
    max-width: none;
    font-size: 1.03rem;
    line-height: 1.65;
  }
  .section-head { margin-bottom: 1.75rem; }

  .brand-wordmark__first,
  .brand-wordmark__last { font-size: 1.18rem; }
  .site-header .brand-wordmark__first,
  .site-header .brand-wordmark__last { font-size: 1.24rem; }
  .brand-lockup { gap: 0.18rem; }
  .brand-subtitle {
    font-size: 0.5rem;
    letter-spacing: 0.22em;
  }
  .brand-wordmark::after {
    width: 0.44rem;
    height: 0.7rem;
  }
  .nav-toggle {
    width: 30px;
    height: 30px;
  }
  .mobile-nav { padding: 1.25rem 1.25rem 1.5rem; }

  .btn {
    min-height: 48px;
    width: 100%;
    padding: 0.86rem 1.15rem;
    white-space: normal;
    text-align: center;
  }

  .hero {
    padding-top: 0.6rem;
    padding-bottom: 3.4rem;
  }
  .hero-inner { gap: 1.2rem; }
  .hero-media {
    width: min(74vw, 260px);
    height: clamp(178px, 58vw, 230px);
    aspect-ratio: auto;
    margin-bottom: 0.15rem;
  }
  .hero-media::before {
    width: 150%;
    height: 104%;
    opacity: 0.78;
  }
  .hero-media .about-tree-float { height: 88%; }
  .hero-text h1 { margin-bottom: 1rem; }
  .hero-text .lead { margin-bottom: 1.4rem; }
  .hero-actions { gap: 0.75rem; }

  .about-inner { gap: 2rem; }
  .about-visual {
    min-height: auto;
    width: min(100%, 310px);
  }
  .about-text p {
    font-size: 1rem;
    line-height: 1.72;
    margin-bottom: 1.05rem;
  }
  blockquote {
    margin: 2rem 0;
    padding-left: 1rem;
    font-size: 1.24rem;
    line-height: 1.42;
  }
  .credentials { gap: 0.55rem; }
  .credentials li {
    font-size: 0.8rem;
    padding: 0.5rem 0.78rem;
  }

  .areas-grid { gap: 0.9rem; }
  .area-card {
    padding: 1.3rem 1.15rem;
    border-radius: var(--radius-md);
  }
  .area-card-top { margin-bottom: 0.75rem; }
  .area-icon {
    width: 40px;
    height: 40px;
  }
  .area-number { font-size: 1.75rem; }
  .area-card h3 { margin-bottom: 0.55rem; }
  .area-card p {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .signs-inner,
  .process-inner,
  .contact-inner { gap: 1.85rem; }
  .signs-media,
  .process-media {
    width: min(100%, 320px);
    max-width: 320px;
  }
  .signs-photo-frame,
  .process-photo-frame {
    aspect-ratio: 5 / 4;
  }
  .signs-media::before,
  .process-media::before {
    width: 48%;
    height: 34%;
  }
  .signs-list {
    gap: 0.75rem;
    margin-bottom: 1.7rem;
  }
  .signs-list li {
    padding-left: 1.55rem;
    font-size: 0.98rem;
    line-height: 1.55;
  }
  .signs-list li::before {
    width: 12px;
    height: 12px;
    top: 0.36em;
  }
  .signs-note {
    font-size: 1.08rem;
    line-height: 1.45;
  }

  .process-col p {
    font-size: 0.98rem;
    line-height: 1.64;
  }
  .process-col + .process-col {
    padding-top: 1.4rem;
    margin-top: 1.4rem;
  }

  .faq-list { gap: 0.7rem; }
  .faq-item {
    padding: 0.2rem 1.1rem;
    border-radius: var(--radius-md);
  }
  .faq-item summary {
    align-items: flex-start;
    padding: 1rem 0;
    gap: 0.85rem;
    font-size: 0.97rem;
    line-height: 1.35;
  }
  .faq-icon { margin-top: 0.1rem; }
  .faq-answer { padding-bottom: 1.1rem; }
  .faq-answer p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .contact-info > p {
    margin: 1rem 0 1.4rem;
    line-height: 1.65;
  }
  .contact-details {
    margin-top: 1.7rem;
    gap: 0.75rem;
  }
  .contact-details li {
    display: grid;
    gap: 0.15rem;
    font-size: 0.94rem;
  }
  .contact-details li span { min-width: 0; }
  .contact-form {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }
  .form-row { margin-bottom: 1.05rem; }
  .form-row input,
  .form-row textarea { padding: 0.8rem 0.9rem; }

  .site-footer { padding-top: 3rem; }
  .footer-inner {
    gap: 1.6rem;
    padding-bottom: 2rem;
  }
  .footer-brand p { margin-top: 0.85rem; }
  .footer-bottom {
    display: grid;
    gap: 0.45rem;
    padding-block: 1.25rem;
  }

  .whatsapp-float {
    display: none;
  }
}

@media (max-width: 374px) {
  .container { padding-inline: 1.05rem; }
  h1 { font-size: 2.02rem; }
  .brand-wordmark__first,
  .brand-wordmark__last { font-size: 1.08rem; }
  .site-header .brand-wordmark__first,
  .site-header .brand-wordmark__last { font-size: 1.12rem; }
  .brand-subtitle { font-size: 0.48rem; }
  .hero-media {
    width: min(70vw, 230px);
    height: 172px;
  }
}

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

  .color-wash {
    color: var(--color-accent-dark);
    text-shadow: none;
  }

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }

  #tree-trunk,
  #tree-leaves-big path,
  #tree-leaves-small path {
    transition-delay: 0s !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
