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

/* BASE */
body {
  font-family: 'Inter', sans-serif;
  color: #575756;
  background-color: #ffffff;
  line-height: 1.6;
}

/* CONTENEUR GENERAL */
header, section, footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

/* EN-TÊTE */
header {
  display: flex;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1rem;
  gap: 2rem;
}

header div {
  flex: 1;                /* prend tout l’espace disponible */
  display: flex;
  flex-direction: column;
  align-items: center;    /* centre le texte horizontalement */
  text-align: center;
}

header img {
  max-width: 180px;
  flex-shrink: 0; /* empêche le logo de rétrécir */
}

h1 {
  font-family: 'Poiret One', cursive;
  font-size: 2.5rem;
  margin-bottom: 0.3rem;
}

h2 {
  font-family: 'Poiret One', cursive;
  font-size: 1.6rem;
  color: #6FB59B;
  font-weight: 600; /* effet "bold" */
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}


/* TITRES DE SECTIONS */
h3 {
  font-family: 'Shadows Into Light', cursive;
  font-size: 1.6rem;
  color: #6FB59B;
  margin-bottom: 0.4rem;
}

/* TEXTES */
p {
  margin-bottom: 0.4rem;
}

/* LISTES */
ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.3rem;
  line-height: 1.4;
}


/* LIENS */
a {
  color: #6FB59B;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* PIED DE PAGE */
footer {
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid #ddd;
  line-height: 1.4;
}

header h1 {
  margin-bottom: 0.2rem;
}

header h2 {
  margin-top: 0;
}

section a {
  font-weight: 500;
}

/* =========================
   RESPONSIVE MOBILE
   ========================= */

@media (max-width: 768px) {

  /* EN-TÊTE */
  header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  header img {
    max-width: 150px;
  }

  header div {
    align-items: center;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  /* SECTIONS */
  header, section, footer {
    padding: 0.8rem 1rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  p, li {
    font-size: 0.95rem;
  }

  /* FOOTER */
  footer {
    font-size: 0.8rem;
  }
}
