/* =========================================
   1. VARIÁVEIS E RESET
   ========================================= */
:root {
    /* Cores Institucionais */
    --primary-color: #003366;     /* Azul Navy */
    --primary-light: #0056b3;     /* Azul Link */
    --primary-dark: #002244;      /* Azul Escuro */
    
    /* Cores de Ação */
    --cta-color: #28a745;         /* Verde Conversão */
    --cta-hover: #218838;
    
    /* Neutros */
    --text-main: #333333;
    --text-light: #555555;
    --bg-white: #ffffff;
    --bg-gray: #f4f6f8;           /* Fundo cinza suave */
    --border-color: #e0e0e0;

    /* Layout */
    --max-width: 1200px;
    --header-height: 75px;
    --font-stack: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-stack);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. HEADER & MENU
   ========================================= */
.top-bar {
    background: #e3f2fd;
    color: var(--primary-color);
    text-align: center;
    padding: 8px;
    font-size: 0.85rem;
    border-bottom: 1px solid #bbdefb;
}

header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 20px 0 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* Menu Desktop */
#menu ul { display: flex; align-items: center; gap: 20px; }

#menu ul li a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

#menu ul li a:hover, #menu ul li a.active { color: var(--primary-color); }

.cta-menu {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600 !important;
}
.cta-menu:hover { background-color: var(--primary-light); transform: translateY(-2px); }

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #001a33 100%);
    color: white;
    text-align: center;
    padding: 80px 0 100px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 35px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block;
    background-color: var(--cta-color);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    border: none; cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.btn:hover { background-color: var(--cta-hover); transform: translateY(-3px); }

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 13px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

.hero-small { font-size: 0.85rem; margin-top: 20px; opacity: 0.7; }

/* =========================================
   4. NOVA SEÇÃO: COMO FUNCIONA (STEPS)
   ========================================= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-light);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

.step-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   5. CONTEÚDO GERAL E GRIDS
   ========================================= */
.conteudo { padding: 80px 0; }
.bg-light { background-color: var(--bg-gray); }

.section-header { text-align: center; margin-bottom: 50px; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-header h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}
.section-header p { font-size: 1.1rem; color: var(--text-light); line-height: 1.6; }

/* Grid de Profissões */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.skill-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--primary-light);
}

.card-icon { font-size: 2.5rem; margin-bottom: 15px; }
.skill-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--text-main); }
.skill-card ul li {
    padding: 6px 0;
    color: var(--text-light);
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.btn-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.btn-link:hover { text-decoration: underline; color: var(--cta-color); }

/* Feature Grid (2026 Skills) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.feature-box h4 { color: var(--primary-color); margin-bottom: 10px; font-size: 1.2rem; }
.feature-box p { font-size: 0.95rem; color: #555; }

/* FAQ Section */
.faq-item {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 5px solid var(--cta-color);
}
.faq-item h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.faq-item p { color: var(--text-light); }

/* Footer */
.main-footer {
    background: #111;
    color: #bbb;
    padding: 70px 0 20px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: white; text-decoration: underline; }

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* CTA Block */
.cta { background: #1a1a1a; color: white; text-align: center; padding: 100px 0; }
.cta h2 { color: white; margin-bottom: 20px; }
.cta p { color: #ccc; max-width: 600px; margin: 0 auto 30px; }
.small-text { font-size: 0.8rem; margin-top: 15px; opacity: 0.7; }
.btn-large { padding: 18px 45px; font-size: 1.1rem; }

/* =========================================
   6. RESPONSIVIDADE & MENU MOBILE
   ========================================= */
.menu-btn { display: none; cursor: pointer; }

@media (max-width: 768px) {
    :root { --header-height: 65px; }
    
    /* Configuração do Botão Hambúrguer */
    .menu-btn {
        display: block;
        position: relative;
        z-index: 1005;
    }
    
    .menu-btn .bar {
        width: 30px;
        height: 3px;
        background-color: var(--primary-color);
        margin: 6px 0;
        transition: 0.3s;
        display: block;
    }
    
    .menu-btn.open .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-btn.open .bar:nth-child(2) { opacity: 0; }
    .menu-btn.open .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* MENU MOBILE TELA CHEIA */
    #menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        transition: all 0.4s ease-in-out;
        z-index: 1000;
        padding-top: 60px;
        box-shadow: none;
    }

    #menu.active { left: 0; }
    #menu ul { flex-direction: column; width: 100%; padding: 0; gap: 25px; }
    #menu ul li { width: 100%; text-align: center; }
    #menu ul li a { font-size: 1.4rem; display: block; padding: 10px; }
    
    /* Ajustes Gerais Mobile */
    .hero h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn, .btn-outline { width: 100%; margin-bottom: 10px; }
    .skills-grid { grid-template-columns: 1fr; }
    
    /* Ajuste Steps (Como Funciona) */
    .step-card { padding: 30px 20px; }
}