html {
    scroll-behavior: smooth;
}

.informacoes {
    display: none;
    justify-content: center;
    gap: 30px;
    padding-block: 7px;
}

.informacoes a {
    color: var(--azul);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.informacoes a:hover {
    text-decoration: underline;
}

/* NAVBAR */
.navbar {
    background-color: var(--azul);
    text-align: center;
    padding-top: 5px;
}

.navbar img {
    width: 200px;
}

.navbar .links {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    padding-bottom: 12.5px;
}

.navbar .links button {
    border: none;
    background-color: rgba(0, 0, 0, 0.103);
    padding: 2px 10px;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: .3s;
}

.navbar .links button:active,
.navbar .links button:hover {
    transform: scale(1.025);
}

/* CARROSSEL */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    user-select: none;
    -webkit-user-drag: none;
}

.carousel-item {
    min-width: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 40vh;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 50%;
    display: flex;
    justify-content: space-between;
    flex-flow: column;
    color: white;
    padding: 20px;
    border-radius: 10px;
    align-items: flex-start;
}

.carousel-content-prevencao {
    height: 60%;
}

.carousel-content-consulta {
    height: 67%;
}

.carousel-content h2 {
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 29px;
    font-size: 27px;
}

.carousel-content .big-display {
    display: none;
    margin-top: -45px;
    margin-left: 35px;
}

.carousel-content .big-display p {
    margin-bottom: 10px;
    font-size: 19px;
}

.carousel-content .big-display ul {
    font-size: 19px;
}

.carousel-content button {
    width: 50%;
    align-self: center;
    justify-self: flex-end;
    background-color: var(--vermelho);
    border: 1px solid var(--vermelho);
    padding: 7px 7px;
    cursor: pointer;
    border-radius: 15px;
    transition: .3s;
}

.carousel-content button a {
    text-decoration: none;
    color: white;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

.carousel-content button:hover,
.carousel-content button:active {
    background-color: #c9202e;
    border: 1px solid #c9202e;
    transform: scale(1.025);
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: var(--vermelho);
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 30px;
    border-radius: 50%;

    transition: .3s;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover,
.next:hover,
.prev:active,
.next:active {
    background-color: rgba(255, 255, 255, 0.062);
    color: var(--vermelho);
}

.indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6.5px;
}

.indicator {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
}

.indicator.active {
    opacity: 1;
    background: var(--vermelho);
}

/* SOBRE O DOUTOR */
.about-doctor {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.about-doctor h1 {
    margin-top: 45px;
    width: 50%;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: 600;
    font-size: 30px;
}

.about-doctor h1 span {
    font-weight: 400;
}

.about-doctor > hr {
    margin-top: 5px;
    width: 37%;
    border: 2px solid var(--azul);
}

.doctor-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 140px 25px 25px 25px; /* Espaço para a imagem */
    margin-top: 120px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.158);
    width: 88%;
}

.about-doctor .doctor-border {
    position: absolute;
    top: -65px; /* Metade da altura da imagem */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(172, 172, 172);
    width: 265px;
    height: 265px;
    border-radius: 30px;
    overflow: hidden;
    z-index: 2;
}

.about-doctor .doctor-border img {
    width: 100%;
}

.about-doctor .doctor-card p {
    text-align: justify;
    padding-inline: 2.5px;
    margin-top: 75px;
    font-size: 18px;
}

.about-doctor p span {
    font-weight: 600;
}

.about-doctor .info {
    width: 100%;
    margin-top: 45px;
    padding: 30px 40px;
    background-color: var(--azul);
    box-shadow: 
        0 -10px 15px -10px rgba(0,0,0, 0.267),
        0 10px 15px -10px rgba(0, 0, 0, 0.267);
}

.about-doctor .info p {
    font-size: 22px;
    color: white;
    text-align: center;
}

.about-doctor .info hr {
    border: 2px solid white;
    margin-block: 25px;
    margin-inline: -10px;
}

.about-doctor a {
    width: 60%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 12.5px;
    text-decoration: none;
    margin-top: 45px;
    padding: 7px 17px;
    border: 2px solid #25D366;
    text-transform: uppercase;
    font-size: 17.5px;
    font-weight: 600;
    background-color: #25D366;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.253);
    color: white;
    border-radius: 20px;
    transition: .3s;
}

.about-doctor a p {
    text-align: center;
    line-height: 22px;
}

.about-doctor a i {
    font-size: 30px;
}

.about-doctor a:hover,
.about-doctor a:active {
    border: 2px solid #1fb456;
    background-color: #1fb456;
    transform: scale(1.015);
}

/* SOBRE A CLÍNICA */
.about-clinic {
    margin-top: 65px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    box-shadow: 
        0 -10px 15px -10px rgba(0, 0, 0, 0.13),
        0 10px 15px -10px rgba(0, 0, 0, 0.13);
}

.about-clinic h1 {
    margin-top: 20px;
    width: 50%;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: 600;
    font-size: 30px;
}

.about-clinic h1 span {
    font-weight: 400;
}

.about-clinic > hr {
    margin-top: 5px;
    width: 37%;
    border: 2px solid var(--azul);
}

