/* Especialidades */
section.especialidades {
    margin-bottom: 170px;
}

section.especialidades h2 {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 80px;
}

section.especialidades h2:before,
section.especialidades h2:after {
    content:'';
    width: 100px;
    height: 1px;
    display: block;
    height: 1px;
    background: #dedede;
}

section.especialidades .boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

section.especialidades .box {
    position: relative;
    width: 100%;
    height: 500px;
    display: block;
    overflow: hidden;
    background: #4b3833;
}

section.especialidades .box .background {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .8;
    transition: all .2s;
}

section.especialidades .box:hover .background {
    transform: scale(1.05);
}

section.especialidades .box a {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    outline: 1px #fff solid;
    outline-offset: -10px;
}

section.especialidades .box .icone {
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .5s;
}

section.especialidades .box .icone img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

section.especialidades .box h3 {
    position: absolute;
    left: 0;
    bottom: 35px;
    text-align: center;
    z-index: 6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    font-size: 20px;
    font-weight: 600;
    transition: .5s;
}

section.especialidades .box:hover h3 {
    bottom: 45px;
}

section.especialidades .box h3:after {
    content:'';
    width: 0;
    height: 2px;
    display: block;
    background: #fff;
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    transition: .5s;
}

section.especialidades .box:hover h3::after {
    width: 100px;
}


/* Section Frase */
section.frase {
    background: url(../img/bg-frase-dra-carla.jpg) center center no-repeat;
    background-size: cover;
    display: block;
    padding: 100px 0;
}

section.frase h2 {
    font-size: 36px;
    color: #fff;
    text-align: center;
    font-weight: 300;
    margin: 0;
    padding: 0 100px; 
    line-height: 1.5;
}

section.frase h2:before {
    content:'“';
    font-weight: bold;
    color: #a66156;
    font-family: var(--font);
    margin-right: 10px;
    font-size: 36px;
    display: inline-block;
}

section.frase h2:after {
    content:'„';
    font-weight: bold;
    color: #a66156;
    font-family: var(--font);
    margin-left: 10px;
    font-size: 36px;
    display: inline-block;
}


/* Instagram */
section.instragram {
    padding: 100px 0;
    background: #f5f5f5;
}

section.instragram h2 {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 30px;
}

section.instragram h2:before,
section.instragram h2:after {
    content:'';
    width: 100px;
    height: 1px;
    display: block;
    height: 1px;
    background: #dedede;
}

section.instragram h3 {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

section.instragram h3 svg {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    fill: var(--marrom);
}

section.instragram h3 a {
    font-weight: bold;
    color: var(--marrom);
    margin-left: 5px;
}

section.instragram .box {
    transform: scale(1.12);
    position: relative;
}

section.instragram .box::after {
    content:'';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 58px;
    background: #f5f5f5;
}