/* So Spitch — Hero Focus (Elementor template) */
.ss-hero-focus {
  --paper: #FAF6ED;
  --ink: #0B0D2E;
  --ink-soft: #1D2250;
  --fluo: #FF2D78;
  --fluo-deep: #D91B5E;
  --vert: #9FE870;
  --bleu: #6FC8FF;
  --jaune: #FFE24D;
  --font-display: 'Melangit Sans', 'Inter', system-ui, sans-serif;
  --font-sans: 'Geist', system-ui, sans-serif;
  /* Compense le header fixe So Spitch (pt-87 / pt-122 du thème) */
  --site-header-offset: 8.7rem;
  /* Hauteur du header fixe mobile (1rem = 10px sur le thème) */
  --mobile-nav-offset: 8.7rem;
  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-focus *,
.ss-hero-focus *::before,
.ss-hero-focus *::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-focus .hl {
  position: relative;
  display: inline-block;
  color: var(--ink);
  padding: 0 0.1em;
  z-index: 0;
}

.ss-hero-focus .hl::before {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.13em;
  top: 50%;
  height: 0.74em;
  transform: translateY(-39%) rotate(-3.2deg);
  background: var(--fluo);
  z-index: -1;
}

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

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

.ss-hero-focus .portraits {
  position: absolute;
  top: calc(62px + var(--site-header-offset) - 50px);
  left: 1082px;
  width: 770px;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.ss-hero-focus .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-focus .eyebrow {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 54px;
}

.ss-hero-focus .headline {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 0.88;
  letter-spacing: -0.02em;
  font-size: 150px;
}

.ss-hero-focus .headline .row2 {
  display: flex;
  align-items: baseline;
  gap: 32px;
  margin-top: 10px;
}

.ss-hero-focus .subhead {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fluo);
  line-height: 1.02;
  letter-spacing: 0.005em;
  font-size: 60px;
  margin-top: 58px;
}

.ss-hero-focus .offer {
  font-weight: 500;
  font-size: 25px;
  color: var(--ink);
  margin-top: 48px;
}

.ss-hero-focus .offer strong {
  font-weight: 800;
}

.ss-hero-focus .cta {
  align-self: flex-start;
  margin-top: 48px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 22px;
  color: var(--ink);
  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-focus .cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 0 var(--ink);
}

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

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

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

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

  .ss-hero-focus .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) + 1.6rem) 2rem 2.8rem;
    background: var(--paper);
  }

  .ss-hero-focus .m-eyebrow {
    font-weight: 700;
    font-size: clamp(1.4rem, 3.6vw, 1.8rem);
    line-height: 1.35;
    color: var(--ink);
    margin: 0 0 1.6rem;
  }

  .ss-hero-focus .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(3.4rem, 8.8vw, 5.2rem);
    max-width: 100%;
    overflow-wrap: break-word;
    margin: 0;
  }

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

  .ss-hero-focus .m-headline .row2 {
    display: flex;
    align-items: baseline;
    gap: 0.15em;
    flex-wrap: wrap;
    margin-top: 0.05em;
  }

  .ss-hero-focus .m-subhead {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--fluo);
    line-height: 1.1;
    letter-spacing: 0.005em;
    font-size: clamp(1.8rem, 4.8vw, 2.6rem);
    margin: 1.4rem 0 0;
  }

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

  .ss-hero-focus .m-offer strong {
    font-weight: 800;
  }

  .ss-hero-focus .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: var(--ink);
    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-focus),
  .wptotem-hero--elementor .elementor-widget-html:has(.ss-hero-focus) {
    min-height: auto !important;
    height: auto !important;
  }
}

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

  .ss-hero-focus .m-headline {
    font-size: clamp(3rem, 8.8vw, 4rem);
  }

  .ss-hero-focus .m-subhead {
    font-size: clamp(1.6rem, 4.8vw, 2.2rem);
  }
}
