/* ---------------------------------------------------------
   ESTILO DA PÁGINA DE DETALHES DO PROJETO
   --------------------------------------------------------- */


/* Fundo geral da página */

body {
    background: #f5f7fa;
}


/* --------------------- BANNER DO PROJETO --------------------- */

.detalhes-header {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    margin-top: 0;
    /* Mantém alinhado ao header */
}

.detalhe-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}


/* Texto sobre o banner */

.detalhes-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    width: 80%;
    max-width: 900px;
}

.detalhes-overlay h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.detalhes-overlay p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
}


/* --------------------- ÁREA DO CONTEÚDO --------------------- */

.detalhes-conteudo.container {
    background: #ffffff;
    padding: 50px 50px;
    margin: 60px auto;
    border-radius: 16px;
    box-shadow: 0 6px 26px rgba(0, 0, 0, 0.08);
    max-width: 1100px;
}

.detalhes-conteudo p {
    font-size: 18px;
    color: #444444;
    line-height: 1.75;
    margin-bottom: 22px;
}


/* Títulos dentro do conteúdo */

.detalhes-conteudo h2,
.detalhes-conteudo h3 {
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #333333;
}

.detalhes-conteudo h2 {
    font-size: 30px;
}

.detalhes-conteudo h3 {
    font-size: 24px;
}


/* Links dentro do texto */

.detalhes-conteudo a {
    color: #cb2525;
    font-weight: 600;
    text-decoration: underline;
}

.detalhes-conteudo a:hover {
    color: #a81e1e;
}


/* --------------------- RESPONSIVIDADE --------------------- */

@media (max-width: 900px) {
    .detalhes-overlay h1 {
        font-size: 32px;
    }
    .detalhes-overlay p {
        font-size: 16px;
    }
    .detalhes-conteudo.container {
        padding: 30px;
        margin: 40px 20px;
    }
}