/* ============================================================
   Júlia Batista — Psicóloga · style.css
   Paleta V3 + Fraunces italic + Plus Jakarta Sans
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --cream:   #FDFAF7;
  --creme:   #F5EDE5;
  --deep:    #EDE0D4;
  --terra:   #C4714A;
  --terra-l: #DFA08A;
  --verde:   #6B8C6B;
  --carvao:  #2C2218;
  --soft:    #4A3728;
  --barro:   #7A5A42;
  --rosa:    #E8CBBE;

  --display: 'Fraunces', Georgia, serif;
  --body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --radius-card: 16px;
  --radius-btn:  50px;

  --shadow-card: 0 2px 16px rgba(44, 34, 24, 0.07);
  --shadow-hero: 20px 20px 0 var(--deep);

  --max-w: 1280px;
  --px:    clamp(20px, 5vw, 48px);
  --py:    clamp(64px, 10vw, 104px);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); background: var(--cream); color: var(--carvao); line-height: 1.6; }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
blockquote { font-style: italic; }

/* ── Container ──────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); }

/* ── Typography helpers ─────────────────────────────────────── */
.eyebrow {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--verde);
  display: block;
  margin-bottom: 16px;
}
.eyebrow--terra { color: var(--terra-l); }

.section-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--carvao);
  margin-bottom: 40px;
}
.section-title--light { color: var(--cream); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}
.btn:hover { opacity: 0.84; transform: translateY(-1px); }
.btn--terra  { background: var(--terra);  color: #fff; border-color: var(--terra); }
.btn--outline{ background: transparent;   color: var(--terra); border-color: var(--terra); }
.btn--verde  { background: var(--verde);  color: #fff; border-color: var(--verde); }
.btn--white  { background: #fff;          color: var(--terra); }
.btn--carvao { background: var(--carvao); color: #fff; }

/* ── Header / Nav ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 40px);
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(253, 250, 247, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--rosa);
}

.site-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(74, 55, 40, 0.65);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--terra); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  z-index: 110;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--carvao);
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu img { height: 52px; width: auto; margin-bottom: 8px; }
.mobile-menu a {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.75rem;
  color: var(--carvao);
}
.mobile-menu a:hover { color: var(--terra); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  align-items: center;
  padding-block: clamp(96px, 12vw, 128px) clamp(64px, 8vw, 96px);
  padding-inline: var(--px);
}
.hero__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 72px;
}
.hero__text  { flex: 1; min-width: 0; }
.hero__photo { flex-shrink: 0; width: 420px; max-width: 44%; }

.hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--verde);
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--carvao);
  margin-bottom: 28px;
}
.hero__title em { color: var(--terra); font-style: italic; }
.hero__body {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.9;
  color: var(--barro);
  max-width: 440px;
  margin-bottom: 36px;
}
.hero__photo-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-hero), 0 8px 32px rgba(44, 34, 24, 0.10);
}
.hero__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ── Trust Strip ────────────────────────────────────────────── */
.trust {
  background: var(--terra);
  padding: 28px var(--px);
}
.trust__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  padding: 12px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}
.trust__item:last-child { border-right: none; }
.trust__label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 4px;
}
.trust__value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

/* ── Symptoms ───────────────────────────────────────────────── */
.symptoms {
  background: var(--creme);
  padding-block: var(--py);
  padding-inline: var(--px);
}
.symptoms__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.symptom-card {
  background: var(--cream);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--terra);
  transition: transform 0.3s, box-shadow 0.3s;
}
.symptom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(44, 34, 24, 0.13);
}
.symptom-card__img {
  aspect-ratio: 1;
  background: var(--creme);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.symptom-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}
.symptom-card__body { padding: 16px 20px 20px; }
.symptom-card__title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.97rem;
  color: var(--soft);
  line-height: 1.45;
}
.symptoms__cta { text-align: center; }

/* ── About ──────────────────────────────────────────────────── */
.about {
  background: var(--deep);
  padding-block: var(--py);
  padding-inline: var(--px);
}
.about__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.about__photo-col { flex-shrink: 0; width: 340px; max-width: 100%; }
.about__photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(44, 34, 24, 0.12);
}
.about__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.about__badge {
  background: var(--terra);
  border-radius: 0 0 16px 16px;
  padding: 20px 24px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.about__badge-item {}
.about__badge-label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2px;
}
.about__badge-value { font-size: 0.88rem; font-weight: 600; color: #fff; }

.about__text { flex: 1; min-width: 280px; }
.about__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.about__body p { font-size: 0.98rem; line-height: 1.9; color: var(--soft); }
.about__quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--verde);
  border-left: 3px solid var(--verde);
  padding-left: 20px;
  margin-bottom: 32px;
  line-height: 1.5;
}
.about__creds { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.about__cred {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 0.88rem;
  color: var(--barro);
  line-height: 1.5;
}
.about__cred-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
  margin-top: 7px;
}
.about__cred strong { color: var(--soft); font-weight: 600; }

