/* =====================================================
   Organic Sheets 2.0 — Tema Público (dark/verde)
   ===================================================== */
:root {
    --os-green: #22c55e;
    --os-green-dark: #16a34a;
    --os-green-soft: rgba(34, 197, 94, .12);
    --os-bg: #0b1220;
    --os-bg-2: #0f172a;
    --os-surface: #101a2c;
    --os-surface-2: #18233b;
    --os-border: #1e2a44;
    --os-text: #e5e7eb;
    --os-muted: #94a3b8;
    --os-radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--os-bg);
    color: var(--os-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--os-green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--os-green-dark); }
img { max-width: 100%; display: block; }

/* ---- Container ---- */
.os-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---- Header / Nav ---- */
.os-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 18, 32, .85);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--os-border);
}
.os-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.os-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; color: var(--os-text); }
.os-brand img { width: 36px; height: 36px; }
.os-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.os-nav-links a { color: var(--os-text); font-weight: 500; font-size: 15px; }
.os-nav-links a:hover { color: var(--os-green); }
.os-nav-links a.active { color: var(--os-green); }

/* ---- Botões ---- */
.os-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px;
    font-weight: 600; font-size: 14px; cursor: pointer;
    border: 1px solid transparent; transition: all .2s;
    text-decoration: none;
}
.os-btn-primary { background: var(--os-green); color: #082014; }
.os-btn-primary:hover { background: var(--os-green-dark); color: #082014; }
.os-btn-outline { background: transparent; color: var(--os-text); border-color: var(--os-border); }
.os-btn-outline:hover { border-color: var(--os-green); color: var(--os-green); }
.os-btn-ghost { background: var(--os-surface); color: var(--os-text); }
.os-btn-ghost:hover { background: var(--os-surface-2); }

/* ---- Hero ---- */
.os-hero { padding: 96px 0 80px; text-align: center; }
.os-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.os-hero h1 .os-hl { color: var(--os-green); }
.os-hero p { color: var(--os-muted); font-size: 18px; max-width: 640px; margin: 24px auto 36px; }
.os-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Cards ---- */
.os-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.os-card {
    background: var(--os-surface);
    border: 1px solid var(--os-border);
    border-radius: var(--os-radius);
    padding: 28px;
    transition: transform .2s, border-color .2s;
}
.os-card:hover { transform: translateY(-3px); border-color: var(--os-green); }
.os-card-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--os-green-soft);
    color: var(--os-green);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px; margin-bottom: 16px;
}
.os-card h3 { font-size: 18px; margin-bottom: 8px; }
.os-card p { color: var(--os-muted); font-size: 14px; }

/* ---- Sections ---- */
.os-section { padding: 80px 0; }
.os-section h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; text-align: center; margin-bottom: 16px; }
.os-section .os-lead { color: var(--os-muted); text-align: center; max-width: 680px; margin: 0 auto 48px; }

/* ---- Steps (timeline) ---- */
.os-steps { max-width: 760px; margin: 0 auto; }
.os-step { display: flex; gap: 20px; padding: 18px 0; border-left: 2px solid var(--os-border); padding-left: 28px; position: relative; }
.os-step::before {
    content: ''; position: absolute; left: -10px; top: 24px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--os-green-soft); border: 2px solid var(--os-green);
}
.os-step-num { color: var(--os-green); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.os-step h4 { font-size: 17px; margin: 4px 0 6px; }
.os-step p { color: var(--os-muted); font-size: 14px; }

/* ---- Footer ---- */
.os-footer { border-top: 1px solid var(--os-border); padding: 32px 0; color: var(--os-muted); font-size: 14px; }
.os-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---- Forms (login/register) ---- */
.os-auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; }
.os-auth-card {
    width: 100%; max-width: 420px;
    background: var(--os-surface); border: 1px solid var(--os-border);
    border-radius: var(--os-radius); padding: 36px;
}
.os-auth-card h1 { font-size: 24px; margin-bottom: 6px; text-align: center; }
.os-auth-card .os-sub { color: var(--os-muted); text-align: center; margin-bottom: 24px; font-size: 14px; }
.os-form-group { margin-bottom: 16px; }
.os-form-group label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--os-muted); font-weight: 500; }
.os-input {
    width: 100%; padding: 12px 14px;
    background: var(--os-bg-2); border: 1px solid var(--os-border);
    border-radius: 10px; color: var(--os-text); font-size: 15px; outline: none; transition: border-color .2s;
}
.os-input:focus { border-color: var(--os-green); }
.os-form-actions { margin-top: 12px; }
.os-btn-block { width: 100%; justify-content: center; padding: 14px; }
.os-auth-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--os-muted); }

/* ---- Alerts ---- */
.os-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.os-alert-error   { background: rgba(239,68,68,.12);  color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }
.os-alert-success { background: rgba(34,197,94,.12);  color: #86efac; border: 1px solid rgba(34,197,94,.35); }
.os-alert-info    { background: rgba(59,130,246,.12); color: #93c5fd; border: 1px solid rgba(59,130,246,.3); }

/* ---- Mobile ---- */
@media (max-width: 720px) {
    .os-nav-links { display: none; }
    .os-mobile-toggle { display: inline-flex; }
}
.os-mobile-toggle { display: none; background: transparent; border: 0; color: var(--os-text); font-size: 22px; cursor: pointer; }
