/* ============ RESET (Eric Meyer) ============ */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ============ STYLE.CSS — VERSION RESPONSIVE ============ */

/* --- Viewport --- */
html {
    display: flex;
    justify-content: center;
    font-size: 62.5%; /* 1rem = 10px, facilite les calculs */
}

body {
    max-width: 1500px;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    background-color: #97dbcf;
    background-image: url("https://www.transparenttextures.com/patterns/brushed-alum-dark.png");
}

/* --- Typographie fluide --- */
p,
li {
    font-family: "Sniglet", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.4rem, 2vw + 0.6rem, 2.3rem); /* ~14px → 23px selon viewport */
    line-height: 1.5;
}

h1,
h2,
h3 {
    font-family: "Fleur De Leah", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(5rem, 5vw + 1rem, 7.5rem); /* ~50px → 75px selon viewport */
    line-height: 1.1;
}

p {
    text-align: center;
}
h2 {
    text-align: center;
}

/* --- Titre principal --- */
.site-title {
    text-align: center;
    padding: 1.5rem 0;
}
.site-title span {
    font-size: clamp(5rem, 5vw + 1rem, 7.5rem); /* ~50px → 75px */
    font-weight: bold;
}

/* --- Galerie d'images --- */
.img-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
}
.img-container img {
    max-height: clamp(150px, 40vh, 500px);
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    padding: 0.1rem;
}

/* --- LightGallery backdrop --- */
.lg-backdrop {
    background-color: rgba(0, 0, 0, 0.766);
}

/* --- Image principale --- */
.main-container {
    display: flex;
    justify-content: center;
    padding: 1.5rem;
}
.main-container img {
    border-radius: 50%;
    max-width: 100%;
}
.main-container .main-img {
    max-height: clamp(250px, 60vh, 700px);
    width: auto;
    max-width: 100%;
}

.first-content p {
    text-align: center;
}

/* --- Listes --- */
ul {
    padding: 1rem 0;
    list-style: disc;
}
ul li {
    margin-left: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

/* --- Sous-titres --- */
.sub-title {
    font-weight: bold;
    padding-bottom: 1rem;
}

/* --- Séparateurs --- */
hr {
    border-color: rgb(41, 5, 75);
    border-width: 1px;
    border-style: solid;
    margin: 1rem 0;
}

/* ============ MEDIA QUERIES ============ */

/* --- Tablette (≤ 768px) --- */
@media screen and (max-width: 768px) {
    body {
        padding: 0.8rem;
    }

    .img-container img {
        max-height: 280px;
    }

    .main-container {
        padding: 1rem;
    }
    .main-container .main-img {
        max-height: 400px;
    }

    .site-title {
        padding: 1rem 0;
    }
}

/* --- Mobile (≤ 480px) --- */
@media screen and (max-width: 480px) {
    body {
        padding: 0.5rem;
    }

    p,
    li {
        font-size: 1.4rem;
        line-height: 1.6;
    }

    h1,
    h2,
    h3 {
        font-size: 3rem; /* ↑ de 2.2rem à 3rem */
    }

    .site-title span {
        font-size: 3.5rem; /* ↑ de 2.5rem à 3.5rem */
    }

    .img-container {
        gap: 0.3rem;
        padding: 0.5rem 0;
    }
    .img-container img {
        max-height: 200px;
    }

    .main-container {
        padding: 0.5rem;
    }
    .main-container .main-img {
        max-height: 300px;
    }
    .main-container img {
        border-radius: 30%;
    }

    ul li {
        margin-left: 1.5rem;
        margin-bottom: 0.3rem;
    }

    hr {
        margin: 0.5rem 0;
    }
}