/* Home `/` (spec 5.1): page-only layout. Components come from app.css. */
@layer pages {

/* ---------------------------------------------------------------------------------------------
   1. Hero: --w-hero-h below 1024 (86 % of the first viewport, set once by home.js), content
   bottom-aligned on the content-anchored scrim; from 1024 a centred 52vw column on --w-scrim-x.
   The shared shell starts the anchored scrim 96 px above the text block whatever --_pt is (spec 5.1).
   --------------------------------------------------------------------------------------------- */
.w-home-hero { min-height: var(--w-hero-h); }
/* no slide and no featured cover: the dark-band signature instead of a flat forest block */
.w-home-hero--noimg { background: var(--w-glow-dark), var(--w-topo) 0 0 / 640px repeat, var(--w-forest); }
@media (max-width: 1023px) { .w-home-hero__content { --_pt: 88px; } }
.w-home-hero__eyebrow { margin-bottom: 12px; }
.w-home-hero__lead { margin-top: 14px; }
.w-home-hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px;
}
.w-home-hero__stats .w-stat__label { font-size: 12px; }
.w-home-hero__cta { margin-top: 20px; width: 100%; --_h: 52px; --_px: 24px; --_fs: var(--w-fs-btn-lg); --_ic: 18px; }
.w-home-hero__trust { display: none; }

@media (min-width: 600px) {
  .w-home-hero__eyebrow { margin-bottom: 16px; }
  .w-home-hero__lead { margin-top: 20px; }
  .w-home-hero__stats { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 28px; }
  .w-home-hero__stats .w-stat__label { font-size: 13px; }
  .w-home-hero__cta { margin-top: 28px; width: auto; --_h: 56px; --_px: 28px; --_fs: var(--w-fs-btn-xl); --_ic: 20px; }
  .w-home-hero__trust {
    display: flex; align-items: center; gap: 8px; margin-top: 16px;
    font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--w-on-photo-muted);
  }
  .w-home-hero__trust .w-icon { color: var(--w-teal); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .w-home-hero__col { max-width: 640px; }
}
@media (min-width: 1024px) {
  .w-home-hero { min-height: clamp(600px, 76vh, 720px); min-height: clamp(600px, 76svh, 720px); }
}

/* shared: centred / left "Tout voir" row under a list */
.w-home-more { margin-top: 32px; }
.w-home-more--center { display: flex; justify-content: center; }

/* ---------------------------------------------------------------------------------------------
   4. Votre groupe: head / mosaic / body (stacked < 1024; mosaic left + copy right from 1024)
   --------------------------------------------------------------------------------------------- */
