/* ==========================================================================
   Fabiana Campos | Psicóloga e Neuropsicóloga
   Estilos do site (antes inline, herança do export do Claude Design)
   ========================================================================== */

/* Tokens
   ========================================================================== */
:root {
  --bg: #faf7fd;
  --lilac-100: #f1ecf7;
  --lilac-200: #e7e0f2;
  --lilac-300: #ddd6e8;
  --accent: #6b5a8e;
  --accent-dark: #3e3357;
  --ink: #241e33;
  --text: #4b4459;
  --text-2: #6e6683;
  --text-3: #6e6683; /* era #8b83a0 (contraste 3.1:1); ajustado para AA */
  --on-dark-1: #b9a6d8;
  --on-dark-2: #c9bbe0;
  --on-dark-3: #e4dcf0;
  --accent-on-lilac: #655587; /* roxo levemente mais escuro para fundo #ddd6e8 (AA) */
  --focus: #6b5a8e;
  --focus-on-dark: #e4dcf0;
  --line-soft: #cfc4e2;
  --white: #ffffff;

  --font-display: 'Hanken Grotesk', sans-serif;
  --font-body: Karla, system-ui, sans-serif;

  --container: 1240px;
  --gutter: 32px;
}

/* Base
   ========================================================================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
section[id] { scroll-margin-top: 90px; }

/* Acessibilidade
   ========================================================================== */
/* Foco visível só na navegação por teclado */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.assessment :focus-visible { outline-color: var(--focus-on-dark); }
main:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--white); }

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

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

.page {
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip; /* clip (e não hidden) para o position: sticky funcionar */
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Foto com recorte: o wrapper define forma e tamanho, a img preenche */
.photo { overflow: hidden; background: var(--lilac-300); }
.photo picture { display: block; width: 100%; height: 100%; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Tipografia compartilhada
   ========================================================================== */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}
.eyebrow--on-dark { color: var(--on-dark-1); }

.kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.title {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--ink);
  margin: 0;
}
.title--pretty { text-wrap: pretty; }

.text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  margin: 0;
}

/* Botões e links
   ========================================================================== */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 17px 30px;
  font-size: 15px;
  font-weight: 600;
}
.btn--sm { padding: 11px 22px; font-size: 14px; white-space: nowrap; }
.btn--md { padding: 15px 26px; }

