body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #f4f6f8;
}

header {
  background: linear-gradient(135deg, #002855, #004080);
  color: white;
  padding: 20px 30px;
  display: flex;
  align-items: center; /* centre verticalement logo et titre */
  justify-content: space-between; /* logo/titre à gauche, nav à droite */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

header .logo-title {
  display: flex;
  align-items: center;
}

header img.logo {
  height: 100px; /* logo plus gros */
  margin-right: 20px;
}

header h1 {
  margin: 0;
  font-size: 2.2em; /* titre plus visible */
  font-weight: bold;
  color: #ffffff;
}

header nav {
  margin: 0;
}

header nav a {
  color: #e0f0ff;
  text-decoration: none;
  margin-left: 15px;
  font-weight: 500;
  transition: color 0.3s;
}

header nav a:hover {
  color: #ffcc00;
}

main {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

h2 {
  color: #003366;
  margin-bottom: 10px;
  border-bottom: 2px solid #003366;
  padding-bottom: 5px;
}

.seminar-list {
  list-style: none;
  padding-left: 0;
}

.seminar-list li {
  margin-bottom: 25px;
  padding: 15px;
  border-left: 4px solid #004080;
  background: #f9fbfd;
  border-radius: 6px;
}

.seminar-list .date {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 5px;
}

.seminar-list .author,
.seminar-list .title {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 5px;
  color: #002244;
}

.seminar-list .abstract {
  text-align: justify;
  font-size: 1em;
}

.seminar-list .abstract a {
  font-size: 1em;
  color: #004080;
  text-decoration: underline;
}

.seminar-list .abstract a:hover {
  color: #ffcc00;
}

form {
  display: flex;
  flex-direction: column;
}

form label {
  margin-top: 10px;
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form textarea {
  font-size: 1.2em;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
  margin-top: 5px;
}

form textarea {
  resize: vertical;
}

form button {
  margin-top: 15px;
  padding: 12px 15px;
  font-size: 1.2em;
  border: none;
  border-radius: 6px;
  background-color: #004080;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #002855;
}

footer {
  text-align: center;
  margin: 40px 0 10px;
  font-size: 0.85em;
  color: #777;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: center;
  }
  header .logo-title {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  header nav {
    margin-top: 10px;
  }
  header nav a {
    display: block;
    margin: 5px 0;
  }
  header img.logo {
    height: 70px;
    margin-right: 0;
    margin-bottom: 10px;
  }
  header h1 {
    font-size: 1.8em;
    text-align: center;
  }
  main {
    margin: 15px;
    padding: 15px;
  }
}
