/*
 * Catalogue de Formations
 * Style: Hero Section + overrides
 * (Filters + Grid + Cards use formations-redesign.css fr-* classes)
 */

/* ── Base ── */
.sp-fc-main {
  background: #ffffff;
  color: #0a0a0a;
  font-family: "Inter", "Plus Jakarta Sans", sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════════════════════ */
.sp-fc-hero {
  position: relative;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

/* Background */
.sp-fc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sp-fc-hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 70% 30%,
      rgba(124, 58, 237, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 30% 70%,
      rgba(59, 130, 246, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(139, 92, 246, 0.04) 0%,
      transparent 60%
    );
}

.sp-fc-hero-bg-building {
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(248, 249, 255, 0.6) 100%
  );
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 10% 100%);
  opacity: 0.4;
}

/* Shell */
.sp-fc-hero-shell {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 3rem 0.5rem;
}

/* Layout */
.sp-fc-hero-layout {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

/* Left: Content */
.sp-fc-hero-content {
  flex: 0 0 48%;
  max-width: 540px;
  padding-top: 1rem;
}

/* Breadcrumb */
.sp-fc-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: #64748b;
}

.sp-fc-hero-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

.sp-fc-hero-breadcrumb a:hover {
  color: #7c3aed;
  text-decoration: underline;
}

.sp-fc-hero-breadcrumb .sp-fc-hero-breadcrumb-link {
  color: #475569;
}

.sp-fc-hero-breadcrumb-sep {
  color: #94a3b8;
  font-size: 0.7rem;
}

.sp-fc-hero-breadcrumb-current {
  color: #334155;
  font-weight: 500;
}

/* Title */
.sp-fc-hero-title {
  margin: 0 0 1rem;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.sp-fc-hero-title-accent {
  display: block;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Description */
.sp-fc-hero-desc {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #64748b;
  max-width: 500px;
}

/* Search */
.sp-fc-hero-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

.sp-fc-hero-search:focus-within {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow:
    0 4px 30px rgba(124, 58, 237, 0.18),
    0 0 0 1px rgba(124, 58, 237, 0.08);
}

.sp-fc-hero-search-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sp-fc-hero-search-input .ph {
  font-size: 1.1rem;
  color: #94a3b8;
}

.sp-fc-hero-search-input input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.92rem;
  color: #334155;
  outline: none;
}

.sp-fc-hero-search-input input::placeholder {
  color: #94a3b8;
}

.sp-fc-hero-search-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.sp-fc-hero-search-btn:hover {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  transform: scale(1.08);
  box-shadow: 0 6px 30px rgba(124, 58, 237, 0.4);
}

.sp-fc-hero-search-btn .ph {
  font-size: 1.1rem;
  color: #fff;
}

/* ── Hero Info Banner (replaces popular searches) ── */
.sp-fc-hero-info-shell {
  width: 100%;
}

.sp-fc-hero-info-banner-wrap {
  width: 100%;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  border-radius: 21px;
  padding: 4px;
  opacity: 0.85;
}

.sp-fc-hero-info-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 17px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.sp-fc-hero-info-banner-glow {
  position: absolute;
  top: -60%;
  left: 15%;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: spFcInfoBannerGlow 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes spFcInfoBannerGlow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(20px, -8px) scale(1.25);
    opacity: 1;
  }
}

.sp-fc-hero-info-banner-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: spFcInfoBannerScroll 30s linear infinite;
  padding: 0 1rem;
  flex-shrink: 0;
}

.sp-fc-hero-info-banner:hover .sp-fc-hero-info-banner-track {
  animation-play-state: paused;
}

@keyframes spFcInfoBannerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.sp-fc-hero-info-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.sp-fc-hero-info-num {
  font-family: "Outfit", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.sp-fc-hero-info-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.sp-fc-hero-info-text strong {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.sp-fc-hero-info-text span {
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 400;
}

.sp-fc-hero-info-item--highlight {
  position: relative;
  padding-left: 0.65rem;
}

.sp-fc-hero-info-item--highlight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5px;
  height: 60%;
  background: linear-gradient(180deg, #7c3aed, #3b82f6);
  border-radius: 2px;
}

.sp-fc-hero-info-item--highlight .sp-fc-hero-info-text strong {
  background: linear-gradient(90deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Right: Visual */
.sp-fc-hero-visual {
  flex: 0 0 48%;
  position: relative;
  min-height: 380px;
}

/* Image Wrapper */
.sp-fc-hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sp-fc-hero-image-circle {
  position: absolute;
  bottom: 35%;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.06) 0%,
    rgba(59, 130, 246, 0.04) 100%
  );
  border: 1px solid rgba(124, 58, 237, 0.08);
  overflow: hidden;
}

.sp-fc-hero-image-circle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.sp-fc-hero-image {
  position: relative;
  z-index: 2;
  width: 420px;
  height: auto;
  margin-top: 30px;
  object-fit: cover;
  object-position: top center;
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 50%,
    transparent 65%
  );
  mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 65%);
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
}

/* Floating Cards */
.sp-fc-hero-float {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  z-index: 10;
  animation: spFcFloat 4s ease-in-out infinite;
}

.sp-fc-hero-float-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.sp-fc-hero-float-label {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.3;
}

.sp-fc-hero-float--formations {
  top: 18%;
  left: -2%;
  animation-delay: 0s;
}

.sp-fc-hero-float--universities {
  top: 28%;
  right: -2%;
  animation-delay: 1.3s;
}

.sp-fc-hero-float--satisfaction {
  bottom: 40%;
  right: 2%;
  animation-delay: 2.6s;
}

@keyframes spFcFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Floating Icons */
.sp-fc-hero-icon {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  animation: spFcFloat 4s ease-in-out infinite;
}

.sp-fc-hero-icon .ph {
  font-size: 1.2rem;
}

.sp-fc-hero-icon--grad {
  top: 8%;
  right: 8%;
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  animation-delay: 0.6s;
}

.sp-fc-hero-icon--book {
  top: 52%;
  left: 5%;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  animation-delay: 1.8s;
}

.sp-fc-hero-icon--chat {
  bottom: 34%;
  right: 10%;
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
  animation-delay: 3s;
}

/* ── Hero background orbs ── */
.sp-fc-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.sp-fc-hero-orb--1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.35) 0%,
    rgba(139, 92, 246, 0.15) 30%,
    transparent 70%
  );
  animation: sp-fc-hero-orb-morph-1 10s ease-in-out infinite alternate;
  filter: blur(1px);
}

.sp-fc-hero-orb--2 {
  width: 350px;
  height: 350px;
  bottom: -80px;
  left: -60px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.3) 0%,
    rgba(96, 165, 250, 0.12) 35%,
    transparent 70%
  );
  animation: sp-fc-hero-orb-morph-2 8s ease-in-out infinite alternate-reverse;
  filter: blur(1px);
}

.sp-fc-hero-orb--3 {
  width: 250px;
  height: 250px;
  top: 30%;
  left: 25%;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.25) 0%,
    rgba(167, 139, 250, 0.1) 40%,
    transparent 70%
  );
  animation: sp-fc-hero-orb-morph-3 7s ease-in-out infinite;
  filter: blur(2px);
}

.sp-fc-hero-orb--4 {
  width: 160px;
  height: 160px;
  top: 10%;
  left: 50%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.3) 0%,
    rgba(129, 140, 248, 0.12) 40%,
    transparent 70%
  );
  animation: sp-fc-hero-orb-float 5s ease-in-out infinite alternate;
  filter: blur(1px);
}

