/* =========================================
GLOBAL
========================================= */

:root{
  --bg:#050505;
  --card:#101010;
  --white:#ffffff;
  --text:#cfcfcf;
  --green:#8BC34A;
  --green-light:#b7ff73;
  --border:rgba(255,255,255,0.08);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:var(--bg);
  color:var(--white);
  overflow-x:hidden;
}


/* =========================================
HERO
========================================= */
/* =========================================
HERO
========================================= */

.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:60px 20px;
  overflow:hidden;
}
.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;

  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.9)
  );
}

.hero-container{
  position:relative;
  z-index:2;

  width:100%;
  max-width:1200px;

  display:flex;
  flex-direction:column;
  align-items:center;

  gap:120px;
  text-align:center;

  padding-top:80px;
}

/* =========================================
BADGE / TEXT
========================================= */

.hero-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:14px 28px;
  border-radius:999px;

  background:rgba(0,0,0,0.45);
  border:1px solid rgba(255,255,255,0.12);

  backdrop-filter:blur(16px);

  font-size:.82rem;
  font-weight:600;
  letter-spacing:2px;
  text-transform:uppercase;

  color:white;
}

.hero-top{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

.hero-bottom{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:25px;
}

.hero-title{
  font-size:clamp(3rem,7vw,6rem);
  line-height:.9;
  font-weight:800;

  margin-bottom:20px;

  background:linear-gradient(to bottom,#fff,#d6d6d6);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-subtitle{
  font-size:1.2rem;
  font-weight:500;
  color:rgba(255,255,255,.85);
  margin-bottom:25px;
}

/* =========================================
TAGS
========================================= */

.hero-tags{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
}

.hero-tags span{
  padding:10px 16px;

  border-radius:999px;

  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);

  font-size:.85rem;
}

/* =========================================
COUNTDOWN (version premier CSS)
========================================= */

.countdown{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
  position:relative;
  margin-top:20px;
  overflow:hidden;
}

.countdown::before{
  content:'';
  position:absolute;

  width:300px;
  height:300px;

  max-width:100%;
  max-height:100%;

  top:50%;
  left:50%;
  transform:translate(-50%,-50%);

  background:radial-gradient(circle, rgba(139,195,74,0.22), transparent 70%);
  filter:blur(30px);

  z-index:-1;
}

.countdown-card{
  width:130px;
  padding:26px 20px;
  border-radius:28px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(139,195,74,.15);
  text-align:center;
  backdrop-filter:blur(10px);
  box-shadow:0 10px 40px rgba(0,0,0,.25);
  position:relative;
  overflow:hidden;
}

.countdown-card::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.08), transparent);
  transform:translateX(-100%);
  animation:shine 4s linear infinite;
}

.countdown-card span{
  display:block;
  font-size:3rem;
  font-weight:800;
  color:var(--green-light);
  margin-bottom:8px;
  text-shadow:0 0 18px rgba(139,195,74,.5);
}

.countdown-card small{
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:.7rem;
  color:rgba(255,255,255,.7);
}

/* =========================================
BUTTONS (version premier CSS)
========================================= */

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
}

.btn{
  position:relative;
  min-width:210px;
  padding:18px 28px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  overflow:hidden;
  transition:all .35s ease;
  backdrop-filter:blur(12px);
}

.btn-primary{
  background:rgba(139,195,74,0.16);
  border:1px solid rgba(139,195,74,0.35);
  color:rgba(255,255,255,0.95);
  box-shadow:0 10px 25px rgba(0,0,0,0.25),
             inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary::before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:140%;
  height:140%;
  transform:translate(-50%, -50%) scale(0.8);
  background:radial-gradient(circle, rgba(139,195,74,0.35), transparent 70%);
  filter:blur(18px);
  opacity:0;
  transition:0.4s ease;
  z-index:-1;
}

.btn-primary:hover{
  transform:translateY(-2px);
  border-color:rgba(139,195,74,0.55);
  background:rgba(139,195,74,0.22);
}

