/**
 * CSS Add-on - Variant 6.1
 * Optimisations particuliers
 * Ne modifie PAS les CSS existants, s'ajoute par-dessus
 */

/* ============================================================================
   BADGES DE REASSURANCE
   ============================================================================ */

.reassurance-bar {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reassurance-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.reassurance-item i {
  font-size: 2rem;
  color: var(--color-primary, #0066cc);
  flex-shrink: 0;
}

.reassurance-item span {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

/* ============================================================================
   MARQUES UTILISEES
   ============================================================================ */

.marques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.marque-badge {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid rgba(0, 102, 204, 0.1);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.marque-badge:hover {
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

/* ============================================================================
   MEDIA GRID (Réalisations)
   ============================================================================ */

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

.media-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #f8f9fa;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.media-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* ============================================================================
   GRID3 (Vous cherchez quoi)
   ============================================================================ */

.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card--hover {
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
}

.card--hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--color-primary, #0066cc);
}

.card--hover i {
  margin-bottom: 1rem;
}

.card--hover h3 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
  color: #333;
}

.card--hover .text-sm {
  color: #666;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ============================================================================
   MINI-ZONE (Footer)
   ============================================================================ */

.mini-zone {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0, 102, 204, 0.05);
  border-left: 3px solid var(--color-primary, #0066cc);
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.mini-zone strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-primary, #0066cc);
}

/* ============================================================================
   AMELIORATIONS FOOTER
   ============================================================================ */

.footer__description {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.footer__description i {
  color: var(--color-accent, #00ccaa);
  margin-right: 0.5rem;
}

.footer__description a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__description a:hover {
  color: var(--color-accent, #00ccaa);
  text-decoration: underline;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
  .reassurance-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .marques-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .grid3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .media-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .media-card img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .marques-grid {
    grid-template-columns: 1fr;
  }

  .marque-badge {
    font-size: 1rem;
    padding: 1rem 0.75rem;
  }
}
