/*--------------------------------------------------------------
/* HOME
For homepage - even if it's blog home 
========================================================================== */

/* HERO */

.club-hero.section {
  position: relative;
  background-color: #513d38;
}

.club-hero.section h1,
.club-hero.section p {
  color: #fff;
}

.club-hero__content p {
  font-size: 16px;
  margin: 25px 0 40px;
}

.club-hero__content {
  padding: 50px 0.66rem 145px;
  position: relative;
  z-index: 2;
}

.club-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.club-hero__button {
  padding: 10px 25px;
  border-radius: 50px;
  background-color: #fff;
  border: 1px solid #fff;
  transition: transform 0.1s ease-in-out;
  text-decoration: none;
  color: #513d38;
  font-size: 16px;
  font-weight: 400;
}

.club-hero__button:hover {
  transform: scale(0.98);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.club-hero__button.reverse {
  background-color: #664d48;
  color: #fff;
}

.club-hero__button.reverse:hover {
  background-color: #5a433e;
}

.club-hero__buttons {
  display: flex;
  gap: 15px;
}

.club-hero__sticker {
  position: absolute;
  bottom: -15px;
  left: 55%;
  width: calc(100% - 1.32rem);
  transform: translate(-50%, 50%);
}

@media screen and (max-width: 1023px) {
  .club-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .club-hero__sticker {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 60%;
  }
}

@media screen and (min-width: 1024px) {
  .club-hero__content {
    padding: 90px 0 45px 0.66rem;
  }

  .club-hero.section {
    display: flex;
  }

  .club-hero.section > div:not(.club-hero__sticker) {
    width: 50%;
  }

  .club-hero__content .container {
    width: 64%;
  }

  .club-hero__sticker {
    position: absolute;
    bottom: -15px;
    left: calc(50% + 60px);
    transform: translate(-50%, 50%);
    width: 37%;
  }

  .club-hero__content p {
    font-size: 20px;
  }

  .club-hero__button a {
    font-size: 20px;
  }

  .club-hero__button {
    width: 235px;
    height: 50px;
  }
}

/* Etapes */

.club-etapes {
  padding: 170px 0.66rem 115px;
}

.club-etapes .container {
  display: flex;
  gap: 40px;
  flex-direction: column;
}

.club-etapes__item {
  text-align: center;
}

.club-etapes__item h2 {
  font-size: 40px;
}

.club-etapes__item p {
  max-width: 280px;
  margin: 0 auto;
}

.etape-numero {
  font-family: var(--title-font), sans-serif;
  font-size: 40px;
  color: #997053;
  font-weight: 400;
}

@media screen and (min-width: 1024px) {
  .club-etapes {
    padding: 270px 0.66rem 210px;
  }

  .club-etapes .container {
    flex-direction: row;
    justify-content: center;
    gap: 140px;
  }

  .club-etapes__item h2 {
    font-size: 55px;
  }

  .etape-numero {
    font-size: 70px;
  }
}

/* RECOMPENSES */

.club-recompenses {
  padding: 0 0.66rem 56px;
}

.club-recompenses .container {
  background-color: #dfd5c8;
  border-radius: 10px;
  padding: 75px 25px 15px;
  position: relative;
}

.club-recompenses h2 {
  color: #fff;
  background-color: #513d38;
  padding: 15px 25px;
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -75%);
  width: 85%;
  text-align: center;
}

.club-recompenses__image {
  text-align: center;
}

@media screen and (min-width: 1024px) {
  .club-recompenses {
    padding: 0 0.66rem 115px;
  }
  .club-recompenses h2 {
    font-size: 60px;
    width: 65%;
    padding: 30px 55px;
    border-radius: 25px;
    transform: translate(-50%, -50%);
  }

  .club-recompenses .container {
    width: 62%;
    padding: 230px 80px 40px;
    margin: 0 auto;
    border-radius: 30px;
  }
}

