/* So Spitch — Hero EBP (Elementor template) */
.ss-hero-ebp {
  --paper: #FAF6ED;
  --ink: #0B0D2E;
  --ink-soft: #1D2250;
  --fluo: #FF2D78;
  --fluo-deep: #D91B5E;
  --bleu: #6FC8FF;
  --jaune: #FFE24D;
  --font-display: 'Melangit Sans', 'Inter', system-ui, sans-serif;
  --font-sans: 'Geist', system-ui, sans-serif;
  --site-header-offset: 8.7rem;
  --mobile-nav-offset: var(--site-header-stack-height, 9.1rem);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ss-hero-ebp *,
.ss-hero-ebp *::before,
.ss-hero-ebp *::after {
  box-sizing: border-box;
}

@font-face {
  font-family: 'Melangit Sans';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('melangitsans-semibold.otf') format('opentype');
}

@font-face {
  font-family: 'Melangit Sans';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('melangitsans-bold.otf') format('opentype');
}

.ss-hero-ebp .hl {
  position: relative;
  display: inline-block;
  color: var(--ink);
  padding: 0 0.12em;
  z-index: 0;
}

.ss-hero-ebp .hl::before {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.14em;
  top: 50%;
  height: 0.78em;
  transform: translateY(-42%) rotate(-4deg);
  background: var(--fluo);
  z-index: -1;
}

.ss-hero-ebp .frame {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  aspect-ratio: 1920 / 1080;
  overflow: hidden;
  position: relative;
  background: var(--paper);
}

.ss-hero-ebp .stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: top left;
  background: var(--paper);
}

.ss-hero-ebp .visual {
  position: absolute;
  top: calc(28px + var(--site-header-offset) - 48px);
  left: 960px;
  width: 880px;
  pointer-events: none;
  user-select: none;
}

.ss-hero-ebp .visual-img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
}

.ss-hero-ebp .copy {
  position: absolute;
  top: 0;
  left: 0;
  width: 1120px;
  height: 1080px;
  padding: var(--site-header-offset) 0 56px 84px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ss-hero-ebp .badge {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-size: 78px;
  margin: 0 0 44px;
}

.ss-hero-ebp .badge-line {
  display: block;
}

.ss-hero-ebp .badge-line--ink {
  color: var(--ink);
}

.ss-hero-ebp .badge-line--pink {
  color: var(--fluo);
}

.ss-hero-ebp .headline {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-size: 132px;
  margin: 0;
}

.ss-hero-ebp .headline .row1 {
  display: block;
}

.ss-hero-ebp .headline .row2 {
  display: block;
  margin-top: 8px;
  font-size: 0.82em;
  line-height: 0.95;
}

.ss-hero-ebp .offer {
  font-weight: 500;
  font-size: 25px;
  line-height: 1.45;
  color: var(--ink);
  margin-top: 52px;
  max-width: 760px;
}

.ss-hero-ebp .offer .price {
  color: var(--fluo);
  font-weight: 800;
}

.ss-hero-ebp .offer .was {
  text-decoration: line-through;
  opacity: 0.88;
}

.ss-hero-ebp .cta {
  align-self: flex-start;
  margin-top: 48px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 22px;
  color: #fff;
  background: var(--fluo);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 22px 46px;
  cursor: pointer;
  box-shadow: 5px 5px 0 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.ss-hero-ebp .cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 0 var(--ink);
}

.ss-hero-ebp .cta:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 0 var(--ink);
}

.ss-hero-ebp .mobile-hero {
  display: none;
}

@media (min-width: 1024px) {
  .ss-hero-ebp {
    --site-header-offset: 12.2rem;
  }
}

@media (max-width: 767px) {
  .ss-hero-ebp .frame {
    display: none;
  }

  .ss-hero-ebp .mobile-hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: flex-start;
    min-height: auto !important;
    height: auto !important;
    width: 100%;
    padding: calc(var(--mobile-nav-offset) + 2rem) 2rem 2.8rem;
    background: var(--paper);
  }

  .ss-hero-ebp .m-badge {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.02em;
    font-size: clamp(2.4rem, 7vw, 3.6rem);
    margin: 0 0 1.4rem;
  }

  .ss-hero-ebp .m-badge-line {
    display: block;
  }

  .ss-hero-ebp .m-badge-line--ink {
    color: var(--ink);
  }

  .ss-hero-ebp .m-badge-line--pink {
    color: var(--fluo);
  }

  .ss-hero-ebp .m-headline {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 0.94;
    letter-spacing: -0.02em;
    font-size: clamp(3rem, 8.4vw, 4.8rem);
    max-width: 100%;
    overflow-wrap: break-word;
    margin: 0;
  }

  .ss-hero-ebp .m-headline .row1 {
    display: block;
  }

  .ss-hero-ebp .m-headline .row2 {
    display: block;
    margin-top: 0.2em;
    font-size: 0.88em;
    line-height: 1;
  }

  .ss-hero-ebp .m-offer {
    font-weight: 500;
    font-size: clamp(1.3rem, 3.6vw, 1.6rem);
    line-height: 1.45;
    color: var(--ink);
    margin: 1.4rem 0 0;
    max-width: 100%;
  }

  .ss-hero-ebp .m-offer .price {
    color: var(--fluo);
    font-weight: 800;
  }

  .ss-hero-ebp .m-offer .was {
    text-decoration: line-through;
    opacity: 0.88;
  }

  .ss-hero-ebp .m-cta {
    margin-top: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(1.3rem, 3.6vw, 1.6rem);
    color: #fff;
    background: var(--fluo);
    border: 2.5px solid var(--ink);
    border-radius: 999px;
    padding: 1.4rem 2.8rem;
    box-shadow: 4px 4px 0 0 var(--ink);
    text-decoration: none;
    display: inline-block;
    max-width: 100%;
    text-align: center;
  }

  .wptotem-hero--elementor .e-con:has(.ss-hero-ebp),
  .wptotem-hero--elementor .elementor-widget-html:has(.ss-hero-ebp) {
    min-height: auto !important;
    height: auto !important;
  }
}

@media (max-width: 360px) {
  .ss-hero-ebp .mobile-hero {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .ss-hero-ebp .m-headline {
    font-size: clamp(2.6rem, 8.4vw, 4rem);
  }
}
