/* RESET */







*{
margin:0;
padding:0;
box-sizing:border-box;
}

:root{

--blue:#146ff8;
--dark:#00318a;
--light:#f4f8fd;
--white:#fff;
--text-gray:#5b6472;
--border-color: rgba(0, 0, 0, .05);

/* FALTAVAM */
--primary:#00318a;
--secondary:#38c6d9;
--text:#5b6472;

--shadow:
0 15px 40px rgba(0,0,0,.08);

}

body{

font-family:'Segoe UI',sans-serif;
background:#ffffff;
overflow-x:hidden;

}

.container{

width:100%;
max-width:1400px;
margin:auto;
padding:0 25px;

}

/* HEADER */

.main-header{

position:sticky;
top:0;
z-index:9999;

background:rgba(255,255,255,.95);

backdrop-filter:blur(20px);

border-bottom:1px solid rgba(0,0,0,.05);

}

.nav-container{

height:110px;

display:flex;
align-items:center;
justify-content:space-between;

}

.logo img{

height:90px;

}

/* MENU */

.nav-menu ul{

display:flex;
align-items:center;
gap:30px;

list-style:none;

}

.nav-menu a{

text-decoration:none;

font-size:15px;
font-weight:700;

color:#16306b;

display:flex;
align-items:center;
gap:8px;

padding:10px 0;

transition:.3s;

}

.arrow{

font-size:10px;
transition:.3s;

}

/* DROPDOWN */

.dropdown{

position:relative;

}

.submenu{

position:absolute;

top:100%;
left:50%;

transform:
translateX(-50%)
translateY(15px);

background:#fff;

min-width:300px;

padding:20px;

border-radius:18px;

box-shadow:
0 15px 40px rgba(0,0,0,.12);

opacity:0;
visibility:hidden;

transition:.3s;

z-index:1000;

}

.dropdown:hover .submenu{

opacity:1;
visibility:visible;

transform:
translateX(-50%)
translateY(0);

}

.dropdown:hover .arrow{

transform:rotate(180deg);

}

.submenu-grid{

display:grid;
gap:10px;

}

.submenu-grid a{

padding:12px 15px;

border-radius:12px;

font-size:14px;
font-weight:600;

color:#444;

display:flex;
align-items:center;
gap:12px;

}

.submenu-grid a:hover{

background:#f5f9ff;
color:var(--blue);

}

.submenu-grid a i{

width:32px;
height:32px;

background:#eef5ff;
color:var(--blue);

border-radius:10px;

display:flex;
align-items:center;
justify-content:center;

}

/* BOTÃO */

.btn-header{

background:var(--dark);
color:#fff;

padding:13px 24px;

border-radius:14px;

text-decoration:none;
font-weight:700;

transition:.3s;

}

.btn-header:hover{

transform:translateY(-3px);

}



/* =========================================
   BOTÃO MOBILE
========================================= */

.mobile-menu-btn{

    display:none;

    width:52px;
    height:52px;

    border:none;
    border-radius:14px;

    background:#f3f7ff;

    color:var(--primary);

    font-size:22px;

    cursor:pointer;

    align-items:center;
    justify-content:center;

    transition:.3s ease;

    z-index:10001;
}

.mobile-menu-btn:hover{
    background:#e7efff;
}

/* =========================================
   MENU MOBILE
========================================= */

