:root {
  --sp-blue-900: #0b2a6f;
  --sp-blue-700: #1557d6;
  --sp-blue-600: #2563eb;
  --sp-blue-500: #3b82f6;
  --sp-blue-100: #eaf2ff;
  --sp-ink: #0f2347;
  --sp-muted: #60708a;
  --sp-gold: #d4a843;
  --sp-gold-soft: #f7e8b7;
  --sp-footer: #081a3b;
  --sp-footer-2: #0d2753;
}

/* public.css — pages publiques StagePro (Accueil, À propos, Contact, Connexion, Inscriptions) */

body {
  background: var(--bg);
}

/* ===== NAVBAR ===== */
.sp-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
}
.sp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.sp-brand-text span {
  color: var(--primary);
}
.sp-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.sp-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.sp-nav-links a:hover,
.sp-nav-links a.active {
  color: var(--primary);
}
.sp-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
@media (max-width: 860px) {
  .sp-nav-links {
    display: none;
  }
  .sp-nav-toggle {
    display: flex;
  }
}

/* ===== BUTTONS (StagePro) ===== */

.btn-sp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-sp:active {
  transform: scale(0.97);
}
.btn-sp-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}
.btn-sp-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.btn-sp-outline {
  background: #fff;
  color: var(--primary);
  border-color: var(--border);
}
.btn-sp-outline:hover {
  border-color: var(--primary);
  background: var(--info-light);
}
.btn-sp-success {
  background: var(--success);
  color: #fff;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}
.btn-sp-success:hover {
  background: #15803d;
  transform: translateY(-1px);
}
.btn-sp-danger {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.22);
}
.btn-sp-danger:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}
.btn-sp-lg {
  padding: 14px 30px;
  font-size: 15px;
}
.btn-sp-sm {
  padding: 8px 18px;
  font-size: 13px;
}
.btn-sp-block {
  width: 100%;
}

/* ===== HERO (Accueil) ===== */
.sp-hero {
  padding: 70px 5% 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .sp-hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    text-align: center;
  }
}
.sp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--info-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.sp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.sp-hero h1 span {
  color: var(--primary);
}
.sp-hero p.lead {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
@media (max-width: 900px) {
  .sp-hero p.lead {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}
.sp-hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .sp-hero-actions {
    justify-content: center;
  }
}
.sp-stats-row {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .sp-stats-row {
    justify-content: center;
  }
}
.sp-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--info-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-stat-num {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.sp-stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
}

.sp-hero-visual {
  background: linear-gradient(155deg, var(--primary) 0%, #1d4ed8 100%);
  border-radius: var(--radius-xl);
  padding: 36px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sp-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.12) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 45%
    );
}
.sp-hero-visual svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-width: 320px;
}

/* ===== TRUST / PARTNERS ===== */
.sp-trust {
  max-width: 1280px;
  margin: 10px auto 60px;
  padding: 0 5%;
  text-align: center;
}
.sp-trust-lbl {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sp-trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.sp-trust-logos span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-light);
  opacity: 0.75;
}

