.pageGeneric {
  margin: 0 auto;
}

.page-home--component-title-cta-images-and-caption__home--description{
  margin-top: 4rem;
}

h1,h2{
  line-height: 1.875rem;
}

img.component-wrapper-picture--picture-image.component-title-sliding-images-and-texts--component-wrapper-picture-picture-image__related-artlcles.componentTitleCtaImagesAndCaption--picture-image {
  width: 25%;
}

picture {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-home {
  .page-home--content {
    text-align: center;
    /* Refonte 2026 : le hero ouvre la page, pas de retrait haut. */
    margin-top: 0;
    .page-home--topic-title-text__homeh1 {
      max-width: 40.625rem;
      margin: 0 auto;
      h1 {
        font-size: 1.625rem;
        text-transform: uppercase;
        font-weight: 500;
        line-height: 1.875rem;
        margin-bottom: 0;
      }
      h2 {
        margin: 0 auto;
        font-size: 1.675rem;
        font-weight: 100;
        line-height: 1.875rem;
      }
      p {
        margin-block-start: 1.25rem;
        font-size: 1rem;
        font-weight: 100;
        line-height: 1.375rem;
        margin-bottom: 0;
      }
    }
    .component-title-sliding-images-and-texts__home {
      margin-top: 3.125rem;
      .component-title-sliding-images-and-texts--slides__home {
        display: flex;
        gap: 1.25rem;
        flex-direction: column;
        .componentTitleCtaImagesAndCaption--cta {
          cursor: pointer;
          height: 13.75rem;
          max-width: 19.375rem;
          padding: 2.5rem;
          border-radius: 0.313rem;
          box-shadow: 0 0 0.313rem var(--card-shadow);
          flex: 1;
          h3 {
            margin-bottom: 0.5rem;
            font-size: 1.25rem;
            line-height: 1.5rem;
            position: relative;
            padding-top: 5rem;
            margin-top: 0;
          }
          h3::before {
            position: absolute;
            content: '';
            display: block;
            height: 3.75rem;
            width: 100%;
            margin: 0 auto;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='51.333' height='56' viewBox='0 0 51.333 56'%3E%3Cpath id='Trac%C3%A9_113' data-name='Trac%C3%A9 113' d='M48.367,27.067A13.533,13.533,0,1,0,34.833,13.533,13.533,13.533,0,0,0,48.367,27.067ZM54.777,18.9c-.616,2.036-3.253,3.566-6.413,3.566s-5.8-1.53-6.414-3.566ZM76.833,46.667v1.867a.933.933,0,0,1-.933.933H70.3v5.6a.933.933,0,0,1-.933.933H67.5a.933.933,0,0,1-.933-.933v-5.6h-5.6a.933.933,0,0,1-.933-.933V46.667a.933.933,0,0,1,.933-.933h5.6v-5.6A.933.933,0,0,1,67.5,39.2h1.867a.933.933,0,0,1,.933.933v5.6h5.6A.933.933,0,0,1,76.833,46.667Zm-18.667,0v1.867a2.765,2.765,0,0,0,.367,1.359,94.167,94.167,0,0,1-10.167.507c-13.049,0-19.435-2.132-21.776-3.174a2.021,2.021,0,0,1-1.091-1.7V41.067A13.106,13.106,0,0,1,37.084,28.093a1.083,1.083,0,0,1,.651.178,18.057,18.057,0,0,0,21.263,0,1.084,1.084,0,0,1,.651-.178,13.126,13.126,0,0,1,11.14,9.642,2.768,2.768,0,0,0-1.422-.4H67.5a2.8,2.8,0,0,0-2.8,2.8v3.733H60.967A2.8,2.8,0,0,0,58.167,46.667Z' transform='translate(-25.5)' fill='%235bc5f1'/%3E%3C/svg%3E");
            top: 0;
          }
          .component-title-cta-images-and-captioncta--subtitle {
            font-size: 1rem;
            line-height: 1.2rem;
            font-weight: 100;
          }
        }
        .componentTitleCtaImagesAndCaption--cta:last-of-type {
          h3::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54.73' height='52.578' viewBox='0 0 54.73 52.578'%3E%3Cg id='verified-user' transform='translate(0 -12.031)'%3E%3Cpath id='Trac%C3%A9_114' data-name='Trac%C3%A9 114' d='M23.006,39.262A13.616,13.616,0,1,0,9.39,25.647,13.616,13.616,0,0,0,23.006,39.262Zm6.59-8.245c-.619,2.048-3.273,3.587-6.453,3.587s-5.833-1.54-6.453-3.587Zm24.8,23L41.936,64.4a.96.96,0,0,1-1.265-.057l-6.2-6.2a.942.942,0,0,1,0-1.328L35.8,55.483a.942.942,0,0,1,1.328,0l4.384,4.383,10.481-8.734a.942.942,0,0,1,1.322.12l1.2,1.442A.942.942,0,0,1,54.394,54.017ZM33.008,59.6l2.362,2.363a88.909,88.909,0,0,1-12.364.776c-13.128,0-19.553-2.145-21.908-3.193A2.033,2.033,0,0,1,0,57.836V53.348A13.186,13.186,0,0,1,11.655,40.3a1.089,1.089,0,0,1,.655.179,18.167,18.167,0,0,0,21.393,0,1.089,1.089,0,0,1,.655-.179A13.186,13.186,0,0,1,46.012,53.348v.076l-4.377,3.647-3.05-3.049a3,3,0,0,0-4.249,0L33.008,55.35A3.007,3.007,0,0,0,33.008,59.6Z' transform='translate(0 0)' fill='%235bc5f1'/%3E%3C/g%3E%3C/svg%3E");
          }
        }
        .componentTitleCtaImagesAndCaption--cta:hover {
          background-color: var(--clear-blue);
          h3,
          .component-title-cta-images-and-captioncta--subtitle {
            color: var(--white);
          }
          h3::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='51.333' height='56' viewBox='0 0 51.333 56'%3E%3Cpath id='Trac%C3%A9_113' data-name='Trac%C3%A9 113' d='M48.367,27.067A13.533,13.533,0,1,0,34.833,13.533,13.533,13.533,0,0,0,48.367,27.067ZM54.777,18.9c-.616,2.036-3.253,3.566-6.413,3.566s-5.8-1.53-6.414-3.566ZM76.833,46.667v1.867a.933.933,0,0,1-.933.933H70.3v5.6a.933.933,0,0,1-.933.933H67.5a.933.933,0,0,1-.933-.933v-5.6h-5.6a.933.933,0,0,1-.933-.933V46.667a.933.933,0,0,1,.933-.933h5.6v-5.6A.933.933,0,0,1,67.5,39.2h1.867a.933.933,0,0,1,.933.933v5.6h5.6A.933.933,0,0,1,76.833,46.667Zm-18.667,0v1.867a2.765,2.765,0,0,0,.367,1.359,94.167,94.167,0,0,1-10.167.507c-13.049,0-19.435-2.132-21.776-3.174a2.021,2.021,0,0,1-1.091-1.7V41.067A13.106,13.106,0,0,1,37.084,28.093a1.083,1.083,0,0,1,.651.178,18.057,18.057,0,0,0,21.263,0,1.084,1.084,0,0,1,.651-.178,13.126,13.126,0,0,1,11.14,9.642,2.768,2.768,0,0,0-1.422-.4H67.5a2.8,2.8,0,0,0-2.8,2.8v3.733H60.967A2.8,2.8,0,0,0,58.167,46.667Z' transform='translate(-25.5)' fill='%23fff'/%3E%3C/svg%3E");
          }
        }
        .componentTitleCtaImagesAndCaption--cta:hover:last-of-type {
          h3::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54.73' height='52.578' viewBox='0 0 54.73 52.578'%3E%3Cg id='verified-user' transform='translate(0 -12.031)'%3E%3Cpath id='Trac%C3%A9_114' data-name='Trac%C3%A9 114' d='M23.006,39.262A13.616,13.616,0,1,0,9.39,25.647,13.616,13.616,0,0,0,23.006,39.262Zm6.59-8.245c-.619,2.048-3.273,3.587-6.453,3.587s-5.833-1.54-6.453-3.587Zm24.8,23L41.936,64.4a.96.96,0,0,1-1.265-.057l-6.2-6.2a.942.942,0,0,1,0-1.328L35.8,55.483a.942.942,0,0,1,1.328,0l4.384,4.383,10.481-8.734a.942.942,0,0,1,1.322.12l1.2,1.442A.942.942,0,0,1,54.394,54.017ZM33.008,59.6l2.362,2.363a88.909,88.909,0,0,1-12.364.776c-13.128,0-19.553-2.145-21.908-3.193A2.033,2.033,0,0,1,0,57.836V53.348A13.186,13.186,0,0,1,11.655,40.3a1.089,1.089,0,0,1,.655.179,18.167,18.167,0,0,0,21.393,0,1.089,1.089,0,0,1,.655-.179A13.186,13.186,0,0,1,46.012,53.348v.076l-4.377,3.647-3.05-3.049a3,3,0,0,0-4.249,0L33.008,55.35A3.007,3.007,0,0,0,33.008,59.6Z' transform='translate(0 0)' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
          }
        }
      }
    }
    .component-title-sliding-images-and-texts__Outlined-card-slider {
      margin-top: 5.625rem;
    }
  }
}

