/* --- Variables de Couleurs Extraordinaires --- */
:root {
    --primary-anthracite: #2C3E50; /* Gris Anthracite - Robuste, professionnel */
    --secondary-orange: #FF6F00;   /* Orange Vif - Dynamisme, énergie, visibilité */
    --accent-violet: #8A2BE2;      /* Violet Électrique - Innovation, distinction */
    --text-dark: #333333;
    --text-light: #f9f9f9;
    --bg-light: #f4f7f6;
    --bg-dark: #222222;
    --border-color: #E0E0E0;
    --link-hover-color: #FF8F2B; /* Orange légèrement plus clair pour le survol */
}

/* --- Base Styles --- */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden; /* Prévient les barres de défilement horizontales non désirées */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-anthracite);
}

h1 { font-size: 3.8em; font-weight: 700; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
h2 { font-size: 3em; text-align: center; margin-bottom: 50px; position: relative; }
h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background-color: var(--secondary-orange);
    margin: 15px auto 0;
    border-radius: 3px;
}
h3 { font-size: 2em; }
p { font-size: 1.1em; margin-bottom: 15px; }

a {
    text-decoration: none;
    color: var(--primary-anthracite);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--link-hover-color);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px; /* Bordures arrondies pour un look moderne */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95em;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-orange);
    color: var(--primary-anthracite);
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.4);
}
.btn-primary:hover {
    background-color: var(--primary-anthracite);
    color: var(--secondary-orange);
    box-shadow: 0 7px 20px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent-violet);
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}
.btn-secondary:hover {
    background-color: var(--secondary-orange);
    color: var(--primary-anthracite);
    box-shadow: 0 7px 20px rgba(255, 111, 0, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}
.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-anthracite);
    border-color: var(--text-light);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

.btn-link {
    color: var(--secondary-orange);
    font-weight: 600;
    font-size: 1em;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
}
.btn-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.btn-link:hover i {
    transform: translateX(5px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1em;
}

.text-center {
    text-align: center;
}
.mt-5 {
    margin-top: 50px;
}

/* --- Header --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.98); /* Légèrement transparent */
    padding: 15px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Ajustez la hauteur de votre logo */
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 35px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--primary-anthracite);
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    font-size: 1.05em;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--secondary-orange);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.header-cta {
    margin-left: 30px;
}

/* Hamburger menu (hidden on desktop) */
.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-anthracite);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 700px; /* Hauteur de la section */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image couvre toute la section */
    z-index: 1;
    filter: brightness(0.6); /* Assombrit l'image pour mieux faire ressortir le texte */
    transition: transform 0.5s ease-out; /* Pour un effet de zoom léger */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.7), rgba(138, 43, 226, 0.5)); /* Dégradé Gris Anthracite + Violet */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 4.5em;
    margin-bottom: 25px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Why Choose Us Section --- */
.why-choose-us-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background-color: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.feature-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-item .icon-large {
    font-size: 3.5em;
    color: var(--secondary-orange);
    margin-bottom: 20px;
    display: block;
    animation: bounceIn 0.8s ease-out; /* Animation pour l'icône */
}

.feature-item h3 {
    font-size: 1.6em;
    color: var(--primary-anthracite);
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 0.95em;
    color: #555;
}

/* --- Services Preview Section --- */
.services-preview-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    color: var(--primary-anthracite);
    padding: 20px 25px 0;
    font-size: 1.8em;
}

.service-card p {
    padding: 0 25px 15px;
    font-size: 0.95em;
    color: #666;
}

.service-card .btn-link {
    display: block;
    padding: 10px 25px 20px;
    text-align: left;
    font-size: 0.95em;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(90deg, var(--primary-anthracite), #4A6076); /* Dégradé gris */
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--secondary-orange); /* Titre orange pour attirer l'attention */
    font-size: 3.2em;
    margin-bottom: 25px;
}
.cta-section h2::after {
    background-color: var(--accent-violet); /* Soulignement violet */
}

.cta-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--primary-anthracite);
    color: var(--text-light);
    padding: 60px 0 30px;
    font-family: 'Lato', sans-serif;
}

.footer-grid {
    display: inline-block;
    gap: 30px;
    padding: 0 25px;
}

.first{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--secondary-orange);
    margin-bottom: 25px;
    font-size: 1.4em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p, .footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--secondary-orange);
    text-decoration: underline;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-orange);
    transform: translateY(-5px);
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--secondary-orange);
    font-size: 1.1em;
    line-height: 1.6; /* Align with text */
}

.copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
}

.copyright-bar a {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 8px;
}
.copyright-bar a:hover {
    color: var(--secondary-orange);
}

/* --- Animations (for dynamic design) --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}

.feature-item.animated {
    animation: fadeIn 0.8s ease-out forwards;
}
.service-card.animated {
    animation: fadeIn 0.8s ease-out forwards;
}

/* --- Responsive Design (Mobile First) --- */
@media (max-width: 992px) {
    .main-nav {
        display: none; /* Hide main nav on smaller screens */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px; /* Below header */
        left: 0;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 15px rgba(0,0,0,0.1);
        padding: 20px 0;
        border-top: 1px solid var(--border-color);
    }
    .main-nav.active {
        display: flex; /* Show when active */
    }
    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    .main-nav ul li {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }
    .main-nav ul li a {
        padding: 10px 0;
        display: block;
        width: 100%;
    }
    .main-nav ul li a::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hamburger-menu {
        display: flex; /* Show hamburger */
    }
    .main-header .container {
        flex-wrap: wrap;
        justify-content: space-between; /* Logo left, hamburger right */
    }
    .header-cta {
        display: none; /* Hide CTA button in header on small screens */
    }

    .hero-section {
        height: auto;
        padding: 100px 0 80px;
    }
    .hero-content h1 {
        font-size: 3em;
    }
    .hero-content p {
        font-size: 1.2em;
    }
    .hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: row; /* Assure l'alignement horizontal */
    flex-wrap: wrap; /* Permet le retour à la ligne si nécessaire */
}
    .btn-large {
        width: 80%;
        margin: 0 auto;
    }

    h2 {
        font-size: 2.2em;
    }
    h2::after {
        width: 60px;
    }

    .features-grid, .service-cards-grid, .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-item, .service-card, .footer-col {
        margin: 0 auto;
        max-width: 400px; /* Limit width for single column */
    }

    .cta-section h2 {
        font-size: 2.5em;
    }
    .cta-section p {
        font-size: 1.1em;
    }

    .footer-col.about-col {
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .contact-info p {
        justify-content: center;
    }
    .copyright-bar {
        font-size: 0.75em;
    }
}

