:root {
    --primary-color: #fad303;
    --secondary-color: #e68900;
    --accent-color: #EBAA06CB;
    --dark-color: #2c3e50;
    --light-color: #f9f9f9;
}

/* Import des polices Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Montserrat Medium pour le body */
    color: var(--dark-color);
    background-color: #f5f5f5;
    line-height: 1.6;
}

.p_he {
    font-family: 'Montserrat', sans-serif;
}

/* Header Section */
.header-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;  
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z"></path></svg>');
    opacity: 0.1;
    z-index: 0;
}

.header-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-title {
    font-family: 'Cinzel', serif; /* Cinzel pour les grands titres */
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out;
}

.header-subtitle {
    font-size: 1.3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Montserrat Bold pour les sous-titres */
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 0.5s forwards;
}

/* Payment Methods Section */
.payment-section {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-family: 'Cinzel', serif; /* Cinzel pour les titres de section */
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Montserrat Bold pour les titres */
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.payment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.payment-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(20px);
    opacity: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.payment-card.visible {
    animation: cardEntrance 0.8s ease-out forwards;
}

.payment-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.payment-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 25px;
    text-align: center;
}

.payment-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.payment-title {
    font-family: 'Cinzel', serif; /* Cinzel pour les titres de cartes */
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.payment-body {
    padding: 25px;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.payment-method:hover {
    background-color: rgba(250, 211, 3, 0.05);
}

.payment-method:last-child {
    border-bottom: none;
}

.method-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(250, 211, 3, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.method-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.method-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Montserrat Bold pour les sous-titres */
    font-size: 1rem;
    margin-bottom: 3px;
    color: var(--dark-color);
}

.method-info p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Montserrat Medium pour le texte */
    font-size: 0.85rem;
    color: #666;
}

/* Modal Styles */
.modal-payment .modal-content {
    border-radius: 12px;
    border: none;
}

.modal-payment .modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.modal-payment .modal-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Montserrat Bold pour les titres de modales */
}

.modal-payment .modal-body {
    padding: 25px;
}

.payment-steps {
    list-style-type: none;
    padding-left: 0;
}

.payment-steps li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Montserrat Medium pour le texte */
}

.payment-steps li:last-child {
    border-bottom: none;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Subscription Section */
.subscription-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

.subscription-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding: 0 20px;
}

.subscription-text {
    flex: 0 0 50%;
    padding-right: 40px;
    box-sizing: border-box;
}

.subscription-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Montserrat Bold pour les titres */
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.subscription-text p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Montserrat Medium pour le texte */
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.subscription-logo {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 40px;
    box-sizing: border-box;
}

.church-logo {
    max-width: 200px;
    margin-bottom: 30px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.subscribe-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #d35400);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Montserrat Bold pour le bouton */
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.subscribe-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.subscribe-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}

.subscribe-btn:hover::before {
    left: 100%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .payment-cards {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 991.98px) {
    .header-title {
        font-size: 3rem;
    }

    .subscription-container {
        flex-direction: column;
    }

    .subscription-text {
        flex: 0 0 100%;
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .subscription-logo {
        flex: 0 0 100%;
        padding-left: 0;
    }
}

@media (max-width: 767.98px) {
    .header-section {
        padding: 60px 0;
    }

    .header-title {
        font-size: 2.5rem;
    }

    .header-subtitle {
        font-size: 1.1rem;
    }

    .payment-section,
    .subscription-section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 575.98px) {
    .header-title {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .subscription-text h2 {
        font-size: 2rem;
    }

    .payment-cards {
        grid-template-columns: 1fr;
    }

    .subscribe-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}