/*
   CBios Brasil - Estilos principais
   Paleta de cores:
   - Verde escuro: #006400
   - Amarelo: #FFD700
   - Branco: #FFFFFF
*/

/* Reset e estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #006400; /* texto em verde escuro */
  background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #006400; /* títulos em verde escuro */
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #006400; /* links em verde escuro */
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #FFD700; /* hover em amarelo */
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #BABABA; /* linha abaixo do título em amarelo */
}

/* Botões */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Montserrat', sans-serif;
}

.btn-primary {
  background-color: #006400; /* fundo verde escuro */
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #004B23; /* verde mais escuro no hover */
  color: #FFFFFF;
}

.btn-secondary {
  background-color: #006400; /* fundo amarelo */
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: #E6C200; /* amarelo mais escuro no hover */
  color: #FFFFFF;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #006400; /* borda verde escuro */
  color: #006400;
}

.btn-outline:hover {
  background-color: #006400;
  color: #FFFFFF;
}

.btn-text {
  background-color: transparent;
  color: #006400;
  padding: 0;
}

.btn-text:hover {
  color: #FFD700;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header */
.header {
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo img {
  height: 50px;
  width: auto;
}

.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-list li {
  margin: 0 1rem;
}

.nav-list a {
  color: #006400;
  font-weight: 500;
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #006400; /* underline verde */
  transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.header-buttons {
  display: flex;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #006400;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 8rem 0 5rem;
  /* Primeiro o overlay em cinza (#BABABA) com 50% de opacidade, depois a imagem */
  background: linear-gradient(rgba(186, 186, 186, 0.5), rgba(186, 186, 186, 0.5)),
  url('../img/back.png') center center/cover no-repeat;
  color: #FFFFFF;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-form {
  flex: 1;
  max-width: 450px;
}

.form-container {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-container h3 {
  color: #006400;
  margin-bottom: 0.5rem;
}

.form-container p {
  color: #006400;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #FFD700; /* borda em amarelo */
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #006400; /* foco em verde */
}

.form-disclaimer {
  font-size: 0.8rem;
  color: #006400;
  text-align: center;
  margin-top: 1rem;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: #FFFFFF; /* fundo branco */
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: #006400; /* ícone em verde */
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: #FFFFFF; /* fundo branco */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #FFD700; /* fundo amarelo */
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.3s ease;
  border-bottom: 3px solid #006400; /* borda inferior verde */
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2rem;
  color: #006400; /* ícone em verde */
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: #006400; /* texto em verde */
}

.service-card .btn-text {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  color: #006400;
}

.service-card .btn-text i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.service-card .btn-text:hover {
  color: #FFFFFF;
}

.service-card .btn-text:hover i {
  transform: translateX(5px);
}

/* Education Section */
.education {
  padding: 5rem 0;
  background-color: #006400; /* fundo branco */
}

.education-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.education-text {
  flex: 1;
}

.education-text h2 {
  color: #FFFFFF;
}

.education-text p {
  color: #FFFFFF;
}

.education-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta {
  padding: 10rem 0 5rem;
  /* Primeiro o overlay em cinza (#BABABA) com 50% de opacidade, depois a imagem */
  background: linear-gradient(rgba(186, 186, 186, 0.5), rgba(186, 186, 186, 0.5)),
  url('../img/back3.png') center center/cover no-repeat;
  color: #FFFFFF;
  text-align: center;
}

.cta-content h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Newsletter Section */
.newsletter {
  padding: 4rem 0;
  background-color: #FFFFFF; /* fundo branco */
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.newsletter-text {
  flex: 1;
}

.newsletter-text h2 {
  color: #006400;
}

.newsletter-text p {
  color: #006400;
}

.newsletter-form {
  flex: 1;
}

.newsletter-form .form-group {
  display: flex;
  margin-bottom: 0;
}

.newsletter-form input {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border: 1px solid #006400; /* borda verde */
}

.newsletter-form button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background-color: #FFD700; /* fundo amarelo */
  color: #FFFFFF;
  border: 1px solid #FFD700;
}

.newsletter-form button:hover {
  background-color: #E6C200; /* amarelo mais escuro no hover */
}

/* Footer */
.footer {
  background-color: #ffffff; /* fundo verde escuro */
  color: #006400;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 150px;
}

.footer-column h4 {
  color: #006400;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: #006400;
}

.footer-column a:hover {
  color: #FFD700; /* links em amarelo no hover */
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #006400;
  border-radius: 50%;
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #FFD700; /* amarelo no hover */
  transform: translateY(-3px);
}

.copyright {
  color: #006400;
  font-size: 0.9rem;
}

/* Botão flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float:hover {
  background-color: #1DA851;
  color: #FFFFFF;
}

/* Responsividade */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero {
    padding: 7rem 0 4rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 1rem 0;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: left 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .main-nav.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-list li {
    margin: 1rem 0;
  }

  .header-buttons {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-text {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-form {
    width: 100%;
  }

  .education-content {
    flex-direction: column;
  }

  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .btn-large {
    padding: 0.75rem 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
}
