/* -------- Variables -------- */
:root {
  --bg: #ece9dc;
  --header-bg: #e4e0d4;
  --footer-bg: #e0ddd3;
  --text: #222;
}

/* -------- Base -------- */
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* -------- Header -------- */
header {
  background: var(--header-bg);
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.178);
  text-align: center;
}

header a {
  display: inline-flex; /* colle le lien à la taille de l'image */
  align-items: center;
  line-height: 0; /* évite l’espace vertical ajouté */
  text-decoration: none; /* retire tout style de lien */
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: 200px;
  margin-bottom: 1rem;
}

/* -------- Footer -------- */
footer {
  margin-top: auto;
  background-color: var(--footer-bg);
  text-align: center;
  padding: 1rem 0;
  box-shadow: 0 -5px 40px rgba(0, 0, 0, 0.15);
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-text a {
  display: inline-block;
}

/* --- Responsive Footer --- */
@media (max-width: 480px) {
  footer {
    padding: 0rem 0; /* fond + compact en hauteur */
  }

  .footer-text {
    display: flex;
    flex-direction: column; /* met chaque élément en dessous */
    gap: 0.3rem; /* petit espace entre les lignes */
  }
}
