@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Poppins", sans-serif;
        }


/* Ajustes nas redes sociais */
.interface{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.interface .logotipos{
    margin-top: 2vw;
    align-items: center;
    display: flex;
    margin-bottom: 0;
}

.logotipos img{
    height: 5vw;
    width: auto;
}

.interface .redes-sociais {
    display: flex;
    gap: 1vw;
    justify-content: flex-end; 
    align-items: center;
    margin-top: 2vw;
    margin-bottom: 2vw;
    margin-right: 2vw;
}

.interface .redes-sociais a{
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 2.5vw;
    color: #000;
}

.interface .redes-sociais button:hover {
    color: rgb(0, 0, 90);
}

.redes-sociais {
    display: flex;
    align-items: center;
    gap: 1vw;
}

.redes-sociais a button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 2vw;
}

.redes-sociais a img {
    width: 2vw;
    height: auto;
}


/* --- Menu Inferior --- */
.parte-de-baixo-menu {
    background-color: rgb(0, 0, 90);
    
}

.parte-de-baixo-menu .interface {
    display: flex;
    justify-content: flex-start;
}

.parte-de-baixo-menu ul {
    display: flex;
    justify-content: flex-start;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.parte-de-baixo-menu .opcoes {
    color: #fff;
    padding: 1vw 1.2vw;
    text-decoration: none;
    font-weight: 600;
    font-size: 1vw;
    display: block;
    transition: 0.1s;
    text-align: left;
}

.parte-de-baixo-menu .opcoes:hover {
    background-color: rgba(0, 0, 0, 0.76);
    box-shadow: inset 0 0 1vw hwb(0 0% 100% / 0.76);
    transition: 0.5s;
}

.parte-de-baixo-menu ul li {
    margin-right: 1vw ;
}

.parte-de-baixo-menu ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

 
/* --- ESTILOS PARA DROPDOWN (LENDAS E CURTAS) --- */


.menu-das-lendas, .menu-curtas {
    position: relative;
}

.menu-das-lendas .sub-menu, .menu-curtas .sub-menu {
    background-color: rgba(49, 49, 49, 0.95);
    width: 100%;
    margin: 0;
    padding: 0;
}

.menu-das-lendas .sub-menu ul,
.menu-curtas .sub-menu ul {
    flex-wrap: wrap;      /* ← permite quebrar linha */
    gap: 0.3vw 1vw;
}

.menu-curtas p {
    font-size: 2vw;
    color: #fff;
    margin-left: 2vw;
}

.menu-curtas button {
    color: #fff;
    background-color: rgba(49, 49, 49, 0.95);
    font-size: 1.2vw;
    border: none;
    padding-left: 1vw;
    transition: 0.2s;
    cursor: pointer;
    white-space: nowrap;  /* ← impede o texto do botão de quebrar */
}

.menu-curtas button:hover {
    color: #eeff00;
}

.menu-das-lendas p {
    font-size: 2vw;
    color: #fff;
    margin-left: 0.8vw;
}

.menu-das-lendas button {
    color: #fff;
    background-color: rgba(49, 49, 49, 0.95);
    font-size: 1.2vw;
    border: none;
    padding-left: 1vw;
    transition: 0.2s;
    cursor: pointer;
    white-space: nowrap;  /* ← impede o texto do botão de quebrar */
}

.menu-das-lendas button:hover {
    color: #eeff00;
}

.menu-das-lendas .droop, .menu-curtas .droop {
    position: absolute;
    top: 100%;
    left: 0;
    width: 70vw;          /* ← aumentado de 50vw para 70vw */
    max-height: 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    transition: max-height 0.3s ease-out;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.menu-das-lendas .droop.show, .menu-curtas .droop.show {
    max-height: 80vh;
    overflow-y: auto;
    padding: 1vw;
}

.menu-das-lendas .droop, .menu-curtas .droop {
    position: absolute;
    top: 100%;
    left: 0;
    /* Aumentado a largura para acomodar 3 colunas */
    width: 50vw; 
    max-height: 0; 
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    transition: max-height 0.3s ease-out;
    z-index: 999;
    
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0; 
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* CLASSE QUE SERÁ ADICIONADA/REMOVIDA VIA JAVASCRIPT */
.menu-das-lendas .droop.show, .menu-curtas .droop.show {
    max-height: 80vh; 
    overflow-y: auto; 
    padding: 1vw;
}

.menu-das-lendas .sub-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5vw;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-das-lendas button,
.menu-curtas button {
    font-size: 1.2vw; /* mesmo tamanho nos dois */
}

.menu-das-lendas p,
.menu-curtas p {
    font-size: 1.2vw; /* mesmo tamanho nos dois */
}

.card-lenda {
    display: none;
}

.apresentar{
    display: inline-block;
    position: relative;
}


/* --- ESTILOS DENTRO DO DROPDOWN PARA 3 ITENS POR LINHA --- */

/* CONTAINER DE CADA LINHA: Deve ser FLEX e permitir QUEBRA */
.lendas-hrf1 {
    display: flex;
    flex-wrap: wrap; /* ESSENCIAL: Permite que os cards quebrem para a próxima linha */
    padding: 10px 0;
    gap: 15px;
    justify-content: flex-start;
    width: 100%; 
}

/* O CARD INDIVIDUAL: Definir o tamanho para caber 3 por linha */
.card-lenda {
    /* Calcula a largura para 3 itens: (100% / 3) - espaçamento */
    flex: 0 0 calc(33.33% - 10px); 
    max-width: calc(33.33% - 10px); /* Garantia de largura máxima */
    box-sizing: border-box; /* Inclui padding e borda no cálculo da largura */
}

.card-lenda img {
    width: 100%; /* A imagem ocupa 100% do card-lenda (1/3 da linha) */
    height: auto;
    border-radius: 10px;
    display: block;
}

.lendas-hrf1 a:hover{
    color: #eeff00;
}

.card-lenda .texto-sobreposto {
    position: absolute;
    bottom: 0; 
    left: 0;
    font-size: 1vw;
    transform: none; 
    padding: 5px;
    width: 100%;
    text-align: center; 
    background: linear-gradient(to top, rgba(0,0,0,0.88) 60%, transparent);
    padding: 3rem 1rem 0.9rem;
    border-radius: 0 0 10px 10px;
    display: inline-block;
    justify-content: center;
}

/* --- ESTILOS PARA DROPDOWN SOBRE (SEM ALTERAÇÃO) --- */

.menu-de-sobre {
    position: relative;
}


.menu_festival {
    position: relative;
}




/* ... (Resto do código sem alteração) ... */
.o-projeto .textos {
    font-family: "oswald", sans-serif;
    text-align: justify;
    font-size: 150%;
    color: rgb(0, 0, 65);
    padding: 2vw;
    width: 100%;
    margin-bottom: 0;
}

.o-projeto .textos h1{
    font-size: 3.3vw;
}
 
.o-projeto .textos p{
    font-size: 1.2vw;
}

.textos-referencia{
    margin-bottom: 2vw;
    width: 50%;
}

.textos-referencia p{
    font-size: 0.8vw;
    margin-left: 2vw;
    margin-bottom: 0.3vw;
}

.o-projeto .imagems{
    position: relative;
}

.o-projeto .imagems img {
    width:40vw;
    margin-top: 1vw;
    margin-right: 5vw;
    margin-left: 0;
}

.o-projeto .imagems .cidades-no-mapa img{
    height: 4vw;
    width: auto;
    position: absolute;
}

.o-projeto .imagems .cidades-no-mapa img:hover{
    z-index: 1500;
    height: 4.3vw;
    width: auto;
}

#laguna{
    top: 17vw;
    left: 34.7vw;
    z-index: 1000;
}

#pescaria{
    top: 17.2vw;
    left: 33vw;
    z-index: 999;
}

#imarui{
    top: 15vw;
    left: 32vw;
    z-index: 998;
}

