body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #0a0a0d;
  color: #e8e6f0;
}

a {
  color: #e8e6f0;
  text-decoration: none;
}

.entete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #14141a;
  border-bottom: 2px solid #d4af37;
}

.logo {
  font-weight: bold;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo span {
  color: #2dd4a8;
}

.logo-image {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  background-color: #fff;
  padding: 2px;
}

.entete nav a {
  margin-left: 1.5rem;
}

.bouton {
  background-color: #d4af37;
  color: #0a0a0d;
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.section {
  padding: 2rem;
}

.entete-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.bouton-contour {
  background-color: transparent;
  border: 1px solid #e8e6f0;
  color: #e8e6f0;
  white-space: nowrap;
}

.petit-titre {
  color: #2dd4a8;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

h1 {
  margin-top: 0;
}

.grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.carte {
  background-color: #14141a;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
}

.carte img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.carte-contenu {
  padding: 1rem;
}

.carte-large {
  max-width: 350px;
}

.actions-carte {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.actions-carte .bouton,
.actions-carte .bouton-contour {
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 400px) {
  .actions-carte {
    flex-direction: column;
  }
}

.badge {
  display: inline-block;
  background-color: #0a0a0d;
  border: 1px solid #d4af37;
  color: #d4af37;
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.badge-violet {
  border-color: #6b2d9e;
  color: #c0c0c8;
}

.badge-or {
  background-color: #d4af37;
  color: #0a0a0d;
}

.badge-indisponible {
  border-color: #e8507a;
  color: #e8507a;
}

.infos {
  font-size: 0.85rem;
}

.infos i {
  color: #e8507a;
  margin-right: 0.3rem;
}

.pied-de-page {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  border-top: 1px solid #333;
  font-size: 0.85rem;
}

.pied-de-page form {
  display: flex;
  gap: 0.5rem;
}

.pied-de-page input {
  padding: 0.4rem;
  border-radius: 4px;
  border: 1px solid #333;
  background-color: #0a0a0d;
  color: #e8e6f0;
}

.section-connexion {
  display: flex;
  justify-content: center;
  padding: 4rem 2rem;
}

.carte-connexion {
  background-color: #14141a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
}

.onglets-connexion {
  display: flex;
  background-color: #0a0a0d;
  border-radius: 8px;
  padding: 0.3rem;
  margin-bottom: 1.5rem;
}

.onglet {
  flex: 1;
  padding: 0.7rem;
  background: none;
  border: none;
  border-radius: 6px;
  color: #888;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.onglet-actif {
  background-color: #6b2d9e;
  color: #fff;
}

.panneau-onglet.cache {
  display: none;
}

.champ {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.champ label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c0c0c8;
}

.champ input,
.champ textarea {
  padding: 0.7rem;
  border-radius: 6px;
  border: 1px solid #333;
  background-color: #0a0a0d;
  color: #e8e6f0;
  font-family: inherit;
}

.champ textarea {
  min-height: 100px;
  resize: vertical;
}

.champ input:focus,
.champ textarea:focus {
  outline: none;
  border-color: #d4af37;
}

.bouton-large {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.alerte {
  padding: 0.7rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
}

.alerte-erreur {
  background-color: rgba(232, 80, 122, 0.12);
  border: 1px solid #e8507a;
  color: #e8507a;
}

.alerte-succes {
  background-color: rgba(45, 212, 168, 0.12);
  border: 1px solid #2dd4a8;
  color: #2dd4a8;
}

.lien-secondaire {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.lien-secondaire a {
  color: #d4af37;
  text-decoration: underline;
}

h1,
h2,
h3,
.logo,
.petit-titre {
  font-family: "Cinzel", serif;
  letter-spacing: 1px;
}

h1 {
  font-weight: 700;
}

.barre-recherche {
  display: flex;
  gap: 0.8rem;
  max-width: 600px;
  margin: 1.5rem 0;
}

.barre-recherche input {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  border: 1px solid #333;
  background-color: #14141a;
  color: #e8e6f0;
  font-family: inherit;
}

.barre-recherche input:focus {
  outline: none;
  border-color: #d4af37;
}

.filtres-attractions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.filtre-type {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid #333;
  background-color: #14141a;
  color: #c0c0c8;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s;
}

.filtre-type:hover {
  border-color: #d4af37;
  color: #d4af37;
}

.filtre-type.filtre-actif {
  background-color: #6b2d9e;
  border-color: #6b2d9e;
  color: #fff;
}

.filtres-secondaires {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.champ-filtre {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.champ-filtre label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
}

.champ-filtre select {
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  border: 1px solid #333;
  background-color: #14141a;
  color: #e8e6f0;
  font-family: inherit;
}

.message-resultats {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.liste-creneaux {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.option-creneau {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border: 1px solid #333;
  border-radius: 6px;
  background-color: #0a0a0d;
  cursor: pointer;
  font-size: 0.9rem;
}

.option-creneau:has(input:checked) {
  border-color: #d4af37;
}

#zone-signature {
  border: 1px solid #333;
  border-radius: 6px;
  touch-action: none;
  max-width: 100%;
  margin-bottom: 0.7rem;
}

.selecteur-etoiles {
  font-size: 1.8rem;
  color: #d4af37;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.selecteur-etoiles .etoile {
  margin-right: 0.3rem;
}

.liste-avis {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
}

.carte-avis {
  background-color: #14141a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem 1.3rem;
}

.carte-avis-entete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.note-affichee {
  color: #d4af37;
  font-size: 0.9rem;
}

.date-avis {
  color: #666;
  font-size: 0.8rem;
}

.lien-avis {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #2dd4a8;
  text-decoration: underline;
}

.liste-sujets-forum {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 700px;
  margin-top: 10px;
}

.carte-sujet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #14141a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem 1.3rem;
  transition: border-color 0.15s;
}

.carte-sujet:hover {
  border-color: #d4af37;
}

.carte-sujet h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.sujet-meta {
  color: #888;
  font-size: 0.8rem;
}

.sujet-nb-messages {
  color: #2dd4a8;
  font-size: 0.85rem;
  white-space: nowrap;
}

.fil-messages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
  margin: 1.5rem 0;
}

@media (max-width: 820px) {
  .entete {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
  }

  .entete nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    gap: 0.5rem;
  }

  .entete nav a {
    margin-left: 0;
    padding: 0.55rem 0.25rem;
    text-align: center;
    white-space: nowrap;
  }

  .entete nav .bouton {
    padding: 0.55rem 0.4rem;
  }

  .entete-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .entete-section .bouton {
    margin-left: 0;
  }

  .section {
    padding: 1.2rem;
  }

  .grille {
    grid-template-columns: 1fr;
  }

  .carte-large {
    max-width: 100%;
  }

  .pied-de-page {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .entete-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .entete-section .bouton {
    margin-left: 0;
  }

  .barre-recherche {
    flex-direction: column;
  }

  .filtres-secondaires {
    flex-direction: column;
    gap: 0.8rem;
  }

  #zone-signature {
    width: 100%;
    height: 160px;
  }
}

@media (max-width: 480px) {
  .entete nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .entete nav a {
    padding: 0.5rem;
    text-align: center;
  }

  .entete nav .bouton {
    grid-column: 1 / -1;
  }

  .logo {
    font-size: 0.9rem;
  }

  .logo-image {
    width: 30px;
    height: 30px;
  }

  h1 {
    font-size: 1.4rem;
  }
}

.page-erreur {
  text-align: center;
  padding: 6rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-erreur h1 {
  font-size: 1.8rem;
  margin: 1rem 0;
}

.page-erreur p {
  color: #a0a0ac;
  margin-bottom: 2rem;
}
