/* Page "Logiciels" (nos-services/logiciels.php) - design plat, sans dégradé ni ombre */
.lg-intro {
	max-width: 760px;
	margin: 0 0 24px;
	font-size: 1.1em;
}

/* ---- Présentation ---- */
.lg-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px;
	padding: 30px;
	background: #f2f2f2;
	border-top: 3px solid #21409a;
}
.lg-hero-text {
	flex: 1 1 380px;
	min-width: 0;
}
.lg-title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 12px;
}
.lg-title h3 {
	margin: 0;
	font-size: 2.2em;
	line-height: 1.1;
	color: #21409a;
}
.lg-version {
	margin: 4px 0 0;
	font-size: 13px;
	color: #666666;
}
.lg-tagline {
	margin: 0 0 10px;
	font-size: 1.45em;
	line-height: 1.3;
	color: #333333;
}
.lg-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 22px;
	padding: 0;
	list-style: none;
}
.lg-badges li {
	padding: 5px 12px;
	background: #ffffff;
	border: 1px solid #21409a;
	border-radius: 14px;
	color: #21409a;
	font-size: 13px;
	font-weight: 700;
}

/* Bouton de téléchargement */
.lg-download {
	display: inline-grid;
	grid-template-columns: auto 1fr;
	column-gap: 14px;
	align-items: center;
	max-width: 100%;
	padding: 14px 24px;
	background: #2e7d32;
	border-radius: 6px;
	color: #ffffff;
	text-decoration: none;
	transition: background-color .2s ease;
}
.lg-download:hover,
.lg-download:focus {
	background: #1b5e20;
	color: #ffffff;
	text-decoration: none;
}
.lg-download i {
	grid-row: 1 / span 2;
	font-size: 30px;
}
.lg-download-main {
	font-size: 1.25em;
	font-weight: 700;
	line-height: 1.2;
}
.lg-download-sub {
	font-size: 13px;
	opacity: .9;
}
.lg-unavailable {
	padding: 12px 16px;
	background: #ffffff;
	border-left: 4px solid #d9534f;
}

/* Illustration : deux notes et une alerte, dessinées en CSS */
.lg-hero-visual {
	position: relative;
	flex: 0 1 360px;
	height: 300px;
	min-width: 280px;
	margin: 0 auto;
}
.lg-note {
	position: absolute;
	width: 200px;
	border: 1px solid rgba(0, 0, 0, .15);
	font-size: 13px;
	line-height: 1.45;
	color: #3d3200;
}
.lg-note-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	font-weight: 700;
	font-size: 12px;
}
.lg-note-bar span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.lg-note-body {
	padding: 10px 12px 14px;
}
.lg-note-foot {
	padding: 6px 10px;
	font-size: 11px;
	font-weight: 700;
	color: #c62828;
}
.lg-note-yellow {
	top: 0;
	left: 0;
	background: #ffe566;
	transform: rotate(-3deg);
}
.lg-note-yellow .lg-note-bar {
	background: #f0b429;
}
.lg-note-yellow .lg-note-bar i {
	color: #c62828;
}
.lg-note-green {
	top: 46px;
	right: 0;
	width: 170px;
	background: #c8e6c9;
	color: #1b3d1d;
	transform: rotate(4deg);
}
.lg-note-green .lg-note-bar {
	background: #81c784;
}
.lg-alert {
	position: absolute;
	left: 40px;
	right: 20px;
	bottom: 0;
	padding: 12px 14px;
	background: #ffffff;
	border: 2px solid #c62828;
	font-size: 13px;
}
.lg-alert-title {
	font-weight: 700;
	color: #c62828;
}
.lg-alert-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}
.lg-alert-actions span {
	padding: 4px 10px;
	border: 1px solid #999999;
	border-radius: 3px;
	font-size: 12px;
	color: #333333;
}

/* ---- Sections ---- */
.lg-section-title {
	margin: 44px 0 20px;
	text-align: center;
	font-size: 1.6em;
	color: #21409a;
}
.lg-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.lg-feature {
	padding: 20px 18px;
	border: 1px solid #dddddd;
	border-radius: 4px;
	background: #ffffff;
}
.lg-feature i {
	font-size: 28px;
	color: #21409a;
}
.lg-feature h5 {
	margin: 12px 0 6px;
	font-size: 15px;
	line-height: 1.3;
	color: #333333;
}
.lg-feature p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: #555555;
}

/* Confiance */
.lg-trust {
	margin-top: 44px;
	padding: 6px 30px 30px;
	background: #eef1fa;
}
.lg-trust .lg-section-title {
	margin-top: 26px;
}
.lg-trust-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lg-trust-list li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	line-height: 1.5;
}
.lg-trust-list i {
	flex: 0 0 26px;
	margin-top: 2px;
	font-size: 22px;
	text-align: center;
	color: #2e7d32;
}

