/* U5 Capital — style du site d'origine (2026), repris tel quel ; ajouts : jetons, focus visibles, états du formulaire. */
:root {
  --fond: #3a3c41;
  --carte: #fff;
  --texte-carte: #333;
  --texte-secondaire: #555;
  --bordure: #cfcfcf;
  --or: #c8a963;
  --or-fonce: #b8954f;
  --texte-bouton: #1a1a1a;
  --pied: #b0b2b5;            /* 5,2:1 sur --fond (l'ancien #939598 n'atteignait que 3,7:1) */
  --erreur: #b3261e;
  --succes: #1e6b35;
  --rayon: 5px;
  --duree: 150ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--fond); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 16px; line-height: 1.5; color: #fff; min-height: 100vh; display: flex; flex-direction: column; }
#header { height: 100vh; background: transparent url(/images/bg.png) no-repeat center center; background-size: cover; display: flex; }
#header.court { height: 40vh; }
#header a { display: block; margin: auto; background: transparent url(/images/U5_logo_3d.png) no-repeat center center; width: 280px; background-size: contain; height: 280px; }
#header.court a { width: 180px; height: 180px; }
#content { padding: 50px 20px; flex: 1; }
.form-card { width: 750px; max-width: 100%; margin: 0 auto; background: var(--carte); color: var(--texte-carte); box-shadow: 0 0 13px 0 rgba(0,0,0,.75); padding: 30px; border-radius: var(--rayon); }
.form-header { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--bordure); margin-bottom: 20px; padding-bottom: 15px; }
.form-header img { height: 60px; width: auto; }
.form-header h1, .form-header span { font-size: 1.3em; font-weight: normal; color: var(--texte-secondaire); }
label { display: block; font-weight: bold; margin: 16px 0 6px; font-size: 14px; }
.nom { display: flex; gap: 10px; }
.nom > div { flex: 1; }
.nom label { font-weight: normal; margin-top: 0; }
fieldset { border: 0; }
legend { font-weight: bold; margin: 16px 0 6px; font-size: 14px; }
input[type=text], input[type=email], textarea { width: 100%; border: 1px solid var(--bordure); padding: 10px; font-size: 16px; font-family: inherit; border-radius: 3px; color: var(--texte-carte); }
textarea { height: 160px; resize: vertical; }
.cf-turnstile { margin-top: 20px; min-height: 65px; }
.form-footer { display: flex; flex-direction: row-reverse; align-items: center; gap: 16px; margin-top: 20px; }
button[type=submit] { min-height: 44px; padding: 10px 20px; border: 1px solid var(--or); background-color: var(--or); color: var(--texte-bouton); text-transform: uppercase; font-weight: bold; border-radius: var(--rayon); cursor: pointer; font-size: 14px; font-family: inherit; transition: background-color var(--duree) ease-out; }
button[type=submit]:hover { background-color: var(--or-fonce); }
button[type=submit][disabled] { opacity: .7; cursor: progress; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
input:focus-visible, textarea:focus-visible { outline-color: var(--or-fonce); }
#form-status { font-size: 14px; }
#form-status.erreur { color: var(--erreur); }
.message { text-align: center; padding: 10px 0; }
.message h2, .message .h2-like { font-size: 1.4em; margin-bottom: 10px; }
.message.succes h2, .message.succes .h2-like { color: var(--succes); }
.message.erreur h2, .message.erreur .h2-like { color: var(--erreur); }
.message a { color: #6b5520; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.requis { color: var(--erreur); }
footer { border-top: 1px solid #000; font-size: 0.8em; text-align: center; color: var(--pied); padding: 10px 0 15px; margin-top: 150px; }
@media (max-width: 800px) { .form-card { width: 90%; } .nom { flex-direction: column; gap: 0; } .nom label { margin-top: 8px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
