/* =============================================
   RESET ET VARIABLES
============================================= */
:root {
    --primary-color: #0056A3; /* Bleu industriel */
    --secondary-color: #FF6B00; /* Orange */
    --light-color: #f5f5f5b4; /* Gris clair semi-transparent */
    --dark-color: #333; /* Noir */
    --white: #FFFFFF; /* Blanc */
}

/* Reset global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

/* =============================================
   BODY ET CONTAINER
============================================= */
body {
    background: url('images/tuyau2.jpeg') no-repeat center center fixed;
    background-size: cover;
    padding-top: 80px; /* Espace pour l'entête fixe */
    color: #333;
    line-height: 1.6; /* Meilleure lisibilité */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   EN-TÊTE
============================================= */
header {
    background: #0056A3; /* Bleu foncé */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    margin: 0;
}

header .container {
    background: rgba(255, 255, 255, 0.9); /* Rectangle blanc semi-transparent */
    border-radius: 5px;
    padding: 0 20px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.logo p {
    color: var(--primary-color);
    font-size: 14px;
}


nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap; /* Pour éviter les débordements */
    margin: 0;
    padding: 0;
    gap: 20px;

}

nav ul li {
    margin-left: 30px;
}

nav ul li a {/* texte de ligne de selection */
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer; /* Indique que c'est cliquable */
}

nav ul li a:hover {
    color: var(--primary-color);
}

.phone {
    color: var(--primary-color);
    font-weight: 600;
}

/* Icône hamburger (cachée sur PC) */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #0056A3;
}


@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
        padding: 10px 15px;
    }

    .logo p {
        display: none;
    }

    .phone {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        width: 100%;
        display: none;
        background-color: white;
        position: relative;
        top: 0;
        left: 0;
        z-index: 1000;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 12px;
        border-bottom: 1px solid rgba(0, 86, 163, 0.2);
    }
}

/* =============================================
   BANNIÈRE (BANNER)
============================================= */
.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 120px 0 80px;
}

.banner h2 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8); /* Ombre pour le titre de la bannière */
}

.banner p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* =============================================
   BOUTONS
============================================= */
.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
    cursor: pointer; /* Indique que c'est cliquable */
}

.btn2 {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
    cursor: pointer; /* Indique que c'est cliquable */
}

.btn:hover {
    background-color: #E55A00;
}

/* =============================================
   SECTIONS GÉNÉRALES
============================================= */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
    /* text-shadow:0 2px 8px rgba(0,0,0,.6); SUPPRIMÉ (géré par les sections spécifiques) */
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* =============================================
   SERVICES SUMMARY (Page d'accueil)
============================================= */
.services-summary h2 {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden; /* Évite les débordements */
    min-height: 250px; /* Hauteur minimale */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

/* =============================================
   POURQUOI CHOISIR E.D.T.I. ?
============================================= */
.why-title h2 {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    overflow: hidden; /* Évite les débordements */
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-card i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* =============================================
   CLIENTS
============================================= */
.clients {
    background-color: white;
}

.clients-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.clients-logos img {
    max-height: 60px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.clients-logos img:hover {
    opacity: 1;
}

/* =============================================
   CTA (Call To Action)
============================================= */
.cta {
    background-color: var(--dark-color);
    color: var(--white);
    text-align: center;
}

.cta p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #e0e0e0; /* Gris clair pour un bon contraste */
    font-weight: 500;
}

/* =============================================
   PIED DE PAGE
============================================= */
footer {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    color: var(--white);
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.footer-info p {
    margin-bottom: 10px;
    line-height: 1.6; /* Meilleure lisibilité */
}

.footer-info i {
    margin-right: 10px;
}

.footer-links h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer; /* Indique que c'est cliquable */
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-social h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-social a {
    color: var(--white);
    font-size: 24px;
    margin-right: 15px;
    transition: color 0.3s;
    cursor: pointer; /* Indique que c'est cliquable */
}

.footer-social a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

/* =============================================
   PAGE BANNER (ex: "Nos Services")
============================================= */

/* Style pour les titres de page */
.page-title {
    color: var(--primary-color);
    font-size: 36px;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    color: var(--primary-color);
    text-align: center;
    padding: 120px 0 80px;
}

.page-banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8); /* Ombre pour le titre de la bannière */
}

/* =============================================
   SERVICES DETAILS (Page "Nos Services")
============================================= */
.service-details {
    padding: 60px 0;
}

.service-details .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 cartes par ligne */
    gap: 30px;
}

.service-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden; /* Évite les débordements */
    min-height: 250px; /* Hauteur minimale */
    text-align: center;
}

.service-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.service-image {
    width: 100%; /* Largeur flexible */
    max-width: 350px; /* Largeur maximale */
    aspect-ratio: 4/3; /* Proportion 4:3 (ajustez selon vos images) */
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ici, cover est acceptable car le conteneur a un ratio fixe */
}




.service-image i {
    font-size: 80px;
    color: var(--primary-color);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    text-align: center;
    line-height: 1.6; /* Meilleure lisibilité */
}

