/* -------------------------------------------------- */
/* RESET & BASE STYLES                                */
/* -------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Bebas Neue', sans-serif;
}

html,
body {
  height: 100%;
  background-color: transparent;
  overflow-x: hidden;
}

/* -------------------------------------------------- */
/* HERO SECTION                                        */
/* -------------------------------------------------- */
.hero__section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('images/background.jpg') center/cover no-repeat;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(241, 142, 58, 0.64);
  backdrop-filter: blur(4px);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 30px;
}

.logo {
  width: 90%;
  max-width: 1300px;
  z-index: 2;
  margin: -190px 0 0 120px;
}

/* -------------------------------------------------- */
/* SECTIONS STYLES                                     */
/* -------------------------------------------------- */
.cut__section__1,
.cut__section__3 {
  width: 100%;
  height: 45vh;
  display: flex;
  align-items: center;
  padding: 40px;
  position: relative;
  z-index: 2;
}

.cut__section__1 {
  background-color: #B31942;
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);
  position: absolute;
  bottom: 0;
  left: 0;
}

.cut__section__3 {
  background-color: #B31942;
  clip-path: polygon(0% 0%, 100% 20%, 100% 100%, 0% 100%);
  margin-top: -170px;
}

.cut__section__2 {
  position: relative;
  background-color: #0A3161;
  color: #fff;

  margin-top: 60px;
  clip-path: polygon(0% 0%, 100% 20%, 100% 100%, 0% 85%);
  z-index: 3;
}

.section__light {
  background-color: transparent;
  color: #000;
  position: relative;
  z-index: 2;
}

.cut__section__2 .left__column .title__line {
  margin-top: 80px;
}

/* -------------------------------------------------- */
/* LAYOUT & COLUMNS                                    */
/* -------------------------------------------------- */
.content__wrapper,
.content__wrapper__white,
.content__wrapper.light {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 3;
}

.content__wrapper {
  color: white;
}

.content__wrapper__white,
.content__wrapper.light {
  color: black;
}

.column__layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.left__column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.right__column {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 600px;
  margin-right: 150px;
  margin-top: 150px;
}

.text__ref{
  margin-top: 30px;
}

/* -------------------------------------------------- */
/* TEXT STYLES                                        */
/* -------------------------------------------------- */
.title__line {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 40px 0 30px;
}

h1 {
  font-size: 48px;
  margin: 0;
}

p {
  font-size: 20px;
  line-height: 1.3;
}

.text__block {
  max-width: 600px;
  display: flex;
  flex-direction: column;
}

.title__red {
  color: #B31942;
}

/* -------------------------------------------------- */
/* IMAGE STYLES                                       */
/* -------------------------------------------------- */
.image__pixel {
  image-rendering: pixelated;
}

.image__right,
.image__left,
.image__bottom {
  width: 100%;
  max-width: 500px;
}

.image__right {
  margin-left: 30px;
}

.image__left {
  margin-right: 30px;
}

.image__bottom {
  margin-top: 200px;
}

.platform__logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.separator {
  display: block;
  transform: rotate(2.7deg);
  position: relative;
  z-index: 5;
  top: -70px;
  left: 10px;
  margin-left: -20px;
  width: 1915px;
}

.separator img {
  margin-top: 0;
}

.icon {
  width: 50px;
}

/* -------------------------------------------------- */
/* CHARACTERS & ANIMATION                             */
/* -------------------------------------------------- */
.brobocop,
.broracus,
.desperabro {
  filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.7));
  animation: float 0.8s ease-in-out infinite;
}

.brobocop {
  position: absolute;
  bottom: -25vh;
  left: 70%;
  transform: translateX(-50%);
  width: 500px;
  z-index: 3;
}

.broracus {
  width: 25%;
  max-width: 800px;
  margin-left: 150px;
  margin-right: auto;
  margin-top: 50px;
  filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.7));
  animation: float 0.8s ease-in-out infinite;
  display: block;
}

.desperabro {
  position: absolute;
  bottom: 33vh;
  left: 20%;
  transform: translateX(-50%);
  width: 500px;
  z-index: 1;
}

