:root {
    --noir: #1a1a2e;
    --rouge: #e63946;
    --orange: #f4a261;
    --blanc: #ffffff;
    --gris: #f8f9fa;
    --magenta: #d63384;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { color: #333; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

.top-bar { background: var(--noir); color: var(--blanc); padding: 10px 5%; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.top-bar-left span { margin-right: 30px; }
.top-bar i { color: var(--rouge); margin-right: 8px; }
.social-icons a { color: var(--blanc); margin-left: 15px; font-size: 1.1rem; border: 1px solid var(--rouge); width: 35px; height: 35px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.social-icons a:hover { background: var(--rouge); }

header { background: var(--blanc); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; }
.logo { display: flex; align-items: center; }
.logo img { height: 60px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: #333; font-weight: 500; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px; background: var(--orange); }
.btn-resa { background: var(--orange); color: var(--blanc) !important; padding: 12px 30px; border-radius: 0; font-weight: bold; text-transform: uppercase; border: none; cursor: pointer; }
.btn-resa:hover { background: #e0914f; }

.hero { background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('/images/hero-avion.jpg') center/cover; padding: 150px 5%; text-align: left; color: white; position: relative; }
.hero h4 { color: var(--blanc); text-transform: uppercase; letter-spacing: 3px; font-size: 1rem; margin-bottom: 20px; font-weight: 600; }
.hero h1 { font-size: 3.5rem; color: var(--blanc); font-weight: 900; line-height: 1.2; text-transform: uppercase; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
.btn-hero { background: var(--orange); color: white; padding: 15px 30px; border-radius: 5px; font-weight: 600; display: inline-block; transition: 0.3s; }
.btn-hero:hover { background: #e0914f; transform: translateY(-3px); }

section { padding: 80px 5%; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: var(--noir); margin-bottom: 10px; }
.section-title span { color: var(--magenta); font-weight: bold; text-transform: uppercase; display: block; margin-bottom: 10px; }
.section-title p { color: #666; max-width: 800px; margin: 0 auto; }

.qs-section { background: var(--blanc); }
.qs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.qs-content h3 { color: var(--rouge); font-size: 1.3rem; margin-bottom: 10px; }
.qs-content h2 { font-size: 2.5rem; color: var(--noir); margin-bottom: 20px; line-height: 1.2; }
.qs-content p { color: #666; margin-bottom: 25px; line-height: 1.8; }
.qs-content h4 { margin: 30px 0 15px; color: var(--noir); }
.qs-content ul { color: #666; line-height: 2; margin-left: 20px; }
.qs-content .citation { font-style: italic; margin-top: 30px; padding-left: 20px; border-left: 4px solid var(--rouge); color: #666; }
.btn-vert { background: #2a9d8f; color: white; padding: 15px 30px; border-radius: 5px; display: inline-block; font-weight: 600; }
.btn-vert:hover { background: #21867a; }
.qs-img img { width: 100%; border-radius: 15px; box-shadow: 0 15px 40px rgba(0,0,0,0.15); }

.services-section { background: var(--noir); position: relative; clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); padding: 100px 5%; }
.services-section .section-title h2 { color: var(--blanc); }
.services-section .section-title p { color: #aaa; }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.service-card { background: #0f0f1e; border: 2px solid var(--magenta); color: white; padding: 40px 20px; text-align: center; transition: 0.3s; }
.service-card:hover { transform: translateY(-10px); background: #1a1a2e; }
.service-card::before { content: '•'; color: var(--magenta); font-size: 3rem; display: block; margin-bottom: 20px; }
.service-card h3 { font-size: 0.85rem; text-transform: uppercase; line-height: 1.6; font-weight: 500; }

.stats-section { background: var(--blanc); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.stats-img img { width: 100%; border-radius: 15px; }
.stats-content h2 { font-size: 2rem; color: var(--noir); margin-bottom: 30px; line-height: 1.3; }
.stat-bar { margin-bottom: 20px; }
.stat-bar label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 8px; color: #333; }
.progress { background: #e0e0e0; height: 8px; border-radius: 10px; overflow: hidden; }
.progress-fill { background: var(--magenta); height: 100%; width: 0; transition: width 2s ease-out; border-radius: 10px; }

.services-11-section { background: var(--blanc); }
.services-11-section .section-title h2 { color: var(--orange); margin-bottom: 10px; }
.services-11-section .section-title p { color: var(--noir); font-size: 1.3rem; font-weight: 600; }
.grid-11 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 25px; margin-top: 50px; }
.card-11 { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); text-align: center; transition: 0.3s; }
.card-11:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.card-11 img { width: 100%; height: 180px; object-fit: cover; }
.card-11 h4 { padding: 20px 15px; font-size: 0.95rem; color: #333; font-weight: 600; }

.cta-banner { background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/images/cta-voiture.jpg') center/cover; text-align: center; color: white; padding: 100px 5%; }
.cta-banner h2 { font-size: 2.5rem; margin-bottom: 30px; text-transform: uppercase; }
.btn-pink { background: var(--magenta); color: white; padding: 15px 40px; border-radius: 0; font-weight: bold; text-transform: uppercase; display: inline-block; border: none; cursor: pointer; }
.btn-pink:hover { background: #b52a6e; }

.temoignage-section { background: var(--blanc); text-align: center; }
.temoignage-box { max-width: 800px; margin: 0 auto; padding: 40px; }
.stars { color: var(--rouge); font-size: 1.5rem; margin-bottom: 25px; }
.temoignage-text { font-style: italic; color: #666; font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; }
.temoignage-author { color: #333; font-weight: 600; font-size: 1.1rem; }
.nav-arrows { margin-top: 30px; }
.nav-arrows span { color: var(--magenta); font-size: 2rem; cursor: pointer; margin: 0 20px; }

.partenaires-section { background: var(--blanc); padding: 60px 5%; }
.partenaires-section h3 { font-size: 1.8rem; margin-bottom: 40px; color: var(--noir); }
.partenaires-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.partenaires-grid img { height: 60px; opacity: 1; }

footer { background: var(--noir); color: #aaa; padding: 60px 5% 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; margin-bottom: 40px; }
.footer-grid h3 { color: var(--blanc); margin-bottom: 25px; font-size: 1.5rem; }
.footer-grid p { margin-bottom: 10px; }
.footer-grid i { color: var(--rouge); margin-right: 10px; width: 20px; }
.copyright { text-align: center; border-top: 1px solid #333; padding-top: 25px; font-size: 0.9rem; color: #666; }

.widget-phone { position: fixed; bottom: 30px; right: 30px; background: var(--rouge); color: white; width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 5px 20px rgba(230, 57, 70, 0.4); z-index: 999; animation: pulse 2s infinite; }
.widget-top { position: fixed; bottom: 110px; right: 35px; background: var(--noir); color: white; width: 55px; height: 55px; border-radius: 50%; display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 999; font-size: 1.3rem; transition: 0.3s; }
.widget-top:hover { background: var(--rouge); }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.alert { background: #d4edda; color: #155724; padding: 20px; border-radius: 5px; margin: 20px 5%; text-align: center; font-weight: 600; }

.page-header { background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/images/header-car.jpg') center/cover; color: white; text-align: center; padding: 80px 5%; }
.page-header h1 { font-size: 3rem; text-transform: uppercase; }

.qs-page { background: var(--blanc); }

.contact-section { background: var(--blanc); }
.contact-info h2 { margin-bottom: 30px; color: var(--noir); }
.contact-info p { margin-bottom: 15px; color: #666; }
.contact-info i { color: var(--rouge); margin-right: 10px; }

.form-box { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.form-box h2 { margin-bottom: 30px; color: var(--noir); }
.form-box input, .form-box textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; font-family: inherit; }
.form-box textarea { height: 120px; resize: none; }
.form-box button { width: 100%; }

.map-container { margin-top: 50px; }
.map-container iframe { border: 0; border-radius: 10px; }

.circuits-header { background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/images/lutte-senegal.jpg') center/cover; padding: 120px 5%; }

.circuits-section { background: var(--orange); padding: 60px 5%; }
.circuits-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

.souvenir-section { background: var(--gris); padding: 60px 5%; }
.souvenir-section h1 { text-align: center; margin-bottom: 40px; color: var(--noir); }
.souvenir-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.souvenir-grid img { width: 100%; border-radius: 10px; cursor: pointer; transition: 0.3s; }
.souvenir-grid img:hover { transform: scale(1.05); }

#lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 9999; justify-content: center; align-items: center; cursor: pointer; }
#lightbox-img { max-width: 90%; max-height: 90%; border-radius: 10px; animation: zoomIn 0.3s ease; }

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.reservation-section { background: var(--gris); padding: 60px 5%; }
.reservation-section h1 { text-align: center; margin-bottom: 40px; color: var(--noir); }
.reservation-form { max-width: 900px; margin: 0 auto; background: white; padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.reservation-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.reservation-form .form-row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.reservation-form input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; }
.reservation-form label { margin-right: 20px; }

.reservation-header { background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/images/reservation-header.jpg') center/cover; color: white; text-align: center; padding: 80px 5%; }
.reservation-header h1 { font-size: 3rem; text-transform: uppercase; }

.reservation-services { margin-bottom: 50px; }

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .grid-11 { grid-template-columns: repeat(3, 1fr); }
    .qs-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
    .circuits-grid { grid-template-columns: repeat(2, 1fr); }
    .souvenir-grid { grid-template-columns: repeat(3, 1fr); }
    .reservation-form .form-row-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-11 { grid-template-columns: repeat(2, 1fr); }
    .circuits-grid { grid-template-columns: 1fr; }
    .souvenir-grid { grid-template-columns: repeat(2, 1fr); }
    .reservation-form .form-row { grid-template-columns: 1fr; }
    .reservation-form .form-row-4 { grid-template-columns: 1fr; }
}