/*==========================================================
                LIVRARIA MHD PREMIUM
==========================================================*/

.livraria-premium{

    position:relative;
    overflow:hidden;

    padding:120px 0;

    background:

    radial-gradient(
        circle at top left,
        rgba(255,255,255,.10),
        transparent 32%),

    radial-gradient(
        circle at bottom right,
        rgba(212,164,55,.12),
        transparent 35%),

    linear-gradient(
        135deg,
        #2D0B57 0%,
        #3B1172 25%,
        #4B148A 50%,
        #5B1DA3 75%,
        #3A106C 100%);

}

.livraria-premium::before{

    content:"";

    position:absolute;
    inset:0;

    background:

    radial-gradient(
        rgba(255,255,255,.05) 1px,
        transparent 1px);

    background-size:65px 65px;

    opacity:.20;

    pointer-events:none;

}

.livraria-premium::after{

    content:"";

    position:absolute;

    width:650px;
    height:650px;

    top:-250px;
    right:-180px;

    border-radius:50%;

    background:

    radial-gradient(
        circle,
        rgba(255,255,255,.12),
        transparent 70%);

    filter:blur(90px);

    pointer-events:none;

}
/*==========================================================
                SHOWCASE
==========================================================*/

.livraria-showcase{

    position:relative;

    display:grid;

    grid-template-columns:420px 1fr;

    align-items:center;

    gap:80px;

    padding:70px;

    border-radius:40px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.10);

    backdrop-filter:blur(20px);

    overflow:hidden;

}

.livro-side{

    display:flex;

    justify-content:center;

    align-items:center;

}

.book-stage{

    width:100%;

    display:flex;

    justify-content:center;

    perspective:1400px;

}

/*==========================================================
                LIVRO BADGE PREMIUM
==========================================================*/

.livro-badge{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:14px 30px;

    margin-bottom:35px;

    border-radius:50px;

    background:linear-gradient(
    135deg,
    rgba(212,164,55,.22),
    rgba(255,255,255,.10));

    border:1px solid rgba(212,164,55,.45);

    backdrop-filter:blur(18px);

    color:var(--gold);

    font-size:.90rem;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

    box-shadow:
    0 10px 30px rgba(212,164,55,.20);

    transition:.35s;

}

.livro-badge::before{

    content:"✦";

    display:flex;

    align-items:center;

    justify-content:center;

    width:34px;

    height:34px;

    border-radius:50%;

    background:linear-gradient(
    135deg,
    var(--gold),
    #f2c75c);

    color:var(--purple);

    font-size:15px;

    box-shadow:
    0 8px 20px rgba(212,164,55,.35);

}

.livro-badge:hover{

    transform:translateY(-3px);

    box-shadow:
    0 18px 40px rgba(212,164,55,.30);

}

/*==========================================================
                LADO DIREITO
==========================================================*/

.livro-details{

    position:relative;

    display:flex;

    flex-direction:column;

    justify-content:center;

    z-index:5;

}

.livro-details h2{

    color:#fff;

    font-size:3.3rem;

    line-height:1.15;

    font-weight:800;

    margin-bottom:28px;

    text-shadow:
    0 5px 20px rgba(0,0,0,.18);

}

.livro-details p{

    color:rgba(255,255,255,.88);

    font-size:1.08rem;

    line-height:2;

    margin-bottom:35px;

    max-width:620px;
}

/*==========================================================
                    AUTOR
==========================================================*/

.book-author{

    display:flex;

    flex-direction:column;

    gap:8px;

    margin-bottom:35px;

}

.book-author span{

    color:rgba(255,255,255,.70);

    font-size:.82rem;

    letter-spacing:3px;

    text-transform:uppercase;

}

.book-author strong{

    color:var(--gold);

    font-size:1.3rem;

    font-weight:700;

}

/*==========================================================
                CARACTERÍSTICAS
==========================================================*/

.book-features{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

    margin-bottom:45px;

}

.book-features div{

    padding:22px;

    border-radius:20px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.12);

    backdrop-filter:blur(18px);

    transition:.35s;

}

.book-features div:hover{

    transform:translateY(-8px);

    background:rgba(255,255,255,.12);

    border-color:rgba(212,164,55,.45);

}

