/* ===================================
   INVESTIMENTOS VISIONÁRIOS
   STYLE.CSS VERSÃO 3.0
===================================*/

@import url("dashboard.css");

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* CORES */

:root{

    --verde:#00C853;
    --verde-escuro:#009624;

    --dourado:#D4AF37;
    --dourado-hover:#b8941f;

    --preto:#111111;
    --cinza:#1f1f1f;
    --cinza-claro:#f5f5f5;

    --branco:#ffffff;

    --sombra:0 10px 30px rgba(0,0,0,.12);

}

/* BODY */

body{

    font-family:'Poppins',sans-serif;

    background:#fafafa;

    color:#333;

    overflow-x:hidden;

}

/* LINKS */

a{

    text-decoration:none;

    transition:.3s;

}

a:hover{

    text-decoration:none;

}

/* TITULOS */

h1,h2,h3,h4,h5{

    font-weight:700;

}

/* CONTAINER */

.container{

    max-width:1200px;

}

/* NAVBAR */

.navbar{

    background:var(--preto)!important;

    padding:18px 0;

    transition:.35s;

    box-shadow:0 3px 15px rgba(0,0,0,.15);

}

.navbar-brand{

    color:#fff!important;

    font-size:1.4rem;

    font-weight:700;

    display:flex;

    align-items:center;

}

.navbar-brand img{

    width:48px;

    margin-right:12px;

}

.nav-link{

    color:white!important;

    font-weight:500;

    margin-left:18px;

}

.nav-link:hover{

    color:var(--verde)!important;

}

/* HERO */

.hero{

    background:
    linear-gradient(
    135deg,
    #0d0d0d,
    #1b1b1b,
    #0b5d35);

    color:white;

    padding:100px 0;

}

.hero h1{

    font-size:3.4rem;

    line-height:1.2;

    margin-bottom:25px;

}

.hero span{

    color:var(--dourado);

}

.hero p{

    font-size:1.2rem;

    opacity:.9;

    margin-bottom:35px;

    max-width:600px;

}

.hero img{

    width:100%;

    max-width:420px;

    animation:flutuar 3s infinite ease-in-out;

}

@keyframes flutuar{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0);

    }

}

/* ===================================
   BOTÕES
===================================*/

.btn-success{

    background:var(--verde);
    border:none;
    border-radius:12px;
    padding:14px 30px;
    font-weight:600;
    transition:.35s;

}

.btn-success:hover{

    background:var(--verde-escuro);

    transform:translateY(-3px);

    box-shadow:0 8px 20px rgba(0,200,83,.35);

}

.btn-outline-danger{

    border-radius:12px;

    font-weight:600;

}

/* ===================================
   CARDS
===================================*/

.calc-card{

    border:none;

    border-radius:20px;

    padding:35px 25px;

    text-align:center;

    background:white;

    box-shadow:var(--sombra);

    transition:.35s;

    height:100%;

}

.calc-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.18);

}

.calc-card i{

    font-size:55px;

    color:var(--verde);

    margin-bottom:20px;

}

.calc-card h4{

    margin-bottom:15px;

    font-weight:700;

}

.calc-card p{

    color:#666;

    min-height:55px;

}

/* ===================================
   CALCULADORA
===================================*/

.form-control{

    height:55px;

    border-radius:12px;

    border:2px solid #e7e7e7;

    transition:.3s;

    font-size:1rem;

}

.form-control:focus{

    border-color:var(--verde);

    box-shadow:0 0 10px rgba(0,200,83,.25);

}

label{

    font-weight:600;

    margin-bottom:8px;

}

/* ===================================
   CARD RESULTADO
===================================*/

.card{

    border:none;

    border-radius:20px;

    box-shadow:var(--sombra);

}

.card h2{

    font-weight:700;

}

.card h3{

    font-weight:700;

}

.card h4{

    color:var(--verde);

    font-weight:700;

}

.card hr{

    margin:12px 0;

}

/* ===================================
   RESULTADOS
===================================*/

