/* Page d'accueil : mise en page. Les couleurs viennent des variables du site actuel. */

h1 em, h2 em { font-style: normal; color: var(--bleu-2); }
h3 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Hero ---------- */
.n-hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.n-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 380px at 70% 40%, var(--bleu-film), transparent 70%),
              radial-gradient(500px 340px at 15% 20%, var(--accent-film), transparent 70%);
}
.n-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.n-pastille {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--accent-film); color: var(--text-2); font-size: 13.5px;
}
.n-point { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .15); animation: n-pulse 1.8s ease-in-out infinite; }
@keyframes n-pulse { 50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } }
.n-hero h1 { margin: 0 0 18px; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.045em; }
.n-lede { max-width: 52ch; color: var(--text-2); font-size: 18px; line-height: 1.6; }
/* La fin du sous-titre s'écrit lettre par lettre, s'efface, puis passe à la suivante (comme sur TrendSaaS). */
.lede-suite { display: inline; white-space: pre-wrap; }
#lede-mot { color: var(--text); font-weight: 600; }
.lede-curseur { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.16em; background: var(--accent); animation: lede-clignote 1s steps(1) infinite; }
@keyframes lede-clignote { 50% { opacity: 0; } }
.n-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.n-lien { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--line-3); padding-bottom: 2px; font-size: 15px; }
.n-lien:hover { color: var(--text); }
.n-preuve { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.n-visages { display: flex; }
.n-visages img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); margin-left: -10px; }
.n-visages img:first-child { margin-left: 0; }
.n-preuve-txt { font-size: 14px; color: var(--text-2); }
.n-preuve-txt b { display: block; color: #f5c542; letter-spacing: 2px; font-size: 13px; }

.n-hero-visuel { position: relative; display: flex; justify-content: center; }
.n-flottant {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 15px 11px 11px; border-radius: 16px;
  background: rgba(21, 22, 27, .78); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--edge), 0 20px 40px -18px rgba(0, 0, 0, .8); animation: n-flotte 6s ease-in-out infinite;
}
.n-flottant b { display: block; font-size: 13.5px; }
.n-flottant em { display: block; font-style: normal; font-size: 12px; color: var(--text-3); }
.n-f-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--bleu-film); font-size: 16px; }
.n-f1 { top: 14%; left: -4%; }
.n-f2 { bottom: 20%; right: -2%; animation-delay: -3s; }
@keyframes n-flotte { 50% { transform: translateY(-10px); } }

.n-whop { background: #fa4616 !important; }   /* l'icône de l'appli Whop : fond orange, leur logo en blanc */
.n-whop img { display: block; width: 64%; height: auto; }

/* La Terre derrière le téléphone (dessinée par terre.js). */
.n-hero-texte { position: relative; z-index: 2; }
.n-terre { position: absolute; z-index: 0; left: calc(50% + 90px); top: 50%; width: 1100px; height: 1100px; transform: translate(-50%, -50%); pointer-events: none; }
.n-hero-visuel .scene-tel { position: relative; z-index: 1; }

/* ---------- Sections ---------- */
.n-section { padding: 96px 0 0; }
.n-tete { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.n-tete h2 { font-size: clamp(32px, 4.4vw, 52px); }
.n-tete-gauche { text-align: left; margin: 0; }
.n-tete-sous { margin-top: 14px; color: var(--text-3); }

.n-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.n-etape {
  position: relative; padding: 48px 24px 28px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); box-shadow: var(--edge); overflow: hidden;
}
.n-num { position: absolute; top: 18px; left: 24px; font-family: "Spline Sans Mono", monospace; font-size: 13px; color: var(--text-3); }
.n-etape h3 { margin: 22px 0 8px; font-size: 22px; }
.n-etape p { color: var(--text-2); font-size: 15px; }
.n-visu { height: 150px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); position: relative; overflow: hidden; }
.n-visu-carte { background: radial-gradient(circle at 50% 50%, rgba(107, 143, 208, .12), transparent 70%), var(--bg); }
.n-visu-carte::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 26px 26px;
}
.n-visu-carte i { position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; border-radius: 50%; background: var(--bleu-3); box-shadow: 0 0 10px var(--bleu-glow); }
.n-visu-carte i.chaud { width: 13px; height: 13px; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .12), 0 0 22px rgba(174, 185, 204, .8); animation: n-pulse-b 1.8s ease-in-out infinite; }
@keyframes n-pulse-b { 50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0), 0 0 22px rgba(174, 185, 204, .8); } }
.n-visu-lignes { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 22px; }
.n-visu-lignes b {
  height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, .05) 30%, rgba(255, 255, 255, .18) 50%, rgba(255, 255, 255, .05) 70%);
  background-size: 300% 100%; animation: n-luit 1.9s ease-in-out infinite;
}
.n-visu-lignes b:nth-child(2) { width: 86%; } .n-visu-lignes b:nth-child(3) { width: 70%; } .n-visu-lignes b.court { width: 44%; }
@keyframes n-luit { from { background-position: 100% 0; } to { background-position: 0 0; } }
.n-visu-bulle { display: grid; place-items: center; padding: 18px; }
.n-visu-bulle span {
  max-width: 92%; padding: 12px 15px; border-radius: 16px 16px 16px 4px; background: var(--bleu-film); border: 1px solid var(--bleu-line);
  color: var(--bleu-3); font-size: 14px; line-height: 1.45;
}

