/*
Theme Name: Ediacara
Description: Ediacara theme: guided motorcycle, 4x4, buggy and heritage tours. WooCommerce compatible.
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: mototrip
*/

/* ---------- Socle ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--wp--preset--color--signal); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.mt-eyebrow {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
	color: var(--wp--preset--color--signal-dark);
	margin: 0;
}
.has-asphalt-background-color .mt-eyebrow, .wp-block-cover .mt-eyebrow { color: var(--wp--preset--color--signal); }

/* ---------- En-tête ---------- */
.mt-header { position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--wp--preset--color--signal); }
.admin-bar .mt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mt-header { top: 46px; } }
.mt-header .wp-block-site-title a { text-decoration: none; color: inherit; }
.mt-header .wp-block-navigation a { text-decoration: none; }
.mt-header .wp-block-navigation a:hover { color: var(--wp--preset--color--signal); }
.mt-header .wp-block-woocommerce-mini-cart, .mt-header .wc-block-mini-cart__button { color: inherit; }
.mt-header .wc-block-mini-cart__badge { background: var(--wp--preset--color--signal) !important; color: var(--wp--preset--color--asphalt) !important; }
.mt-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--asphalt); color: var(--wp--preset--color--paper); padding: 24px; }

/* ---------- Accueil ---------- */
.mt-hero .wp-block-cover__inner-container { max-width: 1240px; margin-inline: auto; width: 100%; }
.mt-hero h1 { max-width: 15ch; text-wrap: balance; }
.mt-hero p.mt-lede { max-width: 46ch; }

.mt-promises { display: grid; grid-template-columns: repeat(4, 1fr); }
.mt-promises > * { margin: 0 !important; padding: 22px 24px; border-left: 1px solid rgba(255,255,255,.18); }
.mt-promises > *:first-child { border-left: 0; }
.mt-promises strong { display: block; font-family: var(--wp--preset--font-family--display); font-size: 1.35rem; letter-spacing: .01em; text-transform: uppercase; }
@media (max-width: 860px) {
	.mt-promises { grid-template-columns: 1fr 1fr; }
	.mt-promises > *:nth-child(odd) { border-left: 0; }
	.mt-promises > *:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
}
@media (max-width: 480px) {
	.mt-promises { grid-template-columns: 1fr; }
	.mt-promises > * { border-left: 0; }
	.mt-promises > *:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,.18); }
}

/* Étapes façon road-book : case numérotée, trait de route */
.mt-steps { counter-reset: step; gap: 0 !important; }
.mt-steps > .wp-block-column { counter-increment: step; position: relative; padding: 0 28px 0 0; border-top: 3px solid currentColor; }
.mt-steps > .wp-block-column::before {
	content: counter(step, decimal-leading-zero);
	display: inline-block; margin-top: -3px; padding: 4px 12px;
	background: var(--wp--preset--color--signal); color: var(--wp--preset--color--asphalt);
	font: 700 1.25rem/1.2 var(--wp--preset--font-family--display);
}
@media (max-width: 781px) { .mt-steps > .wp-block-column { padding-bottom: 28px; padding-right: 0; } }

/* ---------- Cartes voyage ---------- */
ul.products.mt-trips, .woocommerce ul.products, .woocommerce-page ul.products {
	display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px;
	list-style: none; margin: 0 !important; padding: 0;
}
ul.products::before, ul.products::after { display: none !important; }
@media (max-width: 980px) { ul.products.mt-trips, .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { ul.products.mt-trips, .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: minmax(0, 1fr); } }

.woocommerce ul.products li.mt-card, ul.products li.mt-card { width: auto !important; float: none !important; margin: 0 !important; padding: 0; display: flex; }
.mt-card__link { display: flex; flex-direction: column; width: 100%; color: inherit; text-decoration: none; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--line); transition: border-color .15s, transform .15s; }
.mt-card__link:hover { border-color: var(--wp--preset--color--asphalt); transform: translateY(-3px); }
.mt-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--wp--preset--color--line); }
.mt-card__media img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; display: block; }
.mt-card__level { position: absolute; left: 0; bottom: 0; padding: 4px 12px; background: var(--wp--preset--color--asphalt); color: var(--wp--preset--color--paper); font: 600 .95rem/1.4 var(--wp--preset--font-family--display); letter-spacing: .08em; text-transform: uppercase; }
.mt-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.mt-card__region { margin: 0 0 2px; font: 600 .95rem/1.3 var(--wp--preset--font-family--display); letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--signal-dark); }
.mt-card__title { margin: 0 0 14px; font: 700 1.75rem/1.05 var(--wp--preset--font-family--display); text-transform: uppercase; }
.mt-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 16px; padding: 0; list-style: none; }
.mt-card__next { margin: 0 0 16px; font-size: .95rem; color: var(--wp--preset--color--muted); }
.mt-card__price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--wp--preset--color--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mt-card__price .amount, .mt-card__price bdi { font: 700 1.6rem/1 var(--wp--preset--font-family--display); }
.mt-card__cta { font-weight: 600; white-space: nowrap; }
.mt-card__link:hover .mt-card__cta { color: var(--wp--preset--color--signal-dark); }
.mt-fact { font-weight: 500; }
.mt-fact small { display: block; font-size: .8rem; font-weight: 400; color: var(--wp--preset--color--muted); }

/* ---------- Page des voyages ---------- */
.mt-archive-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 28px; }
.mt-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mt-filters a { display: block; padding: 8px 16px; border: 1px solid var(--wp--preset--color--asphalt); color: inherit; text-decoration: none; font: 600 1.05rem/1.2 var(--wp--preset--font-family--display); letter-spacing: .05em; text-transform: uppercase; }
.mt-filters a:hover { background: var(--wp--preset--color--line); }
.mt-filters a[aria-current="true"] { background: var(--wp--preset--color--asphalt); color: var(--wp--preset--color--paper); }
.woocommerce-result-count, .woocommerce-ordering { display: none; }
.woocommerce-info { border: 1px solid var(--wp--preset--color--line); padding: 18px 20px; background: var(--wp--preset--color--white); list-style: none; }

/* ---------- Fiche voyage ---------- */
.mt-trip-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: var(--wp--preset--color--white); background: var(--wp--preset--color--asphalt); overflow: hidden; }
.mt-trip-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mt-trip-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,18,20,.88) 0%, rgba(16,18,20,.25) 60%, rgba(16,18,20,.1) 100%); }
.mt-trip-hero__inner { position: relative; z-index: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 96px 24px 40px; }
.mt-trip-hero .mt-eyebrow { color: var(--wp--preset--color--signal); }
.mt-trip-hero h1 { margin: 4px 0 0; color: inherit; font: 700 clamp(2.75rem, 7vw, 5.5rem)/.98 var(--wp--preset--font-family--display); text-transform: uppercase; max-width: 16ch; }

.mt-roadbook { background: var(--wp--preset--color--asphalt); color: var(--wp--preset--color--paper); }
.mt-roadbook ul { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1240px; margin: 0 auto; padding: 0; list-style: none; }
.mt-roadbook li { padding: 16px 24px; border-left: 1px solid rgba(255,255,255,.18); }
.mt-roadbook li:first-child { border-left: 0; }
.mt-roadbook small { display: block; color: #B9BCBE; font-size: .85rem; }
.mt-roadbook strong { font: 600 1.5rem/1.2 var(--wp--preset--font-family--display); }
@media (max-width: 720px) {
	.mt-roadbook ul { grid-template-columns: 1fr 1fr; }
	.mt-roadbook li:nth-child(odd) { border-left: 0; }
	.mt-roadbook li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
}

.mt-trip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; max-width: 1240px; margin: 0 auto; padding: 56px 24px 96px; align-items: start; }
@media (max-width: 980px) { .mt-trip-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 64px; } .mt-booking { order: -1; position: static !important; } }
.mt-trip-main h2 { margin: 48px 0 18px; font: 700 2.25rem/1.05 var(--wp--preset--font-family--display); text-transform: uppercase; }
.mt-trip-main > *:first-child, .mt-trip-intro > *:first-child { margin-top: 0; }
.mt-trip-intro { font-size: 1.15rem; max-width: 62ch; }