.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover,
.btn--accent:focus-visible { background: var(--accent-dark); color: var(--white); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover,
.btn--dark:focus-visible { background: var(--accent); color: var(--white); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover,
.btn--light:focus-visible { background: var(--on-dark-1); color: var(--ink); }

.btn--ghost { color: var(--ink); padding: 17px 8px; }
.btn--ghost:hover,
.btn--ghost:focus-visible { color: var(--accent); }

.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.link-underline {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 4px;
}
.link-underline:hover,
.link-underline:focus-visible { color: var(--ink); border-color: var(--ink); }

/* Navegação
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(250, 247, 253, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo oficial (guia de marca): borboleta + nome em Cormorant + "Psicóloga" */
.brand { display: flex; align-items: center; flex: none; }
.brand__logo { display: block; height: 56px; width: auto; }

.nav__actions { display: flex; align-items: center; gap: 28px; }
.nav__menu { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav__menu a { color: var(--text); }
.nav__menu .nav__menu-cta { display: none; }

/* Botão hambúrguer: só aparece abaixo de 991px */
.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--lilac-200);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  margin-left: -9px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav__toggle-bar { top: 50%; margin-top: -0.75px; }
.nav__toggle-bar::before,
.nav__toggle-bar::after { content: ''; left: 0; margin-left: 0; }
.nav__toggle-bar::before { transform: translateY(-6px); }
.nav__toggle-bar::after { transform: translateY(6px); }
.nav.is-open .nav__toggle-bar { background: transparent; }
.nav.is-open .nav__toggle-bar::before { transform: rotate(45deg); background: var(--ink); }
.nav.is-open .nav__toggle-bar::after { transform: rotate(-45deg); background: var(--ink); }

/* 01 Hero
   ========================================================================== */
.hero { padding: 132px 0 96px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.hero__kicker { font-size: 22px; margin-bottom: 22px; }
.hero__title {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.hero__lead { font-size: 18px; line-height: 1.7; color: var(--text); max-width: 500px; margin: 0 0 36px; }
.hero__meta { margin-top: 44px; font-size: 13px; color: var(--text-3); }

.hero__media { position: relative; height: 640px; }
.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 88%;
  height: 100%;
  border-radius: 320px 320px 40px 40px;
}
.hero__photo img { object-position: 50% 22%; }
.hero__quote {
  position: absolute;
  left: 0;
  bottom: 56px;
  background: var(--white);
  border-radius: 24px;
  padding: 20px 24px;
  max-width: 250px;
  box-shadow: 0 18px 40px rgba(36, 30, 51, 0.10);
}
.hero__quote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

/* 02 Sobre mim
   ========================================================================== */
.about { padding: 96px 0 128px; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: center;
}
.about__media { position: relative; height: 600px; }
.about__photo {
  position: absolute;
  inset: 0 60px 80px 0;
  border-radius: 40px 200px 40px 40px;
}
.about__photo img { object-position: 50% 25%; }
.about__detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 8px solid var(--bg);
  background: var(--lilac-200);
}
.about__content { max-width: 560px; }
.about__title {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
}
.about__content .text + .text { margin-top: 20px; }

/* 03 Como posso te acompanhar
   ========================================================================== */
.services { padding: 0 0 128px; }
.services__header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.services__title {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.services__intro { font-size: 17px; line-height: 1.7; color: var(--text-2); margin: 0; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 64px 52px 48px;
  min-height: 440px;
}
.service-card__kicker { font-size: 17px; margin-bottom: 12px; }
.service-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 46px);
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.service-card__text { font-size: 17px; line-height: 1.7; margin: 0 0 28px; max-width: 420px; }
.service-card__more { margin-top: auto; font-size: 15px; font-weight: 600; }

.service-card--light { background: var(--lilac-200); border-radius: 150px 40px 40px 40px; color: var(--ink); }
.service-card--light:hover,
.service-card--light:focus-visible { background: var(--lilac-300); color: var(--ink); }
.service-card--light .service-card__text { color: var(--text); }
.service-card--light .service-card__more { color: var(--accent); }
.service-card--light:hover .service-card__kicker,
.service-card--light:hover .service-card__more,
.service-card--light:focus-visible .service-card__kicker,
.service-card--light:focus-visible .service-card__more { color: var(--accent-on-lilac); }
.service-card { outline-offset: 4px; }

.service-card--dark { background: var(--ink); border-radius: 40px; color: var(--white); }
.service-card--dark:hover,
.service-card--dark:focus-visible { background: var(--accent-dark); color: var(--white); }
.service-card--dark .service-card__kicker { color: var(--on-dark-1); }
.service-card--dark .service-card__text { color: var(--on-dark-3); }
.service-card--dark .service-card__more { color: var(--on-dark-1); }

/* Faixa de destaque: orientação profissional e saúde mental para empresas
   (pílula em uma linha a partir de 900px; abaixo disso, bloco empilhado) */
.services__also {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  padding: 26px 44px;
  background: var(--white);
  border: 1px solid var(--lilac-300);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(36, 30, 51, 0.06);
}
.services__also-icon { flex: none; width: 44px; height: 44px; color: var(--accent); }
.services__also-text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.services__also-text a {
  color: var(--accent);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--line-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color .2s, text-decoration-color .2s;
}
.services__also-text a:hover,
.services__also-text a:focus-visible { color: var(--ink); text-decoration-color: var(--ink); }
@media (max-width: 899px) {
  .services__also { flex-direction: column; gap: 12px; padding: 28px 24px; border-radius: 32px; text-align: center; }
  .services__also-icon { width: 36px; height: 36px; }
}

/* 04 Terapia
   ========================================================================== */
.therapy {
  background: var(--lilac-100);
  border-radius: 64px 64px 0 0;
  padding: 128px 0 136px;
}
.therapy__header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 96px;
}
.therapy__title {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.therapy__body {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: start;
}
.therapy__photo {
  position: sticky;
  top: 110px;
  height: 520px;
  border-radius: 40px 40px 220px 40px;
}
.therapy__photo img { object-position: 50% 30%; }
.therapy__steps { display: flex; flex-direction: column; gap: 56px; padding-top: 12px; }

.therapy-step { max-width: 520px; }
.therapy-step:nth-child(2) { margin-left: 12%; }
.therapy-step:nth-child(3) { margin-left: 4%; }
.therapy-step:nth-child(4) { margin-left: 16%; }
.therapy-step__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 2.8vw, 38px);
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.therapy-step .text { line-height: 1.75; }

.tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 0; padding: 0; list-style: none; }
.tag {
  background: var(--bg);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px;
  color: var(--text);
}

