/* Reset e configurações globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Comfortaa', sans-serif;
  color: #f9f9f9;
  line-height: 1.6;
  /* Fundo com gradiente para melhor legibilidade */
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('images/galaxia1.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

/* Cabeçalho sticky para melhor navegação */
header {
  background-color: rgba(46, 31, 80, 0.95);
  padding: 20px 0;
  border-bottom: 2px solid #a46eff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.logo {
  font-size: 1.8rem;
  color: #ffd66e;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

/* Efeito de hover com sublinhado suave */
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s;
}
nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #ffd66e;
  left: 0;
  bottom: 0;
  transition: width 0.3s;
}
nav a:hover {
  color: #ffd66e;
}
nav a:hover::after {
  width: 100%;
}

/* Estilização dos títulos para maior destaque */
.section h2 {
  font-size: 2.5rem;
  color: #ffd66e; /* Dourado intenso */
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Seção Hero com animação */
.hero {
  padding: 100px 20px;
  text-align: center;
}
.hero-content {
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-in-out;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content h2 {
  font-size: 2.8rem;
  color: #ffd66e;
  margin-bottom: 20px;
}
.subheadline {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #f9f9f9;
}

/* Ajuste no botão "Agende sua sessão" */
.cta-button {
  background-color: #a46eff;
  color: #1a1033;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: inline-block;
  margin-top: 20px; /* Reduzimos o espaçamento superior */
  margin-bottom: 40px; /* Adicionamos espaço abaixo para evitar separação excessiva */
}
.cta-button:hover {
  background-color: #ffd66e;
  color: #2e1f50;
  transform: translateY(-3px);
}

/* Seções com fundo semitransparente e bordas suaves */
.section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 20px;
}
.alinhamento-esquerda {
  text-align: left;
}
.benefits {
  list-style: none;
  margin-top: 20px;
}
.benefits li {
  margin: 10px 0;
  font-size: 1.1rem;
}

/* Ajustes específicos para a seção de contato */
.contato .cta-button {
  background-color: #ffd66e;
  color: #2e1f50;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 40px;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.contato .cta-button:hover {
  background-color: #a46eff;
  color: #fff;
  transform: translateY(-3px);
}
.urgency {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffd66e;
}

/* Novo estilo para o texto vermelho */
.red-text {
  color: red;
}

footer {
  background-color: #1a1033;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  border-top: 2px solid #a46eff;
}

/* Estilo das seções com imagem ao lado */
.section-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
  text-align: left;
}

.section-container.reverse {
  flex-direction: row-reverse;
}

.section-container .text {
  flex: 1 1 55%;
}

.section-container .image {
  flex: 1 1 40%;
  text-align: center;
}

.section-container .image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .logo-container {
    margin-bottom: 20px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .alinhamento-esquerda {
    text-align: left;
  }

  .section-container {
    flex-direction: column !important;
    text-align: center;
  }

  .section-container .text,
  .section-container .image {
    flex: 1 1 100%;
  }
}
