/* --- style.css - VERSION FINALE "HEAVY" --- */
:root {
    --blue-pro: #003366;
    --blue-light: #0056b3;
    --yellow-lec: #ffcc00;
    --grey-bg: #f4f6f8;
    --grey-dark: #333333;
    --footer-bg: #1a1a1a;
    --border: #e0e0e0;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--grey-dark);
    line-height: 1.6;
    background-color: white;
    display: flex; flex-direction: column; min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    padding-bottom: 70px;
}

/* TYPO & SECU */
h1, h2, h3, h4 { color: var(--blue-pro); font-weight: 700; }
a { text-decoration: none; transition: 0.3s; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* SECTIONS */
section, header, footer, .hero, .page-header, .top-bar, .stats-bar, .emergency-banner, .parallax-section { width: 100%; }
section { padding: 80px 5%; }

/* --- HEADER & TOP BAR --- */
.top-bar { background-color: var(--blue-pro); color: white; padding: 10px 5%; font-size: 0.9rem; display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: white; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.top-bar a:hover { color: var(--yellow-lec); }

header { background: white; padding: 15px 5%; box-shadow: 0 4px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--yellow-lec); }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--blue-pro); text-transform: uppercase; border: 2px solid var(--blue-pro); padding: 5px 10px; white-space: nowrap; }
.logo span { color: var(--blue-light); }

/* Navigation */
.nav-desk { display: flex; gap: 30px; align-items: center; }
.nav-desk ul { display: flex; gap: 30px; }
.nav-desk a { font-weight: 600; text-transform: uppercase; font-size: 0.9rem; color: var(--grey-dark); }
.nav-desk a:hover, .nav-desk a.active { color: var(--blue-light); text-decoration: underline; }
.btn-header { background: var(--blue-light); color: white !important; padding: 10px 25px; border-radius: 4px; font-weight: bold; white-space: nowrap; }
.btn-header:hover { background: var(--blue-pro); }
.hamburger { display: none; font-size: 1.8rem; color: var(--blue-pro); cursor: pointer; padding: 5px; }

