:root {
  --brand-900: #081120;
  --brand-800: #0f172a;
  --brand-700: #153b78;
  --brand-600: #0b5fff;
  --brand-500: #2a7dff;
  --brand-300: #cfe1ff;
  --brand-200: #edf4ff;
  --success: #1bbf8b;
  --success-soft: #eafcf5;
  --warning: #f59e0b;
  --text: #1c2433;
  --muted: #5b6475;
  --line: rgba(15, 23, 42, 0.08);
  --bg: #f6f9ff;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
  .testimonial {
    flex-basis: 100%;
  }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f7f9fc;
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button, input, select, textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 17, 32, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}

.brand {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.brand-wordmark {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 3px 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-link.active,
.nav-link:hover {
  color: var(--white);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-600), #58a6ff);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
}

.nav-btn--ghost {
  background: transparent;
  color: var(--white);
}

.hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(120deg, rgba(8,17,32,0.94), rgba(11,95,255,0.52)), url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-inner > div:first-child {
  animation: hero-copy-in 0.8s 0.1s both cubic-bezier(0.22, 1, 0.36, 1);
}

.hero .card-panel {
  animation: hero-panel-in 0.9s 0.2s both cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-panel-in {
  from { opacity: 0; transform: translateY(28px) rotate(4deg); }
  to { opacity: 1; transform: translateY(0) rotate(1deg); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, black, transparent 76%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  min-height: auto;
  min-height: 620px;
  padding: 5.5rem 0;
  gap: 2rem;
}

.hero-kicker-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-secure-label {
  color: rgba(255,255,255,0.76);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-secure-label span,
.status-card__signal span {
  color: #39d5a1;
  font-size: 0.62rem;
  vertical-align: 0.08em;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eaf2ff;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1 {
  margin: 1.2rem 0 1rem;
  font-size: clamp(2.8rem, 4vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.07em;
}

.hero p {
  margin: 0;
  max-width: 620px;
  color: rgba(255,255,255,0.8);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 1rem 1.5rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), #64a7ff);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(11,95,255,0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.3rem;
  color: var(--white);
}

.hero-stats span {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.hero-note {
  margin: 1.4rem 0 0 !important;
  color: rgba(255,255,255,0.62) !important;
  font-size: 0.82rem !important;
}

.card-panel {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 0.8rem;
  transform: rotate(1deg);
  transition: transform 0.3s ease;
}

.card-panel:hover {
  transform: rotate(0deg) translateY(-4px);
}

.status-card {
  background: #f7faff;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.status-card__media {
  height: 210px;
  background: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.status-card__body {
  padding: 1.2rem 1.2rem 1.4rem;
}

.status-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
}

.status-card__signal {
  color: var(--success) !important;
  font-weight: 700;
}

.status-card__body h3 {
  margin: 0 0 0.7rem;
  font-size: 1.45rem;
  color: var(--brand-800);
  line-height: 1.3;
}

.status-card__body p {
  margin: 0;
  color: var(--muted);
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: #eaf0f7;
  overflow: hidden;
  margin: 1rem 0 0.85rem;
}

.progress-bar {
  height: 100%;
  width: 72%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-600), #3ac7a3);
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  color: var(--brand-800);
  font-size: 0.92rem;
}

.section {
  padding: 6rem 0;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--reveal-delay, 0ms) ease, transform 0.7s var(--reveal-delay, 0ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.info-card.scroll-reveal,
.service-card.scroll-reveal,
.ticket.scroll-reveal,
.testimonial.scroll-reveal {
  transition-duration: 0.75s;
}

.stat-box.scroll-reveal.is-visible {
  animation: stat-pop 0.65s var(--reveal-delay, 0ms) both cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes stat-pop {
  0% { transform: translateY(18px) scale(0.96); }
  70% { transform: translateY(-3px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.section--soft {
  background: #eef4ff;
}

#why-NOVAJMP {
  padding-bottom: 3.5rem;
}

#why-NOVAJMP + #aides {
  padding-top: 3.5rem;
}

#aides {
  padding-bottom: 3.5rem;
}

#aides + #impact-real {
  padding-top: 3.5rem;
}

#impact-real {
  padding-bottom: 3.5rem;
}

#impact-real + #process {
  padding-top: 3.5rem;
}

#process {
  padding-bottom: 3.5rem;
}

#process + #temoignages {
  padding-top: 3.5rem;
}

#temoignages {
  padding-bottom: 3.5rem;
}

#temoignages + #contact {
  padding-top: 3.5rem;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--brand-600);
  margin-bottom: 0.8rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  color: var(--brand-800);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-note {
  margin-top: 0.8rem !important;
  color: var(--brand-700) !important;
  font-size: 0.84rem !important;
  font-style: italic;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.info-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-viewport {
  min-width: 0;
  overflow: hidden;
  flex: 1 1 auto;
}

.info-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s ease;
}

.info-track .info-card {
  flex: 0 0 calc((100% - 3rem) / 3);
}

.info-carousel .carousel-arrow {
  display: none;
}

.info-card,
.service-card,
.testimonial,
.ticket,
.form-card,
.dashboard-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15,23,42,0.04);
}

.info-card {
  padding: 2rem 1.5rem;
  border-top: 3px solid var(--brand-600);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15,23,42,0.1);
}

.info-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.info-card__icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 1.7rem;
  background: linear-gradient(135deg, rgba(11,95,255,0.12), rgba(29,209,161,0.14));
  color: var(--brand-600);
  margin: 0;
}

.info-card__eyebrow {
  color: var(--brand-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-card__detail {
  display: block;
  margin-top: 1.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--brand-700);
  font-size: 0.82rem;
  font-weight: 700;
}

.info-card h3,
.service-card h3,
.dashboard-card h3 {
  margin: 0 0 0.75rem;
  color: var(--brand-800);
  font-size: 1.35rem;
}

.info-card h3 {
  text-align: center;
}

.info-card p,
.service-card p,
.dashboard-card p,
.ticket p,
.testimonial p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.service-card {
  overflow: hidden;
}

.service-card__media {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.service-card__body {
  padding: 1.4rem 1.3rem 1.5rem;
}

.service-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-600);
  background: rgba(11,95,255,0.08);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
}

.service-card h3 {
  margin-top: 1rem;
}

.service-details {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.service-details li {
  position: relative;
  padding-left: 1.1rem;
}

.service-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-600);
}

.service-facts {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.service-facts span {
  color: var(--muted);
  font-size: 0.76rem;
}

.service-facts strong {
  color: var(--brand-800);
  font-size: 0.82rem;
  text-align: right;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--brand-800);
}

.service-meta span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.link-arrow {
  color: var(--brand-600);
  font-weight: 700;
}

.band {
  background: linear-gradient(135deg, #0f172a, #123a6d 42%, #0d5eea 100%);
  border-radius: 32px;
  padding: 3rem 2.2rem;
  color: var(--white);
}

.band .section-header h2,
.band .section-header p,
.band .section-header .eyebrow {
  color: var(--white);
}

.band .section-header p {
  color: rgba(255,255,255,0.76);
}

.impact-note {
  margin: 1.5rem 0 0;
  color: rgba(255,255,255,0.62);
  font-size: 0.8rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  text-align: center;
  padding: 1.4rem 1rem;
}

.stat-box strong {
  display: block;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.stat-box span {
  color: rgba(255,255,255,0.78);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.ticket {
  padding: 1.5rem 1.2rem;
  text-align: center;
}

.ticket-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11,95,255,0.10), rgba(29,209,161,0.14));
  color: var(--brand-600);
  font-weight: 800;
  margin: 0 auto 1rem;
}

.ticket-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--brand-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ticket h3 {
  margin-bottom: 0.7rem;
}

.ticket-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ticket-viewport {
  min-width: 0;
  overflow: hidden;
  flex: 1 1 auto;
}

.ticket-carousel .carousel-arrow {
  display: none;
}

.ticket-controls {
  display: none;
}

.service-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-viewport {
  min-width: 0;
  overflow: hidden;
  flex: 1 1 auto;
}

.service-carousel .carousel-arrow {
  display: none;
}

.service-controls {
  display: none;
}

.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-viewport {
  min-width: 0;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s ease;
}

.testimonial {
  position: relative;
  flex: 0 0 calc((100% - 3rem) / 3);
  min-height: 250px;
  padding: 2rem 1.6rem 1.5rem;
}

.testimonial-quote {
  position: absolute;
  top: 0.9rem;
  right: 1.4rem;
  color: var(--brand-300);
  font-family: Georgia, serif;
  font-size: 3.6rem;
  line-height: 1;
}

.testimonial p {
  margin: 0;
  color: var(--brand-700);
  line-height: 1.8;
}

.testimonial strong {
  color: var(--brand-800);
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.testimonial-meta span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfeeff, #d8f7ed);
  color: var(--brand-700);
  font-weight: 800;
}

