/* Tokens do tema light do design OVS Embarque (handover §3). O site
   tem uma pele própria: a home da API é o palco navy, o site é
   slate/teal com o amarelo Winx nos CTAs. */
:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --line: #e2e8f0;
    --ink: #0f172a;
    --body: #334155;
    --muted: #64748b;
    --teal: #0d9488;
    --teal-strong: #0f766e;
    --yellow: #ffd300;
    --yellow-press: #f5c800;
    --on-yellow: #1f2937;
    --warn: #d97706;
    --navy: #011f44;
}

@font-face {
    font-family: 'Manrope';
    src: url('/fonts/manrope/Manrope-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/fonts/manrope/Manrope-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/fonts/manrope/Manrope-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

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

html { height: 100%; }

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg);
    color: var(--body);
    font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--yellow); color: var(--ink); }

a {
    color: var(--teal);
    font-weight: 700;
    text-decoration: none;
}

a:hover { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 0.2em; }

a:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
    border-radius: 4px;
}

h1, h2, h3 {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: pretty;
}

p { line-height: 1.62; text-wrap: pretty; }

.shell {
    width: 100%;
    max-width: 1100px;
    min-height: 100vh;
    padding: 0 22px;
    display: flex;
    flex-direction: column;
}

main { flex: 1; display: flex; flex-direction: column; padding: 12px 0 8px; }

.site-header { display: flex; align-items: center; gap: 10px; padding: 18px 0 10px; }

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.site-header__brand:hover { color: var(--ink); text-decoration: none; }

.site-header__mark { display: block; width: 34px; height: 34px; }

.site-header__nav { margin-left: auto; font-size: 14px; }

.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding: 20px 0 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
}

.site-footer__winx { margin-left: auto; font-weight: 800; color: var(--ink); }

.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: var(--teal);
}

.lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.65; color: var(--body); }

.btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    background: var(--yellow);
    color: var(--on-yellow);
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    padding: 16px 40px;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(255, 211, 0, .35);
    text-align: center;
    transition: transform 120ms cubic-bezier(0.32, 0.72, 0.28, 1);
}

a.btn:hover { color: var(--on-yellow); text-decoration: none; transform: translateY(-1px); }

.btn:active { transform: scale(0.97); background: var(--yellow-press); }

/* Cadastro fechado (`ovs.site.registration_enabled` OFF): o CTA
   continua visível — a landing precisa dizer o que vem — mas sem
   destino e sem promessa de brilho. */
.btn[disabled] {
    cursor: default;
    background: var(--line);
    color: var(--muted);
    box-shadow: none;
}

.btn[disabled]:active { transform: none; background: var(--line); }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(1, 31, 68, .05);
}

.cta { display: flex; flex-direction: column; gap: 10px; align-items: center; }

.cta__note { font-size: 13px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
    .btn { transition: none; }
    a.btn:hover, .btn:active { transform: none; }
}
