:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-soft: #f5f7ff;
    --dark: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --border: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--white); 
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- LAYOUT UTILS --- */
.container-center { max-width: 1100px; margin: 0 auto; padding: 0 20px; text-align: center; }
.container-narrow { max-width: 750px; margin: 0 auto; padding: 0 20px; text-align: center; }
.py-20 { padding: 80px 0; }
.hidden { display: none !important; }

/* --- HEADER NAVIGATION PRO --- */
.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
}
.nav-item { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.95rem; }

.selected-lang {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: 0.2s;
}
.selected-lang:hover { border-color: var(--primary); }
.lang-options {
    position: absolute; top: 50px; right: 0;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 10px; width: 160px; box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    list-style: none; overflow: hidden;
}
.lang-options li {
    padding: 12px 15px; display: flex; align-items: center; gap: 10px;
    cursor: pointer; transition: 0.2s; text-align: left;
}
.lang-options li:hover { background: var(--primary-soft); color: var(--primary); }

/* --- HERO & TITRE RESPONSIVE --- */
.hero-section { padding: 80px 0; background: linear-gradient(to bottom, var(--bg-light), var(--white)); }
.hero-title {
    font-size: clamp(1.8rem, 8vw, 3.2rem); /* Réduction auto sur mobile */
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hero-subtitle { color: var(--text-muted); max-width: 650px; margin: 0 auto 35px; font-size: 1.1rem; }

.status-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white); padding: 6px 16px; border-radius: 20px;
    border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--success);
    margin-bottom: 25px;
}
.status-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }

.counter-box { margin-bottom: 35px; }
#user-count { font-size: clamp(2.5rem, 10vw, 3.5rem); font-weight: 800; color: var(--primary); display: block; }

.btn-hero {
    background: var(--primary); color: white; padding: 18px 40px;
    border-radius: 14px; text-decoration: none; font-weight: 600; transition: 0.3s;
    display: inline-block; font-size: 1.1rem;
}
.btn-hero:hover { background: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2); }

/* --- STEPS --- */
.steps-section { padding: 60px 0; }
.steps-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 40px; margin-top: 50px; 
}
.step-card { padding: 20px; }
.step-num { 
    width: 50px; height: 50px; background: var(--primary-soft); color: var(--primary);
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; margin: 0 auto 20px; font-weight: 800; font-size: 1.2rem;
}

/* --- GALERIE LOGOS (IMAGES GRANDES & SANS BORDURES) --- */
.bg-light { background-color: var(--bg-light); }
.grid-logos {
    display: grid;
    grid-template-columns: 1fr; /* 1 par 1 sur mobile */
    gap: 30px;
    padding: 40px 0;
}

@media (min-width: 640px) { .grid-logos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-logos { grid-template-columns: repeat(4, 1fr); } }

.card-link {
    display: block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 10px; /* Espace pour le hover */
}

.card-link img { 
    width: 100%; 
    height: auto; 
    max-width: 280px; /* Limite pour ne pas pixéliser sur très grand écran */
    object-fit: contain;
    /* Suppression des bordures et fonds ici */
    border: none;
    border-radius: 0; 
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.08)); /* Ombre légère pour le relief */
}

.card-link:hover { 
    transform: scale(1.08); 
}

/* --- FAQ CENTRÉE --- */
.faq-container { margin-top: 40px; }
.accordion-item { 
    border: 1px solid var(--border); 
    border-radius: 15px; 
    margin-bottom: 15px; 
    background: var(--white);
    text-align: left;
}
.accordion-button {
    width: 100%; padding: 22px 25px; background: none; border: none;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-family: inherit; font-weight: 600; color: var(--dark);
    font-size: 1.05rem;
}
.accordion-body { padding: 0 25px 25px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* --- FOOTER PRO --- */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
    margin-top: 80px;
}
.footer-grid {
    display: flex; flex-direction: column; align-items: center; gap: 40px; margin-bottom: 50px;
}
@media (min-width: 768px) {
    .footer-grid { flex-direction: row; justify-content: space-between; text-align: left; align-items: flex-start; }
}
.footer-brand h3 { font-size: 1.8rem; margin-bottom: 12px; letter-spacing: -0.5px; }
.footer-brand p { color: #94a3b8; font-size: 1rem; }

.footer-nav { display: flex; gap: 30px; }
.footer-nav a { color: #cbd5e1; text-decoration: none; font-size: 1rem; transition: 0.3s; }
.footer-nav a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; }
.copyright { font-size: 0.9rem; color: #64748b; }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }