:root { color-scheme: light; --bleu: #2b5a8c; --bleu-fonce: #183a61; --fond: #f4f7fb; --texte: #182b40; --muted: #64748b; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 90% 5%, #dbeafe 0, transparent 32rem), var(--fond); color: var(--texte); font-family: Arial, sans-serif; }
#demarrage { align-items: center; background: var(--fond); display: flex; flex-direction: column; gap: 28px; inset: 0; justify-content: center; position: fixed; z-index: 10; transition: opacity .25s ease, visibility .25s ease; }
#demarrage.cache { opacity: 0; visibility: hidden; }
#demarrage img { max-width: min(72vw, 290px); }
#demarrage span { background: #cbd5e1; border-radius: 3px; height: 4px; overflow: hidden; width: 88px; }
#demarrage span::after { animation: chargement 1s ease-in-out infinite; background: var(--bleu); content: ''; display: block; height: 100%; width: 46%; }
@keyframes chargement { 50% { transform: translateX(118%); } }
.application { margin: auto; max-width: 620px; min-height: 100vh; padding: max(24px, env(safe-area-inset-top)) 20px max(30px, env(safe-area-inset-bottom)); }
header { align-items: center; display: flex; justify-content: space-between; margin-bottom: 52px; }
header img { height: auto; max-width: 165px; }
.carte { background: rgba(255, 255, 255, .88); border: 1px solid rgba(43, 90, 140, .1); border-radius: 24px; box-shadow: 0 18px 45px rgba(24, 58, 97, .11); padding: 32px 25px; }
.sur-titre { color: var(--bleu); font-size: .7rem; font-weight: bold; letter-spacing: .15em; margin: 0 0 12px; }
h1 { font-family: Georgia, serif; font-size: clamp(2rem, 8vw, 3rem); line-height: 1.05; margin: 0 0 18px; }
h2 { font-size: 1.1rem; margin: 0 0 8px; }
.texte-secondaire, .etat, .demande p { color: var(--muted); line-height: 1.55; }
form { display: grid; gap: 10px; margin-top: 28px; }
label { font-size: .88rem; font-weight: bold; margin-top: 7px; }
input { background: white; border: 1px solid #cbd5e1; border-radius: 11px; font: inherit; min-height: 50px; padding: 10px 12px; }
input:focus { border-color: var(--bleu); box-shadow: 0 0 0 3px #dbeafe; outline: none; }
button { border: 0; cursor: pointer; font: inherit; font-weight: bold; }
.bouton-primaire { background: var(--bleu); border-radius: 11px; color: white; margin-top: 14px; min-height: 50px; padding: 12px 18px; }
.bouton-primaire:active { background: var(--bleu-fonce); }
.bouton-secondaire { background: transparent; border: 1px solid #93b4d5; border-radius: 9px; color: var(--bleu); padding: 9px 12px; }
.bouton-texte { background: transparent; color: var(--bleu); margin-top: 28px; padding: 0; }
.demande { background: #eff6ff; border-left: 4px solid var(--bleu); border-radius: 8px; margin-top: 28px; padding: 18px; }
.message { min-height: 24px; margin: 18px 4px; text-align: center; }
.message.erreur { color: #b42318; }
.message.succes { color: #087443; }
@media (min-width: 640px) { .application { padding-top: 45px; } .carte { padding: 42px; } }
