@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght,wdth@8..144,900,75&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Roboto+Flex:opsz,wght,wdth@8..144,900,75&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap');

html {
    height: 100%;
}
.mobile-only {
    display: none;
  }
  .desktop-only {
    display: none;
} 
.main-container {
    width: 1320px;
	margin: 0px auto 0;
	background: transparent;
	padding: 0px;
}
/* ------------------------------------------------BODY--------------------------------------------------- */
body {
    background-color: #31343a; /* Fond principal */
    color: #F3F4F6; /* Texte principal */
    font-family: 'Roboto', sans-serif;
min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
animation: pageFadeIn 0.2s ease-in-out;
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* -----------------------------------------------HEADER-------------------------------------------------- */
header {
    width: 100%;
    height: 80px; /* Hauteur intermédiaire (entre 100px et 60px) */
    background-color: #21252b;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Rendre l'ensemble fixe/sticky tout en haut de la page */
.sticky-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* Numéro de téléphone */
.contact-phone {
    font-size: 1.6em; /* TAILLE CONSERVÉE */
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(30, 34, 41, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    padding: 6px 14px; /* Padding ajusté pour s'intégrer dans 80px sans rétrécir le texte */
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.contact-phone:hover {
    background-color: rgba(30, 34, 41, 0.95);
    border-color: rgba(231, 134, 55, 0.5);
    color: #e78637;
}

/* Logo centré dans le header */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    max-height: 70px; /* Taille ajustée pour le header de 80px */
    width: auto;
}

/* Groupe contenant les 5 boutons de navigation */
.topnav .nav-links {
    display: flex;
    align-items: center;
    gap: 20px; /* Espace harmonieux entre les 5 boutons */
}

/* Style commun pour tous les liens (numéro et boutons) */
.topnav {
    width: 100%;
    display: flex;
    justify-content: flex-end; /* Alignement principal sur la DROITE */
    align-items: center;
    background-color: #161616; /* Fond principal */
    padding: 12px 24px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    gap: 15px;
}

/* Groupe de numéros de téléphone (Poussé à gauche) */
.topnav .phone-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto; /* Pousse les numéros à gauche et le reste du menu à droite */
}

/* Style partagé pour CHAQUE numéro de téléphone */
.topnav a.contact-phone {
    font-size: 22px;
    color: #E78637; /* Orange accent */
    font-weight: 900;
    padding: 6px 10px;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.topnav a.contact-phone:hover {
    background-color: rgba(231, 134, 55, 0.1); /* Léger halo orange au survol */
    border-color: rgba(231, 134, 55, 0.3);
    color: #E78637;
    transform: translateY(-2px);
}

/* Liens du menu */
.topnav a {
    color: #F3F4F6; /* Texte principal blanc cassé */
    font-size: 20px;
    padding: 6px 14px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-stretch: 75%;
    transition: all 0.3s ease;
    border-radius: 8px;
    border: 1px solid transparent;
    white-space: nowrap;
}

/* Survol des liens */
.topnav a:hover {
    background-color: #1E2229; /* Gris nuit dépoli */
    border-color: rgba(231, 134, 55, 0.5); /* Bordure orange douce */
    color: #E78637; /* Texte Orange */
    transform: translateY(-2px);
}

/* Lien actif (page en cours) */
.topnav a.active {
    color: #E78637;
    background-color: #1E2229; /* Gris nuit dépoli */
    border-color: #E78637; /* Bordure orange franche */
}

/* Burger menu (Bouton pour mobile) */
.topnav a.icon {
    font-size: 30px;
    cursor: pointer;
    display: none;
    color: #F3F4F6;
}

.topnav a.icon:hover {
    color: #E78637;
    background-color: transparent;
    border-color: transparent;
    transform: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-left: auto;
    padding: 0;
    
}
nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 18px;
    white-space: nowrap;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
}
nav ul li a:hover {
    background-color: #1a5868;
    transform: translateY(-3px);
    color: #fff;
}
/*--------------------------------------------------FOOTER-------------------------------------------------*/ 
footer {
    font-family: 'Open Sans', sans-serif;
    color: #a1a1a1;
    background:#161616;
    padding: 20px;
    text-align: center;
    position:relative;
    padding-top: 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.legal-info p {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.6;
    margin: 6px 0;
}

.legal-info a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-info a:hover {
    color: #e78637;
}
.phone-icon {
    width: 22px;
    height: 22px;
    fill: #FFFFFF;
    transition: transform 0.3s ease;
}
----------------
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-column {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .footer-column.site-map {
        display: none;
    }
    .footer-container {
        display: flex;
        flex-direction: column;
    }
    .footer-column.contact-info {
        order: 1;
    }
    .footer-column.legal-info {
        order: 2;
    }
/* ------------------------------------------------INDEX-------------------------------------------------- */
.contact-btn {
    position: fixed;
    top: 50%;
    right: -80px;
    transform: translateY(-50%) rotate(-90deg);
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 20px 0;
    font-size: 1.4em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    z-index: 9999;
    width: 200px;
    height: 40px;
    white-space: nowrap;
    border-radius: 5px;
    border: #000000;
}
.contact-btn:hover {
    background-color: rgb(231, 134, 55);
}

.hero {
    position: relative;
    width: 100%;
    height: auto;          /* Laisse la hauteur s'adapter au ratio de l'image */
    min-height: 250px;     /* Sécurité pour le contenu texte */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(0, 0, 0);
    text-align: center;
    
    background-color: #21252b;
    background-position: center center;
    background-size: 100% auto; /* Force l'image à afficher 100% de sa largeur (gauche à droite) */
    background-repeat: no-repeat;
}

/* Fondu HAUT (#243B85) et BAS (#121417) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
background: linear-gradient(
  to bottom,
  #161616 0%,
  #17191d 12%,
  #191b21 25%,
  #1d2027 40%,
  #22252e 55%,
  #272a33 70%,
  #2c2f37 85%,
  #31343a 100%
);
    z-index: 1;
}
/* Overlay sombre élégant pour faire ressortir le texte sans ombre lourde */

.hero-overlay {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Petit badge moderne au-dessus du titre */
.hero-badge {
    /* Fond bleu #243B85 translucide */
    background-color: rgba(36, 59, 133, 0.35);
    
    /* Texte blanc pur pour une lisibilité maximale */
    color: #ffffff;
    
    /* Bordure bleu clair issue de la même teinte pour délimiter le contour */
    border: 1px solid rgba(160, 185, 255, 0.3);
    
    /* Finitions du badge */
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Titre principal : sobre, net, imposant */
.hero-overlay h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.1;
}

/* Sous-titre : plus discret et ultra-lisible */
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 650px;
    line-height: 1.5;
}
.hero-subtitle strong {
    color: #e78637;
    font-weight: 700;
}
/*---------bouton coté droit -----------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Container principal */
/* Import de la police Roboto depuis Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* Application de Roboto sur tout le conteneur */
.testimonials-container {
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Grille pour aligner les avis */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

/* Carte d'avis individuelle (Glassmorphism) */
.testimonial {
  /* Arrière-plan sombre semi-transparent */
  background: rgba(30, 35, 42, 0.65);
  
  /* Effet de flou (Glassmorphism) */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* Bordure discrète et coins arrondis */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  
  /* Ombre portée subtile */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  
  /* Animation fluide */
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Survol des cartes */
.testimonial:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 142, 43, 0.5); /* Liseré orange au survol */
  box-shadow: 0 12px 30px rgba(242, 142, 43, 0.15);
}

/* Texte de l'avis en Roboto */
.testimonial p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-style: italic;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

/* Étoiles Google */
.testimonial .stars {
  color: #f28e2b; /* Orange vif conforme à votre DA */
  font-size: 1.2rem;
  letter-spacing: 3px;
  align-self: flex-start;
}

/* Bouton pour voir tous les avis */
.see-all-reviews {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  background: #f28e2b; /* Fond orange principal */
  color: #121519;
  border: none;
  border-radius: 8px;
  padding: 4px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(242, 142, 43, 0.3);
}

.see-all-reviews:hover {
  background-color: #d9791c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 142, 43, 0.4);
}

/* Texte d'évaluation Google en bas */
.google-evaluation {
  font-family: 'Roboto', sans-serif;
  font-weight: 200;
  color: #21252b;
  font-size: 1.2rem;
  margin-top: 0px;
  text-align: center;
}
.stars {
    color: #FFD700;
    font-size: 1em;
}
/* SECTION ENGAGEMENTS */
.engagements {
    position: relative;
    padding: 60px 20px;
    color: #ffffff;
    overflow: hidden;
    /* Confine l'image fixe uniquement dans cette section */
    clip-path: inset(0 0 0 0); 
}

/* Conteneur de l'image de fond */
.engagements-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Balise img en fond fixe */
.engagements-bg-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover; /* Remplace background-size: cover */
    object-position: center;
    pointer-events: none;
    filter: blur(4px) brightness(0.7); /* Floute l'image et l'assombrit pour faire ressortir le texte */
transform: scale(1.1);
}

.engagements-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 3; /* Garde le texte au-dessus de l'image */
}

/* Dégradé supérieur */
.engagements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, rgba(30, 34, 41, 0) 85%, #E78637 100%);
    pointer-events: none;
    z-index: 2;
}

/* Dégradé inférieur */
.engagements::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(30, 34, 41, 0) 85%, #E78637 100%);
    pointer-events: none;
    z-index: 2;
}