.w-home-group__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; grid-template-areas: "head" "media" "body"; }
.w-home-group__head { grid-area: head; min-width: 0; }
.w-home-group__head .w-sec-head { margin-bottom: 0; }
.w-home-group__media { grid-area: media; min-width: 0; }
.w-home-group__body { grid-area: body; min-width: 0; }
.w-home-group__intro { font-size: 16px; line-height: 1.6; color: var(--w-slate); max-width: 56ch; }
.w-home-offers { display: grid; gap: 12px; margin-top: 20px; }
.w-home-offer {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 16px; background: rgb(255 255 255 / .72); border: var(--w-border); border-radius: var(--w-r-lg);
}
.w-home-offer__tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--w-r-md); background: var(--w-teal-tint); color: var(--w-teal-ink); }
.w-home-offer__title { font-size: 17px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.w-home-offer__text { margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--w-muted); }
.w-home-group__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }
.w-home-group__cap { font-size: 13px; line-height: 1.4; color: var(--w-muted); }
@media (max-width: 599px) { .w-home-group__cap { width: 100%; text-align: center; } }
@media (min-width: 1024px) {
  .w-home-group__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: "media ." "media head" "media body" "media ."; column-gap: 64px; row-gap: 0;
  }
  .w-home-group__media { align-self: center; }
  .w-home-group__head { margin-bottom: 16px; }
}
/* stacked tablets: a full-width square would be ~700 px tall, keep the band calm */
@media (min-width: 600px) and (max-width: 1023px) {
  .w-home-group__media .w-mosaic:not(.w-mosaic--1) { aspect-ratio: 3 / 2; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .w-home-group__media .w-mosaic:not(.w-mosaic--1) { aspect-ratio: 1 / 1; }
}

/* ---------------------------------------------------------------------------------------------
   5. Teambuilding band (forest): copy left, photo panel right from 1024
   --------------------------------------------------------------------------------------------- */
.w-home-corp__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.w-home-corp__copy, .w-home-corp__panel { min-width: 0; }
.w-home-corp .w-sec-head { margin-bottom: 16px; }
.w-home-corp__text { font-size: 17px; line-height: 1.6; color: var(--w-on-dark-muted); max-width: 50ch; }
.w-home-corp__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
/* 4 chips read 2 x 2 where they would wrap 3 + 1 ("100 % sur mesure" alone on a row) */
@media (min-width: 600px) { .w-home-corp__chips { display: grid; grid-template-columns: repeat(2, max-content); justify-content: start; justify-items: start; } }
.w-home-corp__chips .w-chip--dark { font-size: 13px; font-weight: 600; line-height: 1.3; }
.w-home-corp__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.w-home-corp__stats .w-stat__label { font-size: 12px; }
.w-home-corp__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 28px; }
.w-home-corp__panel {
  padding: 16px; background: var(--w-forest-2); border: var(--w-border-dark); border-radius: var(--w-r-panel);
}
.w-home-corp__photo { position: relative; aspect-ratio: 3 / 2; border-radius: var(--w-r-lg); overflow: hidden; background: var(--w-placeholder-bg); }
.w-home-corp__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-home-corp__arrows { display: flex; gap: 8px; }
.w-home-corp__logos { margin-top: 20px; }
.w-home-corp__panel .w-carousel__bar + .w-home-corp__logos,
.w-home-corp__photo + .w-home-corp__logos { position: relative; margin-top: 41px; }
.w-home-corp__panel .w-carousel__bar + .w-home-corp__logos::before,
.w-home-corp__photo + .w-home-corp__logos::before {
  content: ""; position: absolute; left: 0; right: 0; top: -21px; border-top: var(--w-border-dark);
}
.w-home-corp__logos--solo { margin-top: 0; }
@media (min-width: 600px) {
  /* one row of 3 at every width: auto tracks shrink to their min-content and the labels wrap */
  .w-home-corp__stats { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 32px; }
  .w-home-corp__stats .w-stat__label { font-size: 13px; }
  .w-home-corp__panel { padding: 28px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .w-home-corp__photo { aspect-ratio: 16 / 10; }
}
@media (min-width: 1024px) {
  .w-home-corp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .w-home-corp__grid--solo { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------------------------------------
   7. Avis: summary row under the carousel
   --------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------
   8. Activités, 1 or 2 cards: head on top (< 1200), head column 4/12 + cards 8/12 from 1200
   --------------------------------------------------------------------------------------------- */
.w-home-acts__grid > * { min-width: 0; }
/* tablets: the "Toutes les activités" button stays on the heading row (it wrapped alone to the right at 768) */
@media (min-width: 768px) and (max-width: 1199px) {
  .w-home-acts--split .w-home-acts__head { flex-wrap: nowrap; }
  .w-home-acts--split .w-home-acts__head .w-sec-head__main { flex: 1 1 auto; }
  .w-home-acts--split .w-home-acts__head .w-sec-head__aside { flex-shrink: 0; }
}
@media (min-width: 1200px) {
  .w-home-acts--split .w-home-acts__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: center; }
  .w-home-acts--split .w-home-acts__head { flex-direction: column; align-items: flex-start; justify-content: center; margin-bottom: 0; }
  .w-home-acts--split .w-home-acts__head .w-sec-head__aside { margin-left: 0; margin-top: 8px; }
}

/* ---------------------------------------------------------------------------------------------
   9. #WildlyMaroc: square tiles, 2 x 2 below 768, one row from 768 (3 photos: 3 columns, 2 below 768)
   --------------------------------------------------------------------------------------------- */
.w-home-insta__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.w-home-insta__tile { position: relative; aspect-ratio: 1 / 1; border-radius: var(--w-r-lg); overflow: hidden; background: var(--w-placeholder-bg); }
.w-home-insta__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-home-insta__grid--3 .w-home-insta__tile:nth-child(3) { display: none; }
@media (min-width: 768px) {
  .w-home-insta__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .w-home-insta__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .w-home-insta__grid--3 .w-home-insta__tile:nth-child(3) { display: block; }
}

/* ---------------------------------------------------------------------------------------------
   10. Notre histoire: founder portrait 4/5 + stamp | copy (5fr / 7fr from 1024)
   --------------------------------------------------------------------------------------------- */
.w-home-story__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.w-home-story__portrait { position: relative; width: 100%; max-width: 320px; margin: 0 auto; }
.w-home-story__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--w-r-panel); overflow: hidden; background: var(--w-placeholder-bg); }
.w-home-story__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-home-story__copy { min-width: 0; }
.w-home-story__copy .w-sec-head { margin-bottom: 20px; }
.w-home-story__text { display: grid; gap: 14px; max-width: 56ch; font-size: 16px; line-height: 1.7; color: var(--w-slate); }
.w-home-story__sign { display: grid; gap: 2px; margin-top: 20px; }
.w-home-story__sign strong { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--w-ink); }
.w-home-story__sign span { font-size: 13px; line-height: 1.4; color: var(--w-muted); }
.w-home-story__copy > .w-btn { margin-top: 24px; }
@media (min-width: 1024px) {
  .w-home-story__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
  .w-home-story__portrait { max-width: 460px; margin: 0; justify-self: start; }   /* on the content edge, like every section */
}

