/* ===== RESET E VARIÁVEIS GLOBAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --verde-primario: #0F6B3A;
    --verde-secundario: #3FA66A;
    --verde-escuro: #0a4a2a;
    --branco: #FFFFFF;
    --preto: #1E1E1E;
    --cinza-claro: #F5F5F5;
    --cinza: #666666;
    --cinza-escuro: #333333;
    --borda: #EEEEEE;
    
    --sombra: 0 4px 12px rgba(0, 0, 0, 0.08);
    --sombra-forte: 0 8px 24px rgba(0, 0, 0, 0.12);
    --borda-raio: 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cinza-claro);
    color: var(--preto);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== CLASSES ÚTEIS ===== */
.text-center { text-align: center; }
.highlight { color: var(--verde-primario); font-weight: 700; }

/* ===== BOTÕES ===== */
.btn {
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--verde-primario), var(--verde-secundario));
    color: var(--branco);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--sombra-forte);
}

.btn-secondary {
    background: transparent;
    color: var(--verde-primario);
    border: 2px solid var(--verde-primario);
}

.btn-secondary:hover {
    background: rgba(15, 107, 58, 0.05);
    transform: translateY(-3px);
}

/* ===== ALERTAS ===== */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ===== LOADING ===== */
.loading {
    text-align: center;
    padding: 60px;
    font-size: 1.2rem;
    color: var(--cinza);
}

.loading i {
    font-size: 2rem;
    color: var(--verde-primario);
    margin-bottom: 15px;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0F6B3A, #3FA66A);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0F6B3A;
}

/* ===== RESPONSIVO GLOBAL ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

html {
    scroll-behavior: smooth;
}

/* ===== LOGO PERSONALIZADO ===== */
.logo-icon {
    width: 160px;
    height: 50px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-icon-white-bg {
    background: white;
    padding: 5px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .logo-icon { width: 40px; height: 40px; }
}
@media (max-width: 480px) {
    .logo-icon { width: 35px; height: 35px; }
    .logo-main { font-size: 1rem; }
}