.azul-hero { position: relative; display: grid; grid-template-columns: 1fr; min-height: min(62vh, 720px); color: #fff; overflow: hidden; }
.azul-hero--short { min-height: min(42vh, 480px); }
.azul-hero--tall { min-height: min(84vh, 860px); }
.azul-hero--plain { min-height: 0; color: inherit; background: var(--azul-sand); }
.azul-hero__media { position: absolute; inset: 0; margin: 0; }
.azul-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.azul-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,48,.15) 0%, rgba(10,30,48,.55) 100%); }
.azul-hero__content { grid-area: 1 / 1; position: relative; z-index: 1; align-self: end; padding-block: var(--azul-space-l); }
.azul-hero--center .azul-hero__content { align-self: center; text-align: center; }
.azul-hero--plain .azul-hero__content { align-self: center; padding-block: var(--azul-space-l); }
.azul-hero__title { margin: 0 0 .4em; font-size: var(--azul-step-3); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.azul-hero__subtitle { margin: 0 0 var(--azul-space-m); font-size: var(--azul-step-1); }
.azul-hero__facts { display: flex; flex-wrap: wrap; gap: var(--azul-space-s) var(--azul-space-m); margin: 0 0 var(--azul-space-m); padding: 0; list-style: none; }
.azul-hero--center .azul-hero__facts { justify-content: center; }
.azul-hero__facts li { display: flex; flex-direction: column; line-height: 1.2; }
.azul-hero__facts strong { font-size: var(--azul-step-1); }
.azul-hero__facts span { font-size: var(--azul-step--1); opacity: .85; }
.azul-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--azul-space-s) var(--azul-space-m); margin: 0; }
.azul-hero--center .azul-hero__cta { justify-content: center; }
.azul-hero__kicker { margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }

/* Offer: the price on a painted patch (.paint-stroke and others, theme
   base.css). */
