/* SOS CAR — tokens e base compartilhados entre o site e o webapp.
   As cores espelham shared/.../ui/theme/Color.kt para que web e app sejam a mesma marca. */

/* Tektur é a fonte do wordmark no app. O itálico é sintetizado — a família não tem
   corte itálico próprio, igual ao que o Compose faz em SosLogo(). */
@font-face {
    font-family: 'Tektur';
    src: url('../fonts/tektur-var-latin.woff2') format('woff2');
    font-weight: 400 900;
    font-display: swap;
}

@font-face {
    font-family: 'Plex Sans';
    src: url('../fonts/plex-sans-var-latin.woff2') format('woff2-variations');
    font-weight: 100 700;
    font-display: swap;
}

@font-face {
    font-family: 'Plex Mono';
    src: url('../fonts/plex-mono-500-latin.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

:root {
    --navy: #0F1F3D;
    --navy-dark: #0A1529;
    --navy-deep: #060D1A;
    --navy-tint: #E8EDF6;

    --orange: #F26B1D;
    --orange-dark: #D45500;
    --orange-tint: #FDEEDD;

    --red: #E53935;
    --green: #22C55E;

    --white: #FFFFFF;
    --surface: #F6F7FA;
    --border: #DFE3EB;
    --home-top: #F2F4F7;
    --home-bottom: #C9CFD8;

    --text: #101828;
    --text-soft: #667085;

    --font-display: 'Tektur', 'Plex Sans', system-ui, sans-serif;
    --font-body: 'Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'Plex Mono', ui-monospace, 'Cascadia Mono', monospace;

    --radius: 16px;
    --radius-sm: 12px;
    --shadow-card: 0 8px 24px rgba(16, 24, 40, .08);
    --shadow-lift: 0 18px 40px rgba(10, 21, 41, .28);

    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

/* Sem isto, qualquer `display` de autor vence o atributo hidden. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

/* Ícone dentro de texto/botão volta a fluir na linha. */
p .ic, .btn .ic, span .ic { display: inline-block; vertical-align: -3px; }

button, input, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; border: 0; background: none; }

a { color: inherit; }

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

/* Wordmark "SOS CAR" desenhado em texto — mesma construção do SosLogo do app. */
.wordmark {
    font-family: var(--font-display);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -.02em;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    gap: .12em;
    white-space: nowrap;
}
.wordmark i { font-style: inherit; color: var(--orange); }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
