/* La charte graphique du Cabinet AAZ.
 *
 * Les valeurs sont celles du portail AAZ Central, qui fait foi pour toutes les
 * applications du cabinet : elles y sont documentees dans
 * `docs/IDENTITE_VISUELLE.md` et declinees dans son `tailwind.config.js`. Ce
 * fichier en est la transposition en CSS nu, AAZ Meeting n'ayant jamais eu de
 * Tailwind dans ses vues. Une valeur qui change la-bas change ici.
 *
 * Deux couleurs, pas trois : le marine #1F3357 des deux A du logo, et le rouge
 * #C74646 de la barre du Z. Le marine porte l'interface — navigation, surfaces
 * sombres, salle de reunion ; le rouge ne sert qu'a attirer l'oeil, jamais en
 * aplat de fond. Ni anthracite ni cyan : le cabinet n'en a pas.
 */

/* Poppins, servie depuis /fonts et non depuis Google.
 *
 * La salle de réunion doit s'ouvrir même quand le poste n'a pas d'accès libre
 * à Internet — un cabinet derrière un filtre d'entreprise, une connexion qui
 * tombe pendant la réunion. Une police absente ne casse alors plus rien. */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/poppins-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/poppins-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/poppins-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/poppins-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/poppins-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/poppins-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/poppins-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/poppins-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    /* Le marine du logo. Il porte la navigation, les actions et toutes les
       surfaces sombres, salle de reunion comprise. */
    --aaz-navy-50: #F3F6FB;
    --aaz-navy-100: #E4EAF4;
    --aaz-navy-200: #C5D1E6;
    --aaz-navy-300: #98ADCF;
    --aaz-navy-400: #6784B2;
    --aaz-navy-500: #446394;
    --aaz-navy-600: #304B76;
    --aaz-navy-700: #1F3357;
    --aaz-navy-800: #182845;
    --aaz-navy-900: #111D33;
    --aaz-navy-950: #0A1222;

    /* Le rouge de la barre du Z. Ce qui presse, ce qu'on quitte, ce qu'on
       refuse, ce qu'il faut voir en premier — et rien d'autre. */
    --aaz-accent-50: #FDF3F3;
    --aaz-accent-100: #FBE4E4;
    --aaz-accent-200: #F7C8C8;
    --aaz-accent-300: #EF9F9F;
    --aaz-accent-400: #E36B6B;
    --aaz-accent-500: #C74646;
    --aaz-accent-600: #B03A3A;
    --aaz-accent-700: #932E2E;
    --aaz-accent-800: #7A2929;
    --aaz-accent-900: #652626;

    /* Le fond des pages claires et celui des ecrans sombres du portail. */
    --aaz-surface: #F6F7FA;
    --aaz-surface-sombre: #0D1526;

    /* Les gris de texte du site du cabinet. Neutres, et non des marines
       eclaircis : sur fond sombre un gris bleute passe pour du texte eteint,
       et la page entiere parait terne. */
    --aaz-plume-200: #E7ECF3;
    --aaz-plume-300: #CFD6E0;
    --aaz-plume-400: #C1C8D1;
    --aaz-plume-500: #728197;
    --aaz-plume-600: #4A5464;

    /* Noms employes par la feuille de style de l'application. Ils renvoient
       aux deux gammes ci-dessus : l'encre au marine, le rouge a l'accent, la
       nuit au marine profond. */
    --aaz-encre-50: var(--aaz-navy-50);
    --aaz-encre-100: var(--aaz-navy-100);
    --aaz-encre-200: var(--aaz-navy-200);
    --aaz-encre-300: var(--aaz-navy-300);
    --aaz-encre-400: var(--aaz-navy-400);
    --aaz-encre-500: var(--aaz-navy-500);
    --aaz-encre-600: var(--aaz-navy-700);
    --aaz-encre-700: var(--aaz-navy-800);
    --aaz-encre-800: var(--aaz-navy-900);
    --aaz-encre-900: var(--aaz-navy-950);

    --aaz-rouge-100: var(--aaz-accent-100);
    --aaz-rouge-400: var(--aaz-accent-400);
    --aaz-rouge-500: var(--aaz-accent-500);
    --aaz-rouge-600: var(--aaz-accent-600);
    --aaz-rouge-700: var(--aaz-accent-700);

    --aaz-nuit-950: var(--aaz-navy-950);
    --aaz-nuit-900: var(--aaz-navy-900);
    --aaz-nuit-850: var(--aaz-navy-800);
    --aaz-nuit-800: var(--aaz-navy-700);
    --aaz-nuit-700: var(--aaz-navy-600);

    /* L'echelle typographique, reprise d'AAZ Companion.
       La racine vaut 17 pixels (voir `html` dans app.css) : « sm » est donc
       la taille du texte courant, « xs » celle des mentions, et les titres
       montent de « base » a « 3xl ». Le cran « 2xs » n'existe pas chez
       Companion : il est reserve ici aux micro-libelles en capitales
       espacees, ou « xs » serait deja trop gros. */
    --aaz-texte-2xs: .6875rem;
    --aaz-texte-xs: .75rem;
    --aaz-texte-sm: .875rem;
    --aaz-texte-base: 1rem;
    --aaz-texte-lg: 1.125rem;
    --aaz-texte-xl: 1.25rem;
    --aaz-texte-2xl: 1.5rem;
    --aaz-texte-3xl: 1.875rem;
    --aaz-texte-4xl: 2.25rem;

    /* Les interlignes qui vont avec, serres comme chez Companion : un texte
       d'interface se lit d'un coup d'oeil, il n'a pas a respirer comme un
       paragraphe de livre. */
    --aaz-interligne-serre: 1.3;
    --aaz-interligne: 1.45;
    --aaz-interligne-titre: 1.2;

    --aaz-police: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