@media (max-width: 600px) {
    .container {
        display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: row; /* Assure l'alignement horizontal */
    flex-wrap: wrap; /* Permet le retour à la ligne si nécessaire */
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1em;
    }
    h2 {
        font-size: 1.8em;
    }
    .btn {
        padding: 12px 25px;
        font-size: 0.85em;
    }
    .logo img {
        height: 40px;
    }
}

/* --- Page Hero Section (for all sub-pages) --- */
.page-hero-section {
    position: relative;
    height: 400px; /* Hauteur de la section */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
    background: linear-gradient(45deg, var(--primary-anthracite), #4A6076); /* Fond par défaut */
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* Légère superposition pour le texte */
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-hero-content p {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
}

/* Specific background for Services page hero */
.services-hero {
    background: url('../images/services-hero-bg.jpg') no-repeat center center/cover;
}
.services-hero .page-hero-overlay {
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.7), rgba(255, 111, 0, 0.5)); /* Mélange Anthracite et Orange */
}

/* --- Section Introduction générale (Services, About, etc.) --- */
.section-intro {
    padding: 60px 0 30px;
    background-color: var(--bg-light);
}
.lead-paragraph {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
}

/* --- Service Detail Section --- */
.service-detail-section {
    padding: 80px 0;
    background-color: #ffffff; /* Pour alterner avec le gris si plus de sections */
}

.service-detail-section:nth-child(even) { /* Pour alterner les couleurs de fond */
    background-color: var(--bg-light);
}

.service-detail-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px; /* Espace entre les blocs de service */
}
.service-detail-item:last-child {
    margin-bottom: 0; /* Pas de marge pour le dernier */
}

.service-detail-item.reverse {
    flex-direction: row-reverse; /* Inverser l'ordre image/texte */
}

.service-image-content {
    flex: 1;
    min-width: 400px; /* Minimum width for image */
}
.service-image-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}
.service-image-content video {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}
.service-image-content video:hover {
    transform: scale(1.02);
}
.service-image-content img:hover {
    transform: scale(1.02);
}

.service-text-content {
    flex: 1;
    min-width: 400px; /* Minimum width for text */
}

.service-text-content h2 {
    text-align: left;
    font-size: 2.5em;
    margin-bottom: 25px;
    color: var(--primary-anthracite);
    position: relative;
    padding-bottom: 10px;
}
.service-text-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-orange);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 2px;
    margin: 0; /* Override default h2 margin */
}

.service-text-content p {
    margin-bottom: 20px;
    color: #444;
}

.service-text-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-text-content ul li {
    margin-bottom: 12px;
    font-size: 1.05em;
    color: #333;
    display: flex;
    align-items: flex-start;
}

.service-text-content ul li i {
    color: var(--secondary-orange);
    margin-right: 12px;
    font-size: 1.2em;
    margin-top: 3px; /* Align with text */
}

/* Responsive adjustments for Services page */
@media (max-width: 992px) {
    .page-hero-section {
        height: 300px;
    }
    .page-hero-content h1 {
        font-size: 2.8em;
    }
    .page-hero-content p {
        font-size: 1em;
    }

    .service-detail-item,
    .service-detail-item.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }

    .service-image-content, .service-text-content {
        min-width: unset; /* Remove min-width */
        width: 100%;
        text-align: center;
    }
    .service-text-content h2 {
        text-align: center;
    }
    .service-text-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .service-text-content ul {
        text-align: left; /* Keep list items left-aligned */
        padding: 0 15px; /* Add some padding */
    }
    .service-text-content ul li {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .page-hero-section {
        height: 250px;
    }
    .page-hero-content h1 {
        font-size: 2em;
    }
    .lead-paragraph {
        font-size: 1.1em;
    }
    .service-detail-item img {
        height: 250px;
    }
    .service-text-content h2 {
        font-size: 2em;
    }
}

/* Specific background for About page hero */
.about-hero {
    background: url('../images/about-hero-bg.jpg') no-repeat center center/cover;
}
.about-hero .page-hero-overlay {
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.7), rgba(138, 43, 226, 0.5)); /* Mélange Anthracite et Violet */
}

/* --- Story Section (About Page) --- */
.story-section {
    padding: 80px 0;
    background-color: #ffffff;
}
.story-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.story-text {
    flex: 1;
}
.story-text h2 {
    text-align: left;
    font-size: 2.8em;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.story-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-orange);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 2px;
    margin: 0;
}
.story-text p {
    color: #444;
}

