/* ===== CSS ISOLÉ POUR SERVICES-DÉTAILLÉS ===== */

/* Encapsulation dans .services-detailles-wrapper pour éviter les conflits */
.services-detailles-wrapper {
    font-family: 'Inter', sans-serif;
}

/* Styles de base SEULEMENT dans le wrapper */
.services-detailles-wrapper * {
    box-sizing: border-box;
}

/* Conteneur principal */
.services-detailles-wrapper .container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Backgrounds alternés */
.services-detailles-wrapper .radial-gradient {
    background: radial-gradient(ellipse at center, #1a365d 0%, #0f172a 35%, #000510 70%, #000000 100%);
}

.services-detailles-wrapper .linear-gradient {
    background: linear-gradient(135deg, #000510 0%, #0f172a 25%, #1a365d 75%, #22d3ee 100%);
}

/* Effets de fond */
.services-detailles-wrapper .background-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(6, 182, 212, 0.15) 0%, transparent 60%), 
                radial-gradient(circle at 70% 80%, rgba(34, 211, 238, 0.08) 0%, transparent 50%), 
                radial-gradient(circle at 90% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
}

/* Éléments flottants */
.services-detailles-wrapper .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.services-detailles-wrapper .floating-element {
    position: absolute;
    filter: blur(1px);
    animation: services-float 6s ease-in-out infinite;
}

.services-detailles-wrapper .floating-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(6, 182, 212, 0.1), rgba(34, 211, 238, 0.1));
    border-radius: 50%;
}

.services-detailles-wrapper .floating-2 {
    top: 60%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(34, 211, 238, 0.08), rgba(6, 182, 212, 0.08));
    border-radius: 30%;
    filter: blur(2px);
    animation: services-float 8s ease-in-out infinite reverse;
}

/* Animation flottante avec préfixe pour éviter les conflits */
@keyframes services-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Header Section */
.services-detailles-wrapper .header-section {
    text-align: center;
    margin-bottom: 60px;
}

.services-detailles-wrapper .icon-title-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.services-detailles-wrapper .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.3);
}

.services-detailles-wrapper .service-icon i {
    color: white;
    font-size: 24px;
}

.services-detailles-wrapper .service-title {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-detailles-wrapper .service-subtitle {
    color: #22d3ee;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 500;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-detailles-wrapper .service-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

.services-detailles-wrapper .service-description strong {
    color: #22d3ee;
}

/* Main Grid */
.services-detailles-wrapper .main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Cartes principales */
.services-detailles-wrapper .feature-card-container,
.services-detailles-wrapper .benefit-card-container {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.services-detailles-wrapper .feature-card-container:hover,
.services-detailles-wrapper .benefit-card-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(6, 182, 212, 0.2);
}

.services-detailles-wrapper .card-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #22d3ee, transparent);
}

.services-detailles-wrapper .section-title {
    color: #22d3ee;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.services-detailles-wrapper .section-title i {
    font-size: 1.5rem;
}

/* Cards individuelles */
.services-detailles-wrapper .feature-card,
.services-detailles-wrapper .benefit-card {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-detailles-wrapper .benefit-card {
    border-color: rgba(34, 211, 238, 0.2);
}

.services-detailles-wrapper .feature-card:hover,
.services-detailles-wrapper .benefit-card:hover {
    background: rgba(6, 182, 212, 0.15) !important;
    border-color: rgba(34, 211, 238, 0.4) !important;
    transform: translateY(-2px);
}

.services-detailles-wrapper .feature-title,
.services-detailles-wrapper .benefit-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.services-detailles-wrapper .feature-description,
.services-detailles-wrapper .benefit-description {
    color: rgba(255, 255, 255, 0.8);
    margin: 8px 0 0 0;
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: center;
}

/* Taille de police plus grande pour desktop */
@media (min-width: 1025px) {
    .services-detailles-wrapper .feature-description,
    .services-detailles-wrapper .benefit-description {
        font-size: 1.24rem;
    }
}

/* Animation au survol */
.services-detailles-wrapper .feature-card:hover .feature-description,
.services-detailles-wrapper .benefit-card:hover .benefit-description {
    opacity: 1 !important;
    max-height: 60px !important;
}

/* Cartes mise en évidence */
.services-detailles-wrapper .highlight-card {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(6, 182, 212, 0.2)) !important;
    border: 2px solid rgba(34, 211, 238, 0.4) !important;
    position: relative;
}

.services-detailles-wrapper .highlight-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #06b6d4, #22d3ee);
    border-radius: 16px 16px 0 0;
}

.services-detailles-wrapper .highlight-title {
    color: #22d3ee !important;
}

.services-detailles-wrapper .highlight-description {
    color: rgba(34, 211, 238, 0.9) !important;
}

/* Section pricing */
.services-detailles-wrapper .pricing-section {
    text-align: center;
}

.services-detailles-wrapper .pricing-button {
    display: inline-block;
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    padding: 20px 40px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.services-detailles-wrapper .pricing-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4);
}

.services-detailles-wrapper .pricing-button p {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 2;
}

.services-detailles-wrapper .shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: services-shine 3s infinite;
}

@keyframes services-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Section de service */
.services-detailles-wrapper .service-section {
    padding: 80px 20px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Contenu de la page depuis Bludit */
.services-detailles-wrapper .page-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

.services-detailles-wrapper .page-content h1, 
.services-detailles-wrapper .page-content h2, 
.services-detailles-wrapper .page-content h3 {
    color: #22d3ee;
}

.services-detailles-wrapper .page-content h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .services-detailles-wrapper .main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-detailles-wrapper .feature-card-container,
    .services-detailles-wrapper .benefit-card-container {
        padding: 20px;
    }
    
    .services-detailles-wrapper .service-section {
        padding: 40px 10px;
    }
}
