@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700;800&display=swap');
*, *::before, *::after {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    padding: 0;
    width: 100%;
    background: #fff;
    font-family: 'Open Sans', sans-serif;

}

.hero-header {
    background-image: url('../assets/top.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100vw;           /* Ocupa toda a largura da viewport */
    max-width: 100vw;       /* Garante que não passe da tela */
    min-width: 320px;
    height: 600px;
    margin: 0;              /* Sem auto, sem centralizar */
    border-radius: 0;       /* Sem borda arredondada para ir de ponta a ponta */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; 
    gap: 16px; 
    max-width: 900px; 
    z-index: 1;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 400; 
    text-transform: uppercase;
    color: #fff;
    font-family: 'Luckiest Guy', cursive;
}

.hero-content p {
    font-size: 20px;
    line-height: 1.6;
    color: #fff;
}

.hero-buttons {
    display: flex;
    gap: 24px;

}

/* Estilo base para AMBOS os botões */
.hero-buttons a {
    height: 44px;          
    line-height: 44px;     
    border-radius: 28px; 
    font-size: 16px;     
    font-weight: 400;
    text-decoration: none;
    text-align: center;     
    transition: all 0.2s ease;
    padding: 0 16px;            
    margin: 0 8px;  
 
}

/* Botão Branco */
.btn-white {
    background-color: #ffffff;
    color: #23272A;
    font-family: 'Open Sans', sans-serif;
    
}

/* Botão Preto */
.btn-black {
    background-color: #23272A;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 24px;
}
.feature-image--study {
    background-image: url('../assets/study.png');
    background-size: cover;
    background-position: center;
    width: 50%;   
    height: 400px;  
    margin-top: 80px;
    align-self: center;
    }
.feature-image--many {
    background-image: url('../assets/many.png');
    background-size: cover;
    background-position: center;
    width: 50%;   
    height: 400px;  
    margin-top: 80px;
    align-self: center;
}
.feature-image--chat {
    background-image: url('../assets/chat.png');
    background-size: cover;
    background-position: center;
    width: 80%;   
    height: 400px;  
    margin-top: 20px;
    align-self: center;
}
.feature-image--voice {
    background-image: url('../assets/voice.png');
    background-size: cover;
    background-position: center;
    width: 50%;   
    height: 400px;  
    align-self: center;
}
.feature-reversed {
    flex-direction: row-reverse;
}

.feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 35%;
    padding: 40px 20px;
    box-sizing: border-box;
}
.feature-text2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
    padding: 40px 20px;
    box-sizing: border-box;

}
.feature-title {
    font-size: 24px;    
    font-weight: 800;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
}
.feature-title2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 40px;
    text-align: center;
    font-weight: 600;

}
.feature-description {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;   
}

footer {
    background-color: #23272A;
    align-items: center;
    padding: 20px;
    text-align: center;
    margin: 0 auto;
}

/* REGRAS DE RESPONSIVIDADE         */

@media (max-width: 768px) {
    .hero-header {
        width: 100%;
        max-height: 1600px;
        margin: 0 auto;
        border-radius: 16px;

    }
    .feature,
    .feature-reversed {
        flex-direction: column !important;
        align-items: flex-start;
        text-align: left ;
    }
    
    .feature-image--study, .feature-image--many, 
    .feature-image--voice {
        width: 100%;
        height: 220px;
        margin: 0 0 24px 0;
        background-size: contain;
        background-repeat: no-repeat;
        margin-top: 80px;
    }
    .feature-image--chat {
        width: 100%;           
        max-width: 320px;     
        height: 220px;
        margin: 0 auto 24px auto; 
        display: block;       
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    .feature-text, .feature-text2 {
        width: 100%;
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    .hero-buttons {
        flex-direction: column; 
        width: 100%; 
    }
    .feature-description {
        text-align: justify; 
        margin: 0 auto;
        max-width: 90vw;   
        font-size: 16px;
    }
    .feature-title, .feature-title2 {
        text-align: left !important;
    }

}