/* Reset de box-model (SOLUÇÃO DEFINITIVA) */
html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}

/* Estilos gerais */
body {
    background: linear-gradient(to right, rgba(112, 189, 243, 0.8), rgba(252, 252, 252, 0.8));
    background-attachment: fixed; /* Isso evita a repetição */
    background-size: cover; /* Ou use um tamanho fixo */
    display: grid;
    grid-template-rows: auto;
    min-height: 100vh;
    margin: 0;
    /* overflow-x: hidden; Impede barras de rolagem horizontais */
}

.bg-header {
    width: 100%;
    display: flex;
    justify-content: center; /* Centraliza o .header horizontalmente */
}

.header {
    max-width: 1800px;
    width: 100%; /* Ocupa toda a largura disponível até 1200px */
    display: flex;
    padding: 0 1rem; /* Adiciona um padding nas laterais */
}

.header-logo {
    height: 9rem;
    padding-top: 1rem;
}

.hero {
    background: none;
    height: 35rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}
/* <!-- 2. logo e a img das mulheres --> */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-content img {
    max-width: 50%;
    max-height: 50%;
    height: auto;
}
.hero-content .logo-img{
    max-height: 400px;
     height: auto;
      width: auto;
}
.hero-content .senhoras-img{
    max-height: 500px;
    height: auto; 
    width: auto;
}

.texto-intro-container {
    background-color: rgb(255, 255, 255);
    width: 100%;
    padding: 2rem 0;
}

.texto-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}
.texto-intro .aula-img{
    width: 900px;
    max-width: 500px;
    margin-right: 40px;
}

/* Versão padrão (imagem à esquerda) */
.texto-intro .colmeia-img {
    width: 100%;
    max-width: 50%;
    height: auto;
    flex-shrink: 0;
}

.texto-intro-content {
    flex: 1;
    max-width: 50%;
}

/* Versão alternativa (imagem à direita) */
.texto-intro-alternativo {
    flex-direction: row-reverse;
}

/* Estilos para os textos */
.texto-intro-content h1 {
    font-size: 2.4em;
    margin: 0 0 1rem 0;
    color: #078b9c;
    text-shadow: 2px 2px 4px rgba(54, 66, 121, 0.3);
}

.texto-intro-content p {
    text-align: center;
    font-size: 1.2em;
    line-height: 1.6;
    color: white;
    background-color: rgba(5, 112, 131, 0.644);
    padding: 10px 5px; /* Reduzi o padding */
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 1400px;

}


/* Estilos específicos para a seção de treinamento */
.treinamento {
    width: 100%;
    overflow: hidden; /* Impede o vazamento */
    padding: 0 0;
    background-color: white; /* Adicionei para manter consistência */
}

.treinamento-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px; /* Limita a largura máxima */
    margin: 0 auto; /* Centraliza */
    width: 100%;
    padding: 0 0; /* Padding lateral para responsividade */
}

.treinamento-content {
    background-color: rgba(5, 112, 131, 0.644);
    padding: 50px 30px; /* Reduzi o padding */
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 1200px;
}

.treinamento-content h1 {
    color: rgb(238, 238, 238);
    font-size: 2.5em; /* Reduzi um pouco */
    text-align: center; /* Centralizei */
    margin: 0 0 30px 0; /* Ajuste de margem */
    
}

.cursos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.curso-card {
    width: 10%; /* 4 cards por linha com gap */
    min-width: 250px; /* Largura mínima antes de quebrar */
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    box-sizing: border-box; /* Inclui padding no cálculo da largura */

}
.curso-card h3 {
    border-bottom: 2px solid #3498db;
    text-align: center; /* Centraliza o texto */
}
/* Estilos dos cards */
.bg-beneficios-container {
    width: 100%;

}
/* Estilos dos cards */
.beneficios-container {
    width: 100em;
    /* min-width: 40%;
    max-width: 100%; */
    /* margin: 30px auto; */
    padding: 0 20px;
}

.beneficios-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 3em;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    font-size: 1.6em;
}

.beneficio-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-left: 4px solid;
}

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

.beneficio-card h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
}

