/* Protection contre le défilement horizontal */
html, body { 
  overflow-x: hidden; 
  max-width: 100vw; 
}

/* Adaptation au thème du site */
.bg-light {
  background: linear-gradient(135deg, var(--light) 0%, #f8f9fa 100%) !important;
  color: var(--text) !important;
  border: 1px solid rgba(0,0,0,0.05);
}

.bg-dark {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%) !important;
  color: var(--light) !important;
  border: 1px solid rgba(255,255,255,0.1);
}

.card {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: 2rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text);
  opacity: 0.9;
}

.btn-primary {
  background: var(--gradient-1);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--gradient-2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.security-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: white;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.highlight-box {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
  box-shadow: var(--shadow-lg);
}

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

.info-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  position: relative;
  padding-left: 2rem;
}

.info-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

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

.table-responsive {
  margin: 2rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table {
  margin-bottom: 0;
  color: var(--text);
}

.table thead {
  background: var(--primary);
  color: white;
}

.table tbody tr:nth-of-type(odd) {
  background-color: rgba(0,0,0,0.02);
}

.table td, .table th {
  padding: 1rem;
  vertical-align: middle;
  border-color: rgba(0,0,0,0.05);
}

.cta-section {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--gradient-3);
  border-radius: var(--border-radius);
  margin-top: 3rem;
  color: white;
}

h1 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h2 {
  color: var(--secondary);
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

h3 {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 1rem;
}

.text-light h3 {
  color: var(--light) !important;
}

.text-light p {
  color: rgba(255,255,255,0.9) !important;
}

@media (max-width: 768px) {
  .card-body {
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}