.parallax-wrapper {
    width: 70%;
    margin: 0 auto;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
    margin-top: 225px;
}

.parallax-section {
    background-image: url('/images/IMG_OBRAS_1200_563.png');
    min-height: 300px;
    width: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: zoomInParallax 1.5s ease-out forwards;
    transform: scale(0.9);
    opacity: 0;
}

.parallax-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 400px;
    padding-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.parallax-section h2{
    /* font-size: 3rem; */
    background-color: rgba(216, 216, 216, 0.6); 
    color: rgb(41, 41, 41); 
    display: inline-block;
    padding: 0.3em 0.8em;
    border-radius: 5px;
    margin: 0 auto;
}

.parallax-section p{
    /* font-size: 24px; */
    background-color: rgba(216, 216, 216, 0.6); 
    color: rgb(41, 41, 41); 
    padding: 0.3em 0.8em;
    border-radius: 5px;
    margin: 0 auto;
}

.painelObras{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.conteudoObras{
    display: contents;
    align-items: center;
}

.textoObras{
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    width: 30%;
    word-wrap: break-word;
    padding-top: 50px;
    max-width: 30%;
}

.textoObras p{
    font-size: 18px;
    color: #727171;
}

.carrossel-container {
    display: flex;
    width: 100%;
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    overflow: hidden;
}

.foto {
    flex: 0 0 80%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    transition: background-image 0.5s ease-in-out;
    max-width: 1000px;
    position: relative; 
}

.faixa-nome-obra {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.5); /* cinza escuro translúcido */
    color: #ffffff;
    padding: 6px 14px;
    font-size: 14px;
    font-style: italic;
    font-family: Calibri, sans-serif;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 10;
}

.info {
    flex: 0 0 22%;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
    max-width: 250px;
    background-color: #fcfcfc;
    border-left: 1px solid #ddd;

}

.info-item {
    display: flex;
    flex-direction: column;
    width: 90%;
    word-wrap: break-word;
    max-width: 90%; /* força quebra para até 3 linhas aprox. */
    margin-bottom: 8px;
}

.label {
    font-size: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #696969;
    font-weight: bold;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.nome{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.valor,
.tempo,
.nome,
.descricao {
    font-size: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #4a4a4a;
    line-height: 1.5; /* melhora a leitura */
    text-align: justify;

    max-height: 200px;     /* altura máxima visível */
    overflow-y: auto;      /* scroll vertical automático */
    padding-right: 0;    /* espaço pro scroll não encobrir texto */

}

.controles {
    text-align: center;
    margin-top: 10px;
}

.controles button {
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 16px;
}

.botao-seta {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    padding: 10px;
}

.botao-seta:hover {
    transform: scale(1.1);
}

@media(max-width:1200px){
    .carrossel-container{
        display: block;
        max-width: 70%;
        align-items: center;
    }

    .info{
        max-width: 100%;
    }
}