/* =============================================================================
   REVERENTIA - Modal Store Alert (specifique)
   Charte luxe : Bodoni Moda titres, Plus Jakarta Sans corps, or #eac880,
   noir profond #0A0A0A, creme #f5f0eb.
   Scope : .rev-store-alert dans .rev-modal-loader__shell
   ============================================================================= */

.rev-store-alert {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: #f5f0eb;
    background: #0A0A0A;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ---- Banniere ---- */
.rev-store-alert__banner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    flex-shrink: 0;
}
.rev-store-alert__banner picture,
.rev-store-alert__banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rev-store-alert__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0) 50%, rgba(10,10,10,0.85) 100%);
    pointer-events: none;
}
@media (max-width: 768px) {
    .rev-store-alert__banner {
        aspect-ratio: 16 / 9;
    }
}

/* ---- Body ---- */
.rev-store-alert__body {
    padding: 32px 32px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.rev-store-alert__body[hidden] { display: none; }

@media (max-width: 768px) {
    .rev-store-alert__body {
        padding: 28px 24px 20px;
    }
}

.rev-store-alert__title {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-weight: 400;
    font-size: 1.65rem;
    line-height: 1.25;
    margin: 0 0 16px;
    color: #f5f0eb;
    text-align: center;
    letter-spacing: 0.02em;
}
.rev-store-alert__title--thanks {
    color: #eac880;
    font-style: italic;
}

.rev-store-alert__intro {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(245, 240, 235, 0.82);
    margin: 0 0 24px;
    text-align: center;
}

/* ---- Divider or ---- */
.rev-store-alert__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
}
.rev-store-alert__divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(234, 200, 128, 0.4), transparent);
}
.rev-store-alert__divider-cross {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}

/* ---- Form ---- */
.rev-store-alert__form {
    display: flex;
    flex-direction: column;
}
.rev-store-alert__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(234, 200, 128, 0.7);
    margin-bottom: 10px;
    text-align: center;
}
.rev-store-alert__inputrow {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(234, 200, 128, 0.35);
    transition: border-color 200ms ease;
}
.rev-store-alert__inputrow:focus-within {
    border-color: #eac880;
}
.rev-store-alert__input {
    flex: 1;
    background: transparent;
    border: none;
    color: #f5f0eb;
    padding: 12px 4px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}
.rev-store-alert__input::placeholder {
    color: rgba(245, 240, 235, 0.35);
    font-style: italic;
}
.rev-store-alert__submit {
    background: transparent;
    border: none;
    color: #eac880;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 250ms ease, color 250ms ease;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rev-store-alert__submit:hover,
.rev-store-alert__submit:focus-visible {
    color: #f0d9a0;
    transform: translateX(4px);
    outline: none;
}
.rev-store-alert__submit:disabled {
    opacity: 0.4;
    cursor: wait;
    transform: none;
}
.rev-store-alert__submit-arrow {
    display: inline-block;
}
.rev-store-alert__error {
    color: #d68a8a;
    font-size: 0.85rem;
    margin: 10px 0 0;
    text-align: center;
}

/* Honeypot (cache hors-ecran) */
.rev-store-alert__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---- State : success ---- */
.rev-store-alert__cross-large {
    display: block;
    width: 48px;
    height: 48px;
    margin: 14px auto 22px;
}
.rev-store-alert__success-text {
    font-size: 0.98rem;
    line-height: 1.7;
    text-align: center;
    color: rgba(245, 240, 235, 0.88);
    margin: 0 0 16px;
}
.rev-store-alert__success-confirm {
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
    color: rgba(234, 200, 128, 0.75);
    margin: 12px 0 0;
    font-style: italic;
}

/* ---- State : already-subscribed ---- */
.rev-store-alert__actions-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.rev-store-alert__action-btn {
    background: transparent;
    border: 1px solid #eac880;
    color: #eac880;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease;
}
.rev-store-alert__action-btn:hover,
.rev-store-alert__action-btn:focus-visible {
    background: #eac880;
    color: #0A0A0A;
    outline: none;
}
.rev-store-alert__action-btn--ghost {
    border-color: rgba(245, 240, 235, 0.25);
    color: rgba(245, 240, 235, 0.7);
}
.rev-store-alert__action-btn--ghost:hover,
.rev-store-alert__action-btn--ghost:focus-visible {
    background: rgba(245, 240, 235, 0.1);
    color: #f5f0eb;
}

/* ---- Footer RGPD ---- */
.rev-store-alert__footer {
    padding: 16px 24px 22px;
    border-top: 1px solid rgba(245, 240, 235, 0.08);
    font-size: 0.72rem;
    line-height: 1.55;
    color: rgba(245, 240, 235, 0.5);
    text-align: center;
}
.rev-store-alert__rgpd {
    display: block;
    margin-bottom: 4px;
}
.rev-store-alert__rgpd-link {
    color: rgba(234, 200, 128, 0.7);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.rev-store-alert__rgpd-link:hover {
    color: #eac880;
}