.story-image {
    flex: 1;
    min-width: 400px;
}
.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* --- Values Section (About Page) --- */
.values-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-item {
    background-color: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.value-item .feature-icon { /* Re-using .feature-icon for values */
    font-size: 3.2em;
    color: var(--accent-violet); /* Using violet for values icon */
    margin-bottom: 20px;
}
.value-item h3 {
    font-size: 1.7em;
    color: var(--primary-anthracite);
    margin-bottom: 10px;
}
.value-item p {
    font-size: 0.95em;
    color: #555;
}

/* --- Team Section (Optional for About Page) --- */
.team-section {
    padding: 80px 0;
    background-color: #ffffff;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.team-member {
    text-align: center;
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.team-member h3 {
    font-size: 1.5em;
    margin-bottom: 5px;
    color: var(--primary-anthracite);
}
.team-member p {
    font-size: 0.95em;
    color: #686767;
    margin-bottom: 15px;
}
.social-member a {
    display: inline-block;
    color: var(--primary-anthracite);
    font-size: 1.1em;
    margin: 0 5px;
    transition: color 0.3s ease;
}
.social-member a:hover {
    color: var(--accent-violet);
}

/* Responsive adjustments for About page */
@media (max-width: 992px) {
    .story-content {
        flex-direction: column;
        gap: 30px;
    }
    .story-text, .story-image {
        min-width: unset;
        width: 100%;
        text-align: center;
    }
    .story-text h2 {
        text-align: center;
    }
    .story-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .story-image img {
        height: 300px;
    }
    .values-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    .value-item, .team-member {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Specific background for Fleet page hero */
.fleet-hero {
    background: url('../images/fleet-hero-bg.jpg') no-repeat center center/cover;
}
.fleet-hero .page-hero-overlay {
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.7), rgba(255, 111, 0, 0.5)); /* Mélange Anthracite et Orange */
}

/* --- Fleet Types Section (Fleet Page) --- */
.fleet-types-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.fleet-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fleet-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.fleet-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.fleet-item h3 {
    font-size: 1.8em;
    color: var(--primary-anthracite);
    padding: 20px 25px 0;
}
.fleet-item p {
    padding: 0 25px;
    font-size: 0.95em;
    color: #666;
}
.fleet-item ul {
    list-style: none;
    padding: 0 25px 20px;
    margin-top: 15px;
    text-align: left;
}
.fleet-item ul li {
    margin-bottom: 8px;
    font-size: 0.95em;
    color: #444;
    display: flex;
    align-items: flex-start;
}
.fleet-item ul li i {
    color: var(--secondary-orange);
    margin-right: 10px;
    font-size: 1.1em;
    margin-top: 3px;
}

/* --- Tech & Maintenance Section (Fleet Page) --- */
.tech-maintenance-section {
    padding: 80px 0;
    background-color: #ffffff;
}
.tech-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.tech-text {
    flex: 1;
}
.tech-text h2 {
    text-align: left;
    font-size: 2.8em;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.tech-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-violet); /* Using violet for tech focus */
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 2px;
    margin: 0;
}
.tech-text p {
    color: #444;
    margin-bottom: 20px;
}
.tech-text ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.tech-text ul li {
    margin-bottom: 12px;
    font-size: 1.05em;
    color: #333;
    display: flex;
    align-items: flex-start;
}
.tech-text ul li i {
    color: var(--accent-violet);
    margin-right: 12px;
    font-size: 1.2em;
    margin-top: 3px;
}

.tech-image {
    flex: 1;
    min-width: 400px;
}
.tech-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Responsive adjustments for Fleet page */
@media (max-width: 992px) {
    .tech-content {
        flex-direction: column;
        gap: 30px;
    }
    .tech-text, .tech-image {
        min-width: unset;
        width: 100%;
        text-align: center;
    }
    .tech-text h2 {
        text-align: center;
    }
    .tech-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .tech-image img {
        height: auto;
    }
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    .fleet-item {
        max-width: 400px;
        margin: 0 auto;
    }
    .fleet-item ul {
        text-align: center; /* Center for mobile */
        padding: 0 15px 20px; /* Adjust padding */
    }
    .fleet-item ul li {
        justify-content: center; /* Center items in list for mobile */
    }
}

/* Specific background for Testimonials page hero */
.testimonials-hero {
    background: url('../images/testimonials-hero-bg.jpg') no-repeat center center/cover;
}
.testimonials-hero .page-hero-overlay {
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.7), rgba(138, 43, 226, 0.5)); /* Mélange Anthracite et Violet */
}

/* --- Testimonials Grid Section --- */
.testimonials-grid-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.testimonial-card .quote-icon {
    font-size: 3em;
    color: var(--secondary-orange);
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.2;
}

.testimonial-text {
    font-size: 1.1em;
    font-style: italic;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.7;
    position: relative; /* To ensure text is above quote icon */
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.testimonial-author img {
    width: auto;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--accent-violet); /* Bordure violette */
}
.testimonial-author .author-info h4 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-anthracite);
}
.testimonial-author .author-info p {
    margin: 0;
    font-size: 0.9em;
    color: #777;
}

/* --- Clients Logo Section --- */
/* --- Variables de Couleurs Extraordinaires --- */
:root {
    --primary-anthracite: #2C3E50; /* Gris Anthracite - Robuste, professionnel */
    --secondary-orange: #FF6F00;   /* Orange Vif - Dynamisme, énergie, visibilité */
    --accent-violet: #8A2BE2;      /* Violet Électrique - Innovation, distinction */
    --text-dark: #333333;
    --text-light: #f9f9f9;
    --bg-light: #f4f7f6;
    --bg-dark: #222222;
    --border-color: #E0E0E0;
    --link-hover-color: #FF8F2B; /* Orange légèrement plus clair pour le survol */
}

/* --- Base Styles --- */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden; /* Prévient les barres de défilement horizontales non désirées */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-anthracite);
}

h1 { font-size: 3.8em; font-weight: 700; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
h2 { font-size: 3em; text-align: center; margin-bottom: 50px; position: relative; }
h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background-color: var(--secondary-orange);
    margin: 15px auto 0;
    border-radius: 3px;
}
h3 { font-size: 2em; }
p { font-size: 1.1em; margin-bottom: 15px; }

a {
    text-decoration: none;
    color: var(--primary-anthracite);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--link-hover-color);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px; /* Bordures arrondies pour un look moderne */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95em;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-orange);
    color: var(--primary-anthracite);
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.4);
}
.btn-primary:hover {
    background-color: var(--primary-anthracite);
    color: var(--secondary-orange);
    box-shadow: 0 7px 20px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent-violet);
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}
.btn-secondary:hover {
    background-color: var(--secondary-orange);
    color: var(--primary-anthracite);
    box-shadow: 0 7px 20px rgba(255, 111, 0, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}
.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-anthracite);
    border-color: var(--text-light);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

