/*
 * Établissements Page
 * Style: Hero + Partner Grid
 */

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

/* ── Section Title Gradient ── */
.sp-etab-types-title em,
.sp-etab-filters-title em,
.sp-etab-grid-title em,
.sp-etab-highlight-title em,
.sp-etab-how-title em,
.sp-etab-testimonials-title em {
  font-style: normal;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sp-etab-cta-title em {
  font-style: normal;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════════════════════ */
.sp-etab-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  background: #f8f9ff;
}

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

.sp-etab-hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('../assets/img/Studies-learning-etablissement.png') left center/133% auto no-repeat;
}

.sp-etab-hero-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(248, 249, 255, 0.95) 0%, rgba(248, 249, 255, 0.7) 40%, rgba(248, 249, 255, 0.3) 60%, transparent 80%),
    linear-gradient(to bottom, rgba(248, 249, 255, 0.4) 0%, transparent 30%, transparent 70%, rgba(248, 249, 255, 0.6) 100%);
}

.sp-etab-hero-bg-image::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(100, 80, 140, 0.08) 50%, rgba(80, 60, 120, 0.15) 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.sp-etab-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 249, 255, 0.2) 0%, transparent 40%, transparent 80%, rgba(248, 249, 255, 0.4) 100%);
}

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

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

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

.sp-etab-hero-breadcrumb a:hover {
  color: #7c3aed;
}

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

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

/* Layout */
.sp-etab-hero-layout {
  min-height: 360px;
}

/* Left: Content */
.sp-etab-hero-content {
  flex: 0 0 55%;
  max-width: 620px;
  padding-top: 1rem;
}

.sp-etab-hero-title {
  margin: 0 0 1.2rem;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0f172a;
}

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

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

/* CTA Buttons */
.sp-etab-hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.sp-etab-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.sp-etab-hero-btn--primary {
  background: #1e1b4b;
  color: #fff;
  box-shadow: 0 4px 14px rgba(30, 27, 75, 0.25);
}

.sp-etab-hero-btn--primary:hover {
  background: #312e81;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 27, 75, 0.35);
  color: #fff;
}

.sp-etab-hero-btn--primary .ph {
  transition: transform 0.2s;
}

.sp-etab-hero-btn--primary:hover .ph {
  transform: translateX(3px);
}

.sp-etab-hero-btn--outline {
  background: transparent;
  border: 1.5px solid #c4b5fd;
  color: #7c3aed;
}

.sp-etab-hero-btn--outline:hover {
  border-color: #7c3aed;
  background: #f5f3ff;
  color: #6d28d9;
}

.sp-etab-hero-btn--outline .ph {
  transition: transform 0.2s;
}

.sp-etab-hero-btn--outline:hover .ph {
  transform: translateX(3px);
}

/* Floating Stat Bar */
.sp-etab-hero-stats {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: -3rem auto 0;
  padding: 0 3rem;
}

.sp-etab-hero-stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.sp-etab-hero-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1.5rem;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.sp-etab-hero-stat:last-child {
  border-right: none;
}

.sp-etab-hero-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f0f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-etab-hero-stat-icon .ph {
  font-size: 1.2rem;
  color: #7c3aed;
}

.sp-etab-hero-stat-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sp-etab-hero-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

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

/* ═══════════════════════════════════════════════════════════
   Établissements Grid
   ═══════════════════════════════════════════════════════════ */
.sp-etab-grid-section {
  padding: 4rem 2rem 6rem;
  background: #f8f9ff;
}

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

.sp-etab-grid-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sp-etab-grid-title {
  margin: 0 0 0.8rem;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
}

.sp-etab-grid-subtitle {
  margin: 0;
  font-size: 1rem;
  color: #64748b;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.sp-etab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Card */
.sp-etab-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

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

.sp-etab-card-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.sp-etab-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.sp-etab-card-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-etab-card-location,
.sp-etab-card-count {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: #64748b;
}

.sp-etab-card-location .ph,
.sp-etab-card-count .ph {
  font-size: 0.9rem;
  color: #7c3aed;
}

.sp-etab-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.sp-etab-card:hover .sp-etab-card-arrow {
  background: #7c3aed;
  color: #fff;
}

.sp-etab-card-arrow .ph {
  font-size: 0.9rem;
  color: #7c3aed;
  transition: color 0.25s ease;
}

.sp-etab-card:hover .sp-etab-card-arrow .ph {
  color: #fff;
}

.sp-etab-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #94a3b8;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   World Map Section
   ═══════════════════════════════════════════════════════════ */
.sp-etab-map-section {
  position: relative;
  padding: 3.5rem 2rem 4rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 50%, #f8f9ff 100%);
  overflow: hidden;
}

/* Background Decorations */
.sp-etab-map-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sp-etab-map-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.sp-etab-map-bg-orb--1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%);
  top: -5%;
  left: -3%;
  animation: spEtabMapOrb1 15s ease-in-out infinite;
}

.sp-etab-map-bg-orb--2 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 70%);
  top: 10%;
  right: -2%;
  animation: spEtabMapOrb2 18s ease-in-out infinite;
}

.sp-etab-map-bg-orb--3 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 70%);
  bottom: 5%;
  left: 20%;
  animation: spEtabMapOrb3 20s ease-in-out infinite;
}

.sp-etab-map-bg-orb--4 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 70%);
  bottom: -5%;
  right: 15%;
  animation: spEtabMapOrb4 16s ease-in-out infinite;
}

@keyframes spEtabMapOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, 20px) scale(1.05); }
  66% { transform: translate(-10px, 10px) scale(0.95); }
}

@keyframes spEtabMapOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-20px, 15px) scale(1.08); }
  66% { transform: translate(10px, -10px) scale(0.92); }
}

@keyframes spEtabMapOrb3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -15px) scale(1.1); }
}

@keyframes spEtabMapOrb4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(1.05); }
}

/* Floating Shapes */
.sp-etab-map-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}

.sp-etab-map-bg-shape--1 {
  width: 8px;
  height: 8px;
  background: #7c3aed;
  top: 15%;
  left: 8%;
  animation: spEtabMapShape1 12s ease-in-out infinite;
}

.sp-etab-map-bg-shape--2 {
  width: 6px;
  height: 6px;
  background: #3b82f6;
  top: 25%;
  right: 12%;
  animation: spEtabMapShape2 15s ease-in-out infinite;
}

.sp-etab-map-bg-shape--3 {
  width: 10px;
  height: 10px;
  background: #10b981;
  bottom: 20%;
  left: 5%;
  animation: spEtabMapShape3 18s ease-in-out infinite;
}

.sp-etab-map-bg-shape--4 {
  width: 7px;
  height: 7px;
  background: #06b6d4;
  bottom: 15%;
  right: 8%;
  animation: spEtabMapShape4 14s ease-in-out infinite;
}

@keyframes spEtabMapShape1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -15px) rotate(90deg); }
  50% { transform: translate(-5px, -25px) rotate(180deg); }
  75% { transform: translate(15px, -10px) rotate(270deg); }
}

