/* Styles de base pour assurer la visibilité */
body {
    background-color: #ffffff;
    color: #333333;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Assurer que le contenu est visible */
h1, h2, h3, h4, h5, h6 {
    color: #2C3E50;
    margin-bottom: 1rem;
}

p {
    color: #6C757D;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.list-unstyled {
    list-style: none;
    padding: 0;
}

.list-unstyled li {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #E9ECEF;
}

.list-unstyled li:last-child {
    border-bottom: none;
}

/* Styles pour le carousel des témoignages */
#testimonialsCarousel {
    position: relative;
    overflow: hidden;
}

#testimonialsCarousel {
    position: relative;
    bottom: auto;
    margin-top: 2rem;
    margin-bottom: 0;
}

/* Amélioration de l'effet de slide fluide */
#testimonialsCarousel {
    overflow: hidden;
    position: relative;
}

#testimonialsCarousel .carousel-inner {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    will-change: transform;
}

#testimonialsCarousel .carousel-item {
    transition: none !important; /* Désactiver les transitions Bootstrap par défaut */
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
    position: relative;
}

/* États des slides pour un effet de droite vers gauche */
#testimonialsCarousel .carousel-item.active {
    opacity: 1;
    transform: translateX(0) !important;
    z-index: 2;
}

#testimonialsCarousel .carousel-item-next {
    transform: translateX(100%) !important;
    opacity: 1;
    z-index: 1;
}

#testimonialsCarousel .carousel-item-prev {
    transform: translateX(-100%) !important;
    opacity: 1;
    z-index: 1;
}

#testimonialsCarousel .carousel-item-next.carousel-item-start {
    transform: translateX(0) !important;
    opacity: 1;
    z-index: 2;
}

#testimonialsCarousel .carousel-item-prev.carousel-item-end {
    transform: translateX(0) !important;
    opacity: 1;
    z-index: 2;
}

/* Override des transitions Bootstrap pour forcer notre effet */
#testimonialsCarousel .carousel-item-next:not(.carousel-item-start) {
    transform: translateX(100%) !important;
}

#testimonialsCarousel .carousel-item-prev:not(.carousel-item-end) {
    transform: translateX(-100%) !important;
}

/* Animation spéciale pour les cartes dans le carousel */
#testimonialsCarousel .carousel-item .testimonial-card {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(20px);
    opacity: 0;
    will-change: transform, opacity;
}

#testimonialsCarousel .carousel-item.active .testimonial-card {
    transform: translateY(0);
    opacity: 1;
}

/* Délai d'animation pour les cartes */
#testimonialsCarousel .carousel-item.active .testimonial-card:nth-child(1) {
    transition-delay: 0.1s;
}

#testimonialsCarousel .carousel-item.active .testimonial-card:nth-child(2) {
    transition-delay: 0.2s;
}

#testimonialsCarousel .carousel-item.active .testimonial-card:nth-child(3) {
    transition-delay: 0.3s;
}

#testimonialsCarousel .carousel-item.active .testimonial-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* Styles pour forcer l'effet de slide de droite vers gauche */
#testimonialsCarousel .carousel-inner {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

#testimonialsCarousel .carousel-item {
    flex: 0 0 100%;
    width: 100%;
    margin-right: 0;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Override complet des styles Bootstrap pour l'effet de slide */
#testimonialsCarousel .carousel-item.active,
#testimonialsCarousel .carousel-item-next,
#testimonialsCarousel .carousel-item-prev {
    display: block;
}

#testimonialsCarousel .carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
    transform: translateX(100%) !important;
}

#testimonialsCarousel .carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
    transform: translateX(-100%) !important;
}

.carousel-indicators {
    position: relative;
    bottom: auto;
    margin-top: 2rem;
    margin-bottom: 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

#testimonialsCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dee2e6;
    border: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block !important;
}

#testimonialsCarousel .carousel-indicators button:hover {
    background-color: #adb5bd;
    transform: scale(1.2);
}

#testimonialsCarousel .carousel-indicators button.active {
    background-color: var(--yuno-orange);
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Styles pour les contrôles du carousel - CACHÉS */
#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
    display: none !important;
}

/* Styles pour les cartes de témoignages */
.testimonial-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
}

.testimonial-stars {
    text-align: center;
    margin-bottom: 1rem;
    color: #ffc107;
}

.testimonial-quote {
    flex: 1;
    font-style: italic;
    color: #6c757d;
    margin-bottom: 2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: 6.5rem;
}

.testimonial-name {
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: #6c757d;
    text-align: center;
    font-size: 0.9rem;
}

/* Styles pour la page blog */
.newsletter-cta {
    font-size: 1.1rem;
    color: var(--yuno-text-muted);
    margin-bottom: 2rem;
}

.filter-search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.filter-section .btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--yuno-border);
    background-color: white;
    color: var(--yuno-dark);
    font-weight: 500;
}

