/* =========================
   RESET
========================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root{

    --primary: #3b82f6;
    --primary-2: #2563eb;

    --dark: #020617;
    --dark-2: #0f172a;

    --text: #f8fafc;
    --text-soft: #94a3b8;

    --card: rgba(15,23,42,0.72);
    --border: rgba(255,255,255,0.08);

    --shadow:
    0 15px 45px rgba(0,0,0,0.28);
}


/* =========================
   BODY
========================= */

html,
body{
    overflow-x: hidden;
}

body{

    background:
    radial-gradient(circle at top left, rgba(59,130,246,0.10), transparent 25%),
    linear-gradient(180deg,#030712,#0f172a,#111827);

    color: var(--text);
}


/* =========================
   HEADER
========================= */

.header{

    width: 100%;
    height: 90px;

    padding: 0 8%;

    position: fixed;
    top: 0;
    left: 0;

    z-index: 999;

    background: rgba(2,6,23,0.72);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255,255,255,0.05);

    display: flex;
    align-items: center;
    justify-content: space-between;

    transition: .3s;
}


/* =========================
   LOGO
========================= */

.logo{

    display: flex;
    align-items: center;

    gap: 12px;

    color: white;

    z-index: 1001;
}

.logo img{
    width: 68px;
}

.logo-text h2{

    font-size: 18px;
    font-weight: 700;
}

.logo-text p{

    font-size: 12px;

    opacity: .7;
}


/* =========================
   MENU
========================= */

.menu-toggle{

    display: none;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;

    z-index: 1001;
}

.menu-toggle span{

    width: 28px;
    height: 3px;

    background: white;

    border-radius: 50px;
}


/* =========================
   NAVBAR
========================= */

.navbar{

    display: flex;
    align-items: center;

    gap: 25px;
}

.navbar a{

    text-decoration: none;

    color: white;

    font-size: 14px;
    font-weight: 500;

    position: relative;

    transition: .3s;
}

.navbar a::after{

    content: '';

    width: 0%;
    height: 2px;

    background: var(--primary);

    position: absolute;

    left: 0;
    bottom: -6px;

    transition: .3s;
}

.navbar a:hover::after,
.navbar .active::after{
    width: 100%;
}

.navbar a:hover,
.navbar .active{
    color: #60a5fa;
}


/* =========================
   BUTTON HEADER
========================= */

.btn-header{

    background:
    linear-gradient(135deg,#2563eb,#3b82f6);

    padding: 12px 22px;

    border-radius: 50px;

    color: white;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    display: flex;
    align-items: center;
    gap: 8px;

    box-shadow:
    0 10px 30px rgba(37,99,235,0.25);

    transition: .3s;
}

.btn-header:hover{
    transform: translateY(-4px);
}


/* =========================
   HERO
========================= */

.hero{

    min-height: 65vh;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding: 120px 0 70px;
}
.hero-img{

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    filter:
    brightness(0.45)
    contrast(1.05);

    transform: translateZ(0);

    backface-visibility: hidden;

    will-change: auto;
}

.overlay{

    position: absolute;

    inset: 0;

    background:
    linear-gradient(
    90deg,
    rgba(2,6,23,0.88),
    rgba(2,6,23,0.58),
    rgba(2,6,23,0.28)
    );
}

.hero-content{

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 850px;

    padding: 0 8%;
}

.mini-hero{

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.08);

    padding: 10px 18px;

    border-radius: 50px;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1px;

    backdrop-filter: blur(12px);
}

.hero-content h1{

    font-size: 60px;
    line-height: 72px;

    margin-top: 24px;
}

.hero-content h1 span{
    color: #60a5fa;
}

.hero-content p{

    font-size: 18px;
    line-height: 32px;

    color: rgba(255,255,255,0.75);

    margin-top: 20px;

    max-width: 620px;
}


/* =========================
   HERO BUTTONS
========================= */

.hero-buttons{

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 35px;
}

.btn-primary,
.btn-secondary{

    padding: 18px 26px;

    border-radius: 50px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 240px;

    transition: .3s;
}

