/* --- RESET ABSOLU --- */
*, *::before, *::after {
    box-sizing: border-box;
}

/* --- CONFIGURATION GÉNÉRALE & SCROLL --- */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial Black', Gadget, sans-serif;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    overflow-x: hidden; 
    height: 100vh;
    background-color: #000;
    color: white;
}

.page {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    position: relative;
    padding: 0 40% 0 8%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden; 
}

/* --- GESTION DES FONDS --- */
.page-batman { background-image: url('fondbat.jpg'); }
.page-catoche { background-image: url('fondcat.jpg'); }

/* --- PAGE 3 : DÉGRADÉ VERT --- */
.page-final {
    background: linear-gradient(135deg, #1b5e20 0%, #4caf50 100%);
    padding: 0 5% !important; 
    justify-content: center;
    text-align: center;
}

.container-final {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- TYPOGRAPHIE PAGE 1 --- */
.titre-principal {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1.05;
    margin: 0 0 30px 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.description {
    font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    line-height: 1.3;
    margin-bottom: 40px;
    font-weight: bold;
    max-width: 850px;
}

.slogan {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    margin: 0;
}

/* --- TYPOGRAPHIE PAGE 2 (Ajustée pour ne plus déborder en haut/bas) --- */
.citation {
    font-size: clamp(2rem, 5vw, 3.8rem); /* Taille max réduite de 4.5rem à 3.8rem */
    line-height: 1.05;
    margin-bottom: 25px; /* Marge réduite */
    text-transform: uppercase;
}

.liste-critique {
    list-style: none; padding: 0; margin: 0;
}

.liste-critique li {
    font-size: clamp(1.1rem, 1.5vw, 1.4rem); /* Légèrement réduit pour gagner en hauteur */
    line-height: 1.4;
    margin-bottom: 15px; /* Marge réduite */
    position: relative;
    padding-left: 35px;
}

.liste-critique li::before {
    content: "•"; position: absolute; left: 0; color: white;
}

.conclusion {
    font-size: clamp(1.2rem, 2vw, 1.6rem); /* Taille max réduite de 2rem à 1.6rem */
    font-style: italic; font-weight: bold;
    margin-top: 25px; /* Marge réduite */
}

/* --- TYPOGRAPHIE PAGE 3 --- */
.titre-final {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.texte-final {
    font-size: clamp(1.2rem, 3vw, 2rem);
    line-height: 1.4;
    margin-bottom: 50px;
    font-weight: bold;
}

/* --- BOUTON INSTAGRAM --- */
.insta-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: bold;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.insta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.insta-icon { margin-right: 10px; font-size: 1.5rem; }

/* --- ADAPTATION MOBILE (< 768px) --- */
@media (max-width: 768px) {
    .page {
        padding: 50px 5% 20px 5% !important; 
        align-items: flex-start;
    }

    .page-batman { background-image: url('fondbat-mobile.jpg'); }
    .page-catoche { background-image: url('fondcat-mobile.jpg'); }

    /* Slogan P1 en bas */
    .page-batman .slogan {
        position: absolute;
        bottom: 40px; 
        left: 5%;
        width: 90%;
    }

    .bloc-texte {
        width: 100%; 
        background-color: transparent;
        text-shadow: 3px 3px 6px rgba(0,0,0,1), 0px 0px 10px rgba(0,0,0,0.5); 
    }

    /* Tailles fixes pour le mobile pour garder un rendu massif */
    .titre-principal { font-size: 3.2rem; line-height: 1.05; margin-bottom: 25px; }
    .description { font-size: 1.4rem; line-height: 1.2; margin-bottom: 35px; }
    .slogan { font-size: 2.8rem; line-height: 1; }
    
    .citation { font-size: 2.2rem; line-height: 1.1; margin-bottom: 25px; }
    .liste-critique li { font-size: 1.3rem; line-height: 1.3; margin-bottom: 15px; }
    .conclusion { font-size: 1.6rem; margin-top: 30px; }
    
    .page-final { align-items: center; }
    .titre-final { font-size: 2.5rem; }
    .texte-final { font-size: 1.3rem; }
}