/*
    Rifa VCA - Estilos Globais e Reset
    ------------------------------------
    Define estilos base, variáveis de cor e reset para garantir consistência.
*/

:root {
    --verde: #28a745;
    --verde-hover: #218838;
    --azul: #007bff;
    --preto: #000000;
    --fundo: #f8f9fa;
    --cinza-texto: #343a40;
    --cinza-borda: #dee2e6;
    --branco: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--fundo);
    color: var(--cinza-texto);
    line-height: 1.6;
}

main {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
}

h1, h2, h3, h4 {
    color: var(--preto);
    line-height: 1.2;
}

a {
    color: var(--azul);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* === COMPONENTES GLOBAIS === */

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--verde-hover);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
    text-decoration: none;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    background-color: #333;
    color: white;
}

footer a {
    color: var(--verde);
}