@keyframes spEtabMapShape2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-15px, 10px) rotate(120deg); }
  66% { transform: translate(10px, -20px) rotate(240deg); }
}

@keyframes spEtabMapShape3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, 15px) rotate(180deg); }
}

@keyframes spEtabMapShape4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-15px, -20px) rotate(180deg); }
}

/* Particles */
.sp-etab-map-bg-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(124, 58, 237, 0.6);
  border-radius: 50%;
}

.sp-etab-map-bg-particle--1 {
  top: 10%;
  left: 15%;
  animation: spEtabMapParticle1 8s linear infinite;
}

.sp-etab-map-bg-particle--2 {
  top: 30%;
  left: 75%;
  animation: spEtabMapParticle2 10s linear infinite;
  animation-delay: -2s;
}

.sp-etab-map-bg-particle--3 {
  top: 60%;
  left: 25%;
  animation: spEtabMapParticle3 12s linear infinite;
  animation-delay: -4s;
}

.sp-etab-map-bg-particle--4 {
  top: 70%;
  left: 85%;
  animation: spEtabMapParticle1 9s linear infinite;
  animation-delay: -1s;
}

.sp-etab-map-bg-particle--5 {
  top: 45%;
  left: 5%;
  animation: spEtabMapParticle2 11s linear infinite;
  animation-delay: -3s;
}

.sp-etab-map-bg-particle--6 {
  top: 85%;
  left: 65%;
  animation: spEtabMapParticle3 10s linear infinite;
  animation-delay: -5s;
}

@keyframes spEtabMapParticle1 {
  0% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-30px) scale(1.3); opacity: 1; }
  100% { transform: translateY(-60px) scale(0.8); opacity: 0.3; }
}

@keyframes spEtabMapParticle2 {
  0% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-25px) scale(1.2); opacity: 0.9; }
  100% { transform: translateY(-50px) scale(0.7); opacity: 0.2; }
}

@keyframes spEtabMapParticle3 {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-35px) scale(1.4); opacity: 1; }
  100% { transform: translateY(-70px) scale(0.6); opacity: 0.1; }
}

.sp-etab-map-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.sp-etab-map-header {
  margin-bottom: 1rem;
}

.sp-etab-map-title {
  margin: 0 0 0.3rem;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #0f172a;
}

.sp-etab-map-title-accent {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.sp-etab-map-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

/* Map Container */
.sp-etab-map-container {
  position: relative;
  background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 50%, #f8faff 100%);
  border: 1.5px solid rgba(124, 58, 237, 0.12);
  border-radius: 20px;
  overflow: hidden;
  padding: 1.5rem;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.03),
    0 12px 48px rgba(124, 58, 237, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Glow Ring */
.sp-etab-map-glow {
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(59, 130, 246, 0.18), rgba(16, 185, 129, 0.12), rgba(124, 58, 237, 0.2));
  z-index: 0;
  opacity: 0.8;
  animation: spEtabMapGlow 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes spEtabMapGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.005); }
}

/* Grid Pattern Overlay */
.sp-etab-map-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

/* Connection Lines */
.sp-etab-map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.sp-etab-map-line {
  stroke-dashoffset: 100;
  animation: spEtabMapLineFlow 3s linear infinite;
}

.sp-etab-map-line--1 { animation-delay: 0s; }
.sp-etab-map-line--2 { animation-delay: 0.5s; }
.sp-etab-map-line--3 { animation-delay: 1s; }
.sp-etab-map-line--4 { animation-delay: 1.5s; }
.sp-etab-map-line--5 { animation-delay: 2s; }

@keyframes spEtabMapLineFlow {
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

/* ── Interactive States ── */

/* Marker entrance */
.sp-etab-map-marker {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.sp-etab-map-marker--visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Card entrance */
.sp-etab-map-card {
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  transition: opacity 0.4s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.sp-etab-map-card--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Active marker */
.sp-etab-map-marker--active {
  z-index: 20 !important;
}

.sp-etab-map-marker--active .sp-etab-map-marker-dot {
  box-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
  transform: scale(1.4);
}

.sp-etab-map-marker--active .sp-etab-map-marker-pulse {
  animation: spEtabMapPulseActive 1s ease-out infinite;
}

@keyframes spEtabMapPulseActive {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}

/* Dimmed marker */
.sp-etab-map-marker--dimmed {
  opacity: 0.2 !important;
  transform: translate(-50%, -50%) scale(0.8);
  pointer-events: none;
}

/* Active card */
.sp-etab-map-card--active {
  z-index: 20 !important;
  opacity: 1 !important;
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow:
    0 12px 40px rgba(124, 58, 237, 0.2),
    0 0 0 2px rgba(124, 58, 237, 0.3) !important;
  border-color: rgba(124, 58, 237, 0.4) !important;
}

/* Dimmed card */
.sp-etab-map-card--dimmed {
  opacity: 0.15 !important;
  transform: scale(0.95) !important;
  pointer-events: none;
}

/* Legend active */
.sp-etab-map-legend-item--active {
  color: #7c3aed !important;
  font-weight: 600;
}

.sp-etab-map-legend-item--active .sp-etab-map-legend-dot {
  box-shadow: 0 0 10px currentColor;
  transform: scale(1.3);
}

.sp-etab-map-svg {
  position: relative;
  width: 100%;
  height: 320px;
}

.sp-etab-map-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.7;
  position: relative;
  z-index: 2;
  filter: saturate(1.3) contrast(1.05);
  transition: opacity 0.3s ease;
}

/* Country Markers */
.sp-etab-map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 5;
  transition: transform 0.3s ease;
}

.sp-etab-map-marker:hover {
  transform: translate(-50%, -50%) scale(1.3);
}

.sp-etab-map-marker-dot {
  position: relative;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
  transition: all 0.3s ease;
}

.sp-etab-map-marker:hover .sp-etab-map-marker-dot {
  box-shadow: 0 0 20px currentColor, 0 0 35px currentColor, 0 0 50px currentColor;
}

.sp-etab-map-marker--lg .sp-etab-map-marker-dot {
  width: 18px;
  height: 18px;
}

.sp-etab-map-marker--md .sp-etab-map-marker-dot {
  width: 14px;
  height: 14px;
}

.sp-etab-map-marker--sm .sp-etab-map-marker-dot {
  width: 11px;
  height: 11px;
}

.sp-etab-map-marker-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: spEtabMapPulse 2s ease-out infinite;
  pointer-events: none;
}

.sp-etab-map-marker--lg .sp-etab-map-marker-pulse {
  width: 16px;
  height: 16px;
}

.sp-etab-map-marker--md .sp-etab-map-marker-pulse {
  width: 12px;
  height: 12px;
}

.sp-etab-map-marker--sm .sp-etab-map-marker-pulse {
  width: 9px;
  height: 9px;
}

@keyframes spEtabMapPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; }
}

