* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

#particles-js {
    position: fixed;
    width: 100vw;
    height: 100vh;

    top: 0;
    left: 0;

    z-index: -1;

    background: #0a0a14;
}



/* ========= NAVBAR ========= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;

    background: linear-gradient(90deg,
            rgba(10, 10, 20, 0.85),
            rgba(20, 20, 40, 0.85));

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: 0.4s ease;
}

.navbar.scrolled {
    backdrop-filter: blur(20px);
    padding: 10px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* LOGO */
.logo a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 1px;

    display: inline-block;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.08);
}

.logo a:hover {
    background: linear-gradient(90deg, #00e5ff, #7c4dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.05);
}

/* zoom suave */
.logo a:hover {
    transform: scale(1.08);
    font-weight: 1000;
}

/* MENU DESKTOP */
.menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu li {
    position: relative;
}

/* LINKS */
.menu a {
    color: #eaeaea;
    text-decoration: none;
    position: relative;
    padding: 5px 2px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: 0.3s ease;
}

.menu a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #00e5ff, #7c4dff);
    transition: 0.4s ease;
    border-radius: 2px;
}

.menu a:hover {
    color: white;
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

.menu a:hover::after {
    width: 100%;
}

.menu i {
    margin-right: 8px;
    transition: 0.3s ease;
}

.menu a:hover i {
    transform: scale(1.2);
    color: #00e5ff;
}

/* ========= DROPDOWN ========= */
.dropdown-menu {
    position: absolute;
    top: 130%;
    left: 0;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(8px);
    list-style: none;
    padding: 10px 0;
    min-width: 220px;

    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 10px 15px;
    transition: 0.3s;
}

.dropdown-menu a {
    font-size: 14px;
}

.dropdown-menu li:hover {
    transform: translateX(5px);
}

/* ========= HAMBURGER ========= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 5px;
    transition: 0.4s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========= MOBILE ========= */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        background: linear-gradient(180deg,
                rgba(15, 15, 25, 0.95),
                rgba(25, 25, 45, 0.95));

        backdrop-filter: blur(20px);

        padding: 30px 25px;
        gap: 10px;

        transition: 0.4s ease;
        opacity: 0;
    }

    .menu.active {
        left: 0;
        opacity: 1;
    }

    .menu li {
        width: 100%;
        opacity: 0;
        transform: translateY(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .menu.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .menu.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .menu.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .menu.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .menu.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .menu.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .menu a {
        font-size: 18px;
        padding: 12px 0;
        width: 100%;
        display: block;
    }

    .menu a:hover {
        transform: translateX(5px);
        color: #00e5ff;
    }

    /* DROPDOWN MOBILE */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        padding: 0;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        padding-left: 15px;
    }
}

.gradient-text {
    background: linear-gradient(90deg, #00e5ff, #7c4dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.root {
    font-family: 'DM Sans', sans-serif;
    padding: 190px 24px 80px;
    min-height: 100vh;
}

.hero {
    text-align: center;
    margin-bottom: 64px;
}

.eyebrow {
    font-family: 'Syne', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4d90ff;
    margin-bottom: 16px;
}

.lead {
    font-size: 15px;
    font-weight: 300;
    color: #6a7a90;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.75;
}

.stage {
    max-width: 1060px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1px;
    background: #1a2535;
    border-radius: 20px;
    overflow: hidden;
}

.card {
    background: #0f1520;
    padding: 26px 24px;
    cursor: pointer;
    transition: background .2s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c);
    opacity: 0;
    transition: opacity .25s;
}

.card:hover {
    background: #111820;
}

.card:hover::before {
    opacity: 1;
}

.card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--cb);
    background: var(--cb);
}

.card-tag {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--c);
    border: 1px solid var(--cb);
}

.card-name {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #e8edf5;
    line-height: 1.3;
}

.card-desc {
    font-size: 13px;
    color: #4a5a6e;
    line-height: 1.7;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.card-num {
    font-family: 'Syne', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #1e2a3a;
    letter-spacing: 1px;
}

.card-arrow {
    color: #1e2a38;
    transition: color .2s, transform .2s;
}

.card:hover .card-arrow {
    color: var(--c);
    transform: translateX(3px);
}

.count-bar {
    max-width: 1060px;
    margin: 24px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
}

.count-text {
    font-size: 12px;
    color: #2a3a50;
}

.count-text span {
    color: #4d90ff;
    font-weight: 500;
}

/* OVERLAY */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
}

.overlay.open {
    display: flex;
}

/* MODAL */
.modal {
    background: #0f1520;
    border: 1px solid #1a2535;
    border-radius: 22px;
    width: 100%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: mIn .22s ease;
}