/* CARTE PANNEAU */
.engagements-image {
    flex: 1;
}

.panneau {
    background: rgba(18, 20, 23, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 30px;
}

.badge-garantie {
    display: inline-block;
    background: rgba(231, 134, 55, 0.15);
    color: #e78637;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    width: fit-content;
}

.panneau h1 {
    font-size: 2.2rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.panneau h2 {
    font-size: 1.4rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #e0e6ed;
    margin-bottom: 20px;
}

.panneau .highlight {
    color: #e78637; /* Accent orange */
    font-weight: 700;
}

.panneau-list {
    list-style: none;
    padding: 0;
}

.panneau-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.15rem;
}

.panneau .check-icon {
    color: #2e7d32;
    margin-right: 12px;
    font-weight: bold;
}

.engagements-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Pousse les éléments enfants vers la droite */
    text-align: right;    /* Aligne le texte sur la droite */
}

.engagements-text h2 {
    font-size: 2.6rem; /* Augmenté (était 2.2rem) */
    color: #ffffff;
    margin-bottom: 12px;
    font-family: 'Lora', serif;
}

.engagements-text h3 {
    font-size: 1.3rem; /* Augmenté (était 1.15rem) */
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 24px;
    max-width: 500px;
}

/* LISTE DES ENGAGEMENTS ALIGNÉE À DROITE */
.engagements-list {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Aligne les puces à droite */
}

