/* =========================
   Reset e Base
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background: #fefefe;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   Global H1 (fora do Hero)
========================= */
h1 {
  text-align: center;
  font-size: 2rem;
  color: #302681;
  margin-bottom: 30px;
}

/* =========================
   Header
========================= */
header {
  background: #302681;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  animation: fadeIn 1.5s ease-in;
}

header img {
  max-width: 200px;
  margin: 0 auto 10px;
  display: block;
}

header h4 {
  font-weight: 600;
}

/* =========================
   Container
========================= */
.container {
  max-width: 1200px; /* Consolidado para o valor mais comum */
  margin: auto;
  padding: 20px; /* Consolidado para o valor mais comum */
}

/* =========================
   Hero Section
========================= */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 10px auto; /* Consolidado para o valor mais comum */
  max-width: 800px;
  margin-bottom: 10px; /* Adicionado do trecho específico */
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #302681;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 0; /* Consolidado para ter margem inferior */
}

/* =========================
   Buttons (General)
========================= */
.btn {
  display: inline-block;
  background: #302681;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s ease;
  outline: none;
}

.btn:hover {
  background: #281f61;
}

.btn:focus {
  box-shadow: 0 0 0 3px rgba(48, 38, 129, 0.5), 0 0 0 6px rgba(48, 38, 129, 0.3);
}

/* =========================
   Features Section
========================= */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  animation: fadeIn 2s ease-in;
}

.feature {
  flex: 0 0 350px;
  max-width: 100%;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform .3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature h3 {
  color: #302681;
  margin-bottom: 10px;
}

/* =========================
   Testimonials Section
========================= */
.testimonials {
  background: #f1f1f1;
  padding: 40px 20px;
  text-align: center;
  animation: fadeIn 2s ease-in;
}

.testimonials h2 {
  color: #302681;
  margin-bottom: 30px;
}

.testimonial {
  margin: 20px auto;
  max-width: 800px;
  font-style: italic;
  padding: 15px;
  border-left: 5px solid #302681;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.testimonial strong {
  display: block;
  margin-top: 10px;
  color: #555;
}




    /* Form */
    form { max-width:600px; margin:0 auto; background:#f9f9f9; padding:30px; border-radius:10px; 
           box-shadow:0 0 15px rgba(0,0,0,0.1); animation:fadeIn 2s ease-in; }
    form h2 { text-align:center; font-size:1.8rem; margin-bottom:25px; color:#302681; }
    form label { display:block; font-weight:600; margin-bottom:8px; color:#444; }
    form input, form textarea, form select {
      width:100%; padding:12px; margin-bottom:15px; border:1px solid #ddd; border-radius:8px;
      font-size:1rem; transition:border-color .3s ease, box-shadow .3s ease;
    }
    form input:focus, form textarea:focus, form select:focus {
      border-color:#302681; box-shadow:0 0 0 3px rgba(48,38,129,0.2); outline:none;
    }
    #form h2 {
  text-align: center;
}


/* =========================
   Form Section
========================= */
form {
  max-width: 600px;
  margin: 0 auto;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  animation: fadeIn 2s ease-in;
}

form h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #302681;
}

form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #444;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color .3s ease, box-shadow .3s ease;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: #302681;
  box-shadow: 0 0 0 3px rgba(48, 38, 129, 0.2), 0 0 0 6px rgba(48, 38, 129, 0.3);
  outline: none;
}
    #form h2 {
  text-align: center;
}
/* =========================
   Produto Banner
========================= */
.produto-banner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
  padding: 0;
}

.botao-produto {
  position: relative;
  width: 100%;
  font-size: 30px;
  padding: 54px 0;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 0;
  box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.0039); /* Corrigido para rgba */
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: background 0.3s ease;
}

.botao-produto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
}

.botao-produto span {
  position: relative;
  z-index: 2;
}

.botao-produto:hover::before {
  background: rgba(0, 0, 0, 0.4);
}

.botao-produto:active,
.botao-produto:focus {
  outline: none;
}

.botao-produto img {
  max-height: 50px;
  margin-right: 8px;
}

/* =========================
   Library (Specific Section)
========================= */
.library {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.btn-download {
  display: inline-block;
  background-color: #f7941d;
  color: #fff;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-download:hover {
  background-color: #da7b00;
}

/* =========================
   Footer
========================= */
footer {
  background: #302681;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px; /* Consolidado para o valor maior */
  font-size: .9rem;

}

footer a {
  color: #fff;
  text-decoration: underline;
}

/* =========================
   Fixed Badges
========================= */
#whatsapp-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  background-color: #25d366; /* Corrigido de "kground-color" */
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#whatsapp-badge img {
  width: 36px;
  height: 36px;
}

#back-home-badge {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 10000;
  background-color: #007bff;
  color: white;
  padding: 12px 16px;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  font-family: sans-serif;
  font-size: 14px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#back-home-badge:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* =========================
   Animations
========================= */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   Responsive Adjustments
========================= */
@media (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.6rem;
  }
  .btn-download {
    font-size: 0.95rem;
    padding: 12px 24px;
  }
}

@media (min-width: 700px) {
  .produto-banner {
    max-width: 460px;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  #whatsapp-badge {
    padding: 10px;
    bottom: 15px;
    right: 15px;
  }

  #whatsapp-badge img {
    width: 32px;
    height: 32px;
  }

  #back-home-badge {
    padding: 10px 14px;
    font-size: 13px;
    bottom: 15px;
    left: 15px;
  }
}