/* ============================================================
   style.css — Estilos da Landing Page Wesley Bruno Psicólogo
   
   ESTRUTURA DESTE ARQUIVO:
   1. Variáveis de cor (personalize aqui!)
   2. Reset e base
   3. Barra de topo
   4. Header / Navegação
   5. Hero (seção principal)
   6. Seção: Dor da persona
   7. Seção: Sobre o psicólogo
   8. Seção: Como funciona
   9. Seção: Preço / Investimento
   10. Seção: Formulário
   11. Seção: Avaliações / Depoimentos
   12. Seção: Instagram
   13. Rodapé
   14. Botão flutuante WhatsApp
   15. Responsivo (mobile)
============================================================ */


/* ============================================================
   1. VARIÁVEIS DE COR
   ✏️ Para mudar as cores do site inteiro, edite apenas aqui!
   Exemplo: troque #2d6a4f por qualquer código de cor.
============================================================ */
:root {
  --verde-suave: #2d6a4f;    /* cor principal (botões, header, topbar) */
  --verde-claro: #52b788;    /* cor de destaque (ícones, valores, hover) */
  --verde-fundo: #d8f3dc;    /* fundo suave esverdeado (badges, seções) */
  --branco: #ffffff;
  --cinza-claro: #f8f9fa;    /* fundo de seções alternadas */
  --cinza-texto: #4a4a4a;    /* cor padrão do texto */
  --preto-suave: #1a1a2e;    /* títulos e seções escuras */
  --destaque: #f4a261;       /* cor de destaque quente (disponível para uso) */
}


/* ============================================================
   2. RESET E BASE
============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* rolagem suave ao clicar em âncoras (#) */
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--cinza-texto);
  background: var(--branco);
  line-height: 1.6;
}


/* ============================================================
   3. BARRA DE TOPO
   Faixa fina no topo com aviso de vagas disponíveis.
============================================================ */
.topbar {
  background: var(--verde-suave);
  color: white;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}


/* ============================================================
   4. HEADER / NAVEGAÇÃO
   Fica fixo no topo ao rolar a página (position: sticky).
============================================================ */
header {
  background: white;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  position: sticky;
  top: 0;
  z-index: 100; /* fica acima de todos os outros elementos */
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ✏️ FOTO DO PSICÓLOGO NO LOGO
   Substitua "foto-perfil.jpg" no index.html pelo nome do seu arquivo de foto. */
.logo-foto {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--verde-claro);
  background: #ccc; /* cor de fundo enquanto a foto carrega */
}

.logo-texto strong {
  display: block;
  font-size: 1rem;
  color: var(--preto-suave);
  font-weight: 700;
}

.logo-texto span {
  font-size: 0.78rem;
  color: var(--verde-suave);
  font-weight: 500;
}

/* Botão "Agendar sessão" no canto direito do header */
.header-cta {
  background: var(--verde-suave);
  color: white;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.3s;
}

.header-cta:hover {
  background: var(--verde-claro);
}


/* ============================================================
   5. HERO — SEÇÃO PRINCIPAL
   Primeira seção que o visitante vê. Toca na dor da persona.
============================================================ */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d6a4f 100%);
  color: white;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  min-height: 88vh;
  flex-wrap: wrap; /* em telas pequenas, empilha os elementos */
}

.hero-texto {
  max-width: 580px;
}

/* Badge de categoria (ex: "Terapia Cognitivo-Comportamental") */
.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--verde-claro);
  font-weight: 600;
}

/* Título principal da hero */
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem); /* responsivo: cresce com a tela */
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero h1 span {
  color: var(--verde-claro); /* palavra de destaque no título */
}

.hero-subtitulo {
  font-size: 1.08rem;
  opacity: 0.88;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Lista de dores / transformações na hero */
.bullets {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  opacity: 0.92;
}

/* Ícone circular verde ao lado de cada bullet */
.bullets li .icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--verde-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* não encolhe em telas pequenas */
  margin-top: 2px;
  font-size: 0.65rem;
}

