:root{
    --cor-fundo: white;
    --cor-cinza-claro: #F0F2F5;
    --cor-cinza-texto:#2e2e2e;
    --cor-cinza-field:#ccc;
    --cor-cinza-medio: #ababab;
    --cor-verde-escuro: #023436;
    --cor-verde-medio: #0d8c59;
    --cor-verde-claro: #6A825D;
    --cor-verde-petroleo: #356e6d;
    --cor-azul-claro:#dbeffa;
    --cor-azul-medio: #9dd7e9;
    --cor-azul-escuro: #4c4ce1;
    --cor-azul-botao: #0E7BA6;
    --cor-azul-texto: #637587;
    --cor-laranja-links: #DC4122;
    --cor-amarelo-medio:#FCDC5D;
    --cor-amarelo-claro:#f7ea95;
    --cor-amarelo-escuro: #9f8512;

    --fa-style-family-classic: 'Font Awesome 6 Free';
    --fa-font-solid: normal 900 1em/1 'Font Awesome 6 Free';
}

/* WP RESET */



body {
    font-family: "Lexend", sans-serif;
    background: var(--cor-cinza-claro);
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.icon::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    margin-right: 5px;
}

/* HEADER */

header, .header-wp{

    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    margin: 0;

    height: 60px;
    width: 100%;
    background-color: var(--cor-fundo);
    border-bottom: 1px solid rgba(229,231,235);
    position: sticky;
    top: 0;
    z-index: 1000;
}

a .logo{
    max-height: 25px;
    margin-top: 6px;
}

.header__item{
    display: flex;
    justify-content:flex-end;
    align-items: center;
    margin: 0;
    gap: 5%;
    width: 50%;
}

.nav-header{
    display: flex;
    flex-direction: row;
    font-family: 'Lexend', sans-serif;
    font-weight: 500;
}

.nav-header ul{
    list-style: none;
    display: flex;
    gap: 70px;
}

.nav-header ul li a{
    text-decoration: none;
    color: var(--cor-verde-escuro);
    font-size: 0.85em;
}

.nav-header ul li a:hover{
    text-decoration: none;
    color: orangered;
}

.social{
    background-color: var(--cor-cinza-claro);
    border-radius: 5px;
    padding: 8px 10px;
}

/* ESTRUTURA */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 60px);
    justify-content: center;
    margin: 0;
    width: 100%;
    padding: 0;
}

.main{
    min-width: calc(100vw - 250px);
    position: relative;
}

.dashboard{
    margin-top: 0;
    height: calc(100vh - 60px);
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
}

/* FOOTER */

footer {
    color: var(--cor-azul-texto);
    font-size: 14px;
    padding: 0 10%;
    z-index: 1000;
    margin: 6% 0 0 0;
}

