/* --- RESET BÁSICO --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f4f4f4;
    color: #000;
    height: 100vh;
    overflow: hidden;
}

a { text-decoration: none; color: inherit; transition: opacity 0.2s; }
a:hover { text-decoration: underline; }

/* --- GRID PRINCIPAL --- */
.site-container {
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    height: 100%;
}

/* --- COLUNA ESQUERDA --- */
.coluna-esquerda {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}
.logo a { font-size: 1.4rem; font-weight: bold; letter-spacing: -1px; text-decoration: none; }

/* Ícones Sociais (DESKTOP) */
.social-links {
    display: flex;
    gap: 15px; 
    margin-top: 20px;
}
.social-links a { display: block; width: 24px; height: 24px; color: #000; }
.social-links a:hover { color: #555; }
.social-links svg { width: 100%; height: 100%; fill: currentColor; }

/* Botão Mobile */
#btn-mobile {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #000;
}

/* --- COLUNA MEIO (FEED) --- */
.coluna-meio {
    background: white;
    overflow-y: scroll;
    padding: 60px 0; /* Mantém o respiro no teto e no chão */
    display: block; /* Mudei de flex para block (mais seguro pra scroll) */
}
.coluna-meio::-webkit-scrollbar { width: 0px; background: transparent; }

/* ARTES (FEED) */
.post-arte {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 0 20px;
    
    /* AQUI ESTÁ A MÁGICA: */
    /* Cada arte empurra a próxima 150px para baixo */
    margin-bottom: 80px; 
}

/* Tira a margem da última arte pra não ficar um buraco gigante no final */
.post-arte:last-child {
    margin-bottom: 0;
}

.post-arte img { width: 100%; height: auto; display: block; transition: opacity 0.2s; }
.post-arte img:hover { opacity: 0.9; }

/* LEGENDAS */
.info-container {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.8rem;
}
.info-esq h2 { font-size: 0.95rem; font-weight: normal; margin-bottom: 4px; }
.info-esq p { color: #666; font-size: 0.7rem; }
.info-dir span, .botao-link {
    background: #eee; padding: 4px 8px; border-radius: 4px; font-size: 0.65rem; white-space: nowrap;
}
.botao-link { cursor: pointer; border: 1px solid transparent; }
.botao-link:hover { background: #ddd; border-color: #ccc; text-decoration: none; }

/* LINK CATEGORIA (FINA) */
.link-categoria-feed {
    display: block;
    font-weight: normal;
    margin-top: 8px;
    font-size: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    color: #000;
}
.link-categoria-feed:hover { text-decoration: underline; }

/* --- PÁGINA ABOUT ME (DIAGRAMAÇÃO CORRETA) --- */
.conteudo-sobre {
    width: 100%;
    max-width: 850px; /* Limite de largura */
    margin: 0 auto;
    /* Respiro lateral (padding) */
    padding: 0 40px; 
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: justify;
}

.conteudo-sobre h2 {
    font-size: 1rem;
    margin-bottom: 30px;
    font-weight: bold;
}

/* FOTO DO ABOUT */
.img-sobre {
    float: left; /* Flutua à esquerda */
    width: 200px; /* Tamanho fixo desktop */
    height: auto;
    margin-right: 30px; /* Espaço pro texto */
    margin-bottom: 10px;
    display: block;
}

.conteudo-sobre p { margin-bottom: 20px; }

/* --- PLAYER DE MÚSICA --- */
.audio-card {
    display: flex;
    flex-direction: row; 
    width: 100%;
    max-width: 650px; 
    aspect-ratio: 2 / 1; 
    background-color: #e5e5e5;
    margin: 0 auto;
    overflow: hidden; 
}
.audio-card img.audio-capa {
    width: 50% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    margin: 0; padding: 0;
}
.audio-interface {
    width: 50%; height: 100%;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    position: relative; padding: 0;
}
.btn-play-pause {
    background: transparent; border: none; cursor: pointer;
    width: 60px; height: 60px;
    display: flex; justify-content: center; align-items: center;
    padding: 0; margin-bottom: 20px; z-index: 10;
}
.icon-play, .icon-pause {
    width: 40px !important; height: 40px !important;
    fill: black; display: block;
}
.barra-container {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 25px; 
    cursor: pointer; background-color: #ccc; z-index: 10;
    display: flex; align-items: flex-end;
}
.barra-fundo { width: 100%; height: 100%; position: relative; }
.barra-progresso { width: 0%; height: 100%; background-color: #555; transition: width 0.1s linear; }
.tempo-audio {
    position: absolute; bottom: 30px; right: 15px;
    font-size: 0.75rem; font-family: 'Courier New', Courier, monospace; color: #000;
}

/* --- COLUNA DIREITA (MENU) --- */
.coluna-direita {
    background-color: #e5e5e5;
    padding: 40px;
    font-size: 0.85rem;
    overflow-y: auto;
}
.coluna-direita ul { list-style: none; }
.coluna-direita li { margin-bottom: 10px; }

#btn-fechar-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #000;
    position: absolute;
    top: 25px; 
    left: 20px;
}

.menu-all { display: block; margin-bottom: 25px; }
.ativo-bold { font-weight: bold; }
.separador { height: 1px; background: #bbb; margin: 30px 0; width: 100%; }

.social-mobile-menu { display: none; }

/* --- FULLSCREEN OVERLAY --- */
#fullscreen-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.95); z-index: 5000;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.3s ease;
}
.escondido { display: none !important; }

.btn-fechar {
    position: absolute; top: 20px; right: 20px;
    background: white; border: none; padding: 10px 20px;
    font-family: inherit; font-weight: bold; cursor: pointer; z-index: 5002;
}

.fullscreen-track {
    width: 100%; height: 100%;
    overflow-y: scroll; scroll-snap-type: y mandatory;
}
.fullscreen-track::-webkit-scrollbar { width: 0; background: transparent; }

.fullscreen-item {
    width: 100%; height: 100vh;
    display: flex; justify-content: center; align-items: center;
    scroll-snap-align: start; padding: 20px;
}
.fullscreen-item img { max-width: 100%; max-height: 95vh; object-fit: contain; }

.seta-cima, .seta-baixo {
    position: absolute; left: 50%; transform: translateX(-50%);
    color: white; font-size: 2rem; 
    pointer-events: auto; cursor: pointer; padding: 10px;
    z-index: 5001;
    animation: piscar 2s infinite;
    transition: transform 0.2s;
}
.seta-cima:active, .seta-baixo:active { transform: translateX(-50%) scale(0.8); }
.seta-cima { top: 10px; }
.seta-baixo { bottom: 10px; }
@keyframes piscar { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* --- PÁGINA INTERVIEWS (COM RESPIRO) --- */
.conteudo-interviews {
    width: 100%;
    max-width: 650px; 
    margin: 0 auto;
    /* AQUI ESTÁ A SOLUÇÃO: 40px de respiro nas laterais */
    padding: 0 40px; 
    display: none; /* Começa escondido, o JS que mostra */
}

.post-interview {
    margin-bottom: 100px; /* Espaço entre entrevistas */
    width: 100%;
    display: flex;
    flex-direction: column;
}

.post-interview h2 {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase; /* Deixa em caixa alta igual seu print */
    margin-bottom: 5px;
    text-align: left;
}

.post-interview p {
    font-size: 0.8rem;
    color: #000;
    margin-bottom: 20px; /* Espaço antes do vídeo/embed */
    text-align: left;
    font-family: 'Courier New', Courier, monospace;
}

/* Ajuste para embeds (Instagram/Youtube) ficarem centralizados */
.instagram-media {
    margin: 0 auto !important;
}

/* --- MOBILE --- */
@media (max-width: 900px) {
    body { overflow: auto; }
    .site-container { display: block; }

    /* Header Fixo */
    .coluna-esquerda {
        position: fixed; top: 0; left: 0; width: 100%;
        padding: 20px; border-bottom: 1px solid #ddd;
        flex-direction: row; align-items: center;
        background-color: #f4f4f4; z-index: 1000; 
    }
    .header-top { display: flex; width: 100%; justify-content: space-between; align-items: center; }

    .social-links { display: none; } 
    #btn-mobile { display: block; }

    /* MENU MOBILE (CÓDIGO SEGURO COM REFORÇO) */
    .coluna-direita {
        position: fixed; top: 0; left: 0; width: 100%; 
        height: 100vh; /* Fallback */
        height: 100dvh; 
        background: #e5e5e5; z-index: 1001;
        display: none; 
        padding-top: 80px; 
        text-align: center;
    }
    
    /* ADICIONEI !IMPORTANT AQUI PARA GARANTIR QUE ABRA */
    .coluna-direita.aberto { 
        display: flex !important; 
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
    }
    
    #btn-fechar-menu { display: block; }

    /* Ícones com margem segura */
    .social-mobile-menu {
        display: flex; gap: 15px; margin-top: auto; 
        padding-bottom: 120px; 
    }
    .social-mobile-menu a { display: block; width: 24px; height: 24px; color: #000; }
    .social-mobile-menu svg { width: 100%; height: 100%; fill: currentColor; }

    /* Feed com margem do topo para o header fixo */
    .coluna-meio { 
        padding: 40px 0; 
        margin-top: 80px; 
        margin-bottom: 80px;
    }

    /* ABOUT NO MOBILE */
    .conteudo-sobre {
        padding: 0 25px; /* Margem lateral menor no celular */
    }
    
    .img-sobre {
        float: none;
        display: block;
        width: 100% !important;
        max-width: 300px;
        margin: 0 auto 30px auto;
    }

    .info-container { flex-direction: column; gap: 10px; }

    /* --- PÁGINA INTERVIEWS --- */
.conteudo-interviews {
    width: 100%;
    max-width: 650px; /* Mesma largura do feed de arte */
    margin: 0 auto;
    padding: 0 40px;
    display: none; /* Começa escondido */
}

.post-interview {
    margin-bottom: 150px; /* Mesmo espaçamento do seu feed */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza os embeds */
}

.post-interview h2 {
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: left;
    width: 100%;
}

.post-interview p {
    font-size: 0.75rem;
    color: #666;
    text-align: left;
    width: 100%;
    margin-bottom: 10px;
}

/* Ajuste para embeds do Instagram ficarem centralizados */
.instagram-media {
    margin: 0 auto !important;
}

/* Ajuste Mobile */
@media (max-width: 900px) {
    .conteudo-interviews {
        padding: 0 25px; /* Respiro seguro no celular */
    }
    .post-interview {
        margin-bottom: 80px; /* Mesmo do feed mobile */
    }
    
}
}
/* --- PÁGINA EXHIBITIONS --- */
.conteudo-exhibitions {
    width: 100%;
    max-width: 800px; /* Largura um pouco maior pra caber as 3 fotos */
    margin: 0 auto;
    padding: 0 40px; /* Respiro lateral */
    display: none; /* Começa escondido */
}

.post-exhibition {
    margin-bottom: 120px; /* Espaço entre uma exposição e outra */
    width: 100%;
    border-bottom: 1px solid #ccc; /* Uma linha fina separando (opcional, fica chic) */
    padding-bottom: 60px;
}

.post-exhibition:last-child {
    border-bottom: none;
}

.post-exhibition h3 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-exhibition p {
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: justify;
}

/* --- A GALERIA DE IMAGENS (DESKTOP - 3 COLUNAS) --- */
.galeria-exhibitions {
    display: grid; 
    grid-template-columns: 1fr 1fr; /* Cria 3 colunas iguais */
    gap: 15px;
    width: 100%;
    margin-bottom: 20px;
}

.galeria-exhibitions img {
    /* A imagem agora obedece a largura da COLUNA do grid, não da tela */
    width: 100%; 
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.galeria-exhibitions img:hover {
    opacity: 0.8;
}

/* --- LINK "X Post" --- */
.link-exhibition {
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: underline;
    color: #000;
    cursor: pointer;
    display: inline-block;
}
.link-exhibition:hover {
    background-color: #000;
    color: #fff;
    text-decoration: none;
    padding: 2px 5px;
}

/* AJUSTE MOBILE */
@media (max-width: 900px) {
    .conteudo-exhibitions {
        padding: 0 25px;
    }
    
    .galeria-exhibitions {
        /* Muda para 2 colunas no celular */
        grid-template-columns: 1fr 1fr; 
    }

    .galeria-exhibitions img {
        height: 180px; /* Altura menor para celular */
    }

}