/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* En-tête */
.main-header {
  background-color: #0a3e95;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  font-family: 'Berkshire Swash', sans-serif;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 20px;
  position: relative;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 10px 0;
  display: block;
}

.nav-link:hover {
  color: #ffd66e;
}

/* Style du menu déroulant */
.nav-item .sub-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0a3e95;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 5px 5px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  padding: 10px 0;
}

.nav-item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li {
  list-style: none;
}

.sub-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 8px 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-phone {
  background-color: #89a6cd;
  color: #fff;
}


.sub-menu li a:hover {
  color: #ffd66e;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Ajout d'une flèche pour indiquer le menu déroulant */
.nav-item.has-submenu > .nav-link {
  display: flex;
  align-items: center;
}

.nav-item.has-submenu > .nav-link::after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.nav-item.has-submenu:hover > .nav-link::after {
  transform: rotate(180deg);
}


@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
  
  /* Ajustements pour le menu déroulant en version mobile */
  .nav-item .sub-menu {
    position: static;
    background-color: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: 0;
  }

  .nav-item.active .sub-menu {
    display: block;
  }

  .sub-menu li a {
    padding: 8px 0 8px 20px;
  }
  
  .nav-item.has-submenu > .nav-link::after {
    content: '\f105';
  }
  
  .nav-item.has-submenu.active > .nav-link::after {
    transform: rotate(90deg);
  }

  .mobile-menu .sub-menu {
    display: none;
    padding-left: 20px;
  }

  .mobile-menu .has-submenu.active > .sub-menu {
    display: block;
  }

  .mobile-menu .has-submenu > .nav-link::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    transition: transform 0.3s ease;
  }

  .mobile-menu .has-submenu.active > .nav-link::after {
    transform: rotate(180deg);
  }

}

/* Héro */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #89a6cd, #0a3e95);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M0 0h100v100H0z' fill='none'/%3E%3Cpath d='M0 0h50v50H0zM50 50h50v50H50z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  background-size: 30px 30px;
  opacity: 0.1;
  pointer-events: none;
}

.hero-content {
  z-index: 1;
  width: 100%;
}

.hero-logo-img {
  width: 150px;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Layout avec membres d'équipe autour du contenu */
.hero-layout {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  grid-template-rows: auto 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* Olivier en haut */
.hero-team-top {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  margin-top: 10rem;
}

/* Franck à gauche */
.hero-team-left {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenu central */
.hero-center {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  text-align: center;
}

/* Célien à droite */
.hero-team-right {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Cacher les doublons sur desktop */
.hero-team-bottom {
  display: none;
}


.typing-text {
  color: #ffd66e;
}

.service-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.service-icon:hover {
  transform: translateY(-5px);
}

.service-icon i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #ffd66e;
  color: #0a3e95;
}

.btn-primary:hover {
  background-color: #ffce40;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #0a3e95;
}



@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-30px);
  }
  60% {
      transform: translateY(-15px);
  }
}

/* Zones d'intervention dans le hero */
.hero-zones {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-zone-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.hero-zone-item:hover {
  transform: scale(1.1);
}

.hero-zone-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 206, 64, 0.2);
  border: 3px solid #ffd66e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.hero-zone-item:hover .hero-zone-icon {
  background-color: #ffd66e;
  transform: rotate(360deg);
}

.hero-zone-icon i {
  font-size: 2rem;
  color: #ffd66e;
}

.hero-zone-item:hover .hero-zone-icon i {
  color: #0a3e95;
}

.hero-zone-name {
  font-size: 1.3rem;
  font-weight: 700;
}