#investido{

    color:#1565C0;

}

#juros{

    color:var(--dourado);

}

#rentabilidade{

    color:#ff9800;

}

#total{

    font-size:2.2rem;

    color:var(--verde);

}

/* ===================================
   ALERTAS
===================================*/

.alert{

    border-radius:12px;

    border:none;

}

/* ===================================
   GRÁFICO
===================================*/

canvas{

    width:100% !important;

    max-height:420px;

}

/* ===================================
   TABELAS
===================================*/

.table{

    margin-bottom:0;

    vertical-align:middle;

}

.table thead{

    background:var(--preto);

    color:white;

}

.table th{

    padding:18px;

    font-weight:600;

}

.table td{

    padding:15px;

}

.table-hover tbody tr:hover{

    background:#f4fff7;

    transition:.2s;

}

/* ===================================
   FOOTER
===================================*/

footer{

    background:linear-gradient(135deg,#111,#1d1d1d);

    color:white;

    padding:60px 0 30px;

    margin-top:70px;

}

footer h5{

    color:var(--dourado);

    margin-bottom:15px;

}

footer p{

    color:#d9d9d9;

    margin-bottom:8px;

}

footer small{

    color:#999;

}

/* ===================================
   ANIMAÇÕES
===================================*/

.card,
.calc-card,
.btn,
.form-control{

    transition:.30s;

}

.card:hover{

    transform:translateY(-5px);

}

/* ===================================
   SCROLLBAR
===================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#efefef;

}

::-webkit-scrollbar-thumb{

    background:var(--verde);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--verde-escuro);

}

/* ===================================
   RESPONSIVO
===================================*/

@media(max-width:992px){

.hero{

padding:70px 0;
text-align:center;

}

.hero h1{

font-size:2.4rem;

}

.hero img{

margin-top:40px;
max-width:280px;

}

.navbar-brand{

font-size:1.1rem;

}

.calc-card{

margin-bottom:20px;

}

}

@media(max-width:768px){

.hero{

padding:60px 0;

}

.hero h1{

font-size:2rem;

}

.hero p{

font-size:1rem;

}

.btn{

width:100%;

margin-bottom:10px;

}

.d-flex{

flex-direction:column;

}

.card{

margin-top:20px;

}

table{

font-size:14px;

}

}

@media(max-width:576px){

.hero h1{

font-size:1.8rem;

}

h2{

font-size:1.6rem;

}

.card{

padding:15px;

}

footer{

text-align:center;

}

}

/*==================================
ANIMAÇÃO DA BARRA DE COTAÇÕES
==================================*/

.market-bar{

    overflow:hidden;

    white-space:nowrap;

}

.market-scroll{

    display:inline-block;

    animation: ticker 25s linear infinite;

}

.market-scroll:hover{

    animation-play-state:paused;

}

@keyframes ticker{

    from{

        transform:translateX(100%);

    }

    to{

        transform:translateX(-100%);

    }

}

/*==================================
CARDS PREMIUM
==================================*/

.calc-card{

    transition:.35s;

    border:none;

    border-radius:18px;

    cursor:pointer;

}

.calc-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.calc-card i{

    font-size:60px;

    color:#16c45b;

    transition:.3s;

}

.calc-card:hover i{

    transform:scale(1.15);

}

/* ===========================
   DASHBOARD
=========================== */

.dashboard{

background:#f7f8fa;

}

.dashboard-card{

background:#fff;

padding:30px;

border-radius:18px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

text-align:center;

transition:.35s;

}

.dashboard-card:hover{

transform:translateY(-8px);

}

.dashboard-card h4{

font-size:18px;

margin-bottom:15px;

}

.dashboard-card h2{

color:#16c45b;

font-weight:700;

}

/*==================================
FERRAMENTAS
==================================*/

.tools{

    background:#ffffff;

}

.tool-card{

    display:block;

    text-align:center;

    background:#fff;

    padding:35px 20px;

    border-radius:18px;

    text-decoration:none;

    color:#222;

    transition:.35s;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    height:100%;

}

.tool-card:hover{

    transform:translateY(-10px);

    background:#16c45b;

    color:#fff;

}

.tool-card i{

    font-size:55px;

    margin-bottom:20px;

    display:block;

}

.tool-card:hover i{

    color:#FFD23F;

}

/*==================================
ESTATÍSTICAS
==================================*/

.stats{

background:#111;

color:#fff;

}

.stats h2{

font-size:55px;

font-weight:700;

color:#16c45b;

}

.stats p{

font-size:18px;

margin-top:10px;

color:#ddd;

}

/*==================================
VARIAÇÃO DAS COTAÇÕES
==================================*/

.market-bar span{

    font-weight:700;

    margin-left:6px;

    font-size:13px;

}

.market-update {
    text-align: center;
    font-size: 12px;
    padding: 5px 0;
    opacity: 0.8;
}

.market-bar span {
    font-weight: 700;
    margin-left: 6px;
    font-size: 13px;
}

/* ================================
   STATUS DAS COTAÇÕES
================================ */

.market-status {
    text-align: center;
    font-size: 12px;
    padding-bottom: 8px;
    font-weight: 500;
}

.market-status span {
    color: #16c45b;
}

/* ================================
   DASHBOARD DE MERCADO
================================ */

.market-card {

    background: #ffffff;

    border-radius: 16px;

    padding: 22px;

    display: flex;

    align-items: center;

    gap: 15px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;

}


.market-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

}


