/* Estilos Globais */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    color: #007bff; /* Cor primária - um azul moderno */
    margin-bottom: 10px;
}

.section-title p {
    color: #777;
}

.bg-light {
    background-color: #f9f9f9;
}

/* Header */
header {
    background-color: #fff;
    padding: 5px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .logo img{
    width: 90px;
    height: 70px;
}

#botoes{
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    color: #007bff;
    text-decoration: none;
    font-weight: 700;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
    display: flex;

}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #007bff;
    border-bottom: 5px solid #e0a800;
}

header .cta-button {
    background-color: #006064; /* Cor secundária - um amarelo vibrante */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

header .cta-button:hover {
    background-color: #e0a800;
}

.mobile-menu-button {
    background: none;
    border: none;
    color: #333;
    font-size: 1.5em;
    cursor: pointer;
    display: none; /* Oculto em telas maiores */
}

/* Hero Section */
.hero-slider {
    position: relative;
    min-height: 500px;
    height: auto;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
  }
  
  .slider-wrapper {
    position: relative;
    min-height: 500px;
  }
  
  .slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: none;
    color: white;
    padding: 60px 40px 100px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: opacity 0.7s ease-in-out;
    /* Fundo escuro para dar contraste no texto */
    /* background-blend-mode: multiply; */
    background-color: rgba(0, 0, 0, 0.4);
  }
  
  .slide.active {
    display: flex;
    opacity: 1;
    z-index: 1;
    position: relative;
  }
  
  .hero-content {
    max-width: 600px;
    width: 100%;
  }
  
  .hero-content h1 {
    font-size: clamp(1.8em, 5vw, 3em);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
  }
  
  .hero-content p {
    font-size: clamp(1em, 3vw, 1.3em);
    margin-bottom: 30px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
    line-height: 1.5;
  }
  
  .cta-primary {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-right: 15px;
    box-shadow: 0 4px 8px rgba(0,123,255,0.5);
  }
  
  .cta-primary:hover {
    background-color: #0056b3;
  }
  
  .cta-secondary {
    text-decoration: none;
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 13px 28px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
  }
  
  .cta-secondary:hover {
    background-color: #007bff;
    color: #fff;
  }
  
.slider-dots {
  position: absolute;
  bottom: 25px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.slider-dots button {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 6px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dots button.active,
.slider-dots button:hover {
  background-color: #007bff;
}
  
/* Sobre Nós Section */
.sobre {
    padding: 80px 0;
}

.sobre-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sobre-image {
    flex: 1;
    text-align: center;
}

.sobre-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sobre-text {
    flex: 1;
}

.sobre-text p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
}

.sobre-text ul {
    list-style: none;
    padding: 0;
}

.sobre-text ul li {
    margin-bottom: 10px;
    color: #333;
}

.sobre-text ul li i {
    color: #007bff;
    margin-right: 10px;
}

/* Nossos Cursos Section */
.cursos {
    padding: 80px 0;
}

.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.curso-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.curso-card:hover {
    transform: translateY(-5px);
}

.curso-card i {
    font-size: 2.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.curso-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    margin-bottom: 10px;
}

.curso-card p {
    color: #777;
    margin-bottom: 20px;
}

.curso-card .learn-more {
    display: inline-block;
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.curso-card .learn-more:hover {
    color: #0056b3;
}

/* Benefícios Section */
.beneficios {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8ff, #e1f5fe); /* Outro degradê suave de azul */
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.beneficio-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.beneficio-item i {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 15px;
}

.beneficio-item h3 {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.beneficio-item p {
    color: #777;
}

/* Contato Section */
.contato {
    padding: 80px 0;
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contato-info h3,
.contato-form h3 {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    margin-bottom: 20px;
}

.contato-info p{
    color: #555;
    margin-bottom: 15px;
}

.contato-info a {
    color: #555;
    margin-bottom: 15px;
    display: inline-block; /* Faz o link se comportar mais como um bloco, como o <p> */
    text-decoration: none; /* Remove o sublinhado padrão */
}

.contato-info i {
    color: #007bff;
    margin-right: 10px;
}

.contato-form input[type="text"],
.contato-form input[type="email"],
.contato-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}

.contato-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contato-form button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.contato-form button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.footer-links ul li {
    margin-left: 20px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #eee;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #007bff;
}

.footer-social a {
    color: #eee;
    font-size: 1.5em;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #007bff;
}

footer .copyright {
    margin-top: 30px;
    font-size: 0.9em;
    color: #aaa;
    width: 100%;
}


.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto;
    background-color: rgba(0,0,0,0.5); 
}

.modal-content {
    background-color: #fff;
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.close {
    color: #aaa;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}


/* Estilos para telas menores (Responsividade) */
@media (max-width: 980px) {
    .container {
        padding: 15px;
    }

    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    header .logo {
        margin-bottom: 15px;
    }

    header nav {
        width: 100%;
        display: none; /* Oculta o menu em telas menores inicialmente */
        margin-top: 10px;
    }

    header nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul li {
        margin: 10px 0;
    }

    header .cta-button {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }

    .mobile-menu-button {
        display: block; /* Exibe o botão do menu em telas menores */
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content .cta-primary,
    .hero-content .cta-secondary {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
        display: flex;
        text-align: center;
        justify-content: center;
        vertical-align: middle;
        align-items: center;        
    }

    .sobre-content {
        flex-direction: column;
    }

    .sobre-image {
        margin-bottom: 30px;
    }

    .contato-wrapper {
        grid-template-columns: 1fr;
    }

    .contato-info {
        margin-bottom: 30px;
    }

    footer .container {
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .footer-links ul li {
        margin: 5px 0;
    }

    .footer-social {
        margin-bottom: 20px;
    }
}

@media (max-width: 980px) {
  .hero-slider {
    min-height: auto;
  }

  .slider-wrapper {
    min-height: auto;
  }

  .slide {
    min-height: auto;
    padding: 40px 20px 120px;
    align-items: flex-start;
    padding-top: 80px;
  }

  .hero-content h1 {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: clamp(0.9em, 4vw, 1.1em);
    margin-bottom: 20px;
  }

  /* posiciona os dots um pouco acima da base */
  .slider-dots {
    bottom: 30px; 
    z-index: 999;
  }
}

#modalContato {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#modalContato > div {
  background: #fff;
  padding: 30px 35px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  width: 90%;
  max-width: 400px;
  position: relative;
}

#modalContato #opcoesContato h2 {
  margin-bottom: 20px;
  color: #333;
  font-weight: 700;
  font-size: 22px;
  text-align: center;
}

#modalContato button#btnWhatsApp {
  width: 100%;
  padding: 12px 0;
  margin-bottom: 12px;
  border: none;
  border-radius: 8px;
  background: #25d366;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.3s;
}

#modalContato button#btnWhatsApp:hover {
  background: #1ebe57;
}

#modalContato button#btnEmail {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-radius: 8px;
  background: #007bff;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.3s;
}

#modalContato button#btnEmail:hover {
  background: #0056b3;
}

#modalContato form#formEmail {
  display: none;
  margin-top: 15px;
}

#modalContato form#formEmail input,
#modalContato form#formEmail textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  resize: vertical;
}

#modalContato form#formEmail textarea {
  resize: vertical;
}

#modalContato form#formEmail button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.3s;
}

#modalContato form#formEmail button[type="submit"]:hover {
  background: #0056b3;
}

#modalContato button#fecharModal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  transition: color 0.3s;
}

#modalContato button#fecharModal:hover {
  color: #000;
}