:root {
    --bg: #f7f6f3;
    --text: #1a1a1a;
    --muted: #7a7a7a;
  }
  
  html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
  }
  
  body.home {
    min-height: 100vh;
    background-image:
      linear-gradient(
        rgba(247, 246, 243, 0.82),
        rgba(247, 246, 243, 0.82)
      ),
      url("../images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .container {
    max-width: 680px;
    padding: 4rem 2rem;
    text-align: center;
    transform: translateY(-1.3cm);
  }
  
  h1 {
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
  }
  
  .state {
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3rem;
  }
  
  .contact {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    margin-bottom: 2rem;
  }
  
  .contact a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    padding-bottom: 2px;
  }
  
  .contact a:hover {
    border-bottom-color: var(--text);
  }
  
  .nav {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }
  
  .nav a {
    text-decoration: none;
    color: var(--muted);
  }
  
  .nav a:hover {
    color: var(--text);
  }
  
  .page {
    max-width: 700px;
    margin: 10vh auto;
    padding: 2rem;
    text-align: center;
  }
  
  .page p {
    line-height: 1.7;
    color: var(--muted);
  }
  
  .back {
    display: inline-block;
    margin-top: 3rem;
    text-decoration: none;
    color: var(--muted);
  }
  
  .back:hover {
    color: var(--text);
  }

  /* Ajustement spécifique pour les pages About et Contact */
body.home.about .container,
body.home.contact .container {
  transform: translateY(-1.1cm); /* un peu plus haut que index */
}

body.home.about h1,
body.home.contact h1 {
  letter-spacing: 0.1em; /* réduit l'espacement entre les lettres */
}


