@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: #fff;
    color: #333;
    text-align: center;
}

html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 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;
    position: relative; /* Para o ::after funcionar */
    padding-bottom: 2px;
}

nav ul li a.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    position: absolute;
    bottom: -2px;
    left: 0;
}

.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;
}

/*Sessão barra 2 lilas*/
.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;
}

.destaque {
    color: #8CD3D0;
    font-weight: bold;
}

.destaque2 {
    font-weight: normal;
    font-family: myfont;
}
.info-texto{
    padding: 5%;
}
.info-texto h1{
    font-size: 18px;
    margin-bottom: 1px;
}
.info-texto h2{
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 5%;
}
/* Estiliza o container do formulário */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background-color: #fff;
    padding-bottom: 10%;
}

/* Estiliza o formulário */
form {
    background-color: #DBC8E09E; /* Cor de fundo lilás */
    padding: 30px;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    height: auto;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #663572; /* Borda fina roxa */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 5%;
}


/* Estiliza os campos de input e textarea */
input{
    width: 60%;
    height: auto;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    background-color: #fff;
    font-family: "Inter", sans-serif;
    
}
/* Estiliza o textarea separadamente */
textarea {
    width: 95%;
    height: 330px;
    border-radius: 12px;
    padding: 12px;
    resize: none;
    border: none;
}

/* Estiliza o botão */
button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 72%;
    padding: 22px 30px;
    width: 22%;
    margin-top: 5%;
    border: none;
    background-color: #D13F8F; /* Cor rosa */
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 31px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

/* Efeito hover no botão */
button:hover {
    background-color: #B8327A;
}
/*Sessão de agradecimento de contato*/
.agradecimento {
    background-color: #DBC8E09E; /* Cor de fundo lilás */
    padding: 40px; /* Ajusta o espaçamento interno */
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    height: 500px; /* Deixa a altura automática conforme o conteúdo */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border: 3px solid #663572; /* Borda fina roxa */
    text-align: center; /* Centraliza o conteúdo */
    margin: 60px auto; /* Adiciona espaçamento acima e abaixo */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 10%;
    margin-bottom: 5%;
}
.agradecimento img{
    margin-bottom: 5%;
}

.agradecimento h1{
    font-family: myfont;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: 2;
}
.agradecimento h2{
    font-weight: normal;
}
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;

}
@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 */
    }
    .container{
        padding: 1rem;
    }
    .info-texto{
        margin-top: 10px;
        margin-bottom: -20%;
    }
    .info-texto h1{
        margin-bottom: 2%;
    }

    .form {
        max-width: 80%;
        height: 60%;
        padding: 20px 20px;
        align-items: center;
        padding-left: 0;
      }
    
    .input {
        width: 90%;
    }
    
    .container textarea {
        display: flex;
        width: 95%;
        height: 100px;
      }
    
   .container button {
        width: 50%;
        height: 30px;
        margin: 15px auto 0;
        padding: 16px;
        margin-left: 45%;
        padding: 10px 30px;
      }
      .agradecimento{
        width: 90%;
        height: 60%;
        margin-top: 15%;
        margin-bottom: 15%;
      }
}