.azul-hero__offer { position: relative; justify-self: start; width: fit-content; margin: 6px 0 var(--azul-space-m); }
.azul-hero__price { --mark-color: var(--azul-coral); display: grid; gap: 2px; margin: 0; padding: 30px 64px 30px 52px; transform: rotate(-5deg); color: var(--azul-navy); line-height: 1.15; text-shadow: none; }
/* The text follows the rise of the brush; the brush itself stays put. */
.azul-hero__price.paint-stroke::before,
.azul-hero__price.paint-stroke::after { transform: rotate(5deg); }
.azul-hero__price-from,
.azul-hero__price-note { font-family: var(--azul-font-hand); font-size: 1.35rem; font-weight: 500; line-height: 1.05; }
.azul-hero__price-note { margin-bottom: 6px; font-size: 1.6rem; }
.azul-hero__price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.azul-hero__price-line strong { font-size: clamp(2.3rem, 1.8rem + 1.3vw, 2.9rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.azul-hero__price-unit { font-family: var(--azul-font-hand); font-size: 1.3rem; font-weight: 500; }
.azul-hero__price .ink-mark::after { height: .2em; bottom: -.16em; }

/* Hand note on the photo, white, its arrow towards the subject. */
.azul-hero__note { display: none; }
@media (min-width: 1024px) {
  .azul-hero__note { position: absolute; z-index: 1; top: 34%; left: 51%; display: flex; flex-direction: column; align-items: flex-start; margin: 0; color: #fff; font-family: var(--azul-font-hand); font-size: 1.6rem; font-weight: 500; line-height: 1.1; text-align: center; text-shadow: 0 1px 10px rgba(0, 0, 0, .3); transform: rotate(-14deg); pointer-events: none; --mark-color: #fff; }
  .azul-hero__note .ink-mark::after { height: .12em; bottom: -.06em; }
  .azul-hero__note-arrow { width: 70px; height: 60px; margin: 4px 0 0 4.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(14deg); }
}

/* Buttons: the play mark of the secondary one in a ring. */
.azul-hero__button-alt .icon { padding: .22em; border: 1.5px solid currentColor; border-radius: 50%; box-sizing: border-box; }

/* Dark tone: the photo darkens from the text side, like the article hero. */
.azul-hero--dark .azul-hero__media::after { background: linear-gradient(90deg, rgba(6, 36, 58, .8) 0%, rgba(6, 36, 58, .45) 42%, rgba(6, 36, 58, 0) 72%), linear-gradient(0deg, rgba(6, 36, 58, .45) 0%, rgba(6, 36, 58, 0) 40%); }
.azul-hero--dark .azul-hero__content { align-self: center; padding-top: calc(var(--azul-header-h) + var(--azul-space-l)); }
.azul-hero--dark .azul-hero__subtitle { font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); line-height: 1.5; }
.azul-hero--center.azul-hero--dark .azul-hero__media::after { background: rgba(6, 36, 58, .45); }

/* Light tone: ink text on the photo, framed on its bright upper part, with a
   soft wash on the text side only. The header sits on top, so the content
   clears its height. */
.azul-hero--light { min-height: clamp(560px, 44vw, 760px); color: var(--azul-ink); }
.azul-hero--light .azul-hero__img { object-position: 50% 15%; }
.azul-hero--light .azul-hero__media::after { background: linear-gradient(90deg, rgba(245,243,238,.74) 0%, rgba(245,243,238,.48) 30%, rgba(245,243,238,0) 56%), linear-gradient(180deg, rgba(245,243,238,.4) 0%, rgba(245,243,238,0) 18%); }
.azul-hero--light .azul-hero__content { align-self: center; padding-block: calc(var(--azul-header-h) + var(--azul-space-l)) var(--azul-space-xl); }
.azul-hero--light .azul-hero__title { font-size: clamp(2.8rem, 1.6rem + 4.4vw, 5.4rem); line-height: 1.02; letter-spacing: -.015em; }
.azul-hero--light .azul-hero__subtitle { font-size: clamp(1.0625rem, 1rem + .3vw, 1.18rem); line-height: 1.6; color: var(--azul-ink); }
.azul-hero--light .azul-hero__cta { margin-top: var(--azul-space-l); }

@media (max-width: 719px) {
  .azul-hero--dark .azul-hero__media::after { background: linear-gradient(0deg, rgba(6, 36, 58, .88) 0%, rgba(6, 36, 58, .55) 55%, rgba(6, 36, 58, .3) 100%); }
  .azul-hero { min-height: min(70vh, 640px); }
  .azul-hero--short { min-height: min(48vh, 420px); }
  /* On a phone the text sits on the upper part of the photo: the wash fades
     out halfway down. */
  .azul-hero--light { min-height: min(135vw, 680px); }
  .azul-hero--light .azul-hero__img { object-position: 60% 50%; }
  .azul-hero--light .azul-hero__media::after { background: linear-gradient(180deg, rgba(245,243,238,.86) 0%, rgba(245,243,238,.74) 48%, rgba(245,243,238,0) 72%); }
  .azul-hero--light .azul-hero__content { align-self: start; padding-top: calc(var(--azul-header-h) + 1.5rem); padding-bottom: var(--azul-space-l); }
  .azul-hero--light .azul-hero__cta { margin-top: 1.5rem; }
  /* Forced breaks are set for wide screens; a phone wraps the accroche itself. */
  .azul-hero__subtitle br { display: none; }
}

/* Video button: a play disc and a label, white over the photo. */
.azul-hero__video { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 16px 4px 4px; border: 0; border-radius: var(--azul-radius-s); background: #fff; color: var(--azul-ink); font: inherit; font-size: var(--azul-text-base); font-weight: 600; cursor: pointer; }
.azul-hero__play { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--azul-radius-s); background: var(--azul-sand); color: var(--azul-coral); transition: transform var(--azul-t-fast) ease; }
.azul-hero__play .icon { width: 20px; height: 20px; margin-left: 2px; }
.azul-hero__video:hover .azul-hero__play { transform: scale(1.06); }

/* Dark tone without the blue veil: the photo keeps its colours; a light
   neutral shade and a text shadow carry the white text. */
.azul-hero--clear .azul-hero__media::after { background: linear-gradient(90deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .12) 40%, rgba(0, 0, 0, 0) 62%); }
.azul-hero--clear .azul-hero__content { text-shadow: 0 1px 16px rgba(0, 0, 0, .35); }
@media (max-width: 719px) {
  .azul-hero--clear .azul-hero__media::after { background: linear-gradient(0deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, .05) 100%); }
}
@media (max-width: 719px) {
  .azul-hero__price { padding: 18px 36px 18px 26px; }
}

/* The kicker and the title keep their look whichever of them carries the h1
   (`h1On`). */
.azul-hero__kicker { font-family: var(--azul-font-body); line-height: 1.4; }
.azul-hero__title { font-family: var(--azul-font-display); font-weight: 400; }

/* Shift right: the photo enlarged by a fifth and held on its left edge, so
   its subject moves right, from under the text (wide screens only). Two
   classes: it holds over the home and package layouts (home.css,
   package.css), which set their own framing. */
@media (min-width: 1100px) {
  .azul-hero.azul-hero--shift-right .azul-hero__img { width: 120%; max-width: none; object-position: 0 50%; }
}

/* The text at the foot of the photo, under its subject. */
.azul-hero.has-foot-text .azul-hero__content { align-self: end; padding-top: 0; padding-bottom: 28px; }

/* Hero buttons to a section of the same page: until the (delayed) anchor.js
   takes over, the browser's own jump scrolls smoothly and stops under the
   fixed header. */
@media (prefers-reduced-motion: no-preference) { html:has(.azul-hero__cta a[href^="#"]) { scroll-behavior: smooth; } }
html:has(.azul-hero__cta a[href^="#"]) main [id] { scroll-margin-top: var(--azul-header-h, 64px); }
