/* novfr : le méga menu de l'en-tête (validé par JB le 22/11/2026, essai v6 passé en production sur SW9).
   Balisage : nv/nv-tete-pied.php, à partir d'Apparence > Menus, emplacement « En-tête novfr » (familles = éléments qui ont
   des sous-éléments, phrases = champ Description). Gestes : nv/js/nv-mega.js, importé par nv/js/nv-tete.js.
   Sur ordinateur (1025 px et plus), un panneau nuit sous l'en-tête : la famille survolée dans un cadre éclairé, les autres
   en retrait, la carte « Par où commencer ? », un avis client qui change avec la famille, le fil orange et le champ d'éclats.
   Sur tablette et mobile, le même contenu dans le panneau plein écran du menu. */
html:root{--nvm-papier:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 560'%3E%3Cdefs%3E%3Cfilter id='d' x='-20%25' y='-30%25' width='140%25' height='170%25'%3E%3CfeDropShadow dx='0' dy='14' stdDeviation='14' flood-color='%23000' flood-opacity='.45'/%3E%3C/filter%3E%3C/defs%3E%3Cpath filter='url(%23d)' fill='%23242838' d='M0 -20 L780 -20 L780 470 Z'/%3E%3Cpath filter='url(%23d)' fill='%232B3041' d='M300 -20 L780 -20 L780 250 Z'/%3E%3C/svg%3E")}
html:root :is(.nv-tete,.elementor) .nv-site-tete{position:relative;transition:background-color .25s ease}
html:root .nvm-liste,html:root .nvm-mobile{display:none}
html:root :is(.nvm-panneau,.nvm-offre,.nvm-carte,.nvm-liste,.nvm-mobile,.nvm-tel,.nvm-pilote,.nvm-carte p){text-align:start}
html:root .nvm-num{display:block;margin:0 0 .375rem;font-size:.8125rem;font-weight:600;letter-spacing:.04em;font-variant-numeric:tabular-nums;color:color-mix(in srgb,var(--blanc) 52%,transparent);transition:color .25s}
html:root .nvm-offre{position:relative;display:grid;grid-template-columns:.8125rem minmax(0,1fr);column-gap:.625rem;padding:.5625rem .625rem .5625rem .5rem;margin:0 0 0 -.5rem;border-radius:.75rem;color:var(--blanc);text-decoration:none;transition:background-color .2s}
html:root .nvm-offre:hover,html:root .nvm-offre:focus-visible{background:color-mix(in srgb,var(--blanc) 6%,transparent);outline:none}
html:root .nvm-offre:focus-visible{box-shadow:0 0 0 2px var(--orange)}
html:root .nvm-tri{grid-row:1/3;width:.8125rem;height:.6875rem;margin-top:.3125rem;background:var(--orange);clip-path:polygon(34.3% 0,100% 43.7%,0 100%);transform-origin:0 100%}
html:root .nvm-offre:hover .nvm-tri,html:root .nvm-offre:focus-visible .nvm-tri{animation:nvmPivot .8s cubic-bezier(.22,1,.36,1)}
@keyframes nvmPivot{from{transform:rotate(-24deg)}to{transform:none}}
html:root .nvm-t{font-size:1rem;font-weight:600;line-height:1.3;text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:.4em;text-underline-offset:-.2em;text-decoration-skip-ink:none;transition:text-decoration-color .25s}
html:root .nvm-offre:hover .nvm-t,html:root .nvm-offre:focus-visible .nvm-t{text-decoration-color:color-mix(in srgb,var(--orange) 42%,transparent)}
html:root .nvm-offre[aria-current="page"] .nvm-t{text-decoration-color:color-mix(in srgb,var(--orange) 42%,transparent)}
html:root .nvm-d{grid-column:2;margin-top:.125rem;font-size:.84375rem;line-height:1.45;color:color-mix(in srgb,var(--blanc) 66%,transparent)}
html:root .nvm-carte{position:relative;padding:1.5rem 1.5rem 1.375rem;background:var(--blanc);color:var(--ardoise);box-shadow:0 24px 50px color-mix(in srgb,var(--noir) 34%,transparent)}
html:root .nvm-carte{border-radius:1.125rem;border-top-right-radius:0}
html:root .nvm-carte::after{content:"";position:absolute;top:0;right:0;width:1.875rem;height:1.875rem;border-bottom-left-radius:.375rem;background:linear-gradient(225deg,var(--nuit) 0 50%,var(--orange-doux) 50% 100%);box-shadow:-3px 3px 6px color-mix(in srgb,var(--noir) 22%,transparent);transform-origin:100% 0}
html:root .nvm-carte-t{margin:0 0 .5rem;font-size:1.125rem;font-weight:600;line-height:1.25;color:var(--encre);padding-right:1.5rem}
html:root .nvm-carte-p{margin:0 0 1rem;font-size:.90625rem;line-height:1.5}
html:root .nvm-carte .nv-bouton{display:inline-flex}
html:root .nvm-tel{display:block;margin-top:.75rem;font-size:.84375rem;color:var(--gris);text-decoration:none}
html:root .nvm-tel b{font-weight:600;color:var(--encre)}
html:root .nvm-tel:hover b{text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:2px;text-underline-offset:3px}
html:root .nvm-pilote{display:block;margin-top:1.125rem;padding-top:1rem;border-top:1px solid color-mix(in srgb,var(--encre) 10%,transparent);text-decoration:none;color:var(--ardoise)}
html:root .nvm-pilote small{display:block;font-size:.78125rem;color:var(--gris)}
html:root .nvm-pilote strong{display:inline-block;margin:.25rem 0 .125rem;font-size:.96875rem;font-weight:600;color:var(--encre);text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:.4em;text-underline-offset:-.2em;text-decoration-skip-ink:none;transition:text-decoration-color .25s}
html:root .nvm-pilote:hover strong,html:root .nvm-pilote:focus-visible strong{text-decoration-color:color-mix(in srgb,var(--orange) 45%,transparent)}
html:root .nvm-pilote span{display:block;font-size:.84375rem;line-height:1.45}
@media (min-width:1025px){
html:root :is(.nv-tete,.elementor) .nv-site-menu{gap:1.625rem}
html:root .nvm-fam{position:relative}
html:root .nvm-bouton{font-family:inherit;cursor:pointer;white-space:nowrap}
html:root .nvm-bouton .nvm-num-m{display:none}
html:root .nvm-bouton.is-on::after{transform:translateY(1px) rotate(225deg)}
html:root .nvm-panneau{position:absolute;left:0;right:0;top:100%;z-index:4;color:var(--blanc);background-color:var(--nuit);background-image:var(--nvm-papier);background-position:right top;background-size:min(47.5rem,60%) auto;background-repeat:no-repeat;box-shadow:0 46px 80px -30px color-mix(in srgb,var(--noir) 55%,transparent);clip-path:inset(0 0 100% 0);visibility:hidden;transition:clip-path .3s cubic-bezier(.4,0,.6,1),visibility 0s .3s}
html:root .nvm-ouvert .nvm-panneau{clip-path:inset(0 0 -6rem 0);visibility:visible;transition:clip-path .46s cubic-bezier(.22,1,.36,1)}
html:root .nvm-eclats{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
html:root .nvm-in{position:relative;z-index:1;margin:0 auto;padding-top:3.25rem;padding-bottom:0}
html:root .nvm-grille{display:grid;grid-template-columns:repeat(var(--nvm-n,4),minmax(0,1fr)) minmax(15.5rem,18.5rem);column-gap:2.25rem;align-items:start}
html:root .nvm-col{min-width:0;padding:0 0 1.75rem}
html:root .nvm-col.is-on .nvm-num{color:var(--orange)}
html:root .nvm-nom{display:inline-block;margin:0;font-size:1.25rem;font-weight:600;line-height:1.2;color:var(--blanc);text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:.4em;text-underline-offset:-.2em;text-decoration-skip-ink:none;transition:text-decoration-color .3s}
html:root .nvm-col.is-on .nvm-nom{text-decoration-color:color-mix(in srgb,var(--orange) 45%,transparent)}
html:root .nvm-dit{margin:.875rem 0 1rem;font-size:.875rem;line-height:1.45;color:color-mix(in srgb,var(--blanc) 64%,transparent)}
html:root .nvm-offres{display:grid;gap:.125rem;margin:0;padding:0;list-style:none}
html:root .nvm-col>*,html:root .nvm-carte,html:root .nvm-preuve{opacity:0;transform:translateY(8px)}
html:root .nvm-ouvert .nvm-col>*,html:root .nvm-ouvert .nvm-carte,html:root .nvm-ouvert .nvm-preuve{opacity:1;transform:none;transition:opacity .4s ease,transform .5s cubic-bezier(.22,1,.36,1);transition-delay:calc(.08s + var(--nvm-i,0) * .045s)}
html:root .nvm-ouvert .nvm-carte::after{animation:nvmPli .55s .28s cubic-bezier(.22,1,.36,1) both}
@keyframes nvmPli{from{transform:scale(0) rotate(-14deg)}to{transform:none}}
html:root .nvm-preuve{display:flex;align-items:center;gap:1.125rem;margin-top:.25rem;padding:1.125rem 0 1.375rem;border-top:1px solid color-mix(in srgb,var(--blanc) 10%,transparent)}
html:root .nvm-etoiles{flex:none;display:flex;gap:2px}
html:root .nvm-etoiles svg{display:block;width:.875rem;height:.875rem;fill:var(--orange)}
html:root .nvm-avis{display:flex;align-items:baseline;gap:.75rem;min-width:0;margin:0;transition:opacity .22s ease}
html:root .nvm-avis.is-change{opacity:0}
html:root .nvm-avis q{quotes:none;font-size:.90625rem;line-height:1.45;color:color-mix(in srgb,var(--blanc) 88%,transparent)}
html:root .nvm-avis cite{flex:none;font-style:normal;font-size:.8125rem;color:color-mix(in srgb,var(--blanc) 55%,transparent)}
html:root .nvm-fait{flex:none;margin:0 0 0 auto;font-size:.8125rem;color:color-mix(in srgb,var(--blanc) 55%,transparent)}
html:root .nvm-fil{position:absolute;left:0;top:0;width:100%;height:100%;z-index:5;overflow:visible;pointer-events:none}
html:root .nvm-fil path{fill:none;stroke:var(--orange);stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
html:root .nvm-fil polygon{fill:var(--orange)}
html:root .nvm-ouvert.nv-site-tete{background-color:var(--nuit);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
html:root .nvm-ouvert .lg-nov{fill:var(--blanc)}
html:root .nvm-ouvert .nv-menu-lien{color:color-mix(in srgb,var(--blanc) 78%,transparent)}
html:root .nvm-ouvert .nv-menu-lien:hover,html:root .nvm-ouvert .nvm-bouton.is-on{color:var(--blanc)}
html:root .nvm-ouvert .nv-tete-action{background-color:var(--orange);color:var(--encre)}
html:root .nvm-ouvert .nv-tete-action::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='272 2 376 308'%3E%3Cpolygon points='368,20 642,84 288.3,299.1' fill='rgba(26,29,41,.35)'/%3E%3Cpolygon points='405,9 642,138 281,304' fill='%231A1D29'/%3E%3C/svg%3E")}
}
@media (min-width:1025px) and (max-width:1279px){
html:root .nvm-grille{grid-template-columns:repeat(var(--nvm-n,4),minmax(0,1fr)) minmax(14rem,16rem);column-gap:1.5rem}
html:root .nvm-d{font-size:.8125rem}
html:root :is(.nv-tete,.elementor) .nv-site-menu{gap:1.125rem}
}
@media (min-width:1025px){
/* la famille survolee prend la lumiere, les autres passent en retrait (retour JB 22/11 : « on s'attend a ne voir que les sites internet ») */
html:root .nvm-in{padding-top:2.25rem}
html:root .nvm-grille{grid-template-columns:repeat(var(--nvm-n,4),minmax(0,1fr)) minmax(15rem,17rem);column-gap:.875rem;align-items:stretch}
html:root .nvm-grille>:last-child{align-self:start}
html:root .nvm-col{position:relative;padding:1.125rem 1rem 1.25rem;border-radius:1.125rem;transition:background-color .3s ease,box-shadow .3s ease}
html:root .nvm-nom{font-size:1.1875rem}
html:root .nvm-dit{margin:.625rem 0 .875rem}
html:root .nvm-col.is-on{background:color-mix(in srgb,var(--blanc) 5.5%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--blanc) 11%,transparent)}
html:root .nvm-ouvert .nvm-col:not(.is-on)>*{opacity:.42}
html:root .nvm-ouvert .nvm-col:not(.is-on):hover>*{opacity:.75}
html:root .nvm-pose .nvm-col>*{transition:opacity .28s ease,transform .5s cubic-bezier(.22,1,.36,1);transition-delay:0s}
html:root .nvm-col:not(.is-on) .nvm-tri{background:color-mix(in srgb,var(--blanc) 70%,transparent)}
/* un cadre par famille (choix de JB, 22/11) : discret pour les familles en retrait, eclaire pour la famille survolee */
html:root .nvm-col:not(.is-on){background:color-mix(in srgb,var(--blanc) 2.2%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--blanc) 6.5%,transparent)}
}
@media (min-width:1025px) and (max-width:1399px){
html:root .nvm-grille{grid-template-columns:repeat(var(--nvm-n,4),minmax(0,1fr)) minmax(14rem,15.5rem)}
html:root .nvm-carte{padding:1.25rem 1.125rem 1.125rem}
html:root .nvm-carte .nv-bouton{font-size:.9375rem;padding-inline-start:1rem;padding-inline-end:1.125rem}
html:root .nvm-col{padding-left:.75rem;padding-right:.75rem}
html:root .nvm-nom{font-size:1.125rem}
html:root .nvm-d{font-size:.8125rem}
}
@media (min-width:1025px) and (max-width:1279px){
html:root :is(.nv-tete,.elementor) .nv-site-menu{gap:.875rem}
html:root .nv-site-menu .nv-menu-lien{font-size:.90625rem}
html:root .nvm-grille{grid-template-columns:repeat(var(--nvm-n,4),minmax(0,1fr)) minmax(13rem,14.5rem);column-gap:.625rem}
html:root .nvm-col{padding-left:.625rem;padding-right:.625rem}
}
@media (min-width:1025px) and (max-width:1199px){
html:root .nvm-grille{grid-template-columns:repeat(var(--nvm-n,4),minmax(0,1fr)) minmax(13.75rem,14rem)}
html:root .nvm-col{padding-left:.5rem;padding-right:.5rem}
html:root .nvm-carte{padding:1.125rem 1rem 1rem}
html:root .nvm-carte-t{font-size:1rem;padding-right:1.75rem}
html:root .nvm-offre{column-gap:.5rem;padding-left:.375rem;padding-right:.375rem;margin-left:-.375rem}
html:root .nvm-t{font-size:.9375rem}
html:root .nvm-nom{font-size:1.0625rem}
html:root .nvm-carte .nv-bouton{font-size:.875rem;gap:.5rem;padding-inline-start:.75rem;padding-inline-end:.875rem}
}
@media (prefers-reduced-motion:reduce){html:root .nvm-pose .nvm-col>*{transition:none}}
@media (max-width:1024px){
html:root .nvm-panneau{display:none}
html:root :is(.nv-tete,.elementor) .nv-site-menu{background-color:var(--nuit);background-image:var(--nvm-papier);background-position:right top;background-size:min(30rem,120%) auto;background-repeat:no-repeat;background-attachment:local;color:var(--blanc);padding-top:.5rem;text-align:start}
html:root.nv-menu-ouvert :is(.nv-tete,.elementor) .nv-site-tete{background-color:var(--nuit)}
html:root.nv-menu-ouvert .lg-nov{fill:var(--blanc)}
html:root.nv-menu-ouvert .nv-burger{color:var(--blanc)}
html:root .nvm-fam{padding:1.25rem 0 .75rem;border-bottom:1px solid color-mix(in srgb,var(--blanc) 10%,transparent)}
html:root .nvm-fam .nvm-bouton{display:flex;flex-direction:column;align-items:flex-start;gap:.125rem;width:100%;padding:0;border:0;font-size:1.25rem;font-weight:600;color:var(--blanc);pointer-events:none}
html:root .nvm-fam .nvm-bouton::after{display:none}
html:root .nvm-fam .nvm-num{color:var(--orange)}
html:root .nvm-liste{display:grid;gap:.125rem;margin-top:.625rem}
html:root .nvm-liste .nvm-offre{padding:.6875rem .5rem;min-height:2.75rem}
html:root :is(.nv-tete,.elementor) .nv-site-menu>.nvm-conseils{padding:1.125rem 0;font-size:1.25rem;font-weight:600;color:var(--blanc);text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--blanc) 10%,transparent)}
html:root .nvm-mobile{display:block;margin:1.5rem 0 .5rem}
html:root .nv-site-menu>.nv-menu-action{display:none}
}
@media (prefers-reduced-motion:reduce){
html:root .nvm-panneau,html:root .nvm-ouvert .nvm-panneau{transition:none}
html:root .nvm-col>*,html:root .nvm-carte,html:root .nvm-preuve{opacity:1;transform:none;transition:none}
html:root .nvm-ouvert .nvm-carte::after,html:root .nvm-offre:hover .nvm-tri{animation:none}
}
