body {
            margin: 0;
            font-family: Arial, sans-serif;
            color: #333;
            line-height: 1.6;
            scroll-behavior: smooth;
            background-color: #f7f9fb;
        }
        header {
            background: #99d8f6;
            background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('banner.jpg') no-repeat center center;
background-size: cover;
            text-align: center;
            padding: 50px 20px;
            color: white;
            font-size: large;

            background-size: cover; /* Garante que a imagem preencha o espaço */
            background-repeat: no-repeat; /* Evita repetições da imagem */
            background-position: center; /* Centraliza a imagem */
            height: 50vh; /* Define a altura como 50% da altura da viewport */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
        }
        header img {
            max-width: 200px;
        }
        header h1 {
            margin: 10px 0;
            font-size: 3rem;
            color: white;
        }
        /* tom original: 99d8f6 */
        nav {
            background: #5bc9fc;
            text-align: center;
            padding: 10px;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        nav a {
            color: #fff;
            text-decoration: none;
            margin: 0 15px;
            font-weight: bold;
            transition: color 0.3s ease;
        }
        nav a:hover {
            color: #2d7a9d;
        }
        section {
            padding: 40px 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            background-color: #ffffff;
            margin-bottom: 10px;
        }
        .services img {
            width: 100%;
            max-width: 500px;
            border-radius: 8px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .services img:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }
        .services-text {
            flex: 1;
            text-align: left;
            color: #555;
        }
        .services h2 {
            margin-top: 0;
            color: #5bc9fc;
        }
        button {
            background: #5bc9fc;
            color: #fff;
            border: none;
            padding: 10px 20px;
            margin: 10px;
            cursor: pointer;
            font-size: 1rem;
            border-radius: 5px;
            transition: background 0.3s ease;
        }
        button:hover {
            background: #005bb5;
        }
        footer {
            background: #333;
            color: #fff;
            text-align: center;
            padding: 10px 0;
        }
        footer a {
            color: white;
            font-size: xx-large;
        }
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            display: none;
        }
        .lightbox-content {
            background: #fff;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            max-width: 400px;
            width: 90%;
        }
        .lightbox-content .social-links a {
            color: #333;
            font-size: x-large;
        }
        .lightbox button {
            margin: 10px 0;
            display: block;
            width: 100%;
        }

        /* Menu Responsivo */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}
#menu {
    display: flex;
    gap: 10px;
}
#menu.hidden {
    display: none;
}
#menu-toggle {
    display: none;
    background: none;
    margin: auto;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}
@media (max-width: 768px) {
    #menu {
        flex-direction: column;
        background-color: #5bc9fc;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        padding: 10px;
    }
    #menu-toggle {
        display: block;
    }
}

/* Serviços Responsivos */
.services-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}
.services-content img {
    flex: 1;
    max-width: 300px;
    object-fit: cover;
    border-radius: 8px;
}
.services-content div {
    flex: 2;
    text-align: left;
}
@media (max-width: 768px) {
    .services-content {
        flex-direction: column;
        text-align: center;
    }
    .services-content img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .services {
        flex-direction: column; /* Empilha itens verticalmente */
        text-align: center; /* Centraliza o texto */
    }

    .services img {
        max-width: 100%; /* Garante que a imagem não ultrapasse o limite da tela */
        margin-bottom: 20px; /* Adiciona espaçamento abaixo da imagem */
    }

    .services-text {
        text-align: left; /* Mantém o texto alinhado à esquerda, se necessário */
        padding: 0 10px; /* Adiciona um pouco de espaço lateral */
    }
}
@media (min-width: 769px) {
    header {
        background-attachment: fixed; /* Apenas em desktops */
    }
}

@media (max-width: 768px) {
    header {
        height: 70vh; /* Ajusta a altura para telas menores */
        background-attachment: scroll; /* Garante compatibilidade em dispositivos móveis */
    }
}