@keyframes mIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.97)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.modal::-webkit-scrollbar {
    width: 4px;
}

.modal::-webkit-scrollbar-thumb {
    background: #1a2535;
    border-radius: 4px;
}

.m-bar {
    height: 3px;
    border-radius: 22px 22px 0 0;
}

.m-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1a2535;
    border: none;
    color: #6a7a90;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s;
    z-index: 5;
}

.m-close:hover {
    background: #233040;
    color: #e0e8f0;
}

.m-head {
    padding: 28px 28px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-bottom: 1px solid #131d2a;
}

.m-icon-big {
    width: 56px;
    height: 56px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid;
}

.m-pill {
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid;
    margin-bottom: 8px;
}

.m-title {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #e8edf5;
    line-height: 1.2;
    margin-bottom: 5px;
}

.m-sub {
    font-size: 13px;
    color: #4a5a6e;
}

.m-body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.m-divider {
    height: 1px;
    background: #131d2a;
}

.m-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.m-text {
    font-size: 14px;
    color: #7a8a9e;
    line-height: 1.75;
}

.m-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.m-chip {
    font-size: 12px;
    padding: 5px 13px;
    border-radius: 20px;
    border: 1px solid;
    font-weight: 400;
}

.m-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.m-stat {
    background: #0b1018;
    border: 1px solid #131d2a;
    border-radius: 10px;
    padding: 13px 14px;
}

.m-stat-label {
    font-size: 10px;
    color: #2a3a50;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.m-stat-val {
    font-size: 13px;
    color: #c0ccd8;
    line-height: 1.5;
}

.m-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.m-tool {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #0b1018;
    border: 1px solid #131d2a;
    color: #5a6a7e;
}

/* HERO */
.hero {
    text-align: center;
    padding: 130px;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* CARDS */
.card {
    background: #1e293b;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    color: white;
}

.card i {
    font-size: 30px;
    margin-bottom: 10px;
    color: #38bdf8;
}

.card:hover {
    transform: translateY(-5px);
    background: #334155;
}


.footer {
    position: relative;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    color: white;
    padding: 80px 20px 30px;
    margin-top: 120px;
    overflow: hidden;
}

.footer-top-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;

    background: linear-gradient(90deg, #00e5ff, #7c4dff, #00e5ff);
    background-size: 200%;

    animation: moveGradient 4s linear infinite;
}

@keyframes moveGradient {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 200%;
    }
}

/* layout */
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
    gap: 50px;
}

/* LOGO */
.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;

    background: linear-gradient(90deg, #00e5ff, #7c4dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    color: #aaa;
    max-width: 300px;
}

/* LINKS */
.footer-links h4,
.footer-social h4 {
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: #aaa;
    display: block;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #00e5ff;
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

/* SOCIAL */
.social-icons a {
    margin-right: 15px;
    font-size: 22px;
    color: #aaa;
    transition: 0.3s;
}

/* glow nos ícones */
.social-icons a:hover {
    color: #7c4dff;
    transform: scale(1.3);
    text-shadow: 0 0 15px #7c4dff;
}

/* bottom */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    font-size: 14px;
    color: #777;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;

    margin-top: 40px;
    margin-bottom: 20px;
}

/* logos */
.footer-logos img {
    height: 50px;
    opacity: 0.7;
    transition: 0.3s ease;
}

.footer-logos img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;

    margin-top: 50px;
    padding: 20px;

    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

/* ================= RESPONSIVO EXTRA ================= */
@media (max-width: 1024px) {

    .navbar {
        padding: 15px 25px;
    }

    .menu {
        gap: 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero .welcome {
        font-size: 55px;
    }

    .grafico-card {
        padding: 25px;
    }

    canvas {
        height: 300px !important;
    }
}

@media (max-width: 768px) {

    /* HERO */
    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero .welcome {
        font-size: 42px;
    }

    /* INTRO */
    .intro {
        padding: 80px 15px;
    }

    .intro h2 {
        font-size: 28px;
    }

    .intro p {
        font-size: 16px;
    }

    /* GRAFICO */
    .grafico {
        padding: 80px 15px;
    }

    .grafico-card {
        padding: 20px;
    }

    canvas {
        height: 250px !important;
    }

    .timeline-content {
        width: 100% !important;
        margin: 0 !important;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item::before {
        left: 20px;
    }

    /* FOOTER */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-logos {
        flex-direction: column;
        gap: 20px;
    }

    .footer-logos img {
        height: 40px;
    }
}

@media (max-width: 480px) {

    .hero h1 {
        font-size: 22px;
    }

    .hero .welcome {
        font-size: 34px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .navbar {
        padding: 10px 15px;
    }
}