/* Itinéraire : cases de road-book reliées par un trait */
.mt-itinerary { margin: 0; padding: 0; list-style: none; counter-reset: day; }
.mt-itinerary li { counter-increment: day; position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 18px; padding-bottom: 28px; }
.mt-itinerary li::before { content: "J" counter(day); grid-row: 1 / span 2; align-self: start; z-index: 1; padding: 8px 0; text-align: center; background: var(--wp--preset--color--asphalt); color: var(--wp--preset--color--paper); font: 700 1.25rem/1.2 var(--wp--preset--font-family--display); }
.mt-itinerary li::after { content: ""; position: absolute; left: 31px; top: 0; bottom: 0; width: 2px; background: var(--wp--preset--color--line); }
.mt-itinerary li:last-child { padding-bottom: 0; }
.mt-itinerary li:last-child::after { display: none; }
.mt-itinerary h3 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; margin: 4px 0 4px; font: 600 1.4rem/1.2 var(--wp--preset--font-family--display); }
.mt-itinerary h3 span { color: var(--wp--preset--color--muted); font-weight: 600; font-size: 1.1rem; white-space: nowrap; }
.mt-itinerary p { margin: 0; max-width: 62ch; }

.mt-incl { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.mt-incl h3 { margin: 0 0 10px; font: 600 1.3rem/1.2 var(--wp--preset--font-family--display); text-transform: uppercase; letter-spacing: .03em; }
.mt-incl ul { margin: 0; padding: 0; list-style: none; }
.mt-incl li { position: relative; padding: 7px 0 7px 26px; border-top: 1px solid var(--wp--preset--color--line); }
.mt-incl li::before { position: absolute; left: 2px; top: 7px; font-weight: 600; }
.mt-incl__yes li::before { content: "✓"; color: var(--wp--preset--color--moss); }
.mt-incl__no li::before { content: "–"; color: var(--wp--preset--color--muted); }

/* Encart de réservation */
.mt-booking { position: sticky; top: 96px; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--asphalt); border-top: 6px solid var(--wp--preset--color--signal); padding: 22px 24px 24px; }
.mt-booking__from { margin: 0; color: var(--wp--preset--color--muted); font-size: .95rem; }
.mt-booking .price, .woocommerce div.product .mt-booking p.price, .woocommerce div.product .mt-booking span.price { display: block; margin: 0 0 18px; color: var(--wp--preset--color--asphalt); font: 700 2.5rem/1.05 var(--wp--preset--font-family--display); }
.mt-booking table.variations { width: 100%; margin: 0 0 12px !important; border: 0; }
.mt-booking table.variations tr { display: block; margin: 0; }
.mt-booking table.variations th, .mt-booking table.variations td { display: block; padding: 0 !important; text-align: left; line-height: 1.4 !important; }
.mt-booking table.variations th label, .mt-formula legend { display: block; margin: 0 0 6px; padding: 0; font-weight: 600; }
.mt-booking select { width: 100%; min-height: 46px; margin: 0 !important; padding: 8px 10px; border: 1px solid var(--wp--preset--color--asphalt); border-radius: 0; background-color: var(--wp--preset--color--white); font: inherit; color: inherit; }
.mt-booking .reset_variations { display: inline-block; margin-top: 6px; font-size: .9rem; }
.mt-formula { margin: 14px 0; padding: 0; border: 0; }
.mt-formula label { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--wp--preset--color--line); cursor: pointer; }
.mt-formula label + label { border-top: 0; }
.mt-formula label:has(input:checked) { border-color: var(--wp--preset--color--asphalt); box-shadow: inset 4px 0 0 var(--wp--preset--color--signal); }
.mt-formula input { margin-top: 5px; accent-color: var(--wp--preset--color--signal-dark); }
.mt-formula strong { white-space: nowrap; }
.mt-booking .woocommerce-variation-price { margin: 0 0 10px; }
.mt-booking .woocommerce-variation-price .price { margin-bottom: 0; font-size: 1.75rem; }
.mt-booking .woocommerce-variation-availability p { margin: 0 0 12px; font-weight: 500; color: var(--wp--preset--color--moss); }
.mt-booking .woocommerce-variation-availability p.out-of-stock { color: #A32A12; }
.mt-booking .woocommerce-variation-add-to-cart, .mt-booking form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.mt-booking form.variations_form { display: block; }
.mt-booking .quantity { margin: 0 !important; float: none !important; }
.mt-booking .quantity input.qty { width: 72px !important; min-height: 52px; border: 1px solid var(--wp--preset--color--asphalt); border-radius: 0; font: inherit; }
.mt-booking .single_add_to_cart_button { flex: 1; float: none !important; }
.mt-booking__note { margin: 14px 0 0; font-size: .9rem; color: var(--wp--preset--color--muted); }

ul.products.mt-trips { margin-top: var(--wp--preset--spacing--40) !important; }
.mt-facts::before, .mt-facts::after { display: none !important; }

/* Corrections de spécificité face aux styles WooCommerce */
.woocommerce ul.products li.product h3.mt-card__title, h3.mt-card__title { padding: 0; margin: 0 0 14px; font: 700 1.75rem/1.05 var(--wp--preset--font-family--display); }
.woocommerce ul.products li.product .mt-facts, .mt-card .mt-facts { padding: 0 !important; margin: 0 0 16px !important; }
.woocommerce ul.products li.product .mt-facts li, .mt-card .mt-facts li { margin: 0; padding: 0; }
.woocommerce ul.products li.product .mt-card__media img { margin: 0 !important; }
.woocommerce div.product .mt-booking form.cart .variations { display: block; margin-bottom: 0; }
.mt-booking table.variations tbody { display: block; width: 100%; }
.mt-booking table.variations td.value { width: 100%; }
.woocommerce div.product .mt-booking form.cart .variations select { min-width: 100%; width: 100%; margin: 0; }
.mt-booking .single_variation_wrap { margin: 0; }
.mt-booking .woocommerce-variation-add-to-cart .mt-formula { flex: 0 0 100%; order: -1; margin: 0 0 4px; min-width: 0; }
.mt-booking .mt-formula label { width: auto; box-sizing: border-box; }

/* ---------- Boutons et formulaires ---------- */
.mt-button, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce button.button.alt, .woocommerce a.button.alt,
.woocommerce button.button.disabled, .woocommerce button.button.alt.disabled, .wc-block-components-button:not(.is-link), .wp-element-button {
	display: inline-block; min-height: 52px; padding: 14px 24px; border: 0; border-radius: 0; cursor: pointer; text-decoration: none; text-align: center;
	background: var(--wp--preset--color--signal); color: var(--wp--preset--color--asphalt);
	font: 700 1.2rem/1.2 var(--wp--preset--font-family--display); letter-spacing: .05em; text-transform: uppercase;
	transition: background-color .15s, color .15s;
}
.mt-button:hover, .woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover, .wc-block-components-button:not(.is-link):hover {
	background: var(--wp--preset--color--asphalt); color: var(--wp--preset--color--paper);
}
.woocommerce button.button.disabled, .woocommerce button.button.alt.disabled { opacity: .45; cursor: not-allowed; background: var(--wp--preset--color--signal); color: var(--wp--preset--color--asphalt); }

.mt-form { max-width: 640px; }
.mt-form p { margin: 0 0 16px; }
.mt-form label { display: block; margin-bottom: 4px; font-weight: 600; }
.mt-form input, .mt-form textarea { box-sizing: border-box; width: 100%; padding: 12px; border: 1px solid var(--wp--preset--color--asphalt); border-radius: 0; background: var(--wp--preset--color--white); font: inherit; }
.mt-hp { position: absolute !important; left: -9999px; }
.mt-notice { padding: 12px 16px; border-left: 4px solid; background: var(--wp--preset--color--white); }
.mt-notice--success { border-color: var(--wp--preset--color--moss); }
.mt-notice--error { border-color: #A32A12; }

/* ---------- FAQ ---------- */
.wp-block-details { border-top: 1px solid currentColor; padding: 16px 0; }
.wp-block-details summary { cursor: pointer; font: 600 1.35rem/1.25 var(--wp--preset--font-family--display); }
.wp-block-details[open] summary { margin-bottom: 8px; }

/* ---------- Pied de page ---------- */
.mt-footer a { color: inherit; }
.mt-footer a:hover { color: var(--wp--preset--color--signal); }
.mt-footer ul { list-style: none; margin: 0; padding: 0; }
.mt-footer li { margin: 0 0 6px; }

/* ---------- Pages WooCommerce ---------- */
.woocommerce-breadcrumb { display: none; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-error { max-width: 1240px; margin: 16px auto !important; padding: 14px 18px; list-style: none; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--asphalt); border-left: 6px solid var(--wp--preset--color--moss); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.woocommerce-message::before, .woocommerce-message::after, .woocommerce-error::before, .woocommerce-error::after { display: none; }
.woocommerce-error { border-left-color: #A32A12; }

/* =====================================================================
 * Version 2 : catalogue façon agence de voyage moto
 * ===================================================================== */

/* ---------- Petits éléments communs ---------- */
.mt-badge { display: inline-block; padding: 4px 10px; background: var(--wp--preset--color--asphalt); color: var(--wp--preset--color--paper); font: 600 .9rem/1.3 var(--wp--preset--font-family--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
a.mt-badge:hover { background: var(--wp--preset--color--signal); color: var(--wp--preset--color--asphalt); }
.mt-badge--new { background: var(--wp--preset--color--signal); color: var(--wp--preset--color--asphalt); }
.mt-button--ghost { background: transparent !important; color: var(--wp--preset--color--asphalt) !important; box-shadow: inset 0 0 0 2px var(--wp--preset--color--asphalt); }
.mt-button--ghost:hover { background: var(--wp--preset--color--asphalt) !important; color: var(--wp--preset--color--paper) !important; }
.mt-link { color: var(--wp--preset--color--signal-dark); font-weight: 600; }
.mt-empty { padding: 20px; background: var(--wp--preset--color--white); border: 1px dashed var(--wp--preset--color--line); }
.mt-stars { --r: 0; display: inline-block; width: 5.5em; height: 1em; vertical-align: -2px; background: linear-gradient(90deg, var(--wp--preset--color--signal) calc(var(--r) / 5 * 100%), var(--wp--preset--color--line) 0); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 20'%3E%3Cg%3E%3Cpath id='s' d='M10 1l2.6 6 6.4.6-4.9 4.3 1.5 6.3L10 15l-5.6 3.2 1.5-6.3L1 7.6 7.4 7z'/%3E%3Cuse href='%23s' x='22'/%3E%3Cuse href='%23s' x='44'/%3E%3Cuse href='%23s' x='66'/%3E%3Cuse href='%23s' x='88'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 20'%3E%3Cg%3E%3Cpath id='s' d='M10 1l2.6 6 6.4.6-4.9 4.3 1.5 6.3L10 15l-5.6 3.2 1.5-6.3L1 7.6 7.4 7z'/%3E%3Cuse href='%23s' x='22'/%3E%3Cuse href='%23s' x='44'/%3E%3Cuse href='%23s' x='66'/%3E%3Cuse href='%23s' x='88'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100%; }
.mt-rating { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; }
.mt-rating span:last-child { color: var(--wp--preset--color--muted); }

/* Cœur favoris */
.mt-heart { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); cursor: pointer; }
.mt-heart svg { width: 22px; height: 22px; fill: none; stroke: var(--wp--preset--color--asphalt); stroke-width: 2; }
.mt-heart[aria-pressed="true"] svg { fill: var(--wp--preset--color--signal); stroke: var(--wp--preset--color--signal-dark); }
.mt-heart:hover { transform: scale(1.06); }

/* ---------- Cartes voyage v2 ---------- */
.mt-card__inner { position: relative; display: flex; flex-direction: column; width: 100%; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--line); transition: border-color .15s, box-shadow .15s; }
.mt-card__inner:hover { border-color: var(--wp--preset--color--asphalt); box-shadow: 0 10px 30px -18px rgba(0,0,0,.5); }
.mt-card__badges { position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.mt-card__title a { color: inherit; text-decoration: none; }
.mt-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mt-card__inner a:not(.mt-card__title a), .mt-card__inner button { position: relative; z-index: 2; }
.woocommerce ul.products li.product h3.mt-card__title, h3.mt-card__title { margin: 0 0 6px; }
.mt-card__facts { margin: 0 0 8px; font-weight: 500; color: var(--wp--preset--color--muted); }
.mt-card .mt-rating { margin-bottom: 10px; }
.woocommerce ul.products li.product ul.mt-card__dates, ul.mt-card__dates { display: grid; gap: 6px; margin: 8px 0 6px !important; padding: 0 !important; list-style: none; }
.mt-card__dates a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; background: var(--wp--preset--color--paper); color: inherit; text-decoration: none; font-size: .95rem; }
.mt-card__dates a:hover { background: var(--wp--preset--color--line); }
.mt-card__dates span { color: var(--wp--preset--color--moss); font-weight: 600; white-space: nowrap; }
.mt-card__dates .is-full span { color: #A32A12; }
.mt-card__more { margin: 2px 0 12px; font-size: .9rem; color: var(--wp--preset--color--muted); }
.mt-card__price small { font-size: .85rem; font-weight: 500; color: var(--wp--preset--color--muted); }
.mt-card__cta { color: var(--wp--preset--color--signal-dark); text-decoration: none; }

/* ---------- Recherche (accueil) ---------- */
.mt-search { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; max-width: 980px; padding: 14px; background: rgba(244,241,234,.97); color: var(--wp--preset--color--asphalt); }
.mt-field { display: grid; gap: 4px; min-width: 0; }
.mt-field span { font: 600 .9rem/1.2 var(--wp--preset--font-family--display); letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.mt-field select { width: 100%; min-height: 50px; padding: 8px 10px; border: 1px solid var(--wp--preset--color--asphalt); border-radius: 0; background: var(--wp--preset--color--white); font: inherit; color: inherit; }
.mt-search .mt-button { min-height: 50px; }
@media (max-width: 760px) { .mt-search { grid-template-columns: 1fr; } }

/* ---------- Calendrier des départs ---------- */
.mt-departs-filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; padding: 16px; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--line); }
@media (max-width: 960px) { .mt-departs-filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .mt-departs-filters { grid-template-columns: 1fr; } }
.mt-departs-count { margin: 0 0 8px; }
.mt-departs-month { margin: 36px 0 12px; padding-bottom: 6px; border-bottom: 3px solid var(--wp--preset--color--asphalt); font: 700 1.9rem/1.1 var(--wp--preset--font-family--display); text-transform: uppercase; }
.mt-departs { display: grid; gap: 10px; }
.mt-dep { display: grid; grid-template-columns: 76px 120px minmax(0, 1fr) 140px 150px 150px; align-items: center; gap: 18px; padding: 12px 16px 12px 12px; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--line); }
.mt-dep:hover { border-color: var(--wp--preset--color--asphalt); }
.mt-dep__date { display: grid; place-items: center; padding: 8px 0; background: var(--wp--preset--color--asphalt); color: var(--wp--preset--color--paper); text-align: center; line-height: 1.1; }
.mt-dep__date strong { font: 700 2rem/1 var(--wp--preset--font-family--display); }
.mt-dep__date span { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.mt-dep__media img { display: block; width: 120px; height: 80px; object-fit: cover; }
.mt-dep__main h3 { margin: 0; font: 700 1.5rem/1.1 var(--wp--preset--font-family--display); text-transform: uppercase; }
.mt-dep__main h3 a { color: inherit; text-decoration: none; }
.mt-dep__main h3 a:hover { color: var(--wp--preset--color--signal-dark); }
.mt-dep__meta { margin: 0 0 2px; font: 600 .9rem/1.2 var(--wp--preset--font-family--display); letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--signal-dark); }
.mt-dep__range { margin: 4px 0 0; font-size: .95rem; color: var(--wp--preset--color--muted); }
.mt-dep__places { margin: 0; font-weight: 600; color: var(--wp--preset--color--moss); }
.mt-dep--last .mt-dep__places { color: var(--wp--preset--color--signal-dark); }
.mt-dep--full .mt-dep__places { color: #A32A12; }
.mt-dep--full { opacity: .75; }
.mt-dep__price { font: 700 1.5rem/1.1 var(--wp--preset--font-family--display); }
.mt-dep__price small { font: 500 .8rem var(--wp--preset--font-family--body); color: var(--wp--preset--color--muted); }
.mt-dep__cta .mt-button { width: 100%; }
@media (max-width: 1100px) {
	.mt-dep { grid-template-columns: 70px minmax(0, 1fr) auto; grid-template-areas: "date main main" "date places price" "cta cta cta"; gap: 8px 14px; }
	.mt-dep__date { grid-area: date; align-self: stretch; }
	.mt-dep__media { display: none; }
	.mt-dep__main { grid-area: main; }
	.mt-dep__places { grid-area: places; }
	.mt-dep__price { grid-area: price; text-align: right; }
	.mt-dep__cta { grid-area: cta; }
}

/* ---------- Thématiques ---------- */
.mt-themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mt-theme { position: relative; display: flex; align-items: flex-end; min-height: 300px; overflow: hidden; color: var(--wp--preset--color--white); background: var(--wp--preset--color--asphalt); text-decoration: none; }
.mt-theme img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mt-theme::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,18,20,.92), rgba(16,18,20,.1) 70%); }
.mt-theme:hover img { transform: scale(1.05); }
.mt-theme__body { position: relative; z-index: 1; display: grid; gap: 6px; padding: 20px; }
.mt-theme__body strong { font: 700 2rem/1 var(--wp--preset--font-family--display); text-transform: uppercase; }
.mt-theme__body em { font-style: normal; font-weight: 600; color: var(--wp--preset--color--signal); }
.mt-theme--custom { background: var(--wp--preset--color--signal); color: var(--wp--preset--color--asphalt); }
.mt-theme--custom::after { display: none; }
.mt-theme--custom .mt-theme__body em { color: var(--wp--preset--color--asphalt); }

/* ---------- Avis ---------- */
.mt-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.mt-review { margin: 0; padding: 22px; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--line); }
.mt-review blockquote { margin: 10px 0; }
.mt-review figcaption { font-size: .95rem; color: var(--wp--preset--color--muted); }

