/* ---------------------------------
   Reset & fontes globales
--------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
  }
  
  /* ---------------------------------
     Background full-screen + filtre
  --------------------------------- */
  body.index {
    background:
      linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
      url('bg8.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;

  }
  
  /* ---------------------------------
     Container (même placement pour toutes les pages)
  --------------------------------- */
  .container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;   /* toujours centré verticalement */
    text-align: center;
    height: 100vh;
    width: 100%;
    gap: 2.5rem;
    padding: 0 1rem;
    overflow: hidden;
    transform: translateY(-10%); /* décalage uniforme vers le haut */
  }
  
  /* ---------------------------------
     Titres & textes
  --------------------------------- */
  h1 {
    font-family: 'Cormorant', serif;
    font-size: 3.2rem;
    white-space: nowrap;
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 0.05em;
}
  
  .description {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 24rem;
    color: rgba(255,255,255,0.9);
    text-align: center;     /* centré */
  }
  
  /* ---------------------------------
     Formulaire
  --------------------------------- */
  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 22rem;
  }
  
  input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.2);
    color: #fff;
  }
  
  input::placeholder {
    font-family: 'Cormorant', serif;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
  }
  
  /* ---------------------------------
     Message d’erreur
  --------------------------------- */
  .error {
    font-size: 1rem;
    color: #ffaaaa;
    margin-top: -0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
  }
  
  /* ---------------------------------
     Boutons (secondary pour tous)
  --------------------------------- */
  .btn-secondary {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border-radius: 9999px;
    border: 2px solid #fcefb1;
    background: transparent;
    color: #fcefb1;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  }
  
  .btn-secondary:hover {
    background: rgba(235,140,50,0.1);
  }
  
  .btn-secondary:active {
    transform: scale(0.92);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  }
  
  /* ---------------------------------
     Numéro de table
  --------------------------------- */
  .table-number {
    font-family: 'Cormorant', serif;
    font-size: 7.5rem;
    margin-bottom: 1rem;
    color: #fcefb1;
    white-space: nowrap;
    font-weight: 600;
}
  
  /* ---------------------------------
     Responsive mobile
  --------------------------------- */
  @media (max-width: 400px) {
    h1 {
      font-size: 2.4rem;
    }
    .description {
      font-size: 0.9rem;
      max-width: 90%;
    }
    .table-number {
      font-size: 5.5rem;
    }
    input[type="text"] {
      font-size: 1rem;
    }
    .btn-secondary {
      padding: 0.6rem 1rem;
      font-size: 0.9rem;
    }
  }
  