.btn-primary{

    background:
    linear-gradient(135deg,#2563eb,#3b82f6);

    color: white;

    box-shadow:
    0 15px 35px rgba(37,99,235,0.25);
}

.btn-primary:hover{
    transform: translateY(-4px);
}

.btn-secondary{

    border: 1px solid rgba(255,255,255,0.12);

    background: rgba(255,255,255,0.04);

    color: white;

    backdrop-filter: blur(10px);
}

.btn-secondary:hover{

    background: white;
    color: #020617;
}


/* =========================
   SOBRE
========================= */

.sobre{

    width: 100%;

    max-width: 1600px;

    margin: 0 auto;

    padding: 70px 8%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.mini-title{

    color: #60a5fa;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;
}

.sobre-left h2{

    font-size: 50px;
    line-height: 62px;

    margin: 20px 0;
}

.sobre-left > p{

    color: var(--text-soft);

    font-size: 18px;
    line-height: 32px;

    margin-bottom: 45px;
}


/* =========================
   SOBRE CARDS
========================= */

.sobre-cards{

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.card-sobre{

    background: var(--card);

    border: 1px solid var(--border);

    padding: 28px;

    border-radius: 28px;

    backdrop-filter: blur(14px);

    transition: .3s;
}

.card-sobre:hover{

    transform: translateY(-5px);

    border-color:
    rgba(59,130,246,0.35);
}

.icon-sobre{

    width: 65px;
    height: 65px;

    border-radius: 18px;

    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255,255,255,0.08);

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    font-size: 23px;

    margin-bottom: 20px;
}

.card-sobre h3{
    margin-bottom: 10px;
}

.card-sobre p{

    color: var(--text-soft);

    line-height: 28px;
}


/* =========================
   CARROSSEL
========================= */

.carousel{

    width: 100%;

    overflow: hidden;
    margin-bottom: 50px;

    border-radius: 35px;

    box-shadow: var(--shadow);
}

.carousel-track{

    display: flex;

    width: max-content;

    animation: scroll 35s linear infinite;
}

.carousel-track img{

    width: 320px;
    height: 460px;

    object-fit: cover;

    flex-shrink: 0;
}

@keyframes scroll{

    0%{
        transform: translateX(0);
    }

    100%{
        transform: translateX(calc(-320px * 8));
    }
}


/* =========================
   CONTADOR
========================= */

.contador{

    width: 100%;

    padding: 100px 8%;

    display: grid;
    grid-template-columns: repeat(3,1fr);

    gap: 20px;
}

.contador-card{

    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255,255,255,0.08);

    padding: 40px;

    border-radius: 28px;

    text-align: center;

    backdrop-filter: blur(10px);

    transition: .3s;
}

.contador-card:hover{
    transform: translateY(-4px);
}

.contador-card h2{

    font-size: 54px;

    margin-bottom: 10px;
}

.contador-card p{

    color: rgba(255,255,255,0.7);
}


/* =========================
   FOOTER
========================= */

.footer{

    background: #020617;

    border-top: 1px solid rgba(255,255,255,0.05);

    padding: 60px 8% 35px;
}

.footer-top{

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    flex-wrap: wrap;
}

.footer-logo{

    display: flex;
    align-items: center;

    gap: 15px;
}

.footer-logo img{
    width: 80px;
}

.footer-logo p{
    opacity: .7;
}

.footer-buttons{

    display: flex;

    gap: 15px;
}

.footer-buttons a{

    width: 55px;
    height: 55px;

    border-radius: 50%;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.08);

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    text-decoration: none;

    font-size: 20px;

    transition: .3s;
}

.footer-buttons a:hover{
    background: var(--primary);
}

.footer-line{

    width: 100%;
    height: 1px;

    background: rgba(255,255,255,0.08);

    margin: 35px 0;
}

.footer-bottom{

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    flex-wrap: wrap;

    color: rgba(255,255,255,0.6);

    font-size: 14px;
}
/* =========================
   RESPONSIVO COMPLETO
========================= */

@media(max-width: 992px){

    /* HEADER */

    .header{
        padding: 0 5%;
        z-index: 999;
    }

    .btn-header{
        display: none;
    }

    .menu-toggle{
        display: flex;
        z-index: 2000;
    }

    /* MENU MOBILE */

    .navbar{

        position: fixed;

        top: 0;
        right: -100%;

        width: 270px;
        height: 100vh;

        background: #081327;

        flex-direction: column;

        align-items: flex-start;

        justify-content: flex-start;

        padding: 120px 35px;

        gap: 30px;

        transition: .4s ease;

        z-index: 1500;

        overflow-y: auto;
    }

    .navbar.active{
        right: 0;
    }

    /* HERO */

    .hero{

        min-height: auto;

        padding: 130px 0 70px;
    }

    .hero-content{

        max-width: 100%;

        padding: 0 5%;

        display: flex;

        flex-direction: column;

        align-items: center;

        text-align: center;
    }

    .hero-content h1{

        font-size: 48px;
        line-height: 58px;
    }

    .hero-content p{

        font-size: 17px;
        line-height: 30px;

        max-width: 650px;
    }

    /* BOTÕES */

    .hero-buttons{

        justify-content: center;

        flex-wrap: wrap;
    }

    .btn-primary,
    .btn-secondary{

        min-width: 230px;

        padding: 17px 24px;
    }

    /* SOBRE */

    .sobre{

        grid-template-columns: 1fr;

        gap: 55px;

        padding: 90px 5%;
    }

    .sobre-left{

        text-align: center;

        display: flex;

        flex-direction: column;

        align-items: center;
    }

    .sobre-left h2{

        font-size: 42px;
        line-height: 52px;
    }

    .sobre-left > p{

        max-width: 700px;
    }

    /* CARDS */

    .sobre-cards{

        width: 100%;

        grid-template-columns: 1fr 1fr;

        gap: 18px;
    }

    .card-sobre{

        min-height: 240px;

        overflow: visible;
    }

    .icon-sobre{

        flex-shrink: 0;
    }

    /* CARROSSEL */

    .sobre-right{

        width: 100%;

        overflow: hidden;
    }

    .carousel{

        width: 100%;

        overflow: hidden;

        border-radius: 35px;
    }

    .carousel-track{

        display: flex;

        width: max-content;

        animation: scroll 35s linear infinite;
    }

    .carousel-track img{

        width: 280px;
        height: 400px;

        object-fit: cover;

        flex-shrink: 0;

        display: block;
    }

    /* CONTADOR */

    .contador{

        grid-template-columns: repeat(3,1fr);

        padding: 70px 5%;

        gap: 18px;
    }

    .contador-card{

        padding: 35px 20px;
    }

    .contador-card h2{

        font-size: 42px;
    }

    /* FOOTER */

    .footer{

        padding: 55px 5% 35px;
    }
}


