:root {
  --azul-claro: #A7C6ED;
  --azul-medio: #7FA9DB;
  --azul-principal: #507EBB;
  --azul-profundo: #6E7F92;
  --verde-suave: #B3D9D0;
  --rosa-destaque: #F29F9F;
  --lavanda-clara: #D9CBEF;
  --verde-whats: #25D366;
  --verde-hover: #1ebe57;
  --cinza-claro: #f4f4f4;
}

/* --- Estrutura Geral --- */
body {
  margin: 0;
  margin-top: 30px;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  color: var(--azul-principal);
  font-weight: bold;
}

main {
  flex: 1;
  margin-top: 60px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(80, 126, 187, 0.4);
}
.site-header {
  border-bottom: 1px solid var(--azul-claro);
  background-color: #fff;
}

/* --- Rodapé --- */
.footer-custom {
  background-color: var(--azul-claro);
  color: var(--azul-profundo);
  width: 100%;
  font-size: 15px;
  min-height: 70px; /* garante altura mínima */
}

.footer-custom a {
  color: var(--azul-profundo);
}

.footer-custom a:hover {
  text-decoration: underline;
}

.footer-custom i {
  color: var(--azul-principal);
}

@media (max-width: 768px) {
  .footer-custom .col-12 {
    text-align: center !important;
    padding-bottom: 12px;
  }
}

/* --- Navegação --- */
nav a {
  color: var(--azul-principal);
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #007bff;
  text-decoration: underline;
}

/* --- Botões --- */
.btn-primary {
  background-color: var(--azul-principal);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: var(--azul-profundo);
}

.btn-outline-secondary {
  border-color: var(--azul-principal);
  color: var(--azul-principal);
}

.btn-outline-secondary:hover {
  background-color: var(--azul-principal);
  color: #fff;
}

.btn-outline-primary {
  border-color: var(--azul-principal);
  color: var(--azul-principal);
}

.btn-outline-primary:hover {
  background-color: var(--azul-principal);
  color: white;
}

/* --- Containers --- */
.container { max-width: 900px; margin: auto; }
.container.blog { max-width: 800px; }
.container.materias { max-width: 1100px; }

.text-content { flex: 1; padding-right: 20px; }