.engagements-list li {
    display: flex;
    align-items: center;
    flex-direction: row-reverse; /* Place l'icône ✓ à droite du texte */
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.2rem; /* Augmenté (était 1.05rem) */
}

.engagements-list .check-icon {
    color: #e78637;
    margin-right: 12px;
    font-size: 1.2rem;
}
.check-icon {
    color: #e78637;
    font-weight: bold;
}
/* BOUTON DEVIS */
.btn-devis {
    display: inline-block;
    padding: 16px 32px;
    
    /* Force le déplacement vers le haut sans bloquer sur la liste Flexbox */
    position: relative;
    top: -20px; /* Ajuste cette valeur (-10px, -30px, etc.) pour régler la hauteur exact */
    
    background: linear-gradient(135deg, #e78637 0%, #d67223 100%);
    color: #ffffff;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(231, 134, 55, 0.35);
    transition: all 0.3s ease;
}

.btn-devis:hover {
    background: linear-gradient(135deg, #f09243 0%, #e78637 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(231, 134, 55, 0.5);
}

/* RESPONSIVE MOBILE & TABLETTE */
@media (max-width: 992px) {
    .engagements-content {
        flex-direction: column;
        gap: 40px;
    }

    .engagements-image, 
    .engagements-text {
        max-width: 100%;
        width: 100%;
    }

    .btn-devis {
        width: 100%;
        box-sizing: border-box;
    }
}

.check-icon {
    color: green;
    font-size: 1.5em;
    margin-right: 10px;
}


.btn-devis {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: rgb(231, 134, 55);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.btn-devis:hover {
    background-color: #0056b3;
}
.btn-devis {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: rgb(231, 134, 55);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.btn-devis:hover {
    background-color: #0056b3;
}



.presentation {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    background: transparent;
}

/* Conteneur principal (Boîte) */
.presentation-box {
    background-color: #1E2229; /* Cartes & Blocs */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Bordures & Lignes */
    border-radius: 12px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    gap: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Bordure supérieure d'accentuation orange */
.presentation-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #E78637, transparent);
}

/* 1. Bloc Logo */
.logo-container {
    flex-shrink: 0; /* Empêche le logo de se déformer */
}

.logo-card {
    background-color: #FFFFFF;
    padding: 6px 10px; /* Rembourrage réduit pour laisser plus de place au logo */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(231, 134, 55, 0.3);
}

.site-logo {
    max-height: 95px; /* Augmenté (était à 70px) */
    width: auto;
    display: block;
    object-fit: contain;
}

.left-content {
    flex: 1.2;
}

.left-content h3 {
    color: #F3F4F6;
    font-size: 1.35rem;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

.left-content h3 strong {
    color: #E78637; /* Accent Orange */
    font-weight: 900;
}

.right-content {
    flex: 1;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    padding-left: 30px;
}

.right-content h4 {
    color: #E78637;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.right-content p {
    color: rgba(243, 244, 246, 0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ADAPTATION MOBILE */
@media (max-width: 850px) {
    .presentation-box {
        flex-direction: column;
        padding: 30px 20px;
    }

    .left-content {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 20px;
    }

    .right-content {
        padding-left: 0;
        padding-top: 10px;
    }
}
/* SECTION NOS MISSIONS */
.container-mission {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre le titre et la grille horizontalement */
    width: 100%;
    gap: 30px;
}

/* TITRE PRINCIPAL MODERNE */
.ourmission {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.2;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ligne décorative orange sous le titre */
.ourmission::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #E78637;
    margin-top: 10px;
    border-radius: 2px;
}

/* Grille des cartes de missions */
.mission-container {
    display: grid; /* ou flex */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: start; /* Empêche les autres cartes de s'étirer en hauteur */
}

.mission {
    background-color: #1E2229;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 24px 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column; /* Indispensable pour empiler titre et description */
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    overflow: hidden;
}

.mission h2 {
    font-size: clamp(1.25rem, 1.8vw, 1.55rem);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
    margin: 0;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.mission h2 strong {
    color: #e78637;
    font-weight: 800;
}

/* Effet au survol */
.mission:hover {
    transform: translateY(-5px);
    background-color: #262a33;
    border-color: #E78637;
    box-shadow: 0 8px 20px rgba(231, 134, 55, 0.15);
}

.mission:hover h2,
.mission.active h2 {
    color: #E78637;
}

/* NOUVEAU : Description masquée par défaut */
.mission-desc {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease, margin-top 0.3s ease;
}

.mission-desc p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
}

/* NOUVEAU : Affichage au clic (.active) */
.mission.active .mission-desc {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in, margin-top 0.3s ease;
}
/* ADAPTATION RESPONSIVE (Tablette & Mobile) */
@media (max-width: 900px) {
    .mission-container {
        grid-template-columns: repeat(2, 1fr); /* 2 cartes par ligne sur tablette */
    }
}

@media (max-width: 600px) {
    .mission-container {
        grid-template-columns: 1fr; /* 1 carte par ligne sur smartphone */
    }
}

/* ADAPTATION MOBILE */
@media (max-width: 600px) {
    .mission-container {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur écran mobile */
        gap: 15px;
    }

    .mission {
        padding: 25px 15px;
    }

    .mission h2 {
        font-size: 1.1rem;
    }
}

.image-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 100px 20px 40px 20px; 
    flex-wrap: wrap;
    position: relative;
    background-color: #121417;
}

.image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px; 
    background: linear-gradient(to bottom, #21252b 0%, rgba(18, 20, 23, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.image-section img {
    width: 100%;
    max-width: 280px;
    height: 200px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    position: relative;
    z-index: 2;
}

.image-link {
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.image-link a {
  /* Transformer le lien en bouton block */
  display: inline-block;
  text-decoration: none;
  
  /* Couleurs et typographie */
  background: linear-gradient(135deg, #007bff, #0056b3); /* Dégradé moderne */
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  
  /* Espacement et forme */
  padding: 14px 32px;
  border-radius: 50px; /* Bords très arrondis style "pilule" */
  
  /* Ombre et transitions */
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.35);
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Effets interactifs au survol (hover) */
.image-link a:hover {
  background: linear-gradient(135deg, #0056b3, #003d82);
  color: #ffffff;
  text-decoration: none; /* Annule le soulignement classique */
  
  /* Effet d'élévation */
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
}

/* Effet au clic (active) */
.image-link a:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

/* Images cliquables */
.clickable-image {
  cursor: pointer;
}

/* Lightbox (initialement cachée) */
.lightbox {
  display: none; /* Masquée par défaut, activée en JS (ex: display: flex) */
  position: fixed; /* Fixée par rapport à la fenêtre du navigateur */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85); /* Fond sombre semi-transparent */
  z-index: 99999; /* Z-index très élevé pour passer au-dessus de tout */
  justify-content: center;
  align-items: center;
}

/* L'image agrandie */
.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Bouton de fermeture (la croix) */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100000;
}

/* SECTION CONTACT INFO */
.contact-info {
    width: 100%;
    padding: 50px 20px;
    text-align: center;
    box-sizing: border-box;
background: linear-gradient(
  to top,
  #161616 0%,
  #17191d 12%,
  #191b21 25%,
  #1d2027 40%,
  #22252e 55%,
  #272a33 70%,
  #2c2f37 85%,
  #31343a 100%
);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e78637;
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 1.1rem;
    margin: 8px 0;
    color: #e0e6ed;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #e78637;
}

.contact-info i {
    color: #e78637;
    margin-right: 8px;
}
.social-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
    top: 2px;
}

.facebook-link,
.instagram-link {
    text-decoration: none;
    color: white;
}

.facebook-link:hover,
.instagram-link:hover {
    text-decoration: underline;
}

/* Conteneur principal des boutons d'appel */
.appel {
    display: flex;
    flex-direction: column; /* Empile les boutons verticalement */
    align-items: center;    /* Centre les boutons horizontalement */
    justify-content: center;
    gap: 16px;              /* Espacement entre Chris et Claude */
    margin: 60px auto;      /* Centrage du bloc avec marge haute/basse */
    width: fit-content;
    max-width: 100%;
}

/* Style des boutons CTA */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #E78637;
    color: #21252b;
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem; /* Texte agrandi */
    font-weight: 500;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 10px;
    border: 1px solid #E78637;
    box-shadow: 0 8px 24px rgba(231, 134, 55, 0.25);
    transition: all 0.3s ease;
    
    /* Maintient le texte sur une seule ligne */
    white-space: nowrap;
    
    width: 100%;
    box-sizing: border-box;
}

.cta-button strong {
    font-weight: 900;
}

/* Icône téléphone */
.phone-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Effets au survol et au clic */
.cta-button:hover {
    background-color: #d1752b;
    border-color: #d1752b;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(231, 134, 55, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(231, 134, 55, 0.3);
}

/* Ajustement pour smartphones */
@media (max-width: 480px) {
    .appel {
        margin: 40px auto;
        padding: 0 15px;
        width: 100%;
    }
    
    .cta-button {
        font-size: 1.05rem;
        padding: 14px 20px;
    }
}
.realisations-grid {
    background-color: transparent;
    padding: 60px 20px;
  }
  .realisations-grid .grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  .realisations-grid .item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  .realisations-grid .item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  .realisations-grid .item:hover img {
    transform: scale(1.03);
  }
  .realisations-grid .item h3 {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #E78637;
    font-weight: bold;
    text-transform: uppercase;
        font-family: 'Roboto', sans-serif;
  }
  .realisations-grid .item p {
    font-size: 0.95rem;
    color: #555;
    margin-top: 5px;
  }
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.lightbox-overlay.hidden {
  display: none;
}
.lightbox-image {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
}
.lightbox-nav {
  color: white;
  margin-top: 20px;
  font-size: 1.5rem;
  display: flex;
  gap: 20px;
  align-items: center;
}
.lightbox-arrow {
  cursor: pointer;
  font-weight: bold;
}
/* -----------------------------------------------WHO-PAGE----------------------------------------------- */
/* SECTION GLOBALE */
/* SECTION PRINCIPALE : Arrière-plan plein écran avec le fondu */
#main_who {
  width: 100%; /* S'étend sur toute la largeur de l'écran */
  background: linear-gradient(
    to bottom,
    #161616 0%,
    #17191d 12%,
    #191b21 25%,
    #1d2027 40%,
    #22252e 55%,
    #272a33 70%,
    #2c2f37 85%,
    #31343a 100%
  );
  padding: 40px 0; /* Espacement en haut et en bas de la section */
  box-sizing: border-box;
}

/* CONTENEUR INTERNE : Centre le contenu à 1200px */
#main_who .who-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: 'Open Sans', 'Roboto', sans-serif;
  color: #a83535;
}

/* BLOC "QUI SOMMES-NOUS ?" */
.who-page {
  text-align: center;
  background: #1E2229; /* Fond de la carte */
  padding: 40px 30px;
  border-radius: 12px;
  border-left: 5px solid #e78637; 
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
}

.who-page h1 {
    color: #e78637;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.who-page p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    max-width: 900px;
    margin: 0 auto;
}

/* CONTENEUR DES CARTES PROFIL */
.container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap; /* S'adapte automatiquement sur mobile */
}

/* CARTES DE PRÉSENTATION (Arnaud & Pierre) */
.presentation-chris{
    flex: 1;
    min-width: 300px; /* Largeur minimale avant de passer l'un sous l'autre */
    background:#1E2229;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Effet au survol des cartes */
.presentation-chris:hover{
    transform: translateY(-5px);
    border-color: #e78637;
    box-shadow: 0 8px 25px rgba(231, 134, 55, 0.2);
}

.presentation-chris h2{
    color: #ffffff;
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e78637;
    display: inline-block;
}

.presentation-chris p{
    font-size: 1rem;
    line-height: 1.7;
    color: #cccccc;
    margin: 0;
}

/* ADAPTATION MOBILE */
@media (max-width: 768px) {
    #main_who {
        padding: 15px;
    }
    
    .who-page {
        padding: 25px 15px;
    }
    
    .container {
        flex-direction: column;
    }
}
/*---------------------------------------------SERVICES PAGE ----------------------------------------------*/
.service-card {
    background: transparent;
    padding: 60px 40px;
    margin: 0 auto;
    width: 100%;
    max-width: none;
    min-height: 300px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    transition: background 0.3s ease, transform 0.3s ease;
}
.content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.plan-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    
    /* Bordure orange et ombre dynamique */
    border: 2px solid #E78637;
    box-shadow: 0 8px 25px rgba(231, 134, 55, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Effet au survol pour dynamiser le visuel */
.plan-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(231, 134, 55, 0.4);
}

/* Texte à gauche en desktop */
.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    min-width: 280px;
}
h1, h2 {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;

}
ul {
    padding-left: 20px;
    list-style-type: none;
}
li {
    margin-bottom: 10px;
      font-family: 'Roboto', sans-serif; /* Texte courant */
      font-size: 20px;

}
.services-section {
    background-color: #06292b93;
    padding: 60px 0;
  }
.ourservice {
    text-align: center;
    color: #F3F4F6;
    background: linear-gradient(
        to bottom,
        #161616 0%,
        #17191d 12%,
        #191b21 25%,
        #1d2027 40%,
        #22252e 55%,
        #272a33 70%,
        #2c2f37 85%,
        #31343a 100%
    );
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-stretch: 75%;
    font-size: 50px;
    
    /* On utilise le padding pour étendre le fond sur toute la hauteur */
    padding-top: 60px;    /* Décale le texte vers le bas à l'intérieur */
    padding-bottom: 40px; /* Conserve l'espace en bas */
    margin-top: 0;        /* Supprime l'espace externe haut */
    margin-bottom: 0;     /* Supprime l'espace externe bas */
}
  .container-service {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 0 5%;
    max-width: 1300px;
    margin: auto;
  }
  .service {
    background-color: transparent;
    border-radius: 15px;
    overflow: hidden;
  }
  .service-toggle {
    background-color: #ffffff;
    color: #000000;
    padding: 30px;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 8px;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    font-size: 1.6rem;
  }
  .service-toggle:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  .service p {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    margin: 0;
    opacity: 0;
    background-color: #06292b;
    color: #ffffff;
    text-align: left;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    border-radius: 0 0 15px 15px;
  }
  .service p.active {
    max-height: 500px;
    padding: 20px;
    opacity: 1;
  }
/* ------------------------------------------MENTIONS LEGALES--------------------------------------------- */
/* --- CONTENEUR PRINCIPAL DES PAGES LÉGALES --- */
.container-section {
    width: 100%;
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
    
}

/* CARTE DE CONTENU */
.mention {
    background-color: #1E2229;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.mention:hover {
    border-color: rgba(231, 134, 55, 0.4);
    box-shadow: 0 12px 35px rgba(231, 134, 55, 0.15);
}

/* TYPOGRAPHIE ET TITRES */
.mention h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    color: #ffffff;
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid #E78637;
    letter-spacing: -0.5px;
}

