.header {
    width: 100%;

    box-sizing: border-box;

    display: flex;
    justify-content: center;

    position: relative;

    overflow: hidden;
}

.header::before {
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    content: "";

    width: 100%;
    height: 100%;

    background: linear-gradient(to bottom, #F2AC93, #E07650);
}

.header__container {
    position: relative;
    width: calc(100% - 40px);
    max-width: 900px;

    padding: 0px 20px 50px 20px;

    display: flex;
    justify-content: space-around;
}

/* ----- Conteúdo */
.header__conteudo {
    margin-right: auto;
    padding-top: 80px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.header__conteudo-moverseg {
    color: white;
    text-transform: capitalize;
    font-size: 18px;

    position: relative;
}

.header__conteudo-moverseg::before {
    position: absolute;
    top: -15px;
    left: 0;

    width: 100px;
    height: 10px;
    background-color: #0387BB;
    content: "";
    border-radius: 10px;
}

.header__conteudo-titulo {
    font-size: 40px;

    font-weight: 900;
    color: #0387BB;
    text-transform: uppercase;
    width: 450px;
}

.header__conteudo-subtitulo {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    
    width: 450px;
}

.header__conteudo-button {
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    
    padding: 15px 20px;

    background-color: #0387BB;

    border: none;
    border-bottom: 3px solid #006188;
    border-right: 3px solid #006188;
    border-radius: 5px;

    cursor: pointer;
}

.header__conteudo-button:hover {
    border-bottom: 3px solid #047faf;
    border-right: 3px solid #047faf;

    background-color: #0798d1;
}

/* Confiança */
.header__conteudo__confianca {
    display: flex;
    align-items: center;
    font-size: 25px;
    gap: 50px;
}

.header__conteudo__confianca-susep {
    font-weight: bold;
    font-size: 22px;
    color: white;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.header__conteudo__confianca-susep img {
    max-width: 50px;
}

.header__conteudo__confianca-experiencia {
    text-align: center;
    font-weight: 800;
    line-height: 0.8;
    color: #0387BB;
}

.header__conteudo__confianca-experiencia span {
    font-size: 40px;
}


/* ----- Fundo */
.header__background {
    position: absolute;
    top: calc(-1 * clamp(200px, 23vw, 250px));
    right: calc(-1 * clamp(200px, 25vw, 350px));
    z-index: -1;
}

.header__background::after {
    position: absolute;
    top: 0px;
    left: 0px;
    content: "";
    
    min-width: 500px;
    width: 70vw;
    max-width: 750px;

    min-height: 500px;
    height: 70vw;
    max-height: 750px;

    box-sizing: border-box;
    border: 50px solid #eda0872a;

    border-radius: 400px;
}

.header__background-imagem {
    min-width: 500px;
    width: 70vw;
    max-width: 750px;
}

/* Decoração */
.header__decoracao {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: rotate(180deg);

    height: 70px;
}

.header__decoracao-quadrado {
    position: absolute;
    top: 0px;
    left: -140px;
    transform: rotate(45deg);
    z-index: -1;

    height: 400px;
    width: 400px;

    background-color: rgba(255, 255, 255, 0.171);
}


@media screen and (max-width: 850px){
    /* ----- Conteúdo */
    .header__conteudo-titulo {
        font-size: 35px;
        width: 400px;
    }

    .header__conteudo-subtitulo {
        font-size: 20px;
        width: 400px;
    }

    /* ----- Fundo */
    .header__background {
        top: calc(-1 * clamp(100px, 16vw, 300px));
    }
}

@media screen and (max-width: 758px){
    /* ----- Conteúdo */
    .header__conteudo {
        gap: 20px;
    }

    .header__conteudo-titulo {
        font-size: 28px;
        width: 320px;
    }

    .header__conteudo-subtitulo {
        font-size: 18px;
        width: 300px;
    }

    .header__conteudo-button {
        font-size: 18px;
        padding: 15px 15px;
        border-radius: 8px;
    }

    /* Confiança */
    .header__conteudo__confianca {
        font-size: 20px;
        gap: 30px;
    }

    .header__conteudo__confianca-susep {
        font-size: 20px;
    }

    .header__conteudo__confianca-experiencia span {
        font-size: 30px;
    }

    /* ----- Fundo */
    .header__background {
        top: calc(-1 * clamp(120px, 18vw, 300px));
    }
}

@media screen and (max-width: 662px){
    .header__conteudo-titulo {
        color: #ffffff;
        font-size: 30px;
    }

    .header__conteudo-subtitulo {
        display: none;
    }

    .header__conteudo-moverseg {
        display: none;
    }

    .header__container {
        padding: 20px;
        justify-content: center;
    }

    /* ----- Conteúdo */
    .header__conteudo {
        margin-right: 0;
        padding-top: 250px;
        align-items: center;
        gap: 35px;
        z-index: 5;
    }

    .header__conteudo-titulo {
        text-align: center;
    }

    .header__conteudo-subtitulo {
        text-align: center;
    }

    /* ----- Fundo */
    .header__background {
        top: -220px;
        right: -250px;
        z-index: 3;
    }

    .header__background::after {
        top: 70px;
        left: 70px;
        
        width: 560px;
        height: 560px;

        box-sizing: border-box;
        border: 50px solid #eda0872a;

        border-radius: 400px;
    }

    .header__background-imagem {
        width: 700px;

        mask-image: radial-gradient(circle 280px at 350px 350px, black 279px, transparent 280px);
        -webkit-mask-image: radial-gradient(circle 280px at 350px 350px, black 279px, transparent 280px);

        mask-repeat: no-repeat;
        -webkit-mask-repeat: no-repeat;
    }

    /* Decoração */
    .header__decoracao {
        display: none;
    }

    .header__decoracao-quadrado {
        position: absolute;
        top: 0px;
        left: -140px;
        transform: rotate(45deg);
        z-index: 1;

        height: 350px;
        width: 350px;

        background-color: rgba(255, 255, 255, 0.171);
    }
}