/* FONT FACE */
@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun/sarabun-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun/sarabun-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun/sarabun-latin-900-normal.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun/sarabun-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun/sarabun-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun/sarabun-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Memories Note";
  src: url("../fonts/Memories Note.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "SpiderBrush";
  src: url("../fonts/SpiderBrush.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
/* VARIABLES */
.privatiser {
  background: radial-gradient(ellipse at 85% 25%, rgba(255, 253, 247, 0.2) 0%, transparent 50%), #EA7E3E;
}
.privatiser .sur-titre {
  color: #FFDB8B;
}
.privatiser__titre {
  color: #FFFDF7;
}
.privatiser__texte {
  color: rgba(255, 253, 247, 0.9);
  margin-top: 0.75rem;
  line-height: 1.6;
}
.privatiser__image {
  width: 100%;
  max-width: 420px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 0;
}
@media (min-width: 1188px) {
  .privatiser__image {
    max-width: 480px;
  }
}
.privatiser .btn--secondaire:hover {
  background-color: rgb(174.9626168224, 77.0560747664, 19.0373831776);
}

.evenements {
  background: linear-gradient(to bottom, rgba(255, 219, 139, 0.5), #FFFDF7);
}
.evenements__header {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}
@media (min-width: 1188px) {
  .evenements__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
  }
  .evenements__header .btn {
    margin-top: 0;
    flex-shrink: 0;
  }
}
.evenements__texte {
  margin-top: 0.5rem;
  line-height: 1.6;
}
.evenements__vide {
  color: #EA7E3E;
  font-style: italic;
  text-align: center;
  padding: 2rem 0;
  opacity: 0.75;
}
.evenements__liste {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
  padding-left: 2.5rem;
}
.evenements__liste::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background-image: linear-gradient(to bottom, #EA7E3E 50%, transparent 50%);
  background-size: 100% 20px;
}
@media (min-width: 1188px) {
  .evenements__liste {
    padding-left: 0;
    align-items: stretch;
    gap: 2.5rem;
    margin-top: 3rem;
  }
  .evenements__liste::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.evt {
  position: relative;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.evt.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.evt::before {
  content: "";
  position: absolute;
  top: 2.25rem;
  left: -2.925rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #9D9A39;
  z-index: 1;
}
@media (min-width: 1188px) {
  .evt::before {
    top: 0.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5rem;
    height: 1.5rem;
  }
}
@media (min-width: 1188px) {
  .evt {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  .evt::after {
    content: "";
    flex: 1;
  }
  .evt:not(:first-of-type) {
    margin-top: -4rem;
  }
}
.evt__cote {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 1188px) {
  .evt__cote {
    flex: 0 0 45%;
    gap: 0.5rem;
  }
}
.evt__date {
  display: block;
  color: #472C18;
}
@media (min-width: 1188px) {
  .evt:nth-child(odd) .evt__cote {
    order: 1;
  }
  .evt:nth-child(odd)::after {
    order: 2;
  }
  .evt:nth-child(odd) .evt__date {
    text-align: right;
  }
  .evt:nth-child(odd) .evt__contenu {
    border-radius: 1.5rem 0 1.5rem 1.5rem;
  }
}
@media (min-width: 1188px) {
  .evt:nth-child(even)::after {
    order: 1;
  }
  .evt:nth-child(even) .evt__cote {
    order: 2;
  }
  .evt:nth-child(even) .evt__date {
    text-align: left;
  }
  .evt:nth-child(even) .evt__contenu {
    border-radius: 0 1.5rem 1.5rem 1.5rem;
  }
}
.evt__contenu {
  background: #FFDB8B;
  border-radius: 1.25rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.evt__titre {
  font-family: "Memories Note", sans-serif;
  color: #EA7E3E;
  margin-bottom: 0.25rem;
  font-size: 1.3rem;
}
@media (min-width: 1188px) {
  .evt__titre {
    font-size: 1.5rem;
  }
}

.cta {
  background-color: #FECC4F;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta__titre {
  font-family: "Memories Note", sans-serif;
  color: #472C18;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
@media (min-width: 1188px) {
  .cta__titre {
    font-size: 2rem;
  }
}
@media (min-width: 1500px) {
  .cta__titre {
    font-size: 2.5rem;
  }
}
.cta__texte {
  max-width: 40rem;
}