@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;500&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;600&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: Epilogue, sans-serif;
}

img {
    display: block;

    height: auto;
}

/* VIDEO */
#video_entrada {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#video_entrada video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

/* HEADER */
#header {
    width: 120px;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 99;
    color: white;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.nota {
    text-align: right;

}

#programacao #header {
    background-color: #3F50AF;
}

#menu_nav .img {
    width: 80px;

}

#header.em_cima {
    background-color: white;
    color: black;
}

#header.em_cima .linha {
    background-color: black;
}

#menu_nav {
    width: 80%;
    max-width: 1000px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#bigmac {
    width: 40px;
    height: 28px;
    position: relative;
    z-index: 30;
    cursor: pointer;
}

#bigmac .linha {
    position: absolute;
    height: 4px;
    width: 100%;
    background-color: white;
    border-radius: 9px;
    left: 0;
    transition: 0.5s ease-in-out;
}

#bigmac .linha:nth-child(1) {
    top: 0;
}

#bigmac .linha:nth-child(2),
#bigmac .linha:nth-child(3) {
    top: 12px;
}

#bigmac .linha:nth-child(4) {
    top: 24px;
}

#bigmac.open .linha:nth-child(1),
#bigmac.open .linha:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

#bigmac.open .linha:nth-child(2) {
    transform: rotate(45deg);
}

#bigmac.open .linha:nth-child(3) {
    transform: rotate(-45deg);
}

nav#mobile {
    position: absolute;
    z-index: 20;
    width: 300px;
    right: 0;
    top: 58px;
    background-color: rgba(217, 218, 219, 0.95);
    display: none;
}

nav#mobile ul {
    list-style: none;
}

nav#mobile li {
    height: 80px;
    padding: 20px 0;
    text-align: center;
}

nav a {
    color: black;
    text-decoration: none;
}

nav a:hover {
    color: white;
    text-decoration: underline;
}

/* CONTEÚDO */
h2,
h3,
h4,
p {
    color: white;
}

h2 {
    font-size: 2.5rem;
    color: #3F50AF;
    margin-bottom: 20px;
}

.conteudo_centrado {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
}

.aplica_flex {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.duas_colunas {
    width: 45%;
    background-color: #3F50AF;
    padding: 10px;
    border-radius: 10px;
}

.data,
.dia_semana,
.categoria {
    text-align: right;
    font-size: 0.9rem;
    color: white;
}

/* RESPONSIVO */
@media (max-width: 800px) {
    .duas_colunas {
        width: 100%;
    }

    #menu_nav {
        width: 95%;
    }

    h1 {
        text-align: center;
    }
}

/* FILMES */
#filmes {
    padding: 150px;
    background-color: white;
    color: #3F50AF;

    /* background-image: url(imagens/Group\ 1593_prof.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right top; */
}

.titulo_filmes {
    font-size: 3rem;
    color: #3F50AF;
    margin-bottom: 10px;
}

.tag_destaque {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #3F50AF;
    color: #3F50AF;
    font-size: 0.8rem;
    margin-bottom: 40px;
}

.grade_filmes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
}

.filme {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.imagem_filme {
    position: relative;
    width: 100%;
    max-width: 240px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}

.imagem_filme img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.data {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.75rem;
    color: white;
    text-align: right;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 6px;
    border-radius: 4px;
}

.data span {
    display: block;
    font-size: 0.65rem;
    color: #ccc;
}

.filme h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 8px;
    color: #111;
}

.categoria {
    font-size: 0.75rem;
    color: #555;
}

/* Responsivo */
@media (max-width: 768px) {
    .grade_filmes {
        grid-template-columns: 1fr;
    }

    .titulo_filmes {
        font-size: 2rem;
    }

    .imagem_filme {
        max-width: 100%;
    }
}

.filme {
    display: flex;
    align-items: center;
    /* Alinha tudo ao centro */
    justify-content: center;
    text-align: left;
    /* Centraliza o texto */
}

.filme h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 8px;
    color: #111;
}

.categoria {
    font-size: 0.75rem;
    color: #555;
}




.atividades {
    padding: 60px 0;
    background-color: white;
    background-image: url(imagens/Rectangle22222.png);
    background-size: cover;
    background-position: center;
}

