/* ─────────────────────────────────────────────────────────────────────────
   NestPulse Web — feuille de style
   ─────────────────────────────────────────────────────────────────────────
   Reprend l'identité visuelle de l'app iOS :
     navy profond    #0F2347 (fond principal)
     navy deep       #0a1933 (fond bas)
     orange signature #F5820A (CTAs, accents)
     orange light    #FFAB4D (highlights, gradient)
   Police : Inter (Google Fonts) avec fallback system pour le pre-load.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --np-navy: #0F2347;
  --np-navy-deep: #0a1933;
  --np-navy-soft: #1a2f5c;
  --np-orange: #F5820A;
  --np-orange-light: #FFAB4D;
  --np-success: #22c55e;
  --np-error: #ef4444;

  --np-text: #f8fafc;
  --np-text-soft: #cbd5e1;
  --np-text-muted: #94a3b8;

  --np-card-bg: rgba(255, 255, 255, 0.045);
  --np-card-border: rgba(255, 255, 255, 0.08);
  --np-card-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);

  --np-radius: 20px;
  --np-radius-sm: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--np-text);
  background: var(--np-navy-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background:
    radial-gradient(circle at 15% 10%, rgba(245, 130, 10, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(245, 130, 10, 0.07) 0%, transparent 50%),
    linear-gradient(180deg, var(--np-navy) 0%, var(--np-navy-deep) 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* ── Halo lumineux animé en arrière-plan ─────────────────────────────── */

.np-bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245, 130, 10, 0.18) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: np-float 12s ease-in-out infinite alternate;
}

@keyframes np-float {
  0%   { transform: translateX(-50%) translateY(0); }
  100% { transform: translateX(-40%) translateY(40px); }
}

/* ── Conteneur principal ─────────────────────────────────────────────── */

.np-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  gap: 20px;
}

.np-shell--doc {
  justify-content: flex-start;
  padding: 56px 20px 80px;
}

/* ── Carte centrale ──────────────────────────────────────────────────── */

.np-card {
  width: 100%;
  max-width: 460px;
  background: var(--np-card-bg);
  border: 1px solid var(--np-card-border);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-radius: var(--np-radius);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--np-card-shadow);
  animation: np-fade-up 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.np-card--hero {
  max-width: 520px;
  padding: 56px 40px 44px;
}

@keyframes np-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.np-card h1 {
  margin: 20px 0 10px;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--np-text);
}

/* ── Brand + Sparky ──────────────────────────────────────────────────── */

.np-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

.np-brand--hero {
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.np-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.np-brand-name {
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--np-text);
  line-height: 1;
}

.np-brand-name strong {
  font-weight: 800;
  background: linear-gradient(135deg, var(--np-orange-light) 0%, var(--np-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.np-brand-name--small {
  font-size: 1.15rem;
}

.np-brand-sub {
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  color: var(--np-text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Sparky : cadre blanc arrondi comme dans l'app, lévitation subtile */

.np-sparky-wrap {
  display: inline-block;
}

.np-sparky {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 28px;
  background: #fff;
  padding: 14px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: np-sparky-float 4s ease-in-out infinite alternate;
}

.np-sparky--mini {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  animation: none;
}

@keyframes np-sparky-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

/* ── Page de callback : brand en haut, sans carte ────────────────────── */

.np-callback-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  opacity: 0;
  animation: np-fade-up 0.5s ease-out 0.1s forwards;
}

/* ── Hero titres ─────────────────────────────────────────────────────── */

.np-hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--np-text);
}

.np-accent {
  background: linear-gradient(135deg, var(--np-orange-light) 0%, var(--np-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.np-hero-sub {
  color: var(--np-text-soft);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 0 32px;
  font-weight: 400;
}

.np-tagline {
  color: var(--np-text-soft);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 18px;
}

.np-hint {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--np-card-border);
  font-size: 0.86rem;
  color: var(--np-text-muted);
  font-style: italic;
  line-height: 1.5;
}

/* ── Badge bêta ──────────────────────────────────────────────────────── */

.np-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  background: rgba(245, 130, 10, 0.1);
  border: 1px solid rgba(245, 130, 10, 0.3);
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--np-orange-light);
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}

.np-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--np-orange);
  box-shadow: 0 0 0 0 rgba(245, 130, 10, 0.7);
  animation: np-dot-pulse 2s ease-in-out infinite;
}

@keyframes np-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245, 130, 10, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(245, 130, 10, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 130, 10, 0); }
}

/* ── CTA principal (accueil → /welcome/) ─────────────────────────────── */

