footer p, 
footer a {
    font-family: "Inter", sans-serif;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -0.3px;
    line-height: 1.5;
    text-decoration: none;
    text-transform: none;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: unset;
    font-style: normal;
}

footer {
    display: grid;
    grid-template-areas:
    "diagmedic contato luxamed"
    "footer-content footer-content footer-content";
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background-color: #111;
}

.footer_diagmedic {
    grid-area: diagmedic;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_diagmedic img {
    max-width: 300px;
    width: 100%;
}

.footer_luxamed {
    grid-area: luxamed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_luxamed img {
    max-width: 300px;
    width: 100%;
}

.contato {
    grid-area: contato;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.contato h2 {
    color: #fff;
}

.contato a {
    font-size: 1.2rem;
}
.contato a:hover {
    text-decoration: underline;
}
.footer-content {
    grid-area: footer-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
}

.footer-options {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.footer-options a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px;
    margin-right: 20px;
}

.footer-options a:hover {
    text-decoration: underline;
}

.scroll-to-top a i {
    margin-top: 5px;
    font-size: 2rem;
    color: #ffed00;
    transition: transform 0.2s ease-in-out;
}

.scroll-to-top:hover {
    transform: scale(1.2);
}

html {
    scroll-behavior: smooth;
}


@media screen and (max-width: 700px) {
    footer {
        grid-template-areas:
            "diagmedic"
            "contato"
            "luxamed"
            "footer-content";
        grid-template-columns: 1fr;
    }

    .contato a {
        font-size: 1rem;
    }

    .footer-options a {
        margin-right: 10px;
    }
}