/* --- VARIABLES DE LA CHARTE GRAPHIQUE --- */
:root {
    --blue-dark: #024EA3;
    --blue-medium: #2275C5;
    --blue-light: #6EB0CA;
    --yellow-accent: #FFBF00;
    --off-white: #F1E8E1;
    --bg-light: #F4F8FB; 
}

/* --- RESET & CORRECTION DE L'OVERFLOW --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html, body {
    width: 100%;
    max-width: 100vw; 
    overflow-x: hidden !important; 
    position: relative; 
}

body {
    color: var(--off-white); 
    background-color: #000000; 
}

body.no-scroll {
    overflow: hidden !important;
    height: 100vh;
}

/* --- ARRIÈRE-PLAN VIDÉO ET FILTRE COLORÉ --- */
.video-background {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    z-index: -1; 
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; 
    transition: opacity 1s ease-in-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; 
    pointer-events: none; 
    background: linear-gradient(
        180deg, 
        rgba(2, 78, 163, 0.95) 0%, 
        rgba(34, 117, 197, 0.75) 50%, 
        rgba(2, 78, 163, 0.95) 100%
    ); 
}

/* --- NAVBAR ET AUTRES ÉLÉMENTS COMMUNS CACHÉS ICI POUR LA BRIÈVETÉ SI DÉJÀ DANS UN BASE.CSS, MAIS INCLUS POUR LA COMPLÉTUDE --- */
/* (La Navbar et le Footer utilisent les mêmes styles que stylefaq.css / styleprofil.css) */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 2rem 4rem; position: relative; z-index: 100; }
.nav-left, .nav-right { flex: 1; }
.nav-left ul { display: flex; list-style: none; gap: 2rem; }
.nav-left a { color: var(--off-white); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.3s ease; }
.nav-left a:hover { color: var(--yellow-accent); }
.logo { display: flex; justify-content: center; align-items: center; flex: 0 1 auto; }
.logo img { height: 40px; }
.hamburger { display: none; }

/* --- ANIMATIONS CSS --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* ========================================= */
/* --- SECTION ASSURANCES --- */
/* ========================================= */

.assurance-section {
    padding: 2rem 1.5rem 8rem 1.5rem;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 160px);
}

.assurance-header {
    text-align: center;
    max-width: 800px;
    margin-bottom: 4rem;
}

.assurance-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.assurance-header p {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.assurance-container {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

/* CARTE DE TYPE GLASSMORPHISM (SIMILAIRE AU PROFIL) */
.assurance-card {
    background: rgba(150, 165, 180, 0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.assurance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 25px rgba(255, 255, 255, 0.25);
}

.assurance-card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.assurance-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--yellow-accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.assurance-card p {
    font-size: 1.05rem;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* BOUTON DE TÉLÉCHARGEMENT */
.auth-btn {
    background: var(--yellow-accent);
    color: var(--blue-dark);
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(255, 191, 0, 0.3);
}

.auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 191, 0, 0.4);
    background: #FFD633;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    max-width: 280px;
}

.download-icon {
    width: 22px;
    height: 22px;
}

/* =======================================================
   RESPONSIVE
   ======================================================= */
@media screen and (max-width: 768px) {
    .assurance-header h1 { font-size: 2.5rem; }
    .assurance-header { margin-bottom: 2.5rem; }
    .assurance-section { padding: 2rem 1.5rem 4rem 1.5rem; }
    .assurance-container { grid-template-columns: 1fr; gap: 2rem; }
    .assurance-card { padding: 2rem 1.5rem; border-radius: 14px; }
    .assurance-card h2 { font-size: 1.5rem; }
    
    .navbar { padding: 1.5rem; }
    .hamburger { display: flex; cursor: pointer; flex-direction: column; gap: 5px; z-index: 10000; }
    .hamburger .bar { width: 25px; height: 3px; background-color: var(--off-white); border-radius: 5px; }
    .nav-left ul#nav-menu { position: fixed; top: 0; left: -100%; width: 280px; height: 100vh; background: rgba(2, 78, 163, 0.98); flex-direction: column; justify-content: center; align-items: center; gap: 3rem; transition: left 0.4s ease; z-index: 9999; }
    .nav-left ul.active { left: 0; }
}

/* FOOTER (Même layout global) */
.site-footer { background-color: var(--blue-dark); padding: 3rem 4rem; position: relative; z-index: 10; display: flex; justify-content: center; box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05); }
.footer-content { max-width: 1200px; width: 100%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }