#header {
    background-image: url('../../../img/header.webp');
    background-position: center;
    background-size: cover;
    position: relative;

    &::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(60deg, var(--clr1), var(--clr5));
        opacity: .88;
    }

    div { z-index: 9 }

    .content {
        .title-heading .tags .tag {
            font-size: 13px;
            color: var(--white);
            padding: .5rem 1rem;
            border-radius: 20px;
            border: 1px solid var(--white);
            background-color: var(--clr1);
            display: flex;
            align-items: center;
            gap: .4rem;

            svg { fill: var(--white); }
        }

        .consult {
            .round {
                padding: 1.5rem;
                width: 600px;

                .form {
                    .h4 { font-size: 16px; }

                    #form-consult {
                        &.invalid ~ .error-field {
                            display: flex;
                        }
                        
                        &:not(.valid) button {
                            cursor: no-drop;
                            background: #aaaaaa;
                        }

                        #carPlate, button { border-radius: 12px; }

                        #carPlate {
                            border: 1px solid rgba(0, 0, 0, .3);
                            width: 100%;
                            font-size: 18px;
                            padding: .8rem 1.1rem;
                        }

                        button {
                            flex-shrink: 0;
                            background: linear-gradient(90deg, #00c850, #00a73e);
                            font-size: 15px;
                            padding: 1rem 1.3rem;
                            transition: all .3s;
                        }
                    }
                }

                .points .point {
                    display: flex;
                    align-items: center;
                    gap: .4rem;
                    font-size: 13px;

                    svg {
                        fill: var(--clr-success);
                    }
                }
            }

            .metrics .metric {
                display: flex;
                flex-direction: column;
                align-items: center;

                .count {
                    display: flex;
                    align-items: center;
                    gap: .4rem;
                    font-size: 48px;
                    font-weight: 600;
                    
                    .value-big-number, span {
                        color: var(--white);
                    }
                }

                p {
                    color: var(--clr-light-paragraph);
                    font-size: 14px;
                    text-align: center;
                }
            }
        }
    }
}

#feedbacks .content .subcontent .swiper .swiper-slide {
    height: auto;

    .feedback {
        display: flex;
        height: 100%;
        flex-direction: column;
        justify-content: space-between;
        gap: 1.2rem;
        padding: 1.5rem;
        box-shadow: 0 0 4px 2px rgba(0, 0, 0, .04);
        border: 1px solid rgba(0, 0, 0, .2);
        border-radius: 16px;
        background-color: var(--white);

        .top {
            display: flex;
            flex-direction: column;
            gap: 1rem;

            .stars {
                display: flex;
                align-items: center;
                gap: .3rem;

                svg {
                    width: 18px;
                    height: 18px;
                    fill: var(--yellow-star);
                }
            }
            
            .comment {
                display: flex;
                flex-direction: column;
                gap: .8rem;

                p {
                    font-size: 14px;
                    color: var(--clr-dark-paragraph);
                }
            }
        }

        .person {
            display: flex;
            align-items: center;
            gap: .7rem;

            .icon {
                background-color: var(--clr1);
                border-radius: 50%;
                width: 40px;
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;

                .initials {
                    font-size: 15px;
                    color: var(--white);
                    text-align: center;
                }
            }

            .about {
                &, .tp { display: flex; }

                .tp {
                    flex-direction: column;
                    gap: .1rem;

                    .name {
                        font-size: 14px;
                        font-weight: 500;
                    }

                    .job {
                        font-size: 13px;
                        color: var(--clr-dark-paragraph);
                    }
                }
            }
        }
    }
}

#infos .content .subcontent .item {
    --qtd-items: 3;

    width: calc((100% - (2rem * (var(--qtd-items) - 1))) / var(--qtd-items));
    padding: 1.5rem;
    border: 1px solid var(--black);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    height: auto;
    position: relative;

    &, &::before { border-radius: 16px; }

    &::before {
        content: '';
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        position: absolute;
        opacity: .1;
    }

    &.clr1 {
        border-color: var(--clr1);

        &::before, .top .icon, .bottom::before {
            background-color: var(--clr1);
        }
    }
    &.clr2 {
        border-color: var(--clr2);

        &::before, .top .icon, .bottom::before {
            background-color: var(--clr2);
        }
    }
    &.clr3 {
        border-color: var(--clr3);

        &::before, .top .icon, .bottom::before {
            background-color: var(--clr3);
        }
    }

    &>div { z-index: 9; }

    .top {
        display: flex;
        flex-direction: column;
        gap: 1rem;

        .icon {
            padding: .8rem;
            border-radius: 12px;
            width: fit-content;

            svg {
                width: 24px;
                height: 24px;
                fill: var(--white);
                display: flex;
            }
        }

        .texts {
            display: flex;
            flex-direction: column;
            gap: .6rem;

            h3 { font-size: 16px; }

            p {
                font-size: 15px;
                color: var(--clr-dark-paragraph);
            }
        }
    }

    .bottom {
        display: flex;
        padding: .6rem .8rem;
        position: relative;

        &, &::before { border-radius: 8px; }

        &::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
            opacity: .2;
        }

        &>div { z-index: 9; }

        .highlight {
            font-size: 13px;
            color: var(--clr-dark-paragraph);
            
            .bold { font-weight: 600; }
        }
    }
}

#cta1 {
    background: linear-gradient(100deg, var(--clr4), var(--clr1));
}

#discover .content .subcontent .items .item {
    width: calc((100% - 1rem) / 2);
    background-color: var(--light-grey);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .1);
    padding: .8rem 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 15px;

    svg {
        width: 18px;
        height: 18px;
        fill: var(--clr-success);
    }
}

#faq .content .items .item {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, .1);
    background-color: var(--white);
    border-radius: 16px;
    cursor: pointer;
    width: 100%;

    &.active {
        .question svg { transform: rotateZ(180deg); }
        .answer { display: flex; }
    }

    .question {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
        font-size: 15px;

        svg {
            transition: all .2s;
            width: 18px;
            height: 18px;
        }
    }

    .answer {
        display: none;
        flex-direction: column;
        gap: .8rem;

        p {
            font-size: 14px;
            color: var(--clr-dark-paragraph);
            line-height: 26px;
        }
    }
}

#cta2 {
    background: linear-gradient(105deg, var(--clr1), var(--clr5));
}

@media (max-width: 1024px) {
    #infos .content .subcontent .item { --qtd-items: 2; }
}

@media (max-width: 768px) {
    #header .content {
        .title-heading .title p { text-align: center; }

        .consult {
            &, .round { width: 100%; }

            .round .form #form-consult {
                flex-direction: column;

                button { width: 100%; }
            }

            .metrics {
                justify-content: space-around;
                
                .metric .count { font-size: 36px; }
            }
        }
    }

    #cta1 .content {
        flex-direction: column;
        gap: 2rem;

        .texts {
            gap: 1rem;
            width: 100%;

            &, .title { align-items: center; }

            .title p { text-align: center; }
        }

        .image { width: 80%; }
    }

    #discover .content .subcontent .items .item {
        width: 100%;
        font-size: 14px;
    }

    #cta2 .content .title-heading .subtitle {
        text-align: center;
    }
}

@media (max-width: 600px) {
    #header .content .consult {
        gap: 1.5rem;
        
        .metrics {
            gap: 1.5rem;
            flex-direction: column;
        }
    }
    
    #infos .content .subcontent {
        gap: 1.5rem;

        .item { --qtd-items: 1; }   
    }
}