/**
 * PB Dossiers — affichage sur le site.
 *
 * Aucune couleur de texte n'est imposée : tout hérite du thème. Seules les
 * variables ci-dessous posent le fond des cartes et leur cadre, calculés à
 * partir du fond de la page.
 */

/* Certains thèmes redéfinissent l'affichage des éléments et annulent
   l'attribut hidden : sans cette règle, les deux sections s'affichent
   ensemble au chargement. */
.pbdos [hidden] {
	display: none !important;
}

.pbdos {
	--pbdos-teinte: #eadfc2;
	--pbdos-intensite: 10%;
	--pbdos-fond-page: #fff;
	--pbdos-cadre: rgba(75, 67, 31, .16);
	--pbdos-accent: currentColor;
	--pbdos-or: #b59f49;
	--pbdos-discret: rgba(0, 0, 0, .6);
	--pbdos-angle: -28deg;

	margin: 2em 0;
}

/* Secteurs touchés, sous l'introduction de la page. */
.pbdos-secteurs {
	margin: 0 0 1.6em;
	font-size: .95em;
	color: var(--pbdos-discret);
}

/* ==========================================================================
   ONGLETS DES SECTIONS
   ========================================================================== */

.pbdos-onglets {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 2em;
}

.pbdos-onglet {
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--pbdos-cadre);
	border-radius: 2px;
	background: color-mix(in srgb, var(--pbdos-teinte) 30%, var(--pbdos-fond-page));
	color: inherit;
	font: inherit;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .2s ease-out, color .2s ease-out;
}

.pbdos-onglet:hover {
	background: color-mix(in srgb, var(--pbdos-teinte) 55%, var(--pbdos-fond-page));
}

.pbdos-onglet-actif,
.pbdos-onglet[aria-selected="true"] {
	background: var(--pbdos-teinte);
	font-weight: 700;
}

.pbdos-onglet:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.pbdos-section-titre {
	margin: 0 0 1em;
}

/* ==========================================================================
   LISTE PAR TYPE
   ==========================================================================
   Le nom du type occupe une marge à gauche, les dossiers le reste de la
   largeur : les titres longs tiennent alors sur une ligne, et l'œil descend
   la marge pour trouver un type.
   ========================================================================== */

.pbdos-colonnes {
	margin-bottom: 2.4em;
}

.pbdos-colonne {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 0 52px;
	align-items: start;
	margin: 0 0 32px;
}

/* Le thème habille les h3 de la page : ces règles reprennent la main sur la
   taille, la graisse et la couleur, sinon le label écrase la liste. */
.pbdos .pbdos-colonne h3 {
	margin: 2px 0 0;
	padding: 0;
	text-align: right;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--pbdos-discret);
}

.pbdos .pbdos-colonne h3::before,
.pbdos .pbdos-colonne h3::after {
	content: none;
}

.pbdos .pbdos-colonne ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pbdos .pbdos-colonne li {
	position: relative;
	margin: 0 0 .5em;
	padding-left: 14px;
	line-height: 1.5;
	max-width: 68ch;
	list-style: none;
}

.pbdos .pbdos-colonne li::marker {
	content: "";
}

/* Un bouton, non un lien : le thème détourne les liens à ancre et remonte
   en haut de la page à leur place. Il garde l'allure d'un lien. */
.pbdos .pbdos-vers-carte {
	appearance: none;
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid transparent;
	border-radius: 0;
	background: none;
	font: inherit;
	line-height: inherit;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

.pbdos .pbdos-vers-carte:hover,
.pbdos .pbdos-vers-carte:focus-visible {
	border-bottom-color: var(--pbdos-or);
	background: none;
	color: inherit;
}

/* Un dossier dont la carte se trouve plus bas : sans repère, on ne sait pas
   que la ligne mène quelque part. */
.pbdos .pbdos-vers-carte::after {
	content: "\2193";
	margin-left: 6px;
	font-size: .8em;
	color: var(--pbdos-or);
}

.pbdos .pbdos-colonne li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .62em;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--pbdos-or);
}

.pbdos-colonne a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.pbdos-colonne a:hover,
.pbdos-colonne a:focus-visible {
	border-bottom-color: var(--pbdos-or);
}

/* Retour à la liste, en bas à droite de la carte : après un saut vers le
   bas, on doit pouvoir revenir à l'endroit exact d'où l'on vient. */
.pbdos-carte {
	position: relative;
}