.hidden {
    display: none !important;
}

.carousel-wrapper {
    margin-top: 45px;
    position: relative;
    width: 100%;
}

.carousel-container {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    height: 215px;
    gap: 15px;
    padding: 0 0 0 25px;
    list-style: none;
    margin: 0;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
}

.carousel-track::after {
    content: '';
    min-width: 10px;
    height: 100%;
    display: block;
    flex-shrink: 0;
}

.carousel-track img {
    height: 100%;
    width: auto;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--vermelho);
    font-size: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s;
}

.prev-btn {
    left: 25px;
    transform: translate(-50%, -50%);
}

.next-btn {
    right: 25px;
    transform: translate(50%, -50%);
}

.clinica-apresentacao {
    margin-top: 30px;
    background-color: var(--azul);
    margin-inline: 25px;
    border-radius: 20px;
    display: flex;
    flex-flow: column;
    align-items: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.26);
}

.clinica-apresentacao > p {
    text-align: justify;
    padding: 25px;
    font-size: 18px;
    color: white;
}

.clinica-apresentacao > p span {
    font-weight: 800;
}

.clinica-apresentacao > button {
    width: 40%;
    padding-block: 7px;
    padding-inline: 5px;
    margin-bottom: 15px;
    background-color: white;
    color: var(--azul);
    border: 2px solid white;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 19px;
    border-radius: 30px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .3s;
}

.clinica-apresentacao > button:hover,
.clinica-apresentacao > button:active {
    background-color: var(--azul);
    color: white;
    transform: scale(1.01);
}

.about-clinic > h2 {
    margin-top: 30px;
    align-self: self-start;
    margin-left: 20px;
}

.about-clinic > .hr-especialidades {
    align-self: self-start;
    margin-left: 20px;
}

.about-clinic > ul {
    list-style: none;
    margin-left: 30px;
    margin-bottom: 35px;
    align-self: start;
    font-weight: 500;
}

.about-clinic > ul > li {
    margin-top: 10px;
}

.about-clinic > ul > li:first-of-type {
    margin-top: 20px;
}

.about-clinic > ul > li > a {
    font-weight: bolder;
    font-size: 19px;
    color: rgb(0, 35, 110);
}

.about-clinic > ul ul {
    margin-left: 35px;
}

.about-clinic > ul ul li {
    font-size: 17px;
}

/* CONTATO */
.contact-section {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.contact-section h1 {
    margin-top: 45px;
    width: 50%;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: 600;
    font-size: 30px;
}

.contact-section h1 span {
    font-weight: 400;
}

.contact-section > hr {
    margin-top: 5px;
    width: 39%;
    border: 2px solid var(--azul);
    margin-bottom: 40px;
}

.card-contatos {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 10px;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.089);
    width: 85%;
    border-radius: 20px;
    padding-block: 20px;
}

.card-contatos > a {
    width: 90%;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    background-color: rgba(238, 238, 238, 0.603);
    padding: 12px 0;
    padding-left: 15px;
    gap: 20px;
    transition: .3s;
}

.card-contatos > a:active,
.card-contatos > a:hover {
    transform: scale(1.03);
}

.card-contatos > a > i {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #3154a52c;
    width: 45px;
    height: 45px;
    color: var(--azul);
    font-size: 25px;
}

.icone-titulo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 12px;
}

.icone-titulo > i {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #3154a52c;
    width: 85px;
    height: 45px;
    color: var(--azul);
    font-size: 25px;
}

.card-contatos > a .titulo-contato {
    font-size: 19px;
    font-weight: 500;
    color: var(--azul)
}

.card-contatos > a .complemento-contato {
    font-size: 14px;
    color: var(--azul);
}

.card-contatos > a .complemento-contato-endereco {
    width: 90%;
}

.contato-endereco {
    padding: 12px 0 !important;
    display: flex;
    flex-flow: column;
}

.contato-endereco:hover,
.contato-endereco:active {
    transform: scale(1.017) !important;
}

.iframe-wrapper {
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contato-endereco iframe {
    position: relative;
    height: 300px;
    width: 94%;
    border-radius: 10px;
}

.copy-notification {
    position: fixed;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--azul);
    color: white;
    padding: 15px 20px;
    border-radius: 20px;
    font-size: 17px;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    opacity: 0;
    transition: all 0.5s ease;
    visibility: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 9999;
}

.show-email {
    top: 20px;
    opacity: 1;
    visibility: visible;
}

/* FOOTER */
footer {
    padding-block: 20px;
    margin-top: 65px;
    background-color: var(--azul);
    width: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
    box-shadow: 0 -10px 15px rgba(0, 0, 0, 0.151);
}

footer img {
    width: 250px;
    margin-bottom: 20px;
}

footer .horario {
    width: 100%;
    text-align: left;
    margin-block: 25px;
    margin-left: 20px;
}

footer .horario h4 {
    font-size: 16px;
    color: white;
}

footer .horario p {
    margin-left: 20px;
    text-align: left;
    font-size: 15px;
}

footer p {
    margin-top: 3px;
    color: white;
    text-align: center;
    font-size: 13px;
}

footer > p:last-of-type {
    margin-bottom: 10px;
}