/* Box de preço destacado dentro da hero */
.preco-hero {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.preco-hero .valor {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--verde-claro);
}

.preco-hero .descricao {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.4;
}

/* Container da foto do psicólogo na hero */
.hero-foto-wrapper {
  position: relative;
  flex-shrink: 0;
}

/* ✏️ FOTO PRINCIPAL NA HERO
   Substitua "foto-principal.jpg" no index.html pela sua foto.
   Tamanho ideal: 680x840px ou proporção 2:2.4 */
.hero-foto {
  width: 340px;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  display: block;
  background: linear-gradient(135deg, #2d6a4f, #52b788); /* placeholder */
}

/* Tag flutuante sobre a foto (ex: "+200 pacientes atendidos") */
.hero-tag {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: white;
  color: var(--preto-suave);
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-tag span {
  color: var(--verde-suave);
  font-size: 1.1rem;
  font-weight: 800;
}


/* ============================================================
   6. SEÇÃO: DOR DA PERSONA
   Cards que descrevem os problemas que o público enfrenta.
============================================================ */
.dor {
  background: var(--cinza-claro);
  padding: 80px 40px;
  text-align: center;
}

/* Título padrão das seções */
.secao-titulo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--preto-suave);
  margin-bottom: 14px;
}

/* Subtítulo padrão das seções */
.secao-subtitulo {
  color: #666;
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1rem;
  line-height: 1.7;
}

/* Grid dos cards de dor */
.dor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.dor-card {
  background: white;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: left;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--verde-claro); /* destaque lateral verde */
  transition: transform 0.2s;
}

.dor-card:hover {
  transform: translateY(-4px); /* sobe levemente ao passar o mouse */
}

.dor-card .emoji {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

.dor-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--preto-suave);
  margin-bottom: 6px;
}

.dor-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
}


/* ============================================================
   7. SEÇÃO: SOBRE O PSICÓLOGO
============================================================ */
.sobre {
  padding: 80px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* ✏️ FOTO DA SEÇÃO SOBRE
   Substitua "foto-sobre.jpg" no index.html pela sua foto lateral. */
.sobre-foto {
  width: 280px;
  height: 340px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #2d6a4f, #52b788); /* placeholder */
  flex-shrink: 0;
}

.sobre-texto {
  max-width: 520px;
}

/* Badge verde dentro da seção sobre */
.sobre-texto .badge {
  color: var(--verde-suave);
  background: var(--verde-fundo);
  border-color: var(--verde-claro);
}

.sobre-texto h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--preto-suave);
  margin-bottom: 16px;
}

.sobre-texto p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 14px;
}

/* Badge do CRP (número de registro profissional) */
.crm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--verde-fundo);
  border: 1px solid var(--verde-claro);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--verde-suave);
  margin-top: 10px;
}


/* ============================================================
   8. SEÇÃO: COMO FUNCIONA
   Passo a passo do processo de agendamento.
============================================================ */
.como-funciona {
  background: var(--preto-suave);
  color: white;
  padding: 80px 40px;
  text-align: center;
}

.como-funciona .secao-titulo {
  color: white;
}

.como-funciona .secao-subtitulo {
  color: rgba(255, 255, 255, 0.7);
}

/* Grid dos passos */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Círculo numerado de cada passo */
.step-numero {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--verde-claro);
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 0.95rem;
  font-weight: 700;
}

.step p {
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.6;
}


/* ============================================================
   9. SEÇÃO: PREÇO / INVESTIMENTO
============================================================ */
.preco-secao {
  padding: 80px 40px;
  background: white;
  text-align: center;
}

/* Card principal com o preço */
.preco-card {
  max-width: 440px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--verde-suave), #1a1a2e);
  color: white;
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(45, 106, 79, 0.3);
}

/* Valor em destaque (ex: R$ 130) */
.preco-card .valor-grande {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--verde-claro);
  line-height: 1;
  margin: 16px 0 6px;
}

.preco-card .complemento {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 24px;
}

/* Lista de benefícios dentro do card de preço */
.preco-lista {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preco-lista li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  opacity: 0.9;
}