/* ── Hero background shapes ── */
.sp-fc-hero-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.sp-fc-hero-shape--1 {
  width: 80px;
  height: 80px;
  top: 18%;
  right: 32%;
  border: 2px solid rgba(124, 58, 237, 0.2);
  border-radius: 14px;
  transform: rotate(45deg);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.06);
  animation:
    sp-fc-hero-shape-spin 16s linear infinite,
    sp-fc-hero-shape-bob 5s ease-in-out infinite;
}

.sp-fc-hero-shape--2 {
  width: 50px;
  height: 50px;
  bottom: 20%;
  left: 18%;
  border: 2px solid rgba(59, 130, 246, 0.2);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.05);
  animation:
    sp-fc-hero-shape-spin 12s linear infinite reverse,
    sp-fc-hero-shape-fade 5s ease-in-out infinite;
}

.sp-fc-hero-shape--3 {
  width: 60px;
  height: 60px;
  top: 55%;
  right: 18%;
  border: 2px solid rgba(139, 92, 246, 0.15);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.04);
  animation:
    sp-fc-hero-shape-spin 22s linear infinite,
    sp-fc-hero-shape-fade 6s ease-in-out infinite 1s;
}

.sp-fc-hero-shape--4 {
  width: 40px;
  height: 40px;
  top: 30%;
  left: 8%;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 8px;
  transform: rotate(30deg);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.03);
  animation:
    sp-fc-hero-shape-spin 14s linear infinite reverse,
    sp-fc-hero-shape-bob 7s ease-in-out infinite 2s;
}

/* ── Hero particles ── */
.sp-fc-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sp-fc-hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.35);
  box-shadow: 0 0 6px rgba(124, 58, 237, 0.15);
  animation: sp-fc-hero-particle-rise linear infinite;
}

.sp-fc-hero-particle:nth-child(1) {
  left: 5%;
  width: 4px;
  height: 4px;
  animation-duration: 9s;
  animation-delay: 0s;
}
.sp-fc-hero-particle:nth-child(2) {
  left: 15%;
  width: 5px;
  height: 5px;
  animation-duration: 6s;
  animation-delay: 1s;
  opacity: 0.5;
}
.sp-fc-hero-particle:nth-child(3) {
  left: 28%;
  width: 3px;
  height: 3px;
  animation-duration: 11s;
  animation-delay: 2s;
}
.sp-fc-hero-particle:nth-child(4) {
  left: 42%;
  width: 4px;
  height: 4px;
  animation-duration: 7s;
  animation-delay: 0.5s;
}
.sp-fc-hero-particle:nth-child(5) {
  left: 55%;
  width: 6px;
  height: 6px;
  animation-duration: 10s;
  animation-delay: 2.5s;
  opacity: 0.6;
}
.sp-fc-hero-particle:nth-child(6) {
  left: 68%;
  width: 3px;
  height: 3px;
  animation-duration: 8s;
  animation-delay: 1.5s;
}
.sp-fc-hero-particle:nth-child(7) {
  left: 80%;
  width: 4px;
  height: 4px;
  animation-duration: 5.5s;
  animation-delay: 3.5s;
  opacity: 0.4;
}
.sp-fc-hero-particle:nth-child(8) {
  left: 92%;
  width: 5px;
  height: 5px;
  animation-duration: 9.5s;
  animation-delay: 0.8s;
}

/* ── Hero glow ring ── */
.sp-fc-hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 35%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(124, 58, 237, 0.1);
  box-shadow:
    0 0 80px rgba(124, 58, 237, 0.06),
    inset 0 0 80px rgba(124, 58, 237, 0.04),
    0 0 0 1px rgba(139, 92, 246, 0.03);
  animation: sp-fc-hero-glow-pulse 6s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.sp-fc-hero-glow::before {
  content: "";
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.06);
  animation: sp-fc-hero-glow-pulse 6s ease-in-out infinite 1.5s;
}

.sp-fc-hero-glow::after {
  content: "";
  position: absolute;
  inset: 90px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.04);
  animation: sp-fc-hero-glow-pulse 6s ease-in-out infinite 3s;
}

/* ── Hero enhanced effects ── */
.sp-fc-hero-title-accent {
  position: relative;
  z-index: 1;
}

.sp-fc-hero-title-accent::after {
  content: "";
  position: absolute;
  inset: -4px -8px;
  border-radius: 8px;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(124, 58, 237, 0.08) 0%,
    transparent 70%
  );
  z-index: -1;
  animation: sp-fc-hero-glow-text 4s ease-in-out infinite alternate;
}

.sp-fc-hero-image-circle {
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.08),
    0 0 40px rgba(124, 58, 237, 0.04);
  animation: sp-fc-hero-circle-pulse 6s ease-in-out infinite;
}

.sp-fc-hero-float {
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(124, 58, 237, 0.06);
  animation: spFcFloat 4s ease-in-out infinite;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sp-fc-hero-float:hover {
  transform: translateY(-14px) scale(1.04);
  box-shadow: 0 16px 48px rgba(124, 58, 237, 0.18);
  border-color: rgba(124, 58, 237, 0.25);
}

.sp-fc-hero-icon {
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sp-fc-hero-icon:hover {
  transform: scale(1.2) rotate(-8deg);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.2);
}

/* ── Hero animations ── */
@keyframes sp-fc-hero-orb-morph-1 {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 50%;
  }
  25% {
    transform: translate(25px, -25px) scale(1.12);
    border-radius: 40% 60% 50% 50%;
  }
  50% {
    transform: translate(-15px, 15px) scale(0.92);
    border-radius: 55% 45% 60% 40%;
  }
  75% {
    transform: translate(10px, -10px) scale(1.06);
    border-radius: 45% 55% 40% 60%;
  }
  100% {
    transform: translate(-20px, 5px) scale(1.02);
    border-radius: 50%;
  }
}

@keyframes sp-fc-hero-orb-morph-2 {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 50%;
  }
  33% {
    transform: translate(-30px, 20px) scale(1.15);
    border-radius: 35% 65% 55% 45%;
  }
  66% {
    transform: translate(20px, -15px) scale(0.88);
    border-radius: 55% 45% 40% 60%;
  }
  100% {
    transform: translate(-10px, 10px) scale(1);
    border-radius: 50%;
  }
}

@keyframes sp-fc-hero-orb-morph-3 {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.3;
  }
  33% {
    transform: scale(1.2) rotate(3deg);
    opacity: 0.7;
  }
  66% {
    transform: scale(0.9) rotate(-2deg);
    opacity: 0.5;
  }
}

@keyframes sp-fc-hero-orb-float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(15px, -10px) scale(1.1);
  }
}

@keyframes sp-fc-hero-shape-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes sp-fc-hero-shape-bob {
  0%,
  100% {
    transform: rotate(45deg) translateY(0) scale(1);
  }
  50% {
    transform: rotate(45deg) translateY(-10px) scale(1.05);
  }
}

@keyframes sp-fc-hero-shape-fade {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes sp-fc-hero-particle-rise {
  0% {
    bottom: -5%;
    opacity: 0;
    transform: translateX(0) scale(0.5);
  }
  15% {
    opacity: 0.8;
    transform: translateX(5px) scale(1);
  }
  50% {
    transform: translateX(-5px) scale(1.1);
  }
  85% {
    opacity: 0.8;
    transform: translateX(8px) scale(1);
  }
  100% {
    bottom: 105%;
    opacity: 0;
    transform: translateX(-10px) scale(0.3);
  }
}

@keyframes sp-fc-hero-glow-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 0.8;
  }
}

@keyframes sp-fc-hero-glow-text {
  0% {
    opacity: 0.3;
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    filter: blur(8px);
  }
}