.container {
    max-width: 1100px;
    margin: 0 auto;

}

.titulo-atividades {
    text-align: right;
    margin-bottom: 40px;
}

.titulo-atividades h2 {
    font-size: 3rem;
    color: #2d2da0;
    margin: 0;
}

.titulo-atividades .subtitulo {
    border: 1px solid #2d2da0;
    padding: 6px 14px;
    font-size: 0.9rem;
    color: #2d2da0;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}

.grid-atividades {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
}

.atividade {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* alinha tudo à direita */
}

.atividade img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.atividade p {
    font-size: 0.75rem;
    line-height: 1.4;
    max-width: 100%;
    margin: 0;
    color: #333;
    text-transform: uppercase;
    text-align: justify;
    /* justifica o texto */
    direction: rtl;
    /* truque para justificar e alinhar à direita */
}



.sobre-festival {
    /*  background-image: url(imagens/Rectangle333.png);
    substitui por imagem real */
    background-size: cover;
    background-position: center;
    padding: 200px 150px;
    text-align: center;
    font-family: 'Epilogue', sans-serif;
    background-color: white;
}

.sobre-festival .texto {
    max-width: 800px;
    margin: 0 auto;

    font-size: 1rem;
    line-height: 1.8;
}

.sobre-festival p {
    margin-bottom: 24px;
    color: #2d2da0;
}



.footer {
    background-color: #3f47af;
    color: white;
    font-family: 'Epilogue', sans-serif;
    padding: 60px 0;
}

.container-footer {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding: 0 20px;
}

.footer-esquerda img {
    width: 120px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a img {
    width: 28px;
    height: 28px;
    background-color: #fce4f1;
    padding: 6px;
    border-radius: 4px;
}

.footer-direita h3 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.footer-direita p {
    font-size: 0.75rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    font-family: 'Epilogue', sans-serif;
    font-size: 0.8rem;
}

.newsletter-form button {
    padding: 8px 14px;
    border: none;
    background-color: #fce4f1;
    color: #3f47af;
    font-family: 'Epilogue', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
}







/* PROGRAMAÇAO */

.informacao_basica {
    margin-top: 100px;
    background-color: white;

    font-family: 'Epilogue', sans-serif;
    color: #2d2da0;
}

.informacao_basica .container {
    width: 80%;
    max-width: 900px;
    margin: auto;
    /* garante margem lateral no mobile */
}

.informacao_basica h2 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #2d2da0;
}

.informacao_basica h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #2d2da0;
}

.informacao_basica .nota {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #2d2da0;
    margin-top: 20px;
}



.programa {
    background-color: white;
    padding: 20px;
}

.programa-container {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.programa-header {
    width: 100%;
    height: 79px;
    background-color: #3F50AF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.seta {
    font-size: 1.5rem;
}

.data_prog {

    font-size: 0.75rem;
    color: white;
    text-align: right;
    padding: 4px 6px;
    border-radius: 4px;
}

.filme {
    position: relative;
    width: 100%;
    margin-top: 3px;

    text-align: center;
}

.filme img {
    width: 100%;
    display: block;
}

.info {
    position: absolute;


    color: white;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.label {
    font-size: 0.9rem;
    color: #A20404;
    font-weight: bold;
    text-transform: uppercase;
}

.filme h3 {
    margin: 0.3rem 0;
    font-size: 1.8rem;
    font-weight: bold;
}

.hora {
    font-size: 1.2rem;
}



.titulo-centro {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    font-weight: bold;
    color: white;

}


/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
    .programa-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 0.5rem;
    }

    .programa-container {
        width: 90%;
    }

    .info h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .info p {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .filme {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 2rem;
    }

    .filme img {
        width: 100%;
        height: auto;
    }

    .programa-header {
        font-size: 1rem;
    }

    .programa-header .data_prog {
        font-size: 0.85rem;
    }

    .info {
        padding: 0 10px;
    }

    .footer {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .grid-atividades {
        grid-template-columns: 1fr;
    }

    .titulo-atividades {
        text-align: center;
    }

    .atividade {
        align-items: center;
        text-align: center;
    }

    .atividade p {
        direction: ltr;
        text-align: justify;
        padding: 0 10px;
    }
}