/* Grille cartes cadeaux */
.carte-cadeau-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Carte cadeau */
.carte-cadeau-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

/* Bordure grise en mode dark */
@media (prefers-color-scheme: dark) {
  .carte-cadeau-card {
    border-color: var(--medium-gray);
  }
}

.carte-cadeau-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold);
}

.carte-cadeau-card.featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-gold);
}

.carte-cadeau-card.compact {
  padding: 1.5rem;
}

/* Badge carte */
.carte-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--primary-blue);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.carte-badge.special {
  background: var(--gold);
}

/* Icône carte */
.carte-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: var(--shadow-md);
}

.carte-icon.small {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.carte-cadeau-card.featured .carte-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

/* Titre carte */
.carte-title {
  color: var(--primary-blue);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
}

/* Description */
.carte-description {
  flex: 1;
  margin-bottom: 1.5rem;
}

.carte-description p {
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
}

/* Prix */
.carte-prix {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 2px solid var(--light-gray);
  border-bottom: 2px solid var(--light-gray);
}

.prix-principal {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.prix-detail {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Actions */
.carte-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.btn-carte {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  text-decoration: none;
}

.btn-carte-tel {
  background: var(--primary-blue);
  color: white;
}

.btn-carte-tel:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
}

.btn-carte-paypal {
  background: #0070ba;
  color: white;
}

.btn-carte-paypal:hover {
  background: #005a94;
  transform: translateY(-2px);
}

/* Info carte */
.carte-info {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 1rem;
  font-style: italic;
}

.carte-info i {
  color: var(--gold);
  margin-right: 0.3rem;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

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

.step-card h3 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ */
.faq-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--gold);
}

.faq-item h4 {
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Modal PayPal */
.paypal-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.paypal-modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: slideIn 0.3s;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.paypal-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  color: var(--text-secondary);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.paypal-close:hover {
  color: var(--primary-blue);
}

/* Responsive */
@media (max-width: 768px) {
  .carte-cadeau-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .carte-actions {
    flex-direction: column;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .paypal-modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 1.5rem;
  }
}