/* ============================================
   SECTION HERO - COMMUN À PLUSIEURS PAGES
   ============================================ */
.hero {
    background-color: #F7F8F5;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 3rem;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.hero-images {
    position: relative;
    width: 40%;
    max-width: 550px;
    aspect-ratio: 1;
    flex-shrink: 1;
    margin-left: 4rem;
}

.forest {
    width: 80%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 9/10;
    position: relative;
    z-index: 1;
    filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.2));
    border-radius: 200px 200px 0 0;
}

.forest-2 {
    width: 65%;
    max-width: 380px;
    height: auto;
    aspect-ratio: 9/10;
    position: absolute;
    bottom: 0px;
    right: -15%;
    z-index: 2;
    filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.15));
    border-radius: 200px 200px 0 0;
}

.hero-text {
    flex: 1;
    text-align: center;
    max-width: 100%;
    padding: 0 1rem;
}

.hero-text p {
    font-size: 1rem;
}

/* Menu toggle - style de base (caché sur desktop) */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    margin-right: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  background-color: #fff;
  color: #333;
  display: flex;
  flex-direction: column; /* Empiler verticalement */
  min-height: 100vh; /* Prend toute la hauteur de l'écran */
}

main {
  flex: 1;
}

/* header */
header {
  display: flex; /* activation flexbox */
  justify-content: space-between; /* élèments aux extrémités */
  align-items: center; /* centrer verticalement */
}

h1 {
  font-size: 50px;
}

nav {
  background-color: #B0C7B4;
  display: flex;
  gap: 1rem;
  padding: 0.3rem;
  border-radius: 35px 0 0 0;
}

nav a {
  color: black;
  text-decoration: none;
  padding: 0.5rem 0.5rem;
}

.btn-logout {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: medium;
  color: black;
  text-decoration: none;
  padding: 0.5rem 0.5rem;
  background-color: #B0C7B4;
  border: none;
}

/* Footer */
footer {
  font-size: small;
  background-color: #B0C7B4;
  padding: 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  text-align: center;
}

footer a {
  color: black;
}

/* Menu toggle - style de base (caché sur desktop) */
.menu-toggle {
  display: none; /* Caché par défaut, affiché en mobile via responsive.css */
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  margin-right: 1rem;
}

/* ============================================
   SECTION HERO - COMMUN À PLUSIEURS PAGES
   ============================================ */
.hero {
    background-color: #F7F8F5;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 3rem;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.hero-images {
    position: relative;
    width: 40%;
    max-width: 550px;
    aspect-ratio: 1;
    flex-shrink: 1;
    margin-left: 4rem;
}

.forest {
    width: 80%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 9/10;
    position: relative;
    z-index: 1;
    filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.2));
    border-radius: 200px 200px 0 0;
}

.forest-2 {
    width: 65%;
    max-width: 380px;
    height: auto;
    aspect-ratio: 9/10;
    position: absolute;
    bottom: 0px;
    right: -15%;
    z-index: 2;
    filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.15));
    border-radius: 200px 200px 0 0;
}

.hero-text {
    flex: 1;
    text-align: center;
    max-width: 100%;
    padding: 0 1rem;
}

.hero-text p {
    font-size: 1rem;
}

/* Menu toggle - style de base (caché sur desktop) */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    margin-right: 1rem;
}
