@charset "UTF-8";

/* ===================================================
   CABEÇALHO SUPERIOR (HEADER)
   Layout responsivo e modular para mobile e desktop
   Elimina o rolamento lateral (overflow-x) e ajusta dinamicamente
   os botões 'Gerenciar', 'Perfil' e 'Agendar'.
   =================================================== */

header{
    background-color: #fff4f4ce;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    height: 65px;
    width: 100%;

    border-bottom: 1px solid var(--bordas);

    position: sticky;
    top: 0;

    z-index: 100;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container de conteúdo do cabeçalho */
div#content{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    max-width: 1200px;
    height: 100%; 
    padding: 0 16px;
    gap: 8px;
}

/* Marca / Logo à esquerda */
.item-left{
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    text-decoration: none;
    height: 100%;
}

.item-left > span{
    font-size: 8px;
    color: var(--rosa-detalhes);
    line-height: 1;
}

.item-left > h2{
    font-family: var(--fonte-principal);
    color: var(--rosa-principal);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

/* Navegação e botões de ação à direita */
.item-rigth,
.item-right{
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;

    flex-shrink: 1;
    min-width: 0;
    height: 100%;

    font-family: var(--fonte-secundaria);
    font-weight: 500;
    font-size: 13px;
}

.item-rigth > a,
.item-right > a{
    text-decoration: none;
    color: var(--letras-secundario);
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Botão 'Entrar' (quando não autenticado) */
#entrar{
    color: var(--letras-apoio);
}

#entrar:hover{
    color: var(--rosa-principal);
    background-color: var(--secoes);
}

/* Botão 'Gerenciar' (exclusivo para perfil de administrador) */
#painel-admin{
    color: var(--rosa-principal);
    font-weight: 600;
    background-color: var(--rosa-secundario);
    border: 1px solid var(--bordas);
    padding: 6px 10px;
    border-radius: 16px;
}

#painel-admin:hover{
    background-color: var(--secoes);
    border-color: var(--rosa-detalhes);
    color: var(--rosa-principal);
}

/* Link de perfil do usuário (com truncamento elegante para nomes longos) */
#perfil{
    color: var(--letras-secundario);
    font-weight: 500;
    max-width: 85px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

#perfil:hover{
    color: var(--rosa-principal);
    background-color: var(--secoes);
}

/* Botão 'Agendar' (Destaque Principal / Call To Action) */
#agendar{
    background-color: var(--rosa-principal);
    color: white;
    font-weight: 600;
    border-radius: 20px;
    padding: 7px 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(178, 73, 129, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#agendar:hover{
    background-color: var(--rosa-detalhes);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(178, 73, 129, 0.3);
}

/* Links institucionais secundários (ocultos no mobile) */
#servico, #galeria, #duvidas {
    display: none;
}

/* ===================================================
   RESPONSIVIDADE DO CABEÇALHO PARA DISPOSITIVOS MÓVEIS
   =================================================== */

/* Telas estreitas (smartphones menores <= 380px) */
@media screen and (max-width: 380px) {
    div#content {
        padding: 0 8px;
        gap: 4px;
    }

    .item-left > h2 {
        font-size: 1.25rem;
    }

    .item-rigth,
    .item-right {
        gap: 3px;
    }

    .item-rigth > a,
    .item-right > a {
        padding: 5px 6px;
        font-size: 11.5px;
    }

    #painel-admin {
        padding: 5px 6px;
    }

    #perfil {
        max-width: 60px;
    }

    #agendar {
        padding: 6px 10px;
    }
}

/* Telas médias e grandes (tablets e desktops >= 768px) */
@media screen and (min-width: 768px) {
    div#content {
        padding: 0 32px;
        gap: 16px;
    }

    .item-left > h2 {
        font-size: 1.65rem;
    }

    .item-rigth,
    .item-right {
        gap: 12px;
    }

    .item-rigth > a,
    .item-right > a {
        padding: 8px 14px;
        font-size: 14px;
    }

    #perfil {
        max-width: 150px;
    }

    /* Exibe os links de navegação secundária no desktop */
    #servico, #galeria, #duvidas {
        display: inline-block;
    }
}
/*------ Fim Cabeçalho -------------*/



/* Área do Main----------------------*/