/* ---------------------------------------------------------------------------------------------
   12. FAQ: head column | list (5fr / 7fr from 1024), stacked below
   --------------------------------------------------------------------------------------------- */
.w-home-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.w-home-faq__head, .w-home-faq__list { min-width: 0; }
.w-home-faq__head .w-sec-head { margin-bottom: 12px; }
.w-home-faq__text { margin-bottom: 20px; font-size: 16px; line-height: 1.6; color: var(--w-muted); max-width: 40ch; }
.w-home-faq__more { margin-top: 12px; }
@media (min-width: 1024px) {
  .w-home-faq__grid { grid-template-columns: minmax(260px, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
}


/* ---------------------------------------------------------------------------------------------
   v4 (owner feedback 27/10)
   --------------------------------------------------------------------------------------------- */

/* 1. Hero: the text is centred (it sat on the left); the style and the fonts stay those of v2 */
.w-home-hero__col { margin-inline: auto; text-align: center; }
.w-home-hero__lead { margin-inline: auto; max-width: 62ch; }
.w-home-hero__stats { justify-items: center; text-align: center; margin-top: 24px; }
.w-home-hero__stats .w-stat { align-items: center; }
@media (min-width: 600px) {
  .w-home-hero__stats { justify-content: center; }
  .w-home-hero__trust { justify-content: center; }
}
@media (min-width: 1024px) {
  .w-home-hero .w-hero__col { max-width: min(900px, 84vw); }
  .w-home-hero { min-height: clamp(660px, 84vh, 800px); min-height: clamp(660px, 84svh, 800px); }
}

/* 1b. 03/11 owner feedback: the photo was too dark next to wildly.ma and Triplan (two dark layers stacked on
   phones, a .74 scrim under the text on desktop). Now ONE light veil, the one wildly.ma uses (forest 55 % at the
   top, about 20 % in the middle, dark only at the very bottom), on every width; the texts keep their contrast
   with their own shadows. The photo sizes now follow the hero's height on phones (home.php), so it stays sharp. */
.w-home-hero .w-hero__scrim {
  background: linear-gradient(180deg, rgb(16 34 32 / .55) 0%, rgb(16 34 32 / .2) 40%, rgb(16 34 32 / .42) 70%, rgb(16 34 32 / .88) 100%);
}
.w-home-hero .w-hero__content::before { display: none; }
.w-home-hero .w-hero__h1 { text-shadow: 0 2px 4px rgb(16 34 32 / .55), 0 2px 28px rgb(16 34 32 / .6); }
.w-home-hero .w-eyebrow, .w-home-hero .w-hero__lead, .w-home-hero__stats, .w-home-hero__trust {
  text-shadow: 0 1px 2px rgb(16 34 32 / .8), 0 0 18px rgb(16 34 32 / .6);
}

/* 2. The search bar (the three questions of wildly.ma): stacked on phones, one white bar from 768 */
.w-hsearch {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; max-width: 900px; margin: 24px auto 0; padding: 8px;
  border-radius: 20px; background: var(--w-white); color: var(--w-ink); text-align: left;
  box-shadow: 0 28px 60px -24px rgb(0 0 0 / .6), 0 2px 10px rgb(0 0 0 / .18);
}
.w-hsearch__field { position: relative; min-height: 64px; border-radius: 14px; background: var(--w-sand); transition: background-color var(--w-dur-fast) var(--w-ease), box-shadow var(--w-dur-fast) var(--w-ease); }
.w-hsearch__field:focus-within { background: var(--w-white); box-shadow: inset 0 0 0 2px var(--w-forest); }
.w-hsearch__label {
  position: absolute; z-index: 1; top: 10px; left: 14px; right: 40px; display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; line-height: 1.2; letter-spacing: .02em; color: var(--w-slate); pointer-events: none;
}
.w-hsearch__label .w-icon { width: 15px; height: 15px; color: var(--w-orange); flex: none; }
/* the control fills its cell, so a tap anywhere in it opens it */
.w-hsearch__input, .w-hsearch .w-select {
  position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 28px 40px 8px 14px;
  border: 0; border-radius: inherit; background: transparent; box-shadow: none; outline: none;
  font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--w-ink); text-overflow: ellipsis;
}
.w-hsearch__input::placeholder { color: var(--w-placeholder); font-weight: 600; opacity: 1; }
.w-hsearch__input::-webkit-search-cancel-button { display: none; }
.w-hsearch .w-select:focus, .w-hsearch .w-select:focus-visible { box-shadow: none; border: 0; }
.w-hsearch .w-select-wrap { position: static; }
.w-hsearch .w-select-wrap > .w-icon { right: 14px; top: auto; bottom: 13px; margin: 0; color: var(--w-slate); }
.w-hsearch__go { width: 100%; min-height: 56px; border-radius: 14px; }
@media (min-width: 768px) {
  .w-hsearch { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 0; border-radius: 22px; }
  .w-hsearch__field { background: transparent; }
  .w-hsearch__field + .w-hsearch__field::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; border-left: 1px solid var(--w-line); }
  .w-hsearch__field:focus-within::before, .w-hsearch__field:focus-within + .w-hsearch__field::before { opacity: 0; }
  .w-hsearch__go { width: auto; min-height: 64px; margin-left: 6px; padding-inline: 24px; border-radius: 16px; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 768px) { .w-hsearch__field:hover { background: var(--w-sand); } }
@media (min-width: 768px) and (max-width: 1023px) { .w-hsearch__go span { display: none; } .w-hsearch__go { padding-inline: 20px; } }

/* 3. La carte (the relief map of v3, on the forest band): head and list on the left, the map on the right from 1024 */
.w-home-map { background: radial-gradient(90% 70% at 72% 42%, #12302b 0%, var(--w-forest) 62%); overflow: hidden; }
.w-home-map__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; grid-template-areas: "head" "map" "body"; }
.w-home-map__head { grid-area: head; min-width: 0; }
.w-home-map__head .w-sec-head { margin-bottom: 0; }
.w-home-map__map { grid-area: map; min-width: 0; }
.w-home-map__body { grid-area: body; min-width: 0; }
.w-home-map__note { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--w-on-dark-muted); }
@media (min-width: 1024px) {
  .w-home-map__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-areas: "head map" "body map"; grid-template-rows: auto 1fr; gap: 28px 56px; align-items: start; }
  .w-home-map__map { align-self: center; }
  .w-home-map__map .w-map { max-height: min(86vh, 820px); width: auto; max-width: 100%; margin-inline: auto 0; }
  .w-home-map__map .w-map__attr { text-align: right; }
}

