.header {
    background-image: url('../img/background-header.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;

    margin-top: 60px;
    padding: 0 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.header__title {
    display: flex;
    align-items: center;
}

.header__title .logo-topo {
    margin-right: -10px;
    transition: margin-right 0.5s ease;
}

.header__title .logo-base {
    margin-left: -10px;
    transition: margin-left 0.5s ease;
}

.header__title h1 {
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: 30px;

    text-transform: uppercase;
    text-align: center;

    transition: margin 0.5s ease;

    color: var(--text-title);
}

.header__title h1 span {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header__title img {
    width: clamp(70px, 12.8vw, 150px);
}

.header h2 {
    font-family: var(--font-secondary);
    font-size: 22px;

    color: var(--text-subtitle);

    text-align: center;
    max-width: 450px;
}

.header__whatsapp {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: bold;

    color: var(--primary-dark);

    display: flex;
    align-items: center;
    gap: 10px;
}

.header__whatsapp img {
    height: 40px;
}


@media screen and (max-width: 768px) {
    .header {
        background-image: url("../img/background-header-celular.png");
        background-repeat: no-repeat;
        background-size: 400px;
        background-position: center;

        position: relative;

        height: calc(90vh - 120px);
        max-height: 500px;

        justify-content: end;
    }

    .header::before {
        position: absolute;
        z-index: 0;
        content: "";
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, #ffffff, #ffffffa4);
    }

    .header .btn, .header__title, .header h2, .header__whatsapp {
        z-index: 1;
    }

    .header__title {
        display: flex;
        flex-direction: column;
    }

    .header__title img {
        position: absolute;
        top: 20px;
        z-index: -2;

        width: 150px;
        opacity: 0.4;
    }

    .header__title img:nth-child(1) {
        left: calc(50% - 135px);
    }

    .header__title img:nth-child(3) {
        left: calc(50% - 15px);
    }

    .header__title .logo-topo {
        margin-right: 0;
    }
    
    .header__title .logo-base {
        margin-left: 0;
    }

    .header__title h1 {
        font-size: 26px;
        order: 3;
    }
    
    .header h2, .header__whatsapp {
        font-size: 20px;
    }

    .header h2 {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .header__title h1 {
        font-size: 22px;
    }
    .header h2, .header__whatsapp {
        font-size: 18px;
    }
}
