/* ════════════════════════════════════════════════════════════
   MADALENA RAFAEL — psicóloga clínica
   Autumnal, as she asked: burnt sienna and ochre on warm oat,
   with one deep chocolate band where the page literally goes
   deeper — she works psychodynamically, so depth is structure,
   not decoration. Newsreader for voice, Manrope for reading.
   ════════════════════════════════════════════════════════════ */

:root {
  --paper: #F9F3EA;
  --paper-2: #F1E7D8;
  --card: #FFFCF7;
  --ink: #2A231F;
  --ink-soft: #574A42;
  --muted: #8C7C6E;
  --line: rgba(42, 35, 31, 0.11);
  --line-soft: rgba(42, 35, 31, 0.06);

  --amber: #B24A20;
  --amber-deep: #8E3814;
  --amber-soft: rgba(178, 74, 32, 0.1);
  --amber-line: rgba(178, 74, 32, 0.3);
  --ochre: #C98A3C;

  --deep: #3B2A21;
  --deep-2: #2C1E17;
  --on-deep: #F5EBE0;
  --on-deep-soft: #C7B3A2;
  --on-deep-line: rgba(245, 235, 224, 0.16);

  --display: "Newsreader", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(178, 74, 32, 0.17); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.012em;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--amber); }
a { color: inherit; }
img { max-width: 100%; display: block; }

.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ── Nav ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(20px, 5vw, 60px);
  background: rgba(249, 243, 234, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
nav.stuck {
  background: rgba(249, 243, 234, 0.9);
  border-bottom-color: var(--line-soft);
}
.brand { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.brand b {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1;
}
.brand small {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-right { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav-links { display: flex; gap: clamp(14px, 2vw, 26px); }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--amber-deep); }
.nav-cta {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--amber);
  padding: 11px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--amber-deep); transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0.5px); }

/* ── Buttons ─────────────────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 32px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--amber);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
  will-change: transform;
}
.cta:hover { background: var(--amber-deep); }
.cta svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.cta:hover svg { transform: translateX(4px); }
.cta:active { transform: scale(0.985) !important; }
.cta.quiet {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  padding: 16px 30px;
}
.cta.quiet:hover { border-color: var(--amber-line); background: var(--amber-soft); }
.cta.on-deep { background: var(--ochre); color: var(--deep-2); }
.cta.on-deep:hover { background: #DCA255; }

/* ── Hero — portrait left, copy right ───────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(126px, 15vw, 168px) clamp(20px, 5vw, 60px) clamp(70px, 9vw, 108px);
}
.hero-photo {
  position: relative;
  border-radius: 200px 200px 18px 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5.1;
  background: var(--paper-2);
  box-shadow: 0 42px 80px -44px rgba(42, 35, 31, 0.42);
  opacity: 0;
  animation: fade 1.3s var(--ease) 0.25s forwards;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-copy { max-width: 640px; }

.hero-tag {
  display: flex;
  align-items: center;
  gap: 13px;
  opacity: 0;
  animation: fade 1s var(--ease) 0.1s forwards;
}
.hero-tag span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero-tag i { flex: 0 0 42px; height: 1px; background: var(--amber-line); }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.4rem, 4.7vw, 3.9rem);
}
.hero h1 .l { display: block; overflow: hidden; }
.hero h1 .l span {
  display: block;
  transform: translateY(112%);
  animation: lineUp 1.1s var(--ease) forwards;
}
.hero h1 .l:nth-child(2) span { animation-delay: 0.1s; }
.hero h1 .l:nth-child(3) span { animation-delay: 0.2s; }
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.5s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 34px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.65s forwards;
}

/* credentials strip */
.creds {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--card);
}
.creds-in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px clamp(20px, 5vw, 60px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(20px, 4vw, 46px);
  align-items: center;
}
.cred {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.cred b { font-weight: 700; color: var(--ink); }
.cred i {
  font-style: normal;
  font-size: 9px;
  color: var(--amber);
}

/* ── Sections ────────────────────────────────────────────── */
.section { padding: clamp(80px, 11vw, 142px) clamp(20px, 5vw, 60px); }
.inner { max-width: 1240px; margin: 0 auto; }
.section h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.9vw, 3rem);
  max-width: 21ch;
  text-wrap: balance;
}
.section .lead {
  margin-top: 20px;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.88;
  color: var(--ink-soft);
}

/* ── Statement (her core quote) ──────────────────────────── */
.statement {
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(78px, 10vw, 132px) clamp(20px, 5vw, 60px);
}
.statement blockquote {
  max-width: 24ch;
  margin: 0 auto;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.9vw, 2.9rem);
  font-weight: 300;
  line-height: 1.3;
  text-wrap: balance;
}
.statement blockquote em { font-style: italic; color: var(--amber); }
.statement .rule {
  display: block;
  width: 32px; height: 1px;
  margin: 0 auto 30px;
  background: var(--amber-line);
}
.statement cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Profundidade — the deep band ────────────────────────── */
.deep-band {
  background: var(--deep);
  color: var(--on-deep);
  padding: clamp(84px, 12vw, 150px) clamp(20px, 5vw, 60px);
}
.deep-band .eyebrow { color: var(--ochre); }
.deep-band h2 { color: var(--on-deep); max-width: 20ch; }
.deep-band h2 em { color: var(--ochre); }
.deep-band .lead { color: var(--on-deep-soft); }

