/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #020b17;
    color: #f4f8ff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* =========================================
   SCROLLBAR
========================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020b17;
}

::-webkit-scrollbar-thumb {
    background: #087eea;
    border-radius: 10px;
}


/* =========================================
   HEADER
========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 1000;

    background: rgba(2, 11, 23, 0.88);
    border-bottom: 1px solid rgba(0, 157, 255, 0.16);

    backdrop-filter: blur(18px);
}

.nav-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    color: #08a5ff;
    font-size: 23px;
}

.logo strong {
    display: block;
    font-size: 14px;
}

.logo small {
    display: block;

    color: #7f95ad;
    font-size: 10px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    position: relative;

    color: #a9b9cb;

    font-size: 12px;
    font-weight: 500;

    transition: 0.3s;
}

.nav a:hover,
.nav a.active {
    color: #0aa7ff;
}

.nav a.active::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -26px;

    width: 100%;
    height: 2px;

    background: #009cff;
}

.btn-cv {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px;

    border: 1px solid #087dd1;
    border-radius: 8px;

    color: #dff3ff;

    font-size: 11px;
    font-weight: 600;

    transition: 0.3s;
}

.btn-cv:hover {
    background: #087dd1;
    transform: translateY(-2px);
}

.menu-mobile {
    display: none;

    border: none;
    background: transparent;

    color: white;
    font-size: 22px;

    cursor: pointer;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    min-height: 730px;

    padding-top: 145px;
    padding-bottom: 90px;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    top: -300px;
    left: -300px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(0, 128, 255, 0.14),
        transparent 70%
    );
}

.hero-grid {
    position: relative;

    display: grid;

    grid-template-columns: 220px 1fr 320px;

    align-items: center;

    gap: 45px;
}


/* FOTO */

.profile-photo {
    width: 190px;
    height: 190px;

    margin: auto;

    padding: 5px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #00a6ff,
        #0072ff,
        #004f9e
    );

    box-shadow:
        0 0 35px rgba(0, 150, 255, 0.22);
}

.profile-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    background: #17283b;
}


/* CONTATOS LATERAIS */

.profile-links {
    margin-top: 25px;

    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #a9b9cb;

    transition: 0.3s;
}

.contact-link:hover {
    color: white;
    transform: translateX(4px);
}

.contact-icon {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    border-radius: 7px;

    font-size: 13px;
}

.contact-icon.whatsapp {
    color: #20d36b;
}

.contact-icon.email {
    color: #20a7ff;
}

.contact-icon.linkedin {
    color: #4aa9ff;
}

.contact-icon.github {
    color: white;
}

.contact-link small {
    display: block;

    color: #70859b;

    font-size: 9px;
}

.contact-link strong {
    display: block;

    font-size: 10px;
    font-weight: 500;
}


/* HERO CONTENT */

.eyebrow {
    display: block;

    margin-bottom: 7px;

    color: #08a5ff;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: clamp(44px, 5vw, 66px);

    line-height: 1;

    margin-bottom: 8px;

    letter-spacing: -3px;
}

.hero-content h2 {
    color: #079ef2;

    font-size: clamp(21px, 2.5vw, 30px);

    margin-bottom: 18px;
}

.hero-description {
    max-width: 500px;

    color: #a8b9ca;

    font-size: 17px;
}


/* TAGS */

.tech-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin: 25px 0;
}

.tech-tags span {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 7px 11px;

    border: 1px solid rgba(0, 157, 255, 0.3);
    border-radius: 20px;

    background: rgba(0, 120, 255, 0.06);

    color: #d7e8f9;

    font-size: 10px;
}

.tech-tags i {
    color: #08a5ff;
}


/* BOTÕES */

.hero-buttons {
    display: flex;
    gap: 12px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 13px 21px;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 600;

    transition: 0.3s;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        #0aa7ff,
        #0074dd
    );

    color: white;

    box-shadow:
        0 8px 25px rgba(0, 126, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid #087ed0;

    color: white;
}

.btn-secondary:hover {
    background: rgba(0, 126, 208, 0.12);
}


/* DASHBOARD */