@media(max-width:1024px){

    .nav-container{
        height:90px;
    }

    .mobile-menu-btn{
        display:flex;
    }

    .btn-header{
        display:none;
    }

    /* MENU */

    .nav-menu{

        position:fixed;

        top:90px;
        left:0;

        width:100%;

        background:#ffffff;

        padding:25px;

        box-shadow:
        0 20px 50px rgba(0,0,0,.08);

        transform:
        translateY(-20px);

        opacity:0;
        visibility:hidden;

        transition:.35s ease;

        z-index:9999;
    }

    /* MENU ABERTO */

    .nav-menu.open{

        transform:
        translateY(0);

        opacity:1;
        visibility:visible;
    }

    /* UL */

    .nav-menu ul{

        flex-direction:column;

        align-items:flex-start;

        gap:5px;
    }

    .nav-menu li{
        width:100%;
    }

    .nav-menu a{

        width:100%;

        padding:16px 10px;

        justify-content:space-between;

        border-radius:14px;
    }

    .nav-menu a:hover{
        background:#f5f9ff;
    }

    /* SUBMENU MOBILE */

    .submenu{

        position:static;

        transform:none;

        opacity:1;
        visibility:visible;

        display:none;

        margin-top:10px;

        width:100%;
        min-width:100%;

        box-shadow:none;

        border:
        1px solid rgba(0,0,0,.05);

        border-radius:18px;

        padding:12px;
    }

    /* DROPDOWN ABERTO */

    .dropdown.active .submenu{
        display:block;
    }

    .dropdown.active .arrow{
        transform:rotate(180deg);
    }

    /* REMOVE HOVER DESKTOP */

    .dropdown:hover .submenu{
        transform:none;
    }

}

/* ------------------------------------------------@----------------------------------------------- */




/* =========================
   HERO LIVROS
========================= */

.hero-livros{
    position:relative;
    width:100%;
    min-height:75vh;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    padding:120px 20px 80px;
    background:
    radial-gradient(circle at top left, rgba(0,119,255,.25), transparent 40%),
    radial-gradient(circle at bottom right, rgba(0,255,170,.12), transparent 40%),
    linear-gradient(135deg,#050816,#0b1227,#111827);
}

.hero-livros-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(to bottom,
    rgba(0,0,0,.2),
    rgba(0,0,0,.7));
}

.hero-livros-container{
    position:relative;
    z-index:2;
    width:100%;
    max-width:1300px;
    text-align:center;
}

.hero-livros-badge{
    display:inline-flex;
    padding:10px 22px;
    border-radius:999px;
    margin-bottom:25px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(12px);
}

.hero-livros-badge span{
    color:#4da3ff;
    font-size:.95rem;
    font-weight:600;
}

.hero-livros h1{
    color:#fff;
    font-size:3rem;
    line-height:1.1;
    font-weight:800;
    max-width:700px;
    margin:auto;
}

.hero-livros h1 span{
    display:block;
    color:#4da3ff;
}

.hero-livros p{
    color:#c7d2fe;
    font-size:1.0rem;
    max-width:400px;
    margin:30px auto;
    line-height:1.9;
}

.hero-livros-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:50px;
}

.livro-stat{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    padding:30px;
    backdrop-filter:blur(18px);
    transition:.4s;
}

.livro-stat:hover{
    transform:translateY(-8px);
    border-color:#4da3ff;
    box-shadow:0 15px 40px rgba(0,119,255,.2);
}

.livro-stat h2{
    font-size:2.5rem;
    color:#fff;
    margin-bottom:10px;
}

.livro-stat span{
    color:#9ca3af;
    font-size:.95rem;
}

/* =========================
   FILTRO
========================= */

.livros-filter-section{
    padding:60px 20px;
    background:#070d1b;
}

.livros-filter-container{
    max-width:1200px;
    margin:auto;
}

.filter-title{
    text-align:center;
    margin-bottom:35px;
}

.filter-title h2{
    color:#fff;
    font-size:2.3rem;
    margin-bottom:15px;
}

.filter-title p{
    color:#94a3b8;
    line-height:1.8;
}

.filter-box{
    width:100%;
}

.filter-box input{
    width:100%;
    padding:20px 25px;
    border-radius:18px;
    border:none;
    outline:none;
    background:rgba(255,255,255,.05);
    color:#fff;
    font-size:1rem;
    border:1px solid rgba(255,255,255,.08);
    transition:.3s;
}

.filter-box input:focus{
    border-color:#4da3ff;
    box-shadow:0 0 0 4px rgba(77,163,255,.15);
}

/* =========================
   LIVROS
========================= */

.livros-section{
    padding:40px 20px 120px;
    background:#050816;
}

.livros-container{
    max-width:1300px;
    margin:auto;
    display:grid;
    gap:35px;
}