/* ==================================================================
   PAGES DE SÉCURITÉ (connexion, inscription, mot de passe)
   Maquette : 68:2178 — titre a gauche, sous-titre, puis l'espace blanc
   qui accueille le formulaire, et enfin les blocs de la maquette.
   `page-register` est la classe de gabarit des quatre pages.
   ================================================================== */

.page-register {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  /* Le contenu est cale sur les 84rem des autres pages ; les blocs qui
     sortent en 100vw restent bord a bord, la gouttiere etant en padding
     leurs marges negatives se resolvent toujours sur le bord de l'ecran. */
  max-width: calc(84rem + 2 * var(--lx-gutter-mobile));
  margin: 0 auto;
  padding: 9rem var(--lx-gutter-mobile) 0;
  font-family: var(--lx-font-main);
  text-align: left;
}

/* Le titre de la maquette tient sur deux lignes : la premiere est le h1
   de la page, la seconde le titre du bloc d'introduction. Meme
   typographie des deux cotes, aucune marge entre eux. */
.page-register .pageGeneric--title {
  margin: 0;
  font-family: var(--lx-font-main);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--lx-accent-main);
  text-transform: none;
}

/* Inscription et connexion : le h1 n'est pas affiche, a la demande du
   client ; le titre du bloc d'introduction suffit a l'ecran. On le garde
   dans le DOM pour les lecteurs d'ecran et le SEO. Classes posees depuis
   le slug de la page. */
