body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #f8f9fa;
  color: #333;
}

.translate-icon {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 1000;
}

.translate-icon:hover {
  transform: scale(1.1);
}

.navbar {
 display: flex;
  justify-content: center;
  background-color: #fff;
  padding: 20px 0;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.logo img {
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav a:hover {
  color: #0077b6;
}
/* Container du bouton langue */
.lang-switch {
 display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 10px;
  height: 100%;
}

/* Bouton langue */
#lang-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Icône langue */
#lang-icon {
 width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
  border: 2px solid transparent;
}

/* Hover */
#lang-toggle:hover #lang-icon {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  border-color: #0078D7;
}

/* Click */
#lang-toggle:active #lang-icon {
  transform: scale(0.95);
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
  border-color: #ff0000;
}


.hero-section {
  height: 100vh;
  background-image: url('images/Exemples.jpg');
  background-size: 110%;
  background-position: center;
  animation: zoomBg 30s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

@keyframes zoomBg {
  0% { background-size: 110%; }
  50% { background-size: 115%; }
  100% { background-size: 110%; }
}
animation: zoomBg 20s ease-in-out infinite;

@keyframes zoomBg {
  0% { background-size: 100%; }
  50% { background-size: 105%; }
  100% { background-size: 100%; }
}
#dynamic-bg {
  height: 100vh;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}


.hero-content h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.btn {
  background-color: #0077b6;
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
}

}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}
.btn {
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.section {
  padding: 80px 20px;
  text-align: center;
}

.section.light {
  background: #fff;
}

.section.dark {
  background: #f0f0f0;
}
#expertises-wrapper {
  padding: 4rem;
  background: #fff;
}

#expertises {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.expertise-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 250px;
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.expertise-card:hover {
  transform: scale(1.02);
}

.card {
  position: relative;
  overflow: hidden;
}

.card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0.8; /* ajuste pour lisibilité du texte */
}

.card-content {
  position: relative;
  z-index: 2; /* texte au-dessus de l’image */
  padding: 20px;
  color: #fff; /* ou #000 selon ton image */
}


.expertise-card:hover .card-image {
  filter: brightness(0.9);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* assombrit légèrement l’image */
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-text {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.card-text h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.card-text p {
font-size: 15px;
  font-weight: 300;
  margin: 0;
  opacity: 0.9;
}



.project-showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
}

.project {
  position: relative;
  width: 640px;
  max-width: 100%;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.project:hover {
  transform: scale(1.05);
}

.project img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.project-info {
  position: absolute;
  color: #ccc;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  width: 100%;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
  transform: translateY(100%);
}

.project:hover .project-info {
  transform: translateY(0);
}

/* Lightbox */
#lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

#lightbox.hidden {
  display: none;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.lightbox-content img.zoomed {
  transform: scale(1.8);
  cursor: zoom-out;
}

.controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 0 20px;
}

.close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 9999;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  cursor: zoom-in;
}

.modal-content img.visible {
  transform: scale(1);
  opacity: 1;
}

.modal-content img.zoomed {
  transform: scale(1.8);
  cursor: zoom-out;
}

.modal-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  padding: 0 20px;
  cursor: pointer;
  user-select: none;
}

.modal-close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
.modal-counter {
  position: absolute;
  bottom: 20px;
  right: 30px;
  color: white;
  font-size: 1rem;
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: 'Segoe UI', sans-serif;
}

.modal-overlay {
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,0.7);
  background: radial-gradient(circle at center, rgba(0,0,0,0.8), rgba(0,0,0,0.95));

}
.btn-whatsapp {
  background-color: #20C65A;
  color: #fff;
  transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1AAE4F;
}

.btn-gmail {
  background-color: #C13B2A;
  color: #fff;
  transition: background-color 0.3s ease;
}

.btn-gmail:hover {
  background-color: #A32F21;
}

.footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: #ccc;
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .project-showcase {
    gap: 20px;
    padding: 40px 10px;
  }

  .project {
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }
}
.btn-legal {
  color: #fff;
  background-color: #444;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-legal:hover {
  background-color: #667;
}

.legal-popup {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 8px;
  max-width: 300px;
}

.legal-popup ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-popup li {
  margin-bottom: 8px;
  font-size: 14px;
}

#closeLegal {
  margin-top: 10px;
  background-color: #d44638;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 30, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
    background: #fff;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  text-align: left;
}
.popup-content p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.popup-content button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #d33;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}
button {
  background: none;
  border: none;
  color: #0077b6;
  font-weight: bold;
  cursor: pointer;
  text-decoration: underline;
}
.close-btn {
  background-color: #d62828;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  display: block;
  margin: 30px auto 0 auto;
}

.close-btn:hover {
  background-color: #b71c1c;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

#closeLegal {
  margin-top: 10px;
  background-color: #d44638;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .expertise-card {
    flex: 1 1 calc(50% - 2em);
  }
}

@media (max-width: 600px) {
  .expertise-card {
    flex: 1 1 100%;
  }
}
/* === HEADER NAVIGATION === */
.header-nav {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
    display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.header-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.header-menu a:hover {
  color: #00ffd5;
  border-bottom: 2px solid #00ffd5;
}

.header-menu a.active {
  color: #00ffd5;
  font-weight: bold;
  border-bottom: 2px solid #00ffd5;
}
.contact-section {
  background: #f9f9f9;
  padding: 3rem 2rem;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-promo {
  flex: 1 1 400px;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.contact-promo h2 {
  color: #0077ff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.contact-promo p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cta-text {
  font-weight: 600;
  color: #0077ff;
  margin-top: 1rem;
}

.contact-details {
  flex: 1 1 400px;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.contact-details h2 {
  color: #0077ff;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-item {
  margin-bottom: 1.2rem;
}

.contact-item h4 {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.contact-item p {
  margin: 0.3rem 0 0.8rem;
  color: #555;
}

.contact-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s;
}

.contact-btn.gmail {
  background: #d93025;
}
.contact-btn.gmail:hover {
  background: #b1271b;
}

.contact-btn.whatsapp {
  background: #25D366;
}
.contact-btn.whatsapp:hover {
  background: #1da851;
}

/* Footer */
.contact-footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #777;
}

.legal-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #0077ff;
  text-decoration: none;
  font-weight: 500;
}
.legal-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }
}

