:root {
    --azul-escuro: #002850;
    --azul-claro: #eef6ff;
    --amarelo: #ffd000;
    --texto: #2d3436;
    --branco: #ffffff;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--azul-claro);
    color: var(--texto);
    line-height: 1.6;
}

/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--azul-escuro);
    padding: 1rem 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    color: white;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
}

.logo span {
    color: var(--amarelo);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--amarelo);
}

.botao-mobile {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ================= CARROSSEL ================= */
.main-slider {
    height: 450px;
    width: 100%;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--amarelo);
    font-weight: 600;
}

.badge {
    background: var(--amarelo);
    color: var(--azul-escuro);
    padding: 6px 15px;
    font-weight: 800;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 10px;
}

/* SETAS */
.swiper-button-next,
.swiper-button-prev {
    color: var(--amarelo) !important;
}

.swiper-pagination-bullet-active {
    background: var(--amarelo) !important;
}

/* ================= LAYOUT ================= */
.content-wrapper {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    padding: 50px 8%;
}

.title-border {
    border-left: 8px solid var(--amarelo);
    padding-left: 15px;
    margin-bottom: 30px;
    color: var(--azul-escuro);
}

/* ================= CARDS ================= */
.static-card {
    background: var(--branco);
    display: flex;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.static-card:hover {
    transform: translateY(-4px);
}

/* ✔ IMAGEM PROFISSIONAL (CORREÇÃO FINAL) */
.card-img {
    width: 40%;
    height: 420px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.card-body {
    padding: 30px;
    width: 60%;
}

.tag {
    background: var(--azul-claro);
    color: var(--azul-escuro);
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.card-body h4 {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ================= FOOTER ================= */
.footer-simple {
    background: #001a35;
    color: white;
    padding: 40px 8%;
}

.flex-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 900px) {

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .static-card {
        flex-direction: column;
    }

    .card-img {
        width: 100%;
        height: 300px;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .botao-mobile {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #002850;
        flex-direction: column;
        width: 220px;
        padding: 20px;
        display: none;
    }

    .nav-links.active {
        display: flex;
        font-size: large;
        gap: 20px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .card-img{
        width: 75%;
        margin: auto;
        border-radius: 5px;
        margin-bottom: 5px;
        margin-top: 5px;
        background-size: cover;
    }

    .projetosassociacao{
        text-align: center;
    }

    .card-body{
        text-align: center;
        width: 100%;
    }

}

@media (max-width: 420px) {

    html, body {
        overflow-x: hidden;
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }
}


/* so para tirar o sublinhado do link */
a{
    text-decoration: none;
}

.logo{
    color: white;
}

#subtitlecurso{
    font-weight: bold;
}