* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f4f9;
  color: #222;
  line-height: 1.6;
}

/* HEADER */
header {
  background: linear-gradient(90deg, #0f172a, #1e293b);
  padding: 20px 0;
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.brand {
  font-size: 20px;
  font-weight: bold;
}

nav {
  display: flex;
  gap: 10px;
}

nav a {
  color: #cbd5e1;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 15px;
  transition: all 0.3s ease;
}

nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

nav a.active {
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

/* BARRE DE RECHERCHE */
.search-bar {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.search-bar form {
  display: flex;
  gap: 10px;
  max-width: 600px;
}

.search-bar input[type="text"] {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  transition: all 0.3s ease;
}

.search-bar input[type="text"]:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.3);
}

.search-bar button {
  padding: 12px 24px;
  background: #06b6d4;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-bar button:hover {
  background: #0891b2;
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #0f172a;
  line-height: 1.3;
}

.subtitle {
  font-size: 18px;
  color: #475569;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  background: #06b6d4;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}

.btn:hover {
  background: #0891b2;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(6, 182, 212, 0.4);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* FEATURES SECTION */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-card h3 {
  font-size: 22px;
  color: #0f172a;
  margin-bottom: 10px;
}

.feature-card p {
  color: #64748b;
  font-size: 15px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  color: #64748b;
  font-size: 14px;
  margin-top: 40px;
  border-top: 1px solid #e2e8f0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .subtitle {
    font-size: 16px;
  }

  .brand {
    font-size: 16px;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    font-size: 14px;
    padding: 6px 10px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .search-bar form {
    flex-direction: column;
  }

  .search-bar button {
    width: 100%;
  }
}