/* ==========================================================================
   DF Cars — styles du thème
   Polices système uniquement (aucun appel à Google Fonts : plus rapide et
   conforme RGPD sans bandeau supplémentaire).
   ========================================================================== */

:root {
	--accent: #d9481c;
	--ink: #16181d;
	--ink-2: #2a2e37;
	--text: #2b2f36;
	--muted: #6a6f7a;
	--line: #e4e1da;
	--bg: #f7f5f0;
	--surface: #ffffff;
	--ok: #1f7a3d;
	--err: #b42318;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(22, 24, 29, .06), 0 8px 24px rgba(22, 24, 29, .06);
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1200px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; inset-inline-start: 8px; top: 8px; transform: translateY(-300%); background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { transform: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.muted { color: var(--muted); }
.eyebrow {
	font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
	color: var(--accent); margin-bottom: .6em;
}
.dfc-icon { flex: none; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 20px; border-radius: 999px; border: 2px solid transparent;
	font: inherit; font-weight: 650; font-size: 15px; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--ink); text-decoration: none; }
.link-arrow:hover { color: var(--accent); }

/* ---------- En-tête ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(247, 245, 240, .92);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand__name { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; }
.custom-logo { max-height: 48px; width: auto; }

.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; }

.nav-principal {
	display: none; position: absolute; left: 0; right: 0; top: 100%;
	background: var(--bg); border-bottom: 1px solid var(--line);
	padding: 8px 16px 20px; flex-direction: column; gap: 4px;
}
.nav-principal.is-open { display: flex; }
.nav-principal .menu { list-style: none; margin: 0; padding: 0; }
.nav-principal .menu a { display: block; padding: 12px 4px; text-decoration: none; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav-principal .sub-menu { list-style: none; padding-left: 16px; }
.nav-tel { display: inline-flex; align-items: center; gap: 8px; padding: 12px 4px; font-weight: 700; color: var(--ink); text-decoration: none; }
.nav-principal .btn { margin-top: 8px; }

@media (min-width: 960px) {
	.nav-toggle { display: none; }
	.nav-principal { display: flex; position: static; flex-direction: row; align-items: center; gap: 24px; padding: 0; border: 0; background: none; }
	.nav-principal .menu { display: flex; gap: 26px; }
	.nav-principal .menu a { padding: 6px 0; border: 0; font-size: 15px; position: relative; }
	.nav-principal .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
	.nav-principal .menu a:hover::after,
	.nav-principal .current-menu-item > a::after { transform: scaleX(1); }
	.nav-principal .menu li { position: relative; }
	.nav-principal .sub-menu { display: none; position: absolute; top: 100%; left: -16px; min-width: 200px; background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 8px 16px; }
	.nav-principal li:hover > .sub-menu, .nav-principal li:focus-within > .sub-menu { display: block; }
	.nav-tel { padding: 0; font-size: 15px; }
	.nav-principal .btn { margin: 0; }
}

/* ---------- Accueil : hero ---------- */
.hero {
	position: relative; color: #fff; overflow: hidden;
	background:
		radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%),
		linear-gradient(160deg, #1b1e25 0%, #0f1115 100%);
	padding: 56px 0 40px;
}
.hero--image {
	background:
		linear-gradient(180deg, rgba(15, 17, 21, .55) 0%, rgba(15, 17, 21, .85) 100%),
		var(--hero) center / cover no-repeat;
}
.hero::after {
	/* Bande de route stylisée */
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
	background: repeating-linear-gradient(90deg, var(--accent) 0 48px, transparent 48px 80px);
	opacity: .9;
}
.hero__inner { position: relative; z-index: 1; }
.hero .eyebrow { color: color-mix(in srgb, var(--accent) 55%, #fff); }
.hero__title { color: #fff; font-size: clamp(34px, 6.4vw, 64px); font-weight: 800; max-width: 15ch; letter-spacing: -.035em; line-height: 1.02; }
.hero__lead { font-size: clamp(16px, 2vw, 19px); color: rgba(255, 255, 255, .78); max-width: 52ch; margin-bottom: 28px; }
@media (min-width: 768px) { .hero { padding: 96px 0 72px; } }

/* ---------- Moteur de recherche ---------- */
.search {
	display: grid; gap: 12px; grid-template-columns: 1fr;
	background: var(--surface); color: var(--text);
	padding: 16px; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.search .field label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.search__submit { width: 100%; }
@media (min-width: 640px) {
	.search { grid-template-columns: 1fr 1fr; }
	.search .field--lieu, .search__submit { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.search { grid-template-columns: 1fr 1.55fr 1.55fr .9fr auto; align-items: end; padding: 18px; }
	.search .field--lieu, .search__submit { grid-column: auto; }
	.search__submit { width: auto; height: 48px; }
}
.search--bar { box-shadow: var(--shadow); margin-top: 20px; }

/* ---------- Champs ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field__pair { display: grid; grid-template-columns: 1fr 92px; gap: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
	width: 100%; min-width: 0; height: 48px; padding: 0 12px;
	font: inherit; font-size: 16px; color: var(--ink);
	background: #fbfaf7; border: 1px solid var(--line); border-radius: var(--radius-sm);
	transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { height: auto; padding: 10px 12px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-right: 32px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236a6f7a' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section--tight { padding: 32px 0 64px; }
@media (min-width: 768px) { .section { padding: 88px 0; } }
.section__title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.section__head .section__title { margin: 0; }

.section--dark { background: var(--ink); color: rgba(255, 255, 255, .75); }
.section--dark .section__title, .section--dark h3 { color: #fff; }

/* Bandeau d'avantages */
.strip { padding: 28px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.strip__grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .strip__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .strip__grid { grid-template-columns: repeat(4, 1fr); } }
.strip__item { display: flex; gap: 14px; align-items: flex-start; }
.strip__item .dfc-icon { color: var(--accent); margin-top: 2px; }
.strip__item strong { display: block; color: var(--ink); font-size: 15px; }
.strip__item span { font-size: 14px; color: var(--muted); }

/* Étapes */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li { padding: 24px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 16px; }
.steps h3 { font-size: 19px; }
.steps p { margin: 0; font-size: 15px; }

/* Conditions */
.split { display: grid; gap: 24px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.checklist .dfc-icon { color: var(--ok); margin-top: 3px; }

/* Appel à l'action */
.cta { padding-top: 0; }
.cta__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 32px; border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line); }
.cta .section__title { font-size: clamp(22px, 3vw, 30px); }
.cta p { margin: 0; }

/* ---------- Cartes véhicules ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { position: relative; display: block; aspect-ratio: 3 / 2; background: #eeebe4; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #b9b4aa; }
.card__badge { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(22, 24, 29, .82); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.card__body { display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 20px; flex: 1; }
.card__title { font-size: 19px; margin: 0; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--accent); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }

.specs { list-style: none; margin: 0; padding: 0; }
.specs--inline { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); }
.specs--inline li { display: inline-flex; align-items: center; gap: 6px; }
.specs--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 24px 0; }
@media (min-width: 640px) { .specs--grid { grid-template-columns: repeat(4, 1fr); } }
.specs--grid li { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--ink); }
.specs--grid .dfc-icon { color: var(--accent); }

.price { margin: 0; color: var(--ink); line-height: 1.1; }
.price strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.price__from { display: block; font-size: 12px; color: var(--muted); }
.price__unit { font-size: 14px; color: var(--muted); margin-left: 2px; }
.price--lg strong { font-size: 30px; }

/* ---------- En-tête de page ---------- */
.page-head { padding: 40px 0 8px; }
.page-head__title { font-size: clamp(30px, 5vw, 48px); font-weight: 800; }
.page-head__meta { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14px; }

/* ---------- Fiche véhicule ---------- */
.crumbs { padding-top: 24px; font-size: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.vehicle { display: grid; gap: 32px; padding-top: 16px; padding-bottom: 72px; }
@media (min-width: 1024px) { .vehicle { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; } }
.vehicle__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.vehicle__head .eyebrow { width: 100%; margin: 0; }
.vehicle__title { font-size: clamp(28px, 4.5vw, 44px); font-weight: 800; margin: 0; }
.vehicle__media { margin: 0; border-radius: var(--radius); overflow: hidden; background: #eeebe4; aspect-ratio: 16 / 10; }
.vehicle__media img { width: 100%; height: 100%; object-fit: cover; }
.vehicle__desc { margin: 8px 0 32px; }
.vehicle__cond h2 { font-size: 22px; }

.vehicle__side { scroll-margin-top: 90px; }
@media (min-width: 1024px) { .vehicle__side { position: sticky; top: 92px; } }
.booking { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 22px; box-shadow: var(--shadow); }
.booking__title { font-size: 22px; }
.booking fieldset { border: 0; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.booking legend { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; padding: 0; }
.booking .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking .row .field--time { max-width: none; }
.booking__note { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

.option { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; }
.option small { color: var(--muted); }
.select-sm { width: 76px; }
.option--check { justify-content: flex-start; align-items: flex-start; cursor: pointer; }
.option--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.option--check span { font-size: 14px; }

.estimate { margin: 0 0 20px; padding: 16px; border-radius: var(--radius-sm); background: #f3f0e9; }
.estimate__empty { margin: 0; font-size: 14px; color: var(--muted); }
.estimate__empty + .estimate__lines:not([hidden]) { margin-top: 10px; }
.estimate__lines { display: grid; grid-template-columns: 1fr auto; gap: 6px 0; margin: 0; font-size: 15px; }
.estimate__lines dt { padding-right: 12px; }
.estimate__lines dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.estimate__lines .is-discount { color: var(--ok); }
.estimate__lines .is-total { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 800; color: var(--ink); }

.booking__done { text-align: center; padding: 12px 0; }
.booking__done-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 14%, #fff); color: var(--ok); margin-bottom: 12px; }

/* ---------- Messages ---------- */
.notice { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; margin: 0 0 16px; }
.notice ul { margin: 0; padding-left: 18px; }
.notice--error { background: #fdecea; color: var(--err); border: 1px solid #f5c2bd; }

.empty { text-align: center; padding: 48px 16px; max-width: 560px; margin: 0 auto; }
.empty h2 { font-size: 22px; }
.empty .btn { margin: 4px; }

/* ---------- Contenus rédigés (pages, CGV, mentions légales) ---------- */
.prose { max-width: 72ch; font-size: 17px; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose a { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose img { border-radius: var(--radius-sm); }
.prose .wp-block-gallery img { border-radius: var(--radius-sm); }
.page-cover { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }

.posts { display: grid; gap: 16px; max-width: 760px; }
.post-item { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.post-item__date { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.post-item__title { font-size: 21px; }
.post-item__title a { text-decoration: none; }

.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 56px 0 0; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer__brand { color: #fff; font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin-bottom: 6px; }
.site-footer__desc { margin-bottom: 14px; }
.site-footer__tel { font-size: 22px; font-weight: 800; text-decoration: none; letter-spacing: -.01em; }
.site-footer__title { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer .link-arrow { color: #fff; margin-top: 12px; }
.contact-list, .hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; }
.contact-list .dfc-icon { margin-top: 3px; color: var(--accent); }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.site-footer__bottom p { margin: 0; }
.nav-pied ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; }
.nav-pied a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.nav-pied a:hover { color: #fff; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }

/* Alignements de l'éditeur WordPress */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Version 2 : langues, devises, parcours, carte, avis, FAQ, suivi
   ========================================================================== */

/* ---------- Barre supérieure : contact, langue, devise ---------- */
.topbar { background: var(--ink); color: #d8d6d0; font-size: 13px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; color: #d8d6d0; text-decoration: none; }
a.topbar__item:hover { color: #fff; }
.topbar__wa { color: #7ee2a8; }
.topbar__switch { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: #262a32; }
.switch > .dfc-icon { margin: 0 4px 0 6px; color: #9a9ca3; }
.switch__opt { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: #d8d6d0; font: inherit; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; }
.switch__opt:hover { color: #fff; }
.switch__opt.is-on { background: #fff; color: var(--ink); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }

/* ---------- Parcours : j'arrive / je suis au Maroc ---------- */
.paths { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 18px; }
@media (min-width: 720px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { display: flex; gap: 14px; align-items: flex-start; text-align: start; padding: 16px 18px; border-radius: var(--radius); border: 2px solid #3a3f49; background: transparent; color: #fff; font: inherit; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.path:hover { border-color: #5a606c; }
.path.is-on { border-color: var(--accent); background: rgba(255, 255, 255, .06); }
.path__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #2b2f38; color: color-mix(in srgb, var(--accent) 55%, #fff); flex: none; }
.path__text { display: flex; flex-direction: column; gap: 3px; }
.path__text strong { font-size: 17px; }
.path__text span { font-size: 14px; color: #c9c7c1; line-height: 1.5; }
@media (min-width: 1024px) {
	.search { display: flex; flex-wrap: wrap; align-items: flex-end; }
	.search .field { flex: 1 1 150px; }
	.search .field--date { flex: 1.6 1 230px; }
	.search__submit { flex: 0 0 auto; }
}
html, body { overflow-x: clip; }

/* ---------- Boutons supplémentaires ---------- */
.btn--wa { background: #1f7a3d; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-row--center { justify-content: center; }
.btn-col { display: flex; flex-direction: column; gap: 8px; }
.rate-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Carte et agence ---------- */
.map-row { display: grid; gap: 20px; }
@media (min-width: 960px) { .map-row { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e9efe8; min-height: 340px; }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
.map-side { display: flex; flex-direction: column; gap: 16px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.info-card h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin: 0; }
.info-card .muted { margin: 0; }
.hours--card { font-size: 14px; color: var(--muted); gap: 2px; margin-bottom: 4px; }

/* ---------- Avis et FAQ ---------- */
.section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-row { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.reviews { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.score { display: flex; gap: 14px; align-items: center; background: var(--bg); border-radius: var(--radius); padding: 16px 18px; }
.score__value { font-size: 40px; font-weight: 800; color: var(--ink); line-height: 1; }
.score__meta { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.score__stars { display: flex; gap: 2px; color: #b8860b; }
.score__stars .dfc-icon { fill: currentColor; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fbfaf7; padding: 0 18px; }
.faq__item summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--accent); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0 0 16px; color: var(--muted); }

/* ---------- Suivi de réservation ---------- */
.track__form { max-width: 480px; display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 24px; box-shadow: var(--shadow); }
.track__grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .track__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; } }
.track__card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.track__card h3 { margin: 0; font-size: 18px; }
.track__head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.track__head .eyebrow { margin: 0; }
.track__ref { margin: 0; font-size: 30px; font-weight: 800; }
.track__details { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: 15px; }
.track__details dt { color: var(--muted); }
.track__details dd { margin: 0; color: var(--ink); }
.badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.badge--pending { background: #fdf0cf; color: #6b4a00; }
.badge--ok { background: #e5efe8; color: #1f5a33; }
.badge--info { background: #e3ecf8; color: #1d4f8f; }
.badge--muted { background: #ebe9e4; color: #3d4048; }
.badge--error { background: #fdecea; color: var(--err); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline__item { display: flex; align-items: center; gap: 14px; position: relative; padding-bottom: 22px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.timeline__item.is-done:not(:last-child)::after { background: var(--ok); }
.timeline__dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #c9c4b8; background: var(--surface); color: var(--muted); font-weight: 700; font-size: 14px; flex: none; position: relative; z-index: 1; }
.timeline__item.is-done .timeline__dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.timeline__item.is-next .timeline__dot { border-color: var(--accent); color: var(--accent); }
.timeline__label { font-weight: 600; color: var(--ink); }
.timeline__item.is-todo .timeline__label { color: var(--muted); font-weight: 500; }

/* ---------- Estimation : note de conversion ---------- */
.estimate__lines .is-note { font-size: 13px; color: var(--muted); font-weight: 500; }
.estimate__lines dd { text-align: end; }
[hidden] { display: none !important; }

/* ---------- Arabe : de droite à gauche ---------- */
.lang-ar { --font: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", "Arial", sans-serif; }
.lang-ar h1, .lang-ar h2, .lang-ar h3, .lang-ar h4, .lang-ar .eyebrow, .lang-ar .hero__title, .lang-ar .section__title,
.lang-ar .brand__name, .lang-ar .site-footer__brand, .lang-ar .site-footer__title, .lang-ar .booking legend { letter-spacing: 0; text-transform: none; }
.lang-ar .hero__title { line-height: 1.3; }
.lang-ar .card__badge { left: auto; right: 12px; }
.lang-ar .wa-float { right: auto; left: 18px; }
.lang-ar .dfc-icon--arrow, .lang-ar .crumbs__arrow { transform: scaleX(-1); display: inline-block; }
.lang-ar .nav-principal .menu a::after { transform-origin: right; }
.lang-ar .estimate__lines dt { padding-right: 0; padding-left: 12px; }
.lang-ar .alignleft { float: right; margin: 0 0 1em 1.5em; }
.lang-ar .alignright { float: left; margin: 0 1.5em 1em 0; }

/* ---------- Sélecteur langue et devise (menu principal) ---------- */
.header-tools { display: flex; align-items: center; gap: 10px; }
.nav-book--desk { display: none; }
.prefs { position: relative; }
.prefs__toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; user-select: none; white-space: nowrap; }
.prefs__toggle::-webkit-details-marker { display: none; }
.prefs__toggle:hover { border-color: #cfcabf; }
.prefs__toggle .dfc-icon--globe { color: var(--muted); }
.prefs__toggle .dfc-icon--chevron { color: var(--muted); transition: transform .15s ease; }
.prefs[open] .prefs__toggle { border-color: var(--ink); }
.prefs[open] .prefs__toggle .dfc-icon--chevron { transform: rotate(180deg); }
.prefs__panel { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; width: 240px; max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 10px; }
.prefs__title { margin: 4px 8px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prefs__title + .prefs__list { margin-bottom: 8px; }
.prefs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.prefs__opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; text-align: start; text-decoration: none; cursor: pointer; }
.prefs__opt:hover { background: var(--bg); }
.prefs__opt .dfc-icon--check { margin-inline-start: auto; color: var(--accent); visibility: hidden; }
.prefs__opt.is-on { font-weight: 700; }
.prefs__opt.is-on .dfc-icon--check { visibility: visible; }
.prefs__sym { min-width: 40px; font-weight: 700; }
.prefs__name { color: var(--muted); font-size: 14px; }
.prefs__opt.is-on .prefs__name { color: var(--ink); }
@media (min-width: 960px) {
	.site-header__inner { justify-content: flex-start; }
	.nav-principal { margin-inline-start: auto; }
	.nav-book--mobile { display: none; }
	.nav-book--desk { display: inline-flex; }
	.header-tools { gap: 14px; margin-inline-start: 10px; }
}
@media (max-width: 380px) { .prefs__toggle { padding: 0 10px; } .prefs__toggle .dfc-icon--globe { display: none; } }

/* ---------- Téléphone et WhatsApp dans la barre principale ---------- */
.header-contact { display: flex; align-items: center; gap: 8px; }
.header-tel { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; }
.header-tel__num { display: none; }
.header-wa { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: #1f8f4e; color: #fff; text-decoration: none; }
.header-wa:hover { background: #187440; color: #fff; }
.header-tel:hover { border-color: #cfcabf; }
@media (max-width: 420px) {
	.header-tools { gap: 6px; }
	.header-contact { gap: 6px; }
	.header-tel, .header-wa, .nav-toggle { width: 40px; height: 40px; }
	.custom-logo { max-height: 40px; }
}
.brand__name { white-space: nowrap; }
.brand { min-width: 0; }
@media (max-width: 420px) {
	.brand__name { font-size: 17px; gap: 8px; }
	.brand__mark { width: 30px; height: 30px; }
	.prefs__toggle { padding: 0 9px; gap: 4px; }
	.prefs__toggle .dfc-icon--globe { display: none; }
	.custom-logo { max-width: 96px; height: auto; }
}
@media (max-width: 359px) { .header-tel { display: none; } }
@media (min-width: 960px) {
	.nav-tel--mobile { display: none; }
	.header-contact { gap: 12px; padding-inline-start: 18px; border-inline-start: 1px solid var(--line); }
	.header-tel { display: inline-flex; align-items: center; gap: 8px; width: auto; height: auto; border: 0; border-radius: 0; background: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
	.header-tel__num { display: inline; }
	.header-tel:hover { color: var(--accent); }
	.nav-principal { gap: 22px; }
	.nav-principal .menu { gap: 22px; }
}
@media (min-width: 960px) and (max-width: 1199px) {
	.header-tel { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
	.header-tel__num { display: none; }
	.nav-principal .menu { gap: 18px; }
	.nav-principal .menu a { font-size: 14px; }
}
