/* =========================
   HERO VIDEO PREMIUM
========================= */

.hero-video{
  position:relative;
  width:100%;
  height:100vh;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:0 8%;
}

/* VIDEO */
.hero-bg-video{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2;
  filter:contrast(1.1) brightness(0.7);
}

/* OVERLAY GRADIENT PRESIDENTIEL */
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(0,29,102,0.85)
   /* ,rgba(0,0,0,0.4),
    rgba(0,0,0,0.2) */
  );
  z-index:-1;
}

/* CONTENT */
.hero-video .hero-content{
  max-width:750px;
  color:#fff;
  z-index:2;
  animation:fadeUp 1s ease-in-out;
}

.hero-video .badge{
  display:inline-block;
  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(10px);
  padding:10px 20px;
  border-radius:50px;
  font-size:14px;
  margin-bottom:20px;
  border:1px solid rgba(255,255,255,0.2);
}

/* TITRE */
.hero-video h1{
  font-size:60px;
  font-weight:800;
  line-height:1.1;
  margin-bottom:20px;
}

/* TEXTE */
.hero-video p{
  font-size:18px;
  line-height:1.8;
  color:#eee;
  margin-bottom:30px;
}

/* BUTTONS */
.hero-video .hero-buttons{
  display:flex;
  gap:20px;
}

/* ANIMATION */
@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* RESPONSIVE */
@media(max-width:768px){

  .hero-video h1{
    font-size:38px;
  }

  .hero-video p{
    font-size:16px;
  }

  .hero-video{
    justify-content:center;
    text-align:center;
  }

  .hero-video .hero-buttons{
    justify-content:center;
  }

}

/* HERO BIO */
.bio-hero{
  height: 70vh;
  background: url("../images/norbertine-matanda-developpement-social.jpg") center/cover no-repeat;
  position: relative;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:#fff;
  overflow:hidden;
}

/* overlay animé */
.bio-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.75),
    rgba(0,29,102,0.6)
  );
}

/* effet lumière animé */
.bio-hero::before{
  content:'';
  position:absolute;
  width:300px;
  height:300px;
  background:rgba(255,255,255,0.08);
  filter:blur(80px);
  top:20%;
  left:10%;
  animation:floatLight 6s infinite ease-in-out;
}

@keyframes floatLight{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(40px); }
}

.bio-content{
  position:relative;
  z-index:2;
  animation:fadeUp 1s ease;
}

@keyframes fadeUp{
  from{ opacity:0; transform:translateY(30px); }
  to{ opacity:1; transform:translateY(0); }
}

.bio-content h1{
  font-size:65px;
  font-weight:900;
  letter-spacing:-1px;
}

.bio-content p{
  font-size:20px;
  opacity:0.9;
}

/* INTRO */
.bio-intro{
  padding:120px 8%;
  background:#f5f7fb;
}

.bio-container{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:60px;
  align-items:center;
}

.bio-image img{
  width:100%;
  max-width:450px;
  border-radius:25px;
  box-shadow:0 25px 60px rgba(0,0,0,0.15);
  transition:0.5s;
}

.bio-image img:hover{
  transform:scale(1.05);
}

.bio-text{
  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(10px);
  padding:40px;
  border-radius:25px;
  border:1px solid rgba(0,0,0,0.05);
  box-shadow:0 20px 50px rgba(0,0,0,0.08);
}

.bio-text h2{
  font-size:38px;
  margin-bottom:20px;
  color:#003399;
}

.bio-text p{
  line-height:1.9;
  color:#444;
  font-size:16.5px;
}

/* PARCOURS */
.bio-parcours{
  padding:120px 8%;
  background:#fff;
}

.bio-parcours h2{
  text-align:center;
  font-size:42px;
  margin-bottom:70px;
  color:#003399;
}

/* timeline verticale */
.timeline{
  position:relative;
  max-width:900px;
  margin:auto;
}

.timeline::before{
  content:'';
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  width:4px;
  height:100%;
  background:#003399;
  border-radius:10px;
}

/* item */
.timeline .item{
  position:relative;
  width:50%;
  padding:25px;
  background:#f5f7fb;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  margin-bottom:40px;
  transition:0.4s;
}

.timeline .item:hover{
  transform:translateY(-8px);
  background:#003399;
  color:#fff;
}

/* alternance */
.timeline .item:nth-child(odd){
  left:0;
}

.timeline .item:nth-child(even){
  left:50%;
}

/* cercle */
.timeline .item::before{
  content:'';
  position:absolute;
  width:18px;
  height:18px;
  background:#fff;
  border:4px solid #003399;
  border-radius:50%;
  top:20px;
}

.timeline .item:nth-child(odd)::before{
  right:-11px;
}

.timeline .item:nth-child(even)::before{
  left:-11px;
}

/* date */
.timeline .item span{
  display:inline-block;
  background:#003399;
  color:#fff;
  padding:6px 14px;
  border-radius:20px;
  font-size:13px;
  margin-bottom:10px;
}

/* mobile */
@media(max-width:768px){
  .timeline::before{
    left:10px;
  }

  .timeline .item{
    width:100%;
    left:0 !important;
    padding-left:40px;
  }

  .timeline .item::before{
    left:-6px !important;
  }
}

