/* ==========================================================================
   Page « Pourquoi RFH ? » (/pourquoi-rfh/) : styles propres à cette page, chargés seulement par elle.
   Réutilise les variables et composants de style.css (sections, accordéon, boutons, liens d'action, fil d'Ariane, phrase forte, accroche).
   Page typographique (aucune image). Conçue d'abord pour 375 px, contrôlée à 320 px. Le bordeaux est réservé au bouton
   « Étudier mon projet ». Chaque bloc a sa propre présentation (pas de cartes identiques à répétition).
   Aucune animation : seules les transitions de couleur, de contour et de fond du site (120 ms), absentes sous prefers-reduced-motion.
   ========================================================================== */

/* Repères communs */
.pq-bloc .bloc-entete {
  margin-bottom: var(--s-6);
}

/* Réponse directe en début de bloc (rôle, sélection, rôle et responsabilités) */
.pq-reponse {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--c-texte);
}

.pq-sous-titre {
  max-width: 46rem;
  margin-bottom: var(--s-4);
  font-weight: var(--fw-demi);
  color: var(--c-marine);
}

.pq-reassurance {
  max-width: 34rem;
  font-size: 0.9375rem;
  color: var(--c-texte-doux);
}

.pq-appel {
  display: grid;
  justify-items: start;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

/* Liens secondaires (flèche dessinée par .lien-action) : zone tactile d'au moins 44 px */
.pq-liens {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--s-6);
  margin-top: var(--s-6);
}

.pq-lien a {
  display: inline-flex;
  align-items: center;
  min-height: var(--cible-min);
}

.pq-bloc .phrase-forte {
  margin-top: var(--s-7);
}

@media (max-width: 37.4375rem) {
  .pq-appel {
    justify-items: stretch;
  }

  .pq-appel .bouton {
    width: 100%;
  }
}

/* ---------- B1 : introduction typographique ---------- */
.pq-intro__entete {
  max-width: 50rem;
  margin-bottom: 0;
}

.pq-intro h1 {
  max-width: 24ch;
}

.pq-intro .page__intro {
  max-width: 44rem;
}

/* ---------- B2 : quatre dimensions (grille 2 × 2 dès la tablette, filet bleu, sans ombre) ---------- */
.pq-dimensions {
  display: grid;
  gap: var(--s-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pq-dimensions li {
  padding: var(--s-4) var(--s-5);
  border: var(--bordure);
  border-radius: var(--r-carte);
  background: var(--c-fond);
}

.pq-dimensions strong,
.pq-benefices strong,
.pq-principes strong {
  font-weight: var(--fw-titre);
  color: var(--c-marine);
}

@media (min-width: 48rem) {
  .pq-dimensions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-4);
  }
}

/* ---------- B3 : quatre bénéfices (liste à filets, une colonne de lecture) ---------- */
.pq-benefices {
  max-width: 46rem;
  margin: 0;
  padding: 0;
  border-top: var(--bordure);
  list-style: none;
}

/* Le libellé en gras et son explication restent une seule phrase continue ; le trait d'accent est placé à gauche */
.pq-benefices li {
  position: relative;
  padding: var(--s-4) 0 var(--s-4) 1.75rem;
  border-bottom: var(--bordure);
}

/* Petit trait d'accent, décoratif (non lu) */
.pq-benefices li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--s-4) + 0.8em);
  width: 1rem;
  height: 2px;
  background: var(--c-marine);
}

/* ---------- B4 : trois principes (trois colonnes sur grand écran, fond blanc sur le bleu pâle de la section) ---------- */
.pq-principes {
  display: grid;
  gap: var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pq-principes li {
  padding: var(--s-5);
  border: var(--bordure);
  border-radius: var(--r-carte);
  background: var(--c-fond);
}

.pq-precision {
  max-width: 44rem;
  margin-top: var(--s-5);
  color: var(--c-texte-doux);
}

@media (min-width: 64rem) {
  .pq-principes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-5);
  }
}

/* ---------- B5 : critères de sélection (encadré au trait), limite ---------- */
.pq-criteres {
  max-width: 46rem;
  padding: var(--s-5);
  border: var(--bordure);
  border-radius: var(--r-carte);
  background: var(--c-fond-alt);
}

.pq-criteres__liste {
  display: grid;
  gap: var(--s-2);
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: var(--fw-medium);
}

.pq-criteres__liste li {
  display: grid;
  grid-template-columns: 0.5rem minmax(0, 1fr);
  column-gap: var(--s-3);
  align-items: baseline;
}

/* Puce carrée marine, décorative (non lue) */
.pq-criteres__liste li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--c-marine);
  transform: translateY(-0.1em);
}

.pq-criteres__retenir {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: var(--bordure);
  color: var(--c-texte-doux);
}

.pq-limite {
  max-width: 46rem;
  margin-top: var(--s-6);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-carte);
  background: var(--c-marine-pale);
  font-weight: var(--fw-medium);
  color: var(--c-marine);
}

/* ---------- B6 : expérience (bloc court, centré) ; la phrase reste une phrase, aucun chiffre agrandi ---------- */
.pq-experience .conteneur {
  display: grid;
  gap: var(--s-4);
  text-align: center;
  justify-items: center;
}

.pq-experience__phrase {
  max-width: 40rem;
  font-family: var(--f-titre);
  font-size: var(--fs-accent);
  font-weight: var(--fw-titre);
  line-height: 1.3;
  color: var(--c-marine);
}

.pq-experience .pq-experience__phrase + p {
  max-width: 36rem;
  color: var(--c-texte-doux);
}

/* ---------- B7 : questions et réponses (liste de définitions), statut et liberté de choix ---------- */
.pq-questions {
  display: grid;
  gap: var(--s-4);
  max-width: 46rem;
  margin: 0;
}

.pq-questions__item {
  padding: var(--s-5);
  border: var(--bordure);
  border-radius: var(--r-carte);
}

.pq-questions dt {
  margin-bottom: var(--s-2);
  font-family: var(--f-titre);
  font-size: var(--fs-h3);
  font-weight: var(--fw-titre);
  line-height: 1.3;
  color: var(--c-marine);
}

.pq-questions dd {
  margin: 0;
}

.pq-transparence {
  max-width: 46rem;
  margin-top: var(--s-6);
  padding: var(--s-5);
  border-radius: var(--r-carte);
  background: var(--c-fond-alt);
}

.pq-transparence p + p {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: var(--bordure);
}

/* ---------- B8 : accordéon du site ; la situation est un H3 dans le résumé ---------- */
.pq-faq__question {
  font: inherit;
  color: inherit;
}

/* ---------- B9 : conclusion ---------- */
.pq-final {
  padding-block: calc(var(--s-section) * 1.1);
}

.pq-final__contenu {
  display: grid;
  justify-items: center;
  gap: var(--s-4);
  text-align: center;
}

.pq-final__contenu > p {
  max-width: 38rem;
}

.pq-final__appel {
  display: grid;
  justify-items: center;
  gap: var(--s-3);
  margin-top: var(--s-3);
}

@media (max-width: 37.4375rem) {
  .pq-final__appel {
    justify-items: stretch;
    width: 100%;
  }

  .pq-final__appel .bouton {
    width: 100%;
  }
}
