/* ==========================================================================
   AMBULANCE MARRAKECH — FEUILLE DE STYLE PRINCIPALE
   Transport • Vente & Location • Consultation • Assistance — 24h/24 & 7j/7
   ========================================================================== */

/* Polices : Poppins (titres) · Inter (corps) · Cairo (arabe) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Cairo:wght@600;700;900&display=swap');

/* --------------------------------------------------------------------------
   1. VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Identité de marque (d'après le logo) */
    --brand-red:     #E11923;
    --brand-red-dark:#B0121A;
    --brand-navy:    #14315C;
    --brand-navy-2:  #1E4A86;

    /* Alias conservés pour compatibilité */
    --primary-blue:  #1E4A86;
    --dark-blue:     #14315C;
    --accent-blue:   #4DA3E0;
    --urgent-red:    #E11923;

    --light-gray:    #F4F7FC;
    --line:          #E6ECF5;
    --white:         #ffffff;
    --text-dark:     #1A2436;
    --text-light:    #64748B;

    /* Dégradés */
    --gradient-primary: linear-gradient(135deg, #1E4A86 0%, #14315C 100%);
    --gradient-navy:    linear-gradient(135deg, #1B406F 0%, #0F2647 100%);
    --gradient-red:     linear-gradient(135deg, #ED2A34 0%, #B0121A 100%);
    --gradient-hero:    linear-gradient(120deg, rgba(11,27,53,0.93) 0%, rgba(20,49,92,0.86) 55%, rgba(176,18,26,0.55) 100%);

    /* Ombres */
    --shadow-sm: 0 2px 10px rgba(20, 49, 92, 0.06);
    --shadow:    0 12px 35px rgba(20, 49, 92, 0.10);
    --shadow-lg: 0 22px 60px rgba(20, 49, 92, 0.16);

    /* Polices */
    --font-heading: 'Poppins', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --font-ar: 'Cairo', 'Tahoma', sans-serif;

    /* Rayons */
    --radius-sm: 12px;
    --radius:    18px;
    --radius-lg: 26px;

    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4.5rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 1rem;
    color: var(--dark-blue);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
h4 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: clamp(0.97rem, 1.4vw, 1.08rem);
}

a { text-decoration: none; color: inherit; transition: var(--transition-base); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 1.25rem; }

section { padding: var(--spacing-lg) 0; }

.bg-light { background: var(--light-gray); }

.section-title { text-align: center; margin-bottom: 1rem; max-width: 760px; margin-left: auto; margin-right: auto; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--brand-red);
    background: rgba(225, 25, 35, 0.08);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.1rem;
}

.section-title h2 { position: relative; display: inline-block; padding-bottom: 1rem; }
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 70px; height: 4px;
    background: var(--gradient-red);
    border-radius: 4px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.08rem;
    max-width: 680px;
    margin: 0.4rem auto 0;
    text-align: center;
}

/* --------------------------------------------------------------------------
   4. TOP BAR
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--gradient-navy);
    color: rgba(255,255,255,0.85);
    font-size: 0.86rem;
}
.topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.55rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.topbar i { color: var(--accent-blue); margin-right: 0.35rem; }
.topbar a:hover { color: var(--white); }
.topbar .topbar-phone { color: var(--white); font-weight: 700; }
.topbar .topbar-phone i { color: #6FE08A; }
.topbar-sep { width: 1px; height: 14px; background: rgba(255,255,255,0.25); }

/* --------------------------------------------------------------------------
   5. NAVIGATION
   -------------------------------------------------------------------------- */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-base);
}
.navbar.scrolled { box-shadow: 0 6px 30px rgba(20, 49, 92, 0.13); }

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1.25rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo { display: flex; align-items: center; gap: 0.7rem; }
.nav-logo img { height: 58px; width: auto; }
.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.nav-logo-text strong {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-red);
    letter-spacing: 0.02em;
}
.nav-logo-text span {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-navy);
    letter-spacing: 0.22em;
}

.nav-menu { display: flex; gap: 1.7rem; align-items: center; }
.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.96rem;
    padding: 0.5rem 0;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2.5px;
    background: var(--brand-red);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-link:hover { color: var(--brand-navy); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--brand-navy); }