/* Country Info Cards */
.sp-etab-map-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(124, 58, 237, 0.05);
  z-index: 10;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(5px) scale(0.95);
  animation: spEtabMapCardReveal 0.5s ease forwards;
}

.sp-etab-map-card:nth-child(1) { animation-delay: 0.3s; }
.sp-etab-map-card:nth-child(2) { animation-delay: 0.4s; }
.sp-etab-map-card:nth-child(3) { animation-delay: 0.5s; }
.sp-etab-map-card:nth-child(4) { animation-delay: 0.6s; }
.sp-etab-map-card:nth-child(5) { animation-delay: 0.7s; }
.sp-etab-map-card:nth-child(6) { animation-delay: 0.8s; }

@keyframes spEtabMapCardReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sp-etab-map-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(124, 58, 237, 0.15),
    0 0 0 1px rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
}

.sp-etab-map-card-name {
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sp-etab-map-card-name::before {
  content: '';
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  border-radius: 50%;
  flex-shrink: 0;
}

.sp-etab-map-card-stat {
  display: block;
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.5;
  padding-left: 0.65rem;
}

/* Legend */
.sp-etab-map-legend {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(124, 58, 237, 0.08);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.sp-etab-map-legend-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  color: #64748b;
  transition: color 0.2s ease;
}

.sp-etab-map-legend-item:hover {
  color: #334155;
}

.sp-etab-map-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}

.sp-etab-map-legend-dot--lg {
  width: 10px;
  height: 10px;
}

.sp-etab-map-legend-dot--md {
  width: 7px;
  height: 7px;
}

.sp-etab-map-legend-dot--sm {
  width: 5px;
  height: 5px;
}

/* ═══════════════════════════════════════════════════════════
   Explorez par type d'établissement
   ═══════════════════════════════════════════════════════════ */
.sp-etab-types-section {
  position: relative;
  padding: 2.5rem 2rem 3rem;
  background: #fff;
  overflow: hidden;
}

.sp-etab-types-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ── Morphing Blobs ── */
.sp-etab-types-blob {
  position: absolute;
  width: 350px;
  height: 350px;
}

.sp-etab-types-blob:first-child {
  top: -100px;
  right: -70px;
}

.sp-etab-types-blob:nth-child(2) {
  bottom: -120px;
  left: -80px;
  width: 280px;
  height: 280px;
}

.sp-etab-types-blob-path--1 {
  animation: spEtabTypesMorph1 18s ease-in-out infinite;
  transform-origin: center;
}

.sp-etab-types-blob-path--1b {
  animation: spEtabTypesMorph1b 22s ease-in-out infinite reverse;
  transform-origin: center;
  opacity: 0.5;
}

.sp-etab-types-blob-path--2 {
  animation: spEtabTypesMorph2 24s ease-in-out infinite;
  transform-origin: center;
}

@keyframes spEtabTypesMorph1 {
  0%, 100% { d: path("M45.3,-58.2C57.9,-51.3,66.9,-37.5,71.1,-22.6C75.3,-7.7,74.7,8.3,68.5,21.4C62.3,34.5,50.5,44.7,37.6,51.8C24.7,58.9,10.7,62.9,-3.8,68.3C-18.3,73.7,-33.3,80.5,-45.6,74.8C-57.9,69.1,-67.5,50.9,-72.6,32.4C-77.7,13.9,-78.3,-4.9,-72.2,-20.1C-66.1,-35.3,-53.3,-46.9,-39.8,-53.4C-26.3,-59.9,-12.1,-61.3,2.4,-64.8C16.9,-68.3,32.7,-65.1,45.3,-58.2Z"); }
  25% { d: path("M42.1,-55.3C54.2,-48.1,63.5,-35.9,68.8,-22C74.1,-8.1,75.4,7.5,69.5,20.2C63.6,32.9,50.5,42.7,37.2,49.8C23.9,56.9,10.4,61.3,-3.5,66.1C-17.4,70.9,-31.7,76.1,-43.5,70.5C-55.3,64.9,-64.6,48.5,-70.1,31.5C-75.6,14.5,-77.3,-3.1,-72.2,-17.4C-67.1,-31.7,-55.2,-42.7,-42.3,-49.5C-29.4,-56.3,-15.7,-58.9,0.3,-59.4C16.3,-59.9,29.9,-58.3,42.1,-55.3Z"); }
  50% { d: path("M48.2,-60.1C61.5,-53.4,70.8,-38.7,74.5,-23.2C78.2,-7.7,76.3,8.6,69.4,22.1C62.5,35.6,50.6,46.3,37.5,53.2C24.4,60.1,10.1,63.2,-4.5,68.5C-19.1,73.8,-34,81.3,-45.8,76.1C-57.6,70.9,-66.3,53,-71.5,34.8C-76.7,16.6,-78.4,-1.9,-73.3,-17.5C-68.2,-33.1,-56.3,-45.8,-43,-53C-29.7,-60.2,-15,-61.9,0.6,-62.9C16.2,-63.9,34.8,-64.2,48.2,-60.1Z"); }
  75% { d: path("M39.8,-52.6C52.1,-46.1,62.3,-34.7,67.8,-21.1C73.3,-7.5,74.1,8.3,67.8,21.5C61.5,34.7,48.1,45.3,34.4,52.1C20.7,58.9,6.7,61.9,-7.8,67.1C-22.3,72.3,-37.3,79.7,-48.6,74.4C-59.9,69.1,-67.5,51.1,-72.3,32.7C-77.1,14.3,-79.1,-4.5,-73.8,-19.7C-68.5,-34.9,-55.9,-46.5,-42.6,-53C-29.3,-59.5,-15.3,-60.9,-0.3,-60.7C14.7,-60.5,27.5,-59.1,39.8,-52.6Z"); }
  100% { d: path("M45.3,-58.2C57.9,-51.3,66.9,-37.5,71.1,-22.6C75.3,-7.7,74.7,8.3,68.5,21.4C62.3,34.5,50.5,44.7,37.6,51.8C24.7,58.9,10.7,62.9,-3.8,68.3C-18.3,73.7,-33.3,80.5,-45.6,74.8C-57.9,69.1,-67.5,50.9,-72.6,32.4C-77.7,13.9,-78.3,-4.9,-72.2,-20.1C-66.1,-35.3,-53.3,-46.9,-39.8,-53.4C-26.3,-59.9,-12.1,-61.3,2.4,-64.8C16.9,-68.3,32.7,-65.1,45.3,-58.2Z"); }
}

