html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding-top: 80px;
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #f3f4f6, #9ca3af);
}

/* BANDE */
.bande {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #104911;

    display: flex;
    align-items: center;          /* centre verticalement */
    justify-content: space-evenly;

    box-shadow: 0 0 12px gold;
    z-index: 1000;

    padding-bottom: 0;
    transition: padding-bottom 0.4s ease;
}
.bande-contenu {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

/* Quand la bande s’agrandit, on recentre le contenu */
.bande:hover .bande-contenu {
    transform: translateY(30px);
}
/* Effet agrandissement PRO */
.bande:hover {
    padding-bottom: 80px; /* ⬅️ donne l’illusion que la bande grandit */
}

.bande a {
    color: gold;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
}

/* MENU DÉROULANT PRO */
.menu-deroulant {
    position: relative;
}

/* Zone tampon invisible (clé du problème) */
.menu-deroulant::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 50px; /* ⬅️ espace confortable */
}

/* Sous-menu caché */
.sous-menu {
    position: absolute;
    top: calc(100% + 20px); /* espace VISUEL */
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #104911;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2000;
    min-width: 200px;
}

/* Apparition fluide */
.menu-deroulant:hover .sous-menu {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Liens */
.sous-menu a {
    position: relative;
    padding: 12px 24px;
    color: gold;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Ligne animée sous le lien */
.sous-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background: gold;
    transition: width 0.3s ease;
}

/* Au survol du lien */
.sous-menu a:hover {
    color: #fff;
}

.sous-menu a:hover::after {
    width: 100%;  /* la ligne se déploie sous le texte */
}

.sous-menu a:hover {
    background: rgba(255, 215, 0, 0.15);
}


/* LOGO */
.nav_item_logo { display: flex; align-items: center; }
.logo_cec { width: 80px; margin-right: 10px; }

/* CARD */
.card {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #004900;
    color: white;
    border-radius: 16px;
    box-shadow: 0 0 12px gold;
}

/* CARROUSEL */
.carousel-section { display: flex; justify-content: center; margin: 60px 0; }
.carousel { width: 550px; overflow: hidden; position: relative; }
.carousel-inner { display: flex; transition: transform 0.5s ease; }
.carousel-item { flex: 0 0 100%; }
.carousel-item img { width: 100%; border-radius: 12px; transition: transform 0.3s, box-shadow 0.3s; }
.carousel-item img:hover { transform: scale(1.05); box-shadow: 0 12px 25px rgba(0,0,0,0.6); }

/* FLÈCHES */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 28px;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}
.prev { left: 10px; }   /* à l’intérieur du carrousel */
.next { right: 10px; }  /* à l’intérieur du carrousel */
.prev:hover, .next:hover { background: rgba(0,0,0,0.9); }

/* FORMULAIRE */
.formulaire { display: flex; flex-direction: column; gap: 15px; }
.formulaire input, .formulaire textarea { padding: 10px; border-radius: 10px; }
.formulaire button { padding: 10px; background: black; color: white; cursor: pointer; }

.animated-link {
    position: relative;
    color: gold ;
    text-decoration: none;
    font-weight: bold;
    font-size: 22px;
    padding: 5px 0;
}

.animated-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: gold;
    transition: width 0.3s ease;
}

.animated-link:hover::after {
    width: 100%;
}

