
/* =================== Box Presentation ==================== */
.presentation {
    display: flex;
    height: 718px;
    padding: 70px 0 16px 0;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.presentation .fond {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 1 0 0;
  align-self: stretch;
  border-radius: 65px;
  position: relative;
  overflow: hidden;
}

.presentation .fond .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: crossfade 25s infinite;
}

.presentation .fond .slide:nth-child(1) {
  background-image: url('/assets/img/slide1.png');
  animation-delay: 0s;
}
.presentation .fond .slide:nth-child(2) {
  background-image: url('/assets/img/slide2.png');
  animation-delay: 5s;
}
.presentation .fond .slide:nth-child(3) {
  background-image: url('/assets/img/slide3.png');
  animation-delay: 10s;
}
.presentation .fond .slide:nth-child(4) {
  background-image: url('/assets/img/slide4.png');
  animation-delay: 15s;
}
.presentation .fond .slide:nth-child(5) {
  background-image: url('/assets/img/slide5.png');
  animation-delay: 20s;
}

@keyframes crossfade {
  0%   { opacity: 0;   }
  4%   { opacity: 1; }  /* était 0.2 → essaie entre 0.3 et 0.6 */
  20%  { opacity: 1; }
  24%  { opacity: 0;   }
  100% { opacity: 0;   }
}

.presentation .fond > *:not(.slide) {
  position: relative;
  z-index: 1;
}

.presentation .logo {
    display: flex;
    width: 630px;
    height: auto;
    padding: 20px 13.333px 19px 13.333px;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    animation: douxZoom 3s ease-in-out infinite;
}

@keyframes douxZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


/* =================== Box Statistiques ==================== */
.stats {
    display: flex;
    padding-bottom: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}

.stats .title {
    display: flex;
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

.stats .title h4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0;

    color: var(--Couleur-survol-texte, #ADADAD);
    font-family: Baskervville;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.stats-content {
    display: inline-grid;
    padding: 0 25px;
    row-gap: 10px;
    column-gap: 50px;
    align-self: stretch;
    grid-template-rows: repeat(1,fit-content(100%));
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.stats-content .stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-self: stretch;

    display: flex;
    padding: 20px 15px;
    align-self: stretch;

    border-radius: 15px;
    border: 0.5px solid #FFF;
    background: var(--Mauve-2, rgba(70, 45, 103, 0.55));
}

.stats-content .stat .num {
    color: #FFF;
    font-family: Baskervville;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.stats-content .stat p {
    color: var(--Couleur-survol-texte, #ADADAD);
    text-align: center;
    font-family: Baskervville;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.boxonline {
    display: flex;
    align-items: center;
    gap: 15px;
}

.boxonline .online {
    width: 15px;
    height: 15px;

    border-radius: 50%;
    background: #00F836;
    box-shadow: 0 0 4px 4px rgba(11, 237, 45, 0.25);
}


/* =================== Box Patchnotes ==================== */
.patchnote {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    align-self: stretch;
}

.patchnote .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.features {
    display: inline-grid;
    row-gap: 10px;
    column-gap: 30px;
    align-self: stretch;
    grid-template-rows: repeat(1,fit-content(100%));
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.features .feature {
    display: inline-grid;
    column-gap: 10px;
    grid-template-rows: repeat(2,fit-content(100%));
    grid-template-columns: repeat(1,minmax(0,1fr));
    justify-self: stretch;

    border-radius: 20px;
    border: 0.5px solid #FFF;
    background: var(--Mauve-1, rgba(92, 58, 135, 0.55));

    transition: background 0.3s ease-in-out;
}

.features .feature:first-child, 
.features .feature:last-child {
    background: var(--Mauve-2, rgba(70, 45, 103, 0.55));
}

.features .feature:hover {
    background: var(--Couleur-survol-box, rgba(93, 84, 104, 0.55));
}

.features .feature .image {
    height: 304.375px;
    border-radius: 20px 20px 0 0;
    grid-row: 1 / span 1;
    grid-column: 1 / span 1;
    justify-self: stretch;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.feature-content {
    display: flex;
    padding: 10px 25px 25px 25px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    grid-row: 2 / span 1;
    grid-column: 1 / span 1;
    justify-self: stretch;
}

.feature-content .muted {
    color: var(--Couleur-survol-texte, #ADADAD);
    font-family: Baskervville;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.feature-content h3 {
    color: #FFF;
    font-family: Baskervville;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.feature-content p {
    color: #FFF;
    font-family: Baskervville;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}

.action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-self: stretch;
}