.prisonnier {
  width: 350px;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

/* -------------------------------------------------- */
/* CARDS & BUTTONS                                     */
/* -------------------------------------------------- */
.cards__section {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: flex-start;
  margin: 100px auto;
  max-width: 1000px;
  flex-wrap: wrap;
}

.card__display {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
}

.card__content,
.card__content__est,
.card__content__dyn,
.card__content__mec {
  padding: 30px;
  border-radius: 25px;
  font-size: 18px;
  line-height: 1.5;
  display: none;
}

.card__content { background-color: #B31942; color: white; }
.card__content__est { background-color: #B31942; color: white; }
.card__content__dyn { background-color: #0A3161; color: white; border-color: #B31942; }
.card__content__mec { background-color: white; color: #B31942; border: 2px solid #B31942; }

.card__content.active {
  display: block;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn {
  padding: 30px 20px;
  font-size: 24px;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  width: 250px;
  text-align: left;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.btn.red { background-color: #B31942; color: white; }
.btn.blue { background-color: #0A3161; color: white; }
.btn.white { background-color: white; color: #B31942; border-color: #B31942; }

/* -------------------------------------------------- */
/* FOOTER STYLES                                      */
/* -------------------------------------------------- */
.broforce__footer {
  background-color: #0A3161;
  color: #ffffff;
  padding: 20px;
  text-align: center;
  font-family: 'Courier New', monospace;
  border-top: 4px solid #B31942;
}

.broforce__footer .footer__links a {
  margin: 0 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.broforce__footer .footer__links a:hover {
  color: #ffffff;
  transition: all 0.3s ease;
  cursor: pointer;
  text-shadow: 0 0 5px transparent;
}

.broforce__footer .quote {
  font-style: italic;
  margin-top: 10px;
  color: #ffffff;
}

/* -------------------------------------------------- */
/* HOVER EFFECTS & TEXT ANIMATION                     */
/* -------------------------------------------------- */
.broforce__image__hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 10px transparent;
  display: inline-block;
}

.broforce__image__hover:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 0 20px #B31942;
  filter: brightness(1.1);
}

.broforce__text__swing {
  display: inline-block;
  color: #B31942;
  font-weight: bold;
  transition: transform 0.2s ease;
  cursor: pointer;
  flex-direction: column;
  height: 40px;
  width: auto;
  margin: 0 5px;
}

.platform__icons {
  display: flex;
  justify-content: center;
  gap: 20px; /* espace entre les icônes */
  margin-top: 20px; /* espace au-dessus du groupe d'icônes */
  flex-wrap: wrap; /* pour qu'elles passent à la ligne si besoin sur petit écran */
}

.broforce__text__swing:hover {
  animation: fast-swing 0.3s infinite ease-in-out;
  transform: scale(1.15);
}

@keyframes fast-swing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(-5deg); }
  75% { transform: rotate(4deg); }
}

/* -------------------------------------------------- */
/* RESPONSIVE DESIGN (MOBILE)                         */
/* -------------------------------------------------- */
/* -------------------------------------------------- */
/* RESPONSIVE DESIGN : TABLETTES ET MOBILES           */
/* -------------------------------------------------- */
@media (max-width: 1024px) {
  .content__wrapper,
  .content__wrapper__white,
  .content__wrapper.light {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .column__layout {
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }

  .right__column, .left__column {
    margin: 0;
    align-items: center;
  }

  .right__column {
    max-width: 90%;
    margin-top: 40px;
  }

  .bottom__column{
    margin: 100px;
  }

  .cut__section__1,
  .cut__section__3 {
    flex-direction: column;
    height: auto;
  }

  .cut__section__1 {
    clip-path: none;
    position: relative;
    bottom: -586px;
  }

  .cut__section__3 {
    clip-path: none;
    margin-top: 0;
  }

  .cut__section__2 {
    clip-path: none;
    margin-top: 0px;
  }

  .hero__section {
    height: auto;
    padding-bottom: 60px;
  }

  .overlay {
    padding-top: 80px;
    justify-content: center;
    align-items: center;
  }

 .logo {
  width: 90%;
  max-width:1300px;
  margin: -563px 98px 487px 120px;
}

  .image__right,
  .image__left,
  .image__bottom,
  .prisonnier,
  .brobocop,
  .broracus,
  .desperabro {
    width: 90%;
    max-width: 400px;
    margin: 30px auto;
    position: relative !important;
    transform: none;
  }

  .ammo{
    width: 25%;
  }

  .broracus{
    left: 15%;
    width: 35%;
  }

  .brobocop{
    left: 35%;
    bottom: 50px;
  }

  .desperabro{
    bottom: 65vh;
    left: 20vh;
  }


  .separator {
    width: 200%;
    transform: none;
    left: 0;
    top: 0;
    margin: 0px auto;
  }

  .cards__section {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
  }

  .btn {
    width: auto;
    font-size: 18px;
    padding: 15px 20px;
    max-width: 100%;
  }

  .card__display {
    min-height: auto;
    padding: 20px;
  }

.fin{
  max-width: 100%;
  height: auto;
}

  h1 {
    font-size: 36px;
  }

  p {
    font-size: 18px;
  }


}

@media (max-width: 600px) {
  .btn {
    width: 100%;
    font-size: 16px;
    padding: 15px;
  }

  .title__line {
    flex-direction: column;
    gap: 10px;
  }

  .icon {
    width: 40px;
  }

  h1 {
    font-size: 28px;
  }

  p {
    font-size: 16px;
    line-height: 1.4;
  }

  .platform__icons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }

    .desperabro{
    bottom: 60vh;
    left: 20vh;
  }
}
