/* Eventick Mali — récupération d'achat, écran dédié. */
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    background: #f8fafc;
    color: #0a1628;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 76px;
    padding: 12px clamp(16px, 4vw, 48px);
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}
nav a:first-child { display: inline-flex; align-items: center; }
nav img { display: block; width: 44px; height: 44px; object-fit: contain; }
nav a:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 14px;
    border: 1px solid #b5dfcf;
    border-radius: 11px;
    background: #f0fdf4;
    font-size: .85rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}
a { color: #047857; text-underline-offset: 3px; }
a:hover { color: #065f46; }
main {
    width: min(520px, calc(100% - 32px));
    margin: clamp(28px, 7vh, 72px) auto;
    padding: clamp(22px, 5vw, 34px);
    border: 1px solid #dce8e2;
    border-top: 4px solid #059669;
    border-radius: 20px;
    background: linear-gradient(145deg, #f0fdf7, #fff 42%);
    box-shadow: 0 8px 28px rgba(10,22,40,.06);
    overflow-wrap: anywhere;
}
h1 {
    margin: 0 0 12px;
    color: #064e3b;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(1.4rem, 5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.3;
}
p { margin: 12px 0; color: #526176; font-size: .9rem; line-height: 1.7; }
form { margin-top: 22px; }
label { display: block; margin: 0 0 8px; color: #0a1628; font-size: .86rem; font-weight: 600; }
input, button { width: 100%; max-width: 100%; min-height: 50px; border-radius: 12px; font: inherit; }
input {
    padding: 13px 14px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #0a1628;
    font-size: 16px;
}
input:focus { outline: none; border-color: #059669; box-shadow: 0 0 0 4px #ecfdf5; }
button {
    margin-top: 16px;
    padding: 13px 16px;
    border: 1px solid #047857;
    background: #059669;
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(5,150,105,.14);
}
button:hover { background: #047857; }
button:disabled { opacity: .65; cursor: wait; }
button:focus-visible, a:focus-visible { outline: 3px solid #059669; outline-offset: 3px; }
.notice, .error { margin: 18px 0; padding: 14px 16px; border: 1px solid; border-radius: 12px; font-size: .86rem; }
.notice { border-color: #a7e4c9; background: #ecfdf5; color: #065f46; }
.error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
main > form + p { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #e2e8f0; font-size: .8rem; }
@media (max-width: 540px) {
    nav { min-height: 68px; padding: 10px 16px; }
    nav img { width: 38px; height: 38px; }
    main { margin: 24px auto; border-radius: 16px; }
}
