@import url(reset.css);
/* =========================================================
   PRINCIPAL
========================================================= */

.principal {
    width: 100%;
}


/* =========================================================
   IMAGEM DE FUNDO
========================================================= */

.imagemBackground {
    position: relative;

    width: 100%;
    min-height: 480px;

    overflow: hidden;

    display: flex;
    align-items: center;
}


/* =========================================================
   IMAGEM DE FUNDO
========================================================= */

.imagemBackground > img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}


/* =========================================================
   CONTEÚDO — LADO ESQUERDO
========================================================= */

.imagemBackground .conteudos {
    position: relative;

    z-index: 2;

    width: 60%;

    padding: 8% 8% 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}


/* =========================================================
   TÍTULO
========================================================= */

.imagemBackground .conteudos h2 {
    position: relative;

    max-width: 490px;

    margin: 0 0 10px;

    padding-bottom: 12px;

    color: var(--corBranca);

    font-size: 2rem;
    font-weight: var(--peso-2);

    line-height: 1.15;
}


/* =========================================================
   LINHA DECORATIVA
========================================================= */

.imagemBackground .conteudos h2::before {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 90%;
    height: 2px;

   background: linear-gradient(
        to right,
        var(--corPrincipal) 0,
        var(--corPrincipal) 60px,
        color-mix(in srgb, var(--corPrincipal) 30%, transparent) 20px,
        color-mix(in srgb, var(--corPrincipal) 30%, transparent) 100%
    );
}


/* =========================================================
   TEXTO
========================================================= */

.imagemBackground .conteudos p {
    max-width: 500px;

    margin: 0;

    color: var(--corBranca);

    font-size: var(--peso-4);
    font-weight: var(--peso-4);
    line-height: 1.4;
}



.imagemBackground .img {
    position: relative;
    z-index: 2;

    top: 210px;
    right: 10%;

    transform: translateY(-50%);

    width: 420px;
    height: 280px;

    background-color: var(--corSegundaria);
}

.imagemBackground .img img {
    position: absolute;
    z-index: 1;

    display: block;

    width: 410px;
    height: 280px;

    object-fit: cover;

    /* 20px acima do background */
    top: -40px;

    /* 35px para a direita */
    right: -25px;
}

.aprenderes {
    background-color: rgba(216, 174, 118, 0.1);
    padding: 20px 0 2px;
}

.aprender {
    width: 90%;
    max-width: 1100px;

    margin: 40px auto;
    padding: 25px 40px;

    text-align: center;


     background-color: rgba(216, 174, 118, 0.1);

    border-radius: 26px;

  
}


/* =========================================================
   TÍTULO
========================================================= */

.aprender h3 {
    margin: 0 0 8px;

    color: var(--corBranca);

    font-size: var(--esp-3);
    font-weight: var(--peso-3);

    line-height: 1.3;

    text-align: center;
}


/* =========================================================
   TEXTO
========================================================= */

.aprender p {
    max-width: 900px;

    margin: 0 auto;

    color: var(--corBranca);

    font-size: var(--esp-7);
    font-weight: var(--peso-4);

    line-height: 1.6;

    text-align: center;
}



