/* 
 * Styles CSS pour les sections avec animation particules
 * À ajouter dans votre feuille de style principale
 */

/* Styles de base pour toutes les sections avec particules */


.particules {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse closest-side at 50% 60.67%, #315d89 0%, #10264b 25%, #082a4e 50%, #15202b 75%, #022140 100%);
}

/* Variation accent (couleurs plus vives) */
.particules.accent {
    background: linear-gradient(135deg, 
        #1d4ed8 0%,     /* Bleu électrique */
        #2563eb 30%,    /* Bleu vif */
        #60a5fa 50%,    /* Bleu clair */
        #93c5fd 70%,    /* Bleu très clair */
        #2563eb 100%    /* Bleu vif */
    );
}

/* Variation sombre (plus de contraste) */
.particules.dark {
    background: linear-gradient(135deg, 
        #0c1426 0%,     /* Très foncé */
        #1e3a8a 25%,    /* Bleu foncé */
        #2563eb 50%,    /* Bleu moyen */
        #1e3a8a 75%,    /* Bleu foncé */
        #0c1426 100%    /* Très foncé */
    );
}

/* Variation claire (tons plus clairs) */
.particules.light {
    background: linear-gradient(135deg, 
        #3b82f6 0%,     /* Bleu */
        #60a5fa 25%,    /* Bleu clair */
        #93c5fd 50%,    /* Bleu très clair */
        #dbeafe 75%,    /* Bleu pastel */
        #60a5fa 100%    /* Bleu clair */
    );
}

/* Canvas des particules (automatiquement ajouté par le script) */
.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Styles pour le contenu au-dessus des particules */
.particules .content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Titres dans les sections particules */
.particules .section-title,
.particules h1,
.particules h2 {
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 50%, #b3e5fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Sous-titres dans les sections particules */
.particules .section-subtitle,
.particules p {
    color: #e3f2fd;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Boutons dans les sections particules */
.particules .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-weight: 600;
    margin: 0.5rem;
}

.particules .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.particules .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    color: #1e3a8a;
    border: none;
}

.particules .btn-primary:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #dbeafe 100%);
    color: #1e40af;
}

/* Cartes dans les sections particules */
.particules .feature-card,
.particules .card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.particules .feature-card:hover,
.particules .card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Grid responsive */
.particules .features-grid,
.particules .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Icônes dans les cartes */
.particules .feature-icon,
.particules .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.9;
}

.particules .feature-title,
.particules .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f8fafc;
}

.particules .feature-description,
.particules .card-description {
    color: #e2e8f0;
    line-height: 1.6;
}

