/* ==============================================
   Gradly Concept — Maintenance Page Styles
   Protection & Performance continue
   ============================================== */

/* Grille 3 colonnes pour les packs */
.gc-tarifs-grid-3 {
  grid-template-columns: repeat(3, 1fr) !important;
  max-width: 1000px !important;
}

/* Badge "Recommandé" (override du "Populaire") */
.gc-tarif-card-recommended {
  position: relative;
  border-color: rgba(249, 115, 22, 0.3);
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.08);
}

.gc-tarif-card-recommended::after {
  content: 'Recommandé' !important;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.gc-tarif-card-recommended:hover {
  transform: scale(1.05);
  border-color: rgba(249, 115, 22, 0.5);
}

/* Liste de features dans les cartes pricing */
.gc-maintenance-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.gc-maintenance-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.gc-maintenance-features li svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--success);
  margin-top: 2px;
}

/* Note sous le prix */
.gc-tarif-price-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Mention engagement sous les packs */
.gc-tarifs-disclaimer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.gc-tarifs-disclaimer strong {
  color: var(--text-secondary);
}

/* ==============================================
   Tableau comparatif
   ============================================== */

.gc-comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  max-width: 900px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
}

.gc-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.gc-comparison-table thead {
  background: rgba(255,255,255,0.03);
}

.gc-comparison-table th,
.gc-comparison-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.gc-comparison-table th {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 20px;
}

.gc-comparison-table th span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 4px;
}

.gc-comparison-table th:first-child,
.gc-comparison-table td:first-child {
  text-align: left;
}

.gc-comparison-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.gc-comparison-table td {
  color: var(--text-secondary);
}

.gc-comparison-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.gc-comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* Colonne Pro surlignée */
.gc-comparison-highlight {
  background: rgba(249, 115, 22, 0.06) !important;
  border-left: 1px solid rgba(249, 115, 22, 0.15);
  border-right: 1px solid rgba(249, 115, 22, 0.15);
}

.gc-comparison-table td:nth-child(3) {
  background: rgba(249, 115, 22, 0.04);
  border-left: 1px solid rgba(249, 115, 22, 0.1);
  border-right: 1px solid rgba(249, 115, 22, 0.1);
}

/* Icônes check / cross dans le tableau */
.gc-check svg {
  width: 20px;
  height: 20px;
  color: var(--success);
}

.gc-cross svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  opacity: 0.4;
}

/* ==============================================
   Responsive
   ============================================== */

@media (max-width: 1024px) {
  .gc-tarifs-grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
  }

  .gc-tarif-card-recommended {
    transform: scale(1.02);
  }
}

@media (max-width: 768px) {
  .gc-tarifs-grid-3 {
    grid-template-columns: 1fr !important;
    max-width: 420px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .gc-tarif-card-recommended {
    transform: scale(1);
    order: -1;
  }

  .gc-comparison-table th,
  .gc-comparison-table td {
    padding: 12px 14px;
    font-size: 0.8125rem;
  }

  .gc-comparison-table th {
    font-size: 0.875rem;
  }
}