/* ===== SECTION SHELL ===== */
.sp-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 5%;
}
.sp-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.sp-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.sp-section-header p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ===== GENERIC PAGE HEADER (About/Contact/etc.) ===== */
.sp-page-head {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 5% 10px;
  text-align: center;
}
.sp-page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--text);
  margin-bottom: 12px;
}
.sp-page-head p {
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== ABOUT PAGE ===== */
.sp-about-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 5% 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
@media (max-width: 900px) {
  .sp-about-grid {
    grid-template-columns: 1fr;
  }
}
.sp-about-visual {
  background: linear-gradient(155deg, var(--primary) 0%, #1d4ed8 100%);
  border-radius: var(--radius-xl);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sp-about-visual svg {
  width: 100%;
  max-width: 300px;
  height: auto;
}
.sp-check-list {
  list-style: none;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sp-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}
.sp-check-list .check-ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--info-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== CONTACT PAGE ===== */
.sp-contact-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 5% 70px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}
@media (max-width: 860px) {
  .sp-contact-grid {
    grid-template-columns: 1fr;
  }
}
.sp-contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sp-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.sp-contact-card .cc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--info-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-contact-card h4 {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 3px;
}
.sp-contact-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.sp-contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.sp-contact-form h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
  margin-bottom: 20px;
}
.sp-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) {
  .sp-form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ===== AUTH (login/register) SHARED ===== */
.sp-auth-wrap {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.sp-auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 36px 34px;
}
.sp-auth-card.wide {
  max-width: 620px;
}
.sp-auth-card.xwide {
  max-width: 760px;
}
.sp-auth-head {
  text-align: center;
  margin-bottom: 26px;
}
.sp-auth-head h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--text);
  margin-bottom: 6px;
}
.sp-auth-head p {
  color: var(--text-muted);
  font-size: 13.5px;
}
.sp-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin: -6px 0 18px;
}
.sp-auth-row label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  cursor: pointer;
}
.sp-auth-row a {
  color: var(--primary);
  font-weight: 500;
}
.sp-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-light);
  font-size: 12px;
}
.sp-divider::before,
.sp-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.sp-social-row {
  display: flex;
  gap: 12px;
}
.sp-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}
.sp-social-btn:hover {
  border-color: var(--primary);
  background: var(--info-light);
}
.sp-auth-footer {
  text-align: center;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.sp-auth-footer a {
  color: var(--primary);
  font-weight: 600;
}
.input-password {
  position: relative;
}
.input-password input {
  padding-right: 42px;
}
.btn-toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
}
.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}
.terms-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}
.terms-row label {
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}
.terms-row a {
  color: var(--primary);
  text-decoration: underline;
}
.form-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) {
  .form-row2 {
    grid-template-columns: 1fr;
  }
}

/* ===== ACCOUNT TYPE CHOICE ===== */
.account-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
@media (max-width: 640px) {
  .account-type-grid {
    grid-template-columns: 1fr;
  }
}
.account-type-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.account-type-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.account-type-card .at-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--info-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.account-type-card h4 {
  font-size: 14.5px;
  color: var(--text);
}
.account-type-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Error / success banners reuse .alert from global.css */
.sp-auth-error {
  display: none;
  background: var(--danger-light);
  border: 1px solid #fecaca;
  color: var(--danger);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.sp-auth-error.show {
  display: flex;
}

.sp-footer {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  padding: 58px clamp(20px, 5vw, 72px) 22px;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(
      circle at 78% 0%,
      rgba(59, 130, 246, 0.22),
      transparent 22rem
    ),
    linear-gradient(145deg, var(--sp-footer), var(--sp-footer-2));
  border-top: 3px solid var(--primary);
}
.sp-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sp-gold), transparent);
  opacity: 0.85;
}
.sp-footer-inner {
  width: min(1280px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 42px;
  margin: 0 auto;
}
.sp-footer-col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 12px;
}
.sp-footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sp-gold), transparent);
}
.sp-footer-col p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
}
.sp-footer-brand-block .footer-brand-name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 700 21px var(--font-display);
  margin-bottom: 16px;
}
.sp-footer-links {
  display: grid;
  gap: 10px;
  
}
.sp-footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  transition:
    color 0.2s,
    transform 0.2s;
}
.sp-footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}
.sp-footer-contact {
  display: grid;
  gap: 14px;
}
.sp-footer-contact a,
.sp-footer-contact span {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
}
.sp-footer-contact svg {
  color: #7eb0ff;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: 0.2s;
}
.footer-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}
.footer-institution {
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(212, 168, 67, 0.3);
}
.footer-institution strong {
  display: block;
  color: var(--sp-gold);
  font-size: 12px;
  margin-bottom: 4px;
}
.footer-institution span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}
.sp-footer-bottom {
  width: min(1280px, 100%);
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  text-align: left;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}
.sp-footer-bottom strong {
  color: #dbe8ff;
}
.sp-footer-heart {
  color: #7eb0ff;
  font-size: 15px;
}

