/* Styles spécifiques à la page de dons */

/* Bannière */
.donation-banner {
    background: url('../images/fond-ntpn.jpg') no-repeat center center;
    background-size: cover;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    margin-top: 40px;
}

.donation-banner h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: none;
}

.donation-banner p {
    font-size: 1.3rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.tax-reduction {
    background: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    padding: 20px 40px;
    border-radius: 50px;
    margin: 20px 0;
    box-shadow: 0 8px 20px rgba(226, 0, 122, 0.3);
    color: white;
}

.tax-reduction .percentage {
    font-size: 3.5rem;
    font-weight: 800;
    margin-right: 15px;
    line-height: 1;
    color: white;
}

.tax-reduction .text {
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 500;
    color: white;
}

/* Cartes de dons */
.donation-methods {
    padding: 80px 0;
}

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

.donation-card {
    background: white;
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(9, 53, 123, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(226, 0, 122, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary-color);
    font-size: 28px;
    transition: all 0.3s ease;
}

.donation-card:hover .card-icon {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.donation-card h3 {
    color: var(--primary-color);
    margin: 0 0 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.donation-card p {
    color: var(--text-color);
    margin: 0 0 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.donation-card address {
    font-style: normal;
    margin: 15px 0 20px;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}


/* Section avantages fiscaux */
.tax-info {
    padding: 80px 0;
    background: #f8f9fa;
}

.tax-info-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tax-info h2 {
    text-align: center;
    color: var(--primary-color);
    margin: 0 0 50px;
    position: relative;
    padding-bottom: 15px;
    font-size: 2.2rem;
}

.tax-info h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.tax-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.benefit {
    text-align: center;
    padding: 35px 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(226, 0, 122, 0.1);
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.benefit:hover i {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.benefit p {
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

.tax-note {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 20px 25px;
    background: white;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.tax-note:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(226, 0, 122, 0.03);
    z-index: 0;
}

.tax-note p {
    position: relative;
    margin: 0;
    color: var(--text-color);
    line-height: 1.7;
    z-index: 1;
}

.tax-note strong {
    color: var(--secondary-color);
}

/* Témoignage */
.testimonial {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--primary-color), #0d47a1);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.quote-icon {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 20px;
    line-height: 1;
    transition: all 0.3s ease;
}

.testimonial:hover .quote-icon {
    transform: scale(1.1) rotate(5deg);
}

.testimonial blockquote {
    font-size: 1.3rem;
    line-height: 1.8;
    font-style: italic;
    margin: 0 0 25px;
    position: relative;
    padding: 0 20px;
}

.testimonial cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    position: relative;
    padding-top: 15px;
}

.testimonial cite:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .donation-banner {
        padding: 80px 0;
    }
    
    .donation-banner h1 {
        font-size: 2.5rem;
    }
    
    .tax-benefits {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 40px;
    }
}

@media (max-width: 768px) {
    .donation-banner {
        padding: 60px 0;
    }
    
    .donation-banner h1 {
        font-size: 2rem;
    }
    
    .tax-reduction {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .tax-reduction .percentage {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .donation-card {
        padding: 30px 20px;
    }
    
    .donation-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 30px auto 0;
    }
}

@media (max-width: 480px) {
    .donation-banner h1 {
        font-size: 1.8rem;
    }
    
    .tax-reduction .percentage {
        font-size: 2.5rem;
    }
    
    .tax-reduction .text {
        font-size: 1rem;
    }
    
    .donation-methods,
    .tax-info,
    .testimonial {
        padding: 50px 0;
    }
    
    .donation-card h3 {
        font-size: 1.3rem;
    }
}