.np-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, var(--np-orange) 0%, var(--np-orange-light) 100%);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 14px;
  box-shadow:
    0 14px 32px rgba(245, 130, 10, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.np-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(245, 130, 10, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.np-cta:active {
  transform: translateY(0);
}

/* ── Liens footer ────────────────────────────────────────────────────── */

.np-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
}

.np-links a {
  color: var(--np-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.np-links a:hover {
  color: var(--np-orange-light);
}

.np-links-sep {
  color: var(--np-text-muted);
  opacity: 0.4;
}

/* ── Icônes état (callback) ──────────────────────────────────────────── */

.np-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: np-icon-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.np-icon--success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--np-success);
  border: 2px solid var(--np-success);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.2);
}

.np-icon--error {
  background: rgba(239, 68, 68, 0.15);
  color: var(--np-error);
  border: 2px solid var(--np-error);
  box-shadow: 0 0 40px rgba(239, 68, 68, 0.2);
}

@keyframes np-icon-pop {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Spinner loading ─────────────────────────────────────────────────── */

.np-spinner {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border: 3px solid rgba(245, 130, 10, 0.18);
  border-top-color: var(--np-orange);
  border-radius: 50%;
  animation: np-spin 0.8s linear infinite;
}

@keyframes np-spin {
  to { transform: rotate(360deg); }
}

/* ── Pages documents (privacy / terms) ───────────────────────────────── */

.np-doc {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
  background: var(--np-card-bg);
  border: 1px solid var(--np-card-border);
  border-radius: var(--np-radius);
  padding: 48px 44px;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: var(--np-card-shadow);
  animation: np-fade-up 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.np-doc header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--np-card-border);
  padding-bottom: 28px;
}

.np-doc h1 {
  margin: 14px 0 8px;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--np-text);
}

.np-doc h2 {
  margin: 36px 0 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--np-orange-light);
  letter-spacing: -0.01em;
}

.np-doc p,
.np-doc li {
  color: var(--np-text-soft);
  font-size: 0.96rem;
  line-height: 1.75;
}

.np-doc ul {
  padding-left: 24px;
}

.np-doc li + li {
  margin-top: 6px;
}

.np-doc strong {
  color: var(--np-text);
  font-weight: 600;
}

.np-doc a {
  color: var(--np-orange-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 130, 10, 0.35);
  transition: border-color 0.2s;
}

.np-doc a:hover {
  border-bottom-color: var(--np-orange);
}

.np-doc__meta {
  color: var(--np-text-muted);
  font-size: 0.86rem;
  margin: 0 0 14px;
}

.np-doc__badge {
  display: inline-block;
  padding: 10px 16px;
  background: rgba(245, 130, 10, 0.08);
  border: 1px solid rgba(245, 130, 10, 0.25);
  border-radius: var(--np-radius-sm);
  font-size: 0.86rem;
  color: var(--np-text-soft);
  margin-top: 12px;
  line-height: 1.5;
}

.np-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--np-text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 12px;
  border-bottom: none !important;
  transition: color 0.2s, transform 0.2s;
}

.np-back:hover {
  color: var(--np-orange-light);
  transform: translateX(-2px);
}

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 540px) {
  .np-card,
  .np-card--hero {
    padding: 36px 24px;
  }

  .np-doc {
    padding: 36px 24px;
  }

  .np-hero-title {
    font-size: 1.6rem;
  }

  .np-card h1,
  .np-doc h1 {
    font-size: 1.45rem;
  }

  .np-brand-name {
    font-size: 1.5rem;
  }

  .np-sparky {
    width: 120px;
    height: 120px;
    border-radius: 22px;
    padding: 10px;
  }

  .np-hero-sub {
    font-size: 0.95rem;
  }

  .np-badge {
    font-size: 0.78rem;
    padding: 8px 14px;
  }

  .np-bg-glow {
    width: 500px;
    height: 500px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   Page Bienvenue (welcome/) — identité claire inspirée du site KodaHub
   ─────────────────────────────────────────────────────────────────────────
   Fond off-white #f9f9f7 + blobs flous bleu/violet animés (style KodaHub)
   + accent orange NestPulse #F5820A pour rester cohérent avec l'app iOS.
   Titres en Montserrat, body en Inter.
   ───────────────────────────────────────────────────────────────────────── */

.np-welcome-body {
  background: #f9f9f7;
  color: #1a3a6b;
  min-height: 100vh;
  overflow-x: hidden;
}

.np-welcome-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
}

.np-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.np-blob--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(140, 82, 255, 0.16) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: np-blob-float-1 14s ease-in-out infinite;
}

.np-blob--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 38, 78, 0.12) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation: np-blob-float-2 18s ease-in-out infinite;
}

.np-blob--3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(166, 124, 255, 0.13) 0%, transparent 70%);
  top: 40%;
  left: 15%;
  animation: np-blob-float-3 12s ease-in-out infinite;
}