/* Animations d'apparition */
.particules .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.particules .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .particules .content {
        max-width: 900px;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .particules {
        min-height: 400px;
        padding: 2rem 1rem;
    }
    
    .particules.hero {
        min-height: 80vh;
    }
    
    .particules .features-grid,
    .particules .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .particules .section-title,
    .particules h1,
    .particules h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .particules .section-subtitle,
    .particules p {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }
    
    .particules .btn {
        width: 100%;
        max-width: 300px;
        margin: 0.5rem auto;
        display: block;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .particules {
        min-height: 350px;
    }
    
    .particules .content {
        padding: 1rem;
    }
    
    .particules .feature-card,
    .particules .card {
        padding: 1.5rem;
    }
}

/* Optimisations pour la performance */
@media (prefers-reduced-motion: reduce) {
    .particules .particles-canvas {
        display: none;
    }
    
    .particules * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mode sombre forcé */
@media (prefers-color-scheme: dark) {
    .particules {
        /* Renforcer les contrastes en mode sombre */
        filter: contrast(1.1) brightness(0.95);
    }
}

/* Optimisation pour les écrans haute résolution */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .particules .particles-canvas {
        /* Améliorer le rendu sur les écrans haute densité */
        image-rendering: crisp-edges;
    }
}

/* Styles pour les sections imbriquées */
.particules .section {
    width: 100%;
    padding: 2rem 0;
}

.particules .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utilisation avec flexbox */
.particules.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.particules.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Classes utilitaires pour le texte */
.particules .text-center { text-align: center; }
.particules .text-left { text-align: left; }
.particules .text-right { text-align: right; }

.particules .mb-1 { margin-bottom: 0.5rem; }
.particules .mb-2 { margin-bottom: 1rem; }
.particules .mb-3 { margin-bottom: 1.5rem; }
.particules .mb-4 { margin-bottom: 2rem; }

.particules .mt-1 { margin-top: 0.5rem; }
.particules .mt-2 { margin-top: 1rem; }
.particules .mt-3 { margin-top: 1.5rem; }
.particules .mt-4 { margin-top: 2rem; }

/* Overlay pour contenu important */
.particules .overlay {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation de chargement pour les particules */
.particules.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #60a5fa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 5;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* CSS Section Technologies - À intégrer dans votre site */


.main-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    background: linear-gradient(134deg, #ffffff 0%, #e0f2fe 50%, #b3e5fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    text-align: center;
}

.svg-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Styles pour les cercles de solutions */
.solution-circle {
    fill: rgba(6, 182, 212, 0.2);
    stroke: #22d3ee;
    stroke-width: 3;
    transition: all 0.3s ease;
    cursor: pointer;
}

.solution-group:hover .solution-circle {
    fill: rgba(34, 211, 238, 0.3);
    stroke: #06b6d4;
    stroke-width: 4;
}

/* Texte des solutions */
.solution-text {
    fill: white;
    text-anchor: middle;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    pointer-events: none;
}

.solution-title {
    font-weight: 600;
}

.solution-subtitle {
    fill: #94a3b8;
    font-weight: 400;
}

.solution-icon {
    fill: white;
    text-anchor: middle;
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    pointer-events: none;
}

/* Tooltips */
.tooltip-bg {
    fill: rgba(255, 255, 255, 0.95);
    stroke: #22d3ee;
    stroke-width: 2;
    rx: 12;
    ry: 12;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tooltip-text {
    fill: #0f172a;
    text-anchor: middle;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Flèches */
.arrow-path {
    fill: none;
    stroke: #eeeeee;
    stroke-width: 2;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.arrow-head {
    fill: #eeeeee;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.return-arrow-path {
    fill: none;
    stroke: #22d3ee;
    stroke-width: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    stroke-dasharray: 5,5;
    animation: dash 2s linear infinite;
}

.return-arrow-head {
    fill: #22d3ee;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes dash {
    to {
        stroke-dashoffset: -10;
    }
}

/* Animation des cercles au hover */
.solution-group {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.solution-group:hover {
    transform: scale(1.05);
}

/* Styles responsive */
@media (max-width: 768px) {
    .svg-container svg {
        width: 100%;
        height: auto;
        max-width: 600px;
    }

    .main-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .solution-text {
        font-size: 12px;
    }

    .solution-icon {
        font-size: 20px;
    }

    .tooltip-bg {
        width: 180px !important;
        height: 60px !important;
    }
}

/* Section générale */
#solutions {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Styles pour la section Approche */
.approche-section {
    padding: 100px 0;
    background: #f8fafc;
}

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

.approche-header {
    text-align: center;
    margin-bottom: 80px;
}

.approche-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.approche-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.approche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.approche-item {
    text-align: center;
}

.approche-number {
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.approche-number.step-1 { background: #3b82f6; }
.approche-number.step-2 { background: #6366f1; }
.approche-number.step-3 { background: #10b981; }

.approche-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.approche-item-text {
    color: #6b7280;
    line-height: 1.6;
}

/* ===== CSS NAMESPACE: detail-services ===== */

/* Font faces */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset pour le namespace */
.detail-services * {
    box-sizing: border-box;
}

/* Conteneur principal */
.detail-services__container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Sections principales */
.detail-services__section {
    padding: 80px 20px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

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

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

/* Effets de fond */
.detail-services__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 */
.detail-services__floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

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

.detail-services__floating-element--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%;
}

.detail-services__floating-element--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: detail-services-float 8s ease-in-out infinite reverse;
}

/* Header Section */
.detail-services__header {
    text-align: center;
    margin-bottom: 60px;
}

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

.detail-services__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);
}

.detail-services__service-icon i {
    color: white;
    font-size: 24px;
}

.detail-services__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;
}

.detail-services__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;
}

.detail-services__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;
}

.detail-services__service-description strong {
    color: #22d3ee;
}

/* Main Grid */
.detail-services__main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Cartes principales */
.detail-services__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;
}

.detail-services__card-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(6, 182, 212, 0.2);
}

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

.detail-services__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;
}

.detail-services__section-title i {
    font-size: 1.5rem;
}

/* Cards individuelles */
.detail-services__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;
}

.detail-services__card--benefit {
    border-color: rgba(34, 211, 238, 0.2);
}

.detail-services__card:hover {
    background: rgba(6, 182, 212, 0.15) !important;
    border-color: rgba(34, 211, 238, 0.4) !important;
    transform: translateY(-2px);
}

.detail-services__card-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.detail-services__card-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) {
    .detail-services__card-description {
        font-size: 1.24rem;
    }
}

/* Animation au survol */
.detail-services__card:hover .detail-services__card-description {
    opacity: 1 !important;
    max-height: 60px !important;
}

/* Cartes mise en évidence */
.detail-services__card--highlight {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(6, 182, 212, 0.2)) !important;
    border: 1px solid rgba(34, 211, 238, 0.4) !important;
    padding: 25px !important;
}

.detail-services__highlight-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #22d3ee, #06b6d4);
}

.detail-services__card-title--highlight {
    color: #22d3ee !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.detail-services__card-title--highlight i {
    font-size: 1.1rem;
}

.detail-services__card-description--highlight {
    color: white !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
}

/* Section prix */
.detail-services__pricing {
    text-align: center;
    margin-top: 60px;
}

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

.detail-services__pricing-button:hover {
    transform: scale(1.05);
}

.detail-services__pricing-button p {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.detail-services__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: detail-services-shine 3s infinite;
}

/* Animations */
@keyframes detail-services-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .detail-services__main-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .detail-services__main-grid {
        grid-template-columns: 1fr !important;
    }
    
    .detail-services__card-container {
        padding: 30px !important;
    }
    
    .detail-services__section {
        padding: 60px 20px !important;
    }
}

/* Scroll fluide */
html {
    scroll-behavior: smooth;
}