:root {
    --cor-grafite: #3A3A3A;
    --cor-bege: #F3EFE6;
    --cor-caramelo: #C8943B;
    --cor-cinza: #D9D9D9;
    --cor-branco: #FFFFFF;
    --cor-erro: #e74c3c;
    --cor-sucesso: #27ae60;
    
    --fonte-principal: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --sombra-leve: 0 2px 8px rgba(0, 0, 0, 0.1);
    --sombra-media: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transicao: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--fonte-principal);
    background: linear-gradient(135deg, var(--cor-bege) 0%, var(--cor-cinza) 100%);
    min-height: 100vh;
    color: var(--cor-grafite);
    line-height: 1.6;
}

/* Container centralizado */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Botões */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transicao);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--cor-caramelo);
    color: var(--cor-branco);
}

.btn-primary:hover {
    background: #b8842b;
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
}

.btn-secondary {
    background: var(--cor-grafite);
    color: var(--cor-branco);
}

.btn-secondary:hover {
    background: #2a2a2a;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--cor-caramelo);
    color: var(--cor-caramelo);
}

.btn-outline:hover {
    background: var(--cor-caramelo);
    color: var(--cor-branco);
}

/* Inputs */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--cor-grafite);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cor-cinza);
    border-radius: 6px;
    font-size: 16px;
    transition: var(--transicao);
    background: var(--cor-branco);
}

.form-input:focus {
    outline: none;
    border-color: var(--cor-caramelo);
    box-shadow: 0 0 0 3px rgba(200, 148, 59, 0.1);
}

/* Cards */
.card {
    background: var(--cor-branco);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--sombra-media);
}

/* Alertas */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-error {
    background: #fee;
    color: var(--cor-erro);
    border: 1px solid var(--cor-erro);
}

.alert-success {
    background: #efe;
    color: var(--cor-sucesso);
    border: 1px solid var(--cor-sucesso);
}

.alert-info {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #1976d2;
}

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--cor-branco);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utilitários */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.hidden {
    display: none !important;
}

/* Responsivo */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .card {
        padding: 20px;
    }
}