.mention h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #E78637;
    margin-top: 35px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

/* SOUS-TITRES ET TEXTES */
.mention p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* LISTES À PUCES */
.mention ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.mention ul li {
    font-family: 'Roboto', sans-serif;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

/* Puces personnalisées orange */
.mention ul li::before {
    content: "•";
    color: #E78637;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.mention ul li strong {
    color: #ffffff;
}

/* LIENS HYPERTEXTES */
.mention a {
    color: #E78637;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.mention a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ADAPTATION MOBILE */
@media (max-width: 768px) {
    .container-section {
        margin: 30px auto;
    }
    
    .mention {
        padding: 30px 20px;
    }

    .mention h2 {
        font-size: 1.15rem;
    }
}
/* ---------------------------------------------PROJETS--------------------------------------------------- */
.toggle-phase {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    transition: color 0.3s ease;
    color: #333;
  } 
.toggle-phase:hover {
    color: #007bff;
  }
.container-projet {
background-color: #06292b93;

}
.container-projet h2 {
    text-align: center;
    font-size: 50px;
    color: #ffffff;
    font-weight: bold;
  font-family: 'Poppins', sans-serif; /* Sous-titre */
    font-weight: 900;
}
    #imagePopup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1000;
    }
    #imagePopup img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    }
    #imagePopup .close {
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 30px;
        color: white;
        cursor: pointer;
    }
