/* ========================================
   PAGE ABONNEMENT - STYLES
   ======================================== */

/* Hero Association */
.association-hero {
    min-height: 70vh;
    background: linear-gradient(135deg, #1a0000 0%, #2d0505 50%, #1a0000 100%);
    position: relative;
    overflow: hidden;
}

.association-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

/* Section Présentation */
.presentation-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0000 0%, #1a0505 100%);
}

/* Section Abonnement */
.subscription-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a0505 0%, #0a0000 100%);
    position: relative;
}

.subscription-card-wrapper {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.subscription-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 30px;
    padding: 3rem;
    max-width: 800px;
    width: 100%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.subscription-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.subscription-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange-fire);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.subscription-card:hover::before {
    opacity: 1;
}

.subscription-card.featured {
    border-color: var(--gold-primary);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-gold);
    color: var(--primary-black);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-gold);
}

.card-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.subscription-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: var(--white-pure);
    margin-bottom: 1rem;
}

.subscription-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0 1rem 0;
}

.currency {
    font-size: 2rem;
    color: var(--gold-primary);
    font-weight: 600;
    margin-top: 0.5rem;
}

.amount {
    font-size: 5rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.period {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    align-self: flex-end;
    margin-bottom: 1rem;
}

.subscription-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Features */
.card-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 107, 53, 0.05);
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateX(10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-fire);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-glow);
}

.feature-text h4 {
    color: var(--white-pure);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Bouton d'abonnement */
.card-footer {
    text-align: center;
    position: relative;
    z-index: 1;
}

.btn-subscribe {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: var(--gradient-fire);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glow);
}

.btn-subscribe:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.5);
}

/* Section Contact */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0000 0%, #1a0505 100%);
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    color: var(--white-pure);
    margin-bottom: 1rem;
}

.contact-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    color: var(--white-pure);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--orange-fire);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--orange-fire);
}

/* ========================================
   MODALES
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid var(--orange-fire);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.modal-container.large {
    max-width: 800px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--white-pure);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: var(--gold-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-price {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-body {
    padding: 2rem;
}

.modal-description {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-modal {
    flex: 1;
    min-width: 200px;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-modal.primary {
    background: var(--gradient-fire);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-modal.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

.btn-modal.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white-pure);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-modal.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-modal.full-width {
    width: 100%;
}

/* Cart Summary */
.cart-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    color: var(--white-pure);
    font-size: 1.1rem;
}

/* Donation Section */
.donation-section {
    margin: 2rem 0;
}

.donation-section h4 {
    color: var(--gold-primary);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.donation-description {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.donation-option {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.donation-option:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-3px);
}

.donation-option.selected {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--orange-fire);
}

.donation-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.donation-amount {
    color: var(--white-pure);
    font-size: 1.5rem;
    font-weight: 700;
}

.custom-donation-input {
    margin-top: 1rem;
}

.custom-donation-input label {
    display: block;
    color: var(--white-pure);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.custom-donation-input input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white-pure);
    font-size: 1.1rem;
}

.custom-donation-input input:focus {
    outline: none;
    border-color: var(--orange-fire);
    background: rgba(255, 255, 255, 0.08);
}

/* Total Summary */
.total-summary {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: var(--white-pure);
}

.total-row.total-final {
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    margin-top: 0.75rem;
    padding-top: 1rem;
    font-size: 1.3rem;
    color: var(--gold-primary);
}

/* Formulaire */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--white-pure);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white-pure);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-fire);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white-pure);
    text-align: left;
}

.payment-method:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
}

.payment-method.selected {
    border-color: var(--orange-fire);
    background: rgba(255, 107, 53, 0.1);
}

.payment-method i {
    font-size: 2rem;
    color: var(--orange-fire);
}

.payment-method strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.payment-method span {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Payment Summary */
.payment-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.payment-summary h4 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

/* Panier flottant */
.cart-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-fire);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
    z-index: 9999;
}

.cart-floating:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    background: var(--gradient-gold);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .subscription-card {
        padding: 2rem 1.5rem;
    }
    
    .subscription-title {
        font-size: 2rem;
    }
    
    .amount {
        font-size: 4rem;
    }
    
    .card-features {
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.2rem;
    }
    
    .btn-subscribe {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .btn-modal {
        width: 100%;
    }
    
    .donation-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cart-floating {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .subscription-title {
        font-size: 1.5rem;
    }
    
    .amount {
        font-size: 3rem;
    }
    
    .feature-text h4 {
        font-size: 1rem;
    }
    
    .feature-text p {
        font-size: 0.9rem;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .modal-price {
        font-size: 2rem;
    }
    
    .donation-options {
        grid-template-columns: 1fr;
    }
}

/* Notices spéciales */
.checkout-notice {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    margin-bottom: 2rem;
}

