/* ============================================================
   /nouveautes - Vitrine premium de la refonte 2026.
   Namespace .nx-. Light + dark (html.is-dark). Reveal au scroll.
   ============================================================ */

.nx-body { margin: 0; }
.nx {
    --nx-accent: #fd3a13;
    --nx-accent2: #ff8a3d;
    --nx-ink: #14151a;
    --nx-sub: #5b616e;
    --nx-bg: #ffffff;
    --nx-bg2: #f6f4f1;
    --nx-card: #ffffff;
    --nx-border: rgba(20,21,26,.09);
    --nx-shadow: 0 20px 50px -24px rgba(20,21,26,.28);
    color: var(--nx-ink);
    background: var(--nx-bg);
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
html.is-dark .nx {
    --nx-ink: #f2f1ee;
    --nx-sub: #a4abb8;
    --nx-bg: #121317;
    --nx-bg2: #16181d;
    --nx-card: #1c1e24;
    --nx-border: rgba(255,255,255,.10);
    --nx-shadow: 0 20px 50px -24px rgba(0,0,0,.6);
}

.nx * { box-sizing: border-box; }
.nx__wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- Bouton fixe : retour au site ---- */
.nx-back {
    position: fixed; top: 18px; left: 18px; z-index: 50;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 15px 9px 12px; border-radius: 999px;
    font-size: 13.5px; font-weight: 700; text-decoration: none;
    color: var(--nx-ink); background: rgba(255,255,255,.72);
    border: 1px solid var(--nx-border);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px -12px rgba(20,21,26,.35);
    transition: transform .18s ease, background .18s ease;
}
.nx-back:hover { transform: translateY(-1px); background: #fff; }
.nx-back i { font-size: 16px; }
html.is-dark .nx-back { background: rgba(28,30,36,.72); }
html.is-dark .nx-back:hover { background: #23262d; }

/* ---- Boutons ---- */
.nx-btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 22px; border-radius: 13px; text-decoration: none;
    font-weight: 800; font-size: 15px; color: #fff;
    background: linear-gradient(135deg, var(--nx-accent), var(--nx-accent2));
    box-shadow: 0 14px 30px -14px rgba(253,58,19,.75);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.nx-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(253,58,19,.85); }
.nx-btn i { font-size: 18px; transition: transform .2s ease; }
.nx-btn:hover i { transform: translateX(3px); }
.nx-btn--ghost { background: none; color: var(--nx-ink); border: 1.5px solid var(--nx-border); box-shadow: none; }
.nx-btn--ghost:hover { border-color: var(--nx-accent); color: var(--nx-accent); }
.nx-btn--lg { padding: 16px 30px; font-size: 17px; border-radius: 15px; }

.nx-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    color: var(--nx-accent);
}
.nx-grad {
    background: linear-gradient(120deg, var(--nx-accent), var(--nx-accent2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
/* Curseur machine a ecrire (mots tournants du hero). */
.nx-type { white-space: nowrap; }
.nx-cursor {
    display: inline-block; width: 5px; height: .92em; margin-inline-start: .06em;
    background: linear-gradient(180deg, var(--nx-accent), var(--nx-accent2));
    border-radius: 3px; vertical-align: -.06em;
    animation: nxBlink .9s steps(2, jump-none) infinite;
    box-shadow: 0 0 14px rgba(253,58,19,.55);
}
@keyframes nxBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .12; } }
@media (prefers-reduced-motion: reduce) { .nx-cursor { animation: none; } }

/* ============================================================ HERO */
.nx-hero { position: relative; padding: 132px 24px 96px; text-align: center; overflow: hidden; }
.nx-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.nx-hero__bg::before, .nx-hero__bg::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
}
.nx-hero__bg::before { width: 520px; height: 520px; top: -180px; left: -120px; background: radial-gradient(circle, rgba(253,58,19,.55), transparent 70%); }
.nx-hero__bg::after  { width: 460px; height: 460px; top: -120px; right: -100px; background: radial-gradient(circle, rgba(255,138,61,.5), transparent 70%); }
html.is-dark .nx-hero__bg::before, html.is-dark .nx-hero__bg::after { opacity: .35; }
.nx-hero__inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.nx-hero__title {
    font-size: clamp(40px, 8vw, 82px); line-height: 1.02; font-weight: 900; letter-spacing: -.02em;
    margin: 18px 0 0;
}
.nx-hero__sub {
    font-size: clamp(17px, 2.4vw, 22px); line-height: 1.5; color: var(--nx-sub);
    max-width: 640px; margin: 22px auto 0;
}
.nx-hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.nx-hero__stats { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 46px; }
.nx-stat {
    min-width: 140px; padding: 18px 22px; border-radius: 16px;
    background: var(--nx-card); border: 1px solid var(--nx-border); box-shadow: var(--nx-shadow);
}
.nx-stat b { display: block; font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.nx-stat span { font-size: 13px; color: var(--nx-sub); font-weight: 600; }
.nx-scrollcue { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 52px; color: var(--nx-sub); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
.nx-scrollcue i { font-size: 22px; animation: nxBounce 1.8s ease-in-out infinite; }
@keyframes nxBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============================================================ FEATURES */
.nx-features { padding: 40px 0 20px; background: var(--nx-bg); }
.nx-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 68px 0; }
.nx-feature + .nx-feature { border-top: 1px solid var(--nx-border); }
.nx-feature--rev .nx-feature__media { order: 2; }
.nx-feature__tag {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
    font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    color: var(--nx-accent); background: rgba(253,58,19,.10); border: 1px solid rgba(253,58,19,.2);
}
html.is-dark .nx-feature__tag { background: rgba(253,58,19,.16); }
.nx-feature__tag i { font-size: 16px; }
.nx-feature h2 { font-size: clamp(26px, 4vw, 40px); line-height: 1.1; font-weight: 900; letter-spacing: -.02em; margin: 16px 0 0; }
.nx-feature p { font-size: 16.5px; line-height: 1.6; color: var(--nx-sub); margin: 14px 0 0; max-width: 46ch; }
.nx-checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.nx-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; }
.nx-checks i { color: var(--nx-accent); font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.nx-feature .nx-btn { margin-top: 26px; }

/* ---- Cadre "media" (mockups) ---- */
.nx-mock {
    position: relative; border-radius: 22px; padding: 20px;
    background: var(--nx-bg2); border: 1px solid var(--nx-border);
    box-shadow: var(--nx-shadow); overflow: hidden; aspect-ratio: 4 / 3;
    display: flex; align-items: center; justify-content: center;
}
.nx-mock::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% -10%, rgba(253,58,19,.10), transparent 60%); pointer-events: none; }