.layers { margin-top: clamp(48px, 6vw, 76px); }
.layer {
  position: relative;
  padding: clamp(26px, 3.4vw, 38px) 0;
  border-top: 1px solid var(--on-deep-line);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: baseline;
  /* each principle sits a little deeper than the last */
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.layer:last-child { border-bottom: 1px solid var(--on-deep-line); }
.layer:nth-child(1) { margin-left: 0; }
.layer:nth-child(2) { margin-left: clamp(0px, 4vw, 62px); }
.layer:nth-child(3) { margin-left: clamp(0px, 8vw, 124px); }
.layer:nth-child(4) { margin-left: clamp(0px, 12vw, 186px); }
.layer-n {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--ochre);
}
.layer h3 {
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  color: var(--on-deep);
}
.layer p {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--on-deep-soft);
  max-width: 52ch;
}

/* ── É para mim? ─────────────────────────────────────────── */
.doubt-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.doubt-sticky { position: sticky; top: 118px; }
.qa { border-top: 1px solid var(--line); }
.qa-item { border-bottom: 1px solid var(--line); }
.qa-q {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 2.6vw, 26px) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(1.18rem, 1.95vw, 1.5rem);
  color: var(--ink);
  transition: color 0.3s, padding-left 0.35s var(--ease);
}
.qa-q:hover { color: var(--amber-deep); padding-left: 8px; }
.qa-q .sign {
  flex: 0 0 auto;
  position: relative;
  width: 15px; height: 15px;
  align-self: center;
}
.qa-q .sign::before, .qa-q .sign::after {
  content: "";
  position: absolute;
  background: var(--amber);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.qa-q .sign::before { top: 7px; left: 0; width: 15px; height: 1.5px; }
.qa-q .sign::after { left: 6.75px; top: 0; width: 1.5px; height: 15px; }
.qa-item.open .qa-q .sign::after { transform: scaleY(0); opacity: 0; }
.qa-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.55s var(--ease);
}
.qa-a-in {
  padding-bottom: clamp(22px, 2.6vw, 28px);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 56ch;
}
.qa-a-in em { font-style: italic; color: var(--amber-deep); }

/* ── Sobre mim ───────────────────────────────────────────── */
.about-body {
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.about-body > p + p { margin-top: 1.35em; }
.about-body em { font-style: italic; font-weight: 700; color: var(--amber-deep); }

/* ── Percurso ────────────────────────────────────────────── */
.training { background: var(--card); border-top: 1px solid var(--line-soft); }
.training-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
}
.tr-list { border-top: 1px solid var(--line); }
.tr-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: clamp(18px, 2.4vw, 24px) 0;
  border-bottom: 1px solid var(--line);
}
.tr-item b { font-weight: 600; font-size: 16.5px; color: var(--ink); }
.tr-item small { display: block; font-weight: 400; font-size: 14.5px; color: var(--muted); margin-top: 3px; }
.tr-item time {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: var(--amber);
  white-space: nowrap;
}

/* ── Consultas ───────────────────────────────────────────── */
.booking { background: var(--paper-2); border-top: 1px solid var(--line-soft); }
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.rate-table { margin-top: 30px; border-top: 1px solid var(--line); }
.rate {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.rate span { font-size: 16px; color: var(--ink-soft); }
.rate span small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.rate b { font-family: var(--display); font-size: 26px; font-weight: 500; white-space: nowrap; }
.rate b i { font-style: italic; font-weight: 300; font-size: 17px; color: var(--amber); }

.steps { margin-top: 30px; border-top: 1px solid var(--line); }
.b-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.b-step i { font-family: var(--display); font-style: italic; font-size: 16px; color: var(--amber); }
.b-step h3 { font-size: 1.18rem; }
.b-step p { margin-top: 4px; font-size: 15px; color: var(--ink-soft); line-height: 1.72; }
.booking .cta { margin-top: 32px; }
.booking-note { display: block; margin-top: 16px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ── Final ───────────────────────────────────────────────── */
.final {
  position: relative;
  text-align: center;
  padding: clamp(96px, 13vw, 168px) clamp(20px, 5vw, 60px);
  overflow: hidden;
  isolation: isolate;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(58% 62% at 50% 108%, rgba(178, 74, 32, 0.14), transparent 66%);
}
.final h2 { margin: 18px auto 0; max-width: 18ch; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.final .lead { margin: 22px auto 0; max-width: 46ch; }
.final .cta { margin-top: 36px; }

/* footer */
footer {
  border-top: 1px solid var(--line-soft);
  padding: 32px clamp(20px, 5vw, 60px);
  font-size: 13.5px;
  color: var(--muted);
  background: var(--card);
}
.foot {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  justify-content: space-between;
}
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--amber-deep); }

.foot-crisis {
  max-width: 1240px;
  margin: 18px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 12.5px;
  line-height: 1.6;
}
.foot-crisis b {
  font-weight: 700;
  color: var(--ink-soft);
}

/* reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv2 { transition-delay: 0.1s; }
.rv3 { transition-delay: 0.2s; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: clamp(104px, 22vw, 130px);
  }
  .hero-photo { max-width: 380px; margin: 0 auto; border-radius: 170px 170px 16px 16px; }
  .hero-copy { max-width: none; }
  .doubt-grid, .training-grid, .booking-grid { grid-template-columns: 1fr; }
  .doubt-sticky { position: static; }
  .layer { grid-template-columns: 40px 1fr; gap: 14px; }
  .layer:nth-child(n) { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .hero h1 .l span { transform: none; }
  .hero-tag, .hero .sub, .hero-actions, .hero-photo { opacity: 1; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