@keyframes sp-fc-hero-circle-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(124, 58, 237, 0.1),
      0 0 50px rgba(124, 58, 237, 0.06);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(124, 58, 237, 0.18),
      0 0 80px rgba(124, 58, 237, 0.12);
  }
}

/* ═══════════════════════════════════════════════════════════
   Affinez votre recherche (Filtres)
   ═══════════════════════════════════════════════════════════ */
.sp-fc-filters-section {
  padding: 2rem 2rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Background elements */
.sp-fc-filters-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.sp-fc-filters-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.sp-fc-filters-orb--1 {
  width: 450px;
  height: 450px;
  top: -140px;
  left: -80px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.15) 0%,
    rgba(139, 92, 246, 0.06) 35%,
    transparent 70%
  );
  animation: sp-fc-fl-orb-1 10s ease-in-out infinite alternate;
  filter: blur(1px);
}

.sp-fc-filters-orb--2 {
  width: 320px;
  height: 320px;
  bottom: -100px;
  right: -50px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.12) 0%,
    rgba(96, 165, 250, 0.05) 35%,
    transparent 70%
  );
  animation: sp-fc-fl-orb-2 8s ease-in-out infinite alternate-reverse;
  filter: blur(1px);
}

.sp-fc-filters-orb--3 {
  width: 220px;
  height: 220px;
  top: 35%;
  right: 18%;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(167, 139, 250, 0.04) 40%,
    transparent 70%
  );
  animation: sp-fc-fl-orb-3 7s ease-in-out infinite;
  filter: blur(1px);
}

.sp-fc-filters-orb--4 {
  width: 140px;
  height: 140px;
  bottom: 20%;
  left: 12%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(129, 140, 248, 0.04) 40%,
    transparent 70%
  );
  animation: sp-fc-fl-orb-4 5s ease-in-out infinite alternate;
  filter: blur(1px);
}

.sp-fc-filters-orb--5 {
  width: 80px;
  height: 80px;
  top: 18%;
  left: 32%;
  background: radial-gradient(
    circle,
    rgba(192, 132, 252, 0.08) 0%,
    transparent 70%
  );
  animation: sp-fc-fl-orb-5 4s ease-in-out infinite alternate-reverse;
}

/* Geometric shapes */
.sp-fc-filters-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.sp-fc-filters-shape--1 {
  width: 50px;
  height: 50px;
  top: 12%;
  right: 32%;
  border: 2px solid rgba(124, 58, 237, 0.13);
  border-radius: 10px;
  transform: rotate(45deg);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.03);
  animation:
    sp-fc-fl-shape-spin 16s linear infinite,
    sp-fc-fl-shape-bob 6s ease-in-out infinite;
}

.sp-fc-filters-shape--2 {
  width: 34px;
  height: 34px;
  bottom: 18%;
  left: 22%;
  border: 2px solid rgba(59, 130, 246, 0.1);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.02);
  animation:
    sp-fc-fl-shape-spin 12s linear infinite reverse,
    sp-fc-fl-shape-fade 5s ease-in-out infinite;
}

.sp-fc-filters-shape--3 {
  width: 42px;
  height: 42px;
  top: 52%;
  left: 7%;
  border: 2px solid rgba(139, 92, 246, 0.1);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.02);
  animation:
    sp-fc-fl-shape-spin 22s linear infinite,
    sp-fc-fl-shape-fade 7s ease-in-out infinite 1s;
}

.sp-fc-filters-shape--4 {
  width: 28px;
  height: 28px;
  top: 28%;
  right: 12%;
  background: rgba(124, 58, 237, 0.07);
  border-radius: 6px;
  transform: rotate(25deg);
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.02);
  animation:
    sp-fc-fl-shape-spin 14s linear infinite reverse,
    sp-fc-fl-shape-bob 7s ease-in-out infinite 2s;
}

/* Particle dots */
.sp-fc-filters-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sp-fc-filters-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.25);
  box-shadow: 0 0 4px rgba(124, 58, 237, 0.08);
  animation: sp-fc-fl-particle-rise linear infinite;
}

.sp-fc-filters-particle:nth-child(1) {
  left: 8%;
  width: 4px;
  height: 4px;
  animation-duration: 10s;
  animation-delay: 0s;
}
.sp-fc-filters-particle:nth-child(2) {
  left: 22%;
  width: 5px;
  height: 5px;
  animation-duration: 6s;
  animation-delay: 1s;
  opacity: 0.5;
}
.sp-fc-filters-particle:nth-child(3) {
  left: 38%;
  width: 3px;
  height: 3px;
  animation-duration: 12s;
  animation-delay: 2.5s;
}
.sp-fc-filters-particle:nth-child(4) {
  left: 52%;
  width: 4px;
  height: 4px;
  animation-duration: 7s;
  animation-delay: 0.5s;
}
.sp-fc-filters-particle:nth-child(5) {
  left: 65%;
  width: 5px;
  height: 5px;
  animation-duration: 9s;
  animation-delay: 2s;
  opacity: 0.4;
}
.sp-fc-filters-particle:nth-child(6) {
  left: 78%;
  width: 3px;
  height: 3px;
  animation-duration: 8s;
  animation-delay: 3.5s;
}
.sp-fc-filters-particle:nth-child(7) {
  left: 88%;
  width: 4px;
  height: 4px;
  animation-duration: 5.5s;
  animation-delay: 1s;
}
.sp-fc-filters-particle:nth-child(8) {
  left: 96%;
  width: 5px;
  height: 5px;
  animation-duration: 9.5s;
  animation-delay: 3s;
  opacity: 0.6;
}

/* Glow ring */
.sp-fc-filters-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(124, 58, 237, 0.06);
  box-shadow:
    0 0 50px rgba(124, 58, 237, 0.03),
    inset 0 0 50px rgba(124, 58, 237, 0.02);
  animation: sp-fc-fl-glow-pulse 7s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.sp-fc-filters-glow::before {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.04);
  animation: sp-fc-fl-glow-pulse 7s ease-in-out infinite 1.5s;
}

.sp-fc-filters-glow::after {
  content: "";
  position: absolute;
  inset: 70px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.03);
  animation: sp-fc-fl-glow-pulse 7s ease-in-out infinite 3s;
}

/* Animations */
@keyframes sp-fc-fl-orb-1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(20px, -15px) scale(1.05);
  }
}

@keyframes sp-fc-fl-orb-2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-15px, 10px) scale(1.08);
  }
}

@keyframes sp-fc-fl-orb-3 {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.6;
  }
}

@keyframes sp-fc-fl-orb-4 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(10px, -8px) scale(1.1);
  }
}

@keyframes sp-fc-fl-orb-5 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-8px, 6px) scale(1.12);
  }
}

@keyframes sp-fc-fl-shape-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes sp-fc-fl-shape-bob {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(-8px);
  }
}

@keyframes sp-fc-fl-shape-fade {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes sp-fc-fl-particle-rise {
  0% {
    bottom: -5%;
    opacity: 0;
  }
  15% {
    opacity: 0.5;
  }
  85% {
    opacity: 0.5;
  }
  100% {
    bottom: 105%;
    opacity: 0;
  }
}

@keyframes sp-fc-fl-glow-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 0.6;
  }
}

.sp-fc-filters-shell {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sp-fc-filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.sp-fc-filters-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.sp-fc-filters-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7c3aed;
  cursor: pointer;
  transition: color 0.2s;
}

.sp-fc-filters-reset:hover {
  color: #6d28d9;
}

.sp-fc-filters-reset .ph {
  font-size: 1rem;
}

.sp-fc-filters-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem 1.5rem;
}

