/* === FONTS === */
@font-face {
    font-family: 'Imbue';
    src: url('../src/typo/Imbue_14pt-ExtraBold.ttf');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Imbue';
    src: url('../src/typo/Imbue_14pt-ExtraLight.ttf');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('../src/typo/Poppins-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('../src/typo/Poppins-Italic.ttf');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Poppins';
    src: url('../src/typo/Poppins-Black.ttf');
    font-weight: 800;
    font-style: normal;
}


/* === VARIABLES === */
:root {
    /* COLORS */
    --clr-creme: #F6EFD2;
    --clr-red: #BB6653;
    --clr-black: #000000;
    /* MARGES */ 
    --main-margin: 20px;
    --half-margin: 10px;
    --large-margin: 40px;
    /* TYPOS */ 
    --main-font: 16px;
    --font-nav: 18px;
    --title-font: 30px;
}

/* === RESET === */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mentions légales: modal scrollable */
#mentions-legales {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    padding: 20px;
    overflow: auto;
}

/* When targeted (via anchor #mentions-legales) show overlay */
#mentions-legales:target {
    display: block;
}

.mentions-content {
    position: relative;
    background: var(--clr-creme);
    max-width: 900px;
    width: 100%;
    max-height: 80vh;
    margin: 40px auto;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow-y: auto;
}

.mentions-content h1, .mentions-content h2 {
    color: var(--clr-black);
    margin-bottom: 8px;
    text-align: center;
}
.mentions-content h1 {
    font-size: 1.6rem;
    margin-top: 4px;
}
.mentions-content h2 {
    font-size: 1.05rem;
    margin-top: 12px;
    margin-bottom: 8px;
}
.mentions-content p, .mentions-content li {
    color: #222;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: left;
}

.points {
  margin-left: 20px;
  margin-bottom: 15px;
}

.close-mentions {
    font-family: "Poppins", sans-serif;
    position: absolute;
    right: 28px;
    top: 18px;
    text-decoration: none;
    font-size: 2rem;
    color: #7c3f3f;
    font-weight: normal;
}

.close-mentions:hover {
    color: #592c2c;
}

@media (max-width: 600px) {
    .mentions-content { max-width: 95%; margin: 20px auto; padding: 16px; }
    .close-mentions { right: 18px; top: 12px; }
}