@keyframes spFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes spShine {
  0%,
  70%,
  100% {
    transform: translateX(-60%) rotate(15deg);
  }
  85% {
    transform: translateX(60%) rotate(15deg);
  }
}

@media (max-width: 900px) {
  .sp-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .sp-auth-shell,
  .auth-shell {
    grid-template-columns: 1fr;
    width: min(760px, 96vw);
  }
  .sp-auth-showcase,
  .auth-showcase {
    min-height: 420px;
    padding: 40px 34px;
  }
  .sp-auth-shell .sp-auth-card,
  .auth-shell .auth-card {
    min-height: auto;
  }
  .account-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .sp-navbar {
    padding: 12px 18px;
  }
  .sp-nav-links {
    display: none;
  }
  .sp-footer-inner {
    grid-template-columns: 1fr;
  }
  .sp-footer-bottom {
    flex-direction: column;
  }
  .sp-auth-showcase,
  .auth-showcase {
    padding: 34px 24px;
    min-height: 360px;
  }
  .showcase-title {
    font-size: 2rem;
  }
  .auth-shell .auth-card {
    padding: 34px 24px;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   REDESIGN PREMIUM — ajouts à stagepro-public-public.css
   ═══════════════════════════════════════════════════════════ */

/* ── Navbar scrolled ── */
.sp-navbar {
  transition:
    background 0.3s,
    box-shadow 0.3s,
    padding 0.3s;
}
.sp-navbar--scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 2px 24px rgba(37, 99, 235, 0.1);
  padding-top: 10px;
  padding-bottom: 10px;
}
.sp-nav-links a {
  position: relative;
  padding-bottom: 3px;
}
.sp-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s;
}
.sp-nav-links a:hover::after,
.sp-nav-links a.active::after {
  width: 100%;
}

/* ── Mobile menu ── */
.sp-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 14px 5%;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.sp-mobile-menu.open {
  display: flex;
}
.sp-mobile-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.sp-mobile-menu a:last-child {
  border-bottom: none;
}
.sp-mobile-menu a:hover {
  color: var(--primary);
}

/* ── Section tag ── */
.sp-section-tag {
  display: inline-block;
  background: var(--info-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ══ HERO REDESIGN ══════════════════════════════════════════ */
.sp-hero {
  position: relative;
  overflow: hidden;
  padding: 90px 5% 60px;
  max-width: 100%;
  margin: 0;
}
.sp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.sp-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.sp-hero-blob--1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -100px;
  animation: blobMove 8s ease-in-out infinite alternate;
}
.sp-hero-blob--2 {
  width: 400px;
  height: 400px;
  background: #1d4ed8;
  bottom: -150px;
  left: -100px;
  animation: blobMove 10s ease-in-out infinite alternate-reverse;
}
@keyframes blobMove {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(30px, 20px) scale(1.08);
  }
}

/* Grille de points en background */
.sp-hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.12) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.sp-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 5% 70px;
}

.sp-hero-content {
  position: relative;
  z-index: 1;
}

/* Typing */
.sp-hero h1 {
  position: relative;
}
.sp-hero-typing-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.sp-hero-typing {
  color: var(--primary);
  font-style: italic;
}
.sp-typing-cursor {
  color: var(--primary);
  animation: blink 0.9s step-end infinite;
  font-weight: 300;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Glow button */
.sp-btn-glow {
  position: relative;
  overflow: hidden;
}
.sp-btn-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-20deg);
  animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShine {
  0% {
    left: -75%;
  }
  60% {
    left: 125%;
  }
  100% {
    left: 125%;
  }
}

/* ── Hero Visual ── */
.sp-hero-visual {
  position: relative;
  z-index: 1;
  background: none;
  padding: 0;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-hero-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.18) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: orbPulse 4s ease-in-out infinite;
}
@keyframes orbPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

/* Main hero card */
.sp-hero-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(37, 99, 235, 0.13),
    0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}
.sp-hcard--main {
  width: 100%;
  max-width: 320px;
  padding: 20px;
  animation: floatCard 5s ease-in-out infinite;
}
@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.sp-hcard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.sp-hcard-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.sp-hcard-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.sp-hcard-role {
  font-size: 11px;
  color: var(--text-muted);
}
.sp-badge-live {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
}

