/* ============================================================================
   STYLES ADDITIONNELS POUR PROGICHECK - NOUVEAU DESIGN
   ============================================================================ */

/* ==================== RESULTS HEADER ==================== */
.results-header-badge {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #0F172A;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.3);
  animation: bounce 0.6s ease-out;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ==================== DASHBOARD CARDS - NOUVELLE DISPOSITION ==================== */
.dashboard-card-single {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.dashboard-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.dashboard-card {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22d3ee, #0ea5e9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dashboard-card:hover::before {
  opacity: 1;
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(34, 211, 238, 0.15);
  border-color: rgba(34, 211, 238, 0.4);
}

.dashboard-card-primary {
  min-width: 0; /* Retiré — causait débordement sur mobile, géré par la grille */
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(14, 165, 233, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.dashboard-card-primary::before {
  opacity: 1;
  height: 6px;
  background: linear-gradient(90deg, #22d3ee, #0ea5e9, #22d3ee);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

.dashboard-card-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: rgba(34, 211, 238, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22d3ee;
}

.dashboard-card-primary .dashboard-card-icon {
  background: rgba(34, 211, 238, 0.2);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.dashboard-card-icon svg {
  width: 28px;
  height: 28px;
}

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

.dashboard-card-label {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-card-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.dashboard-card-primary .dashboard-card-value {
  font-size: 3rem;
  color: #22d3ee;
}

.dashboard-card-unit {
  font-size: 1.25rem;
  color: #64748b;
  font-weight: 400;
}

.dashboard-card-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.status-excellent {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-good {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-warning {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-critical {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Couleurs spécifiques DIC */
.dashboard-card-disponibilite .dashboard-card-icon {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.dashboard-card-integrite .dashboard-card-icon {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.dashboard-card-confidentialite .dashboard-card-icon {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}

/* ==================== AI RECOMMENDATIONS ==================== */
#ai-recommendations-content {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
}

.ai-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  gap: 1.5rem;
}

.ai-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(34, 211, 238, 0.2);
  border-top-color: #22d3ee;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.ai-loading p {
  color: #94a3b8;
  font-size: 1rem;
  text-align: center;
}

.ai-recommendations-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(14, 165, 233, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 8px;
  color: #22d3ee;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.ai-badge svg {
  width: 18px;
  height: 18px;
}

.ai-recommendations-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  color: #f1f5f9;
  margin: 0;
}

.ai-recommendations-body {
  color: #cbd5e1;
  line-height: 1.8;
}

.ai-recommendations-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: #f1f5f9;
  margin: 2rem 0 1rem;
}

.ai-recommendations-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  color: #22d3ee;
  margin: 1.5rem 0 0.75rem;
}

.ai-recommendations-body h4 {
  font-size: 1.1rem;
  color: #94a3b8;
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
}

.ai-recommendations-body p {
  margin: 0.75rem 0;
  color: #cbd5e1;
}

.ai-recommendations-body strong {
  color: #f1f5f9;
  font-weight: 600;
}

.ai-recommendations-body ul,
.ai-recommendations-body ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.ai-recommendations-body li {
  margin: 0.5rem 0;
  color: #cbd5e1;
  line-height: 1.6;
}

.ai-recommendations-body li::marker {
  color: #22d3ee;
}

.ai-recommendations-body hr {
  border: none;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin: 2rem 0;
}

/* ==================== RADAR CHART CONTAINER ==================== */
#radar-container {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
}

#radar-container h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: #f1f5f9;
  margin-bottom: 1.5rem;
  text-align: center;
}

#radar-chart {
  max-width: 600px;
  margin: 0 auto;
  height: 400px;
}

/* ==================== CHARTS IMPROVEMENTS ==================== */
.chart-container {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 1.5rem;
}

.chart-container h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  color: #f1f5f9;
  margin-bottom: 1.5rem;
  text-align: center;
}

.chart-wrapper {
  position: relative;
  height: 300px;
}

/* ==================== PDF DOWNLOAD BUTTON FIX ==================== */
.download-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  color: #0F172A;
  border: none;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.3);
  text-decoration: none;
}

.download-pdf-btn:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(34, 211, 238, 0.4);
}

.download-pdf-btn:active {
  transform: translateY(0);
}

.download-pdf-btn svg {
  width: 20px;
  height: 20px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
  .dashboard-cards-row {
    grid-template-columns: 1fr;
  }
  
  .dashboard-card-primary {
    min-width: auto;
  }
  
  .dashboard-card-value {
    font-size: 2rem;
  }
  
  .dashboard-card-primary .dashboard-card-value {
    font-size: 2.5rem;
  }
  
  #radar-chart {
    height: 300px;
  }
  
  .ai-recommendations-body h2 {
    font-size: 1.25rem;
  }
  
  .ai-recommendations-body h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .dashboard-card {
    flex-direction: column;
    text-align: center;
  }
  
  .dashboard-card-icon {
    margin: 0 auto;
  }
  
  .dashboard-card-value {
    justify-content: center;
  }
  
  .dashboard-card-status {
    margin: 0 auto;
  }
}
/* ============================================================================
   RECOMMANDATIONS IA - STYLE AMÉLIORÉ PROFESSIONNEL
   ============================================================================ */

