/* Homepage — values from source data-ref="accueil-desktop" */

/* —— Hero —— */
.lta-hero {
  /* Hauteur de la section et debordement du disque au-dessus d'elle : les deux
     servent a caler la video, qui doit faire exactement la hauteur de section. */
  --lta-hero-h: 760px;
  --lta-hero-disc-top: -240px;
  position: relative;
  height: var(--lta-hero-h);
  overflow: hidden;
  background: #173F77;
}

.lta-hero__ring {
  position: absolute;
  width: 1592px;
  height: 1592px;
  border-radius: 50%;
  background: #0E2C54;
  left: 584px;
  top: -416px;
}

.lta-hero__disc {
  position: absolute;
  width: 1240px;
  height: 1240px;
  border-radius: 50%;
  left: 760px;
  top: var(--lta-hero-disc-top);
  overflow: hidden;
  background: #173F77;
}

.lta-hero__video-wrap {
  position: absolute;
  inset: 0;
  background: #173F77;
}

.lta-hero__video {
  position: absolute;
  left: 0;
  right: 0;
  /* Le disque deborde au-dessus de la section. On redescend la video d'autant :
     son bord haut tombe alors pile sous header.lta-header, et sa hauteur vaut
     celle de la section, independamment de la hauteur de la fenetre. */
  top: calc(-1 * var(--lta-hero-disc-top));
  height: var(--lta-hero-h);
  object-fit: cover;
  object-position: 22% 50%;
  display: block;
}

.lta-hero__hold {
  position: absolute;
  inset: 0;
}

.lta-hero__signature {
  position: absolute;
  left: 72px;
  top: 32px;
  width: 393px;
  height: auto;
  display: block;
}

.lta-hero__copy {
  position: absolute;
  left: 72px;
  right: 72px;
  bottom: 100px;
}

.lta-hero__meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 25px;
  letter-spacing: .04em;
}

.lta-hero__millesime {
  font-family: var(--lta-accent);
  font-size: 30px;
  letter-spacing: 0;
}

.lta-hero__millesime sup {
  font-size: .55em;
}

.lta-hero__meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F3C416;
  align-self: center;
}

.lta-hero__meta-place {
  display: inline;
}

.lta-hero__meta-lieu {
  text-transform: uppercase;
}

.lta-hero__meta-date {
  text-transform: uppercase;
  color: #F3C416;
}

.lta-hero__title {
  font-weight: 300;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: .005em;
  margin: 28px 0 0;
  text-transform: uppercase;
  color: #F3C416;
}

.lta-hero__title-blanc {
  color: #fff;
}

.lta-hero__scroll {
  position: absolute;
  left: 72px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lta-hero__cue {
  width: 1px;
  height: 32px;
  background: #F3C416;
}

.lta-hero__scroll-label {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}

/* —— Chiffres —— */
.lta-chiffres {
  padding: 64px 72px;
  background: #0E2C54;
}

.lta-chiffres__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lta-chiffres__item {
  padding: 0 44px;
  border-left: 1px solid rgba(255, 255, 255, .15);
}

.lta-chiffres__grid > .lta-chiffres__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.lta-chiffres__grid > .lta-chiffres__item:last-child {
  padding-right: 0;
}

.lta-chiffres__value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  color: #F3C416;
}

.lta-chiffres__num {
  font-weight: 300;
  font-size: 64px;
  line-height: 1;
}

.lta-chiffres__unit {
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
  color: #fff;
}

.lta-chiffres__label {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.6;
  color: rgba(255, 255, 255, .85);
}

/* —— Évènement —— */
.lta-event {
  position: relative;
  background: #0E2C54;
  color: #0E2C54;
  display: grid;
  grid-template-columns: 640px minmax(0, 1fr);
}

.lta-event__figure {
  position: relative;
  margin: 0;
  min-height: 960px;
}

.lta-event__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.lta-event__body {
  background: #0E2C54;
  color: #fff;
  padding: 96px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lta-event__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 26px;
}

.lta-event__kicker img {
  height: 26px;
  width: auto;
  display: block;
}

.lta-event__title {
  font-weight: 300;
  font-size: 58px;
  line-height: 1.06;
  margin: 0 0 52px;
  text-transform: uppercase;
  color: #F3C416;
}

.lta-event__title-blanc {
  color: #fff;
}

.lta-event__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.lta-event__item {
  font-weight: 300;
  font-size: 38px;
  line-height: 1.26;
  text-wrap: pretty;
}

.lta-event__bar {
  display: block;
  width: 56px;
  height: 3px;
  background: #F3C416;
  margin-bottom: 22px;
}

.lta-event__accent {
  color: #F3C416;
}

