/*
Theme Name: Juliana Pessoa Psicóloga
Description: Landing page para consultório de psicologia — Juliana Pessoa, CRP 06/140795
Version: 1.4.0
Text Domain: juliana-psi
*/

/* =========================
   VARIÁVEIS E RESET
   ========================= */

:root {
  --primary: #7B5EA7;
  --primary-dark: #5A3D84;
  --primary-light: #EDE6F7;
  --primary-mid: #C4ADE5;
  --accent: #C49A6C;
  --sage: #7B9E87;
  --text: #2C2840;
  --text-muted: #6E6B80;
  --bg: #FAF9FC;
  --bg-alt: #F3EDF8;
  --white: #FFFFFF;
  --border: #E4DCF0;
  --shadow-sm: 0 2px 8px rgba(123, 94, 167, 0.10);
  --shadow-md: 0 4px 24px rgba(123, 94, 167, 0.15);
  --shadow-lg: 0 8px 40px rgba(123, 94, 167, 0.22);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 50px;
  --transition: 0.3s ease;
  --max-width: 1100px;
}

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

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

body {
  font-family: 'Lato', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* =========================
   TIPOGRAFIA
   ========================= */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); font-weight: 600; }

p { margin-bottom: 1rem; line-height: 1.8; }
p:last-child { margin-bottom: 0; }

/* =========================
   LAYOUT UTILITÁRIOS
   ========================= */

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

.section { padding: 88px 0; }

.section-label {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title { margin-bottom: 14px; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 580px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* =========================
   BOTÕES
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: var(--radius-full);
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(123, 94, 167, 0.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(123, 94, 167, 0.5);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover {
  background: #1EBE5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.btn-white:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
  color: var(--primary);
}

.btn-lg { padding: 18px 42px; font-size: 1.05rem; }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.8);
}

/* =========================
   NAVBAR
   ========================= */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 249, 252, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 220, 240, 0.7);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo-img {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.navbar-logo-texts {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar-logo .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  letter-spacing: -0.03em;
}
.navbar-logo .role {
  font-size: 0.68rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
}
.navbar-cta:hover { background: var(--primary-dark); transform: translateY(-1px); color: var(--white); }
.navbar-cta svg { width: 16px; height: 16px; fill: white; flex-shrink: 0; }

/* =========================
   HERO
   ========================= */

.hero {
  padding: 140px 0 88px;
  background: linear-gradient(150deg, var(--bg) 30%, var(--bg-alt) 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -100px; right: -150px;
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(123, 94, 167, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}

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

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
}

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

.hero-trust { display: flex; flex-direction: column; gap: 8px; }

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-trust-item .check {
  width: 20px; height: 20px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
}

/* Hero Image */
.hero-image-wrap { display: flex; justify-content: center; }

.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, var(--primary-light), var(--primary));
  position: relative;
}

.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  text-align: center;
  padding: 24px;
}

.hero-initials {
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  border: 2px solid rgba(255,255,255,0.3);
}

.hero-card-crp {
  position: absolute;
  bottom: 20px; left: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-card-crp .icon {
  width: 38px; height: 38px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hero-card-crp .info .lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.hero-card-crp .info .val {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-card-online {
  position: absolute;
  top: 20px; right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.hero-card-online .badge {
  width: 30px; height: 30px;
  background: #E8F9EF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 0.95rem;
}

.hero-card-online .txt {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1.35;
  white-space: nowrap;
}

/* =========================
   PROOF STRIP
   ========================= */

.proof-strip { background: var(--primary); padding: 18px 0; }

.proof-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 28px;
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 700;
}

.proof-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.2); }
.proof-item .icon { font-size: 1rem; }

/* =========================
   PAIN POINTS
   ========================= */

.pain-intro {
  max-width: 600px;
  margin: 0 auto 48px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
}

.pain-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.pain-card:hover {
  border-color: var(--primary-mid);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  background: var(--bg-alt);
}

.pain-card-icon {
  width: 38px; height: 38px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}

.pain-card-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.65;
}

.pain-cta { text-align: center; margin-top: 44px; }
.pain-cta p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 20px; font-style: italic; }

/* =========================
   SERVICES
   ========================= */

.services-header { text-align: center; margin-bottom: 48px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--primary-mid); }
.service-card:hover::after { transform: scaleX(1); }

.service-card.supervision {
  background: linear-gradient(135deg, var(--primary-light), rgba(123,94,167,0.04));
  border-color: var(--primary-mid);
}

.service-icon {
  width: 58px; height: 58px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.6rem;
}

.service-card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.service-card p { font-size: 0.91rem; color: var(--text-muted); line-height: 1.75; margin: 0; }

.service-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 5px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

/* =========================
   ABOUT
   ========================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image { position: relative; }

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, var(--primary-light), var(--primary));
  position: relative;
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.about-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  text-align: center;
  padding: 24px;
}

.about-photo-initials {
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  border: 2px solid rgba(255,255,255,0.3);
}

.about-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.about-badge .crp-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-badge .crp-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.about-badge .crp-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-content h2 { margin-bottom: 22px; }
.about-content h2 em { font-style: italic; color: var(--primary); }
.about-content p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.85; }

.about-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.specialty-tag {
  padding: 6px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 600;
}

/* Galeria consultório */
.gallery-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Consultório carrossel — 3 visíveis */
.consultorio-track { gap: 12px; }

