@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    padding: 0;
    margin: 0;
    outline: none;
    border: none;
    box-sizing: border-box;
}

img {
    width: 150px;
    height: 150px;
    border-radius: 150px;
    border: 4px solid #1b3383;
    box-shadow: 0 0 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}

.profile-img {
    width: 60%;
    height: 60%;
    object-fit: cover;
}

a {
    text-decoration: none;
    font-size: 18px;
    font-family: Poppins, sans-serif;
    color: antiquewhite;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #18181B;
}

nav {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.nav-logo {
    max-width: 100px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.link a {
    position: relative;
    padding-bottom: 0.75rem;
    color: #fff;
}

.link a::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    bottom: 0;
    left: 0;
    background-color: #1d4ed8;
    transition: all 0.3s ease;
}

.link a:hover::after {
    width: 70%;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    color: #fff;
    background-color: #1d4ed8;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #1e40af;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 5rem 2rem;
}

.blur {
    position: absolute;
    box-shadow: 0 0 1000px 50px #1d4ed8;
    z-index: -100;
}

header {
    position: relative;
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}

header .content h4 {
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 1rem;
    font-weight: 600;
}

header .content h1 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 700;
    line-height: 4rem;
}

header .content h1 span {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #fff;
}

header .content p {
    margin-bottom: 2rem;
    color: #ccc;
}

header .image {
    position: relative;
}

header .image::before {
    content: "o";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 38rem;
    font-weight: 400;
    line-height: 20rem;
    color: #1d4ed8;
    opacity: 0.2;
    z-index: -100;
}

header .image img {
    max-width: 600px;
    margin: auto;
}

section .header {
    margin-bottom: 1rem;
    color: #fff;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
}

.scroll-top {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 55px;
    background-color: #1d4fd8e5;
    color: #fff;
    border: 1px solid #4d4d4dbb;
    box-shadow: 0 5px 15px rgba(116, 116, 116, 0.35);
    padding: 15px 18px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top:hover{
    background-color: #366cff;
}


/* cards dos projetos */
.features {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.features .card .project-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.features .card {
    background-color: #27272a;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.features .card:hover {
    background-color: #323232;
    border-color: #fff;
}

.features .card span {
    display: inline-block;
    background-color: #1e40af;
    padding: 2px 9px;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: #fff;
    border-radius: 5px;
}

.features .card h4 {
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.features .card p {
    color: #ccc;
    margin-bottom: 1rem;
}

.features .card a {
    color: #fff;
    transition: all 0.3s ease;
    margin-top: auto;
    padding: 10px 0;
    align-self: flex-start;
    position: relative;
    bottom: 0;
}

.features .card a:hover {
    color: #1e40af;
}

.sub-header {
    max-width: 600px;
    margin: auto;
    text-align: center;
    color: #ccc;
}

.pricing {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing .card {
    padding: 3rem 2rem;
    background-color: #27272a;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.pricing .card:hover {
    background-color: #323232;
    border-color: #fff;
}

.pricing .card .content {
    flex: 1;
    margin-bottom: 2rem;
}

.pricing .card h4 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}

.pricing .card h3 {
    color: #fff;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    border-bottom: 2px dashed #fff;
}

.pricing .card p {
    color: #fff;
    margin-bottom: 0.75rem;
}

.pricing .card p i {
    color: #ccc;
    font-size: 1.2rem;
    margin-right: 0.3rem;
}

.pricing .card button {
    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
}

.pricing .card button:hover {
    background-color: #1e40af;
    border-color: #1e40af;
}

.icon-wrapper {
    position: relative;
    display: inline-block;
}

.icon-wrapper i {
    font-size: 30px;
    color: white;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

footer {
    position: relative;
    display: flex;
    justify-content: center;
    grid-template-columns: 400px repeat(3, 1fr);
    gap: 7rem;
}

footer .column p {
    color: #ccc;
    margin-bottom: 2rem;
    margin-top: 40px;
}

footer .column .socials {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 20px;
}

footer .column .socials a {
    color: #ccc;
    border: 2px solid #ccc;
    padding: 12px;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    width: 48px;
    height: 48px;
}

footer .column .socials a:hover {
    color: #fff;
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    transform: scale(1.15);
    box-shadow: 0px 6px 12px rgba(29, 78, 216, 0.4);
}

footer .column h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

footer .column > a {
    display: block;
    color: #ccc;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

footer .column > a:hover {
    color: #1d4ed8;
    transform: translateX(5px);
}

.copyright {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
}

/* =================== MEDIA QUERIES =================== */
@media screen and (max-width: 900px) {
    nav {
        padding: 1.5rem 1rem;
    }

    .menu-toggle {
        display: block;
        background: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        display: none !important;
        position: absolute;
        top: 70px;
        right: 20px;
        background: #27272a;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
    }

    .nav-links.active {
        display: flex !important;
        max-height: 400px; /* Ajuste conforme necessário */
        overflow: visible;
    }

    header {
        padding-top: 1rem;
        grid-template-columns: 1fr;
        text-align: center;
        transition: margin-top 0.3s ease-in-out;
    }

    header .content h1 {
        font-size: 2.5rem;
        line-height: 3.5rem;
    }

    header .image img {
        max-width: 90%;
        margin-top: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    nav {
        padding: 1rem 0.5rem;
    }

    header .content h1 {
        font-size: 2rem;
        line-height: 3rem;
    }

    header .image::before {
        font-size: 20rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .pricing {
        grid-template-columns: 1fr;
    }

    footer {
        gap: 3rem;
        flex-wrap: wrap;
    }

    .scroll-top {
        right: 20px;
        bottom: 20px;
        padding: 12px 15px;
    }
}

@media screen and (max-width: 480px) {
    header .content h1 {
        font-size: 1.8rem;
        line-height: 2.5rem;
    }

    .nav-links {
        right: 10px;
        padding: 1rem;
    }

    .features .card h4 {
        font-size: 1rem;
    }
}