/* Animation d'apparition */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Dégradé BLEU -> ROUGE uniquement */
.text-gradient-red-blue {
    background: linear-gradient(90deg, #1565C0 0%, #D32F2F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Logo chandelier */
.candle-logo {
    position: relative;
    width: 40px;
    height: 50px;
}

.candle-body {
    position: absolute;
    width: 30px;
    height: 40px;
    border-radius: 4px;
    bottom: 0;
    left: 5px;
}

.candle-wick {
    position: absolute;
    width: 2px;
    height: 10px;
    background: #37474F;
    top: 0;
    left: 19px;
}

/* Bouton retour en haut */
.back-to-top {
    transition: all 0.3s ease;
}





/* Animations au scroll */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Animation pour les titres */
.fade-in-title {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-title.visible {
    opacity: 1;
    transform: translateY(0);
}




/* Image de fond pour la section philosophie SEULEMENT */
.philosophie-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Overlay spécifique à la section philosophie */
.philosophie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(255,255,255,0.1) 0%,
        rgba(255,255,255,0.4) 40%,
        rgba(255,255,255,0.8) 70%,
        rgba(255,255,255,0.95) 100%);
    z-index: 10;
    pointer-events: none;
}

/* S'assurer que la section contient correctement les éléments */
#philosophie {
    position: relative;
    overflow: hidden;
}

/* Pour les grands écrans, on peut ajouter un effet de parallaxe */
@media (min-width: 1024px) {
    .philosophie-bg {
        background-attachment: fixed;
    }
}

/* Sur mobile, désactiver l'effet fixe */
@media (max-width: 1023px) {
    .philosophie-bg {
        background-attachment: scroll;
    }
}

/* Effet de flou pour le backdrop */
.backdrop-blur-sm {
    backdrop-filter: blur(8px);
}

/* Animation d'entrée pour les cartes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bg-white\/90 {
    animation: fadeInUp 0.6s ease-out;
}

/* Dégradé de texte */
.text-gradient-red-blue {
    background: linear-gradient(135deg, #EF4444 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Style des étoiles type Trustpilot */
.fa-star, .fa-star-half-alt {
    color: #00b67a; /* Vert Trustpilot */
    margin-right: 2px;
}

/* Animation subtile au survol des cartes */
#avis-clients .rounded-xl {
    transition: all 0.3s ease;
}

#avis-clients .rounded-xl:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}