/* Un bouton, non un lien : le thème détourne les liens à ancre et impose
   son propre défilement. */
.pbdos-retour {
	position: absolute;
	z-index: 3;
	appearance: none;
	background: none;
	padding: 0;
	cursor: pointer;
	right: 14px;
	bottom: 12px;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: 50%;
	color: var(--pbdos-discret);
	text-decoration: none;
	opacity: .45;
	transition: opacity .2s ease-out, color .2s ease-out, border-color .2s ease-out;
}

.pbdos-retour svg {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Le cercle n'apparaît qu'au survol : au repos, seule la flèche se devine. */
.pbdos-carte:hover .pbdos-retour {
	opacity: 1;
	border-color: var(--pbdos-cadre);
}

.pbdos-retour:hover,
.pbdos-retour:focus-visible {
	opacity: 1;
	color: var(--pbdos-or);
	border-color: var(--pbdos-or);
}

/* La ligne retrouvée se signale comme la carte. */
.pbdos-ligne-visee {
	box-shadow: -14px 0 0 -10px var(--pbdos-or);
}

/* La carte atteinte se signale un instant : sans repère, on ne sait pas
   laquelle des cartes on vient d'atteindre. */
/* Le navigateur place lui-même la cible sous l'en-tête fixe : cette marge
   est la seule chose dont il a besoin. */
/* Marge laissée au-dessus de la cible quand on l'atteint : elle tient compte
   des bandeaux fixes du thème et de la barre d'administration. */
.pbdos,
.pbdos-onglets,
.pbdos-carte,
.pbdos-colonne li {
	scroll-margin-top: 100px;
}

.admin-bar .pbdos,
.admin-bar .pbdos-onglets,
.admin-bar .pbdos-carte,
.admin-bar .pbdos-colonne li {
	scroll-margin-top: 132px;
}

.pbdos-carte-visee {
	box-shadow: 0 0 0 2px var(--pbdos-or);
	transition: box-shadow .3s ease-out;
}

/* Un dossier dont la carte se trouve plus bas : le lecteur doit savoir que
   le lien mène quelque part. */
.pbdos-avec-carte a::after {
	content: "\2193";
	margin-left: 6px;
	font-size: .8em;
	color: var(--pbdos-or);
}

/* ==========================================================================
   CARTES
   ========================================================================== */

.pbdos-cartes {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* Intertitre de type, discret : une suite de cartes de types différents
   deviendrait illisible sans repère. */
.pbdos-groupe {
	margin: 1em 0 0;
	font-size: .8em;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--pbdos-discret);
}

.pbdos-carte {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 8px 44px;
	align-items: center;
	padding: 32px 36px;
	background: color-mix(in srgb, var(--pbdos-teinte) var(--pbdos-intensite), var(--pbdos-fond-page));
	border: 1px solid var(--pbdos-cadre);
	border-radius: 3px;
}

/* La colonne du visuel s'ajuste au mode : une couverture verticale demande
   de la hauteur, deux captures paysage demandent de la largeur. La page
   complète, elle, occupe toujours la carte entière. */
.pbdos-carte-web {
	grid-template-columns: minmax(0, 1fr) 340px;
}

.pbdos-carte-app {
	grid-template-columns: minmax(0, 1fr) 280px;
}

.pbdos-carte-logiciel {
	grid-template-columns: minmax(0, 1fr) 530px;
}

.pbdos-carte-sans-visuel {
	grid-template-columns: minmax(0, 1fr);
}

.pbdos-carte h3 {
	margin: 0 0 .6em;
	line-height: 1.3;
}

.pbdos-carte p {
	margin: 0 0 .8em;
	line-height: 1.7;
	max-width: 68ch;
}

/* La page complète occupe toute la carte : la mesure du résumé, calée sur sa
   colonne, la laissait à mi-largeur. */
.pbdos-carte .pbdos-page-complete p {
	max-width: none;
}

.pbdos-meta {
	margin-top: 1em !important;
	font-size: .85em;
	color: var(--pbdos-discret);
}

.pbdos-meta i {
	font-style: normal;
	margin: 0 .5em;
	opacity: .6;
}

.pbdos-liens {
	display: flex;
	flex-wrap: wrap;
	gap: 1.4em;
	align-items: center;
}

.pbdos-deplier {
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.pbdos-lien-site {
	font-weight: 700;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

/* Hors des colonnes : un texte long lu dans la colonne du résumé double la
   hauteur de la carte. La mesure reste limitée pour rester lisible. */
.pbdos-carte .pbdos-page-complete {
	grid-column: 1 / -1;
}

/* Sans cette limite, la colonne du visuel réserve toute la hauteur de la
   carte et laisse un grand vide dès que le texte se déplie. */
.pbdos-colonne-visuel {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
	width: 100%;
	align-self: start;
	height: fit-content;
}

.pbdos-colonne-visuel > .pbdos-scene {
	width: 100%;
}

.pbdos-colonne-visuel .pbdos-fenetres {
	margin: 0 auto;
}

.pbdos-actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 0;
}

.pbdos-action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border: 1px solid var(--pbdos-cadre);
	border-radius: 4px;
	background: none;
	font: inherit;
	font-size: .82em;
	line-height: 1.3;
	color: var(--pbdos-discret);
	cursor: pointer;
	transition: color .2s ease-out, border-color .2s ease-out;
}

.pbdos-action:hover,
.pbdos-action:focus-visible,
.pbdos-action-active {
	color: var(--pbdos-or);
	border-color: var(--pbdos-or);
}

/* ==========================================================================
   PAGE COMPLÈTE
   ========================================================================== */

/* Ni filet ni grand espace : le texte suit le lien qui vient de l'ouvrir. */
.pbdos-page-complete {
	margin-top: .2em;
}

/* ==========================================================================
   LIVRE 3D
   ========================================================================== */

.pbdos-scene {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 340px;
}

.pbdos-perspective {
	position: relative;
	z-index: 1;
	perspective: 1100px;
	-webkit-box-reflect: below 4px linear-gradient(transparent 72%, rgba(255, 255, 255, .22));
}

.pbdos-ombre {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 200px;
	height: 26px;
	margin-left: -84px;
	margin-top: 120px;
	background: rgba(46, 38, 12, .36);
	filter: blur(13px);
	border-radius: 50%;
}

.pbdos-livre {
	position: relative;
	width: 190px;
	height: 269px;
	transform-style: preserve-3d;
	transform: rotateY(var(--pbdos-angle));
	transition: transform .35s ease-out;
}

.pbdos-carte:hover .pbdos-livre {
	transform: rotateY(-18deg);
}

.pbdos-dos {
	position: absolute;
	inset: 0;
	transform: translateZ(-12px);
	background: #2b2712;
}

/* Tranche des pages : posée sur le bord droit, tournée d'un quart de tour. */
.pbdos-tranche {
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: 178px;
	width: 24px;
	transform: rotateY(90deg);
	background: repeating-linear-gradient(90deg, #f6f3ea 0 2px, #dad3bf 2px 3px);
}

.pbdos-couverture {
	position: absolute;
	inset: 0;
	transform: translateZ(12px);
	overflow: hidden;
	border-radius: 1px 3px 3px 1px;
	box-shadow: inset 6px 0 0 rgba(0, 0, 0, .16), inset 7px 0 0 rgba(255, 255, 255, .12);
	background: #4b431f;
}

.pbdos-couverture img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Ombre et reflet, au choix dans les réglages. */
.pbdos-effet-reflet .pbdos-ombre {
	display: none;
}

.pbdos-effet-ombre .pbdos-perspective {
	-webkit-box-reflect: none;
}

/* ==========================================================================
   MODE WEB : CAPTURE DANS UN NAVIGATEUR
   ========================================================================== */

.pbdos-scene-web {
	perspective: 1400px;
}

.pbdos-navigateur {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 320px;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 0 1px var(--pbdos-cadre), 0 22px 44px -20px rgba(46, 38, 12, .5);
	transform: rotateY(var(--pbdos-angle)) rotateX(5deg);
	transition: transform .5s cubic-bezier(.2, .8, .2, 1);
	-webkit-box-reflect: below 6px linear-gradient(transparent 80%, rgba(255, 255, 255, .18));
}

.pbdos-carte:hover .pbdos-navigateur {
	transform: rotateY(-3deg) rotateX(1deg);
}

/* Barre du navigateur : les tons clairs de Chrome, sans pastilles macOS. */
.pbdos-chrome {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 32px;
	padding: 0 9px;
	background: #f9f9f9;
	border-bottom: 1px solid #e4e4e4;
	color: #3c4043;
}

.pbdos-chrome svg {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pbdos-chrome-pale {
	opacity: .3;
}

.pbdos-chrome-url {
	flex: 1;
	min-width: 0;
	padding: 4px 10px;
	background: #f1f1f1;
	border-radius: 12px;
	font-size: 10px;
	line-height: 1.3;
	color: #3c4043;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pbdos-chrome-droite {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-shrink: 0;
}

/* Le rond du compte reste neutre : une initiale attirerait l'œil plus que
   la capture elle-même. */
.pbdos-chrome-compte {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #dadce0;
}

.pbdos-chrome-points {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pbdos-chrome-points i {
	width: 2.5px;
	height: 2.5px;
	border-radius: 50%;
	background: #3c4043;
}

.pbdos-ecran {
	position: relative;
	height: 200px;
	overflow: hidden;
}

.pbdos-page-site {
	transition: transform 7s cubic-bezier(.45, 0, .55, 1);
}

.pbdos-page-site img {
	display: block;
	width: 100%;
	height: auto;
}

/* La capture remonte au survol : une page entière se parcourt sans quitter
   la carte. */
.pbdos-effets-web .pbdos-carte:hover .pbdos-page-site {
	transform: translateY(calc(-100% + 200px));
}

.pbdos-ecran::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .38) 50%, transparent 62%);
	transform: translateX(-110%);
	transition: transform .9s ease-out;
	pointer-events: none;
}

.pbdos-reflet-web .pbdos-carte:hover .pbdos-ecran::after {
	transform: translateX(110%);
}

.pbdos-indice {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 2;
	padding: 4px 8px;
	border-radius: 10px;
	background: rgba(31, 29, 22, .62);
	color: #fff;
	font-size: 10px;
	letter-spacing: .5px;
	transition: opacity .3s ease-out;
}

.pbdos-carte:hover .pbdos-indice {
	opacity: 0;
}

/* ==========================================================================
   MODE APP : CAPTURE DANS UN TÉLÉPHONE
   ========================================================================== */

.pbdos-scene-app {
	perspective: 1200px;
}

.pbdos-telephone {
	position: relative;
	z-index: 1;
	width: 170px;
	padding: 10px 8px;
	border-radius: 22px;
	background: #1d2327;
	box-shadow: 0 22px 40px -20px rgba(46, 38, 12, .6);
	transform: rotateY(var(--pbdos-angle));
	transition: transform .5s cubic-bezier(.2, .8, .2, 1);
	-webkit-box-reflect: below 6px linear-gradient(transparent 80%, rgba(255, 255, 255, .16));
}

.pbdos-carte:hover .pbdos-telephone {
	transform: rotateY(-6deg);
}

.pbdos-telephone-ecran {
	height: 290px;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}

.pbdos-telephone-ecran img {
	display: block;
	width: 100%;
	height: auto;
}

/* ==========================================================================
   GALERIE : MOSAÏQUE ET VISIONNEUSE
   ========================================================================== */

.pbdos-scene-mosaique {
	perspective: 1500px;
}

.pbdos-mosaique {
	display: grid;
	grid-template-columns: repeat(3, 78px);
	gap: 12px;
	transform-style: preserve-3d;
	transform: rotateX(32deg) rotateZ(-12deg);
	transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.pbdos-carte:hover .pbdos-mosaique {
	transform: rotateX(18deg) rotateZ(-6deg);
}

.pbdos-mini {
	border-radius: 5px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 0 1px var(--pbdos-cadre), 0 14px 22px -12px rgba(46, 38, 12, .55);
	transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.pbdos-carte:hover .pbdos-mini:nth-child(odd) {
	transform: translateZ(26px);
}

.pbdos-carte:hover .pbdos-mini:nth-child(even) {
	transform: translateZ(12px);
}

.pbdos-mini-chrome {
	display: flex;
	gap: 3px;
	align-items: center;
	height: 10px;
	padding: 0 5px;
	background: #efebe1;
}

.pbdos-mini-chrome i {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #cfc6ae;
}

.pbdos-mini img {
	display: block;
	width: 100%;
	height: 52px;
	object-fit: cover;
	object-position: top center;
}

/* Les captures n'apparaissent pas dans la page : elles ne servent qu'à
   nourrir la visionneuse, qui les affiche en grand. */
.pbdos-captures {
	display: none !important;
}

.pbdos-visionneuse {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(20, 18, 10, .82);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.pbdos-visionneuse[hidden] {
	display: none;
}

.pbdos-visionneuse-boite {
	width: 100%;
	max-width: 1100px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pbdos-visionneuse-barre {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #f3efe3;
}

.pbdos-visionneuse-titre {
	flex: 1;
	min-width: 0;
}

.pbdos-visionneuse-titre strong {
	display: block;
	font-size: 1.05em;
}

.pbdos-visionneuse-titre span {
	font-size: .85em;
	color: #cfc7ae;
}

.pbdos-visionneuse-titre a {
	color: #e9d48a;
	font-weight: 700;
	margin-left: 12px;
}

.pbdos-visionneuse button {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(243, 239, 227, .35);
	background: rgba(243, 239, 227, .08);
	color: #f3efe3;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.pbdos-visionneuse button:hover {
	background: rgba(243, 239, 227, .2);
}

.pbdos-visionneuse-cadre {
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
	max-height: 76vh;
	overflow-y: auto;
}

.pbdos-visionneuse-cadre img {
	display: block;
	width: 100%;
	height: auto;
}

/* ==========================================================================
   MODE APPLICATION : DEUX FENÊTRES PAR LOT
   ========================================================================== */

.pbdos-scene-logiciel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.pbdos-fenetres {
	position: relative;
	width: 100%;
	max-width: 510px;
	aspect-ratio: 16 / 9;
	perspective: 820px;
}

/* Le halo reste presque blanc : construit sur la teinte dorée des cartes,
   il formait une tache autour des fenêtres. */
.pbdos-halo {
	position: absolute;
	inset: 0;
	border-radius: 12px;
	background: radial-gradient(120% 90% at 78% 22%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .45) 55%, transparent 100%);
}

.pbdos-lot {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform-style: preserve-3d;
	transform: rotateY(var(--pbdos-angle-app, -22deg)) rotateX(6deg);
	transition: opacity .6s ease-out, transform .5s cubic-bezier(.2, .8, .2, 1);
	pointer-events: none;
}

.pbdos-lot-actif {
	opacity: 1;
}

.pbdos-carte:hover .pbdos-lot {
	transform: rotateY(-5deg) rotateX(1deg);
}

.pbdos-fenetre {
	position: absolute;
	border-radius: 9px;
	overflow: hidden;
	background: #fff;
}

.pbdos-fenetre-arriere {
	right: 1%;
	top: 8%;
	width: 60%;
	box-shadow: 0 22px 38px -20px rgba(46, 38, 12, .55);
}

.pbdos-fenetre-avant {
	left: 3%;
	bottom: 12%;
	width: 54%;
	box-shadow: 0 26px 40px -18px rgba(46, 38, 12, .6);
}

/* Une seule capture : elle occupe le cadre, centrée. */
.pbdos-fenetre-seule {
	right: auto;
	left: 50%;
	top: 50%;
	bottom: auto;
	width: 74%;
	transform: translate(-50%, -50%);
}

.pbdos-fenetre-barre {
	display: flex;
	align-items: center;
	gap: 5px;
	height: 18px;
	padding: 0 8px;
	background: #fafafa;
	border-bottom: 1px solid #eee;
}

.pbdos-fenetre-barre i {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #dcdcdc;
	flex-shrink: 0;
}

.pbdos-fenetre-url,
.pbdos-fenetre-nom {
	flex: 1;
	min-width: 0;
	font-size: 8px;
	line-height: 1.4;
	color: #6b6b6b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pbdos-fenetre-url {
	padding: 2px 6px;
	background: #f2f2f2;
	border-radius: 6px;
}

.pbdos-fenetre-nom {
	font-weight: 600;
	text-align: center;
}

.pbdos-fenetre img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 164px;
	object-fit: cover;
	object-position: top center;
}

.pbdos-points {
	display: flex;
	justify-content: center;
	gap: 7px;
}

.pbdos-point {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--pbdos-or) 35%, transparent);
	cursor: pointer;
	transition: background .25s ease-out, transform .25s ease-out;
}

.pbdos-point:hover {
	transform: scale(1.25);
}

.pbdos-point-actif {
	background: var(--pbdos-or);
}

/* ==========================================================================
   CHARGEMENT DES VIGNETTES
   ==========================================================================
   Le cadre est dessiné à sa taille définitive, parcouru d'un reflet, et
   l'image le remplace sans rien déplacer.
   ========================================================================== */

.pbdos-couverture,
.pbdos-ecran,
.pbdos-telephone-ecran,
.pbdos-mini {
	position: relative;
	background: #efebe1;
	overflow: hidden;
}

.pbdos-couverture::after,
.pbdos-ecran::before,
.pbdos-telephone-ecran::after,
.pbdos-mini::after {
	content: "";
	position: absolute;
	inset: 0;
	width: 60%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
	animation: pbdos-glisse 1.4s infinite;
	pointer-events: none;
}

/* Une image chargée efface le reflet : la classe est posée par le script. */
.pbdos-chargee::after,
.pbdos-chargee::before {
	content: none;
}

@keyframes pbdos-glisse {
	from {
		transform: translateX(-100%);
	}

	to {
		transform: translateX(200%);
	}
}

/* ==========================================================================
   ADAPTATION AUX ÉCRANS
   ========================================================================== */

@media (max-width: 782px) {
	.pbdos-carte,
	.pbdos-carte-web,
	.pbdos-carte-app,
	.pbdos-carte-logiciel {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		padding: 20px;
	}

	/* Le visuel passe au-dessus du texte : sur téléphone, c'est lui qui
	   annonce le dossier. */
	.pbdos-carte .pbdos-scene {
		order: -1;
		min-height: 300px;
	}

	.pbdos-livre {
		width: 166px;
		height: 235px;
	}

	.pbdos-tranche {
		left: 156px;
		width: 20px;
	}

	.pbdos-dos {
		transform: translateZ(-10px);
	}

	.pbdos-couverture {
		transform: translateZ(10px);
	}

	.pbdos-ombre {
		width: 180px;
		margin-left: -76px;
		margin-top: 104px;
	}

	.pbdos-onglet {
		flex: 1;
	}

	.pbdos-navigateur {
		max-width: 280px;
	}

	.pbdos-ecran {
		height: 175px;
	}

	.pbdos-effets-web .pbdos-carte:hover .pbdos-page-site {
		transform: translateY(calc(-100% + 175px));
	}

	.pbdos-telephone {
		width: 150px;
	}

	.pbdos-telephone-ecran {
		height: 250px;
	}

	.pbdos-mosaique {
		grid-template-columns: repeat(3, 62px);
		gap: 9px;
	}

	.pbdos-fenetres {
		max-width: 300px;
	}

	.pbdos-fenetre img {
		max-height: 96px;
	}

	/* Le bouton de retour reprend sa place dans le flux : en absolu, il
	   recouvrirait le visuel. */
	.pbdos-retour {
		position: static;
		margin-top: 10px;
		opacity: 1;
	}

	.pbdos-colonne {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.pbdos .pbdos-colonne h3 {
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pbdos-livre,
	.pbdos-onglet,
	.pbdos-navigateur,
	.pbdos-telephone,
	.pbdos-page-site,
	.pbdos-mosaique,
	.pbdos-mini,
	.pbdos-lot,
	.pbdos-ecran::after {
		transition: none;
	}

	.pbdos-carte:hover .pbdos-livre {
		transform: rotateY(var(--pbdos-angle));
	}

	.pbdos-carte:hover .pbdos-page-site {
		transform: none;
	}

	.pbdos-indice {
		display: none;
	}

	.pbdos-couverture::after,
	.pbdos-ecran::before,
	.pbdos-telephone-ecran::after,
	.pbdos-mini::after {
		animation: none;
		opacity: .35;
	}
}

/* ==========================================================================
   PAGE COMPLÈTE : SOUS-TITRES, PUCES ET GRAS
   ==========================================================================
   Quatre styles seulement, dessinés par le site : les textes se ressemblent
   d'une carte à l'autre, quelle que soit la main qui les a écrits.
   ========================================================================== */

/* Un sous-titre ne doit pas concurrencer le titre de la carte : à peine
   plus grand que le texte, le gras et la couleur suffisent à le poser. */
.pbdos-page-complete > h5 {
	margin: 1.9em 0 .5em !important;
	padding: 0 !important;
	font-family: inherit !important;
	font-size: 1.06em !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
	line-height: 1.45 !important;
	text-transform: none !important;
	color: var(--pbdos-or) !important;
}

.pbdos-page-complete > h5:first-child {
	margin-top: 0 !important;
}

/* Les listes gardent les puces du thème : rien n'est redessiné ici. */
.pbdos-page-complete ul {
	margin: 0 0 1.2em;
}

.pbdos-page-complete li {
	margin: 0 0 .5em;
	line-height: 1.7;
}

.pbdos-page-complete strong {
	font-weight: 700;
	color: var(--pbdos-brun, inherit);
}
