/* --- VARIABLES DE LUXE --- */
:root {
    --primary: #004a99;      /* Bleu Ci Gusta */
    --accent: #e30613;       /* Rouge Italien */
    --gold: #c5a059;         /* Or Artistique */
    --dark: #0f172a;         /* Fond Sombre */
    --light: #fdfdfd;        /* Fond Clair */
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.9);
}

/* --- BASE & FONDATION --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--light); 
    color: var(--dark); 
    overflow-x: hidden;
}

/* --- SPLASH SCREEN (Logo Facebook Style) --- */
#splash {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--white); z-index: 10000;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease;
}
.splash-logo {
    font-family: 'Playfair Display', serif; font-size: 4rem;
    font-weight: 900; color: var(--primary);
    animation: pulse 1.5s infinite;
}
.splash-logo span { color: var(--accent); }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* --- NAVIGATION GLASSMORPHISM (Fixe sur toutes les pages) --- */
header {
    position: fixed; top: 0; width: 100%; z-index: 999;
    padding: 1.2rem 5%; background: var(--glass);
    backdrop-filter: blur(15px); display: flex;
    justify-content: space-between; align-items: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.logo { font-family: 'Playfair Display'; font-size: 2rem; font-weight: 900; color: var(--primary); text-decoration: none; }
.logo span { color: var(--accent); }
nav a { text-decoration: none; color: var(--dark); margin-left: 20px; font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
nav a:hover, nav a.active { color: var(--accent); }

/* --- SECTIONS GÉNÉRALES (Pour Histoire, Expérience, etc.) --- */
.section-art { 
    padding: 150px 10% 80px; /* Padding haut pour ne pas être sous le menu */
    min-height: 100vh;
}
.title-art {
    font-family: 'Playfair Display', serif; font-size: 3.5rem;
    color: var(--primary); text-align: center; margin-bottom: 50px;
}
.title-art::after {
    content: ''; display: block; width: 60px; height: 4px; background: var(--gold); margin: 10px auto;
}

/* --- HERO ACCUEIL --- */
.hero {
    height: 100vh; background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: white;
}
.hero h1 { font-family: 'Playfair Display'; font-size: 5rem; font-style: italic; }

/* --- GRILLES ARTISTIQUES --- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.img-box img { width: 100%; border-radius: 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* --- GALERIE PHOTO --- */
.galerie-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.galerie-item { height: 350px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.galerie-item:hover img { transform: scale(1.1); }

/* --- FORMULAIRE RÉSERVATION --- */
.form-container {
    max-width: 900px; margin: 0 auto; background: white; border-radius: 30px;
    display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}
.form-info { background: var(--primary); color: white; padding: 50px; }
.form-main { padding: 50px; }
input, select, textarea { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #eee; border-radius: 10px; }
.btn-art { width: 100%; padding: 15px; background: var(--accent); color: white; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; transition: 0.3s; }

/* --- WHATSAPP & FOOTER --- */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    background: #25d366; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); z-index: 1000;
}
.whatsapp-float img { width: 35px; }
footer { background: var(--dark); color: white; padding: 50px 10%; text-align: center; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .grid, .form-container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
    nav { display: none; } /* On pourrait ajouter un menu burger */
}
/* --- SECTION EXPÉRIENCE (CARDS) --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: 0.4s ease;
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-15px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}
/* Style du bouton Burger */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    transition: 0.3s;
}

/* Version Mobile (Moins de 768px) */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* On affiche le burger */
    }

    nav {
        display: none; /* On cache le menu par défaut */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        border-bottom: 2px solid var(--gold);
    }

    /* Cette classe sera ajoutée via JavaScript au clic */
    nav.mobile-active {
        display: flex;
    }

    nav a {
        margin: 15px 0;
        font-size: 1.1rem;
    }
}