/* ══════════════════════════════════════════════
   STELNEO — Accompagnement
   Aligné sur la feuille principale
   v2 — placeholder image phase 02 + icônes défis
══════════════════════════════════════════════ */

/* ── 1. HEADER ────────────────────────────── */
.acc-header {
  background: var(--bleu);
  padding: 140px var(--page-pad) var(--section-pad);
}

.acc-header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.acc-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.8vw, 88px);
  line-height: 0.93;
  letter-spacing: 1px;
  color: var(--beige);
  margin: 18px 0 20px;
}
.acc-title .accent { color: var(--jaune); }

.acc-subtitle {
  max-width: 520px;
  font-size: var(--text-lead);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(244, 238, 223, 0.68);
}

/* Pilules de navigation */
.acc-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.acc-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(244, 238, 223, 0.04);
  border: 1px solid rgba(244, 238, 223, 0.08);
  border-radius: var(--radius);
  text-decoration: none;
  transition:
    background var(--transition-card),
    border-color var(--transition-card),
    transform var(--transition-card),
    box-shadow var(--transition-card);
}
.acc-step:hover {
  background: rgba(246, 193, 60, 0.08);
  border-color: rgba(246, 193, 60, 0.18);
  transform: var(--hover-lift);
  box-shadow: var(--hover-shadow-dark);
}

.acc-step-num {
  min-width: 28px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--jaune);
}

.acc-step-label {
  font-size: var(--text-body);
  font-weight: 300;
  color: rgba(244, 238, 223, 0.72);
}


/* ── 2. PHASES ────────────────────────────── */
.acc-phase {
  padding: var(--section-pad) var(--page-pad);
}
.acc-phase--light { background: var(--beige); }
.acc-phase--dark  { background: var(--bleu); }

.acc-phase-inner {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.acc-phase-label {
  position: sticky;
  top: 96px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.acc-phase-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.84;
  color: var(--jaune);
}
.acc-phase-num.light { color: rgba(246, 193, 60, 0.62); }

.acc-phase-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 0.98;
  letter-spacing: 0.4px;
  color: var(--bleu);
}
.acc-phase-title.light { color: var(--beige); }

.acc-phase-sub {
  margin-top: 8px;
  max-width: 220px;
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.55;
  color: var(--gris);
}
.acc-phase-sub.light { color: rgba(244, 238, 223, 0.48); }

.acc-phase-intro {
  margin-bottom: 32px;
  font-size: var(--text-lead);
  font-weight: 300;
  line-height: 1.8;
  color: var(--gris);
}
.acc-phase-intro.light { color: rgba(244, 238, 223, 0.72); }


/* ────────────────────────────────────────────
   IMAGE PHASE 02 — wrapper image réelle
   Ajouter quand la photo est disponible :
   <figure class="acc-phase-img-wrap">
     <img src="images/acc-atelier.webp"
          alt="..." class="acc-phase-img"
          width="1200" height="675" loading="lazy">
   </figure>
   ──────────────────────────────────────────── */
.acc-phase-img-wrap {
  margin: 0 0 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
}
.acc-phase-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}


/* Liste d'items */
.acc-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.acc-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px;
  background: var(--blanc);
  border: 1px solid rgba(0, 47, 75, 0.07);
  transition:
    border-color var(--transition-card),
    transform var(--transition-card),
    box-shadow var(--transition-card),
    background var(--transition-card);
}
.acc-item:hover {
  transform: var(--hover-lift);
  border-color: rgba(0, 47, 75, 0.14);
  box-shadow: var(--hover-shadow-light);
}

.acc-item--light {
  background: rgba(244, 238, 223, 0.05);
  border-color: rgba(244, 238, 223, 0.08);
}
.acc-item--light:hover {
  background: rgba(246, 193, 60, 0.08);
  border-color: rgba(246, 193, 60, 0.15);
  box-shadow: none;
}

.acc-item-icon {
  width: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  text-align: center;
  font-size: 17px;
  color: var(--jaune);
}
.acc-item-icon.light { color: rgba(246, 193, 60, 0.7); }

.acc-item-title {
  margin-bottom: 8px;
  font-size: var(--text-card-title);
  font-weight: 500;
  color: var(--bleu);
}
.acc-item-title.light { color: var(--beige); }

.acc-item-desc {
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.7;
  color: var(--gris);
}
.acc-item-desc.light { color: rgba(244, 238, 223, 0.64); }


/* ── 3. DÉFIS ─────────────────────────────── */
.acc-defis {
  background: var(--beige);
  padding: var(--section-pad) var(--page-pad);
}

.acc-defis-header { margin-bottom: var(--section-gap); }

.acc-defis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.acc-defi {
  background: var(--blanc);
  border: 1px solid rgba(0, 47, 75, 0.07);
  padding: var(--card-pad);
  transition:
    border-color var(--transition-card),
    transform var(--transition-card),
    box-shadow var(--transition-card);
}
.acc-defi:hover {
  transform: var(--hover-lift);
  border-color: rgba(0, 47, 75, 0.14);
  box-shadow: var(--hover-shadow-light);
}

/* Icône SVG inline — discrète, même taille qu'une puce */
.acc-defi-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 14px;
  color: var(--jaune);
  display: block;
  opacity: 0.9;
  flex-shrink: 0;
}
.acc-defi-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.acc-defi:hover .acc-defi-icon { opacity: 1; }

.acc-defi-label {
  margin-bottom: 12px;
  font-size: var(--text-card-title);
  font-weight: 500;
  color: var(--bleu);
}

.acc-defi-desc {
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.7;
  color: var(--gris);
}


/* ── 4. CTA FINAL ─────────────────────────── */
.acc-cta {
  background: var(--bleu);
  padding: var(--section-pad) var(--page-pad);
  text-align: center;
}

.acc-cta-inner {
  max-width: 620px;
  margin: 0 auto;
}

.acc-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  color: var(--beige);
  margin-bottom: 16px;
}

.acc-cta-inner p {
  font-size: var(--text-lead);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(244, 238, 223, 0.68);
  margin-bottom: 36px;
}

.acc-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ── 5. RESPONSIVE ────────────────────────── */
@media (max-width: 1100px) {
  .acc-defis-grid { grid-template-columns: repeat(2, 1fr); }
  .acc-phase-inner { gap: 56px; }
}

@media (max-width: 900px) {
  .acc-header { padding-top: 110px; padding-bottom: 88px; }

  .acc-header-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .acc-steps {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .acc-step { flex: 1 1 calc(50% - 4px); }

  .acc-phase-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .acc-phase-label {
    position: static;
    align-items: flex-end;
    gap: 14px;
  }
  .acc-phase-sub { max-width: 100%; }
}

@media (max-width: 640px) {
  .acc-header { padding: 96px var(--page-pad) 52px; }

  .acc-phase,
  .acc-defis,
  .acc-cta { padding: 72px var(--page-pad); }

  .acc-steps { flex-direction: column; gap: 8px; }
  .acc-step { flex: none; }

  .acc-phase-num { font-size: 48px; }

  .acc-items { border-radius: var(--radius); }
  .acc-item { padding: 22px 18px; gap: 14px; }

  .acc-defis-grid { grid-template-columns: 1fr; }

  .acc-cta-btns {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto;
  }
  .acc-cta-btns .btn-primary,
  .acc-cta-btns .btn-ghost { text-align: center; }

  .acc-phase-img-placeholder { aspect-ratio: 4 / 3; }
}

@media (max-width: 400px) {
  .acc-title { font-size: 40px; }
  .acc-phase-num { font-size: 40px; }
}