/* --- CONFIGURAÇÕES GLOBAIS E VARIÁVEIS --- */
:root {
    --primary: #2d5a27; /* Verde Agrinho */
    --accent: #f39c12;  /* Amarelo Campo */
    --bg: #f4f7f1;
    --text: #333;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --gap: 20px;
    --font-base: 16px;
}

/* --- MODO ALTO CONTRASTE --- */
body.high-contrast {
    --bg: #000;
    --text: #fff;
    --primary: #ffff00;
    --accent: #00ffff;
    --white: #000;
}

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

html { font-size: var(--font-base); }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* --- LAYOUT GRID (Edite aqui o número de colunas) --- */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap);
}

/* --- COMPONENTES --- */
.card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--primary);
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: var(--radius);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    text-align: left;
    cursor: pointer;
    font-weight: bold;
}

.accordion-content {
    display: none;
    padding: 15px;
    background: var(--white);
}

.accordion-content.active { display: block; }

/* --- ANIMAÇÕES (Scroll Reveal) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
