/* ======================================================================== */
/* --- CÓDIGO CSS COMPLETO E CORRIGIDO (COM EFEITO KEN BURNS) --- */
/* ======================================================================== */

/* --- 1. Configurações Globais e Variáveis --- */
:root {
    --primary-color: #0d6efd;
    --dark-text: #212529;
    --body-text: #495057;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --header-dark-bg: #2c3e50;
    --header-height: 65px;
}

/* --- 2. Layout Global --- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--body-text);
    line-height: 1.6;
}

/* --- 3. Cabeçalho --- */
.main-header {
    background-color: var(--header-dark-bg);
    height: var(--header-height);
    z-index: 1001;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--header-dark-bg);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left { display: flex; align-items: center; gap: 40px; }
.logo-image { height: 45px; width: auto; vertical-align: middle; }

/* --- 4. Navegação e Dropdowns --- */
.main-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 15px; }
.dropdown { position: relative; }
.dropdown > .dropdown-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; color: var(--white); text-decoration: none; background-color: transparent; border: none; border-radius: 8px; font-size: 1rem; font-weight: 500; transition: all 0.3s ease; }
.dropdown > .dropdown-btn:hover { background-color: rgba(255, 255, 255, 0.1); }
.dropdown-content { visibility: hidden; opacity: 0; transform: translateY(-10px); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); position: absolute; top: 100%; left: 0; background-color: var(--white); min-width: 240px; border-radius: 8px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); border: 1px solid var(--border-color); list-style: none; padding: 8px 0; margin-top: 10px; z-index: 1000; }
.dropdown:hover > .dropdown-content { visibility: visible; opacity: 1; transform: translateY(0); }
.dropdown-content a { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; color: var(--dark-text); text-decoration: none; transition: all 0.2s ease-in-out; font-size: 0.95rem; font-weight: 500; }
.dropdown-content a:hover { background-color: #eef5ff; color: var(--primary-color); transform: translateX(5px); }
.dropdown-submenu { position: relative; }
.submenu-content { visibility: hidden; opacity: 0; transform: translateX(-10px); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); position: absolute; top: -9px; left: 100%; background-color: var(--white); min-width: 200px; border-radius: 8px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); border: 1px solid var(--border-color); list-style: none; padding: 8px 0; margin-left: 10px; }
.dropdown-submenu:hover > .submenu-content { visibility: visible; opacity: 1; transform: translateX(0); }

/* --- 4.5 Ações do Cabeçalho (Ícones) --- */
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { background: none; border: none; color: var(--white); font-size: 1.2rem; cursor: pointer; padding: 8px; border-radius: 50%; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; transition: background-color 0.3s; }
.icon-btn:hover { background-color: rgba(255, 255, 255, 0.1); }

/* --- 5. Conteúdo Principal --- */
.main-content {
    padding-top: var(--header-height);
}

/* --- 5.1 SEÇÃO DE HERÓI COM CARROSSEL --- */
.hero-section {
    height: calc(100vh - var(--header-height));
    color: var(--white);
    position: relative;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Essencial para o efeito Ken Burns */
}

/* Sobreposição escura para legibilidade */
.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-cta-btn:hover {
    background-color: #0b5ed7;
    transform: scale(1.05);
}

/* --- 5.1.1 ESTILOS PARA OS CONTROLES DO CARROSSEL --- */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: 700;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 0.8;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* --- 5.2 SEÇÃO DE EMPRESAS --- */
.company-cards-container {
    padding: 80px 20px;
    background-color: var(--light-gray);
    text-align: center;
}

.company-cards-container h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 60px;
}

.cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.company-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.logo-container {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding: 15px;
    box-sizing: border-box;
}

.company-card .company-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-card h3 {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin: 0 0 10px 0;
}

/* --- 6. Rodapé --- */
.main-footer {
    text-align: center;
    padding: 30px;
    background-color: var(--light-gray);
    border-top: 1px solid var(--border-color);
    color: var(--body-text);
}

/* --- 7. Responsividade --- */
@media (max-width: 992px) {
    .hero-text h1 { font-size: 2.8rem; }
    .hero-text p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .main-header { position: static; height: auto; }
    .main-content { padding-top: 0; }
    .header-content { flex-direction: column; gap: 15px; padding: 15px 20px; }
    .main-nav { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .hero-section { height: auto; padding: 80px 0; }
    .hero-text h1 { font-size: 2.2rem; }
}

/* ======================================================================== */
/* --- 8. EFEITO KEN BURNS (MOVIMENTO SUTIL NO SLIDE ATIVO) --- */
/* ======================================================================== */

/* Define a animação de zoom */
@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Div interno para a imagem de fundo */
.swiper-slide-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Aplica a animação APENAS ao background do slide que está ativo */
.swiper-slide-active .swiper-slide-bg {
    animation: kenburns 6s ease-out forwards;
}
/* ADICIONAR AO STYLE PRINCIPAL PARA LOGIN */
/* Estilo para o botão de login no cabeçalho */
.login-btn {
    display: inline-flex; /* Permite alinhar o ícone perfeitamente no centro */
    justify-content: center;
    align-items: center;
    padding: 10px 20px; /* Espaçamento interno (vertical e horizontal) */
    
    background-color: #007bff; /* Cor de fundo principal (azul, por exemplo) */
    color: white; /* Cor do ícone */
    
    text-decoration: none; /* Remove o sublinhado padrão do link */
    font-size: 16px; /* Tamanho do ícone */
    font-weight: 600; /* Deixa o texto (se houver) mais encorpado */
    
    border: none; /* Remove qualquer borda */
    border-radius: 8px; /* Bordas arredondadas */
    
    cursor: pointer; /* Mostra a "mãozinha" ao passar o mouse */
    
    transition: background-color 0.3s ease, transform 0.2s ease; /* Animação suave */
}

/* Efeito ao passar o mouse por cima */
.login-btn:hover {
    background-color: #0056b3; /* Um tom mais escuro da cor principal */
    transform: translateY(-2px); /* Levanta o botão levemente */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adiciona uma sombra sutil */
}

/* Efeito ao clicar no botão */
.login-btn:active {
    transform: translateY(0); /* Retorna à posição original */
    box-shadow: none; /* Remove a sombra */
}