.book-features i{

    width:55px;

    height:55px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:16px;

    background:linear-gradient(
    135deg,
    var(--gold),
    #f0bf4d);

    color:#4B148A;

    font-size:20px;

}

.book-features span{

    color:#fff;

    font-weight:600;

    font-size:.96rem;

}

/*==========================================================
                    BOTÃO
==========================================================*/

.explore-book{

    display:inline-flex;

    align-items:center;

    gap:14px;

    width:fit-content;

    padding:18px 38px;

    border-radius:60px;

    text-decoration:none;

    font-weight:700;

    color:#fff;

    background:linear-gradient(
    135deg,
    var(--gold),
    #e0b23d);

    box-shadow:
    0 18px 40px rgba(212,164,55,.30);

    transition:.4s;

}

.explore-book:hover{

    transform:translateY(-6px);

    box-shadow:
    0 28px 60px rgba(212,164,55,.45);

}

.explore-book i{

    transition:.35s;

}

.explore-book:hover i{

    transform:translateX(8px);

}

/*==========================================================
                    PAGINAÇÃO
==========================================================*/

.book-pagination{

    display:flex;

    align-items:center;

    gap:12px;

    margin-top:45px;

    color:#fff;

    font-size:1rem;

    letter-spacing:2px;

}

.book-pagination span:first-child{

    color:var(--gold);

    font-weight:700;

}

/*==========================================================
                    DOTS
==========================================================*/

.slider-dots{

    display:flex;

    gap:14px;

    margin-top:25px;

}

.slider-dots span{

    width:12px;

    height:12px;

    border-radius:50%;

    background:rgba(255,255,255,.35);

    cursor:pointer;

    transition:.35s;

}

.slider-dots span.active{

    width:42px;

    border-radius:30px;

    background:var(--gold);

}

/*==========================================================
                SETAS DO SLIDER
==========================================================*/

.slider-arrow{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:68px;
    height:68px;

    border:none;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    color:#fff;

    font-size:20px;

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.18);

    backdrop-filter:blur(18px);

    transition:.35s;

    z-index:50;

}

.slider-arrow:hover{

    background:var(--gold);

    color:var(--purple);

    transform:
    translateY(-50%)
    scale(1.08);

    box-shadow:

    0 15px 40px rgba(212,164,55,.35);

}

.prev{

    left:25px;

}

.next{

    right:25px;

}

/*==========================================================
                SERVIÇOS
==========================================================*/

.book-services{

    display:grid;

    grid-template-columns:

    repeat(4,1fr);

    gap:30px;

    margin-top:90px;

}

.book-services article{

    position:relative;

    padding:40px 30px;

    border-radius:24px;

    background:

    rgba(255,255,255,.08);

    border:

    1px solid rgba(255,255,255,.12);

    backdrop-filter:blur(20px);

    transition:.4s;

    overflow:hidden;

}

.book-services article::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(

    130deg,

    transparent,

    rgba(255,255,255,.05),

    transparent);

    opacity:0;

    transition:.4s;

}

.book-services article:hover{

    transform:

    translateY(-12px);

    border-color:

    rgba(212,164,55,.45);

    box-shadow:

    0 25px 50px rgba(0,0,0,.25);

}

.book-services article:hover::before{

    opacity:1;

}

/*==========================================================
                ÍCONES
==========================================================*/

.service-icon{

    width:78px;
    height:78px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:22px;

    background:

    linear-gradient(

    135deg,

    var(--gold),

    #f0bf4d);

    color:var(--purple);

    font-size:30px;

    box-shadow:

    0 12px 35px rgba(212,164,55,.30);

}

.book-services h3{

    color:#fff;

    font-size:1.35rem;

    margin-bottom:15px;

}

.book-services p{

    color:rgba(255,255,255,.85);

    line-height:1.8;

}

/*==========================================================
                BOTÃO FINAL
==========================================================*/

.livraria-bottom{

    display:flex;

    justify-content:center;

    margin-top:90px;

}

.view-library{

    display:inline-flex;

    align-items:center;

    gap:16px;

    padding:22px 48px;

    border-radius:60px;

    text-decoration:none;

    color:#fff;

    font-weight:700;

    background:

    linear-gradient(

    135deg,

    var(--gold),

    #e8b842);

    transition:.4s;

    box-shadow:

    0 20px 45px rgba(212,164,55,.35);

}

.view-library:hover{

    transform:

    translateY(-6px);

    box-shadow:

    0 30px 60px rgba(212,164,55,.45);

}

.view-library i{

    transition:.35s;

}

.view-library:hover i{

    transform:

    translateX(8px);

}

/*==========================================================
                ANIMAÇÕES
==========================================================*/

@keyframes floatBook{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-14px);

    }

    100%{

        transform:translateY(0px);

    }

}