.carousel-arrow {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--brand-600);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15,23,42,0.08);
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.carousel-arrow:hover:not(:disabled) {
  background: var(--brand-600);
  color: var(--white);
}

.carousel-arrow:disabled {
  cursor: default;
  opacity: 0.35;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--brand-300);
  cursor: pointer;
}

.carousel-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--brand-600);
}

.carousel-count {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.cta-box {
  background: linear-gradient(135deg, #edf5ff, #eefcf7);
  border: 1px solid rgba(11,95,255,0.08);
  border-radius: 30px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-box h3 {
  margin: 0 0 0.5rem;
  color: var(--brand-800);
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  letter-spacing: -0.05em;
}

.cta-box p {
  margin: 0;
  color: var(--muted);
}

.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.newsletter {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 12px 28px rgba(15,23,42,0.04);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input,
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  color: var(--text);
}

.newsletter-form input {
  max-width: 480px;
  min-width: 220px;
}

.form-shell {
  padding: 3rem 0 5rem;
}

.demande-page {
  padding-top: 0.75rem;
}

.form-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem;
}

.form-card h1,
.page-header h1 {
  margin: 0 0 0.8rem;
  color: var(--brand-800);
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-800);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.link-inline {
  color: var(--brand-600);
  font-weight: 700;
}

.page-header {
  padding-top: 4rem;
  padding-bottom: 1rem;
  text-align: center;
}

.demande-page .page-header {
  padding-top: 0.75rem;
}

.connexion-page .page-header {
  padding-top: 0.75rem;
}

.dashboard-wrap .page-header {
  padding-top: 0.75rem;
}

.page-header p {
  margin: 0 auto;
  max-width: 700px;
  color: var(--muted);
}

.dashboard-wrap {
  padding: 1.5rem 0 5rem;
  background:
    radial-gradient(circle at 8% 0%, rgba(207,225,255,0.55), transparent 26rem),
    linear-gradient(180deg, #f7faff 0%, #f2f6fb 100%);
  min-height: calc(100vh - 80px);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.dashboard-header {
  padding-bottom: 1.75rem;
}

.dashboard-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.dashboard-card {
  position: relative;
  padding: 1.5rem;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15,23,42,0.06);
}

.dashboard-card h3 {
  margin: 0.85rem 0 0.6rem;
  color: var(--brand-800);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.dashboard-card > p {
  color: var(--muted);
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card-heading h3 {
  margin-bottom: 0;
}

.card-kicker,
.card-index {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-index {
  color: var(--brand-600);
}

.user-badge {
  display: inline-block;
  background: rgba(11,95,255,0.08);
  color: var(--brand-600);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.summary-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.summary-list li:first-child {
  padding-top: 0.2rem;
}

.summary-list strong {
  color: var(--brand-800);
  text-align: right;
}

.demand-count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--brand-300);
  border-radius: 999px;
  color: var(--brand-700);
  background: var(--brand-200);
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  white-space: nowrap;
}

.status-en_verification,
.status-en_analyse,
.status-orientee {
  color: #8a5a00 !important;
  background: #fff5d6;
}

.status-acceptee {
  color: #087252 !important;
  background: var(--success-soft);
}

.status-refusee {
  color: #a83232 !important;
  background: #fff0f0;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0;
}

.timeline li {
  position: relative;
  min-height: 2.6rem;
  padding: 0 0 1rem 2rem;
  color: var(--muted);
}

.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.7rem;
  bottom: 0;
  left: 0.32rem;
  width: 1px;
  background: #d9e2ef;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 3px solid #d9e2ef;
  background: var(--white);
  z-index: 1;
}

.timeline li.is-complete::after {
  background: var(--success);
}

.timeline li.is-complete::before,
.timeline li.is-current::before {
  border-color: var(--success);
}

.timeline li.is-current::before {
  background: var(--brand-600);
  border-color: var(--brand-600);
  box-shadow: 0 0 0 4px rgba(11,95,255,0.12);
}

.timeline li.is-complete {
  color: var(--brand-800);
}

.timeline li.is-complete::before {
  background: var(--success);
}

.timeline li.is-current {
  color: var(--brand-800);
  font-weight: 700;
}

.timeline li.is-rejected {
  color: #b42c2c;
  font-weight: 700;
}

.timeline li.is-rejected::before {
  background: #b42c2c;
}

.status-summary {
  margin: 1rem 0 0;
  color: var(--muted);
}

.finance-access-card {
  overflow: hidden;
  border-color: rgba(27,191,139,0.24);
  background: linear-gradient(110deg, #f1fdf8, #ffffff 68%);
}

.finance-access-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0.3rem;
  height: 100%;
  background: var(--success);
}

.finance-access-card .btn {
  margin-top: 0.5rem;
}

.flash-stack {
  display: grid;
  gap: 0.7rem;
  padding-top: 1rem;
}

.flash {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}

.flash-success {
  background: var(--success-soft);
  color: #0e7d5a;
  border: 1px solid rgba(27,191,139,0.15);
}

.flash-error {
  background: #fff2f2;
  color: #b42c2c;
  border: 1px solid rgba(180,44,44,0.15);
}

.flash-info {
  background: #eef5ff;
  color: var(--brand-700);
  border: 1px solid rgba(11,95,255,0.15);
}

.site-footer {
  background: #081120;
  color: rgba(255,255,255,0.8);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.brand--footer {
  display: inline-block;
  margin-bottom: 1rem;
}

.brand--footer .brand-logo {
  height: 56px;
}

.site-footer h3 {
  color: var(--white);
  margin: 0 0 0.8rem;
  font-size: 1.08rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255,255,255,0.72);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0 2rem;
  color: rgba(255,255,255,0.65);
}

.footer-bottom a {
  color: var(--white);
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #64a7ff;
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 40;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  background: var(--brand-800);
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: 0 12px 28px rgba(15,23,42,0.2);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-600);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(11,95,255,0.35);
  outline-offset: 3px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  margin: 6px 0;
}

@media (max-width: 980px) {
  .hero-inner,
  .dashboard-grid,
  .footer-grid,
  .grid-3,
  .grid-3-testimonials,
  .grid-4,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4rem 0;
  }

  .card-panel {
    width: min(100%, 680px);
    margin: 0 auto;
  }

  .service-carousel .grid-3 {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.45s ease;
  }

  .service-carousel .service-card {
    flex: 0 0 calc((100% - 3rem) / 3);
  }

  .cta-box {
    display: block;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 80px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(8,17,32,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 1rem;
  }

  .main-nav.is-open {
    display: flex;
  }
}

@media (max-width: 720px) {
  #why-NOVAJMP {
    padding-bottom: 2.5rem;
  }

  #why-NOVAJMP + #aides {
    padding-top: 2.5rem;
  }

  #aides {
    padding-bottom: 2.5rem;
  }

  #aides + #impact-real {
    padding-top: 2.5rem;
  }

  #impact-real {
    padding-bottom: 2.5rem;
  }

  #impact-real + #process {
    padding-top: 2.5rem;
  }

  #process {
    padding-bottom: 2.5rem;
  }

  #process + #temoignages {
    padding-top: 2.5rem;
  }

  #temoignages {
    padding-bottom: 2.5rem;
  }

  #temoignages + #contact {
    padding-top: 2.5rem;
  }

  .hero-inner,
  .dashboard-grid,
  .grid-3,
  .grid-3-testimonials,
  .stats-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .testimonial {
    flex-basis: 100%;
  }

  .info-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .info-viewport {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
  }

  .info-track .info-card {
    flex: 0 0 100%;
  }

  .info-carousel .carousel-arrow {
    display: grid;
    position: static;
    grid-row: 2;
    width: 100%;
    height: 42px;
    border-radius: 12px;
    box-shadow: none;
    background: rgba(11,95,255,0.08);
  }

  .info-carousel .carousel-arrow--previous {
    grid-column: 1;
  }

  .info-carousel .carousel-arrow--next {
    grid-column: 2;
  }

  .testimonial-carousel {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .testimonial-viewport {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
  }

  .testimonial-carousel .carousel-arrow {
    display: grid;
    position: static;
    grid-row: 2;
    flex: 0 0 auto;
    width: 100%;
    height: 42px;
    border-radius: 12px;
    box-shadow: none;
    background: rgba(11,95,255,0.08);
  }

  .testimonial-carousel .carousel-arrow--previous {
    grid-column: 1;
  }

  .testimonial-carousel .carousel-arrow--next {
    grid-column: 2;
  }

  .ticket-carousel .grid-4 {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.45s ease;
  }

  .ticket-carousel .ticket {
    flex: 0 0 100%;
  }

  .ticket-carousel .carousel-arrow {
    display: grid;
    position: static;
    grid-row: 2;
    width: 100%;
    height: 42px;
    border-radius: 12px;
    box-shadow: none;
    background: rgba(11,95,255,0.08);
  }

  .ticket-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .ticket-viewport {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
  }

  .ticket-carousel .carousel-arrow--previous {
    grid-column: 1;
  }

  .ticket-carousel .carousel-arrow--next {
    grid-column: 2;
  }

  .ticket-controls {
    display: flex;
  }

  .service-carousel .grid-3 {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.45s ease;
  }

  .service-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .service-viewport {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .service-carousel .service-card {
    flex: 0 0 100%;
  }

  .service-carousel .carousel-arrow {
    display: grid;
    position: static;
    grid-row: 2;
    width: 100%;
    height: 42px;
    border-radius: 12px;
    box-shadow: none;
    background: rgba(11,95,255,0.08);
  }

  .service-carousel .carousel-arrow--previous {
    grid-column: 1;
  }

  .service-carousel .carousel-arrow--next {
    grid-column: 2;
  }

  .service-card__media {
    height: 170px;
  }

  .service-card__body {
    padding: 1.25rem 1.2rem 1.3rem;
  }

  .service-card h3 {
    margin-top: 0.8rem;
    font-size: 1.2rem;
    line-height: 1.35;
  }

  .service-facts div {
    flex-wrap: wrap;
  }

  .service-facts strong {
    max-width: 58%;
  }

  .service-card__body > p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .service-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    margin-top: 0.9rem;
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .service-details li {
    padding-left: 0.85rem;
  }

  .service-details li::before {
    top: 0.58rem;
    width: 4px;
    height: 4px;
  }

  .service-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1rem;
  }

  .service-controls {
    display: flex;
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero-stats,
  .cta-box__actions,
  .form-actions,
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .nav-btn {
    width: 100%;
  }

  .header-inner {
    min-height: 72px;
  }

  .dashboard-wrap {
    padding-top: 1rem;
  }

  .dashboard-header {
    padding-bottom: 1.25rem;
  }

  .dashboard-card {
    padding: 1.25rem;
  }

  .dashboard-card .summary-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .dashboard-card .summary-list strong {
    text-align: left;
  }

  .status-pill {
    margin-top: 0.15rem;
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 42px;
    height: 42px;
  }
}

.page-shell { padding: 4rem 0 6rem; }
.form-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: start; }
.narrow-layout { max-width: 620px; }
.form-card { padding: 2rem; }
.form-card h2 { margin-top: 0; color: var(--brand-800); }
.form-card label { display: grid; gap: 0.4rem; margin-bottom: 1rem; color: var(--brand-800); font-weight: 700; }
.form-card input, .form-card select, .form-card textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem; background: #f8fafc; color: var(--text); }
.form-grid { margin-bottom: 0.5rem; }
.form-full { grid-column: 1 / -1; }
.form-note { color: var(--muted); font-size: 0.9rem; }
.form-note a { color: var(--brand-600); font-weight: 700; }
.section-heading { max-width: 700px; margin-bottom: 2rem; }
.section-heading h2, .split-section h2, .cta-section h2 { margin: 0 0 0.75rem; color: var(--brand-800); }
.section-heading p, .split-section p { color: var(--muted); }
.cards-grid, .steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cards-grid .card-panel { padding: 1.5rem; }
.card-number, .step-number { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1rem; border-radius: 12px; background: var(--brand-200); color: var(--brand-600); font-weight: 800; }
.cards-grid h3, .steps-grid h3 { color: var(--brand-800); }
.steps-grid article { padding: 1.5rem; border-top: 3px solid var(--brand-600); background: var(--white); border-radius: 16px; }
.steps-grid p { color: var(--muted); }
.split-section, .cta-section { display: flex; justify-content: space-between; gap: 3rem; align-items: center; }
.split-section > *, .cta-section > * { flex: 1; }
.section--dark { background: var(--brand-900); color: var(--white); }
.section--dark h2, .section--dark .eyebrow { color: var(--white); }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-bottom: 2rem; }
.dashboard-heading h1 { margin: 0 0 0.5rem; color: var(--brand-800); }
.dashboard-heading p { margin: 0; color: var(--muted); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.9rem; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--brand-800); font-size: 0.82rem; }
td { color: var(--muted); }

@media (max-width: 720px) {
  .form-layout, .cards-grid, .steps-grid { grid-template-columns: 1fr; }
  .split-section, .cta-section, .dashboard-heading { display: grid; gap: 1.5rem; }
  .form-full { grid-column: auto; }
}
