/* ====== Base ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lora', serif;
}

body {
  background-color: #9B1C2F;
  color: #5C5C5C;
  padding: 0 10px;
  overflow-x: hidden;
}

/* Cadre principal autour du contenu */
.cadre-total {
  background-color: #D9CBA7;
  max-width: 1100px;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ====== Header & Nav ====== */
header {
  background-color: #9B1C2F;
  padding: 20px 0;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: #F1E6D6;
  text-decoration: none;
  font-size: 1.2em;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  margin: 10px 20px;
  transition: all 0.3s ease;
}

nav a.active,
nav a:hover {
  color: #FFF;
  text-decoration: underline;
}

/* ========== Mentions légales ========== */
.mentions-legales {
    background-color: #F1E6D6;
    color: #5C5C5C;
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    border: 3px solid #FFFFFF; /* Bordure blanche */
}

/* Titres des sections */
.mentions-legales h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6em;
    color: #9B1C2F;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Paragraphes */
.mentions-legales p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #5C5C5C;
    margin-bottom: 10px;
}

/* Liens */
.mentions-legales a {
    color: #9B1C2F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mentions-legales a:hover {
    color: #800020;
}

/* ========== Footer ========== */
footer {
    background-color: #9B1C2F;
    color: #F1E6D6;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    font-family: 'Lora', serif;
    line-height: 1.5;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

footer p {
    color: #F1E6D6;
    margin: 0;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .mentions-legales {
        width: 80%;
    }

    .mentions-legales h2 {
        font-size: 1.4em;
    }

    .mentions-legales p {
        font-size: 1em;
    }

    footer {
        padding: 15px 0;
    }

    footer p {
        font-size: 0.85em;
    }
}

@media (max-width: 768px) {
    .mentions-legales {
        width: 90%;
    }

    .mentions-legales h2 {
        font-size: 1.2em;
    }

    .mentions-legales p {
        font-size: 1em;
    }

    footer {
        padding: 10px 0;
    }

    footer p {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .mentions-legales {
        width: 100%;
        padding: 15px;
    }

    .mentions-legales h2 {
        font-size: 1.2em;
    }

    .mentions-legales p {
        font-size: 0.9em;
    }

    footer p {
        font-size: 0.75em;
    }
}