/* ============================================================
   article-combien-kilos.css
   Styles complémentaires pour l'article :
   "Combien de kilos prend-on en arrêtant de fumer ?"
   
   Ce fichier vient en SUPPLÉMENT de css/styles.css (déjà chargé).
   Il réutilise les variables CSS existantes du site (--sage,
   --gold, --gold-light, --text-sm, etc.) pour garantir une
   cohérence visuelle parfaite avec le reste du site.
   
   À placer dans : /css/article-combien-kilos.css
   ============================================================ */


/* -----------------------------------------------------------
   1. Bloc statistiques d'ouverture (3 chiffres-clés)
   ----------------------------------------------------------- */
.key-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(74, 103, 65, 0.06), rgba(74, 103, 65, 0.02));
  border: 1px solid rgba(74, 103, 65, 0.15);
  border-radius: 12px;
}

.key-stats .stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.5rem;
}

.key-stats .stat-block + .stat-block {
  border-left: 1px solid rgba(74, 103, 65, 0.15);
}

.key-stats .stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1.1;
  color: var(--sage, #4a6741);
  margin-bottom: 0.5rem;
}

.key-stats .stat-label {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #555;
}

.key-stats .stat-label em {
  display: block;
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.25rem;
  font-style: italic;
}


/* -----------------------------------------------------------
   2. Tableau timeline (calendrier mois par mois)
   ----------------------------------------------------------- */
.timeline-table {
  margin: 1.75rem 0;
  border: 1px solid rgba(74, 103, 65, 0.18);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.timeline-table .tl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid rgba(74, 103, 65, 0.08);
  font-size: 1rem;
}

.timeline-table .tl-row:last-child {
  border-bottom: none;
}

.timeline-table .tl-row.tl-head {
  background: var(--sage, #4a6741);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.timeline-table .tl-row.tl-highlight {
  background: rgba(74, 103, 65, 0.07);
  font-weight: 600;
}

.timeline-table .tl-when {
  color: #444;
}

.timeline-table .tl-weight {
  color: var(--sage, #4a6741);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.timeline-table .tl-row.tl-head .tl-when,
.timeline-table .tl-row.tl-head .tl-weight {
  color: #fff;
}


/* -----------------------------------------------------------
   3. Grille des facteurs individuels
   ----------------------------------------------------------- */
.factors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
}

.factors-grid .factor-card {
  padding: 1.25rem 1.25rem;
  background: #fafaf7;
  border: 1px solid rgba(74, 103, 65, 0.12);
  border-left: 3px solid var(--sage, #4a6741);
  border-radius: 6px;
}

.factors-grid .factor-card h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--sage, #4a6741);
}

.factors-grid .factor-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #444;
}


/* -----------------------------------------------------------
   4. Blocs FAQ (questions fréquentes)
   ----------------------------------------------------------- */
.faq-block {
  margin: 1.25rem 0;
  padding: 1.1rem 1.25rem 1.1rem 1.5rem;
  background: #fafaf7;
  border-left: 3px solid var(--sage, #4a6741);
  border-radius: 0 6px 6px 0;
}

.faq-block h3 {
  margin: 0 0 0.6rem 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--sage, #4a6741);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.faq-block p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.6;
  color: #333;
}


/* -----------------------------------------------------------
   5. Note des sources
   ----------------------------------------------------------- */
.sources-note {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  background: #f5f5f0;
  border-radius: 6px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #666;
}

.sources-note strong {
  color: #333;
}

.sources-note a {
  color: var(--sage, #4a6741);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}


/* -----------------------------------------------------------
   6. Responsive — mobile et tablette
   ----------------------------------------------------------- */
@media (max-width: 768px) {

  .key-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem;
  }

  .key-stats .stat-block + .stat-block {
    border-left: none;
    border-top: 1px solid rgba(74, 103, 65, 0.15);
    padding-top: 1.25rem;
  }

  .key-stats .stat-number {
    font-size: 2rem;
  }

  .factors-grid {
    grid-template-columns: 1fr;
  }

  .timeline-table .tl-row {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .timeline-table .tl-row.tl-head {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {

  .key-stats .stat-number {
    font-size: 1.85rem;
  }

  .faq-block {
    padding: 1rem 1rem 1rem 1.15rem;
  }

  .faq-block h3 {
    font-size: 1rem;
  }
}
