/* ==========================================================================
   RestoLive — Pages de rubrique (Notre Solution / Qui aidons-nous)
   ========================================================================== */

.rl-page {
	--rl-gap: clamp(48px, 6vw, 92px);
	color: var(--rl-body);
	font-size: 16.5px;
	line-height: 1.65;
}

.rl-page *,
.rl-page *::before,
.rl-page *::after {
	box-sizing: border-box;
}

.rl-container {
	width: 100%;
	max-width: 1180px;
	margin-inline: auto;
	padding-inline: 20px;
}

.rl-page h1,
.rl-page h2,
.rl-page h3,
.rl-page h4 {
	color: var(--rl-ink);
	margin: 0;
	line-height: 1.18;
}

.rl-page p {
	margin: 0;
}

.rl-page a {
	color: inherit;
}

.rl-eyebrow {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--rl-orange-soft);
	color: var(--rl-orange-dark);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.rl-lead {
	font-size: clamp(16.5px, 1.6vw, 19px);
	line-height: 1.6;
}

.rl-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.rl-note {
	font-size: 13.5px;
	color: var(--rl-body);
}

/* --- Héros --------------------------------------------------------------- */

.rl-hero {
	background: linear-gradient(180deg, #fffaf2 0%, #fff 100%);
	padding-block: clamp(46px, 6vw, 80px) clamp(40px, 5vw, 68px);
	border-bottom: 1px solid var(--rl-line);
}

.rl-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 4vw, 56px);
}

.rl-hero__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

.rl-hero h1 {
	font-size: clamp(30px, 4.1vw, 50px);
	letter-spacing: -.02em;
}

.rl-hero__media {
	border-radius: 22px;
	overflow: hidden;
	box-shadow: var(--rl-shadow);
	aspect-ratio: 16 / 10;
	background: var(--rl-bg-soft);
}

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

/* --- Bandeau de chiffres ------------------------------------------------- */

.rl-strip {
	background: #fff;
	border-bottom: 1px solid var(--rl-line);
	padding-block: clamp(26px, 3vw, 40px);
}

.rl-strip__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.rl-strip__item {
	text-align: center;
	padding-inline: 12px;
}

.rl-strip__item + .rl-strip__item {
	border-left: 1px solid var(--rl-line);
}

.rl-strip__value {
	display: block;
	font-size: clamp(24px, 2.8vw, 34px);
	font-weight: 800;
	color: var(--rl-orange);
	line-height: 1.15;
}

.rl-strip__label {
	display: block;
	margin-top: 6px;
	font-size: 14.5px;
}

/* --- Sections ------------------------------------------------------------ */

.rl-section {
	padding-block: var(--rl-gap);
}

.rl-section--soft {
	background: var(--rl-bg-soft);
}

.rl-section__head {
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin-bottom: clamp(32px, 4vw, 52px);
}

.rl-section__head h2 {
	font-size: clamp(25px, 3.1vw, 38px);
	letter-spacing: -.015em;
}

/* --- Blocs alternés ------------------------------------------------------ */

.rl-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(28px, 4.5vw, 64px);
}

.rl-split + .rl-split {
	margin-top: clamp(44px, 5.5vw, 80px);
}

.rl-split--reverse .rl-split__media {
	order: -1;
}

.rl-split__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.rl-split__text h3 {
	font-size: clamp(21px, 2.4vw, 29px);
}

.rl-split__media {
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--rl-bg-soft);
	box-shadow: 0 18px 44px -20px rgba(20, 24, 31, .28);
}

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

/* --- Listes à puces cochées ---------------------------------------------- */

.rl-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.rl-checklist li {
	position: relative;
	padding-left: 34px;
	font-size: 15.5px;
	line-height: 1.55;
}

.rl-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--rl-orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fa9400' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.rl-checklist strong {
	color: var(--rl-ink);
}

/* --- Cartes -------------------------------------------------------------- */

