/* ============================================================
   Clone landing page — Terapeuta Online
   Paleta baseada no site de referência:
   azul-petróleo #1A4251 · verde-sálvia #CDD8D4 · creme #FFFCF7
   ============================================================ */

:root {
  --cor-primaria: #1A4251;
  --cor-salvia: #CDD8D4;
  --cor-salvia-badge: #CCDED8;
  --cor-creme: #FFFCF7;
  --cor-contato: #EDEEF5;
  --cor-azul-titulos: #234875;
  --cor-whatsapp: #229711;
  --cor-whatsapp-flutuante: #00C800;
  --cor-whatsapp-hover: #009600;
  --cor-texto: #242424;
  --cor-texto-suave: #555555;
  --cor-branca: #FFFFFF;
  --cor-borda: #A3BAC6;

  --fonte-principal: 'Poppins', sans-serif;
  --fonte-secundaria: 'Roboto', sans-serif;

  --radius-card: 18px;
  --radius-botao: 11px;
  --radius-pill: 100px;

  --container: 960px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--fonte-principal);
  font-weight: 500;
  color: var(--cor-texto);
  background-color: var(--cor-branca);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ============================================================
   LOGOMARCA (topo e contato)
   ============================================================ */
.header__logo {
  height: 44px;
  width: auto;
  display: block;
}

.contato__logo {
  width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 28px;
}

/* Imagem de fundo do hero */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* ============================================================
   ÍCONES — Font Awesome Free (via CDN)
   ============================================================ */
.icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--cor-salvia-badge);
  color: var(--cor-primaria);
  font-size: 20px;
  flex-shrink: 0;
}

/* Ícone dos cards de serviços */
.icone--cartao {
  width: 62px;
  height: 62px;
  font-size: 25px;
  background-color: var(--cor-salvia);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.service-card:hover .icone--cartao {
  background-color: var(--cor-primaria);
  color: var(--cor-branca);
}

/* Ícone da lista da Avaliação Psicológica */
.icone--lista {
  width: 42px;
  height: 42px;
  font-size: 16px;
  background-color: var(--cor-branca);
  border: 2px solid var(--cor-salvia);
}

/* Ícone solto ao lado do texto do hero */
.hero__support-icone {
  font-size: 24px;
  color: var(--cor-primaria);
}

/* Ícone do telefone/WhatsApp no contato */
.contato__phone i {
  font-size: 24px;
  color: var(--cor-whatsapp);
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-botao);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 66, 81, 0.25);
}

.btn--primary {
  background-color: var(--cor-primaria);
  color: var(--cor-branca);
  font-size: 16px;
  padding: 16px 40px;
}

.btn--outline {
  background-color: transparent;
  color: var(--cor-primaria);
  border: 2px solid var(--cor-primaria);
  font-size: 14px;
  padding: 14px 32px;
}

.btn--outline:hover { background-color: var(--cor-primaria); color: var(--cor-branca); }

.btn--whatsapp {
  background-color: var(--cor-whatsapp);
  color: var(--cor-branca);
  border-radius: var(--radius-pill);
  font-size: 12px;
  padding: 12px 24px;
}

.btn--whatsapp:hover { background-color: var(--cor-whatsapp-hover); }

.btn--large { font-size: 15px; padding: 16px 42px; }

/* ============================================================
   1. HEADER
   ============================================================ */
.header {
  background-color: var(--cor-salvia);
  min-height: 115px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(26, 66, 81, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__nav {
  display: flex;
  gap: 26px;
}

.header__nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--cor-texto);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--cor-primaria);
  transition: width 0.25s ease;
}

.header__nav a:hover { color: var(--cor-primaria); }
.header__nav a:hover::after { width: 100%; }

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.header__burger span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background-color: var(--cor-primaria);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__burger.ativo span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__burger.ativo span:nth-child(2) { opacity: 0; }
.header__burger.ativo span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   2. HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.hero__content {
  max-width: 592px;
}

.hero__badge {
  display: inline-block;
  background-color: var(--cor-salvia-badge);
  color: var(--cor-primaria);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero__title {
  font-size: 31px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--cor-texto);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 15px;
  line-height: 27px;
  color: var(--cor-texto);
  margin-bottom: 28px;
}

.hero__support {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__support em {
  font-style: italic;
  font-size: 15px;
  color: var(--cor-primaria);
}

.hero__cta {
  width: 100%;
  max-width: 434px;
  min-height: 53px;
  margin-bottom: 40px;
}

.hero__seals {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero__seals li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--cor-texto-suave);
  max-width: 170px;
}

.hero__photo {
  position: relative;
  z-index: 1;
  /* a foto "transborda" para a seção seguinte, como no original */
  margin-bottom: -60px;
}

.hero__photo-img {
  width: 320px;
  height: 400px;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 20px 45px rgba(26, 66, 81, 0.18);
  border-radius: var(--radius-card);
  display: block;
}

/* ============================================================
   TÍTULOS DE SEÇÃO
   ============================================================ */
.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--cor-primaria);
  text-align: center;
  margin-bottom: 40px;
}

.section-title--left { text-align: left; margin-bottom: 18px; }

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: -24px auto 50px;
  font-size: 15px;
  color: var(--cor-texto-suave);
}

/* ============================================================
   3. SERVIÇOS
   ============================================================ */
.services {
  background-color: var(--cor-salvia);
  padding: 90px 0;
}

.services .section-title { color: var(--cor-primaria); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-card {
  background-color: var(--cor-branca);
  border-radius: var(--radius-card);
  padding: 28px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(26, 66, 81, 0.14);
}

.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--cor-azul-titulos);
}

