@import url('./form-top.css');
@import url('./form-bottom.css');

:root {
    --white: #FFFFFF;
    --acqua: #15A8AB;
    --grey: #6D6D6D;
    --blue: #304271;
    --bg-aqua: #F3FAFB;
    --sombra: rgba(0, 0, 0, 0.2) 1px 2px 10px;
}

.custom-title {
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    margin: 0;
}

.custom-text {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    margin: 0;
}

.custom-title.acqua,
.custom-text.acqua {
    color: var(--acqua);
}

.custom-title.white,
.custom-text.white {
    color: var(--white);
}

.custom-title.grey,
.custom-text.grey {
    color: var(--grey);
}

.custom-title.blue,
.custom-text.blue {
    color: var(--blue);
}

.carousel-indicators {
    button {
        background-color: var(--grey) !important;
        height: 5px;
        border-radius: 10px;
    }
}

main {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}

.banner {
    width: 100%;
    height: 220px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    article {
        max-width: 60%;
        position: absolute;
        top: 50%;
        left: 12px;
        transform: translateY(-50%);

        p:nth-of-type(1) {
            font-size: 14px;
            line-height: 18px;
            color: var(--white);
        }

        p:nth-of-type(2) {
            font-size: 12px;
            line-height: 16px;
            color: var(--white);
            font-weight: 600;
        }

        h1 {
            font-size: 24px;
            line-height: 28px;
            font-weight: 600;
            color: var(--blue);
            margin-bottom: 8px;
        }
    }
}

.section-anestesia-e-dor,
.section-fisioterapia,
.section-psico-oncologia,
.section-nutricao,
.section-geriatria,
.section-odontologia,
.section-enfermagem,
.section-farmacia {
    padding: 0 !important;

    > section {
        width: calc(100% - 32px) !important;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: auto;
        align-items: center;
        column-gap: 16px;
        row-gap: 24px;
        /* order: 1; */
        padding: 48px 0;
    
        article {
            display: flex;
            flex-direction: column;
            row-gap: 16px;
    
            ul {
                display: flex;
                flex-direction: column;
                row-gap: 20px;
                padding: 0;
    
                li {
                    display: flex;
                    align-items: center;
                    column-gap: 8px;
                    color: #15A8AB;
                    font-weight: 700;
                    font-size: 21px;
                    line-height: 0px !important;
    
                    img {
                        width: 24px;
                    }
                }
            }
    
        }
        
        .image {
            display: flex;
            width: 100%;
            max-width: 345px;
            height: 425px;
            border-radius: 32px !important;
            overflow: hidden;
            margin: 0 auto;
            
            img {
                object-fit: cover;
                width: 100%;
                height: 100%;
            }
        }
    }
}

.section-fisioterapia,
.section-nutricao,
.section-odontologia,
.section-farmacia {
    background-color: var(--bg-aqua);
}

.section-agendar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 1rem;
    padding: 0 16px 32px;

    h2 {
        font-size: 16px;
        text-align: center;
    }

    > section {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 1rem;

        a {
            display: flex;
            width: 210px;
            align-items: center;
            justify-content: center;
            column-gap: .5rem;
            font-size: 14px;
            padding: .25rem 1rem;
            border-radius: 24px;
            text-decoration: none;
            box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);

            span {
                img {
                    height: 24px;

                }
                strong {
                    color: var(--acqua);
                }
            }

            &:nth-of-type(3) {
                span{
                    img {
                        width: 26px;
                    }
                }
            }
        }

    }
}

.section-conheca {
    display: flex;
    flex-direction: column;
    row-gap: 48px;
    width: 100%;
    position: relative;
    padding: 32px 0;

    h2 {
        width: 100%;
        text-align: center;
        padding: 0 16px
    }
}

@media (min-width: 576px) {
    .banner {
        height: 500px;

        article {
            max-width: 60%;
            top: 40%;
            left: 10%;

            p:nth-of-type(1) {
                font-size: 24px;
                line-height: 28px;
            }

            p:nth-of-type(2) {
                font-size: 24px;
                line-height: 28px;
            }

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

@media (min-width: 768px) {
    .custom-title {
        font-size: 24px;
        line-height: 28px;
    }

    .section-anestesia-e-dor,
    .section-fisioterapia,
    .section-psico-oncologia,
    .section-nutricao,
    .section-geriatria,
    .section-odontologia,
    .section-enfermagem,
    .section-farmacia {
        padding: 0 !important;
        order: 0;
        > section {
            display: grid;
            grid-template-columns: repeat(2, minmax(200px, 400px));
            justify-content: center;
            
    
            article {
                ul {
                    padding-left: 32px;
    
                    li {
                        img {
                            width: 40px;
                        }
                    }
                }
            }
    
            .image {
                display: inline-block;
                margin-right: 0;
                margin-left: auto;
            }
        }
    }

    .section-fisioterapia,
    .section-nutricao,
    .section-odontologia,
    .section-farmacia {

        > section {
            .image {
                margin-left: 0;
                margin-right: auto;
            }
        }
    }
}

@media (min-width: 992px) {
    .section-conheca {

        .carousel-sintomas {
            display: none;
        }
    }
}
