/* Prontuário R13 — landing page styles */

:root {
    --c-bg: #f7f8fb;
    --c-bg-alt: #ffffff;
    --c-text: #0f172a;
    --c-text-muted: #475569;
    --c-primary: #2563eb;
    --c-primary-dark: #1d4ed8;
    --c-border: #e2e8f0;
    --c-card: #ffffff;
    --c-accent: #0ea5e9;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
    --radius: 12px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --c-bg: #0b1220;
        --c-bg-alt: #0f172a;
        --c-text: #e2e8f0;
        --c-text-muted: #94a3b8;
        --c-border: #1e293b;
        --c-card: #111827;
        --c-primary: #3b82f6;
        --c-primary-dark: #2563eb;
    }
}

* { box-sizing: border-box; }

.landing-body {
    margin: 0;
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.landing-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.landing-header {
    background: var(--c-bg-alt);
    border-bottom: 1px solid var(--c-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.landing-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--c-text);
    font-weight: 700;
    font-size: 18px;
}

.landing-brand__logo {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-primary);
    color: #fff;
    border-radius: 8px;
    font-size: 18px;
}

.landing-nav {
    display: flex;
    gap: 12px;
}

/* Buttons */
.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
}

.landing-btn--primary {
    background: var(--c-primary);
    color: #fff;
}

.landing-btn--primary:hover { background: var(--c-primary-dark); }

.landing-btn--ghost {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-border);
}

.landing-btn--ghost:hover { background: var(--c-bg); }

.landing-btn--lg {
    padding: 13px 22px;
    font-size: 16px;
}

/* Hero */
.landing-hero {
    padding: 88px 0 64px;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(37, 99, 235, 0.08), transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(14, 165, 233, 0.08), transparent 50%),
        var(--c-bg);
    text-align: center;
}

.landing-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: var(--c-primary);
    font-weight: 700;
    margin: 0 0 16px;
}

.landing-title {
    font-size: clamp(36px, 5vw, 56px);
    margin: 0 0 18px;
    line-height: 1.1;
    font-weight: 700;
}

.landing-subtitle {
    font-size: 18px;
    color: var(--c-text-muted);
    max-width: 720px;
    margin: 0 auto 36px;
}

.landing-hero__cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features */
.landing-features {
    padding: 64px 0 88px;
    background: var(--c-bg-alt);
}

.landing-section__title {
    text-align: center;
    font-size: 30px;
    margin: 0 0 8px;
    font-weight: 700;
}

.landing-section__subtitle {
    text-align: center;
    color: var(--c-text-muted);
    margin: 0 0 40px;
    font-size: 16px;
}

.landing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.landing-card {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.landing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.landing-card__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    font-size: 22px;
    margin-bottom: 14px;
}

.landing-card__title {
    font-size: 17px;
    margin: 0 0 8px;
    font-weight: 700;
}

.landing-card__text {
    color: var(--c-text-muted);
    margin: 0;
    font-size: 14px;
}

/* Footer */
.landing-footer {
    background: var(--c-bg-alt);
    border-top: 1px solid var(--c-border);
    padding: 24px 0;
    font-size: 13px;
    color: var(--c-text-muted);
}

.landing-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.landing-footer a {
    color: var(--c-primary);
    text-decoration: none;
}
.landing-footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .landing-hero { padding: 56px 0 36px; }
    .landing-features { padding: 40px 0 56px; }
}
