/* --- 1. IMPORTATION DES POLICES --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- 2. VARIABLES GLOBALES --- */
:root {
    --accent-color: #B89768; /* Doré Maison Macaron */
    --dark-color: #1a1a1a; /* Noir Anthracite */
    --light-grey: #8c8c8c; /* Gris pour sur-titres */
    --text-main: #333333; /* Couleur texte corps */
    --bg-white: #ffffff;
}

/* --- 3. STYLES GLOBAUX --- */
body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
}

/* Typographie de luxe (Titres) */
.luxe-serif {
    font-family: 'Playfair Display', 'Didot', 'Times New Roman', serif;
    font-weight: 400;
}

/* Sur-titres espacés et chics */
.luxe-overline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--light-grey);
}

 .dynamic-island-wrapper {
     position: sticky !important;
     top: 0 !important; /* On le colle en haut lors du scroll */
     z-index: 1050 !important;
     padding: 20px 15px 15px !important; /* Espace de 20px au-dessus de la pilule pour la faire flotter */
     background-color: transparent !important; /* Le conteneur reste invisible */
 }

.glass-island {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    border-radius: 50px !important;
    padding: 0.5rem 2rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    transition: all 0.3s ease !important;
}

@media (max-width: 991px) {
    .glass-island {
        border-radius: 25px !important;
        padding: 1rem !important;
    }
}

/* Appliquer cette classe à la TOUTE PREMIÈRE section des pages internes */
.page-interne {
    margin-top: 0 !important;
    padding-top: 140px !important;
}


/* Couleurs signatures */
.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
    color: #fff !important;
}

/* --- 4. NAVIGATION ET LIENS --- */
.nav-link-luxe {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: var(--dark-color) !important;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-link-luxe:hover, .nav-link-luxe.active {
    color: var(--accent-color) !important;
}

.link-luxe {
    text-decoration: none;
    color: var(--dark-color);
    border-bottom: 1px solid var(--dark-color);
    padding-bottom: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.link-luxe:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.link-luxe[href^="http"] {
    border-bottom: 1px solid #2a5db0;
    color: #2a5db0 !important;
    text-transform: uppercase;
    font-weight: 600;
}

/* --- 5. BOUTONS --- */
.btn-luxe {
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    padding: 14px 28px;
    transition: all 0.3s ease;
}

/* Bouton Noir (Primaire) */
.btn-luxe-dark, .btn-primary {
    background-color: var(--dark-color) !important;
    color: #fff !important;
    border: 1px solid var(--dark-color) !important;
    border-radius: 0 !important;
}

.btn-luxe-dark:hover, .btn-primary:hover {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

.btn-outline-luxe {
    border: 1px solid var(--dark-color);
    color: var(--dark-color);
    background: transparent;
    border-radius: 0;
}

.btn-outline-luxe:hover {
    background-color: var(--dark-color);
    color: #fff;
}

/* --- 6. COMPOSANTS (Cartes, Recherche, Inputs) --- */
.card-luxe {
    border: none;
    background: transparent;
    text-align: center;
    transition: transform 0.4s ease;
}

.card-luxe img {
    border-radius: 0;
    transition: transform 0.6s ease;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.card-luxe:hover img {
    transform: scale(1.05);
}

/* Effet de survol léger pour colonnes */
.card-hover:hover {
    transform: translateY(-3px);
    transition: transform 0.4s ease-in-out;
}

/* Barre de recherche épurée (Générique - hors du header) */
.search-luxe .form-control {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none !important;
    padding-left: 0;
}

.search-luxe .form-control:focus {
    border-bottom-color: var(--dark-color);
}

.search-luxe .btn {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    background: transparent;
    color: var(--dark-color);
}

/* Inputs formulaires */
.input-luxe {
    border: 1px solid var(--dark-color);
    border-radius: 0;
    text-align: center;
}

/* --- 7. ANIMATIONS JAVASCRIPT ET EFFETS CSS --- */

/* État de départ : invisible et décalé vers le bas de 30px */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* État d'arrivée (ajouté par le Javascript) : visible et à sa place d'origine */
.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* 1. L'effet de Zoom au survol */
.css-hover-zoom {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* On cible le conteneur parent pour déclencher le zoom sur l'image */
.overflow-hidden:hover .css-hover-zoom {
    transform: scale(1.08);
}

/* 2. L'animation de Lévitation (flottaison) */
@keyframes levitationDouce {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    /* Monte de 15 pixels */
    100% {
        transform: translateY(0px);
    }
}

.css-levitation {
    animation: levitationDouce 6s ease-in-out infinite;
}

/* On s'assure que le reflet ne gêne pas le clic sur l'image s'il y a un lien */
.pointer-events-none {
    pointer-events: none;
}

.nuage-scroll {
    position: fixed; /* Reste fixé à l'écran */
    z-index: 9999; /* Passe par-dessus TOUT votre site */
    filter: drop-shadow(0px 15px 25px rgba(0, 0, 0, 0.15));
    transition: transform 0.1s ease-out; /* Rend le mouvement fluide */
    opacity: 0.9; /* Légèrement transparent pour ne pas gêner la lecture */
}