/* Filter Row */
.sp-fc-filter-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.sp-fc-filter-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.sp-fc-filter-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Chips */
.sp-fc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sp-fc-chip:hover {
  border-color: rgba(124, 58, 237, 0.3);
  color: #7c3aed;
  background: #faf5ff;
}

.sp-fc-chip--active {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
}

.sp-fc-chip--active:hover {
  background: #6d28d9;
  color: #fff;
  border-color: #6d28d9;
}

.sp-fc-chip--more {
  background: #f8f9ff;
  border-style: dashed;
  padding: 0.45rem 0.65rem;
}

.sp-fc-chip--more:hover {
  border-style: solid;
}

.sp-fc-chip--more .ph {
  font-size: 0.9rem;
}

.sp-fc-flag {
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════
   Grille de formations
   ═══════════════════════════════════════════════════════════ */
.sp-fc-grid-section {
  padding: 1.5rem 2rem 4rem;
  background: #f8f9ff;
}

.sp-fc-grid-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.sp-fc-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.sp-fc-grid-count {
  font-size: 0.88rem;
  color: #64748b;
}

.sp-fc-grid-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Sort */
.sp-fc-grid-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sp-fc-grid-sort-label {
  font-size: 0.82rem;
  color: #64748b;
}

.sp-fc-grid-sort-select {
  padding: 0.45rem 2rem 0.45rem 0.7rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
}

/* View Toggle */
.sp-fc-grid-view {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.sp-fc-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.sp-fc-view-btn:hover {
  color: #7c3aed;
}

.sp-fc-view-btn--active {
  background: #7c3aed;
  color: #fff;
}

.sp-fc-view-btn .ph {
  font-size: 1rem;
}

/* Grid */
.sp-fc-grid--cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Card */
.sp-fc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.sp-fc-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
  transform: translateY(-3px);
}

/* Card Image */
.sp-fc-card-img {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.sp-fc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-fc-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
}

.sp-fc-badge--purple {
  background: #7c3aed;
}

.sp-fc-badge--green {
  background: #10b981;
}

.sp-fc-badge--blue {
  background: #3b82f6;
}

.sp-fc-badge--orange {
  background: #f97316;
}

.sp-fc-card-heart {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.sp-fc-card-heart:hover {
  background: #7c3aed;
  color: #fff;
}

.sp-fc-card-heart .ph {
  font-size: 0.9rem;
  color: #64748b;
}

.sp-fc-card-heart:hover .ph {
  color: #fff;
}

/* Card Body */
.sp-fc-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem;
}

.sp-fc-card-title {
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-fc-card-university {
  display: block;
  font-size: 0.78rem;
  color: #7c3aed;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

/* Card Meta */
.sp-fc-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.sp-fc-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: #64748b;
}

.sp-fc-card-meta .ph {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Card Footer */
.sp-fc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 0.75rem;
}

.sp-fc-card-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
}

.sp-fc-card-rating .ph-fill {
  color: #f59e0b;
  font-size: 0.9rem;
}

.sp-fc-card-rating-count {
  font-weight: 400;
  color: #94a3b8;
  font-size: 0.75rem;
}

.sp-fc-card-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.sp-fc-card-price--free {
  color: #10b981;
}

/* Card Actions */
.sp-fc-card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.sp-fc-card-link {
  font-size: 0.72rem;
  font-weight: 600;
  color: #7c3aed;
  text-decoration: none;
  transition: color 0.2s;
}

.sp-fc-card-link:hover {
  color: #6d28d9;
}

.sp-fc-card-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  background: #7c3aed;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sp-fc-card-btn:hover {
  background: #6d28d9;
  color: #fff;
}

.sp-fc-card-btn--outline {
  background: transparent;
  border: 1.5px solid #7c3aed;
  color: #7c3aed;
}

.sp-fc-card-btn--outline:hover {
  background: #7c3aed;
  color: #fff;
}

/* Pagination */
.sp-fc-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: #f1f5f9;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.sp-fc-pagination-info {
  font-size: 0.82rem;
  color: #64748b;
}

.sp-fc-pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  padding: 0.35rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sp-fc-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.7rem;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sp-fc-page-btn:hover {
  background: #f1f5f9;
  color: #7c3aed;
}

.sp-fc-page-btn--active {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.sp-fc-page-btn--active:hover {
  background: #6d28d9;
  color: #fff;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.sp-fc-page-btn--next {
  background: transparent;
  border-style: dashed;
  border-color: rgba(0, 0, 0, 0.1);
  color: #64748b;
}

.sp-fc-page-btn--next:hover {
  border-color: #7c3aed;
  color: #7c3aed;
  background: transparent;
}

.sp-fc-page-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 40px;
  font-size: 0.88rem;
  color: #94a3b8;
}

.sp-fc-pagination-perpage {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #64748b;
}

.sp-fc-perpage-select {
  padding: 0.5rem 1.8rem 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  transition: border-color 0.2s;
}

.sp-fc-perpage-select:hover {
  border-color: rgba(124, 58, 237, 0.3);
}

/* ═══════════════════════════════════════════════════════════
   Formation Grid — fr-* (AJAX loaded)
   ═══════════════════════════════════════════════════════════ */
.fr-catalogue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.fr-course-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.fr-course-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
  transform: translateY(-3px);
}

.fr-course-card-media {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.fr-course-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fr-course-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  z-index: 1;
}

.fr-course-card-badge.is-price {
  background: #7c3aed;
}

.fr-course-card-badge.is-free {
  background: #10b981;
}

.fr-course-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem;
}

.fr-course-card-title {
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.fr-course-card-title a {
  color: #0f172a;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fr-course-card-title a:hover {
  color: #7c3aed;
}

.fr-course-card-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.fr-rating-stars,
.fr-rating-students {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: #64748b;
}

.fr-rating-stars .ph {
  color: #f59e0b;
  font-size: 0.85rem;
}

.fr-rating-students .ph {
  color: #94a3b8;
  font-size: 0.85rem;
}

.fr-course-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.fr-course-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: #64748b;
}

.fr-course-card-meta .ph {
  font-size: 0.8rem;
  color: #94a3b8;
}

.fr-course-card-price-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 0.75rem;
}