/* VISION */
.bio-vision{
  padding:120px 8%;
  background:linear-gradient(135deg,#001d66,#003399);
  color:#fff;
}

.bio-vision h2{
  font-size:42px;
  margin-bottom:60px;
  text-align:center;
  justify-content:center;
}

.vision-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

.vision-card{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(15px);
  border:1px solid rgba(255,255,255,0.1);
  padding:45px;
  border-radius:25px;
  text-align:center;
  transition:0.4s;
}

.vision-card:hover{
  transform:translateY(-10px) scale(1.03);
  background:rgba(255,255,255,0.12);
}

.vision-card i{
  font-size:45px;
  margin-bottom:15px;
  color:#ffcc00;
}

.vision-card h3{
  font-size:22px;
  margin-bottom:10px;
}

section{
  animation:fadeUp 0.8s ease;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* =========================================
   RESPONSIVE PREMIUM - BIOGRAPHIE
========================================= */

/* GRANDES TABLETTES */

@media(max-width:1200px){

  .hero-video h1{
    font-size:52px;
  }

  .bio-content h1{
    font-size:56px;
  }

  .bio-container{
    gap:40px;
  }

}

/* TABLETTES */

@media(max-width:991px){

  /* HERO VIDEO */

  .hero-video{
    padding:0 5%;
  }

  .hero-video h1{
    font-size:46px;
    line-height:1.2;
  }

  .hero-video p{
    font-size:17px;
  }

  /* BIO HERO */

  .bio-content h1{
    font-size:50px;
  }

  .bio-content p{
    font-size:18px;
  }

  /* BIO INTRO */

  .bio-intro{
    padding:90px 5%;
  }

  .bio-container{
    grid-template-columns:1fr;
    text-align:center;
  }

  .bio-image{
    display:flex;
    justify-content:center;
  }

  .bio-image img{
    max-width:400px;
  }

  .bio-text{
    padding:35px;
  }

  .bio-text h2{
    font-size:34px;
  }

  /* PARCOURS */

  .bio-parcours{
    padding:90px 5%;
  }

  .bio-parcours h2{
    font-size:38px;
  }

  /* VISION */

  .bio-vision{
    padding:90px 5%;
    text-align:center;
  }

  .bio-vision h2{
    font-size:38px;
  }

}

/* MOBILE */

@media(max-width:768px){

  /* HERO VIDEO */

  .hero-video{
    height:auto;
    min-height:100vh;
    padding:120px 5% 80px;
    justify-content:center;
    text-align:center;
  }

  .hero-video .hero-content{
    max-width:100%;
  }

  .hero-video h1{
    font-size:38px;
    line-height:1.3;
  }

  .hero-video p{
    font-size:16px;
    line-height:1.7;
  }

  .hero-video .hero-buttons{
    flex-direction:column;
    align-items:center;
    gap:15px;
  }

  .hero-video .btn{
    width:100%;
    max-width:280px;
    text-align:center;
  }

  /* HERO BIO */

  .bio-hero{
    height:60vh;
    padding:0 20px;
  }

  .bio-content h1{
    font-size:38px;
  }

  .bio-content p{
    font-size:16px;
    margin-top:10px;
  }

  /* BIO INTRO */

  .bio-intro{
    padding:80px 5%;
  }

  .bio-container{
    gap:35px;
  }

  .bio-image img{
    max-width:100%;
  }

  .bio-text{
    padding:30px 25px;
  }

  .bio-text h2{
    font-size:30px;
  }

  .bio-text p{
    font-size:15px;
    line-height:1.8;
  }

  /* TIMELINE */

  .bio-parcours{
    padding:80px 5%;
  }

  .bio-parcours h2{
    font-size:32px;
    margin-bottom:50px;
  }

  .timeline::before{
    left:15px;
  }

  .timeline .item{
    width:100%;
    left:0 !important;
    padding:25px 20px 25px 50px;
    margin-bottom:30px;
  }

  .timeline .item::before{
    left:6px !important;
  }

  /* VISION */

  .bio-vision{
    padding:80px 5%;
  }

  .bio-vision h2{
    font-size:32px;
    margin-bottom:40px;
    text-align:center;
  }

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

  .vision-card{
    padding:35px 25px;
  }

}

/* PETITS MOBILES */

@media(max-width:480px){

  .hero-video{
    padding-top:110px;
  }

  .hero-video h1{
    font-size:30px;
  }

  .hero-video p{
    font-size:15px;
  }

  .bio-content h1{
    font-size:30px;
  }

  .bio-content p{
    font-size:15px;
  }

  .bio-text{
    padding:25px 20px;
  }

  .bio-text h2{
    font-size:26px;
  }

  .bio-parcours h2,
  .bio-vision h2{
    font-size:28px;
  }

  .vision-card{
    padding:30px 20px;
  }

  .vision-card h3{
    font-size:20px;
  }

}

/* ULTRA PETITS ECRANS */

@media(max-width:360px){

  .hero-video h1{
    font-size:26px;
  }

  .bio-content h1{
    font-size:26px;
  }

  .bio-text h2{
    font-size:24px;
  }

  .vision-card{
    padding:25px 18px;
  }

}