/* =========================================
   GALERIA LISTA - REFINADO
   Arquivo: static/css/core/lista_edicoes.css
   ========================================= */

.edicoes-section {
    padding: 6rem 1.5rem;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* --- HEADER --- */
.edicoes-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.portfolio-label {
    display: block;
    font-family: var(--body-font-family);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.titulo-galeria {
    font-family: var(--title-font-family);
    font-size: 3.5rem;
    color: var(--primary-color);
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
}

.subtitulo {
    font-family: var(--body-font-family);
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- GRID --- */
.grid-edicoes {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Colunas fixas no desktop */
    gap: 4rem 3rem;
    margin-bottom: 5rem;
}

/* --- CARD --- */
.card-edicao {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Imagem e Wrapper */
.wrapper-imagem {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-color: #e0e0e0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.img-link:hover .wrapper-imagem {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.wrapper-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.img-link:hover img {
    transform: scale(1.05); /* Zoom suave */
}

/* Overlay no Hover */
.overlay-hover {
    position: absolute;
    inset: 0;
    background-color: rgba(58, 22, 14, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-hover span {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 50px;
}

.img-link:hover .overlay-hover {
    opacity: 1;
}

/* Placeholder */
.placeholder-capa {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ddd;
    color: #999;
    font-weight: 900;
    font-size: 3rem;
    font-family: var(--title-font-family);
}

/* --- CONTEÚDO DO CARD --- */
.card-content h3 {
    font-family: var(--title-font-family);
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
}

.card-description {
    font-family: var(--body-font-family);
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

/* Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.tag-pill {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--body-font-family);
    text-transform: uppercase;
}

.tag-ano {
    background-color: var(--primary-color);
    color: white;
}

.tag-tema {
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

/* Link Ver Galeria */
.view-project-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 800;
    font-family: var(--body-font-family);
    font-size: 1rem;
    gap: 8px;
    transition: gap 0.2s ease;
}

.view-project-link::after {
    content: "→";
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.view-project-link:hover {
    gap: 12px;
    color: var(--secondary-color);
}

/* --- EMPTY STATE --- */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    color: var(--text-light);
}

.empty-state .material-symbols-outlined {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* --- FOOTER --- */
.edicoes-footer {
    text-align: center;
    margin-top: 2rem;
}

.btn-voltar-home {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-voltar-home:hover {
    background-color: var(--primary-color);
    color: white;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .titulo-galeria { font-size: 2.5rem; }
    
    .grid-edicoes {
        grid-template-columns: 1fr; /* 1 Coluna no Mobile */
        gap: 3rem;
    }

    .wrapper-imagem { aspect-ratio: 4/3; } /* Imagem mais "alta" no mobile */
}