.fr-cc-price-main {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.fr-cc-price-old {
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.fr-cc-price-discount {
  font-size: 0.68rem;
  font-weight: 600;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.fr-course-card-action {
  margin-top: auto;
}

.fr-cc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  background: #7c3aed;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fr-cc-btn:hover {
  background: #6d28d9;
  color: #fff;
}

.fr-cc-btn .ph {
  font-size: 0.8rem;
}

/* Empty state */
.fr-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
}

.fr-empty-icon {
  font-size: 2.5rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.fr-empty p {
  font-size: 0.92rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.fr-empty-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #7c3aed;
  text-decoration: none;
  transition: color 0.2s;
}

.fr-empty-reset:hover {
  color: #6d28d9;
}

/* Pagination (loaded by AJAX) */
.fr-pagination-wrap-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: #f1f5f9;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.fr-pagination-info {
  font-size: 0.82rem;
  color: #64748b;
}

.fr-pagination {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  padding: 0.35rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.fr-pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.7rem;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fr-pagination-btn:hover {
  background: #f1f5f9;
  color: #7c3aed;
}

.fr-pagination-btn.is-active {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.fr-pagination-btn.is-active:hover {
  background: #6d28d9;
  color: #fff;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.fr-pagination-btn--edge {
  background: transparent;
  border-style: dashed;
  border-color: rgba(0, 0, 0, 0.1);
  color: #64748b;
}

.fr-pagination-btn--edge:hover {
  border-color: #7c3aed;
  color: #7c3aed;
  background: transparent;
}

.fr-pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 38px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .fr-catalogue-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .fr-catalogue-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .fr-catalogue-grid {
    grid-template-columns: 1fr;
  }
  .fr-pagination-wrap-inner {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   Programmes accessibles sur candidature
   ═══════════════════════════════════════════════════════════ */
.sp-fc-candidature-section {
  padding: 0.5rem 2rem 4rem;
  background: #f8f9ff;
}

.sp-fc-candidature-shell {
  max-width: 1280px;
  margin: 0 auto;
}

/* Banner */
.sp-fc-candidature-banner {
  display: flex;
  align-items: stretch;
  background:
    radial-gradient(
      ellipse 80% 50% at 20% 80%,
      rgba(139, 92, 246, 0.4) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 20%,
      rgba(168, 85, 247, 0.35) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 60% at 50% 50%,
      rgba(99, 102, 241, 0.25) 0%,
      transparent 50%
    ),
    linear-gradient(
      135deg,
      #3b0764 0%,
      #4c1d95 25%,
      #6d28d9 50%,
      #7c3aed 75%,
      #8b5cf6 100%
    );
  border-radius: 16px;
  height: 300px;
  position: relative;
  overflow: visible;
  isolation: isolate;
}

/* Background wrapper */
.sp-fc-candidature-bg {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  z-index: 0;
}

.sp-fc-candidature-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle 40px at 15% 25%,
      rgba(192, 132, 252, 0.6) 0%,
      transparent 100%
    ),
    radial-gradient(
      circle 25px at 85% 75%,
      rgba(147, 51, 234, 0.5) 0%,
      transparent 100%
    ),
    radial-gradient(
      circle 15px at 45% 15%,
      rgba(221, 214, 254, 0.4) 0%,
      transparent 100%
    ),
    radial-gradient(
      circle 30px at 70% 35%,
      rgba(167, 139, 250, 0.35) 0%,
      transparent 100%
    ),
    radial-gradient(
      circle 18px at 25% 70%,
      rgba(196, 181, 253, 0.3) 0%,
      transparent 100%
    );
  animation: sp-fc-stars-drift 12s ease-in-out infinite alternate;
  z-index: 0;
}

.sp-fc-candidature-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 180deg at 50% 50%,
    transparent 0deg,
    rgba(139, 92, 246, 0.08) 90deg,
    transparent 180deg,
    rgba(167, 139, 250, 0.06) 270deg,
    transparent 360deg
  );
  animation: sp-fc-conic-spin 20s linear infinite;
  z-index: 0;
}

/* Animated orbs */
.sp-fc-candidature-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

.sp-fc-candidature-orb--1 {
  width: 200px;
  height: 200px;
  top: -60px;
  left: 5%;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.5) 0%,
    rgba(124, 58, 237, 0.2) 40%,
    transparent 70%
  );
  animation: sp-fc-orb-morph-1 8s ease-in-out infinite alternate;
}

.sp-fc-candidature-orb--2 {
  width: 160px;
  height: 160px;
  bottom: -40px;
  right: 25%;
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.45) 0%,
    rgba(147, 51, 234, 0.15) 45%,
    transparent 70%
  );
  animation: sp-fc-orb-morph-2 10s ease-in-out infinite alternate-reverse;
}

.sp-fc-candidature-orb--3 {
  width: 280px;
  height: 280px;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.3) 0%,
    rgba(79, 70, 229, 0.1) 50%,
    transparent 70%
  );
  animation: sp-fc-orb-morph-3 7s ease-in-out infinite;
}

.sp-fc-candidature-orb--4 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 40%;
  background: radial-gradient(
    circle,
    rgba(221, 214, 254, 0.4) 0%,
    transparent 70%
  );
  animation: sp-fc-orb-float-fast 5s ease-in-out infinite alternate;
}

.sp-fc-candidature-orb--5 {
  width: 60px;
  height: 60px;
  bottom: 15%;
  left: 15%;
  background: radial-gradient(
    circle,
    rgba(196, 181, 253, 0.5) 0%,
    transparent 70%
  );
  animation: sp-fc-orb-float-fast 4s ease-in-out infinite alternate-reverse;
}

/* Geometric shapes */
.sp-fc-candidature-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.sp-fc-candidature-shape--1 {
  width: 80px;
  height: 80px;
  top: 15%;
  right: 35%;
  border: 2px solid rgba(196, 181, 253, 0.25);
  border-radius: 16px;
  transform: rotate(45deg);
  animation:
    sp-fc-shape-rotate 15s linear infinite,
    sp-fc-shape-fade 6s ease-in-out infinite;
}

.sp-fc-candidature-shape--2 {
  width: 50px;
  height: 50px;
  bottom: 20%;
  left: 30%;
  border: 2px solid rgba(167, 139, 250, 0.2);
  border-radius: 12px;
  transform: rotate(30deg);
  animation:
    sp-fc-shape-rotate 12s linear infinite reverse,
    sp-fc-shape-fade 8s ease-in-out infinite 2s;
}

.sp-fc-candidature-shape--3 {
  width: 35px;
  height: 35px;
  top: 60%;
  left: 50%;
  background: rgba(196, 181, 253, 0.15);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  animation:
    sp-fc-shape-rotate 10s linear infinite,
    sp-fc-shape-float 7s ease-in-out infinite;
}

.sp-fc-candidature-shape--4 {
  width: 45px;
  height: 45px;
  top: 10%;
  left: 55%;
  border: 1.5px solid rgba(221, 214, 254, 0.2);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation:
    sp-fc-shape-rotate 18s linear infinite reverse,
    sp-fc-shape-fade 5s ease-in-out infinite 1s;
}

/* Particle dots */
.sp-fc-candidature-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sp-fc-candidature-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: sp-fc-particle-rise linear infinite;
}

.sp-fc-candidature-particle:nth-child(1) {
  left: 10%;
  animation-duration: 8s;
  animation-delay: 0s;
  width: 2px;
  height: 2px;
}
.sp-fc-candidature-particle:nth-child(2) {
  left: 20%;
  animation-duration: 6s;
  animation-delay: 1s;
  width: 4px;
  height: 4px;
  opacity: 0.6;
}
.sp-fc-candidature-particle:nth-child(3) {
  left: 35%;
  animation-duration: 9s;
  animation-delay: 3s;
}
.sp-fc-candidature-particle:nth-child(4) {
  left: 48%;
  animation-duration: 7s;
  animation-delay: 0.5s;
  width: 2px;
  height: 2px;
}
.sp-fc-candidature-particle:nth-child(5) {
  left: 62%;
  animation-duration: 11s;
  animation-delay: 2s;
  width: 4px;
  height: 4px;
  opacity: 0.5;
}
.sp-fc-candidature-particle:nth-child(6) {
  left: 75%;
  animation-duration: 6.5s;
  animation-delay: 4s;
}
.sp-fc-candidature-particle:nth-child(7) {
  left: 88%;
  animation-duration: 8.5s;
  animation-delay: 1.5s;
  width: 2px;
  height: 2px;
}
.sp-fc-candidature-particle:nth-child(8) {
  left: 5%;
  animation-duration: 10s;
  animation-delay: 3.5s;
  width: 3px;
  height: 3px;
}
.sp-fc-candidature-particle:nth-child(9) {
  left: 42%;
  animation-duration: 7.5s;
  animation-delay: 2.5s;
  opacity: 0.7;
}
.sp-fc-candidature-particle:nth-child(10) {
  left: 92%;
  animation-duration: 9.5s;
  animation-delay: 0.8s;
  width: 2px;
  height: 2px;
}
.sp-fc-candidature-particle:nth-child(11) {
  left: 28%;
  animation-duration: 12s;
  animation-delay: 4.5s;
  opacity: 0.4;
}
.sp-fc-candidature-particle:nth-child(12) {
  left: 68%;
  animation-duration: 5.5s;
  animation-delay: 1.2s;
  width: 3px;
  height: 3px;
}

