/*********************************************
** A Clínica 
*********************************************/

#paginaAClinica {
	float: left;
	width: 100%;
}

/* Bloco Inicial */

.blocoInicial {
    float: left;
    width: 100%;
    padding: 50px 0;
}

.blocoInicial h1 {
    float: left;
    width: 100%;
    color: #000;
    font-weight: 300;
    font-size: 32px;
    line-height: 46px;
    text-align: center;
    position: relative;
    margin: 0 0 40px 0;
    padding-bottom: 20px;
}

.blocoInicial .boxBaixo {
    float: left;
    width: 100%;
    display: flex;
    align-items: center;
}

.blocoInicial .boxBaixo .texto {
    padding: 0 15px 0 50px;
}

/* Licenças e Alvarás */

.licencasEAlvaras {
    float: left;
    width: 100%;
    text-align: center;
    padding: 50px 0;
}

.licencasEAlvaras h2 {
    float: left;
    width: 100%;
    color: #000;
    font-weight: 300;
    font-size: 28px;
    line-height: 42px;
    text-align: center;
    position: relative;
    margin: 0 0 40px 0;
    padding-bottom: 20px;
}

.licencasEAlvaras h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 50px);
    width: 100px;
    height: 5px;
    background: #9E4B47;
}

.licencasEAlvaras ul {
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}

.licencasEAlvaras ul li {
    list-style: none;
}

/* A GrafGuimarães */

.aGrafGuimaraesNumeros {
    float: left;
    width: 100%;
    padding: 50px 0;
    background: url('http://testemmd.com.br/graf-guimaraes/wp-content/uploads/2023/07/Bg-A-GrafGuimaraes.jpg') center center no-repeat;
    background-size: 100% auto;
    text-align: center;
}

.aGrafGuimaraesNumeros h2 {
    float: left;
    width: 100%;
    color: #000;
    font-weight: 300;
    font-size: 28px;
    line-height: 42px;
    text-align: center;
    position: relative;
    margin: 0 0 40px 0;
    padding-bottom: 20px;
}

.aGrafGuimaraesNumeros h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 50px);
    width: 100px;
    height: 5px;
    background: #9E4B47;
}

.aGrafGuimaraesNumeros .boxNumeros {
    float: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aGrafGuimaraesNumeros .boxNumeros ul {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 50px;
    grid-row-gap: 50px;
}

.aGrafGuimaraesNumeros .boxNumeros ul li {
    border-radius: 80px 0 80px 0;
    border: solid 1px #9E4B47;
    padding: 30px;
    list-style: none;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.aGrafGuimaraesNumeros .boxNumeros ul li .padrao {
    color: #9E4B47;
    font-size: 18px;
    line-height: 18px;
    min-height: 18px;
}

.aGrafGuimaraesNumeros .boxNumeros ul li .numero {
    color: #9E4B47;
    font-size: 40px;
    line-height: 40px;
    font-weight: bold;
    margin: 15px 0;
}

.aGrafGuimaraesNumeros .boxVideo {
    float: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

@media (max-width: 768px) {

    /* Bloco Inicial */

    .blocoInicial h1 {
        font-size: 24px;
        line-height: 34px;
        padding: 0;
    }

    .blocoInicial .boxBaixo {
        flex-direction: column-reverse;
    }

    .blocoInicial .boxBaixo .texto {
        padding: 0 15px;
    }

    .blocoInicial .boxBaixo figure {
        margin-top: 40px;
    }

    /* Licenças e Alvarás */

    .licencasEAlvaras {
        padding: 0 0 30px 0;
    }

    .licencasEAlvaras h2 {
        font-size: 24px;
        line-height: 34px;
    }

    .licencasEAlvaras ul {
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    /* Números */

    .aGrafGuimaraesNumeros {
        padding: 30px 0;
    }

    .aGrafGuimaraesNumeros h2 {
        font-size: 24px;
        line-height: 34px;
    }

    .aGrafGuimaraesNumeros .boxNumeros ul {
        grid-column-gap: 15px;
        grid-row-gap: 15px;
    }

    .aGrafGuimaraesNumeros .boxNumeros ul li {
        padding: 15px;
        border-radius: 40px 0;
    }

    .aGrafGuimaraesNumeros .boxNumeros ul li .padrao {
        color: #9E4B47;
        font-size: 14px;
        line-height: 14px;
        min-height: 14px;
    }

    .aGrafGuimaraesNumeros .boxNumeros ul li .numero {
        font-size: 35px;
        line-height: 35px;
    }

}