.btn-link {
    color: var(--secondary-orange);
    font-weight: 600;
    font-size: 1em;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
}
.btn-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.btn-link:hover i {
    transform: translateX(5px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1em;
}

.text-center {
    text-align: center;
}
.mt-5 {
    margin-top: 50px;
}

/* --- Header --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.98); /* Légèrement transparent */
    padding: 15px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Ajustez la hauteur de votre logo */
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 35px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--primary-anthracite);
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    font-size: 1.05em;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--secondary-orange);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.header-cta {
    margin-left: 30px;
}

/* Hamburger menu (hidden on desktop) */
.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-anthracite);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 700px; /* Hauteur de la section */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image couvre toute la section */
    z-index: 1;
    filter: brightness(0.6); /* Assombrit l'image pour mieux faire ressortir le texte */
    transition: transform 0.5s ease-out; /* Pour un effet de zoom léger */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.7), rgba(138, 43, 226, 0.5)); /* Dégradé Gris Anthracite + Violet */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 4.5em;
    margin-bottom: 25px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Why Choose Us Section --- */
.why-choose-us-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background-color: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.feature-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-item .icon-large {
    font-size: 3.5em;
    color: var(--secondary-orange);
    margin-bottom: 20px;
    display: block;
    animation: bounceIn 0.8s ease-out; /* Animation pour l'icône */
}

.feature-item h3 {
    font-size: 1.6em;
    color: var(--primary-anthracite);
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 0.95em;
    color: #555;
}

/* --- Services Preview Section --- */
.services-preview-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    color: var(--primary-anthracite);
    padding: 20px 25px 0;
    font-size: 1.8em;
}

.service-card p {
    padding: 0 25px 15px;
    font-size: 0.95em;
    color: #666;
}

.service-card .btn-link {
    display: block;
    padding: 10px 25px 20px;
    text-align: left;
    font-size: 0.95em;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(90deg, var(--primary-anthracite), #4A6076); /* Dégradé gris */
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--secondary-orange); /* Titre orange pour attirer l'attention */
    font-size: 3.2em;
    margin-bottom: 25px;
}

.cta-section h2::after {
    background-color: var(--accent-violet); /* Soulignement violet */
}

.cta-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Testimonials Page Styles --- */
.hero-page {
    height: 400px; /* Moins haut que la page d'accueil */
}

.testimonials-grid-section {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card .quote-icon {
    font-size: 2.5em;
    color: var(--secondary-orange);
    position: absolute;
    top: 20px;
    left: 20px;
    opacity: 0.2;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
    padding-top: 20px; /* Espace pour l'icône de citation */
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-anthracite);
    font-size: 1.05em;
    margin-top: 20px;
    display: block;
}


/* --- Clients Logo Section --- */
.clients-logo-section {
    padding: 10px 0;
    background-color: var(--bg-light);
    text-align: center;
    overflow: hidden; /* TRÈS IMPORTANT: masque le contenu qui dépasse pour l'effet de défilement */
    border-top: 1px solid var(--border-color); /* Séparateur visuel */
    border-bottom: 1px solid var(--border-color); /* Séparateur visuel */
}

.clients-logo-section h2 {
    color: var(--primary-anthracite);
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: 700;
}

.logos-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    box-sizing: border-box;
}

.logos-track {
    display: flex; /* Utilise flexbox pour aligner les logos */
    animation: scrollLogos 35s linear infinite; /* Anime le défilement (ajustez la durée) */
    will-change: transform; /* Optimisation pour la performance de l'animation */
    flex-wrap: nowrap; /* Ajouté pour s'assurer que les images restent sur une seule ligne */
}

.logos-track img {
    flex-shrink: 0; /* Empêche les images de rétrécir */
    width: 120px; /* Largeur fixe pour chaque logo, ajustez si besoin */
    height: auto; /* Maintient le ratio d'aspect */
    margin: 0 30px; /* Espacement entre les logos */
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
    filter: grayscale(100%); /* Rend les logos monochromes */
}

.logos-track img:hover {
    opacity: 1; /* Pleine opacité au survol */
    filter: grayscale(0%); /* Affiche la couleur originale au survol */
}

/* Pause l'animation au survol du slider */
.logos-slider:hover .logos-track {
    animation-play-state: paused;
}

/* Animation de défilement des logos */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* Défile sur 100% de sa largeur pour un effet infini */
    }
}


/* --- Footer --- */
.main-footer {
    background-color: var(--primary-anthracite);
    color: var(--text-light);
    padding: 60px 0 20px;
    font-size: 0.95em;
}




.footer-col h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--accent-violet);
    margin-top: 10px;
    border-radius: 2px;
}


.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--link-hover-color);
}

.about-company p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-orange);
    transform: translateY(-3px);
    color: var(--primary-anthracite);
}

.contact-info p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
}

.contact-info p i {
    color: var(--secondary-orange);
    margin-right: 10px;
    font-size: 1.1em;
}

.copyright-bar {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.7);
}

.copyright-bar a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 5px;
}

.copyright-bar a:hover {
    color: var(--secondary-orange);
}

/* --- Page Transition Styles --- */
/* Loader pour la transition de page */
#page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-anthracite); /* Couleur de fond de la transition */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

#page-transition.active {
    opacity: 1;
    visibility: visible;
}

.transition-truck-container {
    width: 150px; /* Largeur du conteneur du camion */
    height: 100px; /* Hauteur du conteneur du camion */
    position: relative;
    overflow: hidden; /* Cache les parties du camion qui dépassent */
}

.transition-truck {
    width: 100%;
    height: 100%;
    background: url('./asset/truck-loader.png') no-repeat center center; /* Chemin de l'image de votre camion */
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-100%); /* Commence hors écran à gauche */
    animation: driveAcross 1.5s ease-in-out forwards; /* Anime le camion */
}

