/* Conditions générales d’utilisation - Novijob
   Ce fichier est volontairement limité à .legal-wrapper afin de ne pas
   modifier le style global provenant de base-recherche.html.twig. */

.legal-wrapper,
.legal-wrapper * {
  box-sizing: border-box;
}

.legal-wrapper {
  width: min(1100px, calc(100% - 32px));
  /* Le menu principal de base-recherche.html.twig est fixe/sticky.
     On laisse donc un espace au-dessus de la page pour éviter qu’il masque le titre. */
  margin-top: 175px;
  margin-left: 115px;
  margin-right: auto;
  margin-bottom: 40px;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1f2937;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

/* Évite aussi qu’un titre ciblé depuis la table des matières se retrouve
   caché derrière le menu fixe. */
.legal-wrapper section[id],
.legal-wrapper [id] {
  scroll-margin-top: 175px;
}

.legal-wrapper .legal-header {
  padding: 36px 42px 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #0b3a67, #155c91);
}

.legal-wrapper .legal-header h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: #ffffff;
}

.legal-wrapper .legal-header p {
  margin: 4px 0;
}

.legal-wrapper .beta-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.legal-wrapper .legal-content {
  padding: 34px 42px 50px;
}

.legal-wrapper .notice {
  margin: 0 0 28px;
  padding: 16px 18px;
  background: #eef5fb;
  border-left: 4px solid #0b3a67;
  border-radius: 8px;
}

.legal-wrapper .legal-final-notice {
  margin-top: 40px;
}
/* ================================
   TABLE DES MATIÈRES
================================ */

.legal-wrapper .toc {
    width: 100%;
    margin: 0 0 34px 0;
    padding: 22px;

    background: #fbfdff;
    border: 1px solid #d9e2ec;
    border-radius: 10px;

    text-align: left !important;
}


/* Titre Table des matières */
.legal-wrapper .toc h2 {
    margin: 0 0 14px 0;
    padding: 0 0 8px 0;

    font-size: 27px;
    font-weight: 500;

    color: #0b3a67;

    text-align: left !important;

    border-bottom: 2px solid #0b3a67;
}


/* Liste en 2 colonnes */
.legal-wrapper .toc ul {
    display: block !important;

    width: 100%;

    margin: 0 !important;
    padding-left: 18px !important;

    column-count: 2;
    column-gap: 70px;

    list-style-type: disc !important;
    list-style-position: outside !important;

    text-align: left !important;
}


/* Chaque ligne */
.legal-wrapper .toc li {
    display: list-item !important;

    margin: 0 0 7px 0 !important;
    padding: 0 !important;

    list-style-type: disc !important;

    text-align: left !important;

    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}


/* Liens */
.legal-wrapper .toc li a {
    display: inline !important;

    color: #0b3a67;

    text-decoration: none;

    text-align: left !important;
}


/* Survol */
.legal-wrapper .toc li a:hover {
    text-decoration: underline;
}

.legal-wrapper h2 {
  margin-top: 44px;
  padding-bottom: 10px;
  font-size: 27px;
  color: #0b3a67;
  border-bottom: 2px solid #0b3a67;
}

.legal-wrapper h3 {
  margin-top: 34px;
  font-size: 21px;
  color: #17324d;
}

.legal-wrapper h4 {
  margin-top: 24px;
  font-size: 18px;
  color: #243b53;
}

.legal-wrapper p {
  margin: 0 0 16px;
}

.legal-wrapper ul,
.legal-wrapper ol {
  margin: 0 0 18px 24px;
}

.legal-wrapper li {
  margin-bottom: 7px;
}

.legal-wrapper a {
  color: #0b3a67;
}

.legal-wrapper .caps {
  font-weight: 700;
  text-transform: uppercase;
}

.legal-wrapper .section-note {
  font-size: 14px;
  color: #667085;
}

.legal-wrapper .contact-box {
  padding: 18px;
  background: #fafafa;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
}

@media (max-width: 760px) {
  .legal-wrapper {
    width: 100%;
    margin: 190px 0 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .legal-wrapper .legal-header,
  .legal-wrapper .legal-content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .legal-wrapper .toc ul {
    column-count: 1;
  }

  .legal-wrapper h2 {
    font-size: 23px;
  }

  .legal-wrapper h3 {
    font-size: 19px;
  }
}

/* =========================================
   ANNEXE B - MESURES DE SÉCURITÉ
========================================= */

.legal-wrapper #annexe-b {
    text-align: left !important;
}


/* Titre ANNEXE B */
.legal-wrapper #annexe-b h2 {
    margin-top: 44px;
    margin-bottom: 20px;
    padding-bottom: 10px;

    font-size: 27px;
    font-weight: 700;

    color: #0b3a67;

    text-align: left !important;

    border-bottom: 2px solid #0b3a67;
}


/* Sous-titres */
.legal-wrapper #annexe-b h3 {
    margin-top: 30px;
    margin-bottom: 14px;

    font-size: 20px;
    font-weight: 700;

    color: #17324d;

    text-align: left !important;
}


/* Paragraphes */
.legal-wrapper #annexe-b p {
    margin: 0 0 16px;

    text-align: left !important;
}


/* Listes */
.legal-wrapper #annexe-b ul {
    display: block !important;

    margin: 0 0 28px 38px !important;
    padding: 0 !important;

    list-style-type: disc !important;
    list-style-position: outside !important;

    text-align: left !important;
}


/* Chaque élément de liste */
.legal-wrapper #annexe-b ul li {
    display: list-item !important;

    margin: 0 0 8px 0 !important;
    padding: 0 !important;

    list-style-type: disc !important;

    text-align: left !important;

    line-height: 1.6;
}

/* =========================================
   SECTION 21 - RÈGLES DU SITE
   Ciblage exact de la liste après le titre
========================================= */

.legal-wrapper #s21 + p + ul {
    display: block !important;
    width: auto !important;

    margin: 10px 0 22px 40px !important;
    padding: 0 0 0 20px !important;

    list-style: disc outside !important;

    text-align: left !important;

    float: none !important;
}

.legal-wrapper #s21 + p + ul > li {
    display: list-item !important;
    width: auto !important;

    margin: 0 0 7px 0 !important;
    padding: 0 !important;

    list-style: disc outside !important;

    text-align: left !important;

    float: none !important;
}

/* =========================================
   LISTES - PAGE CONFIDENTIALITÉ
========================================= */

.container-page-adhesion ul {
    display: block !important;

    margin: 12px 0 22px 40px !important;
    padding-left: 20px !important;

    list-style-type: disc !important;
    list-style-position: outside !important;

    text-align: left !important;
}

.container-page-adhesion ul > li {
    display: list-item !important;

    width: auto !important;

    margin: 0 0 7px 0 !important;
    padding: 0 !important;

    list-style-type: disc !important;
    list-style-position: outside !important;

    text-align: left !important;

    float: none !important;

    line-height: 1.6;
}

.titre-adhesion {
  font-size: 23px;
  font-weight: 500;
  padding-top: 25px;
}