/* =========================================================
   CSS commun aux pages :
   - Mentions légales
   - Règlement
   - Politique de confidentialité
   - Conditions générales de vente

   Les éléments communs (navigation, menu, logo, bouton Réserver
   et pied de page) reprennent le style des autres pages du site.
   ========================================================= */

body {
  background-color: #111;
  color: black;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "policetitre";
  src: url(./asset/policetitre/Imperial_Script/ImperialScript-Regular.ttf);
  font-weight: normal;
  font-style: normal;
}

/* est sur tout les pages */

.top {
  position: sticky;
  top: 0;
  display: flex;
  width: 100%;
  height: 14vh;
  background-color: black;
  z-index: 9999;
}
@media (min-width: 1024px) {
  .top {
    width: 100%;
    height: 15vh;
  }
}

/* bouton menu */
.menu-btn {
  position: sticky;
  top: 0;
  background-color: red;
  color: white;
  border: 2px solid red;
  font-size: 17px;
  height: 6vh;
  width: 100px;
  border-radius: 40px;
  cursor: pointer;
  z-index: 0; /* au-dessus du menu */
  transition: 0.5s;
  margin: auto 0 auto 20px;
}

.menu-btn:hover {
  background-color: white;
  color: red;
  left: 15px;
  height: 7vh;
  width: 110px;
}

@media (min-width: 1024px) {
  .menu-btn {
    font-size: 17px;
    height: 8vh;
    width: 150px;
  }

  .menu-btn:hover {
    height: 9vh;
    width: 165px;
  }
}

/* --- Panneau du menu latéral --- */
.side-menu {
  height: 100%;
  width: 0; /* Caché par défaut */
  position: fixed;
  top: 0;
  left: 0;
  background-color: #090909;
  overflow-x: hidden;
  transition: 0.4s;
  padding-top: 60px;
  z-index: 1000;
}

/* --- Liens du menu --- */
.side-menu a {
  padding: 10px 25px;
  text-decoration: none;
  font-size: 30px;
  color: white;
  display: block;
  transition: 0.3s;
}
.side-menu a:hover {
  background-color: #333;
}

/* --- Bouton de fermeture --- */
.side-menu .close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 50px;
  color: white;
  background: transparent;
  border: none;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/*fin bouton menus*/

.top img {
  display: block;
  margin: auto auto auto auto;
  height: 11vh;
}

@media (min-width: 1024px) {
  .top img {
    height: 13vh;
  }
}

.reserver {
  color: red;
  right: 20px;
  margin: auto 20px auto 0;
  font-size: 17px;
  height: 6vh;
  width: 100px;
  background-color: red;
  color: white;
  border: 2px solid red;
  border-radius: 40px;
  cursor: pointer;
  transition: 0.5s;
}

.reserver:hover {
  background-color: white;
  color: red;
  margin: auto 15px auto 0vw;
  height: 7vh;
  width: 110px;
}

@media (min-width: 1024px) {
  .reserver {
    font-size: 17px;
    height: 8vh;
    width: 150px;
  }

  .reserver:hover {
    height: 9vh;
    width: 165px;
  }
}

.bas {
  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;

  width: 100%;
  min-height: 7vh;

  margin: 0;

  background-color: black;

  z-index: 9000;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  width: 100%;

  margin: 0;
  padding: 0 20px;

  gap: 3vw;

  text-align: center;
}

.bas a {
  display: inline-block;

  margin: 0;

  color: gray;

  text-decoration: none;
  font-size: 1.5vw;

  transition: 0.5s;
}

.bas a:hover {
  font-size: 2vw;
  text-decoration: underline;
  color: red;
}

/*fin zone sur tout les page*/

.red {
  color: #9e1b32;
}

/* =========================================================
   STRUCTURE GÉNÉRALE DES PAGES LÉGALES
   ========================================================= */

.legal-page {
  width: min(1050px, 90vw);

  margin: 0 auto;
  padding: 9vh 0 11vh;
}

.legal-header {
  max-width: 850px;

  margin: 0 auto 55px;

  text-align: center;
}

.legal-kicker {
  margin: 0 0 3px;

  color: #9e1b32;

  font-family: "Monsieur La Doulaise", cursive;
  font-size: clamp(60px, 6vw, 96px);
}

.legal-header h1 {
  margin: 0;

  color: #f2eee8;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: 1px;
}

.legal-intro {
  max-width: 720px;

  margin: 18px auto 0;

  color: #aaa49f;

  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  line-height: 1.55;
}

.legal-content {
  width: 100%;
}

.legal-section {
  margin-bottom: 22px;
  padding: 31px 35px;

  border: 1px solid #282828;
  border-radius: 18px;

  background: #101010;
}

.legal-section h2 {
  margin: 0 0 18px;

  color: #9e1b32;

  font-family: "Cormorant Garamond", serif;
  font-size: 31px;
  font-weight: 500;
}

.legal-section h3 {
  margin: 26px 0 12px;

  color: #f2eee8;

  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 500;
}

.legal-section p,
.legal-section li {
  color: #d0ccc7;

  font-size: 16px;
  line-height: 1.75;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p {
  margin-top: 15px;
}

.legal-list {
  margin: 0;
  padding-left: 20px;
}

.legal-list li {
  margin: 8px 0;
}

.legal-section strong {
  color: #f2eee8;
  font-weight: 600;
}

.legal-section a {
  color: #d8b9bf;

  text-decoration: none;

  transition: 0.2s;
}

.legal-section a:hover {
  color: #c62b47;
  text-decoration: underline;
}

.legal-note {
  margin: 32px auto 0;

  color: #837c78;

  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

/* =========================================================
   ÉLÉMENTS RÉUTILISABLES POUR LES AUTRES PAGES
   ========================================================= */

/* Pour mettre une information importante en évidence */
.legal-highlight {
  margin: 20px 0;
  padding: 18px 20px;

  border-left: 3px solid #9e1b32;
  border-radius: 0 10px 10px 0;

  background: #151515;

  color: #d8d2cd;
}

/* Liste numérotée, utile pour le règlement ou les CGV */
.legal-numbered {
  margin: 0;
  padding-left: 24px;
}

.legal-numbered li {
  margin: 12px 0;

  color: #d0ccc7;

  line-height: 1.7;
}

/* Petit sous-texte discret */
.legal-muted {
  color: #8c8580 !important;

  font-size: 14px !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
  .legal-page {
    width: 92%;

    padding: 7vh 0 9vh;
  }

  .legal-header {
    margin-bottom: 32px;
  }

  .legal-kicker {
    font-size: 30px;
  }

  .legal-header h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .legal-intro {
    margin-top: 14px;

    font-size: 17px;
    line-height: 1.5;
  }

  .legal-section {
    margin-bottom: 15px;
    padding: 23px 19px;

    border-radius: 15px;
  }

  .legal-section h2 {
    margin-bottom: 14px;

    font-size: 27px;
  }

  .legal-section h3 {
    font-size: 22px;
  }

  .legal-section p,
  .legal-section li {
    font-size: 15px;
    line-height: 1.65;
  }

  .legal-list,
  .legal-numbered {
    padding-left: 18px;
  }

  .legal-highlight {
    padding: 15px 16px;
  }
}
