/* Locataire+ 2.0 — jetons de design
   Couleurs de la marque conservées : violet #5B5CE2, encre #171725, fond #F7F7FB.
   Style commun aux applications de Kyllian Rigolt : Inter, cartes très arrondies, boutons en pilule, ombres douces. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff") format("woff");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Marque */
  --violet: #5B5CE2;
  --violet-deep: #4748B8;
  --violet-ink: #3E3FA8;        /* violet lisible en texte sur fond clair */
  --violet-wash: #EEEEFD;
  --violet-wash-2: #E3E3FB;

  /* Neutres */
  --ink: #171725;
  --ink-2: #3A3B4E;
  --muted: #5F6275;
  --faint: #8A8D9E;             /* décoratif uniquement, jamais pour du texte */
  --paper: #F7F7FB;
  --surface: #FFFFFF;
  --surface-2: #F1F1F7;
  --line: #E4E4EE;
  --line-strong: #D2D3E0;

  /* États */
  --green: #21A366;  --green-text: #177A4B;  --green-wash: #E6F5EC;
  --orange: #E9952F; --orange-text: #98560F; --orange-wash: #FDF1DF;
  --red: #E25252;    --red-text: #B8383A;    --red-wash: #FDECEC;

  /* Plaque (signature) */
  --plaque: #5B5CE2;
  --plaque-ink: #FFFFFF;
  --plaque-rule: rgba(255, 255, 255, .92);

  /* Typographie */
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --t-xs: .8125rem;   /* 13 */
  --t-sm: .875rem;    /* 14 */
  --t-md: 1rem;       /* 16 */
  --t-lg: 1.25rem;    /* 20 */
  --t-xl: 1.5625rem;  /* 25 */
  --t-2xl: 1.9375rem; /* 31 */
  --t-3xl: 2.4375rem; /* 39 */

  /* Espacements (base 4) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px; --s12: 48px;

  /* Rayons : du plus intime (puce) au plus structurant (panneau) */
  --r-chip: 999px;
  --r-ctl: 14px;
  --r-tile: 12px;
  --r-card: 18px;
  --r-panel: 26px;
  --r-plaque: 26px;
  --gap: 14px;

  --shadow-pop: 0 18px 50px -12px rgba(23, 23, 37, .28);
  --shadow-card: 0 1px 4px rgba(30, 31, 70, .035);
  --shadow-lift: 0 6px 18px rgba(30, 31, 70, .06);
  --halo: rgba(91, 92, 226, .06);
  --flag-blue: #0055A4; --flag-white: #FFFFFF; --flag-red: #EF4135;
  --focus: 0 0 0 3px rgba(91, 92, 226, .45);
  --tabbar-h: 62px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

:root.dark {
  color-scheme: dark;
  --violet-ink: #B3B5FF;
  --violet-wash: #23244A;
  --violet-wash-2: #2B2D5A;
  --ink: #F4F5F8;
  --ink-2: #D6D8E2;
  --muted: #A6ABBB;
  --faint: #6E7385;
  --paper: #0F1016;
  --surface: #171922;
  --surface-2: #1E2130;
  --line: #292D3A;
  --line-strong: #353A4B;
  --green-text: #57D69B; --green-wash: #15291F;
  --orange-text: #F2AE5B; --orange-wash: #2E2416;
  --red-text: #FF9C9C;   --red-wash: #331C20;
  --plaque: #5B5CE2;
  --shadow-pop: 0 18px 50px -12px rgba(0, 0, 0, .7);
  --shadow-card: 0 1px 4px rgba(0, 0, 0, .2);
  --shadow-lift: 0 6px 18px rgba(0, 0, 0, .3);
  --halo: rgba(91, 92, 226, .09);
  --focus: 0 0 0 3px rgba(169, 171, 255, .55);
}