/* Menu Mobile */
.mobile-menu-overlay { position: fixed; top: 0; right: -100%; width: 85%; height: 100vh; background: white; z-index: 2000; transition: 0.4s ease; box-shadow: -5px 0 20px rgba(0,0,0,0.2); padding: 20px; display: flex; flex-direction: column; }
.mobile-menu-overlay.active { right: 0; }
.mobile-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.close-menu { font-size: 2rem; color: var(--blue-pro); cursor: pointer; }
.mobile-links li { margin-bottom: 20px; }
.mobile-links a { font-size: 1.2rem; font-weight: 600; color: var(--blue-pro); display: block; padding: 10px 0; border-bottom: 1px solid #f5f5f5; }

/* --- HERO & STATS --- */
.hero { background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('https://images.unsplash.com/photo-1621905251918-48416bd8575a?auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center; padding: 140px 5%; color: white; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; text-transform: uppercase; color: white; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.btn-primary { background: var(--yellow-lec); color: var(--blue-pro); padding: 15px 40px; font-weight: 800; text-transform: uppercase; border-radius: 4px; display: inline-block; margin-top: 20px; }

.page-header { background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.8)), url('https://images.unsplash.com/photo-1581092921461-eab62e97a782?auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center; padding: 60px 5%; text-align: center; color: white; }
.page-header h1 { color: white; font-size: 2.5rem; margin-bottom: 10px; }

.stats-bar { background: var(--blue-pro); color: white; padding: 40px 5%; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; text-align: center; margin-top: -5px; }
.stat-item i { font-size: 2rem; color: var(--yellow-lec); margin-bottom: 10px; }
.stat-item h3 { font-size: 1.8rem; margin: 0; color: white; }

/* --- PARALLAXE SECTION --- */
.parallax-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed; background-size: cover; background-position: center;
    padding: 100px 5%; text-align: center; color: white;
}
.parallax-section h2 { color: white; font-size: 2.5rem; margin-bottom: 20px; }

/* --- CARDS & SERVICES --- */
.section-title { text-align: center; margin-bottom: 50px; }
.separator { width: 80px; height: 4px; background: var(--yellow-lec); margin: 0 auto; }
.bg-grey { background-color: var(--grey-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.services-grid, .process-grid, .faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; width: 100%; }

/* Carte Service Riche (avec Image) */
.service-card-rich { background: white; border: 1px solid var(--border); transition: 0.3s; overflow: hidden; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.service-card-rich img { width: 100%; height: 200px; object-fit: cover; }
.service-card-rich .content { padding: 30px; }
.service-card-rich h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-card-rich:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }

/* Carte Simple */
.service-card { background: white; border: 1px solid var(--border); padding: 30px; transition: 0.3s; position: relative; border-top: 4px solid var(--blue-pro); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.check-list li { margin-bottom: 10px; padding-left: 25px; position: relative; color: #555; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--blue-light); position: absolute; left: 0; }

.process-step { padding: 20px; text-align: center; }
.step-number { width: 50px; height: 50px; background: var(--blue-pro); color: white; font-weight: bold; font-size: 1.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; border: 4px solid var(--yellow-lec); }

/* --- CONTACT --- */
.contact-wrapper { display: flex; gap: 40px; flex-wrap: wrap; }
.contact-info, .contact-form { flex: 1; min-width: 300px; }
.info-box { background: var(--blue-pro); color: white; padding: 25px; border-radius: 4px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }
.btn-submit { background: var(--yellow-lec); color: var(--blue-pro); border: none; padding: 15px; font-weight: 800; text-transform: uppercase; width: 100%; cursor: pointer; }

/* --- EMERGENCY BANNER --- */
.emergency-banner { background: var(--yellow-lec); color: var(--blue-pro); padding: 40px 5%; text-align: center; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 30px; }
.btn-emergency { background: white; color: var(--blue-pro); padding: 12px 30px; font-weight: 800; border-radius: 4px; border: 2px solid white; text-transform: uppercase; }

/* --- FOOTER XXL --- */
footer { background: var(--footer-bg); color: #999; padding: 60px 5% 30px; margin-top: auto; font-size: 0.95rem; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: white; margin-bottom: 20px; text-transform: uppercase; border-left: 3px solid var(--yellow-lec); padding-left: 10px; }
.footer-links a { color: #bbb; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-links a:hover { color: var(--yellow-lec); }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; }

/* --- BOUTON FLOTTANT PROMO --- */
.floating-promo { position: fixed; bottom: 30px; right: 30px; z-index: 99999; animation: bounce 2s infinite; }
.btn-promo { background-color: #2563eb; color: white; padding: 12px 25px; border-radius: 50px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); font-weight: bold; font-size: 0.85rem; display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: sans-serif; }
.btn-promo:hover { background-color: #1d4ed8; transform: scale(1.05); }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- BARRE MOBILE --- */
.mobile-bottom-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 65px; background: white; border-top: 1px solid #ddd; z-index: 9999; justify-content: space-between; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); }
.mobile-btn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; color: #555; border-right: 1px solid #f0f0f0; }
.mobile-btn i { font-size: 1.2rem; margin-bottom: 3px; color: var(--blue-pro); }
.mobile-btn-call { flex: 1.5; background: var(--yellow-lec); color: var(--blue-pro); border: none; font-size: 1rem; font-weight: 800; text-transform: uppercase; flex-direction: row; gap: 8px; }
.mobile-btn-call i { color: var(--blue-pro); font-size: 1.2rem; margin:0; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .nav-desk, .top-bar { display: none; }
    .hamburger { display: block; }
    .mobile-bottom-bar { display: flex; }
    header { padding: 15px; justify-content: space-between; }
    .hero { padding: 80px 20px; } .hero h1 { font-size: 1.8rem; }
    section { padding: 50px 20px; }
    .contact-wrapper, .process-grid, .faq-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 0; border: none; }
    .logo { font-size: 1.3rem; }
    .floating-promo { bottom: 80px; right: 20px; }
    .parallax-section { background-attachment: scroll; } /* Mobile parallax fix */
}