/*Impote dE Fonts*/

@import url('https://fonts.googleapis.com/css2?family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');

.cabecalho {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    text-align: center;
    height: 12%;
    padding: 2px;
    position: fixed;
    /* fixa o elemento na tela */
    top: 0;
    /* encosta no topo */
    left: 0;
    width: 100%;
    /* ocupa toda a largura */
    background-color: white;
    /* cor de fundo pra não ficar transparente */
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* sombra opcional */
    z-index: 1000;
    /* garante que fica acima do conteúdo */

}


.logo-escrita {
    font-family: "Sour Gummy", sans-serif;
    font-size: 2.7rem;
    color: #7a78c2;;
}

.nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-left: 5.5rem;
}

a {
    text-decoration: none;
    color: #333333;
    font-size: 0.8rem;
}

a:hover {
    color: #7a78c2;
    text-decoration: underline;
    transform: scale(1.2);
    /* Aumenta o tamanho em 20% */
}

.agendar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    text-align: center;
    gap: 1rem;
    height: 3%;
    width: auto;
}

.celular {
    font-size: 14px;
    color: #333333;
    margin: 0;
    padding: 0;
}

.btn-agendar {
    background-color: #9995E4;
    color: white;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;

}

.btn-agendar:hover {
    background-color: #7a78c2;
}

/*--------------------------- RESPONSIVIDADE -----------------------------*/

/* Telas médias (tablets/celulares) */

/* --- estilos para quando o JS ativa o modo mobile --- */
/* .nav.mobile: nav está em modo mobile (hidden por padrão) */
/* .nav.mobile-open: nav mostrado no mobile */
.nav.mobile {
    display: none;
    position: absolute;
    top: 4.8rem;
    /* ajuste conforme a altura do seu cabeçalho */
    right: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    padding: 0.5rem 0.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    width: calc(100% - 2rem);
    /* ajusta para telas pequenas */
    max-width: 340px;
    margin-left: 0;
    /* anula o margin-left do desktop */
    z-index: 1001;


}

/* quando o menu mobile está aberto */
.nav.mobile-open {
    display: flex;

}

/* link styles dentro do menu mobile */
.nav.mobile a {
    width: 100%;
    padding: .6rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    display: block;
}

/* estilo do botão criado dinamicamente */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 2rem;
    order: -1;

}

/* visual quando menu aberto (opcional) */
.menu-toggle.open {
    background: rgba(0, 0, 0, 0.04);
    border-color: #00000014;
}





@media (max-width: 992px) {

    .cabecalho {
        height: 14%;
    }

    .logo-escrita {
        font-size: 2rem;
    }

    .btn-agendar {
        background-color: #9995E4;
        color: white;
        border: none;
        padding: 10px 20px;
        text-decoration: none;
        display: inline-block;
        font-size: 10px;
        margin: 4px 2px;
        cursor: pointer;
        border-radius: 12px;
        width: 10rem;
        margin-right: 1rem;
    }

    .nav {
        margin-left: 1rem;
        gap: 0.5rem;
    }


    a {
        text-decoration: none;
        color: #333333;
        font-size: 0.7rem;
    }

    .celular {
        font-size: 0.7rem;
    }

    .agendar p {
        display: none;
        /* Oculta a linha */
    }
}

/* Telas médias (Celulares) */
@media (max-width: 490px) {

    .cabecalho {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    height: 12%;
    
}

    .menu-toggle {
        font-size: 2rem;
    }

    .logo-escrita {
        font-size: 2rem;

    }

    .btn-agendar {
        background-color: #9995E4;
        color: white;
        border: none;
        padding: 10px 10px;
        text-decoration: none;
        display: inline-block;
        font-size: 10px;
        margin: 4px 2px;
        cursor: pointer;
        border-radius: 12px;
        width: 8rem;
        margin-left: 1rem;
    }

    

    a {
        text-decoration: none;
        color: #333333;
        font-size: 0.7rem;
    }



}