@keyframes spEtabTypesMorph1b {
  0%, 100% { d: path("M45.3,-58.2C57.9,-51.3,66.9,-37.5,71.1,-22.6C75.3,-7.7,74.7,8.3,68.5,21.4C62.3,34.5,50.5,44.7,37.6,51.8C24.7,58.9,10.7,62.9,-3.8,68.3C-18.3,73.7,-33.3,80.5,-45.6,74.8C-57.9,69.1,-67.5,50.9,-72.6,32.4C-77.7,13.9,-78.3,-4.9,-72.2,-20.1C-66.1,-35.3,-53.3,-46.9,-39.8,-53.4C-26.3,-59.9,-12.1,-61.3,2.4,-64.8C16.9,-68.3,32.7,-65.1,45.3,-58.2Z"); }
  33% { d: path("M40.5,-53.8C52.7,-47.4,62.8,-35.1,68.2,-21.1C73.6,-7.1,74.3,8.5,68,21.2C61.7,33.9,48.4,43.7,34.8,50.4C21.2,57.1,7.3,60.7,-6.9,65.7C-21.1,70.7,-35.6,77.1,-46.8,71.7C-58,66.3,-65.9,49.1,-71.1,31.4C-76.3,13.7,-78.8,-4.5,-73.6,-19.3C-68.4,-34.1,-55.5,-45.5,-42.1,-51.9C-28.7,-58.3,-14.8,-59.7,0.2,-60C15.2,-60.3,28.3,-60.2,40.5,-53.8Z"); }
  66% { d: path("M47.1,-59.4C59.5,-52.1,67.2,-37.2,71.4,-21.7C75.6,-6.2,76.3,9.9,70.1,23.1C63.9,36.3,50.8,46.6,37.2,53.3C23.6,60,9.5,63.1,-5.1,68.8C-19.7,74.5,-34.8,82.8,-46.4,77.7C-58,72.6,-66.1,54.2,-71.3,35.6C-76.5,17,-78.8,-1.8,-74,-17.1C-69.2,-32.4,-57.3,-44.2,-44.1,-51.3C-30.9,-58.4,-16.4,-60.8,-0.6,-60.2C15.2,-59.6,34.7,-66.7,47.1,-59.4Z"); }
  100% { d: path("M45.3,-58.2C57.9,-51.3,66.9,-37.5,71.1,-22.6C75.3,-7.7,74.7,8.3,68.5,21.4C62.3,34.5,50.5,44.7,37.6,51.8C24.7,58.9,10.7,62.9,-3.8,68.3C-18.3,73.7,-33.3,80.5,-45.6,74.8C-57.9,69.1,-67.5,50.9,-72.6,32.4C-77.7,13.9,-78.3,-4.9,-72.2,-20.1C-66.1,-35.3,-53.3,-46.9,-39.8,-53.4C-26.3,-59.9,-12.1,-61.3,2.4,-64.8C16.9,-68.3,32.7,-65.1,45.3,-58.2Z"); }
}

@keyframes spEtabTypesMorph2 {
  0%, 100% { d: path("M39.5,-51.2C52.9,-44.7,67,-35.1,72.8,-22C78.6,-8.9,76.1,7.7,68.8,21.3C61.5,34.9,49.3,45.5,36.1,52.5C22.9,59.5,8.7,62.9,-5.1,69.1C-18.9,75.3,-32.3,84.3,-43.5,79.5C-54.7,74.7,-63.7,56.1,-69.1,37.3C-74.5,18.5,-76.3,-0.5,-71.3,-16.2C-66.3,-31.9,-54.5,-44.3,-41.3,-51C-28.1,-57.7,-13.4,-58.7,0.8,-59.9C15,-61.1,26.1,-57.7,39.5,-51.2Z"); }
  33% { d: path("M42.8,-56.7C55.1,-49.2,64.2,-36.1,69.4,-21.8C74.6,-7.5,75.8,8,70.1,21.1C64.4,34.2,51.8,44.9,38.5,52.1C25.2,59.3,11.2,63,-3.4,68.5C-18,74,-32.2,81.3,-43.8,76.1C-55.4,70.9,-64.4,53.2,-69.8,35C-75.2,16.8,-77,-1.9,-72,-17.3C-67,-32.7,-55.2,-44.8,-42.1,-52.2C-29,-59.6,-14.5,-62.3,0.5,-63.2C15.5,-64.1,30.5,-63.2,42.8,-56.7Z"); }
  66% { d: path("M36.2,-47.8C49.1,-41.7,63.1,-32.8,69.5,-19.6C75.9,-6.4,74.7,11.1,67.4,24.3C60.1,37.5,46.7,46.4,33.2,52.5C19.7,58.6,6.1,61.9,-8,67.2C-22.1,72.5,-36.7,79.8,-47.6,74.4C-58.5,69,-65.7,50.9,-70.6,32.6C-75.5,14.3,-78.1,-4.2,-73.1,-19.1C-68.1,-34,-55.5,-45.3,-42.1,-51.2C-28.7,-57.1,-14.4,-57.6,0.5,-58.3C15.4,-59,23.3,-53.9,36.2,-47.8Z"); }
  100% { d: path("M39.5,-51.2C52.9,-44.7,67,-35.1,72.8,-22C78.6,-8.9,76.1,7.7,68.8,21.3C61.5,34.9,49.3,45.5,36.1,52.5C22.9,59.5,8.7,62.9,-5.1,69.1C-18.9,75.3,-32.3,84.3,-43.5,79.5C-54.7,74.7,-63.7,56.1,-69.1,37.3C-74.5,18.5,-76.3,-0.5,-71.3,-16.2C-66.3,-31.9,-54.5,-44.3,-41.3,-51C-28.1,-57.7,-13.4,-58.7,0.8,-59.9C15,-61.1,26.1,-57.7,39.5,-51.2Z"); }
}

/* ── Constellation ── */
.sp-etab-types-constellation {
  position: absolute;
  top: 8%;
  left: 0;
  width: 100%;
  height: 140px;
  opacity: 0.6;
}

.sp-etab-types-constellation svg {
  width: 100%;
  height: 100%;
}

.sp-etab-types-const-line {
  stroke: rgba(124, 58, 237, 0.1);
  stroke-width: 0.6;
  stroke-dasharray: 3 5;
  animation: spEtabTypesConstDash 25s linear infinite;
}

.sp-etab-types-const-line:nth-child(even) {
  stroke: rgba(59, 130, 246, 0.08);
  animation-duration: 35s;
  animation-direction: reverse;
}

.sp-etab-types-const-dot {
  fill: rgba(124, 58, 237, 0.18);
  animation: spEtabTypesConstPulse 4s ease-in-out infinite;
}

.sp-etab-types-const-dot--active {
  fill: rgba(124, 58, 237, 0.3);
  filter: drop-shadow(0 0 3px rgba(124, 58, 237, 0.2));
}

.sp-etab-types-const-dot:nth-child(odd) { animation-delay: -1.5s; }
.sp-etab-types-const-dot:nth-child(3n) { animation-delay: -3s; animation-duration: 5s; }

@keyframes spEtabTypesConstDash {
  to { stroke-dashoffset: -80; }
}

@keyframes spEtabTypesConstPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ── Hexagonal Grid ── */
.sp-etab-types-hex-grid {
  position: absolute;
  bottom: 2%;
  right: 1%;
  width: 260px;
  height: 180px;
  opacity: 0.4;
  transform: rotate(-12deg);
}

.sp-etab-types-hex-grid svg {
  width: 100%;
  height: 100%;
}

