/* La page Contact (apps/contact/router_public.py). Les jetons --g-* viennent
   de /theme.css : le clair et le sombre marchent d'office. La police est celle
   de la marque ; angles vifs, filet de 1 px, aucune ombre. */

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--g-fond);
  color: var(--g-encre);
  font-family: "OCR A Std Regular", "OCR A", ui-monospace, monospace;
}
a { color: var(--g-lien); text-underline-offset: 3px; }
a:hover { color: var(--g-encre); }

/* L'en-tête : recopié de apps/twitter_profile_analyser/public_web/static/public.css. */
.site { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 24px 24px 0; line-height: normal; }
.brand, .app { color: var(--g-encre); text-decoration: none; font-size: 30px; letter-spacing: 1px; white-space: nowrap; }
.app { margin-left: auto; }
.brand:hover, .app:hover { color: var(--g-encre-douce); }

.contact {
  width: min(560px, calc(100% - 32px));
  margin: 96px auto 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--g-surface);
  border: 1px solid var(--g-filet);
}
.contact h1 { margin: 0; font-size: 28px; font-weight: 400; }
.contact p { margin: 0; font-size: 15px; line-height: 1.6; }
.contact form { display: flex; flex-direction: column; gap: 16px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label { font-size: 13px; color: var(--g-encre-douce); }
.champ input,
.champ textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--g-filet-fort);
  border-radius: 0;
  background: var(--g-fond);
  color: var(--g-encre);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
}
.champ textarea { resize: vertical; }
.champ input:focus-visible,
.champ textarea:focus-visible { outline: 1px solid var(--g-encre); outline-offset: 1px; }
.erreur { color: var(--g-alerte); font-size: 14px; }
.envoi { display: flex; justify-content: flex-end; }
.envoi button {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid var(--g-encre);
  border-radius: 0;
  background: var(--g-encre);
  color: var(--g-fond);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.envoi button:hover { background: transparent; color: var(--g-encre); }
.envoi button:focus-visible { outline: 1px solid var(--g-encre); outline-offset: 2px; }

/* Le champ piège : hors de l'écran, sauté au clavier ; un robot le remplit. */
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 600px) {
  .site { padding: 16px 16px 0; }
  .brand, .app { font-size: 24px; }
  .contact { margin-top: 48px; padding: 24px 20px; }
}
