/* Paywall Préparation Armée — modal deux colonnes (sombre + clair) */

.ca-paywall-dialog {
    position: relative;
    border: none;
    border-radius: 16px;
    padding: 0;
    max-width: min(920px, calc(100vw - 24px));
    width: 100%;
    background: transparent;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ca-paywall-dialog::backdrop {
    background: rgba(0, 0, 0, 0.55);
}

.ca-paywall-dialog__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    border-radius: 16px;
    overflow: hidden;
}

@media (max-width: 720px) {
    .ca-paywall-dialog__grid {
        grid-template-columns: 1fr;
    }
}

.ca-paywall-dialog__left {
    background: #121212;
    color: #f5f5f5;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.ca-paywall-dialog__left::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 140%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(232, 100, 82, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.ca-paywall-dialog__kicker {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e86452;
    margin: 0 0 12px;
    font-weight: 600;
}

.ca-paywall-dialog__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 14px;
    color: #fff;
}

.ca-paywall-dialog__lead {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.ca-paywall-dialog__price-block {
    margin-top: 28px;
    position: relative;
    z-index: 1;
}

.ca-paywall-dialog__price-label {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 6px;
    font-family: system-ui, sans-serif;
}

.ca-paywall-dialog__price {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.5rem, 6vw, 3.25rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1;
}

.ca-paywall-dialog__guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: system-ui, sans-serif;
}

.ca-paywall-dialog__guarantee svg {
    flex-shrink: 0;
    opacity: 0.75;
}

.ca-paywall-dialog__right {
    background: #fff;
    color: #111;
    padding: 26px 24px 22px;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.ca-paywall-dialog__features {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    flex: 1;
}

.ca-paywall-dialog__feature {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 14px;
    padding: 12px 0;
    border-bottom: 1px solid #ececec;
}

.ca-paywall-dialog__feature:first-child {
    padding-top: 0;
}

.ca-paywall-dialog__feature-num {
    font-size: 0.85rem;
    font-weight: 600;
    color: #b0b0b0;
    line-height: 1.35;
}

.ca-paywall-dialog__feature-body {
    min-width: 0;
}

.ca-paywall-dialog__feature-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 0 4px;
    color: #111;
}

.ca-paywall-dialog__feature-desc {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #555;
}

.ca-paywall-dialog__plans {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.ca-paywall-plan {
    display: block;
    cursor: pointer;
    border-radius: 10px;
    border: 2px solid #e4e4e4;
    padding: 10px 12px;
    transition: border-color 0.15s, background 0.15s;
}

.ca-paywall-plan:hover {
    border-color: #cfcfcf;
}

.ca-paywall-plan input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ca-paywall-plan__inner {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.ca-paywall-plan__label {
    font-weight: 700;
    font-size: 0.88rem;
}

.ca-paywall-plan__meta {
    font-size: 0.8rem;
    color: #666;
}

.ca-paywall-plan__price {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111;
    white-space: nowrap;
}

.ca-paywall-plan--selected {
    border-color: #e86452;
    background: rgba(232, 100, 82, 0.06);
}

.ca-paywall-dialog__cta {
    display: block;
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: system-ui, sans-serif;
    color: #fff;
    background: #e86452;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.ca-paywall-dialog__cta:hover {
    background: #d55544;
}

.ca-paywall-dialog__cta:active {
    transform: scale(0.99);
}

.ca-paywall-dialog__cta:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.ca-paywall-dialog__secondary {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 0.82rem;
    color: #555;
}

.ca-paywall-dialog__secondary a {
    color: #333;
    font-weight: 500;
}

.ca-paywall-dialog__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ca-paywall-dialog__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ca-paywall-dialog__right-wrap {
    position: relative;
}

@media (max-width: 720px) {
    .ca-paywall-dialog__close {
        background: rgba(0, 0, 0, 0.45);
    }
}
