/* assets/css/testimonials.css */
.nmTesti, .nmTesti *{ box-sizing:border-box; }

.nmTesti{
  padding: 26px 0 18px;
  position: relative;
  overflow-x: hidden;
  background: linear-gradient(180deg, #ffffff, #f6f8fa);
}

/* halo très léger (safe, sans trucs bizarres) */
.nmTesti::before{
  content:"";
  position:absolute;
  left:0; right:0; top:-120px;
  height: 240px;
  background:
    radial-gradient(700px 240px at 18% 40%, rgba(22,136,74,.10), transparent 62%),
    radial-gradient(700px 240px at 82% 45%, rgba(15,43,70,.08), transparent 62%);
  pointer-events:none;
}

.nmTesti__inner{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:0 16px;
  position: relative;
}

/* layout */
.nmTesti__wrap{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  align-items:start;
}

/* Side = éditorial, pas “bloc carte” */
.nmTesti__side{
  padding: 6px 0 0;
}

.nmTesti__kicker{
  display:inline-block;
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .10em;
  color: rgba(22,136,74,1);
  text-transform: uppercase;
}

.nmTesti__title{
  margin: 10px 0 8px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.08;
  color: #0F2B46;
  letter-spacing: -.02em;
  overflow-wrap:anywhere;
}

.nmTesti__lead{
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(0,0,0,.74);
  max-width: 70ch;
  overflow-wrap:anywhere;
}

/* ===== Timeline ===== */
.nmTesti__bubbles{
  position: relative;
  display:grid;
  gap: 18px;
  padding: 6px 0 0;
}

/* Ligne verticale (desktop) */
.nmTesti__bubbles::before{
  content:"";
  position:absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: rgba(0,0,0,.10);
}

/* Un avis = bloc texte + repère rond */
.nmTesti__bubble{
  position: relative;
  padding: 8px 0 8px 46px;
  min-width:0;
  overflow-wrap:anywhere;
  word-break: break-word;
}

/* repère rond */
.nmTesti__bubble::before{
  content:"";
  position:absolute;
  left: 10px;
  top: 16px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,1);
  border: 2px solid rgba(0,0,0,.16);
}

/* Accent couleur par avis */
.nmTesti__bubble--a::before{ border-color: rgba(22,136,74,.90); }
.nmTesti__bubble--b::before{ border-color: rgba(15,43,70,.80); }
.nmTesti__bubble--c::before{ border-color: rgba(0,76,84,.80); }

/* petit trait horizontal (différent, plus “print”) */
.nmTesti__bubbleMark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 42px;
  height: 28px;
  border-radius: 999px;
  font-weight: 950;
  color: rgba(15,43,70,1);
  background: rgba(15,43,70,.06);
  border: 1px solid rgba(15,43,70,.10);
  margin: 0 0 10px 0;
}

/* Texte : typographie plus "magazine" */
.nmTesti__text{
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(0,0,0,.78);
  overflow-wrap:anywhere;
}

/* Nom : style signature */
.nmTesti__name{
  font-weight: 950;
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(15,43,70,1);
  opacity: .92;
  overflow-wrap:anywhere;
}

/* Une micro-variation visuelle (sans cartes) */
@media (min-width: 981px){
  .nmTesti__bubble--a .nmTesti__text{ color: rgba(0,0,0,.80); }
  .nmTesti__bubble--b .nmTesti__text{ color: rgba(0,0,0,.78); }
  .nmTesti__bubble--c .nmTesti__text{ color: rgba(0,0,0,.76); }
}

/* Responsive */
@media (max-width: 980px){
  .nmTesti__wrap{ grid-template-columns: 1fr; }
}

/* Mobile : ligne à gauche, tout centré côté texte si tu veux */
@media (max-width: 640px){
  .nmTesti__inner{ padding: 0 12px; }

  .nmTesti__side{ text-align:center; }
  .nmTesti__lead{ margin-left:auto; margin-right:auto; }

  .nmTesti__bubbles{
    padding-top: 8px;
    text-align: left;
  }
  .nmTesti__bubbles::before{
    left: 12px;
  }
  .nmTesti__bubble{
    padding-left: 40px;
  }
  .nmTesti__bubble::before{
    left: 4px;
  }
}
