/* ============================================================
   Isabela Hatano — Psicoterapia (One Page)
   Identidade visual herdada do projeto Protagonize:
   paleta de cores, tipografia (Behind The Nineties + Montserrat)
   e padrões de botão/seção. Fontes carregadas de ../fonts/.
   ============================================================ */

@font-face {
  font-family: 'Behind The Nineties';
  src: url('../fonts/Behind-The-Nineties-Rg.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Behind The Nineties';
  src: url('../fonts/Behind-The-Nineties-It.otf') format('opentype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Behind The Nineties';
  src: url('../fonts/Behind-The-Nineties-Md.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Behind The Nineties';
  src: url('../fonts/Behind-The-Nineties-Smbd.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Behind The Nineties';
  src: url('../fonts/Behind-The-Nineties-Bd.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Behind The Nineties';
  src: url('../fonts/Behind-The-Nineties-Xbd.otf') format('opentype');
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  /* Paleta herdada do site Protagonize */
  --color-bg: #e4e4e4;
  --color-text-dark: #4e3224;
  --color-text: #4e3224;
  --color-accent: #9dc2d5;
  --color-beige-light: rgba(157, 194, 213, 0.15);
  --color-brown: #4e3224;
  --color-cream: #f7f7f7;
  --color-border: #9dc2d5;
  --color-gray-light: rgba(78, 50, 36, 0.05);
  --color-dark-section: #4e3224;
  --color-white: #ffffff;
  --color-green: #25d366;
  --color-green-dark: #128c7e;

  --font-primary: 'Montserrat', sans-serif;
  --font-display: 'Behind The Nineties', sans-serif;

  --container-max: 1080px;
  --section-padding: 96px;
  --transition-smooth: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

em { font-style: italic; }

h1, h2, h3, h4 { font-family: var(--font-display); }

/* ============================================================
   PLACEHOLDER STYLES — substituir quando os arquivos reais
   (logo, fotos, vídeo, depoimentos) forem enviados.
   ============================================================ */
.placeholder-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: var(--color-beige-light);
  border: 2px dashed var(--color-accent);
  border-radius: 16px;
  color: var(--color-text);
  opacity: 0.7;
  font-family: var(--font-primary);
}

.placeholder-box .placeholder-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.placeholder-box .placeholder-hint {
  font-size: 12px;
  opacity: 0.8;
  max-width: 220px;
}

/* ============================================================
   TOPBAR — espaço reservado para logo
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 247, 247, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(78, 50, 36, 0.08);
}

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

.logo-slot {
  width: 150px;
  height: 44px;
  border-radius: 8px;
  font-size: 11px;
  gap: 2px;
  padding: 0 8px;
}

.topbar .topbar-cta {
  display: none;
}

@media (min-width: 700px) {
  .topbar .topbar-cta { display: inline-flex; }
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before { left: 100%; }

.btn-whatsapp {
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp.btn-sm {
  padding: 10px 20px;
  font-size: 12px;
}

.btn-whatsapp.btn-lg {
  padding: 20px 44px;
  font-size: 15px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 64px 0 var(--section-padding);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-text);
  opacity: 0.75;
  margin-bottom: 18px;
}

.crp-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--color-beige-light);
  border: 1px solid var(--color-border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-title em { font-style: normal; opacity: 0.5; }

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text);
  opacity: 0.85;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-photo-slot {
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 24px;
}

/* ============================================================
   CREDIBILITY BAR
   ============================================================ */
.credibility-bar {
  background: var(--color-dark-section);
  padding: 22px 0;
}

.credibility-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.credibility-bar span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
}

/* ============================================================
   SECTION HEADINGS (genérico)
   ============================================================ */
.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-text);
  opacity: 0.8;
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ============================================================
   SEÇÃO 3 — QUANDO PROCURAR UMA PSICÓLOGA
   ============================================================ */
.identify-section { padding: var(--section-padding) 0; }

.identify-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.identify-card {
  background: var(--color-cream);
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 2px 16px rgba(78, 50, 36, 0.08);
  transition: var(--transition-smooth);
}

.identify-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(78, 50, 36, 0.12);
}

.identify-card .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-bottom: 14px;
}

.identify-card h3 {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.identify-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.75;
}

.identify-cta {
  text-align: center;
}

.identify-cta p {
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 24px;
  opacity: 0.85;
}

/* ============================================================
   SEÇÃO 4 — ESPECIALIDADES
   ============================================================ */
.specialties-section {
  padding: var(--section-padding) 0;
  background: var(--color-white);
}

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

.specialty-card {
  padding: 32px 26px;
  border-radius: 16px;
  border: 1px solid rgba(78, 50, 36, 0.1);
  background: var(--color-cream);
}

.specialty-card .icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-beige-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.specialty-card h3 {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.specialty-card p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.8;
}

.objectives-box {
  background: var(--color-beige-light);
  border-radius: 16px;
  padding: 36px 40px;
}

.objectives-box h4 {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.objectives-box ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.objectives-box li {
  font-size: 15px;
  line-height: 1.6;
  padding-left: 28px;
  position: relative;
}

.objectives-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brown);
}

