/* ============================================================
   blocs.css — les blocs communs du NOUVEAU LOOK.

   Charge par la home ET par les pages publiques. Il n'introduit
   AUCUNE nouvelle source de verite pour la palette : il consomme
   les tokens --pub-* de pages-publiques.css quand ils sont la, et
   retombe sur la valeur litterale sinon (la home charge
   v3-home.css, qui nomme les memes couleurs autrement).

   Prefixe .nl-* : aucune collision possible avec .pub-* ni avec
   les classes de v3-home.css.
   ============================================================ */
/* ============================================================
   UNE SEULE LARGEUR DE CONTENU.
   Mesure du 01/10/2026 sur la home : SEPT largeurs differentes
   coexistaient (1280, 1152, 1140, 1100, 1080, 1000, 800). Les
   blocs se decalaient visiblement les uns par rapport aux autres.
   Tout ce qui est « contenu » s'aligne desormais sur ce jeton ;
   seules deux exceptions restent, et elles sont voulues :
     - les sections a fond plein (hero, captures, temoignages, CTA)
       qui occupent la pleine largeur par construction ;
     - la FAQ, volontairement plus etroite : un paragraphe se lit
       mal sur 1140px.
   ============================================================ */
:root { --nl-wrap: 1140px; }

/* --- Enveloppes de section (autonomes : la home ne charge pas
       pages-publiques.css, les blocs doivent tenir seuls) ------------- */
