/* @g CON-001 */

/* @g CON-002 */
body:has(.exl-page) { margin: 0; background: var(--agd-surface); }

.exl-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    font-family: inherit;
    color: var(--agd-text);
}

/* @g CON-003 */
.exl-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    padding: 56px clamp(32px, 6vw, 88px);
    /* @g CON-022 */
    background-color: var(--exl-hero-fond, var(--agd-primary));
    background-image: radial-gradient(120% 220% at 88% -40%,
        rgba(255, 255, 255, .32) 0%,
        rgba(255, 255, 255, .10) 36%,
        rgba(0, 0, 0, .05) 70%,
        rgba(0, 0, 0, .16) 100%);
    color: #fff;
    overflow: hidden;
}

/* @g CON-004 */
.exl-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

/* @g CON-005 */
.exl-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .14;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1.4px),
        radial-gradient(circle at 70% 60%, #fff 0 1px, transparent 1.4px);
    background-size: 26px 26px, 34px 34px;
}

/* @g CON-006 */
.exl-epis {
    position: absolute;
    right: -34px;
    bottom: -26px;
    width: min(58%, 380px);
    height: auto;
    fill: #fff;
    stroke: #fff;
    opacity: .13;
    pointer-events: none;
    z-index: 0;
}
.exl-hero > :not(.exl-epis) { position: relative; z-index: 1; }

/* @g CON-007 */
.exl-logo { height: 104px; width: auto; align-self: flex-start; max-width: 100%; }

/* @g CON-008 */
.exl-hero h1 {
    margin: 0;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: #fff;
}

.exl-hero p { margin: 0; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .90); max-width: 46ch; }

/* @g CON-009 */
.exl-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.exl-points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .26);
    backdrop-filter: blur(3px);
}
.exl-points i { font-size: 15px; }

/* @g CON-010 */
.exl-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px clamp(24px, 5vw, 72px);
    background: var(--agd-surface);
}

.exl-box { width: 100%; max-width: 400px; margin: 0 auto; }
.exl-box h2 { margin: 0 0 4px; font-size: 22px; font-weight: 700; color: var(--agd-text); }
.exl-box .exl-sub { margin: 0 0 28px; font-size: 14px; color: var(--agd-mut); }

.exl-champ { margin-bottom: 18px; }
.exl-champ label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 500; color: var(--agd-text); }
.exl-champ .exl-saisie { position: relative; display: flex; }

.exl-champ input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--agd-text);
    background: var(--agd-surface);
    border: 1px solid var(--agd-border);
    border-radius: 10px;
    outline: 0;
    transition: border-color .12s, box-shadow .12s;
}
.exl-champ input::placeholder { color: var(--agd-soft); }
.exl-champ input:focus {
    border-color: var(--agd-primary);
    box-shadow: 0 0 0 3px rgba(235, 114, 36, .16);
}

/* @g CON-011 */
.exl-oeil {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    color: var(--agd-soft);
    cursor: pointer;
}
.exl-oeil:hover { color: var(--agd-primary); }
.exl-champ:has(.exl-oeil) input { padding-right: 46px; }

.exl-ligne { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.exl-oubli { font-size: 13px; color: var(--agd-mut); text-decoration: none; }
.exl-oubli:hover { color: var(--agd-primary); text-decoration: underline; }

.exl-valider {
    width: 100%;
    margin-top: 8px;
    padding: 13px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--agd-primary);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: background .12s, box-shadow .12s;
}
.exl-valider:hover { background: var(--agd-primary-d); box-shadow: var(--agd-shadow); }
.exl-valider:focus-visible { outline: 3px solid rgba(235, 114, 36, .35); outline-offset: 2px; }

.exl-erreur {
    margin-bottom: 20px;
    padding: 11px 14px;
    font-size: 13.5px;
    color: var(--agd-danger);
    background: #fdecec;
    border: 1px solid #f6cccc;
    border-radius: 10px;
}

/* @g CON-012 */
.exl-succes {
    margin-bottom: 20px;
    padding: 11px 14px;
    font-size: 13.5px;
    color: var(--agd-success);
    background: var(--agd-success-soft);
    border: 1px solid #bfe0cd;
    border-radius: 10px;
}

/* @g CON-013 */
.exl-attention {
    margin-bottom: 20px;
    padding: 11px 14px;
    font-size: 13.5px;
    color: #8a5a00;
    background: var(--agd-accent-soft);
    border: 1px solid #f3d9a6;
    border-radius: 10px;
}
.exl-info {
    margin-bottom: 20px;
    padding: 11px 14px;
    font-size: 13.5px;
    color: #06697f;
    background: var(--agd-info-soft);
    border: 1px solid #b9e4ef;
    border-radius: 10px;
}

/* @g CON-014 */
.exl-code {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 8px;
    padding-right: calc(14px + 8px);
}

/* @g CON-015 */
.exl-secondaire {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 0;
    font-size: 13px;
    color: var(--agd-mut);
    background: none;
    border: 0;
    cursor: pointer;
    text-align: center;
}
.exl-secondaire:hover { color: var(--agd-primary); text-decoration: underline; }

/* @g CON-016 */
.exl-retour { margin: 18px 0 0; font-size: 13px; text-align: center; }
.exl-retour a { color: var(--agd-mut); text-decoration: none; }
.exl-retour a:hover { color: var(--agd-primary); text-decoration: underline; }

.exl-pied { margin-top: 34px; font-size: 12.5px; color: var(--agd-soft); text-align: center; }

/* @g CON-017 */
@media (max-width: 991.98px) {
    /* @g CON-018 */
    .exl-page { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 100vh; }
    .exl-hero { gap: 12px; padding: 26px 24px 24px; text-align: center; align-items: center; }
    .exl-logo { align-self: center; }
    /* @g CON-019 */
    .exl-hero::after, .exl-hero::before, .exl-epis { display: none; }
    .exl-hero h1 { font-size: 21px; }
    .exl-hero p, .exl-points { display: none; }   /* @g CON-020 */
    .exl-logo { height: 42px; }
    /* @g CON-021 */
    .exl-form { justify-content: flex-start; padding: 34px 24px 48px; }
}
