body {
  margin: 0;
  font-family: "Dosis", sans-serif;
  background-color: #f8f9fa;
}

/* --- Barre du haut --- */
.navbar {
  padding: 40px;
  background-color: white;
  text-align: center;
}

.navbar img {
  width: 180px;
}

/* --- Section du formulaire --- */
.slog {
  background-image: linear-gradient(#1e3559, #22609a);
  color: white;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.slog h1 {
  font-size: 35px;
  font-weight: bolder;
  margin-bottom: 40px;
}

/* --- Formulaire centré --- */
.log {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

label {
  font-size: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

input {
  padding: 11px;
  width: 300px;
  height: 40px;
  font-size: 18px;
  border-radius: 5px;
  border: none;
  margin-top: 8px;
}

/* --- Clavier numérique --- */
.tab {
  margin-top: 20px;
}

.car {
  border-collapse: collapse;
}

.y {
  height: 60px;
  width: 60px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  margin: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.y:hover {
  background-color: #e8e8e8;
}

/* --- Bouton de validation --- */
.b {
  background-color: #1e3559;
  color: white;
  margin-top: 30px;
  font-size: 16px;
  border-radius: 5px;
  border: none;
  padding: 14px;
  width: 320px;
  font-weight: 900;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.b:hover {
  background-color: #2c5c94;
}

/* --- Zone d'information --- */
.info, .suite {
  background-color: white;
  color: black;
  padding: 20px;
  text-align: center;
}

.info a, .suite a {
  color: #1e3559;
  font-weight: bold;
  text-decoration: none;
}

.info a:hover, .suite a:hover {
  text-decoration: underline;
}

/* --- Texte global --- */
p {
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.4em;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  input, .b {
    width: 260px;
  }

  .y {
    width: 50px;
    height: 50px;
  }

  .slog h1 {
    font-size: 28px;
  }
}
