/* ==========================================================================
   Maisons NEOVA — surcouche graphique de la maquette (base thème Corpox)
   Couleurs : magenta / noir / blanc
   ========================================================================== */

:root,
.active-light-mode {
  --nv-magenta: #b0126f;
  --nv-magenta-dark: #8c0d58;
  --nv-magenta-soft: #fbeef5;
  --nv-ink: #15151d;
  --nv-ink-2: #1e1e27;
  --nv-text: #4a4a55;
  --nv-muted: #75757f;
  --nv-line: #e8e4e1;
  --nv-soft: #f7f5f3;
  --nv-white: #ffffff;
  --nv-radius: 10px;
  --nv-radius-lg: 16px;
  --nv-shadow: 0 18px 50px rgba(21, 21, 29, .10);
  --nv-shadow-sm: 0 6px 20px rgba(21, 21, 29, .07);
  --nv-container: 1240px;

  /* Variables Corpox réalignées sur l'identité NEOVA */
  --color-primary: var(--nv-magenta);
  --color-secondary: var(--nv-magenta-dark);
  --color-heading: var(--nv-ink);
  --color-body: var(--nv-text);
  --color-white: #ffffff;
  --font-primary: "Plus Jakarta Sans", sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body.nv-body {
  background: var(--nv-white);
  color: var(--nv-text);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.65;
}
body.nv-body::before { display: none; }
.nv-body h1, .nv-body h2, .nv-body h3, .nv-body h4, .nv-body h5 {
  color: var(--nv-ink);
  font-family: var(--font-primary);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
.nv-body p { color: var(--nv-text); margin: 0 0 1em; font-size: 16px; line-height: 1.65; }
.nv-body a { color: inherit; }
.nv-body img { max-width: 100%; height: auto; display: block; }
.nv-body ul { padding: 0; margin: 0; }
.nv-body li { margin: 0; }

.nv-container { width: 100%; max-width: var(--nv-container); margin: 0 auto; padding: 0 24px; }
.nv-section { padding: 96px 0; }
.nv-section--soft { background: var(--nv-soft); }
.nv-section--tight { padding: 64px 0; }

.nv-skip {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--nv-ink); color: #fff !important; padding: 10px 16px; border-radius: 6px;
  font-weight: 700; transition: top .2s;
}
.nv-skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--nv-magenta); outline-offset: 3px; }

/* ---------- Typo utilitaires ---------- */
.nv-kicker {
  display: inline-block;
  color: var(--nv-magenta);
  font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px;
}
.nv-kicker--light { color: #fff; opacity: .85; }
.nv-h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.04; }
.nv-h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; }
.nv-h3 { font-size: 22px; line-height: 1.3; }
.nv-accent { color: var(--nv-magenta) !important; }
.nv-lead { font-size: 19px !important; line-height: 1.6 !important; color: var(--nv-text); }
.nv-center { text-align: center; }
.nv-head { max-width: 720px; margin-bottom: 48px; }
.nv-head.nv-center { margin-left: auto; margin-right: auto; }

/* ---------- Boutons ---------- */
.nv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  border-radius: 6px; border: 2px solid transparent;
  font-size: 15px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.nv-btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.nv-btn:hover svg { transform: translateX(3px); }
.nv-btn--primary { background: var(--nv-magenta); color: #fff !important; }
.nv-btn--primary:hover { background: var(--nv-magenta-dark); color: #fff !important; box-shadow: 0 10px 24px rgba(176, 18, 111, .28); }
.nv-btn--outline { background: transparent; border-color: var(--nv-magenta); color: var(--nv-ink) !important; }
.nv-btn--outline:hover { background: var(--nv-magenta); color: #fff !important; }
.nv-btn--white { background: #fff; color: var(--nv-ink) !important; }
.nv-btn--white:hover { background: var(--nv-magenta-soft); color: var(--nv-ink) !important; }
.nv-btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff !important; }
.nv-btn--ghost-light:hover { background: #fff; color: var(--nv-ink) !important; }
.nv-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--nv-magenta) !important; font-weight: 700; text-decoration: underline;
  text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.nv-link svg { width: 16px; height: 16px; transition: transform .2s; }
.nv-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.nv-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  transition: box-shadow .25s;
}
.nv-header.is-scrolled { box-shadow: 0 6px 24px rgba(21,21,29,.08); }
.nv-header__inner { display: flex; align-items: center; gap: 32px; min-height: 92px; }
/* En-tête en pleine largeur : toute la largeur de l'écran pour le logo, le menu et les boutons */
.nv-header .nv-header__inner { max-width: none; padding: 0 32px; }
.nv-logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; flex: none; position: relative; }
.nv-logo__top { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--nv-ink); margin-left: 2px; }
.nv-logo__main { font-size: 38px; font-weight: 800; letter-spacing: -.02em; color: var(--nv-magenta); margin-top: 2px; }
.nv-logo__roof { position: absolute; right: -16px; top: -13px; width: 58px; height: 24px; }
.nv-logo--light .nv-logo__top { color: #fff; }
.nv-logo__tag { font-size: 9px; font-weight: 600; color: var(--nv-muted); letter-spacing: .08em; margin-top: 4px; text-transform: uppercase; }

.nv-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nv-nav a {
  font-size: 15px; font-weight: 600; color: var(--nv-ink); text-decoration: none; position: relative; padding: 6px 0;
  white-space: nowrap;
}
.nv-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--nv-magenta); transition: width .25s;
}
.nv-nav a:hover::after, .nv-nav a[aria-current="page"]::after { width: 100%; }
.nv-nav a[aria-current="page"] { color: var(--nv-magenta); }
.nv-header__cta { display: flex; gap: 14px; flex: none; }
.nv-header__cta .nv-btn { white-space: nowrap; }
/* Écrans de 992 à 1279 px : menu complet resserré */
@media (min-width: 992px) and (max-width: 1279px) {
  .nv-header .nv-header__inner { padding: 0 20px; gap: 18px; }
  .nv-nav { gap: 18px; }
  .nv-nav a { font-size: 14px; }
  .nv-header__cta { gap: 8px; }
  .nv-header__cta .nv-btn { padding: 9px 13px; font-size: 13.5px; }
  .nv-logo img { height: 48px; }
}

.nv-burger {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--nv-line); border-radius: 8px;
  background: #fff; align-items: center; justify-content: center; cursor: pointer;
}
.nv-burger span, .nv-burger span::before, .nv-burger span::after {
  display: block; width: 22px; height: 2px; background: var(--nv-ink); position: relative; content: ""; transition: transform .25s;
}
.nv-burger span::before { position: absolute; top: -7px; }
.nv-burger span::after { position: absolute; top: 7px; }