.search-input-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--yuno-text-muted);
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--yuno-border);
    border-radius: 8px;
    background-color: white;
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--yuno-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Styles pour les cartes d'articles */
.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--yuno-shadow);
    border: 1px solid var(--yuno-border);
    transition: var(--transition-standard);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.article-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.article-category {
    background: var(--yuno-orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
}

.article-time {
    color: var(--yuno-text-muted);
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--yuno-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Styles Dashboard Section */
.dashboard-headline {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.dashboard-subtitle {
    /*font-size: 1.1rem;
    color: #000;*/
    /*font-weight: 400;*/
    margin-bottom: 0;
    color: var(--yuno-text-muted);
}

.dashboard-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 1.5rem;
    height: 100%;
    position: relative;
    border: 1px solid #f0f0f0;
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.dashboard-card-header i {
    font-size: 1.2rem;
    color: #000;
    margin-right: 0.75rem;
}

.dashboard-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
}

.km-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 20px;
    height: 20px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
}

.dashboard-card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 500;
    color: #000;
    margin-bottom: 0.5rem;
}

.progress-bar-placeholder {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    width: 100%;
}

.metrics-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.metric-item i {
    font-size: 0.9rem;
    width: 16px;
}

.metric-bar {
    flex: 1;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

.metric-button {
    width: 60px;
    height: 24px;
    background: #ff6b35;
    border-radius: 4px;
}

.team-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.team-section i {
    font-size: 1.2rem;
    color: #ff6b35;
}

.team-metrics {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-bar {
    height: 4px;
    background: #ff6b35;
    border-radius: 2px;
    opacity: 0.3;
}

.team-bar.short {
    width: 30%;
}

.team-bar.medium {
    width: 60%;
}

.team-bar.long {
    width: 90%;
}

.progress-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #ff6b35;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-weight: 500;
    color: #000;
    min-width: 30px;
}

.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.metric-row .metric-bar {
    height: 4px;
    background: #ff6b35;
    border-radius: 2px;
    opacity: 0.3;
    margin-right: 0.5rem;
}

.metric-row .metric-bar:last-of-type {
    margin-right: 0;
}

.users-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.users-avatars {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-avatar-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.users-metrics {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.users-metrics .metric-bar {
    height: 4px;
    background: #ff6b35;
    border-radius: 2px;
    opacity: 0.3;
}

.add-section-button {
    width: 32px;
    height: 32px;
    background: white;
    border: 2px solid #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-section-button i {
    color: #ff6b35;
    font-size: 0.8rem;
}

.dashboard-cta {
    margin-top: 2rem;
}

.btn-orange {
    background: #ff6b35;
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.btn-orange:hover {
    background: #e55a2b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-orange .km-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 20px;
    height: 20px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-headline {
        font-size: 2rem;
    }
    
    .dashboard-card {
        margin-bottom: 1rem;
    }
    
    .dashboard-card-content {
        gap: 1rem;
    }
    
    .metric-button {
        width: 50px;
        height: 20px;
    }
    
    .add-section-button {
        width: 35px;
        height: 35px;
    }
}

/* Responsive pour la page blog */
@media (max-width: 768px) {
    .filter-search-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-input-container {
        max-width: 100%;
    }
    
    .article-card {
        margin-bottom: 1.5rem;
    }
}

/* Styles pour la section plateforme */
.platform-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--yuno-dark);
}

.platform-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--yuno-dark);
}

.platform-description {
    font-size: 1.1rem;
    color: var(--yuno-text-muted);
    margin-bottom: 0;
}