/* 05 Avaliação neuropsicológica
   ========================================================================== */
.assessment {
  background: var(--ink);
  border-radius: 64px;
  margin: -48px 0 0;
  position: relative;
  padding: 128px 0 136px;
}
.assessment__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
  margin-bottom: 88px;
}
.assessment__title {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--white);
}
.assessment__lead { color: var(--on-dark-3); margin-bottom: 20px; }
.assessment__note { color: var(--on-dark-2); }

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(185, 166, 216, 0.3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { padding: 32px 24px 0; }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step__number { font-family: var(--font-display); font-size: 14px; color: var(--on-dark-1); margin-bottom: 18px; }
.step__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--white);
  margin: 0 0 12px;
}
.step__text { font-size: 15px; line-height: 1.65; color: var(--on-dark-2); margin: 0; }

.outcome {
  margin-top: 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  padding: 24px;
}
.outcome__photo { height: 300px; border-radius: 20px; background: var(--accent-dark); }
.outcome__photo img { object-position: 50% 50%; }
.outcome__content { padding: 16px 24px 16px 0; }
.outcome__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  color: var(--white);
  margin: 0 0 14px;
}
.outcome__text { font-size: 16px; line-height: 1.75; color: var(--on-dark-3); margin: 0 0 24px; }

/* 06 Meu olhar
   ========================================================================== */
.approach { padding: 144px 0 128px; }
.approach__header { max-width: 860px; margin-bottom: 88px; }
.approach__title {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.approach__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 em cima, 2 embaixo; mesma altura por linha */
  gap: 32px 48px;
}
.value-card { background: var(--lilac-100); border-radius: 32px; padding: 40px 36px; }
.value-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 23px;
  color: var(--ink);
  margin: 0 0 12px;
}
.value-card__text { font-size: 16px; line-height: 1.75; color: var(--text); margin: 0; }

/* 07 Trajetória
   ========================================================================== */
