@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face {
    font-family: myfont;
    src: url('crewniverse2.ttf');
}

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

body {
    background-color: #ffff;
    color: #000;
    text-align: center;
}

html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

header {
    background: linear-gradient(to right, #D13F8F 100%, #663572);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: relative;
    z-index: 1001; /* Mantém a navbar na frente */
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}


.dropdown {
    position: relative; 
    z-index: 1002; 
}

/* Estilização do submenu */
.dropdown-menu {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    background: #DBC8E0;
    transform: translateX(-50%);
    border-radius: 8px;
    width: max-content;
    min-width: auto;
    box-sizing: border-box;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1050; 
    white-space: nowrap; 
    overflow: hidden; 
    padding: 3px 0;
    margin: 0;
}

/* Exibir o submenu ao clicar */
/* Mostra o submenu APENAS quando ele tiver a classe 'active' */
.dropdown-menu.active {
    display: block;
}

/* Melhorando a acessibilidade e estilo */
.dropdown-menu li {
    list-style: none;
    text-align: center;
}

.dropdown-menu li a {
    display: block;
    padding: 6px 10px;
    text-decoration: none;
    color: #663572;
    font-size: 14px;
    text-align: center;
}

.dropdown-menu li a:hover {
    background-color: #D13F8F;
    color: white;
}


header {
    position: relative;
    z-index: 1001;
}


.hero {
    position: relative;
    background: #6A2E66;
    color: white;
    padding: 50px 20px;
    text-align: center;
    z-index: 1;

}
.hero p{
    background-color: #DBC8E02B; /* Cor do fundo da caixa */
    padding: 15px 20px; /* Espaçamento interno */
    border-radius: 10px; /* Borda arredondada */
    max-width: 500px; /* Largura máxima da caixa */
    text-align: center; /* Centralizar o texto dentro da caixa */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
    margin: 0 auto;
    display: block;
    font-size: 20px;
}
.hero img[alt="ativo 1"]{
    position: absolute;
    bottom: -40px; /* Faz a imagem encostar na borda inferior */
    left: -1px; /* Alinha a imagem à esquerda */
    width: 120px;
    height: auto; /* Mantém a proporção da imagem */
    opacity: 0.3;
    transform: rotate(-9.11deg);
}
.hero img[alt="ativo 2"] {
    position: absolute; /* Permite posicionamento absoluto */
    bottom: 50px; /* Ajuste fino na parte inferior */
    right: -5px; /* Mantém alinhado à direita */
    width: 120px;
    height: auto;
    opacity: 0.3;
    transform: rotate(11.01deg);
}
.hero img[alt="flor"]{
    position: absolute;
    bottom: -30px;
    width: 50px;
    height: auto;
    
}

.hero h1 {
    font-weight: normal;
    line-height: 2.0;
    letter-spacing: 2.5px;
    font-size: 28px;
    font-family: myfont;
    color: #ffff;
}
.semdestaque{
    font-weight: normal;
    font-size: 14px;
}
.comdestaque{
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 1px;
    display: inline-block;
}

.destaque2 {
    font-weight: normal;
    font-family: myfont;
    color: #663572;
    font-size: 24px;
}
.termos{
    max-width: 1000px; /* Largura máxima para a área de termos */
    margin: 5% auto; /* Centraliza o conteúdo */
    padding: 20px;
    text-align: justify;
    padding-top: 5%;
    line-height: 1.5;
}

.termos h1{
    margin-top: 5%;
    margin-bottom: 5%;
}

.termos h2{
    color: #000;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 1%;  
}
.termos h2::before {
    content: "✱";
    color: #D13B83;
    font-weight: bold;
    font-size: 24px;
    margin-right: 8px;
}

.termos p{
    margin-bottom: 2%;
    font-size: 14px;
}

.termos-de-uso-1 {
    display: flex;
    align-items: center; /* Alinha verticalmente */
    justify-content: space-between; /* Empurra os elementos para os extremos */
    max-width: 960px;
    margin: 0 auto;
    text-align: justify;
    gap: 30px;
    flex-wrap: nowrap; /* Garante responsividade */
}

.termos-de-uso-1 .texto {
    max-width: 60%; /* Define o tamanho do texto */
}

.termos-de-uso-1 .imagem {
    max-width: 40%; /* Define o tamanho da imagem */
    display: flex;
    justify-content: flex-end; /* Garante que a imagem fique à direita */
}

footer {
    background: #EFEAD2;
    color: black;
    padding: 30px;
    font-size: 14px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}
/* Estilo para o menu responsivo */

.menu-mobile{
    display: none;
    background-color: #DBC8E0;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    overflow: hidden;
    transition: .5s;
    z-index: 99999;
}
.btn-abrir-menu{
    font-size: 40px;
    display: none;
}
.menu-mobile.abrir-menu{
    width: 56%;
}

.menu-mobile.abrir-menu~ .overlays-menu{
    display: block;
}
.menu-mobile .btn-fechar i{
    color: #663572;
    font-size: 40px;
}

.menu-mobile .btn-fechar{
    display: flex;
    padding: 20px 5%;
    justify-content: flex-start;
}
.menu-mobile nav ul{
    text-align: right;
    flex-direction: column;
}
.menu-mobile nav ul li{
    padding: 20px 4%;
}
.menu-mobile nav ul li a{
    font-size: 25px;
    font-weight: 600;
    color: #663572;

}
.overlays-menu{
    background-color: #0000001e;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 1;

}
/* Responsividade */
@media (max-width: 768px) {

    /* menu hamburguer*/
    #menu {
        display: none;
    }

    /* Mostra o menu mobile ao ativar */
    .menu-mobile{
        display: block;
    }

    .btn-abrir-menu{
        display: block;
    }
    nav ul li a.active::after {
        background-color: #663572;
    }
    .menu-mobile.dropdown-menu{
        display: flex;
        margin-right: 0%;
    }
    .menu-mobile.abrir-menu{
        text-align: right;
        align-items: self-end;
    }
    .dropdown-menu {
        position: static; /* Para que fique no fluxo do layout */
        transform: none; /* Remove deslocamento lateral */
        background: #DBC8E0;
        width: 100%; /* Ocupa toda a largura do contêiner pai */
        border-radius: 0;
        box-shadow: none;
        width: max-content;
        min-width: auto;
        text-align: center;
      }
    .dropdown-menu li a:hover {
        width: fit-content;
        color: white;
    }

    /* Ajustes no hero */
    .hero {
        padding: 30px 10px;
    }
    .hero h1{
        font-weight: 100;

    }

    .hero p {
        font-size: 16px;
        padding: 10px;
        max-width: 90%;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero img[alt="ativo 1"],
    .hero img[alt="ativo 2"],
    .hero img[alt="flor"] {
        display: none; /* Oculta imagens decorativas em telas pequenas */
    }
    .termos-de-uso-1 img{
        display: none;
    }
    .termos-de-uso-1 .texto{
        max-width: 100%;
        flex: 1;
        width: 100%;
    }
    .termos-de-uso-1 {
        flex-direction: column;
        align-items: center;
    }
    .termos h1{
        font-size: 24px;
        font-weight: 100;
        text-align: left;
    }
    
}