/* ANIMATION NOTRE VOITURE */
.voiture-anim {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition: 
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.voiture-anim.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ANIMATION NOTRE HISTOIRE */
.histoire-anim {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition: 
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.histoire-anim.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ANIMATION SPONSOR */
.sponsor-anim {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.sponsor-anim.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ANIMATION NOTRE PROJET */
.project-anim {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-anim.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.anim-section {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-section.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#binary-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;  /* derrière tout le contenu */
    background-color: #ffffff; /* fond noir */
}
section {
    scroll-margin-top: 140px; /* hauteur de la bande agrandie */
}

/* =========================
   FRISE HORIZONTALE PRO
========================= */

.timeline-horizontal {
  max-width: 100%;
  margin: 80px auto;
  padding: 40px 0;
  overflow-x: auto;
}

.timeline-horizontal h2 {
  text-align: center;
  margin-bottom: 60px;
}

/* Zone scrollable */
.timeline-wrapper {
  position: relative;
  display: flex;
  gap: 80px;
  padding: 60px 80px;
  min-width: max-content;
}

/* Ligne */
.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  height: 10px;
  width: 100%;
  background: gold;
  transform: translateY(-50%);
  z-index: 1;
}

/* Étape */
.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Point */
.timeline-dot {
  width: 18px;
  height: 18px;
  background: gold;
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: 0 0 10px gold;
}

/* Carte */
.timeline-card {
  width: 260px;
  background: #004900;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 0 20px gold;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Image */
.timeline-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: transform 0.5s ease;
}

/* Hover Apple-style */
.timeline-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.timeline-card:hover img {
  transform: scale(1.1);
}

.timeline {
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
}

.timeline::-webkit-scrollbar {
    display: none; /* Chrome, Edge, Safari */
}
/* ===== SECTION EQUIPE HORIZONTALE ===== */

.team-title {
    text-align: center;
    position: relative;
    color: white;
    margin-bottom: 50px;
}

/* Rectangle doré */
.team-title::after {
    content: '';
    display: block;
    margin: 10px auto 0 auto;
    width: 60px;
    height: 4px;
    background: gold;
    border-radius: 4px;
}

/* Ligne horizontale */
.team-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

/* Carte sans fond */
.team-card {
    text-align: center;
    transition: transform 0.4s ease;
}

/* Image profil ronde */
.profile-img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid gold;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

/* Texte */
.team-card h3 {
    color: gold;
    margin: 10px 0 5px 0;
}

.team-card p {
    color: white;
    font-size: 14px;
}

/* Animation hover simple */
.team-card:hover .profile-img {
    transform: scale(1.1);
}


.timeline::after {
    content: ⇠ scrol"l ⇢";
    position: absolute;
    right: 20px;
    bottom: 10px;
    font-size: 12px;
    color: gold;
    opacity: 0.6;
}

.carousel-item {
    flex: 0 0 100%;
    height: 350px; /* hauteur UNIQUE */
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 clé magique */
    border-radius: 12px;
}

/* CONTENEUR FRiSE */
.frise {
    overflow-x: auto;
    padding: 40px 20px;
}

/* LIGNE HORIZONTALE */
.frise-track {
    display: flex;
    gap: 80px;
    align-items: center;
    position: relative;
}

/* ETAPE */
.frise-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
}

.timeline-header {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #004900; /* même fond que tes cartes */
    color: white;
    border-radius: 16px;
    box-shadow: 0 0 12px gold;
    text-align: center;
    position: relative;
}

/* Texte du titre de la frise */
.timeline-header h2 {
    color: white;  /* titre en blanc */
}

/* Texte des étapes */
.timeline-step h3,
.timeline-step p {
    color: rgb(255, 255, 255);  /* titre et description en blanc */
}

.image-band-section {
    margin: 80px 0;
}

.image-band {
    overflow: hidden;
    width: 100%;
    background: transparent;
}

.image-band-track-wrapper {
    width: 100vw;
    overflow-x: hidden;
}

.image-band-track {
    display: flex;
    width: fit-content;
    animation: scroll-band 30s linear infinite;
}

.image-band-track img {
    width: 260px;
    height: 160px;
    object-fit: cover;
    margin: 0 12px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
    transition: transform 0.3s ease;
}

.image-band-track img:hover {
    transform: scale(1.08);
}

/* Animation */
@keyframes scroll-band {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.image-band-track a {
    text-decoration: none;
}

css/
 │    └── style.css    ✅ UNIQUE

 #binary-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.rect-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.rect-item {
  position: relative;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid gold;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rect-item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 20px;
  background: white;
}

.rect-item span {
  display: block;
  text-align: center;
  color: white;
  padding: 12px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.85);
}

.rect-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}
