/* Configurações Gerais */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    background: url('../assets/trabalhista.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
    height: 50vh;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Ajuste a opacidade (0 = transparente, 1 = preto total) */
}

.hero .container {
    position: relative; /* Para garantir que o texto fique sobre a sobreposição */
    z-index: 1;
}
.title {
    font-size: 2rem;
    color: var(--main-color);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 4rem;
}

.title span {
    color: #c08810;
    text-transform: uppercase;
}
.container p{
    font-size: 1rem;
    font-weight: bold;
}
.logo{
    width: 50px;
    height: 50px;
}
.container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

h1, h2 {
    margin-bottom: 20px;
}

/* Botão com Ícone */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #28a745;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn i {
    margin-right: 10px;
    font-size: 24px;
}

.btn:hover {
    background-color: #218838;
    transform: scale(1.05);
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas */
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 20px;
}

.card i {
    display: block; /* Faz o ícone ficar acima do texto */
    font-size: 40px; /* Ajuste o tamanho do ícone */
    margin-bottom: 10px; /* Espaço entre o ícone e o texto */
    color: #28a745; /* Cor do ícone */
}
.card :hover{
    transform: scale(1.05);
}
.risks{
    padding: 50px;
}
.risks .container {
    text-align: left; /* Alinha todo o texto à esquerda */
}

.risks .btn {
    display: block;  /* Faz o botão ocupar toda a largura disponível */
    text-align: center; /* Mantém o texto do botão centralizado */
    margin: 20px auto; /* Centraliza o botão horizontalmente */
    width: fit-content; /* Faz o botão ter apenas a largura do conteúdo */
}
.risks h2{
    font-size: 2rem;
}
.risks p {
    font-size: 1rem;
    font-weight:100
}
.about{
    background-color: #190807;
}
.about .container {
    display: flex; /* Ativa o flexbox */
    align-items: center; /* Alinha os itens verticalmente */
    gap: 20px; /* Adiciona um espaço entre o texto e a imagem */
}

.about img {
    max-width: 40%; /* Define um tamanho máximo para a imagem */
    height: auto; /* Mantém a proporção da imagem */
}

.about .text {
    flex: 1; /* Faz o texto ocupar o espaço restante */
    text-align: left; /* Garante que o texto fique alinhado à esquerda */
    color: #fff;
}

.about .btn {
    display: block;  /* Faz o botão ocupar toda a largura disponível */
    text-align: center; /* Mantém o texto do botão centralizado */
    margin: 20px auto; /* Centraliza o botão horizontalmente */
    width: fit-content; /* Ajusta o botão ao tamanho do conteúdo */
}


footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
}



#whatsapp .wtsapp:focus {
    border: 0;
    outline: 0;
  }
  
  #whatsapp .wtsapp {
    position: fixed;
    transition: all .5s ease;
    background: #25d366;
    display: block;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    border-right: 0;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    bottom: 100px;
    right: 40px; /* Alterado de left para right */
    border: 0;
    z-index: 999;
    width: 50px;
    height: 50px;
    line-height: 48px;
  }
  
  #whatsapp .wtsapp:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    -webkit-animation: pulse-border 1500ms ease-out infinite;
    animation: pulse-border 1500ms ease-out infinite;
  }
  
  @keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
  }
  
  /* Classe para esconder o botão */
  #whatsapp .wtsapp.hidden {
    display: none;
  }
  
.fade-in {
    opacity: 0; /* Inicialmente invisível */
    transform: translateY(30px); /* Move para baixo */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1; /* Torna visível */
    transform: translateY(0); /* Volta à posição original */
}

@media (max-width: 768px) {
    @media (max-width: 768px) {
        .hero {
            height: 75vh;
        }
    
        .title {
            font-size: 20px;
        }
    
        .btn {
            display: flex;
            justify-content: center;
            justify-items: center;
            width: 90%;
            max-width: 250px;
            margin: 20px auto;
            text-align: center;
        }
    }

    .cards{
        display: flex;
        flex-direction: column;
    }

    .card {display: flex;
        justify-content: center;
        align-items: center;
        width: 350px;
        height: 250px;
        
    }
    .about {
        display: flex;
        justify-content: center; /* Centraliza horizontalmente */
        align-items: center; /* Centraliza verticalmente (se necessário) */
        text-align: center; /* Centraliza o texto */
        padding: 50px 0; /* Adiciona um espaçamento ao redor */
    }
    
    .container {
        display: flex;
        flex-direction: column; /* Coloca os elementos em coluna */
        align-items: center; /* Centraliza os itens no eixo horizontal */
        max-width: 800px; /* Define uma largura máxima */
        width: 100%;
    }
    
    .text {
        max-width: 600px; /* Define um limite para o texto */
    }
    
    img {
        width: 100%;
        max-width: 300px; /* Ajuste conforme necessário */
        border-radius: 10px; /* Bordas arredondadas para estética */
    }
    
}