/* Container principal des recommandations */
#ai-recommendations-content {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
  border-radius: 16px;
  padding: 0;
  margin: 2rem 0;
  border: 1px solid rgba(34, 211, 238, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* Header des recommandations */
.ai-recommendations-header {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  padding: 2rem;
  border-bottom: 2px solid rgba(34, 211, 238, 0.3);
  position: relative;
  overflow: hidden;
}

.ai-recommendations-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 100%); /* Responsive */
  height: 300px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #22D3EE;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ai-badge svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.ai-recommendations-header h3 {
  color: #F1F5F9;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-recommendations-header h3::before {
  content: '🤖';
  font-size: 28px;
}

/* Corps des recommandations */
.ai-recommendations-body {
  padding: 2.5rem;
  color: #CBD5E1;
  line-height: 1.8;
  font-size: 15px;
}

/* ── Titres dans le corps ──────────────────────────────────────────────────── */
.ai-recommendations-body h2 {
  color: #22D3EE;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem 0;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  background: linear-gradient(90deg, rgba(34,211,238,0.08) 0%, transparent 100%);
  border-left: 3px solid #22D3EE;
  border-radius: 0 8px 8px 0;
  letter-spacing: 0.01em;
}

.ai-recommendations-body h3 {
  color: #F1F5F9;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-recommendations-body h3::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22D3EE;
  box-shadow: 0 0 8px rgba(34,211,238,0.6);
  flex-shrink: 0;
}

.ai-recommendations-body h4 {
  color: #94A3B8;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Paragraphes ─────────────────────────────────────────────────────────── */
.ai-recommendations-body p {
  margin: 0.85rem 0;
  color: #CBD5E1;
  line-height: 1.8;
}

/* ── Gras & italique ─────────────────────────────────────────────────────── */
.ai-recommendations-body strong {
  color: #F1F5F9;
  font-weight: 700;
}

.ai-recommendations-body em {
  color: #94A3B8;
  font-style: italic;
}

/* ── Listes ──────────────────────────────────────────────────────────────── */
.ai-recommendations-body ul,
.ai-recommendations-body ol {
  margin: 1rem 0 1rem 0.25rem;
  padding-left: 0;
  list-style: none;
}

.ai-recommendations-body li {
  position: relative;
  padding: 0.45rem 0.75rem 0.45rem 2.25rem;
  margin: 0.4rem 0;
  color: #CBD5E1;
  background: rgba(15,23,42,0.4);
  border: 1px solid rgba(34,211,238,0.07);
  border-radius: 8px;
  line-height: 1.6;
  transition: background 0.15s, border-color 0.15s;
}

.ai-recommendations-body li:hover {
  background: rgba(34,211,238,0.04);
  border-color: rgba(34,211,238,0.15);
}

.ai-recommendations-body ul li::before {
  content: '›';
  position: absolute;
  left: 0.75rem;
  color: #22D3EE;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
}

.ai-recommendations-body ol {
  counter-reset: item;
}

.ai-recommendations-body ol li {
  counter-increment: item;
}

.ai-recommendations-body ol li::before {
  content: counter(item);
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1.2rem;
  background: rgba(34,211,238,0.15);
  border: 1px solid rgba(34,211,238,0.3);
  border-radius: 50%;
  color: #22D3EE;
  font-weight: 700;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2rem;
}

/* ── Séparateurs ─────────────────────────────────────────────────────────── */
.ai-recommendations-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.25), transparent);
  margin: 2rem 0;
}