.page-register.pageGeneric__user-register .pageGeneric--title,
.page-register.pageGeneric__user-login .pageGeneric--title {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-register .pageGeneric--content {
  width: 100%;
}

.page-register .pageGeneric--content > * + * {
  margin-top: 3rem;
}

/* Le formulaire est injecte au rendu a la place de ##SECURITY-*## ;
   son propre habillage est dans page/security.css. */
.page-register .pageGeneric--content > .component-html + * {
  margin-top: 4rem;
}

@media (min-width: 48rem /* 768px */) {
  .page-home {
    .page-home--content {
      .component-title-sliding-images-and-texts__home {
        .component-title-sliding-images-and-texts--slides__home {
          flex-direction: row;
          gap: 1.875rem;
          margin: 0 auto;
          max-width: 40.625rem;
        }
      }
    }
  }
}
@media (min-width: 64rem /* 1024px */) {
  .page-home {
    .page-home--content {
      margin-top: 0;
      .page-home--topic-title-text__homeh1 {
        h1 {
          font-size: 2.25rem;
          line-height: 2.625rem;
        }
        h2 {
          font-size: 1.875rem;
          line-height: 2.25rem;
        }
        p {
          font-size: 1rem;
        }
      }
    }
  }
}
@media (min-width: 80rem /* 1280px */) {
  .page-home {
    .page-home--content {
      .component-title-sliding-images-and-texts__Outlined-card-slider {
        margin-top: 7.5rem;
      }
    }
  }
}

/* ------------------------------------- PAGES DE SÉCURITÉ, DESKTOP */

@media (min-width: 64rem /* 1024px */) {
  .page-register {
    max-width: calc(84rem + 2 * var(--lx-gutter-desktop));
    padding: 10rem var(--lx-gutter-desktop) 0;
  }

  /* 674 px dans la maquette : le titre coupe avant la fin de la ligne. */
  .page-register .pageGeneric--title {
    max-width: 42.125rem;
    font-size: 2.5rem;
    letter-spacing: -0.025em;
  }

  .page-register .pageGeneric--content > * + * {
    margin-top: 4rem;
  }

  .page-register .pageGeneric--content > .component-html + * {
    margin-top: 6rem;
  }
}
