/* comment_ca_marche.css */
.section { padding: 64px 0; }
.section.alt { background: var(--white); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.section-title { text-align: center; margin-bottom: 40px; }
.eyebrow { display: inline-block; font-size: 11.5px; letter-spacing: 1px; color: var(--terracotta-text); margin-bottom: 10px; font-weight: 500; }
.section-title h2, .feature-text h2 { font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 600; color: var(--deep); line-height: 1.25; }

.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps-row.publish { grid-template-columns: repeat(4, 1fr); }
.step-card { background: var(--white); border: 0.5px solid var(--border); border-radius: 14px; padding: 26px; }
.section.alt .step-card { background: var(--cream); }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--terracotta-light); color: var(--terracotta-text); font-weight: 600; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step-card h3 { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; color: var(--deep); margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--text-body); line-height: 1.6; }

.feature-row { display: flex; align-items: center; gap: 56px; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text h2 { margin-bottom: 14px; }
.feature-text p { font-size: 14.5px; color: var(--text-body); line-height: 1.65; margin-bottom: 18px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-dark); }
.check { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: var(--sage-light); color: var(--sage-text); align-items: center; justify-content: center; font-size: 11px; margin-right: 8px; }

.feature-visual { flex: 1; background: var(--cream); border: 0.5px solid var(--border); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.section.alt .feature-visual { background: var(--cream); }
.filter-demo { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.filter-demo span { font-size: 12px; padding: 6px 14px; border-radius: 16px; background: var(--white); border: 1px solid var(--border); }
.filter-demo span.active { background: var(--deep); color: var(--white); border-color: var(--deep); }
.mini-card { display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 12px; padding: 12px 14px; border: 0.5px solid var(--border); flex-wrap: wrap; }
.mini-badge { font-size: 9px; font-weight: 500; padding: 3px 9px; border-radius: 10px; background: var(--terracotta-light); color: var(--terracotta-text); }
.mini-avatar { width: 28px; height: 28px; border-radius: 8px; background: var(--sage); color: var(--white); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.mini-title { font-size: 13px; color: var(--deep); }

.form-demo .demo-label { font-size: 11.5px; color: var(--text-muted); }
.form-demo .field { height: 38px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; width: 100%; }
.form-demo .field.tall { height: 84px; }
.toggle-row { font-size: 12.5px; color: var(--text-body); display: flex; align-items: center; gap: 8px; }
.btn-mini { align-self: flex-start; background: var(--terracotta); color: var(--white); font-size: 12.5px; padding: 8px 20px; border-radius: 10px; }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border: 0.5px solid var(--border); border-radius: 14px; padding: 22px 24px; }
.faq-item h3 { font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 600; color: var(--deep); margin-bottom: 6px; }
.faq-item p { font-size: 13.5px; color: var(--text-body); line-height: 1.6; }

@media (max-width: 860px) {
  .section { padding: 44px 0; }
  .section-title h2, .feature-text h2 { font-size: 24px; }
  .steps-row, .steps-row.publish { grid-template-columns: 1fr; }
  /* Colonne + stretch : sinon les blocs se rétrécissent au centre */
  .feature-row, .feature-row.reverse { flex-direction: column; align-items: stretch; gap: 28px; }
  .feature-visual { padding: 20px; }
}

/* ---------- Survols : toutes les sections sauf « Questions fréquentes » ---------- */
.section .step-card, .section .feature-visual, .section .mini-card, .section .feature-list li, .section .filter-demo span,
.section .form-demo .field, .section .btn-mini, .section .step-num, .section .check {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease, color .25s ease;
}
/* Cartes d'étapes (« Filtrez / Lisez / Échangez » et « Créez un compte… ») */
.section .step-card:hover { transform: translateY(-6px); border-color: #C9C4F7; box-shadow: 0 18px 38px rgba(91, 77, 245, .16); }
.section .step-card:hover .step-num { background: var(--terracotta); color: var(--white); transform: scale(1.12) rotate(-6deg); }
.section .step-card:hover h3 { color: var(--terracotta-text); }
/* Blocs « fonctionnalité » : texte + visuel */
.section .feature-list li:hover { transform: translateX(6px); }
.section .feature-list li:hover .check { transform: scale(1.25); }
.section .feature-visual:hover { transform: translateY(-4px); border-color: #C9C4F7; box-shadow: 0 18px 38px rgba(91, 77, 245, .14); }
.section .mini-card:hover { transform: translateX(6px); border-color: #C9C4F7; box-shadow: 0 8px 20px rgba(91, 77, 245, .14); }
.section .filter-demo span:not(.active):hover { background: #F3F2FF; border-color: #C9C4F7; color: var(--terracotta-text); transform: translateY(-2px); }
.section .form-demo .field:hover { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(91, 77, 245, .12); }
.section .form-demo .btn-mini:hover { transform: scale(1.08); box-shadow: 0 8px 18px rgba(91, 77, 245, .35); }
/* Bandeau final */
.cta-band .btn-light { transition: transform .25s ease, box-shadow .25s ease; }
.cta-band .btn-light:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 30px rgba(20, 18, 58, .28); }
@media (prefers-reduced-motion: reduce) { .section .step-card:hover, .section .feature-visual:hover, .section .feature-list li:hover, .section .mini-card:hover, .cta-band .btn-light:hover { transform: none; } }