.journey { padding: 0 0 144px; }
.journey__photo { height: 520px; border-radius: 48px; margin-bottom: 96px; }
.journey__photo img { object-position: 50% 50%; }
.journey__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: start;
}
.journey__aside { position: sticky; top: 110px; }
.journey__title {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.timeline { display: flex; flex-direction: column; gap: 48px; }
.timeline__label { font-size: 19px; margin-bottom: 10px; }
.timeline__item .text:not(:last-child) { margin-bottom: 20px; }

/* 08 Vamos conversar
   ========================================================================== */
.contact { padding: 0 var(--gutter) 96px; }
.contact__card {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--lilac-200);
  border-radius: 56px;
  padding: 96px 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.contact__photo { width: 240px; height: 240px; border-radius: 50%; }
.contact__photo img { object-position: 50% 35%; }
.contact__title {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.contact__text { font-size: 18px; line-height: 1.7; color: var(--text); max-width: 560px; margin: 0 0 36px; }

/* 09 Rodapé
   ========================================================================== */
.footer { padding: 24px 0 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--lilac-300);
}
.footer__logo { display: block; width: min(100%, 460px); height: auto; margin-bottom: 16px; }
.footer__role { font-size: 14px; color: var(--text-2); }
.footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer__links a { color: var(--text); }
.footer__links span { color: var(--text-2); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-2);
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

/* Tablet: até 991px
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  /* Nav vira hambúrguer; CTA continua visível na barra */
  .nav__actions { gap: 12px; }
  .brand__logo { height: 52px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .nav__toggle { display: block; }
  .nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--lilac-300);
    box-shadow: 0 18px 30px rgba(36, 30, 51, 0.08);
    font-size: 17px;
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__menu a { padding: 14px 0; border-bottom: 1px solid var(--lilac-300); }
  .nav__menu a:last-child { border-bottom: 0; }

  .hero { padding: 120px 0 80px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero__media { height: 580px; max-width: 620px; width: 100%; }

  .about { padding: 64px 0 104px; }
  .about__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .about__media { height: 560px; max-width: 600px; width: 100%; order: 2; } /* fotos depois do texto (tablet e mobile) */
  .about__content { max-width: 640px; }

  .services { padding-bottom: 104px; }
  .service-card { padding: 56px 40px 40px; }

  .therapy { padding: 104px 0 112px; }
  .therapy__header { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 64px; }
  .therapy__body { gap: 48px; }

  .assessment { padding: 104px 0 112px; }
  .assessment__header { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 64px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 0; }
  .step,
  .step:first-child,
  .step:last-child { padding: 28px 0 36px; border-top: 1px solid rgba(185, 166, 216, 0.3); }
  .outcome { margin-top: 48px; gap: 32px; }

  .approach { padding: 120px 0 104px; }
  .approach__header { margin-bottom: 64px; }

  .journey { padding-bottom: 112px; }
  .journey__photo { height: 420px; margin-bottom: 72px; }
  .journey__grid { gap: 48px; }

  .contact__card { padding: 72px 48px; gap: 48px; border-radius: 48px; }
  .contact__photo { width: 200px; height: 200px; }
}

/* Mobile estreito: até 599px. O logo horizontal precisa da largura, então o
   CTA "Vamos conversar?" sai da barra e vira o último item do menu
   -------------------------------------------------------------------------- */
@media (max-width: 599px) {
  .brand__logo { height: 44px; }
  .nav__cta { display: none; }
  .nav__menu .nav__menu-cta {
    display: block;
    margin-top: 16px;
    padding: 15px 22px;
    border-bottom: 0;
    text-align: center;
    color: var(--white);
  }
}

/* Mobile: até 767px
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .hero { padding: 116px 0 64px; }
  .hero__media { height: 500px; }
  .hero__quote { bottom: 40px; }

  .about { padding: 48px 0 88px; }
  .about__media { height: 480px; }
  .hero__meta { display: none; } /* CRP fica só no rodapé no mobile */
  .hero .actions { flex-wrap: nowrap; align-items: stretch; gap: 10px; }
  .hero .actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    min-width: 0;
    text-align: center;
    padding: 15px 20px;
    font-size: 13px;
  }
  .hero .actions .btn--ghost { padding-left: 4px; padding-right: 4px; }
  .about__photo { inset: 0 40px 64px 0; border-radius: 32px 160px 32px 32px; }
  .about__detail { width: 170px; height: 170px; }

  .services { padding-bottom: 88px; }
  .services__header { margin-bottom: 40px; }
  .service-card { padding: 48px 32px 36px; min-height: 0; }
  .service-card--light { border-radius: 104px 32px 32px 32px; }
  .service-card--dark { border-radius: 32px; }

  .therapy { border-radius: 40px 40px 0 0; padding: 88px 0 104px; }
  .therapy__body { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .therapy__photo { position: static; height: 440px; border-radius: 32px 32px 160px 32px; }
  .therapy__steps { gap: 40px; padding-top: 0; }
  .therapy-step:nth-child(n) { margin-left: 0; }

  .assessment { border-radius: 40px; margin-top: -32px; padding: 88px 0 96px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step,
  .step:first-child,
  .step:last-child { padding: 24px 0 28px; }
  .outcome { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px; border-radius: 28px; }
  .outcome__photo { height: 280px; }
  .outcome__content { padding: 16px 8px 12px; }

  .approach { padding: 104px 0 88px; }
  .approach__header { margin-bottom: 48px; }
  .approach__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .value-card { padding: 36px 28px; border-radius: 28px; }

  .journey { padding-bottom: 96px; }
  .journey__photo { height: 340px; border-radius: 32px; margin-bottom: 56px; }
  .journey__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .journey__aside { position: static; }
  .timeline { gap: 36px; }

  .contact { padding-bottom: 72px; }
  .contact__card {
    grid-template-columns: minmax(0, 1fr);
    padding: 56px 32px;
    gap: 32px;
    border-radius: 40px;
  }
  .contact__photo { width: 160px; height: 160px; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 0; }
}

/* Mobile pequeno: até 479px
   -------------------------------------------------------------------------- */
@media (max-width: 479px) {
  :root { --gutter: 20px; }

  .nav__inner { padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .nav__actions { gap: 8px; }
  .nav__toggle { width: 40px; height: 40px; }

  .hero { padding: 104px 0 56px; }
  .hero__kicker { font-size: 20px; margin-bottom: 18px; }
  .hero__title { font-size: 36px; margin-bottom: 24px; }
  .hero__lead { font-size: 17px; margin-bottom: 28px; }
  .hero__media { height: 430px; }
  .hero__photo { width: 90%; border-radius: 220px 220px 32px 32px; }
  .hero__quote { bottom: 28px; max-width: 210px; padding: 16px 18px; border-radius: 20px; }
  .hero__quote p { font-size: 15px; }

  .about__media { height: 420px; }
  .about__photo { inset: 0 28px 56px 0; border-radius: 28px 120px 28px 28px; }
  .about__detail { width: 136px; height: 136px; border-width: 6px; }

  .service-card { padding: 44px 24px 32px; }
  .service-card--light { border-radius: 84px 28px 28px 28px; }
  .service-card__title { font-size: 30px; }

  .therapy__photo { height: 380px; border-radius: 28px 28px 130px 28px; }

  .outcome__photo { height: 240px; border-radius: 16px; }

  .journey__photo { height: 280px; border-radius: 28px; }

  .contact { padding-left: 16px; padding-right: 16px; }
  .contact__card { padding: 48px 24px; border-radius: 36px; }
  .contact__photo { width: 136px; height: 136px; }
}

/* Telas bem estreitas (iPhone SE, Androids compactos)
   -------------------------------------------------------------------------- */
@media (max-width: 359px) {
  .nav__inner { gap: 8px; padding-left: 16px; padding-right: 16px; }
  .nav__actions { gap: 6px; }
  .brand__logo { height: 38px; }
  .nav__toggle { width: 36px; height: 36px; }
}

/* ==========================================================================
   Interações (só com .motion: JS ativo e sem "reduzir movimento")
   ========================================================================== */

/* Hero: tudo aparece suavemente, o H1 por último
   -------------------------------------------------------------------------- */
.motion .hero__photo {
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1.2s ease, transform 1.8s cubic-bezier(.2, .7, .2, 1);
}
.motion .hero__kicker,
.motion .hero__lead,
.motion .hero .actions,
.motion .hero__meta,
.motion .hero__quote {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1);
}
.motion .hero__title {
  opacity: 0;
  filter: blur(4px);
  transition: opacity 1.8s ease, filter 1.8s ease;
}
.motion .hero.is-ready .hero__photo,
.motion .hero.is-ready .hero__kicker,
.motion .hero.is-ready .hero__lead,
.motion .hero.is-ready .actions,
.motion .hero.is-ready .hero__meta,
.motion .hero.is-ready .hero__quote { opacity: 1; transform: none; }
.motion .hero.is-ready .hero__title { opacity: 1; filter: none; }
.motion .hero.is-ready .hero__kicker { transition-delay: .1s; }
.motion .hero.is-ready .hero__lead   { transition-delay: .2s; }
.motion .hero.is-ready .actions      { transition-delay: .3s; }
.motion .hero.is-ready .hero__meta   { transition-delay: .4s; }
.motion .hero.is-ready .hero__quote  { transition-delay: .7s; }
.motion .hero.is-ready .hero__title  { transition-delay: 1s; }

/* Seções: conteúdo sobe com fade; título (h2) só fade, por último
   -------------------------------------------------------------------------- */
.motion .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .9s ease var(--d, 0s),
    transform 1s cubic-bezier(.2, .7, .2, 1) var(--d, 0s),
    background-color .2s, color .2s, border-color .2s;
}
.motion .reveal--title {
  transform: none;
  transition: opacity 1.6s ease var(--d, .45s);
}
.motion .reveal.is-visible { opacity: 1; transform: none; }