.nav-cta {
    background: var(--gradient-red);
    color: var(--white) !important;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 6px 18px rgba(225, 25, 35, 0.28);
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(225, 25, 35, 0.4); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--dark-blue); border-radius: 3px; transition: var(--transition-base); }

/* --------------------------------------------------------------------------
   6. BOUTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 0.95rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
}
.btn-primary { background: var(--gradient-primary); color: var(--white); box-shadow: 0 8px 22px rgba(30, 74, 134, 0.28); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(30, 74, 134, 0.4); }

.btn-secondary { background: var(--white); color: var(--brand-navy); border: 2px solid var(--brand-navy); }
.btn-secondary:hover { background: var(--brand-navy); color: var(--white); transform: translateY(-3px); }

.btn-urgent { background: var(--gradient-red); color: var(--white); box-shadow: 0 8px 22px rgba(225, 25, 35, 0.32); }
.btn-urgent:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(225, 25, 35, 0.45); }

.btn-whatsapp { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: var(--white); box-shadow: 0 8px 22px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45); }

.btn-light { background: var(--white); color: var(--brand-navy); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.btn-lg { padding: 1.1rem 2.4rem; font-size: 1.05rem; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   7. BOUTONS FLOTTANTS
   -------------------------------------------------------------------------- */
.floating-buttons {
    position: fixed;
    bottom: 2rem; right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.floating-btn {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
    transition: var(--transition-base);
    animation: pulse 2s infinite;
}
.floating-btn.call { background: var(--gradient-red); }
.floating-btn.whatsapp { background: #25D366; animation-delay: 0.4s; }
.floating-btn:hover { transform: scale(1.12); }

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 8px 34px rgba(0,0,0,0.4); }
}
@keyframes pulse-cta {
    0% { transform: scale(1); box-shadow: 0 8px 22px rgba(225,25,35,0.4); }
    50% { transform: scale(1.04); box-shadow: 0 14px 34px rgba(225,25,35,0.6); }
    100% { transform: scale(1); box-shadow: 0 8px 22px rgba(225,25,35,0.4); }
}

/* --------------------------------------------------------------------------
   8. CARTES GÉNÉRIQUES
   -------------------------------------------------------------------------- */
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }

.card-icon {
    width: 68px; height: 68px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1.4rem;
}
.card:hover .card-icon { background: var(--gradient-red); }
.card-title { color: var(--dark-blue); margin-bottom: 0.8rem; }
.card-text { color: var(--text-light); margin-bottom: 1.2rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* --------------------------------------------------------------------------
   9. FORMULAIRES
   -------------------------------------------------------------------------- */
.form-group { margin-bottom: 1.4rem; }
.form-label { display: block; margin-bottom: 0.5rem; color: var(--dark-blue); font-weight: 600; font-family: var(--font-heading); font-size: 0.95rem; }
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.95rem 1.05rem;
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition-base);
    background: var(--white);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--brand-navy-2);
    box-shadow: 0 0 0 4px rgba(30, 74, 134, 0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-checkbox { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; margin-top: 0.5rem; color: var(--text-dark); }
.form-checkbox input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; accent-color: var(--brand-red); }

/* --------------------------------------------------------------------------
   10. ANIMATIONS
   -------------------------------------------------------------------------- */
/* Révélation au défilement — activée uniquement si le JS est présent (.js)
   pour que le contenu reste visible sans JavaScript. */
