/* Hero et film du guide de Marrakech. */
.ville-v133 {
  --city-sand: #f1cf9a;
  --city-hair: #d9cbb7;
  --city-side: 6.5vw;
}
.ville-v133 #main { margin: 0; padding-block-start: 0; max-width: none; }
.ville-v133 #guide-top { scroll-margin-block-start: 0; }
.ville-v133 .city-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: end;
  min-height: max(600px, 100vh);
  min-height: max(600px, 100svh);
  background: #33382c;
  color: #fff8ed;
  --city-light-direction: 90deg;
}
.ville-v133 .city-photo, .ville-v133 .city-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.ville-v133 .city-photo {
  display: block;
  object-fit: cover;
  object-position: 50% 0;
  transform-origin: 50% 25%;
}
.ville-v133 .city-shade {
  background: linear-gradient(180deg,rgba(23,29,25,.48),rgba(25,31,26,.08) 18%,transparent 36%,rgba(32,25,17,.06) 60%,rgba(32,25,17,.27)),
              linear-gradient(var(--city-light-direction),rgba(31,28,23,.80),rgba(34,31,26,.67) 23%,rgba(40,34,26,.23) 47%,rgba(28,27,24,.02) 74%);
}
.ville-v133 .city-crumb {
  position: absolute;
  inset-block-start: calc(var(--guide-header-height, 67px) + 26px);
  inset-inline-start: var(--city-side);
  inset-inline-end: var(--city-side);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 10px;
  font: 400 .6875rem/1.5 var(--sans);
  letter-spacing: .03em;
  color: #fff7e9;
}
.ville-v133 .city-crumb a, .ville-v133 .city-crumb [aria-current] { color: inherit; }
.ville-v133 .city-crumb [aria-hidden] { color: #e4c49a; }
.ville-v133 .city-voice {
  width: fit-content;
  max-width: 78%;
  padding: calc(var(--guide-header-height, 67px) + 75px) var(--city-side) clamp(64px,9vh,105px);
  text-shadow: 0 1px 18px #271e161a;
}
.ville-v133 .city-voice h1 {
  font: 600 .6875rem/1.5 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ffeed4;
  margin: 0 0 19px;
}
.ville-v133 .city-heading {
  font: 400 clamp(4.75rem,7.25vw,7rem)/1.01 var(--serif);
  color: #fffaef;
  letter-spacing: -.059em;
  margin: 0;
}
.ville-v133 .city-heading em {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.055em;
  color: var(--city-sand);
}
.ville-v133 .city-intro {
  max-width: 466px;
  font: 400 1rem/1.65 var(--sans);
  color: #fff6e6;
  margin: 23px 0 29px;
}
.ville-v133 .city-actions { display: flex; align-items: center; gap: 30px; }
.ville-v133 .start-guide, .ville-v133 .play-film { font: 600 .8125rem/1.4 var(--sans); cursor: pointer; }
.ville-v133 .start-guide {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 2px;
  padding: 15px 23px;
  background: #fff2d9;
  color: #322a22;
  text-align: center;
}
.ville-v133 .start-guide span { font: 18px/1 Arial,sans-serif; }
.ville-v133 .play-film {
  background: none;
  border: 0;
  color: #fff6e7;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 0;
}
.ville-v133 .play-film i {
  display: inline-grid;
  flex: none;
  place-items: center;
  border: 1px solid #ffe4b7a8;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  color: #fff4e1;
  padding-inline-start: 2px;
}
.ville-v133 .play-film i::before {
  content: "";
  border-block: 4px solid transparent;
  border-inline-start: 6px solid currentColor;
}
.ville-v133 .play-film:hover span, .ville-v133 .start-guide:hover { text-decoration: underline; text-underline-offset: 5px; }
.ville-v133 .city-caption {
  position: absolute;
  inset-inline-end: 5.5vw;
  bottom: 27px;
  margin: 0;
  font: 500 .6875rem/1.6 var(--sans);
  color: #fff6e8;
  letter-spacing: .02em;
  text-shadow: 0 1px 5px #282019;
}
.ville-v133 .city-caption::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-inline-end: 9px;
  margin-bottom: 3px;
  background: #edce9d;
}