.w-map { position: relative; overflow: hidden; width: 100%; margin-inline: auto; border-radius: 10px; background: #071418; box-shadow: 0 0 0 1px rgb(250 246 239 / .14), var(--w-sh-4); }
.w-map__art { position: absolute; inset: 0; }
.w-map__relief { position: absolute; max-width: none; height: auto; }
.w-map__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.w-map__svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.w-map__case { stroke: #040908; stroke-width: 5.6; opacity: .7; transition: opacity var(--w-dur-base) var(--w-ease); }
.w-map__leg { stroke: var(--w-orange); stroke-width: 2.6; opacity: .85; transition: opacity var(--w-dur-base) var(--w-ease), stroke-width var(--w-dur-base) var(--w-ease); }
.w-map__route.is-on .w-map__leg { opacity: 1; stroke-width: 3.6; }
.w-map__route.is-on .w-map__case { stroke-width: 6.6; }
.w-map__route.is-dim .w-map__leg { opacity: .18; }
.w-map__route.is-dim .w-map__case { opacity: 0; }
.w-map__pin { position: absolute; z-index: 1; display: flex; align-items: center; gap: 8px; width: max-content; white-space: nowrap; pointer-events: none; transform: translate(-5px, -50%); }
.w-map__pin i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--w-orange); box-shadow: 0 0 0 2px #040908, 0 0 0 7px rgb(249 115 22 / .25); }
.w-map__pin b { padding: 4px 8px 5px; border-radius: 6px; background: rgb(8 18 16 / .86); font-size: 14px; font-weight: 800; line-height: 1; color: var(--w-ivory); }
.w-map__pin--left { flex-direction: row-reverse; transform: translate(calc(-100% + 5px), -50%); }
.w-map__pin--stop { transform: translate(-4.5px, -50%); }
.w-map__pin--stop.w-map__pin--left { transform: translate(calc(-100% + 4.5px), -50%); }
.w-map__pin--stop i { width: 9px; height: 9px; background: var(--w-teal); box-shadow: 0 0 0 2px #040908, 0 0 0 7px rgb(19 236 221 / .22); }
.w-map__pin--stop b { padding: 4px 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--w-teal); }
.w-map__pin--stop:not(.is-label) b { display: none; }
.w-map__pin--ref { gap: 6px; transform: translate(-2.5px, -50%); }
.w-map__pin--ref.w-map__pin--left { transform: translate(calc(-100% + 2.5px), -50%); }
.w-map__pin--ref i { width: 5px; height: 5px; background: rgb(250 246 239 / .6); box-shadow: none; }
.w-map__pin--ref b { padding: 3px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgb(250 246 239 / .78); }
@media (max-width: 767px) { .w-map__pin--ref.is-minor { display: none; } .w-map__pin b { font-size: 12px; } }
.w-map__pin--dest img { display: none; }
.w-map__pin--dest.is-dim i { opacity: .5; box-shadow: 0 0 0 2px #040908; }
.w-map.has-sel .w-map__pin--dest:not(.is-on) b { display: none; }
.w-map__hits { display: none; }
.w-map__attr { margin-top: 10px; font-size: 11px; line-height: 1.5; letter-spacing: .02em; color: var(--w-on-dark-faint); text-wrap: balance; }
.w-map__spark {
  position: absolute; left: 0; top: 0; z-index: 2; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--w-ivory); box-shadow: 0 0 0 4px rgb(249 115 22 / .5), 0 0 22px 8px rgb(249 115 22 / .6);
  pointer-events: none; opacity: 0; transition: opacity 200ms linear;
}
.w-map__spark.is-on { opacity: 1; }
@media (forced-colors: active) { .w-map__spark { display: none; } }
@media (min-width: 1024px) {
  .w-map__pin--dest b { font-size: 16px; }
  .w-map__pin--dest.has-photo i { display: none; }
  .w-map__pin--dest.has-photo img { display: block; flex: 0 0 auto; width: 44px; min-width: 44px; height: 44px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 2px solid var(--w-ivory); box-shadow: 0 6px 16px rgb(0 0 0 / .5); }
  .w-map__pin--dest.has-photo { transform: translate(-22px, -50%); }
  .w-map__pin--dest.has-photo.w-map__pin--left { transform: translate(calc(-100% + 22px), -50%); }
  .w-map__pin--dest.has-photo.is-dim img { opacity: .55; }
}
@media (min-width: 1024px) and (hover: hover) {
  .w-map__hits { display: block; position: absolute; inset: 0; z-index: 3; margin: 0; padding: 0; list-style: none; pointer-events: none; }
  .w-map__hits a { position: absolute; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; pointer-events: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .w-map.is-drawing .w-map__leg { stroke-dasharray: var(--s, 1) var(--s, 1); stroke-dashoffset: var(--s, 1); animation: w-draw 2200ms var(--w-ease) forwards; animation-delay: calc(var(--k, 0) * 220ms); }
  .w-map.is-drawing .w-map__case { opacity: 0; animation: w-cut-in 300ms linear forwards; animation-delay: calc(var(--k, 0) * 220ms + 1200ms); }
  .w-map__pin--dest img { animation: w-bob 4s ease-in-out infinite; }
  .w-map__pin--dest.is-arrive i { animation: w-ping 1000ms var(--w-ease) 1; }
  .w-map__pin--dest.is-arrive img, .w-map__pin--dest.is-arrive b { animation: w-pop 700ms cubic-bezier(.34, 1.56, .64, 1) 1; }
  .w-map:has(.w-map__spark.is-on) .w-map__route.is-on .w-map__case { opacity: 0; transition: none; }
}
@keyframes w-draw { to { stroke-dashoffset: 0; } }
@keyframes w-cut-in { to { opacity: .7; } }
@keyframes w-bob { 50% { transform: translateY(-3px); } }
@keyframes w-ping { 0% { box-shadow: 0 0 0 2px #040908, 0 0 0 0 rgb(249 115 22 / .7); } 100% { box-shadow: 0 0 0 2px #040908, 0 0 0 22px rgb(249 115 22 / 0); } }
@keyframes w-pop { 40% { transform: scale(1.12); } }

/* the list beside the map */
.w-routes { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgb(250 246 239 / .14); }
.w-routes li { border-bottom: 1px solid rgb(250 246 239 / .14); }
.w-routes__row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 16px;
  min-height: 72px; padding: 14px 8px 14px 14px; color: var(--w-ivory); text-decoration: none; transition: background-color var(--w-dur-fast) linear;
}
.w-routes__row::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: var(--w-orange); transform: scaleY(0); transition: transform var(--w-dur-base) var(--w-ease); }
.w-routes__row strong { font-size: clamp(18px, 4.8vw, 22px); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; transition: transform var(--w-dur-base) var(--w-ease); }
.w-routes__price { font-size: 14px; font-weight: 800; color: var(--w-orange); white-space: nowrap; }
.w-routes__line { grid-column: 1 / -1; font-size: 13px; line-height: 1.45; color: var(--w-on-dark-muted); }
.w-routes__row.is-on, .w-routes__row:focus-visible { background: rgb(250 246 239 / .06); }
.w-routes__row.is-on::before, .w-routes__row:focus-visible::before { transform: scaleY(1); }
.w-routes__row.is-on strong { transform: translateX(6px); }
.w-routes__row:focus-visible { outline: 2px solid var(--w-teal); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .w-routes__row:hover { background: rgb(250 246 239 / .06); } }

/* 4. Avis: a marquee like the one of wildly.ma (pauses on hover, on focus and with its button; still under reduced motion) */
.w-home-avis .w-sec-head { margin-bottom: 20px; }
.w-marquee__viewport {
  overflow: hidden; padding-block: 6px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.w-marquee__rail { display: flex; width: max-content; animation: w-marquee var(--_dur, 60s) linear infinite; will-change: transform; }
.w-marquee__group { display: flex; gap: var(--_gap, 24px); margin: 0; padding: 0 var(--_gap, 24px) 0 0; list-style: none; }
.w-marquee__item { display: flex; flex: 0 0 var(--_card-w, 340px); width: var(--_card-w, 340px); }
.w-marquee__item > * { flex: 1 1 auto; min-width: 0; }
.w-marquee:hover .w-marquee__rail, .w-marquee:focus-within .w-marquee__rail,
.w-marquee.is-paused .w-marquee__rail, .w-marquee.is-off .w-marquee__rail { animation-play-state: paused; }
@keyframes w-marquee { to { transform: translateX(-50%); } }
.w-marquee__bar { display: flex; justify-content: center; margin-top: 4px; }
.w-marquee__on { display: inline-flex; align-items: center; }
.w-marquee__off { display: none; align-items: center; }
.w-marquee.is-paused .w-marquee__on { display: none; }
.w-marquee.is-paused .w-marquee__off { display: inline-flex; }
@media (max-width: 599px) { .w-marquee { --_card-w: min(80vw, 320px) !important; --_gap: 14px !important; } }
@media (prefers-reduced-motion: reduce) {
  .w-marquee__rail { animation: none; }
  .w-marquee__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x mandatory; padding-inline: var(--w-gutter); }
  .w-marquee__item { scroll-snap-align: start; }
  .w-marquee__group--copy, .w-marquee__item[inert] { display: none; }
  .w-marquee__bar { display: none; }
}
.w-home-avis .w-reviews-foot { margin-top: 20px; }

}
