/* === RESET === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; line-height: 1.6; background: #f8fafd; color: #333; }

/* === NAVBAR === */

.navbar .logo img {
    height: 50px;
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #1e88e5;
  color: #fff;
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 50px;
  z-index: 1000;
}
.navbar .logo { font-size: 22px; font-weight: bold; }
.navbar .nav-links { list-style: none; display: flex; gap: 25px; }
.navbar .nav-links a {
  text-decoration: none; color: #fff; font-weight: 500;
  transition: color 0.3s;
}
.navbar .nav-links a:hover { color: #ffeb3b; }

/* === HERO === */
.hero {
  height: 100vh;
  display: flex; justify-content: center; align-items: center;
  text-align: center;
  color: #fff;
  background: url("./img/SANQUEST4.png") no-repeat center center/cover;
  position: relative;
  padding: 0 10%;
}
.hero::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
}
.hero-text {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-text h1 { font-size: 3rem; margin-bottom: 20px; }
.hero-text p { font-size: 1.3rem; margin-bottom: 30px; }
.hero-text .btn {
  background: #1e88e5; color: #fff; padding: 14px 30px;
  border-radius: 30px; text-decoration: none; font-weight: bold;
  transition: 0.3s;
}
.hero-text .btn:hover { background: #ffeb3b; color: #333; }

/* === FORM CONTAINER === */
.container {
  display: flex; justify-content: center; gap: 40px;
  margin: 60px auto; padding: 40px; flex-wrap: wrap;
}
.form-container {
  background: #fff; padding: 40px; border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 350px; text-align: center;
}
.form-container h1 { margin-bottom: 20px; color: #1e88e5; }
.form-container input {
  width: 100%; padding: 12px; margin: 10px 0;
  border: 1px solid #ccc; border-radius: 8px;
}
.form-container button {
  background: #1e88e5; color: #fff; border: none;
  padding: 12px 20px; border-radius: 8px;
  cursor: pointer; font-size: 1rem; font-weight: 500;
  transition: background 0.3s;
}
.form-container button:hover { background: #1565c0; }

/* === PRESENTATION === */
.presentation {
  display: flex; align-items: center; justify-content: space-between;
  padding: 80px 10%; gap: 40px; flex-wrap: wrap;
}
.presentation-text { flex: 1; min-width: 280px; }
.presentation h2 { font-size: 2rem; color: #1e88e5; margin-bottom: 20px; }
.presentation p { margin-bottom: 15px; }
.presentation i { color: #1e88e5; margin-right: 5px; }
.presentation-img img {
  max-width: 400px; border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.security-box {
  margin-top: 20px; padding: 15px; border-left: 5px solid #1e88e5;
  background: #e3f2fd; border-radius: 8px;
  font-size: 0.95rem;
}

/* === FONCTIONNEMENT === */
.fonctionnement {
  text-align: center; padding: 80px 10%; background: #f1f8ff;
}
.fonctionnement h2 { color: #1e88e5; margin-bottom: 40px; }
.steps {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 20px;
}
.step {
  flex: 1; min-width: 250px; max-width: 300px;
  background: #fff; padding: 25px; border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.step:hover { transform: translateY(-5px); }
.step i { font-size: 2rem; color: #1e88e5; margin-bottom: 15px; }
.step img { max-width: 100%; border-radius: 10px; margin-top: 15px; }

/* === CONTACT === */
.contact {
  padding: 80px 10%; text-align: center;
}
.contact h2 { color: #1e88e5; margin-bottom: 20px; }
.contact form {
  max-width: 500px; margin: auto; display: flex; flex-direction: column; gap: 15px;
}
.contact input, .contact textarea {
  padding: 12px; border-radius: 8px; border: 1px solid #ccc;
}
.contact button {
  background: #1e88e5; color: #fff; border: none;
  padding: 12px; border-radius: 8px; font-weight: bold;
  cursor: pointer; transition: 0.3s;
}
.contact button:hover { background: #1565c0; }

/* === FOOTER === */
footer {
  background: #1e88e5; color: #fff; text-align: center;
  padding: 20px; margin-top: 40px;
}
footer a { color: #ffeb3b; text-decoration: none; margin: 0 5px; }
footer a:hover { text-decoration: underline; }

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .hero-text h1 { font-size: 2.2rem; }
  .hero-text p { font-size: 1rem; }
  .presentation { flex-direction: column; text-align: center; }
  .presentation-img img { max-width: 100%; }
}
@media (max-width: 600px) {
  .navbar { flex-direction: column; padding: 10px 20px; }
  .navbar .nav-links { flex-wrap: wrap; gap: 15px; margin-top: 10px; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-text p { font-size: 0.95rem; }
}
