/* CEVACI - pages d'acces (gabarit G1). Feuille autonome et legere, sans vendor.css. */
@font-face { font-family: "Manrope"; src: url("../fonts/cevaci/manrope-latin.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/cevaci/dm-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); font: 400 16px/1.6 "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #15283d; background: #fff; }
.access-visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 100vh; padding: 48px 56px; color: #fff; background: #102b4b var(--access-image, url("../assets/cevaci/images/hero-couvoir.svg")) center / cover no-repeat; }
.access-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 31, 55, .55), rgba(10, 31, 55, .86)); }
.access-visual > * { position: relative; }
.access-brand { display: block; width: 190px; max-width: 60%; height: auto; }
.access-visual h2 { margin: 0 0 12px; max-width: 520px; font: 800 38px/1.15 "Manrope", "DM Sans", sans-serif; letter-spacing: -.01em; color: #fff; }
.access-visual p { margin: 0; max-width: 480px; color: #eaf1f7; font-size: 17px; }
.access-activities { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.access-activities li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 14px; font-weight: 500; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; }
.access-activities i { flex: none; width: 20px; height: 20px; background: #ffc52e; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.access-panel { display: flex; align-items: center; justify-content: center; padding: 32px 24px; background: #fff; }
:focus-visible { outline: 3px solid #ffc52e; outline-offset: 2px; }
.access-card { width: 100%; max-width: 420px; }
.access-card h1 { font-size: 28px !important; }
.access-card h1 { margin: 0 0 4px; font: 700 24px/1.15 "Manrope", "DM Sans", sans-serif; letter-spacing: -.01em; color: #102b4b; }
.access-lead { margin: 0 0 20px; font-size: 14px; color: #5b6b7f; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 500; }
.field input { width: 100%; height: 48px; padding: 0 14px; font: inherit; color: inherit; background: #fff; border: 1px solid #5b6b7f; border-radius: 12px; }
.field.has-error input { border-color: #c81622; }
.field-error { display: block; margin-top: 4px; font-size: 13px; color: #c81622; }
.password { position: relative; }
.password input { padding-right: 88px; }
.password button { position: absolute; top: 6px; right: 6px; height: 36px; padding: 0 10px; font: 500 13px "DM Sans", sans-serif; color: #2d5f8a; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.remember { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; }
.remember input { width: 18px; height: 18px; accent-color: #2d5f8a; }
.btn-main { display: block; width: 100%; min-height: 48px; padding: 12px 20px; font: 700 16px/1.2 "DM Sans", sans-serif; color: #102b4b; background: #ffc52e; border: 0; border-radius: 999px; cursor: pointer; }
.btn-main:hover { background: #ffd257; }
.access-links { margin-top: 20px; text-align: center; font-size: 14px; }
.access-links a { display: block; margin-top: 6px; color: #2d5f8a; font-weight: 500; }
.notice { margin-bottom: 16px; padding: 10px 14px; font-size: 14px; border-radius: 12px; }
.notice-success { color: #1f6b3a; background: #e8f3ec; }
.notice-error { color: #c81622; background: #fdecee; }
.g-recaptcha { margin-bottom: 16px; }
@media (max-width: 900px) {
    body { display: block; }
    .access-visual { min-height: 0; padding: 24px 20px; gap: 12px; }
    .access-brand { width: 130px; }
    .access-visual h2 { font-size: 20px; margin: 0; }
    .access-visual p, .access-activities { display: none; }
    .access-panel { padding: 24px 20px 32px; }
}