.image-projet {
    text-align: center;
    padding: 40px 20px;
    background: transparent;
    border-radius: 10px;
    max-width: 1200px;
    margin: auto;
}
.image-projet h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}
.image-projet p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}
.photo-projet {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}
.photo-projet img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-projet img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}
.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
.phase {
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
    border: 2px solid #dd843b;
    border-radius: 20px;

    /* Ajout Flexbox pour centrage */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* Fix pour le centrage vertical uniquement quand la phase est "fermée" */
    min-height: 200px; /* hauteur minimale */
    transition: all 0.3s ease;
}
.phase h2 {
    font-size: 48px;
    color: #ee3838;
    margin-bottom: 20px;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;

}
.phase h3 {
    font-size: 1.6rem;
    color: #000000;
    margin: 0;
    text-align: center;
    cursor: pointer;
    transition: color 0.3s ease;
  font-family: 'Montserrat', sans-serif; /* Titre */
    font-weight: 600;
}
.phase .phase-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
.phase.active .phase-content {
    max-height: 1000px; /* ou une valeur suffisante pour contenir le contenu */
}
.phase ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.phase ul li {
    font-size: 1.3em;
    line-height: 1.4;
    color: #000000;
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
      font-family: 'Roboto', sans-serif; /* Texte courant */

}
.phase-toggle {
    background-color: #06292b;
    color: #ffffff;
    padding: 20px;
    font-size: 2.2rem;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 6px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    width: 100%;
    box-sizing: border-box;
}
.phase-toggle:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.phase.active {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    z-index: 1;
    align-items: stretch;
    justify-content: flex-start;
}
.gallery-container {
    height: 100%;
    background: white;
  } 
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 20px;
}
.gallery-item {
  cursor: pointer;
  text-align: center;
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
  }
