* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, .20), transparent 30%),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, .15), transparent 40%),
        linear-gradient(135deg,
            #0b1120 0%,
            #111827 50%,
            #0f172a 100%);

    color: white;
    background-attachment: fixed;
}

section {
    animation: aparecer .8s ease;
    padding: 4%;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

button {
    border: none;
    outline: none;
}

img {
    width: 24vw;
    transition: .6s;
    transition-duration: 2s;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .20);
}

a {
    font-size: 14px;
}

h4 {
    font-size: 17px;
}

h3 {
    font-size: 18px;
}

h2 {
    font-size: 20px;
}

h1 {
    font-size: 23px;
}

p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

header {
    width: 100%;
    height: 12vh;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    position: fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4%;
    font-family: "Montserrat", sans-serif;
    z-index: 99;

    nav {
        display: flex;
        gap: 40px;
    }

    a {
        color: white;
        opacity: 0.7;
        transition: .3s;
        text-decoration: none;

        &:hover {
            opacity: 1;
        }
    }

    img {
        width: 11.3%;
        box-shadow: none;
    }
}

img:hover {
    transform: scale(1.05);
}

.meio {
    width: 100%;
    min-height: 20vh;
    padding-top: 100px;
    color: #0248FA;
    font-family: "Montserrat", sans-serif;
    display: flex;
    justify-content: space-evenly;
    align-items: center;

    a {
        text-decoration: none;
        color: white;
    }
}

.botao {
    background: #2563eb;
    box-shadow: 0 8px 25px rgba(37, 99, 235, .45);
    transition: .6s;
    padding: 16px 20px;
    border-radius: 25px;
    font-weight: 600;

    &:hover {
        transform: scale(1.05);
        color: white;
    }
}

.texto {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.text2 {
    color: #0248FA;
    font-weight: 600;
}

.meio1 {
    color: white;
}

.sobre {
    width: 100%;
    padding: 150px 4%;
    color: #0248FA;
    font-family: "Montserrat", sans-serif;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row-reverse;
}

.funciona {
    width: 100%;
    padding: 150px 4% 50px;
    color: #0248FA;
    font-family: "Montserrat", sans-serif;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.fundo2 {
    width: 100%;
    padding: 150px 0 50px;

    h2 {
        color: #0248FA;
        text-align: center;
        padding-top: 50px;
        padding-bottom: 50px;
        font-family: "Montserrat", sans-serif;
    }
}

.pai {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.card {
    background-color: #233554;
    width: 200px;
    height: 200px;
    border-radius: 20px;
    transition: .6s;
    color: white;
    text-align: center;
    padding-top: 10px;
    font-size: clamp(1rem, 1vw + 1rem, 1.2rem);
    font-family: "Montserrat", sans-serif;

    i {
        font-size: 50px;
        color: #0248FA;
        margin-bottom: 20px;
    }

    &:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(30, 27, 102, 0.643);
    }
}

.atrair {
    width: 100%;
    padding: 100px 0;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    color: white;

    h2 {
        color: #0248FA;
    }

    p {
        padding: 15px 0;
    }

    a {
        text-decoration: none;
        color: white;
    }
}

.rodape {
    width: 100%;
    padding: 120px 0 50px;
    color: white;
    display: flex;
    justify-content: space-around;
    font-family: "Montserrat", sans-serif;

    img {
        width: 8vw;
        box-shadow: none;
    }

    h4 {
        padding: 0 0 15px;
    }

    .contato {
        display: flex;
        flex-direction: column;

        a {
            text-decoration: none;
            font-size: 16px;
            color: white;
            padding: 15px;
        }
    }

    .email1 {
        text-decoration: none;
        color: white;
    }

    .botao2 {
        display: inline-block;
        background: #25D366;
        box-shadow: 0 8px 25px rgba(37, 99, 235, .45);
        color: white;
        padding: 15px 30px;
        border-radius: 10px;
        text-decoration: none;
        font-weight: bold;
        transition: .6s;
        text-align: center;
    }

    .botao2:hover {
        transform: scale(1.05);
        color: white;
    }

    .botao3 {
        display: inline-block;
        background: linear-gradient(135deg,
                #4f5bd5 0%,
                #7b3fbf 25%,
                #b3379b 50%,
                #e4405f 75%,
                #f77737 90%,
                #fcaf45 100%);
        box-shadow: 0 8px 25px rgba(37, 99, 235, .45);
        color: white;
        padding: 15px 30px;
        border-radius: 10px;
        text-decoration: none;
        font-weight: bold;
        transition: .6s;
        font-family: "Montserrat", sans-serif;
        text-align: center;
    }

    .botao3:hover {
        transform: scale(1.05);
        color: white;
    }
}

.navegar {
    display: flex;
    flex-direction: column;

    a {
        text-decoration: none;
        color: white;
        opacity: 0.7;
        padding: 15px;
        transition: .3s;
    }

    a:hover {
        opacity: 1;
    }
}

.final {
    width: 100%;
    min-height: 20vh;
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    gap: 5px;
    font-family: "Montserrat", sans-serif;

    p {
        color: white;
        opacity: 0.7;
    }

    a {
        text-decoration: none;
        color: white;
        opacity: 0.7;
    }

    a:hover {
        opacity: 1;
    }
}

.seta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .3);
    transition: .3s;
}

.seta:hover {
    transform: translateY(-5px);
    background: #1d4ed8;
}

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .3);
    transition: .3s;
}

.whatsapp:hover {
    transform: scale(1.1);
}

@media (max-width: 766px) {

    .meio {
        button {
            padding: 5px 12px;

            a {
                font-size: 12px;
            }
        }
    }

    .meio,
    .sobre,
    .funciona,
    .rodape {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    img {
        width: 100px;
    }

    h1 {
        font-size: 23px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 16px;
    }

    p {
        font-size: 15px;
        line-height: 1.6;
    }

    a {
        font-size: 14px;
    }

    .card {
        width: 90%;
        max-width: 350px;
        height: auto;
        padding: 30px;
    }

    .rodape {
        gap: 30px;

        img {
            width: 100px;
        }
    }

    .meio img,
    .sobre img,
    .funciona img {
        width: min(80vw, 240px);
        height: auto;
    }

    .sobre,
    .funciona,
    .diferencias {
        padding: 80px 5% 40px;
    }
}

/* BOTÃO HAMBÚRGUER */

.menu-btn {
    display: none;
    background: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

/* RESPONSIVIDADE */

@media (max-width: 766px) {

    header {
        height: 75px;
        padding: 0 25px;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
    }

    header img {
        width: 100px;
    }

    .menu-btn {
        display: block;
        z-index: 1001;
    }

    header nav {
        position: absolute;
        top: 75px;
        left: 0;

        width: 100%;
        padding: 30px 0;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;

        background: rgba(11, 17, 32, 0.97);
        backdrop-filter: blur(15px);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        transition: .3s ease;
    }

    header.menu-aberto nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

}