.service-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center; /* Centré pour la grille */
}

.service-content ul {
    list-style: none;
    padding-left: 0;
}

.service-content ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-content ul li::before {
    content: "✔";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* =============================================
   PROJECTS Page projets Réalisés
============================================= */
.projects {
    padding: 60px 0;
}

.project-card {
    display: flex;
    margin-bottom: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden; /* Évite les débordements */
}

.project-image {
    flex: 1;
}

.project-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project-content {
    flex: 2;
    padding: 30px;
    background-color: var(--white);
    line-height: 1.6; /* Meilleure lisibilité */
}

.project-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.project-content p {
    margin-bottom: 10px;
}

.project-content ul {
    list-style: none;
    padding-left: 0;
}

.project-content ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.project-content ul li::before {
    content: "✔";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* =============================================
   ABOUT page à propos
============================================= */
.about {
    padding: 60px 0;
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
}

.about-content {
    flex: 2;
    line-height: 1.6; /* Meilleure lisibilité */
}

.about-image {
    flex: 1;
    padding: 0 40px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: left;
}

/* =============================================
   STATS dans la page a propos
============================================= */
.stats {
    padding: 60px 0;
    background-color: var(--light-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* Évite les débordements */
}

.stat-card i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-card h3 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 10px;
}

/* =============================================
   TEAM dans la page a propos
============================================= */
.team {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    overflow: hidden; /* Évite les débordements */
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* =============================================
   CONTACT 
============================================= */
.contact {
    padding: 60px 0;
}

.contact .container {/* carré principale */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: rgb(255, 255, 255);
}

.contact-info {/* texte */
    padding: 20px;
    color: black; 
}

.contact-info h2 {/* texte titre */
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: left;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    line-height: 1.6; 
}

.contact-info i {/* emoji */
    margin-right: 10px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.map {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    background-color:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 768px) {
    /* En-tête */
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .phone {
        margin-top: 10px;
    }

    /* Banner */
    .banner h2 {
        font-size: 32px;
    }

    .banner p {
        font-size: 18px;
    }

    /* Contact */
    .contact .container {
        grid-template-columns: 1fr;
    }

    /* Projects */
    .project-card {
        flex-direction: column;
    }

    /* About */
    .about {
        flex-direction: column;
    }

    .about-content {
        margin-bottom: 40px;
    }

    .about-image {
        padding: 0;
    }
}
/* =============================================
   PAGE DISPONIBILITÉS
============================================= */

/* --- Introduction --- */
.intro {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.05);
}

.intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

/* --- Disponibilités par service --- */
.availability {
    padding: 60px 0;
}

.availability h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 32px;
}

.availability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.availability-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.availability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.availability-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.availability-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
    padding: 8px;
    border-radius: 5px;
    font-weight: bold;
}

.availability-status.available {
    background: rgba(46, 204, 113, 0.2); /* Vert clair */
    color: #2ecc71;
}

.availability-status.warning {
    background: rgba(255, 159, 0, 0.2); /* Orange clair */
    color: var(--secondary-color);
}

.availability-status i {
    font-size: 16px;
}

.availability-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 22px;
}

.availability-card p {
    margin: 5px 0;
    color: var(--dark-color);
}

.availability-card .btn {
    margin-top: 20px;
    display: inline-block;
}

/* --- Pourquoi réserver maintenant ? --- */
.why-book {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.05);
}

.why-book h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 32px;
}

.why-book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-book-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.why-book-card:hover {
    transform: translateY(-10px);
}

.why-book-card i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.why-book-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.why-book-card p {
    line-height: 1.6;
    color: var(--dark-color);
}

/* --- Formulaire de réservation --- */
.booking-form {
    padding: 60px 0;
}

.booking-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 32px;
}

.booking-form > p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
    color: var(--dark-color);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* --- Boutons CTA --- */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* =============================================
   PAGE NOTRE ÉQUIPE
============================================= */

/* --- Introduction --- */
.intro {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.05);
}