@keyframes driveAcross {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(calc(100vw / 2 - 75px)); } /* Se positionne au centre de l'écran */
    100% { transform: translateX(calc(100vw + 100px)); } /* Sort de l'écran à droite */
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 80px; /* Hauteur de votre en-tête */
        left: 0;
        width: 100%;
        height: calc(100% - 80px);
        background-color: var(--primary-anthracite); /* Fond du menu mobile */
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 30px;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 999;
        overflow-y: auto; /* Pour les menus longs */
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul li {
        margin: 15px 0;
        width: 80%; /* Pour centrer les éléments */
        text-align: center;
    }

    .main-nav ul li a {
        font-size: 1.3em;
        color: var(--text-light); /* Couleur des liens dans le menu mobile */
        display: block;
        padding: 10px 0;
    }

    .main-nav ul li a::after {
        background-color: var(--secondary-orange);
    }

    .header-cta {
        margin-left: 0;
        margin-top: 20px; /* Espace le bouton du menu */
        width: 80%;
        display: block; /* S'assure que le bouton est visible par défaut sur mobile */
    }

    .hamburger-menu {
        display: flex;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 3.5em;
    }
    .hero-content p {
        font-size: 1.2em;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    

    .footer-col {
        margin-bottom: 30px;
    }

    .footer-col h4::after {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }
    .contact-info p {
        justify-content: center;
    }

    /* Testimonials */
    .testimonial-card .quote-icon {
        font-size: 2em;
        top: 15px;
        left: 15px;
    }
    .testimonial-text {
        padding-top: 15px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 3em; }
    h2 { font-size: 2.5em; }
    .hero-section { height: 500px; }
    .hero-content h1 { font-size: 3em; }
    .hero-content p { font-size: 1.1em; }

    /* Clients Logo Section */
    .clients-logo-section h2 {
        font-size: 2em;
    }
    .logos-track img {
        width: 100px;
        margin: 0 20px;
    }
    .logos-track {
        animation-duration: 30s; /* Ajustez la vitesse pour les écrans plus petits */
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    .hero-section { height: 400px; }
    .hero-content h1 { font-size: 2.5em; }
    .hero-content p { font-size: 1em; }

    /* Clients Logo Section */
    .clients-logo-section h2 {
        font-size: 1.8em;
    }
    .logos-track img {
        width: 80px;
        margin: 0 15px;
    }
    .logos-track {
        animation-duration: 25s; /* Encore plus rapide sur très petits écrans */
    }
}

/* Specific background for Blog page hero */
.blog-hero {
    background: url('../images/blog-hero-bg.jpg') no-repeat center center/cover;
}
.blog-hero .page-hero-overlay {
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.7), rgba(255, 111, 0, 0.5)); /* Mélange Anthracite et Orange */
}

/* --- Blog Posts Grid Section --- */
.blog-posts-grid-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-post-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.blog-post-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.blog-post-card .post-content {
    padding: 20px 25px;
}
.blog-post-card .post-date {
    display: block;
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
}
.blog-post-card .post-date i {
    margin-right: 5px;
    color: var(--secondary-orange);
}
.blog-post-card h3 {
    font-size: 1.6em;
    color: var(--primary-anthracite);
    margin-bottom: 10px;
}
.blog-post-card p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 15px;
}
.blog-post-card .btn-link {
    font-size: 0.95em;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    gap: 15px;
}
.pagination a {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--primary-anthracite);
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.pagination a:hover {
    background-color: var(--secondary-orange);
    color: #fff;
    border-color: var(--secondary-orange);
}
.pagination a.active {
    background-color: var(--primary-anthracite);
    color: var(--secondary-orange);
    border-color: var(--primary-anthracite);
}
.pagination a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f0f0f0;
    color: #aaa;
    border-color: #f0f0f0;
}
.pagination a i {
    margin: 0 5px;
}

/* Responsive adjustments for Blog page */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-post-card {
        max-width: 450px;
        margin: 0 auto;
    }
    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
    .pagination a {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

/* Specific background for Contact page hero */
.contact-hero {
    background: url('../images/contact-hero-bg.jpg') no-repeat center center/cover;
}
.contact-hero .page-hero-overlay {
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.7), rgba(138, 43, 226, 0.5)); /* Mélange Anthracite et Violet */
}

/* --- Contact Form Section --- */
.contact-form-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-form {
    flex: 2; /* Larger part for the form */
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
img {
    max-width: 100%;
    height: auto; /* Pour maintenir les proportions de l'image */
    overflow: hidden;
}

.contact-form h2 {
    text-align: left; /* Override global h2 centering */
    font-size: 2.5em;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}
.contact-form h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-orange);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 2px;
    margin: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-anthracite);
    font-size: 1em;
}

.form-group label .required {
    color: var(--accent-violet); /* Using violet for required indicator */
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    color: var(--text-dark);
    box-sizing: border-box; /* Include padding in width */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-block {
    flex: 2; /* Smaller part for contact info */
    background-color: var(--primary-anthracite);
    color: var(--text-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.contact{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contact1{
    width: 100%;
    display: inline-block;
}

/* .contact2{
    width: 50%;
    display: inline-block;
} */
.contact-info-block h3 {
    color: var(--secondary-orange);
    font-size: 1.8em;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.contact-info-block h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-violet);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 2px;
    margin: 0;
}

.contact-info-block p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.9);
}
.contact-info-block p i {
    margin-right: 15px;
    font-size: 1.2em;
    color: var(--secondary-orange);
    margin-top: 3px;
}
.contact-info-block p a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}
.contact-info-block p a:hover {
    color: var(--secondary-orange);
}

.contact-info-block .social-links a {
    background-color: rgba(255, 255, 255, 0.15);
}
.contact-info-block .social-links a:hover {
    background-color: var(--secondary-orange);
}