.service-card p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--cor-texto-suave);
}

/* ============================================================
   4. TCC — 5 PASSOS
   ============================================================ */
.tcc {
  background-color: var(--cor-branca);
  padding: 90px 0;
}

.tcc__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 50px;
  counter-reset: passo;
}

.tcc__step {
  text-align: center;
  padding: 0 8px;
  position: relative;
}

.tcc__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(50% + 42px);
  width: calc(100% - 84px);
  height: 2px;
  background-color: var(--cor-salvia);
}

.tcc__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--cor-primaria);
  color: var(--cor-branca);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.tcc__step h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--cor-primaria);
  margin-bottom: 8px;
}

.tcc__step p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--cor-texto-suave);
}

.tcc__highlight {
  background-color: var(--cor-salvia-badge);
  border-radius: var(--radius-card);
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tcc__highlight p {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--cor-texto);
}

/* ============================================================
   5. SOBRE
   ============================================================ */
.sobre {
  background-color: var(--cor-creme);
  padding: 90px 0;
  border-top: 1px solid rgba(26, 66, 81, 0.08);
}

.sobre__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}

.sobre__img {
  width: 320px;
  height: 400px;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 45px rgba(26, 66, 81, 0.14);
  display: block;
}

.sobre__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cor-azul-titulos);
  margin-bottom: 8px;
}

.sobre__crp {
  font-size: 13px;
  font-weight: 700;
  color: var(--cor-texto-suave);
  margin-bottom: 20px;
}

.sobre__content p:not(.sobre__crp) {
  font-size: 15px;
  line-height: 1.75;
  color: var(--cor-texto);
  margin-bottom: 16px;
}

.sobre__content .btn { margin-top: 12px; }

/* ============================================================
   6. FAQ
   ============================================================ */
.faq {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background-color: var(--cor-salvia);
}

.faq .container {
  position: relative;
  z-index: 1;
}

.faq__accordion {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background-color: var(--cor-branca);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(26, 66, 81, 0.08);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cor-primaria);
  text-align: left;
}

.faq__chevron {
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--cor-primaria);
  border-bottom: 3px solid var(--cor-primaria);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq__item.aberto .faq__chevron { transform: rotate(-135deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__answer p {
  padding: 0 26px 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--cor-texto-suave);
}

/* ============================================================
   8. CONTATO
   ============================================================ */
.contato {
  background-color: var(--cor-contato);
  padding: 80px 0;
}

.contato__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.contato__title {
  font-size: 30px;
  font-weight: 800;
  color: var(--cor-primaria);
  margin-top: 10px;
}

.contato__crp {
  font-size: 13px;
  font-weight: 700;
  color: var(--cor-texto-suave);
}

.contato__scope {
  font-size: 14px;
  font-weight: 600;
  color: var(--cor-azul-titulos);
}

.contato__text {
  max-width: 560px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--cor-texto);
  margin: 8px 0 14px;
}

.contato__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--cor-primaria);
  margin-top: 12px;
}

.contato__note {
  font-size: 11px;
  color: var(--cor-texto-suave);
  max-width: 480px;
  margin-top: 8px;
}

/* ============================================================
   9. FOOTER
   ============================================================ */
.footer {
  background-color: var(--cor-primaria);
  color: var(--cor-branca);
  text-align: center;
  padding: 14px 0;
  font-size: 12px;
}

/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--cor-whatsapp-flutuante);
  color: var(--cor-branca);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--cor-whatsapp-flutuante);
  animation: pulse 3s ease-out infinite;
}

.whatsapp-float:hover {
  background-color: var(--cor-whatsapp-hover);
  transform: scale(1.06);
}

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================================
   RESPONSIVO (breakpoint 800px, como no original)
   ============================================================ */
@media (max-width: 800px) {

  .header { min-height: 80px; }

  .header__nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--cor-salvia);
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 0 28px;
    box-shadow: 0 12px 20px rgba(26, 66, 81, 0.12);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    z-index: 99;
  }

  .header__nav.aberto { transform: translateY(0); }
  .header__nav a { font-size: 15px; padding: 10px 0; }
  .header__cta { display: none; }
  .header__burger { display: flex; }

  /* Hero */
  .hero { padding: 50px 0 70px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__content { max-width: 100%; }
  .hero__title { font-size: 20px; }
  .hero__cta { max-width: 100%; }
  .hero__photo { margin: 0 auto; }
  .hero__photo-img { width: 100%; max-width: 360px; height: 380px; }
  .hero__seals { gap: 18px; }
  .hero__seals li { max-width: 45%; }

  /* Seções */
  .section-title { font-size: 23px; }
  .services, .tcc, .sobre, .faq { padding: 60px 0; }

  /* Serviços: 2 colunas no mobile */
  .services__grid { grid-template-columns: repeat(2, 1fr); }

  /* TCC: passos empilhados */
  .tcc__steps { grid-template-columns: 1fr; gap: 28px; max-width: 420px; margin: 0 auto 40px; }
  .tcc__step:not(:last-child)::after { display: none; }
  .tcc__highlight { padding: 30px 22px; }

  /* Sobre: coluna única */
  .sobre__inner { grid-template-columns: 1fr; gap: 36px; }
  .sobre__photo { display: flex; justify-content: center; }
  .section-title--left { text-align: center; }
  .sobre__content { text-align: center; }

  /* FAQ */
  .faq__question { font-size: 14px; padding: 18px 20px; }

  /* Botão flutuante */
  .whatsapp-float { right: 20px; bottom: 20px; }
}

@media (max-width: 480px) {
  .services__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .service-card { padding: 22px 12px; }
  .contato__title { font-size: 24px; }
}
