/* NKS Services — témoignages v2. Présentation sobre, sans faux avis. */
.nks-testimonials-section{
  padding:68px 0 76px;
  color:var(--nks-text,#0f172a);
  background:transparent;
}
.nks-testimonials-section .container{
  max-width:1120px;
}
.nks-testimonials-heading{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:26px;
  padding:32px 0 0;
  border-top:1px solid var(--nks-border,rgba(15,23,42,.12));
  margin:0 0 26px;
  text-align:left;
}
.nks-testimonials-copy h2,
body .nks-testimonials-copy h2{
  margin:0 0 9px!important;
  font-size:clamp(25px,3vw,34px)!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:-.035em;
  color:var(--nks-text,#0f172a)!important;
}
.nks-testimonials-copy p,
body .nks-testimonials-copy p{
  margin:0!important;
  font-size:14px!important;
  line-height:1.6!important;
  font-weight:400!important;
  color:var(--nks-text-2,#475569)!important;
  max-width:520px;
}
.nks-testimonials-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-shrink:0;
  min-height:43px;
  padding:10px 18px;
  border:1px solid var(--nks-border-strong,#cbd5e1);
  border-radius:999px;
  color:var(--nks-text,#0f172a)!important;
  background:var(--nks-surface,#fff)!important;
  box-shadow:none!important;
  font:inherit;
  font-size:13px!important;
  font-weight:650!important;
  text-decoration:none!important;
  cursor:pointer;
  transition:border-color .18s,background .18s;
}
.nks-testimonials-button span{font-size:16px;color:var(--nks-primary,#0a63ff)}
.nks-testimonials-button:hover{border-color:var(--nks-primary,#0a63ff);background:var(--nks-surface-soft,#f5f8fc)!important}
.nks-testimonials-button:focus-visible,.nks-testimonials-submit:focus-visible,.nks-testimonials-cancel:focus-visible{outline:2px solid var(--nks-primary,#0a63ff);outline-offset:3px}
.nks-testimonials-list[hidden],.nks-testimonials-form[hidden]{display:none!important}
.nks-testimonials-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:0 0 20px;
}
.nks-testimonials-card{
  min-width:0;
  display:flex;
  flex-direction:column;
  margin:0;
  min-height:205px;
  padding:24px;
  border:1px solid var(--nks-border,rgba(15,23,42,.1));
  border-radius:17px;
  background:var(--nks-surface,#fff);
  box-shadow:none;
}
.nks-testimonials-stars{display:block;margin:0 0 14px;color:#b98826;font-size:16px;letter-spacing:1px}
.nks-testimonials-card blockquote{
  flex:1;
  margin:0 0 22px;
  font-size:14px;
  line-height:1.65;
  color:var(--nks-text,#0f172a);
  overflow-wrap:anywhere;
}
.nks-testimonials-card figcaption{
  display:flex;align-items:center;gap:10px;
  padding-top:14px;
  border-top:1px solid var(--nks-border,rgba(15,23,42,.1))
}
.nks-testimonials-avatar{
  display:grid;place-items:center;flex-shrink:0;
  width:36px;height:36px;border-radius:50%;
  background:var(--nks-primary-soft,#eaf2ff);
  color:var(--nks-primary,#0a63ff);
  font-size:14px;font-weight:700
}
.nks-testimonials-card figcaption strong{display:block;font-size:13px;color:var(--nks-text,#0f172a)}
.nks-testimonials-card figcaption small{display:block;margin-top:2px;font-size:11px;color:var(--nks-text-3,#64748b)}
.nks-testimonials-form{
  position:relative;
  width:min(100%,790px);
  margin:22px 0 0;
  padding:26px;
  border:1px solid var(--nks-border,rgba(15,23,42,.1));
  border-radius:18px;
  background:var(--nks-surface,#fff);
  box-shadow:none;
}
.nks-testimonials-form-intro h3,
body .nks-testimonials-form-intro h3{margin:0 0 4px!important;font-size:20px!important;color:var(--nks-text,#0f172a)!important}
.nks-testimonials-form-intro p,
body .nks-testimonials-form-intro p{margin:0 0 22px!important;font-size:13px!important;color:var(--nks-text-2,#475569)!important}
.nks-testimonials-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}
.nks-testimonials-fields label,.nks-testimonials-message-label{display:block;font-size:13px;font-weight:600;color:var(--nks-text,#0f172a)!important;margin-bottom:12px}
.nks-testimonials-fields label span,.nks-testimonials-message-label>span{color:#bf4e4e}
.nks-testimonials-fields input,.nks-testimonials-fields select,.nks-testimonials-message-label textarea{
  display:block;width:100%;min-height:44px;margin-top:7px;padding:10px 12px;
  border:1px solid var(--nks-border-strong,#cbd5e1)!important;border-radius:9px;
  background:var(--nks-surface-raised,#fff)!important;color:var(--nks-text,#0f172a)!important;
  font:inherit;font-size:14px;font-weight:400;outline:none
}
.nks-testimonials-message-label textarea{resize:vertical;min-height:104px;line-height:1.5}
.nks-testimonials-fields input:focus,.nks-testimonials-fields select:focus,.nks-testimonials-message-label textarea:focus{
  border-color:var(--nks-primary,#0a63ff)!important;box-shadow:0 0 0 3px rgba(10,99,255,.09)
}
.nks-testimonials-honeypot{position:absolute!important;left:-10000px!important;opacity:0!important;width:1px!important;height:1px!important;overflow:hidden!important}
.nks-testimonials-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.55;color:var(--nks-text-2,#475569)!important;cursor:pointer}
.nks-testimonials-consent input{flex-shrink:0;width:16px;height:16px;margin-top:1px;accent-color:#0a63ff}
.nks-testimonials-consent a{color:var(--nks-primary,#0a63ff);text-decoration:underline}
.nks-testimonials-form-actions{display:flex;align-items:center;gap:10px;margin-top:20px}
.nks-testimonials-submit{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:11px 21px;
  background:#0a63ff;color:#fff!important;border:0;border-radius:10px;
  font:inherit;font-size:13px;font-weight:650;cursor:pointer
}
.nks-testimonials-submit:hover{background:#0755dc}
.nks-testimonials-submit:disabled{opacity:.6;cursor:not-allowed}
.nks-testimonials-cancel{
  min-height:44px;padding:10px 17px;border:1px solid var(--nks-border-strong,#cbd5e1);
  border-radius:10px;background:transparent;color:var(--nks-text,#0f172a);
  font:inherit;font-size:13px;cursor:pointer
}
.nks-testimonials-status{min-height:20px;margin:11px 0 0!important;font-size:13px;line-height:1.5}
.nks-testimonials-status.is-success{color:#168c62!important}
.nks-testimonials-status.is-error{color:#d64b4b!important}
@media(max-width:900px){.nks-testimonials-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 .nks-testimonials-section{padding:46px 0 54px}
 .nks-testimonials-section .container{padding-left:23px!important;padding-right:23px!important}
 .nks-testimonials-heading{flex-direction:column;align-items:flex-start;gap:17px;padding-top:23px;margin-bottom:18px}
 .nks-testimonials-copy h2,body .nks-testimonials-copy h2{font-size:27px!important;margin:0 0 7px!important}
 .nks-testimonials-copy p,body .nks-testimonials-copy p{font-size:13px!important;line-height:1.55!important}
 .nks-testimonials-button{min-height:40px;padding:9px 15px}
 .nks-testimonials-list{grid-template-columns:1fr}
 .nks-testimonials-form{padding:20px 17px}
 .nks-testimonials-fields{grid-template-columns:1fr;gap:0}
 .nks-testimonials-form-actions{align-items:stretch;flex-direction:column}
 .nks-testimonials-submit,.nks-testimonials-cancel{width:100%}
}

/* Eviter que le menu fixe masque le titre lors d'un lien #temoignages. */
#temoignages{scroll-margin-top:clamp(145px,18vh,230px)}


/* Références NKS — détails sobres, aucun faux témoignage. */
.nks-references-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:0 0 20px;
}
.nks-reference{
  min-width:0;
  padding:23px 25px;
  border:1px solid var(--nks-border,rgba(15,23,42,.1));
  border-radius:16px;
  background:var(--nks-surface,#fff);
  box-shadow:none;
}
.nks-reference-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin:0 0 8px;
}
.nks-reference-top h3,
body .nks-reference-top h3{
  font-size:19px!important;
  line-height:1.25!important;
  letter-spacing:-.025em!important;
  font-weight:700!important;
  color:var(--nks-text,#0f172a)!important;
  margin:0!important;
}
.nks-reference-type,
.nks-reference-pending{
  display:inline-block;
  flex-shrink:0;
  padding:5px 9px;
  border:1px solid var(--nks-border,rgba(15,23,42,.1));
  border-radius:8px;
  color:var(--nks-text-3,#64748b);
  background:transparent;
  font-size:11px;
  font-weight:600;
  white-space:nowrap;
}
.nks-reference-pending{
  color:var(--nks-text-2,#475569);
  background:var(--nks-surface-soft,#f7f9fc);
}
.nks-reference p,
body .nks-reference p{
  margin:0!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.5!important;
  color:var(--nks-text-2,#475569)!important;
}
.nks-reference-domain{color:var(--nks-text-3,#64748b)}
.nks-testimonials-list:not([hidden]){margin-top:24px}
@media(max-width:640px){
 .nks-references-grid{grid-template-columns:1fr;gap:9px}
 .nks-reference{padding:18px 18px;border-radius:13px}
 .nks-reference-top h3,body .nks-reference-top h3{font-size:17px!important}
}


/* 2026-10-31 — NKS references carousel v3 */
.nks-testimonials-section .nks-references-carousel {
  width:100%;
  max-width:100%;
  margin:0 0 12px;
}
.nks-testimonials-section .nks-references-viewport {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
  position:relative;
  padding:0;
  border-radius:0;
  outline-offset:3px;
}
.nks-testimonials-section .nks-references-viewport::-webkit-scrollbar {
  display:none;
}
.nks-testimonials-section .nks-references-track {
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  width:100%;
  gap:14px!important;
  padding:3px 1px 9px;
  margin:0!important;
}
.nks-testimonials-section .nks-references-track > .nks-reference {
  display:flex!important;
  flex-direction:column!important;
  flex:0 0 calc((100% - 14px) / 2)!important;
  width:calc((100% - 14px) / 2)!important;
  max-width:calc((100% - 14px) / 2)!important;
  box-sizing:border-box;
  min-width:0!important;
  min-height:205px;
  height:auto;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  padding:25px 27px 23px!important;
  border:1px solid var(--nks-border,rgba(10,36,78,.14))!important;
  border-radius:18px!important;
  background:var(--nks-surface,#fff)!important;
  box-shadow:0 4px 18px rgba(25,50,80,.035)!important;
  text-align:left!important;
  overflow-wrap:anywhere;
}
.nks-testimonials-section .nks-reference-top {
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:12px;
  margin:0 0 17px!important;
}
.nks-testimonials-section .nks-reference-top .nks-reference-type,
.nks-testimonials-section .nks-reference-top .nks-reference-pending {
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:700!important;
  border:1px solid var(--nks-border,rgba(15,23,42,.12))!important;
  border-radius:999px!important;
  padding:6px 10px!important;
  background:var(--nks-surface-soft,#f6f8fc)!important;
  color:var(--nks-text-2,#475569)!important;
  text-transform:none!important;
}
.nks-testimonials-section .nks-reference-number {
  margin-left:auto;
  color:var(--nks-text-3,#94a3b8)!important;
  font-size:11px!important;
  letter-spacing:.07em;
  white-space:nowrap;
}
.nks-testimonials-section .nks-references-track .nks-reference h3,
body .nks-testimonials-section .nks-references-track .nks-reference h3 {
  margin:0 0 12px!important;
  color:var(--nks-text,#111827)!important;
  font-size:clamp(21px,2.5vw,26px)!important;
  font-weight:750!important;
  letter-spacing:-.04em!important;
  line-height:1.17!important;
}
.nks-testimonials-section .nks-references-track .nks-reference p,
body .nks-testimonials-section .nks-references-track .nks-reference p {
  margin:0!important;
  color:var(--nks-text-2,#475569)!important;
  font-size:14px!important;
  line-height:1.58!important;
  font-weight:400!important;
  max-width:44ch;
}
.nks-testimonials-section .nks-reference p strong {
  font-weight:650;
  color:inherit;
}
.nks-testimonials-section .nks-reference > .nks-reference-domain {
  display:block;
  margin-top:auto;
  padding-top:12px;
  color:var(--nks-primary,#0a63ff)!important;
  font-size:12px!important;
  font-weight:600!important;
}
.nks-testimonials-section .nks-references-controls {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  min-height:34px;
  margin:8px 0 0;
  padding:0 3px;
}
.nks-testimonials-section .nks-references-dots {
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:9px;
}
.nks-testimonials-section .nks-references-dot {
  display:block!important;
  width:7px;
  height:7px;
  min-width:7px;
  padding:0!important;
  border:0!important;
  border-radius:999px;
  background:var(--nks-border-strong,#b7c3d5)!important;
  box-shadow:none!important;
  cursor:pointer;
  transition:width .22s ease,background .22s ease;
}
.nks-testimonials-section .nks-references-dot.is-active {
  width:21px!important;
  background:var(--nks-primary,#0a63ff)!important;
}
.nks-testimonials-section .nks-references-arrows {
  display:flex;
  gap:7px;
  align-items:center;
}
.nks-testimonials-section .nks-references-arrow {
  display:grid!important;
  place-items:center;
  padding:0!important;
  width:32px;
  height:32px;
  background:var(--nks-surface,#fff)!important;
  color:var(--nks-text,#0f172a)!important;
  border:1px solid var(--nks-border,rgba(15,23,42,.12))!important;
  border-radius:50%!important;
  box-shadow:none!important;
  cursor:pointer;
}
.nks-testimonials-section .nks-references-arrow span {
  font-size:26px;
  line-height:1;
  transform:translateY(-2px);
  font-weight:350;
}
.nks-testimonials-section .nks-references-arrow:hover {
  border-color:var(--nks-primary,#0a63ff)!important;
  color:var(--nks-primary,#0a63ff)!important;
}
.nks-testimonials-section .nks-references-arrow:focus-visible,
.nks-testimonials-section .nks-references-dot:focus-visible,
.nks-testimonials-section .nks-references-viewport:focus-visible {
  outline:2px solid var(--nks-primary,#0a63ff);
  outline-offset:3px;
}
@media(max-width:760px) {
  .nks-testimonials-section .nks-references-track {gap:0!important;padding:3px 1px 7px;}
  .nks-testimonials-section .nks-references-track > .nks-reference {
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
    min-height:217px;
    padding:22px 22px!important;
    border-radius:16px!important;
  }
  .nks-testimonials-section .nks-references-track .nks-reference h3,
  body .nks-testimonials-section .nks-references-track .nks-reference h3 {
    font-size:23px!important;
    margin-bottom:10px!important;
  }
  .nks-testimonials-section .nks-references-track .nks-reference p,
  body .nks-testimonials-section .nks-references-track .nks-reference p {
    font-size:13px!important;
    line-height:1.6!important;
  }
  .nks-testimonials-section .nks-references-controls {margin-top:5px;}
}
@media(prefers-reduced-motion:reduce) {
  .nks-testimonials-section .nks-references-viewport {scroll-behavior:auto!important}
  .nks-testimonials-section .nks-references-dot {transition:none}
}

/* Avis vérifiés : chaque avis validé devient une carte du carrousel. */
.nks-testimonials-section .nks-reference-review .nks-reference-rating{
  color:#be8a30;
  font-size:16px;
  letter-spacing:1px;
  white-space:nowrap;
}
.nks-testimonials-section .nks-reference-review .nks-reference-author{
  display:block;
  margin-top:auto;
  padding-top:14px;
  font-size:12px;
  font-weight:700;
  color:var(--nks-text-2,#475569);
}
.nks-testimonials-section .nks-reference-review .nks-reference-quote{
  font-size:14px!important;
  line-height:1.6!important;
  overflow-wrap:anywhere;
}