/* ---------- Magazine ---------- */
.mt-articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.mt-article { display: grid; gap: 8px; align-content: start; color: inherit; text-decoration: none; }
.mt-article__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--wp--preset--color--line); }
.mt-article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mt-article:hover img { transform: scale(1.04); }
.mt-article__meta { font: 600 .9rem/1.2 var(--wp--preset--font-family--display); letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--signal-dark); }
.mt-article strong { font: 700 1.6rem/1.1 var(--wp--preset--font-family--display); text-transform: uppercase; }
.mt-article:hover strong { color: var(--wp--preset--color--signal-dark); }

/* ---------- Newsletter ---------- */
.mt-newsletter { max-width: 560px; }
.mt-newsletter__row { display: flex; gap: 8px; }
.mt-newsletter input[type=email] { flex: 1; min-width: 0; min-height: 52px; padding: 0 14px; border: 1px solid currentColor; border-radius: 0; background: var(--wp--preset--color--white); color: var(--wp--preset--color--asphalt); font: inherit; }
.mt-newsletter__consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: .85rem; opacity: .9; }
.mt-newsletter__consent input { margin-top: 4px; accent-color: var(--wp--preset--color--signal); }
@media (max-width: 480px) { .mt-newsletter__row { flex-direction: column; } }