.sp-etab-types-hex {
  fill: none;
  stroke: rgba(59, 130, 246, 0.1);
  stroke-width: 0.7;
  animation: spEtabTypesHexPulse 6s ease-in-out infinite;
}

.sp-etab-types-hex:nth-child(1) { animation-delay: 0s; }
.sp-etab-types-hex:nth-child(2) { animation-delay: 0.2s; }
.sp-etab-types-hex:nth-child(3) { animation-delay: 0.4s; }
.sp-etab-types-hex:nth-child(4) { animation-delay: 0.6s; }
.sp-etab-types-hex:nth-child(5) { animation-delay: 0.8s; }
.sp-etab-types-hex:nth-child(6) { animation-delay: 1s; }
.sp-etab-types-hex:nth-child(7) { animation-delay: 1.2s; }
.sp-etab-types-hex:nth-child(8) { animation-delay: 1.4s; }
.sp-etab-types-hex:nth-child(9) { animation-delay: 1.6s; }
.sp-etab-types-hex:nth-child(10) { animation-delay: 1.8s; }
.sp-etab-types-hex:nth-child(11) { animation-delay: 2s; }
.sp-etab-types-hex:nth-child(12) { animation-delay: 2.2s; }
.sp-etab-types-hex:nth-child(13) { animation-delay: 2.4s; }
.sp-etab-types-hex:nth-child(14) { animation-delay: 2.6s; }
.sp-etab-types-hex:nth-child(15) { animation-delay: 2.8s; }
.sp-etab-types-hex:nth-child(16) { animation-delay: 3s; }
.sp-etab-types-hex:nth-child(17) { animation-delay: 3.2s; }
.sp-etab-types-hex:nth-child(18) { animation-delay: 3.4s; }
.sp-etab-types-hex:nth-child(19) { animation-delay: 3.6s; }
.sp-etab-types-hex:nth-child(20) { animation-delay: 3.8s; }
.sp-etab-types-hex:nth-child(21) { animation-delay: 4s; }
.sp-etab-types-hex:nth-child(22) { animation-delay: 4.2s; }

.sp-etab-types-hex:nth-child(5n+1) {
  stroke: rgba(124, 58, 237, 0.12);
}

.sp-etab-types-hex:nth-child(3n+2) {
  stroke: rgba(16, 185, 129, 0.08);
}

@keyframes spEtabTypesHexPulse {
  0%, 100% { stroke-opacity: 0.1; stroke-width: 0.7; }
  50% { stroke-opacity: 0.3; stroke-width: 1.1; }
}

/* ── Orbit System ── */
.sp-etab-types-orbit {
  position: absolute;
  border-radius: 50%;
}

.sp-etab-types-orbit--1 {
  width: 200px;
  height: 200px;
  top: -50px;
  left: 12%;
}

.sp-etab-types-orbit--2 {
  width: 160px;
  height: 160px;
  bottom: -40px;
  right: 18%;
}

.sp-etab-types-orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(124, 58, 237, 0.06);
  border-radius: 50%;
  animation: spEtabTypesOrbitSpin 45s linear infinite;
}

.sp-etab-types-orbit-ring--inner {
  inset: 25%;
  border-color: rgba(124, 58, 237, 0.08);
  animation-duration: 30s;
  animation-direction: reverse;
}

.sp-etab-types-orbit--2 .sp-etab-types-orbit-ring {
  animation-duration: 55s;
  animation-direction: reverse;
  border-color: rgba(59, 130, 246, 0.05);
}

.sp-etab-types-orbit-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  top: -2.5px;
  left: 50%;
  transform-origin: 2.5px calc(50% + 50px);
  animation: spEtabTypesOrbitSpin 45s linear infinite;
}

.sp-etab-types-orbit--2 .sp-etab-types-orbit-dot {
  background: rgba(59, 130, 246, 0.18);
  animation-duration: 55s;
  animation-direction: reverse;
  transform-origin: 2.5px calc(50% + 40px);
}

@keyframes spEtabTypesOrbitSpin {
  to { transform: rotate(360deg); }
}

/* ── Wave System ── */
.sp-etab-types-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  opacity: 0.5;
}

.sp-etab-types-wave-path {
  fill: none;
  stroke-linecap: round;
}

.sp-etab-types-wave-path--1 {
  stroke: rgba(124, 58, 237, 0.08);
  stroke-width: 0.8;
  stroke-dasharray: 8 6;
  animation: spEtabTypesWaveShift 15s linear infinite;
}

.sp-etab-types-wave-path--2 {
  stroke: rgba(59, 130, 246, 0.06);
  stroke-width: 0.6;
  stroke-dasharray: 6 8;
  animation: spEtabTypesWaveShift 20s linear infinite reverse;
}

.sp-etab-types-wave-path--3 {
  stroke: rgba(16, 185, 129, 0.05);
  stroke-width: 0.5;
  stroke-dasharray: 10 10;
  animation: spEtabTypesWaveShift 25s linear infinite;
}

@keyframes spEtabTypesWaveShift {
  to { stroke-dashoffset: -200; }
}

/* ── Floating Rings ── */
.sp-etab-types-ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
}

.sp-etab-types-ring--1 {
  width: 70px;
  height: 70px;
  border-width: 1px;
  border-color: rgba(124, 58, 237, 0.05);
  top: 35%;
  left: 4%;
  animation: spEtabTypesRingFloat 20s ease-in-out infinite;
}

.sp-etab-types-ring--2 {
  width: 45px;
  height: 45px;
  border-width: 1.5px;
  border-color: rgba(59, 130, 246, 0.04);
  top: 18%;
  right: 6%;
  animation: spEtabTypesRingFloat 24s ease-in-out infinite reverse;
}

.sp-etab-types-ring--3 {
  width: 30px;
  height: 30px;
  border-width: 1px;
  border-color: rgba(16, 185, 129, 0.05);
  bottom: 30%;
  left: 8%;
  animation: spEtabTypesRingFloat 18s ease-in-out infinite;
  animation-delay: -6s;
}

.sp-etab-types-ring--4 {
  width: 20px;
  height: 20px;
  border-width: 1.5px;
  border-color: rgba(245, 158, 11, 0.04);
  top: 55%;
  right: 12%;
  animation: spEtabTypesRingFloat 22s ease-in-out infinite;
  animation-delay: -10s;
}

.sp-etab-types-ring--5 {
  width: 55px;
  height: 55px;
  border-width: 0.5px;
  border-color: rgba(124, 58, 237, 0.04);
  bottom: 15%;
  left: 30%;
  animation: spEtabTypesRingFloat 26s ease-in-out infinite reverse;
  animation-delay: -4s;
}

@keyframes spEtabTypesRingFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(10px, -14px) rotate(90deg) scale(1.08); }
  50% { transform: translate(-6px, -22px) rotate(180deg) scale(0.92); }
  75% { transform: translate(14px, -10px) rotate(270deg) scale(1.04); }
}

/* ── Diamond Scatter ── */
.sp-etab-types-diamond {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(124, 58, 237, 0.08);
  transform: rotate(45deg);
}

