/* ==========================================================================
   LAYOUT GLOBAL & SECTION PRINCIPALE
   ========================================================================== */
   .page-solutions {
    padding: 80px 0;
    background: var(--color-bg);
  }
  
  .solution-section {
    animation: fadeIn 0.6s ease;
    background: var(--color-bg);
  }
  
  /* Grid principal : Image gauche (1fr) / Contenu droite (1.2fr) - Desktop only */
  .solution-section .solution-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: start; /* Align start pour éviter étirements */
  }
  
  /* ==========================================================================
     IMAGE LATERALE
     ========================================================================== */
  .solution-image {
    aspect-ratio: 4 / 3;
    max-height: 500px;
    overflow: hidden;
    border-radius: 24px;
    position: relative;
  }
  
  .solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .solution-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  }
  
  /* ==========================================================================
     CONTENU DROIT (Icône + Titre + Texte + Avantages + Specs)
     ========================================================================== */
  .solution-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  /* Header : Icône + Titre alignés horizontalement */
  .solution-content > div:first-child { /* Cible le div inline flex existant */
    display: flex !important; /* Override potentiel global, unique nécessaire */
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
  }
  
  .solution-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
  }
  
  .solution-icon svg {
    width: 3rem;
    height: 3rem;
    stroke: var(--couleur-icon);
    stroke-width: 2;
    vertical-align: middle;
  }
  
  .solutionTitle {
    margin: 0;
    line-height: 1.2;
  }
  
  /* Avantages : Grid 2 colonnes */
  .benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
    max-height: 140px;
    overflow: hidden;
  }
  
  .benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
  }
  
  .benefits-list .check {
    position: relative;
    width: 1.4rem;
    height: 1.4rem;
    background: rgba(59, 130, 246, 0.2);
    border: 2px solid var(--blue-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.2rem;
    overflow: hidden;
  }
  
  .benefits-list .check::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.4rem;
    height: 0.7rem;
    border-bottom: 0.18rem solid var(--blue-primary);
    border-right: 0.18rem solid var(--blue-primary);
    border-radius: 0 0.08rem 0.08rem 0;
    transform: translate(-50%, -55%) rotate(45deg);
  }
  
  /* Specs & Progress bars (non modifiés, nettoyés) */
  .specs {
    margin-top: 4rem;
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .progress-card {
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    margin: 0;
  }
  
  .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0 0.25rem;
  }
  
  .progress-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    flex-shrink: 0;
    letter-spacing: 0.025em;
  }
  
  .progress-value {
    font-size: 1.15rem;
    font-weight: 700;
    min-width: 65px;
    text-align: right;
  }
  
  .progress-track {
    height: 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
  }
  
  .progress-fill {
    height: 100%;
    border-radius: 8px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }
  
  .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 2s infinite linear;
  }
  
  /* ==========================================================================
     ONGLETS & TABS (Nettoyés, sans doublons)
     ========================================================================== */
  .tabs-container {
    top: 80px;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: var(--color-bg);
  }
  
  .tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    padding-bottom: 2rem;
  }
  
  .bouton-gammes,
  .model-tab {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
  }
  
  .bouton-gammes:hover,
  .model-tab:hover {
    background: var(--couleur-icon);
    color: var(--text-white);
    box-shadow: 0 4px 16px var(--couleur-icon);
  }
  
  .bouton-gammes.active,
  .model-tab.active {
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-white);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
  }
  
  .tab-icon {
    background: none;
    border: none;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Sous-onglets modèles */
  .model-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
  }
  
  .model-tab {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    white-space: nowrap;
  }
  
  .model-tab:hover {
    background: rgba(59, 130, 246, 0.25);
    color: var(--text-white);
  }
  
  .model-tab.active {
    background: var(--blue-primary);
    color: #fff;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  }
  
  .specs-bars {
    animation: slideSpecs 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* ==========================================================================
     ELEMENTS GLOBAUX (Hero, CTA, etc.)
     ========================================================================== */
     .solutions-hero {
      background: #f7f9fc !important;
      padding: 80px 0 40px !important; /* Moins haut */
      margin-top: -40px !important; /* Moins négatif */
    }
    
    .solutions-hero .container {
      background: inherit;
      padding: 1rem 0;
    }
    
  
  .cta-section {
    background: #03002e;
    padding: 1rem 0;
    text-align: center;
    color: #fff;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes shimmer {
    0% { left: -120%; }
    100% { left: 120%; }
  }
  
  @keyframes slideSpecs {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* ==========================================================================
     RESPONSIVE - Mobile/Tablet
     ========================================================================== */
  @media (max-width: 1024px) {
    .solution-section .solution-grid {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }
    
    .benefits-list {
      grid-template-columns: 1fr;
      max-height: none;
    }
  }
  
  @media (max-width: 768px) {
    .tabs,
    .model-tabs {
      flex-direction: column;
      align-items: center;
    }
    
    .bouton-gammes,
    .model-tab {
      width: 100%;
      max-width: 280px;
      justify-content: center;
    }
  }
  

  /* ==========================================================================
   LAYOUT SOLUTION DETAIL - 2 RANGÉES
   ========================================================================== */

/* Rangée 1 : Image (gauche) + Présentation (droite) */
.solution-row-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

/* Rangée 2 : Avantages (gauche) + Specs (droite) - 50/50 */
.solution-row-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 2.5rem;
  background: var(--primary-dark);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 3rem;
}

/* Bloc présentation */
.solution-intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.solution-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Bloc avantages */
.solution-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefits-list {
  color: var(--couleur-icon);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-height: none; /* Plus de limite */
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Bloc specs */
.solution-specs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


.btn-devis-solution {
  padding: 16px 40px !important;
  background: linear-gradient(135deg,  #1D4ED8) !important;
  color: var(--color-text)!important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: 0 12px 32px rgba(30,136,229,0.4) !important;
  transition: all 0.3s ease !important;
  width: 250px;
}











/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .solution-row-top,
  .solution-row-bottom {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .solution-row-bottom {
    padding: 1.5rem;
  }
}

