/* =========================
   HERO PROJETO
========================= */

.hero-projeto {
    position: relative;
    height: 60vh;
    margin-top: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-projeto .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}


/* =========================
   FICHA TÉCNICA
========================= */

.ficha-tecnica {
    background: #2E7D32;
    color: white;
    padding: 40px 20px;
}

.ficha-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ficha-grid div strong {
    display: block;
    margin-bottom: 5px;
}


/* =========================
   SEÇÕES
========================= */

.secao-projeto {
    padding: 80px 20px;
}

.secao-projeto h2 {
    color: #2E7D32;
    margin-bottom: 20px;
}

.secao-projeto p,
.secao-projeto ul {
    color: #555;
    line-height: 1.7;
}

.secao-projeto ul {
    padding-left: 20px;
}

.bg-light {
    background: #f4f6f5;
}


/* =========================
   BOTÃO VOLTAR
========================= */

.voltar-projetos {
    padding: 60px 20px;
    text-align: center;
}

.btn-voltar {
    padding: 10px 25px;
    background: #2E7D32;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
}

.btn-voltar:hover {
    background: #1B5E20;
}


/* =========================
   GALERIA
========================= */

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.galeria-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s ease;
}

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


/* RESPONSIVO */

@media (max-width: 1024px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .galeria-img {
        height: 200px;
    }
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 1024px) {
    .ficha-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .hero-projeto {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .ficha-grid {
        grid-template-columns: 1fr;
    }

    .secao-projeto {
        padding: 60px 20px;
    }
}


/* =========================
   LIGHTBOX
========================= */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

.video-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
margin-top:20px;
margin-bottom:40px;
}

.video-box iframe{
width:100%;
height:315px;
border-radius:8px;
border:none;
}

.video-box h4{
margin-bottom:10px;
font-weight:600;
}