.sp-hcard-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.sp-hcard-company {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.sp-hcard-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.sp-hcard-progress-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--info-light);
  overflow: hidden;
}
.sp-hcard-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #1d4ed8);
  border-radius: 3px;
  animation: progressFill 1.5s ease-out forwards;
}
@keyframes progressFill {
  from {
    width: 0;
  }
}
.sp-hcard-progress-wrap span {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.sp-hcard-footer {
  display: flex;
  gap: 8px;
}
.sp-hcard-tag {
  font-size: 11px;
  background: var(--info-light);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 20px;
}

/* Small floating cards */
.sp-hcard--sm {
  position: absolute;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}
.sp-hcard--top {
  top: -20px;
  right: -20px;
  animation: floatCardSm 4s ease-in-out infinite;
}
.sp-hcard--bot {
  bottom: -20px;
  left: -20px;
  animation: floatCardSm 5s ease-in-out 1s infinite;
}
@keyframes floatCardSm {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.sp-hcard-sm-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--info-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-hcard-sm-icon--green {
  background: #f0fdf4;
  color: #16a34a;
}
.sp-hcard-sm-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.sp-hcard-sm-lbl {
  font-size: 10px;
  color: var(--text-muted);
}

/* Wrapper pour positionner les petites cards */
.sp-hero-visual {
  position: relative;
  min-height: 360px;
}

/* ══ TRUST infinite scroll ═══════════════════════════════ */
.sp-trust-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}
.sp-trust-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: trustScroll 18s linear infinite;
}
.sp-trust-track:hover {
  animation-play-state: paused;
}
.sp-trust-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-light);
  opacity: 0.7;
  white-space: nowrap;
  transition:
    opacity 0.2s,
    color 0.2s;
  cursor: default;
}
.sp-trust-track span:hover {
  opacity: 1;
  color: var(--primary);
}
@keyframes trustScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ══ FEATURES GRID ══════════════════════════════════════ */
.sp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .sp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .sp-features-grid {
    grid-template-columns: 1fr;
  }
}

.sp-feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
  cursor: default;
}
.sp-feat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.sp-feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.13);
  border-color: rgba(37, 99, 235, 0.25);
}
.sp-feat-card:hover::before {
  opacity: 1;
}

.sp-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s;
}
.sp-feat-card:hover .sp-feat-icon {
  transform: scale(1.1) rotate(-4deg);
}

.sp-feat-icon--blue {
  background: #eaf1ff;
  color: var(--primary);
}
.sp-feat-icon--purple {
  background: #f5f0ff;
  color: #7c3aed;
}
.sp-feat-icon--green {
  background: #f0fdf4;
  color: #16a34a;
}
.sp-feat-icon--orange {
  background: #fff7ed;
  color: #ea580c;
}
.sp-feat-icon--cyan {
  background: #ecfeff;
  color: #0891b2;
}

.sp-feat-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.sp-feat-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.sp-feat-arrow {
  font-size: 16px;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.sp-feat-card:hover .sp-feat-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* CTA card */
.sp-feat-card--cta {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.sp-feat-card--cta::before {
  display: none;
}
.sp-feat-card--cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.sp-feat-card--cta:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.3);
}
.sp-feat-card--cta .btn-sp-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}
.sp-feat-card--cta .btn-sp-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: none;
}

/* ══ ABOUT VISUAL REDESIGN ══════════════════════════════ */
.sp-about-visual {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, var(--primary) 0%, #1d4ed8 100%);
}
.sp-about-orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12),
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.sp-about-cards {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
}
.sp-about-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  animation: floatCard 5s ease-in-out infinite;
}
.sp-about-card--2 {
  animation-delay: 0.5s;
}
.sp-about-card--3 {
  animation-delay: 1s;
}
.sp-about-card-icon {
  font-size: 22px;
}
.sp-about-card-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.sp-about-card-lbl {
  font-size: 12px;
  color: var(--text-muted);
}