.sp-etab-types-diamond--1 {
  top: 22%;
  left: 18%;
  animation: spEtabTypesDiamondPulse 7s ease-in-out infinite;
}

.sp-etab-types-diamond--2 {
  top: 65%;
  right: 22%;
  width: 6px;
  height: 6px;
  background: rgba(59, 130, 246, 0.06);
  animation: spEtabTypesDiamondPulse 9s ease-in-out infinite reverse;
}

.sp-etab-types-diamond--3 {
  bottom: 40%;
  left: 35%;
  width: 5px;
  height: 5px;
  background: rgba(16, 185, 129, 0.06);
  animation: spEtabTypesDiamondPulse 8s ease-in-out infinite;
  animation-delay: -3s;
}

.sp-etab-types-diamond--4 {
  top: 45%;
  right: 35%;
  width: 7px;
  height: 7px;
  background: rgba(245, 158, 11, 0.05);
  animation: spEtabTypesDiamondPulse 10s ease-in-out infinite reverse;
  animation-delay: -5s;
}

@keyframes spEtabTypesDiamondPulse {
  0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.4; }
  50% { transform: rotate(45deg) scale(1.4); opacity: 0.8; }
}

.sp-etab-types-shell {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.sp-etab-types-title {
  margin: 0 0 1.5rem;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
}

.sp-etab-types-title em {
  font-style: normal;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Row */
.sp-etab-types-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0 0.5rem;
  scrollbar-width: none;
}

.sp-etab-types-row::-webkit-scrollbar {
  display: none;
}

/* Card */
.sp-etab-type-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  background: #f8f9fc;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
  min-width: 260px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.sp-etab-type-card::before {
  content: attr(data-num);
  position: absolute;
  right: -8px;
  bottom: -12px;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  line-height: 1;
  pointer-events: none;
  transition: all 0.3s ease;
}

.sp-etab-type-card:hover {
  background: #fff;
  border-color: rgba(124, 58, 237, 0.15);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.08);
  transform: translateY(-1px);
  color: inherit;
}

.sp-etab-type-card:hover::before {
  color: rgba(124, 58, 237, 0.06);
}

.sp-etab-type-card:hover .sp-etab-type-icon-wrap {
  background: #7c3aed;
  color: #fff;
}

.sp-etab-type-card:hover .sp-etab-type-arrow {
  opacity: 1;
  transform: translateX(0);
  color: #7c3aed;
}

/* Number */
.sp-etab-type-num {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.15);
  letter-spacing: 0.02em;
}

/* Icon */
.sp-etab-type-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eef;
  color: #7c3aed;
  transition: all 0.25s ease;
}

/* Content */
.sp-etab-type-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 0.6rem;
  flex: 1;
}

.sp-etab-type-name {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  line-height: 1.2;
}

