/* =========================================================
   LATOORTUE V2 — PAGE ACCUEIL
   Styles spécifiques aux sections codées de la page d'accueil.

   Migration progressive :
   - .lt-hero-s1
   - .lt-s2
   - .lt-s3-final
   - sections suivantes

   Règles :
   - pas de CSS générique inutile ici ;
   - pas de doublon avec base.css / components.css ;
   - ne pas recopier les hacks full-width de l'ancien Divi
     tant que leur nécessité n'est pas confirmée dans Divi 5.
   ========================================================= */
/* =========================================================
   SECTION 01 — HERO
   ========================================================= */

.lt-hero-s1 {
  --hero-ink: #171d21;
  --hero-muted: #6f7c82;
  --hero-line: rgba(15, 35, 45, .10);
  --hero-shadow: 0 24px 70px rgba(16, 60, 98, .10);

  position: relative;
  width: 100%;
  overflow: hidden;

  background: #fff;
  color: var(--hero-ink);
}

.lt-hero-s1 a {
  text-decoration: none;
}

.lt-hero-s1 .lt-hero-inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 0;
}


/* TEXTE */

.lt-hero-s1 .lt-hero-copy {
  max-width: 1000px;
  margin: 0 auto 40px;
  text-align: center;
}

.lt-hero-s1 .lt-kicker {
  display: block;

  margin: 0 0 14px;

  color: var(--lt-parcoursup);

  font-size: 13px;
  line-height: 1.3;
  font-weight: 750;

  letter-spacing: .055em;
  text-transform: uppercase;
}

.lt-hero-s1 h1 {
  max-width: 1100px;

  margin: 0 auto;
  padding: 0;

  color: var(--hero-ink);

  font-size: clamp(50px, 5.8vw, 84px);
  line-height: .99;

  font-weight: 700;
  letter-spacing: -.055em;

  text-align: center;
  text-wrap: balance;
}

.lt-hero-s1 .lt-gradient {
  display: inline;

  background:
    linear-gradient(
      90deg,
      var(--lt-parcoursup),
      var(--lt-brand),
      #2d7aa4
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lt-hero-s1 .lt-subtitle {
  max-width: 760px;

  margin: 23px auto 0;
  padding: 0;

  color: var(--hero-muted);

  font-size: clamp(18px, 1.65vw, 21px);
  line-height: 1.55;
  font-weight: 400;

  text-align: center;
}


/* CTA */

.lt-hero-s1 .lt-actions {
  display: flex;
  flex-wrap: wrap;

  justify-content: center;
  align-items: center;

  gap: 12px;

  margin: 27px 0 0;
}

.lt-hero-s1 .lt-btn-primary,
.lt-hero-s1 .lt-btn-secondary {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 50px;

  padding: 0 24px;

  border-radius: 999px;

  font-size: 15px;
  line-height: 1;
  font-weight: 700;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.lt-hero-s1 .lt-btn-primary {
  background: var(--lt-brand);
  border: 1px solid var(--lt-brand);

  color: #fff;

  box-shadow:
    0 10px 26px
    rgba(28, 173, 196, .18);
}

.lt-hero-s1 .lt-btn-secondary {
  background: #fff;

  border:
    1px solid
    rgba(16, 60, 98, .18);

  color: var(--lt-fpc);
}

.lt-hero-s1 .lt-btn-primary:hover,
.lt-hero-s1 .lt-btn-secondary:hover {
  transform: translateY(-2px);
}


/* IMAGE HERO */

.lt-hero-s1 .lt-hero-media {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  margin: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 32px;

  background: #eef6f7;

  box-shadow: var(--hero-shadow);
}

.lt-hero-s1 .lt-hero-media > img {
  display: block;

  width: 100%;
  max-width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  margin: 0;
  padding: 0;

  border: 0;

  background: #eef6f7;
}


/* PREUVES */

.lt-hero-s1 .lt-proofbar {
  display: grid;

  grid-template-columns:
    repeat(5, minmax(0, 1fr));

  gap: 1px;

  width: 100%;

  margin: 16px 0 0;

  overflow: hidden;

  border: 1px solid var(--hero-line);
  border-radius: 18px;

  background: var(--hero-line);
}

.lt-hero-s1 .lt-proofbar > div {
  min-width: 0;

  padding: 17px 10px;

  background: #fff;

  text-align: center;
}

.lt-hero-s1 .lt-proofbar b {
  display: block;

  margin: 0 0 3px;

  color: var(--lt-fpc);

  font-size: 14px;
  line-height: 1.25;
  font-weight: 750;
}

.lt-hero-s1 .lt-proofbar span {
  display: block;

  color: #77848a;

  font-size: 11px;
  line-height: 1.3;
}

.lt-hero-s1 .lt-proofbar .lt-proof-highlight {
  background:
    linear-gradient(
      180deg,
      #f0fbfc 0%,
      #fff 100%
    );
}

.lt-hero-s1 .lt-proofbar .lt-proof-highlight b {
  color: var(--lt-parcoursup);
}


/* TABLETTE */

@media (max-width: 980px) {

  .lt-hero-s1 .lt-hero-inner {
    width: min(calc(100% - 28px), 1240px);
    padding-top: 52px;
  }

  .lt-hero-s1 .lt-hero-copy {
    margin-bottom: 32px;
  }

  .lt-hero-s1 .lt-hero-media {
    aspect-ratio: 16 / 10;
    border-radius: 26px;
  }

  .lt-hero-s1 .lt-proofbar {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .lt-hero-s1 .lt-proofbar > div:last-child {
    grid-column: 1 / -1;
  }

}


/* MOBILE */

@media (max-width: 640px) {

  .lt-hero-s1 .lt-hero-inner {
    width: calc(100% - 20px);
    padding-top: 36px;
  }

  .lt-hero-s1 .lt-hero-copy {
    margin-bottom: 27px;
  }

  .lt-hero-s1 .lt-kicker {
    margin-bottom: 12px;

    font-size: 10.5px;
    line-height: 1.3;

    letter-spacing: .11em;
  }

  .lt-hero-s1 h1 {
    max-width: 370px;

    font-size: clamp(38px, 10.7vw, 43px);
    line-height: 1.02;

    letter-spacing: -.047em;
  }

  .lt-hero-s1 .lt-subtitle {
    max-width: 350px;

    margin-top: 18px;

    font-size: 15px;
    line-height: 1.57;
  }

  .lt-hero-s1 .lt-actions {
    display: grid;

    grid-template-columns: 1fr;

    gap: 10px;

    margin-top: 22px;
  }

  .lt-hero-s1 .lt-btn-primary,
  .lt-hero-s1 .lt-btn-secondary {
    width: 100%;

    min-height: 48px;

    padding: 0 18px;

    font-size: 14px;
  }

  .lt-hero-s1 .lt-hero-media {
    aspect-ratio: 16 / 10;

    border-radius: 22px;
  }

  .lt-hero-s1 .lt-proofbar {
    grid-template-columns: 1fr;

    margin-top: 12px;

    border-radius: 16px;
  }

  .lt-hero-s1 .lt-proofbar > div {
    padding: 14px 12px;
  }

  .lt-hero-s1 .lt-proofbar > div:last-child {
    grid-column: auto;
  }

  .lt-hero-s1 .lt-proofbar b {
    font-size: 14px;
  }

  .lt-hero-s1 .lt-proofbar span {
    font-size: 12px;
  }

}