.intro p {
    max-width: 800px;
    margin: 0 auto 10px;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

/* --- Équipe (Grille des membres) --- */
.team {
    padding: 60px 0;
}

.team h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 32px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-image {
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 5px;
}

.team-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.team-info p {
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 15px;
}

.team-skills {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.team-skills span {
    background: rgba(245, 245, 245, 0.5);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.team-skills i {
    color: var(--primary-color);
}

.team-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.team-contact:hover {
    color: var(--secondary-color);
}

/* --- Nos Valeurs --- */
.team-values {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.05);
}

.team-values h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 32px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.value-card p {
    line-height: 1.6;
    color: var(--dark-color);
    font-size: 15px;
}

/* --- Boutons CTA --- */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.text-with-bg {
    background: rgba(255, 255, 255, 0.85); /* Fond blanc à 85% */
    padding: 30px; /* Espace autour du texte */
    border-radius: 10px; /* Coins arrondis */
    margin: 20px 0; /* Espace autour du bloc */
    max-width: 800px; /* Largeur maximale */
    margin-left: auto;
    margin-right: auto; /* Centre le bloc */
}

/* =============================================
   PAGE NOS ÉQUIPEMENTS
============================================= */

/* --- Introduction --- */
.intro {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    margin: 20px auto;
    max-width: 90%;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 10px;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

/* --- Nos Bureaux d'Études --- */
.offices {
    padding: 60px 0;
}

.offices h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 32px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--dark-color);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.office-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.office-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.office-image {
    height: 250px;
    overflow: hidden;
}

.office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.office-card:hover .office-image img {
    transform: scale(1.05);
}

.office-info {
    padding: 25px;
}

.office-info h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 10px;
}

.office-location {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.office-info p {
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.office-features {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.office-features span {
    background: rgba(245, 245, 245, 0.5);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.office-features i {
    color: var(--primary-color);
}

/* --- Notre Atelier --- */
.workshop {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.05);
}

.workshop h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 32px;
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.equipment-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.equipment-card:hover {
    transform: translateY(-10px);
}

.equipment-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.equipment-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.equipment-card p {
    line-height: 1.6;
    color: var(--dark-color);
    font-size: 15px;
}

/* --- Matériel de Chantier --- */
.field-equipment {
    padding: 60px 0;
}

.field-equipment h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 32px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.field-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.field-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.field-image {
    height: 200px;
    overflow: hidden;
}

.field-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.field-card:hover .field-image img {
    transform: scale(1.05);
}

.field-info {
    padding: 20px;
}

.field-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.field-info p {
    line-height: 1.6;
    color: var(--dark-color);
    font-size: 15px;
}

/* --- Pourquoi ces équipements ? --- */
.why-equipment {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.05);
}

.why-equipment h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 32px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.why-card:hover {
    transform: translateY(-10px);
}

.why-card i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.why-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.why-card p {
    line-height: 1.6;
    color: var(--dark-color);
    font-size: 15px;
}

/* --- Boutons CTA --- */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* =============================================
   PAGE PROJETS RÉALISÉS
============================================= */

/* --- Introduction --- */
.intro {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    margin: 20px auto;
    max-width: 90%;
    text-align: center;
}

.intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
}

/* --- Filtres par secteur --- */
.projects-filters {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.05);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* --- Grille des projets --- */
.projects {
    padding: 60px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.project-sector, .project-location {
    color: var(--secondary-color);
    font-size: 15px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-info p {
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 15px;
}

.btn-project {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-project:hover {
    background: var(--secondary-color);
}

/* --- Boutons CTA --- */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* =============================================
   PAGE ON RECRUTE
============================================= */

/* --- Introduction --- */
.intro {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    margin: 20px auto;
    max-width: 90%;
    text-align: center;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 10px;
    font-size: 18px;
    line-height: 1.6;
}

/* --- Nos Offres d'Emploi --- */

.titre-emploi {
  color: white; /* Texte en blanc */
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Ombre noire avec :
    - Décalage horizontal : 2px
    - Décalage vertical : 2px
    - Flou : 4px
    - Opacité : 70% (0.7) */
  font-size: 24px; /* Ajuste selon ta taille actuelle */
  font-weight: bold; /* Si tu veux le texte en gras comme "Nos Offres d'Emploi" */
}
.jobs {
    padding: 60px 0;
}

.jobs h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 32px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--dark-color);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.job-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.job-header {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.job-header h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.job-type {
    background: rgba(0, 86, 163, 0.1);
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
}

.job-location {
    color: var(--secondary-color);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.job-details {
    margin: 15px 0;
}

.job-details p {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.job-details ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.job-details li {
    line-height: 1.6;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.job-card .btn {
    margin-top: 15px;
    display: inline-block;
}

/* --- Pourquoi nous rejoindre ? --- */
.why-join {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.05);
}

.why-join h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 32px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.why-card:hover {
    transform: translateY(-10px);
}

.why-card i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.why-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.why-card p {
    line-height: 1.6;
    color: var(--dark-color);
    font-size: 15px;
}

/* --- Formulaire de candidature --- */
.application-form {
    padding: 60px 0;
}

.application-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 32px;
}

.application-form > p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
    color: var(--dark-color);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* --- Boutons CTA --- */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Section du camion */
.camion-section {
    padding: 40px 0;
    background-color: rgba(255, 255, 255, 0.9); /* Fond blanc semi-transparent */
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombre légère pour le relief */
}

.camion-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px; /* Espace entre le titre et l'image */
}

.camion-content h2 {
    color: #0056A3; /* Bleu primaire */
    font-size: 28px;
    margin-bottom: 0;
    max-width: 800px; /* Limite la largeur du texte pour éviter qu'il ne soit trop large */
    line-height: 1.4;
}

.camion-image {
    width: 100%;
    max-width: 600px; /* Largeur maximale pour l'image */
    height: auto; /* Hauteur automatique pour conserver les proportions */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Ombre pour l'image */
    border: 1px solid #e0e0e0; /* Bordure légère */
}

.camion-image img {
    width: 100%;
    height: auto; /* Conserve les proportions naturelles de l'image */
    object-fit: cover; /* Remplit le conteneur sans déformation */
    display: block;
}