body {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e88e5, #9c27b0);
    color: white;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    position: relative;
    overflow-x: hidden;
}
:root{
    --font-family: 'Inter', 'Segoe UI', sans-serif;
}
.background-particles {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
}
.partenaires-hero {
    position: relative;
    z-index: 2;
}
.logo-halo {
    position: relative;
    display: inline-block;
}
.logo-halo::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.1) 70%, transparent 100%);
    filter: blur(18px);
    z-index: 0;
}
.logo-halo img {
    position: relative;
    z-index: 1;
}
.partenaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.2rem;
    max-width: 980px;
    margin: 0 auto;
    justify-content: center;
    align-items: stretch;
}
@media (min-width: 992px) {
    .partenaires-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 991px) and (min-width: 600px) {
    .partenaires-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 599px) {
    .partenaires-grid {
        grid-template-columns: 1fr;
    }
}
.feature-card {
    border-radius: 18px;
    min-height: 170px;
    background: rgba(255,255,255,0.13);
    box-shadow: 0 8px 32px rgba(30,136,229,0.13);
    border: 1.5px solid rgba(255,255,255,0.22);
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s, border 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.feature-card:hover {
    box-shadow: 0 8px 32px 0 rgba(30,136,229,0.22), 0 0 16px 2px #fff5;
    background: rgba(255,255,255,0.22);
    border: 1.5px solid rgba(127,208,255,0.32);
    transform: translateY(-6px) scale(1.045);
}
/* Accélérer les animations Animate.css */
.animate__animated {
    --animate-duration: 1s !important;
}
.animate__delay-1s {
    animation-delay: 0.5s !important;
}
.animate__delay-2s {
    animation-delay: 1s !important;
}
/* Modal overlay */
.partenaire-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(30, 24, 54, 0.45);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.partenaire-modal-card {
    background: linear-gradient(135deg, #1e88e5 60%, #9c27b0 100%);
    color: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 48px 0 rgba(30,136,229,0.18), 0 0 32px 2px #7fd0ff33;
    padding: 2.5rem 2rem 2rem 2rem;
    min-width: 340px;
    max-width: 410px;
    width: 100%;
    position: relative;
    overflow: hidden;
    animation-duration: 0.5s;
}
@media (max-width: 500px) {
    .partenaire-modal-card {
        min-width: 0;
        max-width: 98vw;
        padding: 1.2rem 0.5rem 1.5rem 0.5rem;
    }
}
.modal-close {
    position: absolute;
    top: 18px; right: 22px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.modal-close:hover {
     opacity: 1;
     color: #9c27b0 !important;
     background: none !important;
    }
.modal-progress {
    width: 100%;
    height: 7px;
    background: rgba(255,255,255,0.13);
    border-radius: 6px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.modal-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #7fd0ff, #9c27b0);
    border-radius: 6px;
    width: 0%;
    transition: width 0.4s cubic-bezier(.4,1.4,.6,1);
}
.modal-step {
    display: none;
    flex-direction: column;
    align-items: center;
    animation-duration: 0.5s;
}
.modal-step.active {
    display: flex;
    animation-name: fadeInUp;
}
.modal-step-icon {
    font-size: 2.7rem;
    margin-bottom: 0.7rem;
    color: #7fd0ff;
    text-shadow: 0 2px 12px #1e88e5aa;
}
.modal-step-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-align: center;
}
.modal-step-desc {
    color: #e3f2fd;
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
    text-align: center;
}
.modal-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #e3f2fd;
    width: 100%;
    text-align: left;
}
.modal-input {
    width: 100%;
    padding: 0.7em 1em;
    border-radius: 12px;
    border: none;
    margin-bottom: 1.2rem;
    font-size: 1.08rem;
    background: rgba(255,255,255,0.13);
    color: #fff;
    box-shadow: 0 2px 8px #1e88e51a;
    outline: none;
    transition: background 0.2s, box-shadow 0.2s;
}
.modal-input:focus {
    background: rgba(255,255,255,0.22);
    box-shadow: 0 4px 16px #7fd0ff33;
}
.modal-actions {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 1.2rem;
}
.btn.modal-next, .btn.modal-prev {
    min-width: 110px;
}
/* Animate.css override for faster transitions */
.animate__animated { --animate-duration: 0.5s !important; }
.animate__delay-1s { animation-delay: 0.2s !important; }
.animate__delay-2s { animation-delay: 0.4s !important; }
/* Placeholders blancs et plus visibles dans les inputs du modal */
.modal-input::placeholder {
    color: #e3f2fd !important;
    opacity: 1;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-family: var(--font-family);
}