.platform-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--yuno-shadow);
    border: 1px solid var(--yuno-border);
    transition: var(--transition-standard);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    /* S'assurer que les cartes sont visibles par défaut */
    opacity: 1;
    transform: translateY(0);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.platform-card-icon {
    width: 40px;
    height: 40px;
    background-color: var(--yuno-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    margin-right: 1rem;
    flex-shrink: 0;
}

.platform-card-icon i {
    color: white;
    font-size: 1rem;
}

.platform-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--yuno-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.platform-card-description {
    color: var(--yuno-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.platform-card-avatar {
    width: 40px;
    height: 40px;
    background-color: #FFB6C1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.platform-card-avatar span {
    color: var(--yuno-dark);
    font-weight: 700;
    font-size: 0.9rem;
}

.platform-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Responsive pour la section plateforme */
@media (max-width: 768px) {
    .platform-card {
        padding: 1.5rem;
    }
    
    .platform-card-icon {
        width: 40px;
        height: 40px;
    }
    
    .platform-card-icon i {
        font-size: 1rem;
    }
}

/* Styles pour la section des rôles */
.roles-headline {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--yuno-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.roles-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--yuno-dark);
    margin-bottom: 0;
    color: var(--yuno-text-muted);
}

.role-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--yuno-shadow);
    border: 1px solid var(--yuno-border);
    transition: var(--transition-standard);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.role-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--yuno-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.role-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Arrière-plans colorés pour chaque rôle */
.collaborateur-bg {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
}

.manager-bg {
    background: linear-gradient(135deg, #F3E5F5, #E1BEE7);
}

.rh-bg {
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
}

.dirigeant-bg {
    background: linear-gradient(135deg, #E3F2FD, #90CAF9);
}

.role-quote {
    font-style: italic;
    color: var(--yuno-dark);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
}

.role-info {
    margin-top: auto;
}

.role-name {
    font-weight: 700;
    color: var(--yuno-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.role-job {
    color: var(--yuno-text-muted);
    font-size: 0.9rem;
}

/* Responsive pour la section des rôles */
@media (max-width: 768px) {
    .role-card {
        padding: 1.5rem;
    }
    
    .role-avatar {
        width: 100px;
        height: 100px;
    }
    
    .role-title {
        font-size: 1.2rem;
    }
}

/* Styles pour l'effet parallaxe et animations d'entrée */
.parallax-section {
    position: relative;
    overflow: hidden;
    /* Suppression de transform: translateZ(0) pour éviter les conflits */
    will-change: transform;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    transform: translateY(0);
    will-change: transform;
    z-index: -1;
    /* Isolation pour éviter les conflits avec les enfants */
    isolation: isolate;
}

/* Conteneur pour isoler les animations des enfants */
.parallax-content {
    position: relative;
    z-index: 1;
    /* Créer un nouveau contexte de stacking */
    isolation: isolate;
}

/* Classes pour les animations d'entrée */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Forcer la création d'un nouveau contexte de stacking */
    will-change: transform, opacity;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-scale.animate {
    opacity: 1;
    transform: scale(1);
}

/* Délais d'animation pour créer un effet cascade */
.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

/* Animation spéciale pour les cartes */
.card-stagger {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-stagger.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Règle spécifique pour les cartes platform avec card-stagger */
.platform-card.card-stagger {
    opacity: 0;
    transform: translateY(30px);
}

.platform-card.card-stagger.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback pour s'assurer que les cartes platform sont visibles même sans animation */
.platform-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Animation pour les éléments de navigation */
.nav-animate {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive pour les animations */
@media (max-width: 768px) {
    .fade-in-left,
    .fade-in-right {
        transform: translateY(30px);
    }
    
    .fade-in-left.animate,
    .fade-in-right.animate {
        transform: translateY(0);
    }
    
    .parallax-bg {
        height: 100%;
    }
}

/* Optimisation des performances */
.parallax-section,
.parallax-bg,
.fade-in-up,
.fade-in-left,
.fade-in-right,
.fade-in-scale,
.card-stagger {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Styles spécifiques pour éviter les conflits de transformation */
.parallax-section .fade-in-up,
.parallax-section .fade-in-left,
.parallax-section .fade-in-right,
.parallax-section .fade-in-scale {
    /* Forcer la création d'un nouveau contexte de stacking */
    transform-style: preserve-3d;
    /* S'assurer que les animations fonctionnent indépendamment du parallaxe */
    position: relative;
    z-index: 2;
}

/* Amélioration de la performance pour les éléments animés */
.hero-headline,
.hero-description,
.btn {
    /* Éviter les conflits avec le parallaxe */
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Styles spécifiques pour la section CTA avec parallaxe */
.cta-section.parallax-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.cta-section.parallax-section .parallax-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    filter: blur(1px);
}

.cta-section.parallax-section .cta-headline {
    position: relative;
    z-index: 2;
    color: var(--yuno-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-section.parallax-section .cta-description {
    position: relative;
    z-index: 2;
    color: var(--yuno-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-section.parallax-section .cta-button {
    position: relative;
    z-index: 2;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-section.parallax-section .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-check:checked + .btn-outline-primary {
    background-color: #4051B4 !important;
    border-color: #4051B4 !important;
    color: white !important;
}

.btn-outline-primary:hover {
    background-color: #4051B4 !important;
    border-color: #4051B4 !important;
    color: white !important;
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(64, 81, 180, 0.25) !important;
}

/* Responsive pour les sections parallaxe */
@media (max-width: 768px) {
    .parallax-section {
        /* Réduire l'effet parallaxe sur mobile pour de meilleures performances */
        data-parallax-speed: 0.1;
    }
    
    .parallax-bg {
        height: 100%;
    }
    
    .cta-section.parallax-section {
        padding: 3rem 0;
    }
    
    .cta-section.parallax-section .cta-headline {
        font-size: 1.8rem;
    }
    
    .cta-section.parallax-section .cta-description {
        font-size: 1rem;
    }
    
    .cta-section.parallax-section .cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

/* Styles pour les cartes de tarification */
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12) !important;
}

.pricing-card {
    cursor: pointer;
}

.shake-on-hover:hover {
  animation: shake 0.25s linear 1;
}

@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
  100% { transform: translateX(0); }
}