.livro-card{
    position:relative;
    overflow:hidden;
    border-radius:30px;
    background:
    linear-gradient(
    180deg,
    rgba(255,255,255,.06),
    rgba(255,255,255,.03));
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(16px);
    transition:.4s;
}

.livro-card:hover{
    transform:translateY(-8px);
    border-color:#4da3ff;
    box-shadow:0 20px 50px rgba(0,0,0,.4);
}

.livro-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:25px 30px;
    border-bottom:1px solid rgba(255,255,255,.06);
    flex-wrap:wrap;
}

.livro-programa{
    padding:12px 18px;
    border-radius:14px;
    background:linear-gradient(135deg,#0066ff,#00b7ff);
    color:#fff;
    font-weight:700;
    font-size:.95rem;
}

.blue-gradient{
    background:linear-gradient(135deg,#2563eb,#06b6d4);
}

.gold-gradient{
    background:linear-gradient(135deg,#f59e0b,#f97316);
}

.purple-gradient{
    background:linear-gradient(135deg,#7c3aed,#c026d3);
}

.livro-isbn{
    color:#94a3b8;
    font-size:.95rem;
    font-weight:600;
}

.livro-content{
    padding:35px;
}

.livro-content h3{
    color:#fff;
    font-size:2rem;
    line-height:1.4;
    margin-bottom:30px;
}

.livro-meta{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-bottom:35px;
}

.livro-info{
    background:rgba(255,255,255,.04);
    border-radius:20px;
    padding:22px;
    border:1px solid rgba(255,255,255,.05);
}

.livro-info span{
    color:#4da3ff;
    font-size:.9rem;
    display:block;
    margin-bottom:10px;
    font-weight:700;
}

.livro-info p{
    color:#fff;
    line-height:1.7;
}

.livro-autor-box,
.livro-colab-box{
    margin-top:25px;
    padding:28px;
    border-radius:24px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.06);
}

.livro-autor-box h4,
.livro-colab-box h4{
    color:#4da3ff;
    margin-bottom:15px;
    font-size:1rem;
    letter-spacing:.5px;
    text-transform:uppercase;
}

.livro-autor-box p,
.livro-colab-box p{
    color:#dbe4ff;
    line-height:2;
    font-size:.97rem;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#050816;
}

::-webkit-scrollbar-thumb{
    background:#2563eb;
    border-radius:999px;
}

/* =========================
   RESPONSIVO
========================= */

@media(max-width:1100px){

    .hero-livros h1{
        font-size:3rem;
    }

    .hero-livros-stats{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .hero-livros{
        padding-top:140px;
    }

    .hero-livros h1{
        font-size:2.2rem;
    }

    .hero-livros p{
        font-size:1rem;
    }

    .hero-livros-stats{
        grid-template-columns:1fr;
    }

    .livro-meta{
        grid-template-columns:1fr;
    }

    .livro-content{
        padding:25px;
    }

    .livro-content h3{
        font-size:1.5rem;
    }

    .livro-top{
        flex-direction:column;
        align-items:flex-start;
    }

}



/* ------------------------------------------------@------------------------------------------------------- */



/* ================= FOOTER ================= */

.main-footer{

background:
linear-gradient(
180deg,
#05245f 0%,
#001b4d 100%
);

color:#fff;

margin-top:80px;

overflow:hidden;

}

/* TOPO */

.footer-top{

padding:70px 0 50px;

border-bottom:
1px solid rgba(255,255,255,.08);

}

.footer-top-grid{

display:grid;

grid-template-columns:
1.4fr
1fr
1fr
1.1fr;

gap:50px;

}

/* BRAND */

.footer-brand img{

height:95px;
margin-bottom:20px;

}

.footer-brand p{

color:
rgba(255,255,255,.75);

line-height:1.8;

font-size:15px;

max-width:420px;

}

.footer-social{

display:flex;
gap:12px;

margin-top:25px;

}

.footer-social a{

width:45px;
height:45px;

border-radius:14px;

background:
rgba(255,255,255,.08);

display:flex;
align-items:center;
justify-content:center;

text-decoration:none;

color:#fff;

font-size:18px;

transition:.3s;

}

.footer-social a:hover{

background:#146ff8;

transform:
translateY(-4px);

}

/* LINKS */

.footer-links h3,
.footer-contact h3{

font-size:20px;
margin-bottom:22px;

position:relative;

}

.footer-links h3::after,
.footer-contact h3::after{

content:'';

position:absolute;

left:0;
bottom:-10px;

width:45px;
height:3px;

border-radius:10px;

background:#146ff8;

}

.footer-links{

display:flex;
flex-direction:column;
gap:14px;

}

.footer-links a{

text-decoration:none;

color:
rgba(255,255,255,.75);

font-size:15px;

transition:.3s;

}

.footer-links a:hover{

color:#4ac0fd;

padding-left:6px;

}

/* CONTATO */

.footer-contact{

display:flex;
flex-direction:column;
gap:16px;

}

.contact-item{

display:flex;
align-items:flex-start;
gap:14px;

color:
rgba(255,255,255,.78);

font-size:15px;
line-height:1.6;

}

.contact-item i{

min-width:42px;
height:42px;

border-radius:12px;

background:
rgba(255,255,255,.08);

display:flex;
align-items:center;
justify-content:center;

color:#4ac0fd;

}

/* BOTÃO */

.footer-btn{

margin-top:10px;

display:inline-flex;
align-items:center;
justify-content:center;

width:max-content;

padding:14px 24px;

background:#146ff8;

color:#fff;

text-decoration:none;
font-weight:700;

border-radius:14px;

transition:.3s;

}

.footer-btn:hover{

transform:
translateY(-4px);

background:#2b82ff;

}

/* ESTATÍSTICAS */

.footer-stats{

padding:30px 0;

background:
rgba(255,255,255,.03);

border-top:
1px solid rgba(255,255,255,.05);

border-bottom:
1px solid rgba(255,255,255,.05);

}

.footer-stats-grid{

display:grid;

grid-template-columns:
repeat(4,1fr);

gap:25px;

}

.footer-stat{

display:flex;
align-items:center;
gap:18px;

padding:15px;

border-radius:18px;

background:
rgba(255,255,255,.04);

backdrop-filter:
blur(10px);

transition:.3s;

}

.footer-stat:hover{

transform:
translateY(-5px);

background:
rgba(255,255,255,.08);

}

.footer-stat i{

font-size:32px;

color:#4ac0fd;

min-width:50px;

}

.footer-stat h2{

font-size:24px;
margin-bottom:4px;

}

.footer-stat p{

font-size:14px;

color:
rgba(255,255,255,.72);

}

/* BOTTOM */

.footer-bottom{

padding:25px 0;

}

.footer-bottom-content{

display:flex;
align-items:center;
justify-content:space-between;
gap:20px;

}

.footer-bottom p{

font-size:14px;

color:
rgba(255,255,255,.65);

}

.footer-bottom-links{

display:flex;
gap:20px;

}

.footer-bottom-links a{

text-decoration:none;

font-size:14px;

color:
rgba(255,255,255,.65);

transition:.3s;

}

.footer-bottom-links a:hover{

color:#4ac0fd;

}

/* RESPONSIVO */

@media(max-width:1100px){

.footer-top-grid{

grid-template-columns:
1fr 1fr;

}

.footer-stats-grid{

grid-template-columns:
1fr 1fr;

}

}

@media(max-width:768px){

.footer-top{

padding:50px 0 40px;

}

.footer-top-grid{

grid-template-columns:
1fr;

gap:40px;

}

.footer-stats-grid{

grid-template-columns:
1fr;

}

.footer-bottom-content{

flex-direction:column;
text-align:center;

}

.footer-bottom-links{

flex-wrap:wrap;
justify-content:center;

}

.footer-brand img{

height:80px;

}

.footer-stat{

padding:18px;

}

}




/*----- */

/* =====================================================
   TREINI GLOBAL MOTION SYSTEM
   CSS GLOBAL PARA TODAS AS PÁGINAS
===================================================== */

/* ---------- BASE ---------- */

html{
    scroll-behavior:smooth;
}

body{
    overflow-x:hidden;

    animation:
    bodyFade 1s ease;
}

/* ---------- BODY FADE ---------- */

@keyframes bodyFade{

    from{
        opacity:0;
    }

    to{
        opacity:1;
    }

}

/* =====================================================
   NAVBAR
===================================================== */

header,
.navbar,
nav{

    animation:
    navbarDown .9s ease;
}

@keyframes navbarDown{

    from{
        opacity:0;

        transform:
        translateY(-30px);
    }

    to{
        opacity:1;

        transform:
        translateY(0);
    }

}

/* =====================================================
   SECTIONS
===================================================== */

section{

    position:relative;

    animation:
    sectionFade 1s ease;
}

@keyframes sectionFade{

    from{
        opacity:0;

        transform:
        translateY(35px);
    }

    to{
        opacity:1;

        transform:
        translateY(0);
    }

}

/* =====================================================
   TITULOS
===================================================== */

h1,
h2,
h3{

    animation:
    titleFade 1s ease;
}

@keyframes titleFade{

    from{
        opacity:0;

        transform:
        translateY(20px);
    }

    to{
        opacity:1;

        transform:
        translateY(0);
    }

}

/* =====================================================
   TEXTOS
===================================================== */

p,
span,
li{

    animation:
    textFade 1.2s ease;
}

@keyframes textFade{

    from{
        opacity:0;
    }

    to{
        opacity:1;
    }

}

/* =====================================================
   IMAGENS
===================================================== */

img{

    transition:
    transform .7s ease,
    filter .7s ease,
    box-shadow .7s ease;

    animation:
    imageFade 1.1s ease;
}

@keyframes imageFade{

    from{
        opacity:0;

        transform:
        scale(.97);
    }

    to{
        opacity:1;

        transform:
        scale(1);
    }

}

img:hover{

    transform:
    scale(1.02);

    filter:
    saturate(1.02);

}

/* =====================================================
   CARDS GERAIS
===================================================== */

div[class*="card"],
div[class*="box"],
div[class*="item"]{

    transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

div[class*="card"]:hover,
div[class*="box"]:hover,
div[class*="item"]:hover{

    transform:
    translateY(-5px);

    box-shadow:
    0 18px 35px rgba(0,0,0,.06);

}

/* =====================================================
   BOTÕES
===================================================== */

button,
.btn,
a{

    transition:
    transform .3s ease,
    opacity .3s ease,
    background .3s ease;
}

button:hover,
.btn:hover,
a:hover{

    transform:
    translateY(-2px);

}

/* =====================================================
   BACKGROUNDS
===================================================== */

.hero,
[class*="hero"],
[class*="banner"]{

    animation:
    heroZoom 1.4s ease;
}

@keyframes heroZoom{

    from{
        opacity:0;

        transform:
        scale(1.03);
    }

    to{
        opacity:1;

        transform:
        scale(1);
    }

}

/* =====================================================
   OVERLAY SUAVE
===================================================== */

[class*="overlay"]{

    animation:
    overlayFade 1.5s ease;
}

@keyframes overlayFade{

    from{
        opacity:0;
    }

    to{
        opacity:1;
    }

}

/* =====================================================
   GRID SUAVE
===================================================== */

[class*="grid"]{

    animation:
    gridFade 1.1s ease;
}

@keyframes gridFade{

    from{
        opacity:0;

        transform:
        translateY(25px);
    }

    to{
        opacity:1;

        transform:
        translateY(0);
    }

}

/* =====================================================
   FLOATING SUAVE
===================================================== */

[class*="floating"]{

    animation:
    floatingSoft 5s ease-in-out infinite;
}

@keyframes floatingSoft{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0px);
    }

}

/* =====================================================
   RESPONSIVO
===================================================== */

@media(max-width:768px){

    section{
        animation-duration:.8s;
    }

    img:hover{
        transform:none;
    }

}