/* FAQ */

.club-faq {
  padding: 35px 0.66rem 40px;
}

.club-faq .container {
  background-color: #dfd5c8;
  padding: 12px;
  border-radius: 10px;
}

.club-faq__groupes {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.club-faq__groupe {
  background-color: #fff;
  padding: 12px;
  border-radius: 10px;
  position: relative;
}

.club-faq__item {
  font-size: 12px;
  font-weight: 400;
}

.club-faq__question {
  font-weight: 600;
  position: relative;
}

.club-faq__answer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.club-faq__item {
  margin-top: 12px;
}

.club-faq__groupes {
  margin-top: 12px;
}

@media screen and (max-width: 1023px) {
  .club-faq__groupe::after {
    content: "+";
    position: absolute;
    top: 10px;
    right: 12px;
    transition: transform 0.3s ease;
  }

  .club-faq__groupe.active::after {
    content: "-";
    transform: rotate(180deg);
  }

  .club-faq__questions {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  .club-faq__groupe.active .club-faq__questions {
    max-height: 1000px;
  }
}

@media screen and (min-width: 1024px) {
  .club-faq {
    padding: 100px 0.66rem 100px;
  }

  .club-faq h2 {
    font-size: 100px;
  }

  .club-faq h3 {
    font-size: 30px;
  }

  .club-faq__question {
    font-size: 20px;
    font-weight: 400;
  }

  .club-faq__answer {
    font-size: 18px;
  }

  .club-faq .container {
    padding: 0;
    background-color: transparent;
  }

  .club-faq__groupes {
    margin-top: 40px;
    flex-direction: row;
    gap: 20px;
  }

  .club-faq__groupe {
    width: calc(33% - 10px);
    background-color: #dfd5c8;
    padding: 20px;
  }

  .club-faq__item {
    background-color: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    cursor: pointer;
  }

  .club-faq__question {
    position: relative;
  }

  .club-faq__question::after {
    content: "+";
    position: absolute;
    top: 0px;
    right: -12px;
    transition: transform 0.3s ease;
  }

  .club-faq__item.active .club-faq__question::after {
    content: "-";
    transform: rotate(180deg);
  }

  .club-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    padding-top: 0;
  }

  .club-faq__item.active .club-faq__answer {
    max-height: 1000px;
    padding-top: 40px;
  }

  .club-faq__questions {
    margin-top: 25px;
  }
}

/*  Club Usse */

.club-use {
  padding: 56px 0.66rem;
}

@media screen and (min-width: 1024px) {
  .club-use {
    padding: 156px 0.66rem;
  }
}

/* CLUB POINTS */

.club-points {
  padding: 56px 0.66rem;
}

.club-points__gains {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: center;
}

.club-points__gain {
  padding: 15px 20px;
  border-radius: 10px;
  background-color: var(--white);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  font-weight: 400;
  transition: all 0.3s ease;
  text-decoration: none;
  min-height: 160px;
}

button.club-points__gain {
  cursor: pointer;
}

button.club-points__gain:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0);
}

.club-points__gain:first-child .gains-points-club {
  font-family: var(--title-font), sans-serif;
  color: var(--text-color);
  font-weight: 600;
  font-size: 150%;
}

.club-points__gain:not(:first-child) .gains-points-club {
  font-family: var(--title-font), sans-serif;
  font-weight: 600;
  color: #fff;
  background-color: var(--main-light);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  padding: 0;
  line-height: 1.75;
  letter-spacing: 0.05em;
  font-size: 140%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 1024px) {
  .club-points {
    padding: 56px 0.66rem 0;
  }
  .club-points__gains {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1.8vw;
    font-size: 1.6vw;
    padding: 0.25rem 0.5rem;
  }
  .gains-points-club {
    margin-top: 5px;
  }
}

@media (max-width: 1023px) {
  .club-points__gain:not(:first-child) .gains-points-club {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
