@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/oauth2/ressources/inter.woff2") format("woff2"); }
@font-face { font-family: "Chillax"; font-style: normal; font-display: swap; font-weight: 200 700; src: url("/oauth2/ressources/chillax.woff2") format("woff2"); }
/* Écran de connexion au design system des outils internes (VA). À gauche, la page de garde du design system
   (aplats de marque débordant du haut, tuiles d'interface dont une seule ocre, nom de l'outil en Chillax). À droite,
   une carte blanche avec le logo complet, un titre Chillax et une seule action ocre. */
:root {
  --lemon-forest: #164b38;
  --lemon-forest-deep: #103729;
  --lemon-ocre: #e1c140;
  --lemon-mint: #a8d7c0;
  --ui-bg: #faf8ee;
  --ui-surface: #ffffff;
  --ui-surface-raised: #f4f4f1;
  --ui-field: #fdfcfa;
  --ui-border: #d2d1cd;
  --ui-border-subtle: #e7e6e3;
  --ui-border-control: #8a8a83;
  --ui-text: #164b38;
  --ui-text-secondary: #4b5d51;
  --ui-text-muted: #5f6f65;
  --ui-accent: #e1c140;
  --ui-accent-hover: #c9ac30;
  --ui-on-accent: #103729;
  --ui-focus: #164b38;
  --ui-warning-surface: #ffead9;
  --ui-warning-border: #e9b588;
  --ui-shadow-1: 0 1px 2px rgba(16, 55, 41, 0.06), 0 1px 1px rgba(16, 55, 41, 0.04);
  --font-display: "Chillax", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--ui-bg); color: var(--ui-text); font-family: var(--font-body); font-size: 13px; line-height: 20px; -webkit-font-smoothing: antialiased; }
.ecran { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
/* page de garde */
.garde { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 48px 48px; min-height: 100vh; }
.garde__art { position: absolute; top: 0; left: 48px; right: 0; aspect-ratio: 640 / 300; max-height: 52%; }
.garde__art span, .garde__art svg { display: block; width: 100%; height: 100%; }
.garde__bande { display: none !important; }
.forest { fill: var(--lemon-forest); }
.ocre { fill: var(--lemon-ocre); }
.mint { fill: var(--lemon-mint); }
.deep { fill: var(--lemon-forest-deep); }
.tuile { fill: var(--lemon-mint); }
.tuile--action { fill: var(--lemon-ocre); }
.garde__nom { position: relative; margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 56px; line-height: 1; letter-spacing: -0.01em; color: var(--ui-text); }
.garde__phrase { position: relative; margin: 12px 0 0 2px; max-width: 460px; font-size: 18px; line-height: 26px; color: var(--ui-text-secondary); }
/* carte */
.zone { display: grid; place-items: center; padding: 48px 32px; }
.carte { width: 100%; max-width: 400px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 12px; padding: 32px 28px 24px; }
.logo { display: block; width: 88px; height: auto; margin: 0 0 24px; }
.surtitre { font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ui-text-muted); margin: 0 0 6px; }
h1 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; font-size: 22px; line-height: 28px; margin: 0 0 12px; }
p { margin: 0 0 12px; color: var(--ui-text-secondary); }
p strong { color: var(--ui-text); font-weight: 500; overflow-wrap: anywhere; }
.actions { margin: 20px 0 0; }
.actions form { margin: 0; }
.pied { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--ui-border-subtle); font-size: 12px; line-height: 16px; color: var(--ui-text-muted); }
label { display: block; margin: 0 0 6px; color: var(--ui-text-secondary); font-size: 12px; font-weight: 500; }
select, .champ { width: 100%; font: inherit; color: var(--ui-text); background: var(--ui-field); border: 1px solid var(--ui-border-control); border-radius: 8px; min-height: 36px; padding: 0 12px; margin: 0 0 16px; }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; width: 100%; background: var(--ui-accent); color: var(--ui-on-accent); font: inherit; font-size: 13px; font-weight: 500; text-decoration: none; border: 1px solid transparent; border-radius: 999px; padding: 0 16px; cursor: pointer; transition: background-color .12s ease; }
.bouton:hover { background: var(--ui-accent-hover); }
.bouton--secondaire { background: transparent; color: var(--ui-text); border: 1px solid var(--ui-border-control); margin-top: 8px; }
.bouton--secondaire:hover { background: var(--ui-field); }
.accord { margin: 0 0 16px; padding-left: 18px; }
.accord li { margin: 0 0 6px; }
.bouton--google { min-height: 44px; font-size: 14px; padding: 0 20px 0 6px; justify-content: flex-start; gap: 0; }
.bouton__pin { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ffffff; flex: none; }
.bouton__pin svg { width: 18px; height: 18px; }
.bouton__libelle { flex: 1; text-align: center; margin-right: 26px; }
.aide { margin: 12px 0 0; font-size: 12px; line-height: 16px; color: var(--ui-text-muted); }
.bouton:focus-visible, a:focus-visible, select:focus-visible, .champ:focus-visible { outline: 2px solid var(--ui-focus); outline-offset: 2px; }
.avertissement { display: block; color: var(--ui-text); font-size: 13px; background: var(--ui-warning-surface); border: 1px solid var(--ui-warning-border); border-radius: 8px; padding: 10px 12px; }
@media (prefers-reduced-motion: reduce) { .bouton { transition: none; } }
/* Tablette et téléphone, la page de garde devient un bandeau au-dessus de la carte */
@media (max-width: 900px) {
  .ecran { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .garde { min-height: 0; padding: 104px 24px 8px; }
  .garde__art { left: 24px; height: 84px; aspect-ratio: auto; max-height: none; }
  .garde__haut { display: none !important; }
  .garde__bande { display: block !important; }
  .garde__nom { font-size: 36px; }
  .garde__phrase { font-size: 14px; line-height: 20px; margin-top: 8px; }
  .zone { place-items: start center; padding: 24px 16px 32px; }
}
@media (max-width: 420px) {
  .carte { padding: 24px 20px 20px; }
  .garde__nom { font-size: 30px; }
}
