/* ================================================
   BLEEN4US — Feuille de Style Globale Harmonisée
   ================================================
   Polices : Montserrat (corps), Cinzel (titres), Caveat (manuscrit)
   ================================================ */

/* ================================================
   1. TYPOGRAPHIE DE BASE
   ================================================ */

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.hebrew-font {
    font-family: 'Heebo', sans-serif;
}

.serif-font {
    font-family: 'Merriweather', serif;
}

/* Classe pour les titres (remplace Indie Flower / Oswald) */
.font-display {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.8px;
}

/* Classe pour les éléments manuscrits (conservée) */
.font-handwriting {
    font-family: 'Caveat', cursive;
}

/* Classe spécifique pour le menu mobile façon croquis (index.njk) */
.font-sketch {
    font-family: 'Amatic SC', cursive;
}

/* ================================================
   2. ESPACEMENT & RESPIRATION DU TEXTE
   ================================================ */

/* Paragraphes : Le Souffle entre les lignes */
p {
    line-height: 1.75;
    letter-spacing: 0.8px;
    word-spacing: 2px;
}

/* Titres : L'Approche aérienne */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0.8px;
}

/* Listes : même espacement que les paragraphes */
li {
    line-height: 1.75;
    letter-spacing: 0.8px;
    word-spacing: 2px;
}

/* Blockquotes : même cohérence */
blockquote {
    line-height: 1.75;
    letter-spacing: 0.8px;
    word-spacing: 2px;
}

/* ================================================
   3. ARRIÈRE-PLANS (3 couches harmonisées)
   ================================================ */

/* Couche 1 : Image de fond fixe florale */
.bg-fixed-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background-image: url('/background.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Couche 2 : Calque superposé pour adoucir le fond */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: rgba(240, 253, 250, 0.85);
    backdrop-filter: blur(8px);
}

/* Couche 3 : Fond géométrique 50% transparent */
.bg-geometric {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('/assets/Background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.transition-fade {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

html.is-animating .transition-fade {
    opacity: 0;
    transform: translateY(10px);
}

/* ================================================
   4. COMPOSANTS UTILITAIRES
   ================================================ */

/* Effet image pour le mode Bureau (index.njk) */
.image-zone {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}
.image-zone:hover {
    transform: scale(1.02);
}

/* Bouton Audio Flottant Global */
.floating-audio {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
}

/* ================================================
   5. CLASSE CITATION HÉRITAGE
   « Il n'y a pas de problème, il n'y a que des solutions. »
   ================================================ */

.citation-heritage {
    font-family: 'Cinzel', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: #4A4A4A;
    text-align: center;
    margin: 45px 0;
    letter-spacing: 1.5px;
    line-height: 1.6;
    border-left: 3px solid #7FB3D5;
    padding-left: 20px;
}