.ensinar {
    width: 70%;
    margin: 10px auto 20px;
    padding: 40px 50px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    border-radius: 10px;

    background-color: var(--corSegundaria);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.ensinar .conteudo {
    width: 100%;
}

/* Título */
.ensinar .conteudo h4 {
    position: relative;

    margin: 0 0 2px;
    padding-bottom: 2px;

    color: var(--corPrincipal);
    font-size: var(--esp-6);
    font-weight: var(--peso-4);
    line-height: 1.2;
}

/* Linha igual à utilizada no h2 */
.ensinar .conteudo h4::before {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 20%;
    height: 2px;

    background: linear-gradient(
        to right,
        var(--corPrincipal) 0,
        var(--corPrincipal) 20px,
        color-mix(in srgb, var(--corPrincipal) 30%, transparent) 20px,
        color-mix(in srgb, var(--corPrincipal) 30%, transparent) 100%
    );
}

/* Parágrafo */
.ensinar .conteudo p {
    position: relative;

    margin: 0;
    padding-left: 0;

    width: 90%;

    color: var(--corBranca);
    font-size: var(--esp-7);
    font-weight: 200;
    line-height: 1.4;
}

/* Bola antes do parágrafo */
.ensinar .conteudo p::before {
    content: "";

    position: absolute;

    left: -33px;
    top: -12px;

    width: 30px;
    height: 30px;

    border-radius: 50%;
    background-color: var(--corPrincipal);
}


/* =========================================================
   PESQUISA
========================================================= */

.pesquisa {
    width: 90%;
    margin: 0 auto;
    padding: 30px 0 40px;

    display: flex;
    flex-direction: column;

    gap: 25px;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.pesquisa .conteudo {
    width: 100%;

    text-align: left;
}

.pesquisa .conteudo h3 {
    margin: 0 0 8px;

    color: var(--corBranca);

    font-size: var(--esp-2);
    font-weight: var(--peso-3);

    line-height: 1.2;
}

.pesquisa .conteudo p {
    width: 40%;
    margin: 0;

    color: var(--corBranca);

    font-size: var(--esp-6);
    font-weight: var(--peso-4);

    line-height: 1.4;
}


/* =========================================================
   FORMULÁRIO
========================================================= */

.pesquisa .form {
    width: 100%;
}


/* =========================================================
   CAMPOS HORIZONTAIS
========================================================= */

.pesquisa .form form {
    width: 100%;

    display: grid;
    grid-template-columns: 0.5fr 0.3fr;

    gap: 10px;
}


/* =========================================================
   CAMPO
========================================================= */

.pesquisa .campo {
    display: flex;
    flex-direction: column;

    gap: 5px;
}


/* =========================================================
   LABEL
========================================================= */

.pesquisa .campo label {
    color: var(--corBranca);

    font-size: var(--esp-6);
    font-weight: var(--peso-4);

    line-height: 1.3;
}


/* =========================================================
   INPUT COM ÍCONE
========================================================= */

.pesquisa .input-icon {
    position: relative;

    width: 100%;
}

.pesquisa .input-icon img {
    position: absolute;

    left: 14px;
    top: 50%;

    width: 14px;
    height: 14px;

    transform: translateY(-50%);

    pointer-events: none;
}

.pesquisa .input-icon input {
    width: 100%;

    height: 35px;

    padding: 0 15px 0 35px;

    border: none;
    outline: none;
    border-radius: 8px;

    background-color: var(--corBranca);
    color: var(--corPreta);

    font-size: var(--esp-7);
    font-weight: var(--peso-4);
}

.pesquisa .input-icon input::placeholder {
    color: #777;
}


/* =========================================================
   SELECT
========================================================= */

.pesquisa .select-icon {
    position: relative;

    width: 100%;
}

.pesquisa .select-icon select {
    width: 70%;

    height: 35px;

    padding: 0 45px 0 15px;

    border: none;
    outline: none;
    border-radius:8px;

    appearance: none;

    background-color: var(--corBranca);
    color: var(--corPreta);

   font-size: var(--esp-7);
    font-weight: var(--peso-4);

    cursor: pointer;
}


/* =========================================================
   ÍCONE DA SETA
========================================================= */

.pesquisa .select-icon img {
    position: absolute;

    right: 130px;
    top: 50%;

    width: 12px;
    height: 12px;

    transform: translateY(-50%);

    pointer-events: none;

    transition: transform .3s ease;
}


/* =========================================================
   SETA PARA CIMA QUANDO O SELECT ESTÁ FOCADO
========================================================= */

.pesquisa .select-icon:focus-within img {
    transform: translateY(-50%) rotate(180deg);
}


/* =========================================================
   BOTÕES DE CATEGORIA
========================================================= */

.pesquisa .btn {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 10px;
}

.pesquisa .btn button {
    padding: 7px 12px;

    border: 1px solid var(--corPreta);
    border-radius: 25px;

    background-color: transparent;
    color: var(--corBranca);

    font-family: inherit;
    font-size: var(--esp-7);
    font-weight: var(--peso-4);

    cursor: pointer;

    transition: .3s ease;
}


/* =========================================================
   BOTÃO ATIVO
========================================================= */

.pesquisa .btn button.ativo {
    background-color: var(--corSegundaria);
    color: var(--corBranca);
}


/* =========================================================
   HOVER
========================================================= */

.pesquisa .btn button:hover {
    background-color: var(--corSegundaria);
    color: var(--corBranca);
}



.destaque {
    width: 80%;
    margin: 20px auto;
    padding: 35px 40px;
    border-radius: 25px;

    display: grid;
    grid-template-columns: 33% 60%;
    align-items: center;

   
     background-color: rgba(219, 174, 118, 0.10);
}

/* IMAGEM */
.destaque > img {
    width: 100%;
    height: 400px;

    display: block;
    object-fit: cover;

    border-radius: 6px;
}

/* CONTEÚDO */
.destaque .conteudo {
    width: 100%;
    padding: 10px 45px;
}

/* TÍTULO PRINCIPAL */
.destaque .conteudo h2 {
    margin: 0 0 85px;

    color: var(--corBranca);
    font-size: var(--esp-2);
    font-weight: var(--peso-4);
    line-height: 1.2;
}

.destaque .conteudo h2 {
    position: relative;

    margin: 0 0 85px;
    padding-bottom: 5px;

    color: var(--corBranca);
    font-size: var(--esp-2);
    font-weight: var(--peso-4);
    line-height: 1.2;
}

.destaque .conteudo h2::before {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 60%;
    height: 2px;

    background: linear-gradient(
        to right,
        var(--corPrincipal) 0,
        var(--corPrincipal) 60px,
        color-mix(in srgb, var(--corPrincipal) 30%, transparent) 20px,
        color-mix(in srgb, var(--corPrincipal) 30%, transparent) 100%
    );
}

/* TÍTULO DA OBRA */
.destaque .conteudo h3 {
    margin: 0 0 8px;

    color: var(--corBranca);
    font-size: var(--esp-3);
    font-weight: var(--peso-4);
    line-height: 1.3;
}

/* PARÁGRAFO */
.destaque .conteudo > p {
    margin: 0 0 8px;

    color: var(--corBranca);
    font-size: var(--esp-6);
    font-weight: var(--peso-4);
    line-height: 1.5;
}

/* CATEGORIA / TIPO */
.destaque .conteudo >  span {
    color: var(--corBranca);
    font-size: var(--esp-7);
     font-weight: var(--peso-3);
      margin: 30px 0 0;
   
}

/* LINK */
.destaque .conteudo > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

   
    padding: 5px 22px;

    background-color: var(--corSegundaria);
    color: var(--corBranca);

    text-decoration: none;
    font-size: var(--esp-7);
    font-weight: var(--peso-4);

    border-radius: 4px;

    transition: .3s ease;
}

.destaque .conteudo > a:hover {
    transform: translateY(-2px);
    opacity: .9;
}


/* =========================================================
   ARTIGOS / LIVROS
========================================================= */

.livros {
    width: 90%;
    margin: 0 auto;
    padding: 0;
}


/* =========================================================
   TÍTULO
========================================================= */

.livros .conteudo-topo {
    width: 100%;
    margin-bottom: 25px;
}

.livros .conteudo-topo h3 {
    position: relative;

    margin: 0;
    padding-bottom: 5px;

    color: var(--corBranca);

    font-size: var(--esp-4);
    font-weight: var(--peso-4);

    line-height: 1.2;
}


/* =========================================================
   LINHA DECORATIVA
========================================================= */

.livros .conteudo-topo h3::before {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 25%;
    height: 2px;

    background: linear-gradient(
        to right,
        var(--corPrincipal) 0,
        var(--corPrincipal) 60px,
        color-mix(
            in srgb,
            var(--corPrincipal) 30%,
            transparent
        ) 60px,
        color-mix(
            in srgb,
            var(--corPrincipal) 30%,
            transparent
        ) 100%
    );
}






/* =========================================================
   LISTA DE ARTIGOS
========================================================= */

.livros .lista-livros {
    width: 90%;
    margin: 0 auto 30px;

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 35px 18px;
}


/* =========================================================
   CARD DO ARTIGO
========================================================= */

.livros .livro {
    width: 95%;

    overflow: hidden;

    background-color: var(--corSegundaria);

     background-color: rgba(219, 174, 118, 0.10);

    border-radius: 6px;

    transition: .3s ease;
}

.livros .livro:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, .8);
}