.nv-mobile {
  position: fixed; inset: 0; z-index: 1001; background: #fff; padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
}
.nv-mobile.is-open { transform: none; visibility: visible; }
.nv-mobile__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.nv-mobile__close { width: 48px; height: 48px; border: 1px solid var(--nv-line); border-radius: 8px; background: #fff; font-size: 26px; line-height: 1; cursor: pointer; color: var(--nv-ink); }
.nv-mobile nav a { display: block; padding: 14px 0; font-size: 20px; font-weight: 700; color: var(--nv-ink); text-decoration: none; border-bottom: 1px solid var(--nv-line); }
.nv-mobile nav a[aria-current="page"] { color: var(--nv-magenta); }
.nv-mobile__cta { display: grid; gap: 12px; margin-top: 24px; }

/* ---------- Hero accueil ---------- */
.nv-hero { position: relative; display: grid; grid-template-columns: 42% 58%; min-height: 620px; }
.nv-hero__text { padding: 56px 40px 200px max(24px, calc((100vw - var(--nv-container)) / 2 + 24px)); position: relative; z-index: 2; }
.nv-hero__text .nv-lead { max-width: 380px; }
.nv-hero__media { position: relative; overflow: hidden; }
.nv-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: nvZoom 14s ease-out both; }
.nv-hero__media figcaption { position: absolute; right: 18px; bottom: 14px; color: #fff; font-size: 12px; background: rgba(21, 21, 29, .72); padding: 3px 9px; border-radius: 4px; }
@keyframes nvZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.nv-finder {
  position: absolute; z-index: 3; bottom: 28px;
  left: max(24px, calc((100vw - var(--nv-container)) / 2 + 24px));
  width: min(600px, calc(100% - 48px));
  background: #fff; border-radius: var(--nv-radius); box-shadow: var(--nv-shadow);
  padding: 28px 24px 20px;
}
.nv-finder::before { content: ""; position: absolute; left: 0; top: 0; width: 68px; height: 4px; background: var(--nv-magenta); border-radius: 4px 0 0 0; }
.nv-finder h2 { font-size: 24px; margin-bottom: 18px; }
.nv-finder__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.nv-finder small { display: block; margin-top: 12px; color: var(--nv-muted); font-size: 13px; }

.nv-field { position: relative; }
.nv-field svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--nv-ink); pointer-events: none; }
.nv-input, .nv-select, .nv-textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1px solid #cfcac6; border-radius: 6px; background: #fff;
  font-family: inherit; font-size: 15px; color: var(--nv-ink); transition: border-color .2s, box-shadow .2s;
}
.nv-field .nv-input { padding-left: 46px; }
.nv-input:focus, .nv-select:focus, .nv-textarea:focus { border-color: var(--nv-magenta); box-shadow: 0 0 0 3px rgba(176,18,111,.15); outline: none; }
.nv-textarea { min-height: 140px; resize: vertical; }
.nv-select { appearance: auto; }

/* ---------- Bandeau réassurance ---------- */
.nv-trust { background: var(--nv-soft); border-top: 1px solid var(--nv-line); border-bottom: 1px solid var(--nv-line); }
.nv-trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.nv-trust__item { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 28px 16px; font-weight: 700; color: var(--nv-ink); font-size: 16px; }
.nv-trust__item + .nv-trust__item { border-left: 1px solid var(--nv-line); }
.nv-trust__item svg { width: 38px; height: 38px; flex: none; }

/* ---------- Icônes ---------- */
.nv-ico { width: 48px; height: 48px; color: var(--nv-ink); flex: none; }
.nv-ico .m, .nv-trust__item svg .m { stroke: var(--nv-magenta); }

/* ---------- Étapes 01 02 03 ---------- */
.nv-steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.nv-step { padding: 0 32px 8px; }
.nv-step:first-child { padding-left: 0; }
.nv-step + .nv-step { border-left: 1px solid var(--nv-line); }
.nv-step__num { display: flex; align-items: center; gap: 22px; font-size: 32px; font-weight: 800; color: var(--nv-magenta); margin-bottom: 22px; }
.nv-step__num::after { content: ""; flex: 1; height: 1px; background: var(--nv-magenta); opacity: .55; }
.nv-step__body { display: flex; gap: 20px; }
.nv-step h3 { font-size: 18px; margin-bottom: 8px; }
.nv-step p { font-size: 15px; color: var(--nv-muted); margin: 0; }

