/** BANNER */
.banner {
    background: linear-gradient(180deg,#DA1A47 30%,#B4500E 100%);
    position: relative;
    overflow: hidden;
}
.banner::after {
    content: "";
    background: var(--background_primario);
    position: absolute;
    top: 0;
    left: 0;
    width: 58%;
    height: 100%;
    clip-path: polygon(0 0,100% 0,75% 100%,0 100%,0% 38%);
    box-shadow: 10px 11px 30px rgba(0,0,0,.4);
}

.banner-content {
    min-height: 100vh;
    gap: 50px;
}
.banner-content img {
    max-width: 40%;
}
.banner-content h1 {
    font-size: 44px;
    font-weight: 800;
}
.banner-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
}
.banner-content .content {
    position: relative;
    z-index: 1;
}

.banner-detalhe {
    max-width: 50%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-detalhe canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    min-height: 100vh;
    opacity: 0.5;
}

.banner-detalhe .banner-detalhe-content {
    max-width: 70%;
    width: 100%;
    height: auto;
    position: relative;
}
.banner-detalhe-content .imagem-2 {
    position: absolute;
    right: 0;
    top: 98px;
    border-radius: 15px;
    box-shadow: -15px 0px 15px rgba(0, 0, 0, 0.5);
    width: 75%;
}
.banner-detalhe-content .imagem-1 {
    position: relative;
    right: 55px;
}

.imagem-tilt {    
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transform: translateZ(20px);
}

/** SOBRE */
.sobre {
    gap: 50px;
    padding: 50px 20px 60px;
}

.sobre .container-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.card-1 {
    padding: 40px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease-out 0s;
    background-color: var(--background_secundario);
}
.card-1 figure {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease-out 0s;
    background: linear-gradient(151deg, #DA1A47, #B4500E);
    color: var(--color_text);
}
.card-1 i {
    font-size: 30px;
}
.card-1:nth-child(2n - 1) {
    transform: translateY(30px);
}

.sobre .content p {
    padding-top: 15px;
}

/** SERVIÇOS */
.servicos {
    padding: 60px 20px;
}

.servicos .content-titulo-2 {
    padding-bottom: 60px;
}

.card-2 {
    padding: 40px 0 30px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}
.card-2::before, .card-2::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
}
.card-2::before {
    right: 0;
    background: var(--background_secundario);
}
.card-2::after {
    width: 30px;
    background: linear-gradient(90deg, #DA1A47, #B4500E);
    border-right: 5px solid var(--background_primario);
}

.card-2 figure i {
    font-size: 56px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}
.card-2 figure i:after {
    content: "";
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: linear-gradient(90deg, #DA1A47, #B4500E);
    position: absolute;
    right: -8px;
    bottom: -3px;
    z-index: -1;
}


.servicos .container-grid {
    grid-template-columns: repeat(auto-fit, calc(50% - 15px));
    gap: 30px;
}

/** PROCESSO */
.processo {
    padding: 60px 20px 0;
}

.processo .card {
    gap: 50px;
    padding: 50px 0;
}
.processo-cards .card .content-titulo {
    max-width: 55%;
}
.processo-cards .card .mansory {
    max-width: 35%;
}

.mansory {
    display: grid;
    position: relative;
    grid-template-columns: repeat(12, 1fr);
}
.mansory img {
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
    grid-row: 1;
    width: 100%;
}
.mansory img:nth-child(1) {
    grid-column: 1/span 8;
    margin-top: 20%;
    width: 100%;
    z-index: 2;
}
.mansory img:nth-child(2n) {
    grid-column: 4/-1;
    z-index: 1;
}

.processo-cards .card:nth-child(2n) {
    flex-direction: row-reverse;
}
.processo-cards .card:nth-child(2n) .mansory.mansory-unico img {
    grid-column: 1/span 12;
    margin-top: 0;
}

/** CALL TO ACTION */
.call-to-action {
    padding: 60px 0;
    text-align: center;
    position: relative;
    min-height: 400px;
}
.call-to-action::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, #DA1A47, #B4500E);
    width: 100%;
    height: 100%;
    opacity: 0.7;
}
.call-to-action .content-titulo h2 {
    background: -webkit-linear-gradient(90deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    font-weight: 800;
}
.call-to-action .content-titulo p {
    padding: 15px 0;
}

/** FAQ */
.faq {
    padding: 60px 20px;
    gap: 30px;
}

.faq .content-titulo p {
    padding-top: 15px;
}

.accordion-pergunta {
    background: var(--background_secundario);
    padding: 20px;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
}
.accordion-pergunta:not(:first-child) {
    margin-top: 15px;
}
.accordion-pergunta.ui-state-active {
    border-radius: 15px 15px 0 0;
}
.accordion-pergunta::before, .accordion-pergunta::after {    
    transition: all .3s ease-in-out;
    position: absolute;
}
.accordion-pergunta::before {
    content: "";
    width: 100%;
    height: 0;
    background: linear-gradient(90deg, #DA1A47, #B4500E);
    bottom: 0;
    left: 0;
}
.accordion-pergunta.ui-state-active::before {
    height: 2px;
}
.accordion-pergunta::after {
    content: "\f078";
    font-family: "Font Awesome 6 Pro";
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    display: flex;
    align-items: center;
}
.accordion-pergunta.ui-state-active::after {
    opacity: 0;
}
.accordion-resposta {
    padding: 20px;
    background: var(--background_secundario);
    border-radius: 0 0 15px 15px;
}

/* responsivo */
@media screen and (max-width: 1199px) {
    .sobre, .faq {
        flex-direction: column;
    }

    .faq .accordion-container {
        width: 100%;
    }
}
@media screen and (max-width: 991px) {    
    .banner::after {
        width: 90%;
        clip-path: polygon(0 0,100% 0,55% 100%,0 100%,0% 38%);
    }

    .banner-content {
        min-height: 500px;
        padding: 100px 20px 100px;
    }
}
@media screen and (max-width: 767px) {
    .banner::after {
        width: 100%;
        clip-path: none;
    }
    .banner-content h1 {
        font-size: 30px;
    }
    .banner-content p {
        font-size: 18px;
    }

    .card h3 {
        font-size: 18px;
    }

    .card-1:nth-child(2n - 1) {
        transform: translateY(0);
    }    
    .card-2 {
        flex-direction: column;
    }

    .servicos .container-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .processo-cards .card .content-titulo,
    .processo-cards .card .mansory {
        max-width: 100%;
    }

    .sobre {
        padding-bottom: 0;
    }

}
@media screen and (max-width: 575px) {
    .processo .card {
        gap: 50px;
        padding: 10px 0;
    }
}