/* ==========================================
   CSS UNIQUE GLOBAL – Claude Gérard Production
   Intègre : index.css + catégories + contact + mentions + politique + magie + humour + tournées + avenir
   ========================================== */



/* MENU BURGER */
#menu-icon { position: absolute; left: -9999px; }
#menu-icon + label {
  position: fixed;
  top: 63px;
  right: 75px;
  width: 35px;
  height: 25px;
  cursor: pointer;
  z-index: 20;
}
#menu-icon + label span {
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ececee;
  border-radius: 2px;
  transition: 0.4s;
}
#menu-icon + label span:nth-child(1) { top: 0; }
#menu-icon + label span:nth-child(2) { top: 10px; }
#menu-icon + label span:nth-child(3) { top: 20px; }
#menu-icon:checked + label span:nth-child(1) { transform: rotate(45deg); top: 10px; }
#menu-icon:checked + label span:nth-child(2) { opacity: 0; }
#menu-icon:checked + label span:nth-child(3) { transform: rotate(-45deg); top: 10px; }

/* OVERLAY */
.navtotal::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: 0.4s;
  pointer-events: none;
  z-index: 8;
}
#menu-icon:checked ~ .navtotal::before {
  background: rgba(0,0,0,0.6);
  pointer-events: all;
}

/* NAVIGATION */
.nav {
  position: fixed;
  top: 33px;
  right: 50px;
  width: 80px;
  height: 80px;
  background: #353746;
  border-radius: 50%;
  overflow: hidden;
  transition: 0.6s;
  z-index: 9;
}
#menu-icon:checked ~ .nav {
  top: 50%; right: 50%; transform: translate(50%,-50%);
  width: 200%; height: 200%; border-radius: 0;
}
.nav ul { position: absolute; top: 50%; width: 100%; transform: translateY(-50%); text-align: center; }
.nav ul li {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.4s;
}
#menu-icon:checked ~ .nav ul li {
  opacity: 1;
  transform: translateY(0);
  margin: 12px 0;
}
.nav ul li a {
  font-size: 45px;
  color: #ececee;
  font-variant-caps: small-caps;
}
.nav ul li a:hover { color:#0b68e2; }
.nav ul li a.sousmenu { font-size:20px; text-transform:none; }

/* SLIDER INDEX */
.container-fluid {
  margin-top: 5%;
  width: 100%; max-width: 1200px;
  margin-inline: auto;
  overflow: hidden;
}
.swiper-container { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.swiper-slide { display: flex; align-items: center; justify-content: center; }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
#lab_video_text_overlay { position:absolute; width:100%; top:50%; transform:translateY(-50%); }
#lab_video_text_overlay .container {
  width:80%; margin:auto; text-align:center;
  background:rgba(255,255,255,0.4);
  padding:1% 2%; border-radius:40px;
}

/* DESCRIPTION */
.description {
  width: 90%; max-width: 1100px;
  margin: 3rem auto;
  text-align: justify;
  line-height: 1.6;
}
.description h2 { font-size:1.5rem; margin-bottom:1rem; }
.description ul { margin:1rem 0 1rem 2rem; }
.description li { margin-bottom:0.5rem; }

/* ========================================
   FOOTER
   ======================================== */
.grandfooter {
  border-top: 1px solid black;
  background-color: #91989e42;
  margin-top: 2rem;
}

.grandfooter .moyenfooter {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
}

.grandfooter img {
  max-width: 10%;
  min-width: 70px;
}

.footer1 {
  text-align: center;
  line-height: 1.6;
}

.footer1 h3 {
  text-transform: uppercase;
  font-size: large;
  font-weight: bolder;
}

.footer1 h2 {
  font-size: 1rem;
  font-weight: normal;
  margin: 0;
}

.social {
  text-align: center;
}

.social h3 {
  margin-bottom: 0.5rem;
}

.social a {
  font-size: xx-large;
  margin: 0 0.25rem;
  transition: color 0.3s;
}

.social a:hover {
  color: #0b68e2;
}

.footer-copyright {
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media screen and (max-width: 991px) {
  #menu-icon:checked + label,
  #menu-icon:not(:checked) + label {
    right: 35px;
  }
  .nav { right: 20px; }
  .nav ul li a { font-size: 4vh; }
}

@media screen and (max-width: 600px) {
  .title {
    flex-direction: column;
    gap: 0.5rem;
  }
  .title img { width: 20%; }
  .title h1 { font-size: 1.3rem; }
  .title h2 { font-size: 1.2rem; }
  .grandfooter .moyenfooter {
    flex-direction: column;
    text-align: center;
  }
  .grandfooter img { max-width: 30%; }
  .social {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
  }
}
