/* Réinitialisation de base */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { color: #333; line-height: 1.6; background-color: #f4f7f6; }

/* En-tête et Navigation */
header { background: #0a192f; color: white; padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; }
/*
.logo-img { 
    height: 60px; /*hauteur 
    width: auto;
    border-radius: 4px; 
}


.logo-img { 
    height: 60px; 
    width: auto;
    filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.8)); /* Crée un halo blanc autour du logo 
}
*/

.logo-img { 
    height: 60px; 
    width: auto;
    background-color: white; /* Ajoute un fond blanc pour le contraste */
    padding: 5px 15px; /* Espace autour du logo */
    border-radius: 8px; /* Bords légèrement arrondis */
}

nav ul { list-style: none; display: flex; gap: 20px; }
nav a { color: white; text-decoration: none; font-weight: 500; transition: color 0.3s; }
nav a:hover { color: #ff9900; }

/* --- Bannière au premier plan --- */
.banner-container {
    width: 100%;
    background-color: white; /* Fond blanc derrière l'image si besoin */
}

.main-banner {
    width: 100%;
    height: auto; /* Garde les proportions exactes de l'image */
    display: block;
}

/* --- Section Texte sous la bannière --- */
.hero-text { 
    background-color: #172a45; /* On remet le fond bleu uni d'origine */
    color: white; 
    padding: 80px 5%; 
    text-align: center; 
}
.hero-text h1 { 
    font-size: 3rem; 
    margin-bottom: 20px; 
}
.hero-text p { 
    font-size: 1.2rem; 
    max-width: 800px; 
    margin: 0 auto 30px auto; 
    color: #e6f1ff; 
}
.cta-button { 
    background: #ff9900; 
    color: #0a192f; 
    padding: 12px 30px; 
    text-decoration: none; 
    font-weight: bold; 
    border-radius: 5px; 
    transition: background 0.3s; 
    display: inline-block;
}
.cta-button:hover { background: #e68a00; }


/* Section Services */
.services { padding: 60px 5%; text-align: center; }
.services h2 { margin-bottom: 40px; font-size: 2rem; color: #0a192f; }
.cards-container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.card { background: white; padding: 30px; border-radius: 8px; flex: 1; min-width: 250px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.card h3 { color: #0a192f; margin-bottom: 15px; }
.card p { color: #666; font-size: 0.95rem; }

/* Pied de page */
footer { background: #0a192f; color: white; text-align: center; padding: 20px; margin-top: 40px; }

/* --- Section Contact --- */
.contact-container { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 40px; 
    max-width: 1000px; 
    margin: 60px auto; 
    padding: 0 5%; 
}
.contact-info, .contact-form { 
    flex: 1; 
    min-width: 300px; 
    background: white; 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
}
.contact-info h3, .contact-form h3 { color: #0a192f; margin-bottom: 20px; }
.contact-info p { margin-bottom: 15px; color: #666; }
.contact-info strong { color: #0a192f; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; color: #333; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select { 
    width: 100%; 
    padding: 10px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    font-family: inherit; 
}
.form-group textarea { resize: vertical; height: 120px; }
.submit-btn { 
    background: #ff9900; 
    color: #0a192f; 
    border: none; 
    padding: 12px 20px; 
    cursor: pointer; 
    border-radius: 4px; 
    font-weight: bold; 
    width: 100%; 
    transition: background 0.3s; 
}
.submit-btn:hover { background: #e68a00; }

/* --- Section Histoire --- */
.history-container { max-width: 800px; margin: 60px auto; padding: 0 5%; }
.history-container h2 { color: #0a192f; margin-top: 40px; margin-bottom: 20px; font-size: 1.8rem; }
.history-container p { margin-bottom: 20px; color: #444; font-size: 1.1rem; text-align: justify; }

/* --- Bouton Burger (Caché sur ordinateur) --- */
.burger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.burger span { width: 25px; height: 3px; background-color: white; border-radius: 2px; transition: 0.3s; }


/* --- Nouveaux styles pour l'Accueil --- */
.hero-subtitle {
    color: #ff9900;
    font-weight: 500;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.hero-location {
    font-weight: bold;
    color: #ff9900;
    margin-top: 20px;
    font-size: 1.1rem;
}

/* Alignement des boutons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Style du bouton secondaire ("Découvrir nos solutions") */
.secondary-btn {
    background: transparent;
    color: #ff9900;
    border: 2px solid #ff9900;
}
.secondary-btn:hover {
    background: rgba(255, 153, 0, 0.1);
}

/* Introduction de la section Expertise */
.expertise-intro {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    color: #555;
}
.expertise-intro p {
    margin-bottom: 15px;
}

/* Chiffres clés dans les cartes */
.card-number {
    font-size: 1.5rem !important;
    color: #ff9900 !important;
}


/* =========================================
   PAGE : NOS SOLUTIONS
   ========================================= */

/* En-tête de page classique (sans image) */
.page-header {
    background-color: #0a192f;
    color: white;
    text-align: center;
    padding: 80px 5%;
}
.page-header h1 {
    font-size: 2.5rem;
    color: #ff9900;
}

/* Blocs de contenu */
.solution-block {
    padding: 80px 5%;
}
.bg-white { background-color: #ffffff; }
.bg-light { background-color: #f4f7f6; }

.solution-content {
    max-width: 900px;
    margin: 0 auto;
}
.solution-content h2 {
    font-size: 2.2rem;
    color: #0a192f;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #ff9900;
    display: inline-block;
    margin-bottom: 20px;
    padding-bottom: 5px;
}
.solution-content h3 {
    font-size: 1.4rem;
    color: #ff9900;
    margin-bottom: 20px;
}
.solution-content h4.sub-heading {
    font-size: 1.2rem;
    color: #0a192f;
    margin: 30px 0 15px 0;
}
.solution-content p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 15px;
    text-align: justify;
}

/* Étiquettes (Tags) */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}
.center-tags {
    justify-content: center;
}
.tag {
    background-color: #e6f1ff;
    color: #0a192f;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}
.tag-blue { background-color: #0a192f; color: white; }
.tag-orange { background-color: #ff9900; color: #0a192f; }

/* Liste des Corridors */
.corridor-list {
    list-style: none;
    margin: 20px 0;
    padding-left: 20px;
    border-left: 3px solid #ff9900;
}
.corridor-list li {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}
.corridor-list strong {
    color: #0a192f;
}

/* Flux de processus (Process Flow) */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.process-step {
    text-align: center;
    font-weight: bold;
    color: #0a192f;
    font-size: 0.95rem;
    flex: 1;
    min-width: 120px;
}
.process-arrow {
    color: #ff9900;
    font-size: 1.5rem;
    font-weight: bold;
}
.separator {
    border: none;
    border-top: 1px solid #ccc;
    margin: 40px 0;
}
.text-center { text-align: center; }
.text-center p { text-align: center; }


/* =========================================
   PAGE : À PROPOS / HISTOIRE
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}
.history-content {
    padding: 60px 5%;
}
.history-content p {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 20px;
}
.highlight-text {
    font-weight: bold;
    color: #0a192f !important;
    margin-top: 35px;
    border-left: 4px solid #ff9900;
    padding-left: 15px;
    font-size: 1.25rem !important;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #0a192f;
    margin-bottom: 40px;
}

/* Grille des valeurs */
.values-section {
    padding: 60px 5%;
}
.values-grid {
    display: grid;
    /* Crée automatiquement autant de colonnes que possible (min 220px de large) */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}
.value-card {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid #ff9900; /* Ligne orange esthétique en haut de la carte */
    text-align: center;
    transition: transform 0.3s;
}
.value-card:hover {
    transform: translateY(-5px); /* Petit effet de soulèvement au survol */
}
.value-card h3 {
    color: #0a192f;
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.value-card p {
    color: #666;
    font-size: 1rem;
}

/* Section Partenaires */
.partners-section {
    padding: 60px 5%;
    margin-bottom: 40px;
}
.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}
.partner-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #777;
    letter-spacing: 2px;
    padding: 15px 30px;
    border: 2px solid #eaeaea;
    border-radius: 5px;
    background: #fdfdfd;
}

/* --- Mode Mobile (Écrans de moins de 768px) --- */
@media screen and (max-width: 768px) {
    .burger { display: flex; }
    nav ul { 
        display: none; 
        flex-direction: column; 
        width: 100%; 
        background-color: #0a192f; 
        position: absolute; 
        top: 80px; 
        left: 0; 
        text-align: center; 
        padding: 20px 0; 
        box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
        z-index: 1000; 
      
    }
    nav ul.active { display: flex; }
    nav ul li { margin: 15px 0; }
    .cards-container, .contact-container { flex-direction: column; }
    .hero h1 { font-size: 2rem; }
    
    
  .hero-text h1 {
        font-size: 2rem;
    }

  .process-flow {
        flex-direction: column;
    }
  .process-arrow {
        transform: rotate(90deg); /* Tourne les flèches vers le bas sur mobile */
        margin: 10px 0;
    }

}

/* --- Catalogue Flotte --- */
.catalog-filters { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { padding: 8px 20px; border: 2px solid #0a192f; background: transparent; color: #0a192f; cursor: pointer; border-radius: 20px; font-weight: bold; transition: all 0.3s ease; }
.filter-btn.active, .filter-btn:hover { background: #0a192f; color: white; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; max-width: 1200px; margin: 0 auto; padding: 0 5%; }

/* --- Modale (Image en grand) --- */
.modal { display: none; position: fixed; z-index: 2000; padding-top: 80px; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(10, 25, 47, 0.9); overflow: auto; }
.modal-content { margin: auto; display: block; max-width: 90%; max-height: 70vh; object-fit: contain; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
#modal-caption { margin: auto; display: block; width: 80%; text-align: center; color: #ff9900; padding: 15px 0; font-size: 1.2rem; font-weight: bold; }
.close-modal { position: absolute; top: 20px; right: 40px; color: white; font-size: 40px; font-weight: bold; cursor: pointer; transition: color 0.3s; }
.close-modal:hover, .close-modal:focus { color: #ff9900; }