/* =========================
   768px
========================= */

@media(max-width: 768px){

    /* HERO */

    .hero{

        padding: 120px 0 55px;
    }

    .hero-content h1{

        font-size: 38px;
        line-height: 48px;
    }

    .hero-content p{

        font-size: 16px;
        line-height: 28px;
    }

    /* BOTÕES */

    .hero-buttons{

        width: 100%;

        justify-content: center;
    }

    .btn-primary,
    .btn-secondary{

        min-width: 220px;

        padding: 16px 20px;

        font-size: 14px;
    }

    /* SOBRE */

    .sobre{

        padding: 75px 4%;
    }

    .sobre-left h2{

        font-size: 34px;
        line-height: 44px;
    }

    .sobre-cards{

        grid-template-columns: 1fr;
    }

    .card-sobre{

        min-height: auto;
    }

    /* CARROSSEL */

    .carousel-track img{

        width: 240px;
        height: 340px;
    }

    /* CONTADOR */

    .contador{

        grid-template-columns: 1fr;

        gap: 15px;
    }

    /* FOOTER */

    .footer-top,
    .footer-bottom{

        flex-direction: column;

        text-align: center;
    }
}


/* =========================
   560px
========================= */

@media(max-width: 560px){

    html,
    body{
        overflow-x: hidden;
    }

    /* HEADER */

    .header{

        height: 80px;

        padding: 0 4%;
    }

    .logo{

        gap: 10px;

        max-width: 85%;
    }

    .logo img{
        width: 50px;
    }

    .logo-text h2{

        font-size: 13px;

        line-height: 16px;
    }

    .logo-text p{

        font-size: 10px;
    }

    /* MENU */

    .navbar{

        width: 250px;

        padding: 110px 30px;
    }

    /* HERO */

    .hero{

        padding: 125px 0 50px;
    }

    .hero-content{

        padding: 0 6%;
    }

    .mini-hero{

        font-size: 11px;

        padding: 10px 15px;
    }

    .hero-content h1{

        font-size: 30px;
        line-height: 40px;

        margin-top: 18px;
    }

    .hero-content p{

        font-size: 15px;
        line-height: 26px;
    }

    /* BOTÕES */

    .hero-buttons{

        flex-direction: column;

        gap: 12px;
    }

    .btn-primary,
    .btn-secondary{

        width: 100%;

        min-width: auto;

        padding: 15px 18px;

        font-size: 13px;
    }

    /* SOBRE */

    .sobre{

        grid-template-columns: 1fr;

        gap: 45px;

        padding: 80px 5%;
    }

    .sobre-left h2{

        font-size: 28px;
        line-height: 36px;
    }

    .sobre-left > p{

        font-size: 15px;

        line-height: 25px;
    }

    /* CARDS */

    .sobre-cards{

        grid-template-columns: 1fr;
    }

    .card-sobre{

        min-height: auto;

        padding: 24px 20px;
    }

    .icon-sobre{

        width: 58px;
        height: 58px;

        font-size: 20px;
    }

    .card-sobre h3{

        font-size: 17px;
    }

    .card-sobre p{

        font-size: 14px;

        line-height: 24px;
    }

    /* CARROSSEL */

    .sobre-right{

        width: 100%;

        overflow: hidden;
    }

    .carousel{

        width: 100%;

        overflow: hidden;

        border-radius: 25px;
    }

    .carousel-track{

        display: flex;

        width: max-content;

        animation: scrollMobile 25s linear infinite;
    }

    .carousel-track img{

        width: 210px;
        height: 300px;

        object-fit: cover;

        flex-shrink: 0;

        display: block;
    }

    @keyframes scrollMobile{

        0%{
            transform: translateX(0);
        }

        100%{
            transform: translateX(calc(-210px * 8));
        }
    }

    /* CONTADOR */

    .contador{

        padding: 55px 4%;
    }

    .contador-card{

        padding: 30px 18px;
    }

    .contador-card h2{

        font-size: 38px;
    }

    .contador-card p{

        font-size: 14px;
    }

    /* FOOTER */

    .footer{

        padding: 50px 5% 30px;
    }

    .footer-logo{

        flex-direction: column;

        text-align: center;
    }

    .footer-logo img{

        width: 65px;
    }

    .footer-bottom{

        text-align: center;
    }
}