.nl-section { padding: 70px 5%; }
.nl-section--alt { background: var(--pub-soft, #F4F6FC); }
.nl-wrap { max-width: var(--nl-wrap, 1140px); margin: 0 auto; text-align: center; }
.nl-eyebrow {
    display: inline-block;
    font-family: var(--pub-font-title, "Plus Jakarta Sans", sans-serif);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pub-blue, #0055FF);
    background: var(--pub-blue-soft, #E8F0FF);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.nl-h2 {
    margin: 0 0 14px;
    font-family: var(--pub-font-title, "Plus Jakarta Sans", sans-serif);
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: var(--pub-ink, #0A0E1A);
}
.nl-h2 .pub-hl, .nl-h2 .nl-hl { color: var(--pub-blue, #0055FF); }
.nl-lead {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--pub-muted, #5A6380);
}
@media (max-width: 560px) {
    .nl-section { padding: 48px 5%; }
}

/* --- Ce que vous remplacez (mise en page de la maquette) -------------- */
/* Conservee pour compatibilite : la largeur est desormais la meme partout. */
.nl-wrap--large { max-width: var(--nl-wrap, 1140px); }
.nl-h2--left, .nl-lead--left { text-align: left; margin-left: 0; margin-right: 0; }

.nl-remplace__row {
    display: grid;
    /* Le discours a besoin de place : « Tout ce qu'il vous faut pour » tient
       mal sous 420px et casse apres « pour ». */
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 24px;
    text-align: left;
}
.nl-remplace__say { align-self: center; }
/* Titre un cran plus petit DANS ce bloc : il partage la ligne avec deux
   autres colonnes, contrairement aux sections centrees. */
.nl-remplace .nl-h2 { font-size: clamp(1.45rem, 2.5vw, 1.95rem); }

/* La grappe : des tuiles volontairement DESALIGNEES, posees sur deux taches
   bleues floues — c'est le desordre qui raconte « outils eparpilles ». */
.nl-remplace__cloud { position: relative; padding: 46px 0 8px; min-height: 190px; }
.nl-remplace__cloud::before,
.nl-remplace__cloud::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: #DCEAFE;
    filter: blur(20px);
    opacity: .9;
    z-index: 0;
}
.nl-remplace__cloud::before { width: 135px; height: 100px; left: 4%;  top: 48%; }
.nl-remplace__cloud::after  { width: 115px; height: 90px; right: 6%; top: 34%; }

.nl-remplace__note {
    position: relative;
    z-index: 2;
    margin: 0 0 2px;
    font-family: 'Caveat', 'Segoe Script', cursive;
    font-weight: 600;
    font-size: 1.32rem;
    line-height: 1.1;
    color: var(--pub-ink, #0A0E1A);
    transform: rotate(-4deg);
    transform-origin: left center;
    /* Pas de largeur bornee : « Fini les outils eparpilles ! » doit tenir sur
       UNE ligne, sinon le point d'exclamation part seul a la ligne suivante. */
    white-space: nowrap;
    padding-left: 10px;
}
.nl-remplace__arrow {
    position: absolute;
    z-index: 2;
    /* Elle part SOUS le debut de l'annotation et plonge vers la grappe :
       c'est le geste de la maquette, qui relie le constat aux outils. */
    left: 34px; top: 52px;
    width: 54px; height: 48px;
    color: #94A3B8;
    pointer-events: none;
}

.nl-remplace__tiles {
    position: relative;
    z-index: 1;
    list-style: none;
    /* Centree dans sa colonne : alignee a gauche, la grappe se collait au
       discours et laissait un vide a droite. */
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px 13px;
    max-width: 240px;
}
.nl-tile { line-height: 0; }
/* Chaque tuile prend sa propre inclinaison : aligne, ce ne serait plus
   « eparpille », ce serait un catalogue. */
.nl-tile--1 { transform: rotate(-7deg)  translateY(4px); }
.nl-tile--2 { transform: rotate(5deg)   translateY(-6px); }
.nl-tile--3 { transform: rotate(-3deg); }
.nl-tile--4 { transform: rotate(8deg)   translateY(5px); }
.nl-tile--5 { transform: rotate(-6deg)  translateY(-3px); }
.nl-tile--6 { transform: rotate(4deg); }
/* Tuile blanche, logo de marque a l'interieur : les traces de Simple Icons
   sont monochromes, c'est le fill pose en PHP qui leur donne leur couleur. */
.nl-tile__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: 13px;
    background: #fff;
    border: 1px solid rgba(10, 14, 26, .06);
    box-shadow: 0 4px 14px rgba(10, 14, 26, .13);
}
.nl-tile__logo svg { width: 26px; height: 26px; display: block; }
/* Repli quand le fichier manque : l'initiale, a la couleur de la marque. */
.nl-tile__logo--vide {
    font-family: var(--pub-font-title, "Plus Jakarta Sans", sans-serif);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
}
/* Le nom reste lisible par les lecteurs d'ecran, sans s'afficher. */
.nl-tile__sr {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.nl-remplace__pains { list-style: none; margin: 0; padding: 0; }
.nl-remplace__pains li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 11px 0;
    font-size: 0.93rem;
    line-height: 1.45;
    color: var(--pub-text, #2A3142);
}
.nl-x {
    width: 20px; height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    color: #DC2626;
}

/* Tablette : le discours passe en pleine largeur, la grappe et les coûts
   restent cote a cote. */
@media (max-width: 980px) {
    .nl-remplace__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
    .nl-remplace__say { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .nl-remplace__row { grid-template-columns: 1fr; gap: 14px; }
    .nl-remplace__cloud { padding: 40px 0 4px; min-height: 0; }
    .nl-remplace__tiles { max-width: none; justify-content: flex-start; }
    /* Sur telephone, nowrap ferait deborder : on autorise le retour et on
       retire la fleche, qui n'a plus de place pour son geste. */
    .nl-remplace__note { font-size: 1.15rem; white-space: normal; padding-left: 0; }
    .nl-remplace__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .nl-tile { transform: none; }
    .nl-remplace__note { transform: none; }
}

/* --- Les quatre piliers ---------------------------------------------- */
.nl-piliers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
    gap: 20px;
    text-align: left;
}
.nl-pil {
    background: #fff;
    border: 1px solid var(--pub-border, #E3E8F2);
    border-radius: var(--pub-radius, 16px);
    padding: 24px 22px;
    box-shadow: var(--pub-shadow, 0 4px 24px rgba(0,85,255,.08));
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.nl-pil:hover {
    transform: translateY(-3px);
    box-shadow: var(--pub-shadow-lg, 0 12px 32px rgba(0,85,255,.14));
    border-color: var(--pub-blue, #0055FF);
}
.nl-pil__ico {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 13px;
    font-size: 1.45rem;
    margin-bottom: 14px;
}
.nl-pil--a .nl-pil__ico { background: #EDE9FE; }
.nl-pil--b .nl-pil__ico { background: #D1FAE5; }
.nl-pil--c .nl-pil__ico { background: #FFEDD5; }
.nl-pil--d .nl-pil__ico { background: var(--pub-blue-soft, #E8F0FF); }
.nl-pil__t {
    margin: 0 0 8px;
    font-family: var(--pub-font-title, "Plus Jakarta Sans", sans-serif);
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--pub-ink, #0A0E1A);
}
.nl-pil__d { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--pub-muted, #5A6380); }

/* --- Les quatre reassurances (sous le CTA) --------------------------- */
.nl-reassure {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 22px;
    text-align: left;
}
.nl-reassure li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--pub-text, #2A3142);
}
.nl-check {
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #15803D;
}

/* --- Bande de capacite ------------------------------------------------ */
.nl-capacite {
    background: transparent;
    padding: 34px 5% 10px;
}
.nl-capacite__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
    gap: 14px;
}
/* Carte par capacite — pastille pastel a gauche, texte a droite.
   Remplace la bande plate du 01/10 : la maquette validee les presente en
   cartes, et une carte se lit comme une affirmation, pas comme un bandeau. */
.nl-cap {
    display: flex;
    align-items: center;
    gap: 13px;
    text-align: left;
    background: #fff;
    border: 1px solid var(--pub-border, #E3E8F2);
    border-radius: 14px;
    padding: 15px 16px;
    box-shadow: 0 1px 3px rgba(10, 14, 26, .05);
}
.nl-cap__ico {
    flex-shrink: 0;
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
}
.nl-cap__ico--1 { background: #E8F0FF; }
.nl-cap__ico--2 { background: #D1FAE5; }
.nl-cap__ico--3 { background: #EDE9FE; }
.nl-cap__ico--4 { background: #FFEDD5; }
.nl-cap__txt { min-width: 0; }
.nl-cap__v {
    display: block;
    font-family: var(--pub-font-title, "Plus Jakarta Sans", sans-serif);
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--pub-ink, #0A0E1A);
    line-height: 1.2;
}
.nl-cap__l {
    display: block;
    margin-top: 2px;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--pub-muted, #5A6380);
}

/* --- Telephone -------------------------------------------------------- */
@media (max-width: 560px) {
    .nl-reassure { grid-template-columns: 1fr; }
    .nl-remplace__col { padding: 20px 17px; }
    .nl-capacite { padding: 24px 5% 6px; }
    .nl-capacite__inner { gap: 10px; }
    .nl-cap { padding: 13px 14px; gap: 11px; }
    .nl-cap__ico { width: 38px; height: 38px; font-size: 1.1rem; }
    .nl-cap__v { font-size: 1.05rem; }
}

/* --- Comment ca marche (etapes numerotees) ---------------------------- */
.nl-etapes__list {
    list-style: none;
    margin: 34px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
    gap: 18px;
    text-align: left;
    counter-reset: none;
}
.nl-etape {
    position: relative;
    background: #fff;
    border: 1px solid var(--pub-border, #E3E8F2);
    border-radius: var(--pub-radius, 16px);
    padding: 30px 20px 22px;
    box-shadow: var(--pub-shadow, 0 4px 24px rgba(0,85,255,.08));
}
.nl-etape__num {
    position: absolute;
    top: -14px; left: 20px;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--pub-blue, #0055FF);
    color: #fff;
    font-family: var(--pub-font-title, "Plus Jakarta Sans", sans-serif);
    font-size: 0.86rem;
    font-weight: 800;
}
.nl-etape__ico { font-size: 1.6rem; line-height: 1; display: block; margin-bottom: 10px; }
.nl-etape__t {
    margin: 0 0 7px;
    font-family: var(--pub-font-title, "Plus Jakarta Sans", sans-serif);
    font-size: 0.97rem;
    font-weight: 800;
    color: var(--pub-ink, #0A0E1A);
}
.nl-etape__d { margin: 0; font-size: 0.87rem; line-height: 1.5; color: var(--pub-muted, #5A6380); }

/* --- FAQ en accordeon -------------------------------------------------- */
.nl-wrap--narrow { max-width: 800px; }
.nl-faq { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; text-align: left; }
.nl-faq__item {
    background: #fff;
    border: 1px solid var(--pub-border, #E3E8F2);
    border-radius: var(--pub-radius, 16px);
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}
.nl-faq__item[open] {
    border-color: var(--pub-blue, #0055FF);
    box-shadow: var(--pub-shadow, 0 4px 24px rgba(0,85,255,.08));
}
.nl-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 17px 20px;
    cursor: pointer;
    font-family: var(--pub-font-title, "Plus Jakarta Sans", sans-serif);
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--pub-ink, #0A0E1A);
    list-style: none;
}
.nl-faq__q::-webkit-details-marker { display: none; }
/* Le chevron est fabrique en CSS : pas d'image a charger, et il tourne. */
.nl-faq__q::after {
    content: "";
    flex-shrink: 0;
    width: 9px; height: 9px;
    border-right: 2px solid var(--pub-blue, #0055FF);
    border-bottom: 2px solid var(--pub-blue, #0055FF);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .18s;
}
.nl-faq__item[open] .nl-faq__q::after { transform: rotate(-135deg) translate(-2px, -2px); }
.nl-faq__a {
    padding: 0 20px 19px;
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--pub-text, #2A3142);
}
@media (prefers-reduced-motion: reduce) {
    .nl-faq__q::after { transition: none; }
}
/* Cinq etapes = CINQ colonnes sur ecran large. En grille automatique,
   5 x 190px + 4 gaps depassaient les 1000px du conteneur : la 5e tombait
   seule a la ligne, et une suite ordonnee cassee en 4+1 se lit mal. */
@media (min-width: 900px) {
    .nl-etapes__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
    .nl-etape { padding: 30px 16px 20px; }
}
@media (max-width: 560px) {
    .nl-etapes__list { gap: 22px; margin-top: 28px; }
    .nl-faq__q { padding: 15px 16px; font-size: 0.93rem; }
    .nl-faq__a { padding: 0 16px 17px; }
}

/* --- Section tarifaire (une seule grille) ------------------------------ */
.nl-tarifs .pricing-toggle-wrap { margin: 28px auto 26px; }
.nl-tarifs__tous { margin: 26px 0 0; font-size: 0.95rem; }
.nl-tarifs__tous a {
    color: var(--pub-blue, #0055FF);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.nl-tarifs__tous a:hover { border-bottom-color: currentColor; }

/* --- La porte vers les quatre profils ---------------------------------- */
.nl-segments__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
    gap: 16px;
    margin-top: 32px;
    text-align: left;
}
.nl-seg {
    position: relative;
    display: block;
    background: #fff;
    border: 1px solid var(--pub-border, #E3E8F2);
    border-radius: var(--pub-radius, 16px);
    padding: 22px 20px 20px;
    text-decoration: none;
    box-shadow: var(--pub-shadow, 0 4px 24px rgba(0,85,255,.08));
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.nl-seg:hover {
    transform: translateY(-3px);
    box-shadow: var(--pub-shadow-lg, 0 12px 32px rgba(0,85,255,.14));
    border-color: var(--pub-blue, #0055FF);
}
.nl-seg__ico { font-size: 1.7rem; line-height: 1; display: block; margin-bottom: 11px; }
.nl-seg__t {
    display: block;
    font-family: var(--pub-font-title, "Plus Jakarta Sans", sans-serif);
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--pub-ink, #0A0E1A);
    margin-bottom: 6px;
}
.nl-seg__d {
    display: block;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--pub-muted, #5A6380);
    /* On laisse la place a la fleche, qui est posee en bas a droite. */
    padding-right: 22px;
}
.nl-seg__fl {
    position: absolute;
    right: 18px; bottom: 16px;
    color: var(--pub-blue, #0055FF);
    font-weight: 800;
    transition: transform .15s;
}
.nl-seg:hover .nl-seg__fl { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
    .nl-seg, .nl-seg__fl { transition: none; }
    .nl-seg:hover { transform: none; }
}

/* --- Pastilles d'outils du hero --------------------------------------- */
.nl-chips {
    list-style: none;
    margin: 20px 0 26px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.nl-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid var(--pub-border, #E3E8F2);
    border-radius: 999px;
    background: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--pub-text, #2A3142);
    white-space: nowrap;
    line-height: 1.2;
}
@media (max-width: 560px) {
    .nl-chips { gap: 6px; margin: 16px 0 22px; }
    .nl-chip { padding: 6px 11px; font-size: 0.79rem; }
}

/* --- « Gagnez du temps » : quatre benefices, icones rondes ------------- */
.nl-gains__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 26px 20px;
    margin-top: 38px;
}
.nl-gain { text-align: center; }
.nl-gain__ico {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: 1.7rem;
}
.nl-gain__ico--1 { background: #E0F2FE; }
.nl-gain__ico--2 { background: #EDE9FE; }
.nl-gain__ico--3 { background: #D1FAE5; }
.nl-gain__ico--4 { background: #FCE7F3; }
.nl-gain__t {
    margin: 0 0 8px;
    font-family: var(--pub-font-title, "Plus Jakarta Sans", sans-serif);
    font-size: 1rem;
    font-weight: 800;
    color: var(--pub-ink, #0A0E1A);
}
.nl-gain__d {
    margin: 0 auto;
    max-width: 260px;
    font-size: 0.89rem;
    line-height: 1.55;
    color: var(--pub-muted, #5A6380);
}
@media (max-width: 560px) {
    .nl-gains__grid { gap: 24px 16px; margin-top: 30px; }
    .nl-gain__ico { width: 56px; height: 56px; font-size: 1.5rem; margin-bottom: 12px; }
}

/* L'en-tete est collant : sans cette marge, un lien d'ancre (#tarifs, #faq)
   fait atterrir le titre de section DERRIERE la barre. */
.nl-section[id], .nl-capacite[id] { scroll-margin-top: 86px; }

/* Carte de capacite CLIQUABLE : marquee par une fleche, sinon rien ne
   distingue un lien d'un simple constat dans une rangee de cartes jumelles. */
.nl-cap--lien { text-decoration: none; position: relative; padding-right: 30px;
                transition: border-color .15s, box-shadow .15s, transform .15s; }
.nl-cap--lien:hover { border-color: var(--pub-blue, #0055FF);
                      box-shadow: 0 6px 18px rgba(0, 85, 255, .12); transform: translateY(-2px); }
.nl-cap__fl { position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
              color: var(--pub-blue, #0055FF); font-weight: 800; transition: transform .15s; }
.nl-cap--lien:hover .nl-cap__fl { transform: translateY(-50%) translateX(3px); }
@media (prefers-reduced-motion: reduce) {
    .nl-cap--lien, .nl-cap__fl { transition: none; }
    .nl-cap--lien:hover { transform: none; }
}
