main{
  text-align: center;
}
.video-wrapper {
  position: relative;
  width: 100%;
  height: auto ;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  max-height: calc(110vh - 290px);
}

/* Vidéo en "cover" : prend toute la largeur/hauteur du div */
.bg-video {
  position: absolute;
  inset: 0;              /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;     /* important pour couvrir sans déformer */
  object-position: center;
}

/* Dégradé au-dessus de la vidéo */
.video-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

/* Contenu au-dessus (optionnel) */
.video-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 24px;
}
.neon-line-wrap{
  position: relative;
  display: inline-block;
  padding: 26px 0; /* espace pour la ligne */
}

/* La ligne néon */
.neon-line-wrap::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 2px;
  z-index: 0;
  pointer-events:none;

  background: linear-gradient(
    to right,
    rgba(255,210,80,0),
    rgba(255,235,160,.95),
    rgba(255,210,80,0)
  );

  box-shadow:
    0 0 10px rgba(255,210,80,.55),
    0 0 28px rgba(255,210,80,.35),
    0 0 55px rgba(255,210,80,.20);
}

/* Le petit point néon (dot) sur la ligne */
.neon-line-wrap::after{
  content:"";
  position:absolute;
  left: 84%;              /* <-- déplace le point (ex: 15%, 50%, 84%) */
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  z-index: 0;
  pointer-events:none;

  background: radial-gradient(circle,
    rgba(255,255,255,.95) 0%,
    rgba(255,235,160,.9) 35%,
    rgba(255,210,80,.35) 60%,
    rgba(255,210,80,0) 75%
  );

  box-shadow:
    0 0 8px rgba(255,235,160,.85),
    0 0 20px rgba(255,210,80,.55),
    0 0 45px rgba(255,210,80,.35);
}

/* Le bouton doit être au-dessus */
.btn-gold{
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 0 85px;
  border-radius: 4px;

  font: 900 34px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #0d0d0d;
  text-decoration: none;

  background:
    linear-gradient(to bottom, rgba(255,255,255,.55), rgba(255,255,255,0) 35%),
    linear-gradient(to bottom, #ffe66a 0%, #ffd12d 40%, #ffbf00 100%);
  border: 1px solid rgba(255,255,255,.25);

  /* box-shadow:
    0 18px 40px rgba(0,0,0,.55),
    inset 0 2px 0 rgba(255,255,255,.65),
    inset 0 -4px 0 rgba(0,0,0,.25); */
    box-shadow: 0 0 8px 7px rgba(255, 210, 80, .35),
     0 0 18px rgba(255, 210, 80, .25),
      0 0 40px rgba(255, 191, 0, .18);
      animation: neonSpread 2s ease-in-out infinite;
}

@keyframes neonSpread{
  0%, 100%{
    box-shadow:
      0 0 8px 7px rgba(255, 210, 80, .35),   /* spread = 7 */
      0 0 18px rgba(255, 210, 80, .25),
      0 0 40px rgba(255, 191, 0, .18);
  }
  50%{
    box-shadow:
      0 0 8px 15px rgba(255, 210, 80, .35),  /* spread = 20 */
      0 0 18px rgba(255, 210, 80, .25),
      0 0 40px rgba(255, 191, 0, .18);
  }
}

/* Brillance + petits points (étincelles) */
.btn-gold::before{
  content:"";
  position:absolute;
  inset:-18px -40px;
  z-index:-1;

  /* halo + poussière */
  background:
    radial-gradient(closest-side, rgba(255,200,0,.45), rgba(255,200,0,0) 70%) 50% 55%/85% 120% no-repeat,
    radial-gradient(circle, rgba(255,240,190,.9) 0 2px, rgba(255,240,190,0) 3px) 15% 35%/120px 80px repeat,
    radial-gradient(circle, rgba(255,240,190,.7) 0 1px, rgba(255,240,190,0) 2px) 60% 40%/160px 100px repeat;

  opacity:.55;
  filter: blur(.2px);
  pointer-events:none;
}
.action-2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    background-color: #000;
}
.action-2 h2.title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 45px;
}
.action-2 .sub-title {
    font-size: 25px;
    font-weight: bold;
}
.section-2 .cta-msg {
        max-width: 800px;
    text-align: center;
    margin: auto;
    margin-top: 45px;
    font-size: 28px;
    letter-spacing: 1px;
    line-height: 45px;
}

/* Optional: background like the screenshot */
.features-strip{
  background: #000;
  /* background: radial-gradient(1200px 500px at 50% 0%, rgba(255,255,255,.06), rgba(0,0,0,0)),
              linear-gradient(#0b1220, #070b14); */
                  padding-top: 65px !important;
}

/* Card container */
.feature-card{
  text-align: center;
}

