/* =========================================================
   PAGES LÉGALES
========================================================= */

.legal-page {
	max-width: 100%;
	margin: 0;
	color: var(--color-text-secondary);
	background: var(--color-bg);
	font-family: var(--font-primary);
	font-size: var(--text-lg);
	line-height: 1.5;
}

.legal-page__hero {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 16px;
	margin-bottom: 8px;
	border-bottom: var(--border-medium) solid var(--color-border-cta);
}

.legal-page__hero-icon {
	width: 44px;
	height: 44px;
	background: var(--color-primary-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.legal-page__hero-icon img {
	width: 22px;
	height: 22px;
	display: block;
	opacity: 0.75;
}

.legal-page h1 {
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	font-weight: 600;
	color: var(--color-primary);
	margin: 0 0 2px;
	line-height: 1.2;
}

.legal-page h2 i {
	font-size: 20px;
	vertical-align: middle;
}

.update-date {
	color: var(--color-text-muted);
	font-size: var(--text-sm);
	margin: 0;
}

.legal-page__body {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.legal-section {
	padding: 16px 0;
	border-bottom: var(--border-base) solid var(--color-border-light);
}

.legal-section:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.legal-page h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 600;
	color: var(--color-primary);
	margin: 0 0 10px;
	line-height: 1.2;
}

.legal-page h2 img {
	width: 18px;
	height: 18px;
	display: block;
	flex-shrink: 0;
	opacity: 0.6;
}

.legal-page p {
	margin-bottom: 8px;
	color: var(--color-text-secondary);
	line-height: 1.5;
}

.legal-page p:last-child {
	margin-bottom: 0;
}

.legal-page a {
	color: var(--color-primary-light);
	text-decoration: underline;
	transition: color var(--transition-fast);
}

.legal-page a:hover {
	color: var(--color-primary);
}

.legal-page ul {
	padding-left: 18px;
	margin-bottom: 10px;
	list-style: disc;
}

.legal-page li {
	margin-bottom: 4px;
	color: var(--color-text-secondary);
	line-height: 1.5;
}

/* About values */
.about-values {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 10px;
}

.about-value {
	background: var(--color-bg-soft);
	border-radius: var(--radius-sm);
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.about-value__icon {
	width: 36px;
	height: 36px;
	background: var(--color-primary-bg);
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-value__icon img {
	width: 18px;
	height: 18px;
	display: block;
	opacity: 0.7;
}

.about-value h3 {
	font-family: var(--font-heading);
	font-size: var(--text-md);
	font-weight: 600;
	color: var(--color-primary);
	margin: 0;
	line-height: 1.2;
}

.about-value p {
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	margin: 0;
	line-height: 1.4;
}

/* How-to steps */
.how-to-steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: 8px;
}

.how-to-step {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 0;
	border-bottom: var(--border-thin) solid var(--color-border-light);
	position: relative;
}

.how-to-step:last-child {
	border-bottom: none;
}

.how-to-step__icon {
	position: relative;
	flex-shrink: 0;
}

.how-to-step__icon img {
	width: 36px;
	height: 36px;
	padding: 7px;
	background: var(--color-primary-bg);
	display: block;
	opacity: 0.75;
}

.how-to-step__icon span {
	position: absolute;
	top: -5px;
	right: -5px;
	width: 16px;
	height: 16px;
	background: var(--color-primary);
	color: var(--color-bg);
	border-radius: var(--radius-full);
	font-family: var(--font-heading);
	font-size: var(--text-xs);
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.how-to-step__content h3 {
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	font-weight: 600;
	color: var(--color-primary);
	margin: 0 0 4px;
	line-height: 1.2;
}

.how-to-step__content p {
	font-size: var(--text-md);
	color: var(--color-text-secondary);
	margin: 0;
	line-height: 1.5;
}

/* FAQ */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: 8px;
}

.faq-item {
	border-bottom: var(--border-thin) solid var(--color-border-light);
}

.faq-item:last-child {
	border-bottom: none;
}

.faq-item__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	background: var(--color-bg);
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: var(--font-primary);
	font-size: var(--text-md);
	font-weight: 600;
	color: var(--color-text);
	line-height: 1.3;
	transition: background var(--transition-fast);
}

.faq-item__question:hover {
	background: var(--color-bg-soft);
}

.faq-item__question[aria-expanded="true"] {
	background: var(--color-primary-bg-light);
	color: var(--color-primary);
}

.faq-item__chevron {
	width: 14px;
	height: 14px;
	display: block;
	flex-shrink: 0;
	opacity: 0.5;
	transition: transform var(--transition-fast);
}

.faq-item__answer {
	padding: 0 14px 12px;
	background: var(--color-bg-soft);
}

.faq-item__answer p {
	font-size: var(--text-md);
	color: var(--color-text-secondary);
	line-height: 1.5;
	margin: 0;
	padding-top: 10px;
	border-top: var(--border-thin) solid var(--color-border-light);
}

/* Legal steps */
.legal-steps {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	padding: 14px;
	background: var(--color-primary-bg-light);
}

.legal-step {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-width: 140px;
}

.legal-step__num {
	width: 30px;
	height: 30px;
	border-radius: var(--radius-full);
	background: var(--color-primary);
	color: var(--color-bg);
	font-family: var(--font-heading);
	font-size: var(--text-md);
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.legal-step__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.legal-step__text strong {
	font-size: var(--text-md);
	color: var(--color-primary);
	font-family: var(--font-heading);
	line-height: 1.2;
}

.legal-step__text span {
	font-size: var(--text-xs);
	color: var(--color-text-muted);
	line-height: 1.3;
}

.legal-step__arrow {
	flex-shrink: 0;
	display: none;
}

.legal-step__arrow img {
	width: 14px;
	height: 14px;
	display: block;
	opacity: 0.4;
}

/* Info box */
.info-box {
	background: var(--color-primary-bg-light);
	padding: 14px;
	margin-top: 10px;
}

/* Legal DL */
.legal-dl {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.legal-dl__row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding-bottom: 8px;
	border-bottom: var(--border-thin) solid var(--color-border-light);
}

.legal-dl__row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.legal-dl dt {
	font-weight: 600;
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	min-width: 120px;
	flex-shrink: 0;
	line-height: 1.4;
}

.legal-dl dd {
	font-size: var(--text-md);
	color: var(--color-text);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	line-height: 1.4;
}

.legal-inline-icon {
	width: 13px;
	height: 13px;
	display: inline-block;
	opacity: 0.5;
	flex-shrink: 0;
}

/* Contact box */
.contact-box {
	background: var(--color-bg-soft);
	padding: 14px;
	margin-top: 10px;
}

.contact-box__grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.contact-box__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.contact-box__item img {
	width: 16px;
	height: 16px;
	display: block;
	flex-shrink: 0;
	opacity: 0.55;
	margin-top: 2px;
}

.contact-box__item > div {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.contact-box__label {
	font-size: var(--text-xs);
	font-weight: 600;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-family: var(--font-heading);
	line-height: 1.3;
}

.contact-box__item a {
	font-size: var(--text-md);
	color: var(--color-primary);
	font-weight: 500;
	line-height: 1.4;
}

.contact-box__item a:hover {
	color: var(--color-primary-light);
}

/* Tables */
.legal-page .table-wrapper {
	overflow-x: auto;
	margin: 12px 0;
}

.legal-page table {
	width: 100%;
	border-collapse: collapse;
	min-width: 500px;
	background: var(--color-bg);
	font-size: var(--text-md);
}

.legal-page th {
	background: var(--color-primary);
	color: var(--color-bg);
	text-align: left;
	padding: 10px 14px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: var(--text-sm);
	letter-spacing: 0.04em;
	line-height: 1.3;
}

.legal-page td {
	padding: 10px 14px;
	border-bottom: var(--border-base) solid var(--color-border-light);
	color: var(--color-text-secondary);
	line-height: 1.4;
}

.legal-page tr:last-child td {
	border-bottom: none;
}

.legal-page tr:nth-child(even) td {
	background: var(--color-bg-soft);
}


/* =========================================================
   QUI SOMMES-NOUS — PAGE ABOUT
========================================================= */

.lm-about__overlap {
	position: relative;
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.lm-about__overlap-image {
	width: 55%;
	flex-shrink: 0;
	z-index: 1;
}

.lm-about__overlap-image img {
	width: 100%;
	height: 380px;
	object-fit: cover;
	display: block;
}

.lm-about__overlap-card {
	background: var(--color-bg);
	box-shadow: var(--shadow-lg);
	padding: 30px;
	margin-left: -60px;
	z-index: 2;
	position: relative;
	flex: 1;
}

.lm-about__overlap-card h2 {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 600;
	color: var(--color-primary);
	margin: 0 0 10px;
	line-height: 1.2;
}

.lm-about__overlap-card p {
	font-size: var(--text-md);
	line-height: 1.5;
	color: var(--color-text-secondary);
	margin: 0;
	text-align: justify;
}

.lm-about__colored-row {
	display: flex;
	align-items: stretch;
	background: var(--color-primary-bg-light);
	position: relative;
	padding: 0;
	border: none;
}

.lm-about__colored-image {
	width: 320px;
	flex-shrink: 0;
}

.lm-about__colored-image img {
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
	display: block;
}

.lm-about__colored-content {
	flex: 1;
	padding: 30px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
}

.lm-about__colored-content h2 {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 600;
	color: var(--color-primary);
	margin: 0;
	line-height: 1.2;
}

.lm-about__colored-content p {
	font-size: var(--text-md);
	line-height: 1.5;
	color: var(--color-text-secondary);
	margin: 0;
	text-align: justify;
}

.lm-about__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	padding: 10px 22px;
	background: var(--color-primary);
	color: var(--color-bg);
	border-radius: var(--radius-sm);
	font-family: var(--font-heading);
	font-size: var(--text-base);
	font-weight: 600;
	text-decoration: none;
	width: fit-content;
	transition: background var(--transition-fast);
}

.lm-about__cta:hover {
	background: var(--color-primary-hover);
	color: var(--color-bg);
}

.lm-about__banner {
	position: relative;
	overflow: hidden;
	border: none;
	padding: 0;
	min-height: 280px;
	display: flex;
	align-items: center;
}

.lm-about__banner-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	z-index: 1;
}

.lm-about__banner-card {
	position: relative;
	z-index: 2;
	background: rgba(255, 255, 255, 0.88);
	margin: 30px 50px;
	padding: 28px 32px;
	max-width: 680px;
}

.lm-about__banner-card h2 {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 600;
	color: var(--color-primary);
	margin: 0 0 10px;
	line-height: 1.2;
}

.lm-about__banner-card p {
	font-size: var(--text-md);
	line-height: 1.5;
	color: var(--color-text-secondary);
	margin: 0 0 16px;
	text-align: justify;
}

.lm-about__banner-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	background: var(--color-primary);
	color: var(--color-bg);
	border-radius: var(--radius-full);
	font-family: var(--font-heading);
	font-size: var(--text-base);
	font-weight: 600;
	text-decoration: none;
	transition: background var(--transition-fast);
}

.lm-about__banner-cta:hover {
	background: var(--color-primary-hover);
	color: var(--color-bg);
}


/* =========================================================
   MEDIA QUERIES
========================================================= */

@media (min-width: 768px) {
	.legal-page h1        { font-size: var(--text-3xl); }
	.legal-page h2        { font-size: var(--text-xl); }
	.legal-dl             { gap: 0; }
	.legal-dl__row        { padding: 10px 0; }
	.legal-dl dt          { min-width: 160px; }
	.contact-box__grid    { flex-direction: row; flex-wrap: wrap; gap: 16px; }
	.contact-box__item    { flex: 1; min-width: 180px; }
	.about-values         { grid-template-columns: repeat(4, 1fr); }
	.how-to-step__content h3 { font-size: var(--text-xl); }
	.legal-step__arrow    { display: flex; }
	.legal-steps          { flex-wrap: nowrap; }

	.lm-about__overlap-card   { padding: 22px; margin-left: -40px; }
	.lm-about__colored-content { padding: 22px 28px; }
	.lm-about__banner-card    { margin: 24px 32px; padding: 22px 26px; }
}

@media (max-width: 767px) {
	.lm-about__overlap           { flex-direction: column; }
	.lm-about__overlap-image     { width: 100%; }
	.lm-about__overlap-image img { height: 220px; }
	.lm-about__overlap-card      { margin-left: 0; margin-top: -24px; padding: 18px; }
	.lm-about__colored-row       { flex-direction: column; }
	.lm-about__colored-image     { width: 100%; }
	.lm-about__colored-image img { height: 220px; min-height: unset; }
	.lm-about__colored-content   { padding: 18px; }
	.lm-about__banner            { min-height: 360px; align-items: flex-end; }
	.lm-about__banner-card       { margin: 0 12px 16px; padding: 16px; max-width: 100%; }
}