/* --- Map Section --- */
.map-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.map-container {
    margin-top: 50px;
    border-radius: 10px;
    overflow: hidden; /* Ensure border-radius applies */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.map-container iframe {
    border-radius: 10px; /* Redundant but good for safety */
}

/* Responsive adjustments for Contact page */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
    .contact-form, .contact-info-block {
        width: 100%;
        max-width: 500px; /* Limit width */
        margin: 0 auto;
    }
    .contact-form h2, .contact-info-block h3 {
        text-align: center;
    }
    .contact-form h2::after, .contact-info-block h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .contact-info-block p {
        justify-content: center; /* Center contact info text */
    }
    .contact-info-block p i {
        margin-right: 10px;
    }
    .map-container {
        max-width: 100%;
        margin: 50px auto 0; /* Center map */
    }
}

/* Specific background for Careers page hero */
.careers-hero {
    background: url('../images/careers-hero-bg.jpg') no-repeat center center/cover;
}
.careers-hero .page-hero-overlay {
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.7), rgba(255, 111, 0, 0.5)); /* Mélange Anthracite et Orange */
}

/* --- Why Join Us Section (Careers Page) --- */
.why-join-us-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.join-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.join-us-item {
    background-color: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.join-us-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.join-us-item .icon-large { /* Re-using icon-large class */
    font-size: 3.5em;
    color: var(--accent-violet); /* Using violet for career icons */
    margin-bottom: 20px;
}
.join-us-item h3 {
    font-size: 1.7em;
    color: var(--primary-anthracite);
    margin-bottom: 10px;
}
.join-us-item p {
    font-size: 0.95em;
    color: #555;
}

/* --- Job Offers Section (Careers Page) --- */
.job-offers-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.job-offers-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.job-offer-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.job-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.job-offer-card h3 {
    font-size: 1.8em;
    color: var(--primary-anthracite);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.job-offer-card h3 i {
    margin-right: 12px;
    color: var(--secondary-orange);
    font-size: 1.1em;
}
.job-offer-card p {
    font-size: 1em;
    color: #555;
    margin-bottom: 10px;
}
.job-offer-card .btn-small {
    padding: 8px 18px;
    font-size: 0.85em;
    margin-top: 15px;
}

/* --- Spontaneous Application Section --- */
.spontaneous-application-section {
    padding: 80px 0;
    background: linear-gradient(90deg, var(--primary-anthracite), #4A6076);
    color: var(--text-light);
    text-align: center;
}
.spontaneous-application-section h2 {
    color: var(--secondary-orange);
    font-size: 3.2em;
    margin-bottom: 25px;
}
.spontaneous-application-section h2::after {
    background-color: var(--accent-violet);
}
.spontaneous-application-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments for Careers page */
@media (max-width: 992px) {
    .join-us-grid, .job-offers-list {
        grid-template-columns: 1fr;
    }
    .join-us-item, .job-offer-card {
        max-width: 450px;
        margin: 0 auto;
    }
}

/* --- Styles pour le Canvas d'arrière-plan --- */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Assurez-vous qu'il est en arrière-plan */
    opacity: 0.15; /* Subtil */
}

/* --- Nouvelles animations pour le Scroll Reveal --- */
/* Base pour les éléments qui seront animés */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Variations d'animations */
.animate-slide-left {
    transform: translateX(-100px);
}
.animate-slide-left.animated {
    transform: translateX(0);
}

.animate-slide-right {
    transform: translateX(100px);
}
.animate-slide-right.animated {
    transform: translateX(0);
}

.animate-zoom-in {
    transform: scale(0.8);
}
.animate-zoom-in.animated {
    transform: scale(1);
}

/* Appliquez ces classes aux éléments dans votre HTML pour qu'ils soient observés */
/* Ex: <div class="feature-item animate-on-scroll animate-slide-left">...</div> */

/* --- Effet de survol amélioré pour les cartes (déjà présent, mais assurez-vous qu'il est robuste) --- */
.feature-item:hover,
.service-card:hover,
.fleet-item:hover,
.testimonial-card:hover,
.blog-post-card:hover,
.job-offer-card:hover {
    transform: translateY(-15px) scale(1.02); /* Plus prononcé */
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); /* Ombre plus intense */
}

/* Effet de survol pour les boutons */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Ajustement pour les icônes de valeurs/carrières */
.value-item .feature-icon,
.join-us-item .icon-large {
    transition: transform 0.4s ease;
}
.value-item:hover .feature-icon,
.join-us-item:hover .icon-large {
    transform: rotateY(360deg) scale(1.1); /* Rotation et léger zoom */
}

/* Style pour l'effet de typing */
#hero-headline span.typed-cursor {
    opacity: 1;
    animation: blink 0.7s infinite;
    font-weight: 100; /* Pour un curseur fin */
    color: var(--secondary-orange);
}
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* --- NOUVEAUX STYLES POUR LES EFFETS DE CHARGEMENT ET TRANSITION DE PAGE --- */

/* Base pour l'écran de chargement initial */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark-blue); /* Ou une couleur qui correspond à votre thème */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Toujours au-dessus de tout */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Empêche les clics une fois caché */
}

/* Style du véhicule dans le loader (peut être une image, une icône ou une simple forme) */
.loader-vehicle {
    width: 80px; /* Taille du véhicule */
    height: 40px;
    background: url('../images/truck-loader.png') no-repeat center center; /* Chemin vers votre image de camion/véhicule */
    background-size: contain;
    animation: loaderMove 2s infinite ease-in-out alternate; /* Animation de mouvement */
}

@keyframes loaderMove {
    0% { transform: translateX(-50px); }
    100% { transform: translateX(50px); }
}

/* Base pour la transition de page */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark-blue); /* Même couleur que le loader ou différente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998; /* Un peu en dessous du loader mais au-dessus du contenu */
    transform: translateX(-100%); /* Commence hors écran à gauche */
    transition: transform 0.6s ease-in-out;
    visibility: hidden; /* Caché par défaut */
}

.page-transition.active {
    transform: translateX(0); /* Glisse sur l'écran */
    visibility: visible;
}

.page-transition.active .transition-vehicle {
    animation: transitionVehicleMove 0.6s forwards; /* Anime le véhicule pendant la transition */
}