/* ---------- Chiffres ---------- */
.n-chiffres { margin-top: 96px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-1); }
.n-chiffres-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.n-chiffres-grid div { padding: 34px 22px; border-left: 1px solid var(--line); }
.n-chiffres-grid div:first-child { border-left: 0; }
.n-chiffres-grid b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; }
.n-chiffres-grid span { color: var(--text-3); font-size: 14px; }

/* ---------- Avis ---------- */
.n-avis-defile { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.n-avis-piste { display: flex; gap: 14px; width: max-content; animation: n-defile 60s linear infinite; }
.n-avis-piste:hover { animation-play-state: paused; }
@keyframes n-defile { to { transform: translateX(-50%); } }
.n-avis {
  width: 320px; flex: none; padding: 20px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); box-shadow: var(--edge);
}
.n-avis-tete { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.n-avis-tete img, .n-avis-tete .n-noir { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #08080a; border: 1px solid var(--line-2); }
.n-avis-tete b { display: block; font-size: 14px; }
.n-avis-tete em { display: block; font-style: normal; color: #f5c542; font-size: 12px; letter-spacing: 1.5px; }
.n-avis p { font-size: 15.5px; line-height: 1.5; }

/* ---------- Garantie ---------- */
.n-garantie {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; padding: 34px 36px; border-radius: 24px;
  border: 1px solid rgba(74, 222, 128, .28); background: linear-gradient(135deg, rgba(74, 222, 128, .08), var(--bg-1) 60%);
}
.n-sceau { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: rgba(74, 222, 128, .12); color: #4ade80; }
.n-sceau svg { width: 34px; height: 34px; }
.n-garantie h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }
.n-garantie h2 em { color: #4ade80; }
.n-garantie p { color: var(--text-2); }
.n-cond { color: var(--text-3); font-size: 13px; }

/* ---------- FAQ ---------- */
.n-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }

/* ---------- Appel final ---------- */
.n-final { margin: 110px 0 40px; text-align: center; }
.n-final .wrap {
  padding: 70px 24px; border-radius: 28px; border: 1px solid var(--line-2);
  background: radial-gradient(500px 260px at 50% 0%, var(--bleu-film), transparent 70%), var(--bg-1);
}
.n-final h2 { font-size: clamp(32px, 4.6vw, 56px); max-width: 16em; margin: 0 auto 14px; }
.n-final p { color: var(--text-2); margin-bottom: 28px; }

/* ---------- Téléphone ---------- */
@media (max-width: 900px) {
  .n-hero { padding-top: 36px; }
  .n-hero-grid, .n-faq-grid { grid-template-columns: 1fr; }
  .n-hero-texte { text-align: center; }
  .n-lede { margin: 0 auto; }
  .n-actions, .n-preuve { justify-content: center; }
  .n-hero-visuel { margin-top: 10px; }
  .n-terre { left: 50%; width: 810px; height: 810px; }
  .n-f1 { left: 0; top: 8%; } .n-f2 { right: 0; }
  .n-etapes { grid-template-columns: 1fr; }
  .n-chiffres-grid { grid-template-columns: 1fr 1fr; }
  .n-chiffres-grid div:nth-child(3) { border-left: 0; }
  .n-chiffres-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .n-garantie { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 30px 22px; }
  .n-tete-gauche { text-align: center; }
  .head-nav a:not(.head-cta):not(.head-connexion) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lede-curseur { display: none; } .n-flottant, .n-avis-piste, .n-visu-lignes b, .n-point, .n-visu-carte i.chaud { animation: none; } }
/* « Sous conditions — Les voir » : petit, comme sur le reste du site. */
.n-cond { font-size: 10px; white-space: nowrap; }
.n-cond a { color: inherit; font-size: 9.5px; text-decoration: underline; text-underline-offset: 2px; }