/* =========================================================
   IMAGEM / CAPA DO ARTIGO
========================================================= */

.livros .livro > img {
    width: 85%;
    height: 290px;
    border-radius: 8px;

    margin: 10px auto 0;

    display: block;

    object-fit: cover;
}


/* =========================================================
   CATEGORIA
========================================================= */

.livros .categoriaAno {
    width: 100%;

    padding: 2px 25px 0;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}


.livros .categoriaAno p {
    margin: 0;

    color: var(--corBranca);

    font-size: .62rem;
    font-weight: 200;

    line-height: 1.3;

    font-style: italic;
}


/* =========================================================
   CONTEÚDO DO ARTIGO
========================================================= */

.livros .livro .conteudo {
    padding: 8px 25px 20px;
}


/* =========================================================
   TÍTULO DO ARTIGO
========================================================= */

.livros .livro .conteudo h4 {
    margin: 0 0 8px;

    color: var(--corBranca);

    font-size: var(--esp-5);
    font-weight: var(--peso-4);

    line-height: 1.3;
}


/* =========================================================
   DESCRIÇÃO
========================================================= */

.livros .livro .conteudo p {
    margin: 0 0 12px;

    color: var(--corBranca);

    font-size: .75rem;
    font-weight: var(--peso-4);

    line-height: 1.4;
}