/* Style du véhicule de transition */
.transition-vehicle {
    width: 100px;
    height: 50px;
    background: url('../images/truck-transition.png') no-repeat center center; /* Une autre image si vous voulez */
    background-size: contain;
    /* Pas d'animation continue ici, elle est lancée par JS lors de la transition */
}

@keyframes transitionVehicleMove {
    0% { transform: translateX(-200px); opacity: 0; }
    50% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(200px); opacity: 0; }
}

/* --- FIN DES NOUVEAUX STYLES --- */

/* --- Section Partenaires --- */
.partners-carousel {
    padding: 60px 0;
    background-color: var(--bg-light);
    text-align: center;
    overflow: hidden; /* Important pour masquer les logos en dehors de la vue */
}

.partners-carousel h2 {
    color: var(--primary-anthracite);
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: 700;
}

.logos-slider {
    white-space: nowrap; /* Empêche les logos de passer à la ligne */
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0; /* Un peu de padding vertical */
}

.logos-track {
    display: inline-block; /* Pour permettre l'animation de défilement */
    animation: scrollLogos 20s linear infinite; /* Durée et vitesse de l'animation */
    /* Duplique le contenu via JS si besoin, mais ici géré par HTML pour simplicité */
}

.logos-track img {
    height: auto; /* Taille des logos, ajustez si besoin */
    margin: 0 40px; /* Espacement entre les logos */
    vertical-align: middle;
    opacity: 0.7; /* Légèrement transparent */
    transition: opacity 0.3s ease-in-out;
    max-width: 150px; /* Empêche les logos d'être trop grands */
    width: auto; /* Maintient le ratio d'aspect */
}

.logos-track img:hover {
    opacity: 1; /* Pleine opacité au survol */
}

/* Animation de défilement */
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Défile sur 50% de sa largeur (la moitié des logos dupliqués) */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partners-carousel h2 {
        font-size: 2em;
    }

    .logos-track img {
        height: auto;
        margin: 0 20px;
    }
}

@media (max-width: 480px) {
    .partners-carousel h2 {
        font-size: 1.8em;
    }

    .logos-track img {
        height: auto;
        margin: 0 15px;
    }
}

/* Styles pour la section de contact dans le footer */
#contact-info {  
    
    margin-right: 30px;/* Assurez-vous que cette colonne prend suffisamment de place dans le footer-grid global */
    /* Si votre .footer-grid a des propriétés display: grid ou flex, ajustez la largeur de .footer-col.contact-info si nécessaire */
    /* Par exemple, si vous voulez qu'elle prenne 1/4 de la largeur totale du footer-grid: */
    /* flex: 1; ou grid-column: span X; si votre footer-grid est aussi en grid */
}

/* Styles pour la grille des contacts spécifiques par pays */
.contact-grid {
    display: grid;                 /* Active la mise en page en grille */
    grid-template-columns: repeat(3, 1fr); /* Crée trois colonnes de largeur égale */
    /* 'repeat(3, 1fr)' signifie 3 colonnes, chacune prenant 1 fraction de l'espace disponible. */
    /* Les 6 .contact-item se répartiront automatiquement sur 2 lignes (3 par ligne). */

    gap: 20px;                     /* Crée un espacement de 20px entre les éléments de la grille,
                                      aussi bien horizontalement (entre les colonnes) que verticalement (entre les lignes). */

    margin-bottom: 20px; /* Ajoute un espace entre la grille des contacts et les infos email/horaires */
}

/* Styles pour chaque élément de contact individuel (chaque pays) */
.contact-item {
    /* Aucune largeur ou hauteur spécifique n'est nécessaire ici, car la grille gère la taille des cellules. */
    box-sizing: border-box; /* S'assure que le padding et la bordure sont inclus dans la taille de l'élément. */
    /* Vous pouvez ajouter d'autres styles visuels ici si vous le souhaitez, par exemple: */
    /* border: 1px solid #ccc; */
    /* padding: 10px; */
}

/* Styles pour les icônes (si vous utilisez Font Awesome ou similaire) */
.contact-item i {
    margin-right: 8px; /* Espacement entre l'icône et le texte */
}

/* Styles pour les paragraphes à l'intérieur des items (ajustement de la marge) */
.contact-item p {
    margin-bottom: 5px; /* Réduit l'espace entre les lignes de texte dans chaque item */
    line-height: 1.4; /* Améliore la lisibilité du texte */
}

/* Styles pour les informations de contact générales (email, horaires) */
.footer-col.contact-info > p {
    margin-bottom: 5px; /* Espacement entre l'email et les horaires */
}

#links{
    margin-left: 1px;
    padding: 0;
    list-style: none;
}

#links a {
    text-decoration: none;
    color: #ffffff;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: border-color 0.3s;
}

#links a:hover {
    border-color: #007bff;
}



/* ============================================= */
/* RESPONSIVE POUR TOUS TYPES DE TÉLÉPHONES */
/* ============================================= */