/* Installation */
.lg-steps {
	max-width: 760px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	counter-reset: lg-step;
}
.lg-steps li {
	position: relative;
	min-height: 40px;
	margin-bottom: 14px;
	padding: 8px 0 0 58px;
	line-height: 1.5;
	counter-increment: lg-step;
}
.lg-steps li::before {
	content: counter(lg-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #21409a;
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	line-height: 40px;
	text-align: center;
}
.lg-notice {
	max-width: 760px;
	margin: 26px auto 0;
	padding: 18px 22px;
	background: #fff8e1;
	border-left: 4px solid #f0b429;
}
.lg-notice h5 {
	margin: 0 0 8px;
	font-size: 15px;
	color: #333333;
}
.lg-notice p {
	margin: 0 0 8px;
	line-height: 1.5;
}
.lg-hash code {
	display: block;
	padding: 8px 10px;
	background: #ffffff;
	border: 1px solid #e0d6b3;
	font-size: 12px;
	white-space: normal;
	word-break: break-all;
	color: #333333;
}
.lg-hash-help {
	font-size: 12.5px;
	color: #666666;
}

/* Questions fréquentes */
.lg-faq {
	max-width: 760px;
	margin: 0 auto;
}
.lg-faq details {
	border-bottom: 1px solid #dddddd;
}
.lg-faq summary {
	padding: 14px 4px;
	font-weight: 700;
	color: #21409a;
	cursor: pointer;
}
.lg-faq details p {
	margin: 0 0 16px;
	padding: 0 4px;
	line-height: 1.5;
}

/* Rappel du téléchargement */
.lg-cta {
	margin: 44px 0 10px;
	padding: 30px 20px;
	background: #f2f2f2;
	text-align: center;
}
.lg-cta p {
	margin: 0 0 16px;
	font-size: 1.4em;
	color: #333333;
}
.lg-cta .lg-download {
	text-align: left;
}

@media (max-width: 979px) {
	.lg-features {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.lg-hero {
		padding: 20px 16px;
	}
	.lg-title h3 {
		font-size: 1.7em;
	}
	.lg-features,
	.lg-trust-list {
		grid-template-columns: 1fr;
	}
	.lg-trust {
		padding: 6px 16px 24px;
	}
	.lg-hero-visual {
		transform: scale(.88);
		transform-origin: top center;
	}
}

/* Icônes : la feuille d'icônes du thème ne les affiche que dans ses propres blocs (rspbld-*).
   On les active pour cette page uniquement, sans changer l'aspect des autres pages. */
.lg-page i.fa {
	font-family: 'FontAwesomeSolid', 'FontAwesomeBrands';
	font-weight: 900;
	font-style: normal;
	line-height: 1;
}
.lg-page i.fa::before {
	content: var(--fa);
}
.lg-page i.fa-windows {
	font-family: 'FontAwesomeBrands';
	font-weight: 400;
}
.lg-page .pg-tab-btn i.fa,
.lg-page .lg-badges i.fa {
	margin-right: 4px;
}

/* ---- Statistiques de téléchargement (administrateur seulement) ---- */
.lg-admin {
	margin: 0 0 26px;
	padding: 18px 22px 14px;
	background: #eef1fa;
	border-left: 4px solid #21409a;
}
.lg-admin h3 {
	margin: 0 0 14px;
	font-size: 1.25em;
	color: #21409a;
}
.lg-admin h3 span,
.lg-admin h4 span {
	margin-left: 8px;
	font-size: 12px;
	font-weight: 400;
	color: #666666;
}
.lg-admin h4 {
	margin: 0 0 10px;
	font-size: 1.1em;
	color: #333333;
}
.lg-admin-figures {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 14px;
}
.lg-admin-figures div {
	padding: 10px 12px;
	background: #ffffff;
	text-align: center;
}
.lg-admin-figures strong {
	display: block;
	font-size: 28px;
	line-height: 1.1;
	color: #21409a;
}
.lg-admin-figures span {
	font-size: 12px;
	color: #666666;
}
.lg-admin-chart {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 70px;
	padding: 6px 8px;
	background: #ffffff;
}
.lg-admin-bar {
	flex: 1 1 0;
	min-width: 3px;
	background: #21409a;
}
.lg-admin-bar.vide {
	background: #d5dae8;
}
.lg-admin-legend,
.lg-admin-note {
	margin: 6px 0 0;
	font-size: 12px;
	color: #666666;
}
.lg-admin-detail {
	margin: 8px 0 0;
	font-size: 13.5px;
	color: #333333;
}
.lg-admin-note {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px solid #d5dae8;
}
@media (max-width: 600px) {
	.lg-admin-figures {
		grid-template-columns: repeat(2, 1fr);
	}
}
