/* Reset et styles généraux */
body {
  font-family: 'Lato', 'Open Sans', sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* HEADER FIXE */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fdf7ed;
  border-bottom: 1px solid #eee;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Contenu de l'en-tête avec logo et texte */
.header-content {
  display: flex;
  align-items: center;
  max-width: 850px;
  margin: 0 auto;
  padding: 10px 20px;
}

.logo img {
  max-width: 130px; /* un peu plus grand */
  height: auto;
}

.header-text {
  margin-left: 20px;
  flex-grow: 1;
}

.header-text p {
  margin: 0;
  text-align: left;
}

.header-text p:nth-child(1) {
  font-size: 1em;
  color: #003f5c;
}

.header-text p:nth-child(2) {
  font-size: 0.8em;
  color: #003f5c;
}

.header-text p:nth-child(3) {
  font-size: 0.95em;
  color: #bc5090;
}

/* NAVIGATION */
nav {
  background-color: #ffa600; /* orange */
  text-align: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 5px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav ul li a img {
  max-width: 40px;
  margin-bottom: 5px;
}

/* Contenu principal */
main {
  max-width: 850px;
  margin: 0 auto;
  padding: 180px 20px 60px; /* pour compenser le header fixe */
}

h2 {
  color: #003f5c;
  font-weight: 700;
  font-size: 1.6em;
  margin-bottom: 0.5em;
}

.highlight {
  color: #bc5090;
  font-weight: 500;
}

.intention {
  margin-top: 1.5em;
}

/* FOOTER */
footer {
  text-align: center;
  background-color: #ffa600; /* orange */
  color: #003f5c;
  padding: 2em 0;
  font-size: 0.95em;
}
footer span {
  color: #003f5c;
}

/* Filigrane pour chaque section */
.section {
  position: relative;
  margin-top: 3em;
  padding-top: 2em;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.section > * {
  position: relative;
  z-index: 1;
}
