/* ============================================================
   Viva Nativa · Acompanhamento Multidisciplinar
   Premium clínico terroso · Drenched hero + Committed no resto
   ============================================================ */

:root {
  /* Paleta OKLCH com fallback hex */
  --oliva-900: #2B3325;
  --oliva-700: #4A5340;
  --oliva-500: #6B7359;
  --oliva-300: #B7BCA3;
  --ouro-600: #8B6E3A;
  --ouro-700: #6F5827;
  --ouro-400: #C9A86A;
  --bege-100: #F4EFE3;
  --bege-50:  #FAF7EE;
  --branco:   #FBFAF5;
  --carvao:   #1C1F18;

  --ff-display: "Spectral", Georgia, serif;
  --ff-body: "Hanken Grotesk", system-ui, sans-serif;
  --ff-hand: "Caveat", cursive;

  --fs-display: clamp(3.5rem, 6.5vw, 6.25rem);
  --fs-h1: clamp(2.5rem, 4.5vw, 4rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.5rem);
  --fs-lead: clamp(1.125rem, 1.5vw, 1.375rem);
  --fs-body: clamp(1rem, 1.1vw, 1.0625rem);
  --fs-small: 0.875rem;

  --gap-section: clamp(4rem, 8vw, 9rem);
  --wrap-max: 1200px;
  --wrap-pad: clamp(1.25rem, 5vw, 4rem);

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

@supports (color: oklch(0.5 0.1 120)) {
  :root {
    --oliva-900: oklch(0.28 0.02 130);
    --oliva-700: oklch(0.40 0.03 125);
    --oliva-500: oklch(0.52 0.03 120);
    --oliva-300: oklch(0.78 0.03 115);
    --ouro-600:  oklch(0.55 0.085 80);
    --ouro-700:  oklch(0.45 0.075 80);
    --ouro-400:  oklch(0.74 0.07 80);
    --bege-100:  oklch(0.95 0.012 85);
    --bege-50:   oklch(0.97 0.008 85);
    --branco:    oklch(0.98 0.005 80);
    --carvao:    oklch(0.18 0.01 130);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--oliva-900);
  background: var(--bege-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--wrap-pad);
}

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

em { font-style: italic; }

.h1 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.h2 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.15;
}
.h1 em, .h2 em { color: var(--oliva-700); }

.kicker {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ouro-600);
}

.eyebrow {
  font-family: var(--ff-display);
  font-size: var(--fs-lead);
  color: var(--oliva-500);
  margin-bottom: 1.5rem;
}

.ph { color: var(--oliva-500); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.95rem 1.9rem;
  transition: background-color .2s var(--ease-quart),
              transform .2s var(--ease-quart),
              box-shadow .2s var(--ease-quart);
  cursor: pointer;
  border: 0;
}
.btn--gold {
  background: var(--ouro-600);
  color: var(--oliva-900);
}
.btn--gold:hover {
  background: var(--ouro-400);
  transform: translateY(-2px);
}
.btn--lg { padding: 1.1rem 2.6rem; font-size: 1.0625rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--oliva-700);
  color: var(--branco);
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 9vw, 8rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy { max-width: 38rem; }
.hero .kicker { color: var(--ouro-400); margin-bottom: 1.5rem; }

.hero__title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}
.hero__title em { color: var(--ouro-400); font-weight: 500; }

.hero__sub {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--bege-100);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

.hero__photo {
  border-radius: 6px;
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  justify-self: center;
  box-shadow: 0 24px 60px -28px rgba(27, 31, 24, 0.55);
}
.hero__photo img { width: 100%; }

/* ============================================================
   2. DOR
   ============================================================ */
.dor { background: var(--bege-100); }
.dor__grid { display: grid; }
.dor__copy { max-width: 52rem; }
.dor__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}
.dor__list li {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  color: var(--oliva-900);
  font-weight: 400;
  padding-left: 1.4rem;
  position: relative;
}
.dor__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ouro-600);
}

/* ============================================================
   3 + 4. PESSOA (Nathália / Ricardo)
   ============================================================ */
.pessoa { background: var(--bege-50); }
.pessoa--mirror { background: var(--bege-100); }
.pessoa__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.pessoa__photo {
  border-radius: 6px;
  overflow: hidden;
  max-width: 420px;
  box-shadow: 0 18px 44px -26px rgba(27, 31, 24, 0.4);
}
.pessoa__role {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ouro-700);
  margin-bottom: 0.9rem;
}
.pessoa__name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.pessoa__name em { color: var(--oliva-700); }
.pessoa__copy p { max-width: 60ch; margin-bottom: 1.1rem; }
.pessoa__copy p:last-child { margin-bottom: 0; }

/* ---------- peça humana de transição ---------- */
.humano { background: var(--oliva-700); color: var(--branco); }
.humano__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.humano__line {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  color: var(--branco);
  max-width: 22ch;
}
.humano__line em { color: var(--ouro-400); }
.humano__photo {
  border-radius: 6px;
  overflow: hidden;
  max-width: 320px;
  justify-self: center;
  box-shadow: 0 20px 50px -28px rgba(0,0,0,0.5);
}