.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item h3 {
  margin-top: 10px;
  font-size: 1rem;
  color: #b0004a;
  font-weight: 600;
}

.gallery-item p {
  font-size: 0.9rem;
  font-weight: bold;
  color: #333;
}
.ourprojects {
text-align: center;
    color: #F3F4F6;
    background: linear-gradient(
        to bottom,
        #161616 0%,
        #17191d 12%,
        #191b21 25%,
        #1d2027 40%,
        #22252e 55%,
        #272a33 70%,
        #2c2f37 85%,
        #31343a 100%
    );
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-stretch: 75%;
    font-size: 50px;
    
    /* On utilise le padding pour étendre le fond sur toute la hauteur */
    padding-top: 60px;    /* Décale le texte vers le bas à l'intérieur */
    padding-bottom: 40px; /* Conserve l'espace en bas */
    margin-top: 0;        /* Supprime l'espace externe haut */
    margin-bottom: 0;     /* Supprime l'espace externe bas */
}
/*--------------------------------------------------CONTACT-----------------------------------------------*/
/* Page & Conteneur principal */
/* Page & Conteneur principal */
.contact-page {
background: linear-gradient(
    to bottom,
    #161616 0%,
    #17191d 12%,
    #191b21 25%,
    #1d2027 40%,
    #22252e 55%,
    #272a33 70%,
    #2c2f37 85%,
    #31343a 100%
  );
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.contact-main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Carte de contact */
.contact-card {
    background-color: #1E2229;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    padding: 50px 40px;
    width: 90%;
    max-width: 850px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    border-color: #E78637;
    box-shadow: 0 12px 35px rgba(231, 134, 55, 0.2);
    transform: translateY(-4px);
}

/* Logo */
.contact-logo-container {
    margin-bottom: 20px;
    text-align: center;
}

.contact-logo {
    max-width: 160px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Titre */
.contact-main h1 {
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    letter-spacing: -0.5px;
    margin-bottom: 30px;
    text-align: center;
}

/* Disposition 2 colonnes */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
    align-items: center;
}

/* Colonne gauche */
.contact-info-left {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #e0e6ed;
    line-height: 1.6;
    margin: 0;
    border-right: 2px solid rgba(231, 134, 55, 0.3);
    padding-right: 25px;
}

/* Colonne droite */
.contact-info-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: flex-start; /* Aligne les téléphones en haut face à l'icône */
    gap: 10px;
}

.contact-icon {
    color: #E78637;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 4px; /* Ajuste la hauteur de l'icône au niveau du premier numéro */
}

