/* ARES – espace perso */
.ae-card, .ae-dash { --navy: #1d1a6e; --blue: #0b45d6; --muted: #5d5d7a; --tint: #f4f5fc; --line: #e3e5f2; font-family: "Nunito", system-ui, sans-serif; }
.ae-card { background: #fff; border-radius: 22px; box-shadow: 0 16px 44px rgba(29, 26, 110, .12); padding: clamp(22px, 3.5vw, 36px); }
.ae-card h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; color: var(--navy); margin: 0 0 8px; }
.ae-card h3 { display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 900; color: var(--navy); margin: 0 0 12px; }
.ae-lede { color: var(--muted); font-size: 16px; margin: 0 0 16px; }
.ae-eyebrow { display: inline-block; margin: 0 0 10px; padding: 5px 14px; border-radius: 99px; background: #ffc400; color: var(--navy); font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.ae-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50% 50% 50% 14%; background: var(--blue); color: #fff; font-size: 18px; flex: none; }
.ae-dash section:nth-of-type(2) .ae-num { background: #5fb80b; }
.ae-dash section:nth-of-type(3) .ae-num { background: #e8230e; }
.ae-card .ae-btn, .ae-card a.ae-btn {
	display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border: 2px solid var(--navy); border-radius: 999px;
	background: var(--navy); color: #fff; font-family: inherit; font-weight: 900; font-size: 15px; text-decoration: none; cursor: pointer;
	transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}
.ae-card .ae-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(29, 26, 110, .25); color: #fff; background: #2c27a3; }
.ae-card .ae-btn--ghost { background: #fff; color: var(--navy); }
.ae-card .ae-btn--ghost:hover { background: var(--tint); color: var(--navy); }
.ae-card .ae-btn:disabled { opacity: .6; cursor: wait; }

/* connexion */
.ae-login { max-width: 520px; margin: 0 auto; }
.ae-form { display: grid; gap: 8px; }
.ae-form label { font-weight: 800; font-size: 14px; color: var(--navy); margin-top: 8px; }
.ae-card input { width: 100%; padding: 13px 15px; border: 2px solid var(--line); border-radius: 12px; background: var(--tint); font-family: inherit; font-size: 16px; font-weight: 700; outline: none; height: auto; min-height: 52px; line-height: 1.4; }
.ae-card input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11, 69, 214, .12); }
.ae-tel { display: flex; }
.ae-tel span { display: grid; place-items: center; padding: 0 14px; border: 2px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px; font-weight: 800; color: var(--navy); }
.ae-tel input { border-radius: 0 12px 12px 0; }
.ae-msg { min-height: 1.3em; margin: 6px 0; font-weight: 800; color: var(--muted); }
.ae-msg.is-error { color: #c11a08; }
.ae-msg.is-ok { color: #2e6b00; }
.ae-small { margin: 18px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.ae-small a { color: var(--blue); font-weight: 900; }

/* tableau de bord */
.ae-dash { display: grid; gap: 22px; max-width: 980px; margin: 0 auto; }
.ae-hello { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, #fff 60%, #f4f5fc); }
.ae-results { display: grid; gap: 12px; margin-bottom: 18px; }
.ae-result { display: flex; gap: 18px; align-items: center; padding: 14px 18px; border: 2px solid var(--line); border-radius: 16px; }
.ae-code { display: flex; gap: 2px; font-size: 36px; font-weight: 900; line-height: 1; min-width: 92px; }
.ae-result-date { margin: 0; font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ae-result-names { margin: 2px 0 8px; font-weight: 900; color: var(--navy); }
.ae-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ae-tags a { padding: 3px 10px; border-radius: 99px; background: var(--tint); color: var(--blue); font-size: 13px; font-weight: 900; text-decoration: none; }
.ae-tags a:hover { background: var(--blue); color: #fff; }
.ae-cours { display: grid; gap: 10px; }
.ae-card .ae-cours-item { display: grid; grid-template-columns: 1fr 160px 100px; gap: 16px; align-items: center; padding: 12px 16px; border: 2px solid var(--line); border-left: 6px solid var(--c); border-radius: 14px; text-decoration: none; color: var(--navy); transition: transform .25s, box-shadow .25s; }
.ae-card .ae-cours-item:hover { transform: translateX(4px); box-shadow: 0 8px 20px rgba(29, 26, 110, .1); color: var(--navy); }
.ae-cours-titre { font-weight: 900; }
.ae-cours-bar { height: 8px; border-radius: 8px; background: var(--tint); overflow: hidden; }
.ae-cours-bar span { display: block; height: 100%; background: var(--c); }
.ae-cours-pct { font-weight: 800; font-size: 14px; color: var(--muted); text-align: right; }
@media (max-width: 600px) { .ae-card .ae-cours-item { grid-template-columns: 1fr; gap: 6px; } .ae-cours-pct { text-align: left; } }
.ae-soon { border: 2px dashed #d5d8ea; box-shadow: none; }
@media (max-width: 600px) { .ae-result { flex-direction: column; align-items: flex-start; } }