.hero-dashboard {
    position: relative;

    padding: 25px;

    border: 1px solid rgba(0, 155, 255, 0.3);
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(5, 32, 60, 0.75),
            rgba(2, 16, 32, 0.9)
        );

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;

    margin-bottom: 20px;
}

.dashboard-header span {
    color: #079ef2;

    font-size: 9px;
    letter-spacing: 1.5px;
}

.dashboard-header h3 {
    margin-top: 5px;

    font-size: 18px;
}

.dashboard-header > i {
    color: #08a5ff;

    font-size: 24px;
}


/* GRÁFICO */

.dashboard-chart {
    height: 95px;

    display: flex;
    align-items: flex-end;
    gap: 10px;

    border-bottom: 1px solid #173c5e;
}

.bar {
    flex: 1;

    min-width: 15px;

    border-radius: 3px 3px 0 0;

    background: linear-gradient(
        to top,
        #006fc9,
        #08a5ff
    );

    opacity: 0.85;
}

.bar-1 {
    height: 35%;
}

.bar-2 {
    height: 48%;
}

.bar-3 {
    height: 42%;
}

.bar-4 {
    height: 65%;
}

.bar-5 {
    height: 55%;
}

.bar-6 {
    height: 82%;
}


/* LINHA */

.dashboard-line {
    margin-top: 10px;

    height: 60px;

    color: #00a4ff;
}

.dashboard-line svg {
    width: 100%;
    height: 100%;

    overflow: visible;
}

.dashboard-line circle {
    fill: #00a4ff;
}


/* STATS */

.dashboard-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    margin-top: 20px;
}

.dashboard-stats div {
    text-align: center;

    border-right: 1px solid #173852;
}

.dashboard-stats div:last-child {
    border: none;
}

.dashboard-stats strong {
    display: block;

    color: white;

    font-size: 22px;
}

.dashboard-stats span {
    color: #71869d;

    font-size: 9px;
}


/* =========================================
   SEÇÕES
========================================= */

.section {
    position: relative;

    padding: 100px 0;

    border-top: 1px solid rgba(0, 157, 255, 0.1);
}

.section-title {
    margin-bottom: 45px;
}

.section-title > span,
.section-heading span,
.contact-intro > span {
    display: block;

    margin-bottom: 7px;

    color: #079ef2;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.section-title h2,
.section-heading h2 {
    font-size: clamp(27px, 4vw, 39px);

    line-height: 1.2;

    letter-spacing: -1px;
}

.section-title strong,
.section-heading strong {
    color: #079ef2;
}


/* =========================================
   SOBRE
========================================= */

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.about-text {
    color: #a8b9ca;

    font-size: 14px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-highlights {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-top: 30px;
}

.about-highlights > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.about-highlights i {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(0, 143, 255, 0.1);

    color: #08a5ff;
}

.about-highlights strong {
    display: block;

    color: white;

    font-size: 10px;
}

.about-highlights span {
    display: block;

    color: #71869d;

    font-size: 8px;
}


/* CARD */

.about-card {
    padding: 30px;

    border: 1px solid #124263;
    border-radius: 10px;

    background: rgba(4, 24, 44, 0.6);
}

.card-label {
    display: block;

    margin-bottom: 25px;

    color: #079ef2;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.education-item {
    display: flex;
    gap: 15px;

    margin-bottom: 24px;
}

.education-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: rgba(0, 143, 255, 0.1);

    color: #08a5ff;
}

.education-item strong {
    display: block;

    margin-bottom: 3px;

    color: white;

    font-size: 12px;
}

.education-item span {
    color: #6f859c;

    font-size: 10px;
}

.objective-box {
    display: flex;
    gap: 14px;

    padding: 18px;

    border: 1px solid #087ed0;
    border-radius: 8px;

    background: rgba(0, 117, 218, 0.06);
}

.objective-box > i {
    color: #08a5ff;

    font-size: 20px;
}

.objective-box strong {
    font-size: 11px;
}

.objective-box p {
    margin-top: 4px;

    color: #91a5b9;

    font-size: 10px;
}


/* =========================================
   PROJETOS
========================================= */

.projects-section {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0, 120, 255, 0.05),
            transparent 50%
        );
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 40px;
}

.all-projects {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #079ef2;

    font-size: 11px;
}

.projects-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}

