/* 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);

}



.table-programa2{
    padding: 8px 16px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    display: inline-block;
}

/* AMARELO */
.yellow-gradient{
    background: linear-gradient(
        135deg,
        #FFF9C4,
        #FFE082,
        #FFD54F,
        #FFB300
    );
    color: #333;
}

/* AZUL */
.blue-gradient{
    background: linear-gradient(
        135deg,
        #BBDEFB,
        #64B5F6,
        #1E88E5,
        #0D47A1
    );
    color: white;
}

/* VERDE */
.green-gradient{
    background: linear-gradient(
        135deg,
        #C8E6C9,
        #81C784,
        #43A047,
        #1B5E20
    );
    color: white;
}

/* VERMELHO */
.red-gradient{
    background: linear-gradient(
        135deg,
        #FFCDD2,
        #EF5350,
        #E53935,
        #B71C1C
    );
    color: white;
}

/* ROXO */
.purple-gradient{
    background: linear-gradient(
        135deg,
        #E1BEE7,
        #BA68C8,
        #8E24AA,
        #4A148C
    );
    color: white;
}

/* LARANJA */
.orange-gradient{
    background: linear-gradient(
        135deg,
        #FFE0B2,
        #FFB74D,
        #FB8C00,
        #E65100
    );
    color: white;
}

/* ROSA */
.pink-gradient{
    background: linear-gradient(
        135deg,
        #F8BBD0,
        #F06292,
        #D81B60,
        #880E4F
    );
    color: white;
}

/* CIANO */
.cyan-gradient{
    background: linear-gradient(
        135deg,
        #B2EBF2,
        #4DD0E1,
        #00ACC1,
        #006064
    );
    color: white;
}





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
========================= */

.hero-livros-container{
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1100px;
    margin: auto;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* BADGE */
.hero-livros-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;
    border-radius: 999px;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);

    backdrop-filter: blur(12px);
    margin-bottom: 20px;

    transition: .3s ease;
}

.hero-livros-badge span{
    color: #4da3ff;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .3px;
}

/* H1 */
.hero-livros-container h1{
    color: #fff;
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
    max-width: 800px;
    margin: 0;
}

.hero-livros-container h1 span{
    display: block;
    color: #4da3ff;
    font-size: 2.4rem;
    margin-top: 5px;
}

/* PARÁGRAFO */
.hero-livros-container p{
    margin-top: 20px;
    max-width: 600px;

    color: #000;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* =========================
   WRAPPER TABELA
========================= */

.livros-table-wrapper{
    width: 100%;
    margin-top: 50px;

    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.08);

    background: rgba(255,255,255,.04);
    backdrop-filter: blur(18px);

    box-shadow: 0 20px 60px rgba(0,0,0,.35);

    position: relative;
    overflow: hidden;
}

/* =========================
   SCROLL TOP (FIXO VISUAL)
========================= */

.livros-scroll-top{
    width: 100%;
    height: 14px;

    overflow-x: auto;
    overflow-y: hidden;

    background: rgba(0,0,0,.05);

    border-radius: 10px;

    -webkit-overflow-scrolling: touch;

    position: sticky;
    top: 0;
    z-index: 50;
}

/* trilho fake */
.livros-scroll-space{
    width: 1200px;
    height: 1px;
}

/* scrollbar */
.livros-scroll-top::-webkit-scrollbar{
    height: 6px;
}

.livros-scroll-top::-webkit-scrollbar-thumb{
    background: linear-gradient(90deg,#2563eb,#06b6d4);
    border-radius: 999px;
}

/* =========================
   SCROLL PRINCIPAL
========================= */

.livros-table-scroll{
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
    scrollbar-color: #4da3ff rgba(0,0,0,.1);
}

/* scrollbar webkit */
.livros-table-scroll::-webkit-scrollbar{
    height: 10px;
}

.livros-table-scroll::-webkit-scrollbar-track{
    background: rgba(0,0,0,.08);
}

.livros-table-scroll::-webkit-scrollbar-thumb{
    background: linear-gradient(90deg,#2563eb,#06b6d4);
    border-radius: 999px;
}

/* =========================
   TABELA
========================= */

.livros-table{
    width: 1200px;
    border-collapse: collapse;
    background: #fff;
}

/* HEADER */
.livros-table th{
    background: #000;
    color: #fff;

    padding: 24px;
    text-align: left;

    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .5px;

    white-space: nowrap;
}

/* CELULAS */
.livros-table td{
    padding: 26px 24px;

    color: #000;
    font-size: .95rem;
    line-height: 1.8;

    vertical-align: top;

    border-bottom: 1px solid #e5e5e5;

    word-break: break-word;
}

/* LINHAS */
.livros-table tbody tr:nth-child(odd){
    background: #fff;
}

.livros-table tbody tr:nth-child(even){
    background: #f5f5f5;
}

.livros-table tbody tr:hover{
    background: #ececec;
    transition: .25s;
}

/* =========================
   BADGES
========================= */

.table-programa{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;
    border-radius: 14px;

    font-size: .85rem;
    font-weight: 700;

    color: #fff;
}

/* GRADIENTES */
.blue-gradient{
    background: linear-gradient(135deg,#BBDEFB,#64B5F6,#1E88E5,#0D47A1);
}

.gold-gradient{
    background: linear-gradient(135deg,#FFF9C4,#FFE082,#FFD54F,#FFB300);
    color: #333;
}

.purple-gradient{
    background: linear-gradient(135deg,#E1BEE7,#BA68C8,#8E24AA,#4A148C);
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 992px){
    .hero-livros-container h1{ font-size: 2.4rem; }
    .hero-livros-container h1 span{ font-size: 1.9rem; }

    .livros-table{ width: 1000px; }
}

@media (max-width: 768px){
    .hero-livros-container h1{ font-size: 2rem; }
    .hero-livros-container h1 span{ font-size: 1.6rem; }

    .hero-livros-container p{ font-size: .95rem; }

    .livros-table-wrapper{
        border-radius: 20px;
    }

    .livros-table{
        width: 900px;
    }

    .livros-table th,
    .livros-table td{
        padding: 16px;
        font-size: .85rem;
    }

    .table-programa{
        padding: 8px 12px;
        font-size: .78rem;
    }
}

@media (max-width: 480px){
    .hero-livros-container h1{ font-size: 1.7rem; }
    .hero-livros-container h1 span{ font-size: 1.3rem; }

    .hero-livros-container p{ font-size: .9rem; }

    .livros-table{ width: 800px; }
}


/* ----------------- *





/* =========================
   CONTAINER DOS BOTÕES
========================= */

.table-scroll-controls2{
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 12px;

    z-index: 99999;

    /* garante que apareça */
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* =========================
   BOTÕES
========================= */

.table-scroll-controls2 .scroll-btn{
    width: 54px;
    height: 54px;

    border: none;
    border-radius: 14px;

    background: rgba(0,0,0,.75);
    color: #fff;

    font-size: 22px;
    font-weight: bold;

    cursor: pointer;

    backdrop-filter: blur(10px);

    box-shadow: 0 10px 25px rgba(0,0,0,.35);

    transition: .2s ease;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* hover */
.table-scroll-controls2 .scroll-btn:hover{
    background: #2563eb;
    transform: translateY(-2px);
}

/* opcional: separar esquerda/direita visualmente */
.table-scroll-controls2 .left{
    border: 1px solid rgba(255,255,255,.15);
}

.table-scroll-controls2 .right{
    border: 1px solid rgba(255,255,255,.15);
}




/* ------------------------------------------------@------------------------------------------------------- */



/* ================= 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;
    }

}