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

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        right: 0;
    }

    .hero-content {
        position: absolute;
        top: 25%;
        width: 100%;
        /* background-color: #2C267B; */
        z-index: 2;
        pointer-events: none;

        h1,
        p,
        a {
            color: #FFFFFF;
        }

        a {
            pointer-events: auto;
        }

        h1 {
            font-size: 48px;
            line-height: 56px;
            font-weight: 600;
            margin-bottom: 16px;
        }
    }

    &::after {
        content: '';
        position: absolute;
        width: 50%;
        height: 100%;
        left: 0;
        top: 0;
        background: #2C267B;
        background: linear-gradient(135deg, rgba(44, 38, 123, 1) 0%, rgba(47, 43, 96, 1) 100%);
        z-index: 1;
        clip-path: polygon(0 0, 75% 0, 100% 100%, 0% 100%);
    }
}

section.sobre {
    .textos-imgs {
        border-left: 25px solid #2F2B60;
        border-radius: 10px 0 0 10px;
        height: 100%;
        display: flex;
        flex-direction: column;

        img {
            height: 33.33%;
            object-fit: cover;
            width: 100%;
            flex: 1 1 auto;
        }
    }

    p {
        margin: 0;
    }
}

section.missao {
    .card {
        border-radius: 0;
        background-color: #2F2B60;
        color: #FFFFFF;
        text-align: center;
    }

    .col-12:first-child .card {
        border-radius: 10px 0 0 10px;
        max-height: calc(100% - 5px);
    }

    .col-12:last-child .card {
        border-radius: 0 10px 10px 0;
        max-height: calc(100% - 5px);
    }
}

.swiper.galeria {
    img {
        height: 50svh;
        transition: 300ms all ease-in-out;
    }

    .swiper-wrapper {
        align-items: center;
    }

    .swiper-slide-active {}

    .swiper-slide-active img {
        height: 55svh;
    }
}

.resumo-projeto {
    &:nth-child(even) {
        flex-direction: row-reverse;
    }
}

section.numeros {
    .dobra-azul {
        background: #2C267B;
        background: linear-gradient(135deg, rgba(44, 38, 123, 1) 0%, rgba(47, 43, 96, 1) 100%);
        border-radius: 0 0 10px 10px;

        h2 {
            color: #fff;
            font-size: 40px;
            margin-bottom: 8px;
            text-transform: uppercase;
        }

        h3 {
            color: #B09B4A;
            font-size: 65px;
        }

        p {
            color: #fff;
            font-size: 20px;
        }
    }
}

section.relacionamento {
    .card {
        border: 2px solid #2F2B60;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        flex: 1 1 auto;

        .card-title {
            padding: 12px 38px;
            background-color: #2F2B60;
            color: #FFFFFF;
            font-size: 20px;
            font-weight: 600;
            border-radius: 0 0 10px 10px;
        }
    }
}

section.galeria {
    min-height: 66svh;
}

section.resumos {
    img {
        height: 100%;
        object-fit: cover;
    }

    p {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        &::after {
            clip-path: polygon(0 0, 100% 10%, 100% 100%, 0% 100%);
            width: 100%;
            height: 50%;
            bottom: 0;
            top: auto;
        }

        .hero-content {
            top: auto;
            bottom: 7%;
            text-align: center;

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

        .btn.cta {
            width: fit-content;
        }

    }

    .sobre, .missao, .resumos, section.numeros .dobra-azul, .relacionamento  {
        h2 {
            font-size: 24px;
            line-height: 32px;
        }
        h3 {
            font-size: 40px;
            line-height: 30px;
        }
        p {
            font-size: 16px;
            line-height: 30px;
        }
    }

    section.numeros .card p {
        font-size: 20px;
    }
}