/* Pages légales (conditions, confidentialité) et plan du site */

.lg-page { padding: 60px 0 90px; background: #fff; }
.lg-head { max-width: 920px; margin: 0 auto 50px; }
.lg-updated { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #f3f4f6; font-size: 13px; font-weight: 700; color: #4b5563; }
.lg-updated i { color: var(--ag-red, #ee312f); }
.lg-intro { font-size: 18px; line-height: 1.75; color: #374151; margin: 18px 0 26px; }
.lg-summary { padding: 26px 28px; border-radius: 18px; background: linear-gradient(135deg, var(--ag-navy, #131E3C) 0%, #1c2a52 100%); color: #fff; }
.lg-summary h2 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.lg-summary ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; }
.lg-summary li { display: flex; gap: 10px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.lg-summary li i { color: var(--ag-red, #ee312f); margin-top: 4px; }

.lg-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 50px; align-items: start; max-width: 1140px; margin: 0 auto; }
.lg-toc { position: sticky; top: 110px; }
.lg-toc details { border-radius: 16px; background: #f6f7fb; padding: 20px 20px 14px; }
.lg-toc summary { cursor: pointer; list-style: none; font-size: 15px; font-weight: 800; color: var(--ag-navy, #131E3C); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.lg-toc summary::-webkit-details-marker { display: none; }
.lg-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.lg-toc li { counter-increment: toc; }
.lg-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14px; line-height: 1.4; font-weight: 600; color: #4b5563; }
.lg-toc a::before { content: counter(toc); flex: 0 0 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--ag-red, #ee312f); font-size: 11.5px; font-weight: 800; line-height: 22px; text-align: center; }
.lg-toc a:hover { background: #fff; color: var(--ag-navy, #131E3C); }

.lg-content { min-width: 0; }
.lg-section { padding: 30px 0; border-bottom: 1px solid #eceef2; scroll-margin-top: 110px; }
.lg-section:first-child { padding-top: 0; }
.lg-section h2 { display: flex; align-items: center; gap: 14px; font-size: 23px; line-height: 1.3; font-weight: 800; color: var(--ag-navy, #131E3C); margin-bottom: 16px; }
.lg-num { flex: 0 0 38px; height: 38px; border-radius: 12px; background: rgba(238, 49, 47, .1); color: var(--ag-red, #ee312f); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.lg-text p { font-size: 16px; line-height: 1.85; color: #4b5563; margin: 0 0 14px; }
.lg-text a { color: var(--ag-red, #ee312f); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lg-text strong { color: #1f2937; }
.lg-text ul { margin: 0 0 14px; padding: 0; list-style: none; }
.lg-text ul li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: 15.5px; line-height: 1.7; color: #4b5563; }
.lg-text ul li::before { content: ""; position: absolute; left: 6px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--ag-red, #ee312f); }
.lg-text code { padding: 2px 7px; border-radius: 6px; background: #f3f4f6; font-size: 13.5px; color: #1f2937; }

.lg-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 4px 0 16px; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; font-size: 14.5px; }
.lg-table th { background: #f6f7fb; text-align: left; padding: 12px 14px; font-weight: 800; color: var(--ag-navy, #131E3C); }
.lg-table td { padding: 12px 14px; border-top: 1px solid #eceef2; color: #4b5563; line-height: 1.55; vertical-align: top; }
.lg-table td:first-child { font-weight: 700; color: #1f2937; }

.lg-contact-card { border-bottom: 0; }
.lg-text ul.lg-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lg-text ul.lg-contact li { display: flex; gap: 12px; padding: 16px; margin: 0; border-radius: 14px; background: #f6f7fb; }
.lg-text ul.lg-contact li::before { display: none; }
.lg-text ul.lg-contact i { color: var(--ag-red, #ee312f); font-size: 18px; margin-top: 3px; }
.lg-text ul.lg-contact a { text-decoration: none; word-break: break-word; }
.lg-related { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.lg-related a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid #e5e7eb; font-size: 14px; font-weight: 700; color: var(--ag-navy, #131E3C); }
.lg-related a:hover { border-color: var(--ag-red, #ee312f); color: var(--ag-red, #ee312f); }

/* Plan du site */
.sm-intro { max-width: 920px; margin: 0 auto 36px; text-align: center; }
.sm-intro a { color: var(--ag-red, #ee312f); font-weight: 700; }
.sm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sm-card { padding: 26px 26px 20px; border-radius: 18px; background: #f6f7fb; }
.sm-wide { grid-column: 1 / -1; }
.sm-card h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: var(--ag-navy, #131E3C); margin-bottom: 14px; }
.sm-card h2 > i { width: 36px; height: 36px; border-radius: 10px; background: var(--ag-red, #ee312f); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.sm-card h3 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; margin-bottom: 10px; }
.sm-card ul { margin: 0; padding: 0; list-style: none; }
.sm-card li a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 15px; line-height: 1.45; color: #374151; }
.sm-card li a i { color: var(--ag-red, #ee312f); width: 16px; text-align: center; }
.sm-card li a:hover { color: var(--ag-red, #ee312f); }
.sm-cols { columns: 3; column-gap: 30px; }
.sm-cols li { break-inside: avoid; }
.sm-count { margin-left: 4px; padding: 2px 10px; border-radius: 999px; background: #fff; font-size: 13px; color: #6b7280; }
.sm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.sm-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-tags li a { padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 13.5px; }
.sm-tags li a span { color: #9ca3af; font-weight: 700; }

/* Responsive */
@media (max-width: 991px) {
	.lg-layout { grid-template-columns: 1fr; gap: 24px; }
	.lg-toc { position: static; }
	.lg-summary ul { grid-template-columns: 1fr; }
	.lg-text ul.lg-contact { grid-template-columns: 1fr; }
	.sm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sm-cols { columns: 2; }
	.sm-split { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
	.lg-page { padding: 40px 0 60px; }
	.lg-intro { font-size: 16px; }
	.lg-summary { padding: 22px 20px; }
	.lg-section h2 { font-size: 19px; }
	.lg-num { flex-basis: 32px; height: 32px; }
	.lg-table { display: block; overflow-x: auto; white-space: normal; }
	.lg-table th, .lg-table td { padding: 10px; min-width: 120px; }
	.sm-grid { grid-template-columns: 1fr; }
	.sm-cols { columns: 1; }
	.sm-card { padding: 22px 20px 16px; }
}