/* ---------- Bouton flottant ---------- */
.mt-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--wp--preset--color--signal); color: var(--wp--preset--color--asphalt); box-shadow: 0 10px 25px -10px rgba(0,0,0,.6); font: 700 1.1rem/1 var(--wp--preset--font-family--display); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.mt-float svg { width: 20px; height: 20px; fill: currentColor; }
.mt-float:hover { background: var(--wp--preset--color--asphalt); color: var(--wp--preset--color--paper); }
@media (max-width: 600px) { .mt-float span { display: none; } .mt-float { padding: 14px; } }

/* ---------- Fiche voyage v2 ---------- */
.mt-trip-hero .mt-card__badges { position: static; margin-bottom: 14px; }
.mt-trip-hero__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 18px 0 0; font-size: 1.1rem; }
.mt-trip-hero__facts .mt-rating span:last-child { color: #DADCDD; }
.mt-trip-hero__price { padding: 4px 12px; background: var(--wp--preset--color--signal); color: var(--wp--preset--color--asphalt); font: 700 1.35rem/1.2 var(--wp--preset--font-family--display); }
.mt-trip-hero .mt-heart { top: auto; bottom: 40px; right: max(24px, calc((100vw - 1240px) / 2 + 24px)); }
.mt-roadbook ul { grid-template-columns: repeat(6, 1fr); }
.mt-roadbook strong { font-size: 1.25rem; }
@media (max-width: 1000px) { .mt-roadbook ul { grid-template-columns: repeat(3, 1fr); } .mt-roadbook li:nth-child(4) { border-left: 0; } .mt-roadbook li:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.18); } }
@media (max-width: 720px) { .mt-roadbook ul { grid-template-columns: 1fr 1fr; } }

.mt-breadcrumb { max-width: 1240px; margin: 0 auto; padding: 14px 24px 0; font-size: .9rem; color: var(--wp--preset--color--muted); }
.mt-breadcrumb a { color: inherit; }

.mt-subnav { position: sticky; top: 70px; z-index: 40; margin-top: 14px; background: var(--wp--preset--color--paper); border-bottom: 1px solid var(--wp--preset--color--line); }
.admin-bar .mt-subnav { top: 102px; }
.mt-subnav ul { display: flex; gap: 4px; max-width: 1240px; margin: 0 auto; padding: 0 24px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.mt-subnav a { display: block; padding: 14px 14px 12px; border-bottom: 3px solid transparent; color: inherit; text-decoration: none; white-space: nowrap; font: 600 1.1rem/1 var(--wp--preset--font-family--display); letter-spacing: .06em; text-transform: uppercase; }
.mt-subnav a:hover, .mt-subnav a[aria-current="true"] { border-bottom-color: var(--wp--preset--color--signal); }
.mt-subnav__cta { margin-left: auto; }
.mt-subnav__cta a { color: var(--wp--preset--color--signal-dark); }
@media (min-width: 981px) { .mt-subnav__cta { display: none; } }

.mt-trip-layout { padding-top: 40px; }
.mt-section { scroll-margin-top: 140px; }
.mt-section + .mt-section { margin-top: 56px; padding-top: 8px; border-top: 1px solid var(--wp--preset--color--line); }
.mt-section__sub { color: var(--wp--preset--color--muted); }
.mt-h3 { margin: 36px 0 14px; font: 700 1.6rem/1.1 var(--wp--preset--font-family--display); text-transform: uppercase; }
.mt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.mt-chips li { padding: 6px 12px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--white); font-weight: 500; }
.mt-expert { display: flex; gap: 18px; margin-top: 28px; padding: 20px; background: var(--wp--preset--color--white); border-left: 4px solid var(--wp--preset--color--signal); }
.mt-expert__avatar { flex: 0 0 64px; display: grid; place-items: center; height: 64px; border-radius: 50%; background: var(--wp--preset--color--asphalt); color: var(--wp--preset--color--signal); font: 700 2rem/1 var(--wp--preset--font-family--display); }
.mt-expert p { margin: 0 0 6px; }
.mt-expert__label { font-size: .85rem; color: var(--wp--preset--color--muted); text-transform: uppercase; letter-spacing: .08em; }
.mt-expert__name { font: 700 1.5rem/1.1 var(--wp--preset--font-family--display); }

.mt-map { display: grid; place-items: center; gap: 8px; min-height: 140px; margin: 0 0 28px; padding: 20px; text-align: center; background: repeating-linear-gradient(135deg, var(--wp--preset--color--white) 0 14px, var(--wp--preset--color--paper) 14px 28px); border: 1px solid var(--wp--preset--color--line); }
.mt-map p { margin: 0; font-size: .85rem; color: var(--wp--preset--color--muted); }
.mt-map.is-loaded { display: block; height: 420px; padding: 0; }
.mt-itinerary-wrap.is-collapsed { position: relative; max-height: 520px; overflow: hidden; }
.mt-itinerary-wrap.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(to bottom, rgba(244,241,234,0), var(--wp--preset--color--paper)); }
.mt-more { margin-top: 12px; padding: 10px 0; border: 0; background: none; color: var(--wp--preset--color--signal-dark); font: 700 1.15rem/1 var(--wp--preset--font-family--display); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }

.mt-price-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; margin-bottom: 28px; background: var(--wp--preset--color--line); border: 1px solid var(--wp--preset--color--line); }
.mt-price-box > div { display: grid; gap: 2px; padding: 16px 18px; background: var(--wp--preset--color--white); }
.mt-price-box small, .mt-price-box span { font-size: .9rem; color: var(--wp--preset--color--muted); }
.mt-price-box strong { font: 700 2rem/1.1 var(--wp--preset--font-family--display); }
.mt-promises-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0; }
.mt-promises-list > div { padding: 16px 18px; background: var(--wp--preset--color--white); border-top: 3px solid var(--wp--preset--color--moss); }
.mt-promises-list dt { font: 700 1.2rem/1.2 var(--wp--preset--font-family--display); text-transform: uppercase; }
.mt-promises-list dd { margin: 6px 0 0; font-size: .95rem; }
.mt-important { margin-top: 28px; padding: 6px 20px 16px; background: #FFF4E8; border-left: 4px solid var(--wp--preset--color--signal); }
.mt-important .mt-h3 { margin-top: 16px; }

.mt-dates { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mt-dates .mt-date { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 14px 16px; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--line); }
.mt-date__when strong { display: block; font: 700 1.25rem/1.2 var(--wp--preset--font-family--display); }
.mt-date__when span { font-weight: 600; color: var(--wp--preset--color--moss); }
.mt-date.is-full .mt-date__when span { color: #A32A12; }
.mt-date__price { text-align: right; font: 700 1.35rem/1.2 var(--wp--preset--font-family--display); }
.mt-date__price small { font: 500 .8rem var(--wp--preset--font-family--body); color: var(--wp--preset--color--muted); }
.mt-date__actions { display: grid; gap: 4px; justify-items: center; }
.mt-date__actions .mt-link { font-size: .9rem; }
.mt-date.is-picked { border-color: var(--wp--preset--color--signal); box-shadow: inset 4px 0 0 var(--wp--preset--color--signal); }
@media (max-width: 640px) { .mt-dates .mt-date { grid-template-columns: 1fr auto; } .mt-date__actions { grid-column: 1 / -1; justify-items: stretch; } }
.mt-private { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 18px 20px; background: var(--wp--preset--color--asphalt); color: var(--wp--preset--color--paper); }
.mt-private p { margin: 4px 0 0; }
.mt-private strong { font: 700 1.4rem/1.1 var(--wp--preset--font-family--display); text-transform: uppercase; }
.mt-private .mt-button--ghost { color: var(--wp--preset--color--paper) !important; box-shadow: inset 0 0 0 2px var(--wp--preset--color--paper); }
.mt-private .mt-button--ghost:hover { background: var(--wp--preset--color--signal) !important; color: var(--wp--preset--color--asphalt) !important; box-shadow: none; }

.mt-faq details { border-top: 1px solid var(--wp--preset--color--line); padding: 14px 0; }
.mt-faq details:last-child { border-bottom: 1px solid var(--wp--preset--color--line); }
.mt-faq summary { cursor: pointer; font: 600 1.25rem/1.3 var(--wp--preset--font-family--display); list-style-position: outside; }
.mt-faq details p { margin: 8px 0 0; max-width: 62ch; }

/* Encart de réservation v2 */
.mt-booking { top: 130px; scroll-margin-top: 130px; }
.mt-booking .price small { font: 500 1rem var(--wp--preset--font-family--body); color: var(--wp--preset--color--muted); }
.mt-booking__sub { margin: -12px 0 16px; color: var(--wp--preset--color--muted); }
.mt-booking__dates { display: grid; gap: 6px; margin: 0 0 6px; padding: 0; list-style: none; }
.mt-booking__dates button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--paper); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.mt-booking__dates button:hover:not(:disabled) { border-color: var(--wp--preset--color--asphalt); }
.mt-booking__dates strong { font-size: .95rem; }
.mt-booking__dates span { flex: 0 0 auto; font-size: .85rem; font-weight: 600; color: var(--wp--preset--color--moss); }
.mt-booking__dates .is-full span { color: #A32A12; }
.mt-booking__dates button:disabled { opacity: .6; cursor: not-allowed; }
.mt-booking__dates .is-picked button { border-color: var(--wp--preset--color--signal); box-shadow: inset 4px 0 0 var(--wp--preset--color--signal); background: var(--wp--preset--color--white); }
.mt-booking__all { margin: 0 0 14px; font-size: .95rem; }
.mt-booking form.cart { margin-top: 14px !important; }
.mt-passengers { flex: 0 0 100%; order: -1; margin: 0 0 4px; }
.mt-passengers label { display: block; margin: 0 0 6px; font-weight: 600; }
.mt-passengers small { font-weight: 400; color: var(--wp--preset--color--muted); }
.mt-booking__trust { margin: 18px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--wp--preset--color--line); font-size: .95rem; }
.mt-booking__trust li { position: relative; padding: 3px 0 3px 24px; }
.mt-booking__trust li::before { content: "✓"; position: absolute; left: 2px; color: var(--wp--preset--color--moss); font-weight: 700; }
.mt-booking__help { margin: 12px 0 0; font-size: .95rem; }

.mt-related { background: var(--wp--preset--color--white); border-top: 1px solid var(--wp--preset--color--line); }
.mt-related__inner { max-width: 1240px; margin: 0 auto; padding: 56px 24px 72px; }
.mt-related h2 { margin: 4px 0 0; font: 700 2.4rem/1.05 var(--wp--preset--font-family--display); text-transform: uppercase; }

/* Avis WooCommerce dans la fiche */
#trip-reviews #reviews h2.woocommerce-Reviews-title { display: none; }
#trip-reviews .commentlist { margin: 0; padding: 0; list-style: none; }
#trip-reviews .commentlist li { padding: 16px 0; border-top: 1px solid var(--wp--preset--color--line); }
#trip-reviews .comment-form input[type=text], #trip-reviews .comment-form input[type=email], #trip-reviews .comment-form textarea { width: 100%; padding: 10px; border: 1px solid var(--wp--preset--color--asphalt); border-radius: 0; font: inherit; }
#trip-reviews .woocommerce-noreviews { display: none; }

/* ---------- Formulaire de contact v2 ---------- */
.mt-form select { box-sizing: border-box; width: 100%; padding: 12px; border: 1px solid var(--wp--preset--color--asphalt); border-radius: 0; background: var(--wp--preset--color--white); font: inherit; }
.mt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .mt-form__row { grid-template-columns: 1fr; } }
.mt-form__context { padding: 12px 14px; background: var(--wp--preset--color--white); border-left: 4px solid var(--wp--preset--color--signal); }
.mt-form__help { font-size: .95rem; color: var(--wp--preset--color--muted); }

