/* ==========================================================
   CineBaseCloud — Pages d'accueil publiques (NOCTURNE)
   Connexion, inscription, accès refusé.
   Chargé après nocturne.css (couleurs et polices).
   ========================================================== */

.au-body {
    margin: 0;
    min-height: 100vh;
    background: var(--nc-black);
    color: #fafafa;
    font-family: var(--nc-font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.au-body *, .au-body *::before, .au-body *::after { box-sizing: border-box; }
.au-body a { color: inherit; }
.au-body [hidden] { display: none !important; }

.au-ico {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── 1. Mur d'affiches ─────────────────────────────────────── */
.au-wall {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    contain: strict; /* le mur ne provoque pas de recalcul du reste de la page */
}

.au-wall.is-paused .au-wall-col { animation-play-state: paused; }

.au-body-fixed .au-wall { position: fixed; }

.au-wall-grid {
    position: absolute;
    top: -30%;
    left: -10%;
    width: 130%;
    height: 160%;
    display: flex;
    gap: 14px;
    justify-content: center;
    transform: rotate(-8deg);
    opacity: 0;
    transition: opacity 1.2s ease;
}

.au-wall-grid.is-ready { opacity: 1; }

.au-wall-col {
    flex: 0 0 auto;
    width: clamp(110px, 11vw, 190px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: au-scroll-up var(--au-speed, 90s) linear infinite;
    will-change: transform;
}

.au-wall-col:nth-child(even) { animation-name: au-scroll-down; }

.au-wall-col img,
.au-wall-col .au-tile {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    object-fit: cover;
    background: #17171b;
}

.au-wall-col .au-tile {
    background: linear-gradient(160deg, #1d1b24 0%, #121215 70%);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

@keyframes au-scroll-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes au-scroll-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
    .au-wall-col { animation: none; }
}

/* Voile : lisibilité du texte + teinte violette */
.au-wall-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 15% 45%, rgba(9, 9, 11, 0.94) 0%, rgba(9, 9, 11, 0.7) 55%, rgba(9, 9, 11, 0.35) 100%),
        linear-gradient(180deg, rgba(9, 9, 11, 0.55) 0%, rgba(9, 9, 11, 0.25) 40%, rgba(9, 9, 11, 0.92) 88%, #09090b 100%),
        radial-gradient(ellipse 60% 50% at 85% 20%, rgba(124, 58, 237, 0.28), transparent 70%);
}

.au-body-signup .au-wall-shade,
.au-body-denied .au-wall-shade {
    background:
        radial-gradient(ellipse 80% 70% at 50% 50%, rgba(9, 9, 11, 0.86) 0%, rgba(9, 9, 11, 0.72) 100%),
        radial-gradient(ellipse 60% 50% at 80% 10%, rgba(124, 58, 237, 0.24), transparent 70%),
        linear-gradient(180deg, transparent 70%, #09090b 100%);
}

/* ── 2. Barre du haut ──────────────────────────────────────── */
.au-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 32px;
}

.au-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fafafa;
}

.au-brand img { width: 34px; height: 34px; display: block; }

.au-wordmark {
    font-family: var(--nc-font-display);
    font-size: 20px;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

.au-wordmark strong { font-weight: 800; }
.au-wordmark span { font-weight: 500; color: var(--nc-violet-light); }

.au-top-link {
    font-size: 14px;
    color: #a1a1aa;
    text-decoration: none;
}

.au-top-link a,
a.au-top-link strong { color: #fafafa; font-weight: 600; }
.au-top-link a { text-decoration: none; margin-left: 4px; }
.au-top-link a:hover { color: var(--nc-violet-light); }

/* ── 3. Boutons ────────────────────────────────────────────── */
.au-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 46px;
    padding: 0 22px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-family: var(--nc-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.au-btn:focus-visible { outline: 2px solid var(--nc-violet-light); outline-offset: 3px; }
.au-btn:disabled { opacity: 0.6; cursor: wait; }
.au-btn-lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.au-btn-block { width: 100%; }

.au-btn-primary {
    background: var(--nc-violet);
    color: #ffffff !important;
    box-shadow: 0 12px 32px -12px rgba(124, 58, 237, 0.75);
}

.au-btn-primary:hover:not(:disabled) { background: var(--nc-violet-hover); transform: translateY(-1px); }

.au-btn-ghost {
    background: rgba(24, 24, 28, 0.82);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fafafa !important;
}

.au-btn-ghost:hover { background: rgba(38, 38, 44, 0.9); border-color: rgba(255, 255, 255, 0.24); }

.au-btn-text {
    background: none;
    border: none;
    padding: 0;
    height: auto;
    color: #a1a1aa !important;
    font-weight: 500;
    font-size: 14px;
}

.au-btn-text:hover { color: #fafafa !important; }

/* ── 4. Accueil (connexion) ────────────────────────────────── */
.au-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

.au-hero-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 32px 96px;
}

.au-hero-copy { max-width: 720px; animation: au-rise 0.8s ease both; }

@keyframes au-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.au-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.14);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: var(--nc-violet-soft);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.au-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
}

.au-title {
    margin: 22px 0 0;
    font-family: var(--nc-font-display);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.au-title em {
    font-style: normal;
    background: linear-gradient(100deg, #c4b5fd 0%, #a78bfa 45%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.au-lead {
    margin: 20px 0 0;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.65;
    color: #c4c4cc;
}

.au-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.au-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    font-size: 13px;
    color: #8a8a93;
}

.au-note .au-ico { width: 16px; height: 16px; color: #a1a1aa; }

.au-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 1;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #8a8a93;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.au-scroll-hint .au-ico { animation: au-bob 2s ease-in-out infinite; }
@keyframes au-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Alertes */
.au-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fecaca;
    font-size: 14px;
    line-height: 1.55;
}

.au-alert .au-ico { color: #f87171; margin-top: 1px; }
.au-alert-info { background: rgba(124, 58, 237, 0.1); border-color: rgba(167, 139, 250, 0.3); color: #ddd6fe; }
.au-alert-info .au-ico { color: var(--nc-violet-light); }

/* Sections sous l'accueil */
.au-section {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 72px 32px;
}

.au-section-head { max-width: 640px; margin-bottom: 36px; }

.au-kicker {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nc-violet-light);
}

.au-h2 {
    margin: 0;
    font-family: var(--nc-font-display);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.au-sub { margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: #a1a1aa; }

.au-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.au-feature {
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(180deg, #151519 0%, #111114 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.au-feature:hover { border-color: rgba(167, 139, 250, 0.35); transform: translateY(-3px); }

.au-feature-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.14);
    color: var(--nc-violet-light);
    margin-bottom: 18px;
}

.au-feature h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.au-feature p { margin: 0; font-size: 14px; line-height: 1.6; color: #a1a1aa; }

/* Comment rejoindre */
.au-join {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
    padding: 40px;
    border-radius: 24px;
    background:
        radial-gradient(ellipse 70% 90% at 100% 0%, rgba(124, 58, 237, 0.22), transparent 60%),
        #111114;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.au-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }

.au-steps li { display: flex; gap: 16px; align-items: flex-start; }

.au-steps-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--nc-violet);
    font-size: 14px;
    font-weight: 700;
}

.au-steps strong { display: block; font-size: 15px; margin-bottom: 3px; }
.au-steps span { font-size: 14px; line-height: 1.55; color: #a1a1aa; }

.au-plans { display: grid; gap: 10px; align-content: center; }

.au-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.au-plan-name { font-weight: 700; font-size: 15px; }
.au-plan-desc { display: block; font-size: 13px; color: #8a8a93; margin-top: 2px; }
.au-plan-price { font-family: var(--nc-font-display); font-size: 24px; font-weight: 800; white-space: nowrap; }
.au-plan-price small { font-family: var(--nc-font); font-size: 12px; font-weight: 500; color: #8a8a93; }
.au-plan-premium { border-color: rgba(167, 139, 250, 0.4); background: rgba(124, 58, 237, 0.1); }
.au-plan-premium .au-plan-name { color: var(--nc-violet-light); }
.au-plan-ultimate .au-plan-name { color: var(--nc-violet-soft); }

.au-plans-cta { margin-top: 12px; }

/* Pied de page */
.au-footer {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 32px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #71717a;
    font-size: 13px;
}

.au-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.au-footer a { text-decoration: none; color: #a1a1aa; }
.au-footer a:hover { color: #fafafa; }

.au-body-signup .au-footer,
.au-body-denied .au-footer { border-top: none; justify-content: center; }

/* ── 5. Inscription ────────────────────────────────────────── */
.au-signup {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    gap: 64px;
    align-items: center;
    max-width: 1240px;
    min-height: calc(100vh - 170px);
    margin: 0 auto;
    padding: 16px 32px 48px;
}

.au-signup-intro { max-width: 520px; animation: au-rise 0.8s ease both; }
.au-signup-intro .au-title { font-size: clamp(36px, 4.6vw, 56px); }

.au-perks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.au-perks li { display: flex; gap: 14px; align-items: flex-start; }
.au-perks .au-feature-ico { margin: 0; width: 40px; height: 40px; border-radius: 11px; }
.au-perks strong { display: block; font-size: 15px; margin-bottom: 2px; }
.au-perks span { font-size: 14px; line-height: 1.55; color: #a1a1aa; }

.au-card {
    position: relative;
    padding: 32px;
    border-radius: 24px;
    /* Fond presque opaque plutôt qu'un flou (backdrop-filter) : le flou d'un fond animé est très coûteux */
    background: rgba(19, 19, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(124, 58, 237, 0.06);
    animation: au-rise 0.7s ease 0.1s both;
}

/* Étapes */
.au-stepper {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.au-stepper li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #71717a;
    transition: color 0.3s ease;
}

.au-stepper li::before {
    content: '';
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.4s ease;
}

.au-stepper li.is-active { color: #fafafa; }
.au-stepper li.is-active::before { background: var(--nc-violet); }
.au-stepper li.is-done { color: var(--nc-violet-light); }
.au-stepper li.is-done::before { background: rgba(167, 139, 250, 0.6); }

.au-step { animation: au-fade 0.35s ease both; }
@keyframes au-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.au-step-title { margin: 0; font-family: var(--nc-font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.au-step-text { margin: 8px 0 24px; font-size: 14px; line-height: 1.6; color: #a1a1aa; }

.au-field { margin-bottom: 18px; }

.au-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #d4d4d8;
}

.au-input {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border-radius: 12px;
    background: rgba(9, 9, 11, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fafafa;
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.au-input::placeholder { color: #3f3f46; letter-spacing: 0.22em; }
.au-input:focus { outline: none; border-color: var(--nc-violet-light); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2); }
.au-field.is-invalid .au-input { border-color: #f87171; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14); }

.au-hint { display: block; margin-top: 7px; font-size: 12px; color: #71717a; }
.au-field.is-invalid .au-hint { color: #fca5a5; }

.au-help {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 13px;
    line-height: 1.55;
    color: #8a8a93;
}

.au-help .au-ico { width: 18px; height: 18px; color: var(--nc-violet-light); margin-top: 1px; }

.au-account {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.28);
    font-size: 14px;
}

.au-account img,
.au-account .au-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #a78bfa, #6d28d9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.au-account small { display: block; color: #a1a1aa; font-size: 12px; }

.au-stack { display: grid; gap: 10px; }
.au-center { text-align: center; }
.au-back { display: inline-flex; margin-top: 16px; }

/* États de l'étape 3 */
.au-state { text-align: center; padding: 8px 0; animation: au-fade 0.35s ease both; }
.au-state .au-step-text { margin-bottom: 20px; }

.au-spinner {
    width: 52px;
    height: 52px;
    margin: 8px auto 22px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--nc-violet-light);
    animation: au-spin 0.9s linear infinite;
}

@keyframes au-spin { to { transform: rotate(360deg); } }

.au-badge-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 4px auto 20px;
    border-radius: 20px;
    background: rgba(124, 58, 237, 0.14);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: var(--nc-violet-light);
}

.au-badge-ico .au-ico { width: 28px; height: 28px; }
.au-badge-ico.is-error { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.3); color: #f87171; }

.au-ways { display: grid; gap: 10px; margin: 0 0 20px; text-align: left; }

.au-way {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 13px;
    line-height: 1.55;
    color: #a1a1aa;
}

.au-way strong { display: block; color: #fafafa; font-size: 14px; margin-bottom: 2px; }
.au-way .au-ico { color: var(--nc-violet-light); margin-top: 2px; }
.au-way a { color: var(--nc-violet-light); }

.au-poll {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 18px;
    font-size: 12px;
    color: #71717a;
}

.au-poll::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nc-violet-light);
    animation: au-pulse 1.6s ease-in-out infinite;
}

@keyframes au-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* Coche animée de réussite */
.au-check { width: 76px; height: 76px; margin: 0 auto 20px; display: block; }
.au-check circle { stroke: var(--nc-violet-light); stroke-width: 2; fill: rgba(124, 58, 237, 0.12); stroke-dasharray: 166; stroke-dashoffset: 166; animation: au-draw 0.6s ease forwards; }
.au-check path { stroke: #fafafa; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: au-draw 0.4s ease 0.5s forwards; }
@keyframes au-draw { to { stroke-dashoffset: 0; } }

.au-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 20;
    transform: translate(-50%, 20px);
    max-width: calc(100% - 32px);
    padding: 12px 18px;
    border-radius: 12px;
    background: #1f1f24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
    color: #fafafa;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.au-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ── 6. Accès refusé ───────────────────────────────────────── */
.au-denied {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 170px);
    padding: 16px 20px 48px;
}

.au-denied .au-card { width: 100%; max-width: 480px; text-align: center; }

/* ── 7. Adaptation écrans ──────────────────────────────────── */
@media (max-width: 1100px) {
    .au-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .au-signup { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
}

@media (max-width: 900px) {
    .au-signup { grid-template-columns: 1fr; justify-items: center; min-height: 0; padding-top: 8px; }
    .au-signup-intro { text-align: center; }
    .au-signup-intro .au-perks { display: none; }
    .au-signup-intro .au-lead { margin-left: auto; margin-right: auto; }
    .au-card { width: 100%; max-width: 520px; }
    .au-join { grid-template-columns: 1fr; padding: 28px; }
}

@media (max-width: 640px) {
    .au-top { padding: 18px 16px; }
    .au-top .au-wordmark { font-size: 17px; }
    .au-brand img { width: 30px; height: 30px; }
    .au-top-link { font-size: 13px; }
    .au-top-link .au-top-label { display: none; }
    .au-hero-inner { padding: 8px 16px 88px; justify-content: flex-end; }
    .au-lead { font-size: 16px; }
    .au-actions { flex-direction: column; }
    .au-actions .au-btn { width: 100%; }
    .au-section { padding: 52px 16px; }
    .au-features { grid-template-columns: 1fr; }
    .au-join { padding: 22px; border-radius: 20px; }
    .au-signup { padding: 0 16px 32px; gap: 24px; }
    .au-signup-intro .au-title { font-size: 32px; }
    .au-signup-intro .au-lead { font-size: 15px; margin-top: 10px; }
    .au-card { padding: 24px 20px; border-radius: 20px; }
    .au-footer { padding: 24px 16px 32px; justify-content: center; text-align: center; }
    .au-wall-shade {
        background:
            linear-gradient(180deg, rgba(9, 9, 11, 0.55) 0%, rgba(9, 9, 11, 0.7) 45%, rgba(9, 9, 11, 0.96) 80%, #09090b 100%),
            radial-gradient(ellipse 80% 50% at 80% 10%, rgba(124, 58, 237, 0.3), transparent 70%);
    }
}

/* Page de maintenance et page /statut */
.au-status { text-align: center; max-width: 480px; }
.au-badge-ico.au-badge-warn { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); color: #fbbf24; }
.au-badge-ico.au-badge-ok { background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.3); color: #4ade80; }
.au-status-box { display: grid; gap: 12px; margin: 0 0 20px; padding: 16px 18px; text-align: left; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); }
.au-status-box small { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8a8a93; }
.au-status-box strong { color: #fafafa; }
.au-status-box span { color: #d4d4d8; }
.au-status-list { list-style: none; margin: 0 0 20px; padding: 0; text-align: left; }
.au-status-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.07); color: #e4e4e7; font-size: 14px; }
.au-status-list li:first-child { border-top: 0; }
.au-status-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.au-status-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.au-status-dot.is-ok { color: #4ade80; }
.au-status-dot.is-down { color: #f87171; }

/* Page d'invitation (views/invitation.ejs) : champs de texte normaux */
.au-input.au-input-text { font-family: inherit; font-size: 16px; font-weight: 500; letter-spacing: normal; text-transform: none; }
.au-input.au-input-text::placeholder { letter-spacing: normal; }
.au-textarea { height: auto; min-height: 76px; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.au-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.au-inv-error { margin: -4px 0 14px; color: #fca5a5; }

/* Inscription : choix de l'offre (views/signup.ejs) */
.au-plans { border: 0; margin: 4px 0 20px; padding: 0; }
.au-plans legend { padding: 0; }
.au-plan { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(9, 9, 11, 0.6); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.au-plan input { accent-color: var(--nc-violet-light); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.au-plan-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.au-plan-main strong, .au-plan-price strong { color: #fafafa; font-size: 15px; }
.au-plan-main small, .au-plan-price small { color: #a1a1aa; font-size: 12px; }
.au-plan-price { text-align: right; display: flex; flex-direction: column; }
.au-plan:has(input:checked) { border-color: var(--nc-violet-light); background: rgba(124, 58, 237, 0.12); }
.au-plans .au-hint { margin-top: 4px; }