/* Ícone de check (✓) antes de cada item da lista */
.preco-lista li::before {
  content: "✓";
  color: var(--verde-claro);
  font-weight: 800;
  font-size: 1rem;
}


/* ============================================================
   10. SEÇÃO: FORMULÁRIO DE CAPTAÇÃO
============================================================ */
.formulario-secao {
  background: var(--cinza-claro);
  padding: 80px 40px;
  text-align: center;
}

/* Container branco ao redor do formulário */
.form-container {
  max-width: 480px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.form-container h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--preto-suave);
  margin-bottom: 8px;
}

.form-container p {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 28px;
}

/* Campos de texto (nome e e-mail) */
.campo {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 14px;
  transition: border-color 0.2s;
  outline: none;
  color: var(--cinza-texto);
}

.campo:focus {
  border-color: var(--verde-claro); /* borda verde ao clicar no campo */
}

/* Botão principal (verde WhatsApp) */
.btn-principal {
  width: 100%;
  background: #25d366; /* verde oficial do WhatsApp */
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.3s, transform 0.1s;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}

.btn-principal:hover {
  background: #1eb756;
  transform: translateY(-2px); /* sobe levemente ao passar o mouse */
}

.btn-principal:active {
  transform: translateY(0); /* volta ao lugar ao clicar */
}

/* Aviso de privacidade (LGPD) abaixo do botão */
.aviso-lgpd {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 12px;
  line-height: 1.5;
}


/* ============================================================
   11. SEÇÃO: AVALIAÇÕES / DEPOIMENTOS
============================================================ */
.avaliacoes {
  padding: 80px 40px;
  background: white;
  text-align: center;
}

/* Botão/link para o Google Meu Negócio */
.google-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--cinza-texto);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 40px;
  transition: box-shadow 0.2s;
}

.google-link:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Estrelas amarelas */
.estrelas {
  color: #fbbc04;
  font-size: 1.1rem;
}

/* Grid dos depoimentos */
.depoimento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.depoimento {
  background: var(--cinza-claro);
  border-radius: 14px;
  padding: 24px;
  text-align: left;
}

.depoimento .estrelas {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.depoimento p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}

.depoimento .autor {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--verde-suave);
}


/* ============================================================
   12. SEÇÃO: INSTAGRAM
============================================================ */
.instagram-secao {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  padding: 60px 40px;
  text-align: center;
  color: white;
}

.instagram-secao h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.instagram-secao p {
  opacity: 0.9;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* Botão de seguir no Instagram */
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #833ab4;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s;
}

.btn-instagram:hover {
  transform: scale(1.04);
}


/* ============================================================
   13. RODAPÉ
============================================================ */
footer {
  background: var(--preto-suave);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.8;
}

footer a {
  color: var(--verde-claro);
  text-decoration: none;
}


/* ============================================================
   14. BOTÃO FLUTUANTE DO WHATSAPP
   Fica fixo no canto inferior direito da tela sempre visível.
============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25d366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  z-index: 999;
  animation: pulse 2s infinite; /* pulsação para chamar atenção */
}

/* Animação de pulsação do botão WhatsApp */
@keyframes 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.9); }
}


/* ============================================================
   15. RESPONSIVO — MOBILE
   Ajustes para telas menores que 768px (celulares).
============================================================ */
@media (max-width: 768px) {

  header {
    padding: 14px 20px;
  }

  .hero {
    padding: 50px 20px;
    flex-direction: column; /* empilha texto e foto verticalmente */
    gap: 40px;
    text-align: center;
    min-height: auto;
  }

  .hero-foto {
    width: 260px;
    height: 320px;
  }

  .bullets li {
    text-align: left; /* mantém alinhamento dos bullets no mobile */
  }

  .preco-hero {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .sobre {
    padding: 50px 20px;
    flex-direction: column;
    text-align: center;
  }

  .dor {
    padding: 50px 20px;
  }

  .formulario-secao {
    padding: 50px 20px;
  }

  .form-container {
    padding: 28px 22px;
  }

  .preco-secao {
    padding: 50px 20px;
  }
}