/* ============================================================
   5. MULTIDISCIPLINAR
   ============================================================ */
.multi { background: var(--bege-50); }
.multi__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.multi__copy .h1 { margin-bottom: 1.6rem; }
.multi__copy p { max-width: 60ch; margin-bottom: 1.1rem; }
.multi__areas {
  display: grid;
  gap: 1rem;
  margin: 1.8rem 0;
}
.multi__areas div { display: block; }
.multi__areas dt {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--oliva-700);
  display: inline;
}
.multi__areas dd {
  display: inline;
  margin: 0;
  color: var(--oliva-900);
}
.multi__areas dt::after { content: " "; }
.multi__close {
  font-family: var(--ff-display);
  font-size: var(--fs-lead);
  color: var(--oliva-900);
  font-style: italic;
}
.multi__photo {
  border-radius: 6px;
  overflow: hidden;
  position: sticky;
  top: 2rem;
  box-shadow: 0 22px 54px -28px rgba(27,31,24,0.45);
}

/* ============================================================
   QUOTE PULL
   ============================================================ */
.quote { background: var(--bege-50); padding-block: clamp(3rem, 6vw, 6rem); }
.quote__text {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.3;
  color: var(--oliva-900);
  max-width: 24ch;
  margin-inline: auto;
  text-align: center;
  position: relative;
  padding-top: 2.4rem;
}
.quote__text em { color: var(--oliva-700); }
.quote__text::before {
  content: "\201C";
  position: absolute;
  top: -0.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  line-height: 1;
  color: var(--ouro-400);
  font-family: var(--ff-display);
}

/* ============================================================
   6. EQUIPE
   ============================================================ */
.equipe { background: var(--bege-100); }
.equipe .kicker { margin-bottom: 1.2rem; }
.equipe__lead { max-width: 54rem; margin-bottom: 3rem; }
.equipe__lead .h1 { margin-bottom: 1.2rem; }
.equipe__sub {
  font-family: var(--ff-display);
  font-size: var(--fs-lead);
  color: var(--oliva-700);
  margin-bottom: 2rem;
}
.equipe__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--bege-50);
  border: 1px solid var(--oliva-300);
  border-radius: 6px;
  padding: 2rem 1.6rem;
}
.card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--oliva-700);
  color: var(--bege-50);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
}
.card__name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}
.card__name em { color: var(--oliva-700); }
.card__area {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ouro-600);
  margin-bottom: 0.9rem;
}
.card__bio { font-size: 0.95rem; color: var(--oliva-900); }
.equipe__close {
  font-family: var(--ff-display);
  font-size: var(--fs-lead);
  color: var(--oliva-700);
  margin-top: 2.5rem;
  max-width: 50ch;
}

/* ============================================================
   7. PASSOS
   ============================================================ */
.passos { background: var(--bege-50); }
.passos .h1 { margin-bottom: 2.5rem; }
.passos__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2rem;
  max-width: 56rem;
}
.passos__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: baseline;
}
.passos__num {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
  color: var(--ouro-600);
}
.passos__txt h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--oliva-900);
  margin-bottom: 0.4rem;
}
.passos__txt p { max-width: 56ch; color: var(--oliva-900); }

/* ============================================================
   8. QUEM
   ============================================================ */
.quem { background: var(--bege-100); }
.quem__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}
.quem__col .h2 { margin-bottom: 1.6rem; }
.quem__col--not .h2 em { color: var(--oliva-500); }
.quem__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.quem__list li {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--oliva-900);
  padding-left: 1.3rem;
  position: relative;
}
.quem__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--ouro-600);
}
.quem__col--not .quem__list li::before { background: var(--oliva-300); }

/* ============================================================
   9. DIFERENCIAIS
   ============================================================ */
.difs { background: var(--bege-50); }
.difs .h1 { margin-bottom: 2.5rem; }
.difs__list {
  display: grid;
  gap: 0;
}
.dif {
  padding: 1.8rem 0;
  display: grid;
  gap: 0.6rem;
}
.dif:not(:last-child) { border-bottom: 1px solid var(--oliva-300); }
.dif h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  color: var(--oliva-700);
}
.dif p { max-width: 70ch; color: var(--oliva-900); }

.depoimentos {
  display: grid;
  gap: clamp(2rem, 3vw, 3rem);
  margin-top: clamp(3rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .depoimentos { grid-template-columns: 1fr 1fr; }
}
.depoimento {
  position: relative;
  padding: clamp(1.6rem, 2.5vw, 2.2rem) clamp(1.4rem, 2vw, 2rem);
  background: var(--bege-100);
  border: 1px solid var(--oliva-300);
}
.depoimento::before {
  content: "\201C";
  position: absolute;
  top: -0.4em;
  left: 0.4rem;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--ouro-400);
  line-height: 1;
}
.depoimento blockquote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.4;
  color: var(--oliva-900);
}
.depoimento figcaption {
  margin-top: 1.2rem;
  font-family: var(--ff-body);
  font-size: 0.875rem;
  color: var(--oliva-700);
}