.ville-v133 .film-box {
  width: min(1000px,92vw);
  max-width: 100%;
  max-height: calc(100svh - 16px);
  padding: 0;
  background: #1d201e;
  color: white;
  border: none;
  border-radius: 4px;
  overflow: auto;
}
.ville-v133 .film-box::backdrop { background: rgba(13,15,13,.89); }
.ville-v133 .film-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 15px; }
.ville-v133 .film-head h2 { font: 500 1rem/1.3 var(--sans); letter-spacing: 0; margin: 0; color: white; }
.ville-v133 .film-close {
  border: 1px solid #ffffff69;
  border-radius: 2px;
  background: none;
  color: white;
  padding: 8px 12px;
  min-height: 44px;
  cursor: pointer;
}
.ville-v133 .film-box video { width: 100%; height: auto; max-height: 76vh; display: block; background: black; }
.ville-v133 :is(.city-hero,.film-box) :is(a,button):focus-visible {
  outline: 3px solid #d6a767;
  outline-offset: 3px;
}
.ville-v133 .city-original-intro {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 12px clamp(24px,5vw,72px);
  align-items: center;
  padding-block: clamp(28px,4vw,55px);
  border-block-end: 1px solid var(--city-hair);
}
.ville-v133 .city-original-intro > .eyebrow { grid-column: 1 / -1; margin: 0; }
.ville-v133 .city-original-intro > p { margin: 0; max-width: 720px; }
.ville-v133 .city-original-intro > .mg-actions { margin: 0; flex-wrap: wrap; }
.ville-v133 .city-original-intro .city-original-caption {
  grid-column: 1 / -1;
  font: 400 .8125rem/1.55 var(--sans);
}
[dir=rtl] .ville-v133 .city-hero { --city-light-direction: 270deg; }
[dir=rtl] .ville-v133 :is(.city-voice h1,.city-heading,.city-heading em) { letter-spacing: normal; }
[dir=rtl] .ville-v133 .city-heading { line-height: 1.25; }

@media (min-width: 768px) and (max-height: 700px) {
  .ville-v133 .city-heading { font-size: 5rem; }
  .ville-v133 .city-voice { padding-bottom: 39px; }
  .ville-v133 .city-voice h1 { margin-bottom: 13px; }
  .ville-v133 .city-intro { margin: 14px 0 17px; }
}
@media (max-width: 800px) {
  .ville-v133.city-hero-visible .mobile-reserve { display: none !important; }
}
@media (max-width: 767.98px) {
  .ville-v133 { --city-side: 24px; }
  .ville-v133 .city-hero { min-height: max(560px,100svh); }
  .ville-v133 .city-photo { object-position: 47% center; transform-origin: 48% 30%; }
  .ville-v133 .city-shade {
    background: linear-gradient(180deg,rgba(18,28,24,.56),rgba(18,28,24,.03) 19%,rgba(28,27,21,.04) 29%,rgba(33,29,23,.44) 48%,rgba(33,27,20,.86) 68%,rgba(30,26,20,.96));
  }
  .ville-v133 .city-crumb { inset-block-start: calc(var(--guide-header-height, 67px) + 11px); font-size: .625rem; }
  .ville-v133 .city-voice { max-width: none; width: 100%; padding-bottom: max(28px,env(safe-area-inset-bottom)); }
  .ville-v133 .city-voice h1 { font-size: .625rem; letter-spacing: .14em; margin-bottom: 14px; max-width: 340px; }
  :lang(fr) .ville-v133 .city-voice h1 { font-size: .5625rem; letter-spacing: .12em; max-width: none; }
  .ville-v133 .city-heading { font-size: clamp(3.0625rem,13.6vw,4.875rem); }
  .ville-v133 .city-intro { margin: 17px 0 20px; font-size: .8125rem; max-width: 340px; line-height: 1.58; }
  .ville-v133 .city-actions { flex-direction: column; gap: 9px; }
  .ville-v133 .start-guide { width: 100%; min-height: 48px; padding: 13px; gap: 15px; }
  .ville-v133 .play-film { font-size: .75rem; }
  .ville-v133 .play-film i { width: 25px; height: 25px; }
  .ville-v133 .city-caption { display: none; }
  .ville-v133 .film-head h2 { font-size: .8125rem; }
  .ville-v133 .city-original-intro { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .ville-v133 .city-photo { animation: v133-city-approach 4.5s ease-in-out 1 both; }
}
@keyframes v133-city-approach {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}