@keyframes np-blob-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -40px) scale(1.05); }
  66%      { transform: translate(-20px, 20px) scale(0.97); }
}

@keyframes np-blob-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.08); }
}

@keyframes np-blob-float-3 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-25px, 30px); }
}

.np-welcome {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Hero ────────────────────────────────────────────────── */

.np-welcome__hero {
  text-align: center;
  padding: 56px 32px 64px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(0, 38, 78, 0.06);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 38, 78, 0.06);
  animation: np-fade-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.np-welcome__hero .np-sparky {
  width: 170px;
  height: 170px;
  border-radius: 30px;
  background: #fff;
  padding: 14px;
  margin: 0 auto 28px;
  box-shadow:
    0 18px 40px rgba(0, 38, 78, 0.12),
    0 0 0 1px rgba(0, 38, 78, 0.04);
  animation: np-sparky-float 4s ease-in-out infinite alternate;
}

.np-welcome__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #00264e;
}

.np-welcome__title .np-accent {
  background: linear-gradient(135deg, #F5820A 0%, #FFAB4D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.np-welcome__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #5a6b7c;
  margin: 0 0 28px;
}

.np-welcome__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(0, 38, 78, 0.08);
  border: 1px solid rgba(0, 38, 78, 0.2);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #00264e;
  letter-spacing: 0.01em;
}

.np-welcome__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00264e;
  box-shadow: 0 0 0 0 rgba(0, 38, 78, 0.5);
  animation: np-dot-pulse-navy 2s ease-in-out infinite;
}

@keyframes np-dot-pulse-navy {
  0%   { box-shadow: 0 0 0 0 rgba(0, 38, 78, 0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(0, 38, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 38, 78, 0); }
}

/* ── Sections ─────────────────────────────────────────────── */

.np-welcome__section {
  margin-top: 56px;
  padding: 44px 36px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(0, 38, 78, 0.06);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 38, 78, 0.05);
  animation: np-fade-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.np-welcome__section--thanks {
  text-align: center;
  background: linear-gradient(135deg, rgba(245, 130, 10, 0.06), rgba(166, 124, 255, 0.06));
}

.np-welcome__section-icon {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1;
}

.np-welcome__section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  text-align: center;
  color: #00264e;
}

.np-welcome__section-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #1a3a6b;
  margin: 0;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.np-welcome__section-text strong {
  color: #00264e;
  font-weight: 700;
}

/* ── Cartes installation ─────────────────────────────────── */

.np-install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.np-install-card {
  background: #fff;
  border: 1px solid rgba(0, 38, 78, 0.08);
  border-radius: 18px;
  padding: 24px 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.np-install-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 38, 78, 0.08);
}

.np-install-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.np-install-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 38, 78, 0.06);
  color: #00264e;
}

.np-install-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #00264e;
}

.np-install-card__steps {
  margin: 0;
  padding-left: 22px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1a3a6b;
}

.np-install-card__steps li {
  margin-bottom: 8px;
}

.np-install-card__steps strong {
  color: #00264e;
  font-weight: 600;
}

.np-welcome__hint {
  text-align: center;
  font-size: 0.92rem;
  color: #5a6b7c;
  margin: 8px 0 0;
}

.np-welcome__hint a {
  color: #F5820A;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 130, 10, 0.35);
  transition: border-color 0.2s;
}

.np-welcome__hint a:hover {
  border-bottom-color: #F5820A;
}

/* ── Grille fonctionnalités ──────────────────────────────── */

.np-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.np-feature-card {
  background: #fff;
  border: 1px solid rgba(0, 38, 78, 0.08);
  border-radius: 18px;
  padding: 22px 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.np-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 38, 78, 0.08);
}

.np-feature-card__emoji {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 12px;
  line-height: 1;
}

.np-feature-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #00264e;
}

.np-feature-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #5a6b7c;
}

/* ── Liste bénéfices ─────────────────────────────────────── */

.np-benefits {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.7;
  color: #1a3a6b;
}

.np-benefits li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(0, 38, 78, 0.06);
}

.np-benefits li:last-child {
  border-bottom: none;
}

.np-benefits__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  font-weight: 700;
  font-size: 0.86rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Footer ──────────────────────────────────────────────── */

.np-welcome__footer {
  margin-top: 64px;
  text-align: center;
  color: #5a6b7c;
}

.np-welcome__footer-text {
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0 0 18px;
}

.np-welcome__footer-text a {
  color: #F5820A;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 130, 10, 0.35);
}

.np-welcome__footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--np-orange) 0%, var(--np-orange-light) 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(245, 130, 10, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}

.np-welcome__footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(245, 130, 10, 0.36);
}

.np-welcome__footer .np-links a {
  color: #5a6b7c;
}

.np-welcome__footer .np-links a:hover {
  color: #00264e;
}

