/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: 'Segoe UI', sans-serif;
    background: #f8f8f8;
    color: #333;
  }
  
  /* Navbar */
  .navbar {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    z-index: 1000;
    flex-wrap: wrap;
  }
  .navbar .logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .navbar .logo-img {
    height: 100px;
    width: auto;
  }
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }
  .nav-links a:hover {
    color: #0077cc;
  }
  
  .nav-links a.btn {
    color: white;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    margin: -8px 0;
  }
  
  /* Hero */
  .hero {
    height: 100vh;
    color: white;
    position: relative;
    overflow: hidden;
  }
  
  .hero-images {
    display: flex;
    width: 100%;
    height: 100%;
  }
  
  .hero-img-container {
    position: relative;
    width: 33.333%;
    height: 100%;
    overflow: hidden;
  }
  
  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease, transform 0.5s ease;
    filter: brightness(0.8); /* Assombrissement par défaut */
  }
  
  .hero-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
  }
  
  .hero-img-overlay p {
    color: white;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    max-width: 80%;
  }
  
  .hero-img-container:hover .hero-img {
    filter: brightness(0.5); /* Assombrissement plus fort au survol */
    transform: scale(1.1); /* Effet de zoom au survol */
  }
  
  .hero-img-container:hover .hero-img-overlay {
    opacity: 1;
  }
  
  /* Suppression de l'overlay global pour permettre les effets de survol individuels */
  
  .hero-content {
    position: absolute;
    top: 25%;
    left: 0;
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none; /* Permet de cliquer à travers le contenu pour activer les effets de survol */
  }
  
  .hero-content a {
    pointer-events: auto; /* Permet de cliquer sur le bouton */
  }
  .hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  .hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .flag-img {
    height: 16px;
    width: auto;
    vertical-align: middle;
    border-radius: 2px;
  }
  .btn {
    background: #0077cc;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
    border: none;
  }
  .btn:hover {
    background: #005fa3;
  }
  
  /* Sections */
  .section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
  }
.section-light {
    background: white;
  }
  .section h2 {
    text-align: center;
    margin-bottom: 30px;
  }
  
  /* Prestations */
  .prestations-section {
    position: relative;
    margin: 60px auto;
    max-width: 1000px;
    border-radius: 15px;
    overflow: hidden;
    color: white;
  }
  
  .prestations-overlay {
    position: relative;
    padding: 80px 20px;
    z-index: 1;
    background-image: url('image/echaf9.JPG');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
  }
  
  .prestations-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(0, 119, 204, 0.9) 0%, 
                rgba(0, 119, 204, 0.8) 30%, 
                rgba(0, 119, 204, 0.6) 50%, 
                rgba(0, 119, 204, 0.3) 70%, 
                rgba(0, 119, 204, 0) 100%);
    z-index: -1;
    border-radius: 15px;
  }
  
  .prestations-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: white;
  }
  
  .list {
    list-style: disc;
    padding-left: 20px;
    font-size: 18px;
    color: white;
  }
  
  /* Galerie */
  .gallery {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
  }
  .gallery img, .gallery video {
    width: 32%;
    max-width: none;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    object-fit: cover;
    height: 300px;
  }
  
  /* Projets */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
    margin-top: 20px;
  }
  
  .project-item {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  
  .project-image-container {
    height: 250px;
    overflow: hidden;
  }
  
  .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .project-item:hover .project-image {
    transform: scale(1.05);
  }
  
  .project-caption {
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: #333;
    background-color: white;
  }
  
  .slogan-container {
    grid-column: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #0077cc;
    border-radius: 8px;
    text-align: center;
  }
  
  .slogan {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
  }
  
.small-project {
    grid-column: span 1;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  
  .small-project .project-image-container {
    height: 180px;
    width: 33%;
    flex-shrink: 0;
  }
  
  .small-project .project-caption {
    flex-grow: 1;
    text-align: left;
    padding-left: 20px;
  }
  
  /* Contact */
  .contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
  }
  
  .contact-form {
    flex: 1;
    min-width: 300px;
  }
  
  .contact-info {
    flex: 1;
    min-width: 300px;
  }
  
  .contact-logo {
    margin-bottom: 15px;
  }
  
  .contact-logo-img {
    height: 80px;
    width: auto;
  }
  
  .contact-info p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
  }
  
  .map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  
  /* Formulaire */
  form {
    width: 100%;
  }
  
  form input,
  form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  form textarea {
    min-height: 100px;
  }
  
  /* Footer */
  footer {
    background: #222;
    color: white;
    padding: 20px;
    font-size: 14px;
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .footer-copyright {
    margin-bottom: 10px;
  }
  
  .footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-item {
    display: flex;
    align-items: center;
  }
  
  .footer-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-item a:hover {
    color: #0077cc;
  }
  
  .instagram-link {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 25px;
  }
  
  .instagram-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%23ffffff'%3E%3Cpath d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  
  /* FAQ Section - Compatible avec tous les navigateurs */
  .faq-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
  }
  
  .faq-item:hover {
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
    -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.15);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }
  
  .faq-item h3 {
    color: #0077cc;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
  }
  
  .faq-item p {
    color: #555;
    line-height: 1.6;
    font-size: 16px;
    margin-top: 0;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    /* Menu responsive */
    .navbar {
      padding: 10px 20px;
      flex-direction: column;
    }
    
    .nav-links {
      flex-direction: column;
      align-items: center;
      width: 100%;
      gap: 15px;
      margin-top: 15px;
    }
    
    .nav-links li {
      width: 100%;
      text-align: center;
    }
    
    .nav-links a.btn {
      margin: 0;
      width: 100%;
      justify-content: center;
    }
    
    /* Bandeau principal responsive */
    .hero {
      height: auto;
    }
    
    .hero-images {
      flex-direction: column;
    }
    
    .hero-img-container {
      width: 100%;
      height: 33vh;
    }
    
    .hero-content {
      position: relative;
      padding: 40px 20px;
      background-color: rgba(0, 0, 0, 0.7);
    }
    
    .hero-content h1 {
      font-size: 32px;
    }
    
    .hero-content p {
      font-size: 16px;
    }
    
    .flag-img {
      height: 15px; /* Drapeau plus petit sur mobile */
    }
    
    /* Prestations responsive */
    .prestations-section {
      margin: 30px 20px;
    }
    
    .prestations-overlay {
      padding: 40px 20px;
    }
    
    /* Galerie responsive */
    .gallery {
      flex-direction: column;
      gap: 30px;
    }
    
    .gallery video {
      width: 100%;
      height: auto;
      max-height: 300px;
    }
    
    /* Contact responsive */
    .contact-container {
      flex-direction: column;
    }
    
    /* Projets responsive */
    .projects-grid {
      grid-template-columns: 1fr;
    }
    
    .slogan-container {
      grid-column: 1;
      margin: 20px 0;
    }
    
    .project-image-container {
      height: 200px;
    }
    
    /* Footer responsive */
    .footer-content {
      flex-direction: column;
      text-align: center;
    }
    
    .footer-contact {
      flex-direction: column;
      align-items: center;
      margin-top: 15px;
    }
  }