/* ── Process ────────────────────────────────────────────────── */
.process {
  background: var(--carvao);
  padding-block: var(--py);
  padding-inline: var(--px);
}
.process__inner { max-width: 1040px; margin-inline: auto; }
.process__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 52px;
  margin-top: -28px;
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.process-card__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--creme);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--terra);
}
.process-card__title {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--carvao);
  margin-bottom: 12px;
}
.process-card__desc { font-size: 0.92rem; line-height: 1.8; color: var(--barro); }
.process__cta { text-align: center; margin-top: 48px; }

/* ── Gallery / Carousel ─────────────────────────────────────── */
.gallery {
  background: var(--cream);
  padding-block: var(--py);
  padding-inline: var(--px);
}
.gallery__inner { max-width: 960px; margin-inline: auto; }
.gallery__subtitle { font-size: 0.95rem; color: var(--barro); margin-bottom: 36px; margin-top: -28px; }

.carousel { user-select: none; }
.carousel__stage {
  position: relative;
  width: 100%;
  padding-bottom: 56%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(44, 34, 24, 0.12);
}
.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
  pointer-events: none;
}
.carousel__slide.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(253, 250, 247, 0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terra);
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s;
}
.carousel__arrow:hover { background: #fff; }
.carousel__arrow--prev { left: 16px; }
.carousel__arrow--next { right: 16px; }

.carousel__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.carousel__thumb {
  flex: 1;
  height: 68px;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.35s, border-color 0.35s;
  padding: 0;
  background: none;
}
.carousel__thumb.active { border-color: var(--terra); opacity: 1; }
.carousel__thumb img { width: 100%; height: 100%; object-fit: cover; }

.carousel__dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}
.carousel__dot {
  height: 8px;
  border-radius: 4px;
  background: var(--rosa);
  border: none;
  cursor: pointer;
  transition: width 0.35s, background 0.35s;
  width: 8px;
  padding: 0;
}
.carousel__dot.active { background: var(--terra); width: 28px; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq {
  background: var(--creme);
  padding-block: var(--py);
  padding-inline: var(--px);
}
.faq__inner { max-width: 720px; margin-inline: auto; }
.faq__list  { border-top: 1px solid var(--rosa); }
.faq__item  { border-bottom: 1px solid var(--rosa); }
.faq__btn {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--soft);
  transition: color 0.2s;
}
.faq__btn:hover { color: var(--terra); }
.faq__btn-text { flex: 1; text-align: left; }
.faq__icon {
  color: var(--terra);
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.25s;
  display: inline-block;
}
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding-bottom: 0;
}
.faq__item.open .faq__answer { max-height: 600px; padding-bottom: 24px; }
.faq__answer p { font-size: 0.93rem; line-height: 1.85; color: var(--barro); }
.faq__cta { text-align: center; margin-top: 52px; }
.faq__cta-lead {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--carvao);
  margin-bottom: 24px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--carvao);
  padding: clamp(56px, 8vw, 88px) var(--px) 40px;
}
.footer__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  padding-bottom: 56px;
  margin-bottom: 48px;
}
.footer__cta-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  color: var(--cream);
  margin-bottom: 8px;
  line-height: 1.25;
}
.footer__cta-title em { color: var(--terra-l); font-style: italic; }
.footer__cta-sub { font-size: 0.88rem; color: rgba(253, 250, 247, 0.48); }

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__logo { height: 42px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer__crp  { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--terra-l); }

.footer__col-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(253, 250, 247, 0.4);
  margin-bottom: 10px;
}
.footer__col p { font-size: 0.88rem; color: rgba(253, 250, 247, 0.75); margin-bottom: 4px; }
.footer__col p.muted { font-size: 0.85rem; color: rgba(253, 250, 247, 0.4); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copyright,
.footer__dev { font-size: 0.7rem; color: rgba(255, 255, 255, 0.25); }
.footer__dev a { color: var(--terra-l); }
.footer__dev a:hover { opacity: 0.8; }

/* ── WhatsApp button ────────────────────────────────────────── */
.wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
.wa-btn svg { width: 32px; height: 32px; }

/* ── Section spacing util ───────────────────────────────────── */
.section { padding-block: var(--py); padding-inline: var(--px); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  RESPONSIVE                                               ║
   ╚══════════════════════════════════════════════════════════╝ */

@media (max-width: 900px) {
  /* Header */
  .site-nav    { display: none; }
  .nav-toggle  { display: flex; }

  /* Hero */
  .hero__inner  { flex-direction: column-reverse; gap: 32px; }
  .hero__photo  { width: 100%; max-width: 100%; }

  /* Trust strip */
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .trust__item  {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 12px;
  }
  .trust__item:nth-child(2n)   { border-right: none; }
  .trust__item:nth-child(3),
  .trust__item:nth-child(4)    { border-bottom: none; }

  /* Symptoms */
  .symptoms__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* About */
  .about__inner   { flex-direction: column; gap: 32px; }
  .about__photo-col { width: 100%; }

  /* Process */
  .process__grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__cta  { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }

  /* Wide CTAs */
  .btn--wide { display: block; text-align: center; white-space: normal; }
}

@media (max-width: 480px) {
  .hero__title { letter-spacing: -0.01em; }
  .carousel__arrow { width: 36px; height: 36px; font-size: 0.9rem; }
  .carousel__thumbs { gap: 6px; }
  .carousel__thumb { height: 52px; }
  .wa-btn { width: 50px; height: 50px; bottom: 20px; right: 20px; }
}