/* Terapia: opacidade dos itens controlada pelo scroll (main.js) */
.motion .therapy-step,
.motion .therapy .tags { will-change: opacity; }

/* Avaliação: linha das etapas que acende os números
   -------------------------------------------------------------------------- */
.motion .steps { position: relative; }
.motion .step { position: relative; }

/* Trilho que se desenha (desktop: uma linha só sobre as 5 colunas) */
.motion .steps::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--on-dark-3);
  box-shadow: 0 0 10px 1px rgba(228, 220, 240, .55);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}

/* Ponto de luz sobre a linha, na altura de cada número */
.motion .step::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid rgba(185, 166, 216, .45);
  z-index: 1;
  transition: background-color .6s ease, border-color .6s ease, box-shadow .8s ease;
}
.motion .step:first-child::before { left: 0; }

.motion .step__number {
  transition: color .6s ease, text-shadow .8s ease;
}
.motion .step__title,
.motion .step__text {
  opacity: .5;
  transition: opacity .8s ease;
}

.motion .step.is-lit::before {
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 0 0 4px rgba(228, 220, 240, .12), 0 0 14px 3px rgba(228, 220, 240, .55);
}
.motion .step.is-lit .step__number {
  color: var(--white);
  text-shadow: 0 0 10px rgba(228, 220, 240, .85), 0 0 24px rgba(185, 166, 216, .55);
}
.motion .step.is-lit .step__title,
.motion .step.is-lit .step__text { opacity: 1; }