/* Image frame like a game UI */
.feature-media{
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow:
    0 10px 24px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.12);
        margin: 0 50px;
        box-shadow:
    /* tes ombres existantes */
    0 10px 24px rgba(0, 0, 0, .55),
    inset -7px 19px 4px 2px rgb(176 24 24),

    /* bordure 2 (noir) */
    0 0 0 2px #000,

    /* bordure 3 (beige) */
    0 0 0 4px #e6d5a8;
}

/* Image sizing */
.feature-media img{
  width: 100%;
  height: 170px;           /* adjust to match your design */
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.section-2 .btn-gold {
    margin-top: 25px;
}

/* Soft inner glow */
.feature-media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.05), rgba(0,0,0,.25)),
    radial-gradient(closest-side at 50% 0%, rgba(255,255,255,.12), rgba(255,255,255,0) 60%);
}

/* Title under image */
.feature-title{
  margin-top: 10px;
  font-weight: 700;
  font-size: 18px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}

/* Optional: small top/bottom separators like UI */
.features-strip .container{
  position: relative;
}
.features-strip .container::before,
.features-strip .container::after{
  content:"";
  position:absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  /* background: rgba(255,255,255,.08); */
}
.features-strip .container::before{ top: -8px; }
.features-strip .container::after{ bottom: -8px; }




/* --- Title bar like screenshot --- */
.features-heading{
  position: relative;
  margin: 0 0 22px;
  padding: 14px 0;
  text-align: center;

  /* look & feel */
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 2px;
  font-size: clamp(26px, 3vw, 44px);
  color: rgba(235, 245, 255, .92);
  text-shadow:
    0 2px 0 rgba(0,0,0,.35),
    0 10px 24px rgba(0,0,0,.6);

  /* subtle “metal” strip behind title */
}

/* left & right long lines (double line feeling) */
/* .features-heading::before,
.features-heading::after{
  content:"";
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38%;
  height: 16px;
  pointer-events:none;
  opacity: .95;
} */

/* .features-heading::before{
  left: 0;
  background:
    linear-gradient(to right, rgba(190,210,230,0), rgba(200,220,240,.70), rgba(200,220,240,0)) 0 4px/100% 2px no-repeat,
    linear-gradient(to right, rgba(190,210,230,0), rgba(200,220,240,.35), rgba(200,220,240,0)) 0 10px/100% 1px no-repeat,
    radial-gradient(closest-side, rgba(200,220,240,.18), rgba(200,220,240,0) 70%) 70% 50%/70% 100% no-repeat;
} */

/* .features-heading::after{
  right: 0;
  background:
    linear-gradient(to left, rgba(190,210,230,0), rgba(200,220,240,.70), rgba(200,220,240,0)) 0 4px/100% 2px no-repeat,
    linear-gradient(to left, rgba(190,210,230,0), rgba(200,220,240,.35), rgba(200,220,240,0)) 0 10px/100% 1px no-repeat,
    radial-gradient(closest-side, rgba(200,220,240,.18), rgba(200,220,240,0) 70%) 30% 50%/70% 100% no-repeat;
} */

/* metallic “brackets” near the text */
.features-heading span{ position: relative; z-index: 2; } /* (optional if you wrap text) */

.features-heading{
  --bracket-w: 34px;
  --bracket-h: 10px;
}



h1 {
    /* background-color: #000000;
    display: inline-block;
    padding: 0 20px 10px 20px;
    color: #eeee20; */
}
/* .sub-h1{
      background-color: #ffffff;
    padding: 0 20px 0 20px;
    color: #000;
    width: fit-content;
    margin: auto;

} */

/* responsive: shorten side lines on small screens */
@media (max-width: 576px){
  .features-heading::before,
  .features-heading::after{ width: 28%; }
  .features-heading{
    background-position:
      calc(50% - 140px) 50%, calc(50% - 115px) 50%,
      calc(50% + 115px) 50%, calc(50% + 140px) 50%,
      0 0, 0 0, 0 0;
  }
}
/*
h1.mission-title {
  background-color: #000000;
  display: inline-block;
  padding: 0 20px 10px 20px;
  color: #eeee20;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(238, 238, 32, 0.45);
  transition: opacity 0.12s ease, text-shadow 0.12s ease, transform 0.12s ease;
}

h1.mission-title.blink-on {
  opacity: 1;
  text-shadow:
    0 0 6px rgba(238, 238, 32, 0.65),
    0 0 14px rgba(238, 238, 32, 0.45),
    0 0 24px rgba(238, 238, 32, 0.25);
  transform: scale(1.01);
}

h1.mission-title.blink-off {
  opacity: 0.65;
  text-shadow: 0 0 2px rgba(238, 238, 32, 0.2);
}  */


