

@import url(reset.css);
/* =========================================================
   PRINCIPAL
========================================================= */



.pesquisa .select-categorias {
    display: none !important;
}

.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: 420px;

    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: 97%;
    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;
}



/* =========================================================
   OBRA EM DESTAQUE
========================================================= */

.destaque {
    position: relative;

    width: 100%;
    max-width: 1150px;

    margin: 20px auto;
    padding: 20px 10%;

    display: grid;
    grid-template-columns: 380px 1fr;
 background-color: rgba(219, 174, 118, 0.10);

        border-radius: 15px;

    column-gap: 20px;
    align-items: center;

    
}


/* =========================================================
   CAPA DO LIVRO
========================================================= */

.destaque .livro {
    position: relative;

    width: 88%;
    height: 380px;

    z-index: 2;
}


.destaque .livro img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 8px;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.destaque .conteudo {
    width: 100%;
    align-self: center;

    transform: translateY(-50px);
}


.destaque .conteudo h3 {
    position: relative;

    margin: 0 0 12px;
    padding-bottom: 12px;

    color: var(--corBranca);

    font-size: var(--esp-3);
    font-weight: var(--peso-2);

    line-height: 1.2;
}


/* =========================================================
   LINHA DECORATIVA
========================================================= */

.destaque .conteudo h3::before {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 57%;
    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%
    );
}


/* =========================================================
   TEXTO
========================================================= */

.destaque .conteudo p {
    margin: 0;

    color: var(--corBranca);

    font-size: var(--esp-6);
    font-weight: var(--peso-4);

    line-height: 1.4;
}


.destaque .conteudo p span {
    display: block;

    margin-bottom: 15px;

    color: var(--corBranca);

    font-size: var(--esp-4);
    font-weight: var(--peso-4);

    line-height: 1.3;
}


/* =========================================================
   INFORMAÇÕES
========================================================= */

.destaque .infromacoes {
    position: absolute;

    left: 430px;
    bottom: 30px;

    width: 300px;

    padding: 5px 18px;

    z-index: 5;

    background-color: var(--corPrincipal);

    border-radius: 6px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .20);
}


/* =========================================================
   TÍTULO INFORMAÇÕES
========================================================= */

.destaque .infromacoes h4 {
   
    color: var(--corBranca);

    font-size: var(--esp-5);
    font-weight: var(--peso-3);

    line-height: 1.2;
}


/* =========================================================
   DADOS
========================================================= */

.destaque .infromacoes p {
    margin: 0 0 2px;

    color: var(--corBranca);

    font-size: var(--esp-7);
    font-weight: 200;

    line-height: 1.2;

     display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}


/* =========================================================
   BOTÕES
========================================================= */

.destaque .infromacoes a {
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin-top: 8px;
    text-decoration: none;
}

.destaque .infromacoes a span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 120px;
    padding: 3px 5px;

    background-color: var(--corPreta);
    color: var(--corBranca);

    font-size: var(--esp-7);
    font-weight: 200;

    border-radius: 4px;
    transition: .3s ease;
}


.destaque .infromacoes a span:hover {
    background-color: var(--corSegundaria);

    transform: translateY(-2px);
}


/* =========================================================
   PESQUISA
========================================================= */

.pesquisa {
    width: 90%;
    margin: 0 auto;
    padding: 60px 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);
}


/* =========================================================
   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 LIVROS
========================================================= */

.livros .lista-livros {
    width: 90%;
    margin: 0 auto 30px;

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 35px 18px;
}


/* =========================================================
   CARD DO LIVRO
========================================================= */

.livros .livro {
    width: 95%;

    overflow: hidden;

  

    background-color: rgba(219, 174, 118, 0.10);

    border-radius: 6px;
}


/* =========================================================
   CAPA
========================================================= */

.livros .livro > img {
    width: 85%;
    height: 290px;
    margin: 10px auto 0;

    display: block;

    object-fit: cover;
}


/* =========================================================
   CATEGORIA E ANO
========================================================= */

.livros .categoriaAno {
    width: 100%;

    padding: 2px 25px 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}


.livros .categoriaAno p {
    margin: 0;

    color: var(--corBranca);

    font-size: .62rem;
    font-weight: 200;

    line-height: 1.3;
     font-style: italic;
}


.livros .categoriaAno p span {
    font-style: italic;

    color: var(--corBranca);

    margin-right: 2px;
}


/* =========================================================
   CONTEÚDO DO LIVRO
========================================================= */

.livros .livro .conteudo {
    padding: 8px 25px 20px 25px;
}


/* TÍTULO DO LIVRO */

.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 8px;

    color: var(--corBranca);

    font-size: .75rem;
    font-weight: var(--peso-4);
   

    line-height: 1.4;
}


/* =========================================================
   ONDE COMPRAR
========================================================= */

.livros .livro .conteudo a {
    display: inline-flex;

    align-items: center;
    justify-content: center;



    color: var(--corBranca);

    text-decoration: none;

    font-size: .75rem;
    font-weight: var(--peso-4);

    border-radius: 4px;

    transition: .3s ease;
    gap: 4px;
}


.livros .livro .conteudo a:hover {
    

    transform: translateY(-2px);
}
.livros .livro .conteudo a img{
    width: 10px;
    height: 10px;
}


/* =========================================================
   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
========================================================= */

.obra {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
       background-color: rgba(219, 174, 118, 0.10);
         border-radius: 20px;

}


/* =========================================================
   CONTEÚDO
========================================================= */

.obra .conteudo {
    width: 100%;
    padding: 10px 40px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;



  
  
}


/* =========================================================
   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;

  
background-color: rgba(219, 174, 118, 0.10);
}


.obra .video iframe {
    width: 100%;
    height: 450px;

    display: block;

    border: none;
}