/* ============================================================
   Psicóloga Késsia Pacheco — style.css
   Referência: leticialins.com.br
   Mobile-first | Inter | Lavanda
   ============================================================ */

/* ── Variáveis ─────────────────────────────────────────────── */
:root {
  --primary:        #8B7BB5;
  --primary-dark:   #6A5A9E;
  --primary-light:  #C5BCE0;
  --secondary:      #B8B0D4;
  --bg:             #ffffff;
  --bg-soft:        #F4F2F9;
  --bg-warm:        #FAF9FC;
  --text-primary:   #1a1a1a;
  --text-secondary: #5a5a5a;
  --text-light:     #888888;
  --whatsapp:       #25D366;
  --whatsapp-dark:  #128C7E;
  --border:         #E8E4F0;
  --white:          #ffffff;

  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --radius-pill: 9999px;

  --shadow-sm:  0 2px 8px  rgba(0,0,0,0.06);
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.10);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1160px;
  --side-pad:  clamp(20px, 5vw, 60px);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: var(--font); }

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* ── Tipografia ────────────────────────────────────────────── */
h1 {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
h3 {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}
p { color: var(--text-secondary); line-height: 1.75; }

/* ── Label de seção ────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--bg-soft);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

/* ── Botões ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  padding: 15px 32px;
  min-height: 52px;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(139,123,181,0.30);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,123,181,0.40);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.30);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.40);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary-light);
}
.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--primary);
}

.btn-lg {
  font-size: clamp(14px, 3.5vw, 16px);
  padding: 16px clamp(20px, 5vw, 40px);
  min-height: 52px;
}

.btn svg { flex-shrink: 0; }

/* ── WhatsApp flutuante ────────────────────────────────────── */
.wpp-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 999;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.50);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wpp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}
.wpp-float svg { width: 32px; height: 32px; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}
.logo span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.header-nav {
  display: none;
  gap: 32px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--primary); }

.header-btn { display: none; }

@media (min-width: 768px) {
  .header-nav { display: flex; }
  .header-btn { display: inline-flex; }
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  background: var(--bg-warm);
  padding: 64px 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: end;
}

/* — Conteúdo — */
.hero-text { padding-bottom: 64px; }

.hero-text h1 { margin-bottom: 20px; }
.hero-text h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero-text p {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
}

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

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-icon svg { width: 12px; height: 12px; }

/* — Foto — */
.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo-dec {
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 85%;
  height: 90%;
  background: var(--primary-light);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 0;
  opacity: 0.45;
}

.hero-photo-frame {
  position: relative;
  z-index: 1;
  width: min(340px, 90vw);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-card {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-card-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.hero-card-text span {
  font-size: 12px;
  color: var(--text-light);
}
.hero-card-tcc { bottom: 48px; left: -20px; }
.hero-card-brasil { top: 40px; right: -16px; }

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 420px;
    gap: 0;
    align-items: end;
  }
  .hero-text { padding-bottom: 80px; }
  .hero-photo-frame { width: 100%; min-height: 520px; }
  .hero-trust { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .hero-trust-item { font-size: 13px; }
  .hero-card-tcc { left: -28px; }
  .hero-card-brasil { right: -24px; }
}

/* ══════════════════════════════════════════════════════════════
   SOCIAL PROOF BAR
══════════════════════════════════════════════════════════════ */
.proof-bar {
  background: var(--primary-dark);
  padding: 24px 0;
}
.proof-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.90);
  font-size: 14px;
  font-weight: 500;
}
.proof-item svg { color: var(--secondary); flex-shrink: 0; }

@media (min-width: 768px) {
  .proof-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px 40px;
  }
}

/* ══════════════════════════════════════════════════════════════
   SEÇÕES — padrão
══════════════════════════════════════════════════════════════ */
.section { padding: 88px 0; }
.section-sm { padding: 64px 0; }
.bg-soft  { background: var(--bg-soft); }
.bg-white { background: var(--white); }
.bg-primary { background: var(--primary-dark); }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 17px; }

/* ══════════════════════════════════════════════════════════════
   ESPECIALIDADES
══════════════════════════════════════════════════════════════ */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 600px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card-icon svg { width: 28px; height: 28px; stroke-width: 1.8; }

.card h3 { margin-bottom: 10px; font-size: 18px; }
.card p  { font-size: 15px; line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════
   COMO FUNCIONA
══════════════════════════════════════════════════════════════ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  max-width: 860px;
  margin: 0 auto;
  counter-reset: steps;
}
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 0; }
}

.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 32px;
  background: var(--white);
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  background: var(--border);
}
@media (max-width: 699px) {
  .step:not(:last-child)::after {
    bottom: 0; left: 32px; right: 32px; height: 1px;
  }
}
@media (min-width: 700px) {
  .step:not(:last-child)::after {
    top: 36px; right: 0; width: 1px; height: 56px;
  }
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.step h3 { margin-bottom: 8px; font-size: 17px; }
.step p  { font-size: 14px; }

/* ══════════════════════════════════════════════════════════════
   SOBRE
══════════════════════════════════════════════════════════════ */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 860px) {
  .sobre-grid { grid-template-columns: 380px 1fr; gap: 72px; }
}

.sobre-photo-wrap {
  position: relative;
}
.sobre-photo-bg {
  position: absolute;
  inset: 16px -16px -16px 16px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.sobre-photo-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  width: 100%;
}
.sobre-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.sobre-content h2 { margin-bottom: 20px; }
.sobre-content p  { margin-bottom: 16px; font-size: 16px; }
.sobre-content p:last-of-type { margin-bottom: 0; }

.sobre-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
}
.badge svg { width: 14px; height: 14px; color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   CTA AGENDAMENTO
══════════════════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #4a3a8e 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.80);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 36px;
}
.cta-section .btn-whatsapp {
  font-size: 16px;
  padding: 20px 44px;
}
.cta-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ══════════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════════ */
.faq-wrap {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.15s;
}
.faq-btn:hover { color: var(--primary); }

.faq-btn-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.2s;
}
.faq-item.open .faq-btn-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.faq-item.open .faq-body { max-height: 500px; }

.faq-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  padding-bottom: 22px;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: #1a1828;
  padding: 56px 0 32px;
  color: rgba(255,255,255,0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
}

.footer-logo { color: #B8B0D4; font-size: 18px; font-weight: 800; }
.footer-logo span { display: block; font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.4); margin-top: 2px; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.50); line-height: 1.7; margin-top: 14px; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.90);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 14px; }
.footer-col a { color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-col a:hover { color: #B8B0D4; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.30);
}

/* ══════════════════════════════════════════════════════════════
   ANIMAÇÕES DE SCROLL
   (apenas seções abaixo do fold — nunca o hero)
══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
