/* =====================================================
   COMMENT.CSS — Page-specific styles for Comment ça marche
   Loaded by: comment.html
   Relies on: global.css, components.css (pg-banner-lum, lum-*, btn-glow, glass)
   ===================================================== */

/* ========== FEATURE: Steps Overview Row ========== */
/* Description: Three glass cards with numbered glow nodes and connecting line */
.steps-lum {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 52px;
  position: relative;
}
/* Horizontal connector line between the three step nodes (hidden on mobile) */
.steps-lum::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(217,199,184,.3));
  pointer-events: none;
}

/* Individual step card */
.step-lum { padding: 32px 24px; text-align: center; }

/* Numbered circle node with glow box-shadow */
.step-lum-node {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #EDE3DA;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: none;
  font-family: var(--heading);
  font-size: 22px;
  font-style: italic;
  color: #111111;
}
.step-lum h3 { font-family: var(--heading); font-size: 22px; margin-bottom: 8px; }
.step-lum p { font-size: 14px; color: rgba(17,17,17,.75); line-height: 1.75; }

/* ========== FEATURE: Step Detail Sections (alternating layout) ========== */
/* Description: Each step gets a full-width 2-col section with photo + content.
   .flip reverses the column order via RTL direction trick */
.detail-lum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
  align-items: center;
}
/* Reverse layout for even steps using RTL direction trick */
.detail-lum.flip { direction: rtl; }
.detail-lum.flip > * { direction: ltr; }

/* Photo block placeholder */
.detail-lum-photo {
  min-height: 320px;
  background: linear-gradient(135deg, #EDE3DA, #E0D3C6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(17,17,17,.2);
  position: relative;
  overflow: hidden;
}
.detail-lum-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(217,199,184,.4), transparent 60%);
}

/* Text content area */
.detail-lum-body { padding: 8px 4px; }

/* Large decorative step number (100px, very low opacity) */
.detail-lum-num {
  font-family: var(--heading);
  font-size: 100px;
  color: rgba(0,0,0,.05);
  line-height: 1;
  margin-bottom: -12px;
}
.detail-lum-body h3 { font-family: var(--heading); font-size: 36px; margin-bottom: 12px; line-height: 1.2; }
.detail-lum-body h3 em { font-style: italic; color: #111111; }
.detail-lum-body p { font-size: 14px; color: rgba(17,17,17,.8); line-height: 1.85; margin-bottom: 16px; }

/* Feature bullet list with rose-gold diamond markers */
.detail-lum-list { list-style: none; }
.detail-lum-list li {
  font-size: 13px;
  color: rgba(17,17,17,.82);
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.detail-lum-list li::before {
  content: '◆';
  color: #111111;
  font-size: 7px;
  flex-shrink: 0;
}
.detail-lum-list li:last-child { border: none; }

/* ========== FEATURE: Stats Grid ========== */
/* Description: Four glass tiles with count-up numbers (same pattern as a-propos) */
.stats-lum {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}
.stat-lum { padding: 28px; text-align: center; }
.stat-lum-num {
  font-family: var(--heading);
  font-size: 48px;
  color: #111111;
  line-height: 1;
  text-shadow: none;
}
.stat-lum-label {
  font-size: 11px;
  color: rgba(17,17,17,.65);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
}

/* ========== RESPONSIVE ========== */
@media(max-width: 1024px) {
  .steps-lum { grid-template-columns: 1fr; }
  .steps-lum::before { display: none; }
  /* Disable flip on small screens — stack vertically */
  .detail-lum { grid-template-columns: 1fr; direction: ltr !important; }
  .detail-lum.flip { direction: ltr; }
  .stats-lum { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
  .stats-lum { grid-template-columns: 1fr 1fr; }
}