/* Glow ring */
.sp-fc-candidature-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(196, 181, 253, 0.12);
  box-shadow:
    0 0 40px rgba(139, 92, 246, 0.08),
    inset 0 0 40px rgba(139, 92, 246, 0.05);
  animation: sp-fc-glow-pulse 6s ease-in-out infinite;
  z-index: 0;
}

.sp-fc-candidature-glow::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.1);
  animation: sp-fc-glow-pulse 6s ease-in-out infinite 1s;
}

/* Animations */
@keyframes sp-fc-stars-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(15px, -10px) scale(1.05);
  }
}

@keyframes sp-fc-conic-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes sp-fc-orb-morph-1 {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 50%;
  }
  33% {
    transform: translate(20px, -15px) scale(1.1);
    border-radius: 45% 55% 50% 50%;
  }
  66% {
    transform: translate(-10px, 10px) scale(0.95);
    border-radius: 55% 45% 50% 50%;
  }
  100% {
    transform: translate(15px, 5px) scale(1.05);
    border-radius: 50%;
  }
}

@keyframes sp-fc-orb-morph-2 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 50%;
  }
  50% {
    transform: translate(-20px, 15px) scale(1.15) rotate(5deg);
    border-radius: 40% 60% 55% 45%;
  }
  100% {
    transform: translate(10px, -10px) scale(0.9) rotate(-3deg);
    border-radius: 50%;
  }
}

@keyframes sp-fc-orb-morph-3 {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-50%) scale(1.2);
    opacity: 1;
  }
}

@keyframes sp-fc-orb-float-fast {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(12px, -8px) scale(1.15);
  }
}

@keyframes sp-fc-shape-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes sp-fc-shape-fade {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

@keyframes sp-fc-shape-float {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(-12px);
  }
}

@keyframes sp-fc-glow-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 1;
  }
}

@keyframes sp-fc-particle-rise {
  0% {
    bottom: -5%;
    opacity: 0;
    transform: translateX(0);
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    bottom: 105%;
    opacity: 0;
    transform: translateX(20px);
  }
}

.sp-fc-candidature-content {
  flex: 1;
  padding: 2rem 2.5rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.sp-fc-candidature-title {
  margin: 0 0 0.5rem;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.sp-fc-candidature-desc {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  max-width: 440px;
}

/* Steps */
.sp-fc-candidature-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0;
  padding-bottom: 0.25rem;
}

.sp-fc-candidature-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
  min-width: 0;
}

.sp-fc-candidature-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-fc-candidature-step-icon .ph {
  font-size: 1rem;
  color: #fff;
}

.sp-fc-candidature-step-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
}

.sp-fc-candidature-step strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sp-fc-candidature-step span {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* Visual */
.sp-fc-candidature-visual {
  flex: 0 0 38%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}

.sp-fc-candidature-image {
  width: 100%;
  height: 170%;
  object-fit: contain;
  object-position: bottom center;
  position: absolute;
  top: -18%;
  left: 0;
  clip-path: inset(0 0 30% 0);
}

/* Float card */
.sp-fc-candidature-float {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sp-fc-candidature-float-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f0f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-fc-candidature-float-icon .ph {
  font-size: 1.1rem;
  color: #7c3aed;
}

.sp-fc-candidature-float-label {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
}

.sp-fc-candidature-float-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
}

.sp-fc-candidature-float-date {
  display: block;
  font-size: 0.72rem;
  color: #7c3aed;
  font-weight: 500;
}

/* Opportunities */
.sp-fc-opportunities {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.5rem 1.5rem;
  margin-top: -3rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.sp-fc-opportunities-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.sp-fc-opportunities-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.sp-fc-opportunities-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7c3aed;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.sp-fc-opportunities-link:hover {
  gap: 0.6rem;
}

.sp-fc-opportunities-link .ph {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.sp-fc-opportunities-link:hover .ph {
  transform: translateX(2px);
}

/* Opportunities Grid */
.sp-fc-opportunities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

/* Opp Card */
.sp-fc-opp-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.sp-fc-opp-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
  transform: translateY(-3px);
}

.sp-fc-opp-card-img {
  position: relative;
  width: 100%;
  height: 110px;
  overflow: hidden;
}

.sp-fc-opp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-fc-opp-card-body {
  padding: 0.8rem 0.9rem;
}

.sp-fc-opp-card-title {
  margin: 0 0 0.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-fc-opp-card-university {
  display: block;
  font-size: 0.7rem;
  color: #7c3aed;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.sp-fc-opp-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.35rem;
}

.sp-fc-opp-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  color: #64748b;
}

.sp-fc-opp-card-meta .ph {
  font-size: 0.75rem;
  color: #94a3b8;
}

.sp-fc-opp-card-places {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 0.35rem;
}

.sp-fc-opp-card-docs {
  padding-top: 0.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 0.5rem;
}

.sp-fc-opp-card-docs > span {
  display: block;
  font-size: 0.65rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.sp-fc-opp-card-docs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.sp-fc-opp-card-docs-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.63rem;
  color: #475569;
}

.sp-fc-opp-card-docs-list .ph {
  font-size: 0.7rem;
  color: #10b981;
}

.sp-fc-opp-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ═══════════════════════════════════════════════════════════
   Benefits row
   ═══════════════════════════════════════════════════════════ */
.sp-fc-benefits-section {
  padding: 2rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.sp-fc-benefits-shell {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sp-fc-benefits-row {
  display: flex;
  align-items: stretch;
  gap: 1px;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 2px 20px rgba(124, 58, 237, 0.04),
    0 0 0 1px rgba(124, 58, 237, 0.06);
}

.sp-fc-benefit-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.3rem 1.1rem;
  background: #fff;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.sp-fc-benefit-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.06) 0%,
    rgba(139, 92, 246, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.sp-fc-benefit-item:hover::before {
  opacity: 1;
}

.sp-fc-benefit-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.08);
  z-index: 1;
}

.sp-fc-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f0ff 0%, #e8e4ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-fc-benefit-item:hover .sp-fc-benefit-icon {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.sp-fc-benefit-icon .ph {
  font-size: 1.2rem;
  color: #7c3aed;
  transition: color 0.35s ease;
}

.sp-fc-benefit-item:hover .sp-fc-benefit-icon .ph {
  color: #fff;
}

.sp-fc-benefit-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.sp-fc-benefit-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  transition: color 0.35s ease;
}

.sp-fc-benefit-item:hover .sp-fc-benefit-text strong {
  color: #7c3aed;
}

.sp-fc-benefit-text span {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.35;
}

/* ═══════════════════════════════════════════════════════════
   Newsletter CTA
   ═══════════════════════════════════════════════════════════ */
.sp-fc-newsletter-section {
  padding: 0 2rem 3rem;
}

.sp-fc-newsletter-shell {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  background:
    radial-gradient(
      ellipse 60% 50% at 30% 70%,
      rgba(109, 40, 217, 0.3) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 40% at 75% 25%,
      rgba(124, 58, 237, 0.25) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 40% 60% at 50% 50%,
      rgba(88, 28, 185, 0.2) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #0c0720 0%, #150d3a 30%, #1e1250 60%, #251660 100%);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Newsletter background orbs */
.sp-fc-newsletter-bg {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  z-index: 0;
}

.sp-fc-newsletter-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle 35px at 12% 30%,
      rgba(167, 139, 250, 0.5) 0%,
      transparent 100%
    ),
    radial-gradient(
      circle 20px at 88% 65%,
      rgba(139, 92, 246, 0.4) 0%,
      transparent 100%
    ),
    radial-gradient(
      circle 12px at 35% 80%,
      rgba(196, 181, 253, 0.35) 0%,
      transparent 100%
    ),
    radial-gradient(
      circle 25px at 72% 20%,
      rgba(147, 51, 234, 0.3) 0%,
      transparent 100%
    );
  animation: sp-fc-nl-stars 10s ease-in-out infinite alternate;
}

.sp-fc-newsletter-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 90deg at 50% 50%,
    transparent 0deg,
    rgba(124, 58, 237, 0.06) 60deg,
    transparent 120deg,
    rgba(139, 92, 246, 0.04) 200deg,
    transparent 280deg
  );
  animation: sp-fc-conic-spin 25s linear infinite;
}