@media (max-width: 480px) {
    /* Ajustements généraux */
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.2em;
    }
    
    h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    /* Header */
    .logo img {
        height: 40px;
    }
    
    .hamburger-menu {
        width: 25px;
    }
    
    /* Hero Section */
    .hero-section {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.2em;
    }
    
    .hero-content p {
        font-size: 1em;
    }
    
    .hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: row; /* Assure l'alignement horizontal */
    flex-wrap: wrap; /* Permet le retour à la ligne si nécessaire */
}
    
    /* Sections */
    .section-intro, 
    .why-choose-us-section,
    .services-preview-section,
    .cta-section,
    .service-detail-section,
    .fleet-types-section,
    .tech-maintenance-section,
    .testimonials-grid-section,
    .blog-posts-grid-section,
    .contact-form-section,
    .map-section {
        padding: 50px 0;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Service Cards */
    .service-cards-grid {
        grid-template-columns: 1fr;
    }
    
    /* Service Detail */
    .service-detail-item,
    .service-detail-item.reverse {
        flex-direction: column;
    }
    
    .service-image-content,
    .service-text-content {
        min-width: 100%;
    }
    
    .service-image-content img {
        height: 250px;
    }
    
    /* Fleet Items */
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Form */
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form,
    .contact-info-block {
        width: 100%;
        padding: 25px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Contact Grid dans le footer */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    /* Blog Posts */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* CTA Buttons */
    .btn {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    
    .btn-large {
        width: 100%;
    }
    
    /* Page Hero */
    .page-hero-section {
        height: 300px;
    }
    
    .page-hero-content h1 {
        font-size: 2em;
    }
    
    .page-hero-content p {
        font-size: 1em;
    }
    
    /* Lead Paragraph */
    .lead-paragraph {
        font-size: 1.1em;
    }
    
    /* Form Elements */
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
    }
    
    /* Map */
    .map-container iframe {
        height: 300px;
    }
}

/* ============================================= */
/* RESPONSIVE POUR TRÈS PETITS ÉCRANS (< 360px) */
/* ============================================= */

@media (max-width: 360px) {
    /* Ajustements supplémentaires pour très petits écrans */
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .hero-section {
        height: 450px;
    }
    
    .hero-content h1 {
        font-size: 1.8em;
    }
    
    .page-hero-section {
        height: 250px;
    }
    
    .page-hero-content h1 {
        font-size: 1.7em;
    }
    
    /* Boutons */
    .btn {
        padding: 10px 20px;
    }
    
    /* Footer */
    .copyright-bar {
        font-size: 0.7em;
    }
    
    /* Contact Info */
    .contact-info p {
        font-size: 0.9em;
    }
    
    /* Service Images */
    .service-image-content img {
        height: 200px;
    }
}

/* ============================================= */
/* ORIENTATION PAYSAGE SUR MOBILE */
/* ============================================= */

@media (max-height: 480px) and (orientation: landscape) {
    /* Ajustements pour l'orientation paysage */
    .hero-section {
        height: 100vh;
        min-height: 350px;
    }
    
    .page-hero-section {
        height: 50vh;
        min-height: 250px;
    }
    
    /* Réduire les marges/paddings verticaux */
    .section-intro, 
    .why-choose-us-section,
    .services-preview-section,
    .cta-section {
        padding: 30px 0;
    }
    
    /* Ajuster la taille des polices */
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    
    /* Ajuster les grilles pour plus de compacité */
    .features-grid,
    .service-cards-grid,
    .fleet-grid,
    .blog-grid {
        gap: 15px;
    }
    
    /* Réduire la taille des images */
    .service-card img,
    .fleet-item img,
    .blog-post-card img {
        height: 150px;
    }
    
    /* Ajuster le formulaire de contact */
    .contact-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
}


/* Ajustement général des boutons */
.btn {
    padding: 10px 20px; /* Réduit le padding */
    font-size: 0.85em; /* Taille de police plus petite */
    min-width: 120px; /* Largeur minimale */
}

/* Boutons larges */
.btn-large {
    padding: 12px 24px;
    font-size: 0.9em;
}

/* Boutons dans le header */
.header-cta {
    padding: 8px 16px;
    margin-left: 15px;
}

@media (max-width: 480px) {
    .btn {
        padding: 8px 16px;
        font-size: 0.8em;
    }
    
    .header-cta {
        padding: 6px 12px;
        margin-left: 10px;
    }
}

/* Centrage général amélioré */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.text-center {
    text-align: center;
}

/* Centrage spécifique pour les sections */
.hero-content, 
.page-hero-content,
.service-text-content,
.tech-text,
.contact-form,
.contact-info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Centrage des grilles */
.features-grid,
.service-cards-grid,
.fleet-grid,
.blog-grid {
    justify-items: center;
}

/* Empêcher tout débordement horizontal */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Contrôle des largeurs maximales */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Gestion des longs textes */
p, li, a {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Conteneurs flexibles */
.service-detail-item,
.tech-content {
    flex-wrap: wrap;
}

/* Correction spécifique pour les cartes */
.service-card,
.fleet-item,
.blog-post-card {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    /* Ajustements supplémentaires pour tablettes */
    .service-image-content,
    .service-text-content,
    .tech-image,
    .tech-text {
        min-width: 100%;
        max-width: 100%;
    }
    
    /* Espacement réduit */
    .service-detail-item,
    .tech-content {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    /* Ajustements mobiles */
    .hero-section,
    .page-hero-section {
        height: auto;
        padding: 80px 0;
    }
    
    /* Taille de police réduite */
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.5em; }
    h3 { font-size: 1.3em; }
    
    /* Boutons pleine largeur sur mobile */
    .btn, .btn-large {
        width: 50%;
        display: inline-block;
        margin: 5px 0;
    }
    
    /* Flexbox pour les groupes de boutons */
    .hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: row; /* Assure l'alignement horizontal */
    flex-wrap: wrap; /* Permet le retour à la ligne si nécessaire */
}
}

/* Empêcher le débordement du formulaire */
.contact-form {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Grille de contact responsive */
.contact-grid {
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (max-width: 480px) {
    .contact-info-block {
        padding: 15px;
    }
    
    .contact-info p {
        font-size: 0.9em;
    }
}

/* Footer responsive */
.main-footer {
    padding: 40px 0 20px;
    text-align: center;
}

.footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-col {
    text-align: center;
    margin-bottom: 25px;
}

.social-links {
    justify-content: center;
}

.copyright-bar {
    font-size: 0.8em;
    padding-top: 15px;
}

@media (max-width: 360px) {
    /* Ajustements supplémentaires pour petits mobiles */
    .container {
        padding: 0 10px;
    }
    
    h1 { font-size: 1.6em; }
    h2 { font-size: 1.3em; }
    
    .btn {
        padding: 6px 12px;
        font-size: 0.75em;
    }
    
    /* Correction de l'espacement */
    .feature-item,
    .service-card,
    .fleet-item {
        padding: 20px;
    }
}