


.funnel-title--hero sup {
  font-size: 0.75em;
  line-height: 0;
}
.hero-offer {
  display: inline-block;
  padding: 0.15em 0.55em;
  border-radius: 0.35em;
  background: #ff7a00;
  color: #fff;
  font-weight: 800;
}
.hero-star {
  margin-left: 0.05em;
  font-size: 0.6em;
  vertical-align: super;
}
.hero-sub {
  display: block;
  margin-top: 0.15em;
  color: #cfe0ff;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.1;
}

.hero-sub--lapsed,
html[data-lapsed] .funnel-title--hero .hero-sub:not(.hero-sub--lapsed) {
  display: none;
}
html[data-lapsed] .funnel-title--hero .hero-sub--lapsed {
  display: block;
}

.hero-arrow {
  display: block;
  width: 34px;
  height: 22px;
  margin: 13px auto 0;
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-arrow {
    animation: hero-arrow 1.4s ease-in-out infinite;
  }
}
@keyframes hero-arrow {
  50% {
    translate: 0 4px;
  }
}
.estimate-funnel[data-step='start'] .funnel-frame > .funnel-title--hero {
  min-height: 0;
}


@media (max-width: 700px), (max-height: 900px) {
  .funnel-sky .estimate-funnel[data-step='start'] .funnel-frame__card.funnel-frame__card {
    min-height: 0;
  }
  .estimate-funnel[data-step='start'] .start .drop:not(.is-stacked) {
    flex: none;
    min-height: 0;
  }
}


.estimate-funnel[data-step='start'] .funnel-frame__under {
  flex-direction: column;
  flex-wrap: nowrap;
  height: auto;
}
.safe-line {
  appearance: none;
  display: block;
  margin: 0 auto;
  padding: 0.25rem 0.7rem;
  border: 0;
  border-radius: 12px;
  background: none;
  color: #fff;
  font: inherit;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--motion-fast) var(--m-ease);
}
.safe-line:hover,
.safe-line:focus-visible {
  background: rgb(255 255 255 / 0.1);
}
.safe-line:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.safe-line b {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.05rem;
}
.safe-line svg {
  flex: none;
  width: 30px;
  height: 30px;
  color: #4ade80;
}
.safe-line small {
  display: block;
  font-size: 0.85rem;
  opacity: 0.88;
}
.safe-line u {
  font-size: 0.78rem;
  opacity: 0.8;
}

.terms-line {
  margin: 0;
  color: rgb(255 255 255 / 0.82);
  font-size: 0.8rem;
  line-height: 1.6;
}


@media (min-width: 701px) {
  .estimate-funnel[data-step='start'] .funnel-frame > .funnel-title--hero {
    margin-bottom: 12px;
    padding-inline: 0;
    font-size: 2.35rem;
    line-height: 1.1;
  }
  
  .terms-line {
    position: fixed;
    right: var(--space-8);
    bottom: var(--space-6);
    display: flex;
    align-items: center;
    height: 40px;
  }
}
@media (min-width: 901px) {
  
  .estimate-funnel[data-step='start'] .funnel-frame__under {
    margin-top: clamp(7px, calc((100vh - 650px) * 0.26), 30px);
  }
  
  .estimate-funnel[data-step='start'] {
    --under-h: 72px;
  }
  .funnel-sky .estimate-funnel[data-step='start'] .funnel-frame__card.funnel-frame__card {
    padding: var(--space-8);
  }
  .estimate-funnel[data-step='start'] .start .service-line {
    gap: var(--space-5);
  }
}
@media (min-width: 701px) and (max-height: 720px) {
  .estimate-funnel[data-step='start'] .funnel-frame > .funnel-title--hero {
    margin-bottom: 8px;
    font-size: 2.05rem;
  }
  .funnel-sky .estimate-funnel[data-step='start'] .funnel-frame__card.funnel-frame__card {
    padding: 22px 28px;
  }
}
@media (min-width: 701px) and (max-height: 720px) {
  .hero-arrow {
    margin-top: 0;
  }
}
@media (min-width: 701px) and (max-height: 620px) {
  .estimate-funnel[data-step='start'] .funnel-frame > .funnel-title--hero {
    font-size: 1.85rem;
  }
}

