﻿.projetos {
    color: #fff;
    margin-top: 100px;
    margin-bottom: 100px;
}

    .projetos h2 {
        color: #fff !important;
    }

.projetos-header {
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

    .projetos-header h2 {
        margin-bottom: 20px;
    }

.projeto-container {
    background: #20222b;
    width: 100%;
    display: flex;
    margin: 0 auto;
    margin-top: 150px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform;
}

    .projeto-container.visivel {
        opacity: 1;
        transform: translateY(0);
    }

/* RESPEITAR preferências de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    .projeto-container {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

.projeto {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
    margin-bottom: 100px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    min-height: 200px;
}

.projeto-img {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    margin-top: -60px;
    margin-bottom: -60px;
    background-color: #20222b;
    border-radius: 8px;
}

    .projeto-img img {
        width: 520px;
        max-width: 100%;
        border-radius: 8px;
        border-color: #20222b;
        box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    }

.projeto-info {
    flex: 1;
    position: relative;
    z-index: 1;
    padding: 40px 0;
}

    .projeto-info h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 15px;
    }

.projeto-footer {
    margin-top: 140px;
    text-align: center;
}

@media (max-width: 780px) {
    .projetos-header,
    .projeto-info {
        margin: 0 20px 0 20px;
    }

    .projeto {
        flex-direction: column;
    }

    .projeto-img img {
        width: 320px;
    }
}

/* Fundo escuro */
.modal {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Caixa do conteúdo */
.modal-content {
    background: #20222b !important;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.4s ease;
}

/* Animação */
@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Botão fechar */
.close-btn {
    float: right;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
}

    .contato .titulo {
        font-size: 32px;
        margin-left: 30px;
        color: #fff;
    }

    .contato .titulo-1 {
        font-size: 32px;
        margin-left: 30px;
        color: #fff;
        margin-top: 30px;
    }

    .contato .sub-titulo {
        font-size: 18px;
        margin-left: 30px;
        color: #787b82;
    }

    .contato .sub-titulo-1 {
        font-size: 18px;
        margin-left: 30px;
        color: #787b82;
    }

    .contato input[type="email"],
    .contato input[type="tel"],
    .contato textarea {
        width: 100%;
        background-color: transparent;
        border: 1px solid #787b82;
        color: #787b82;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 16px;
        outline: none;
    }

        .contato input::placeholder,
        .contato textarea::placeholder {
            color: #787b82;
            opacity: 1;
        }

    .contato .btn-gradient-border {
        width: 100%;
    }