/* mock : grille de themes */
.nx-mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.nx-chip { border-radius: 12px; padding: 14px 10px; background: var(--nx-card); border: 1px solid var(--nx-border); text-align: center; }
.nx-chip i { font-size: 22px; }
.nx-chip span { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; color: var(--nx-sub); }
.nx-chip:nth-child(1) i { color: #7c3aed; } .nx-chip:nth-child(2) i { color: #dc2626; }
.nx-chip:nth-child(3) i { color: #2563eb; } .nx-chip:nth-child(4) i { color: #16a34a; }
.nx-chip:nth-child(5) i { color: #d4951a; } .nx-chip:nth-child(6) i { color: #0891b2; }

/* mock : lecteur video */
.nx-mock-player { width: 100%; }
.nx-player-screen { position: relative; border-radius: 14px; aspect-ratio: 16/9; background: linear-gradient(135deg, #1c1e24, #33363f); display: flex; align-items: center; justify-content: center; }
.nx-player-screen i { font-size: 44px; color: #fff; opacity: .95; }
.nx-player-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.nx-player-thumb { border-radius: 8px; aspect-ratio: 16/10; background: var(--nx-card); border: 1px solid var(--nx-border); }

/* mock : quiz */
.nx-mock-quiz { width: 100%; max-width: 320px; }
.nx-quiz-q { font-size: 13.5px; font-weight: 800; line-height: 1.35; margin-bottom: 11px; }
.nx-quiz-a { display: flex; align-items: center; gap: 9px; padding: 8px 11px; border-radius: 10px; border: 1px solid var(--nx-border); margin-bottom: 7px; font-size: 13px; font-weight: 700; background: var(--nx-card); }
.nx-quiz-a:last-child { margin-bottom: 0; }
.nx-quiz-a b { width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; }
/* 1er enfant = la question ; les 4 reponses sont les enfants 2 a 5. */
.nx-quiz-a:nth-child(2) b { background: #dc143c; } .nx-quiz-a:nth-child(3) b { background: #1a5fc7; }
.nx-quiz-a:nth-child(4) b { background: #d4951a; } .nx-quiz-a:nth-child(5) b { background: #1b8c2d; }

/* mock : recherche */
.nx-mock-search { width: 100%; max-width: 340px; }
.nx-search-bar { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 999px; background: var(--nx-card); border: 1px solid var(--nx-border); font-size: 14px; color: var(--nx-sub); box-shadow: var(--nx-shadow); }
.nx-search-bar i { color: var(--nx-accent); font-size: 18px; }
.nx-search-list { margin-top: 12px; display: grid; gap: 7px; }
.nx-search-row { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 10px; background: var(--nx-card); border: 1px solid var(--nx-border); font-size: 12.5px; font-weight: 600; }
.nx-search-row i { color: var(--nx-sub); }

/* mock : horaires chabbat */
.nx-mock-shab { width: 100%; max-width: 300px; text-align: center; }
.nx-shab-card { border-radius: 18px; padding: 22px; background: linear-gradient(160deg, rgba(253,58,19,.12), rgba(255,138,61,.06)); border: 1px solid var(--nx-border); }
.nx-shab-title { font-weight: 800; font-size: 15px; }
.nx-shab-times { display: flex; justify-content: center; gap: 26px; margin-top: 16px; }
.nx-shab-times div b { display: block; font-size: 24px; font-weight: 900; }
.nx-shab-times div span { font-size: 11px; color: var(--nx-sub); font-weight: 700; text-transform: uppercase; }

/* mock : page "Pour vous" (avatar + reprise + reco) */
.nx-foryou { width: 100%; max-width: 320px; }
.nx-foryou-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.nx-avatar { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 17px; color: #fff; background: linear-gradient(135deg, var(--nx-accent), var(--nx-accent2)); box-shadow: 0 6px 16px -6px rgba(253,58,19,.6); }
.nx-foryou-head b { display: block; font-size: 14px; font-weight: 800; }
.nx-foryou-head span { font-size: 12px; color: var(--nx-sub); }
.nx-foryou-resume { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; background: linear-gradient(135deg, rgba(253,58,19,.12), rgba(255,138,61,.05)); border: 1px solid var(--nx-border); }
.nx-foryou-resume i { font-size: 26px; color: var(--nx-accent); }
.nx-foryou-resume b { display: block; font-size: 12.5px; font-weight: 800; }
.nx-foryou-resume span { font-size: 12px; color: var(--nx-sub); }
.nx-foryou-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--nx-sub); margin-bottom: 9px; }
.nx-foryou-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.nx-foryou-card { aspect-ratio: 3/4; border-radius: 10px; border: 1px solid var(--nx-border); background: var(--nx-card); }
.nx-foryou-card:nth-child(1) { background: linear-gradient(160deg, rgba(124,58,237,.18), var(--nx-card)); }
.nx-foryou-card:nth-child(2) { background: linear-gradient(160deg, rgba(37,99,235,.18), var(--nx-card)); }
.nx-foryou-card:nth-child(3) { background: linear-gradient(160deg, rgba(22,163,74,.18), var(--nx-card)); }

/* mock : page de contenu enrichi (resume "A savoir" + themes + liens) */
.nx-rich { width: 100%; max-width: 330px; }
.nx-rich-savoir { padding: 14px; border-radius: 14px; margin-bottom: 14px; background: linear-gradient(135deg, rgba(253,58,19,.10), rgba(255,138,61,.04)); border: 1px solid var(--nx-border); }
.nx-rich-savoir__h { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; color: var(--nx-accent); margin-bottom: 11px; }
.nx-rich-savoir__h i { font-size: 16px; }
.nx-rich-line { display: block; height: 8px; border-radius: 5px; background: var(--nx-border); margin-top: 7px; }
.nx-rich-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--nx-sub); margin: 0 0 8px; }
.nx-rich-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.nx-rich-chips span { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--nx-accent); background: rgba(253,58,19,.10); border: 1px solid rgba(253,58,19,.22); }
.nx-rich-links { display: grid; gap: 7px; }
.nx-rich-link { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 700; background: var(--nx-card); border: 1px solid var(--nx-border); }
.nx-rich-link i { color: var(--nx-accent); font-size: 15px; }

/* mock : accessibilite (carte coupee clair/sombre + tailles de texte) */
.nx-a11y { width: 100%; max-width: 320px; }
.nx-a11y-split { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; overflow: hidden; border: 1px solid var(--nx-border); box-shadow: var(--nx-shadow); margin-bottom: 20px; }
.nx-a11y-half { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px 0; font-weight: 800; font-size: 13px; }
.nx-a11y-half i { font-size: 30px; }
.nx-a11y-half--light { background: #ffffff; color: #14151a; }
.nx-a11y-half--light i { color: #f59e0b; }
.nx-a11y-half--dark { background: #16181d; color: #f2f1ee; }
.nx-a11y-half--dark i { color: #a5b4fc; }
.nx-a11y-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--nx-sub); margin-bottom: 11px; text-align: center; }
.nx-a11y-sizes { display: flex; align-items: center; justify-content: center; gap: 12px; }
.nx-a11y-size { width: 46px; height: 46px; border-radius: 13px; border: 1.5px solid var(--nx-border); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; background: var(--nx-card); }
.nx-a11y-size:nth-child(1) { font-size: 15px; }
.nx-a11y-size:nth-child(2) { font-size: 20px; }
.nx-a11y-size:nth-child(3) { font-size: 27px; }
.nx-a11y-size.is-active { border-color: var(--nx-accent); color: var(--nx-accent); background: rgba(253,58,19,.09); }

/* mock : questions pratiques (accordeon Q/R) */
.nx-qa { width: 100%; max-width: 340px; display: grid; gap: 9px; }
.nx-qa-row { padding: 12px 14px; border-radius: 12px; background: var(--nx-card); border: 1px solid var(--nx-border); }
.nx-qa-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nx-qa-q { font-size: 13px; font-weight: 800; line-height: 1.3; }
.nx-qa-head i { color: var(--nx-sub); font-size: 16px; flex-shrink: 0; }
.nx-qa-row--open { border-color: rgba(253,58,19,.35); background: linear-gradient(135deg, rgba(253,58,19,.07), transparent); }
.nx-qa-row--open .nx-qa-head i { color: var(--nx-accent); }
.nx-qa-a { display: block; margin-top: 9px; font-size: 12px; font-weight: 600; color: var(--nx-sub); line-height: 1.5; }

/* mock : telephone (version mobile + nav basse) */
.nx-mock--phone { aspect-ratio: auto; padding: 26px 20px; }
.nx-phone { width: 174px; height: 344px; border-radius: 30px; background: var(--nx-card); border: 1px solid var(--nx-border); box-shadow: var(--nx-shadow); padding: 10px; position: relative; overflow: hidden; }
.nx-phone::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 44px; height: 5px; border-radius: 3px; background: var(--nx-border); z-index: 2; }
.nx-phone-screen { height: 100%; display: flex; flex-direction: column; padding-top: 16px; }
.nx-phone-bar { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 0 4px 12px; }
.nx-phone-logo { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; background: linear-gradient(135deg, var(--nx-accent), var(--nx-accent2)); }
.nx-phone-ic { font-size: 18px; color: var(--nx-sub); }
.nx-phone-content { flex: 1; display: grid; grid-template-rows: 1.5fr 1fr 1fr 1fr; gap: 9px; padding: 2px 4px; }
.nx-phone-card { border-radius: 11px; background: var(--nx-bg2); border: 1px solid var(--nx-border); }
.nx-phone-card:first-child { background: linear-gradient(160deg, rgba(253,58,19,.14), var(--nx-bg2)); }

/* mock : Vie juive (lanceur d'outils, tuiles colorees) */
.nx-tools { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nx-tool { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 6px; border-radius: 15px; background: var(--nx-card); border: 1px solid var(--nx-border); text-align: center; box-shadow: 0 6px 16px -12px rgba(20,21,26,.3); }
.nx-tool i { font-size: 25px; }
.nx-tool span { font-size: 10.5px; font-weight: 700; color: var(--nx-sub); line-height: 1.2; }
.nx-tool:nth-child(1) i { color: #2563eb; }
.nx-tool:nth-child(2) i { color: #dc2626; }
.nx-tool:nth-child(3) i { color: #7c3aed; }
.nx-tool:nth-child(4) i { color: #16a34a; }
.nx-tool:nth-child(5) i { color: #0891b2; }
.nx-tool:nth-child(6) i { color: #d4951a; }

/* ============================================================ CTA FINAL */
.nx-cta { position: relative; text-align: center; padding: 96px 24px 110px; margin-top: 30px; overflow: hidden; background: var(--nx-bg2); }
.nx-cta h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; letter-spacing: -.02em; margin: 0; }
.nx-cta p { font-size: 18px; color: var(--nx-sub); margin: 16px 0 30px; }
.nx-foot { text-align: center; padding: 26px; font-size: 13px; color: var(--nx-sub); }
.nx-foot a { color: var(--nx-accent); text-decoration: none; font-weight: 700; }

/* ============================================================ REVEAL */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-in .nx-feature__body > * { animation: nxUp .6s both; }

@keyframes nxUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============================================================ RESPONSIVE */
@media (max-width: 820px) {
    .nx-hero { padding: 116px 20px 72px; }
    .nx-feature { grid-template-columns: 1fr; gap: 28px; padding: 52px 0; }
    .nx-feature--rev .nx-feature__media { order: 0; }
    .nx-feature p { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; }
    .nx-scrollcue i { animation: none; }
    [data-reveal].is-in .nx-feature__body > * { animation: none; }
}
