﻿:root {
  --bg: #f4eee4;
  --bg-soft: #ece4d7;
  --surface: #fffdf9;
  --text: #24211c;
  --text-soft: #5f5549;
  --primary: #5b7464;
  --primary-strong: #3f5649;
  --accent: #ad6a4f;
  --line: rgba(34, 29, 21, 0.14);
  --radius: 22px;
  --shadow: 0 18px 40px rgba(38, 31, 23, 0.12);
  --container: min(1120px, calc(100vw - 3rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(120% 90% at 92% 3%, rgba(173, 106, 79, 0.2) 0%, rgba(173, 106, 79, 0) 58%),
    radial-gradient(95% 120% at 7% 88%, rgba(91, 116, 100, 0.22) 0%, rgba(91, 116, 100, 0) 56%),
    radial-gradient(140% 80% at 50% -10%, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 65%),
    linear-gradient(180deg, var(--bg) 0%, #efe7db 52%, var(--bg-soft) 100%);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -3;
  opacity: 0.2;
  background:
    repeating-radial-gradient(circle at 16% 24%, rgba(95, 85, 73, 0.16) 0 1px, transparent 1px 13px),
    repeating-radial-gradient(circle at 78% 78%, rgba(91, 116, 100, 0.14) 0 1px, transparent 1px 15px);
}

body::after {
  z-index: -2;
  opacity: 0.36;
  filter: blur(70px);
  background:
    radial-gradient(55% 45% at 20% 14%, rgba(91, 116, 100, 0.24), transparent 70%),
    radial-gradient(52% 44% at 82% 84%, rgba(173, 106, 79, 0.22), transparent 72%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: "Prata", serif;
  line-height: 1.2;
  margin: 0 0 0.8rem;
  font-weight: 400;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  position: relative;
}

.shape {
  position: fixed;
  border-radius: 52% 48% 41% 59% / 38% 54% 46% 62%;
  filter: blur(18px);
  z-index: -1;
  opacity: 0.42;
  mix-blend-mode: multiply;
}

.shape-one {
  width: 420px;
  height: 340px;
  top: -130px;
  right: -130px;
  transform: rotate(-14deg);
  background: radial-gradient(closest-side at 58% 40%, rgba(173, 106, 79, 0.5), rgba(173, 106, 79, 0));
}

.shape-two {
  width: 330px;
  height: 280px;
  left: -120px;
  bottom: 8vh;
  transform: rotate(18deg);
  background: radial-gradient(closest-side at 46% 54%, rgba(91, 116, 100, 0.5), rgba(91, 116, 100, 0));
}

.fern {
  position: fixed;
  width: 120px;
  height: 252px;
  transform-origin: 50% 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
}

.fern::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  width: 2px;
  height: 224px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(63, 92, 73, 0.62), rgba(93, 122, 103, 0.16));
}

.fern::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-31deg, rgba(77, 106, 87, 0.52) 0 6px, rgba(77, 106, 87, 0) 6px 12px),
    repeating-linear-gradient(31deg, rgba(77, 106, 87, 0.52) 0 6px, rgba(77, 106, 87, 0) 6px 12px);
  background-size: 52% 100%, 52% 100%;
  background-position: left center, right center;
  background-repeat: no-repeat;
  clip-path: polygon(50% 0, 61% 5%, 74% 14%, 84% 29%, 89% 45%, 86% 61%, 78% 76%, 66% 88%, 54% 96%, 50% 100%, 46% 96%, 34% 88%, 22% 76%, 14% 61%, 11% 45%, 16% 29%, 26% 14%, 39% 5%);
  filter: blur(0.2px);
  opacity: 0.88;
}

.fern-top {
  top: 138px;
  right: 4.8vw;
  transform: rotate(10deg) scale(0.96);
}

.fern-top-2 {
  top: 236px;
  right: 1.4vw;
  transform: rotate(22deg) scale(0.82);
  opacity: 0.28;
}

.fern-mid {
  top: 48vh;
  left: 2.1vw;
  transform: rotate(-11deg) scale(0.9);
  opacity: 0.32;
}

.fern-mid-2 {
  top: 40vh;
  right: 1.9vw;
  transform: rotate(13deg) scale(0.76);
  opacity: 0.26;
}

.fern-bottom {
  right: 6.2vw;
  bottom: 8vh;
  transform: rotate(6deg) scale(1.03);
}

.fern-bottom-2 {
  left: 1.4vw;
  bottom: 7vh;
  transform: rotate(-12deg) scale(0.84);
  opacity: 0.27;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(244, 238, 228, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: grid;
  gap: 0.1rem;
}

.brand strong {
  font-family: "Prata", serif;
  font-size: 1.12rem;
  letter-spacing: 0.3px;
}

.brand span {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.menu a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--text);
}

.btn {
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.94rem;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #f6f8f6;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-strong);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--bg-soft);
}

.btn-nav {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text) !important;
}

.eyebrow {
  margin-bottom: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

.hero {
  padding-top: clamp(4.5rem, 9vw, 7rem);
}

.hero-grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  margin-bottom: 1.1rem;
}

.hero-copy h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-copy p {
  color: var(--text-soft);
  max-width: 58ch;
}

