:root {
    --kairos-azul: #2F40FA;
    --kairos-amarelo: #E89C24;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f9f9f9;
    margin: 0;
    padding: 0;
}

.galeria-detalhe-section {
    padding: 60px 20px;
    text-align: center;
}
.topo-detalhe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-voltar, .btn-compartilhar {
    background: var(--kairos-azul);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-voltar:hover, .btn-compartilhar:hover {
    background: #1c28b4;
}


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

.titulo-principal {
    font-size: 2.5rem;
    color: var(--kairos-azul);
    margin-bottom: 40px;
}

.galeria-detalhe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.galeria-detalhe-grid a img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s;
}

.galeria-detalhe-grid a img:hover {
    transform: scale(1.05);
}


.toast {
    visibility: hidden;
    min-width: 200px;
    background-color: var(--kairos-amarelo);
    color: white;
    text-align: center;
    border-radius: 30px;
    padding: 14px 24px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}

.toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from {bottom: 20px; opacity: 0;}
    to {bottom: 40px; opacity: 1;}
}

@keyframes fadeout {
    from {bottom: 40px; opacity: 1;}
    to {bottom: 20px; opacity: 0;}
}


/* Responsivo */
@media (max-width: 768px) {
    .btn-compartilhar {
        display: none;
    }
}