/* Pages intérieures reprises dans la direction de la nouvelle accueil (11 novembre 2026).
   Elles gardent l'en-tête et le pied de page du site, et le système de refonte.css (titres, textes, boutons, bleu, jaune). */

/* ═════ Qualifications ═════ */
/* Ouverture : le titre sur un grand aplat jaune qui file jusqu'au bord gauche ; à droite, sur blanc, le dossier de références et le logo OPQIBI */
.rq-hero-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--rf-col); align-items: stretch; min-height: calc(var(--screen, 100vh) - 89px - 6rem); }
.rq-hero-copy { grid-column: 1 / span 7; display: flex; flex-direction: column; justify-content: center; margin-left: calc(var(--edge) * -1); padding: 6rem 5rem 6rem var(--edge); background: var(--lemon); }
.rf .rq-hero h1 { max-width: 12ch; color: var(--ink); }
.rq-hero .rf-intro { color: #26353f; max-width: 34rem; }
.rq-hero .btn-line { border-color: rgba(31, 51, 64, .55); }
.rf .rq-hero .btn-line:hover { background: #fff; border-color: #fff; }
.rq-hero-fig { position: relative; grid-column: 8 / span 5; align-self: center; margin: 0; padding-top: 2rem; }
.rq-hero-dessin { width: 116%; max-width: none; height: auto; margin-left: -6%; mix-blend-mode: multiply; filter: brightness(1.05) contrast(1.06); }
.rq-hero-logo { position: absolute; right: 0; top: -3rem; width: 11.5rem; height: auto; }
.rq-hero-fig .rf-note { position: absolute; left: 6%; bottom: -1rem; color: var(--ink); }
/* Les quatre domaines */
.rq-dom { margin-top: var(--rf-gap); }
.rq-dom h2 { max-width: 24ch; }
.rq-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 3.5rem 0 0; padding: 0; list-style: none; }
.rq-four li { display: flex; flex-direction: column; gap: 1.5rem; }
.rq-carte { flex: 1; display: flex; flex-direction: column; padding: 2.25rem 2rem 2rem; background: #005faa; color: #fff; }
.rq-carte h3 { font-size: calc(1.75rem * var(--rf-dk)); line-height: 1.15; color: #fff; }
.rf .rq-carte p { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.5; color: rgba(255, 255, 255, .94); }
.rf .rq-carte .rq-codes { margin-top: .75rem; font-weight: 500; letter-spacing: .01em; color: #fff; }
.rf .rq-carte .rq-niv { align-self: flex-start; margin-top: auto; padding: .5rem .875rem; background: #fff; color: #005faa; font-size: .9375rem; font-weight: 600; line-height: 1.2; }
.rf .rq-carte p:has(+ .rq-niv) { margin-bottom: 1.5rem; }
.rq-mission { display: block; color: inherit; text-decoration: none; transition: translate .2s ease-out; }
.rq-mission:hover { translate: 0 -.25rem; }
.rq-mission:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
.rq-mission img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rq-meta { display: block; margin-top: 1rem; font: 500 .9375rem/1.2 var(--sans); color: var(--sky-ink); }
.rq-mission b { display: block; margin-top: .5rem; font: 400 calc(1.375rem * var(--rf-dk)) / 1.2 var(--rf-display); letter-spacing: -.01em; color: var(--ink); }
.rq-mission > span:last-child { display: block; margin-top: .5rem; font-size: 1rem; line-height: 1.5; color: var(--text); }
.rq-mission:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
/* Ce qu'une qualification garantit */
.rq-gar { margin-top: var(--rf-gap); }
.rq-gar-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--rf-col); align-items: center; }
.rq-gar-fig { position: relative; grid-column: 1 / span 6; margin: 0; }
.rq-gar-fig img { width: 108%; max-width: none; height: auto; margin-left: -6%; mix-blend-mode: multiply; filter: brightness(1.05) contrast(1.06); }
.rq-gar-fig .rf-note { position: absolute; right: 6%; bottom: 0; color: var(--ink); }
.rq-gar-copy { grid-column: 8 / span 5; }
.rq-temps { position: relative; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.rq-temps::before { content: ""; position: absolute; left: .3125rem; top: .75rem; bottom: 1.5rem; width: 1px; background: rgba(44, 120, 173, .55); }
.rq-temps li { position: relative; padding: 0 0 1.75rem 2.25rem; }
.rq-temps li::before { content: ""; position: absolute; left: 0; top: .5rem; width: .75rem; height: .75rem; border-radius: 50%; background: var(--lemon); box-shadow: 0 0 0 1px rgba(31, 51, 64, .35); }
.rq-temps b { display: block; font: 400 calc(1.5rem * var(--rf-dk)) / 1.2 var(--rf-display); letter-spacing: -.01em; color: var(--ink); }
.rq-temps span { display: block; margin-top: .375rem; font-size: 1.0625rem; line-height: 1.55; color: var(--text); }
@media (prefers-reduced-motion: reduce) { .rq-mission { transition: none; } }
@media (max-width: 900px) {
  .rq-hero-in, .rq-gar-in { display: block; min-height: 0; }
  .rq-hero-copy { margin: 0 calc(var(--edge) * -1); padding: 3rem var(--edge); }
  .rq-hero-fig { padding-top: 3rem; }
  .rq-hero-dessin, .rq-gar-fig img { width: 100%; margin: 0; }
  .rq-hero-logo { top: 1rem; width: 7rem; }
  .rq-four { grid-template-columns: 1fr; gap: 2.5rem; }
  .rq-gar-copy { margin-top: 2.5rem; }
}

/* ═════ Journal ═════ */
/* Ouverture : le bleu du site sur toute la largeur, « Journal » puis l'article à la une ; son croquis est tiré en traits blancs */
.rj-une { background: var(--rf-blue); color: #fff; padding: 4.5rem 0 11rem; }
.rj-tete { padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.rf .rj-tete h1 { font-size: calc(5rem * var(--rf-dk)); line-height: 1; color: #fff; }
.rf .rj-tete p { margin-top: 1.25rem; max-width: 40rem; font-size: 1.25rem; line-height: 1.55; color: var(--rf-on-blue); }
.rj-une-art { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--rf-col); align-items: center; padding-top: 3.5rem; }
.rj-une-txt { grid-column: 1 / span 6; }
.rf .rj-une-k { display: flex; align-items: center; gap: .875rem; font: 500 1.0625rem/1.2 var(--sans); color: var(--rf-on-blue); }
.rf .rj-une h2 { margin-top: 1rem; max-width: 20ch; font-size: calc(3.25rem * var(--rf-dk)); line-height: 1.1; color: #fff; }
.rj-une h2 a, .rj-ligne h3 a { color: inherit; text-decoration: none; }
.rj-une h2 a:hover, .rj-ligne h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.rj-une a:focus-visible { outline: 3px solid var(--lemon); outline-offset: 4px; }
.rf .rj-une-chapo { margin-top: 1.5rem; max-width: 34rem; font-size: 1.1875rem; line-height: 1.6; color: var(--rf-on-blue); }
.rf .rj-une-date { margin-top: 1.25rem; font-size: 1rem; color: var(--rf-on-blue); }
.rj-une .rf-actions { margin-top: 2rem; }
.rj-une-fig { grid-column: 7 / span 6; display: block; margin-right: -2%; }
.rj-une-fig img { display: block; width: 100%; height: auto; }
/* Les essentiels : la bande jaune, à cheval sur le bas de l'ouverture */
.rj-ess { margin-top: -6.5rem; }
.rj-ess-in { padding: 2.5rem 3rem 3rem; background: var(--lemon); color: var(--ink); }
.rf .rj-ess h2 { font: 500 1.0625rem/1.2 var(--sans); letter-spacing: 0; color: var(--ink); }
.rj-ess ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.rj-ess a { display: block; padding-top: 1.25rem; border-top: 1px solid rgba(31, 51, 64, .45); color: var(--ink); text-decoration: none; }
.rj-ess b { display: block; font: 400 calc(3.25rem * var(--rf-dk)) / 1 var(--rf-display); letter-spacing: -.02em; white-space: nowrap; }
.rj-ess span { display: block; margin-top: .875rem; font-size: 1.0625rem; line-height: 1.5; color: #26353f; }
.rj-ess a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.rj-ess a:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
/* Les derniers articles, en grand */
.rj-liste { margin-top: var(--rf-gap); }
.rj-ligne { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--rf-col); align-items: center; padding: 3.5rem 0; border-top: 1px solid rgba(31, 51, 64, .18); }
.rj-liste h2 + .rj-ligne { margin-top: 3rem; }
.rj-fig { grid-column: 1 / span 5; display: block; }
.rj-fig img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; filter: brightness(1.05) contrast(1.08); }   /* le papier du croquis devient le blanc de la page */
.rj-txt { grid-column: 7 / span 6; }
/* chaque dessin a son format : le plus large est resserré, le texte du deuxième se rapproche de son dessin, le troisième se décale un peu */
.rj-ligne--a .rj-fig img { width: 82%; margin-inline: auto; }
.rj-ligne--inv .rj-fig { grid-column: 7 / span 5; order: 2; }
.rj-ligne--inv .rj-txt { grid-column: 2 / span 5; order: 1; }
.rj-ligne--c .rj-fig img { width: 90%; margin-left: 10%; }
.rf .rj-ligne h3 { margin-top: 0; max-width: 24ch; font-size: calc(2.375rem * var(--rf-dk)); line-height: 1.15; }
.rf .rj-chapo { margin-top: 1.25rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.6; }
.rf .rj-date { margin-top: 1rem; font-size: 1rem; color: var(--muted); }
.rj-txt .btn { margin-top: 1.75rem; }
/* Tous les articles : la liste compacte */
.rj-tous { margin-top: var(--rf-gap); }
.rj-tous-tete { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.rj-cherche { width: min(24rem, 40%); }
.rj-cherche label { display: block; margin-bottom: .5rem; font: 500 1rem/1.2 var(--sans); color: var(--ink); }
.rj-cherche input { width: 100%; height: 3.25rem; padding: 0 1rem; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); font: 400 1.0625rem var(--sans); -webkit-appearance: none; appearance: none; }
.rj-cherche input::placeholder { color: #5b6871; }
.rj-cherche input:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.rj-rubs { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 2rem; }
.rj-rubs button { min-height: 2.75rem; padding: 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--text); font: 500 1.0625rem/1.2 var(--sans); cursor: pointer; transition: color .2s ease-out, border-color .2s ease-out; }
.rj-rubs button:hover { color: var(--ink); border-bottom-color: rgba(31, 51, 64, .3); }
.rj-rubs button:active { color: #005faa; }
.rj-rubs button.is-on { color: var(--ink); border-bottom-color: var(--lemon); }
.rj-rubs button:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
.rf .rj-compte { min-height: 1.5rem; margin-top: 1rem; font-size: 1rem; color: var(--muted); }
.rj-tous-l { margin: .5rem 0 0; padding: 0; list-style: none; border-bottom: 1px solid rgba(31, 51, 64, .18); }
.rj-tous-l li[hidden] { display: none; }
.rj-tous-l a { display: grid; grid-template-columns: 9.5rem 15rem minmax(0, 1fr) 4rem; column-gap: 2rem; align-items: baseline; padding: 1.25rem 0; border-top: 1px solid rgba(31, 51, 64, .18); color: inherit; text-decoration: none; }
.rj-tous-l time, .rj-tous-d { font: 400 1rem/1.4 var(--sans); font-variant-numeric: tabular-nums; color: var(--muted); }
.rj-tous-d { text-align: right; }
.rj-tous-r { font: 500 1rem/1.4 var(--sans); color: var(--sky-ink); }
.rj-tous-l b { font: 400 calc(1.4375rem * var(--rf-dk)) / 1.25 var(--rf-display); letter-spacing: -.01em; color: var(--ink); transition: color .2s ease-out; }
.rj-tous-l a:hover b { color: #005faa; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.rj-tous-l a:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.rj-vide { padding: 2.5rem 0; }
.rj-vide[hidden] { display: none; }
.rf .rj-vide p { margin-bottom: 1.25rem; font-size: 1.125rem; color: var(--ink); }
/* La lettre */
.rj-lettre { margin-top: 1rem; }
.rj-lettre-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--rf-col); align-items: end; padding: 3.5rem 3rem; background: var(--lemon); color: var(--ink); }
.rj-lettre-txt { grid-column: 1 / span 6; }
.rf .rj-lettre-k { font: 500 1.0625rem/1.2 var(--sans); color: var(--ink); }
.rf .rj-lettre h2 { margin-top: 1rem; font-size: calc(2.875rem * var(--rf-dk)); }
.rf .rj-lettre-txt h2 + p { margin-top: 1.25rem; max-width: 34rem; font-size: 1.1875rem; line-height: 1.55; color: #26353f; }
.rj-lettre-form { grid-column: 8 / span 5; }
.rj-lettre-form label { display: block; margin-bottom: .75rem; font: 500 1.0625rem/1.2 var(--sans); color: var(--ink); }
.rj-lettre-form div { display: flex; gap: .5rem; }
.rj-lettre-form input { flex: 1; min-width: 0; height: 3.25rem; padding: 0 1rem; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); font: 400 1.0625rem var(--sans); }
.rj-lettre-form input::placeholder { color: #5b6871; }
.rj-lettre-form input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.rf .rj-lettre-msg { min-height: 1.5rem; margin-top: .75rem; font-size: 1rem; color: var(--ink); }
@media (max-width: 900px) {
  .rj-une { padding: 3rem 0 9rem; }
  .rj-une-art, .rj-ligne, .rj-lettre-in { display: block; }
  .rj-ligne--a .rj-fig img, .rj-ligne--c .rj-fig img { width: 100%; margin: 0; }
  .rj-tous-tete { display: block; }
  .rj-cherche { width: auto; margin-top: 1.5rem; }
  .rj-tous-l a { grid-template-columns: 1fr; row-gap: .25rem; }
  .rj-tous-d { text-align: left; }
  .rj-une-fig { margin: 2.5rem 0 0; }
  .rj-ess-in, .rj-lettre-in { padding: 2rem 1.5rem; }
  .rj-ess ul { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .rj-fig { margin-bottom: 2rem; }
  .rj-lettre-form { margin-top: 2rem; }
}
