/* ================================================
   PRICE TABLES STUDIOWP
   Plugin WordPress - StudioWP Price Tables
   ================================================ */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;1,500&display=swap');

/* ==================== HEADER ==================== */

.swp-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}

.swp-tag {
  display: inline-block;
  padding: 8px 20px;
  /* MODIFIÉ : Bordure dorée transparente */
  border: 1px solid rgba(216, 164, 95, 0.4);
  border-radius: 50px;
  /* MODIFIÉ : Texte doré */
  color: #D8A45F;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.swp-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.swp-heading em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  /* MODIFIÉ : Texte italique doré */
  color: #D8A45F;
}

.swp-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==================== GRILLE ==================== */

.swp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 20px;
}

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

.swp-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.swp-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ==================== CARTE ==================== */

.swp-card {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #1c1c27;
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 0;
  height: 100%;
  box-sizing: border-box;
}

.swp-card:hover {
  transform: translateY(-10px);
  /* MODIFIÉ : Bordure hover dorée */
  border-color: rgba(216, 164, 95, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Carte Featured */
.swp-card.featured {
  background: linear-gradient(165deg, #1e1e2d 0%, #252536 100%);
  /* MODIFIÉ : Bordure principale dorée */
  border: 2px solid #D8A45F;
  /* MODIFIÉ : Ombre dorée */
  box-shadow: 0 20px 50px rgba(216, 164, 95, 0.15);
  transform: scale(1.02);
  z-index: 1;
}

.swp-card.featured:hover {
  /* MODIFIÉ : Ombre hover dorée */
  box-shadow: 0 30px 70px rgba(216, 164, 95, 0.25);
  transform: scale(1.02) translateY(-10px);
}

/* Badge */
.swp-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  /* MODIFIÉ : Dégradé doré */
  background: linear-gradient(135deg, #D8A45F, #b88a4d);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Icône */
.swp-icon {
  width: 52px;
  height: 52px;
  /* MODIFIÉ : Fond icône doré léger */
  background: rgba(216, 164, 95, 0.1);
  /* MODIFIÉ : Bordure icône dorée légère */
  border: 1px solid rgba(216, 164, 95, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.swp-icon svg {
    width: 32px;  /* Ajustez la taille ici si besoin */
    height: 32px;
    fill: #D8A45F; /* Votre couleur dorée */
}

/* Optionnel : Si vous voulez que l'icône soit un peu plus grande */
.swp-icon {
    font-size: 0; /* On cache le texte s'il y en a */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Titre */
.swp-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.3;
  min-height: 5rem;
  display: flex;
  align-items: flex-end;
}

.swp-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin: 0 0 28px 0;
  min-height: 3.4rem;
  display: flex;
  align-items: flex-start;
}

/* Prix */
.swp-price-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.swp-price {
  font-size: 3.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.swp-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.swp-price-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}

.swp-price-custom {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

/* Features */
.swp-features {
  list-style: none;
  margin: 0 0 36px 0;
  padding: 0;
}

.swp-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.4;
}

.swp-features li::before {
  content: '✓';
  /* MODIFIÉ : Coche dorée */
  color: #D8A45F;
  font-weight: bold;
  /* MODIFIÉ : Fond coche doré */
  background: rgba(216, 164, 95, 0.15);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* No features placeholder */
.swp-no-features {
  margin-bottom: 36px;
}

/* ==================== BOUTONS ==================== */

.swp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  box-sizing: border-box;
  margin-top: auto;
}

.swp-btn span {
  transition: transform 0.3s ease;
}

.swp-btn:hover span {
  transform: translateX(4px);
}

/* Bouton Gris */
.swp-btn-gray {
  background: #2a2a3d;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.swp-btn-gray:hover {
  background: #353549;
  /* MODIFIÉ : Bordure hover dorée */
  border-color: rgba(216, 164, 95, 0.3);
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* Bouton Bleu (Maintenant Doré) */
.swp-btn-blue {
  /* MODIFIÉ : Fond doré */
  background: #D8A45F;
  color: #ffffff !important;
}

.swp-btn-blue:hover {
  /* MODIFIÉ : Fond doré foncé au survol */
  background: #c5924e;
  transform: translateY(-2px);
  /* MODIFIÉ : Ombre dorée */
  box-shadow: 0 15px 40px rgba(216, 164, 95, 0.35);
  color: #ffffff !important;
}

/* Bouton Dégradé */
.swp-btn-gradient {
  /* MODIFIÉ : Dégradé doré */
  background: linear-gradient(135deg, #D8A45F 0%, #b88a4d 100%);
  color: #ffffff !important;
  /* MODIFIÉ : Ombre dorée */
  box-shadow: 0 10px 30px rgba(216, 164, 95, 0.3);
}

.swp-btn-gradient:hover {
  transform: translateY(-2px);
  /* MODIFIÉ : Ombre dorée forte */
  box-shadow: 0 18px 45px rgba(216, 164, 95, 0.45);
  color: #ffffff !important;
}

/* ==================== ERROR ==================== */

.swp-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 16px 20px;
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

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

@media (max-width: 1024px) {
  .swp-pricing-grid,
  .swp-columns-3,
  .swp-columns-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .swp-pricing-grid,
  .swp-columns-2,
  .swp-columns-3,
  .swp-columns-4 {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
  }
  
  .swp-card {
    padding: 32px 24px;
  }
  
  .swp-price {
    font-size: 2.8rem;
  }
  
  .swp-header {
    margin-bottom: 40px;
  }
  
  .swp-heading {
    font-size: 1.8rem;
  }
  
  .swp-desc {
    font-size: 1rem;
  }
}