/* ============================================================
   F11 — Provimento 213 CNJ
   Design System v2 — Dark Professional / Modern
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Base */
    --bg-body:        #090e18;
    --bg-card:        #111827;
    --bg-card-2:      #1a2235;
    --bg-hover:       #1e2d45;
    --bg-input:       #0d1420;
    --border-color:   #1f2d45;
    --border-subtle:  #1a2540;

    /* Accent */
    --accent:         #3b82f6;
    --accent-h:       #2563eb;
    --accent-glow:    rgba(59,130,246,0.18);
    --accent-subtle:  rgba(59,130,246,0.08);

    /* Text */
    --text-primary:   #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted:     #64748b;

    /* Status */
    --green:          #10b981;
    --green-bg:       rgba(16,185,129,0.12);
    --yellow:         #f59e0b;
    --yellow-bg:      rgba(245,158,11,0.12);
    --red:            #ef4444;
    --red-bg:         rgba(239,68,68,0.12);
    --gray:           #6b7280;
    --gray-bg:        rgba(107,114,128,0.12);

    /* Layout */
    --sidebar-w:      280px;
    --topbar-h:       60px;
    --radius:         12px;
    --radius-sm:      8px;
    --radius-xs:      5px;
    --shadow:         0 4px 24px rgba(0,0,0,0.4);
    --shadow-sm:      0 2px 8px rgba(0,0,0,0.3);
}

/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-body);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar {
    position: fixed;
    top: 0; left: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.25s ease;
}

/* Brand */
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 16px 16px;
    border-bottom: 1px solid var(--border-color);
    min-height: 70px;
    flex-shrink: 0;
}

.sidebar-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: var(--radius-xs);
}

.sidebar-brand-text { line-height: 1.25; }

.sidebar-brand-text .brand-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: block;
}

.sidebar-brand-text .brand-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    display: block;
}

/* Nav */
.sidebar-nav {
    flex: 1;
    padding: 10px 8px 8px;
    overflow-y: auto;
}

.nav-section-title {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.4px;
    padding: 10px 10px 4px;
    text-transform: uppercase;
    user-select: none;
}

/* Standard nav item */
.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.825rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 2px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
}

.nav-item i {
    font-size: 0.95rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    transition: color 0.15s;
}

.nav-item:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    text-decoration: none;
}

.nav-item.active {
    background: var(--accent-subtle);
    color: var(--accent);
    font-weight: 600;
    border-left: 2px solid var(--accent);
    padding-left: 8px;
}

.nav-item.active i { color: var(--accent); }
.nav-item.text-danger:hover { color: var(--red) !important; }

/* Etapa nav item — two-line layout */
.nav-item.nav-etapa {
    align-items: center;
    padding: 7px 10px;
    white-space: normal;
    overflow: visible;
}

.nav-etapa-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}

