/* Resetando margens e padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corpo do site */
body {
    font-family: 'Arial', sans-serif;
    background-color: #333;
    color: #fff;
    line-height: 1.5;
}

/* Cabeçalho */
header {
    background-color: #222;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

header .logo img {
    width: 120px;
    border-radius: 20px;
}

header nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1rem;
    gap: 10px;
}

header nav ul li {
    margin: 0;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
}

header .agendamento .btn {
    margin-top: 10px;
    background-color: #ff7c11;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
}


.sobre {
    padding: 100px 20px; /* Aumenta o padding superior para compensar o cabeçalho fixo */
    min-height: 100vh; /* Garante que a altura da seção cubra a tela inteira */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza o conteúdo verticalmente */
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
}

.sobre h2 {
    font-size: 2rem; /* Aumenta o tamanho do título para telas menores */
    margin-bottom: 20px;
}

.sobre p {
    font-size: 1.2rem; /* Ajusta o tamanho da fonte para uma leitura melhor */
}

/* Seção de Serviços */
.servicos {
    padding: 20px;
    text-align: center;
}

.servicos h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.servicos .service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.servicos .service-item {
    background-color: #444;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.servicos .service-item img {
    width: 100%; /* Imagem ocupa 100% do container */
    max-width: 500px; /* Limita o tamanho máximo da imagem */
    height: auto; /* Mantém a proporção da imagem */
}
.servicos .service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.servicos .service-item p {
    font-size: 0.9rem;
}

/* Rodapé */
footer {
    background-color: #222;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsividade específica para 393x852 */
@media (max-width: 393px) {
    header nav ul {
        flex-direction: column;
        gap: 5px;
    }

    .sobre h2, .servicos h2 {
        font-size: 1.0rem;
    }

    .sobre p, .servicos .service-item p {
        font-size: 0.9rem;
    }

    .servicos .service-item img {
        width: 90%; /* Ajusta a largura das imagens */
        max-width: 400px; /* Limita o tamanho máximo */
        margin: 0 auto; /* Centraliza as imagens */
    }

    header .logo img {
        width: 100px;
    }

    header .agendamento .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}


.fade-in {
    opacity: 1;
    transition: opacity 1s ease-in;
}


