/* ============================================
   LUCAS PERLOTTI — PSICÓLOGO — CUSTOM CSS
   ============================================ */

:root {
  --navy:       #1E2B5E;
  --navy-mid:   #2D3A6E;
  --navy-light: #3D4F8A;
  --indigo:     #4A5899;
  --lavender:   #8B9FD4;
  --lav-pale:   #E8EBF5;
  --lav-bg:     #F0F3FA;
  --gold-star:  #F5C518;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'DM Sans', sans-serif; overflow-x: hidden; }

/* ============================================
   NAVBAR
   ============================================ */
.nav-transparent { background: transparent; }

#navbar.scrolled {
  background: rgba(30, 43, 94, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 4px 30px rgba(30, 43, 94, 0.4);
}

.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--lavender);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.logo-psi {
  background: var(--indigo);
  border: 2px solid var(--lavender);
}

.psi-symbol {
  font-family: serif;
  letter-spacing: -1px;
}

.mobile-menu-bg {
  background: rgba(30, 43, 94, 0.98);
}

/* ============================================
   BOTÕES
   ============================================ */
.btn-indigo {
  background: var(--indigo);
  color: #fff;
  display: inline-block;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-indigo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.btn-indigo:hover::before { transform: translateX(0); }
.btn-indigo:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(74, 88, 153, 0.4);
}

.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.45);
  color: #fff;
  display: inline-block;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
  background-image:
    linear-gradient(135deg, rgba(30,43,94,0.94) 0%, rgba(45,58,110,0.88) 50%, rgba(30,43,94,0.96) 100%),
    url('https://images.unsplash.com/photo-1604881988758-f76ad2f7aac1?w=1920&q=80');
  background-size: cover;
  background-position: center;
}

.hero-pattern {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(139,159,212,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74,88,153,0.2) 0%, transparent 50%);
}

.psi-bg {
  font-family: serif;
  font-size: 40vw;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,159,212,0.15);
  border: 1px solid rgba(139,159,212,0.3);
  color: var(--lavender);
  padding: 6px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.psi-mini {
  font-family: serif;
  font-weight: bold;
  color: var(--lavender);
}

.modality-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
  padding: 6px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}
.modality-tag:hover {
  background: rgba(139,159,212,0.2);
  border-color: rgba(139,159,212,0.4);
  color: white;
}

/* Hero photo */
.hero-photo-wrap {
  position: relative;
  padding: 16px 0 16px 16px;
}
.hero-photo-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 88%;
  height: 100%;
  border: 2px solid var(--lavender);
  opacity: 0.35;
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: 400px;
  height: 520px;
  overflow: hidden;
  border: 2px solid rgba(139,159,212,0.5);
}
.hero-photo img { transition: transform 0.6s ease; }
.hero-photo:hover img { transform: scale(1.04); }

.hero-photo-wrap.no-photo .hero-photo {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-crp-badge {
  position: absolute;
  bottom: 20px;
  right: -10px;
  background: var(--indigo);
  color: white;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(30,43,94,0.4);
}

/* ============================================
   STRIP MARQUEE
   ============================================ */
.strip-marquee {
  background: var(--navy-mid);
  border-top: 1px solid rgba(139,159,212,0.15);
  border-bottom: 1px solid rgba(139,159,212,0.15);
}

.marquee-track {
  animation: marquee-scroll 25s linear infinite;
  width: max-content;
}

.strip-item {
  color: rgba(139,159,212,0.8);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SOBRE
   ============================================ */
.sobre-frame-wrap {
  position: relative;
  padding: 20px 0 20px 20px;
}
.sobre-frame-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  background: var(--lav-pale);
}
.sobre-frame-photo {
  position: relative;
  z-index: 1;
  height: 540px;
  overflow: hidden;
  border: 2px solid var(--lavender);
}
.sobre-frame-photo img { transition: transform 0.6s ease; }
.sobre-frame-photo:hover img { transform: scale(1.04); }

.sobre-badge {
  position: absolute;
  bottom: 0;
  right: -10px;
  background: var(--navy-mid);
  color: white;
  padding: 20px 24px;
  z-index: 2;
  text-align: center;
  box-shadow: 0 10px 30px rgba(30,43,94,0.4);
}

.psi-large {
  font-family: serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--lavender);
  line-height: 1;
}

