/* css/style.css */

/* CSS Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Importa a fonte Sensa Sans (local) */
@font-face {
  font-family: 'Sensa Sans';
  src: url('sensa/SensaSans-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Aplicar Sensa Sans aos títulos com fallback para Open Sans e sans-serif */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sensa Sans', 'Open Sans', sans-serif;
}

/* Scroll margin para evitar que os títulos fiquem ocultos */
section {
  scroll-margin-top: 100px;
}

/* Navbar estilo "vidro" */
#main-header {
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease;
  padding: 20px 0;
}
#main-header.scrolled {
  background: rgba(0, 0, 0, 0.9);
  padding: 10px 0;
}
/* Navbar links quando scrolled ficam brancos */
#main-header.scrolled .nav-link {
  color: #fff !important;
}

/* Espaçamento nos itens da navbar */
.navbar-nav .nav-item {
  margin-left: 25px;
}

/* Navbar links com animação */
.navbar-nav .nav-link {
  font-weight: bold;
  color: #fff; /* Cor branca inicialmente */
  opacity: 0;
  animation: fadeIn 0.6s forwards;
}
.navbar-nav .nav-link.active {
  color: #fff !important;
}

/* Regra geral para hover */
.navbar-nav .nav-link:hover {
  color: #FFCC00;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
.navbar-nav .nav-link.active:hover {
  color: #FFCC00 !important;
}

/* Regra específica para navbar scrolled em hover */
#main-header.scrolled .nav-link:hover {
  color: #FFCC00 !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section com vídeo de fundo */
#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: #fff;
}
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}
#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

/* Hero content centralizado */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  padding: 0 15px;
}

/* Seção de Funcionalidades */
#features {
  padding: 80px 0;
}
.section-title {
  scroll-margin-top: 80px;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #035d54;
}

/* Cards para Funcionalidades */
.card {
  transition: transform 0.3s ease;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.card:hover {
  transform: translateY(-5px);
}
.card .card-body {
  padding: 1.5rem;
}
.card .card-body i {
  font-size: 2rem;
  color: #0072ff;
  margin-bottom: 1rem;
}

/* How It Works - cartões personalizados */
.how-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.how-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.how-card .card-body {
  padding: 1.5rem;
}
.how-card .number {
  background: #0072ff;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  line-height: 60px;
  font-size: 1.5rem;
  margin: auto;
  margin-bottom: 15px;
}

/* Testimonials Section */
#testimonials {
  padding: 80px 0;
  background: #f1f1f1;
}
blockquote {
  font-style: italic;
  max-width: 600px;
  margin: auto;
}

/* Newsletter Section */
#newsletter {
  padding: 80px 0;
  background: #fffbe6;
}
#newsletter .section-title {
  color: #035d54;
}
#newsletter form {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* CTA Section */
#cta {
  background: #009900;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
#cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* Botão "To Top" (circular, à esquerda) */
#toTop {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #009900;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}
#toTop i {
  color: #FFCC00;
  font-size: 1.2rem;
}

/* Botão de WhatsApp (circular, à direita) */
#whatsappBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}
#whatsappBtn i {
  color: #fff;
  font-size: 1.2rem;
}

/* Responsividade */
@media (max-width: 768px) {
  #hero .display-4 {
    font-size: 2.5rem;
  }
}