/* Alignement vertical strict pour la liste des numéros */
.contact-phone-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-card a {
    color: #E78637;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.contact-card a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive mobiles */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info-left {
        border-right: none;
        border-bottom: 2px solid rgba(231, 134, 55, 0.3);
        padding-right: 0;
        padding-bottom: 20px;
    }
}
  /* ----------------------------------------- Responsivité -----------------------------------------------*/
/* -------------------MEDIA QUERIES POUR MOBILE ET TABLETTE-------------------- */

/* À partir de 992px et moins (tablettes) */


/* À partir de 768px et moins (petites tablettes) */


/* À partir de 480px et moins (mobiles) */
/* ==========================================================
   1. PETITS ÉCRANS / MOBILE (max-width: 480px)
   ========================================================== */
@media (max-width: 480px) {
    .contact-card {
        padding: 20px 10px;
        margin-top: -60px;
    }
    
    .contact-main h1 {
        font-size: 1.6rem;
    }
    
    .contact-card p,
    .contact-info-left {
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 20px 10px;
    }

    .plan-image {
        max-width: 100%; /* L'image occupe toute la largeur sur mobile */
        margin: 0 auto 15px; /* Centrage horizontal et espace sous l'image */
    }

    .text-content {
        font-size: 0.8em; /* Réduit davantage la taille du texte */
    }

    .engagements-content {
        flex-direction: column;
        gap: 10px;
    }

    .engagements-image {
        margin-left: 0;
        max-width: 100%;
    }

    .engagements-text {
        max-width: 100%;
        margin-top: 20px;
        padding-left: 5px;
    }

    .engagements h2 {
        font-size: 1.4em;
    }

    .engagements h3 {
        font-size: 1em;
        text-align: center;
    }

    .engagements ul li {
        font-size: 1em;
    }

    .check-icon {
        font-size: 1.2em;
    }

    .contact-btn {
        width: 150px;
        height: 30px;
        font-size: 1em;
        padding: 10px 0;
        right: -60px;
    }

    .contact-item {
        width: 100%;
    }

    .photo-projet {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
}


/* ==========================================================
   2. MEDIA QUERY GLOBALE RESPONSIVE (max-width: 1200px)
   ========================================================== */
@media screen and (max-width: 1200px) {
    /* Header adaptatif en flexbox vertical */
    header {
        height: auto;
        display: flex;
        flex-direction: column; /* Empile : Logo puis Téléphone */
        align-items: center;
        justify-content: center;
        padding: 15px 0;
    }

    /* Le logo passe en premier */
    .logo {
        order: 1;
    }

    .logo img {
        max-height: 110px;
        width: auto;
    }

    /* Le numéro s'affiche en dessous du logo et agrandi */
    .contact-phone {
        order: 2;
        position: relative; /* Annule le positionnement absolu */
        top: 0;
        left: 0;
        transform: none;
        font-size: 1.8em; /* Numéro bien lisible */
        font-weight: 800;
        margin-top: 15px;
        text-align: center;
        display: inline-block;
    }

    /* Conteneur de navigation sous le header */
    .topnav {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 10px 0;
        position: relative;
    }

    /* Masquer les liens par défaut */
    .topnav a {
        display: none;
    }

    /* Bouton Burger centré sans chevauchement */
    .topnav a.icon {
        display: block;
        font-size: 38px;
        color: white;
        cursor: pointer;
        position: relative;
        top: 0;
        margin: 15px auto 0 auto;
        text-align: center;
        width: fit-content;
    }

    /* Menu déplié au clic (se déroule sous le burger) */
    .topnav.responsive {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #161616;
        padding-bottom: 15px;
    }

    .topnav.responsive a {
        display: block;
        text-align: center;
        background-color: #161616;
        padding: 12px 20px;
        width: 100%;
        box-sizing: border-box;
        margin: 2px 0;
    }

    .topnav.responsive a.icon {
        margin-bottom: 10px;
    }
    .engagements-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.engagements-image {
    margin-left: 0;
    max-width: 100%;
    width: 100%;
    text-align: center;
}

.engagements-image img {
    max-width: 100%;
    height: auto;
}

.engagements-text {
    max-width: 100%;
    width: 100%;
    margin-top: 10px;
    padding-left: 0;
    box-sizing: border-box;
}

.engagements h2 {
    font-size: 1.6em;
    text-align: center;
}

.engagements h3 {
    font-size: 1.2em;
    text-align: center;
}

.engagements ul li {
    font-size: 1.05em;
    line-height: 1.5;
}

.check-icon {
    font-size: 1.2em;
}

/* Correction du bouton de contact (centré et sans débordement) */
.contact-btn {
        position: fixed;
        right: -80px; /* ou ajuste la valeur pour le mobile */
        top: 50%;
        transform: translateY(-50%) rotate(-90deg);
        width: 180px; /* ajustement éventuel de la taille */
        font-size: 1em;
        margin: 0; /* réinitialise la marge */
        display: flex;
    }

.contact-item {
    width: 100%;
    box-sizing: border-box;
}
}


/* Pour les écrans mobiles (moins de 768px) */
@media (max-width: 768px) {
    /* 1. Header en flexbox vertical avec réordonnancement */
    header {
        height: auto;
        display: flex;
        flex-direction: column; /* Empile les éléments verticalement */
        align-items: center;
        justify-content: center;
        padding: 15px 0;
    }

    /* Le logo passe en premier */
    .logo {
        order: 1;
    }

    .logo img {
        max-height: 110px;
        width: auto;
    }

    /* 2. Le téléphone passe en deuxième et devient plus grand */
    .contact-phone {
        order: 2; /* S'affiche après le logo */
        position: relative; /* Annule le positionnement absolu du CSS desktop */
        top: 0;
        left: 0;
        transform: none;
        
        font-size: 1.8em; /* Taille agrandie */
        font-weight: 800;
        margin-top: 15px; /* Espacement avec le logo au-dessus */
        text-align: center;
        display: inline-block;
    }

    /* 3. Conteneur du menu placé sous le header */
    .topnav {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 10px 0;
    }

    /* Masquer les liens par défaut */
    .topnav a {
        display: none;
    }

    /* 4. Bouton Burger centré sous le numéro */
    .topnav a.icon {
        display: block;
        font-size: 38px;
        color: white;
        cursor: pointer;
        position: relative;
        top: 0;
        margin: 15px auto 0 auto; /* Espacement propre sous le téléphone */
        text-align: center;
        width: fit-content;
    }

    /* 5. Menu déplié (se déroule sous le burger) */
    .topnav.responsive {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #161616;
        padding-bottom: 15px;
    }

    .topnav.responsive a {
        display: block;
        text-align: center;
        background-color: #161616;
        padding: 12px 20px;
        width: 100%;
        box-sizing: border-box;
        margin: 2px 0;
    }

    .topnav.responsive a.icon {
        margin-bottom: 10px;
    }
}


@media (max-width: 992px) {
    .service-card {
        padding: 40px 30px;
        flex-direction: column;
    }
}

/* Pour mobiles (max 768px) */
@media (max-width: 768px) {
    .service-card {
        padding: 30px 20px;
        min-height: auto;
    }
}

/* Pour très petits écrans (max 480px) */
@media (max-width: 480px) {
    .service-card {
        padding: 20px 15px;
        font-size: 0.95em;
    }
}


@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .text-content {
        text-align: center;
        align-items: center;
    }

    .text-content ul {
        padding-left: 0;
        list-style-position: inside;
    }

    .text-content h1, 
    .text-content h2 {
        text-align: center;
    }
    
}
@media screen and (max-width: 1024px) {
    .panneau {
        max-width: 380px;
        padding: 25px;
        margin: 30px auto;
    }

    .panneau h1 {
        font-size: 1.6rem;
    }

    .panneau h2 {
        font-size: 1.35rem;
    }
}