/* Tablet e mobile: cada etapa tem a própria linha, que se desenha em sequência */
@media (max-width: 991px) {
  .motion .steps::before { display: none; }
  .motion .step::before,
  .motion .step:first-child::before { left: 0; }
  .motion .step::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--on-dark-3);
    box-shadow: 0 0 10px 1px rgba(228, 220, 240, .55);
    transform: scaleX(var(--p, 0));
    transform-origin: left center;
  }
}

/* Meu olhar: os 4 cards sobem de baixo para cima, cada um no seu tempo
   (atraso e duração diferentes; o par de cada linha nunca anda junto)
   -------------------------------------------------------------------------- */
.motion .value-card.reveal {
  transform: translateY(64px);
  transition-property: opacity, transform, background-color;
  transition-timing-function: ease, cubic-bezier(.16, .8, .24, 1), ease;
}
.motion .value-card.reveal:nth-child(1) { transition-duration: .9s, 1.1s, .2s;  transition-delay: 0s, 0s, 0s; }
.motion .value-card.reveal:nth-child(2) { transition-duration: 1s, 1.35s, .2s;  transition-delay: .22s, .22s, 0s; }
.motion .value-card.reveal:nth-child(3) { transition-duration: .9s, 1.2s, .2s;  transition-delay: .1s, .1s, 0s; }
.motion .value-card.reveal:nth-child(4) { transition-duration: 1.1s, 1.5s, .2s; transition-delay: .34s, .34s, 0s; }
.motion .value-card.reveal.is-visible { transform: none; }

/* ==========================================================================
   Aviso de cookies (LGPD)
   Aceitar e Recusar com o mesmo peso visual; não bloqueia a navegação
   ========================================================================== */
.cookie-notice {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 600px;
  padding: 18px 20px 18px 24px;
  background: var(--white);
  border: 1px solid var(--lilac-300);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(36, 30, 51, 0.14);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice.is-visible { opacity: 1; transform: none; }
.cookie-notice__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text); }
.cookie-notice__actions { display: flex; gap: 8px; flex: none; }
.cookie-notice__btn { min-width: 96px; text-align: center; cursor: pointer; font-family: inherit; border: 1px solid transparent; }
.cookie-notice__btn--accept { background: var(--ink); color: var(--white); }
.cookie-notice__btn--accept:hover,
.cookie-notice__btn--accept:focus-visible { background: var(--accent); color: var(--white); }
.cookie-notice__btn--decline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.cookie-notice__btn--decline:hover,
.cookie-notice__btn--decline:focus-visible { background: var(--lilac-100); color: var(--ink); }

.footer__cookies {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.footer__cookies:hover { color: var(--ink); }
.footer__cookies[hidden] { display: none; }

@media (max-width: 599px) {
  .cookie-notice {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
  }
  .cookie-notice__actions .cookie-notice__btn { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-notice { transition: none; transform: none; }
}