.footer-container{
    padding: 20px 40px;
    gap: 24px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.footer-item{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.footer-item p, .footer-item a{
    text-decoration: none;
    color: var(--cor-azul-texto);
    vertical-align: center;
    font-weight: 200;
}

.footer-item a > * {
    font-size: 22px;
    height: 22px;
}

.footer-item .fa-instagram{
    margin-top: -1px;
}

.hidden {
    display: none;
}

.relative{
    position: relative;
}

.flex{
    display: flex;
}
  
/* TEXTOS */

h1, h2, h3 {
    margin: 10px 0;
}

h1 {
    font-size: 2.1em;
    font-weight: 500;
}

h2{
    font-size: 1.6em;
    font-weight: 300;
}

h3{
    font-size: 1.2em;
    font-weight: 200;
}

p {
    font-size: 16px;
    color: #555;
}


/* HERO */

.hero{
    position: relative;
    height: 500px;
    z-index: 5;
    overflow: hidden;
    display: flex;
    gap: 15px;
    padding: 40px 10%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.bg_hero{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: -1;
}

.bg_hero[data-page="index"]{
    background: url(../imagens/fundos/marrons_azuis.png) center center;
    opacity: .55;
    background-size: cover; /* ou 'contain', ou '100% auto', conforme sua imagem */
    background-repeat: no-repeat;
}

.bg_hero[data-page="sobre-mim"]{
    background: url(../imagens/fundos/azuis_1.png) center center;
    opacity: .85;
    background-size: cover; /* ou 'contain', ou '100% auto', conforme sua imagem */
    background-repeat: no-repeat;
}

.bg_hero[data-page="sobre-livro"]{
    background: url(../imagens/fundos/roxos.png) center center;
    opacity: .70;
    background-size: cover; /* ou 'contain', ou '100% auto', conforme sua imagem */
    background-repeat: no-repeat;
}

.bg_hero[data-page="sobre-dbt"]{
    background: url(../imagens/fundos/azuis_marrons.png) center center;
    opacity: .55;
    background-size: cover; /* ou 'contain', ou '100% auto', conforme sua imagem */
    background-repeat: no-repeat;
}

.hero-img{
    min-width: 500px;
    width: 50%;
    height: 300px;
    overflow: hidden;
}

.hero-img img{
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-img-sobre-mim{
    object-position: center 27%;
}

.hero-img-sobre-livro{
    object-position: center 90%;
}

.hero-img-sobre-dbt{
    object-position: center 38%;
}

.hero-texto{
    display: flex;
    flex-direction: column;
    padding: 5px 50px;
}

.hero-texto h1{
    font-family: 'Lexend', sans-serif;
    font-size: 44px;
    line-height: 54px;
    letter-spacing: -2px;
    font-weight: 900;
    color:white;
}

.hero-texto h2{
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    font-weight: 300;
}

.hero-texto button{
    border: 0;
}

/* CONTEUDO */

.conteudo{
    background-color: var(--cor-verde-petroleo) !important;
}

.conteudo_img {
    flex: 0 0 30% !important;
    min-width: 280px !important;
    max-width: 330px !important;
    display: flex;
    align-items: stretch;
}

.conteudo_texto{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 7%;
    width: 70%;
    justify-content: center;
}

.conteudo_texto p{
    font-family: 'Lexend', sans-serif;
    color: white;
    font-size: 1.1em;
    line-height: 1.4em;
    font-weight: 200;
    margin: 0;
}

.conteudo_botoes{
    display: flex;
    flex-direction: row;
}

/* LIVRO */


.livro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    margin: 8% 20% 6% 20%;
}

.livro-texto{
    width: 65%;
}

.livro-texto__titulos {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin: 0 40px 20px 0;
}

.livro-texto h1{
    font-family: 'Lexend', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0;
    line-height: 10px;
}

.livro-texto h2{
    font-family: 'Poiret One', sans-serif;
    font-size: 18px;
    font-weight: 100;
    margin: 0;
    line-height: 10px;
}

.livro-texto h3{
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    line-height: 24px;
    margin: 10px 0;
}

.livro-img{
    width: 35%;
    min-width: 280px;
    overflow: hidden;
    margin: 0;
    display: flex;
    align-items: center; /* centraliza verticalmente */
    justify-content: center; /* centraliza horizontalmente (opcional) */
}

.livro-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.display_row{
    display: flex;
    flex-direction: row;
}

.display_column{
    display: flex;
    flex-direction: row;
}

/* SOBRE */

.sobre {
    background-color: white;
    max-width: 1100px;
    width: 90%;
    margin: 3% auto 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: stretch;
    padding: 0;
}

.sobre_img {
    flex: 0 0 35%;
    min-width: 400px;
    max-width: 35%;
    display: flex;
    align-items: stretch;
}

.sobre_img_dir{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 12px 12px 0;
}

.sobre_img_esq{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
}

.sobre_text{
    margin: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sobre h2{
    width: 100%;
    font-family: 'Poiret One', sans-serif;
    margin-top: 0;
    font-weight: 900;
}

.sobre_text p, .sobre_text ul{
    font-family: 'Lexend', sans-serif;
    font-size: 1em;
    font-weight: 300;
    color: var(--cor-azul-texto);
}

/* GALERIA FOTOS */

.gallery {
    width: 100%;
    background-color: #6c94bf;
    margin: 0;
    padding: 0;    
}

.gallery_bg{
    width: 100%;
    margin: 0;
    padding: 0;
}

.gallery-content{
    width: 80%;
    margin: 30px auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.gallery-text{
    width: 50%;
}

.gallery-text h2{
    color: #e2ccee;
    font-family: "Lavishly Yours", cursive;
    font-size: 3em;
    margin: 20px;
    z-index: 1;
    line-height: 1.2em;

    span{
        font-family: 'Birthstone', cursive;
        font-size: 1.4em;
    }

    i{
    color: #e74596be;
    }
}

.gallery-images{
    max-width: 300px;
    width: 50%;
    display: grid;    
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px; /* Define espaçamento entre as imagens */
    justify-items: center;
    align-items: center;
    padding: 8px;
    border-radius: 5px;
    
}

.gallery-images img {
    width: 100%; /* A imagem ocupa toda a largura da célula da grade */
    max-width: 250px;
    height: auto;
    max-height: 250px;
    aspect-ratio: 1 / 1; /*  quadrado perfeito */
    object-fit:cover;
    border-radius: 15px; /* opcional */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-images img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.fa-quote-right {
    font-size: 1.6em;
    vertical-align: text-bottom;
    line-height: 1em;
    margin-left: 5px;
}

.fa-quote-left {
    font-size: 1.6em;
    vertical-align: text-top;
    line-height: 1em;
    margin-right: 5px;
}

/* VALORES */

.valores{
    padding: 5% 12%;
    margin: 50px auto 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 100px;
}

.valores i{
    font-size: 3em;
    margin-top: 15px;
    color: #406a92;
}

.valores-text{
    background-color: #efbdbd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    align-items: center !important;
    text-align: center;
    padding: 25px;
    border-radius: 5px;

    h2{
        color: rgb(126, 115, 169);
        font-weight: 300;
    }

    p{
        font-weight: 300;
        color: #406a92;
    }
}

/* FRASE ESQUERDA */


.frase{
    background-color: var(--cor-azul-claro);
    height: 400px;
    margin: 100px 0 50px 0;
    display: flex;
    gap: 15px;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.frase img{
    height: 100%;
    object-fit: fill;
    flex: 0 0 auto; 
}

.frase h2 {
    font-family: "Lavishly Yours", cursive;
    font-size: 2.2em;
    color: #3a546d;
    flex: 1;
    margin-left: 100px; 

    span{
        font-family: 'Birthstone', cursive;
    }
    
    i{
        color:#79a1c2;
    }
}

/* BOXES ADMIN */

.admin-box {
    width: 50%;
    margin: 200px auto auto auto;
    padding: 50px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.login-box {
    width: 100%;
}

.painel-links {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* DASHBOARD */

.container{
    padding: 3%;
    margin-left: 250px;   
}

.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    height: calc(100vh - 60px);
    width: 250px;
    background-color: var(--cor-verde-escuro);
    color: white;
    padding: 20px;
    box-sizing: border-box;
    z-index: 999;    
}

.nav-sidebar{
    display: flex;
    flex-direction: column;
}
.sidebar a {
    font-size: 1.1em;
    display: block;
    color: white;
    text-decoration: none;
    margin: 15px 0;
    font-weight: bold;
}
.sidebar a:hover {
    text-decoration: none;
}

/*  TABELAS */

table {
  width: 90%;
  margin: 50px auto;
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  color: var(--cor-cinza-texto);
  border: 1px solid var(--cor-cinza-medio);
  border-radius: 10px;
  border-spacing: 0;
}

tr{
  background-color: var(--cor-cinza-claro);
  text-align: left;
  border: 1px solid var(--cor-cinza-medio);
}

th {
  font-size: 0.9em;
  font-weight: 400;
  padding: 16px 32px;
  color: var(--cor-cinza-texto);
  text-align: center;
}

td {
  background-color: white;
  padding: 10px;
  vertical-align: middle;
  border-top: 1px solid var(--cor-cinza-medio);
}




/* TURMA */



.turma-item {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    padding: 12px;
    background: #f9f9f9;
}

.turma-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.turma-detalhes {
    margin-top: 10px;
}

.turma-item:last-child{
    margin-bottom: 10px;
}


/* BOTOES */

.botoes-between{
    justify-content: space-between;
}

.botoes-end{
    justify-content: flex-end;
}

.botoes-start{
    justify-content: flex-start;
}

button, .botao-principal{
    font-family: "Poiret One", sans-serif;
    font-size: 1em;
    padding: 12px 20px;
    background-color: var(--cor-verde-escuro);
    color: white;
    border: 0;
    cursor: pointer;
    transition: 0.3s ease;
    margin: 15px 0;
    display: inline-block;
}

button:hover, .botao-principal:hover {
    background-color: var(--cor-verde-claro);
    color: white;
}

.botao-simples{
    font-family: "Poiret One", sans-serif;
    font-size: 0.9em;
    padding: 9px 14px;
    background-color: #e0e0e0;
    color: var(--cor-verde-escuro);
    border: 0;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s ease;
    margin: 0;
    display: inline-block;
    white-space: nowrap; /* <- impede quebra de linha */
}

.botao-simples:hover{
    background-color: var(--cor-verde-claro);
    color: white;
}

.atualizar:before{
    content: '\f021';
}
    
.mail:before{
    content: '\f0e0';
}

.plus:before{
    content: '\2b';
}

.minus:before{
    content: '\f068';
}

a{
    text-decoration: none;
    font-size: 0.9em;
    color: var(--cor-verde-claro);
    white-space: nowrap;
}

a:hover{
    color: orangered;
}

.botao-sair {
    font-family: "Poiret One", sans-serif;
    font-size: 0.8em;
    padding: 12px 20px;
    background-color: var(--cor-cinza-field);
    color: var(--cor-cinza-texto);
    border: 0;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease;
    margin: 15px;
    display: inline-block;
}

.botao-sair:before{
    content: '\f00d';
}

.botao-sair:hover {
    background-color: var(--cor-cinza-medio);
    color: var(--cor-cinza-claro);
}

a.botao-detalhar {
    font-family: 'Poiret One', sans-serif;
    background-color: var(--cor-verde-petroleo);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin: 20px 0;
}

.botao-detalhar:hover {
    background-color: var(--cor-verde-claro);
}

.botao-editar{
    background-color: var(--cor-azul-claro);
    color: var(--cor-amarelo-escuro);
    padding: 8px 16px;
    text-decoration: none;
    font-size: 12px;
    margin: 0;
    border-radius: 50px;

    display: flex;
    cursor: pointer;
    gap: 10px;
    align-items: center;
}

.botao-editar:hover{
    background-color: var(--cor-verde-claro);
    color: var(--cor-cinza-claro);
}

button i {
    font-size: 18px;
    transition: opacity 0.3s ease;
}

.icon-default {
    display: inline-block;
}

.icon-hover {
    display: none;
}

.botao-editar:hover .icon-default {
    display: none;
}

.botao-editar:hover .icon-hover {
    display: inline-block;
}

.expandir {
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    margin-right: 10px;
}

.botao-voltar {
    font-family: 'Poiret One', sans-serif;
    background-color: var(--cor-verde-medio);
    color:#a1deed;
    padding: 8px 16px;
    text-decoration: none;
}

.botao-voltar::before{
    content: '\f060';
}

.botao-voltar:hover {
    background-color: var(--cor-azul-texto);
    color: var(--cor-azul-claro);
}

.botao-icone{
    font-size: .75em;
    padding: 4px;
    background-color: white;
    color: #5e5e5e;
    border: 0;
    cursor: pointer;
    transition: 0.3s ease;
    margin: 0 10px 0 -30px;
    display: inline-block;
}

.botao-icone:hover{
    color:#2e2e2e;
    background-color: white;
}

.botao-paginacao{
    background-color: white;
    color: var(--cor-verde-escuro);
    font-size: 1.3em;
}





/* FORMULARIOS */

.field-row{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 20px;
    box-sizing: border-box; 
}

.field-column{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
    box-sizing: border-box;
}

#nova_turma{
    padding: 30px 0;
}

#container-aulas{
    align-items: center;
    width: 100%;
}

.psicologo-aula{
    border: 1px solid var(--cor-cinza-field);
    padding: 0;
    margin: 0;
}

fieldset{
    width: 100%;
    padding: 30px 20px;
    box-sizing: border-box;
    border: 1px var(--cor-cinza-field) solid;
    border-radius: 10px;
    margin-top: 25px;
}

.form-item{
    width: 100%;
    gap: 20px;
}

label, fieldset p{
    font-family: 'Lexend', sans-serif;
    font-weight: 100;
    font-size: 1em;
    color: var(--cor-azul-texto);
    white-space: nowrap; /* <- impede quebra de linha */
    margin: 0 8px;
}

input, textarea {
    font-family: 'Lexend', sans-serif;
    font-size: 1em;
    color: var(--cor-azul-texto);
    border: 1px solid var(--cor-cinza-field);
    border-radius: 8px;
    width: 100%;
    height: 34px;    
    margin: 0;
    box-sizing: border-box;
    padding: 0 4px 0 10px;
}

input[type="radio"]{
    height: 18px;
}

input:focus {
    outline: none;
}

.fa-input-esq{
    color: var(--cor-azul-texto);
    background-color: white;

    padding: 5px 10px;
    height: 22px;    
    
    border: 1px solid var(--cor-cinza-field);
    border-radius: 8px 0 0 8px;
    border-right: 0;
    z-index: 5;
    margin-right: -30px;
}

.fa-input-dir{
    color: var(--cor-azul-texto);
    background-color: white;

    padding: 5px;
    height: 34px;    
    
    border: 1px solid var(--cor-cinza-field);
    border-radius: 0 8px 8px 0;
    border-left: 0;
    z-index: 5;
    margin: 0 0 0 -30px;
}



.fa-botao{
    color: var(--cor-azul-claro);
    background-color: white;

    padding: 5px 10px;
    height: 30px;    
    
    border: 1px solid var(--cor-cinza-field);
    border-radius: 8px 0 0 8px;
    border-right: 0;
    z-index: 5;
    margin-right: -10px;
}

.login-box i{
    display: flex;
    justify-content: center;
    align-items: center;
}

/* MENSAGENS */

.mensagem-erro {
    color: red;
}

.mensagem-sucesso {
    color: green;
}

/* MODAIS */

.modal {
    display: none;
}

.modal.hidden {
    display: none !important;
}

.modal.visivel {
    display: flex !important;
    position: fixed;             /* Fixa o modal em relação à viewport */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* fundo escurecido */
    align-items: center;         /* Centraliza verticalmente */
    justify-content: center;     /* Centraliza horizontalmente */
    z-index: 2000; 
}

.modal-container {
    
    background: white;
    font-family: 'Lexend', sans-serif;
    font-size: 1em;
    color: var(--cor-verde-claro);    
    
    width: 90%;
    max-width: 700px;
    max-height: 80vh;

    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    
    border: 1px solid var(--cor-cinza-field);
    border-radius: 8px;
    
    padding: 10px 20px 20px 20px;
    margin: 0 auto;
}

.modal-paginacao{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
    color: var(--cor-verde-claro);
}

.fa-arrow-left-long, .fa-pencil{
    margin-right: 5px;
}

.modal-imagem {
    display: none;
    position: fixed;
    z-index: 3000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.modal-imagem.visivel {
    display: flex;
}

.modal-imagem img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
}

.modal-imagem .close, .close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

