:root {
  --text-color: #2e2e2e;
  --menu-bg-color: #bbdefb;
  /* Les couleurs que tu avais choisies précédemment */
  /* --menu-bg-color: #a0dde6; */
  /* --menu-text-hover-color: #c5b358; */
  /* --menu-text-active-color: #c5b358; */
  --menu-text-hover-color: #1e88e5;
  --menu-text-active-color: #1976d2;
  --main-bg-color: #efe8d8;
}

body {
  margin: 0;
  font-family: 'Lora', serif;
  color: var(--text-color);
  font-size: 1.2rem;
  background-color: #efe8d8;
}

header {
  background-color: var(--menu-bg-color);
  padding: 1rem 0 0;
  text-align: center;
}

header h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; /* réduit depuis 3rem */
  color: var(--text-color);
}

header p {
  margin-top: 0.3rem;
  font-size: 1rem; /* réduit depuis 1.32rem */
  color: var(--text-color);
}

header img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 40vh;
  margin: 0 auto;
  object-fit: cover;
  object-position: center center;
}

nav {
  position: sticky;
  top: 0;
  padding: 0.4rem 0;
  text-align: center;
  background-color: var(--menu-bg-color);
  z-index: 1000;
}

nav a {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0.6rem;
  font-size: 1rem; /* réduit depuis 1.2rem */
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--menu-text-hover-color);
}

nav a.active {
  color: var(--menu-text-active-color);
}

nav a:after {
  content: '';
  position: absolute;
  bottom: -0.4rem;
  left: 50%;
  width: 0;
  height: 2px;
  transform: translateX(-50%);
  background-color: currentColor;
  transition: width 0.3s ease-in-out;
}

nav a.active:after,
nav a:hover:after {
  width: 100%;
}

main {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
}

section {
  margin-bottom: 2rem;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #4e6653;
}

main p {
  text-align: justify;
}

button {
  background-color: #a3b18a;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #c5b358;
}

footer {
  background-color: #d9d9d9;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.section-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 1rem;
}

form input,
form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Lora', serif;
}

form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: bold;
}
/* Rotation de l'image recherche1.jpg */
.section-image[src="images/recherche1.jpg"] {
  transform: rotate(90deg);
  display: block;
  margin: 20px auto; /* pour centrer l’image après rotation */
  max-width: 100%; /* pour garder l’image responsive */
}
/* Rotation de l'image site2.jpg */
.section-image[src="images/site2.jpg""] {
  transform: rotate(90deg);
  display: block;
  margin: 20px auto; /* pour centrer l’image après rotation */
  max-width: 100%; /* pour garder l’image responsive */
}
.icon-email {
  font-size: 1.8em;
  vertical-align: middle;
}
accent {
  font-weight: 900;
  color: #000;
  font-size: 2rem; /* augmente la taille (1rem = taille de base du body) */
}

