/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: #f8f9fa; color: #1a1a1a; font-family: 'Roboto', sans-serif; overflow-x: hidden; }


/* --- HEADER --- */
.bdf-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 40px;
}

.header-container {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1400px; margin: 0 auto;
}

.header-left { display: flex; align-items: center; gap: 30px; }
.menu-btn {
    background: none; border: none; color: #003399;
    display: flex; flex-direction: column; align-items: center;
    cursor: pointer; font-size: 0.8rem; font-weight: 700; gap: 3px;
}
.menu-btn i { font-size: 1.4rem; }
.bdf-logo { height: 60px; width: auto; }

.header-right { display: flex; align-items: center; }
.nav-item {
    display: flex; align-items: center; gap: 10px;
    color: #000; text-decoration: none; font-size: 0.95rem;
    padding: 0 20px; cursor: pointer;
}
.nav-item i { color: #003399; font-size: 1.1rem; }
.separator { width: 1px; height: 30px; background-color: #ddd; }
.search i { transform: scaleX(-1); font-weight: 900; }

/* --- 1. SUPER HERO SECTION --- */
.super-hero {
    background: linear-gradient(135deg, #001b44 0%, #003399 100%);
    color: white;
    padding: 80px 20px 180px; /* Grand padding en bas pour l'effet overlap */
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Motif de fond abstrait */
.hero-bg-pattern {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 20%),
                      radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 20%);
    z-index: 0;
}

.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.badge-security {
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 500;
    display: inline-block; margin-bottom: 20px; color: #a5c3ff;
}

.super-hero h1 { font-size: 2.2rem; margin-bottom: 20px; line-height: 1.3; font-weight: 700; }
.super-hero p { font-size: 1.1rem; color: #dce7ff; max-width: 600px; margin: 0 auto; font-weight: 300; }

/* --- 2. OVERLAP CARD (La carte qui flotte) --- */
.overlap-container {
    margin-top: -120px; /* C'est ça qui fait remonter la carte sur le bleu */
    position: relative; z-index: 10; padding: 0 20px;
}

.security-card {
    background: white; max-width: 600px; margin: 0 auto;
    border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    overflow: hidden; text-align: center;
}

.card-header-strip { height: 6px; background: linear-gradient(90deg, #d32f2f, #ff6b6b); }

.card-body { padding: 40px 30px; }

.alert-icon-wrapper {
    width: 70px; height: 70px; margin: 0 auto 20px;
    background: #fff0f0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #d32f2f; font-size: 2rem; position: relative;
}

.radar-scan {
    position: absolute; width: 100%; height: 100%; border-radius: 50%;
    border: 2px solid #d32f2f; opacity: 0;
    animation: radar 2s infinite;
}
@keyframes radar { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0; } }

.security-card h2 { color: #1a1a1a; margin-bottom: 10px; font-size: 1.5rem; }

.connection-status {
    display: inline-block; background: #f0f4ff; color: #003399;
    padding: 5px 12px; border-radius: 4px; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 25px;
}
.blink { display: inline-block; width: 8px; height: 8px; background: #003399; border-radius: 50%; animation: blinker 1s linear infinite; margin-right: 5px; }
@keyframes blinker { 50% { opacity: 0; } }

.main-message { color: #555; font-size: 1rem; line-height: 1.6; margin-bottom: 30px; }

.bank-target-box {
    background: #f8f9fa; border: 1px solid #e9ecef;
    padding: 15px; border-radius: 8px; margin-bottom: 30px;
}
.bank-target-box p { font-size: 0.8rem; text-transform: uppercase; color: #888; letter-spacing: 1px; margin-bottom: 5px; }
.bank-target-box h3 { color: #003399; font-size: 1.3rem; }

.btn-super-action {
    background: #003399; color: white; border: none;
    width: 100%; padding: 18px; border-radius: 8px;
    font-size: 1.1rem; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: 0.3s;
}
.btn-super-action:hover { background: #002266; box-shadow: 0 5px 15px rgba(0, 51, 153, 0.3); }

.secure-note { margin-top: 15px; font-size: 0.8rem; color: #999; }

/* --- 3. STEPS SECTION --- */
.steps-section { padding: 60px 0; background: #fff; }
.steps-grid {
    display: flex; align-items: center; justify-content: center;
    max-width: 800px; margin: 0 auto; padding: 0 20px;
}
.step-item { text-align: center; position: relative; z-index: 2; width: 120px; }
.step-icon {
    width: 50px; height: 50px; background: #f0f0f0; color: #999;
    border-radius: 50%; margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.step-item h4 { font-size: 0.9rem; margin-bottom: 2px; }
.step-item p { font-size: 0.75rem; color: #999; }

.step-item.active .step-icon, .step-item.completed .step-icon { background: #e3f2fd; color: #003399; }
.step-item.completed .step-icon { background: #003399; color: white; }

.step-line { flex: 1; height: 2px; background: #eee; margin: 0 -20px 25px; position: relative; z-index: 1; }
.step-line.active { background: #003399; }

/* --- 4. DETAILS GRID --- */
.info-details { padding: 40px 0 80px; background: #f8f9fa; }
.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.detail-box { background: white; padding: 25px; border-radius: 8px; border: 1px solid #eee; text-align: center; }
.detail-box i { font-size: 2rem; color: #003399; margin-bottom: 15px; opacity: 0.8; }
.detail-box h3 { font-size: 1.1rem; margin-bottom: 10px; color: #333; }
.detail-box p { font-size: 0.9rem; color: #666; line-height: 1.5; }


/* --- FOOTER IDENTIQUE --- */
.bdf-footer {
    background-color: #001b44; /* Le bleu très foncé officiel */
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- PARTIE HAUTE --- */
.footer-top {
    padding: 50px 0;
}

.footer-top .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Logo */
.footer-logo-section {
    flex: 0 0 200px; /* Largeur fixe pour le logo */
}

.footer-logo {
    width: 150px;
    height: auto;
    /* ASTUCE : Transforme ton logo bleu en blanc pur */
    filter: brightness(0) invert(1);
}

/* Liens (Colonnes) */
.footer-links-section {
    flex: 1;
    display: flex;
    justify-content: flex-start; /* ou space-between selon la largeur d'écran */
    gap: 80px; /* Espace entre les colonnes */
    margin-left: 50px;
}

.footer-col {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 15px;
}

.footer-col a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: text-decoration 0.2s;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-col i {
    margin-left: 5px;
    font-size: 0.9rem;
}

/* Réseaux Sociaux & Bouton */
.footer-social-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 60px; /* Espace entre les icônes et le bouton flèche */
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001b44; /* Couleur de l'icône */
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    opacity: 0.8;
}

/* Le bouton rond bleu avec la flèche */
.back-to-top {
    width: 50px;
    height: 50px;
    background-color: #0072ce; /* Bleu plus clair */
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.back-to-top:hover {
    background-color: #005bb5;
}

/* --- PARTIE BASSE (Copyright) --- */
.footer-bottom {
    padding: 20px 0;
    font-size: 0.75rem; /* Texte plus petit */
    /* Pas de bordure visible sur l'image, juste de l'espace */
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    opacity: 0.9;
}

.legal-links {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.legal-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.legal-links a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-top .footer-container { flex-direction: column; gap: 40px; }
    .footer-links-section { margin-left: 0; flex-wrap: wrap; gap: 40px; }
    .footer-social-section { align-items: flex-start; flex-direction: row; width: 100%; justify-content: space-between; }
    .back-to-top { align-self: flex-end; }
    .bottom-flex { flex-direction: column; align-items: flex-start; gap: 20px; }
    .legal-links { gap: 15px; }
}