.sp-etab-type-count {
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

/* Arrow */
.sp-etab-type-arrow {
  margin-left: auto;
  padding-left: 0.5rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
  color: #7c3aed;
}

/* Entrance */
.sp-etab-type-card {
  opacity: 0;
  transform: translateY(10px);
}

.sp-etab-type-card--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .sp-etab-types-section {
    padding: 2rem 1rem 2.5rem;
  }

  .sp-etab-types-title {
    margin-bottom: 1rem;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .sp-etab-types-row {
    gap: 0.6rem;
  }

  .sp-etab-type-card {
    min-width: 210px;
    padding: 0.6rem 0.85rem 0.6rem 0.6rem;
  }

  .sp-etab-type-icon-wrap {
    width: 30px;
    height: 30px;
  }

  .sp-etab-type-name {
    font-size: 0.72rem;
  }

  .sp-etab-type-count {
    font-size: 0.6rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   Trouvez le partenaire idéal (Filtres)
   ═══════════════════════════════════════════════════════════ */
.sp-etab-filters-section {
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
  border-top: 1px solid rgba(124, 58, 237, 0.04);
}

.sp-etab-filters-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.sp-etab-filters-title {
  margin: 0 0 1.2rem;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
}

.sp-etab-filters-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Filter Row */
.sp-etab-filter-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.sp-etab-filter-row:last-child {
  border-bottom: none;
}

.sp-etab-filter-label {
  flex: 0 0 160px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

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

/* Chips */
.sp-etab-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.06);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sp-etab-chip:hover {
  border-color: rgba(124, 58, 237, 0.3);
  color: #7c3aed;
  background: #faf5ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
}

.sp-etab-chip--active {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.25);
}

.sp-etab-chip--active:hover {
  background: linear-gradient(135deg, #6d28d9, #5b21b6);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
  transform: translateY(-1px);
}

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

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

.sp-etab-chip--more .ph {
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   Établissements Grid (V2)
   ═══════════════════════════════════════════════════════════ */
.sp-etab-grid-section {
  padding: 1rem 2rem 1.5rem;
  background: #fff;
}

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

.sp-etab-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.sp-etab-grid-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
}

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

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

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

.sp-etab-grid-sort-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  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.75rem center;
}

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

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

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

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

.sp-etab-view-btn .ph {
  font-size: 1.1rem;
}

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

/* Card V2 */
.sp-etab-card-v2 {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.sp-etab-card-v2:hover {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow:
    0 8px 24px rgba(124, 58, 237, 0.1),
    0 0 0 1px rgba(124, 58, 237, 0.08);
  transform: translateY(-6px);
  color: inherit;
}

/* Image */
.sp-etab-card-v2-img {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f0f0ff;
}

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

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

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

.sp-etab-card-v2-heart .ph {
  font-size: 1rem;
  color: #64748b;
}

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

/* Body */
.sp-etab-card-v2-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
}

.sp-etab-card-v2-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.sp-etab-card-v2-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.sp-etab-card-v2-name {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.sp-etab-card-v2-location {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: #64748b;
}

.sp-etab-card-v2-location .ph {
  font-size: 0.85rem;
  color: #7c3aed;
}

.sp-etab-card-v2-desc {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stats */
.sp-etab-card-v2-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sp-etab-card-v2-stat {
  display: flex;
  flex-direction: column;
}

.sp-etab-card-v2-stat-num {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.sp-etab-card-v2-stat-label {
  font-size: 0.7rem;
  color: #64748b;
}

/* CTA */
.sp-etab-card-v2-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7c3aed;
  transition: gap 0.2s ease;
}

.sp-etab-card-v2:hover .sp-etab-card-v2-cta {
  gap: 0.6rem;
}

.sp-etab-card-v2-cta .ph {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.sp-etab-card-v2:hover .sp-etab-card-v2-cta .ph {
  transform: translateX(2px);
}

/* Pagination */
.sp-etab-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.sp-etab-pagination-inner {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem;
  background: #f1f5f9;
  border-radius: 14px;
}

.sp-etab-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-etab-page-btn:hover {
  background: #fff;
  color: #7c3aed;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

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

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

.sp-etab-page-btn--prev,
.sp-etab-page-btn--next {
  color: #64748b;
}

.sp-etab-page-btn--prev:hover,
.sp-etab-page-btn--next:hover {
  color: #7c3aed;
}

.sp-etab-page-btn--prev:disabled,
.sp-etab-page-btn--next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.sp-etab-page-btn--prev:disabled:hover,
.sp-etab-page-btn--next:disabled:hover {
  background: transparent;
  color: #64748b;
  box-shadow: none;
  transform: none;
}

.sp-etab-page-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 42px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.1em;
}

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

/* ═══════════════════════════════════════════════════════════
   À découvrir cette semaine (Carousel)
   ═══════════════════════════════════════════════════════════ */
.sp-etab-highlight-section {
  padding: 1.5rem 2rem 2rem;
  background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
}

.sp-etab-highlight-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.sp-etab-highlight-title {
  margin: 0 0 1.5rem;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
}

.sp-etab-highlight-carousel {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0 1rem;
}

.sp-etab-highlight-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-etab-highlight-card {
  flex: 0 0 calc(25% - 0.94rem);
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
}

.sp-etab-highlight-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow:
    0 8px 28px rgba(124, 58, 237, 0.12),
    0 0 0 1px rgba(124, 58, 237, 0.06);
  transform: translateY(-4px);
}

.sp-etab-highlight-card-img {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

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

/* Badges */
.sp-etab-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  animation: spEtabBadgePulse 3s ease-in-out infinite;
}

@keyframes spEtabBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
  50% { box-shadow: 0 0 0 4px rgba(255,255,255,0); }
}

.sp-etab-badge--blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.sp-etab-badge--purple {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.sp-etab-badge--green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.sp-etab-badge--orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

/* Card Body */
.sp-etab-highlight-card-body {
  padding: 1rem 1.2rem 1.2rem;
}

.sp-etab-highlight-card-name {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.sp-etab-highlight-card-location {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.sp-etab-highlight-card-desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-etab-highlight-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Arrows */
.sp-etab-highlight-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

.sp-etab-highlight-arrow:hover {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
}

.sp-etab-highlight-arrow--prev {
  left: -1rem;
}

.sp-etab-highlight-arrow--next {
  right: -1rem;
}

.sp-etab-highlight-arrow .ph {
  font-size: 1.1rem;
  color: #334155;
}

.sp-etab-highlight-arrow:hover .ph {
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   Comment ça fonctionne ?
   ═══════════════════════════════════════════════════════════ */
.sp-etab-how-section {
  position: relative;
  padding: 2rem 2rem 3rem;
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
  overflow: hidden;
}

.sp-etab-how-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sp-etab-how-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.sp-etab-how-shell {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.sp-etab-how-title {
  margin: 0 0 2rem;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
}

.sp-etab-how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.sp-etab-how-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  opacity: 0;
  transform: translateY(15px);
}

.sp-etab-how-step--visible {
  opacity: 1;
  transform: translateY(0);
}

.sp-etab-how-step:hover {
  border-color: rgba(124, 58, 237, 0.15);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06);
  transform: translateY(-2px);
}

.sp-etab-how-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
  transition: all 0.3s ease;
}

.sp-etab-how-step:hover .sp-etab-how-step-num {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.sp-etab-how-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f0f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-etab-how-step:hover .sp-etab-how-step-icon {
  background: #7c3aed;
  transform: scale(1.05);
}

.sp-etab-how-step-icon .ph {
  font-size: 1.6rem;
  color: #7c3aed;
  transition: all 0.3s ease;
}

.sp-etab-how-step:hover .sp-etab-how-step-icon .ph {
  color: #fff;
}

.sp-etab-how-step-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #475569;
  max-width: 200px;
  transition: color 0.3s ease;
}

.sp-etab-how-step:hover .sp-etab-how-step-text {
  color: #334155;
}

.sp-etab-how-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
  color: #c4b5fd;
  flex: 0 0 40px;
}

.sp-etab-how-arrow .ph {
  font-size: 1.2rem;
  animation: spEtabHowArrowPulse 2s ease-in-out infinite;
}

@keyframes spEtabHowArrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(4px); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   Ils nous font confiance (Témoignages)
   ═══════════════════════════════════════════════════════════ */
.sp-etab-testimonials-section {
  padding: 3rem 2rem 4rem;
  background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
}

.sp-etab-testimonials-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.sp-etab-testimonials-title {
  margin: 0 0 2rem;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
}

.sp-etab-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.sp-etab-testimonial-card {
  padding: 1.5rem 1.25rem;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  border-left: 3px solid #7c3aed;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.sp-etab-testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 3rem;
  font-family: Georgia, serif;
  color: rgba(124, 58, 237, 0.08);
  line-height: 1;
  pointer-events: none;
}

.sp-etab-testimonial-card:hover {
  border-color: rgba(124, 58, 237, 0.15);
  border-left-color: #3b82f6;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.08);
  transform: translateY(-2px);
}

.sp-etab-testimonial-partner {
  font-size: 0.75rem;
  font-weight: 700;
  color: #7c3aed;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sp-etab-testimonial-quote {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #334155;
  flex: 1;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.sp-etab-testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sp-etab-testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0ff;
}

.sp-etab-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-etab-testimonial-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}

.sp-etab-testimonial-role {
  font-size: 0.72rem;
  color: #64748b;
}

/* ═══════════════════════════════════════════════════════════
   CTA Établissements (Vous représentez un établissement ?)
   ═══════════════════════════════════════════════════════════ */
.sp-etab-cta-section {
  padding: 0 2rem 3rem;
  background: #fff;
}

.sp-etab-cta-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.sp-etab-cta-banner {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #7c3aed 100%);
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  position: relative;
  box-shadow:
    0 8px 32px rgba(76, 29, 149, 0.2),
    0 0 0 1px rgba(124, 58, 237, 0.1);
}

.sp-etab-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.sp-etab-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sp-etab-cta-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.sp-etab-cta-bg-orb--1 {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.12);
  top: -50px;
  left: -30px;
  animation: spEtabCtaOrbFloat 8s ease-in-out infinite;
}

.sp-etab-cta-bg-orb--2 {
  width: 150px;
  height: 150px;
  background: rgba(139, 92, 246, 0.25);
  bottom: -40px;
  left: 100px;
  animation: spEtabCtaOrbFloat 10s ease-in-out infinite reverse;
}

.sp-etab-cta-bg-orb--3 {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.10);
  top: 50%;
  left: 40%;
  animation: spEtabCtaOrbFloat 12s ease-in-out infinite;
}

@keyframes spEtabCtaOrbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(15px, -20px); }
  66% { transform: translate(-10px, 15px); }
}

.sp-etab-cta-bg-lines {
  position: absolute;
  inset: 0;
}

.sp-etab-cta-bg-lines svg {
  width: 100%;
  height: 100%;
}

.sp-etab-cta-line {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
  animation: spEtabCtaLineDash 15s linear infinite;
}

@keyframes spEtabCtaLineDash {
  to { stroke-dashoffset: -40; }
}

