/* Mise en page des pages d'accompagnement, 23 octobre 2026.
   Avant : huit cartes identiques sur la moitie gauche, une colonne de droite vide sur les
   trois quarts de la hauteur, et un numero fantome geant repete huit fois. */

/* ---- 1. le bandeau pratique, sorti de la colonne de droite --------------------------- */
.mt-pratique { padding: clamp(14px, 2vw, 26px) 0 0; }
.mt-pratique .natural-detail__aside {
  position: static !important;
  top: auto !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  padding: clamp(22px, 2.6vw, 32px) clamp(24px, 3vw, 40px);
}
.mt-pratique .natural-detail__aside > p.eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 -6px;
}
.mt-pratique .natural-detail__aside > div {
  border-top: 0 !important;
  padding: 0 !important;
}
.mt-pratique .natural-detail__aside .button { width: 100%; margin: 0; }

/* ---- 2. la page prend toute sa largeur ------------------------------------------------ */
html[data-client="manuella-d"] .natural-detail__grid {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

/* ---- 3. les blocs ne sont plus des cartes --------------------------------------------- */
html[data-client="manuella-d"] .natural-service-chapters {
  gap: clamp(30px, 3.4vw, 50px);
  margin: clamp(10px, 1.6vw, 20px) 0 clamp(34px, 4vw, 56px);
}
html[data-client="manuella-d"] .natural-service-chapters > article {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid color-mix(in srgb, var(--accent) 24%, transparent) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: clamp(24px, 2.6vw, 34px) 0 0 !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: clamp(16px, 1.8vw, 26px) !important;
  overflow: visible !important;
}
/* le premier bloc n'a pas de filet au-dessus : il suit le bandeau */
html[data-client="manuella-d"] .natural-service-chapters > article:first-child {
  border-top: 0 !important;
  padding-top: 0 !important;
}
/* le numero fantome geant, repete huit fois, disparait */
html[data-client="manuella-d"] .natural-service-chapters > article:before {
  display: none !important;
}

/* ---- 4. deux panneaux assumes : la ou on explique le mecanisme ------------------------ */
html[data-client="manuella-d"] .natural-service-chapters > article[data-sales-role="explication"],
html[data-client="manuella-d"] .natural-service-chapters > article[data-sales-role="mecanisme"] {
  background: color-mix(in srgb, var(--background) 90%, var(--accent)) !important;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent) !important;
  border-top: 1px solid color-mix(in srgb, var(--accent) 22%, transparent) !important;
  border-radius: 34px 10px !important;
  padding: clamp(26px, 2.8vw, 38px) !important;
}

/* ---- 5. les listes passent en deux colonnes : la largeur sert enfin ------------------- */
@media (min-width: 900px) {
  html[data-client="manuella-d"] article[data-sales-role="differentiation"] .sales-page-section__copy,
  html[data-client="manuella-d"] article[data-sales-role="objection"] .sales-page-section__copy {
    columns: 2;
    column-gap: clamp(36px, 4vw, 68px);
  }
  html[data-client="manuella-d"] article[data-sales-role="differentiation"] .sales-page-section__copy > h2,
  html[data-client="manuella-d"] article[data-sales-role="objection"] .sales-page-section__copy > h2 {
    column-span: all;
  }
  html[data-client="manuella-d"] article[data-sales-role="differentiation"] .sales-page-section__copy > p,
  html[data-client="manuella-d"] article[data-sales-role="objection"] .sales-page-section__copy > p {
    break-inside: avoid;
    max-width: none;
  }
}

/* ---- 6. le bloc de cloture se pose comme un appel, pas comme un paragraphe ------------ */
html[data-client="manuella-d"] .natural-service-chapters > article[data-sales-role="cta"] {
  background: color-mix(in srgb, var(--background) 88%, var(--primary)) !important;
  border: 0 !important;
  border-radius: 34px 10px !important;
  padding: clamp(26px, 2.8vw, 40px) !important;
}
html[data-client="manuella-d"] article[data-sales-role="cta"] .button { margin-top: 10px; }


/* ---- 7. le rythme : colonne de lecture centree, panneaux pleine largeur --------------
   Une ligne de 1 100 px ne se lit pas : la bonne mesure reste 65 a 70 signes. Le defaut
   n'etait donc pas la largeur du texte, c'etait que tout restait colle a gauche avec un
   vide a droite. On centre la prose, et on laisse les blocs larges prendre toute la
   largeur. L'alternation etroit / large donne son rythme a la page. */
html[data-client="manuella-d"] .natural-service-chapters > article {
  max-width: 50rem;
  margin-inline: auto;
  width: 100%;
}
/* les moments larges : les deux panneaux, les deux listes, la cloture */
html[data-client="manuella-d"] .natural-service-chapters > article[data-sales-role="explication"],
html[data-client="manuella-d"] .natural-service-chapters > article[data-sales-role="mecanisme"],
html[data-client="manuella-d"] .natural-service-chapters > article[data-sales-role="differentiation"],
html[data-client="manuella-d"] .natural-service-chapters > article[data-sales-role="objection"],
html[data-client="manuella-d"] .natural-service-chapters > article[data-sales-role="cta"] {
  max-width: none;
}
/* dans un panneau large, la prose garde sa mesure mais se pose a gauche du bloc */
html[data-client="manuella-d"] article[data-sales-role="explication"] .sales-page-section__copy > p,
html[data-client="manuella-d"] article[data-sales-role="mecanisme"] .sales-page-section__copy > p,
html[data-client="manuella-d"] article[data-sales-role="cta"] .sales-page-section__copy > p {
  max-width: 62ch;
}
@media (min-width: 1100px) {
  /* les deux panneaux d'explication passent eux aussi en deux colonnes : c'est la que le
     lecteur veut comparer, pas derouler */
  html[data-client="manuella-d"] article[data-sales-role="explication"] .sales-page-section__copy,
  html[data-client="manuella-d"] article[data-sales-role="mecanisme"] .sales-page-section__copy {
    columns: 2;
    column-gap: clamp(36px, 3.6vw, 60px);
  }
  html[data-client="manuella-d"] article[data-sales-role="explication"] .sales-page-section__copy > h2,
  html[data-client="manuella-d"] article[data-sales-role="mecanisme"] .sales-page-section__copy > h2 {
    column-span: all;
  }
  html[data-client="manuella-d"] article[data-sales-role="explication"] .sales-page-section__copy > p,
  html[data-client="manuella-d"] article[data-sales-role="mecanisme"] .sales-page-section__copy > p {
    break-inside: avoid;
    max-width: none;
  }
}


/* ---- 8. le parcours, lui aussi, est une liste a comparer ---------------------------- */
html[data-client="manuella-d"] .natural-service-chapters > article[data-sales-role="process"] {
  max-width: none;
}
@media (min-width: 1100px) {
  html[data-client="manuella-d"] article[data-sales-role="process"] .sales-page-section__copy {
    columns: 2;
    column-gap: clamp(36px, 3.6vw, 60px);
  }
  html[data-client="manuella-d"] article[data-sales-role="process"] .sales-page-section__copy > h2 {
    column-span: all;
  }
  html[data-client="manuella-d"] article[data-sales-role="process"] .sales-page-section__copy > p {
    break-inside: avoid;
    max-width: none;
  }
}