.cred-card {
  background: var(--lav-pale);
  border: 1px solid rgba(74,88,153,0.15);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.cred-card:hover {
  background: white;
  border-color: var(--indigo);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74,88,153,0.12);
}

/* ============================================
   ABORDAGENS SECTION
   ============================================ */
.abordagens-section {
  background-image:
    linear-gradient(135deg, rgba(30,43,94,0.97) 0%, rgba(45,58,110,0.95) 100%),
    url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1920&q=80');
  background-size: cover;
  background-position: center;
}

.abordagens-overlay {
  background: linear-gradient(135deg, rgba(30,43,94,0.92) 0%, rgba(61,79,138,0.80) 100%);
}

.psi-watermark {
  font-family: serif;
  font-size: 25vw;
  color: white;
  line-height: 1;
}

/* Abordagem Cards */
.abord-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(139,159,212,0.15);
  padding: 28px 24px;
  transition: all 0.35s ease;
  position: relative;
}
.abord-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--lavender);
  transition: height 0.35s ease;
}
.abord-card:hover {
  background: rgba(139,159,212,0.1);
  border-color: rgba(139,159,212,0.35);
  transform: translateY(-4px);
}
.abord-card:hover::after { height: 100%; }

.abord-card-featured {
  background: var(--lavender);
  border-color: transparent;
}
.abord-card-featured::after { background: var(--navy); }
.abord-card-featured:hover { background: #9CAEDD; }

.abord-icon {
  width: 50px;
  height: 50px;
  border: 1.5px solid rgba(139,159,212,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lavender);
  font-size: 1.2rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.abord-card:hover .abord-icon {
  background: var(--lavender);
  color: var(--navy);
  border-color: var(--lavender);
}

.abord-icon-featured {
  border-color: rgba(30,43,94,0.3);
  color: var(--navy);
}
.abord-card-featured:hover .abord-icon-featured {
  background: var(--navy);
  color: var(--lavender);
}

.abord-tag {
  display: inline-block;
  background: rgba(139,159,212,0.2);
  border: 1px solid rgba(139,159,212,0.3);
  color: var(--lavender);
  padding: 3px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.abord-tag-dark {
  display: inline-block;
  background: rgba(30,43,94,0.15);
  border: 1px solid rgba(30,43,94,0.25);
  color: var(--navy);
  padding: 3px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================
   QUOTE LUCAS
   ============================================ */
.quote-lucas {
  background-image:
    linear-gradient(135deg, rgba(30,43,94,0.95) 0%, rgba(45,58,110,0.92) 100%),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&q=80');
  background-size: cover;
  background-position: center;
}

.quote-overlay {
  background: linear-gradient(135deg, rgba(30,43,94,0.90) 0%, rgba(74,88,153,0.25) 100%);
}

.psi-quote {
  font-family: serif;
  font-size: 3rem;
  font-weight: bold;
  color: var(--lavender);
  opacity: 0.5;
  line-height: 1;
}

/* ============================================
   PARA QUEM
   ============================================ */
.for-card {
  background: white;
  border: 1px solid rgba(74,88,153,0.1);
  padding: 28px 24px;
  transition: all 0.3s ease;
}
.for-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(74,88,153,0.12);
  border-color: var(--lavender);
}

.for-card-featured {
  background: var(--navy-mid);
  border-color: transparent;
}
.for-card-featured:hover {
  box-shadow: 0 20px 50px rgba(30,43,94,0.25);
}

.for-icon {
  width: 44px;
  height: 44px;
  background: var(--lav-pale);
  border: 1.5px solid rgba(74,88,153,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  font-size: 1rem;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}
.for-card:hover .for-icon {
  background: var(--indigo);
  color: white;
}

.for-icon-feat {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: var(--lavender);
}
.for-card-featured:hover .for-icon-feat {
  background: var(--lavender);
  color: var(--navy);
}

/* ============================================
   STEPS (Como funciona)
   ============================================ */
.step-card {
  background: white;
  border: 1px solid rgba(74,88,153,0.1);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(74,88,153,0.1);
  border-color: var(--lavender);
}

.step-card-featured {
  background: var(--navy-mid);
  border-color: transparent;
}
.step-card-featured:hover {
  box-shadow: 0 20px 40px rgba(30,43,94,0.25);
}

.step-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--lav-pale);
  font-family: 'Libre Baskerville', serif;
  line-height: 1;
  margin-bottom: 12px;
}
.step-number-feat {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  font-family: 'Libre Baskerville', serif;
  line-height: 1;
  margin-bottom: 12px;
}

.step-icon {
  width: 44px;
  height: 44px;
  background: var(--lav-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  font-size: 1rem;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}
.step-card:hover .step-icon {
  background: var(--indigo);
  color: white;
}

.step-icon-feat {
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lavender);
  width: 44px;
  height: 44px;
  font-size: 1rem;
  margin-bottom: 14px;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.review-card {
  background: white;
  border: 1px solid rgba(74,88,153,0.1);
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
}
.review-card::before {
  content: '\201C';
  font-family: 'Libre Baskerville', serif;
  font-size: 5rem;
  color: var(--indigo);
  opacity: 0.12;
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(74,88,153,0.1);
  border-color: var(--lavender);
}

.review-card-featured {
  background: var(--navy-mid);
  border-color: transparent;
}
.review-card-featured::before {
  color: var(--lavender);
  opacity: 0.15;
}
.review-card-featured:hover {
  box-shadow: 0 16px 40px rgba(30,43,94,0.3);
}

.review-stars { display: flex; gap: 3px; }
.text-gold-star { color: #F5C518; }

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(74,88,153,0.1);
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Libre Baskerville', serif;
  font-weight: bold;
  font-size: 0.8rem;
}
.navy-av {
  background: var(--lav-pale);
  color: var(--indigo);
}
.lav-av {
  background: rgba(255,255,255,0.15);
  color: var(--lavender);
}

/* ============================================
   CTA LUCAS
   ============================================ */
.cta-lucas {
  background-image:
    linear-gradient(135deg, rgba(30,43,94,0.97) 0%, rgba(45,58,110,0.93) 100%),
    url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?w=1920&q=80');
  background-size: cover;
  background-position: center;
}

.cta-overlay {
  background: linear-gradient(135deg, rgba(30,43,94,0.90) 0%, rgba(74,88,153,0.20) 100%);
}

.psi-cta {
  font-family: serif;
  font-size: 35vw;
  line-height: 1;
  color: white;
}

/* ============================================
   CONTATO
   ============================================ */
.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contato-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--lav-pale);
  border: 1.5px solid rgba(74,88,153,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  font-size: 1rem;
  font-family: serif;
  font-weight: bold;
  transition: all 0.3s ease;
}
.contato-item:hover .contato-icon {
  background: var(--indigo);
  color: white;
}

.taplink-box {
  background: var(--navy-mid);
  padding: 20px 24px;
}

.taplink-btn {
  background: var(--lavender);
  color: var(--navy);
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}
.taplink-btn:hover {
  background: white;
  color: var(--navy);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--navy-mid);
  border: 1px solid rgba(139,159,212,0.15);
}

.form-lbl {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-fld {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(139,159,212,0.2);
  padding: 12px 16px;
  font-size: 0.875rem;
  color: white;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s ease;
  outline: none;
}
.form-fld:focus {
  border-color: var(--lavender);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(139,159,212,0.12);
}
.form-fld::placeholder { color: rgba(255,255,255,0.25); }
.form-fld option { color: #1E2B5E; background: white; }

/* ============================================
   WHATSAPP
   ============================================ */
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}
.whatsapp-float { animation: pulse-green 2.5s infinite; }

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--lav-bg); }
::-webkit-scrollbar-thumb { background: var(--indigo); }
::-webkit-scrollbar-thumb:hover { background: var(--navy-light); }

::selection {
  background: var(--lavender);
  color: var(--navy);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero-section { background-attachment: scroll; }
  .sobre-frame-photo { height: 380px; }
  .hero-photo { width: 300px; height: 400px; }
  .psi-bg { display: none; }
}
