/* =====================================================================
   SECTIONS - en-têtes communs et apparition au défilement
   ===================================================================== */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem clamp(1rem, 4vw, 2rem);
  scroll-margin-top: 2rem;
}

.section-entete { text-align: center; margin-bottom: 4rem; }

.section-etape {
  margin: 0 0 0.6rem;
  font-family: var(--police-titre);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-etape::before, .section-etape::after { content: " ✦ "; opacity: 0.6; }

.section-titre {
  margin: 0;
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.15;
}

.section-intro { margin: 1rem auto 0; max-width: 560px; color: var(--texte-doux); }

/* ---------- Apparition au défilement ---------- */
html.js .apparition {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

html.js .apparition.visible { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .section { padding: 5rem 1rem; }
  .section-entete { margin-bottom: 3rem; }
}
