/*
 * dyslexie.css — PsyRisso Desktop
 * Chapeau de la rubrique Dyslexie et dysorthographie (pages/dyslexie/dyslexie.php)
 * Préfixe : dys-   ·   1er août 2026
 * Layout générique (.bande, .cadre, .cadre-lecture) dans layout.css.
 *
 * Limité au chapeau (bandes 1 à 3, jusqu'à "Ce que change un bilan") —
 * les styles des sous-pages (fil d'Ariane, listes, encadrés, étapes,
 * références) seront ajoutés au fur et à mesure de leur construction.
 *
 * Couleurs en dur, reprises telles quelles du mockup source, à
 * remplacer par les variables de palettes.css si des équivalents
 * existent déjà :
 *   #1e4f4c  titre · #5a8a87  accent · #3D5A58  texte
 *   #d4ecea  filet · #CCA15C  doré  · #FAF6EC  sable
 */

/* ── Bande 1 : titre ───────────────────────────────────────── */

.dys-titre {
    margin: 0 0 26px;
}

.dys-h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.26;
    color: #1e4f4c;
    margin: 0 0 8px;
}

.dys-sous {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    /*color: #5a8a87;*/
    font-weight: 600;
    color: #37948e;
    margin: 0 0 16px;
}

.dys-filet {
    width: 54px;
    height: 2px;
    background: #CCA15C;
}

/* ── Bande 1 : texte ───────────────────────────────────────── */

.dys-chapo {
    margin: 0 0 18px;
}

.dys-lead {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.62;
    color: #1e4f4c;
}

.dys-p {
  /* font-size: 15.5px; line-height: 1.72; text-align: justify;
     text-justify: inter-word; hyphens: auto; -- valeurs d'origine */
  font-family: Calibri, Carlito, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #3D5A58;
  margin: 0 0 16px;
}

.dys-p:last-child { margin-bottom: 0; }

/* Le mot cliquable qui ouvre la modale (motif repris de la page HPI) */
.dys-content .modale-trigger {
    border-bottom: 1px dotted #CCA15C;
    cursor: pointer;
}

/* ── Bande 2 : « Explorer la rubrique » ────────────────────── */

.dys-bande-compacte { padding-top: 28px; padding-bottom: 28px; }


.dys-chips-label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #37948e;
    margin: 0 0 16px;
}

.dys-chip-row {
    display: grid;
    gap: 10px;
}

.dys-chip {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 18px;
    border: 1px solid #d4ecea;
    background: #fff;
    text-decoration: none;
    transition: border-color .16s, background .16s;
}

.dys-chip:hover,
.dys-chip:focus-visible {
    border-color: #CCA15C;
    background: #FAF6EC;
}

.dys-chip-num {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    color: #CCA15C;
    flex: 0 0 auto;
    width: 26px;
}

.dys-chip-txt {
    flex: 1 1 auto;
    display: block;
}

.dys-chip-h3 {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16.5px;
    color: #1e4f4c;
    margin: 0 0 3px;
}

.dys-chip-p {
  /* font-size: 13.5px; line-height: 1.55; color: #5a8a87; -- valeurs d'origine */
  font-family: Calibri, Carlito, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #5a8a87;
}
.dys-chip-arw {
    flex: 0 0 auto;
    font-size: 20px;
    color: #CCA15C;
    line-height: 1;
}

/* ── Bande 3 : bloc de clôture ─────────────────────────────── */

.dys-bloc-cadre {
    border-left: 2px solid #CCA15C;
    background: #fff;
    padding: 24px 28px;
}

.dys-cloture-h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 21px;
    color: #1e4f4c;
    margin: 0 0 14px;
}

.dys-ref-inline {
  font-family: Calibri, Carlito, Arial, sans-serif;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #359C95 !important;
  margin-top: 16px !important;
}

