/* Ouverture claire : promesse et essai visibles dès le premier écran. */
.hero {
  min-height: 610px !important;
  padding: 0 55% 0 0 !important;
  overflow: hidden;
  background: linear-gradient(135deg, #fbf9ff 0%, #f3edff 100%) !important;
}

.hero-art {
  inset: 0 0 0 auto !important;
  width: 55% !important;
  height: 100% !important;
  background-image: url("hero-famille-devoirio-v483.png") !important;
  background-position: 58% 38% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  filter: saturate(.86) contrast(1.01) !important;
  border-left: 1px solid #e6ddf6;
}

.hero-art::before {
  display: none !important;
}

.hero-art::after {
  display: none !important;
}

.student-bubble,
.kids-hook {
  display: none !important;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100% !important;
  max-width: 650px;
  min-height: 610px;
  margin: 0 !important;
  padding: 28px clamp(24px, 3.5vw, 58px) !important;
  text-align: left;
}

.hero h1 {
  margin: 0 0 12px !important;
  font-size: clamp(42px, 4.5vw, 62px) !important;
  line-height: 1.01 !important;
  color: #32106f !important;
  letter-spacing: -.035em;
}

.hero h1 > span,
.hero h1 > strong {
  display: block;
}

.hero-brand-io {
  display: inline !important;
  color: #ffc928;
  text-shadow: 0 2px 0 #b87900;
}

.hero h1 > strong {
  margin-top: 12px;
  color: #5a20bd;
  font-size: .76em;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.hero-copy > p {
  max-width: 560px;
  margin: 0 0 12px;
  color: #55486d;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}

.hero-copy > p strong {
  color: #5420b8;
}

.hero-eyebrow {
  align-self: flex-start;
  padding: 9px 15px;
  border: 2px solid #5a20bd;
  border-radius: 999px;
  background: #fff1a8;
  color: #43148f;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
  margin: 0 0 16px;
  box-shadow: 0 3px 0 rgba(90,32,189,.18);
}

.exercise-card {
  max-width: 560px;
  margin: 0;
  text-align: center;
  box-shadow: 0 18px 45px rgba(51,17,111,.14) !important;
}

@media (min-width: 901px) {
  .menu .menu-mobile-only,
  .menu .menu-secondary {
    display: none !important;
  }

  .header .menu .menu-install {
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    padding: 8px 12px !important;
    border: 1px solid #e0ad00 !important;
    border-radius: 11px !important;
    white-space: nowrap !important;
    box-shadow: none !important;
  }

  .header .menu .menu-install span {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
    border-radius: 7px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 0 !important;
    padding: 58vw 0 0 !important;
  }

  .hero-art {
    inset: 0 0 auto !important;
    width: 100% !important;
    height: 58vw !important;
    min-height: 0 !important;
    background-size: cover !important;
    background-position: center 35% !important;
    border-left: 0;
  }

  .hero-copy {
    width: min(94%, 620px) !important;
    min-height: 0;
    margin: 0 auto !important;
    padding: 22px 0 28px !important;
    text-align: center;
  }

  .hero-eyebrow {
    align-self: center;
  }

  .exercise-card {
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 39px !important;
    line-height: 1.04 !important;
  }

  .hero-copy > p {
    font-size: 18px !important;
  }
}