/* ============================================================
   SEÇÃO 5 — SOBRE A PSICÓLOGA
   ============================================================ */
.about-section {
  padding: var(--section-padding) 0;
  background: var(--color-dark-section);
  color: var(--color-white);
}

.about-section .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.about-photo-slot {
  aspect-ratio: 3 / 4;
  width: 100%;
  border-radius: 20px;
  border-color: rgba(157, 194, 213, 0.5);
  background: rgba(157, 194, 213, 0.08);
  color: rgba(255,255,255,0.85);
}

.about-title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}

.about-text p strong { color: var(--color-white); font-weight: 600; }

.video-slot {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 14px;
  margin: 24px 0;
  border-color: rgba(157, 194, 213, 0.5);
  background: rgba(157, 194, 213, 0.08);
  color: rgba(255,255,255,0.85);
}

.crp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
}

.crp-link:hover { opacity: 0.8; }

/* ============================================================
   SEÇÃO 6 — COMO FUNCIONA
   ============================================================ */
.howitworks-section { padding: var(--section-padding) 0; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}

.step-card {
  text-align: center;
  padding: 8px;
}

.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-brown);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}

.step-card p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.info-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding: 24px;
  background: var(--color-cream);
  border-radius: 14px;
  text-align: center;
}

.info-strip span {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.8;
}

/* ============================================================
   SEÇÃO 7 — TRANSPARÊNCIA
   ============================================================ */
.transparency-section {
  padding: var(--section-padding) 0;
  background: var(--color-cream);
}

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

.transparency-card {
  background: var(--color-white);
  border-radius: 14px;
  padding: 28px 24px;
  border-left: 4px solid var(--color-accent);
}

.transparency-card h3 {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}

.transparency-card p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.8;
}

/* ============================================================
   SEÇÃO 9 — FAQ (acordeão)
   ============================================================ */
.faq-section {
  padding: var(--section-padding) 0;
  background: var(--color-white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(78, 50, 36, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--color-cream);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.faq-question .faq-icon {
  flex-shrink: 0;
  font-size: 18px;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--color-white);
}

.faq-answer-inner {
  padding: 20px 24px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.8;
}

/* ============================================================
   SEÇÃO 10 — CTA FINAL
   ============================================================ */
.final-cta-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-beige-light) 100%);
  text-align: center;
}

.final-cta-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.final-cta-quote {
  font-size: 18px;
  font-style: italic;
  max-width: 520px;
  margin: 0 auto 32px;
  opacity: 0.85;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 40px 0;
  background: var(--color-dark-section);
  text-align: center;
}

.footer .logo-slot {
  margin: 0 auto 16px;
}

.footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.footer .crp-link {
  color: var(--color-accent);
}

/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition-smooth);
}

.whatsapp-float:hover { transform: scale(1.08); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-photo-slot { order: -1; max-width: 320px; margin: 0 auto 12px; }
  .hero-subtitle { max-width: 100%; }
  .identify-grid, .specialties-grid, .transparency-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .about-section .container { grid-template-columns: 1fr; }
  .about-photo-slot { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 560px) {
  :root { --section-padding: 64px; }
  .hero-title { font-size: 34px; }
  .section-title { font-size: 28px; }
  .final-cta-title { font-size: 30px; }
  .identify-grid, .specialties-grid, .transparency-grid, .steps-grid { grid-template-columns: 1fr; }
  .credibility-bar .container { gap: 8px 16px; }
  .credibility-bar span { font-size: 11px; }
  .objectives-box { padding: 28px 24px; }
  .whatsapp-float { width: 52px; height: 52px; font-size: 24px; bottom: 16px; right: 16px; }
}
