/* ============================================
   🎨 PERSONNALISATION - Modifiez ici
============================================ */

:root {
    /* Polices */
    --font-title: 'Playfair Display', serif;
    --font-text: 'Cormorant Garamond', serif;
    
    /* Couleur du texte */
    --text-color: white;
}

/* ============================================
   RESET & BASE
============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-x: hidden;
}

body {
    font-family: var(--font-text);
    background: #000;
}

/* ============================================
   SLIDES
============================================ */

.slide {
    min-height: 100vh;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    scroll-snap-align: start;
}

/* Slides avec texte */
.slide-text {
    background-color: #ff6b9d;
    padding: 2rem;
}

/* Slides avec image - MODIFIÉ pour montrer l'image entière */
.slide-image {
    background-size: contain;          /* Contient l'image entière sans crop */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;            /* Fond noir pour les espaces vides */
}

/* ============================================
   CONTENU TEXTE
============================================ */

.content {
    text-align: center;
    color: var(--text-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
    max-width: 90%;
    padding: 2rem;
}

.slide.visible .content {
    opacity: 1;
    transform: translateY(0);
}

h1 {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 10vw, 5.5rem);  /* Taille ajustée pour bien rentrer */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    word-wrap: break-word;
}

.subtitle {
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 300;
    opacity: 0.95;
}

/* ============================================
   RESPONSIVE DESKTOP
============================================ */

@media (min-width: 768px) {
    html {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #1a1a1a;
    }
    
    body {
        max-width: 430px;
        width: 100%;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    }
    
    /* Ajustement taille texte pour desktop */
    h1 {
        font-size: clamp(2.5rem, 8vw, 4.5rem);
    }
}