/* Bloc de code / citation */
.ai-recommendations-body code {
  background: rgba(34, 211, 238, 0.1);
  color: #22D3EE;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

/* Liens (sources) */
.ai-recommendations-body a {
  color: #22D3EE;
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 238, 0.3);
  transition: all 0.3s ease;
}

.ai-recommendations-body a:hover {
  color: #67E8F9;
  border-bottom-color: #67E8F9;
}

/* STYLE SPÉCIAL POUR LES SOURCES */
.ai-recommendations-body p:last-child,
.ai-recommendations-body em:last-child {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 13px;
  color: #94A3B8;
  font-style: italic;
}

/* Bloc spécial "Sources" ou "Recommandations générées" */
.ai-recommendations-body p:contains("Source"),
.ai-recommendations-body p:contains("Recommandations générées"),
.ai-recommendations-body em:contains("Source"),
.ai-recommendations-body em:contains("Recommandations") {
  background: rgba(148, 163, 184, 0.1);
  border-left: 3px solid #94A3B8;
  padding: 12px 16px;
  border-radius: 6px;
  margin-top: 2rem;
  font-size: 13px;
  color: #94A3B8;
}

/* Bloc d'information / alerte */
.info-box {
  background: rgba(34, 211, 238, 0.1);
  border-left: 4px solid #22D3EE;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.info-box p {
  margin: 0.5rem 0;
  color: #F1F5F9;
}

.warning-box {
  background: rgba(245, 158, 11, 0.1);
  border-left: 4px solid #F59E0B;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.warning-box p {
  margin: 0.5rem 0;
  color: #FED7AA;
}

/* Animation d'apparition */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#ai-recommendations-content {
  animation: fadeInSlide 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .ai-recommendations-header,
  .ai-recommendations-body {
    padding: 1.5rem;
  }

  .ai-recommendations-header h3 {
    font-size: 20px;
  }

  .ai-recommendations-body h2 {
    font-size: 18px;
  }

  .ai-recommendations-body {
    font-size: 14px;
  }
}



/* ============================================================================
   TYPOGRAPHIE UNIFIÉE — Police professionnelle cohérente dans tout le rapport
   ============================================================================ */

/* Harmonisation globale : DM Sans (corps) + Space Grotesk (titres) */
body,
.ai-recommendations-body,
.ai-recommendations-body p,
.ai-recommendations-body li,
.ai-recommendations-body td,
.pillar-explanation,
.dashboard-card-status,
.dashboard-card-label {
  font-family: 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.925rem;
  line-height: 1.65;
  color: #DDE6F0;
}

/* Titres : Space Grotesk pour impact visuel */
.ai-recommendations-body h2,
.ai-recommendations-body h3,
.ai-recommendations-body h4,
.ai-recommendations-body h5,
.results-dashboard h2,
.results-dashboard h3,
.dashboard-card-value,
.pillar-name {
  font-family: 'Space Grotesk', 'DM Sans', sans-serif;
  letter-spacing: -0.01em;
}