.sp-etab-cta-dot {
  fill: rgba(255, 255, 255, 0.4);
  animation: spEtabCtaDotPulse 3s ease-in-out infinite;
}

.sp-etab-cta-dot--active {
  fill: rgba(255, 255, 255, 0.7);
  animation: spEtabCtaDotPulse 2s ease-in-out infinite;
}

@keyframes spEtabCtaDotPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.sp-etab-cta-bg-hex {
  position: absolute;
  right: 55%;
  top: 20%;
  width: 200px;
  height: 200px;
}

.sp-etab-cta-bg-hex svg {
  width: 100%;
  height: 100%;
}

.sp-etab-cta-hex {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1.2;
  animation: spEtabCtaHexPulse 4s ease-in-out infinite;
}

.sp-etab-cta-hex:nth-child(2) { animation-delay: 0.5s; }
.sp-etab-cta-hex:nth-child(3) { animation-delay: 1s; }
.sp-etab-cta-hex:nth-child(4) { animation-delay: 1.5s; }

@keyframes spEtabCtaHexPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.sp-etab-cta-bg-rings {
  position: absolute;
  left: 30%;
  top: 30%;
}

.sp-etab-cta-ring {
  position: absolute;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: spEtabCtaRingSpin 25s linear infinite;
}

.sp-etab-cta-ring--1 {
  width: 100px;
  height: 100px;
  top: 0;
  left: 0;
}

.sp-etab-cta-ring--2 {
  width: 70px;
  height: 70px;
  top: 15px;
  left: 15px;
  animation-direction: reverse;
  animation-duration: 18s;
}

@keyframes spEtabCtaRingSpin {
  to { transform: rotate(360deg); }
}

.sp-etab-cta-content {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2.5rem;
  position: relative;
  z-index: 1;
}

.sp-etab-cta-title {
  margin: 0 0 0.75rem;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.sp-etab-cta-desc {
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 420px;
}

.sp-etab-cta-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sp-etab-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.sp-etab-cta-btn--white {
  background: #fff;
  color: #4c1d95;
}

.sp-etab-cta-btn--white:hover {
  background: #f5f3ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.sp-etab-cta-btn--outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.sp-etab-cta-btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.sp-etab-cta-image {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
}

.sp-etab-cta-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Features */
.sp-etab-cta-features {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.sp-etab-cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sp-etab-cta-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-etab-cta-feature-icon .ph {
  font-size: 0.85rem;
  color: #fff;
}

.sp-etab-cta-feature-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

/* ═══════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .sp-etab-hero-shell {
    padding: 2rem 2rem 4.5rem;
  }

  .sp-etab-hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  }

  .sp-etab-hero-stats {
    margin-top: -2rem;
    padding: 0 2rem;
  }

  .sp-etab-hero-stat {
    padding: 1rem 1rem;
  }

  .sp-etab-hero-stat-number {
    font-size: 1.3rem;
  }

  .sp-etab-hero-stat-label {
    font-size: 0.65rem;
  }
}

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

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

  .sp-etab-hero-breadcrumb {
    font-size: 0.75rem;
    margin-bottom: 1.2rem;
  }

  .sp-etab-hero-content {
    max-width: 100%;
    padding-top: 0;
  }

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

  .sp-etab-hero-desc {
    font-size: 0.9rem;
  }

  .sp-etab-hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .sp-etab-hero-btn {
    justify-content: center;
  }

  .sp-etab-hero-stats {
    margin-top: -2rem;
    padding: 0 1rem;
  }

  .sp-etab-hero-stats-inner {
    flex-wrap: wrap;
    border-radius: 12px;
  }

  .sp-etab-hero-stat {
    flex: 1 1 45%;
    padding: 0.8rem 1rem;
    border-right: none;
  }

  .sp-etab-hero-stat:nth-child(odd) {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
  }

  .sp-etab-hero-stat:last-child {
    border-right: none;
  }

  .sp-etab-hero-stat-icon {
    width: 32px;
    height: 32px;
  }

  .sp-etab-hero-stat-icon .ph {
    font-size: 1rem;
  }

  .sp-etab-hero-stat-number {
    font-size: 1.1rem;
  }

  .sp-etab-hero-stat-label {
    font-size: 0.6rem;
  }

  .sp-etab-grid {
    grid-template-columns: 1fr;
  }

  .sp-etab-grid-section {
    padding: 3rem 1rem 4rem;
  }

  .sp-etab-map-section {
    padding: 2.5rem 1rem 3rem;
  }

  .sp-etab-map-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }

  .sp-etab-map-container {
    height: 280px;
    padding: 0.75rem;
    border-radius: 16px;
  }

  .sp-etab-map-glow {
    border-radius: 18px;
  }

  .sp-etab-map-card {
    display: none;
  }

  .sp-etab-map-legend {
    position: static;
    margin-top: 1rem;
    justify-content: center;
  }

  .sp-etab-types-section {
    padding: 2rem 1rem 2.5rem;
  }

  .sp-etab-types-header {
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1rem;
  }

  .sp-etab-types-row {
    gap: 0.5rem;
  }

  .sp-etab-type-card {
    min-width: 155px;
    padding: 0.65rem 0.8rem;
  }

  .sp-etab-type-icon {
    width: 44px;
    height: 44px;
  }

  .sp-etab-type-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Highlight */
  .sp-etab-highlight-card {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .sp-etab-highlight-arrow--prev {
    left: 0.5rem;
  }

  .sp-etab-highlight-arrow--next {
    right: 0.5rem;
  }

  /* How */

  /* Testimonials */
  .sp-etab-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* CTA */
  .sp-etab-cta-section {
    padding: 0 1rem 3rem;
  }

  .sp-etab-cta-banner {
    flex-direction: column;
  }

  .sp-etab-cta-content {
    padding: 2rem 1.5rem;
  }

  .sp-etab-cta-image {
    flex: none;
    height: 200px;
  }

  .sp-etab-cta-features {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .sp-etab-map-section {
    padding: 2rem 0.75rem 2.5rem;
  }

  .sp-etab-map-title {
    font-size: 1.2rem;
  }

  .sp-etab-map-subtitle {
    font-size: 0.8rem;
  }

  .sp-etab-map-container {
    height: 240px;
    padding: 0.5rem;
    border-radius: 14px;
  }

  .sp-etab-map-glow {
    border-radius: 16px;
  }

  .sp-etab-map-bg-orb--1 {
    width: 120px;
    height: 120px;
  }

  .sp-etab-map-bg-orb--2 {
    width: 100px;
    height: 100px;
  }

  .sp-etab-map-bg-orb--3,
  .sp-etab-map-bg-orb--4 {
    display: none;
  }

  .sp-etab-map-bg-shape {
    display: none;
  }

  .sp-etab-map-bg-particle {
    display: none;
  }

  .sp-etab-map-legend {
    position: static;
    margin-top: 0.75rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.6rem 0.8rem;
  }

  .sp-etab-map-legend-item {
    font-size: 0.65rem;
  }
}