/* Photos d'équipe dans le hero */
.hero-team {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.hero-team-member:hover {
  transform: translateY(-10px);
}

.hero-team-photo {
  width: 200px;
  height: 120px;
  border-radius: 20%;
  object-fit: cover;
  border: 4px solid #ffd66e;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.hero-team-member:hover .hero-team-photo {
  border-color: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.hero-team-name {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.hero-team-role {
  font-size: 0.9rem;
  text-align: center;
  opacity: 0.9;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  /* Contenu central */
  .hero-center {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  /* Olivier passe en bas, au-dessus */
  .hero-team-top {
    display: flex;
    justify-content: center;
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    margin-top: 2rem;
  }

  /* Cacher les membres latéraux */
  .hero-team-left,
  .hero-team-right {
    display: none;
  }

  /* Franck et Célien tout en bas */
  .hero-team-bottom {
    display: flex;
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    justify-content: center;
    gap: 3rem;
    margin-top: 1.5rem;
  }
}


@media (max-width: 768px) {
    .hero-title {
      font-size: 2rem;
    }
    
    .service-icons {
      flex-wrap: wrap;
    }
    
    .hero-zones {
    gap: 2rem;
    }
    
    .hero-zone-icon {
      width: 70px;
      height: 70px;
    }
    
    .hero-team {
      gap: 2rem;
    }
    
    .hero-team-photo {
      width: 100px;
      height: 100px;
    }
}

/* Qui sommes-nous */
.about-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a3e95, #89a6cd);
  color: #fff;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #ffd66e;
  margin: 20px auto 0;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-values {
  flex: 1;
}

.values-title {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 2.5rem;
  color: #ffd66e;
  margin-bottom: 20px;
}

.value-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.value-description {
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .about-content {
      flex-direction: column;
  }

  .values-grid {
      grid-template-columns: 1fr;
  }
}







/* services */
.services-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a3e95, #89a6cd);
  color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


.service-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.service-description {
  font-size: 0.9rem;
  line-height: 1.5;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 40px;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  position: relative;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.services-tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 10px 20px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tab-btn.active {
  background-color: #0a3e95;
  color: #fff;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

@media (max-width: 768px) {
  .services-tabs {
      flex-wrap: wrap;
  }
  
  .tab-btn {
      flex: 1 0 40%;
      margin-bottom: 10px;
  }
}

/* Réalisations */
.realisations {
  padding: 100px 0;
  background: linear-gradient(135deg, #0a3e95, #89a6cd);
  color: #fff;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 62, 149, 0.9);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.overlay h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

.overlay p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.see-more-container {
  text-align: center;
  margin-top: 50px;
  position: relative;
  clear: both;
}

.cta-button {
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #ffd66e;
  color: #0a3e95;
  display: inline-block;
}

.cta-button:hover {
  background-color: #ffce40;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 214, 110, 0.4);
}

.hidden {
  display: none;
}

@media (max-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .realisations h2 {
    font-size: 2rem;
  }
}

/* Témoignages */
.temoignages {
  padding: 100px 0;
  background: linear-gradient(135deg, #0a3e95, #89a6cd);
  color: #fff;
}

.testimonial-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
}

.testimonial-content {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #ffd66e;
}

.testimonial-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.rating {
  color: #ffd66e;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-content p {
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.prev-button, .next-button {
  background-color: transparent;
  border: 2px solid #ffd66e;
  color: #ffd66e;
  font-size: 1.2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
}

.prev-button:hover, .next-button:hover {
  background-color: #ffd66e;
  color: #0a3e95;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .testimonial-content {
    padding: 30px;
  }
}

/* Section Contact */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #0a3e95, #89a6cd);
  color: #fff;
}

.contact .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.contact .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffd66e;
  margin: 20px auto 0;
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1;
  padding-right: 50px;
}

.contact-info p {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.contact-info i {
  margin-right: 15px;
  color: #ffd66e;
  font-size: 1.3rem;
}

.contact-form {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form button {
  background-color: #ffd66e;
  color: #0a3e95;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #ffce40;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 214, 110, 0.4);
}

#formMessage {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

#formMessage:not(:empty) {
    display: block;
}

#formMessage:contains("Merci") {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#formMessage:not(:contains("Merci")) {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Pied de page */
.main-footer {
  background-color: #0a3e95;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-family: 'Berkshire Swash', sans-serif;
}

.footer-logo img {
  width: 50px;
  margin-right: 15px;
}

.footer-logo h3 {
  font-size: 1.8rem;
  font-weight: 700;
}

.footer-logo span {
  color: #ffd66e;
}

.footer-links,
.footer-contact,
.footer-social {
  margin-bottom: 30px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-social h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: #ffd66e;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a,
.footer-contact p,
.footer-social a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-social a:hover {
  color: #ffd66e;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-contact i {
  margin-right: 10px;
  color: #ffd66e;
}

.social-icons {
  display: flex;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #ffd66e;
  color: #0a3e95;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 30px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 10px;
}

.footer-bottom ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

.footer-bottom ul li {
  margin: 0 15px;
}

.footer-bottom ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom ul li a:hover {
  color: #ffd66e;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links h4::after,
  .footer-contact h4::after,
  .footer-social h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom ul {
    flex-direction: column;
  }

  .footer-bottom ul li {
    margin: 10px 0;
  }
}




/* Styles généraux pour la responsivité */
@media (max-width: 1024px) {
  .container {
    width: 95%;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container {
    width: 90%;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Header */


  .logo-img {
    height: 30px;
  }

  .logo-text {
    font-size: 20px;
  }

  .header-actions {
    display: none;
  }

  /* Hero */
  .hero-title {
    font-size: 2rem;
  }

  .service-icons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .service-icon {
    flex-basis: 50%;
    margin-bottom: 20px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  /* About */
  .about-content {
    flex-direction: column;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Réalisations */
  .gallery {
    grid-template-columns: 1fr;
  }

  /* Témoignages */
  .testimonial-content {
    padding: 20px;
  }

  /* Contact */
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info {
    margin-bottom: 30px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo, .footer-links, .footer-contact, .footer-social {
    margin-bottom: 30px;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .service-icon {
    flex-basis: 100%;
  }

  .testimonial-img {
    width: 80px;
    height: 80px;
  }

  .prev-button, .next-button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Améliorations pour tablettes */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .footer-logo, .footer-links, .footer-contact, .footer-social {
    flex-basis: 45%;
    margin-bottom: 30px;
  }
}





/* Styles pour mobiles */
@media (max-width: 768px) {
  .logo {
      flex-basis: auto;
      margin-bottom: 0;
  }
}

/* Animation du menu hamburger */
.menu-toggle {
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
  top: 0px;
}

.menu-toggle span:nth-child(2), .menu-toggle span:nth-child(3) {
  top: 8px;
}

.menu-toggle span:nth-child(4) {
  top: 16px;
}

.menu-toggle.active span:nth-child(1) {
  top: 8px;
  width: 0%;
  left: 50%;
}

.menu-toggle.active span:nth-child(2) {
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
}

.menu-toggle.active span:nth-child(4) {
  top: 8px;
  width: 0%;
  left: 50%;
}


/* Styles pour tablettes et mobiles */
@media (max-width: 1150px) {
  .nav-list, .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
  }

  .menu-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    position: relative;
    transition: background-color 0.3s ease;
  }

  .menu-icon::before,
  .menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: all 0.3s ease;
  }

  .menu-icon::before {
    top: -8px;
  }

  .menu-icon::after {
    bottom: -8px;
  }

  .menu-toggle.active .menu-icon {
    background-color: transparent;
  }

  .menu-toggle.active .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle.active .menu-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #0a3e95;
    padding: 50px 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu .nav-list,
  .mobile-menu .header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-menu .nav-item,
  .mobile-menu .header-actions > * {
    margin: 10px 0;
  }

  .mobile-menu .nav-link,
  .mobile-menu .btn {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
  }

  .mobile-menu .btn {
    width: 100%;
    text-align: center;
  }
}

/* Ajustements pour les grands écrans */
@media (min-width: 1151px) {
  .menu-toggle, .mobile-menu {
    display: none;
  }
}



/* Styles pour le menu mobile */
@media (max-width: 1150px) {
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #0a3e95;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding-top: 120px; /* Ajustez cette valeur en fonction de la hauteur de votre header */
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu .nav-list,
  .mobile-menu .header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0 20px;
  }

  .mobile-menu .nav-item,
  .mobile-menu .header-actions > * {
    margin: 10px 0;
    width: 100%;
  }

  .mobile-menu .nav-link,
  .mobile-menu .btn {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px 0;
  }

  .mobile-menu .btn {
    text-align: center;
  }

  /* Assurez-vous que le contenu principal ne passe pas sous le header fixe */
  body {
    padding-top: 80px; /* Ajustez cette valeur en fonction de la hauteur de votre header */
  }

  /* Ajustez la position du bouton hamburger */
  .menu-toggle {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
  }
}