@media (min-width: 2200px) and (min-height: 1250px) {
  .estimate-funnel[data-step='start'] :is(.funnel-frame, .funnel-stage__top, .terms-line) {
    zoom: 1.333;
  }
}
@media (min-width: 3000px) and (min-height: 1900px) {
  .estimate-funnel[data-step='start'] :is(.funnel-frame, .funnel-stage__top, .terms-line) {
    zoom: 2;
  }
}


@media (min-width: 1100px) {
  .estimate-funnel::before {
    left: -40px;
    width: calc(min(46vw, 62rem) + 40px);
  }
  .estimate-funnel::after {
    content: '';
    position: fixed;
    inset: 0 -40px 0 auto;
    z-index: -1;
    width: calc(min(46vw, 62rem) + 40px);
    background: url("https://client.ninjableu.ca/assets/images/estimate/ninja-entretien.jpg") 30% center / cover no-repeat;
    opacity: 0;
    mix-blend-mode: luminosity;
    -webkit-mask-image: linear-gradient(
      to left,
      #000 4%,
      rgb(0 0 0 / 0.6) 46%,
      rgb(0 0 0 / 0.22) 70%,
      transparent 92%
    );
    mask-image: linear-gradient(
      to left,
      #000 4%,
      rgb(0 0 0 / 0.6) 46%,
      rgb(0 0 0 / 0.22) 70%,
      transparent 92%
    );
    pointer-events: none;
    transition: opacity 520ms ease;
  }
  .estimate-funnel[data-step='start']::after {
    opacity: 0.5;
    animation: ninja-in 900ms ease-out backwards;
  }
}


@media (max-width: 700px) {
  
  .estimate-funnel[data-step='start'] .funnel-frame > .funnel-title--hero {
    margin-bottom: -13px;
    font-size: 1.85rem;
    line-height: 1.12;
  }
  
  .estimate-funnel[data-step='start'] .estimate-funnel__stage {
    padding-bottom: max(var(--space-2), env(safe-area-inset-bottom));
  }
  .hero-sub {
    margin-top: 6px;
    color: #fff;
    font-size: 1.06rem;
  }
  .hero-arrow {
    margin-top: 20px;
  }
  .estimate-funnel[data-step='start'] .funnel-frame__under {
    gap: 0;
    margin-top: 18px;
  }
  .safe-line u {
    display: block;
    margin-top: 4px;
  }
  .terms-line {
    margin: 6px auto 0;
    text-align: center;
  }
}
@media (max-width: 700px) and (min-height: 820px) {
  .estimate-funnel[data-step='start'] .funnel-frame > .funnel-title--hero {
    margin-bottom: -4px;
  }
  .hero-arrow {
    margin-top: 34px;
  }
  .estimate-funnel[data-step='start'] .funnel-frame__under {
    margin-top: 32px;
  }
}
@media (max-width: 700px) and (min-height: 900px) {
  .estimate-funnel[data-step='start'] .funnel-frame {
    padding-top: 22px;
  }
  .estimate-funnel[data-step='start'] .funnel-frame__under {
    margin-top: 48px;
  }
}
@media (max-width: 700px) and (max-height: 700px) {
  .estimate-funnel[data-step='start'] .funnel-frame > .funnel-title--hero {
    margin-bottom: -12px;
  }
  .hero-arrow {
    margin-top: 13px;
  }
  .estimate-funnel[data-step='start'] .funnel-frame__under {
    margin-top: 4px;
  }
  .safe-line {
    padding-block: 2px;
  }
  .terms-line {
    margin: 0 auto;
    line-height: 1.2;
  }
}
@media (max-width: 360px) {
  .estimate-funnel[data-step='start'] .funnel-frame > .funnel-title--hero {
    font-size: 1.6rem;
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .estimate-funnel[data-step='start'] .funnel-frame__under {
    margin-top: 12px;
  }
}
@media (max-width: 340px) {
  .estimate-funnel[data-step='start'] .funnel-frame > .funnel-title--hero {
    font-size: 1.42rem;
  }
  .hero-sub {
    font-size: 0.88rem;
  }
  .safe-line b {
    font-size: 0.95rem;
  }
  .safe-line small {
    font-size: 0.8rem;
  }
}