#imbituba{
    top: 14.8vw;
    left: 35vw;
}

#garopaba{
    top: 13vw;
    left: 35vw;
}

#paulo-lopes{
    top: 13vw;
    left: 32.3vw;
    z-index: 997;
}

.o-projeto {
    display: flex;
    margin-bottom: 4vw;
}

.equipe {
    background-color: rgb(0, 0, 90);
    padding: 25px;
}

.equipe h2 {
    color: #fff;
    font-size: 2vw;
}

.equipe h3{
    color: #fff;
    padding-top: 1vw;
    font-size: 1.5vw;
}

.equipe img {
    width: 9vw;
    height: auto;
    border-radius: 50%;
}

.equipe ul {
    color: #fff;
    list-style: none;
    font-size: 1.3vw;
}

.equipe li {
    margin: 2vw;
    display: flex;
    align-items: center;
    gap: 3vw;
}

.equipe a {
    text-decoration: none;
    color: #fffb00;
    padding-top: 3vw;
}

.simple-footer {
    width: 100%;
    padding: 15px 0; 
    background-color: #0e0e0e;
    color: #eee; 
    font-size: 0.9vw;
    text-align: center; 
    font-family: Arial, sans-serif;
}

@media screen and (max-width: 720px) {
    header .parte-de-cima-menu img{
        padding: 1vw;
        height: 13vw;
        width: auto;
    }

    .redes-sociais i{
        font-size: 5vw;
    }

    .parte-de-baixo-menu .interface{
        width: 100%;
    }
    

    .parte-de-baixo-menu .interface a{
        font-size: 2vw;
        padding: 2vw 0.2vw;
    }

    #inicio{
        padding-left: 10px;
    }

    header .menu-das-lendas .droop{
        width: 100vw;
        left: 0;
        position: fixed;
        top: auto;
        border-radius: 0;
    }

    header .menu-das-lendas .droop .sub-menu button{
        font-size: 10px;
        padding-left: 5px;
    }

    header .menu-das-lendas .droop .card-lenda{
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    header .menu-curtas .droop{
        width: 100vw;
        left: 0;
        position: fixed;
        top: auto;
        border-radius: 0;
    }

    header .menu-curtas .droop .sub-menu button{
        font-size: 10px;
        padding-left: 5px;
    }

    header .menu-curtas .droop .card-lenda{
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .o-projeto .imagems .cidades-no-mapa img{
        height: 10vw;
        width: auto;
        position: absolute;
    }

    .o-projeto .imagems .cidades-no-mapa img:hover{
        z-index: 1500;
        height: 11vw;
        width: auto;
    }

    #laguna{
        top: 40vw;
        left: 82.3vw;
        z-index: 1000;
    }

    #pescaria{
        top: 40vw;
        left: 77vw;
        z-index: 999;
    }

    #imarui{
        top: 35vw;
        left: 77vw;
        z-index: 998;
    }

    #imbituba{
        top: 35vw;
        left: 82.3vw;
    }

    #garopaba{
        top: 30vw;
        left: 82.3vw;
    }

    #paulo-lopes{
        top: 30vw;
        left: 77vw;
        z-index: 997;
    }


    body .o-projeto{
        flex-direction: column !important;
    }

    body .imagems{
        width: 100%;
        display: flex;
        justify-content: center;
    }

    body .o-projeto .textos p{
        font-size: 3vw;
    }

    body .o-projeto .textos h1{
        font-size: 5vw;
    }

    body .o-projeto .imagems img {
        width: 100%; 
        height: auto;
        margin-left: 4vw;
    }   

    body .textos-referencia p{
        font-size: 2vw;
    }

    body .equipe h2{
        font-size: 6vw;
    }

    body .equipe h3{
        font-size: 5.5vw
    }

    body .equipe img{
        height: 20vw;
        width: auto;
    }

    body .equipe p{
        font-size: 3vw;
    }

    body .equipe a{
        font-size: 3.5vw;
    }

   .curtas-festival .lendas-hrf1 {
        display: flex !important;
        flex-direction: column !important; /* Manda um card para baixo do outro */
        align-items: center !important;    /* Centraliza os cards */
        gap: 30px !important;              /* Dá um espaço legal entre eles */
    }

    /* 2. O CARD (O item individual) */
    .curtas-festival .card-lenda {
        display: block !important;
        flex: 0 0 100% !important;        /* Força a ocupar a largura toda disponível */
        max-width: 90% !important;        /* Deixa um respiro nas laterais */
        width: 100% !important;
        margin: 0 auto !important;        /* Centraliza */
    }

}

