
.hero:has(> .horizon) { position: relative; }
.hero:has(> .horizon) { border-bottom-color: transparent; }
.hero--formulaire:has(> .horizon) { padding-bottom: calc(var(--e-5) + 56px); }
@media (min-width: 901px) {
  .hero--formulaire:has(> .horizon) { padding-bottom: calc(var(--e-5) + 80px); }
}

.horizon {
  --horizon-droite: calc(max(var(--marge-page), (100% - var(--contenu)) / 2) + var(--e-6));
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  pointer-events: none;
}
.horizon__soleil {
  position: absolute;
  bottom: 0;
  right: var(--horizon-droite);
  width: 160px;
  height: 80px;
  border-radius: 160px 160px 0 0;
  background: var(--abricot);
}
.horizon__barre {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: var(--brun);
}
.horizon__trait {
  position: absolute;
  right: var(--horizon-droite);
  height: 7px;
  border-radius: 7px;
  background: var(--terra);
}
.horizon__trait--long { top: 22px; width: 120px; }
.horizon__trait--court { top: 41px; width: 64px; }

@media (max-width: 900px) {
  .horizon__soleil { width: 112px; height: 56px; border-radius: 112px 112px 0 0; }
  .horizon__trait--long { top: 20px; width: 76px; }
  .horizon__trait--court { top: 35px; width: 40px; }
}

.hero--formulaire:has(> .horizon) + .section--formulaire { padding-top: calc(var(--e-6) + 24px); }

.section--final { padding-bottom: 240px; }
.section--final::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: var(--creme);
  pointer-events: none;
}
.section--final::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 400px;
  height: 200px;
  margin-left: -200px;
  border-radius: 400px 400px 0 0;
  background: var(--abricot);
  pointer-events: none;
}
@media (max-width: 900px) {
  .section--final { padding-bottom: 160px; }
  .section--final::after {
    width: 240px;
    height: 120px;
    margin-left: -120px;
    border-radius: 240px 240px 0 0;
  }
}

.panneau--brun { padding-bottom: calc(var(--e-6) + 96px); }
.panneau--brun::before {
  content: "";
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 18px;
  height: 6px;
  border-radius: 6px;
  background: var(--creme);
  pointer-events: none;
}
.panneau--brun::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 120px;
  height: 60px;
  margin-left: -60px;
  border-radius: 120px 120px 0 0;
  background: var(--abricot);
  pointer-events: none;
}