/* ---------- Réalisations (cartes) ---------- */
.nv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nv-card { background: #fff; border-radius: var(--nv-radius-lg); overflow: hidden; border: 1px solid var(--nv-line); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.nv-card:hover { transform: translateY(-6px); box-shadow: var(--nv-shadow); }
.nv-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.nv-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.nv-card:hover .nv-card__img img { transform: scale(1.05); }
.nv-badge { position: absolute; left: 16px; top: 16px; background: #fff; color: var(--nv-ink); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 30px; }
.nv-badge--m { background: var(--nv-magenta); color: #fff; }
.nv-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.nv-card__place { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--nv-magenta); font-weight: 700; margin-bottom: 6px; }
.nv-card__place svg { width: 15px; height: 15px; }
.nv-card h3 { font-size: 19px; margin-bottom: 14px; }
.nv-specs { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin-top: auto !important; padding-top: 14px !important; border-top: 1px solid var(--nv-line); }
.nv-specs li { font-size: 14px; color: var(--nv-text); display: flex; align-items: center; gap: 6px; }
.nv-specs li svg { width: 16px; height: 16px; color: var(--nv-magenta); }
.nv-section-foot { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- Bandeau franchise (accueil) ---------- */
.nv-franchise { position: relative; background: var(--nv-ink-2); color: #fff; overflow: hidden; display: grid; grid-template-columns: 55% 45%; min-height: 420px; }
.nv-franchise__text { position: relative; z-index: 2; padding: 64px 40px 64px max(24px, calc((100vw - var(--nv-container)) / 2 + 24px)); display: flex; flex-direction: column; justify-content: center; }
.nv-franchise__text h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.nv-franchise__text p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 440px; margin-bottom: 28px; }
.nv-franchise__media { position: relative; }
.nv-franchise__media img { width: 100%; height: 100%; object-fit: cover; }
.nv-franchise__media::before {
  content: ""; position: absolute; z-index: 1; left: -1px; top: 0; bottom: 0; width: 120px;
  background: var(--nv-ink-2);
  clip-path: polygon(0 0, 30% 0, 100% 50%, 30% 100%, 0 100%);
}
.nv-franchise__media::after {
  content: ""; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 150px;
  background: var(--nv-magenta);
  clip-path: polygon(0 0, 22% 0, 80% 50%, 22% 100%, 0 100%, 58% 50%);
}

/* ---------- Agences ---------- */
.nv-agencies { display: grid; grid-template-columns: repeat(3, 1fr); }
.nv-agency { display: flex; gap: 20px; padding: 0 32px; }
.nv-agency:first-child { padding-left: 0; }
.nv-agency + .nv-agency { border-left: 1px solid var(--nv-line); }
.nv-agency h3 { font-size: 20px; margin-bottom: 6px; }
.nv-agency p { font-size: 15px; color: var(--nv-muted); margin-bottom: 14px; }
.nv-agency .nv-ico { width: 40px; height: 40px; }

/* ---------- Page hero (pages internes) ---------- */
.nv-page-hero { position: relative; background: var(--nv-soft); overflow: hidden; }
.nv-page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; min-height: 460px; }
.nv-page-hero__text { padding: 64px 0; }
.nv-page-hero__media { align-self: stretch; position: relative; margin-right: calc(-1 * max(24px, (100vw - var(--nv-container)) / 2 + 24px)); }
.nv-page-hero__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.nv-crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--nv-muted); margin-bottom: 22px; list-style: none; flex-wrap: wrap; }
.nv-crumbs a { color: var(--nv-muted); text-decoration: none; }
.nv-crumbs a:hover { color: var(--nv-magenta); }
.nv-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.nv-page-hero--dark { background: var(--nv-ink-2); }
.nv-page-hero--dark h1, .nv-page-hero--dark .nv-lead { color: #fff !important; }
.nv-page-hero--dark .nv-lead { opacity: .85; }
.nv-page-hero--dark .nv-crumbs, .nv-page-hero--dark .nv-crumbs a { color: rgba(255,255,255,.7); }
.nv-page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Split texte + image ---------- */
.nv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.nv-split--reverse .nv-split__media { order: 2; }
.nv-split__media { position: relative; }
.nv-split__media img { border-radius: var(--nv-radius-lg); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.nv-split__media .nv-float {
  position: absolute; right: -24px; bottom: -28px; background: #fff; border-radius: var(--nv-radius);
  box-shadow: var(--nv-shadow); padding: 20px 24px; max-width: 250px;
}
.nv-float strong { display: block; font-size: 30px; color: var(--nv-magenta); font-weight: 800; line-height: 1.1; }
.nv-float span { font-size: 14px; color: var(--nv-text); }
.nv-checks { list-style: none; display: grid; gap: 14px; margin: 24px 0 0 !important; }
.nv-checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--nv-ink); font-weight: 600; }
.nv-checks li svg { width: 22px; height: 22px; flex: none; color: var(--nv-magenta); margin-top: 2px; }
.nv-checks--light li { color: #fff; }

/* ---------- Grilles de tuiles ---------- */
.nv-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nv-tiles--3 { grid-template-columns: repeat(3, 1fr); }
.nv-tiles--2 { grid-template-columns: repeat(2, 1fr); }
.nv-tile { background: #fff; border: 1px solid var(--nv-line); border-radius: var(--nv-radius-lg); padding: 32px 28px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.nv-tile:hover { border-color: var(--nv-magenta); transform: translateY(-4px); box-shadow: var(--nv-shadow-sm); }
.nv-tile .nv-ico { margin-bottom: 20px; }
.nv-tile h3 { font-size: 19px; margin-bottom: 10px; }
.nv-tile p { font-size: 15px; color: var(--nv-muted); margin: 0; }
.nv-tile--dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.nv-tile--dark h3 { color: #fff; }
.nv-tile--dark p { color: rgba(255,255,255,.72); }
.nv-tile--dark .nv-ico { color: #fff; }
.nv-tile__num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--nv-magenta-soft); color: var(--nv-magenta); font-weight: 800; align-items: center; justify-content: center; margin-bottom: 18px; }

/* ---------- Parcours configurateur (timeline horizontale) ---------- */
.nv-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: flow; position: relative; }
.nv-flow::before { content: ""; position: absolute; left: 8%; right: 8%; top: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--nv-magenta) 0 8px, transparent 8px 16px); opacity: .5; }
.nv-flow__item { position: relative; text-align: center; padding: 0 6px; }
.nv-flow__dot { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px solid var(--nv-magenta); color: var(--nv-magenta); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.nv-flow__item:last-child .nv-flow__dot { background: var(--nv-magenta); color: #fff; }
.nv-flow__item h3 { font-size: 16px; margin-bottom: 6px; }
.nv-flow__item p { font-size: 14px; color: var(--nv-muted); margin: 0; }

/* ---------- Timeline verticale ---------- */
.nv-timeline { list-style: none; position: relative; max-width: 820px; margin: 0 auto !important; }
.nv-timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: var(--nv-line); }
.nv-timeline li { position: relative; display: flex; gap: 28px; padding-bottom: 36px; }
.nv-timeline li:last-child { padding-bottom: 0; }
.nv-timeline__dot { position: relative; z-index: 1; width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--nv-magenta); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 0 0 6px #fff; }
.nv-section--soft .nv-timeline__dot { box-shadow: 0 0 0 6px var(--nv-soft); }
.nv-timeline h3 { font-size: 19px; margin: 12px 0 6px; }
.nv-timeline p { margin: 0; color: var(--nv-muted); }

/* ---------- CTA final ---------- */
.nv-cta { background: var(--nv-magenta); color: #fff; border-radius: var(--nv-radius-lg); padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.nv-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.08); }
.nv-cta h2 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 8px; }
.nv-cta p { color: rgba(255,255,255,.88); margin: 0; font-size: 17px; }
.nv-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Filtres réalisations ---------- */
.nv-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.nv-chip { border: 1px solid var(--nv-line); background: #fff; color: var(--nv-ink); border-radius: 40px; padding: 10px 20px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s; font-family: inherit; }
.nv-chip:hover { border-color: var(--nv-magenta); }
.nv-chip[aria-pressed="true"] { background: var(--nv-magenta); border-color: var(--nv-magenta); color: #fff; }
.nv-card.is-hidden { display: none; }
.nv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nv-stat { text-align: center; padding: 8px; }
.nv-stat strong { display: block; font-size: 44px; font-weight: 800; color: var(--nv-magenta); line-height: 1.1; }
.nv-stat span { font-size: 15px; color: var(--nv-text); }

/* ---------- Agences (page) ---------- */
.nv-agency-card { display: grid; grid-template-columns: 42% 58%; background: #fff; border: 1px solid var(--nv-line); border-radius: var(--nv-radius-lg); overflow: hidden; }
.nv-agency-card + .nv-agency-card { margin-top: 32px; }
.nv-agency-card__media { position: relative; min-height: 340px; }
.nv-agency-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nv-agency-card__body { padding: 40px; }
.nv-agency-card__body h2 { font-size: 30px; margin-bottom: 8px; }
.nv-info { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin: 24px 0 !important; }
.nv-info li { display: flex; gap: 12px; font-size: 15px; color: var(--nv-text); }
.nv-info li svg { width: 20px; height: 20px; flex: none; color: var(--nv-magenta); margin-top: 3px; }
.nv-info li strong { display: block; color: var(--nv-ink); font-size: 14px; }
.nv-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 26px !important; }
.nv-tags li { background: var(--nv-soft); border-radius: 30px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--nv-ink); }
.nv-tags--dark li { background: rgba(255,255,255,.08); color: #fff; }
.nv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nv-map { background: #fff; border: 1px solid var(--nv-line); border-radius: var(--nv-radius-lg); padding: 24px; }
.nv-map svg { width: 100%; height: auto; display: block; }
.nv-map figcaption { font-size: 13px; color: var(--nv-muted); margin-top: 10px; text-align: center; }

/* ---------- Formulaire ---------- */
.nv-form-wrap { display: grid; grid-template-columns: 38% 62%; gap: 0; background: #fff; border-radius: var(--nv-radius-lg); overflow: hidden; box-shadow: var(--nv-shadow); }
.nv-form-aside { background: var(--nv-ink-2); color: #fff; padding: 48px 40px; }
.nv-form-aside h2 { color: #fff; font-size: 28px; }
.nv-form-aside p { color: rgba(255,255,255,.8); }
.nv-contact-coord { list-style: none; padding: 0; margin: 28px 0 0 !important; display: grid; gap: 18px; }
.nv-contact-coord li { display: flex; gap: 12px; font-size: 15px; color: rgba(255,255,255,.85); }
.nv-contact-coord li svg { width: 20px; height: 20px; flex: none; color: #ff8cc8; margin-top: 3px; }
.nv-contact-coord li strong { display: block; color: #fff; font-size: 14px; }
.nv-contact-coord a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.nv-contact-coord a:hover { color: #ff8cc8; }
.nv-form { padding: 48px 44px; }
.nv-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.nv-form__full { grid-column: 1 / -1; }
.nv-label { display: block; font-size: 14px; font-weight: 700; color: var(--nv-ink); margin-bottom: 7px; }
.nv-label em { color: var(--nv-magenta); font-style: normal; }
.nv-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--nv-text); }
.nv-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--nv-magenta); flex: none; }
.nv-form__note { font-size: 13px; color: var(--nv-muted); margin: 16px 0 0; }
.nv-form__msg { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 8px; background: var(--nv-magenta-soft); color: var(--nv-magenta-dark); font-weight: 600; font-size: 15px; }
.nv-form__msg.is-visible { display: block; }
fieldset.nv-fieldset { border: 0; padding: 0; margin: 0; }
fieldset.nv-fieldset legend { font-size: 14px; font-weight: 700; color: var(--nv-ink); margin-bottom: 10px; float: none; width: auto; padding: 0; }
.nv-radios { display: flex; flex-wrap: wrap; gap: 10px; }
.nv-radios label { position: relative; cursor: pointer; }
.nv-radios input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nv-radios span { display: inline-block; border: 1px solid #cfcac6; border-radius: 30px; padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--nv-ink); transition: all .2s; }
.nv-radios input:checked + span { background: var(--nv-magenta); border-color: var(--nv-magenta); color: #fff; }
.nv-radios input:focus-visible + span { outline: 3px solid var(--nv-magenta); outline-offset: 2px; }

/* ---------- FAQ ---------- */
.nv-faq { max-width: 860px; margin: 0 auto; }
.nv-faq details { border-bottom: 1px solid var(--nv-line); }
.nv-faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 700; font-size: 17px; color: var(--nv-ink); position: relative; }
.nv-faq summary::-webkit-details-marker { display: none; }
.nv-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--nv-magenta); transition: transform .25s; }
.nv-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.nv-faq details p { padding: 0 0 22px; margin: 0; color: var(--nv-muted); }

/* ---------- Footer ---------- */
.nv-footer { background: var(--nv-soft); border-top: 1px solid var(--nv-line); padding: 40px 0 26px; }
.nv-footer__top { display: flex; align-items: center; gap: 30px; padding-bottom: 26px; flex-wrap: wrap; }
.nv-footer__top .nv-logo__main { font-size: 30px; }
.nv-footer__baseline { padding-left: 30px; border-left: 1px solid #d8d3cf; font-size: 18px; font-weight: 700; color: var(--nv-ink); }
.nv-footer__nav { display: flex; gap: 26px; margin-left: auto; flex-wrap: wrap; }
.nv-footer__nav a { font-size: 14px; color: var(--nv-ink); text-decoration: none; font-weight: 500; }
.nv-footer__nav a:hover { color: var(--nv-magenta); }
.nv-social { display: flex; gap: 10px; padding-left: 26px; border-left: 1px solid #d8d3cf; }
.nv-social a { width: 36px; height: 36px; border: 1.5px solid var(--nv-ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--nv-ink); transition: all .2s; }
.nv-social a:hover { background: var(--nv-magenta); border-color: var(--nv-magenta); color: #fff; }
.nv-social svg { width: 16px; height: 16px; }
.nv-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--nv-muted); }
.nv-footer__legal { display: flex; gap: 0; flex-wrap: wrap; }
.nv-footer__legal a { color: var(--nv-muted); text-decoration: none; }
.nv-footer__legal a:hover { color: var(--nv-magenta); }

/* ---------- Barre d'appel mobile ---------- */
.nv-mobile-bar { display: none; }

/* Bouton retour en haut (affiché après défilement par neova.js ; lien #top fonctionnel sans JS) */
.nv-haut {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--nv-ink); color: #fff !important;
  box-shadow: 0 8px 20px rgba(21, 21, 29, .25);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.nv-haut svg { width: 22px; height: 22px; }
.nv-haut.is-visible { opacity: 1; visibility: visible; transform: none; }
.nv-haut:hover, .nv-haut:focus-visible { background: var(--nv-magenta); }
.nv-haut:focus-visible { outline: 3px solid var(--nv-magenta); outline-offset: 3px; }
.nv-menu-ouvert .nv-haut { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* En dessous de 1100 px, le menu complet ne tient pas même en pleine largeur : menu « burger » */
@media (min-width: 992px) and (max-width: 1099px) {
  .nv-nav, .nv-header__cta { display: none; }
  .nv-burger { display: inline-flex; }
}

@media (max-width: 1199px) {
  .nv-header__inner { gap: 20px; }
  .nv-nav { gap: 20px; }
  .nv-nav a { font-size: 14px; white-space: nowrap; }
  .nv-header__cta .nv-btn { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
  .nv-flow { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .nv-flow::before { display: none; }
  .nv-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .nv-nav, .nv-header__cta { display: none; }
  .nv-burger { display: inline-flex; }
  .nv-header__inner { min-height: 76px; }
  .nv-logo__main { font-size: 32px; }

  .nv-section { padding: 72px 0; }
  .nv-hero { grid-template-columns: 1fr; }
  .nv-hero__text { padding: 44px 24px 32px; }
  .nv-hero__text .nv-lead { max-width: none; }
  .nv-hero__media { height: 380px; }
  .nv-hero__media figcaption { top: 14px; bottom: auto; }
  .nv-finder { position: relative; left: auto; bottom: auto; width: auto; margin: -70px 24px 0; }

  .nv-trust__grid { grid-template-columns: 1fr; }
  .nv-trust__item { justify-content: flex-start; padding: 18px 8px; }
  .nv-trust__item + .nv-trust__item { border-left: 0; border-top: 1px solid var(--nv-line); }

  .nv-steps, .nv-agencies { grid-template-columns: 1fr; gap: 36px; }
  .nv-step, .nv-agency { padding: 0 !important; }
  .nv-step + .nv-step, .nv-agency + .nv-agency { border-left: 0; border-top: 1px solid var(--nv-line); padding-top: 32px !important; }

  .nv-cards { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  .nv-franchise { grid-template-columns: 1fr; }
  .nv-franchise__text { padding: 56px 24px; }
  .nv-franchise__media { height: 320px; }
  .nv-franchise__media::before, .nv-franchise__media::after { display: none; }

  .nv-page-hero__grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .nv-page-hero__text { padding: 44px 0 36px; }
  .nv-page-hero__media { margin: 0 -24px; height: 300px; }

  .nv-split { grid-template-columns: 1fr; gap: 44px; }
  .nv-split--reverse .nv-split__media { order: 0; }
  .nv-split__media .nv-float { right: 16px; bottom: -24px; }

  .nv-tiles--3 { grid-template-columns: 1fr 1fr; }
  .nv-stats { grid-template-columns: repeat(2, 1fr); }
  .nv-cta { grid-template-columns: 1fr; padding: 40px 28px; }

  .nv-agency-card { grid-template-columns: 1fr; }
  .nv-agency-card__media { min-height: 240px; }
  .nv-agency-card__body { padding: 30px 24px; }

  .nv-form-wrap { grid-template-columns: 1fr; }
  .nv-form-aside { padding: 36px 28px; }
  .nv-form { padding: 36px 28px; }

  .nv-footer__nav { margin-left: 0; }
  .nv-social { padding-left: 0; border-left: 0; }

  .nv-haut { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
  .nv-mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
    background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.08); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
  }
  .nv-mobile-bar .nv-btn { min-height: 46px; padding: 10px 12px; font-size: 14px; }
  body.nv-body { padding-bottom: 72px; }
}

@media (max-width: 640px) {
  .nv-container { padding: 0 16px; }
  .nv-section { padding: 60px 0; }
  .nv-hero__text { padding: 36px 16px 28px; }
  .nv-hero__media { height: 300px; }
  .nv-finder { margin: -56px 16px 0; padding: 24px 18px 18px; }
  .nv-finder h2 { font-size: 20px; }
  .nv-finder__row { grid-template-columns: 1fr; }
  .nv-franchise__text { padding: 48px 16px; }
  .nv-cards, .nv-tiles, .nv-tiles--3, .nv-tiles--2 { grid-template-columns: 1fr; }
  .nv-flow { grid-template-columns: 1fr 1fr; }
  .nv-page-hero__media { margin: 0 -16px; height: 240px; }
  .nv-info { grid-template-columns: 1fr; }
  .nv-form__grid { grid-template-columns: 1fr; }
  .nv-form { padding: 28px 18px; }
  .nv-form-aside { padding: 30px 18px; }
  .nv-footer__baseline { padding-left: 0; border-left: 0; width: 100%; }
  .nv-footer__top { gap: 18px; }
  .nv-btn { white-space: normal; text-align: center; }
  .nv-split__media .nv-float { position: relative; right: auto; bottom: auto; margin: -40px 16px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Ajustements de compatibilité avec la base Corpox ---------- */
.nv-input, .nv-select { height: 50px; line-height: 1.3; padding-top: 0; padding-bottom: 0; }
.nv-input[type="file"] { height: auto; min-height: 50px; padding: 12px 16px; }
.nv-textarea { height: auto; padding: 12px 16px; }
.nv-check input[type="checkbox"] { opacity: 1; position: static; appearance: auto; -webkit-appearance: checkbox; width: 18px; height: 18px; padding: 0; }
.nv-crumbs, .nv-timeline, .nv-flow, .nv-checks, .nv-tags, .nv-specs, .nv-info { padding-left: 0; }
.nv-hero .nv-h1 { font-size: clamp(38px, 4vw, 60px); }

/* ---------- Logo officiel ---------- */
.nv-logo img { display: block; height: 58px; width: auto; }
.nv-logo--full img { height: 76px; }
.nv-mobile__top .nv-logo img { height: 48px; }
@media (max-width: 991px) {
  .nv-header .nv-logo img { height: 48px; }
}
@media (max-width: 640px) {
  .nv-header .nv-logo img { height: 42px; }
  .nv-logo--full img { height: 64px; }
}

/* ---------- Gabarit Element (pages de référencement) ---------- */
.nv-article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.nv-prose h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; margin-bottom: 18px; }
.nv-prose h3 { font-size: 22px; margin: 40px 0 12px; }
.nv-prose p { font-size: 17px; line-height: 1.75; }
.nv-prose strong { color: var(--nv-ink); }
.nv-prose u { text-decoration-color: var(--nv-magenta); text-underline-offset: 3px; }
.nv-prose .nv-checks { margin: 22px 0 8px !important; }
.nv-prose__ol { padding-left: 22px !important; margin: 12px 0 !important; }
.nv-prose__ol li { margin-bottom: 8px; font-size: 17px; color: var(--nv-text); }
.nv-prose__ol li::marker { color: var(--nv-magenta); font-weight: 800; }
.nv-prose__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0 8px; }
.nv-prose__imgs img { border-radius: var(--nv-radius); width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.nv-prose__note { font-size: 14px !important; color: var(--nv-muted) !important; font-style: italic; }
.nv-faq--left { margin: 0; max-width: none; }
.nv-sidebar { position: sticky; top: 120px; display: grid; gap: 24px; }
.nv-widget { background: var(--nv-soft); border: 1px solid var(--nv-line); border-radius: var(--nv-radius-lg); padding: 28px; }
.nv-widget__title { font-size: 20px !important; margin-bottom: 16px !important; }
.nv-widget__links { list-style: none; padding: 0 !important; }
.nv-widget__links li + li { border-top: 1px solid var(--nv-line); }
.nv-widget__links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; font-weight: 600; font-size: 15px; color: var(--nv-ink); text-decoration: none; }
.nv-widget__links a svg { width: 16px; height: 16px; color: var(--nv-magenta); flex: none; transition: transform .2s; }
.nv-widget__links a:hover { color: var(--nv-magenta); }
.nv-widget__links a:hover svg { transform: translateX(3px); }
.nv-widget--dark { background: var(--nv-ink-2); border-color: var(--nv-ink-2); }
.nv-widget--dark .nv-widget__title { color: #fff; }
.nv-widget--dark p, .nv-widget--dark .nv-info li { color: rgba(255,255,255,.8); }
.nv-widget--dark .nv-info li strong { color: #fff; }
.nv-widget--dark .nv-info a { color: #fff; }
@media (max-width: 991px) {
  .nv-article { grid-template-columns: 1fr; gap: 48px; }
  .nv-sidebar { position: static; }
}
@media (max-width: 640px) {
  .nv-prose__imgs { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Version PHP — classes utilitaires (aucun style en ligne dans les pages)
   ========================================================================== */
.nv-m0 { margin: 0 !important; }
.nv-mt-18 { margin-top: 18px !important; }
.nv-mt-24 { margin-top: 24px; }
.nv-mt-28 { margin-top: 28px; }
.nv-mt-32 { margin-top: 32px; }
.nv-mt-56, .nv-body .nv-mt-56 { margin-top: 56px; } /* l'espace s'applique aussi aux titres (Questions fréquentes) */
.nv-mb-10 { margin-bottom: 10px; }
.nv-ml-18 { margin-left: 18px; }
.nv-actions--col { flex-direction: column; }
.nv-info--simple { grid-template-columns: 1fr; margin: 18px 0 !important; }
.nv-section--dark { background: var(--nv-ink-2); }
.nv-accent--clair { color: #ff5cb4 !important; }
.nv-texte-blanc { color: #fff !important; }
.nv-liste-nue { list-style: none; padding: 0; }

/* Menu dynamique : page active */
.nv-nav a.active { color: var(--nv-magenta); }
.nv-nav a.active::after { width: 100%; }
.nv-mobile nav a.active { color: var(--nv-magenta); }
.nv-header__cta .nv-btn--outline.active { background: var(--nv-magenta); color: #fff !important; }
.nv-footer__nav a.active { color: var(--nv-magenta); }

/* Pied de page */
.nv-footer__baseline { margin: 0; }
.nv-footer__legal { color: var(--nv-muted); gap: 8px; align-items: center; }
.nv-footer__copy, .nv-body .nv-footer__copy { margin: 0; font-size: 13px; line-height: 1.65; color: inherit; } /* même taille que les liens légaux */
.nv-footer__copy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.nv-footer__copy a:hover { color: var(--nv-magenta); }

/* Liens dans les blocs d'information */
.nv-info a { color: inherit; text-decoration: underline; text-decoration-color: rgba(176, 18, 111, .4); text-underline-offset: 3px; }
.nv-info a:hover { color: var(--nv-magenta); }
.nv-prose a:not(.nv-btn) { color: var(--nv-magenta); text-decoration: underline; text-underline-offset: 3px; }

/* Formulaires */
.nv-piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nv-form { position: relative; }
.nv-form__msg.is-ok { background: #e9f7ef; color: #1d6b3d; }
.nv-form__msg.is-erreur { background: #fdecec; color: #a12622; }
.nv-champ-erreur { margin: 6px 0 0 !important; font-size: 14px; font-weight: 600; color: #a12622 !important; }
.nv-input[aria-invalid="true"] { border-color: #a12622; }
.nv-check a { color: var(--nv-magenta); text-decoration: underline; }
.nv-btn[disabled] { opacity: .6; cursor: wait; }

/* Bouton flottant mobile (téléphone pendant les horaires, e-mail sinon) */
.nv-cta-flottant { display: none; }
@media (max-width: 768px) {
  .nv-cta-flottant {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 16px; top: 50%; transform: translateY(-50%); z-index: 9999;
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--nv-magenta); color: #fff !important;
    box-shadow: 0 10px 24px rgba(176, 18, 111, .35);
    animation: nvPulse 2.6s ease-in-out infinite;
  }
  .nv-cta-flottant svg { width: 24px; height: 24px; }
  .nv-cta-flottant:hover, .nv-cta-flottant:focus-visible { background: var(--nv-magenta-dark); }
  .nv-cta-flottant:focus-visible { outline: 3px solid var(--nv-ink); outline-offset: 3px; }
  .nv-menu-ouvert .nv-cta-flottant { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-cta-flottant { animation: none; }
}
.nv-menu-ouvert { overflow: hidden; }
@keyframes nvPulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(176, 18, 111, .35), 0 0 0 0 rgba(176, 18, 111, .35); }
  50% { box-shadow: 0 10px 24px rgba(176, 18, 111, .35), 0 0 0 10px rgba(176, 18, 111, 0); }
}

/* Pages légales, plan du site, 404 */
.nv-page-hero--simple .nv-page-hero__text { padding: 56px 0 40px; }
.nv-legal { max-width: 860px; }
.nv-legal h2 { font-size: 24px; margin-top: 40px; }
.nv-legal h3 { font-size: 18px; margin-top: 24px; }
.nv-legal a:not(.nv-btn) { color: var(--nv-magenta); text-decoration: underline; text-underline-offset: 3px; }
.nv-legal__liste { padding-left: 22px !important; margin: 0 0 1em !important; }
.nv-legal__liste li { margin-bottom: 8px; color: var(--nv-text); }
.nv-legal__fin { margin-top: 40px !important; font-weight: 700; color: var(--nv-ink) !important; }
.nv-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.nv-plan__bloc { background: var(--nv-soft); border: 1px solid var(--nv-line); border-radius: var(--nv-radius-lg); padding: 28px 32px; }
.nv-plan__liste { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.nv-plan__bloc--autres .nv-plan__liste { grid-template-columns: 1fr 1fr; column-gap: 32px; }
.nv-plan__liste a { color: var(--nv-ink); font-weight: 600; text-decoration: none; }
.nv-plan__liste a:hover { color: var(--nv-magenta); text-decoration: underline; }
.nv-404 { text-align: center; max-width: 720px; }
.nv-actions--centre { justify-content: center; }
@media (max-width: 767px) {
  .nv-plan, .nv-plan__bloc--autres .nv-plan__liste { grid-template-columns: 1fr; }
}

/* Tableau de bord de fréquentation (analyse.php) */
.nv-filters .nv-chip { text-decoration: none; }
.nv-filters .nv-chip[aria-current="true"] { background: var(--nv-magenta); border-color: var(--nv-magenta); color: #fff; }
.nv-stats-alerte { background: #fdecec; color: #a12622; padding: 16px 20px; border-radius: 8px; font-weight: 600; }
.nv-stats-cartes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 8px 0 40px; }
.nv-stats-carte { background: var(--nv-soft); border: 1px solid var(--nv-line); border-radius: var(--nv-radius); padding: 20px; }
.nv-stats-carte strong { display: block; font-size: 34px; font-weight: 800; color: var(--nv-magenta); line-height: 1.1; }
.nv-stats-carte span { font-size: 14px; color: var(--nv-text); }
.nv-stats-jours { display: flex; align-items: flex-end; gap: 3px; height: 180px; padding: 12px; background: var(--nv-soft); border-radius: var(--nv-radius); margin-bottom: 40px; }
.nv-stats-jours__barre { flex: 1; background: var(--nv-magenta); border-radius: 3px 3px 0 0; min-height: 2px; }
.nv-stats-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.nv-stats-barres { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.nv-stats-barres li { display: grid; grid-template-columns: minmax(0, 1.3fr) 1fr 48px; gap: 12px; align-items: center; font-size: 14px; }
.nv-stats-barres__libelle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--nv-ink); }
.nv-stats-barres__piste { background: var(--nv-line); border-radius: 4px; height: 10px; overflow: hidden; }
.nv-stats-barres__barre { display: block; height: 100%; background: var(--nv-magenta); }
.nv-stats-barres strong { text-align: right; }
.nv-stats-vide { color: var(--nv-muted); }
@media (max-width: 991px) {
  .nv-stats-cartes { grid-template-columns: repeat(2, 1fr); }
  .nv-stats-grille { grid-template-columns: 1fr; }
}
.nv-w-0{width:0%}.nv-w-1{width:1%}.nv-w-2{width:2%}.nv-w-3{width:3%}.nv-w-4{width:4%}.nv-w-5{width:5%}.nv-w-6{width:6%}.nv-w-7{width:7%}.nv-w-8{width:8%}.nv-w-9{width:9%}.nv-w-10{width:10%}.nv-w-11{width:11%}.nv-w-12{width:12%}.nv-w-13{width:13%}.nv-w-14{width:14%}.nv-w-15{width:15%}.nv-w-16{width:16%}.nv-w-17{width:17%}.nv-w-18{width:18%}.nv-w-19{width:19%}.nv-w-20{width:20%}.nv-w-21{width:21%}.nv-w-22{width:22%}.nv-w-23{width:23%}.nv-w-24{width:24%}.nv-w-25{width:25%}.nv-w-26{width:26%}.nv-w-27{width:27%}.nv-w-28{width:28%}.nv-w-29{width:29%}.nv-w-30{width:30%}.nv-w-31{width:31%}.nv-w-32{width:32%}.nv-w-33{width:33%}.nv-w-34{width:34%}.nv-w-35{width:35%}.nv-w-36{width:36%}.nv-w-37{width:37%}.nv-w-38{width:38%}.nv-w-39{width:39%}.nv-w-40{width:40%}.nv-w-41{width:41%}.nv-w-42{width:42%}.nv-w-43{width:43%}.nv-w-44{width:44%}.nv-w-45{width:45%}.nv-w-46{width:46%}.nv-w-47{width:47%}.nv-w-48{width:48%}.nv-w-49{width:49%}.nv-w-50{width:50%}.nv-w-51{width:51%}.nv-w-52{width:52%}.nv-w-53{width:53%}.nv-w-54{width:54%}.nv-w-55{width:55%}.nv-w-56{width:56%}.nv-w-57{width:57%}.nv-w-58{width:58%}.nv-w-59{width:59%}.nv-w-60{width:60%}.nv-w-61{width:61%}.nv-w-62{width:62%}.nv-w-63{width:63%}.nv-w-64{width:64%}.nv-w-65{width:65%}.nv-w-66{width:66%}.nv-w-67{width:67%}.nv-w-68{width:68%}.nv-w-69{width:69%}.nv-w-70{width:70%}.nv-w-71{width:71%}.nv-w-72{width:72%}.nv-w-73{width:73%}.nv-w-74{width:74%}.nv-w-75{width:75%}.nv-w-76{width:76%}.nv-w-77{width:77%}.nv-w-78{width:78%}.nv-w-79{width:79%}.nv-w-80{width:80%}.nv-w-81{width:81%}.nv-w-82{width:82%}.nv-w-83{width:83%}.nv-w-84{width:84%}.nv-w-85{width:85%}.nv-w-86{width:86%}.nv-w-87{width:87%}.nv-w-88{width:88%}.nv-w-89{width:89%}.nv-w-90{width:90%}.nv-w-91{width:91%}.nv-w-92{width:92%}.nv-w-93{width:93%}.nv-w-94{width:94%}.nv-w-95{width:95%}.nv-w-96{width:96%}.nv-w-97{width:97%}.nv-w-98{width:98%}.nv-w-99{width:99%}.nv-w-100{width:100%}
.nv-h-0{height:1%}.nv-h-1{height:1%}.nv-h-2{height:2%}.nv-h-3{height:3%}.nv-h-4{height:4%}.nv-h-5{height:5%}.nv-h-6{height:6%}.nv-h-7{height:7%}.nv-h-8{height:8%}.nv-h-9{height:9%}.nv-h-10{height:10%}.nv-h-11{height:11%}.nv-h-12{height:12%}.nv-h-13{height:13%}.nv-h-14{height:14%}.nv-h-15{height:15%}.nv-h-16{height:16%}.nv-h-17{height:17%}.nv-h-18{height:18%}.nv-h-19{height:19%}.nv-h-20{height:20%}.nv-h-21{height:21%}.nv-h-22{height:22%}.nv-h-23{height:23%}.nv-h-24{height:24%}.nv-h-25{height:25%}.nv-h-26{height:26%}.nv-h-27{height:27%}.nv-h-28{height:28%}.nv-h-29{height:29%}.nv-h-30{height:30%}.nv-h-31{height:31%}.nv-h-32{height:32%}.nv-h-33{height:33%}.nv-h-34{height:34%}.nv-h-35{height:35%}.nv-h-36{height:36%}.nv-h-37{height:37%}.nv-h-38{height:38%}.nv-h-39{height:39%}.nv-h-40{height:40%}.nv-h-41{height:41%}.nv-h-42{height:42%}.nv-h-43{height:43%}.nv-h-44{height:44%}.nv-h-45{height:45%}.nv-h-46{height:46%}.nv-h-47{height:47%}.nv-h-48{height:48%}.nv-h-49{height:49%}.nv-h-50{height:50%}.nv-h-51{height:51%}.nv-h-52{height:52%}.nv-h-53{height:53%}.nv-h-54{height:54%}.nv-h-55{height:55%}.nv-h-56{height:56%}.nv-h-57{height:57%}.nv-h-58{height:58%}.nv-h-59{height:59%}.nv-h-60{height:60%}.nv-h-61{height:61%}.nv-h-62{height:62%}.nv-h-63{height:63%}.nv-h-64{height:64%}.nv-h-65{height:65%}.nv-h-66{height:66%}.nv-h-67{height:67%}.nv-h-68{height:68%}.nv-h-69{height:69%}.nv-h-70{height:70%}.nv-h-71{height:71%}.nv-h-72{height:72%}.nv-h-73{height:73%}.nv-h-74{height:74%}.nv-h-75{height:75%}.nv-h-76{height:76%}.nv-h-77{height:77%}.nv-h-78{height:78%}.nv-h-79{height:79%}.nv-h-80{height:80%}.nv-h-81{height:81%}.nv-h-82{height:82%}.nv-h-83{height:83%}.nv-h-84{height:84%}.nv-h-85{height:85%}.nv-h-86{height:86%}.nv-h-87{height:87%}.nv-h-88{height:88%}.nv-h-89{height:89%}.nv-h-90{height:90%}.nv-h-91{height:91%}.nv-h-92{height:92%}.nv-h-93{height:93%}.nv-h-94{height:94%}.nv-h-95{height:95%}.nv-h-96{height:96%}.nv-h-97{height:97%}.nv-h-98{height:98%}.nv-h-99{height:99%}.nv-h-100{height:100%}

/* ==========================================================================
   Configurateur 3D
   ========================================================================== */
/* Le thème masque le débordement horizontal par « hidden », ce qui empêche tout élément
   « sticky » de fonctionner (aperçu 3D, barre latérale) : « clip » masque sans bloquer. */
html, body.nv-body { overflow-x: hidden; overflow-x: clip; }
.nv-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nv-cfg-intro { padding: 48px 0 28px; }
.nv-cfg-intro .nv-lead { max-width: 760px; }
.nv-cfg-demo { display: inline-block; margin-top: 16px !important; padding: 9px 14px; border-radius: 8px; background: #fff4d6; color: #5c4100 !important; font-size: 14px; }
.nv-cfg-section { padding: 0 0 90px; }
.nv-cfg { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.nv-cfg__vue-colle { position: sticky; top: 112px; } /* l'aperçu 3D reste visible pendant les choix */
.nv-cfg__panneau { align-self: start; }
.nv-cfg__scene { position: relative; height: min(66vh, 600px); min-height: 320px; border-radius: var(--nv-radius-lg); overflow: hidden; background: #e7eef3; box-shadow: var(--nv-shadow-sm); }
.nv-cfg__scene canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.nv-cfg__scene canvas:active { cursor: grabbing; }
.nv-cfg__chargement { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; margin: 0 !important; color: var(--nv-text); }
.nv-cfg__vues { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nv-cfg__vue-btn { border: 1.5px solid var(--nv-line); background: #fff; color: var(--nv-ink); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.nv-cfg__vue-btn:hover { border-color: var(--nv-magenta); }
.nv-cfg__vue-btn[aria-pressed="true"] { background: var(--nv-ink); border-color: var(--nv-ink); color: #fff; }
.nv-cfg__vue-btn:focus-visible, .nv-cfg__etapes button:focus-visible { outline: 3px solid var(--nv-magenta); outline-offset: 2px; }
.nv-cfg__vue-btn--mode[aria-pressed="true"] { background: var(--nv-magenta); border-color: var(--nv-magenta); }
.nv-cfg__vues[hidden], .nv-cfg__vue-btn[hidden] { display: none; }
.nv-cfg__etiquettes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.nv-cfg__etiquettes[hidden], .nv-cfg__etiquette[hidden] { display: none; }
.nv-cfg__etiquette { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; padding: 3px 8px; border-radius: 6px; background: rgba(21, 21, 29, .78); color: #fff; font-size: 11px; line-height: 1.25; white-space: nowrap; }
.nv-cfg__etiquette strong { font-weight: 700; }
.nv-cfg__etiquette small { font-size: 10px; opacity: .85; }
.nv-cfg__astuce { margin: 10px 0 0 !important; font-size: 13px; color: var(--nv-muted); }

.nv-cfg__panneau { background: #fff; border-radius: var(--nv-radius-lg); box-shadow: var(--nv-shadow); padding: 26px; scroll-margin-top: 110px; }
.nv-cfg__etapes { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px !important; }
.nv-cfg__etapes button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; padding: 6px 8px 6px 4px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--nv-muted); cursor: pointer; }
.nv-cfg__etapes button span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--nv-soft); color: var(--nv-ink); font-size: 12px; }
.nv-cfg__etapes button.is-fait span { background: var(--nv-magenta-soft); color: var(--nv-magenta); }
.nv-cfg__etapes button[aria-current="step"] { color: var(--nv-ink); }
.nv-cfg__etapes button[aria-current="step"] span { background: var(--nv-magenta); color: #fff; }
.nv-cfg__progression { height: 4px; border-radius: 4px; background: var(--nv-soft); margin-bottom: 22px; overflow: hidden; }
.nv-cfg__barre { display: block; height: 100%; background: var(--nv-magenta); transition: width .35s ease; }

.nv-cfg__etape, .nv-cfg__groupe { border: 0; padding: 0; margin: 0; min-width: 0; }
.nv-cfg__etape + .nv-cfg__etape { margin-top: 34px; }
.nv-cfg--js .nv-cfg__etape { display: none; margin-top: 0; }
.nv-cfg--js .nv-cfg__etape.is-active { display: block; }
.nv-cfg:not(.nv-cfg--js) .nv-cfg__etapes,
.nv-cfg:not(.nv-cfg--js) .nv-cfg__progression,
.nv-cfg:not(.nv-cfg--js) .nv-cfg__nav,
.nv-cfg:not(.nv-cfg--js) .nv-cfg__partage { display: none; }
.nv-cfg__titre { font-size: 22px; font-weight: 800; color: var(--nv-ink); margin-bottom: 18px; padding: 0; }
.nv-cfg__titre:focus { outline: none; }
.nv-cfg__groupe { margin-bottom: 22px; }
.nv-cfg__groupe > legend { font-size: 15px; font-weight: 700; color: var(--nv-ink); margin-bottom: 10px; padding: 0; }
.nv-cfg__choix-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.nv-cfg__choix, .nv-cfg__modele { position: relative; display: block; margin: 0; cursor: pointer; }
.nv-cfg__choix input, .nv-cfg__modele input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nv-cfg__choix-corps { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; height: 100%; padding: 10px 12px; border: 1.5px solid var(--nv-line); border-radius: 12px; background: #fff; transition: border-color .2s, background .2s; }
.nv-cfg__choix-nom { flex: 1 1 auto; font-size: 14px; font-weight: 600; color: var(--nv-ink); line-height: 1.3; }
.nv-cfg__choix-prix { font-size: 13px; color: var(--nv-muted); white-space: nowrap; }
.nv-cfg__pastille { width: 22px; height: 22px; flex: none; }
.nv-cfg__pastille circle { stroke: rgba(21, 21, 29, .2); stroke-width: 1; }
.nv-cfg__choix:hover .nv-cfg__choix-corps, .nv-cfg__modele:hover .nv-cfg__modele-carte { border-color: #d7a2c3; }
.nv-cfg__choix input:checked + .nv-cfg__choix-corps, .nv-cfg__modele input:checked + .nv-cfg__modele-carte { border-color: var(--nv-magenta); background: var(--nv-magenta-soft); }
.nv-cfg__choix input:focus-visible + .nv-cfg__choix-corps, .nv-cfg__modele input:focus-visible + .nv-cfg__modele-carte { outline: 3px solid var(--nv-magenta); outline-offset: 2px; }
.nv-cfg__choix input:disabled + .nv-cfg__choix-corps { opacity: .45; cursor: not-allowed; background: var(--nv-soft); }
.nv-cfg__choix--case .nv-cfg__choix-corps::before { content: ""; flex: none; width: 20px; height: 20px; border: 2px solid #c9c4d4; border-radius: 5px; background: #fff center / 14px no-repeat; }
.nv-cfg__choix--case input:checked + .nv-cfg__choix-corps::before { border-color: var(--nv-magenta); background-color: var(--nv-magenta); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.nv-cfg__aide { margin: 8px 0 0 !important; font-size: 13px; color: #7a5a00; }
.nv-cfg__modeles { display: grid; gap: 10px; }
.nv-cfg__modele-carte { display: grid; gap: 3px; padding: 14px 16px; border: 1.5px solid var(--nv-line); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s; }
.nv-cfg__modele-carte strong { font-size: 17px; color: var(--nv-ink); }
.nv-cfg__modele-carte span { font-size: 14px; color: var(--nv-text); }
.nv-cfg__modele-carte small { font-size: 13px; color: var(--nv-muted); }
.nv-cfg__modele-carte em { font-style: normal; font-weight: 700; color: var(--nv-magenta); font-size: 14px; }
/* Modèle Marie : vignettes, références, image de carte, groupes masqués selon le modèle, images d'ambiance */
.nv-cfg__groupe[hidden] { display: none; }
.nv-cfg__choix-nom small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--nv-muted); line-height: 1.35; }
.nv-cfg__vignette { width: 40px; height: 40px; flex: none; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 1px rgba(21, 21, 29, .12); }
.nv-cfg__modele-carte--image { grid-template-columns: 1fr; }
.nv-cfg__modele-img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 328; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.nv-cfg__ambiance { margin: 0 0 22px; }
.nv-cfg__ambiance[hidden] { display: none; }
.nv-cfg__ambiance img { display: block; width: 100%; height: auto; border-radius: 12px; aspect-ratio: 3 / 2; object-fit: cover; }
.nv-cfg__ambiance figcaption { margin-top: 6px; font-size: 13px; color: var(--nv-muted); }

.nv-cfg__recap { width: 100%; border-collapse: collapse; font-size: 14px; }
.nv-cfg__recap th, .nv-cfg__recap td { padding: 8px 6px; border-bottom: 1px solid var(--nv-line); text-align: left; vertical-align: top; }
.nv-cfg__recap th { font-weight: 600; color: var(--nv-muted); width: 34%; }
.nv-cfg__recap td:last-child { text-align: right; white-space: nowrap; color: var(--nv-ink); }
.nv-cfg__recap .nv-cfg__recap-total th, .nv-cfg__recap .nv-cfg__recap-total td { border-bottom: 0; padding-top: 12px; font-size: 16px; font-weight: 800; color: var(--nv-ink); }
.nv-cfg__recap .nv-cfg__recap-total td:last-child { color: var(--nv-magenta); }
.nv-cfg__partage { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 0 !important; font-size: 14px; }
.nv-cfg__partage span { color: var(--nv-muted); word-break: break-all; }
.nv-cfg__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.nv-cfg__nav .nv-btn:disabled { opacity: .4; cursor: default; }
.nv-cfg__nav [hidden] { display: none; }
.nv-cfg__total { display: grid; gap: 2px; margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: var(--nv-ink); color: rgba(255, 255, 255, .8); }
.nv-cfg__total span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.nv-cfg__total strong { font-size: 28px; color: #fff; line-height: 1.2; }
.nv-cfg__total small { font-size: 12px; }

@media (max-width: 991px) {
  .nv-cfg { grid-template-columns: 1fr; }
  .nv-cfg__vue-colle { position: static; }
  .nv-cfg__scene { height: 360px; }
}
@media (max-width: 575px) {
  .nv-cfg__panneau { padding: 18px; }
  .nv-cfg__scene { height: 300px; min-height: 0; }
  .nv-cfg__choix-liste { grid-template-columns: 1fr 1fr; }
  .nv-cfg__etapes button { font-size: 0; padding: 4px; }
  .nv-cfg__etapes button span { font-size: 12px; }
  .nv-cfg__etapes button[aria-current="step"] { font-size: 13px; }
  .nv-cfg__etiquette { padding: 2px 5px; font-size: 9px; }
  .nv-cfg__etiquette small { display: none; }
}

/* Devenir franchisé : « 0 € de droit d'entrée », toujours visible au défilement (forme de maison aux couleurs du logo) */
.nv-body .nv-droit-entree {
  position: fixed; right: 0; top: 50%; z-index: 60; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px;
  width: 116px; height: 124px; padding: 0 10px 16px; text-align: center; text-decoration: none; color: #fff;
  background: var(--nv-magenta);
  clip-path: polygon(50% 0, 100% 34%, 100% 100%, 0 100%, 0 34%);
  filter: drop-shadow(0 10px 22px rgba(21, 21, 29, .28));
  transition: background-color .2s;
}
.nv-body .nv-droit-entree::before {
  content: ""; position: absolute; left: 50%; top: 13px; width: 38px; height: 38px; transform: translateX(-50%) rotate(45deg);
  border-top: 5px solid #15151d; border-left: 5px solid #15151d;
}
.nv-body .nv-droit-entree:hover, .nv-body .nv-droit-entree:focus-visible { background: #8c0d58; color: #fff; }
.nv-body .nv-droit-entree span { color: #fff; }
.nv-body .nv-droit-entree__montant { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.nv-body .nv-droit-entree__texte { font-size: 12px; font-weight: 600; line-height: 1.2; }
@media (max-width: 991px) {
  .nv-body .nv-droit-entree { top: auto; bottom: 92px; right: auto; left: 0; transform: none; width: 92px; height: 98px; padding: 0 6px 11px; }
  .nv-body .nv-droit-entree::before { top: 10px; width: 28px; height: 28px; border-width: 4px; }
  .nv-body .nv-droit-entree__montant { font-size: 25px; }
  .nv-body .nv-droit-entree__texte { font-size: 10.5px; }
}
@media print { .nv-body .nv-droit-entree { display: none; } }