.btn-primary:hover::before{
  opacity:1;
  transform:translate(-50%, -50%) scale(1);
}

.btn-secondary{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:18px 28px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  color:rgba(255,255,255,0.95);
  background:rgba(139,195,74,0.16);
  border:1px solid rgba(139,195,74,0.35);
  overflow:hidden;
  transition:0.35s ease;
}

.btn-secondary::before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:140%;
  height:140%;
  transform:translate(-50%, -50%) scale(0.8);
  background:radial-gradient(circle, rgba(139,195,74,0.35), transparent 70%);
  filter:blur(18px);
  opacity:0;
  transition:0.4s ease;
  z-index:-1;
}

.btn-secondary:hover{
  transform:translateY(-2px);
  border-color:rgba(139,195,74,0.55);
  background:rgba(139,195,74,0.22);
}

.btn-secondary:hover::before{
  opacity:1;
  transform:translate(-50%, -50%) scale(1);
}

/* =========================================
PARCOURS (bord vert lumineux au hover)
========================================= */

.parcours{
  padding:60px 20px;
  background:linear-gradient(to bottom,#050505,#0c0c0c);
}

.section-header{
  text-align:center;
  max-width:800px;
  margin:auto auto 80px;
}

.section-header h2{
  font-size:clamp(2.5rem,5vw,4.5rem);
  margin-bottom:20px;
}

.section-description{
  color:var(--text);
  line-height:1.8;
}

/* GRID */
.parcours-grid{
  max-width:1300px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

/* CARD */
.parcours-card{
  position:relative;
  display:block;
  text-decoration:none;
  color:white;

  padding:45px 35px;
  border-radius:32px;

  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,0.08);

  text-align:center;

  transition:0.4s ease;
  overflow:hidden;
}

/* GLOW BORDER EFFECT */
.parcours-card::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:32px;
  padding:1px;

  background:linear-gradient(
    135deg,
    transparent,
    rgba(139,195,74,0.8),
    transparent
  );

  opacity:0;
  transition:0.4s ease;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
}

/* HOVER */
.parcours-card:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 50px rgba(0,0,0,.45);
  border-color:rgba(139,195,74,0.4);
}

.parcours-card:hover::before{
  opacity:1;
}

/* IMAGE */
.parcours-card img{
  width:100px;
  max-width:100%;
  height:auto;
  display:block;
  margin:0 auto 25px;
}

/* TITLE */
.parcours-card h3{
  margin-bottom:10px;
  font-size:1.2rem;
}

/* TEXT */
.parcours-card p{
  color:rgba(255,255,255,0.7);
  font-size:0.95rem;
}
/* =========================================
MOBILE / TABLETTE
========================================= */

  /* HERO */
 @media screen and (max-width:1024px){
  .hero-video{
    object-position:center center;
  }
  .hero-container{
    gap:60px;
    padding-top:100px;
  }

  /* Évite le scroll horizontal */
  html,
  body{
    overflow-x:hidden;
    max-width:100%;
  }

  /* COUNTDOWN */
  .countdown{
    flex-wrap:nowrap;
    gap:8px;
    justify-content:center;
    overflow-x:auto;
    padding-bottom:10px;
  }

  .countdown-card{
    width:70px;
    padding:12px 10px;
    border-radius:16px;
    flex-shrink:0;
  }

  .countdown-card span{
    font-size:1.4rem;
  }

  .countdown-card small{
    font-size:0.6rem;
    letter-spacing:1px;
  }

  /* BOUTONS */
  .hero-actions{
    flex-direction:column;
    width:100%;
    align-items:center;
  }

  .btn{
    width:100%;
    max-width:320px;
  }

}

/* =========================================
TRÈS PETITS ÉCRANS
========================================= */

@media screen and (max-width:480px){

  .parcours-grid{
    grid-template-columns:1fr;
  }

  .hero-title{
    font-size:2.8rem;
  }

  .hero-subtitle{
    font-size:1rem;
  }

}
  
 