.hero-cta {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-photo {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 22%;
  border-radius: calc(var(--radius) - 8px);
}

.hero-photo figcaption {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  text-align: right;
}

.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.about-photo {
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 520px;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.about-copy h2,
.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.about-copy p {
  color: var(--text-soft);
}

#por-que-psicoterapia .container {
  max-width: 920px;
}

#por-que-psicoterapia p {
  color: var(--text-soft);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.tags li {
  border: 1px dashed rgba(91, 116, 100, 0.42);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  background: rgba(91, 116, 100, 0.07);
}

.section-accent {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.6));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  min-height: 190px;
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.reviews-section .container {
  display: grid;
  gap: 1rem;
}

.reviews-summary {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  width: fit-content;
}

.reviews-summary strong {
  font-size: 1.3rem;
  font-family: "Prata", serif;
}

.reviews-summary span {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.reviews-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(38, 31, 23, 0.08);
  min-height: 200px;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.review-author {
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.review-stars {
  color: #b57a2a;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  white-space: nowrap;
}

.review-date {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.review-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.93rem;
}

.review-link {
  width: fit-content;
  font-size: 0.84rem;
  color: var(--primary-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.85rem;
}

.review-card-loading {
  animation: pulse-loading 1.25s ease-in-out infinite;
}

.reviews-note {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

@keyframes pulse-loading {
  0% {
    opacity: 0.58;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.58;
  }
}

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
}

.steps {
  display: grid;
  gap: 0.9rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: var(--surface);
}

.step span {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.step h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: var(--text-soft);
}

.section-split {
  background:
    linear-gradient(165deg, rgba(91, 116, 100, 0.08), transparent 48%),
    linear-gradient(350deg, rgba(173, 106, 79, 0.08), transparent 45%);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-areas:
    "intro intro"
    "photo topics";
  gap: 1.8rem;
  align-items: start;
}

.faq-intro {
  grid-area: intro;
}

.faq-list {
  grid-area: topics;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.faq-photo {
  grid-area: photo;
  margin: 1rem 0 0;
  width: min(100%, 560px);
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.faq-photo img {
  width: 100%;
  display: block;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
  opacity: 1;
  mix-blend-mode: normal;
  -webkit-mask-image: radial-gradient(132% 114% at 50% 50%, #000 48%, rgba(0, 0, 0, 0.86) 62%, rgba(0, 0, 0, 0.52) 74%, rgba(0, 0, 0, 0.2) 86%, transparent 100%);
  mask-image: radial-gradient(132% 114% at 50% 50%, #000 48%, rgba(0, 0, 0, 0.86) 62%, rgba(0, 0, 0, 0.52) 74%, rgba(0, 0, 0, 0.2) 86%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.faq-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(134% 116% at 50% 50%, rgba(244, 238, 228, 0) 50%, rgba(244, 238, 228, 0.56) 70%, rgba(244, 238, 228, 0.98) 100%);
  box-shadow: inset 0 0 120px 70px rgba(244, 238, 228, 0.94);
}

details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: var(--surface);
}

summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin-top: 0.72rem;
  margin-bottom: 0;
  color: var(--text-soft);
}

.contact-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.contact-wrap p {
  color: var(--text-soft);
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 1.4rem;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.floating-whats {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #25d366;
  color: #fff;
  padding: 0.74rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 60;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 0.4rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.delay-1 {
  transition-delay: 0.13s;
}

.reveal.delay-2 {
  transition-delay: 0.24s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .process-grid,
  .faq-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-photo {
    max-width: 560px;
    margin-inline: auto;
  }

  .about-photo {
    margin-inline: auto;
  }

  .faq-grid {
    grid-template-areas:
      "intro"
      "photo"
      "topics";
  }

  .faq-photo {
    margin-inline: auto;
    width: min(100%, 520px);
  }

  .faq-list {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .about-grid .about-copy {
    order: 1;
  }

  .about-grid .about-photo {
    order: 2;
    margin-top: 0.2rem;
  }

  .fern-mid,
  .fern-mid-2,
  .fern-bottom-2 {
    display: none;
  }

  .fern-top,
  .fern-top-2,
  .fern-bottom {
    opacity: 0.22;
  }

  .fern-top {
    top: 112px;
    right: 2.5vw;
    transform: rotate(8deg) scale(0.74);
  }

  .fern-bottom {
    right: 2.5vw;
    bottom: 14vh;
    transform: rotate(3deg) scale(0.76);
  }

  .fern-top-2 {
    top: 210px;
    right: 1.2vw;
    transform: rotate(19deg) scale(0.68);
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: rgba(244, 238, 228, 0.98);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu a {
    padding: 0.92rem 1.5rem;
    border-top: 1px solid rgba(95, 85, 73, 0.08);
  }

  .menu.is-open {
    max-height: 380px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 0.9rem;
    align-items: start;
  }

  .hero-copy h1 {
    font-size: clamp(1.32rem, 5.8vw, 1.82rem);
  }

  .hero-copy p {
    font-size: 0.92rem;
    max-width: 100%;
  }

  .hero-cta {
    margin-top: 1rem;
    gap: 0.5rem;
  }

  .hero-cta .btn {
    font-size: 0.8rem;
    padding: 0.6rem 0.82rem;
  }

  .hero-photo {
    margin: 0;
    max-width: none;
    padding: 0.52rem;
    transform: rotate(-0.4deg);
  }

  .floating-whats {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (max-width: 430px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .hero-photo {
    max-width: 420px;
    margin-inline: auto;
    transform: rotate(-0.8deg);
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 9vw, 2.3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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