.content-wrapper {
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Imagem de fundo --- */
.right-bg-image, .bg-cover {
  height: 100vh;
  background-image: url("img/analiseaten2.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* --- Faq - Depoimentos --- */
.depoimentos-moldura {
  border: 1px solid rgba(100, 2, 100, 0.1); /* tom lilás claro */
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(100, 2, 100, 0.06);
  background-color: #fff;
  padding: 40px 24px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  font-size: 28px;
  color: var(--azul-profundo);
}
/* --- setinhas - Faq - Depoimentos --- */
.carousel-control-prev::before,
.carousel-control-next::before {
  content: "‹";
  font-size: 28px;
  color: var(--azul-profundo);
}
.carousel-control-next::before {
  content: "›";
}

.btn-uniform {
  width: 160px;           /* largura fixa */
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  white-space: nowrap;
}

/* --- Chat da Luna --- */
.luna-chatbox {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  max-width: 90%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-family: 'Segoe UI', sans-serif;
  z-index: 9999;
  animation: slideUp 1.2s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.luna-header {
  background-color: var(--azul-principal);
  color: white;
  padding: 12px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.luna-close {
  cursor: pointer;
  font-size: 20px;
}

.luna-scroll {
  max-height: 300px;
  overflow-y: auto;
}

.luna-content {
  padding: 10px;
}

.luna-chat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.luna-bubble {
  display: flex;
  align-items: flex-start;
  background-color: var(--lavanda-clara);
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.luna-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  flex-shrink: 0;
}

.luna-open {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px;
  cursor: pointer;
  background-color: var(--verde-whats);
  color: white;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  transition: background 0.3s;
}

.luna-open:hover {
  background-color: var(--verde-hover);
}

.luna-open-text {
  font-weight: 500;
  font-size: 15px;
}

.luna-icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

/* --- Reabrir Luna --- */
.luna-chatbox.hidden { display: none; }

.luna-reabrir {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--azul-principal);
  color: white;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

@keyframes pulse {
  0%   { transform: scale(1); box-shadow: 0 0 0 rgba(80,126,187,0.4); }
  50%  { transform: scale(1.1); box-shadow: 0 0 12px rgba(80,126,187,0.4); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(80,126,187,0.4); }
}

.luna-reabrir.show {
  opacity: 1;
  visibility: visible;
  animation: pulse 1.6s infinite;
}

/* --- Responsivo básico --- */
@media (max-width: 768px) {
  .luna-chatbox {
    width: 90%;
    right: 5%;
    bottom: 15px;
  }

  .luna-reabrir {
    right: 5%;
    bottom: 80px;
  }

  .right-bg-image {
    display: none;
  }

  main {
    margin-bottom: 100px;
  }
}

form {
  max-width: 700px;
  margin: auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 12px;
  font-family: 'Segoe UI', Arial, sans-serif;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

h2 {
  text-align: center;
  color: #5c7cfa;
  font-weight: bold;
  margin-bottom: 30px;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #333;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  background-color: #fff;
  font-size: 15px;
  transition: all 0.2s ease-in-out;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #5c7cfa;
  box-shadow: 0 0 4px rgba(92, 124, 250, 0.3);
  transition: all 0.2s ease-in-out;
}

/* --- Melhorias no Menu Lateral (Offcanvas) --- */

.offcanvas-header {
  background-color: var(--azul-principal); /* Fundo do cabeçalho */
  color: white; /* Cor do texto no cabeçalho */
  border-bottom: 1px solid var(--azul-medio); /* Borda sutil */
}

.offcanvas-title {
  color: white; /* Garante que o título seja branco no cabeçalho azul */
  font-weight: bold;
}

.offcanvas-body {
  background-color: var(--cinza-claro); /* Fundo suave para o corpo do menu */
  padding: 20px; /* Aumenta o padding geral */
}

.offcanvas-body a {
  color: var(--azul-profundo); /* Cor dos links */
  text-decoration: none; /* Remove sublinhado padrão */
  padding: 12px 10px; /* Mais padding para cada item */
  margin-bottom: 8px; /* Espaçamento entre os links */
  display: block; /* Faz cada link ocupar a largura total para o padding */
  border-radius: 6px; /* Bordas arredondadas para os links */
  transition: background-color 0.3s ease, color 0.3s ease; /* Transição suave */
  font-weight: 600; /* Deixa o texto um pouco mais encorpado */
}

.offcanvas-body a:hover {
  background-color: var(--azul-claro); /* Fundo ao passar o mouse */
  color: var(--azul-principal); /* Cor do texto ao passar o mouse */
  text-decoration: none; /* Garante que não sublinhe no hover */
}

/* Estilo específico para o botão "Agendar Sessão" dentro do offcanvas */
.offcanvas-body .btn-primary {
  margin-top: 20px; /* Espaçamento maior acima do botão */
  padding: 12px 20px; /* Aumenta o padding do botão */
  font-size: 1.1em; /* Tamanho maior da fonte */
  width: 100%; /* Ocupa a largura total */
  text-align: center;
}

/* Estilo para o botão de fechar (X) */
.offcanvas-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%); /* Deixa o X branco */
  opacity: 1; /* Garante que seja totalmente visível */
}

/* Opcional: Se quiser um ícone em vez de texto para o botão de abrir no mobile */
.site-header .btn.d-md-none {
  font-size: 1.5em; /* Aumenta o tamanho do ícone de hambúrguer */
  padding: 5px 12px; /* Ajusta o padding */
  line-height: 1; /* Alinha o ícone */
}