/* Route d'Égypte – Footer */
.rde-footer {
	--rdef-bg: #211512;
	--rdef-cta: #3a2620;
	--rdef-accent: #c79a3c;
	--rdef-text: rgba(255, 255, 255, .72);
	--rdef-line: rgba(255, 255, 255, .12);
	--rdef-serif: "Playfair Display", Georgia, serif;
	--rdef-sans: "Poppins", sans-serif;

	width: 100%;
	background: var(--rdef-bg);
	color: var(--rdef-text);
	font-family: var(--rdef-sans);
	font-size: 14px;
	line-height: 1.7;
	text-align: left;
}
.rde-footer *,
.rde-footer *::before,
.rde-footer *::after { box-sizing: border-box; }
.rde-footer a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, transform .2s; }
.rde-footer ul { list-style: none; margin: 0; padding: 0; }
.rde-footer p { margin: 0; }
.rde-footer .rdef-ico { width: 1em; height: 1em; flex: 0 0 auto; display: inline-block; vertical-align: middle; }

.rdef-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Heading shared style */
.rde-footer .rdef-heading {
	position: relative;
	margin: 0 0 26px;
	padding-bottom: 14px;
	font-family: var(--rdef-serif);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	text-transform: none;
	letter-spacing: 0;
}
.rde-footer .rdef-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 38px;
	height: 2px;
	background: var(--rdef-accent);
}
.rde-footer .rdef-heading--brand { font-size: 25px; }

/* ---------- CTA band ---------- */
.rdef-cta {
	background:
		radial-gradient(ellipse at 100% 0, color-mix(in srgb, var(--rdef-accent) 22%, transparent), transparent 60%),
		linear-gradient(120deg, var(--rdef-cta), color-mix(in srgb, var(--rdef-cta) 70%, var(--rdef-accent)));
	border-bottom: 1px solid var(--rdef-line);
	padding: 52px 0;
}
.rdef-cta__inner { display: flex; align-items: center; gap: 26px; }
.rdef-cta__icon {
	flex: 0 0 62px;
	width: 62px;
	height: 62px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, .22);
	background: rgba(255, 255, 255, .07);
	color: var(--rdef-accent);
	font-size: 26px;
	align-self: flex-start;
}
.rdef-cta__body { flex: 1 1 auto; min-width: 0; }
.rde-footer .rdef-cta__title {
	margin: 0 0 6px;
	font-family: var(--rdef-serif);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}
.rdef-cta__text { color: rgba(255, 255, 255, .85); font-size: 15px; }
.rdef-cta__features { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px !important; }
.rdef-cta__features li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #fff; }
.rdef-cta__features .rdef-ico { color: var(--rdef-accent); font-size: 14px; }