.sp-fc-newsletter-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

.sp-fc-newsletter-orb--1 {
  width: 180px;
  height: 180px;
  top: -50px;
  left: -30px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.4) 0%,
    transparent 70%
  );
  animation: sp-fc-nl-orb-1 8s ease-in-out infinite alternate;
}

.sp-fc-newsletter-orb--2 {
  width: 140px;
  height: 140px;
  bottom: -40px;
  right: -20px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.35) 0%,
    transparent 70%
  );
  animation: sp-fc-nl-orb-2 10s ease-in-out infinite alternate-reverse;
}

.sp-fc-newsletter-orb--3 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 15%;
  background: radial-gradient(
    circle,
    rgba(167, 139, 250, 0.3) 0%,
    transparent 70%
  );
  animation: sp-fc-nl-orb-3 6s ease-in-out infinite;
}

/* Geometric shapes */
.sp-fc-newsletter-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.sp-fc-newsletter-shape--1 {
  width: 60px;
  height: 60px;
  top: 15%;
  left: 8%;
  border: 2px solid rgba(167, 139, 250, 0.15);
  border-radius: 12px;
  transform: rotate(45deg);
  animation: sp-fc-shape-rotate 18s linear infinite;
}

.sp-fc-newsletter-shape--2 {
  width: 40px;
  height: 40px;
  bottom: 20%;
  right: 12%;
  border: 1.5px solid rgba(196, 181, 253, 0.12);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  animation: sp-fc-shape-rotate 12s linear infinite reverse;
}

.sp-fc-newsletter-shape--3 {
  width: 50px;
  height: 50px;
  top: 60%;
  left: 25%;
  border: 1.5px solid rgba(147, 51, 234, 0.1);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation:
    sp-fc-shape-rotate 20s linear infinite,
    sp-fc-shape-fade 8s ease-in-out infinite;
}

.sp-fc-newsletter-shape--4 {
  width: 30px;
  height: 30px;
  top: 25%;
  right: 30%;
  background: rgba(196, 181, 253, 0.1);
  border-radius: 8px;
  transform: rotate(20deg);
  animation:
    sp-fc-shape-rotate 15s linear infinite reverse,
    sp-fc-shape-float 6s ease-in-out infinite;
}

/* Particles */
.sp-fc-newsletter-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sp-fc-newsletter-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  animation: sp-fc-particle-rise linear infinite;
}

.sp-fc-newsletter-particle:nth-child(1) {
  left: 8%;
  animation-duration: 9s;
  animation-delay: 0s;
  width: 2px;
  height: 2px;
}
.sp-fc-newsletter-particle:nth-child(2) {
  left: 18%;
  animation-duration: 7s;
  animation-delay: 1.5s;
  width: 3px;
  height: 3px;
  opacity: 0.6;
}
.sp-fc-newsletter-particle:nth-child(3) {
  left: 32%;
  animation-duration: 11s;
  animation-delay: 3s;
}
.sp-fc-newsletter-particle:nth-child(4) {
  left: 45%;
  animation-duration: 8s;
  animation-delay: 0.8s;
  width: 2px;
  height: 2px;
}
.sp-fc-newsletter-particle:nth-child(5) {
  left: 58%;
  animation-duration: 10s;
  animation-delay: 2.5s;
  width: 4px;
  height: 4px;
  opacity: 0.5;
}
.sp-fc-newsletter-particle:nth-child(6) {
  left: 70%;
  animation-duration: 7.5s;
  animation-delay: 4s;
}
.sp-fc-newsletter-particle:nth-child(7) {
  left: 85%;
  animation-duration: 9.5s;
  animation-delay: 1s;
  width: 2px;
  height: 2px;
}
.sp-fc-newsletter-particle:nth-child(8) {
  left: 95%;
  animation-duration: 6.5s;
  animation-delay: 3.5s;
}

/* Glow ring */
.sp-fc-newsletter-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.08);
  box-shadow:
    0 0 30px rgba(124, 58, 237, 0.06),
    inset 0 0 30px rgba(124, 58, 237, 0.03);
  animation: sp-fc-glow-pulse 7s ease-in-out infinite;
  z-index: 0;
}

.sp-fc-newsletter-glow::before {
  content: "";
  position: absolute;
  inset: 25px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.06);
}

/* Content */
.sp-fc-newsletter-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.sp-fc-newsletter-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.45;
}

/* Form */
.sp-fc-newsletter-form {
  flex: 0 0 auto;
  width: 420px;
  position: relative;
  z-index: 1;
}

.sp-fc-newsletter-form-inner {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.sp-fc-newsletter-form-inner:focus-within {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.15);
}

.sp-fc-newsletter-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 0.85rem;
  color: #fff;
  min-width: 0;
}

.sp-fc-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.sp-fc-newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.sp-fc-newsletter-btn:hover {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
}

.sp-fc-newsletter-btn .ph {
  font-size: 1rem;
}

/* Newsletter animations */
@keyframes sp-fc-nl-stars {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(10px, -8px) scale(1.04);
  }
}

@keyframes sp-fc-nl-orb-1 {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 50%;
  }
  50% {
    transform: translate(15px, -10px) scale(1.1);
    border-radius: 45% 55% 50% 50%;
  }
  100% {
    transform: translate(-5px, 5px) scale(0.95);
    border-radius: 50%;
  }
}

@keyframes sp-fc-nl-orb-2 {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 50%;
  }
  50% {
    transform: translate(-12px, 8px) scale(1.12);
    border-radius: 55% 45% 50% 50%;
  }
  100% {
    transform: translate(8px, -5px) scale(0.9);
    border-radius: 50%;
  }
}

@keyframes sp-fc-nl-orb-3 {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════════════════════
   Responsive — Hero only
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .sp-fc-hero-shell {
    padding: 2rem 2rem 0.5rem;
  }

  .sp-fc-hero-layout {
    gap: 1.5rem;
  }

  .sp-fc-hero-visual {
    flex: 0 0 42%;
  }

  .sp-fc-hero-image {
    width: 360px;
    margin-top: 24px;
  }

  .sp-fc-hero-image-circle {
    width: 260px;
    height: 260px;
  }

  .sp-fc-hero-float--formations {
    left: -5%;
  }
}