/****/
/* conteneur principal déjà en flex */
.action-2{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* conteneur des flèches */
.cta-arrows{
  display: flex;
  gap: 12px;
  align-items: center;
}

/* chaque flèche */
.cta-arrows span{
  width: 26px;
  height: 26px;
  border-top: 5px solid #ffc610;
  border-right: 5px solid #ffc40c;
  transform: rotate(45deg);
  opacity: 0;

  filter:
    drop-shadow(0 0 6px rgba(255,42,42,.6))
    drop-shadow(0 0 14px rgba(255,42,42,.35));

  animation: arrowMove 1.2s ease-in-out infinite;
}

/* décalage pour effet “train” */
.cta-arrows span:nth-child(2){
  animation-delay: .2s;
}

/* animation */
@keyframes arrowMove{
  0%{
    opacity: 0;
    transform: translateX(-12px) rotate(45deg);
  }
  30%{
    opacity: 1;
  }
  60%{
    opacity: 1;
    transform: translateX(0px) rotate(45deg);
  }
  100%{
    opacity: 0;
    transform: translateX(16px) rotate(45deg);
  }
}

/*** Text Typing ***/
body {
  background-color: #000;
  color: #eee;
}
.typing.container {
  /* height: 100vh; */
  display: flex;
  justify-content: center;
  align-items: center;
}
.typing.container p {
      font-size: 3rem;
    padding: 0.5rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    text-align: center;
    overflow: hidden;
    text-shadow: 0 0 5px #424242;
}
.typing.container p span.typed-text {
  font-weight: normal;
  color: #ffd12d;
}

.typing p span.cursor {
  display: inline-block;
  background-color: #ccc;
  margin-left: 0.1rem;
  width: 3px;
  animation: blink 1s infinite;
}
.typing p span.cursor.typing {
  animation: none;
}
@keyframes blink {
  0% {
    background-color: #ccc;
  }
  49% {
    background-color: #ccc;
  }
  50% {
    background-color: transparent;
  }
  99% {
    background-color: transparent;
  }
  100% {
    background-color: #ccc;
  }
}

/*  SECTION IDEA */
section.section-idea {
    margin-top: 75px;
}
h2#missionTitle {
    font-size: 55px;
    text-transform: uppercase;
    font-weight: bold;
}
.sub-h1 {
    padding: 10px 20px 10px 20px;
    font-size: 25px;
}


/*  Chars */
.chars {
    display: flex;
    width: 100%;
    max-width: 100%;
        height: 375px;
    position: relative;
}

.char {
    flex: 1;
    position: absolute;
    max-width: 724px;
    left: 50%;
    bottom: 0;
  bottom: 0;
  transform: translateX(-50%);
}
/* .char:nth-child(2) {
    transform: translateX(-50%) translateX(250px);
}
.char:nth-child(3) {
    transform: translateX(-50%) translateX(-250px);
}
.char:nth-child(4) {
    transform: translateX(-50%) translateX(500px);
}
.char:nth-child(5) {
    transform: translateX(-50%) translateX(-500px);
}
.char:nth-child(6) {
    transform: translateX(-50%) translateX(-750px);
} */

/* décalages basés sur la largeur de l’écran */
.char:nth-child(1){z-index: 99;}
.char:nth-child(2){ transform: translateX(-50%) translateX(15vw); }
.char:nth-child(3){ transform: translateX(-50%) translateX(-15vw); }

.char:nth-child(4){ transform: translateX(-50%) translateX(30vw); }
.char:nth-child(5){ transform: translateX(-50%) translateX(-29vw); }

.char img {
    width: 100%;
}





.chars{
  position: relative;
  /* min-height: 100vh; */
  width: 100%;
  overflow: hidden;
}

.char{
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.char img{
  display: block;
  opacity: 0;
  transform: translateY(26px) scale(0.94);
  filter: blur(10px);
  transition:
    opacity 500ms ease,
    transform 650ms cubic-bezier(.2,.9,.2,1),
    filter 650ms ease;
  will-change: opacity, transform, filter;
}

.char.is-in img{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.char.is-punch img{
  animation: punchIn 700ms cubic-bezier(.2,.9,.2,1) both;
}

@keyframes punchIn{
  0%   { opacity: 0; transform: translateY(26px) scale(0.92); filter: blur(10px) drop-shadow(0 0 0 rgba(255,255,255,0)); }
  60%  { opacity: 1; transform: translateY(-6px) scale(1.03); filter: blur(0) drop-shadow(0 0 18px rgba(255,255,255,0.35)); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0) drop-shadow(0 0 10px rgba(255,255,255,0.18)); }
}

@media (prefers-reduced-motion: reduce){
  .char img{ transition: none; animation: none; filter: none; transform: none; opacity: 1; }
}