@keyframes glow{

    0%{

        opacity:.35;

        transform:scale(1);

    }

    50%{

        opacity:.65;

        transform:scale(1.08);

    }

    100%{

        opacity:.35;

        transform:scale(1);

    }

}

.background-glow{

    animation:glow 7s ease-in-out infinite;

}

#livroImagem{

    width:340px;

    max-width:100%;

    height:auto;

    display:block;

    border-radius:18px;

    box-shadow:

    0 30px 70px rgba(0,0,0,.45);

    transition:.45s;

    transform:

    rotateY(-8deg)

    rotateX(2deg);

    animation:floatBook 6s ease-in-out infinite;

}

#livroImagem:hover{

    transform:

    rotateY(0deg)

    scale(1.04);

}

/*==========================================================
                RESPONSIVIDADE
==========================================================*/

@media (max-width:1200px){

    .livraria-showcase{

        grid-template-columns:1fr;

        gap:60px;

        padding:55px;

        text-align:center;

    }

    .livro-side{

        min-height:auto;

    }

    .livro-details{

        align-items:center;

    }

    .livro-details p{

        max-width:700px;

    }

    .book-features{

        grid-template-columns:repeat(3,1fr);

        width:100%;

    }

    .book-services{

        grid-template-columns:repeat(2,1fr);

    }

    .slider-arrow{

        display:none;

    }

}

@media (max-width:768px){

    .livraria-premium{

        padding:90px 0;

    }

    .livraria-showcase{

        padding:35px;

        border-radius:22px;

    }

    #livroImagem{

        width:260px;

    }

    .livro-details h2{

    font-size:3rem;

    line-height:1.15;

    max-width:650px;

}
    .livro-details p{

        font-size:1rem;

        line-height:1.8;

    }

    .book-features{

        grid-template-columns:1fr;

    }

    .book-services{

        grid-template-columns:1fr;

        gap:25px;

    }

    .explore-book{

        width:100%;

        justify-content:center;

    }

    .view-library{

        width:100%;

        justify-content:center;

    }

    .book-pagination{

        justify-content:center;

    }

    .slider-dots{

        justify-content:center;

    }

}

@media (max-width:480px){

    .livraria-header{

        margin-bottom:40px;

    }

    .livro-badge{

        font-size:.72rem;

        padding:12px 20px;

        letter-spacing:2px;

    }

    .livro-details h2{

        font-size:1.8rem;

    }

    .livro-details p{

        font-size:.95rem;

    }

    .service-icon{

        width:65px;

        height:65px;

        font-size:24px;

    }

}

/*==========================================================
                ANIMAÇÕES DE ENTRADA
==========================================================*/

.livro-side{

    animation:fadeLeft .9s ease both;

}

.livro-details{

    animation:fadeRight .9s ease both;

}

.book-services article{

    animation:fadeUp .8s ease both;

}

/*==========================================================
                KEYFRAMES
==========================================================*/

@keyframes fadeLeft{

    from{

        opacity:0;

        transform:translateX(-60px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes fadeRight{

    from{

        opacity:0;

        transform:translateX(60px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==========================================================
                OTIMIZAÇÕES
==========================================================*/

#livroImagem{

    user-select:none;

    -webkit-user-drag:none;

}

.book-stage{

    isolation:isolate;

}

.book-services article,
.book-features div,
.slider-arrow,
.explore-book,
.view-library{

    will-change:transform;

}

.book-services article:hover,
.book-features div:hover,
.slider-arrow:hover,
.explore-book:hover,
.view-library:hover{

    transition:all .35s ease;

}

/*==========================================================
                ACABAMENTO FINAL
==========================================================*/

.book-services,
.livraria-showcase{

    position:relative;

    z-index:2;

}