/* ---------- En-tête v2 ---------- */
.mt-header .wp-block-navigation__submenu-container { min-width: 230px !important; padding: 8px 0; background: var(--wp--preset--color--asphalt) !important; border: 0 !important; border-top: 3px solid var(--wp--preset--color--signal) !important; }
.mt-header .wp-block-navigation__submenu-container a { padding: 8px 18px !important; }
.mt-header-icons { display: flex; align-items: center; gap: 4px; }
.mt-icon-link { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: inherit; }
.mt-icon-link svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mt-icon-link:hover { color: var(--wp--preset--color--signal); }
.mt-icon-link [data-fav-count] { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--wp--preset--color--signal); color: var(--wp--preset--color--asphalt); font: 700 .75rem/18px var(--wp--preset--font-family--body); text-align: center; }
.mt-header-cta { display: inline-block; padding: 9px 14px; background: var(--wp--preset--color--signal); color: var(--wp--preset--color--asphalt) !important; font: 700 1.05rem/1 var(--wp--preset--font-family--display); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.mt-header-cta:hover { background: var(--wp--preset--color--paper); }
@media (max-width: 1100px) { .mt-header-cta { display: none; } }

/* ---------- Pied de page v2 ---------- */
.mt-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.mt-trust > div { padding: 22px 24px; border-left: 1px solid var(--wp--preset--color--line); }
.mt-trust > div:first-child { border-left: 0; }
.mt-trust strong { display: block; margin-bottom: 4px; font: 700 1.3rem/1.1 var(--wp--preset--font-family--display); text-transform: uppercase; }
.mt-trust p { margin: 0; font-size: .95rem; color: var(--wp--preset--color--muted); }
@media (max-width: 860px) { .mt-trust { grid-template-columns: 1fr 1fr; } .mt-trust > div:nth-child(3) { border-left: 0; } }
@media (max-width: 480px) { .mt-trust { grid-template-columns: 1fr; } .mt-trust > div { border-left: 0; border-top: 1px solid var(--wp--preset--color--line); } }
.mt-footer h3 { margin: 0 0 12px; color: var(--wp--preset--color--signal); font: 700 1.15rem/1.2 var(--wp--preset--font-family--display); letter-spacing: .08em; text-transform: uppercase; }
.mt-footer .mt-newsletter input[type=email] { border-color: var(--wp--preset--color--paper); }

/* ---------- Articles du magazine ---------- */
.mt-post-hero { position: relative; min-height: 50vh; display: flex; align-items: flex-end; color: var(--wp--preset--color--white); background: var(--wp--preset--color--asphalt); }
.mt-post-hero .wp-block-post-featured-image { position: absolute; inset: 0; margin: 0; }
.mt-post-hero .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.mt-post-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,18,20,.9), rgba(16,18,20,.15)); }
.mt-post-hero > .wp-block-group { position: relative; z-index: 1; }
.mt-post-body { font-size: 1.125rem; }
.mt-post-body h2 { margin-top: 2em; font: 700 2rem/1.1 var(--wp--preset--font-family--display); text-transform: uppercase; }
.mt-card__inner .mt-heart, .mt-trip-hero .mt-heart { position: absolute; z-index: 3; }
.mt-newsletter__consent { display: block; padding-left: 24px; text-indent: -24px; }
.mt-newsletter__consent input { margin: 0 8px 0 0; vertical-align: -2px; }
.mt-footer .wp-block-heading { margin-top: 28px; }
.mt-footer .wp-block-column > .wp-block-heading:first-child { margin-top: 0; }
.mt-dep { grid-template-columns: 76px 120px minmax(220px, 1fr) 130px 150px 140px; }
@media (max-width: 1100px) { .mt-dep { grid-template-columns: 70px minmax(0, 1fr) auto; } }
.mt-button, .mt-date__actions .mt-button { box-sizing: border-box; }
@media (min-width: 981px) {
	.mt-booking { max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
	.admin-bar .mt-booking { max-height: calc(100vh - 182px); }
}
.mt-header .wp-block-woocommerce-customer-account { display: none; }
@media (max-width: 600px) { .mt-departs-filters { grid-template-columns: 1fr 1fr; padding: 12px; } .mt-departs-filters .mt-field:first-child { grid-column: 1 / -1; } }

/* ---------- Galerie photo et reels Instagram ---------- */
.mt-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mt-gallery__item { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--wp--preset--color--line); }
.mt-gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.mt-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mt-gallery__item:hover img { transform: scale(1.04); }
.mt-gallery__credit { position: absolute; right: 0; bottom: 0; padding: 3px 8px; background: rgba(16,18,20,.7); color: #fff; font-size: .75rem; }
@media (max-width: 600px) { .mt-gallery { grid-template-columns: 1fr 1fr; } .mt-gallery__item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; } }
.mt-lightbox { max-width: min(1200px, 96vw); max-height: 96vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.mt-lightbox::backdrop { background: rgba(10,11,12,.92); }
.mt-lightbox figure { margin: 0; text-align: center; }
.mt-lightbox img { max-width: min(1100px, 86vw); max-height: 84vh; width: auto; height: auto; display: block; margin: 0 auto; }
.mt-lightbox figcaption { margin-top: 8px; color: #EDEDED; font-size: .9rem; }
.mt-lightbox__close { position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--wp--preset--color--paper); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.mt-lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; background: rgba(244,241,234,.9); font-size: 2rem; cursor: pointer; }
.mt-lightbox__nav[data-dir="-1"] { left: 12px; }
.mt-lightbox__nav[data-dir="1"] { right: 12px; }
.mt-lightbox figure { display: inline-block; }

.mt-reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.mt-reel blockquote.instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; }
.mt-reels:not(.is-loaded) .mt-reel blockquote { margin: 0; padding: 0; border: 0; }
.mt-reels:not(.is-loaded) .mt-reel a { display: grid; align-content: end; gap: 4px; aspect-ratio: 9 / 16; max-height: 420px; padding: 18px; color: var(--wp--preset--color--paper); text-decoration: none; background: linear-gradient(160deg, #2B2E31, #0A0A0A 60%), var(--wp--preset--color--asphalt); position: relative; }
.mt-reels:not(.is-loaded) .mt-reel a:hover { background: linear-gradient(160deg, #3A3E42, #0A0A0A 60%); }
.mt-reel__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--wp--preset--color--signal); color: var(--wp--preset--color--asphalt); font-size: 1.6rem; padding-left: 4px; }
.mt-reel__title { font: 700 1.35rem/1.1 var(--wp--preset--font-family--display); text-transform: uppercase; }
.mt-reel__by { font-size: .85rem; color: #B9BCBE; }
.mt-reels__consent { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 14px 0 0; font-size: .85rem; color: var(--wp--preset--color--muted); }
.mt-reels__consent span { flex: 1 1 280px; }
.has-asphalt-background-color .mt-reels__consent { color: #B9BCBE; }
.has-asphalt-background-color .mt-reels__consent .mt-button--ghost { color: var(--wp--preset--color--paper) !important; box-shadow: inset 0 0 0 2px var(--wp--preset--color--paper); }
.mt-gallery__item:first-child:only-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
.mt-gallery__item:first-child:not(:only-child) { aspect-ratio: auto; min-height: 100%; }
.mt-reels__consent[hidden] { display: none; }
.mt-insta { background: var(--wp--preset--color--white); border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); }
.mt-gallery { grid-auto-rows: 210px; }
.mt-gallery__item, .mt-gallery__item:first-child:not(:only-child) { aspect-ratio: auto; min-height: 0; height: 100%; }
.mt-gallery__item:first-child:only-child { grid-row: span 2; }
@media (max-width: 600px) { .mt-gallery { grid-auto-rows: 150px; } }

/* ---------- Reels en lecture automatique ---------- */
.mt-autoreels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
@media (max-width: 700px) { .mt-autoreels { grid-auto-columns: 72%; } }
.mt-autoreel { position: relative; margin: 0; aspect-ratio: 9 / 16; overflow: hidden; background: var(--wp--preset--color--asphalt); scroll-snap-align: start; }
.mt-autoreel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-autoreel figcaption { position: absolute; inset: auto 0 0 0; display: grid; gap: 2px; padding: 40px 14px 14px; color: #fff; background: linear-gradient(to top, rgba(10,11,12,.85), transparent); font-size: .85rem; }
.mt-autoreel figcaption strong { font: 700 1.3rem/1.1 var(--wp--preset--font-family--display); text-transform: uppercase; }
.mt-autoreel figcaption span { color: #D7D9DA; }
.mt-autoreel figcaption a { color: var(--wp--preset--color--signal); font-weight: 600; text-decoration: none; }
.mt-autoreel__sound { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(16,18,20,.6); color: #fff; font-size: 1.1rem; cursor: pointer; }
.mt-autoreel { aspect-ratio: auto; background: transparent; }
.mt-autoreel video { aspect-ratio: 9 / 16; height: auto; background: var(--wp--preset--color--asphalt); }
.mt-autoreel figcaption { position: static; padding: 10px 2px 0; color: var(--wp--preset--color--asphalt); background: none; }
.mt-autoreel figcaption strong { font-size: 1.15rem; }
.mt-autoreel figcaption span { color: var(--wp--preset--color--muted); }
.mt-autoreel figcaption a { color: var(--wp--preset--color--signal-dark); }
/* Bouton « Réserver » désactivé : lisible (contraste suffisant). */
.woocommerce button.button.disabled, .woocommerce button.button.alt.disabled { opacity: 1; background: var(--wp--preset--color--line); color: #3E4245; }
/* Cibles tactiles confortables sur mobile */
.mt-newsletter__consent input, .woocommerce-form__input-checkbox, .mt-form input[type=checkbox] { width: 20px; height: 20px; }
.mt-date__actions .mt-link, .mt-booking .reset_variations { display: inline-block; padding: 8px 4px; }

/* ---------- Fiche voyage sur mobile : contenu d'abord, barre de réservation fixe ---------- */
.mt-mobilebar { display: none; }
@media (max-width: 980px) {
	.mt-booking { order: 0 !important; }
	.mt-mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--wp--preset--color--white); border-top: 3px solid var(--wp--preset--color--signal); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.35); }
	.mt-mobilebar p { margin: 0; line-height: 1.15; }
	.mt-mobilebar .amount, .mt-mobilebar bdi { font: 700 1.5rem/1 var(--wp--preset--font-family--display); }
	.mt-mobilebar small, .mt-mobilebar span { font-size: .8rem; color: var(--wp--preset--color--muted); }
	.mt-mobilebar .mt-button { min-height: 46px; padding: 12px 18px; font-size: 1.05rem; }
	.single-product .mt-float { bottom: 86px; }
	.single-product .mt-footer { padding-bottom: 110px !important; }
	.mt-roadbook li { padding: 12px 16px; }
	.mt-roadbook strong { font-size: 1.1rem; }
}
.mt-mobilebar { transition: transform .2s; }
.mt-mobilebar.is-hidden { transform: translateY(110%); }

/* =====================================================================
 * Animations
 * Toutes limitées à transform / opacity / filter (fluides, sans recalcul de mise en page).
 * Rien ne bouge si le visiteur a demandé moins d'animations.
 * ===================================================================== */
:root { --mt-ease: cubic-bezier(.2, .7, .1, 1); --mt-ease-back: cubic-bezier(.3, 1.4, .5, 1); }

@media (prefers-reduced-motion: no-preference) {

	/* ---------- Héros : zoom lent de la photo et titres dévoilés ---------- */
	@keyframes mt-kenburns { from { transform: scale(1.14) translate3d(0, 1.5%, 0); } to { transform: scale(1) translate3d(0, 0, 0); } }
	@keyframes mt-rise { from { opacity: 0; transform: translate3d(0, 34px, 0); } to { opacity: 1; transform: none; } }
	@keyframes mt-unveil { from { clip-path: inset(0 0 100% 0); transform: translate3d(0, 40px, 0); } to { clip-path: inset(0 0 -10% 0); transform: none; } }
	@keyframes mt-grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }

	.mt-hero .wp-block-cover__image-background, .mt-trip-hero > img, .mt-post-hero .wp-block-post-featured-image img {
		animation: mt-kenburns 14s var(--mt-ease) both; transform-origin: 60% 40%; will-change: transform;
	}
	.mt-hero .mt-eyebrow, .mt-trip-hero .mt-eyebrow, .mt-trip-hero .mt-card__badges { animation: mt-rise .8s var(--mt-ease) .15s both; }
	.mt-hero h1, .mt-trip-hero h1, .mt-post-hero h1 { animation: mt-unveil 1.1s var(--mt-ease) .25s both; }
	.mt-hero .mt-lede, .mt-trip-hero__facts { animation: mt-rise .9s var(--mt-ease) .55s both; }
	.mt-hero .mt-search { animation: mt-rise .9s var(--mt-ease) .75s both; }
	.mt-trip-hero .mt-heart { animation: mt-rise .7s var(--mt-ease-back) .9s both; }
	.mt-header { animation: mt-rise .6s var(--mt-ease) both; }
	.mt-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--wp--preset--color--signal); transform-origin: left; animation: mt-grow-x 1.2s var(--mt-ease) .2s both; }

	/* ---------- Apparitions au défilement (en cascade) ---------- */
	.mt-anim .mt-reveal { opacity: 0; transform: translate3d(0, 42px, 0) scale(.98); transition: opacity .8s var(--mt-ease), transform .9s var(--mt-ease); transition-delay: calc(var(--i, 0) * 90ms); }
	.mt-anim .mt-reveal.is-in { opacity: 1; transform: none; }
	.mt-anim h2.mt-reveal { transform: translate3d(-28px, 0, 0); }
	.mt-anim .mt-themes > .mt-reveal, .mt-anim .mt-gallery > .mt-reveal { transform: translate3d(0, 50px, 0) scale(.94); }
	.mt-anim .mt-dep.mt-reveal { transform: translate3d(60px, 0, 0); }
	.mt-anim .mt-itinerary > li.mt-reveal { transform: translate3d(-30px, 0, 0); }

	/* ---------- « Comment ça marche » : la route se trace ---------- */
	.mt-anim .mt-road > .wp-block-column { border-top-color: transparent !important; background: linear-gradient(currentColor, currentColor) 0 0 / 0 3px no-repeat; transition: background-size .9s var(--mt-ease); transition-delay: calc(var(--i, 0) * 350ms); }
	.mt-anim .mt-road.is-drawn > .wp-block-column { background-size: 100% 3px; }
	.mt-anim .mt-road > .wp-block-column::before { transform: scale(0) rotate(-20deg); transition: transform .6s var(--mt-ease-back); transition-delay: calc(var(--i, 0) * 350ms + 250ms); }
	.mt-anim .mt-road.is-drawn > .wp-block-column::before { transform: none; }

	/* ---------- Cartes : 3D, reflet et zoom ---------- */
	.mt-card__inner, .mt-theme { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateZ(0); transition: transform .5s var(--mt-ease), box-shadow .4s, border-color .15s; transform-style: preserve-3d; }
	.mt-card__inner.is-tilting, .mt-theme.is-tilting { transition: transform .08s linear, box-shadow .4s; box-shadow: 0 30px 50px -28px rgba(0,0,0,.55); }
	.mt-card__inner::after, .mt-theme::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 45%); transition: opacity .3s; }
	.mt-card__inner.is-tilting::after, .mt-theme.is-tilting::before { opacity: 1; }
	.mt-card__media img { transition: transform .9s var(--mt-ease); }
	.mt-card__inner:hover .mt-card__media img { transform: scale(1.07); }
	.mt-card__dates li { transition: transform .3s var(--mt-ease); }
	.mt-card__dates li:hover { transform: translateX(4px); }

	/* ---------- Boutons : reflet qui balaie ---------- */
	.mt-button, .wp-element-button, .woocommerce .button { position: relative; overflow: hidden; isolation: isolate; }
	.mt-button::after, .wp-element-button::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .7s var(--mt-ease); }
	.mt-button:hover::after, .wp-element-button:hover::after { left: 130%; }
	.mt-badge--new { animation: mt-pulse 2.4s ease-in-out infinite; }
	@keyframes mt-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,196,0,.55); } 50% { box-shadow: 0 0 0 8px rgba(255,196,0,0); } }
	.mt-float { animation: mt-rise .6s var(--mt-ease-back) 1.6s both; }
	.mt-float:hover { transform: translateY(-3px); }
	.mt-heart:active svg { animation: mt-beat .4s var(--mt-ease-back); }
	@keyframes mt-beat { 50% { transform: scale(1.35); } }

	/* ---------- Fiche voyage : parallaxe du héros au défilement ---------- */
	@supports (animation-timeline: scroll()) {
		.mt-trip-hero > img, .mt-hero .wp-block-cover__image-background { animation: mt-kenburns 14s var(--mt-ease) both, mt-parallax linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 100vh; }
		@keyframes mt-parallax { to { translate: 0 18%; } }
	}
}

