/* PROJETO: Foco Na Farda
   ESTILO: Profissional / Militar / Alta Conversão
   DESENVOLVEDOR: Jackson (ADS Uniasselvi)
*/

/* 1. VARIÁVEIS E RESET */
:root {
    --dourado: #D4AF37;
    --dourado-hover: #f1c40f;
    --verde-militar: #2d3428;
    --preto-fundo: #0a0a0a;
    --preto-card: #151515;
    --branco: #ffffff;
    --cinza-texto: #cccccc;
    --fonte-principal: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--preto-fundo);
    color: var(--branco);
    font-family: var(--fonte-principal);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 2. COMPONENTES GERAIS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

.section-title {
    color: var(--dourado);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 40px;
    border-left: 5px solid var(--dourado);
    padding-left: 15px;
    text-transform: uppercase;
}

/* 3. CABEÇALHO (HEADER) */
header {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 2px solid var(--dourado);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    transition: transform 0.3s;
}

.logo img:hover { transform: scale(1.05); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--branco);
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover { color: var(--dourado); }

.btn-vip {
    background: var(--dourado);
    color: #000 !important;
    padding: 8px 20px;
    border-radius: 4px;
}

/* 4. HERO SECTION (BANNER) */
.hero {
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.75)), 
                url('../img/hero-banner.jpg') no-repeat center center/cover;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.tagline {
    color: var(--dourado);
    display: block;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: bold;
}

.btn-gold {
    background: var(--dourado);
    color: #000;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 900;
    border-radius: 5px;
    display: inline-block;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    background: var(--dourado-hover);
    transform: translateY(-3px);
}

/* 5. SEÇÃO DE CURSOS */
.section-margin { padding: 80px 0; }

.grid-cursos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-curso {
    background: var(--verde-militar);
    border: 1px solid #3d4636;
    padding: 45px 30px;
    border-radius: 4px;
    position: relative;
    text-align: center;
    transition: 0.3s;
}

.card-curso:hover {
    border-color: var(--dourado);
    transform: translateY(-10px);
}

.card-badge {
    position: absolute;
    top: 0;
    right: 20px;
    background: var(--dourado);
    color: #000;
    font-size: 11px;
    font-weight: 900;
    padding: 6px 15px;
    border-radius: 0 0 4px 4px;
}

.btn-yellow {
    display: block;
    background: var(--dourado);
    color: #000;
    text-decoration: none;
    font-weight: 900;
    padding: 14px;
    border-radius: 3px;
    transition: 0.3s;
}

/* 6. ARTIGOS E BLOG */
.grid-artigos-central {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.card-artigo {
    background: var(--preto-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #222;
    transition: 0.3s;
}

.card-artigo:hover {
    border-color: var(--dourado);
    transform: translateY(-5px);
}

.artigo-thumb {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid var(--dourado);
}

.artigo-body { padding: 20px; }

.artigo-body .tag {
    color: var(--dourado);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.btn-ler {
    color: var(--branco);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 2px solid var(--dourado);
    padding-bottom: 5px;
    transition: 0.3s;
}

.btn-ler:hover { color: var(--dourado); }

/* 7. NAVEGAÇÃO INTERNA */
.btn-voltar {
    display: inline-block;
    color: var(--dourado);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid var(--dourado);
    padding: 8px 15px;
    border-radius: 4px;
    transition: 0.3s;
    text-transform: uppercase;
    margin-bottom: 20px; /* Adicionado para não colar no conteúdo */
}

.btn-voltar:hover {
    background: var(--dourado);
    color: #000;
    transform: translateX(-5px);
}

/* 8. RODAPÉ */
footer {
    background: #000;
    border-top: 1px solid #222;
    padding: 60px 0 30px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-grid h4 { color: var(--dourado); margin-bottom: 20px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { color: #666; text-decoration: none; transition: 0.3s; }
.footer-grid ul li a:hover { color: var(--dourado); }

/* --- RESPONSIVIDADE (MOBILE-FIRST) --- */

@media (max-width: 768px) {
    /* Menu Mobile */
    .nav-flex {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }

    .nav-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li a {
        font-size: 12px;
    }

    /* Ajuste Hero */
    .hero h1 {
        font-size: 2.5rem;
    }

    /* Grids em coluna única no celular */
    .grid-cursos, 
    .grid-artigos-central, 
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .section-margin {
        margin: 40px 0;
    }

    /* Botão VIP Mobile */
    .btn-vip {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* --- AVISO DE COOKIES STYLE --- */
.cookie-banner {
    position: fixed;
    bottom: -100px; /* Começa escondido */
    left: 0;
    width: 100%;
    background: #151515;
    border-top: 2px solid var(--dourado);
    padding: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.5s ease;
}

.cookie-banner.active {
    bottom: 0;
}

.cookie-banner p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 15px;
}

.cookie-btn {
    background: var(--dourado);
    color: #000;
    border: none;
    padding: 10px 30px;
    font-weight: 900;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
}
