/* ========================================
   PAGE FINANCEMENT - STYLES
   ======================================== */

/* Hero Financement */
.financement-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #0F1216 0%, #1a1d24 100%);
    position: relative;
    overflow: hidden;
}

.financement-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
}

.financement-hero__content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.financement-hero__title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.financement-hero__subtitle {
    font-size: 1.25rem;
    color: #B0B7C3;
    margin-bottom: 2rem;
}

/* Section Options Financement */
.financement-options {
    padding: 5rem 0;
    background: #0F1216;
}

.financement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Carte Financement */
.financement-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.financement-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

/* Carte Featured (IDF) */
.financement-card--featured {
    border-color: rgba(254, 240, 13, 0.3);
    box-shadow: 0 8px 30px rgba(254, 240, 13, 0.1);
}

.financement-card--featured:hover {
    border-color: #F5C400;
    box-shadow: 0 15px 40px rgba(254, 240, 13, 0.25);
}

/* Badge */
.financement-card__badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #F5C400 0%, #EAB308 100%);
    color: #000000;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
}

/* Icon */
.financement-card__icon {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #3B82F6;
    transition: all 0.3s ease;
}

.financement-card__icon--yellow {
    background: rgba(254, 240, 13, 0.1);
    color: #F5C400;
}

.financement-card:hover .financement-card__icon {
    transform: scale(1.1) rotate(5deg);
}

/* Title & Text */
.financement-card__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.financement-card__text {
    color: #B0B7C3;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

/* Details */
.financement-card__details {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
}

.financement-card__details p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.financement-card__details p:last-child {
    margin-bottom: 0;
}

.financement-card__details strong {
    color: #3B82F6;
    font-weight: 700;
}

.financement-card--featured .financement-card__details strong {
    color: #F5C400;
}

/* Note */
.financement-card__note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    color: rgba(176, 183, 195, 0.9);
    font-size: 0.875rem;
    margin-top: auto;
}

.financement-card__note svg {
    color: #3B82F6;
    flex-shrink: 0;
}

/* Button */
.financement-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: #3B82F6;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.financement-card__btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3B82F6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
}

.financement-card__btn--yellow {
    background: rgba(254, 240, 13, 0.1);
    border-color: rgba(254, 240, 13, 0.3);
    color: #F5C400;
}

.financement-card__btn--yellow:hover {
    background: rgba(254, 240, 13, 0.15);
    border-color: #F5C400;
    box-shadow: 0 6px 20px rgba(254, 240, 13, 0.2);
}

/* CTA Section */
.financement-cta {
    margin-top: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
}

.financement-cta__content {
    max-width: 700px;
    margin: 0 auto;
}

.financement-cta__title {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.financement-cta__text {
    font-size: 1.125rem;
    color: #B0B7C3;
    margin-bottom: 2rem;
}

.financement-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary{
    padding:10px 25px;border-radius:10px;
}
/* Responsive */
@media (max-width: 768px) {
    .financement-hero {
        padding: 6rem 0 3rem;
    }
    
    .financement-options {
        padding: 3rem 0;
    }
    
    .financement-grid {
        grid-template-columns: 1fr;
    }
    
    .financement-card {
        padding: 2rem;
    }
    
    .financement-cta {
        padding: 2rem;
    }
    
    .financement-cta__buttons {
        flex-direction: column;
    }
    
    .financement-cta__buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .financement-card__icon {
        width: 64px;
        height: 64px;
    }
    
    .financement-card__icon svg {
        width: 32px;
        height: 32px;
    }
    
    .financement-card__badge {
        font-size: 0.6875rem;
        padding: 0.375rem 0.75rem;
    }
}
.financement-options{
  position: relative;
  overflow: hidden; /* évite que le pseudo-élément dépasse */
}

.financement-options::before{
  content: "";
  position: absolute;
  inset: 0;
  background: url("../bg.jpg") center/cover no-repeat; /* adapte le chemin */
  opacity: 0.1; /* <-- ici */
  z-index: 0;
}

.financement-options > *{
  position: relative;
  z-index: 1; /* contenu au-dessus */
}