/* Valeurs numériques : cohérence taille */
.dashboard-card-value .counter,
.pillar-score {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

/* Zone recommandations IA : meilleure lisibilité */
.ai-recommendations-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #E2E8F0;
  margin: 1.75rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(34,211,238,0.2);
}
.ai-recommendations-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #22d3ee;
  margin: 1.5rem 0 0.6rem;
}
.ai-recommendations-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #94A3B8;
  margin: 1.25rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}
.ai-recommendations-body h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #CBD5E1;
  margin: 1rem 0 0.4rem;
}

.ai-recommendations-body strong {
  color: #E2E8F0;
  font-weight: 600;
}

.ai-recommendations-body em {
  color: #94A3B8;
  font-style: italic;
}

.ai-recommendations-body ul, 
.ai-recommendations-body ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0 1rem;
}

.ai-recommendations-body ul li,
.ai-recommendations-body ol li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.ai-recommendations-body code {
  font-family: 'DM Mono', 'Courier New', monospace;
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  font-size: 0.85em;
  color: #22d3ee;
}

.ai-recommendations-body hr {
  border: none;
  border-top: 1px solid rgba(148,163,184,0.2);
  margin: 1.5rem 0;
}

.ai-recommendations-body p {
  margin-bottom: 0.85rem;
}

/* Badge formule visible dans résultats */
.formula-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.formula-badge.free    { background: rgba(100,116,139,0.2); color: #94A3B8; border: 1px solid rgba(100,116,139,0.4); }
.formula-badge.standard{ background: rgba(34,211,238,0.12); color: #22D3EE; border: 1px solid rgba(34,211,238,0.4); }
.formula-badge.pro     { background: rgba(255,215,0,0.12);  color: #FFD700; border: 1px solid rgba(255,215,0,0.4);  }
.formula-badge.proplus { background: rgba(160,80,255,0.12); color: #A050FF; border: 1px solid rgba(160,80,255,0.4); }

/* ============================================================================
   ÉQUIPEMENTS — Section devis & dimensionnement
   ============================================================================ */
.equipment-card {
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(34,211,238,0.15);
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1rem 0;
}
.equipment-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.equipment-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: #E2E8F0;
  font-size: 1rem;
}
.equipment-badge-devis {
  background: rgba(255,165,0,0.15);
  border: 1px solid rgba(255,165,0,0.4);
  color: #FFA500;
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
}
.equipment-badge-estimate {
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.3);
  color: #22D3EE;
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ============================================================================
   FREE UPSELL CARD — Bannière de promotion PRO en formule FREE
   ============================================================================ */
.free-upsell-card {
  position: relative;
  overflow: hidden;
  margin: 2.5rem 0 0;
  border-radius: 16px;
  border: 1px solid rgba(255,215,0,0.3);
  background: linear-gradient(135deg, #0a0f1c 0%, #121a2e 60%, #1a1200 100%);
  padding: 0;
}

.free-upsell-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,215,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.free-upsell-card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,140,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.free-upsell-inner {
  position: relative;
  z-index: 1;
  padding: 2rem 2.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}

@media (max-width: 640px) {
  .free-upsell-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .free-upsell-cta { justify-content: center; }
}

.free-upsell-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A0F1C;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.free-upsell-title {
  color: #F1F5F9;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.free-upsell-subtitle {
  color: #94A3B8;
  font-size: 0.875rem;
  margin: 0 0 1rem;
  line-height: 1.6;
}

.free-upsell-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0;
}

.free-upsell-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  color: #FCD34D;
  font-size: 0.78rem;
  font-weight: 500;
}

.free-upsell-feature::before {
  content: '✓';
  color: #FFD700;
  font-weight: 800;
  font-size: 0.75rem;
}

.free-upsell-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.free-upsell-btn {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #0A0F1C;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(255,215,0,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.02em;
}

.free-upsell-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255,215,0,0.45);
}

.free-upsell-note {
  color: #64748B;
  font-size: 0.72rem;
  text-align: center;
}

.free-upsell-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, #FFD700, #FFA500, transparent);
  opacity: 0.5;
  border-radius: 0 0 16px 16px;
}