.js .animate { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .animate.fade-in { opacity: 1; transform: translateY(0); }

.fade-in { animation: fadeIn 1s ease-in; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* Ligne ECG décorative */
.ecg-line { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: rgba(255,255,255,0.18); overflow: hidden; z-index: 3; }
.ecg-line::before { content: ''; position: absolute; width: 120px; height: 3px; background: var(--brand-red); box-shadow: 0 0 12px var(--brand-red); animation: ecgPulse 2.4s linear infinite; }
@keyframes ecgPulse { 0% { left: -120px; } 100% { left: 100%; } }

/* ==========================================================================
   11. HERO (ACCUEIL)
   ========================================================================== */
.hero {
    position: relative;
    background: var(--brand-navy);
    background-size: cover;
    background-position: center;
    min-height: 92vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}
.hero::before { content: ''; position: absolute; inset: 0; background: var(--gradient-hero); z-index: 1; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; padding: 3rem 0; }
.hero-content { max-width: 640px; }
.hero h1 { color: var(--white); margin-bottom: 1rem; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero h1 .accent { color: #FF6B71; }
.hero-arabic {
    font-family: var(--font-ar);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 14px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    direction: rtl;
}
.hero p { color: rgba(255,255,255,0.92); font-size: 1.12rem; margin-bottom: 1.6rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.8rem; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
    padding: 0.55rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}
.hero-badge i { color: #FF8A8F; }

.hero-buttons { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-buttons .btn-urgent { animation: pulse-cta 2.2s infinite; }

/* Carte de réservation rapide */
.quick-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}
.quick-form .qf-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.4rem; }
.quick-form .qf-head .qf-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--gradient-red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.quick-form h3 { color: var(--dark-blue); margin: 0; font-size: 1.3rem; }
.quick-form .qf-sub { font-size: 0.85rem; color: var(--text-light); margin: 0; }
.quick-form .form-row { display: grid; grid-template-columns: 1fr; gap: 0.85rem; }

/* ==========================================================================
   12. BANDEAU CONFIANCE / STATS
   ========================================================================== */
.trust-band { background: var(--white); padding: 0; margin-top: -3.5rem; position: relative; z-index: 5; }
.trust-inner {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.trust-item { text-align: center; padding: 2rem 1.2rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: none; }
.trust-icon {
    width: 64px; height: 64px;
    background: var(--light-gray);
    color: var(--brand-red);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.9rem;
    font-size: 1.7rem;
    transition: var(--transition-base);
}
.trust-item:hover .trust-icon { background: var(--gradient-red); color: #fff; transform: translateY(-4px); }
.trust-item h4 { color: var(--dark-blue); margin-bottom: 0.25rem; font-size: 1.5rem; }
.trust-item p { color: var(--text-light); margin: 0; font-size: 0.92rem; }

/* ==========================================================================
   13. CARTES SERVICES (ACCUEIL)
   ========================================================================== */
.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-image { height: 220px; background-size: cover; background-position: center; position: relative; }
.service-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,49,92,0.55), transparent 55%); }
.service-tag {
    position: absolute; top: 1rem; left: 1rem; z-index: 2;
    background: var(--gradient-red); color: #fff;
    padding: 0.4rem 0.9rem; border-radius: 50px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
}
.service-content { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { color: var(--dark-blue); margin-bottom: 0.7rem; font-size: 1.4rem; }
.service-features { margin: 1rem 0 1.5rem; }
.service-features li { padding: 0.35rem 0; color: var(--text-light); display: flex; align-items: center; gap: 0.55rem; font-size: 0.96rem; }
.service-features li i { color: var(--brand-red); font-size: 0.95rem; }
.service-content .btn { margin-top: auto; }

/* ==========================================================================
   14. ÉTAPES / PROCESSUS
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; margin-top: 3rem; }
.step { text-align: center; position: relative; padding: 0 0.5rem; }
.step-number {
    width: 78px; height: 78px;
    background: var(--gradient-navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.3rem;
    color: var(--white);
    font-size: 1.9rem; font-weight: 800;
    font-family: var(--font-heading);
    box-shadow: 0 10px 24px rgba(20,49,92,0.25);
    position: relative; z-index: 2;
}
.step h3 { color: var(--dark-blue); margin-bottom: 0.6rem; font-size: 1.3rem; }

/* ==========================================================================
   15. ZONE DE COUVERTURE (ACCUEIL)
   ========================================================================== */
.coverage-section { background: var(--light-gray); }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 3rem; }
.cities-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.city-item {
    background: var(--white);
    padding: 0.95rem 1.1rem;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; gap: 0.7rem;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    transition: var(--transition-base);
}
.city-item:hover { transform: translateX(5px); }
.city-item i { color: var(--brand-red); font-size: 1.1rem; }
.map-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 420px;
    border: 6px solid var(--white);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   16. TÉMOIGNAGES
   ========================================================================== */
.testimonials-slider { position: relative; max-width: 820px; margin: 3rem auto 0; }
.testimonial {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    display: none;
}
.testimonial.active { display: block; animation: fadeIn 0.5s ease; }
.testimonial .stars { color: #FBBF24; margin-bottom: 1rem; font-size: 1.1rem; }
.testimonial-text { font-size: 1.18rem; font-style: italic; color: var(--text-dark); margin-bottom: 1.8rem; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.author-avatar {
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--gradient-navy);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.3rem; font-weight: 700;
}
.author-info h4 { color: var(--dark-blue); margin: 0; font-size: 1.05rem; }
.author-info p { color: var(--text-light); margin: 0; font-size: 0.88rem; }
.slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.8rem; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #D2DCEA; cursor: pointer; transition: var(--transition-base); }
.dot.active { background: var(--brand-red); width: 30px; border-radius: 6px; }

/* ==========================================================================
   17. SECTION CTA
   ========================================================================== */
.cta-section {
    background: var(--gradient-navy);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '\f0f9';
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; right: -10px; bottom: -30px;
    font-size: 16rem; color: rgba(255,255,255,0.05);
    pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 0.8rem; position: relative; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin-bottom: 2rem; position: relative; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ==========================================================================
   18. EN-TÊTE DE PAGE (pages internes)
   ========================================================================== */
.page-header {
    position: relative;
    padding: 6.5rem 0 4.5rem;
    text-align: center;
    color: var(--white);
    background: var(--brand-navy);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.page-header::before { content: ''; position: absolute; inset: 0; background: var(--gradient-hero); z-index: 1; }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); text-shadow: 0 4px 18px rgba(0,0,0,0.3); }
.page-header p { color: rgba(255,255,255,0.92); font-size: 1.18rem; max-width: 640px; margin: 0 auto; }
.breadcrumb { margin-top: 1rem; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   19. PAGES SERVICES (transport / consultation / assistance)
   ========================================================================== */
.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.feature-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.4rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    text-align: center;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon-lg {
    width: 92px; height: 92px;
    background: linear-gradient(135deg, rgba(225,25,35,0.1), rgba(20,49,92,0.08));
    color: var(--brand-red);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.4rem;
    font-size: 2.6rem;
    transition: var(--transition-base);
}
.feature-card:hover .feature-icon-lg { background: var(--gradient-red); color: #fff; }
.feature-list { margin: 1.6rem 0 0; text-align: left; }
.feature-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 0.7rem; color: var(--text-dark); font-size: 0.95rem; }
.feature-list li:last-child { border-bottom: none; }
.feature-list i { color: var(--brand-red); font-size: 1.05rem; }

.why-choose { background: var(--light-gray); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.8rem; margin-top: 3rem; }
.benefit-item {
    background: var(--white);
    padding: 2.1rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--line);
    transition: var(--transition-base);
}
.benefit-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.benefit-icon {
    width: 70px; height: 70px;
    background: var(--gradient-navy);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.1rem;
    color: var(--white);
    font-size: 1.9rem;
}
.benefit-item:hover .benefit-icon { background: var(--gradient-red); }
.benefit-item h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }

/* ==========================================================================
   20. ÉQUIPEMENTS (vente & location)
   ========================================================================== */
.equipment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.2rem; margin-top: 3rem; }
.equipment-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    display: flex; flex-direction: column;
}
.equipment-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.equipment-image { height: 215px; background-size: cover; background-position: center; position: relative; }
.equipment-badge {
    position: absolute; top: 1rem; right: 1rem;
    background: var(--gradient-red); color: var(--white);
    padding: 0.4rem 0.95rem; border-radius: 50px;
    font-weight: 700; font-size: 0.8rem;
}
.equipment-badge.sale { background: var(--gradient-navy); }
.equipment-content { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.equipment-title { color: var(--dark-blue); font-size: 1.3rem; margin-bottom: 1rem; }
.equipment-features { margin: 0 0 1.4rem; }
.equipment-features li { padding: 0.4rem 0; display: flex; align-items: center; gap: 0.55rem; color: var(--text-light); font-size: 0.95rem; }
.equipment-features li i { color: var(--brand-red); }
.equipment-content .btn { margin-top: auto; }

.rental-process { background: var(--light-gray); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.8rem; margin-top: 3rem; }
.process-step { text-align: center; background: var(--white); padding: 2rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); transition: var(--transition-base); }
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.process-number {
    width: 58px; height: 58px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white); font-size: 1.4rem; font-weight: 800;
}

