/* ═══════════════════════════════════════════════
   entrepreneuriat.css — Formation entrepreneuriale
═══════════════════════════════════════════════ */

.page-entrepreneuriat {
  background: linear-gradient(180deg, #fdfcfe 0%, #f5f0f8 45%, #f0ebf4 100%);
}

.page-entrepreneuriat .page-hero.ent-hero {
  padding-bottom: 42px;
  background: linear-gradient(135deg, #3d1f47 0%, #5c2d6b 45%, #6b3d7a 100%);
  color: #f3e8f8;
  position: relative;
  overflow: hidden;
}

.page-entrepreneuriat .ent-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle at 20% 30%, #fff 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-entrepreneuriat .ent-hero .container {
  position: relative;
  z-index: 2;
}

.page-entrepreneuriat .ent-hero .breadcrumb {
  color: rgba(243, 232, 248, 0.65);
}

.page-entrepreneuriat .ent-hero .breadcrumb a {
  color: #fbbf24;
}

.page-entrepreneuriat .ent-hero .breadcrumb a:hover {
  color: #fff;
}

.page-entrepreneuriat .ent-hero .eyebrow {
  color: #fcd34d;
  letter-spacing: 0.11em;
  font-weight: 800;
}

.page-entrepreneuriat .ent-hero h1 {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: clamp(1.65rem, 4vw, 2.65rem);
  line-height: 1.12;
  color: #fff;
  max-width: none;
  margin-bottom: 14px;
}

.ent-hero-subtitle {
  margin: 0 0 12px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 600;
  line-height: 1.45;
  color: rgba(254, 243, 199, 0.98);
  max-width: min(42ch, 100%);
}

.page-entrepreneuriat .ent-hero .page-hero-text.ent-hero-meta {
  margin-top: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(243, 232, 248, 0.82);
  max-width: 52ch;
}

.page-entrepreneuriat .ent-hero .page-hero-text {
  font-size: 1.08rem;
  line-height: 1.78;
  color: rgba(243, 232, 248, 0.92);
  max-width: 58ch;
}

.page-entrepreneuriat .ent-hero .page-hero-text strong {
  color: #fff;
}

.ent-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fef3c7;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.45);
}

.ent-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-entrepreneuriat .ent-hero .btn-primary {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #3d1f47;
  border: none;
  font-weight: 800;
}

.page-entrepreneuriat .ent-hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.page-entrepreneuriat .ent-hero .page-hero-bg .hero-blob {
  opacity: 0.28;
}

.ent-sticky-nav {
  position: sticky;
  top: 72px;
  z-index: 18;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e9d5ef;
  box-shadow: 0 4px 20px rgba(61, 31, 71, 0.06);
}

.ent-sticky-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.ent-sticky-inner::-webkit-scrollbar {
  display: none;
}

.ent-sticky-inner a {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e9d5ef;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  color: #6b4c75;
  transition: color 160ms, border-color 160ms, background 160ms;
}

.ent-sticky-inner a:hover,
.ent-sticky-inner a:focus-visible {
  color: #3d1f47;
  border-color: rgba(91, 45, 107, 0.45);
  background: #faf5fc;
}

.ent-section {
  padding: 56px 0 0;
  scroll-margin-top: 124px;
}

.ent-section-heading h2 {
  margin: 0 0 12px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 800;
  color: #3d1f47;
  line-height: 1.12;
}

.ent-section-heading p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.75;
  color: #64748b;
  max-width: 65ch;
}

.ent-intro-panel {
  margin-top: 8px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid #eddaf2;
  box-shadow: var(--shadow-soft);
}

.ent-intro-panel p {
  margin: 0 0 14px;
  font-size: 1.04rem;
  line-height: 1.78;
  color: #334155;
}

.ent-intro-panel p:last-child {
  margin-bottom: 0;
}

.ent-duration-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(91, 45, 107, 0.08), rgba(251, 191, 36, 0.12));
  border: 1px solid #e9d5ef;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #3d1f47;
}

