:root {
  --primary: #2c3e50;
  --secondary: #3498db;
  --light: #f5f5f5;
  --dark: #222;
  --main-dark: #48466D;
  --accent-green: #28a745;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--dark);
  background-color: white;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 20px 0;
}

header {
  background: white;
  color: var(--main-dark);
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-title img {
  height: 60px; /* Ajuste à la taille souhaitée */
  width: auto;  /* Pour que la largeur soit proportionnelle */
}

.section, .hero {
  padding-top: 400px; /* Ajuste la valeur en fonction de la hauteur de ton header */
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--main-dark);
}

.logo-title img {
  height: 40px;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--main-dark);
  transition: transform 0.3s ease;
  z-index: 1100;
}

.menu-toggle.open {
  transform: rotate(90deg);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
  max-height: none;
  opacity: 1;
}

nav ul li a {
  color: var(--main-dark);
  text-decoration: none;
  font-weight: bold;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    max-height: 0;
    opacity: 0;
  }

  nav ul.show {
    max-height: 500px;
    opacity: 1;
  }

  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hero {
  background: var(--secondary);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
}

.section {
  padding: 40px 0;
  padding-top: 80px;
}

.bg-light {
  background: var(--light);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.btn {
  display: inline-block;
  background: white;
  color: var(--secondary);
  padding: 10px 20px;
  margin-top: 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 10px 0;
}