/* ---------- En-tête qui se compacte ---------- */
.mt-header { transition: padding .3s var(--mt-ease), background-color .3s, box-shadow .3s; }
.mt-header.is-scrolled { padding-top: 6px !important; padding-bottom: 6px !important; background-color: rgba(10,10,10,.88) !important; -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 10px 30px -18px rgba(0,0,0,.8); }
.mt-header.is-scrolled .wp-block-site-title { transform: scale(.88); transform-origin: left center; }
.mt-header .wp-block-site-title { transition: transform .3s var(--mt-ease); }

/* ---------- Bandeau de destinations qui défile ---------- */
.mt-marquee { overflow: hidden; padding: 16px 0; background: var(--wp--preset--color--signal); color: var(--wp--preset--color--asphalt); -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mt-marquee__track { display: flex; width: max-content; }
.mt-marquee__track > div { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font: 700 clamp(1.5rem, 3vw, 2.3rem)/1 var(--wp--preset--font-family--display); text-transform: uppercase; letter-spacing: .02em; }
.mt-marquee a { color: inherit; text-decoration: none; }
.mt-marquee a:hover { color: var(--wp--preset--color--paper); }
.mt-marquee span { -webkit-text-stroke: 1.5px var(--wp--preset--color--asphalt); color: transparent; }
.mt-marquee i { font-style: normal; font-size: .6em; }
@media (prefers-reduced-motion: no-preference) {
	.mt-marquee__track { animation: mt-marquee 38s linear infinite; }
	.mt-marquee:hover .mt-marquee__track { animation-play-state: paused; }
	@keyframes mt-marquee { to { transform: translate3d(-50%, 0, 0); } }
}

/* =====================================================================
 * Reels : carrousel 3D façon « stories »
 * ===================================================================== */
.mt-reelstage { position: relative; margin-inline: calc(50% - 50vw); padding: 10px 0 4px; }
.mt-reelstage .mt-autoreels { --w: clamp(230px, 24vw, 310px); display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 30px calc(50vw - var(--w) / 2) 24px; perspective: 1400px; grid-auto-flow: unset; }
.mt-reelstage .mt-autoreels::-webkit-scrollbar { display: none; }
.mt-reelstage .mt-autoreel { flex: 0 0 var(--w); margin: 0 -18px; scroll-snap-align: center; cursor: pointer; transform-style: preserve-3d; z-index: calc(10 - var(--a, 0) * 4);
	transform: translate3d(0, 0, calc(var(--a, 0) * -140px)) rotateY(calc(var(--d, 0) * -24deg)) scale(calc(1 - var(--a, 0) * .07));
	filter: brightness(calc(1 - var(--a, 0) * .32)) saturate(calc(1 - var(--a, 0) * .3));
	transition: filter .3s; }
.mt-reelstage .mt-autoreel video { border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.mt-reelstage .mt-autoreel.is-active video { box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), 0 0 0 3px var(--wp--preset--color--signal); }
.mt-reelstage .mt-autoreel figcaption { opacity: calc(1 - var(--a, 0) * .8); transition: opacity .3s; text-align: center; justify-items: center; }
.mt-autoreel__progress { position: absolute; left: 12px; right: 12px; top: 10px; z-index: 2; height: 3px; border-radius: 3px; background: var(--wp--preset--color--signal); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 0 999px transparent; opacity: 0; transition: opacity .3s; }
.mt-autoreel__progress::before { content: ""; position: absolute; inset: 0; z-index: -1; transform-origin: left; }
.mt-autoreel.is-active .mt-autoreel__progress { opacity: 1; }
.mt-reelstage .mt-autoreel__sound { top: 20px; opacity: 0; transition: opacity .3s; }
.mt-reelstage .mt-autoreel.is-active .mt-autoreel__sound { opacity: 1; }
.mt-autoreel.is-paused::after { content: "▶"; position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 70px; height: 70px; padding-left: 5px; border-radius: 50%; background: rgba(255,196,0,.92); color: var(--wp--preset--color--asphalt); font-size: 1.8rem; box-sizing: border-box; }
.mt-reelstage__nav { position: absolute; top: 44%; z-index: 20; display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--wp--preset--color--asphalt); color: var(--wp--preset--color--paper); font-size: 2rem; line-height: 1; cursor: pointer; transition: transform .25s var(--mt-ease-back), background .2s; }
.mt-reelstage__nav:hover { background: var(--wp--preset--color--signal); color: var(--wp--preset--color--asphalt); transform: scale(1.1); }
.mt-reelstage__nav--prev { left: max(16px, calc(50vw - var(--w, 300px) / 2 - 150px)); }
.mt-reelstage__nav--next { right: max(16px, calc(50vw - var(--w, 300px) / 2 - 150px)); }
.mt-reelstage__count { margin: 0; text-align: center; font: 700 1.1rem/1 var(--wp--preset--font-family--display); letter-spacing: .1em; color: var(--wp--preset--color--muted); }
.mt-reelstage__count span { color: var(--wp--preset--color--signal-dark); font-size: 1.4rem; }
@media (max-width: 700px) {
	.mt-reelstage .mt-autoreels { --w: 64vw; }
	.mt-reelstage .mt-autoreel { margin: 0 -10px; }
	.mt-reelstage__nav { width: 44px; height: 44px; font-size: 1.6rem; top: 40%; }
}
@media (prefers-reduced-motion: reduce) {
	.mt-reelstage .mt-autoreel { transform: none; filter: none; margin: 0 6px; }
}