.ent-public-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ent-public-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid #eddaf2;
  box-shadow: var(--shadow-soft);
}

.ent-public-card h3 {
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: #3d1f47;
}

.ent-public-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #64748b;
}

/* ── Barre de progression pédagogique ───────── */
.ent-progress-rail {
  margin: 28px 0 36px;
  padding: 20px 18px 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid #eddaf2;
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ent-progress-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  min-width: min(920px, 100%);
}

.ent-progress-steps li {
  flex: 1;
  min-width: 56px;
  text-align: center;
}

.ent-progress-steps a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  padding: 4px 2px;
  border-radius: 10px;
  transition: background 0.15s;
}

.ent-progress-steps a:hover,
.ent-progress-steps a:focus-visible {
  background: rgba(91, 45, 107, 0.08);
  outline: none;
}

.ent-progress-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, #5c2d6b, #7c3f8f);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(91, 45, 107, 0.35);
  position: relative;
  z-index: 1;
}

.ent-progress-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b4c75;
  line-height: 1.2;
}

/* ── Grille de cartes modules ───────────────── */
.ent-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ent-mod-card {
  scroll-margin-top: 128px;
  padding: 24px 24px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid #eddaf2;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s;
}

.ent-mod-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(61, 31, 71, 0.12);
  border-color: rgba(124, 63, 143, 0.35);
}

.ent-mod-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ent-mod-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  line-height: 1;
  background: linear-gradient(145deg, rgba(91, 45, 107, 0.12), rgba(251, 191, 36, 0.15));
  border: 1px solid rgba(91, 45, 107, 0.15);
  flex-shrink: 0;
}

.ent-mod-icon--lg {
  width: 58px;
  height: 58px;
  font-size: 1.75rem;
  border-radius: 18px;
}

.ent-mod-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5c2d6b;
  background: rgba(91, 45, 107, 0.1);
  border: 1px solid rgba(91, 45, 107, 0.18);
}

.ent-mod-badge--gold {
  color: #78350f;
  background: rgba(251, 191, 36, 0.22);
  border-color: rgba(245, 158, 11, 0.45);
}

.ent-mod-card h3 {
  margin: 0 0 10px;
  font-family: "Outfit", sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  color: #3d1f47;
  line-height: 1.2;
}

.ent-mod-lead {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #64748b;
}

.ent-mod-obj-title {
  margin: 0 0 10px;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5c2d6b;
}

.ent-mod-objectives {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ent-mod-objectives li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
}

.ent-mod-objectives li:last-child {
  margin-bottom: 0;
}

.ent-mod-objectives li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(135deg, #5c2d6b, #9d6bad);
  box-shadow: 0 2px 8px rgba(91, 45, 107, 0.25);
}

.ent-mod-objectives li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(0.42em + 5px);
  width: 6px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-52deg);
}