.consultorio-track .gallery-item {
  flex: 0 0 auto;
  min-width: 0;
  width: calc((100% - 2 * 12px) / 3);
  scroll-snap-align: start;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

/* =========================
   CARROSSEL BASE
   ========================= */

.carousel-wrap {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(50%);
  z-index: 10;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  color: var(--primary);
  padding: 0;
}
.carousel-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.carousel-prev { left: 0; transform: translateY(-50%) translateX(-50%); }
.carousel-next { right: 0; }

/* Fotos carrossel — 4 visíveis */
.fotos-track .foto-item {
  flex: 0 0 auto;
  min-width: 0;
  width: calc((100% - 3 * 20px) / 4);
  scroll-snap-align: start;
}

.foto-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: var(--radius-sm);
  transition: transform 0.4s ease;
}

.foto-item:hover img { transform: scale(1.04); }

/* =========================
   VÍDEOS
   ========================= */

.videos-section { background: var(--bg-alt); }

.videos-header { text-align: center; margin-bottom: 48px; }

/* Vídeos carrossel — 3 visíveis */
.videos-track .video-card {
  flex: 0 0 auto;
  min-width: 0;
  width: calc((100% - 2 * 20px) / 3);
  scroll-snap-align: start;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.video-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #1C1828;
}

.video-embed--landscape { aspect-ratio: 16 / 9; }

.video-embed iframe,
.video-embed video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  object-fit: contain;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: rgba(255,255,255,0.85);
  gap: 12px;
  font-size: 0.9rem;
  text-align: center;
  padding: 24px;
}

.video-placeholder .play-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 2px solid rgba(255,255,255,0.3);
}

.video-info { padding: 20px 22px; }
.video-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.video-info p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* =========================
   STEPS / HOW IT WORKS
   ========================= */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 52px;
  position: relative;
}

.steps-grid::after {
  content: '';
  position: absolute;
  top: 35px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: var(--primary-mid);
  z-index: 0;
}

.step { text-align: center; padding: 0 28px; position: relative; z-index: 1; }

.step-circle {
  width: 70px; height: 70px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(123, 94, 167, 0.35);
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  position: relative;
}

.step-circle::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--primary-mid);
}

.step h3 { font-size: 1.12rem; margin-bottom: 12px; }
.step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; margin: 0; }

/* =========================
   TESTIMONIALS
   ========================= */

.testimonials-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  margin-top: 48px;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 90s linear infinite;
}

.testimonials-track:hover { animation-play-state: paused; }

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

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  width: 300px;
  flex-shrink: 0;
}

.testimonial-card:hover { box-shadow: var(--shadow-sm); border-color: var(--primary-mid); }

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.testimonial-stars { color: #F4A623; font-size: 1rem; letter-spacing: 2px; }

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #5f6368;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 3px 7px;
  white-space: nowrap;
}

.testimonials-link {
  text-align: center;
  margin-top: 36px;
}

.testimonials-link a {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.testimonials-link a:hover { color: var(--accent); }

.testimonial-text {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 22px;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--primary-mid);
  line-height: 0;
  position: relative;
  top: 16px;
  display: inline-block;
  margin-right: 3px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 700; font-size: 0.88rem; color: var(--text); }
.testimonial-detail { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* =========================
   EBOOK BANNER
   ========================= */

.ebook-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0;
}

.ebook-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.ebook-content { flex: 1; min-width: 260px; }

.ebook-label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.92);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ebook-content h3 {
  color: var(--white);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  margin-bottom: 10px;
  font-style: italic;
}

.ebook-content p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin: 0; }

/* =========================
   FAQ
   ========================= */

.faq-container { max-width: 720px; margin: 52px auto 0; }

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  user-select: none;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 300;
}

