.home {
    .hero {
        padding: 64px 24px;
        max-width: 100%;
        @media (max-width: 960px) {
            & {
                padding: 0;
            }
        }

        .wp-block-cover__inner-container {
            display: flex;
            flex-direction: column;
            gap: 32px;
            max-width: var(--wp--style--global--content-size);
        }

        .title {
            width: 100%;
            @media (max-width: 960px) {
                & {
                    padding: 16px;
                }
            }

            h1 {
                color: var(--wp--preset--color--ch-white);
                font-family: var(--wp--preset--font-family--galano);
                font-size: 44px;
                font-weight: 400;
                line-height: 52px;

                strong {
                    font-weight: 900;
                }
            }

            p {
                color: var(--wp--preset--color--ch-white);
                font-family: var(--wp--preset--font-family--galano);
                font-size: 16px;
                font-weight: 400;
                line-height: 18px;
            }
        }

        .phones {
            width: 100%;
            @media (max-width: 960px) {
                & {
                    padding: 16px;
                }
            }

            p {
                color: var(--wp--preset--color--ch-white);
                font-family: var(--wp--preset--font-family--galano);
                font-size: 16px;
                font-weight: 400;
                line-height: 18px;
            }

            a {
                color: var(--wp--preset--color--ch-white);
                display: inline-block;
                font-size: 36px;
                font-weight: 700;
                line-height: 48px;
                margin-bottom: 16px;
                position: relative;
                text-decoration: none;

                &::before {
                    background-color: var(--wp--preset--color--ch-white);
                    bottom: 0;
                    content: '';
                    height: var(--separator-line-height);
                    position: absolute;
                    width: 120%;
                }
                &::after {
                    background-color: var(--wp--preset--color--ch-vivid-orange);
                    border-radius: 50%;
                    bottom: calc((var(--separator-circle-size) / 3) * -1);
                    content: '';
                    height: var(--separator-circle-size);
                    position: absolute;
                    left: calc(120% + var(--separator-space));
                    width: var(--separator-circle-size);
                }
            }
        }

        .marcas {
            gap: 16px;
            width: 100%;
            @media (max-width: 960px) {
                & {
                    background-color: var(--wp--preset--color--ch-dark-blue);
                    display: flex;
                    margin: 0;
                    overflow-x: scroll;
                    padding: 16px;
                    scroll-behavior: smooth;
                    scroll-snap-type: x mandatory;
                    scroll-snap-stop: always;
                    scroll-padding: 16px;
                }
            }

            figure {
                max-width: 100px;
                @media (max-width: 960px) {
                    & {
                        max-width: none;
                        scroll-snap-align: start;
                        min-width: 20%;
                    }
                }
            }
        }
    }

    .planos {
        max-width: 100%;
        width: 100%;
        @media(max-width: 960px){
            & {
                align-items: stretch;
                background-color: var(--wp--preset--color--ch-white);
                flex-direction: row;
                flex-wrap: nowrap;
                gap: 12px;
                overflow-y: hidden;
                overflow-x: scroll;
                padding: 16px;
                scroll-padding: 0 16px;
                scroll-behavior: smooth;
                scroll-snap-type: x mandatory;
                scroll-snap-stop: always;
                width: 100%;
            }
        }

        .is-layout-grid {
            padding: 64px 24px;
            gap: 32px;
            @media(max-width: 960px){
                & {
                    align-items: start;
                    background-color: var(--wp--preset--color--ch-white);
                    border-radius: 4px;
                    box-shadow: 0 2px 1px -1px rgba(0,0,0,.2),
                                0 1px 1px 0 rgba(0,0,0,.14),
                                0 1px 3px 0 rgba(0,0,0,.12);
                    gap: 0;
                    grid-template-columns: repeat(1,1fr);
                    /* grid-template-rows: repeat(2,1fr); */
                    grid-template-rows: 1fr minmax(300px, auto);
                    min-width: 90%;
                    padding: 0;
                    scroll-snap-align: center;

                    .figure {
                        grid-row: 1;
                    }
                }
            }

            .is-vertical {
                gap: 24px;
                justify-content: center;
                @media (max-width: 960px) {
                    & {
                        grid-row: 2/3;
                        padding: 16px 16px 20px 16px;
                    }
                }

                h2 {
                    color: var(--wp--preset--color--ch-dark-blue);
                    font-family: var(--wp--preset--font-family--galano);
                    font-size: 32px;
                    font-weight: 700;
                    line-height: 40px;
                }

                p {
                    color: var(--wp--preset--color--ch-black);
                    font-family: var(--wp--preset--font-family--galano);
                    font-size: 18px;
                    font-weight: 400;
                    line-height: 24px;
                }

                .wp-block-buttons {
                    gap: 24px;
                    width: 100%;

                    @media (max-width: 960px) {
                        & {
                            flex-direction: column;
                            gap: 8px;
                            width: 100%;

                            .wp-block-button {
                                width: 100%;
                            }
                        }
                    }
                }
            }

            figure {
                @media (max-width: 960px) {
                    & {
                        grid-row: 1/2;
                    }
                }
                img {
                    width: 100%;
                }
            }
        }

        .pessoa-fisica {
            width: 100%;
            @media(max-width: 960px){
                & {
                    min-width: 90%;
                    margin: 0 auto;
                }
            }
        }
        
        .pequenas-medias-empresas {
            background-color: var(--wp--preset--color--ch-light-grayish-orange);
            width: 100%;
            @media (max-width: 960px) {
                & {
                    min-width: 90%;
                    margin: 0 auto;
                }
            }
        }
        
        .grandes-empresas {
            width: 100%;
            @media(max-width: 960px){
                & {
                    min-width: 90%;
                    margin: 0 auto;
                }
            }
        }
    }
}










