/* Pages « Pour qui » (/groupes-de-communication/, /grandes-agences/, /erp-sur-mesure/…) : ajoutées pour le GEO,
   sans modèle sur le site actuel. Composants communs dans site.css (entrée, accordéon, prose) ; ici, la mise en page
   « réponse d'abord » : sommaire à gauche, réponse directe, sections en questions. */

.pq-repere { width: 36px; height: 36px; margin-bottom: 18px; }
.pq { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 40px 72px; }
.pq__sommaire { position: sticky; top: calc(var(--entete) + 24px); }
.pq__sommaire-titre { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--texte); }
.pq__sommaire ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: q; border-left: 1px solid var(--trait); }
.pq__sommaire li { counter-increment: q; }
.pq__sommaire a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--texte); }
.pq__sommaire a { transition: color .15s, border-color .15s; }
.pq__sommaire a:hover { border-left-color: var(--encre); color: var(--encre); }
.pq__sommaire a.actif { border-left-color: var(--action); color: var(--encre); }
.pq__corps { display: grid; gap: 56px; max-width: 820px; }

/* ---------- Réponse directe en tête ---------- */
.pq-reponse { padding: 28px 32px; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--papier); }
.pq-reponse p { font-size: 18px; line-height: 1.6; color: var(--encre); }
.pq-reponse p:first-child { font-family: var(--serif); font-size: 22px; line-height: 1.45; }
/* page proposée ("apercu": true), en préprod et sur le poste seulement : points à confirmer avant la prod */
.pq-apercu { display: grid; gap: 10px; padding: 16px 20px; border: 1px dashed #E0B45C; border-radius: var(--rayon); background: #FFFBF0; }
.pq-apercu .marque-apercu { justify-self: start; margin: 0; white-space: normal; }
.pq-apercu ul { display: grid; gap: 6px; margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.5; color: #5C3A00; list-style: disc; }
.pq-maj { margin: 14px 0 0 !important; font-family: var(--sans) !important; font-size: 13px !important; line-height: 1.4 !important; color: var(--texte) !important; }

/* ---------- Sections en questions ---------- */
.pq-section { display: grid; gap: 16px; scroll-margin-top: calc(var(--entete) + 24px); }
.pq-section__titre { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 32px); font-weight: 500; line-height: 1.2; color: var(--encre); }
.pq-section__texte { font-size: 17px; line-height: 1.65; }
.pq-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 4px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--trait); }
.pq-points li { display: flex; align-items: flex-start; gap: 10px; padding-block: 12px; border-bottom: 1px solid var(--trait); font-size: 15px; line-height: 1.55; color: var(--encre); }
.pq-points svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--action); }
.pq-points strong { font-weight: 600; }
.pq-liens { margin: 0; font-size: 14px; color: var(--texte); }
.pq-liens a { color: var(--action); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Citation client ---------- */
/* citation de la page : .citation-client de site.css (blocs/citation.php) */

#faq { scroll-margin-top: var(--entete); }

/* ---------- Sommaire : ouvert sur ordinateur, replié sous 1024 px (site.js, [data-repli]) ---------- */
.pq__repli > summary { list-style: none; cursor: default; }
.pq__repli > summary::-webkit-details-marker { display: none; }

/* ---------- Grille des questions (pages longues, clé "grille") ---------- */
.pq-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pq-grille a { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 10px; padding: 14px 16px; border: 1px solid var(--trait);
  border-radius: 10px; background: var(--fond); font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--encre); transition: border-color .2s; }
.pq-grille a:hover { border-color: var(--encre); }
.pq-grille__num { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1; color: var(--action); }

/* ---------- Écrans réels entre les sections ---------- */
.pq-ecran { justify-self: stretch; max-width: none; }

@media (max-width: 1024px) {
  .pq { grid-template-columns: 1fr; }
  .pq__sommaire { position: static; }
  .pq__repli { padding: 12px 16px; border: 1px solid var(--trait); border-radius: 10px; background: var(--papier); }
  .pq__repli > summary { display: flex; align-items: center; justify-content: space-between; margin: 0; cursor: pointer; }
  .pq__repli > summary::after { content: "+"; font-size: 18px; font-weight: 400; letter-spacing: 0; color: var(--encre); }
  .pq__repli[open] > summary { margin-bottom: 10px; }
  .pq__repli[open] > summary::after { content: "−"; }
  .pq-grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .pq-grille { grid-template-columns: 1fr; }
  .pq-reponse { padding: 20px; }
  .pq-reponse p:first-child { font-size: 19px; }
  .pq-points { grid-template-columns: 1fr; }
}

/* Pages d'ensemble des rubriques du menu (app/pages/rubrique.php) */
.rubrique { display: grid; gap: 48px; }
.rubrique__groupe { display: grid; gap: 16px; }
.rubrique__titre { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--trait); font-family: var(--sans); font-size: 13px; font-weight: 600; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--texte); }

/* page Tarifs : budgets indicatifs par taille d'agence, symbole du logo qui se remplit avec la taille */
.pq-budgets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0 8px; }
.pq-budget { display: grid; align-content: start; gap: 8px; }
.pq-budget .carte__titre { margin: 6px 0 0; font-family: var(--sans); font-size: 18px; font-weight: 600; line-height: 1.35; }
.pq-budget__taille { margin: 0; font-size: 15px; line-height: 1.5; }
.pq-budget__prix { margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--trait); font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.25; color: var(--encre); }
.a-fixer { padding: 0 4px; border-radius: 4px; background: #FFF1C2; color: var(--encre); }
@media (max-width: 1024px) { .pq-budgets { grid-template-columns: 1fr; } }