/*------ home -------------------*/
.home{
    display: flex;
    flex-flow: column nowrap;
    width: 100%;

    align-items: center;
    justify-items: center;
}

.container-imagem{    
    margin-top: 30px;
    width: 90%;
    height: 270px;
}

/*--------Imagem Principal-----------------*/
#imagem-home{
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position:bottom;

    border-radius: 35px;

    box-shadow: 1px 5px 40px 10px #dd84af62
}
 
/*-------Texto Principal--------*/

.home > h2 {
    margin-top: 35px;
    width: 90%;

    font-family: var(--fonte-principal);
    color: var(--letras);
    font-size: 2.5em;
    text-align: left;
    line-height:35px;
}

#Destaque{
    font-family: var(--fonte-principal);
    color: var(--rosa-principal);
}

.content {
    margin-top: 20px;
    width: 90%;

    text-align:justify;
    font-family: var(--fonte-secundaria);
    color: var(--letras-apoio);
    line-height: 25px;
}

/*---------------------Botões---------------------------*/

.Botões-home{
    display: flex;
    flex-flow: row nowrap;
    width: 90%;
    height: 50px;
    gap: 20px;
    margin: 25px 0px 20px 0px;
    justify-content: center;
    align-items: center;
}

.Botões-home > a {
    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;
    color: var(--fonte-principal);
    background-color: #FFFAFB;
    border: solid 1px var(--bordas);
    border-radius: 20px;

    width: 150px;
    height: 80%;

    transition: background-color .4s , transform .4s;
}

.Botões-home > a:hover{
    background-color: var(--secoes);
    transform: translateY(-2.5px);
}

/*--------Fim Botões --------------------------------------*/

/*-------- Sobre o Studio ---------------------------------*/

.sobre-studio{
    display: flex;
    flex-flow: column nowrap;
    width: 100%;

    align-items: center;
    justify-items: center;
}

.divisor{
    margin-top: 40px;
    font-family: var(--fonte-principal);
    font-size: 1em;
    color: var(--rosa-detalhes );
    letter-spacing: 6px;
    text-align: center;
}

.cabeça {
    margin-top: 20px ;

    text-align: center;
    font-family: var(--fonte-principal);
    font-size: 2.0em;
    width: 90%;
}

#line{
    height: 1.0px;
    width: 80%;
    margin-top: 40px;
    margin-bottom: 70px;

    background-image: linear-gradient(to right, transparent 0%, var(--rosa-detalhes) 20%,var(--rosa-detalhes) 70%,transparent 100%);

}

/*------- FIM Sobre o Studio-------------*/

/*---------- Inicio de Serviços-----------*/

.serviços{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;

    width: 100%;

    background-color: var(--secoes);
    padding-bottom: 30px;
}

.serviços > h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.serviços > h4 {
    font-family: var(--fonte-principal);
    font-size: 17px;
    margin-bottom: 20px;
    margin-top: 50px;
}

article {
    background-color: var(--cards);
    width: 90%;

    padding: 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    border: 1.3px solid var(--bordas);

    transition: box-shadow 0.4s;
}

.article > h3 {
    text-align: left;
    font-family: var(--fonte-principal);
    font-size: 1.3em;
}

.article > p {
    margin-top: 10px;
    
    font-size: .8em;
    text-align:justify;
    font-family: var(--fonte-secundaria);
    color: var(--letras-apoio);
    margin-bottom: 20px;
}

.article > div{
    display: flex;
    flex-flow: row nowrap;
    border-top: 1px solid var(--bordas);
    padding-top: 20px;

    justify-content: space-between;
}

.article > div > p {
    font-family: var(--fonte-principal);
    font-size: 1.4em;
    color: var(--rosa-principal);
}

.article > div > a {
    display: block;
    background-color: var(--secoes);
    border-radius: 30px;

    text-decoration: none;
    font-family: var(--fonte-secundaria);
    font-size: 0.8em;

    color: var(--letras-apoio);
    padding: 9px 15px; 

    transition: background-color 0.4s, color 0.4s;
}

.article:hover > div > a{
    background-color: var(--rosa-principal);
    color: white;
}

.article:hover{
    box-shadow: 0px 5px 7px 0px  #dd84af52;
}

/*-----Album de Fotos------*/

