/* ==========================================================================
   Page « Nettoyage & remise en état » — styles spécifiques
   Composants propres à la page : préfixe nt- (nettoyage)
   Ton : calme, rassurant, premium. Pas de mascotte sur cette page.
   Moment fort unique : la porte qui s’entrouvre sur la lumière (approche humaine).
   ========================================================================== */

/* --- HÉRO ------------------------------------------------------------------ */
/* Marge haute, espacements et taille du H1 : échelle commune des héros (.page-hero, main.css) */
.nt-hero { padding-bottom: clamp(3.5rem, 2rem + 5vw, 7rem); }
.nt-hero__grid { align-items: center; }
/* une seule colonne qui ne s’élargit jamais au-delà de l’écran (boutons longs) */
@media (max-width: 959px) {
  .nt-hero__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 960px) {
  .nt-hero__grid { grid-template-columns: 1.1fr .9fr; }
  /* le fil d’Ariane reste en haut du héro, comme sur les autres pages */
  .nt-hero .page-hero__inner { align-self: start; }
}
.nt-hero .page-hero__inner { justify-items: start; }

/* H1 : pastille « Nettoyage & remise en état » + accroche en grand */
.nt-hero .nt-hero__title {
  display: grid;
  gap: clamp(.9rem, .7rem + .7vw, 1.35rem);
  justify-items: start;
  max-width: none;
  line-height: 1;
  letter-spacing: -.02em;
}
.nt-hero__claim { display: block; max-width: 13em; }
.nt-hero__title .hl::after { bottom: -.05em; height: .24em; }
.nt-hero .lead { max-width: 46ch; }
.nt-hero__ctas { --cluster-gap: .8rem; margin-top: .4rem; }

/* Réassurance : une seule ligne discrète sous les boutons */
.nt-reassure {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.35rem;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ink-2);
}
.nt-reassure li { display: inline-flex; align-items: center; gap: .5rem; }
.nt-reassure .icon {
  width: 1.45rem;
  height: 1.45rem;
  padding: .26rem;
  border: var(--border);
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  stroke-width: 3.4;
}

/* Visuel : avant / après vertical posé sur une « carte » décalée */
.nt-hero__visual {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  padding: 2.6rem 1rem 0;
}
@media (min-width: 960px) { .nt-hero__visual { margin-right: 0; } }
.nt-frame { position: relative; isolation: isolate; }
.nt-frame::before {
  content: "";
  position: absolute;
  inset: 2.5% -3% -2.5% 3%;
  z-index: -1;
  border: var(--border);
  border-radius: var(--r-lg);
  background: var(--pink-300);
  transform: rotate(3.5deg);
}
.nt-frame--mint::before { inset: 3% 2.5% -2% -3%; background: var(--mint); transform: rotate(-2.6deg); }
.nt-hero .ba { box-shadow: var(--shadow-sticker-lg), 0 40px 80px -30px rgba(176, 42, 75, .42); }
.nt-hero .ba-caption { padding-inline: .2rem; margin-top: 1.25rem; }
.nt-hero .ba-caption__title, .nt-process .ba-caption__title { line-height: 1.25; text-wrap: balance; }
.nt-hint {
  position: absolute;
  top: 0;
  left: 1.2rem;
  z-index: 3;
  display: inline-flex;
  align-items: flex-end;
  gap: .3rem;
  font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem);
  transform: rotate(-4deg);
  transform-origin: left bottom;
  pointer-events: none;
}
.nt-hint svg { width: 46px; height: 38px; margin-bottom: -1.3rem; color: var(--brand); }
.nt-hero__visual .sparkle { z-index: 3; }

@media (max-width: 560px) {
  .nt-hero__ctas { width: 100%; }
  .nt-hero__ctas .btn { width: 100%; padding-inline: 1.2rem; white-space: normal; }
}

