/* ======== BODY ======== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 110px; /* hauteur du header fixe */
    background-color: #f5f5f5;
	line-height: 3;     /* interligne */
	color: white;	
	
	background-image: url("images/eclair_2.jpg");
    background-attachment: fixed;  /* Fond fixe */
    background-size: cover;        /* L'image couvre tout l'écran */
    background-position: center;   /* Centrée */
    background-repeat: no-repeat;  /* Pas de répétition */
}

h3 {
	font-size: 18px;      /* taille de la police */
    margin: 0 0 10px 0;   /* optionnel : espace après le h3 */
    font-weight: normal;  /* optionnel : si tu ne veux pas gras */
}

/* ======== HEADER FIXE ======== */
header {
    position: fixed;      /* fixe le header */
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;         /* hauteur fixe du header */
    background-color: #0077cc;
    color: white;
    padding: 2px;
    text-align: center;
    z-index: 1000;
    box-sizing: border-box; /* inclut le padding dans la hauteur */
	line-height: 1;     /* interligne */
}

/* ======== NAVIGATION ======== */
nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

/* ======== SECTIONS ======== */
section {
    padding: 20px;
    margin: 20px;
    border: 2px solid red;   /* épaisseur – style – couleur */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
	scroll-margin-top: 110px; /* même hauteur que le header */
}

/* ======== BOUTONS ======== */
button {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #0077cc;
    color: white;
    border: none;
    border-radius: 5px;
}

button:hover {
    background-color: #005fa3;
}

/* ======== FOOTER ======== */
footer {
    text-align: center;
    padding: 10px;
    background-color: #222;
    color: white;
}

/* ======== FORMULAIRE ======== */
.form-group {
    display: flex;
	flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

textarea {
    height: auto;
    padding: 8px;
    font-size: 16px;
    resize: vertical;
    flex: 1;
}

/* ======== BLOC AVEC IMAGE A DROITE ======== */
.bloc {
  display: flex;
  align-items: center;        /* alignement vertical */
  justify-content: space-between;
  gap: 20px;
}

.bloc img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.texte {
  flex: 1;                   /* le texte prend tout l’espace */
}
