/* Pages d'accueil d'AXEOM (connexion, mot de passe oublié) : charte d'axeom.fr */
:root {
	--marine: #0F2C49; --marine-clair: #1d4370; --orange: #F35D22; --orange-fonce: #d84a12;
	--orange-clair: #FF7A45; --orange-bouton: #D0450F; --orange-bouton-survol: #B23A0C;
	--creme: #F7F2ED; --blanc: #fff; --texte: #0F2C49; --discret: #5d6b7a; --bord: #ddd5cc;
	--erreur: #a8261b; --erreur-fond: #fdeeea;
	--titres: "Barlow", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--corps: "Open Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: var(--corps); font-size: 15px; line-height: 1.5; color: var(--texte); background: var(--creme); -webkit-font-smoothing: antialiased; }
.page { min-height: 100%; display: grid; grid-template-columns: minmax(340px, 42%) 1fr; }

/* Panneau de marque : bleu marine, triangles orange rappelant le « A » du logo */
.marque { position: relative; overflow: hidden; background: var(--marine); color: var(--blanc); padding: 56px 56px 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.marque::before, .marque::after { content: ""; position: absolute; clip-path: polygon(50% 0, 100% 100%, 0 100%); pointer-events: none; }
.marque::before { width: 78%; aspect-ratio: 1; right: -22%; bottom: -12%; background: linear-gradient(160deg, var(--orange), var(--orange-fonce)); opacity: .92; }
.marque::after  { width: 62%; aspect-ratio: 1; right: 18%; bottom: -30%; background: var(--marine-clair); opacity: .55; }
.marque > * { position: relative; z-index: 1; }
.surtitre { font-family: var(--titres); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-clair); }
.marque h1 { font-family: var(--titres); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; margin: 14px 0 0; max-width: 12ch; }
.marque .pied { font-size: 12.5px; color: rgba(255, 255, 255, .62); }

/* Zone du formulaire */
.zone { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.carte { width: 100%; max-width: 420px; background: var(--blanc); padding: 40px 38px 30px; box-shadow: 0 18px 45px rgba(15, 44, 73, .12); border-top: 4px solid var(--orange); }
.logo { display: block; height: 58px; width: auto; margin: 0 0 28px; }
.logo-texte { font-family: var(--titres); font-weight: 700; font-size: 34px; letter-spacing: .04em; margin: 0 0 28px; }
.carte h2 { font-family: var(--titres); font-weight: 600; font-size: 26px; margin: 0 0 4px; }
.sous-titre { margin: 0 0 24px; color: var(--discret); }
.ico { width: 20px; height: 20px; flex: none; }

.alerte { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 0 0 20px; background: var(--erreur-fond); color: var(--erreur); border-left: 3px solid var(--erreur); font-size: 14px; }
.alerte.info { background: #eef3f8; color: var(--marine); border-color: var(--marine); }

label { display: block; font-weight: 600; font-size: 13.5px; margin: 0 0 6px; }
.champ { position: relative; margin: 0 0 18px; }
input[type=text], input[type=password] { width: 100%; height: 46px; padding: 0 14px; font: inherit; color: var(--texte); background: #fbfaf8; border: 1px solid var(--bord); border-radius: 2px; transition: border-color .15s, box-shadow .15s; }
input:focus { outline: none; border-color: var(--marine); box-shadow: 0 0 0 3px rgba(15, 44, 73, .12); background: var(--blanc); }
.voir { position: absolute; right: 6px; bottom: 6px; width: 34px; height: 34px; display: grid; place-items: center; background: none; border: 0; color: var(--discret); cursor: pointer; border-radius: 2px; }
.voir:hover, .voir[aria-pressed=true] { color: var(--marine); }
.champ.mdp input { padding-right: 46px; }

.bouton { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; margin-top: 6px; font-family: var(--titres); font-weight: 600; font-size: 16px; letter-spacing: .02em; color: var(--blanc); background: var(--orange-bouton); border: 0; border-radius: 2px; cursor: pointer; transition: background .15s, transform .15s; }
.bouton:hover { background: var(--orange-bouton-survol); }
.bouton:active { transform: translateY(1px); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.aide { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #eee7e0; font-size: 13px; color: var(--discret); display: flex; gap: 8px; align-items: center; }
.aide .ico { width: 16px; height: 16px; }

/* Menu des modules */
.tuile { display: flex; align-items: center; gap: 16px; padding: 18px; margin: 0 0 12px; color: var(--texte); text-decoration: none; background: #fbfaf8; border: 1px solid var(--bord); border-left: 4px solid var(--marine); transition: border-color .15s, box-shadow .15s, transform .15s; }
.tuile:hover { border-color: var(--orange); box-shadow: 0 8px 22px rgba(15, 44, 73, .10); transform: translateY(-1px); }
.tuile .pastille { width: 46px; height: 46px; display: grid; place-items: center; background: var(--marine); color: var(--blanc); flex: none; }
.tuile:hover .pastille { background: var(--orange); }
.tuile .pastille .ico { width: 24px; height: 24px; }
.tuile .libelle { display: block; min-width: 0; }
.tuile strong { display: block; font-family: var(--titres); font-weight: 600; font-size: 18px; color: var(--texte); }
.tuile small { display: block; font-size: 13px; color: var(--discret); }
.tuile .suite { margin-left: auto; color: var(--orange); }
.sortie { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; color: var(--discret); text-decoration: none; font-size: 14px; }
.sortie:hover { color: var(--orange); }
.sortie .ico { width: 17px; height: 17px; }

@media (max-width: 900px) {
	.page { grid-template-columns: 1fr; }
	.marque { padding: 28px 24px; gap: 10px; }
	.marque::before { width: 46%; right: -12%; bottom: -40%; }
	.marque::after { display: none; }
	.marque h1 { max-width: none; margin: 6px 0 4px; }
	.marque .pied { display: none; }
	.zone { padding: 28px 16px 40px; align-items: flex-start; }
	.carte { padding: 30px 22px 24px; }
}

/* Mot de passe oublié */
.aide a, .retour { color: var(--marine); font-weight: 600; text-decoration: none; }
.aide a:hover, .retour:hover { color: var(--orange-fonce); text-decoration: underline; }
.retour { display: inline-flex; gap: 6px; align-items: center; margin-top: 18px; font-size: 14px; }
.retour .ico { width: 16px; height: 16px; transform: scaleX(-1); }
.alerte.succes { background: #edf7ef; color: #1d5b2c; border-color: #2f7d43; }
.regles { margin: -8px 0 18px; padding: 0; list-style: none; font-size: 13px; color: var(--discret); }
.regles li::before { content: "•"; color: var(--orange); font-weight: 700; margin-right: 6px; }
.compte { font-weight: 600; color: var(--texte); }