.project-card {
    overflow: hidden;

    border: 1px solid #103a5c;
    border-radius: 10px;

    background: #04182b;

    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-7px);

    border-color: #078bdc;

    box-shadow:
        0 20px 40px rgba(0, 100, 180, 0.13);
}

.project-image {
    position: relative;

    height: 145px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #082b49,
            #03111f
        );

    color: #08a5ff;
}

.project-image > i {
    position: relative;
    z-index: 2;

    font-size: 50px;

    opacity: 0.85;
}

.cluster {
    position: absolute;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: #08a5ff;

    box-shadow:
        30px 20px 0 #08a5ff,
        -35px 25px 0 #0872d1,
        25px -25px 0 #00d0ff,
        -30px -20px 0 #0872d1;
}

.cluster-one {
    transform: translate(-40px, 20px);
}

.cluster-two {
    transform: translate(40px, -20px);
}

.cluster-three {
    transform: translate(-30px, -30px);
}

.cluster-four {
    transform: translate(35px, 30px);
}

.validation-image {
    color: #0ba7ff;
}

.chart-line {
    position: absolute;

    width: 85%;
    height: 3px;

    background: #08a5ff;

    transform: rotate(-15deg);
}

.chart-line-two {
    transform: rotate(12deg);

    opacity: 0.35;
}

.nlp-image {
    color: #0ba7ff;
}

.nlp-code {
    position: absolute;

    bottom: 15px;

    color: #69caff;

    font-family: monospace;

    font-size: 11px;
}

.folha-image {
    flex-direction: column;

    gap: 5px;

    color: white;
}

.folha-image span {
    font-family: Georgia, serif;

    font-size: 24px;
    font-weight: 700;
}

.folha-image i {
    font-size: 25px;
    color: #08a5ff;
}


/* PROJETO CONTENT */

.project-content {
    position: relative;

    padding: 20px;
}

.project-number {
    position: absolute;

    top: 19px;
    right: 20px;

    color: #35536d;

    font-size: 10px;
}

.project-content h3 {
    max-width: 85%;

    min-height: 44px;

    margin-bottom: 10px;

    font-size: 15px;

    line-height: 1.4;
}

.project-content p {
    min-height: 82px;

    color: #8298ad;

    font-size: 10px;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 5px;

    margin: 15px 0;
}

.project-tags span {
    padding: 4px 7px;

    border-radius: 4px;

    background: #092b47;

    color: #7ccfff;

    font-size: 8px;
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 9px;

    border: 1px solid #087ed0;
    border-radius: 6px;

    color: white;

    font-size: 9px;

    transition: 0.3s;
}

.project-link:hover {
    background: #087ed0;
}


/* =========================================
   HABILIDADES
========================================= */

.skills-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

    margin-bottom: 25px;
}

.skill-card {
    padding: 25px;

    border: 1px solid #103b5d;
    border-radius: 9px;

    background: rgba(4, 25, 45, 0.6);
}

.skill-card > i {
    margin-bottom: 16px;

    color: #08a5ff;

    font-size: 25px;
}

.skill-card strong {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;
}

.skill-card p {
    color: #7e94aa;

    font-size: 10px;
}


/* TECNOLOGIAS */

.technology-grid {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 10px;
}

.technology-grid div {
    padding: 15px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    border: 1px solid #0e324f;
    border-radius: 7px;

    color: #a6b9cb;

    font-size: 9px;

    transition: 0.3s;
}

.technology-grid div:hover {
    border-color: #078bdc;

    color: white;

    transform: translateY(-3px);
}

.technology-grid i {
    color: #08a5ff;

    font-size: 22px;
}


/* =========================================
   PROCESSO
========================================= */

.process-section {
    background:
        linear-gradient(
            180deg,
            rgba(3, 20, 36, 0.8),
            #020b17
        );
}

.process-grid {
    display: grid;

    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr;

    align-items: center;

    gap: 12px;
}

.process-item {
    text-align: center;
}

.process-icon {
    position: relative;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin: auto;

    border: 1px solid #078fe9;
    border-radius: 50%;

    color: #08a5ff;

    background: #04172a;
}