/* —— Participants —— */
.lta-present {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 40px;
  row-gap: 56px;
  align-items: end;
  padding: 120px 72px;
  background: #173F77;
}

.lta-present__anneau {
  position: absolute;
  z-index: -1;
  right: -720px;
  top: 312px;
  width: 1360px;
  height: 1360px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 140px solid #F3C416;
}

.lta-present__title {
  grid-column: 1;
  grid-row: 1;
  font-weight: 300;
  font-size: 54px;
  line-height: 1.06;
  margin: 0;
  text-transform: uppercase;
  color: #F3C416;
}

.lta-present__title-blanc {
  color: #fff;
}

.lta-present__link {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #F3C416;
  font-size: 15px;
  letter-spacing: .08em;
  color: #fff;
  white-space: nowrap;
  justify-self: end;
}

.lta-present__link span {
  font-size: 19px;
}

.lta-present__grid {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.lta-mini {
  background: #0E2C54;
  cursor: pointer;
  color: #fff;
  text-align: left;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  appearance: none;
  -webkit-appearance: none;
}

.lta-mini__portrait {
  aspect-ratio: 1 / 1;
  background: #173F77;
  overflow: hidden;
}

.lta-mini__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.lta-mini__bar {
  height: 3px;
  background: #F3C416;
  width: 0;
  transition: width .22s ease;
}

.lta-mini:hover .lta-mini__bar,
.lta-mini:focus-visible .lta-mini__bar {
  width: 100%;
}

.lta-mini__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lta-mini__name {
  font-size: 21px;
  line-height: 1.25;
}

.lta-mini__role {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
}

.lta-mini__company {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: #F3C416;
}

/* —— Bandeau jaune —— */
.lta-bandeau {
  position: relative;
  overflow: hidden;
  padding: 100px 72px;
  background: #F3C416;
  color: #0E2C54;
}

.lta-bandeau__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.lta-bandeau__left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.lta-bandeau__symbole {
  width: 120px;
  height: auto;
  display: block;
}

.lta-bandeau__title {
  font-weight: 300;
  font-size: 56px;
  line-height: 1.04;
  margin: 0;
  text-transform: uppercase;
}

.lta-bandeau__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 0 40px;
  background: #0E2C54;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lta-bandeau__cta:hover {
  background: #173F77;
  color: #fff;
}

.lta-bandeau__cta span {
  color: #F3C416;
  font-size: 20px;
}

/* —— Témoignages —— */
.lta-temoignages {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 40px;
  row-gap: 64px;
  align-items: end;
  padding: 130px 72px;
  background: #0E2C54;
  color: #fff;
}

.lta-temoignages__title {
  grid-column: 1;
  grid-row: 1;
  font-weight: 300;
  font-size: 54px;
  line-height: 1.06;
  margin: 0;
  text-transform: uppercase;
  color: #F3C416;
}

.lta-temoignages__title-blanc {
  color: #fff;
}

.lta-temoignages__nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.lta-temoignages__nav[hidden] {
  display: none;
}

/* ≤2 testimonials: one desktop page — hide nav without waiting for JS. */
@media (min-width: 1024px) {
  .lta-temoignages[data-count="1"] .lta-temoignages__nav,
  .lta-temoignages[data-count="2"] .lta-temoignages__nav {
    display: none;
  }
}

@media (max-width: 1023px) {
  .lta-temoignages[data-count="1"] .lta-temoignages__nav {
    display: none;
  }
}

.lta-temoignages__count {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  margin-right: 12px;
}

.lta-temoignages__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .35);
  color: rgba(255, 255, 255, .6);
  background: transparent;
}

.lta-temoignages__btn.is-next {
  border: 0;
  background: #F3C416;
  color: #0E2C54;
  cursor: pointer;
}

.lta-temoignages__btn:disabled {
  cursor: default;
}

.lta-temoignages__grid {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  align-items: stretch;
}

/* Pre-JS: first page only (2 desktop / 1 below 1024). */
.lta-temoignages:not(.is-ready) .lta-temoin:nth-child(n + 3) {
  display: none;
}

@media (max-width: 1023px) {
  .lta-temoignages:not(.is-ready) .lta-temoin:nth-child(n + 2) {
    display: none;
  }
}

.lta-temoin {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  height: 100%;
}

.lta-temoin__quote-mark {
  font-family: var(--lta-accent);
  font-size: 120px;
  line-height: .6;
  color: #F3C416;
  height: 52px;
}

.lta-temoin__quote {
  font-weight: 300;
  font-size: 30px;
  line-height: 1.36;
  margin: 0;
  text-wrap: pretty;
}

