/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ======= HEADER ANIMÉ ======= */
.navbar {
  background: linear-gradient(270deg, #0071bc, #f15a29, #0071bc);
  background-size: 400% 400%;
  animation: gradientMove 10s ease infinite;
  color: white;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ======= TOP BAR ======= */
.top-bar {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  position: fixed;
}

.contact-info span {
  margin: 0 15px;
}

.contact-info i {
  margin-right: 6px;
}

/* ======= TOP BAR ======= */
.top-bar {
  background: linear-gradient(to right, #0066b3, #6b6c83);
  color: white;
  padding: 6px 50px;
  font-size: 14px;
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.top-container {
  display: flex;
  gap: 30px;
}

/* ======= NAVBAR ======= */
.navbar {
  display: flex;
  align-items: center;
  position: fixed;
  justify-content: space-between;
  padding: 12px 50px;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 80px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a,
.dropdown-btn {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-links a:hover,
.dropdown-btn:hover {
  opacity: 0.8;
}

/* Lien actif */
.nav-links .active {
  font-weight: 700;
}

/* ======= DROPDOWN ======= */
.relative {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  display: none;
  background: #fff;
  color: #333;
  border-radius: 6px;
  top: 100%;
  left: 0;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.group:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
}

.dropdown-menu li a:hover {
  background-color: #0066b3;
  color: white;
}

/* ======= Bouton PARTICIPER ======= */
.btn-participer {
  background-color: #111;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.btn-participerMenu {
  background-color: #111;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.btn-participer:hover {
  background-color: #222;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-links, .btn-participer {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  .navbar {
    padding: 10px 20px;
  }
}

.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}


/* ======= BURGER ======= */
.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* ======= DRAWER ======= */
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background-color: #fff;
  color: #333;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  transition: right 0.4s ease;
  z-index: 2000;
}

.drawer.open {
  right: 0;
}

.drawer-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.drawer-content ul {
  list-style: none;
}

.drawer-content li {
  margin: 20px 0;
}

.drawer-content a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-weight: 500;
}

.drawer-btn {
  background: linear-gradient(to right, #0071bc, #f15a29);
  color: white;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.close-btn {
  align-self: flex-end;
  font-size: 26px;
  cursor: pointer;
  color: #333;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .top-bar {
    display: none; /* cache la topbar */
  }

  .nav-links, .btn-participer {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  .navbar {
    padding: 10px 20px;
  }
}
/* ======= DROPDOWN ======= */
.relative {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  display: none;
  background: #fff;
  color: #333;
  border-radius: 6px;
  top: 100%;
  left: 0;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.group:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
}

.dropdown-menu li a:hover {
  background-color: #0066b3;
  color: white;
}
/* section banner */
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ======= HEADER ANIMÉ ======= */
header {
  background: linear-gradient(270deg, #0071bc, #f15a29, #0071bc);
  background-size: 400% 400%;
  animation: gradientMove 10s ease infinite;
  color: white;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ======= TOP BAR ======= */
.top-bar {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

.contact-info span {
  margin: 0 15px;
}

.contact-info i {
  margin-right: 6px;
}

/* section silder sytle  */
 :root{
    --accent:#ff6b35;
    --navy:#0f2b4a;
    --glass: rgba(255,255,255,0.97);
    --white:#ffffff;
    --muted: rgba(255,255,255,0.85);
    --radius:36px;     /* bordure globale du slider */
    --shadow: 0 12px 30px rgba(2,6,23,0.45);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  }


  /* CONTENEUR BANNER (arrondi + overflow pour respecter la bordure de l'image) */
  .banner-wrap{
    width:100%;
    max-width:1200px;
    border-radius:var(--radius);
    overflow:hidden; /* important pour cliper le background et décor */
    box-shadow: 0 18px 50px rgba(2,6,23,0.6);
  }

  .banner{
    position:relative;
    min-height:520px;
    display:block;
    background-image: url("/images/bg_banner.png"); /* <-- remplace par ton image */
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-color: #ffffff;
  }

  /* overlay sombre pour contraste */
  .banner::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, rgba(2,6,23,0.62) 0%, rgba(2,6,23,0.72) 100%);
    z-index:0;
  }

  .banner-inner{
    position:relative;
    z-index:2;
    min-height:520px;
    display:flex;
    align-items:center;
    justify-content:flex-end; /* texte à droite */
    padding:48px 48px 80px 48px; /* bottom plus grand pour laisser place aux cartes */
    gap:24px;
  }

  /* décor à gauche (image/illustration) */
  .decor-left{
    position:absolute;
    left:36px;
    top:50%;
    transform:translateY(-10%); /* légèrement centré haut */
    z-index:1;
    pointer-events:none;
    width:260px;
    max-width:30%;
  }

  /* contenu texte (à droite) */
  .banner-content{
    width:56%;
    max-width:720px;
    min-width:260px;
    text-align:left;
    color:var(--white);
  }

  .kicker{
    color:var(--muted);
    font-weight:600;
    letter-spacing:0.06em;
    margin-bottom:8px;
    font-size:13px;
  }

  h1{
    margin:0 0 12px 0;
    font-size:56px;
    line-height:1.02;
    letter-spacing:0.01em;
    font-weight:800;
    text-transform:uppercase;
  }

  p.lead{
    margin:0;
    color:rgba(255,255,255,0.9);
    max-width:680px;
    font-size:16px;
    line-height:1.6;
  }

  /* ---- CARDS : positionnées en bas, absolute pour correspondre au visuel ---- */
  .date-card{
    position:absolute;
    left:36px;            /* bord gauche */
    bottom:28px;          /* bas */
    background:var(--navy);
    color:var(--white);
    padding:20px 22px;
    border-radius:18px;
    box-shadow: var(--shadow);
    min-width:300px;
    z-index:3;            /* au-dessus du décor */
    display:flex;
    flex-direction:column;
    gap:8px;
  }

  .date-range{ font-weight:800; font-size:18px; letter-spacing:0.01em; }
  .location{ display:flex; align-items:center; gap:10px; font-weight:700; color:rgba(255,255,255,0.95); }

  .counter-card{
    position:absolute;
    left:360px;           /* à droite de la date-card (ajuste si souci) */
    bottom:18px;          /* légèrement plus bas pour effet superposé */
    background:var(--glass);
    padding:14px 18px;
    border-radius:22px;
    box-shadow: var(--shadow);
    min-width:320px;
    z-index:4;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .countdown{ display:flex; gap:16px; align-items:end; }

  .unit{ text-align:center; min-width:64px; }
  .num{ display:block; font-size:34px; font-weight:800; color:var(--accent); line-height:1; }
  .label{ font-size:11px; color:#8b8b8b; margin-top:6px; text-transform:lowercase; }

  /* petite ligne décorative proche du titre */
  .star-line{ width:150px; height:2px; background:linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.18)); border-radius:2px; margin:10px 0 18px 0; }

  /* RESPONSIVE */
  @media (max-width:1100px){
    .banner-content{ width:62%; }
    .decor-left{ width:200px; left:20px; top:44%; transform:translateY(-6%); }
    .counter-card{ left:320px; min-width:290px; }
  }

  @media (max-width:900px){
    .banner-inner{ justify-content:center; padding:36px 18px 120px 18px; }
    .banner-content{ width:100%; text-align:center; }
    h1{ font-size:42px; }
    /* reposition des cartes : en bas centrés côte à côte */
    .date-card{ left:50%; transform:translateX(-52%); bottom:22px; min-width:44%; }
    .counter-card{ left:50%; transform:translateX(6%); bottom:12px; min-width:44%; }
    .decor-left{ display:none; } /* masquer décor pour mobiles si gênant */
  }

  @media (max-width:480px){
    h1{ font-size:28px; }
    .date-card, .counter-card{ min-width:46%; padding:12px; border-radius:14px; }
    .num{ font-size:26px; }
    .banner{ min-height:620px; background-position:center 20%; }
  }

  /* accessibility helper */
  .visually-hidden{ position:absolute!important; height:1px;width:1px; overflow:hidden; clip:rect(1px, 1px, 1px, 1px); white-space:nowrap; }
    /* bordures organiques pour l'image (ajuste les valeurs si besoin) */
    .organic-right {
      /* arrondi prononcé à droite pour obtenir une forme 'poche' */
      border-top-right-radius: 160px;
      border-bottom-right-radius: 160px;
      border-top-left-radius: 24px;
      border-bottom-left-radius: 24px;
    }
    @media (min-width:1024px) {
      /* plus large arrondi sur grands écrans */
      .organic-right { border-top-right-radius: 220px; border-bottom-right-radius: 220px; }
    }

    /* badge semi-transparent: on utilise backdrop-filter pour un rendu doux si supporté */
    .glass-badge {
      background: rgba(196, 18, 18, 0.92); /* rouge foncé semi-opaque */
      -webkit-backdrop-filter: blur(4px);
      backdrop-filter: blur(4px);
    }

    /* Centrer le contenu du générateur */
.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(150vh - 180px); /* ajuste selon la hauteur de ta navbar */
  padding: 40px 20px;
  background-color: #f3f4f6;
}

/* Conteneur du générateur */
.container {
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 40px;
  padding: 30px;
  max-width: 1000px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

/* Ajustement des sections internes */
.form-section {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.preview-section {
  flex: 1;
  text-align: center;
}

.preview {
  position: relative;
  width: 500px;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  background: #fff;
}

.photo-zone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 66.6%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photo-zone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-zone {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 33.4%;
}

.no-photo {
  color: #6b7280;
  font-size: 0.9rem;
}
 /* petite transition sur contenu texte */
    .slide-enter { transform: translateY(8px); opacity: 0; }
    .slide-enter-active { transform: translateY(0); opacity: 1; transition: all .6s cubic-bezier(.2,.9,.3,1); }
    .slide-exit { opacity: 1; }
    .slide-exit-active { opacity: 0; transition: opacity .4s ease; }

  /* Styles personnalisés pour certains effets du design */
  /* Texte "Statistiques" avec image en incrustation */
  .img-clip-text {
    background-image: url('/images/hero-bg.jpg'); /* remplacer par une image adaptée */
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  /* petite ombre de bord irrégulier sous la section statistiques (similaire au screenshot) */
  .torn-edge {
    background: linear-gradient(90deg, rgba(0,0,0,0.02), rgba(0,0,0,0.02));
    clip-path: polygon(0 95%, 5% 98%, 12% 94%, 20% 99%, 30% 95%, 40% 100%, 50% 96%, 60% 100%, 70% 96%, 82% 100%, 92% 95%, 100% 100%, 100% 100%, 0 100%);
    height: 18px;
  }
  /* image card rounded shadow like screenshot */
  .image-card {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    overflow: hidden;
  }
  /* Badge vertical "ÉVÉNEMENT" on image */
  .vertical-badge {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    background: #E6C53C;
    color: #082207;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px 6px 0 0;
    letter-spacing: 0.5px;
  }
  /* small helper for icon boxes */
  .icon-box {
    background: rgba(255,255,255,0.92);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  }
  .ajoutcv .sec1{
    width: 100%;
    padding: 0 5%;
    min-height: 100vh;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ccc;
  }
  .ajoutcv .sec1 h1{
    font-size: clamp( 2rem, 6vw, 3.7rem);
    color: white;
    font-weight: 900;
    text-align: center;
  }
  .ajoutcv .sec1 p{
    font-size: clamp( 1rem, 2.5vw, 1.25rem);
    letter-spacing: 1px;
    text-align: center;
  }
  .ajoutcv .sec1 button{
    background-color: #0071bc;
    color: white;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: clamp( 1rem, 2.5vw, 1.25rem);
    transition: .3s;
  }
  .ajoutcv .sec1 button:hover{
    background-color: #c24a18;
  }
  .ajoutcv .sec2{
    width: 100%;
    padding: 5% 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .ajoutcv .sec2 h2{
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    font-weight: 800;
  }
  .ajoutcv .sec2 form{
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .ajoutcv .sec2 form h2{
    text-align: center;
    font-size: 2em;
    font-weight: 800;
  }
  .ajoutcv .sec2 form .container{
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .ajoutcv .sec2 form .container .input-div{
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: space-around;
  }
  .ajoutcv .sec2 form .container .input-div .gauche{
    display: flex;
    flex-direction: column;
  }
  .ajoutcv .sec2 form .container .input-div .gauche label{
    display: flex;
  }
  .ajoutcv .sec2 form .container .input-div .gauche label input{
    width: 15px;
    margin-right: 10px;
  }
  .ajoutcv .sec2 form .container .input-div .droite label input{
    width: 15px;
    margin-right: 10px;
  }
  .ajoutcv .sec2 form .container .input-div .droite label{
    display: flex;
  }
  .ajoutcv .sec2 form .container .input-div .droite{
    display: flex;
    flex-direction: column;
  }
  .ajoutcv .sec2 form .container .input-div input{
    width: 100%;
    background-color: #ececec;
    padding: 5px 10px;
    border-radius: 10px;
  }
  .ajoutcv .sec2 form .container .input-div textarea{
    width: 100%;
    min-height: 200px;
    background-color: #ececec;
    padding: 5px 10px;
    border-radius: 10px;
  }
  .ajoutcv .sec2 form .container .radio{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
  }
  .ajoutcv .sec2 form .container .radio label{
    display: flex;
  }
  .ajoutcv .sec2 form .container .radio input{
    width: 15px;
    margin-right: 10px;
  }