/* Estilo automático para a página: home */
.hero-section#home {
    overflow: hidden;
    /* padding-top: 98px; */
    position: relative;
    min-height: 72svh;
    /* padding-top: 100px; */

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        right: 0;
        filter: brightness(0.8);
    }

    .hero-content {
        position: absolute;
        top: 0;
        width: 100%;
        /* background-color: #2C267B; */
        z-index: 2;
        pointer-events: none;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;

        h1,
        p {
            /* color: #0b0b0b; */
            font-size: 20px;
        }

        a {
            pointer-events: auto;
        }

        h1 {
            font-size: 46px;
            line-height: 60px;
            font-weight: 500;
            /* margin-bottom: 16px; */

            span {
                color: #75B948;
            }
        }
    }

    &::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background: linear-gradient(120deg, #121212 10%, rgba(0, 0, 0, 0) 100%);
        z-index: 1;
        /* clip-path: polygon(0 0, 75% 0, 100% 100%, 0% 100%); */
    }
}

section.sobre {
    padding-top: 70px;
    background-color: #F2F9EC;
    border-bottom: 1px solid rgb(102, 102, 102, 0.5);

    .img-sobre {
        width: 100%;
        border-radius: 2px;
        max-height: 360px;
        object-fit: cover;
    }

    h2,
    p {
        margin: 0;
    }

    a.cta {
        width: fit-content;
    }

    .card {
        padding: 36px 40px;
        border-radius: 0px;
        background-color: rgb(226, 242, 213, 0.9);

        span {
            font-size: 48px;
            font-weight: 700;
            color: #1C1C1C;
        }

        h3 {
            font-size: 24px;
            font-weight: 500;
            margin-bottom: 4px;
        }

        p {
            font-size: 16px;
            font-weight: 300;
            color: #1C1C1C;
            margin: 0;
        }
    }

    hr {
        color: #666666;
        opacity: .5;
    }
}

section.servicos {
    .container {
        background-color: #F4FBF7;
    }

    .grid-seguros {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        ;
        gap: 2rem 2rem;
        align-items: start;
        padding: 60px 45px;
    }

    .grid-seguros .intro {
        grid-column: 1 / 2;
    }

    .grid-seguros .card-seguro {
        background: rgb(233, 233, 233, 0.5);
        border-radius: 10px;
        padding: 2rem;
        height: 100%;
    }

    .grid-seguros a {
        display: inline-block;
        margin-top: 1rem;
        font-weight: 600;
        color: #009b5a;
        text-decoration: none;
    }

    .grid-seguros a::before {
        content: "• ";
        color: #009b5a;
    }
}

section.blog {
    margin: 60px 0;

    .tag {
        font-size: 16px;
        font-weight: 600;
        background-color: #936037;
        border-radius: 40px;
        width: fit-content;
        color: #fff;
        padding: 2px 10px;
    }

    img {
        width: 100%;
        border-radius: 6px;
        max-height: 34svh;
        object-fit: cover;
    }

    .post {
        color: #1C1C1C;
        display: block;
        transition: 0.3s all ease-in-out;
        padding: 32px;
        border-radius: 4px;

        &:hover {
            background-color: #F4FBF7;
        }

        a.mt-auto {
            color: #0078B7;
        }
    }
}

@media (min-width: 1200px) {
    section.servicos {
        .grid-seguros {
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        }
    }
}

@media (max-width: 992px) {
    .hero-section#home {
        .hero-content {
            height: 100%;
            top: 0;
            padding: 40px 0;

            h1 {
                font-size: 36px;
                line-height: 50px;
            }
        }
    }

    section.servicos {
        .grid-seguros {
            padding: 60px 0;
        }
    }

    section.blog {
        post {
            padding: 0;
        }
    }
}

@media (max-width: 768px) {
    .hero-section#home {
        min-height: 60svh;

        .hero-content {
            height: 100%;
            top: 0;
            padding: 40px 0;

            h1, p {
                color: #f5f5f5;
            }
        }
    }

    section.servicos {
        .grid-seguros {
            padding: 60px 0;
        }
    }

    section.blog {
        post {
            padding: 0;
        }
    }
}