.lta-temoin__auteur {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lta-temoin__photo {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  background: #173F77;
  display: block;
}

.lta-temoin__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lta-temoin__name {
  display: block;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #F3C416;
}

.lta-temoin__role {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
}

/* —— Vidéo —— */
.lta-video {
  padding: 120px 72px;
  background: #F6E6D9;
  color: #0E2C54;
}

.lta-video__inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.lta-video__kicker {
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #173F77;
  line-height: normal;
}

.lta-video__title {
  font-weight: 300;
  font-size: 48px;
  line-height: 1.1;
  margin: 18px 0 48px;
  text-transform: uppercase;
  color: #173F77;
}

.lta-video__title-nuit {
  color: #0E2C54;
}

.lta-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #173F77;
  overflow: hidden;
}

.lta-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.lta-video__legende {
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.6;
}

/* —— Tablet —— */
@media (min-width: 1024px) and (max-width: 1279px) {
  .lta-hero__signature { left: 48px; }
  .lta-hero__copy { left: 48px; right: 48px; }
  .lta-hero__scroll { left: 48px; }
  .lta-chiffres { padding: 64px 48px; }
  .lta-event__body { padding: 96px 48px; }
  .lta-present { padding: 120px 48px; }
  .lta-bandeau { padding: 100px 48px; }
  .lta-temoignages { padding: 130px 48px; }
  .lta-video { padding: 120px 48px; }
}

