/* Reset léger */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Style général de la page */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #f4f6f8;
  color: #222;
  line-height: 1.6;
  padding: 40px;
  max-width: 900px;
  margin: auto;
  text-align: justify;
}

/* Titres */
h1 {
  text-align: center;
  color: #1e3a5f;
  margin-bottom: 30px;
  font-size: 2.2em;
}

h3 {
  margin-top: 40px;
  margin-bottom: 15px;
  color: #1e3a5f;
  font-size: 1.5em;
}

h4 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: #2c5282;
  font-size: 1.25em;
}

/* Paragraphes */
p {
  margin-bottom: 20px;
  text-align: justify;
}

/* Texte hors <p> */
body > br,
body > text {
  margin-bottom: 15px;
}

/* Vidéo */
video {
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mise en valeur des phrases importantes */
strong {
  color: #1e3a5f;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 20px;
  }

  h1 {
    font-size: 1.8em;
  }

  video {
    width: 100%;
  }
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f4f4f4;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav a {
  color: #000;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
}

nav a:hover {
  transform: scale(1.1);
  color: #00bcd4;
}

.sae-btn {
  display: inline-block;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin: 20px auto;
}

.sae-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #66bb6a, #388e3c);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.sae-btn-container {
  display: flex;
  justify-content: center;
}