/* --- NETTOYAGES SPÉCIALISÉS : 6 cartes (titre + une phrase) ----------------- */
.nt-services .section-head { margin-bottom: clamp(2.2rem, 1.4rem + 2.5vw, 3.6rem); }
.nt-svc-grid { align-items: stretch; }
.nt-svc { display: flex; flex-direction: column; height: 100%; }
.nt-svc .card__text { font-size: .98rem; }
/* Alignement des rangées entre cartes voisines (icône, titre, texte) */
@supports (grid-template-rows: subgrid) {
  .nt-svc { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .nt-svc .card__title { align-self: end; }
}
/* Mobile : pictogramme à gauche du titre, cartes plus compactes */
@media (max-width: 599px) {
  .nt-svc {
    display: grid;
    grid-row: auto;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: none;
    align-items: center;
    column-gap: 1rem;
    row-gap: .8rem;
  }
  .nt-svc .card__icon { width: 50px; height: 50px; margin: 0; border-radius: 16px; }
  .nt-svc .card__icon .icon { width: 24px; height: 24px; }
  .nt-svc .card__title { margin: 0; align-self: center; }
  .nt-svc .card__text { grid-column: 1 / -1; }
}

/* --- APPROCHE HUMAINE : panneau sombre + porte entrouverte (moment fort) ----- */
.nt-human { padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 7rem); }
.nt-human__panel {
  margin-inline: 0;
  padding: clamp(2.4rem, 1.6rem + 4vw, 5.5rem) clamp(1.4rem, 1rem + 3vw, 4.5rem);
}
.nt-human__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 1000px) {
  .nt-human__grid { grid-template-columns: 1.25fr .75fr; }
}
.nt-human__intro { display: grid; gap: 1.25rem; justify-items: start; }
.nt-human__visual { display: grid; place-items: center; }

/* Trois engagements : liste compacte (pictogramme + titre + une phrase) */
.nt-values {
  list-style: none;
  display: grid;
  gap: 1.15rem;
  width: 100%;
  margin-top: .5rem;
  padding-top: 1.6rem;
  border-top: var(--bw) dashed rgba(255, 233, 237, .2);
}
.nt-value { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; align-items: center; }
.nt-value__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: var(--border);
  border-radius: 17px 17px 17px 5px;
  background: var(--pink-400);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--white);
}
.nt-value__icon .icon { width: 23px; height: 23px; }
.nt-value:nth-child(2) .nt-value__icon { background: var(--mint); }
.nt-value:nth-child(3) .nt-value__icon { background: var(--lilac); }
.nt-value__title { margin-bottom: .1rem; font-size: var(--step-1); line-height: 1.2; color: var(--white); }
.nt-value__text { color: rgba(255, 233, 237, .76); }

/* Porte qui s’entrouvre sur la lumière (pilotée par --p : 0 fermée → 1 ouverte).
   Pendant le défilement, seules des opacités (calques composés : will-change) et la
   rotation du battant varient : aucune ombre floue n’est recalculée à chaque image. */