/* ══ STATS BAND ═════════════════════════════════════════ */
.sp-stats-band {
  margin: 0;
  padding: 0 5%;
}
.sp-stats-band-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 36px 40px;
  flex-wrap: wrap;
}
.sp-stats-band-item {
  flex: 1;
  text-align: center;
  min-width: 120px;
}
.sp-stats-band-sep {
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .sp-stats-band-sep {
    display: none;
  }
  .sp-stats-band-inner {
    gap: 24px;
  }
}

/* ══ CONTACT CARD HOVER GLOW ════════════════════════════ */
.sp-contact-card {
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.sp-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.25);
}

/* ══ FORM IMPROVEMENTS ══════════════════════════════════ */
.sp-contact-form {
  position: relative;
  overflow: hidden;
}
.sp-contact-form::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07), transparent);
  border-radius: 50%;
  pointer-events: none;
}
.form-control {
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}
.form-control:focus {
  background: #fafbff;
}

/* ══ RESPONSIVE HERO ════════════════════════════════════ */
@media (max-width: 900px) {
  .sp-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 50px;
  }
  .sp-hero-actions {
    justify-content: center;
  }
  .sp-stats-row {
    justify-content: center;
  }
  .sp-hero-visual {
    min-height: 280px;
  }
  .sp-hcard--top,
  .sp-hcard--bot {
    display: none;
  }
  .sp-hcard--main {
    max-width: 280px;
  }
  .sp-hero p.lead {
    max-width: none;
    margin: 0 auto 28px;
  }
}


.sp-hero-image-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 390px;
  height: 460px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow:
    0 20px 50px rgba(16, 24, 40, 0.18),
    0 8px 24px rgba(37, 99, 235, 0.12);
  animation: floatCard 5s ease-in-out infinite;
  background: #fff;
}

.sp-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-hero-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11, 42, 111, 0.22), rgba(11, 42, 111, 0.04)),
    linear-gradient(to bottom, rgba(255,255,255,0.06), transparent);
  pointer-events: none;
}

.sp-hero-visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .sp-hero-image-card {
    max-width: 320px;
    height: 400px;
  }

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


/* ===== HERO PHOTO VERSION ===== */
.sp-hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-hero-photo-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 410px;
  height: 500px;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow:
    0 24px 60px rgba(16, 24, 40, 0.18),
    0 10px 30px rgba(37, 99, 235, 0.14);
  animation: floatCard 5s ease-in-out infinite;
}

.sp-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.sp-hero-photo-wrap:hover .sp-hero-photo {
  transform: scale(1.04);
}

.sp-hero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11, 42, 111, 0.32), rgba(11, 42, 111, 0.06)),
    linear-gradient(to bottom, rgba(255,255,255,0.08), transparent 30%);
  pointer-events: none;
}

.sp-hero-photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
}

.sp-hero-photo-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.14);
}

/* petites cartes flottantes */
.sp-hcard--sm {
  position: absolute;
  z-index: 4;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 18px;
  box-shadow:
    0 14px 34px rgba(16, 24, 40, 0.12),
    0 4px 12px rgba(37, 99, 235, 0.10);
  backdrop-filter: blur(12px);
}

.sp-hcard--top {
  top: 40px;
  right: -25px;
  animation: floatCardSm 4s ease-in-out infinite;
}

.sp-hcard--bot {
  bottom: 35px;
  left: -30px;
  animation: floatCardSm 5s ease-in-out 1s infinite;
}

.sp-hcard-sm-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--info-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-hcard-sm-icon--green {
  background: #f0fdf4;
  color: #16a34a;
}

.sp-hcard-sm-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.sp-hcard-sm-lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* orb derrière */
.sp-hero-orb {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: orbPulse 4s ease-in-out infinite;
}

/* responsive */
@media (max-width: 900px) {
  .sp-hero-visual {
    min-height: 430px;
  }

  .sp-hero-photo-wrap {
    max-width: 320px;
    height: 400px;
  }

  .sp-hcard--top,
  .sp-hcard--bot {
    display: none;
  }
}