.galeria {
    display: flex;
    flex-flow: column wrap;
    width: 100%;
    margin-bottom: 40px;

    justify-content: center;
    align-items: center;
}

.galeria > h2 {
    font-size: 2em;
}

.album {
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
    justify-content: space-between;

    width: 90%;
    margin-top: 40px;
}

.img {
    overflow: hidden;
    object-position:  center center;
    width: 165px;
    height: 165px;

    border-radius: 20px;    

   transition: box-shadow 0.5s;
}

.img > img{
    object-fit: cover; 
    aspect-ratio: 1/1;
    min-height: 100%;

    transition: transform 0.5s;
}

.img:hover > img {
    transform: scale(1.05);
}

.img:hover{
    box-shadow: 1px 1px 7px 2px  #dd84afb0;
}

/*------------Fim Galeria---------------*/


/*-------------Duvidas------------------*/
.duvidas{
    background-color: var(--secoes);

    display: flex;
    flex-flow: column wrap;
    width: 100%;

    justify-content: center;
    align-items: center;

    padding-bottom: 30px;
}

.duvidas > h2 {
    margin-bottom: 10px;
}

.pergunta {
  border-radius: 1rem;            
  border: 1px solid #f1d6d8;     
  background: white;            
  padding: 15px;
  width: 90%; 
  margin-top: 20px;  

}

.pergunta::details-content{
    height: 0px;
    
    transition: height 0.3s;
}

.pergunta[open]{
    height: auto;

}

.pergunta > summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    color: var(--letras);
    font-family: var(--fonte-principal);
    font-size: 1.2em;
}
.pergunta > summary > span{
    color: var(--rosa-detalhes);
    transition: transform 0.4s;
    font-size: 25px;
}

.pergunta > p {
    margin-top: 10px;
    text-align: justify;
    font-size: 13px;
    font-family: var(--letras);
    color: var(--letras-apoio);
}

.pergunta[open] > summary > span{
    transform: rotate(40deg);
}

/*----------- Fim de Duvidas ----------------*/

/*---------- Formulário ---------------------*/

.agendamento{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.formulario{
    width: 90%;
    min-height: 20px;
    background-color: white;
    border: 1px solid var(--bordas);
    border-radius: 25px;
    padding: 15px;

    margin: 40px 0px;
}

.areas-form{
    display: flex;
    flex-flow: column nowrap;
    line-height: 35px;
    font-family: var(--fonte-secundaria);
    font-size: .9em;
}

.areas-form > input , select{
    height: 40px;
    border-radius: 17px;
    padding: 10px;
    border: 1px solid var(--bordas);
    outline: none;
    font-family: var(--fonte-secundaria);
    background-color: var(--cor-base);
}

.lista-servicos{
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding: 2px;
}

.opcao-servico{
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 12px;
    line-height: 1.25;
    color: var(--letras);
    background-color: var(--cor-base);
    border: 1px solid var(--bordas);
    border-radius: 14px;
    cursor: pointer;
}

.opcao-servico input{
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    accent-color: var(--rosa-principal);
}

.opcao-servico:has(input:checked){
    border-color: var(--rosa-principal);
    background-color: var(--rosa-secundario);
}

input:focus{
    border: 1px solid var(--rosa-principal);
    box-shadow: 0px 0px 2px 1px var(--bordas);
}

form > button {
    display: block;

    margin-top: 20px;
    width: 100%;
    height: 40px;
    border-radius: 30px;

    outline: none;
    border: none;

    background-color: var(--rosa-principal);
    color: white ;
    font-family: var(--fonte-secundaria);

    transition: transform .2s;
}

button:focus{
    transform: translate(0px,3px);
}

.aviso{
    width: 100%;
    margin-top: 15px;
    padding: 9px;

    font-size: 12px;
    text-align: center;
    font-family: var(--fonte-secundaria);
    background-color: var(--secoes);
    color: black;

    border: 1px solid var(--bordas);
    border-radius: 20px;
}

/*---------- Fim do Formulário -----------*/

/*-------------- Footer ------------------*/

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;

    background-color: var(--secoes);
    font-family: var(--fonte-secundaria);
    font-size: 12px;
    color: var(--letras-apoio);

    width: 100%;
    border-top: 1px solid var(--bordas);

    padding: 15px 0px;
}

footer > #line {
    margin-bottom: 15px;
}