.nt-door {
  --p: .55;
  position: relative;
  isolation: isolate;
  width: clamp(170px, 11vw + 110px, 250px);
  padding-bottom: clamp(3.2rem, 2rem + 3vw, 4.6rem);
}
.nt-door::before { /* halo sur le panneau */
  content: "";
  position: absolute;
  inset: -30% -70% -10%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(249, 143, 156, .3), rgba(249, 143, 156, 0));
  opacity: calc(.25 + var(--p) * .75);
  will-change: opacity;
  pointer-events: none;
}
.nt-door__frame {
  position: relative;
  padding: 11px 11px 0;
  border: var(--bw) solid rgba(255, 246, 247, .85);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: #382730;
}
.nt-door__frame::before { /* lueur autour du chambranle : ombre fixe, seule l’opacité suit --p */
  content: "";
  position: absolute;
  inset: calc(-1 * var(--bw));
  z-index: -1;
  border-radius: inherit;
  box-shadow: 0 0 120px 16px rgba(249, 143, 156, .36);
  opacity: calc(.15 + var(--p) * .85);
  will-change: opacity;
  pointer-events: none;
}
.nt-door__frame::after { /* le sol */
  content: "";
  position: absolute;
  left: -55%;
  right: -55%;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 233, 237, .5) 22%, rgba(255, 233, 237, .5) 78%, transparent);
}
.nt-door__opening {
  position: relative;
  aspect-ratio: 5 / 9;
  border: var(--bw) solid rgba(255, 246, 247, .85);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  background: radial-gradient(125% 80% at 50% 100%, #fffaf3 0%, #ffe6ec 30%, var(--pink-300) 64%, #e8788e 100%);
  perspective: 1300px;
  perspective-origin: 50% 70%;
  /* rien ne dépasse sous le seuil (le battant reste « posé » au sol) */
  clip-path: inset(-60% -60% 0 -60%);
}
.nt-door__opening::after { /* filet de lumière sous la porte */
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 0;
  z-index: 3;
  height: 3px;
  border-radius: 3px;
  background: #fff4ea;
  box-shadow: 0 0 12px 3px rgba(255, 214, 222, .85);
}
.nt-door__leaf {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: var(--bw) solid rgba(255, 246, 247, .62);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(96deg, #563d48 0%, #4a343e 55%, #402d36 100%);
  transform-origin: 0 50%;
  transform: rotateY(calc(var(--p) * -72deg));
  filter: brightness(calc(1 - var(--p) * .22));
  will-change: transform;
}
.nt-door__leaf::before,
.nt-door__leaf::after { /* moulures */
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  border: var(--bw) solid rgba(255, 233, 237, .26);
  border-radius: 6px;
}
.nt-door__leaf::before { top: 8%; height: 33%; }
.nt-door__leaf::after { bottom: 7%; height: 41%; }
.nt-door__knob {
  position: absolute;
  right: 9%;
  top: 51%;
  width: 13px;
  height: 13px;
  border: var(--bw) solid rgba(255, 246, 247, .9);
  border-radius: 50%;
  background: var(--pink-400);
}
.nt-door__mote { /* poussières dans la lumière */
  position: absolute;
  left: var(--x, 50%);
  bottom: 14%;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, .9);
  opacity: 0;
  animation: ntMote var(--d, 8s) var(--delay, 0s) ease-in-out infinite;
}
@keyframes ntMote {
  0% { transform: translate(0, 0); opacity: 0; }
  25% { opacity: .85; }
  100% { transform: translate(var(--dx, 10px), -170px); opacity: 0; }
}
.nt-door__spill { /* lumière projetée au sol */
  position: absolute;
  left: 50%;
  top: 100%;
  width: 210%;
  height: clamp(3.2rem, 2rem + 3vw, 4.6rem);
  background: linear-gradient(180deg, rgba(255, 222, 229, .55), rgba(255, 222, 229, 0));
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
  opacity: var(--p);
  transform: translateX(-50%);
  will-change: opacity;
  pointer-events: none;
}

/* --- DÉROULEMENT : 4 étapes compactes + le résultat en avant / après ---------- */
.nt-process__grid { align-items: center; }
@media (min-width: 960px) {
  .nt-process__grid { grid-template-columns: 1.05fr .95fr; }
}
.nt-process__content { display: grid; gap: 1.2rem; justify-items: start; }
.nt-flow { list-style: none; width: 100%; margin-top: .5rem; }
.nt-flow__step {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  column-gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: var(--bw) dashed rgba(42, 26, 32, .16);
}
.nt-flow__step:last-child { border-bottom: var(--bw) dashed rgba(42, 26, 32, .16); }
.nt-flow__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--pink-400);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}
.nt-flow__step:nth-child(2) .nt-flow__num { color: var(--mint); }
.nt-flow__step:nth-child(3) .nt-flow__num { color: var(--lilac); }
.nt-flow__step:nth-child(4) .nt-flow__num { color: var(--sun); }
.nt-flow__title { margin-bottom: .3rem; font-size: var(--step-1); line-height: 1.2; }
.nt-flow__text { color: var(--ink-2); }
.nt-process .link-arrow { margin-top: .5rem; }
.nt-process__figure { width: min(100%, 520px); margin-inline: auto; padding: .8rem 1rem 0; }
.nt-process .ba { box-shadow: var(--shadow-sticker-lg); }
.nt-process .ba-caption { margin-top: 1.9rem; padding-inline: .2rem; }

/* --- FAQ -------------------------------------------------------------------- */
.nt-faq .section-head { margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem); }
.nt-faq__list { max-width: 840px; margin-inline: auto; }
.nt-faq .faq__answer a { color: var(--brand-dark); font-weight: 700; }

/* --- CTA FINAL -------------------------------------------------------------- */
/* pas de mascotte sur cette page ; boutons pleine largeur en mobile : règles communes .cta-band (main.css) */
.nt-cta { padding-top: 0; }
@media (max-width: 560px) {
  /* texte masqué visuellement sur petit écran, toujours lu par les lecteurs d’écran */
  .nt-sm-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