@media (max-width: 768px) {
  .sp-fc-hero {
    max-height: none;
    min-height: auto;
  }

  .sp-fc-hero-shell {
    padding: 1.5rem 1.2rem 1.5rem;
  }

  .sp-fc-hero-layout {
    flex-direction: column;
    align-items: center;
    min-height: auto;
    gap: 2rem;
  }

  .sp-fc-hero-content {
    flex: none;
    max-width: 100%;
    text-align: center;
  }

  .sp-fc-hero-breadcrumb {
    justify-content: center;
  }

  .sp-fc-hero-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .sp-fc-hero-desc {
    max-width: 100%;
  }

  .sp-fc-hero-search {
    flex-direction: column;
    border-radius: 16px;
    padding: 0.5rem;
  }

  .sp-fc-hero-search-input {
    width: 100%;
    padding: 0.5rem;
  }

  .sp-fc-hero-search-input input {
    font-size: 1rem;
  }

  .sp-fc-hero-search-btn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    margin-top: 0.5rem;
  }

  .sp-fc-hero-info-banner-track {
    gap: 1.5rem;
  }
  .sp-fc-hero-info-num {
    font-size: 1.1rem;
  }
  .sp-fc-hero-info-text strong {
    font-size: 0.72rem;
  }
  .sp-fc-hero-info-text span {
    font-size: 0.6rem;
  }
  .sp-fc-hero-info-banner-glow {
    display: none;
  }

  .sp-fc-hero-visual {
    flex: none;
    width: 100%;
    min-height: 300px;
  }

  .sp-fc-hero-image {
    width: 340px;
    margin-top: 20px;
  }

  .sp-fc-hero-image-circle {
    width: 260px;
    height: 260px;
  }

  .sp-fc-hero-float {
    padding: 0.65rem 0.85rem;
  }

  .sp-fc-hero-float-num {
    font-size: 1.1rem;
  }

  .sp-fc-hero-float--formations {
    top: 0;
    left: 0;
  }

  .sp-fc-hero-float--universities {
    top: 20%;
    right: 0;
  }

  .sp-fc-hero-float--satisfaction {
    bottom: 10%;
    right: 0;
  }

  /* Filters */
  .sp-fc-filters-section {
    padding: 1.5rem 1rem 1rem;
  }

  .sp-fc-filters-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .sp-fc-filters-orb--3,
  .sp-fc-filters-orb--4,
  .sp-fc-filters-orb--5,
  .sp-fc-filters-shape--3,
  .sp-fc-filters-shape--4 {
    display: none;
  }

  /* Grid */
  .sp-fc-grid-section {
    padding: 1rem 1rem 3rem;
  }

  .sp-fc-grid--cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .sp-fc-grid-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Pagination */
  .sp-fc-pagination {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  /* Candidature */
  .sp-fc-candidature-section {
    padding: 1.5rem 1rem 3rem;
  }

  .sp-fc-candidature-banner {
    flex-direction: column;
  }

  .sp-fc-candidature-content {
    padding: 1.5rem;
  }

  .sp-fc-candidature-visual {
    flex: none;
    height: 250px;
  }

  .sp-fc-candidature-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .sp-fc-opportunities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Benefits */
  .sp-fc-benefits-row {
    flex-wrap: wrap;
  }

  .sp-fc-benefit-item {
    flex: 1 1 calc(50% - 1px);
  }

  /* Newsletter */
  .sp-fc-newsletter-shell {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
  }

  .sp-fc-newsletter-form {
    width: 100%;
  }
}

@media (max-width: 480px) {
  /* ── Hero ── */
  .sp-fc-hero {
    max-height: none;
    min-height: auto;
  }

  .sp-fc-hero-shell {
    padding: 1rem 0.75rem 1rem;
  }

  .sp-fc-hero-layout {
    gap: 1.25rem;
  }

  .sp-fc-hero-title {
    font-size: clamp(1.3rem, 6vw, 1.6rem);
  }

  .sp-fc-hero-breadcrumb {
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.72rem;
  }

  .sp-fc-hero-desc {
    font-size: 0.85rem;
  }

  .sp-fc-hero-search {
    flex-direction: row;
    border-radius: 999px;
    padding: 0.3rem 0.3rem 0.3rem 0.75rem;
    gap: 0;
  }

  .sp-fc-hero-search-input {
    flex: 1;
    width: auto;
    padding: 0.2rem 0.4rem;
  }

  .sp-fc-hero-search-input input {
    font-size: 0.85rem;
  }

  .sp-fc-hero-search-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin-top: 0;
    flex-shrink: 0;
  }

  .sp-fc-hero-info-shell {
    padding: 0;
  }

  .sp-fc-hero-info-banner-wrap {
    padding: 2px;
    border-radius: 12px;
  }

  .sp-fc-hero-info-banner {
    border-radius: 10px;
    padding: 0.35rem 0;
  }

  .sp-fc-hero-info-banner-track {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .sp-fc-hero-info-banner-glow {
    display: none;
  }

  .sp-fc-hero-info-num {
    font-size: 0.85rem;
  }

  .sp-fc-hero-info-text strong {
    font-size: 0.6rem;
  }

  .sp-fc-hero-info-text span {
    display: none;
  }

  .sp-fc-hero-info-item--highlight {
    display: none;
  }

  .sp-fc-hero-visual {
    min-height: 180px;
  }

  .sp-fc-hero-image {
    width: 200px;
    margin-top: 8px;
  }

  .sp-fc-hero-image-circle {
    width: 150px;
    height: 150px;
  }

  .sp-fc-hero-float,
  .sp-fc-hero-orb,
  .sp-fc-hero-shape,
  .sp-fc-hero-particles,
  .sp-fc-hero-glow,
  .sp-fc-hero-bg-building,
  .sp-fc-hero-icon {
    display: none;
  }

  /* ── Filters ── */
  .sp-fc-filters-section {
    padding: 1.25rem 0.5rem 1rem;
  }

  .sp-fc-filters-wrap {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .sp-fc-filters-orb,
  .sp-fc-filters-shape {
    display: none;
  }

  /* ── Grid ── */
  .sp-fc-grid-section {
    padding: 0.75rem 0.5rem 2rem;
  }

  .sp-fc-grid--cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .sp-fc-grid-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .sp-fc-grid-controls {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .sp-fc-grid-sort {
    flex: 1;
    min-width: 0;
  }

  .sp-fc-grid-sort-select {
    width: 100%;
    font-size: 0.82rem;
  }

  .sp-fc-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sp-fc-card-btn {
    text-align: center;
    justify-content: center;
    font-size: 0.82rem;
  }

  /* ── Pagination ── */
  .sp-fc-pagination {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 0.5rem;
  }

  .sp-fc-pagination-info {
    font-size: 0.75rem;
  }

  .sp-fc-pagination-pages {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
  }

  .sp-fc-page-btn {
    min-width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .sp-fc-pagination-perpage {
    display: none;
  }

  /* ── Candidature ── */
  .sp-fc-candidature-section {
    padding: 1rem 0.5rem 2rem;
  }

  .sp-fc-candidature-banner {
    flex-direction: column;
    border-radius: 12px;
  }

  .sp-fc-candidature-content {
    padding: 1.25rem;
  }

  .sp-fc-candidature-visual {
    height: 180px;
  }

  .sp-fc-candidature-steps {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .sp-fc-opportunities-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .sp-fc-opportunities-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* ── Benefits ── */
  .sp-fc-benefits-section {
    padding: 0.5rem 0.5rem 2rem;
  }

  .sp-fc-benefits-row {
    flex-direction: column;
  }

  .sp-fc-benefit-item {
    flex: 1 1 100%;
  }

  /* ── Newsletter ── */
  .sp-fc-newsletter-section {
    padding: 0 0.5rem 2rem;
  }

  .sp-fc-newsletter-shell {
    padding: 1.5rem 1rem;
    border-radius: 14px;
  }

  .sp-fc-newsletter-title {
    font-size: 0.95rem;
  }

  .sp-fc-newsletter-form {
    flex-direction: column;
    gap: 0.5rem;
  }

  .sp-fc-newsletter-btn {
    width: 100%;
    padding: 0.55rem 1rem;
    font-size: 0.75rem;
    text-align: center;
    justify-content: center;
  }
}
