/* === GLOBAL BACKGROUND (sans logo image) === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  background-color: #f4f6f9;
}

/* === HEADER === */
header {
  background: #002d5e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo-header {
  height: 90px;
  width: 90px;
  border-radius: 50%;
  object-fit: contain;      /* 👈 affiche tout le logo */
  background-color: white;  /* optionnel : fond propre */
  border: 3px solid white;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}


/* === NAVIGATION === */
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* === HERO === */
.hero {
  text-align: center;
  padding: 120px 20px;
  background: linear-gradient(135deg, #004aad, #0096d6);
  color: white;
  border-radius: 8px;
  margin: 2rem;
}

.cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 12px 24px;
  background: white;
  color: #004aad;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

/* === SERVICES === */
#services {
  padding: 60px 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.95);
  margin: 2rem;
  border-radius: 8px;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.service {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  width: 250px;
  font-size: 1.1rem;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}

/* === CONTACT === */
#contact {
  background: rgba(255, 255, 255, 0.95);
  padding: 60px 20px;
  text-align: center;
  margin: 2rem;
  border-radius: 8px;
}

/* === FOOTER === */
footer {
  background: #002d5e;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #002d5e;
    position: absolute;
    right: 0;
    top: 70px;
    width: 200px;
    padding: 1rem;
  }

  nav ul.active {
    display: flex;
  }

  .burger {
    display: block;
  }

  .logo-header {
    height: 70px;
  }
}
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #003975;
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 200px;
  top: 100%;
  left: 0;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 99;
}

.dropdown-content li a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
  font-weight: normal;
}

.dropdown-content li a:hover {
  background-color: #0050a5;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: white;
  width: 90%;
  height: 90%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  font-weight: bold;
  z-index: 1000;
}