.dys-ref-inline a { color: #1e4f4c; text-decoration: none; border-bottom: 1px solid #d4ecea; }
.dys-ref-inline a:hover { border-bottom-color: #CCA15C; }

.dys-note {
  font-family: Calibri, Carlito, Arial, sans-serif;
  font-size: 15px !important;
  color: #3a3a3a !important;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #d4ecea;
}

.dys-note a {
    color: #1e4f4c;
    text-decoration: none;
    border-bottom: 1px solid #d4ecea;
}

.dys-note a:hover { border-bottom-color: #CCA15C; }

/* ── Mobile ────────────────────────────────────────────────── */

@media (max-width: 700px) {
    .dys-h1 { font-size: 25px; }
    .dys-lead { font-size: 16.5px; }
    .dys-p { text-align: left; hyphens: none; }
    .dys-chip { gap: 12px; padding: 13px 15px; }
    .dys-chip-num { width: 22px; font-size: 14px; }
    .dys-chip-h3 { font-size: 15.5px; }
    .dys-bloc-cadre { padding: 20px 18px; }
}

/* ══════════════════════════════════════════════════════════════
   SOUS-PAGES DE LA RUBRIQUE — ajouts du 1er août 2026
   Fil d'Ariane, titres de section, listes, encadrés, étapes.
   ══════════════════════════════════════════════════════════════ */

.dys-fil {
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #5a8a87;
    margin: 0 0 18px;
}

.dys-fil a { color: #5a8a87; text-decoration: none; border-bottom: 1px solid #d4ecea; }
.dys-fil a:hover { color: #1e4f4c; border-bottom-color: #CCA15C; }
.dys-fil span { color: #CCA15C; margin: 0 4px; }

.dys-h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 20px;
    color: #1e4f4c;
    margin: 32px 0 12px;
}

.dys-liste {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.dys-liste li {
  /* font-size: 15px; line-height: 1.68; text-align: justify; hyphens: auto; -- valeurs d'origine */
  font-family: Calibri, Carlito, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #3D5A58;
  position: relative;
  padding: 0 0 12px 22px;
}

.dys-liste li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 9px;
    color: #CCA15C;
}

.dys-liste strong { color: #1e4f4c; }

.dys-encadre {
    background: #FAF6EC;
    border-left: 2px solid #CCA15C;
    padding: 18px 22px;
    margin: 22px 0;
}

.dys-encadre p {
  /* font-size: 14.5px; line-height: 1.66; text-align: justify; hyphens: auto; -- valeurs d'origine */
  font-family: Calibri, Carlito, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #3D5A58;
  margin: 0;
}

.dys-encadre strong { color: #1e4f4c; }

/* ── Les quatre rendez-vous ────────────────────────────────── */

.dys-etapes { margin: 24px 0 8px; }

.dys-etape {
    border-top: 1px solid #d4ecea;
    padding: 20px 0 4px;
}

.dys-etape-num {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #CCA15C;
    margin: 0 0 4px;
}

.dys-etape-nom {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 18px;
    color: #1e4f4c;
    margin: 0 0 10px;
}

.dys-etape-meta {
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 12.5px;
    color: #5a8a87;
    letter-spacing: .02em;
    margin-left: 6px;
}

.dys-etape-sortie {
    font-size: 14px !important;
    color: #5a8a87 !important;
}

/* ── Lien de suite ─────────────────────────────────────────── */

.dys-suite {
    margin: 34px 0 0;
    padding-top: 20px;
    border-top: 1px solid #d4ecea;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
}

.dys-suite a { color: #1e4f4c; text-decoration: none; }
.dys-suite a:hover { color: #CCA15C; }
.dys-suite-arw { color: #CCA15C; margin-left: 4px; }
.dys-suite-fin { font-size: 14px; }

@media (max-width: 700px) {
    .dys-h2 { font-size: 18px; }
    .dys-liste li, .dys-encadre p { text-align: left; hyphens: none; }
    .dys-etape-nom { font-size: 17px; }
    .dys-etape-meta { display: block; margin: 3px 0 0; }
}

/* ── Références en bas de sous-page ────────────────────────── */

.dys-refs {
    margin: 30px 0 0;
    padding: 18px 20px;
    background: #f6fbfa;
    border-left: 2px solid #d4ecea;
}

.dys-refs-titre {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #5a8a87;
    margin: 0 0 10px;
}

.dys-refs ul { list-style: none; margin: 0; padding: 0; }

.dys-refs li {
  /* font-size: 13px; line-height: 1.58; color: #3D5A58; -- valeurs d'origine */
  font-family: Calibri, Carlito, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #359C95;
  padding: 0 0 8px 14px;
  text-indent: -14px;
}

.dys-refs li:last-child { padding-bottom: 0; }

.dys-refs-note {
  /* font-size: 12.5px; line-height: 1.58; color: #5a8a87; -- valeurs d'origine */
  font-family: Calibri, Carlito, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #3a3a3a;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid #d4ecea;
}

/* ── Liens inline dans le texte courant (convention du site) ── */
.ident-test-link { color: var(--dore); text-decoration: underline; text-underline-offset: 2px; }