/* Variables CSS pour les couleurs - Centraliser ici facilite les modifications futures */
:root {
    --color-primary: #BFB3A7;
    --color-background: #F1EFEC;
    --color-heading: #383633;
    --color-text: #8E8C89;

    --color-white: #ffffff;
    --color-black: #000000;
}

/* Réinitialisation de base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    padding-top: 80px; /* pour compenser le header fixe */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--color-heading);
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h1 { font-size: 3em; }
h2 { font-size: 2.5em; }
h3 { font-size: 2em; }
h4 { font-size: 1.5em; }

p {
    margin-bottom: 1em;
    text-align: justify;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-heading);
}

/* Header fixe et propre */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-primary);
    z-index: 1000;
    padding-bottom: 0px;
}

/* Container pour le layout interne du header */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 40px; /* ↓ padding vertical réduit */
}

header nav {
    display: flex;
    gap: 32px; /* ↑ espace augmenté entre les liens */
}

/* Style des liens */
header nav a {
    color: var(--color-text);
}

header h1 {
    margin-top: 10px;
    font-family: "WindSong", cursive;
}

header img {
  height: 120px;   /* taille finale du logo */
  width: auto;
  display: block;
  margin: 0 auto;  /* centre horizontalement */
}
/* -------- Responsive HEADER -------- */
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
  }

  header nav {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
  }

  header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  header nav a {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  header .container {
    padding: 10px 16px;
  }

  header h1 {
    font-size: 1.5rem;
  }

  header nav a {
    font-size: 0.95rem;
  }
}

/* Bouton burger caché en grand écran */
.burger-btn {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
}

/* Responsive : menu burger actif */
@media (max-width: 768px) {
  .burger-btn {
    display: block;
    margin-top: -10px;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 10px;
  }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-background);
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    justify-content: center;
    align-items: center;
  }
}
footer {
    background-color: var(--color-background);
    padding: 20px 40px;
    border-top: 1px solid var(--color-primary);
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    margin: 0;
    font-size: 0.85em;
    color: var(--color-text);
    text-align: center;
    flex-grow: 1;
    order: 2; /* pour centrer avec flex */
}

footer .social-links {
    display: flex;
    align-items: center;
    gap: 30px;
    order: 1; /* logo gauche */
}

footer .social-links a {
    font-size: 1.8em; /* agrandi les icônes */
    color: var(--color-primary);
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: var(--color-heading);
}

/* Pour placer un logo à gauche et un à droite */
footer .social-links a:first-child {
    margin-right: auto; /* pousse vers la gauche */
}

footer .social-links a:last-child {
    margin-left: auto; /* pousse vers la droite */
}

footer .social-links .nav-admin {
    font-size: 1em;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
  pointer-events: none;
}
