/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: Arial, sans-serif;
    background: #f4f5f7;
    color: #3C4047;
}

/* MENU */
.topo {
    background: #232E40;
    color: white;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    background: rgba(35, 46, 64, 0.95);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    font-weight: bold;
    font-size: 20px;
    color: #E2B05C;
}

.menu nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.3s;
}

.menu nav a:hover {
    background: #E2B05C;
    color: #232E40;
}

/* BANNER */
.banner {
    position: relative;
    text-align: center;
    padding: 80px 20px 60px;
    color: white;
    background: url('../img/logo.png') center/cover no-repeat;

}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(35, 46, 64, 0.65);
}

.banner h1,
.banner p {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 40px;
    margin-bottom: 8px;
    transform: translateY(-30px);
}

.banner h1 span {
    color: #E2B05C;
}

.banner p {
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    transform: translateY(-35px);
}

/* CONTAINER (menos agressivo para não cobrir o título) */
.container {
    display: flex;
    justify-content: center;
    margin-top: -80px; /* ajustado */
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* WRAPPER */
.content-wrapper {
    width: 100%;
    max-width: 1200px;
    padding-left: 40px; /* leve deslocamento pra direita */
}

/* LAYOUT PRINCIPAL */
.top-section {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 10px;
    align-items: start;
}

/* COLUNA DIREITA */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

/* CARD */
.card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    line-height: 1.7;
    border-top: 4px solid #E2B05C;
}

/* CARD PRINCIPAL */
.principal {
    text-align: justify;
    margin-top: -20px; /* ajustado para não cobrir o banner */
}

/* TEXTO */
.card p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #444;
}

/* HIGHLIGHT */
.highlight {
    color: #232E40;
    font-weight: 600;
}

/* TIMELINE HORIZONTAL */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: white;
    padding: 12px 15px;
    border-radius: 10px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);

    border-top: 3px solid #E2B05C;

    position: relative; /* IMPORTANTE */
}

/* LINHA CONECTANDO */
.timeline::before {
    content: "";
    position: absolute;
    top: 15px; /* altura da linha (ajuste fino se quiser) */
    left: 8%;
    right: 8%;
    height: 2px;
    background: #E2B05C;
    z-index: 0;
}

/* ITENS */
.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    flex: 1;
}

.timeline-item span {
    font-weight: bold;
    color: #E2B05C;
    font-size: 11px;
}

.timeline-item span::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background: #E2B05C;
    border-radius: 50%;
    margin: 0 auto 5px;
    box-shadow: 0 0 0 3px white;
    position: relative;
    z-index: 1; /* 👈 fica por cima da linha */
}

.timeline-item p {
    font-size: 11px;
}

/* GRID (direita) */
.grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* BOXES */
.box {
    background: white;
    padding: 14px 16px;
    border-radius: 10px;
    border-left: 4px solid #E2B05C;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: 0.3s;
}

.box:hover, .timeline:hover {
    transform: translateY(-3px);
}

.box h3 {
    margin-bottom: 4px;
    font-size: 13px;
}

.box p {
    font-size: 13px;
}

/* IMPACTO (mais fino) */
.impacto {
    text-align: center;
    margin-top: 20px;
    padding: 20px 25px;
}

.impacto p {
    font-size: 15px;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    /* MENU */
    .menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px 15px;
    }

    .menu nav {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu nav a {
        margin-left: 0;
        font-size: 14px;
    }

    /* BANNER */
    .banner {
        padding: 60px 15px 50px;
        z-index: 1;
    }

    .banner h1 {
        font-size: 28px;
        transform: none; /* remove deslocamento */
    }

    .banner p {
        font-size: 14px;
        transform: none; /* remove deslocamento */
    }

    /* CONTAINER */
    .container {
        margin-top: -40px; /* menos sobreposição */
        padding: 10px;
    }

    /* WRAPPER */
    .content-wrapper {
        padding-left: 0;
    }

    /* LAYOUT: vira coluna */
    .top-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* CARD PRINCIPAL */
    .principal {
        margin-top: 0;
        padding: 20px;
    }

    /* COLUNA DIREITA */
    .right-column {
        margin-top: 0;
    }

    /* TIMELINE: vira vertical */
    .timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }

    .timeline::before {
        display: none; /* remove linha horizontal */
    }

    .timeline-item {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .timeline-item span::before {
        margin: 0;
    }

    /* GRID */
    .grid {
        gap: 10px;
    }

    /* BOX */
    .box {
        text-align: left;
        padding: 15px;
    }

    /* CARD */
    .card {
        padding: 20px;
    }

    /* IMPACTO */
    .impacto {
        padding: 15px;
    }
    body {
        -webkit-font-smoothing: antialiased;
    }
    .card, .box, .timeline {
        transition: all 0.2s ease;
    }
}