.home .qualiseguros {
    background-color: var(--wp--preset--color--ch-strong-cyan);
    gap: 32px;
    padding: 64px 24px;
}
.home .qualiseguros .is-vertical {
    gap: 32px;
    justify-self: left;
}
.home .qualiseguros .is-vertical h2 {
    color: var(--wp--preset--color--ch-dark-blue);
    font-family: var(--wp--preset--font-family--galano);
    font-size: 48px;
    font-weight: 300;
}
.home .qualiseguros .is-vertical h2 strong {
    font-weight: 700;
}
.home .qualiseguros .is-vertical p {
    color: var(--wp--preset--color--ch-black);
    font-family: var(--wp--preset--font-family--galano);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}
.home .qualiseguros .is-vertical p strong {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}


.home .qualiseguros .animation {
    align-items: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
}

@media (max-width: 960px) {
    .home .qualiseguros {
        grid-template-columns: repeat(1, 1fr);
        padding: 64px 16px;
    }
}


.home .sobre-a-quali {
    background-color: var(--wp--preset--color--ch-dark-blue);
    grid-template-columns: 1fr 2fr;
}
.home .sobre-a-quali > .is-vertical {
    justify-content: space-between;
    padding: 64px 24px;
}
.home .sobre-a-quali > .is-vertical h2 {
    color: var(--wp--preset--color--ch-white);
    font-family: var(--wp--preset--font-family--galano);
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
}
.home .sobre-a-quali > .is-vertical > .is-vertical {
    gap: 32px;
}
.home .sobre-a-quali > .is-vertical > .is-vertical p {
    color: var(--wp--preset--color--ch-white);
    font-family: var(--wp--preset--font-family--galano);
    font-size: 16px;
    font-weight: 500;
    position: relative;
}
.home .sobre-a-quali > .is-vertical > .is-vertical p a {
    color: var(--wp--preset--color--ch-white);
    display: block;
    padding-right: 16px;
    position: relative;
    text-decoration: none;
    width: 100%;
}
.home .sobre-a-quali > .is-vertical > .is-vertical p:has(> a)::before {
    background-color: var(--wp--preset--color--ch-white);
    bottom: -6px;
    content: '';
    left: 0;
    height: 2px;
    position: absolute;
    width: calc(100% + 16px);
}
.home .sobre-a-quali > .is-vertical > .is-vertical p a::after {
    border-top: 2px solid var(--wp--preset--color--ch-white);
    border-right: 2px solid var(--wp--preset--color--ch-white);
    bottom: 0;
    content: '';
    height: 12px;
    margin: auto;
    position: absolute;
    right: 1px;
    transform: rotate(45deg);
    top: 0;
    width: 12px;
}
.home .sobre-a-quali > .is-vertical > .is-vertical p a::before {
    background-color: var(--wp--preset--color--ch-white);
    bottom: 0;
    content: '';
    height: 2px;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 14px;
}

.home .sobre-a-quali figure {}
.home .sobre-a-quali figure img {}

.home .hero .formulario {
    width: 100%;
}

@media (max-width: 960px) {
    .home .sobre-a-quali {
        grid-template-columns: 1fr;
        padding: 0;
    }
    .home .sobre-a-quali figure {
        grid-row: 1;
    }
    .home .sobre-a-quali > .is-vertical {
        gap: 32px;
        grid-row: 2;
        padding: 32px 16px;
    }
    .home .hero .formulario {
        display: none;
    }
}

.home .formulario-mobile {
    visibility: hidden;
    height: 0;
}
.wp-admin .home .formulario-mobile {
    visibility: visible;
    height: auto;
}

@media (max-width: 960px) {
    .home .formulario-mobile {
        visibility: visible;
        height: auto;
        padding: 16px;
    }
}


.home .formulario-cotacao-mobile {
    display: none;
}

@media (max-width: 960px) {
    .home .formulario-cotacao-mobile {
        display: flex;
    }
}