/* ============================================================
   11. FAQ
   ============================================================ */
.faq { background: var(--bege-100); }
.faq .h1 { margin-bottom: 2.2rem; }
.faq__list { max-width: 52rem; display: grid; gap: 0; }
.faq details {
  border-bottom: 1px solid var(--oliva-300);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--oliva-900);
  padding: 1.4rem 3rem 1.4rem 0;
  position: relative;
  transition: color .2s var(--ease-quart);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--oliva-700); }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--ouro-600);
  transition: transform .25s var(--ease-quart);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease-quart);
}
.faq details[open] .faq__body { grid-template-rows: 1fr; }
.faq__body > p {
  overflow: hidden;
  max-width: 62ch;
  color: var(--oliva-900);
  padding-bottom: 0;
}
.faq details[open] .faq__body > p { padding-bottom: 1.5rem; }

/* ============================================================
   12. CTA FINAL
   ============================================================ */
.cta { background: var(--oliva-700); color: var(--branco); }
.cta__inner { text-align: center; max-width: 46rem; }
.cta__title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.cta__title em { color: var(--ouro-400); }
.cta__sub {
  font-size: var(--fs-lead);
  color: var(--bege-100);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 40ch;
  margin-inline: auto;
}

/* ============================================================
   13. RODAPÉ
   ============================================================ */
.rodape {
  background: var(--oliva-900);
  color: var(--bege-100);
  padding-block: clamp(3rem, 6vw, 5rem) 1.5rem;
  font-size: 0.95rem;
}
.rodape__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}
.rodape__sign {
  font-family: var(--ff-hand);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ouro-400);
  margin-bottom: 0.4rem;
}
.rodape__name {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--branco);
}
.rodape__tag { color: var(--oliva-300); }
.rodape__col p { margin-bottom: 0.4rem; line-height: 1.5; }
.rodape__h {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ouro-400);
  margin-bottom: 0.7rem;
}
.rodape__h--mt { margin-top: 1.4rem; }
.rodape__col a { color: var(--bege-100); text-decoration: underline; text-decoration-color: var(--ouro-600); text-underline-offset: 3px; }
.rodape__letreiro {
  margin-top: 1.4rem;
  border-radius: 6px;
  overflow: hidden;
  max-width: 260px;
}
.rodape__letreiro img { filter: brightness(1.02); }
.rodape__base {
  padding-top: 1.5rem;
  border-top: 1px solid var(--oliva-700);
  color: var(--oliva-300);
  font-size: var(--fs-small);
}

/* ============================================================
   CTA FIXED MOBILE (exceção legítima de blur)
   ============================================================ */
.cta-fixed {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--branco);
  background: color-mix(in srgb, var(--oliva-700) 86%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 1rem 1.5rem;
  border: 1px solid var(--ouro-600);
  box-shadow: 0 12px 30px -14px rgba(27,31,24,0.6);
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
  transition: opacity .35s var(--ease-quart), transform .35s var(--ease-quart);
}
.cta-fixed.is-on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@supports not (backdrop-filter: blur(8px)) {
  .cta-fixed { background: var(--oliva-700); }
}

/* ============================================================
   MOTION · reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease-quart), transform .6s var(--ease-quart);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Hero stagger */
.hero .reveal { transition-timing-function: var(--ease-expo); transition-duration: .7s; }
.hero.is-in .reveal[data-d="1"] { transition-delay: 0s; }
.hero.is-in .reveal[data-d="2"] { transition-delay: .12s; }
.hero.is-in .reveal[data-d="3"] { transition-delay: .26s; }
.hero.is-in .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .cta-fixed { transition: opacity .2s linear; }
}

/* ============================================================
   BREAKPOINTS (mobile-first)
   ============================================================ */

/* 600+ */
@media (min-width: 600px) {
  .quote__text::before { top: -0.8rem; }
}

/* 900+ : layouts assimétricos entram */
@media (min-width: 900px) {
  .cta-fixed { display: none; }

  .hero__grid {
    grid-template-columns: 5fr 6fr;
    column-gap: clamp(2rem, 5vw, 5rem);
  }
  .hero__copy { padding-top: 1rem; }
  .hero__photo { transform: translateY(1.25rem); justify-self: end; max-width: 100%; }

  .pessoa__grid { grid-template-columns: 4fr 7fr; }
  .pessoa__photo { justify-self: start; }
  .pessoa--mirror .pessoa__grid { grid-template-columns: 7fr 4fr; }
  .pessoa--mirror .pessoa__photo { justify-self: end; }

  .humano__grid { grid-template-columns: 7fr 4fr; }

  .multi__grid { grid-template-columns: 5fr 7fr; }

  .quem__grid { grid-template-columns: 1fr 1fr; column-gap: clamp(3rem, 6vw, 6rem); }

  .rodape__grid { grid-template-columns: 1.1fr 1.3fr 1fr; }
}

/* 1200+ : respiros maiores */
@media (min-width: 1200px) {
  .hero__copy { padding-right: 2rem; }
}
