/* ==========================================================================
   KIESBIPAY - FEUILLE DE STYLE COMPLETE : FAQ.CSS
   Version : 2.0 (Autonome, Complète & Full Responsive)
   Fichiers associés : faq.html & faq.js
   ========================================================================== */

/* ========================================== */
/* 1. VARIABLES GLOBALES & RESET GENERAL      */
/* ========================================== */
:root {
    --primary-blue: #0B192C;
    --secondary-blue: #1E3E62;
    --accent-cyan: #008DDA;
    --accent-gold: #F39C12;
    --accent-orange: #E67E22;
    --accent-green: #2ECC71;
    --text-dark: #1F2937;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --black: #000000;
    --border-color: #E2E8F0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 18px rgba(11, 25, 44, 0.08);
    --shadow-lg: 0 12px 32px rgba(11, 25, 44, 0.12);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --container-width: 1200px;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================== */
/* 2. BOUTONS, BADGES ET CLASSES UTILITAIRES  */
/* ========================================== */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-sm { padding: 7px 14px; font-size: 0.8rem; }
.btn-lg { padding: 12px 24px; font-size: 1rem; }
.btn-xl { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { 
    background: var(--accent-orange); 
    color: var(--white); 
    border-radius: 6px; 
    font-weight: 700; 
}
.btn-primary:hover { 
    background: var(--accent-gold); 
    color: var(--black); 
    transform: translateY(-2px); 
    box-shadow: var(--shadow-md); 
}

.btn-secondary { 
    background: rgba(255, 255, 255, 0.12); 
    color: var(--white); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    border-radius: 6px; 
    font-weight: 700; 
}
.btn-secondary:hover { 
    background: rgba(255, 255, 255, 0.22); 
    color: var(--white); 
}

.btn-outline { 
    background: transparent; 
    color: var(--primary-blue); 
    border: 1.5px solid var(--primary-blue); 
    padding: 6px 14px; 
    border-radius: 6px; 
    font-weight: 700; 
    font-size: 0.88rem; 
}
.btn-outline:hover { 
    background: var(--primary-blue); 
    color: var(--white); 
}

.btn-gold { 
    background: var(--accent-gold); 
    color: var(--primary-blue); 
}
.btn-gold:hover { 
    background: var(--accent-orange); 
    color: var(--white); 
    transform: translateY(-2px); 
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    font-weight: 700;
}
.btn-whatsapp:hover {
    background: #1EBE5D;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-outline-gold {
    background: transparent;
    border: 1.5px solid var(--accent-gold);
    color: var(--accent-gold);
    font-weight: 700;
}
.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Badges Couleurs Mega Menu */
.badge-mini {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
}

.bg-blue { background: #2563EB; color: var(--white); }
.bg-indigo { background: #4F46E5; color: var(--white); }
.bg-cyan { background: #0891B2; color: var(--white); }
.bg-orange { background: #EA580C; color: var(--white); }
.bg-purple { background: #9333EA; color: var(--white); }
.bg-purple-dark { background: #6B21A8; color: var(--white); }
.bg-green { background: #16A34A; color: var(--white); }
.bg-teal { background: #0D9488; color: var(--white); }
.bg-dark { background: #1F2937; color: var(--white); }
.bg-red { background: #DC2626; color: var(--white); }
.bg-red-dark { background: #991B1B; color: var(--white); }
.bg-gold { background: var(--accent-gold); color: var(--primary-blue); }
.bg-success { background: var(--accent-green); color: var(--white); }
.bg-primary { background: var(--accent-cyan); color: var(--white); }

.text-gold { color: var(--accent-gold); }
.text-success { color: var(--accent-green); }
.text-blue { color: var(--accent-cyan); }
.text-green { color: #25D366; }
.text-center { text-align: center; }

/* ========================================== */
/* 3. PRELOADER KIESBIPAY                     */
/* ========================================== */
#kiesbipay-preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--primary-blue);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#kiesbipay-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.preloader-logo {
    width: 130px;
    height: auto;
    margin: 0 auto 20px;
    animation: pulse 1.5s infinite alternate;
}

.preloader-spinner {
    width: 40px; height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 0.8s linear infinite;
}

.preloader-text {
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    color: #94A3B8;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { from { transform: scale(0.95); } to { transform: scale(1.05); } }

/* ========================================== */
/* 4. EN-TÊTE PRINCIPAL (HEADER & NAVBAR)     */
/* ========================================== */
.kiesbi-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 12px 0;
    position: relative;
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    height: 46px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 22px;
    margin: 0; 
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--accent-cyan);
}

.caret-icon { 
    font-size: 0.75rem; 
    transition: var(--transition); 
}

.nav-item:hover .caret-icon { 
    transform: rotate(180deg); 
}

/* Commutateur de Langue */
.nav-lang-switcher {
    display: flex;
    align-items: center;
}

.lang-switcher {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 6px;
    transition: var(--transition);
}

.lang-btn.active, 
.lang-btn:hover { 
    color: var(--accent-cyan); 
}

.lang-divider { 
    color: var(--border-color); 
    font-size: 0.75rem; 
}

/* Mega Menu */
.mega-dropdown-item { position: static; }

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--accent-cyan);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    padding: 30px 0;
    z-index: 990;
}

.mega-dropdown-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 280px;
    gap: 25px;
}

.mega-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-links { list-style: none; padding: 0; margin: 0; }
.mega-links li { margin-bottom: 8px; }

.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.mega-item:hover { background: var(--bg-light); }

.mega-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.mega-text strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.88rem;
}

.mega-text span {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.2;
    display: block;
}

.mega-banner-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 20px;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.badge-tag {
    background: var(--accent-gold);
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.mega-banner-card h3 { font-size: 1.05rem; margin: 10px 0; line-height: 1.3; }
.mega-banner-card p { font-size: 0.8rem; color: #CBD5E1; margin-bottom: 15px; }

/* Dropdown Standard */
.dropdown-item { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%; left: 0;
    width: 220px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    opacity: 0; 
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 990;
}

.dropdown-item:hover .dropdown-menu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}

.dropdown-menu a {
    display: flex; 
    align-items: center; 
    gap: 10px;
    padding: 10px 18px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover,
.dropdown-menu a.active { 
    background: var(--bg-light); 
    color: var(--accent-cyan); 
}

/* Actions Header & Inscription Dropdown */
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.signup-dropdown { position: relative; }

.dropdown-toggle-signup {
    cursor: pointer;
}

.signup-menu {
    position: absolute; right: 0; top: 110%;
    width: 270px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
    padding: 8px;
    display: none;
    z-index: 1000;
    border: 1px solid var(--border-color);
}

.signup-dropdown:hover .signup-menu { display: block; }
.signup-option {
    display: flex; align-items: center; gap: 6px;
    padding: 5px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.signup-option:hover { background: var(--accent-gold); }
.signup-option i { font-size: 1.25rem; }
.signup-option strong { display: block; font-size: 0.85rem; }
.signup-option small { color: var(--text-muted); font-size: 0.65rem; margin-top: -3px; display: block; }

/* Menu Hamburger Mobile */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 0;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ========================================== */
/* 5. HERO FAQ & RECHERCHE DYNAMIQUE          */
/* ========================================== */
.faq-hero-section {
    background: linear-gradient(135deg, #0B192C 0%, #1E3E62 100%);
    color: var(--white);
    padding: 65px 0 75px;
    position: relative;
    overflow: hidden;
}

.faq-hero-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 141, 218, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.faq-hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: var(--white);
}

.faq-hero-subtitle {
    font-size: 1.05rem;
    color: #CBD5E1;
    max-width: 680px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

/* Barre de recherche dynamique */
.faq-search-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 6px 8px 6px 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.faq-search-wrapper:focus-within {
    box-shadow: 0 0 0 4px rgba(0, 141, 218, 0.35), 0 12px 30px rgba(0, 0, 0, 0.25);
}

.faq-search-icon {
    font-size: 1.15rem;
    color: var(--accent-cyan);
    margin-right: 12px;
}

.faq-search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: var(--font-main);
    color: var(--text-dark);
    background: transparent;
}

.faq-search-btn {
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    padding: 12px 26px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.faq-search-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

.faq-search-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #94A3B8;
}

.tag-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #E2E8F0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition);
}

.tag-btn:hover {
    background: var(--accent-cyan);
    color: var(--white);
    border-color: var(--accent-cyan);
}

/* ========================================== */
/* 6. NAVIGATION PAR CATÉGORIES (TABS)        */
/* ========================================== */
.faq-categories-section {
    background: var(--bg-light);
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 70px;
    z-index: 90;
}

.faq-categories-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.faq-cat-btn {
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.86rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-cat-btn i {
    color: var(--accent-cyan);
    font-size: 0.95rem;
    transition: var(--transition);
}

.faq-cat-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.faq-cat-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.faq-cat-btn.active i {
    color: var(--accent-gold);
}

/* ========================================== */
/* 7. CONTENU DES ACCORDEONS & GROUPES FAQ   */
/* ========================================== */
.faq-content-section {
    padding: 60px 0 80px;
    background: var(--white);
}

.faq-group-block {
    margin-bottom: 50px;
    scroll-margin-top: 150px;
}

.faq-group-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
}

.group-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.faq-group-header h2 {
    font-size: 1.45rem;
    color: var(--primary-blue);
}

.faq-group-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Accordéon Cards */
.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
}

.faq-card:hover {
    border-color: rgba(0, 141, 218, 0.4);
    box-shadow: var(--shadow-sm);
}

.faq-card.active {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-md);
}

.faq-card-header {
    width: 100%;
    padding: 18px 24px;
    background: var(--white);
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.4;
}

.faq-card-header:hover .faq-question {
    color: var(--accent-cyan);
}

.faq-icon {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-card.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}

.faq-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    background: var(--bg-light);
}

.faq-card.active .faq-card-body {
    max-height: 1200px;
    opacity: 1;
}

.faq-body-content {
    padding: 20px 24px 24px;
    border-top: 1px solid var(--border-color);
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.65;
}

.faq-body-content p {
    margin-bottom: 12px;
}

.faq-body-content p:last-child {
    margin-bottom: 0;
}

.faq-body-content ul, 
.faq-body-content ol {
    margin: 10px 0 15px 20px;
}

.faq-body-content li {
    margin-bottom: 6px;
}

.faq-callout-info {
    background: rgba(0, 141, 218, 0.08);
    border-left: 4px solid var(--accent-cyan);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin-top: 15px;
    font-size: 0.88rem;
    color: var(--primary-blue);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-callout-info i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Message Aucun Résultat */
.faq-not-found {
    text-align: center;
    padding: 50px 20px;
    background: var(--bg-light);
    border-radius: 16px;
    border: 2px dashed var(--border-color);
    margin-bottom: 30px;
}

.faq-not-found i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.faq-not-found h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.faq-not-found p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* ========================================== */
/* 8. CARTE DE SUPPORT EN DIRECT & 24/7       */
/* ========================================== */
.faq-support-card {
    background: linear-gradient(135deg, #0B192C 0%, #1E3E62 100%);
    color: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: var(--shadow-lg);
}

.support-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.support-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 141, 218, 0.2);
    border: 1px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.support-content {
    flex: 1;
    min-width: 280px;
}

.support-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--white);
}

.support-content p {
    color: #CBD5E1;
    font-size: 0.92rem;
}

.support-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Structure alternative : grille contacts */
.support-tag {
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 10px;
}

.support-contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.support-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

.support-contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.support-contact-item i { font-size: 1.3rem; }
.support-contact-item strong { display: block; font-size: 0.85rem; }
.support-contact-item span { font-size: 0.76rem; color: #CBD5E1; }

/* ========================================== */
/* 9. SYSTÈME DE MODALE UNIVERSELLE          */
/* ========================================== */
.kiesbi-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 25, 44, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.kiesbi-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.kiesbi-modal-card {
    background: var(--white);
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    padding: 30px 25px;
    box-shadow: var(--shadow-lg);
    position: relative;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition);
}

.kiesbi-modal-overlay.active .kiesbi-modal-card {
    transform: scale(1);
}

.kiesbi-modal-close {
    position: absolute;
    top: 15px; right: 18px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.kiesbi-modal-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 15px;
}

.kiesbi-modal-title {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.kiesbi-modal-body {
    font-size: 0.92rem;
    color: var(--text-dark);
    margin-bottom: 22px;
    line-height: 1.5;
}

.kiesbi-modal-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* ========================================== */
/* 10. BANDEAU APPEL À L'ACTION FINAL         */
/* ========================================== */
.final-cta-section {
    padding: 65px 0;
    background: linear-gradient(90deg, #008DDA 0%, #0077B6 100%);
    color: var(--white);
    text-align: center;
}

.final-cta-title {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--white);
}

.final-cta-desc {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto 25px;
}

.final-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================== */
/* 11. PIED DE PAGE INSTITUTIONNEL (FOOTER)   */
/* ========================================== */
.kiesbi-footer {
    background-color: var(--primary-blue);
    color: #94A3B8;
    font-size: 0.88rem;
    border-top: 4px solid var(--accent-cyan);
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.kiesbi-footer a {
    color: #CBD5E1;
    text-decoration: none;
    transition: var(--transition);
}

.kiesbi-footer a:hover {
    color: var(--accent-cyan);
}

/* 1. Top Footer */
.footer-top {
    padding: 35px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #94A3B8;
    margin-bottom: 15px;
    max-width: 480px;
}

.footer-contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-contact-link {
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-contact-link.whatsapp-color { color: #25D366; }
.footer-contact-link.whatsapp-color:hover { background: rgba(37, 211, 102, 0.1); }

.footer-payments-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.payments-title {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #CBD5E1;
    margin-bottom: 12px;
    font-weight: 600;
}

.payments-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.payments-grid img {
    height: 26px;
    width: auto;
    background: var(--white);
    padding: 3px 6px;
    border-radius: 4px;
    object-fit: contain;
}

/* 2. Main Footer Grid */
.footer-main {
    padding: 45px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col-title {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 30px; height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links i {
    font-size: 0.75rem;
    color: var(--accent-cyan);
}

.flags-desc {
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.flags-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.flags-grid span {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 6px;
    border-radius: 4px;
}

.flags-grid img {
    width: 16px;
    height: 11px;
    border-radius: 2px;
    object-fit: cover;
}

.footer-security-badges {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sec-badge {
    height: 32px;
    width: auto;
    opacity: 0.9;
    background: var(--white);
    padding: 3px 6px;
    border-radius: 4px;
}

/* 3. Bottom Footer Bar */
.footer-bottom {
    padding: 20px 0;
    background: #07101D;
}

.footer-bottom-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.copyright-text {
    font-size: 0.82rem;
    color: #94A3B8;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
}

.footer-legal-links span {
    color: rgba(255, 255, 255, 0.2);
}

.back-to-top-btn {
    background: var(--secondary-blue);
    color: var(--white);
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: var(--transition);
}

.back-to-top-btn:hover {
    background: var(--accent-cyan);
    transform: translateY(-3px);
}

/* ========================================== */
/* 12. DESIGN RESPONSIF TOTAL (6 BREAKPOINTS) */
/* ========================================== */

/* ------------------------------------------ */
/* BREAKPOINT 1 : <= 1200px (Laptops & Tablettes L) */
/* ------------------------------------------ */
@media (max-width: 1200px) {
    .container { max-width: 960px; }
    
    .nav-menu { gap: 16px; }
    .nav-link { font-size: 0.88rem; }
    
    .mega-menu-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .mega-banner { display: none; }

    .faq-hero-title { font-size: 2.2rem; }
    .footer-top-wrapper { grid-template-columns: 1fr; gap: 25px; }
}

/* ------------------------------------------ */
/* BREAKPOINT 2 : <= 992px (Tablettes & Menu Drawer) */
/* ------------------------------------------ */
@media (max-width: 992px) {
    .container { max-width: 720px; }

    /* Header Mobile Drawer */
    .mobile-toggle { display: flex; }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.4s ease-in-out;
    }

    .nav-menu.mobile-active {
        max-height: 85vh;
        overflow-y: auto;
        opacity: 1;
        padding-bottom: 30px;
    }

    .nav-item { width: 100%; border-bottom: 1px solid #F1F5F9; }
    .nav-link { padding: 12px 0; width: 100%; justify-content: space-between; }

    .mega-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 10px 0;
        background: var(--bg-light);
    }

    .mega-dropdown-item:hover .mega-menu,
    .mega-dropdown-item.active .mega-menu { display: block; }
    .mega-menu-container { grid-template-columns: 1fr; gap: 15px; padding: 0 15px; }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
        background: var(--bg-light);
        padding: 5px 0 5px 15px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown-item:hover .dropdown-menu,
    .dropdown-item.active .dropdown-menu { display: block; }

    .nav-lang-switcher { padding: 15px 0; width: 100%; }

    /* Hero & FAQ Search */
    .faq-hero-section { padding: 50px 0; }
    .faq-hero-title { font-size: 1.9rem; }
    .faq-hero-subtitle { font-size: 0.95rem; }

    /* Categories Tabs Scrollable */
    .faq-categories-section { top: 65px; }
    .faq-categories-grid { justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; flex-wrap: nowrap; }
    .faq-cat-btn { flex-shrink: 0; }

    /* Support Card & Footer Grid */
    .support-card-body { flex-direction: column; align-items: flex-start; gap: 20px; }
    .support-actions { width: 100%; justify-content: flex-start; }
    .support-contacts-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

/* ------------------------------------------ */
/* BREAKPOINT 3 : <= 720px (Smartphones Larges) */
/* ------------------------------------------ */
@media (max-width: 720px) {
    .container { max-width: 540px; }

    .faq-hero-title { font-size: 1.65rem; }
    
    .faq-search-wrapper {
        padding: 4px 6px 4px 16px;
    }

    .faq-search-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .faq-group-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .faq-group-header h2 { font-size: 1.25rem; }

    .faq-card-header { padding: 14px 16px; }
    .faq-question { font-size: 0.92rem; }
    .faq-body-content { padding: 16px; font-size: 0.88rem; }

    .faq-support-card { padding: 25px 20px; }
    .support-content h3 { font-size: 1.25rem; }

    .final-cta-title { font-size: 1.7rem; }
    .final-cta-desc { font-size: 0.9rem; }

    .footer-bottom-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* ------------------------------------------ */
/* BREAKPOINT 4 : <= 520px (Smartphones Stand M) */
/* ------------------------------------------ */
@media (max-width: 520px) {
    .navbar-actions .btn-outline { display: none; }
    
    .faq-search-wrapper {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
        gap: 10px;
    }

    .faq-search-icon { display: none; }
    .faq-search-input { text-align: center; font-size: 0.88rem; }
    .faq-search-btn { width: 100%; border-radius: 10px; }

    .faq-search-tags { display: none; }

    .support-actions { flex-direction: column; width: 100%; }
    .support-actions .btn { width: 100%; }

    .final-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .final-cta-buttons .btn {
        width: 100%;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .flags-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------ */
/* BREAKPOINT 5 : <= 480px (Smartphones Compacts) */
/* ------------------------------------------ */
@media (max-width: 480px) {
    .brand-logo { height: 38px; }

    .faq-hero-title { font-size: 1.45rem; }
    .faq-hero-subtitle { font-size: 0.85rem; }

    .faq-cat-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .support-contact-item {
        padding: 10px;
    }

    .support-contact-item strong { font-size: 0.8rem; }
    .support-contact-item span { font-size: 0.72rem; }

    .footer-contact-details { flex-direction: column; }
    .footer-contact-link { width: 100%; }
}

/* ------------------------------------------ */
/* BREAKPOINT 6 : <= 360px (Écrans Très Étroits) */
/* (ex: iPhone SE, Galaxy Fold plié)          */
/* ------------------------------------------ */
@media (max-width: 360px) {
    .container { padding: 0 12px; }

    .brand-logo { height: 32px; }

    .faq-badge {
        font-size: 0.68rem;
        padding: 4px 10px;
    }

    .faq-hero-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .faq-hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }

    .faq-search-wrapper {
        padding: 8px;
    }

    .faq-search-input {
        font-size: 0.8rem;
    }

    .faq-search-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .group-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .faq-group-header h2 {
        font-size: 1.1rem;
    }

    .faq-question {
        font-size: 0.85rem;
    }

    .faq-body-content {
        padding: 12px;
        font-size: 0.82rem;
    }

    .faq-support-card {
        padding: 18px 12px;
    }

    .support-content h3 {
        font-size: 1.15rem;
    }

    .support-contact-item {
        gap: 8px;
    }

    .support-contact-item i {
        font-size: 1rem;
    }

    .final-cta-title {
        font-size: 1.35rem;
    }

    .btn-xl {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
}

