body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: #333;
    background-color: #f2f2f2;
}

/* ====== NAV ====== */
nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #0A74DA;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav .logo {
    font-size: 1.8rem;
    font-weight: 700;
}

#ancoras-nav {
    display: flex;
    gap: 3rem;
}

#ancoras-nav a:hover {
    text-decoration: underline;
}

/* ====== HERO ====== */
.hero {
    background: url('./assets/imagens/fundo.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    color: black;
    text-align: center;
}

.hero h1, .hero a {
    position: relative;
    z-index: 1;
}

.btn {
    background-color: #00A896;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background-color: #028C7A;
    transform: translateY(-3px);
}

/* ====== SOBRE NÓS ====== */
#sobre-nos {
    width: 90%;
    margin: 5rem auto;
    text-align: center;
}

.grid-sobre {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

#escola {
    width: 100%;
    border-radius: 10px;
}

/* ====== DESTAQUES ====== */
#destaques {
    text-align: center;
    margin-bottom: 5rem;
}

#cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem auto;
    width: 80%;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    width: 280px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card i {
    font-size: 2.5rem;
    color: #0A74DA;
    margin-bottom: 1rem;
}

/* ====== CURSOS ====== */
.cursos {
    width: 90%;
    margin: 5rem auto;
    text-align: center;
}

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

.curso-card {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.curso-card i{
    width: 100%;
    color: #0A74DA;
    font-size: 2rem;
}

.curso-card button {
    background-color: #0A74DA;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.curso-card button:hover {
    background-color: #085EB3;
}

/* ====== CONTATO ====== */
.contato {
    text-align: center;
    margin: 5rem auto;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 40%;
    margin: auto;
}

input, textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

button {
    background-color: #00A896;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #028C7A;
}

/* ====== FOOTER ====== */
footer {
    background-color: #0A74DA;
    color: white;
    text-align: center;
    padding: 1rem;
}

footer .social a {
    color: white;
    margin: 0 10px;
}

/* ====== RESPONSIVO ====== */
@media (max-width: 768px) {
    .grid-sobre {
        grid-template-columns: 1fr;
    }

    form {
        width: 90%;
    }

    #ancoras-nav {
        flex-direction: column;
        gap: 1rem;
    }
}
