:root {
  --header-height: 60px;
  --menu-height-mobile: 50px;
}

/* ------------------------
    🎯 Base Structure
------------------------- */
body {
  margin: 0 auto;
  max-width: 100%;
  padding: 0;
  padding-top: var(--header-height);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
}

header {
  text-align: center;
  padding: 2rem 1rem 1rem;
  background: #004f6e;
  color: white;
}

header h1 {
  margin: 0.2em 0;
  font-size: 2em;
}

/* ------------------------
    📌 Menu Horizontal
------------------------- */
nav {
  background-color: #e0f0f5;
  padding: 0.5rem;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

nav li {
  display: inline;
}

nav a {
  color: #004f6e;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #c30b54;
}





/* ------------------------
    📄 Main & Footer
------------------------- */
main,
article {
  margin-top: 0;
  margin-bottom: 2rem;
  padding: 2rem;
  max-width: 100%;
  box-sizing: border-box;
}

footer {
  flex-shrink: 0;
  background-color: #ecf0f1;
  color: #555;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  margin-top: 3rem;
}

/* ------------------------
    📝 Typography
------------------------- */
h1,
h2 {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.4rem;
  padding-bottom: 0.3rem;
}

h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1.3rem;
}

blockquote {
  font-style: italic;
  color: #555;
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  margin: 1.5rem 0;
  background: #f0f0f0;
}

/* ------------------------
    🌐 Language Switch
------------------------- */
.language-switch {
  position: relative;
  top: 1rem;
  right: 1rem;
  font-size: 0.95rem;
}

.language-switch a {
  text-decoration: none;
  color: #0077cc;
  font-weight: bold;
}

.language-switch a:hover {
  text-decoration: underline;
}

/* ------------------------
    📱 Responsive Design
------------------------- */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  header,
  header p {
    color: #ffffff;
  }

  nav {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav li {
    display: block;
    width: 100%;
  }

  nav a {
    display: block;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(0, 79, 110, 0.15);
  }

  nav li:last-child a {
    border-bottom: none;
  }

  main,
  article {
    padding: 1rem;
    margin-top: 0;
  }

  .language-switch {
    position: relative;
    text-align: center;
    margin-top: 1rem;
  }
}

section > div {
  float: left;
  margin: 0 20px 10px 0;
}

section > div img {
  width: 120px; /* ajuste si besoin */
  height: auto;
}

.right-image {
  float: right;
  margin: 0 0 10px 20px; /* espace entre texte et image */
  width: 120px; /* ajuste si nécessaire */
  height: auto;
}
