/* ---------------------------
   Reset + Variables
---------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-body: 'Poppins', sans-serif;
  --font-title: 'Chivo', sans-serif;

  --color-black: #000000;
  --color-white: #ffffff;
  --color-pink: #ffc8dd; /* rose pastel */
}

body {
  font-family: var(--font-body);
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.6;
}

/* Assure que le body prend toute la hauteur de l'écran */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Contenu principal pousse le footer vers le bas */
main {
    flex: 1 0 auto;
}



/* ---------------------------
   Navbar
---------------------------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--color-black);
}

.navbar .logo a {
  font-family: var(--font-title);
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--color-black);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-black);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-pink);
}

.navbar .logo a {
  font-family: var(--font-title);
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--color-black);
  transition: color 0.3s ease;
}

.navbar .logo a:hover {
  color: var(--color-pink);
}


/* ---------------------------
   Hero
---------------------------- */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: 3rem;
}

.hero p {
  font-size: 1.2rem;
  color: #444;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--color-pink);
  color: var(--color-black);
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--color-pink);
  color: var(--color-white);
}

/* ---------------------------
   Footer
---------------------------- */
.footer {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--color-black);
  font-size: 0.9rem;
  flex-shrink: 0; /* ne se contracte pas */

}

