    /* =========================
   WRAPPER
========================= */
    .projeto-wrapper {
        max-width: 1400px;
    }

    /* =========================
   CAROUSEL
========================= */
    .projeto-carousel {
        position: relative;
        box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
    }

    /* garante contexto correto */
    .carousel-inner {
        width: 100%;
    }

    .carousel-item {
        position: relative;
        text-align: center;
    }

    /* IMAGEM */
    .projeto-img {
        max-height: 620px;
        width: 100%;
        object-fit: contain;
        background: #000;
        display: block;
        margin: auto;

        /* CRÍTICO: não bloquear clique dos botões */
        pointer-events: none;
    }

    /* =========================
   BOTÃO EXPANDIR IMAGEM
========================= */
    .img-expand-btn {
        position: absolute;
        top: 12px;
        right: 12px;

        width: 38px;
        height: 38px;

        border: none;
        border-radius: 10px;

        background: rgba(0, 0, 0, .6);
        color: #fff;

        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;

        cursor: pointer;
        transition: .25s;

        pointer-events: auto;
        z-index: 40;
    }

    .carousel-item:hover .img-expand-btn {
        background-color: #480101;
        border: 1px solid #fff;
    }

    /* =========================
   CONTROLES DO CAROUSEL
========================= */
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
        z-index: 30;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        filter: drop-shadow(0 0 6px rgba(0, 0, 0, .8));
    }

    /* =========================
   INFO PROJETO
========================= */
    .info-col {
        position: relative;
        z-index: 10;
    }

    .project-title {
        font-size: clamp(2.4rem, 4vw, 3.6rem);
        font-weight: 800;
        text-transform: uppercase;
        position: relative;
    }

    .project-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -12px;
        width: 90px;
        height: 4px;
        background: linear-gradient(90deg, #6f42c1, #0dcaf0);
    }

    .project-description {
        margin-top: 1.5rem;
        color: #d1d1d1;
        line-height: 1.7;
    }

    .project-tech-title {
        margin-top: 2.5rem;
        font-weight: 600;
        text-transform: uppercase;
        color: #bfbfbf;
    }

    .tecnologias {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .tech-badge {
        padding: 7px 14px;
        font-size: .75rem;
        border-radius: 999px;
        background: rgba(0, 0, 0, .7);
        border: 1px solid rgba(255, 255, 255, .15);
    }

    /* =========================
   BOTÃO JOGAR
========================= */
    .btn-center {
        display: flex;
        justify-content: center;
    }

    #jogarAgora {
        display: inline-flex;
        align-items: center;
        gap: 6px;

        padding: 10px 22px;
        font-size: .85rem;
        font-weight: 600;

        color: #0dcaf0;
        text-decoration: none;

        border-radius: 999px;
        border: 1px solid rgba(13, 202, 240, .6);
        background: rgba(13, 202, 240, .08);

        transition: .25s;
    }

    #jogarAgora:hover {
        background: rgba(13, 202, 240, .25);
        color: #fff;
        box-shadow: 0 6px 16px rgba(13, 202, 240, .35);
    }

    /* =========================
   MODAL IMAGEM
========================= */
    .btn-close-modal {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1056;

        width: 44px;
        height: 44px;

        border-radius: 50%;
        border: none;

        background: rgba(0, 0, 0, 0.75);
        color: #fff;

        font-size: 1.3rem;
        font-weight: 600;

        display: flex;
        align-items: center;
        justify-content: center;

        cursor: pointer;
        transition: all 0.25s ease;
    }

    .btn-close-modal:hover {
        background: rgba(13, 202, 240, 0.9);
        color: #000;
        transform: scale(1.05);
    }

    .modal-img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    /* =========================
   MOBILE AJUSTES
========================= */
    @media (max-width: 991px) {

        .carousel-control-prev,
        .carousel-control-next {
            width: 15%;
        }
    }

    @media (max-width: 768px) {

        .project-title,
        .project-tech-title,
        .project-description {
            text-align: center;
        }

        .project-title::after {
            left: 50%;
            transform: translateX(-50%);
        }

        .tecnologias {
            justify-content: center;
        }

        .projeto-img {
            max-height: 360px;
        }

        .modal-img {
            width: 100%;
            height: 100%;
            max-width: 100vw;
            max-height: 100vh;
            object-fit: contain;
        }
    }