/* ============================================
   INDEX.HTML — página pública
   ============================================ */

/* Hero */
.hero {
    height: 100vh;
    width: 100%;
    max-width: 100% !important;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.9)), url('../img/banner.png');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #222;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.logo-central {
    width: 400px;
    max-width: 80%;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    cursor: pointer;
}
.logo-central:hover { transform: scale(1.05); filter: brightness(1.2); }

/* Seções padrão */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
h2 {
    border-left: 5px solid var(--dourado);
    padding-left: 15px;
    margin-bottom: 30px;
    font-size: 2em;
    margin-top: 0;
}

/* Sobre */
#sobre {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.8)), url('../img/banners/fundo-sobre.jpg') center / cover fixed;
    max-width: 100%;
    padding: 80px 20px;
}
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}
.slide-moldura {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    position: relative;
}
.slide-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
    opacity: 1;
}
.foto-invisivel { opacity: 0; }

/* Agenda */
#agenda {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.85)), url('../img/banners/fundo-agenda.jpg') center / cover fixed;
    max-width: 100%;
    padding-top: 100px;
}
.agenda-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding: 30px 10px;
    scroll-behavior: smooth;
}
.agenda-card {
    width: 18%;
    min-width: 200px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}
.agenda-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--dourado);
    z-index: 10;
}
.agenda-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.agenda-grid::-webkit-scrollbar { height: 8px; }
.agenda-grid::-webkit-scrollbar-thumb { background: #555; border-radius: 4px; }

/* Eventos */
#eventos {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.85)), url('../img/banners/fundo-eventos.jpg') center / cover fixed;
    max-width: 100%;
    padding: 80px 20px;
}
.eventos-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    width: 100%;
    padding: 40px 5%;
    scroll-behavior: smooth;
    max-width: 1300px;
}
.evento-card {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: 0.3s;
    color: #fff;
    flex-shrink: 0;
}
.evento-card:hover {
    transform: translateY(-10px);
    border-color: var(--dourado);
    background: rgba(255, 255, 255, 0.15);
}
.data-evento {
    color: var(--dourado);
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.evento-card h3 {
    margin: 10px 0;
    font-size: 1.6em;
    line-height: 1.2;
    border: none;
    padding: 0;
}
.eventos-container::-webkit-scrollbar { height: 8px; }
.eventos-container::-webkit-scrollbar-thumb { background: var(--dourado); border-radius: 4px; }

/* Contato */
#contato {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.8)), url('../img/banners/fundo-contato.jpg') center / cover fixed;
    max-width: 100%;
    padding: 80px 20px;
}
.contato-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1100px;
}
.caixa-vidro {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
input, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid #555;
    color: #fff;
    border-radius: 5px;
    font-family: inherit;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--dourado);
    background-color: rgba(255,255,255,0.2);
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 { font-size: 2em; }
    .logo-central { margin-bottom: 50px; }

    .sobre-grid { grid-template-columns: 1fr; gap: 30px; }
    .texto-sobre { order: 1; text-align: center; }
    .texto-sobre h2 {
        border-left: none;
        border-bottom: 2px solid var(--dourado);
        display: inline-block;
        padding: 0 0 10px 0;
    }
    .slide-moldura { order: 2; height: 250px; }

    .agenda-grid, .eventos-container {
        justify-content: flex-start;
        padding-left: 20px;
        padding-right: 20px;
    }
    .agenda-card, .evento-card { min-width: 80vw; max-width: 80vw; }

    .contato-container { flex-direction: column; }
    #contato h3, .caixa-vidro p { word-break: break-word; }

    iframe { height: 300px; border-radius: 10px; }
}
