html {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #010717;
    background-color: white;
}

*,
*::before,
*::after {
    scroll-behavior: smooth;
    box-sizing: inherit;
}

body {
    padding-top: 3.5rem;
    margin: 0;
    line-height: 1.5;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;

}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

nav {
    height: 6rem;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}


.logo {
    max-width: 360px;
    height: clamp(2rem, 5vw, 4rem);
    width: auto;
}

#menu-itens {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ⬅ centraliza no mobile */
    text-align: center;
    gap: 1rem;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 0 1rem;
    transition: max-height .35s ease, opacity .35s ease, padding .35s ease;
}

#menu-itens.active {
    max-height: 500px;
    opacity: 1;
    padding: 1rem;
}



.home {
    display: flex;
    flex-direction: row-reverse;
}


.menu-btn {
    border: none;
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    background: none;
    color: #010717;
    cursor: pointer;
}

nav a {
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #010717;
    text-decoration: none;
}


.home {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
}

.home>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 480px;
    width: 100%;
}

.home img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 1.5rem;
}

.destaque {
    font-weight: 500;
}

.home h1 {
    margin: 0 0 0.5rem 0;
    color: #010717;
    text-align: center;
    font-size: 2.4rem;
    line-height: 2.9rem;
    font-weight: 700;
}

.separador {
    width: 100%;
    max-width: 260px;
    height: 2px;
    background: #010717;
    margin: 0.8rem 0 0.8rem 0;
}

.home p {

    font-size: 1.2rem;
    font-weight: 300;
    text-align: center;
    margin: 0 0 1rem 0;
}

.btn-home {
    display: inline-block;
    padding: 14px 36px;
    border: 1.5px solid #010717;
    color: #010717;
    background: transparent;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background: #010717;
    color: #f9f9f9;
}

.skills {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    color: #010717;
}

.upper {
    text-align: center;
    margin: 0 auto;
}

.lower {
    max-width: 550px;
    text-align: justify;
    margin: 0 auto;
    width: 70%;
}

.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .8s ease-out, transform .8s ease-out;
}

.fade-left.show {
    opacity: 1;
    transform: translateX(0);
}

.aboutme h1 {
    text-align: center;
}

.sobreimg {
    max-width: 100%;
    width: 220px;
    height: auto;
    margin: 0 auto;
}

.sobredescrip {
    margin: 2.5rem;
    text-align: justify;
}

.cta {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
}

.cta a {
    display: inline-block;
    margin: 0 auto;
}

.cta .lower {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center; /* centraliza tudo */
}

.btn-home {
    display: inline-block;
    
}

.site-footer {
    background: #edede6;
    color: #010717;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 0;
    /* <- remove o espaço branco */
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    max-width: 240px;
    height: auto;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.site-footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

/* .suporte * {
    outline: 1px solid cyan;
} */


@media (min-width: 768px) {
    #menu-btn {
        display: none;
    }

    #menu-itens a::after {
        display: none;
    }

    #menu-itens {
        max-height: none;
        opacity: 1;
        padding: 0;
        position: static;
        flex-direction: row;
        justify-content: flex-end;
        /* ⬅ centraliza no desktop */
        align-items: center;
        background: none;
        transition: none;
    }
}

@media (min-width: 1024px) {

    .home {
        height: 100vh;
        padding-top: 10%;
        display: flex;
        flex-direction: row-reverse;
    }

    .home img,
    .home h1 {
        flex: 1;
    }

    main {
        width: 70%;
        margin: 0 auto;
    }

    .lower {
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: space-around;
        gap: 1.5rem;
        max-width: 1200px;
        height: auto;
        padding-bottom: 5rem;
    }

    .lower img {
        flex: 1;
        max-width: 40%;
        /* evita gigantismo */
        height: auto;
    }

    .lower p {
        text-indent: 2rem;
        font-size: 1.3rem;
        flex: 1;
        max-width: 55%;
        line-height: 1.6;
        text-align: justify;
    }

    .upper {
        padding-top: 1.2rem;
        padding-bottom: 2rem;
    }
    .sobredescrip {
        font-size: 1.3rem;
    }
}