.nav-etapa-num {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.nav-etapa-title {
    font-size: 0.68rem;
    color: var(--text-muted);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 185px;
}

.nav-item.nav-etapa.active .nav-etapa-num { color: var(--accent); }
.nav-item.nav-etapa:hover .nav-etapa-num  { color: var(--text-primary); }

/* Sidebar footer */
.sidebar-footer {
    border-top: 1px solid var(--border-color);
    padding: 8px;
    flex-shrink: 0;
}

/* ── Main Content ────────────────────────────────────────────── */
.main-content {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.25s ease;
}

/* ── Topbar ──────────────────────────────────────────────────── */
.topbar {
    height: var(--topbar-h);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-toggle {
    color: var(--text-muted);
    padding: 4px 8px;
    border: none;
    background: none;
    transition: color 0.15s;
}

.topbar-toggle:hover { color: var(--text-primary); }

.topbar-title {
    flex: 1;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-empresa {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-area { flex: 1; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.card-footer {
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--border-color);
    padding: 10px 16px;
}

/* ── Login Page ──────────────────────────────────────────────── */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
    background: radial-gradient(ellipse at 30% 20%, rgba(59,130,246,0.08) 0%, var(--bg-body) 60%);
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px 40px;
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 2;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.login-logo-area { text-align: center; margin-bottom: 24px; }
.login-logo { max-width: 110px; height: auto; }

.login-header { text-align: center; margin-bottom: 32px; }
.login-title { font-size: 1.35rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.login-subtitle { color: var(--text-secondary); font-size: 0.85rem; }

.login-btn {
    background: var(--accent);
    border-color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}
.login-btn:hover {
    background: var(--accent-h);
    border-color: var(--accent-h);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59,130,246,0.35);
}

.login-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.login-bg-decoration { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    background: var(--accent);
}
.circle-1 { width: 400px; height: 400px; top: -150px; right: -100px; }
.circle-2 { width: 300px; height: 300px; bottom: -100px; left: -80px; }
.circle-3 { width: 200px; height: 200px; top: 40%; left: 10%; }

/* ── Form Controls ───────────────────────────────────────────── */
.form-control, .form-select {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus, .form-select:focus {
    background: var(--bg-input);
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:disabled { background: rgba(255,255,255,0.03); color: var(--text-muted); }
.form-label { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); }

/* ── Tables ──────────────────────────────────────────────────── */
.table-dark {
    --bs-table-bg: transparent;
    --bs-table-hover-bg: rgba(255,255,255,0.03);
    --bs-table-border-color: var(--border-color);
    font-size: 0.845rem;
}
.table thead th {
    background: rgba(255,255,255,0.03);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 1px solid var(--border-color);
    padding: 11px 16px;
}

/* ── Dashboard ───────────────────────────────────────────────── */
.welcome-banner {
    background: linear-gradient(135deg, #0f1d35 0%, #111827 60%, #0f1a2e 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.welcome-banner::after {
    content: '';
    position: absolute;
    bottom: -40px; left: 30%;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.welcome-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    position: relative;
}

.welcome-sub {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0;
    position: relative;
}

/* Progress card */
.progress-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.progress {
    background: rgba(255,255,255,0.06);
    border-radius: 99px;
}

.progress-bar {
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent), #60a5fa);
    transition: width 0.8s ease;
}

/* Mini stat cards */
.mini-stat-card {
    background: var(--bg-card-2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.mini-stat-card:hover { transform: translateY(-2px); }

.mini-stat-card.status-conforme {
    border-color: rgba(16,185,129,0.25);
    background: linear-gradient(135deg, rgba(16,185,129,0.06) 0%, var(--bg-card-2) 100%);
}
.mini-stat-card.status-parcial {
    border-color: rgba(245,158,11,0.25);
    background: linear-gradient(135deg, rgba(245,158,11,0.06) 0%, var(--bg-card-2) 100%);
}
.mini-stat-card.status-nao {
    border-color: rgba(239,68,68,0.25);
    background: linear-gradient(135deg, rgba(239,68,68,0.06) 0%, var(--bg-card-2) 100%);
}

.status-conforme .mini-stat-number { color: var(--green); }
.status-parcial  .mini-stat-number { color: var(--yellow); }
.status-nao      .mini-stat-number { color: var(--red); }

.mini-stat-number { font-size: 1.75rem; font-weight: 800; line-height: 1; }
.mini-stat-label  { font-size: 0.68rem; color: var(--text-muted); margin-top: 5px; letter-spacing: 0.5px; text-transform: uppercase; }

/* ── Etapa Cards ─────────────────────────────────────────────── */
.etapa-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.etapa-card:hover {
    border-color: rgba(59,130,246,0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(59,130,246,0.12);
}

.etapa-card.etapa-done {
    border-color: rgba(59,130,246,0.2);
}

.etapa-icon-wrapper {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(59,130,246,0.05) 100%);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    flex-shrink: 0;
}

.etapa-icon-lg {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
}

.etapa-number {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.status-badge { font-size: 0.71rem; }

/* ── Steps indicator ─────────────────────────────────────────── */
.etapa-steps { display: flex; align-items: center; }
.etapa-step { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 40px; }

.step-circle {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-body);
    border: 2px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700;
    color: var(--text-muted);
    transition: all 0.2s;
}
.etapa-step.current .step-circle {
    background: var(--accent); border-color: var(--accent); color: white;
    box-shadow: 0 0 14px rgba(59,130,246,0.45);
}
.etapa-step.done .step-circle {
    background: var(--green); border-color: var(--green); color: white;
}
.step-label { font-size: 0.65rem; color: var(--text-muted); text-align: center; max-width: 60px; line-height: 1.2; }
.step-connector { flex: 1; height: 2px; background: var(--border-color); margin-bottom: 18px; }
.step-connector.done { background: var(--green); }

/* ── Question Cards ──────────────────────────────────────────── */
.item-group {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}
.item-group-header {
    background: rgba(59,130,246,0.06);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 16px;
}
.item-group-label {
    font-size: 0.71rem; font-weight: 700;
    color: var(--accent); text-transform: uppercase; letter-spacing: 1px;
}
.question-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s;
}
.question-card:hover { border-color: rgba(59,130,246,0.3); }
.question-number { font-size: 0.72rem; letter-spacing: 0.5px; }
.question-text   { font-size: 0.88rem; line-height: 1.55; }

.dica-box {
    background: rgba(245,158,11,0.07);
    border: 1px solid rgba(245,158,11,0.18);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.81rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.dica-box-sm { font-size: 0.78rem; color: var(--text-muted); }

/* Answer options */
.answer-options { display: flex; flex-direction: column; gap: 6px; }

.answer-option {
    display: flex; align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s;
    background: rgba(255,255,255,0.02);
}
.answer-option:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
}
.answer-option input[type=radio] { display: none; }
.answer-label { font-size: 0.83rem; font-weight: 500; color: var(--text-secondary); cursor: pointer; }

.answer-option.selected-sim      { background: rgba(16,185,129,0.1);  border-color: rgba(16,185,129,0.45);  }
.answer-option.selected-parcial  { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.4);  }
.answer-option.selected-nao      { background: rgba(239,68,68,0.09);  border-color: rgba(239,68,68,0.4);   }
.answer-option.selected-na       { background: rgba(107,114,128,0.09);border-color: rgba(107,114,128,0.35);}

.answer-option.selected-sim      .answer-label { color: var(--green);  font-weight: 600; }
.answer-option.selected-parcial  .answer-label { color: var(--yellow); font-weight: 600; }
.answer-option.selected-nao      .answer-label { color: var(--red);    font-weight: 600; }
.answer-option.selected-na       .answer-label { color: var(--gray);   font-weight: 600; }

/* Legend */
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot  { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* Sticky bottom */
.sticky-bottom-bar {
    position: sticky; bottom: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 14px 0;
    z-index: 50;
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.progress-tracker { display: flex; align-items: center; }

/* ── Resultado Page ──────────────────────────────────────────── */
.gauge-wrapper { position: relative; display: inline-block; }
.gauge-arc { transition: stroke-dasharray 1s ease; }

.result-mini-stat {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 6px;
}
.result-mini-number { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.result-mini-label  { font-size: 0.67rem; color: var(--text-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px; }

.question-result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s;
}
.question-result-card[data-answer="sim"]          { border-left: 3px solid var(--green);  }
.question-result-card[data-answer="parcialmente"] { border-left: 3px solid var(--yellow); }
.question-result-card[data-answer="nao"]          { border-left: 3px solid var(--red);    }
.question-result-card[data-answer="na"]           { border-left: 3px solid var(--gray);   }

.result-answer-badge {
    display: inline-flex; align-items: center;
    padding: 5px 11px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 600;
}

.badge-sim     { background: var(--green-bg);  color: var(--green);  border: 1px solid rgba(16,185,129,0.25);  }
.badge-parcial { background: var(--yellow-bg); color: var(--yellow); border: 1px solid rgba(245,158,11,0.25); }
.badge-nao     { background: var(--red-bg);    color: var(--red);    border: 1px solid rgba(239,68,68,0.25);   }
.badge-na      { background: var(--gray-bg);   color: var(--gray);   border: 1px solid rgba(107,114,128,0.25); }

.recommendation-card {
    background: rgba(239,68,68,0.04);
    border: 1px solid rgba(239,68,68,0.18);
    border-radius: var(--radius-sm);
}

/* ── Admin ───────────────────────────────────────────────────── */
.user-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #1d4ed8);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; color: white;
    flex-shrink: 0;
}
.user-avatar-lg { width: 64px; height: 64px; font-size: 1.4rem; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
}
.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    font-weight: 600;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--accent-h);
    border-color: var(--accent-h);
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
    transform: translateY(-1px);
}
.btn-outline-primary {
    color: var(--accent);
    border-color: var(--accent);
}
.btn-outline-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
    font-weight: 600;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.72rem;
    letter-spacing: 0.2px;
}
.badge.bg-success { background: var(--green) !important; }
.badge.bg-warning { background: var(--yellow) !important; color: #000 !important; }
.badge.bg-danger  { background: var(--red) !important; }
.badge.bg-primary { background: var(--accent) !important; }

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    border: none;
    background: var(--bg-card-2);
}
.alert-success { background: rgba(16,185,129,0.1);  border-left: 3px solid var(--green);  color: #a7f3d0; }
.alert-danger  { background: rgba(239,68,68,0.1);   border-left: 3px solid var(--red);    color: #fca5a5; }
.alert-warning { background: rgba(245,158,11,0.1);  border-left: 3px solid var(--yellow); color: #fcd34d; }
.alert-info    { background: rgba(59,130,246,0.1);  border-left: 3px solid var(--accent); color: #93c5fd; }

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.show { transform: translateX(0); box-shadow: 4px 0 24px rgba(0,0,0,0.6); }
    .main-content { margin-left: 0; }
    .login-card { padding: 32px 24px; }
    .step-label { display: none !important; }
    .sticky-bottom-bar { margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
    .topbar-empresa { display: none; }
}

/* ── Utilities ───────────────────────────────────────────────── */
.border-secondary { border-color: var(--border-color) !important; }
.text-muted { color: var(--text-muted) !important; }
.bg-dark { background: var(--bg-body) !important; }
.fw-semibold { font-weight: 600; }
.letter-spacing { letter-spacing: 0.8px; }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes gaugeIn {
    from { stroke-dasharray: 0 314.16; }
}
.gauge-arc { animation: gaugeIn 1s ease forwards; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.etapa-card { animation: fadeInUp 0.3s ease both; }
.etapa-card:nth-child(2) { animation-delay: 0.06s; }
.etapa-card:nth-child(3) { animation-delay: 0.12s; }
.etapa-card:nth-child(4) { animation-delay: 0.18s; }
.etapa-card:nth-child(5) { animation-delay: 0.24s; }
