/* ═══ EREM — nouvelle accueil, d'après la structure numbr.co (Montserrat, colonne centrale, formes de couleur) ═══ */
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --navy: #0B1E38;
  --blue: #1A3A6B;     /* bande hero / en-tête (rôle du bleu numbr) */
  --green: #0B8A5C;    /* boutons (rôle du rose numbr) */
  --green-d: #00704A;
  --gold: #C8A877;     /* formes décoratives (rôle du jaune numbr) */
  --gold-l: #E3CFA6;
  --ink: #0B1E38;
  --text: #4A5361;
  --line: #E6E2DA;
  --p1: #F8F1E4;       /* pastels des cartes */
  --p2: #E7F2EC;
  --p3: #E9EEF6;
  --p4: #F3EEE6;
  --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300; font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.22; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 22px; }
h3 { font-size: 1rem; }
.nv-hl { color: var(--green); }
p + p { margin-top: 12px; }

.nv-wrap { width: min(1100px, 100% - 32px); margin: 0 auto; }
.nv-center { text-align: center; }
.nv-intro { max-width: 620px; margin: -8px auto 44px; }

/* Boutons (pilules) */
.nv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: var(--white); font-weight: 700; font-size: .88rem;
  padding: 11px 22px; border-radius: 999px; border: 2px solid var(--green);
  transition: background .2s, transform .2s, color .2s; cursor: pointer; font-family: inherit;
}
.nv-btn:hover { background: var(--green-d); border-color: var(--green-d); transform: translateY(-1px); }
.nv-btn-sm { padding: 8px 18px; font-size: .82rem; }
.nv-btn-full { width: 100%; padding: 14px; font-size: .95rem; }
.nv-btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.nv-btn-white:hover { background: var(--p1); border-color: var(--p1); color: var(--navy); }
.nv-btn-out { background: transparent; color: var(--blue); border-color: var(--blue); }
.nv-btn-out:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.nv-btn-navy { background: var(--blue); border-color: var(--blue); }
.nv-btn-navy:hover { background: var(--navy); border-color: var(--navy); }
.nv-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Bandeau + en-tête */
.nv-top { background: var(--green); color: var(--white); text-align: center; font-size: .78rem; font-weight: 700; padding: 7px 16px; }
.nv-head { position: sticky; top: 0; z-index: 50; background: var(--blue); color: var(--white); }
.nv-head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 66px; padding: 0 28px; }
.nv-logo img { width: 170px; }
.nv-nav { display: flex; gap: 28px; font-size: .84rem; font-weight: 500; margin-right: auto; margin-left: 24px; }
.nv-nav a { opacity: .9; }
.nv-nav a:hover { opacity: 1; color: var(--gold-l); }
.nv-head-cta { display: flex; align-items: center; gap: 18px; font-size: .84rem; font-weight: 700; }

/* Hero : bande bleue à coin arrondi */
.nv-hero { background: var(--blue); color: rgba(255,255,255,.88); border-bottom-right-radius: 140px; padding: 56px 0 84px; }
.nv-hero-in { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: center; max-width: 1060px; }
.nv-hero-txt { max-width: 600px; }
.nv-hero h1 { color: var(--white); margin-bottom: 18px; }
.nv-hero p { font-size: .92rem; margin-bottom: 24px; }

/* Images ornées de formes de couleur */
.nv-deco { position: relative; isolation: isolate; }
.nv-deco img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 18px; }
.nv-deco::before, .nv-deco::after { content: ""; position: absolute; z-index: 2; pointer-events: none; }
.nv-deco-hero::before { width: 120px; height: 120px; border-radius: 50%; background: var(--green); left: -22px; bottom: 28px; mix-blend-mode: multiply; opacity: .92; }
.nv-deco-hero::after { width: 90px; height: 90px; border-radius: 0 0 0 90px; background: var(--gold); right: -14px; top: 40%; }
.nv-deco-a img { aspect-ratio: 1/1.05; }
.nv-deco-a::before { width: 110px; height: 110px; border-radius: 0 0 0 110px; background: var(--gold); right: 0; top: 0; border-top-right-radius: 18px; }
.nv-deco-a::after { width: 120px; height: 120px; border-radius: 0 120px 0 0; background: var(--green); left: 0; bottom: 0; border-bottom-left-radius: 18px; opacity: .9; }
.nv-deco-b img { aspect-ratio: 1/1.15; }
.nv-deco-b::before { width: 130px; height: 130px; border-radius: 0 130px 0 0; background: var(--green); left: 0; bottom: 0; border-bottom-left-radius: 18px; opacity: .88; }
.nv-deco-b::after { width: 70px; height: 70px; border-radius: 50%; background: var(--gold); right: -18px; top: -18px; }
.nv-deco-c img { aspect-ratio: 6/5; }
.nv-deco-c::before { width: 120px; height: 120px; border-radius: 0 120px 0 0; background: var(--gold); left: 0; bottom: 0; border-bottom-left-radius: 18px; opacity: .9; }

