.box-projetos {
    width: min(1100px, 90%);
    margin: 5rem auto 0;
}

.projetos-heading {
    max-width: 650px;
    margin-bottom: 2.5rem;
}

.projetos-heading > span {
    display: inline-block;
    margin-bottom: 12px;
    color: #00AECA;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.projetos-heading h3 {
    margin: 0 0 14px;
    color: #F1F5F9;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.projetos-heading p {
    margin: 0;
    color: #9BA8B8;
    font-size: 15px;
    line-height: 1.7;
}

.projetos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.projeto {
    min-width: 0;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(0, 175, 202, 0.12) 0%,
        var(--primary-color) 35%,
        var(--primary-color) 70%,
        rgba(52, 82, 255, 0.08) 100%
    );
    border: 1px solid rgba(74, 122, 173, 0.45);
    border-radius: 14px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: 0.3s ease;
}

.projeto:hover {
    transform: translateY(-6px);
    border-color: var(--tertiary-color);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(100, 60, 255, 0.12);
}

.projeto-imagem {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #0A121E;
    border-bottom: 1px solid rgba(74, 122, 173, 0.35);
}

.projeto-imagem::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5, 12, 22, 0.65),
        transparent 55%
    );
    pointer-events: none;
}

.projeto-imagem img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.projeto:hover .projeto-imagem img {
    transform: scale(1.05);
}

.projeto-status {
    position: absolute;
    z-index: 1;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid rgba(0, 174, 202, 0.35);
    border-radius: 6px;
    background: rgba(5, 12, 22, 0.78);
    color: #D8F8FF;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.projeto-status i {
    color: #00AECA;
    font-size: 13px;
}

.projeto-conteudo {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
}

.projeto-categoria {
    width: fit-content;
    padding: 5px 10px;
    border-radius: 5px;
    background: linear-gradient(90deg, #283F9B, #5A39C9);
    color: #D9DCFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.projeto-conteudo h4 {
    margin: 0;
    color: #F2F4F8;
    font-size: 1.35rem;
    font-weight: 700;
}

.projeto-conteudo p {
    min-height: 78px;
    margin: 0;
    color: #B7C0CC;
    font-size: 14px;
    line-height: 1.7;
}

.projeto-tecnologias {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.projeto-tecnologias img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.projeto-tecnologias img:hover {
    transform: translateY(-3px) scale(1.08);
    filter: brightness(1.15);
}

.projeto-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid rgba(74, 122, 173, 0.25);
}

.projeto-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #B7C0CC;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.projeto-links a:hover {
    color: #00AECA;
}

.projeto-links a i {
    font-size: 16px;
}

@media (max-width: 800px) {
    .projetos {
        grid-template-columns: 1fr;
    }

    .projeto-conteudo p {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .box-projetos {
        width: 90%;
    }

    .projeto-imagem {
        height: 210px;
    }

    .projeto-conteudo {
        padding: 20px;
    }

    .projeto-conteudo h4 {
        font-size: 1.2rem;
    }
}