@media (max-width: 1023px) {
  .lta-event {
    grid-template-columns: 1fr;
  }

  .lta-event__figure {
    min-height: 420px;
  }

  .lta-present__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lta-temoignages__grid {
    grid-template-columns: 1fr;
  }

  .lta-bandeau__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— Mobile exact (accueil-mobile @ 390px) —— */
@media (max-width: 759px) {
  /* Hero */
  .lta-hero {
    --lta-hero-h: 620px;
    --lta-hero-disc-top: -230px;
  }

  .lta-hero__ring {
    width: 774px;
    height: 774px;
    left: 103px;
    top: -307px;
  }

  .lta-hero__disc {
    width: 620px;
    height: 620px;
    left: 180px;
  }

  .lta-hero__video {
    object-position: 20% 50%;
  }

  .lta-hero__signature {
    left: 20px;
    top: 108px;
    width: 150px;
  }

  .lta-hero__copy {
    left: 20px;
    right: 20px;
    top: 316px;
    bottom: auto;
  }

  .lta-hero__meta {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 17px;
    letter-spacing: normal;
  }

  .lta-hero__millesime {
    font-size: 20px;
    white-space: nowrap;
  }

  .lta-hero__meta-dot {
    width: 5px;
    height: 5px;
  }


  .lta-hero__title {
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: normal;
    margin: 18px 0 0;
  }

  .lta-hero__title br {
    display: none;
  }

  .lta-hero__scroll {
    display: none;
  }

  /* Chiffres */
  .lta-chiffres {
    padding: 40px 20px;
  }

  .lta-chiffres__grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .lta-chiffres__item {
    padding: 0 18px;
    border-left: 1px solid rgba(255, 255, 255, .15);
  }

  .lta-chiffres__grid > .lta-chiffres__item:first-child {
    border-left: 1px solid rgba(255, 255, 255, .15);
    padding-left: 18px;
  }

  .lta-chiffres__grid > .lta-chiffres__item:last-child {
    padding-right: 18px;
  }

  .lta-chiffres__value {
    gap: 6px;
  }

  .lta-chiffres__num {
    font-size: 40px;
  }

  .lta-chiffres__unit {
    font-size: 16px;
  }

  .lta-chiffres__label {
    margin-top: 10px;
    font-size: 11px;
    letter-spacing: .14em;
    line-height: 1.5;
  }

  /* Évènement */
  .lta-event__figure {
    min-height: 0;
  }

  .lta-event__img {
    position: static;
    aspect-ratio: 4 / 5;
    height: auto;
    object-position: center 40%;
  }

  .lta-event__body {
    padding: 56px 20px;
  }

  .lta-event__kicker {
    gap: 12px;
    font-size: 11px;
    letter-spacing: .22em;
    margin-bottom: 20px;
  }

  .lta-event__kicker img {
    height: 22px;
  }

  .lta-event__title {
    font-size: 32px;
    line-height: 1.08;
    margin: 0 0 34px;
  }

  .lta-event__list {
    gap: 30px;
  }

  .lta-event__item {
    font-size: 22px;
    line-height: 1.32;
    text-wrap: pretty;
  }

  .lta-event__bar {
    width: 40px;
    margin-bottom: 16px;
  }

  /* Participants */
  .lta-present {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 64px 20px;
    column-gap: 0;
    row-gap: 0;
  }

  .lta-present__anneau {
    left: 268px;
    right: auto;
    top: 720px;
    width: 360px;
    height: 360px;
    border-width: 40px;
  }

  .lta-present__title {
    order: 1;
    grid-column: auto;
    grid-row: auto;
    font-size: 32px;
    line-height: 1.08;
    margin: 0 0 28px;
    max-width: 230px;
  }

  .lta-present__grid {
    order: 2;
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .lta-present__link {
    order: 3;
    grid-column: auto;
    grid-row: auto;
    align-self: flex-start;
    justify-self: start;
    gap: 12px;
    margin-top: 32px;
    padding-bottom: 8px;
    font-size: 13px;
    white-space: normal;
  }

  .lta-present__link span {
    font-size: 17px;
  }

  .lta-mini__bar {
    width: 100%;
    transition: none;
  }

  .lta-mini__body {
    padding: 16px;
  }

  .lta-mini__name {
    font-size: 17px;
  }

  .lta-mini__role {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
  }

  .lta-mini__company {
    padding-top: 12px;
    font-size: 11px;
  }

  /* Bandeau */
  .lta-bandeau {
    padding: 56px 20px;
  }

  .lta-bandeau__inner {
    gap: 0;
    width: 100%;
  }

  .lta-bandeau__left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .lta-bandeau__symbole {
    width: 72px;
    margin-bottom: 24px;
  }

  .lta-bandeau__title {
    font-size: 32px;
    line-height: 1.06;
    margin: 0 0 28px;
  }

  .lta-bandeau__title br {
    display: none;
  }

  .lta-bandeau__cta {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 0;
    gap: 14px;
    font-size: 13px;
  }

  .lta-bandeau__cta span {
    font-size: inherit;
  }

  /* Témoignages */
  .lta-temoignages {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* 66px bottom: matches reference page height (subpixel font metrics vs artboard). */
    padding: 64px 20px 66px;
    column-gap: 0;
    row-gap: 0;
  }

  .lta-temoignages__title {
    order: 1;
    font-size: 32px;
    line-height: 1.08;
    margin: 0 0 32px;
  }

  .lta-temoignages__grid {
    order: 2;
    grid-column: auto;
    grid-row: auto;
    gap: 0;
  }

  .lta-temoin {
    gap: 0;
    height: auto;
    justify-content: flex-start;
  }

  .lta-temoin__quote-mark {
    font-size: 96px;
    line-height: .6;
    height: 42px;
    overflow: hidden;
  }

  .lta-temoin__quote {
    font-size: 22px;
    line-height: 1.4;
    text-wrap: wrap;
  }

  .lta-temoin__auteur {
    margin-top: 28px;
    gap: 16px;
  }

  .lta-temoin__photo {
    width: 56px;
    height: 56px;
  }

  .lta-temoin__name {
    font-size: 12px;
  }

  .lta-temoin__role {
    margin-top: 6px;
    font-size: 14px;
  }

  .lta-temoignages__nav {
    order: 3;
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
    margin-top: 32px;
    gap: 10px;
  }

  .lta-temoignages__count {
    font-size: 11px;
    margin-right: 8px;
  }

  .lta-temoignages__btn {
    width: 44px;
    height: 44px;
  }

  /* Vidéo */
  .lta-video {
    padding: 56px 20px;
  }

  .lta-video__inner {
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .lta-video__kicker {
    font-size: 11px;
    letter-spacing: .22em;
  }

  .lta-video__title {
    font-size: 28px;
    line-height: 1.1;
    margin: 14px 0 28px;
  }

  .lta-video__legende {
    margin: 16px 0 0;
    font-size: 13px;
  }
}


/* —— Présentation Afep (après la rétrospective) —— */
.lta-afep {
  padding: 88px 72px;
  background: #173F77;
  color: #fff;
}

.lta-afep__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
}

.lta-afep__copy {
  max-width: 720px;
}

.lta-afep__texte {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
}

.lta-afep__accroche {
  margin: 20px 0 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  color: #F3C416;
}

.lta-afep__signature {
  flex: none;
  width: 360px;
  height: auto;
  max-width: none;
  display: block;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .lta-afep { padding: 88px 48px; }
  .lta-afep__signature { width: 280px; }
}

/* En dessous de 1024 les deux colonnes ne tiennent plus : on empile. */
@media (max-width: 1023px) {
  .lta-afep { padding: 72px 48px; }
  .lta-afep__inner { display: block; }
  .lta-afep__copy { max-width: none; }
  .lta-afep__signature { width: 220px; margin-top: 40px; }
}

@media (max-width: 759px) {
  .lta-afep { padding: 52px 20px; }
  .lta-afep__texte { font-size: 17px; }
  .lta-afep__accroche { margin-top: 16px; font-size: 15px; }
  .lta-afep__signature { width: 170px; margin-top: 36px; }
}