/* =========================================================
   LINK — LER ARTIGO
========================================================= */

.livros .livro .conteudo a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 4px;

    color: var(--corBranca);

    text-decoration: none;

    font-size: .75rem;
    font-weight: var(--peso-4);

    border-radius: 4px;

    transition: .3s ease;
}


/* =========================================================
   SETA
========================================================= */

.livros .livro .conteudo a img {
    width: 10px;
    height: 10px;

    display: block;

    object-fit: contain;
}


/* =========================================================
   HOVER DO LINK
========================================================= */

.livros .livro .conteudo a:hover {
    color: var(--corPrincipal);

    transform: translateY(-2px);
}


.conteudos {
    width: 100%;
    margin: 10px auto;

    text-align: center;
}

.conteudos h3 {
    margin: 0 0 4px;

    color: var(--corBranca);

    font-size: var(--esp-3);
    font-weight: var(--peso-3);

    line-height: 1.3;
    text-align: center;
}

.conteudos p {
    max-width: 950px;
    margin: 0 auto;

    color: var(--corBranca);

    font-size: var(--esp-6);
    font-weight: var(--peso-4);

    line-height: 1.5;
    text-align: center;
}

/* =========================================================
   PAGINAÇÃO
========================================================= */

.paginacao-botoes {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 18px;

    margin-top: 50px;
}


/* =========================================================
   NÚMEROS
========================================================= */

.paginacao-numeros {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 10px;
}


/* =========================================================
   NÚMERO DA PÁGINA
========================================================= */

.paginacao-numeros a {
    width: 38px;
    height: 38px;

    display: flex;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;

    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    color: #201b13;

    border: 1px solid #d8ae76;
    border-radius: 50%;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease;
}


/* =========================================================
   PÁGINA ATUAL
========================================================= */

.paginacao-numeros a.pagina-atual {
    background: #d8ae76;
    color: #ffffff;

    border-color: #d8ae76;
}


/* =========================================================
   HOVER NÚMEROS
========================================================= */

.paginacao-numeros a:hover {
    background: #d8ae76;
    color: #ffffff;

    border-color: #d8ae76;
}


/* =========================================================
   SETAS
========================================================= */

.paginacao-botoes .pagina-anterior,
.paginacao-botoes .pagina-proxima {
    width: 42px;
    height: 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;

    padding: 0;

    background: transparent;

    border: 1px solid #d8ae76;
    border-radius: 50%;

    cursor: pointer;

    transition:
        background .3s ease,
        opacity .3s ease;
}


/* =========================================================
   ÍCONE DAS SETAS
========================================================= */

.paginacao-botoes .pagina-anterior img,
.paginacao-botoes .pagina-proxima img {
    width: 18px;
    height: 18px;

    display: block;
}


/* =========================================================
   INVERTER SETA ANTERIOR
========================================================= */

.paginacao-botoes .pagina-anterior img {
    transform: rotate(180deg);
}


/* =========================================================
   HOVER SETAS
========================================================= */

.paginacao-botoes a.pagina-anterior:hover,
.paginacao-botoes a.pagina-proxima:hover {
    background: #d8ae76;
}


/* =========================================================
   DESATIVADO
========================================================= */

.paginacao-botoes .desativado {
    opacity: .35;

    cursor: not-allowed;

    pointer-events: none;
}





.obra {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.obra .conteudo {
    width: 100%;
    padding: 30px 40px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;



    border-radius: 20px;

   background-color: rgba(219, 174, 118, 0.10);
}


/* =========================================================
   TÍTULO
========================================================= */

.obra .conteudo h3 {
    margin: 0 0 5px;

    color: var(--corBranca);

    font-size: var(--esp-3);
    font-weight: var(--peso-4);

    line-height: 1.2;

    text-align: center;
}


/* =========================================================
   DESCRIÇÃO
========================================================= */

.obra .conteudo > p {
    max-width: 800px;

    margin: 0 0 8px;

    color: var(--corBranca);

    font-size: var(--esp-7);
    font-weight: var(--peso-4);

    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   VÍDEO
========================================================= */

.obra .video {
    width: 75%;
    max-width: 900px;

    overflow: hidden;

  

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .20);
}


.obra .video iframe {
    width: 100%;
    height: 450px;

    display: block;

    border: none;
}