.market-card-icon {

    width: 55px;

    height: 55px;

    border-radius: 12px;

    background: #f1f8f3;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 25px;

}


.market-card small {

    display: block;

    color: #777;

    margin-bottom: 3px;

}


.market-card h4 {

    margin: 0;

    font-weight: 700;

}


.market-card span {

    font-size: 13px;

    font-weight: 600;

}


.market-neutral {

    color: #777;

}

/* ==========================================
   HERO CENTRALIZADO
========================================== */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    display: flex;
    justify-content: center;
}

.hero .row {
    width: 100%;
    justify-content: center;
}

.hero .row > div:first-child {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   LOGO DO MENU
========================================== */

.navbar-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.navbar-brand {
    font-weight: 700;
}


/* ==========================================
   HERO NOVO
========================================== */

.hero {
    min-height: 670px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            110deg,
            #101010 0%,
            #171717 42%,
            #0d3020 72%,
            #07592d 100%
        );

    overflow: hidden;
}


.hero .container {
    width: 100%;
}


.hero .row {
    width: 100%;
    margin: 0;
}


.hero-content {
    text-align: left;
    position: relative;
    z-index: 2;
}


.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 30px;
}


.hero-title span {
    display: block;
}


.hero-highlight {
    color: #e0b52c;
    margin-top: 12px;
}


.hero-description {
    color: #eeeeee;
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 620px;
    margin-bottom: 35px;
}


.hero-button {
    padding: 16px 38px;
    font-weight: 600;
    border-radius: 12px;
}


/* ==========================================
   LOGO GRANDE DO HERO
========================================== */

.hero-logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
}


.hero-logo {
    width: min(520px, 90%);
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 15px 35px rgba(0, 0, 0, 0.35)
        );
}


/* ==========================================
   RESPONSIVO
========================================== */

@media (max-width: 991px) {

    .hero {
        min-height: auto;
        padding: 80px 0;
    }


    .hero-content {
        text-align: center;
    }


    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-logo-area {
        margin-top: 55px;
    }


    .hero-logo {
        width: min(380px, 80%);
    }

}


@media (max-width: 576px) {

    .navbar-logo {
        width: 30px;
        height: 30px;
    }


    .navbar-brand span {
        font-size: 1rem;
    }


    .hero-title {
        font-size: 2.7rem;
    }


    .hero-description {
        font-size: 1.05rem;
    }


    .hero-logo {
        width: 280px;
    }

}