/* ==========================================================================
   Page Tarifs — tableaux sombres + or
   ========================================================================== */

.section--alt {
  background: var(--color-bg-section);
}

.tarif-subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: var(--spacing-lg) 0 var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--color-border);
}

.tarif-table {
  width: 100%;
  margin-bottom: var(--spacing-lg);
  overflow-x: auto;
  border-radius: 8px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tarif-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Open Sans', Arial, sans-serif;
}

.tarif-table thead {
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.12) 0%, rgba(201, 168, 76, 0.06) 100%);
  border-bottom: 2px solid var(--color-gold);
}

.tarif-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.tarif-table td {
  padding: 0.95rem 1.25rem;
  font-size: 0.92rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.tarif-table tbody tr:last-child td {
  border-bottom: none;
}

.tarif-table tbody tr {
  transition: background 0.2s;
}

.tarif-table tbody tr:hover {
  background: rgba(201, 168, 76, 0.05);
}

.tarif-table td:nth-child(2),
.tarif-table td:nth-child(3) {
  color: var(--color-gold-light);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tarif-table td:nth-child(3) {
  color: var(--color-text-muted);
  font-size: 0.87rem;
  font-weight: 600;
}

/* Ligne de prestations gratuites — emphase */
.tarif-table td strong.text-gold {
  font-size: 1rem;
  letter-spacing: 0.3px;
}

/* Bloc "Bon à savoir" */
.tarif-notice {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-gold);
  border-radius: 8px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tarif-notice h2 {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
}

.tarif-notice ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.tarif-notice ul li {
  margin-bottom: var(--spacing-sm);
}

.tarif-notice ul li strong {
  color: var(--color-text);
}

/* Responsive mobile — tableaux scrollables */
@media (max-width: 768px) {
  .tarif-table {
    border-radius: 6px;
  }

  .tarif-table th,
  .tarif-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
  }

  .tarif-table th {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }

  .tarif-subtitle {
    font-size: 1rem;
  }

  .tarif-notice {
    padding: var(--spacing-md);
  }

  .tarif-notice ul {
    font-size: 0.88rem;
  }
}