.process-icon span {
    position: absolute;

    top: -5px;
    right: -4px;

    width: 17px;
    height: 17px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #078fe9;

    color: white;

    font-size: 7px;
}

.process-icon i {
    font-size: 19px;
}

.process-item h3 {
    margin-top: 12px;

    font-size: 10px;
}

.process-item p {
    margin-top: 3px;

    color: #657d94;

    font-size: 8px;
}

.process-arrow {
    color: #079ef2;

    font-size: 22px;
}


/* =========================================
   FORMAÇÃO
========================================= */

.formation-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.formation-card {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 25px;

    border: 1px solid #103b5d;
    border-radius: 9px;

    background: rgba(4, 25, 45, 0.6);
}

.formation-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: rgba(0, 143, 255, 0.1);

    color: #08a5ff;

    font-size: 22px;
}

.formation-card span {
    color: #078fe9;

    font-size: 8px;
    font-weight: 700;
}

.formation-card h3 {
    margin: 4px 0;

    font-size: 14px;
}

.formation-card p {
    color: #71879c;

    font-size: 10px;
}

.formation-card strong {
    color: #08a5ff;

    font-size: 9px;
}


/* =========================================
   CONTATO
========================================= */

.contact-section {
    padding-bottom: 110px;
}

.contact-wrapper {
    display: grid;

    grid-template-columns: 0.9fr 1.5fr;

    gap: 60px;

    align-items: center;
}

.contact-intro h2 {
    font-size: 38px;

    line-height: 1.2;
}

.contact-intro h2 strong {
    display: block;

    color: #079ef2;
}

.contact-intro p {
    max-width: 440px;

    margin-top: 15px;

    color: #8298ad;

    font-size: 13px;
}

.contact-buttons {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.big-contact {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 20px;

    border: 1px solid #123e5e;
    border-radius: 9px;

    background: #04192c;

    transition: 0.3s;
}

.big-contact:hover {
    border-color: #079ef2;

    transform: translateY(-4px);
}

.big-contact-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: rgba(0, 143, 255, 0.1);

    color: #08a5ff;
}

.big-contact small {
    display: block;

    color: #657d94;

    font-size: 8px;
}

.big-contact strong {
    display: block;

    margin-top: 2px;

    font-size: 11px;
}

.big-contact > i:last-child {
    margin-left: auto;

    color: #4e6b83;

    font-size: 11px;
}

.whatsapp-contact .big-contact-icon {
    color: #1fd16b;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 30px 0;

    border-top: 1px solid rgba(0, 157, 255, 0.12);

    background: #010914;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo strong {
    display: block;

    font-size: 11px;
}

.footer-logo small {
    display: block;

    color: #657d94;

    font-size: 8px;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    color: #7f95aa;

    transition: 0.3s;
}

.footer-links a:hover {
    color: #08a5ff;
}

.footer-container > p {
    color: #526a80;

    font-size: 8px;
}


/* =========================================
   VOLTAR AO TOPO
========================================= */

.back-to-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid #078fe9;
    border-radius: 50%;

    background: #04182b;

    color: #08a5ff;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;

    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   RESPONSIVIDADE
========================================= */

@media (max-width: 1100px) {

    .hero-grid {
        grid-template-columns: 180px 1fr;
    }

    .hero-dashboard {
        grid-column: 1 / -1;
        max-width: 500px;
        width: 100%;
        margin: auto;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }

    .process-arrow {
        display: none;
    }

    .technology-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


@media (max-width: 800px) {

    .nav {
        position: absolute;

        top: 72px;
        left: 0;

        width: 100%;

        padding: 25px;

        display: none;
        flex-direction: column;

        background: #03101e;

        border-bottom: 1px solid #123b5b;
    }

    .nav.open {
        display: flex;
    }

    .nav a.active::after {
        display: none;
    }

    .btn-cv {
        display: none;
    }

    .menu-mobile {
        display: block;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-links {
        max-width: 300px;
        margin: 25px auto;
        text-align: left;
    }

    .hero-description {
        margin: auto;
    }

    .tech-tags,
    .hero-buttons {
        justify-content: center;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .formation-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 15px;
    }
}


@media (max-width: 550px) {

    .hero-content h1 {
        font-size: 45px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .technology-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;

        text-align: center;
    }

}
