:root {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #d1fae5;
    --secondary: #f59e0b;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-bloco-1: #f0fdf4;
    --bg-simulacao-estimada: #f0fdf4;
    --radius-md: 12px;
    --orange: #d97706;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #f9fafb; color: var(--text-main); }
header { background: #fff; padding: 24px 16px; border-bottom: 1px solid #e5e7eb; text-align: center; }
header h1 { font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 800; margin-bottom: 4px; }
header p { font-size: 14px; color: var(--text-muted); }
.container { max-width: 700px; margin: 24px auto; padding: 0 16px 40px; }
.card { background: #fff; border-radius: 24px; border: 1px solid #e5e7eb; margin-bottom: 20px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); }
.collapsible-header { padding: 16px 20px; background: var(--primary); color: #fff; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: space-between; user-select: none; }
.collapsible-header.info { background: var(--secondary); }
.collapsible-header.warning { background: #3b82f6; }
.toggle-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.collapsible-content { display: none; padding: 20px; }
.collapsible-content.active { display: block; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text-main); }
.input-wrapper input, .input-wrapper select { width: 100%; padding: 16px 16px; border: 1.5px solid #e5e7eb; border-radius: var(--radius-md); font-size: 14px; font-family: 'Inter', sans-serif; transition: all 0.2s ease; min-height: 48px; }
.input-wrapper input:focus, .input-wrapper select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1); }
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.btn { width: 100%; padding: 14px; border: none; border-radius: var(--radius-md); font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s ease; margin-top: 16px; background: var(--primary); color: #fff; }
.btn:hover { background: var(--primary-dark); }
.resultado { display: none; padding: 20px; border-radius: var(--radius-md); margin: 20px 0; background: #f0fdf4; border: 1px solid #bbf7d0; }
.obs-box { margin-top: 10px; font-style: italic; font-size: 13px; color: var(--text-muted); line-height: 1.35; }
.hidden { display: none !important; }
.inter-row { background: #f9fafb; padding: 12px; border-radius: var(--radius-md); border: 1px solid #e5e7eb; margin-bottom: 12px; }