/* FOTOS */
.fotos-placeholder {
    text-align: center;
    padding: 60px 30px;
}

.fotos-content {
    max-width: 500px;
    margin: 0 auto;
}

.icone {
    font-size: 50px;
    margin-bottom: 15px;
    animation: float 2s ease-in-out infinite;
}

.fotos-placeholder h2 {
    margin-bottom: 10px;
    color: #232E40;
}

.fotos-placeholder p {
    font-size: 16px;
    color: #555;
}
.foto {
    background: #e5e5e5;
}

.em-breve {
    margin-top: 15px;
    font-weight: bold;
    color: #E2B05C;
    font-size: 18px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

/* ===================== */
/* EVENTOS */
/* ===================== */

/* TITULO */


/* GRID EVENTOS */
.eventos-grid {
    text-align: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* CARD EVENTO */
.evento-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;

    border-left: 4px solid #E2B05C;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);

    transition: 0.3s;
}

.evento-card:hover {
    transform: translateY(-5px);
}

.evento-card h3 {
    margin-bottom: 10px;
}

.evento-card p {
    font-size: 14px;
    color: #555;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .eventos-grid {
        grid-template-columns: 1fr;
    }
}



/* CARD DESTAQUE */
.destaque {
    margin-top: 10px;
    text-align: center;
    font-style: italic;
    font-size: 15px;
    padding: 15px;
    padding-bottom: 5px;
}

/* GALERIA */
/* GALERIA */
.galeria {
    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));

    gap: 12px;

    margin-top: 25px;
}

.galeria img {
    width: 100%;
    height: 220px;

    object-fit: cover;

    border-radius: 12px;

    cursor: pointer;

    transition: 0.3s;
}

.galeria img:hover {
    transform: scale(1.03);
}

.carregar-mais-container {
    text-align: center;
    margin-top: 25px;
}

.btn-carregar {
    background: #232E40;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}

.btn-carregar:hover {
    background: #E2B05C;
    color: #232E40;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .galeria {
        grid-template-columns: repeat(2, 1fr);
    }

    .galeria img {
        height: 140px;
    }
}
.card.principal h2 {
    margin-bottom: 15px;
    color: #232E40;
}

/* CARROSSEL */
.carrossel-container {
    position: relative;
    margin-top: 25px;
}

.carrossel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;

    justify-content: center; /* centraliza se poucas imagens */
}

/* REMOVE SCROLLBAR */
.carrossel::-webkit-scrollbar {
    display: none;
}

/* IMAGENS */
.carrossel img {
    min-width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.carrossel img:hover {
    transform: scale(1.05);
}

/* SETAS */
.seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 25px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
}

.seta.esquerda {
    left: 5px;
}

.seta.direita {
    right: 5px;
}

.seta:hover {
    background: #E2B05C;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background: rgba(0,0,0,0.85);

    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.fechar {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .carrossel img {
        min-width: 180px;
        height: 140px;
    }
}

.seta-lightbox {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
}

.seta-lightbox.esquerda {
    left: 20px;
}

.seta-lightbox.direita {
    right: 20px;
}

.seta-lightbox:hover {
    background: #E2B05C;
}


.video-card {
    padding: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.video-card iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 16px;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .video-card iframe {
        height: 250px;
    }

}
.vertical-video {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

/* CARD INTERNO DO VIDEO */
.vertical-video .video-wrapper {

    background: #111;

    padding: 12px;

    border-radius: 24px;

    box-shadow: 0 12px 30px rgba(0,0,0,0.18);

    width: fit-content;
}

/* VIDEO */
.vertical-video iframe {

    width: 420px;
    height: 740px;

    max-width: 100%;

    border: none;

    border-radius: 18px;

    display: block;
}

/* MOBILE */
@media (max-width: 768px) {

    .vertical-video {

        padding: 0 10px;
    }

    .vertical-video .video-wrapper {

        width: 100%;
        padding: 10px;
    }

    .vertical-video iframe {

        width: 100%;
        height: 600px;
    }

}