body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-content {
    width: 80%;
    margin: 0 auto;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}
header img {
    height: 50px;
}
nav {
    display: flex;
    gap: 20px;
}
nav a {
    position: relative; /* Necessário para posicionar o pseudo-elemento */
    text-decoration: none; /* Remove sublinhado padrão */
    color: inherit; /* Mantém a cor padrão */
    display: inline-block; /* Garante que o pseudo-elemento funcione corretamente */
    transition: color 0.3s ease; /* Suaviza a mudança de cor */
}

nav a:hover {
    color: #0d6efd; /* Altera a cor do texto no hover */
}

nav a::after {
    content: ""; /* Pseudo-elemento vazio */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0; /* Largura inicial */
    height: 0; /* Altura inicial */
    border-radius: 50%; /* Torna o elemento circular */
    transition: width 0.3s ease, height 0.3s ease; /* Suaviza a expansão */
}

nav a:hover::after {
    width: 100%; /* Expande para cobrir o texto */
    height: 100%; /* Expande para cobrir o texto */
    z-index: -1; /* Coloca o círculo atrás do texto */
    background-color: rgba(13, 110, 253, 0.1); /* Fundo azul claro semitransparente */
}
#solucoes {
    background-color: #f4f4f4;
}
.icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 1 calc(25% - 20px); /* 4 por linha no desktop */
    max-width: calc(25% - 20px);
    text-align: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background 0.3s;
    position: relative;
    height: 360px;
}

.icon:hover {
    transform: scale(1.05);
    background: #01AFEF; /* Fundo azul */
    color: #fff; /* Texto branco */
}

.icon img {
    width: 50%; /* Ajusta o tamanho da imagem */
    height: auto; /* Mantém a proporção da imagem */
    transition: opacity 0.3s, transform 0.3s;
    margin-bottom: 10px;
}

.icon p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.icon:hover img,
.icon:hover p {
    opacity: 0; /* Esconde a imagem e o título ao passar o mouse */
}

.icon:hover::after {
    content: attr(data-hover-text); /* Insere o texto do atributo data-hover-text */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #fff;
    text-align: center;
    max-width: 90%;
    word-wrap: break-word; /* Quebra palavras longas */
}

/* Responsividade: 1 card por linha em dispositivos móveis */
@media (max-width: 768px) {
    .icon {
        flex: 1 1 100%; /* Ocupa 100% da linha */
        max-width: 100%; /* Garante que o card ocupe toda a largura */
    }
}
.slide {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    filter: brightness(0.4); /* Escurece a imagem para melhorar o contraste */
}
.slide img.active {
    display: block;
}
.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
    text-align: center;
    font-family: 'Roboto Black', sans-serif; /* Aqui você adiciona a fonte */
}
/* Ajustes gerais */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.grid .icon {
    width: 100px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.grid .icon:hover {
    transform: scale(1.1);
}

#quem-somos {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

#quem-somos h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.quem-somos-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.quem-somos-grid .column {
    flex: 1;
    text-align: center;
}

.quem-somos-grid .column h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.quem-somos-grid .column h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.quem-somos-grid .column p {
    text-align: justify;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .quem-somos-grid {
        flex-direction: column;
        gap: 10px;
    }

    .quem-somos-grid .column {
        flex: 1 1 100%;
        max-width: 100%;
        text-align: center;
    }

    .quem-somos-grid .column p {
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

/* Estilos para desktop */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

footer {
    background-color: #222; /* Fundo escuro */
    color: #fff; /* Texto branco */
    padding: 40px 20px; /* Espaçamento interno */
    font-family: Arial, sans-serif; /* Fonte padrão */
}

footer .row {
    display: flex;
    flex-wrap: wrap; /* Permite que as colunas quebrem linha */
    gap: 20px; /* Espaçamento entre os itens */
}

footer .col-md-4, footer .col-md-3 {
    flex: 1 1 30%; /* Largura flexível para desktops */
    max-width: 30%; /* Limita o tamanho máximo */
    text-align: left;
    margin-bottom: 20px; /* Espaço inferior entre colunas */
}

.footer-title {
    font-size: 1.8rem; /* Tamanho do título */
    margin-bottom: 15px; /* Espaçamento inferior */
    position: relative; /* Necessário para o antes */
}

.footer-title::before {
    content: "";
    position: absolute;
    bottom: -5px; /* Ajusta a posição da barra azul */
    left: 0;
    width: 50px; /* Largura da barra */
    height: 4px; /* Altura da barra */
    background-color: #01AFEF; /* Cor azul */
}

footer p {
    font-size: 0.9rem; /* Tamanho da fonte */
    line-height: 1.6; /* Melhora a leitura */
    margin: 5px 0; /* Espaçamento entre parágrafos */
    text-align: justify; /* Justifica o texto */
}

footer a {
    color: #01AFEF; /* Cor dos links */
    text-decoration: none; /* Remove sublinhado */
}

footer a:hover {
    text-decoration: underline; /* Adiciona sublinhado ao passar o mouse */
}

footer i {
    margin-right: 10px; /* Espaçamento ao lado do ícone */
    font-size: 1rem; /* Tamanho do ícone */
    color: #01AFEF; /* Cor azul para ícones */
}

footer iframe {
    width: 100%; /* Responsivo: ocupa toda a largura */
    height: 200px; /* Altura fixa */
    border: 0; /* Remove borda */
    border-radius: 8px; /* Bordas arredondadas */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Sombra para destaque */
}

/* Responsividade */
@media (max-width: 768px) {
    footer .col-md-4, footer .col-md-3 {
        flex: 1 1 100%; /* Ocupa toda a linha em telas menores */
        max-width: 100%; /* Garante largura total */
        text-align: center; /* Centraliza o texto */
    }

    footer p {
        text-align: justify; /* Alinha os parágrafos para melhor leitura */
    }
}

.hamburger {
    display: none; /* Oculta no desktop */
    background: none;
    border: none;
    font-size: 2rem;
    color: #222;
    cursor: pointer;
}

.mobile-menu {
    display: none; /* Oculta o menu móvel por padrão */
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
    z-index: 1000;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: #222;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.mobile-menu a:hover {
    background: #f4f4f4;
}

/* Responsividade */
@media (max-width: 768px) {
    nav {
        display: none; /* Oculta o menu desktop em telas menores */
    }

    .hamburger {
        display: block; /* Exibe o botão em telas menores */
    }
}