/* ========================================
   ESTILOS DA SEÇÃO O ESPAÇO
   ======================================== */
.espaco {
    padding: 50px 20px;
    background-color: var(--bg-primary);
    font-family: 'Merriweather', serif;
    position: relative;
    background-image: url('../img/logo2.webp');
    background-repeat: no-repeat;
    background-position: -130px;
    background-size: 55%;
    margin-left: -20px;
}

.titulo-interno {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-warm);
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Merriweather', serif;
}

.titulo {
    font-size: 2.2rem;
    color: var(--accent-warm);
    text-align: center;
    font-family: 'Merriweather', serif;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px var(--shadow-light);
    position: relative;
    z-index: 1;
    padding-bottom: 10px;
}

.container-espaco {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.culuna-esquerda {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.img-esquerda {
    width: 15rem;
}

.coluna-central {
    display: flex;
    width: 78%;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 20px;
    overflow: visible;
}

.img-central {
    width: 47rem;
}

.culuna-direita {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.img-direita {
    width: 15rem;
}

.texto-central {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
}

.img-direita-1 {
    border-radius: 0 10px 0 0;
}

.img-direita-2 {
    border-radius: 0 0 10px 0;
}

.img-esquerda-1 {
    border-radius: 10px 0 0 0;
}

.img-esquerda-2 {
    border-radius: 0 0 0 10px;
}

.cards-espaco {
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
}

.card-central {
    flex-basis: calc(50% - 10px);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    background-color: var(--bg-card);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.4s ease-in-out;
}

.figcaption-espaco {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    padding: 10px;
    text-align: center;
    transform: translateY(115%);
    transition: transform 0.4s ease-in-out;
    backdrop-filter: blur(5px);
}

.card-central:hover .figcaption-espaco {
    transform: translateY(1%);
}