.np-welcome__footer .np-links-sep {
  color: #5a6b7c;
  opacity: 0.4;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 640px) {
  .np-welcome {
    padding: 40px 16px 64px;
  }

  .np-welcome__hero {
    padding: 40px 22px 48px;
  }

  .np-welcome__hero .np-sparky {
    width: 130px;
    height: 130px;
    border-radius: 24px;
    padding: 10px;
  }

  .np-welcome__title {
    font-size: 1.65rem;
  }

  .np-welcome__lead {
    font-size: 0.98rem;
  }

  .np-welcome__section {
    margin-top: 36px;
    padding: 32px 22px;
  }

  .np-welcome__section-title {
    font-size: 1.3rem;
  }

  .np-install-grid,
  .np-feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .np-blob--1, .np-blob--2, .np-blob--3 {
    transform: scale(0.7);
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   Page Feedback (/feedback/) — recueil des retours testeurs
   Réutilise la base .np-welcome-body + .np-blob du guide d'accueil.
   ───────────────────────────────────────────────────────────────────────── */

.np-welcome__hero--compact {
  padding: 40px 32px 44px;
}

.np-welcome__hero--compact .np-welcome__section-icon {
  font-size: 2.6rem;
  margin-bottom: 8px;
}

/* ── Choix du type (3 cards d'ancrage) ──────────────────────── */

.np-welcome__section--type-picker {
  padding: 32px 28px;
}

.np-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.np-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 18px;
  background: #fff;
  border: 1px solid rgba(0, 38, 78, 0.08);
  border-radius: 18px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.np-type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 38, 78, 0.08);
  border-color: rgba(0, 38, 78, 0.16);
}

.np-type-card__emoji {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1;
}

.np-type-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #00264e;
}

.np-type-card__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #5a6b7c;
}

/* ── Section de chaque type avec template ───────────────────── */

.np-feedback-section {
  scroll-margin-top: 24px;
}

.np-template-box {
  margin-top: 24px;
  background: #fff;
  border: 1px solid rgba(0, 38, 78, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.np-template {
  margin: 0;
  padding: 22px 24px;
  font-family: 'SF Mono', Menlo, Monaco, 'Courier New', monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #1a3a6b;
  white-space: pre-wrap;
  word-wrap: break-word;
  background: rgba(0, 38, 78, 0.025);
  border-bottom: 1px solid rgba(0, 38, 78, 0.08);
}

.np-template-actions {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  flex-wrap: wrap;
}

.np-template-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

/* Bouton CTA recommandé : orange proéminent */
.np-template-btn--primary {
  background: linear-gradient(135deg, var(--np-orange) 0%, var(--np-orange-light) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(245, 130, 10, 0.28);
  padding: 14px 24px;
}

.np-template-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(245, 130, 10, 0.36);
}

/* Bouton alternatif : ghost discret */
.np-template-btn--ghost {
  background: transparent;
  color: #5a6b7c;
  border: 1px solid rgba(0, 38, 78, 0.14);
  font-weight: 500;
  font-size: 0.86rem;
}

.np-template-btn--ghost:hover {
  background: rgba(0, 38, 78, 0.04);
  color: #00264e;
  border-color: rgba(0, 38, 78, 0.22);
}

/* Phrase d'intro qui pousse vers le bon choix */
.np-template-hint {
  margin: 16px auto 0;
  padding: 12px 18px;
  background: rgba(0, 38, 78, 0.04);
  border-left: 3px solid rgba(245, 130, 10, 0.5);
  border-radius: 0 12px 12px 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #1a3a6b;
  max-width: 620px;
  text-align: left;
}

.np-template-hint strong {
  color: #00264e;
  font-weight: 700;
}

.np-template-btn__label {
  line-height: 1;
}

/* ── Lien retour ────────────────────────────────────────────── */

.np-welcome__hero .np-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5a6b7c;
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 16px;
  border-bottom: none !important;
  transition: color 0.2s, transform 0.2s;
}

.np-welcome__hero .np-back:hover {
  color: #00264e;
  transform: translateX(-2px);
}

/* ── Toast confirmation copie ───────────────────────────────── */

.np-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  background: #00264e;
  color: #fff;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 600;
  box-shadow: 0 20px 50px rgba(0, 38, 78, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 2000;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.np-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Responsive feedback ────────────────────────────────────── */

@media (max-width: 640px) {
  .np-type-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .np-template {
    font-size: 0.82rem;
    padding: 18px 18px;
  }

  .np-template-actions {
    padding: 14px 16px;
  }

  .np-template-btn {
    width: 100%;
  }
}

/* ── Préférences utilisateur ─────────────────────────────────────────── */

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

  .np-bg-glow,
  .np-blob {
    animation: none;
  }
}