/* En-tête réellement collant : c'est son conteneur de gabarit qui doit l'être. */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
.mt-header { position: relative !important; top: auto !important; }
/* Sommaire de la fiche : juste sous l'en-tête compact. */
.mt-subnav { top: 58px; }
.admin-bar .mt-subnav { top: 90px; }

/* Bandeau défilant sur toute la largeur. */
.mt-marquee { width: 100vw; margin: 0 calc(50% - 50vw) !important; max-width: none !important; }
.wp-block-post-content > .mt-marquee, main .mt-marquee { margin-block: 0 !important; }
/* Commandes du carrousel regroupées sous les vidéos */
.mt-reelstage { display: grid; grid-template-columns: 1fr auto auto auto 1fr; grid-template-areas: "track track track track track" ". prev count next ."; align-items: center; column-gap: 18px; }
.mt-reelstage .mt-autoreels { grid-area: track; }
.mt-reelstage__nav { position: static; grid-area: prev; }
.mt-reelstage__nav--next { grid-area: next; }
.mt-reelstage__count { grid-area: count; min-width: 60px; }
/* Apparitions : propriétés translate/scale séparées (ne gênent pas l'effet 3D des cartes). */
@media (prefers-reduced-motion: no-preference) {
	.mt-anim .mt-reveal { transform: none; translate: 0 42px; scale: .98; transition: opacity .8s var(--mt-ease), translate .9s var(--mt-ease), scale .9s var(--mt-ease); transition-delay: calc(var(--i, 0) * 90ms); }
	.mt-anim h2.mt-reveal { transform: none; translate: -28px 0; scale: 1; }
	.mt-anim .mt-themes > .mt-reveal, .mt-anim .mt-gallery > .mt-reveal { transform: none; translate: 0 50px; scale: .94; }
	.mt-anim .mt-dep.mt-reveal { transform: none; translate: 0 40px; scale: 1; }
	.mt-anim .mt-itinerary > li.mt-reveal { transform: none; translate: -30px 0; scale: 1; }
	.mt-anim .mt-reveal.is-in { opacity: 1 !important; translate: none !important; scale: none !important; }
	/* L'effet 3D des thématiques garde sa transition propre une fois apparues. */
	.mt-anim .mt-theme.mt-reveal { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: opacity .8s var(--mt-ease), translate .9s var(--mt-ease), scale .9s var(--mt-ease), transform .5s var(--mt-ease); }
}

/* =====================================================================
 * Ediacara: trip types, trips on request, options
 * ===================================================================== */
.mt-search--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; max-width: 760px; }
@media (max-width: 760px) { .mt-search--2 { grid-template-columns: 1fr; } }
.mt-trip-hero__tagline { margin: 10px 0 0; max-width: 46ch; font-size: 1.2rem; color: #E7E3DA; }

.mt-ondemand { display: grid; gap: 10px; justify-items: start; padding: 22px 24px; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--line); border-left: 6px solid var(--wp--preset--color--signal); }
.mt-ondemand strong { font: 700 1.5rem/1.1 var(--wp--preset--font-family--display); text-transform: uppercase; }
.mt-ondemand p { margin: 0; max-width: 62ch; }
.mt-ondemand--type { margin-top: 28px; }
.mt-card__ondemand { color: var(--wp--preset--color--signal-dark); font-weight: 600; }

.mt-options-table { width: 100%; margin: 0 0 24px; border-collapse: collapse; background: var(--wp--preset--color--white); }
.mt-options-table th, .mt-options-table td { padding: 12px 16px; border-bottom: 1px solid var(--wp--preset--color--line); text-align: left; }
.mt-options-table td { text-align: right; font: 700 1.25rem/1.2 var(--wp--preset--font-family--display); white-space: nowrap; }
.mt-options-table th { font-weight: 500; }

.mt-booking__request { margin: 0 0 12px; padding: 10px 12px; background: var(--wp--preset--color--paper); font-weight: 600; }
.mt-booking__options { display: grid; gap: 4px; margin: 0 0 16px; padding: 0; list-style: none; font-size: .95rem; }
.mt-booking__options li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--wp--preset--color--line); }
.mt-booking__options strong { white-space: nowrap; }
.mt-booking__cta { width: 100%; }
.mt-booking__datelink { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--paper); color: inherit; text-decoration: none; font-size: .95rem; }
.mt-booking__datelink span { color: var(--wp--preset--color--signal-dark); font-weight: 600; }

.mt-type-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin: 0 0 32px; }
.mt-type-intro__text { font-size: 1.15rem; max-width: 62ch; }
.mt-type-intro__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mt-type-intro:not(:has(img)) { grid-template-columns: 1fr; }
@media (max-width: 800px) { .mt-type-intro { grid-template-columns: 1fr; } }
.mt-gallery--type { margin-top: 8px; }

.mt-archive-head { align-items: flex-end; }
.mt-archive-dest { min-width: 240px; }

/* Moroccan star separator (U+26E4) */
@font-face{font-family:'MoroccoStar';src:url(data:font/woff2;base64,d09GMgABAAAAAAGMAAoAAAAAAtwAAAFDAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAANAp4gQABNgIkAwgLBgAEIAVsBysbLAIALgbsxrUmNPJ8ATXjTcgKdZn3F0WM57/2unPf7k9tqKYYLF2CMFEWIR2uGZmBc257Ff02sGfbsSo1hG4XTzxF6rWjB56T/neSE6So6sted/z9fPHT14KcktLyAFukLZREgqwt4Si9YW2JU5Qcyie/a9VNUDrjT/BRuP+RSusiJnKMAIB3ZqHhEKOyu0MP6ZJ+nA8DAVCgY8ANHgEdMIzca0WOzykxWQl2i8zsNHGtRJ4JbxYHSFaT0mnHo2HELib05No1/ok0N6f4r9p0KMGo8wLLdpyp5ZLuN9Qwo8UACMI307v2UuQvbBBb+IfpV1x7v/ydoR2aAmEaGvDVaEBIzrPCDsqNoVN4q3sTEHMElLG5Jh0HxMkun5aVh3O2kA0Gs0dv/gXVNqCWVZAVFJRlVOJXYBAWVZbSAQiaIoVcJQAA) format('woff2');font-weight:100 900;font-style:normal;font-display:block;unicode-range:U+26E4}
:root:root,body{--wp--preset--font-family--body:'MoroccoStar',Barlow,system-ui,sans-serif;--wp--preset--font-family--display:'MoroccoStar','Barlow Condensed','Arial Narrow',sans-serif}
