/* =========================================================================
   LA BOUTIQUE — épreuves, corrigés, annales, fiches
   =========================================================================
   Elle reprend le langage relevé sur le modèle : bandeau, bande de filtres,
   cartes à bandeau bleu nuit. Cette feuille ne porte que ce qui lui est
   PROPRE — les onglets de nature, la fiche, les prix.
   ========================================================================= */

.btq-chapeau {
  margin: 10px 0 0; max-width: 72ch;
  font-size: 1rem; line-height: 1.5; color: rgba(255, 255, 255, .84);
}

/* --- Les onglets de nature ---------------------------------------------- */

.btq-onglets {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 22px;
}

.btq-onglet {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: var(--r-pleine);
  background: var(--surface); border: 1px solid var(--bord);
  font-size: .86rem; font-weight: 600; color: var(--texte);
  text-decoration: none; white-space: nowrap;
  transition: var(--transition);
}

.btq-onglet:hover { border-color: var(--bleu); color: var(--encre); }

.btq-onglet.actif { background: var(--bleu); border-color: var(--bleu); color: var(--encre); }

.btq-onglet span {
  padding: 0 7px; border-radius: var(--r-pleine);
  background: var(--voile); font-size: .74rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.btq-onglet.actif span { background: rgba(255, 255, 255, .55); }

/* --- Les cartes ---------------------------------------------------------- */

.btq-grille { align-items: stretch; }

.btq-carte { text-decoration: none; }

.btq-etiquettes { display: flex; gap: 6px; flex-wrap: wrap; }

.btq-mesures {
  display: flex; gap: 10px; flex-wrap: wrap; margin: 2px 0 0;
  font-size: .74rem; color: var(--texte-faible);
}

.btq-mesures > span { display: inline-flex; align-items: center; gap: 4px; }
.btq-mesures svg { width: 12px; height: 12px; }

/* Le troc se repère d'un coup d'œil : c'est une façon d'obtenir le document
   SANS payer, et c'est l'information qui change une décision. */
.btq-troc { color: var(--vert); font-weight: 700; }

.btq-prix {
  margin: auto 0 0; padding-top: 8px;
  font-size: 1rem; font-weight: 800; color: var(--encre);
}

.btq-prix-gratuit { color: var(--vert); }

.btq-pagination { margin-top: 22px; }

/* --- La fiche ------------------------------------------------------------ */

.btq-fil { margin-bottom: 16px; font-size: .88rem; }
.btq-fil a { color: var(--texte-doux); text-decoration: none; }
.btq-fil a:hover { color: var(--bleu-fonce); }

.btq-fiche-grille {
  display: grid; gap: 28px;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  align-items: start;
}

.btq-apercu {
  border-radius: var(--r); overflow: hidden;
  background: var(--surface); box-shadow: var(--ombre);
  border: 1px solid var(--bord);
}

.btq-apercu img { display: block; width: 100%; height: auto; }

/* CE QUI MANQUE SE DIT. On n'invente pas une couverture : le cabinet a
   refusé les visuels de substitution. */
.btq-apercu-absent {
  display: grid; place-items: center; gap: 9px;
  min-height: 300px; padding: 24px; text-align: center;
  color: var(--texte-faible);
  font-size: .84rem; font-weight: 600;
}

.btq-apercu-absent svg { opacity: .5; }

.btq-fiche-corps { min-width: 0; }

.btq-nature {
  display: inline-block; padding: 3px 11px; border-radius: var(--r-pleine);
  background: var(--bleu-clair); color: var(--ambre-fonce);
  font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
}

.btq-fiche-corps h1 {
  margin: 12px 0 8px;
  font-family: var(--police-titre);
  font-size: 1.9rem; line-height: 1.18; color: var(--encre);
}

.btq-meta { margin: 0 0 14px; font-size: .9rem; color: var(--texte-doux); }
.btq-presentation { margin: 0 0 16px; font-size: .98rem; line-height: 1.6; color: var(--texte); }

.btq-faits {
  display: flex; gap: 16px; flex-wrap: wrap;
  list-style: none; margin: 0 0 20px; padding: 14px 0;
  border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord);
  font-size: .88rem; color: var(--texte-doux);
}

.btq-faits strong { color: var(--encre); font-weight: 800; }

.btq-action { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btq-prix-grand {
  font-family: var(--police-titre);
  font-size: 1.7rem; font-weight: 700; color: var(--encre);
}

.btq-note { font-size: .82rem; color: var(--texte-faible); }

.btq-suite { margin: 36px 0 18px; }

/* --- Écrans étroits ------------------------------------------------------ */

@media (max-width: 860px) {
  /* L'aperçu passe au-dessus : à côté du texte dans 360 px, les deux
     devenaient illisibles. */
  .btq-fiche-grille { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .btq-fiche-corps h1 { font-size: 1.44rem; }
  .btq-prix-grand { font-size: 1.36rem; }
}

/* --- La section de l'accueil public -------------------------------------- */

.accueil-boutique-chapeau {
  margin: 0 0 20px; max-width: 76ch;
  font-size: .96rem; line-height: 1.55; color: var(--texte-doux);
}

.accueil-boutique-pied { margin-top: 22px; }

/* Le bandeau de la boutique porte une photographie : il lui faut donc sa
   hauteur, et un voile assez dense pour que le titre blanc tienne dessus
   quelle que soit l'image. */
.pro-bandeau-boutique { min-height: 280px; }
