/* ── Nos tests : bouton du header + panneau des tests avec prix (composants/nos-tests.js) ──
   Rien de propre à une page ici. Déclenchement du survol : pointeur fin seulement. Sous 760 px : feuille
   pleine largeur sous le header. Rien ne bouge sous prefers-reduced-motion. */

/* bouton, inséré par le JS juste après le logo (.brand) ; MENU repoussé seul à droite */
.nt-btn{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;gap:8px;flex:none;box-sizing:border-box;
  font-family:'Geist',system-ui,sans-serif;font-weight:600;font-size:15px;line-height:1;letter-spacing:0;color:#0e1116;
  background:#fff;border:1px solid #e1e6ea;border-radius:999px;padding:0 18px;cursor:pointer;white-space:nowrap;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.nt-btn svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease}
.nt-btn[aria-expanded="true"]{border-color:#F78826;box-shadow:0 0 0 1px #F78826;background:#fffaf5}
.nt-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
@media (hover:hover) and (pointer:fine){ .nt-btn:hover{border-color:#F78826;box-shadow:0 0 0 1px #F78826} }
.nt-btn:focus-visible{outline:2px solid #0e1116;outline-offset:3px}
.nt-btn + .nav-right{margin-left:auto}

/* voile + panneau, ajoutés en fin de <body> (hors du header : son backdrop-filter fausserait position:fixed) */
.nt-scrim{position:fixed;left:0;right:0;bottom:0;top:var(--nt-top,72px);z-index:57;background:rgba(2,48,71,.18);
  -webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:opacity .25s ease,visibility 0s linear .25s}
/* aligné sur le bouton : --nt-left = bord gauche du bouton, ramené dans l'écran par le JS */
.nt-panel{position:fixed;top:calc(var(--nt-top,72px) + 12px);left:var(--nt-left,16px);z-index:58;box-sizing:border-box;width:min(1080px,calc(100vw - 32px));
  max-height:calc(100vh - var(--nt-top,72px) - 28px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid #fff;border-radius:28px;
  box-shadow:0 30px 80px -20px rgba(15,42,58,.35),0 0 0 1px rgba(15,42,58,.04);padding:28px 28px 22px;
  font-family:'Geist',system-ui,sans-serif;color:#0e1116;text-align:left;
  opacity:0;visibility:hidden;transform:translateY(-8px);
  transition:opacity .22s ease,transform .25s cubic-bezier(.2,.8,.2,1),visibility 0s linear .25s}
.nt-open .nt-scrim{opacity:1;visibility:visible;transition:opacity .25s ease}
.nt-open .nt-panel{opacity:1;visibility:visible;transform:none;transition:opacity .22s ease,transform .25s cubic-bezier(.2,.8,.2,1)}

/* les tests disponibles sur deux colonnes, l'étiquette au-dessus des deux */
.nt-col-dispo{display:grid;grid-template-columns:1fr 1fr;column-gap:40px}
.nt-col-dispo .nt-colh{grid-column:1 / -1}
.nt-colh{display:flex;align-items:center;gap:10px;margin:0 0 8px 12px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:11px;font-weight:500;
  letter-spacing:.16em;text-transform:uppercase;color:#023047}
.nt-colh::before{content:"";width:7px;height:7px;border-radius:50%;background:#F78826;flex:none}
.nt-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px;border-radius:16px;
  text-decoration:none;color:inherit;transition:background .2s ease,box-shadow .2s ease}
a.nt-item:focus-visible{outline:none;background:#fffaf5;box-shadow:0 0 0 2px #F78826}
@media (hover:hover) and (pointer:fine){ a.nt-item:hover{background:#fffaf5;box-shadow:0 0 0 2px #F78826} }
.nt-ic{width:48px;height:48px;border-radius:14px;background:#fdeee0;color:#F78826;display:grid;place-items:center}
.nt-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nt-nm{display:block;font-weight:600;font-size:17px;line-height:1.25}
.nt-ds{display:block;font-size:14px;line-height:1.35;color:#5b6b78;margin-top:2px}
.nt-pr{text-align:right;font-weight:600;font-size:17px;white-space:nowrap}

.nt-pack{position:relative;margin-top:18px;display:grid;grid-template-columns:52px minmax(0,1fr) auto auto;gap:18px;align-items:center;
  padding:16px 18px;border-radius:20px;background:linear-gradient(100deg,#fff6ee 0%,#f2fbfb 60%,#f1f8f1 100%);border:1px solid #fbe3cc}
.nt-pack .nt-ic{width:52px;height:52px;background:#F78826;color:#fff}
.nt-pack .nt-ic svg{width:24px;height:24px}
.nt-pack .nt-nm{font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:22px}
.nt-pack .nt-nm em{font-style:normal;color:#F78826}
.nt-price{text-align:right;line-height:1.15}
.nt-price strong{font-size:24px;font-weight:600;white-space:nowrap}
.nt-price small{display:block;font-size:12px;color:#5b6b78;margin-top:2px}
.nt-price-m{display:none}
.nt-go{font-weight:600;font-size:15px;line-height:1;background:#f78826;color:#fff;border-radius:999px;padding:14px 22px;text-decoration:none;white-space:nowrap;
  box-shadow:0 10px 24px -10px rgba(247,136,38,.7);transition:box-shadow .2s ease}
.nt-go:focus-visible{outline:2px solid #0e1116;outline-offset:3px}
@media (hover:hover) and (pointer:fine){ .nt-go:hover{box-shadow:0 12px 30px -8px rgba(247,136,38,.75)} }
/* capsule ARDI en petit débord sur le bord droit du bandeau, dans la marge du panneau (cadre complet : marges
   transparentes comprises ; le panneau coupe ce cadre transparent en overflow-x:hidden). À 1 440 px, à 6 px du bouton. */
.nt-cap{position:absolute;top:-24px;right:-34px;width:52px;height:auto;transform:rotate(22deg);pointer-events:none;
  filter:drop-shadow(0 10px 14px rgba(15,42,58,.22))}


/* bouton croix de la feuille : mobile seulement */
.nt-close{display:none}

/* ── mobile : feuille pleine largeur sous le header, une colonne ──
   Page derrière bloquée par le JS (body en position:fixed, position restaurée à la fermeture). La feuille s'arrête
   72 px avant le bas de l'écran visible : une bande de voile reste, on tape dessus pour fermer. Jamais 100vh (sur
   iOS, 100vh passe sous la barre de Safari) : 100 % du bloc initial en repli, puis svh, puis dvh. */
@media (max-width:760px){
  .nt-btn{font-size:14px;padding:0 13px;gap:6px}
  .nt-panel{top:var(--nt-top,64px);left:0;width:100%;transform:translateY(-8px);border-radius:0 0 24px 24px;border-width:0 0 1px;
    padding:12px 16px calc(16px + env(safe-area-inset-bottom,0px));
    max-height:calc(100% - var(--nt-top,64px) - 72px);
    max-height:calc(100svh - var(--nt-top,64px) - 72px);
    max-height:calc(100dvh - var(--nt-top,64px) - 72px);
    overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .nt-open .nt-panel{transform:none}
  .nt-close{display:grid;place-items:center;position:absolute;top:12px;right:12px;z-index:2;width:44px;height:44px;padding:0;
    border-radius:50%;border:1px solid #e1e6ea;background:#fff;color:#0e1116;cursor:pointer}
  .nt-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .nt-close:focus-visible{outline:2px solid #0e1116;outline-offset:2px}
  /* la 1re étiquette de colonne prend la hauteur de la croix : la croix ne chevauche aucune ligne */
  .nt-col-dispo .nt-colh{min-height:44px;margin-bottom:2px}
  .nt-col-dispo{grid-template-columns:minmax(0,1fr)}
  .nt-item{grid-template-columns:40px minmax(0,1fr) auto;gap:12px;padding:8px}
  .nt-ic{width:40px;height:40px;border-radius:12px}
  .nt-ic svg{width:20px;height:20px}
  .nt-nm{font-size:16px}.nt-ds{font-size:13px}.nt-pr{font-size:16px}
  .nt-pack{grid-template-columns:44px minmax(0,1fr);gap:12px 14px;margin-top:22px}
  .nt-pack .nt-ic{width:44px;height:44px}
  .nt-price{display:none}
  .nt-price-m{display:block;margin-top:4px;font-size:13px;color:#5b6b78}
  .nt-price-m strong{font-size:17px;font-weight:600;color:#0e1116;white-space:nowrap}
  .nt-go{grid-column:1 / -1;text-align:center}
  .nt-cap{right:2px;top:-30px;width:54px}
}
/* très petits écrans : bouton au plus court */
@media (max-width:359.98px){ .nt-btn{padding:0 11px;font-size:13.5px} }

@media (prefers-reduced-motion:reduce){
  .nt-btn,.nt-btn svg,.nt-scrim,.nt-panel,.nt-item,.nt-go{transition:none !important}
  .nt-panel,.nt-open .nt-panel{transform:none}
}
@media print{ .nt-btn,.nt-scrim,.nt-panel{display:none !important} }