.rl-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.rl-cards--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rl-cards--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rl-card {
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: 18px;
	padding: 26px 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

a.rl-card:hover {
	transform: translateY(-3px);
	border-color: transparent;
	box-shadow: 0 18px 40px -18px rgba(20, 24, 31, .3);
}

.rl-card__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: var(--rl-orange-soft);
	color: var(--rl-orange);
}

.rl-card__icon .rl-ico {
	width: 24px;
	height: 24px;
}

.rl-card h3 {
	font-size: 18.5px;
	line-height: 1.3;
}

.rl-card p {
	font-size: 15px;
	line-height: 1.6;
}

.rl-card__more {
	margin-top: auto;
	padding-top: 6px;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--rl-orange);
}

/* --- Citation ------------------------------------------------------------ */

.rl-quote {
	max-width: 860px;
	margin-inline: auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.rl-quote blockquote {
	margin: 0;
	font-size: clamp(19px, 2.3vw, 27px);
	line-height: 1.45;
	font-weight: 600;
	color: var(--rl-ink);
}

.rl-quote figcaption {
	font-size: 14.5px;
}

.rl-quote figcaption strong {
	color: var(--rl-ink);
}

/* --- FAQ ----------------------------------------------------------------- */

.rl-faq {
	max-width: 860px;
	margin-inline: auto;
	display: grid;
	gap: 12px;
}

.rl-faq details {
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: 14px;
	padding: 4px 20px;
}

.rl-faq summary {
	list-style: none;
	cursor: pointer;
	padding: 16px 34px 16px 0;
	position: relative;
	font-size: 16.5px;
	font-weight: 700;
	color: var(--rl-ink);
}

.rl-faq summary::-webkit-details-marker {
	display: none;
}

.rl-faq summary::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314181f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s ease;
}

.rl-faq details[open] summary::after {
	transform: rotate(45deg);
}

.rl-faq details p {
	padding: 0 0 18px;
	font-size: 15.5px;
}

/* --- Appel à l'action final ---------------------------------------------- */

.rl-cta {
	position: relative;
	overflow: hidden;
	background: var(--rl-ink);
	color: #fff;
	padding-block: clamp(52px, 6vw, 86px);
}

.rl-cta__bg {
	position: absolute;
	inset: 0;
	object-fit: cover;
	width: 100%;
	height: 100%;
	opacity: .28;
}

.rl-cta__inner {
	position: relative;
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.rl-cta h2 {
	color: #fff;
	font-size: clamp(26px, 3.3vw, 40px);
	letter-spacing: -.015em;
}

.rl-cta p {
	color: rgba(255, 255, 255, .84);
	font-size: clamp(16px, 1.6vw, 18.5px);
}

.rl-cta .rl-note {
	color: rgba(255, 255, 255, .66);
}

/* --- Liens de rubriques associées ---------------------------------------- */

.rl-related {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.rl-related a {
	display: inline-block;
	padding: 9px 16px;
	border-radius: 999px;
	border: 1px solid var(--rl-line);
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	color: var(--rl-ink);
	text-decoration: none !important;
	transition: border-color .18s ease, color .18s ease;
}

.rl-related a:hover {
	border-color: var(--rl-orange);
	color: var(--rl-orange);
}

/* --- Adaptations --------------------------------------------------------- */

@media (max-width: 960px) {
	.rl-hero__grid,
	.rl-split {
		grid-template-columns: minmax(0, 1fr);
	}

	.rl-split--reverse .rl-split__media {
		order: 0;
	}

	.rl-cards,
	.rl-cards--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.rl-strip__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.rl-strip__item + .rl-strip__item {
		border-left: 0;
		border-top: 1px solid var(--rl-line);
		padding-top: 18px;
	}

	.rl-cards,
	.rl-cards--2,
	.rl-cards--4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.rl-actions .rl-btn {
		width: 100%;
	}
}