.rde-footer .rdef-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 28px;
	border-radius: 10px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--rdef-accent) 75%, #fff), var(--rdef-accent));
	color: #1e0f0a;
	font-weight: 600;
	font-size: 15px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
	white-space: nowrap;
}
.rde-footer .rdef-btn:hover { transform: translateY(-2px); color: #1e0f0a; box-shadow: 0 14px 28px rgba(0, 0, 0, .3); }

/* ---------- Main ---------- */
.rdef-main { padding: 70px 0 0; }
.rdef-grid {
	display: grid;
	grid-template-columns: 1.55fr 1fr 1fr 1.15fr;
	gap: 40px;
	padding-bottom: 50px;
}
/* Fewer columns when a footer menu is not assigned (Apparence › Menus). */
.rdef-grid:not(:has(> :nth-child(4))) { grid-template-columns: 1.6fr 1fr 1.15fr; }
.rdef-grid:not(:has(> :nth-child(3))) { grid-template-columns: 1.6fr 1fr; }

.rdef-about { margin-bottom: 22px !important; }

.rdef-contact li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rdef-contact__ico {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: rgba(255, 255, 255, .07);
	color: var(--rdef-accent);
	font-size: 14px;
}
.rde-footer .rdef-contact a:hover { color: var(--rdef-accent); }

.rdef-links li { margin-bottom: 14px; }
.rde-footer .rdef-links a { display: inline-flex; align-items: center; gap: 8px; }
.rdef-links .rdef-ico { color: var(--rdef-accent); font-size: 12px; transition: transform .2s; }
.rde-footer .rdef-links a:hover { color: #fff; }
.rde-footer .rdef-links a:hover .rdef-ico { transform: translateX(3px); }

/* Badge card */
.rde-footer .rdef-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
	padding: 28px 22px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .05);
}
.rde-footer a.rdef-badge:hover { border-color: var(--rdef-accent); transform: translateY(-3px); }
.rdef-badge__pill {
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	color: var(--rdef-accent);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.rdef-badge__media {
	width: 108px;
	height: 108px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
	margin: 4px 0;
}
.rdef-badge__media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.rdef-badge__owl {
	width: 76px;
	height: 76px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #34e0a1;
	color: #000;
	font-size: 46px;
}
.rdef-badge__title { font-family: var(--rdef-serif); font-size: 19px; font-weight: 700; color: #fff; line-height: 1.3; }
.rdef-badge__text { font-size: 13px; line-height: 1.5; }
.rdef-badge__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 13px; font-weight: 600; color: var(--rdef-accent); }
.rdef-badge__stats > span { display: inline-flex; align-items: center; gap: 5px; }

/* Links + social row */
.rdef-sub {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 24px 0;
	border-top: 1px solid var(--rdef-line);
	border-bottom: 1px solid var(--rdef-line);
}
.rde-footer .rdef-sub__menu { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.rde-footer .rdef-sub__menu a { font-size: 14px; }
.rde-footer .rdef-sub__menu a:hover { color: var(--rdef-accent); }

.rdef-social { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; }
.rde-footer .rdef-social a {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, .22);
	color: var(--rdef-accent);
	font-size: 16px;
}
.rde-footer .rdef-social a:hover { background: var(--rdef-accent); border-color: var(--rdef-accent); color: #1e0f0a; }

/* Copyright row */
.rdef-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px 20px;
	padding: 24px 0 28px;
	font-size: 13px;
}
.rde-footer .rdef-copy a { color: var(--rdef-accent); font-weight: 600; }
.rdef-pay { display: flex; align-items: center; gap: 8px; }
.rdef-pay > span:first-child { margin-right: 4px; }
.rdef-pay__card {
	height: 24px;
	min-width: 38px;
	padding: 0 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	background: #fff;
	font: italic 800 11px/1 Arial, sans-serif;
}
.rdef-pay__card--visa { color: #1a1f71; }
.rdef-pay__card--amex { background: #2e77bc; color: #fff; font-style: normal; font-size: 9px; }
.rdef-pay__card--mc i { width: 14px; height: 14px; border-radius: 50%; background: #eb001b; }
.rdef-pay__card--mc i + i { background: #f79e1b; margin-left: -6px; mix-blend-mode: multiply; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.rdef-grid { grid-template-columns: 1fr 1fr; }
	.rdef-cta__inner { flex-wrap: wrap; }
	.rdef-cta__body { flex-basis: calc(100% - 88px); }
	.rde-footer .rdef-btn { margin-left: 88px; }
}
@media (max-width: 640px) {
	.rdef-cta { padding: 40px 0; }
	.rdef-cta__icon { display: none; }
	.rdef-cta__body { flex-basis: 100%; }
	.rde-footer .rdef-btn { margin-left: 0; width: 100%; justify-content: center; }
	.rdef-main { padding-top: 50px; }
	.rdef-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
	.rdef-col--brand, .rdef-col--badge { grid-column: 1 / -1; }
	.rdef-sub { flex-direction: column; align-items: flex-start; }
	.rdef-social { margin-left: 0; }
	.rdef-bottom { flex-direction: column; align-items: flex-start; }
}
