/*BARRE DE NAVIGATION FIXE */

.navbar 
{
  position: fixed; /* reste visible même quand on défile */
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgb(118, 193, 255);
  padding: 12px 0;
  z-index: 1000;
}
/* Liens permanents */ 
#b2 
{ 
 position: absolute; 
 left: 10px; 
 top: 40px; 
 padding: 12px 0; 
 background-color: rgb(118, 193, 255); 
 text-align: center; 
 border-radius: 20px 20px 20px 20px; 

}

 
/* Liste horizontale */

.navbar ul
{
  list-style: none;
  display: flex;
  justify-content: center; /* centre les liens */
  gap: 40px;
  margin: 0;
  padding: 0;
}
 
/* Liens de navigation */

.navbar a 
{
  color: rgb(0, 0, 0);
  text-decoration: none;

  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}
 
.navbar a:hover 
{
  color: #ffcc00; /* effet au survol */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ====== Reset ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ====== Structure ====== */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #f4f4f9;
  color: #333;
  line-height: 1.6;
}

/* ====== Header ====== */
header {
  text-align: center;
  background-color: rgb(118, 193, 255);
  color: white;
  padding: 60px 20px 40px;

}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header .maj {
  margin-top: 10px;
  font-size: 1rem;
  opacity: 0.9;
}

/* ====== Sections ====== */
main {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
}

section {
  background-color: white;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* ====== Titres ====== */
h2 {
  font-size: 1.5rem;
  color: #0078d7;
  margin-bottom: 15px;
  border-left: 5px solid rgb(255, 130, 47);
  padding-left: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fleche {
  color: rgb(255, 130, 47);
  font-weight: bold;
}

/* ====== Texte ====== */
p {
  font-size: 1rem;
  color: #444;
}

/* ====== Footer ====== */
footer {
  text-align: center;
  padding: 20px;
  background-color: rgb(118, 193, 255);
  color: white;
  margin-top: 40px;
}