/* Sections */
.nv-sec { padding: 84px 0; }
.nv-sec-tight { padding: 56px 0; }
.nv-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.nv-split > figure { max-width: 320px; justify-self: end; width: 100%; }
.nv-split-img-left { grid-template-columns: 1fr 1.6fr; }
.nv-split-img-left > figure { justify-self: start; }

/* Pourquoi */
.nv-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin: 46px 0 40px; text-align: center; }
.nv-why svg { width: 34px; height: 34px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 12px; }
.nv-why h3 { margin-bottom: 8px; }
.nv-num { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: var(--p2); color: var(--green); font-size: .9rem; font-weight: 700; letter-spacing: .02em; }
.nv-why p { font-size: .86rem; }

/* Agence */
.nv-map { display: grid; grid-template-columns: 1.4fr 1fr; max-width: 780px; margin: 0 auto; border-radius: 0 0 90px 0; overflow: hidden; }
.nv-map-frame { position: relative; min-height: 260px; background: var(--p3); }
.nv-map-frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; filter: saturate(.6) brightness(.85); }
.nv-map-frame .nv-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.nv-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nv-map-card { background: var(--blue); color: rgba(255,255,255,.88); padding: 30px 30px 40px; font-size: .86rem; }
.nv-map-card p + p { margin-top: 6px; }
.nv-map-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.25); margin: 16px 0; }
.nv-map-card strong { color: var(--white); margin-right: 6px; }
.nv-map-btns { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.nv-btn-line { border: 1.5px solid var(--white); color: var(--white); border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: .8rem; transition: background .2s, color .2s; }
.nv-btn-line:hover { background: var(--white); color: var(--blue); }

/* Onglets pilules */
.nv-tablist { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--p3); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.nv-tablist button { border: 0; background: none; font: inherit; font-size: .8rem; font-weight: 700; color: var(--blue); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.nv-tablist button[aria-selected="true"] { background: var(--blue); color: var(--white); }
.nv-panel { margin-bottom: 24px; min-height: 120px; }
.nv-panel-t { font-weight: 700; color: var(--ink); font-size: .88rem; margin-bottom: 8px; }
.nv-checks { list-style: none; display: grid; gap: 6px; font-size: .88rem; }
.nv-checks li { padding-left: 24px; position: relative; }
.nv-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Pôles : cartes photo + bandeau couleur */
.nv-poles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.nv-pole { border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s; }
.nv-pole:hover { transform: translateY(-4px); }
.nv-pole img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.nv-pole span { padding: 14px 16px 16px; font-size: .78rem; color: rgba(255,255,255,.9); flex: 1; line-height: 1.45; }
.nv-pole b { display: block; color: var(--white); font-size: .92rem; margin-bottom: 2px; }
.nv-pole.c1 span { background: linear-gradient(135deg, var(--blue), #2B5394); }
.nv-pole.c2 span { background: linear-gradient(135deg, var(--green), #19A774); }
.nv-pole.c3 span { background: linear-gradient(135deg, #B48D55, var(--gold)); }
.nv-pole.c4 span { background: linear-gradient(135deg, var(--navy), #24406B); }
.nv-pole.c1 { background: var(--p3); } .nv-pole.c2 { background: var(--p2); } .nv-pole.c3 { background: var(--p1); } .nv-pole.c4 { background: var(--p4); }

/* Avis : cartes pastel en colonnes, défilement horizontal */
.nv-avis-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.nv-avis-head h2 { margin: 0; }
.nv-arrows { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; color: var(--ink); }
.nv-arrow { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--blue); background: none; color: var(--blue); font-size: 1.2rem; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.nv-arrow:hover { background: var(--blue); color: var(--white); }
.nv-avis {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth;
  width: min(1100px, 100% - 32px); margin: 0 auto;
}
.nv-avis::-webkit-scrollbar { display: none; }
.nv-avis-col { flex: 0 0 calc((100% - 36px) / 4); display: flex; flex-direction: column; gap: 12px; scroll-snap-align: start; }
.nv-avi { border-radius: 14px; padding: 20px; font-size: .84rem; }
.nv-avi.p1 { background: var(--p1); } .nv-avi.p2 { background: var(--p2); } .nv-avi.p3 { background: var(--p3); } .nv-avi.p4 { background: var(--p4); }
.nv-avi cite { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-style: normal; }
.nv-avi cite i { width: 32px; height: 32px; border-radius: 50%; color: var(--white); font-style: normal; font-weight: 700; display: grid; place-items: center; font-size: .82rem; flex: none; }
.nv-avi cite span { font-weight: 700; color: var(--ink); font-size: .82rem; line-height: 1.3; }
.nv-avi cite em { display: block; font-style: normal; color: var(--gold); letter-spacing: 1px; }
.nv-more { margin-top: 34px; }

/* Bande bleue avec lettre en filigrane */
.nv-band { position: relative; overflow: hidden; background: var(--blue); color: rgba(255,255,255,.85); padding: 80px 0; }
.nv-band h2 { color: var(--white); margin-bottom: 12px; }
.nv-band-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 560px; font-weight: 700; line-height: 1; color: rgba(255,255,255,.05); pointer-events: none; font-family: Georgia, serif; font-style: italic; }
.nv-band .nv-wrap { position: relative; }
.nv-band-stars { font-size: .84rem; font-weight: 700; color: var(--white); margin-bottom: 22px; }
.nv-band-stars span { color: var(--gold); letter-spacing: 2px; margin-right: 6px; }
.nv-band-list { font-size: .86rem; margin-bottom: 26px; }
.nv-band-list dt { color: var(--white); font-weight: 700; margin-top: 12px; }
.nv-band-img { max-width: 340px; justify-self: end; transform: rotate(3deg); }
.nv-band-img img { border-radius: 18px; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 30px 60px rgba(0,0,0,.3); border: 6px solid var(--white); }

/* Défilé */
.nv-marquee { overflow: hidden; margin-top: 30px; }
.nv-marquee-track { display: flex; gap: 12px; width: max-content; animation: nv-scroll 70s linear infinite; }
.nv-marquee:hover .nv-marquee-track { animation-play-state: paused; }
.nv-marquee img { height: 230px; width: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
@keyframes nv-scroll { to { transform: translateX(-50%); } }

/* FAQ */
.nv-faq-box { max-width: 780px; margin: 0 auto; background: var(--p3); border-radius: 18px; padding: 14px 30px; }
.nv-faq summary { list-style: none; cursor: pointer; padding: 14px 30px 14px 20px; font-weight: 700; color: var(--ink); font-size: .9rem; position: relative; }
.nv-faq summary::-webkit-details-marker { display: none; }
.nv-faq summary::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.nv-faq summary::after { content: "⌄"; position: absolute; right: 2px; top: 8px; font-size: 1.2rem; color: var(--ink); transition: transform .2s; }
.nv-faq[open] summary::after { transform: rotate(180deg); }
.nv-faq p { padding: 0 20px 16px; font-size: .86rem; }

/* Carte de rappel */
.nv-cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: center; background: var(--p1); border-radius: 24px; padding: 48px; }
.nv-cta-card::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--gold-l); opacity: .45; right: -120px; top: -160px; }
.nv-cta-txt, .nv-form { position: relative; }
.nv-cta-tel { font-weight: 700; color: var(--ink); }
.nv-cta-tel a { color: var(--green); }
.nv-form { background: var(--white); border-radius: 18px; padding: 26px; box-shadow: 0 20px 50px rgba(11,30,56,.08); }
.nv-need { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; }
.nv-need legend { font-size: .78rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.nv-need input { position: absolute; opacity: 0; }
.nv-need span { display: block; text-align: center; padding: 8px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .8rem; cursor: pointer; transition: all .15s; }
.nv-need input:checked + span { border-color: var(--green); background: var(--p2); color: var(--green-d); font-weight: 700; }
.nv-need input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.nv-field { display: block; margin-bottom: 12px; }
.nv-field span { display: block; font-size: .78rem; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.nv-field input { width: 100%; font: inherit; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; }
.nv-field input:focus, .nv-field input.is-ok { outline: none; border-color: var(--green); }
.hf-hp { position: absolute; left: -9999px; }
.hf-msg { margin-top: 10px; font-size: .84rem; }
.hf-msg a { color: var(--green); font-weight: 700; }

/* Pied */
.nv-foot { background: var(--navy); color: rgba(255,255,255,.7); padding: 64px 0 26px; font-size: .84rem; }
.nv-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.nv-foot-grid img { width: 170px; margin-bottom: 16px; }
.nv-foot-grid p { max-width: 280px; }
.nv-foot h4 { color: var(--white); font-size: .84rem; margin-bottom: 12px; }
.nv-foot-grid a, .nv-foot-grid span { display: block; margin-bottom: 7px; }
.nv-foot a:hover { color: var(--gold); }
.nv-legal { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .76rem; }

.nv-mbar { display: none; }

/* Apparition au défilement */
.nv-rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.nv-rv.is-in { opacity: 1; transform: none; }
.nv-band-img.nv-rv.is-in { transform: rotate(3deg); }
.nv-poles .nv-rv:nth-child(4n+2), .nv-why .nv-rv:nth-child(2) { transition-delay: .08s; }
.nv-poles .nv-rv:nth-child(4n+3), .nv-why .nv-rv:nth-child(3) { transition-delay: .16s; }
.nv-poles .nv-rv:nth-child(4n), .nv-why .nv-rv:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .nv-rv { opacity: 1; transform: none; transition: none; }
  .nv-marquee-track { animation: none; }
}


/* ── Sections ajoutées ── */
.nv-sec-flush { padding-top: 0; }
.nv-sec-soft { background: var(--p4); }
.nv-poster { max-width: 300px; justify-self: end; }
.nv-poster img { border-radius: 18px; aspect-ratio: 3/4; object-fit: cover; box-shadow: 0 24px 50px rgba(11,30,56,.18); }
.nv-deco-d img { aspect-ratio: 1/1.1; }
.nv-deco-d::before { width: 100px; height: 100px; border-radius: 0 0 0 100px; background: var(--green); right: 0; top: 0; border-top-right-radius: 18px; opacity: .9; }
.nv-deco-d::after { width: 130px; height: 130px; border-radius: 0 130px 0 0; background: var(--gold); left: 0; bottom: 0; border-bottom-left-radius: 18px; opacity: .9; }

/* Trois formules */
.nv-formats { position: relative; overflow: hidden; background: var(--p3); border-radius: 24px; padding: 52px 48px; }
.nv-formats::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(11,138,92,.07); right: -140px; top: -200px; }
.nv-formats h2 { max-width: 560px; position: relative; }
.nv-formats-sub { max-width: 620px; margin-bottom: 36px; position: relative; }
.nv-ftable { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; align-items: stretch; }
.nv-fcol { position: relative; background: var(--white); border-radius: 18px; padding: 30px 26px 26px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.nv-fcol:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11,30,56,.1); }
.nv-fcol.is-here { border: 2px solid var(--green); box-shadow: 0 24px 50px rgba(11,138,92,.14); }
.nv-here { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--green); color: var(--white); font-size: .72rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.nv-fcol h3 { font-size: 1.1rem; margin-bottom: 18px; text-align: center; }
.nv-fcol dl { flex: 1; margin-bottom: 22px; }
.nv-fcol dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-top: 14px; }
.nv-fcol dt:first-child { margin-top: 0; }
.nv-fcol dd { font-size: .9rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.nv-fcol .nv-btn { align-self: center; }

/* Comparateur avant / après */
.nv-ba-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 26px; }
.nv-ba-tabs button { border: 1.5px solid var(--line); background: var(--white); font: inherit; font-size: .82rem; font-weight: 700; color: var(--blue); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.nv-ba-tabs button:hover { border-color: var(--blue); }
.nv-ba-tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.nv-ba { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16/10; border-radius: 22px; overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; box-shadow: 0 30px 60px rgba(11,30,56,.15); }
.nv-ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.nv-ba-clip { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.nv-ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--white); transform: translateX(-50%); }
.nv-ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.nv-ba-handle:focus-visible span { outline: 3px solid var(--gold); }
.nv-ba-tag { position: absolute; top: 18px; background: rgba(11,30,56,.75); color: var(--white); font-size: .75rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.nv-ba-tag-l { left: 18px; } .nv-ba-tag-r { right: 18px; background: var(--green); }
.nv-ba.is-swap .nv-ba-img { opacity: .2; }

/* Grille avant → après */
.nv-flips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nv-flip-img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.nv-flip-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nv-flip-before { clip-path: inset(0 100% 0 0); transition: clip-path .7s cubic-bezier(.7,0,.2,1) !important; }
.nv-flip-tag { position: absolute; left: 10px; top: 10px; background: var(--green); color: var(--white); font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; transition: background .3s; }
.nv-flip-tag::after { content: "Après"; }
.nv-flip-tag { font-size: 0; } .nv-flip-tag::after { font-size: .7rem; }
.nv-flip.show-before .nv-flip-before, .nv-flip-img:hover .nv-flip-before { clip-path: inset(0 0 0 0); }
.nv-flip.show-before .nv-flip-tag, .nv-flip-img:hover .nv-flip-tag { background: rgba(11,30,56,.8); }
.nv-flip.show-before .nv-flip-tag::after, .nv-flip-img:hover .nv-flip-tag::after { content: "Avant"; }
.nv-flip-img:hover img { transform: scale(1.04); }
.nv-flip figcaption { padding: 12px 2px 0; font-size: .84rem; }
.nv-flip figcaption b { display: block; font-weight: 700; font-size: .95rem; }

/* Chiffres de la bande */
.nv-stats { display: flex; gap: 36px; margin: 6px 0 28px; flex-wrap: wrap; }
.nv-stats b { display: block; font-size: 2.2rem; font-weight: 700; color: var(--white); line-height: 1.1; }
.nv-stats span { font-size: .8rem; color: var(--gold-l); }

/* ── Animations ── */
.nv-words .w { display: inline-block; opacity: 0; transform: translateY(70%); animation: nv-up .8s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes nv-up { to { opacity: 1; transform: none; } }
.nv-hero-txt p, .nv-hero-txt .nv-btn { opacity: 0; animation: nv-up .8s .7s cubic-bezier(.2,.7,.2,1) forwards; transform: translateY(16px); }
.nv-hero-txt .nv-btn { animation-delay: .85s; }
.nv-deco-hero img { animation: nv-zoom 1.1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes nv-zoom { from { opacity: 0; transform: scale(.9) rotate(-2deg); } to { opacity: .999; transform: none; } }
.nv-deco::before, .nv-deco::after { transform: scale(0); transition: transform .9s cubic-bezier(.3,1.5,.5,1) .25s; }
.nv-deco.is-in::before, .nv-deco.is-in::after, .nv-deco-hero::before, .nv-deco-hero::after { transform: scale(1); }
.nv-deco-hero::before { animation: nv-pop .9s .5s cubic-bezier(.3,1.5,.5,1) both, nv-float 6s 1.4s ease-in-out infinite; }
.nv-deco-hero::after { animation: nv-pop .9s .7s cubic-bezier(.3,1.5,.5,1) both, nv-float 7s 1.6s ease-in-out infinite reverse; }
@keyframes nv-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes nv-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.nv-deco img, .nv-poster img { clip-path: inset(0 0 100% 0 round 18px); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1); }
.nv-deco.is-in img, .nv-poster.is-in img, .nv-deco-hero img { clip-path: inset(0 0 0 0 round 18px); }
.nv-why svg { transition: transform .4s; }
.nv-why > div:hover svg { transform: translateY(-4px) rotate(-6deg); }
.nv-band-mark { transition: transform .1s linear; }
.nv-pole img { transition: transform .6s ease; }
.nv-pole:hover img { transform: scale(1.06); }
.nv-pole { overflow: hidden; }
h2 .nv-hl { background: linear-gradient(var(--gold-l), var(--gold-l)) 0 92% / 0 30% no-repeat; transition: background-size 1s .3s ease; }
.is-hl-in .nv-hl, .nv-rv.is-in h2 .nv-hl { background-size: 100% 30%; }
@media (prefers-reduced-motion: reduce) {
  .nv-words .w, .nv-hero-txt p, .nv-hero-txt .nv-btn, .nv-deco-hero img { animation: none; opacity: 1; transform: none; }
  .nv-deco img, .nv-poster img { clip-path: none; transition: none; }
  .nv-deco::before, .nv-deco::after { transform: scale(1); animation: none; }
}

@media (max-width: 1024px) {
  .nv-flips { grid-template-columns: repeat(2, 1fr); }
  .nv-ftable { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 26px; }
}
@media (max-width: 760px) {
  .nv-formats { padding: 34px 18px; }
  .nv-poster { justify-self: center; max-width: 240px; }
  .nv-ba { aspect-ratio: 4/3.4; border-radius: 16px; }
  .nv-ba-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; padding-bottom: 4px; }
  .nv-ba-tabs button { flex: none; }
  .nv-flips { gap: 12px; }
  .nv-flip figcaption { font-size: 0; } .nv-flip figcaption b { font-size: .85rem; }
  .nv-stats { gap: 24px; } .nv-stats b { font-size: 1.7rem; }
}


/* ── Menu déroulant ── */
.nv-dd { position: relative; }
.nv-dd-btn, .nv-nav-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: inherit; font: inherit; font-weight: 500; font-size: .86rem; cursor: pointer; padding: 22px 0; opacity: .92; }
.nv-dd-btn svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s; }
.nv-dd:hover .nv-dd-btn, .nv-dd.is-open .nv-dd-btn, .nv-nav-link:hover { opacity: 1; color: var(--gold-l); }
.nv-dd:hover .nv-dd-btn svg, .nv-dd.is-open .nv-dd-btn svg { transform: rotate(180deg); }
.nv-dd-panel {
  position: absolute; top: 100%; left: -24px; min-width: 240px; background: var(--white); color: var(--ink);
  border-radius: 0 0 18px 18px; padding: 18px 22px; box-shadow: 0 24px 50px rgba(11,30,56,.18);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nv-dd:hover .nv-dd-panel, .nv-dd.is-open .nv-dd-panel, .nv-dd:focus-within .nv-dd-panel { opacity: 1; visibility: visible; transform: none; }
.nv-dd-panel > a, .nv-dd-col a { display: block; padding: 7px 0; font-size: .86rem; font-weight: 400; transition: color .15s, padding .15s; }
.nv-dd-panel > a:hover, .nv-dd-col a:hover { color: var(--green); padding-left: 4px; }
.nv-dd-t { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.nv-dd-cols { display: grid; grid-template-columns: repeat(2, 220px); gap: 26px; }
.nv-dd-mega { display: grid; grid-template-columns: repeat(2, 270px); gap: 4px 14px; padding: 18px; }
.nv-dd-mega a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; }
.nv-dd-mega a:hover { background: var(--p2); padding-left: 10px; }
.nv-dd-mega svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--p2); fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nv-dd-mega a:hover svg { background: var(--green); stroke: var(--white); }
.nv-dd-mega b { display: block; font-weight: 700; font-size: .86rem; }
.nv-dd-mega span { font-size: .76rem; color: var(--text); line-height: 1.4; }
.nv-nav { align-items: center; }
.nv-burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; }
.nv-burger span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nv-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nv-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nv-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nv-burger { display: flex; }
  .nv-nav {
    display: flex; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--blue); padding: 100px 24px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nv-nav.is-open { opacity: 1; visibility: visible; }
  .nv-dd-btn, .nv-nav-link { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nv-dd-panel, .nv-dd:hover .nv-dd-panel { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; color: rgba(255,255,255,.88); padding: 6px 0 14px; min-width: 0; border-radius: 0; }
  .nv-dd.is-open .nv-dd-panel { display: grid; }
  .nv-dd:hover .nv-dd-btn svg { transform: none; }
  .nv-dd.is-open .nv-dd-btn svg { transform: rotate(180deg); }
  .nv-dd-cols, .nv-dd-mega { grid-template-columns: 1fr; gap: 6px; }
  .nv-dd-mega a { padding: 6px 0; }
  .nv-dd-mega a:hover { background: none; }
  .nv-dd-mega span { color: rgba(255,255,255,.6); }
  .nv-dd-t { margin-top: 10px; }
  body.nv-menu-open { overflow: hidden; }
}


/* ── Sous-pages ── */
.nv-crumb { font-size: .76rem; font-weight: 500; color: rgba(255,255,255,.65); margin-bottom: 14px !important; }
.nv-crumb a:hover { color: var(--white); }
.nv-crumb span { margin: 0 6px; opacity: .6; }
.nv-hl-gold { color: var(--gold-l); }
.nv-hero-sub h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.nv-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.nv-hero-tel { color: var(--white); font-weight: 700; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.nv-hero-txt .nv-hero-ctas { opacity: 0; animation: nv-up .8s .85s cubic-bezier(.2,.7,.2,1) forwards; transform: translateY(16px); }
.nv-hero-ctas .nv-btn { opacity: 1; animation: none; transform: none; }
.nv-sec-points .nv-why { margin-bottom: 0; }
.nv-poles-3 { grid-template-columns: repeat(3, 1fr); }
.nv-poles-3 .nv-pole img { aspect-ratio: 4/3; }
.nv-checks-lg { margin-top: 18px; gap: 9px; font-size: .95rem; }
.nv-tabs-sub { margin-top: 18px; }
.nv-tabs-sub .nv-panel { min-height: 0; }
@media (max-width: 760px) {
  .nv-poles-3 { grid-template-columns: 1fr 1fr; }
  .nv-hero-ctas { gap: 16px; }
}

/* Tablette */
@media (max-width: 1024px) {
  .nv-why { grid-template-columns: repeat(2, 1fr); }
  .nv-poles { grid-template-columns: repeat(2, 1fr); }
  .nv-avis-col { flex-basis: calc((100% - 12px) / 2); }
  .nv-cta-card { grid-template-columns: 1fr; }
}

/* Téléphone : calme, moins d'éléments */
@media (max-width: 760px) {
  body { padding-bottom: 60px; }
  .nv-top { font-size: .72rem; }
  .nv-head-in { height: 58px; padding: 0 16px; }
  .nv-logo img { width: 135px; }
  .nv-tel { display: none; }
  .nv-hero { border-bottom-right-radius: 70px; padding: 36px 0 56px; }
  .nv-hero-in { grid-template-columns: 1fr; gap: 30px; }
  .nv-deco-hero { max-width: 290px; margin: 0 auto; order: 2; }
  .nv-sec { padding: 48px 0; }
  .nv-split, .nv-split-img-left { grid-template-columns: 1fr; gap: 28px; }
  .nv-split > figure { justify-self: stretch; max-width: none; width: 100%; }
  .nv-split > figure img { aspect-ratio: 4/3; }
  .nv-split > * { min-width: 0; }
  .nv-tablist { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .nv-tablist::-webkit-scrollbar { display: none; }
  .nv-tablist button { flex: 0 0 auto; white-space: nowrap; }
  .nv-why p { display: none; }
  .nv-why { gap: 26px 16px; margin: 32px 0; }
  .nv-map { grid-template-columns: 1fr; border-radius: 0 0 60px 0; }
  .nv-map-frame { min-height: 200px; }
  .nv-pole span { font-size: 0; padding: 12px; }
  .nv-pole b { font-size: .84rem; margin: 0; }
  .nv-arrows { display: none; }
  .nv-avis-col { flex-basis: 78%; }
  .nv-band { padding: 60px 0; }
  .nv-band-mark { font-size: 340px; }
  .nv-band-img { justify-self: center; max-width: 240px; }
  .nv-marquee img { height: 170px; }
  .nv-faq-box { padding: 8px 14px; }
  .nv-cta-card { padding: 30px 18px; gap: 28px; }
  .nv-foot-grid { grid-template-columns: 1fr 1fr; }
  .nv-foot-grid > :first-child { grid-column: 1 / -1; }
  .nv-mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); }
  .nv-mbar a { text-align: center; padding: 17px 0; font-weight: 700; font-size: .92rem; color: var(--ink); }
  .nv-mbar a:last-child { background: var(--green); color: var(--white); }
  .cookie-banner { bottom: 60px; }
}

/* ═══ Mascotte : le personnage d'EREM explique chaque section ═══ */
.nv-guide { display: flex; align-items: flex-end; gap: 16px; max-width: 640px; margin: 22px 0 28px; }
.nv-guide-c { margin-left: auto; margin-right: auto; }
.nv-guide img { flex: none; width: auto; height: 280px; transform-origin: 50% 100%; filter: drop-shadow(0 10px 12px rgba(11,30,56,.18)); }
.nv-bubble { position: relative; margin: 0 0 120px; padding: 14px 18px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; box-shadow: 0 12px 30px rgba(11,30,56,.08); font-size: .95rem; font-weight: 400; line-height: 1.5; text-align: left; }
.nv-bubble::before { content: ""; position: absolute; left: -9px; bottom: 10px; width: 16px; height: 16px; background: var(--white); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg) skew(10deg, 10deg); }
.nv-guide.nv-rv .nv-bubble { opacity: 0; transform: scale(.85); transform-origin: 0 100%; transition: opacity .45s ease .45s, transform .45s cubic-bezier(.2,1.4,.4,1) .45s; }
.nv-guide.nv-rv.is-in .nv-bubble { opacity: 1; transform: none; }
.nv-guide.nv-rv.is-in img { animation: nv-sway 5s ease-in-out 1.2s infinite; }
@keyframes nv-sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(1.6deg) translateY(-2px); } }
.nv-cta-txt .nv-guide { margin-bottom: 0; }
@media (max-width: 760px) {
  .nv-guide { gap: 10px; margin: 16px 0 22px; }
  .nv-guide img { height: 190px; }
  .nv-bubble { margin-bottom: 70px; padding: 11px 14px; font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-guide.nv-rv .nv-bubble { opacity: 1; transform: none; transition: none; }
  .nv-guide.nv-rv.is-in img { animation: none; }
}
.nv-bubble-name { display: block; margin-bottom: 3px; color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nv-jojo { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(11,30,56,.15); }
.nv-jojo img { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--gold-l); }
.nv-jojo p { margin: 0; font-size: .82rem; font-style: italic; line-height: 1.45; color: var(--ink); }
.nv-jojo b { display: block; font-style: normal; font-size: .72rem; color: var(--green); letter-spacing: .03em; text-transform: uppercase; }

/* Papi Jojo dans le hero */
.nv-deco img.nv-hero-jojo { position: absolute; z-index: 3; right: -44px; bottom: -40px; width: auto; height: 250px; aspect-ratio: auto; border-radius: 0; object-fit: contain; clip-path: none; filter: drop-shadow(0 14px 16px rgba(0,0,0,.3)); animation: nv-jojo-in .9s cubic-bezier(.2,1.2,.4,1) .9s both; }
@keyframes nv-jojo-in { from { opacity: 0; transform: translateX(40px) rotate(6deg); } to { opacity: 1; transform: none; } }
/* Papi Jojo flottant (ordinateur) */
.nv-float { position: fixed; right: 22px; bottom: 22px; z-index: 55; display: flex; align-items: flex-start; gap: 4px; opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.nv-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.nv-float-in { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 14px 34px rgba(11,30,56,.18); font-size: .86rem; line-height: 1.35; }
.nv-float-in:hover { border-color: var(--green); }
.nv-float-in img { width: 52px; height: 52px; border-radius: 50%; background: var(--gold-l); object-fit: cover; }
.nv-float-in b { display: block; color: var(--green); font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }
.nv-float-x { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 1rem; line-height: 1; cursor: pointer; }
@media (max-width: 1024px) { .nv-deco img.nv-hero-jojo { right: -40px; height: 200px; } }
@media (max-width: 760px) {
  .nv-deco img.nv-hero-jojo { right: -34px; bottom: -26px; height: 170px; }
  .nv-float { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nv-deco img.nv-hero-jojo { animation: none; } }

/* Page 404 avec Papi Jojo */
.nv-404 { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; max-width: 900px; }
.nv-404 > img { height: 340px; width: auto; filter: drop-shadow(0 16px 18px rgba(0,0,0,.3)); animation: nv-jojo-in .9s cubic-bezier(.2,1.2,.4,1) .2s both; }
.nv-404-num { margin: 0; font-size: 4.5rem; font-weight: 700; line-height: 1; color: var(--gold-l); }
.nv-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
/* Confirmation du formulaire : Papi Jojo répond */
.nv-form.is-sent .hf-msg { position: relative; padding: 12px 14px 12px 64px; min-height: 64px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; font-size: .9rem; color: var(--ink); }
.nv-form.is-sent .hf-msg::before { content: ""; position: absolute; left: 10px; top: 10px; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-l) url(/assets/mascotte/tete.webp) center / cover; }
@media (max-width: 760px) {
  .nv-404 { grid-template-columns: 1fr; gap: 20px; justify-items: center; text-align: center; }
  .nv-404 > img { height: 220px; }
  .nv-404 .nv-hero-ctas { justify-content: center; }
}

/* ═══ Animations complémentaires ═══ */
/* Barre de progression de lecture */
.nv-progress { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
/* En-tête : ombre une fois la page défilée */
.nv-head { transition: box-shadow .3s; }
.nv-head.is-scrolled { box-shadow: 0 8px 24px rgba(11,30,56,.22); }
/* Listes cochées : chaque ligne arrive l'une après l'autre */
.nv-checks.nv-st li { opacity: 0; transform: translateX(-12px); transition: opacity .5s ease, transform .5s ease; }
.nv-checks.nv-st.is-in li { opacity: 1; transform: none; }
/* Pastilles numérotées : petit rebond à l'apparition */
.nv-rv .nv-num { transform: scale(.4); opacity: 0; transition: transform .5s cubic-bezier(.3,1.6,.5,1) .25s, opacity .3s .25s; }
.nv-rv.is-in .nv-num { transform: none; opacity: 1; }
/* Avis : léger soulèvement au survol */
.nv-avi { transition: transform .3s ease, box-shadow .3s ease; }
.nv-avi:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(11,30,56,.08); }
/* Boutons verts : reflet qui passe au survol */
.nv-btn:not(.nv-btn-out):not(.nv-btn-white) { position: relative; overflow: hidden; }
.nv-btn:not(.nv-btn-out):not(.nv-btn-white)::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.nv-btn:not(.nv-btn-out):not(.nv-btn-white):hover::after { left: 130%; }
/* FAQ : la réponse glisse à l'ouverture */
.nv-faq[open] > *:not(summary) { animation: nv-up .4s ease both; }
/* Papi Jojo : salut de temps en temps dans le hero, clin d'œil du Jojo flottant */
.nv-deco img.nv-hero-jojo { transform-origin: 50% 100%; animation: nv-jojo-in .9s cubic-bezier(.2,1.2,.4,1) .9s both, nv-hello 7s ease-in-out 3s infinite; }
@keyframes nv-hello { 0%, 84%, 100% { rotate: 0deg; } 88% { rotate: -4deg; } 92% { rotate: 3deg; } 96% { rotate: -2deg; } }
.nv-float.is-on .nv-float-in img { animation: nv-wink 8s ease-in-out 2s infinite; }
@keyframes nv-wink { 0%, 88%, 100% { transform: none; } 92% { transform: rotate(-10deg) scale(1.08); } 96% { transform: rotate(6deg); } }
@media (prefers-reduced-motion: reduce) {
  .nv-progress { display: none; }
  .nv-checks.nv-st li, .nv-rv .nv-num { opacity: 1; transform: none; transition: none; }
  .nv-float.is-on .nv-float-in img, .nv-faq[open] > *:not(summary), .nv-deco img.nv-hero-jojo { animation: none; }
  .nv-btn::after { display: none; }
}

/* Vidéo Papi Jojo (À propos) */
.nv-video { max-width: 960px; margin: 32px auto 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(11,30,56,.16); background: var(--navy); aspect-ratio: 16 / 9; }
.nv-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .nv-video { border-radius: 14px; margin-top: 22px; } }
