/* Base Light Theme */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Typography */
.title-section {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
  color: #0077b6;
}

/* Menu */
.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #f8f9fa;
  position: sticky;
  top: 0;
  z-index: 10;
}
.menu .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.menu .logo img {
  max-width: 50px;
} 

.menu .nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}
.menu .nav-links a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}
.menu .nav-links a:hover {
  color: #0077b6;
}

/* Hamburger */
.menu .burger {
  display: none;
}

/* Navigation mobile */
@media (max-width: 768px) {
  .menu {
    flex-wrap: wrap;
  }

  .menu .burger {
    display: block;
    cursor: pointer;
  }

  .menu .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #f8f9fa;
    padding: 1rem 0;
  }

  .menu .nav-links.active {
    display: flex;
  }

  .menu .nav-links li {
    padding: 0.5rem 1rem;
    border-top: 1px solid #ddd;
  }

  .menu .nav-links a {
    width: 100%;
  }
}

/* Desktop (défaut) */
@media (min-width: 769px) {
  .menu .nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
  }
}

/* Hero */
.hero {
  background-size: cover;
  background-position: center;
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #f1f1f1;
}

/* Banner */
.banner {
  background-color: #f0f0f0;
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
  color: #333;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 4rem 2rem;
  justify-content: center;
  background: #fafafa;
}
.card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.card h3 {
  margin-top: 0;
  color: #0077b6;
}
.card p {
  color: #555;
}

/* Link */
.link {
  color: #0077b6;
  text-decoration: none;
  font-weight: bold;
}
.link:hover {
  text-decoration: none;
}

/* KPI */
.kpis {
  display: flex;
  justify-content: space-around;
  padding: 3rem 1rem;
  background-color: #e9ecef;
  text-align: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.kpi-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #0077b6;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
  text-decoration: none;
}
.btn-primary {
  background-color: #0077b6;
  color: #ffffff;
}
.btn-primary:hover {
  background-color: #005f87;
}
.btn-secondary {
  background-color: #dee2e6;
  color: #333;
}
.btn-secondary:hover {
  background-color: #ced4da;
}

/* Animated Text Block */
.animated-section {
  padding: 4rem 2rem;
  background-color: #f8f9fa;
}
.animated-section .fade-in-message {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0077b6;
  max-width: 800px;
  margin: 0 auto;
}

/* List */
.clean-list {
  max-width: 800px;
  margin: auto;
  list-style: none;
  padding: 0;
}
.clean-list li {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}
.clean-list li i {
  color: #0077b6;
  margin-right: 0.5rem;
}

/* Animation */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease-in forwards;
}
.zoom-in {
  transform: scale(0.95);
  opacity: 0;
  animation: zoomIn 1.5s ease-out forwards;
}
.slide-in {
  transform: translateY(-20px);
  opacity: 0;
  animation: slideIn 1s ease-out forwards;
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes zoomIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes slideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
