/* * CHARTE GRAPHIQUE - AU GRÉ DU VENT
 * Version 2.0 - Wide Screen & Hero Mosaïque
 */

:root {
    /* --- PALETTE OFFICIELLE --- */
    --color-mustard: #F6BD60;
    --color-sage:    #84A59D;
    --color-salmon:  #F28482;
    --color-purple:  #73628A;
    --color-dark:    #231F20;
    --color-cream:   #F6F5F0;

    /* --- TYPOGRAPHIE --- */
    --font-main:     'Outfit', sans-serif;
    --font-hand:     'Patrick Hand', cursive;
    --font-script:   'Sacramento', cursive;
}

/* --- REGLAGES DE BASE --- */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-cream);
    color: var(--color-dark);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Évite le scroll horizontal involontaire */
}

/* --- UTILITAIRES LAYOUT LARGE --- */
/* Pour écraser le comportement par défaut si besoin */
.container-wide {
    width: 100%;
    max-width: 1600px; /* On autorise les écrans très larges */
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* --- HERO MOSAÏQUE (Grille photos) --- */
.hero-mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 300px); /* Hauteur fixe pour le desktop */
    gap: 1rem;
}

/* Configuration des images dans la grille */
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

/* Positions spécifiques (Desktop) */
.hero-img-1 { grid-column: span 8; grid-row: 1; } /* Grande image principale */
.hero-img-2 { grid-column: span 4; grid-row: 1; } /* Image droite haut */
.hero-img-3 { grid-column: span 4; grid-row: 2; } /* Image gauche bas */
.hero-img-4 { grid-column: span 8; grid-row: 2; } /* Image droite bas */

/* Adaptation Mobile (Stack vertical) */
@media (max-width: 1024px) {
    .hero-mosaic {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    .hero-img { height: 250px; }
}

/* --- SIGNATURE FOOTER --- */
.signature-container {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
}

.signature-text {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--color-sage);
    transform: rotate(-5deg);
    z-index: 2;
    position: relative;
}

.signature-line {
    width: 120%;
    height: 10px;
    background-color: var(--color-mustard);
    opacity: 0.3;
    position: absolute;
    bottom: 15px;
    left: -10%;
    border-radius: 10px;
    z-index: 1;
    transform: rotate(-2deg);
}

/* --- ANIMATIONS --- */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 0.9s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 20px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}