/* ==========================================================================
   1. VARIÁVEIS E CONFIGURAÇÕES GERAIS
   ========================================================================== */
:root {
    --primary-color: #0a2540;   
    --accent-color: #00d4b2;    
    --text-color: #4f5b66;      
    --light-bg: #f8fafc;        
    --white: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    
    /* Cores sutis para os blocos de anúncio não poluírem a tela */
    --ad-bg: #f1f5f9;
    --ad-text: #94a3b8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

/* ==========================================================================
   2. HEADER & NAVEGAÇÃO
   ========================================================================== */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span { color: var(--accent-color); }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover { color: var(--primary-color); }

/* ==========================================================================
   3. ESPAÇOS ESTRUTURADOS PARA GOOGLE ADS (Não intrusivos)
   ========================================================================== */
/* Banner Superior (Abaixo do menu ou acima do rodapé) */
.ad-container-horizontal {
    max-width: 1200px;
    margin: 1.5rem auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Bloco placeholder visual para o anúncio */
.ad-slot-horizontal {
    background-color: var(--ad-bg);
    width: 100%;
    max-width: 728px; /* Padrão Leaderboard do Google */
    min-height: 90px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--ad-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px dashed #cbd5e1;
}

/* Anúncio Camuflado no Grid de Vagas */
.ad-inline-card {
    background-color: #fafafa;
    border: 1px dashed #cbd5e1;
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 340px; /* Alinhado com a altura dos cards de vagas */
    position: relative;
}

.ad-inline-card::before {
    content: "ADVERTISEMENT";
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.65rem;
    font-weight: bold;
    color: var(--ad-text);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   4. HERO SECTION (Busca)
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.search-input {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: calc(var(--border-radius) - 2px);
    font-size: 1rem;
    width: 100%;
    outline: none;
}

.btn-search {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: calc(var(--border-radius) - 2px);
    cursor: pointer;
    transition: var(--transition);
}

.btn-search:hover { opacity: 0.9; transform: translateY(-1px); }

/* ==========================================================================
   5. LISTAGEM DE VAGAS E GRID
   ========================================================================== */
.jobs-section {
    max-width: 1200px;
    margin: 2rem auto 4rem auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.job-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
}

.job-badge {
    background-color: #e0f2fe;
    color: #0369a1;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.job-company {
    font-weight: 500;
    color: #64748b;
    margin-bottom: 1rem;
}

.job-details {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-apply {
    display: block;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-apply:hover { background-color: #1e3a8a; }

/* ==========================================================================
   6. RESPONSIVIDADE (Media Queries)
   ========================================================================== */
@media (min-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .search-form { flex-direction: row; }
    .search-input { flex: 2; }
}

@media (max-width: 600px) {
    .navbar { flex-direction: column; gap: 1rem; }
    .nav-menu { gap: 1.2rem; }
    
    /* No celular, reduz banners gigantes para não empurrar o conteúdo real */
    .ad-slot-horizontal {
        min-height: 50px; 
        font-size: 0.7rem;
    }
}

footer{
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;;
    pad
}
