/*
 * Socle commun à toutes les pages : police, charte Transports Charvin, reset.
 * Chaque espace a ensuite sa feuille : backoffice.css, public.css (pages destinataire), login.css.
 */

/* Inter (SIL Open Font License), servie en local : aucune requête vers un service tiers */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-wght-normal-Gz7AlRl.woff2") format("woff2");
}

:root {
    /* Charte : bleu marine + orange, motif de bandes horizontales du logo */
    --primary: #1b4a8c;
    --primary-dark: #133766;
    --primary-light: #e8eef7;
    --accent: #ee7623;
    --accent-dark: #d4641a;
    --accent-light: #fdeee2;
    --text: #1a202c;
    --muted: #64748b;
    --border: #e2e8f0;
    --bg: #f3f5f9;
    --danger: #dc2626;
    --success: #16a34a;

    /* Trois tailles de texte : normal, secondaire, pastilles */
    --fs-base: 0.9375rem;
    --fs-sm: 0.8125rem;
    --fs-xs: 0.75rem;

    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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