.ent-mod-objectives--capstone li::before {
  background: linear-gradient(135deg, #d97706, #fbbf24);
}

.ent-mod-crosslink {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid #f3e8ff;
  font-size: 0.86rem;
  color: #64748b;
}

.ent-mod-crosslink a {
  color: #5c2d6b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ent-mod-crosslink a:hover {
  color: #3d1f47;
}

.ent-mod-card--capstone {
  grid-column: 1 / -1;
  border-width: 2px;
  border-color: rgba(251, 191, 36, 0.55);
  background: linear-gradient(165deg, #ffffff 0%, #fffbeb 42%, #ffffff 100%);
  box-shadow: 0 20px 50px rgba(120, 53, 15, 0.08);
}

.ent-mod-card--capstone:hover {
  border-color: rgba(245, 158, 11, 0.75);
}

/* ── Problème / Solution ─────────────────────── */
.ent-split {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 900px) {
  .ent-split--problem {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.ent-section-heading--flush {
  margin-bottom: 0;
}

.ent-problem-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ent-problem-list li {
  position: relative;
  padding: 16px 18px 16px 20px;
  margin-bottom: 10px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid #f1e0f5;
  border-left: 4px solid #b4537a;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
  box-shadow: var(--shadow-soft);
}

.ent-problem-list li:last-child {
  margin-bottom: 0;
}

.ent-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 900px) {
  .ent-solution-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ent-solution-card {
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid #eddaf2;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s, transform 0.2s;
}

.ent-solution-card:hover {
  border-color: rgba(124, 63, 143, 0.4);
  transform: translateY(-2px);
}

.ent-solution-icon {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 12px;
}

.ent-solution-card h3 {
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: #3d1f47;
}

.ent-solution-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.62;
  color: #64748b;
}

.ent-duration-pill--center {
  display: flex;
  justify-content: center;
  margin: 28px auto 0;
  width: fit-content;
  max-width: 100%;
}

/* ── Ce que vous allez apprendre ────────────── */
.ent-learn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .ent-learn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ent-learn-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.ent-learn-card {
  padding: 22px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #faf5fc 100%);
  border: 1px solid #eddaf2;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.ent-learn-card:hover {
  box-shadow: 0 16px 40px rgba(61, 31, 71, 0.1);
  transform: translateY(-2px);
}

.ent-learn-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
}

.ent-learn-card h3 {
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: #3d1f47;
}

.ent-learn-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.58;
  color: #64748b;
}

.ent-public-grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 560px) {
  .ent-public-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ── Résultats attendus ─────────────────────── */
.ent-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 560px) {
  .ent-results-grid {
    grid-template-columns: 1fr;
  }
}

.ent-result-card {
  position: relative;
  padding: 22px 22px 22px 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid #eddaf2;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.ent-result-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #fbbf24, #5c2d6b);
}

.ent-result-num {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #9d6bad;
  margin-bottom: 8px;
}

.ent-result-card h3 {
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: #3d1f47;
}

.ent-result-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: #64748b;
}

/* ── Témoignages ────────────────────────────── */
.ent-testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .ent-testimonials {
    grid-template-columns: 1fr;
  }
}

.ent-testimonial {
  margin: 0;
  padding: 22px 22px 20px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px dashed #d8b4e2;
}

.ent-testimonial blockquote {
  margin: 0 0 14px;
  padding: 0;
}

.ent-testimonial blockquote p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: #475569;
  font-style: italic;
}

.ent-testimonial figcaption {
  font-size: 0.88rem;
  color: #3d1f47;
}

.ent-testimonial-role {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  font-style: normal;
}

/* ── CTA final conversion ───────────────────── */
.ent-final-cta {
  padding: 56px 0 72px;
  scroll-margin-top: 120px;
}

.ent-final-cta-inner {
  padding: 36px 32px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #2d1a35 0%, #5c2d6b 48%, #3d1f47 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 28px 60px rgba(45, 26, 53, 0.35);
  text-align: center;
}

.ent-final-cta-copy .eyebrow {
  color: #fcd34d;
}

.ent-final-cta-copy h2 {
  margin: 0 0 14px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}

.ent-final-cta-copy p {
  margin: 0 auto;
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(243, 232, 248, 0.9);
}

.ent-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.ent-final-btn.btn-primary {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #3d1f47;
  border: none;
  font-weight: 800;
  min-height: 52px;
  padding-left: 24px;
  padding-right: 24px;
}

.ent-final-btn.btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  min-height: 52px;
}

.ent-final-btn.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.ent-final-cta-foot {
  margin: 22px 0 0;
  font-size: 0.9rem;
}

.ent-final-cta-foot a {
  color: #fcd34d;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ent-final-cta-foot a:hover {
  color: #fff;
}

.ent-cta-band {
  margin-top: 48px;
}

@media (max-width: 900px) {
  .ent-public-grid {
    grid-template-columns: 1fr;
  }

  .ent-modules-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ent-sticky-nav {
    top: 60px;
  }
}