.faq-item.active .faq-icon { background: var(--primary); color: var(--white); transform: rotate(45deg); }
.faq-item.active .faq-question { color: var(--primary); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner {
  padding: 4px 4px 22px;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.faq-item.active .faq-answer { max-height: 400px; }

/* =========================
   FINAL CTA
   ========================= */

.cta-section {
  background: linear-gradient(150deg, var(--primary-dark) 0%, var(--primary) 60%, #9B7BC4 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section .section-label { color: rgba(255,255,255,0.6); }
.cta-section h2 { color: var(--white); margin-bottom: 18px; position: relative; }
.cta-section > .container > p {
  color: rgba(255,255,255,0.8);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 40px;
  position: relative;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.cta-note {
  margin-top: 20px;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  position: relative;
}

/* =========================
   FOOTER
   ========================= */

.footer { background: #1C1828; color: rgba(255,255,255,0.6); padding: 44px 0 28px; }

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.footer-brand .logo-role {
  font-size: 0.72rem;
  color: var(--primary-mid);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.45); margin: 0 0 20px; }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(255,255,255,0.65);
}

.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

.footer-col h4 {
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.contact-item .icon { font-size: 1rem; line-height: 1.5; flex-shrink: 0; }

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

.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); margin: 0; }

/* =========================
   WHATSAPP FLOAT
   ========================= */

.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: wa-pulse 3s infinite;
}

.wa-float:hover { transform: scale(1.12); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7); }
.wa-float svg { width: 32px; height: 32px; fill: white; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.75), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* =========================
   ÍCONES SVG
   ========================= */

.pain-card-icon { color: var(--primary); }
.service-icon   { color: var(--primary); }
.hero-card-crp .icon  { color: var(--primary); }
.hero-card-online .badge { color: var(--sage); }

/* Testimonial: iniciais em vez de emoji */
.testimonial-avatar {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

/* Ebook label icon alinhamento */
.ebook-label-icon { vertical-align: middle; margin-right: 6px; }

/* Proof strip e footer: alinhamento vertical dos SVGs */
.proof-item .icon,
.contact-item .icon { display: flex; align-items: center; }

/* =========================
   SCROLL ANIMATIONS
   ========================= */

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

.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

/* =========================
   PALESTRAS & TREINAMENTOS
   ========================= */

.palestras-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
  margin: 52px 0 64px;
}

.palestras-intro-text p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.palestras-intro-cta { margin-top: 28px; }

.palestras-diferenciais-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.palestras-diferenciais-box h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.diferencial-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

.diferencial-check {
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
  margin-top: 1px;
}

.palestras-diferenciais-box .diferencial-cta-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  line-height: 1.7;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.palestras-temas-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.palestras-temas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.tema-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.tema-card:hover {
  border-color: var(--primary-mid);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.tema-card-icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.tema-card h3 { font-size: 1.05rem; margin-bottom: 16px; }

.tema-card ul { list-style: none; }

.tema-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.tema-card ul li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--primary-mid);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.datas-item {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.datas-item:first-of-type { padding-top: 0; }
.datas-item:last-child { border-bottom: none; padding-bottom: 0; }

.datas-item strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 3px;
  font-size: 0.88rem;
}

.palestras-videos-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Palestras: carrossel com altura uniforme */
.palestras-carousel-track .video-card {
  flex: 0 0 auto;
  min-width: 0;
  width: calc((100% - 2 * 20px) / 3);
  scroll-snap-align: start;
}

.palestras-carousel-track .video-embed,
.palestras-carousel-track .video-embed--landscape {
  aspect-ratio: 1;
}

.palestras-carousel-track .video-embed video {
  object-fit: cover;
  object-position: center top;
}

/* =========================
   RESPONSIVO
   ========================= */

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .videos-track .video-card        { width: calc((100% - 20px) / 2); }
  .fotos-track .foto-item          { width: calc((100% - 2 * 20px) / 3); }
  .consultorio-track .gallery-item { width: calc((100% - 12px) / 2); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .palestras-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .palestras-temas-grid { grid-template-columns: 1fr; }
  .palestras-carousel-track .video-card { width: calc((100% - 20px) / 2); }
}

@media (max-width: 768px) {
  .gallery-grid-5 { grid-template-columns: repeat(3, 1fr); }

  .section { padding: 60px 0; }

  .navbar .container { height: 64px; }
  .navbar-logo-img { height: 44px; }
  .navbar-logo .name { font-size: 1rem; }
  .navbar-logo .role { font-size: 0.62rem; letter-spacing: 1px; }
  .navbar-cta { padding: 9px 14px; font-size: 0.8rem; gap: 6px; white-space: nowrap; }

  .hero { padding: 108px 0 64px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-image-wrap { order: -1; }
  .hero-photo-frame { max-width: 260px; margin: 0 auto; }
  .hero-photo { aspect-ratio: 1; }
  .hero-card-crp { left: 0; bottom: -12px; }
  .hero-card-online { right: 0; top: -12px; }
  .hero-sub { max-width: 100%; font-size: 1rem; }
  .hero-actions { justify-content: center; }
  .hero-trust { align-items: center; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { max-width: 320px; margin: 0 auto; }
  .about-badge { right: 0; }

  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::after { display: none; }

  .proof-strip .container { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .proof-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 12px 16px; width: 100%; justify-content: flex-start; }
  .proof-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
  .proof-item:nth-child(3), .proof-item:nth-child(4) { border-bottom: none; }
  .proof-item:last-child { border-bottom: none; }

  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .ebook-wrap { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .palestras-carousel-track .video-card { width: 82%; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .hero-card-crp, .hero-card-online { display: none; }

  .navbar-logo-img { height: 40px; }
  .navbar-logo .name { font-size: 0.9rem; }
  .navbar-logo .role { font-size: 0.58rem; }
  .navbar-cta { padding: 8px 12px; font-size: 0.75rem; }

  .videos-grid { grid-template-columns: minmax(0, 300px); justify-content: center; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .gallery-item img { height: 220px; }

  .videos-track .video-card        { width: 82%; }
  .fotos-track .foto-item          { width: calc((100% - 20px) / 2); }
  .consultorio-track .gallery-item { width: 82%; }
}