/* ==========================================================
   3. TABLETTES PORTRAIT & PHABLETTES (max-width: 768px)
   ========================================================== */
@media screen and (max-width: 768px) {
    .panneau {
        max-width: 90%; /* S'élargit pour bien occuper l'écran tablette */
        padding: 20px;
        margin: 25px auto;
    }

    .panneau h1 {
        font-size: 1.5rem;
    }

    .panneau h2 {
        font-size: 1.25rem;
    }

    .panneau li {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .panneau .check-icon {
        font-size: 1.1rem;
        margin-right: 10px;
    }
}


/* ==========================================================
   4. SMARTPHONES STANDARD (max-width: 480px)
   ========================================================== */
@media screen and (max-width: 480px) {
    .panneau {
        max-width: 95%;
        padding: 15px 12px;
        margin: 15px auto;
        border-radius: 8px;
    }

    .panneau h1 {
        font-size: 1.35rem;
    }

    .panneau h2 {
        font-size: 1.15rem;
        margin-bottom: 15px;
    }

    .panneau li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .panneau .check-icon {
        font-size: 1rem;
        margin-right: 8px;
    }
}


/* ==========================================================
   5. TRÈS PETITS ÉCRANS / MOINS DE 360px (max-width: 360px)
   ========================================================== */
@media screen and (max-width: 360px) {
    .panneau {
        padding: 12px 8px;
    }

    .panneau h1 {
        font-size: 1.2rem;
    }

    .panneau h2 {
        font-size: 1rem;
    }

    .panneau li {
        font-size: 0.85rem;
    }
}

.wrapper-bg {
  position: relative;
  background-image: url('images/fond2.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Rend l'image de fond fixe lors du défilement */
  width: 100%;
  overflow: hidden;
}

/* Couche de filtre (flou + assombrissement teinté #121417) */
.wrapper-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  /* Voile grisé/sombre basé sur la couleur #121417 avec de la transparence */
  background-color: rgba(18, 20, 23, 0.65); 
  
  /* Effet de flou sur l'image en arrière-plan */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px); /* Compatibilité Safari */
  
  z-index: 1;
}

/* S'assurer que le contenu reste au-dessus du voile et du flou */
.wrapper-bg > * {
  position: relative;
  z-index: 2;
}


/* Overlay plein écran pour le fondu au noir */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #161616;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
}

/* Classe activée lors de la transition */
.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

/* 2. Conteneur principal : s'étire pour occuper tout l'espace disponible */
.contact-page {
    flex: 1; /* Absorbe le vide de la page et pousse le footer en bas */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    box-sizing: border-box;
}

/* 3. Ajustement de la carte de contact */
.contact-main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 4. Footer calé automatiquement en bas */
footer {
    margin-top: auto;
    width: 100%;
}