/* ==========================================================================
   21. COUVERTURE (page dédiée)
   ========================================================================== */
.cities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.4rem; margin-top: 3rem; }
.city-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    display: flex; align-items: center; gap: 1rem;
}
.city-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.city-icon {
    width: 58px; height: 58px;
    background: var(--gradient-navy);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.4rem; flex-shrink: 0;
}
.city-card:hover .city-icon { background: var(--gradient-red); }
.city-info h3 { color: var(--dark-blue); margin-bottom: 0.2rem; font-size: 1.2rem; }
.city-info p { color: var(--text-light); margin: 0; font-size: 0.88rem; }

.map-section { background: var(--light-gray); }
.map-container { background: var(--white); border-radius: var(--radius-lg); padding: 0.6rem; box-shadow: var(--shadow); margin-top: 2rem; }
.map-container .map-frame { height: 480px; border: none; box-shadow: none; border-radius: var(--radius); }

/* ==========================================================================
   22. À PROPOS
   ========================================================================== */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 1rem; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image .exp-badge {
    position: absolute; bottom: 1.4rem; left: 1.4rem;
    background: var(--gradient-red); color: #fff;
    padding: 1rem 1.4rem; border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.about-image .exp-badge strong { font-family: var(--font-heading); font-size: 2rem; display: block; line-height: 1; }
.about-image .exp-badge span { font-size: 0.85rem; }
.about-text h2 { color: var(--dark-blue); margin-bottom: 1.3rem; }
.about-text p { margin-bottom: 1.2rem; line-height: 1.85; }
.about-check { margin: 1.5rem 0; }
.about-check li { display: flex; align-items: center; gap: 0.7rem; padding: 0.4rem 0; color: var(--text-dark); font-weight: 500; }
.about-check li i { color: var(--brand-red); }

.values-section { background: var(--light-gray); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.8rem; margin-top: 3rem; }
.value-card {
    background: var(--white);
    padding: 2.3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    border-top: 4px solid var(--brand-red);
    transition: var(--transition-base);
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.value-icon {
    width: 76px; height: 76px;
    background: var(--gradient-navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.3rem;
    color: var(--white); font-size: 1.9rem;
}

.stats-section { background: var(--gradient-red); color: var(--white); padding: 4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2.5rem; text-align: center; }
.stat-item h3 { font-size: 3rem; color: var(--white); margin-bottom: 0.3rem; }
.stat-item p { color: rgba(255,255,255,0.92); font-size: 1.05rem; margin: 0; }

/* ==========================================================================
   23. CONTACT
   ========================================================================== */
.contact-container { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; margin-top: 1rem; }
.contact-info { background: var(--gradient-navy); color: #fff; padding: 2.8rem; border-radius: var(--radius-lg); }
.contact-info h2 { color: #fff; margin-bottom: 1.8rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1.2rem; margin-bottom: 1.8rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-icon {
    width: 54px; height: 54px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.3rem; flex-shrink: 0;
}
.contact-details h3 { color: #fff; margin-bottom: 0.25rem; font-size: 1.1rem; }
.contact-details p { margin: 0; color: rgba(255,255,255,0.82); font-size: 0.95rem; }
.contact-details a { color: #fff; font-weight: 600; }
.contact-details a:hover { color: #FF8A8F; }
.contact-form { background: var(--white); padding: 2.8rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-form h2 { color: var(--dark-blue); margin-bottom: 1.8rem; }

.hours-section { background: var(--light-gray); }
.hours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.8rem; margin-top: 2rem; }
.hours-card { background: var(--white); padding: 2.2rem; border-radius: var(--radius); text-align: center; border: 1px solid var(--line); transition: var(--transition-base); }
.hours-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.hours-card i { font-size: 2.6rem; color: var(--brand-red); margin-bottom: 1rem; }
.hours-card h3 { color: var(--dark-blue); margin-bottom: 0.6rem; }
.hours-card .time { font-size: 1.4rem; font-weight: 800; font-family: var(--font-heading); color: var(--brand-navy); margin: 0.6rem 0; }

/* ==========================================================================
   24. DEVIS (onglets + formulaires)
   ========================================================================== */
.tabs-container { max-width: 920px; margin: 1rem auto 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.tabs-header { display: flex; background: var(--light-gray); flex-wrap: wrap; }
.tab-button {
    flex: 1; min-width: 140px;
    padding: 1.3rem 1rem;
    border: none; background: transparent; cursor: pointer;
    font-size: 1rem; font-weight: 700; font-family: var(--font-heading);
    color: var(--text-light);
    transition: var(--transition-base);
    border-bottom: 3px solid transparent;
}
.tab-button i { margin-right: 0.4rem; }
.tab-button.active { background: var(--white); color: var(--brand-red); border-bottom-color: var(--brand-red); }
.tab-button:hover { background: rgba(225,25,35,0.06); color: var(--brand-red); }
.tab-content { display: none; padding: 2.8rem; animation: fadeIn 0.5s ease; }
.tab-content.active { display: block; }
.tab-content h2 { color: var(--dark-blue); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.form-grid.two-cols { grid-template-columns: 1fr 1fr; }
.checkbox-group { border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 1.4rem; margin: 1rem 0; }
.checkbox-group h4 { color: var(--dark-blue); margin-bottom: 1rem; }
.checkbox-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.9rem; }
.checkbox-item { display: flex; align-items: center; gap: 0.65rem; }
.checkbox-item input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; accent-color: var(--brand-red); }
.checkbox-item label { cursor: pointer; color: var(--text-dark); font-size: 0.95rem; }
.info-box {
    background: linear-gradient(135deg, rgba(225,25,35,0.06), rgba(20,49,92,0.06));
    padding: 1.3rem 1.5rem; border-radius: var(--radius-sm);
    margin: 1.8rem 0; border-left: 4px solid var(--brand-red);
    color: var(--text-dark); font-size: 0.95rem;
}
.info-box i { color: var(--brand-red); font-size: 1.15rem; margin-right: 0.5rem; }
.form-submit { margin-top: 1.8rem; text-align: center; }

/* ==========================================================================
   25. FOOTER
   ========================================================================== */
footer { background: var(--gradient-navy); color: var(--white); padding: var(--spacing-lg) 0 1.8rem; border-top: 4px solid var(--brand-red); }
.footer-container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-brand img { height: 56px; }
.footer-brand strong { font-family: var(--font-heading); font-size: 1.2rem; color: #fff; display: block; }
.footer-brand span { font-size: 0.78rem; letter-spacing: 0.18em; color: rgba(255,255,255,0.7); }
.footer-section h3 { color: var(--white); margin-bottom: 1.3rem; font-size: 1.15rem; position: relative; padding-bottom: 0.6rem; }
.footer-section h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--brand-red); border-radius: 2px; }
.footer-section p, .footer-section a { color: rgba(255,255,255,0.78); margin-bottom: 0.6rem; font-size: 0.95rem; }
.footer-section a { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-section a:hover { color: #FF8A8F; transform: translateX(3px); }
.footer-section a i, .footer-section p i { color: var(--accent-blue); width: 18px; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1rem; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.05rem;
}
.footer-social a:hover { background: var(--brand-red); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ==========================================================================
   26. UTILITAIRES
   ========================================================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 2rem; }
.hidden { display: none; }

/* ==========================================================================
   27. RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .quick-form { max-width: 540px; }
    .trust-inner { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: none; }
    .coverage-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; gap: 2rem; }
    .contact-container { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .topbar-left { display: none; }
    .topbar-inner { justify-content: center; }

    .nav-menu {
        position: fixed;
        left: -100%; top: 0;
        flex-direction: column;
        justify-content: center;
        background: var(--white);
        width: 80%; max-width: 320px;
        height: 100vh;
        text-align: center;
        transition: 0.35s;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        padding: 2rem;
        gap: 1.4rem;
        z-index: 1100;
    }
    .nav-menu.active { left: 0; }
    .nav-toggle { display: flex; z-index: 1200; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

    .hero { min-height: auto; padding: 2.5rem 0; text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-badges, .hero-buttons { justify-content: center; }
    .trust-band { margin-top: -2rem; }
    .trust-inner { grid-template-columns: 1fr; }
    .trust-item { border-right: none; border-bottom: 1px solid var(--line); }
    .trust-item:last-child { border-bottom: none; }
    .cities-list { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .form-grid.two-cols { grid-template-columns: 1fr; }
    .checkbox-options { grid-template-columns: 1fr; }
    .tabs-header { flex-direction: column; }
    .floating-buttons { bottom: 1.2rem; right: 1.2rem; }
    .floating-btn { width: 54px; height: 54px; font-size: 1.3rem; }
    section { padding: 3rem 0; }
}