/* Cores individuais para cada card */
.card1 { border-color: #3498db; }
.card2 { border-color: #e74c3c; }
.card3 { border-color: #2ecc71; }
.card4 { border-color: #f39c12; }
.card5 { border-color: #9b59b6; }
.card6 { border-color: #1abc9c; }

/* Formulário de Registro */
.contato{
    width: 100%;
    background: none;

}
.contato-texto {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.3em;
    color: #2c3e50;
}

.registration-form {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
    flex-wrap: wrap;
}

.formulario {
    flex: 1;
    min-width: 300px;
}

.whatsapp-cta {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.whatsapp-cta p {
    margin-bottom: 15px;
    font-size: 1.1em;;
}

.whatsapp-cta a {
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
}

.form-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
}

.cta-button {
    background-color: #FF6B6B;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #FF5252;
}

/* depoimentos */
/* Estilos da seção Depoimentos */
.depoimentos {
    width: 100%;
    background: none;
}
.depoimentos .logobaixo-img{
    max-height: 700px;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
}
.depoimentos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
}

.depoimentos-content {
    background-color: rgba(5, 112, 131, 0.644);
    padding: 10em 2em;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 1200px;
}

.depoimentos-title {
    color: rgb(255, 255, 255);
    font-size: 3em;
    text-align: left;
    margin-top: -150px;
    margin-bottom: 40px;
}

.depoimentos-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.depoimento-card {
    width: 100%;
    height: auto;
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.depoimento-texto {
    font-size: 1.2em;
    line-height: 1.6;
}

.depoimento-autor {
    font-style: italic;
    margin-top: 20px;
    font-size: 1.1em;
}

section {
    
    padding: 2rem;
    max-width: 100%;         /* Garante que não ultrapasse o container pai */
    margin: 0 auto;
    background-color: #ffffff;
}

.rodape {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem;
}
/* Animações de scroll */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* Animações específicas para diferentes direções */
.scroll-left {
    transform: translateX(-50px);
}

.scroll-right {
    transform: translateX(50px);
}

.scroll-zoom {
    transform: scale(0.95);
}

/* Efeito de Zoom Suave */
.zoom-suave {
    animation: zoomSuave 3s ease-out forwards;
    transform-origin: center center;
    opacity: 0; /* Começa invisível */
    max-height: 500px;
    height: auto;
    width: auto;
}

@keyframes zoomSuave {
    0% {
        transform: scale(0.75);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/* efeito de spotlight */
.spotlight {
    position: relative;
    overflow: hidden;
}

.spotlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255,255,255,0.8) 0%, 
        rgba(255,255,255,0) 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.spotlight.ativo::before {
    opacity: 0.6;
    transform: scale(1);
}


/* Delays para animação sequencial */
.delay-1 { transition-delay: 0.4s; }
.delay-2 { transition-delay: 0.6s; }
.delay-3 { transition-delay: 0.8s; }


/* Responsividade */
@media (max-width: 768px) {
    section {
        
        padding: 2rem;
        max-width: 100%;         /* Garante que não ultrapasse o container pai */
        margin: 0 0;
        background-color: #ffffff;
    }
    .hero{
        
        height: 15em;
        width: 100%;
        padding: 0;
    }

    /* logo e img senhoras */
    .hero-content {
        position: relative; /* importante para referência do posicionamento absoluto */
        justify-content: left;
    }

    .hero-content .logo-img {
        position: relative;
        left: 10px; /* ou ajuste conforme necessário */
        z-index: 1;
    }

    .hero-content .senhoras-img {
        position: absolute;
        right   : 10px; /* ou ajuste conforme necessário */
        z-index: 0;
        opacity: 0.3 !important;
    }

    
    .hero-content img {
        max-width: 70%;
        height: auto;
    }

    .texto-intro-container {
        padding: 1em 0;
    }
    /* img do professor e colmeia junto com textos */
    .texto-intro {
        flex-direction: column;
        align-items: start;
        gap: 1em;
        padding-left: 3%;
        margin: 0 0;
    }
    .texto-intro-content {
        max-width: 100%;
        width: 90%;
        order: 1; /* Coloca o conteúdo antes da imagem */
    }
    .texto-intro-alternativo {
        padding: 0 0;
        padding-left: 3%;
        flex-direction: column;
    }
        /* img do professor e colmeia junto com textos */
    .texto-intro-content h1 {
        font-size: 1.0em;
        margin: 0 0 0 0;
        max-width: 100%;
        text-align: center;
    }
        /* professor e colmeia separados do texto */
    .texto-intro .aula-img {
        display: none;
    }
        /* Versão padrão (imagem à esquerda) */
    .texto-intro .colmeia-img {
        width: 90%;
        max-width: 100%;
        margin-top: 1em;
    }
    /* box com os textos do lado das imgs */
    .texto-intro-container .box-texto{
        display: flex;
        background-color: rosybrown;
        max-width: 20%;
    }

    /* blocos de texto */
    .texto-intro-content p {
        width: 100%;
        max-width: 100%;
        font-size: 0.8em;
        padding: 10px;
        margin-top: 10px;
    }
    .treinamento {
        width: 98%;
    }
    .treinamento-container {
        margin: 0 3px;

    }
    .treinamento-content {
            padding: 5% 1%;    
    }
    .treinamento-content h1 {
        color: rgb(255, 255, 255);
        font-size: 0.8em; /* Reduzi um pouco */
        text-align: center; /* Centralizei */
        margin: 0 0 1% 0; /* Ajuste de margem */
        
    }
    .curso-card {
    width:45%;
    min-width: 40%;
    
    padding: 1px;
    font-size: 0.8em;


    }
    .curso-card ul{
        padding-inline-start: 1.2em;
        max-width: 100%;        
    }
    .curso-card li{
        max-width: 98%; /* ou outro valor em px, %, etc */
        word-wrap: break-word; /* quebra palavras longas */
        white-space: normal; /* permite múltiplas linhas */
        
        padding: .2em; /* ajuste conforme necessário */
    }
    .curso-card h3{
        font-size: 0.8em;
    }
    .beneficios-container {
        width: 100%;
        padding: 10px;
    }
    .beneficios-grid {
    font-size: 0.8em;
    grid-template-columns: repeat(auto-fit, minmax(49%, 1fr));
    gap: 5px;
    }   
    .bg-beneficios-container{
        padding: 2px;
    }
    .beneficios-title{
        font-size: 1.3em;
    }
    .beneficio-card{
        padding: 1em;
    }
    .beneficio-card h3{
        font-size: 0.8em;
    }

    .contato{
        width: auto;
    }
    .depoimentos .intro-image{
        width: 80%;
    }
}