:root {
    --preto: #111111;
    --vermelho: #c62828;
    --cinza-claro: #f6f6f6;
    --cinza-texto: #555;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--cinza-claro);
    color: var(--cinza-texto);
}

header {
    background-color: white;
    padding: 30px 40px;
    border-bottom: 2px solid #e0e0e0;
}

header h1 {
    margin: 0;
    color: var(--preto);
    font-size: 34px;
    letter-spacing: 1px;
}

header p {
    margin-top: 6px;
    font-size: 15px;
}

.divisor-vermelho {
    width: 60px;
    height: 3px;
    background-color: var(--vermelho);
    margin: 12px 0;
}

nav {
    background-color: white;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

nav a {
    margin: 0 18px;
    text-decoration: none;
    color: var(--preto);
    font-weight: 500;
    font-size: 15px;
}

nav a:hover {
    color: var(--vermelho);
}

.section {
    max-width: 1100px;
    margin: 50px auto;
    background-color: white;
    padding: 45px;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

.medico {
    display: flex;
    gap: 25px;
    margin-top: 35px;
    padding: 25px;
    border-left: 4px solid var(--vermelho);
    background-color: #fafafa;
}

.medico img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.galeria {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.galeria img {
    width: 300px;
    border-radius: 8px;
}

footer {
    background-color: #111;
    color: #ccc;
    text-align: center;
    padding: 30px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .medico {
        flex-direction: column;
        text-align: center;
    }
}
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}
.social-icons {
    margin-top: 15px;
}

.social-icons a {
    color: #ccc;
    font-size: 22px;
    margin: 0 10px;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--vermelho);
}

.contato {
    max-width: 900px;
    margin: 0 auto;
}

.contato-dados p {
    margin-bottom: 18px;
    font-size: 16px;
}

.contato-dados span {
    font-weight: 600;
    color: #000;
}

.contato-dados a {
    color: #000;
    text-decoration: none;
}

.contato-dados a:hover {
    color: #a00000; /* vermelho sutil */
    text-decoration: underline;
}

.contato-mapa {
    margin-top: 25px;
}


.section.contato {
    max-width: 900px;
    margin: 60px auto;
    padding: 30px;
}

.contato-dados p {
    margin-bottom: 18px;
    font-size: 16px;
}

.contato-titulo {
    font-weight: 600;
    color: #000;
}

.contato-dados a {
    color: #000;
    text-decoration: none;
}

.contato-dados a:hover {
    color: #a00000;
    text-decoration: underline;
}

.contato-mapa {
    margin-top: 25px;
}

.contato-mapa iframe {
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: 10px;
}
.voltar-menu {
    position: fixed;
    top: 20px;
    left: 20px;

    width: 42px;
    height: 42px;

    background-color: #a00000;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    font-size: 22px;
    text-decoration: none;

    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.voltar-menu:hover {
    background-color: #000;
    transform: translateX(-4px);
}
.consultorio {
    max-width: 1000px;
    margin: 60px auto;
    padding: 30px;
}


.consultorio h2 {
    margin-bottom: 15px;
}

.consultorio-texto {
    margin-bottom: 30px;
    font-size: 16px;
    color: #333;
}

.galeria-consultorio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.galeria-consultorio img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-consultorio img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.seta-voltar {
    position: fixed;
    top: 20px;
    left: 20px;

    width: 44px;
    height: 44px;

    background-color: #a00000;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    font-size: 22px;
    text-decoration: none;

    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.seta-voltar:hover {
    background-color: #000;
    transform: translateX(-4px);
}
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.fechar {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}
.doencas {
    max-width: 1100px;
    margin: 60px auto;
    padding: 30px;
}

.doencas h2 {
    margin-bottom: 35px;
    color: #000;
}

.doencas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.doenca-card {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.doenca-card:hover {
    transform: translateY(-4px);
}

.doenca-icone {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #f2d6d6; /* rosa salmão suave */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.doenca-icone i {
    color: #a00000; /* vermelho sutil */
    font-size: 18px;
}

.doenca-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #000;
}

.doenca-card p {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

.leia-mais {
    display: inline-block;
    margin-top: 15px;
    color: #a00000;
    font-weight: 500;
    text-decoration: none;
}

.leia-mais:hover {
    text-decoration: underline;
}
.seta-voltar {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 42px;
    height: 42px;
    background-color: #a00000; /* vermelho sutil */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, background-color 0.2s ease;
    z-index: 999;
}

.seta-voltar:hover {
    background-color: #7d0000;
    transform: scale(1.05);
}

.seta-voltar i {
    font-size: 18px;
}

/* EQUIPE */
.equipe {
    max-width: 1100px;
    margin: 60px auto;
    padding: 30px;
}

.equipe h2 {
    margin-bottom: 40px;
    color: #000;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.medico-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.medico-foto {
    width: 130px;
    height: 130px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f2d6d6;
}

.medico-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.medico-card h3 {
    margin-bottom: 5px;
    color: #000;
}

.medico-card span {
    font-size: 14px;
    color: #a00000;
}

.medico-card p {
    margin-top: 12px;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

/* HOSPITAIS */
.hospitais {
    max-width: 1100px;
    margin: 40px auto 80px;
    padding: 30px;
    text-align: center;
}

.hospitais h2 {
    margin-bottom: 30px;
    color: #000;
}

.hospitais-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    opacity: 0.7; /* logos clarinhas */
}

.hospitais-logos img {
    max-height: 55px;
    filter: grayscale(100%);
    transition: opacity 0.3s ease;
}

.hospitais-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}
/* EQUIPE */
.equipe {
    max-width: 1100px;
    margin: 60px auto;
    padding: 30px;
}

.equipe h2 {
    margin-bottom: 40px;
    color: #000;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.medico-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.medico-foto {
    width: 130px;
    height: 130px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f2d6d6;
}

.medico-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.medico-card h3 {
    margin-bottom: 6px;
    color: #000;
}

.especialidade {
    display: block;
    font-size: 14px;
    color: #a00000;
    margin-bottom: 4px;
}

.crm {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
}

.medico-card p {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

/* HOSPITAIS */
.hospitais {
    max-width: 1100px;
    margin: 40px auto 80px;
    padding: 30px;
    text-align: center;
}

.hospitais h2 {
    margin-bottom: 30px;
    color: #000;
}

.hospitais-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    opacity: 0.7;
}

..hospitais-logos img { max-height: 70px; /* aumentou o tamanho */
    filter: grayscale(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hospitais-logos a:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}
/* CONVÊNIOS */
.convenios {
    margin: 40px 0;
}

.convenios h3 {
    margin-bottom: 15px;
    color: #000;
}

.convenios-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.convenio-item {
    padding: 10px 18px;
    border-radius: 20px;
    background-color: #f2d6d6; /* rosa salmão suave */
    color: #000;
    font-size: 14px;
}
/* CONVÊNIOS */
.convenios {
    margin: 40px 0;
}

.convenios h3 {
    margin-bottom: 20px;
    color: #000;
}

.convenios-logos {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.convenios-logos img {
    max-height: 55px;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.convenios-logos img:hover {
    opacity: 1;
    transform: scale(1.05);
}



