/* ==========================================
   CLAUDE GÉRARD PRODUCTION — CSS GLOBAL UNIQUE
   Fusion de tous les blocs sans perte de propriété
   ========================================== */

/* --- IMPORT POLICES --- */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;300;400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;1,100;1,400&display=swap");

/* ===============================
   RESET & BASE
================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  color: #000;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(152deg, #afd9e5 0%, #c5e2e9 36%, #e0edec 100%) fixed;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ==========================
   MENU BURGER
========================== */
#menu-icon {
  position: absolute;
  left: -9999px;
}

/* Bouton burger */
#menu-icon + label {
  position: fixed;
  top: 63px;
  right: 75px;
  display: block;
  width: 35px;
  height: 25px;
  cursor: pointer;
  z-index: 20;
}

/* Barres burger */
#menu-icon + label span {
  position: absolute;
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ececee;
  border-radius: 2px;
  transition: all 0.4s ease;
}
#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; }

/* Croix */
#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: background 0.5s ease;
  pointer-events: none;
  z-index: 8;
}
#menu-icon:checked ~ .navtotal::before {
  background: rgba(0, 0, 0, 0.6);
  pointer-events: all;
}

/* Conteneur menu */
.nav {
  position: fixed;
  top: 33px;
  right: 50px;
  width: 80px;
  height: 80px;
  background-color: #353746;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.6s ease;
  z-index: 9;
  animation: border-transform 7s linear infinite;
}

/* Animation organique */
@keyframes border-transform {
  0%, 100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
  50% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; }
}

/* Ouverture */
#menu-icon:checked ~ .navtotal .nav {
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 200%;
  height: 200%;
  border-radius: 0;
  animation-play-state: paused;
}

.nav ul {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  text-align: center;
  transform: translateY(-50%);
}

.nav ul li {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
  margin: 10px 0;
}

/* Apparition progressive */
#menu-icon:checked ~ .navtotal .nav ul li {
  opacity: 1;
  transform: translateY(0);
}

.nav ul li a {
  font-size: 45px;
  font-variant-caps: small-caps;
  color: #ececee;
  transition: color 0.3s ease;
}

.nav ul li a:hover { color: #0b68e2; }

.nav ul li a.sousmenu {
  font-size: 20px;
  text-transform: none;
  font-variant-caps: normal;
}

/* ===============================
   FIL D’ARIANE / TITRES
================================ */
.title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem;
  width: 100%;
  text-align: center;
  margin: 2rem auto 1rem;
}

.title img {
  width: clamp(60px, 10%, 100px);
  height: auto;
}

.title .fas { color: #969494; }

.title h1, .title h2, .title h3 {
  font-weight: 300;
  font-variant-caps: small-caps;
  font-size: 1.7rem;
  margin: 0.5rem;
  color: #000;
}

.title h2, .title h3 {
  color: #969494;
  font-size: 1.4rem;
}

/* ===============================
   SECTIONS TEXTE
================================ */
.intro,
.description {
  max-width: 1100px;
  width: 90%;
  margin: 3rem auto;
  padding: 0 2rem;
  text-align: justify;
  line-height: 1.6;
  font-size: 1rem;
}

.intro { text-align: center; }

.description h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.description h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.description ul { margin: 1rem 0 1rem 2rem; }
.description li { margin-bottom: 0.5rem; }

/* ===============================
   CTA
================================ */
.cta-zone {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem;
  text-align: center;
}

.cta {
  margin: 2em auto;
  padding: 1.2em 1.8em;
  background-color: rgba(255, 215, 0, 0.12);
  border-left: 5px solid #d4af37;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1em;
  color: #111;
  text-align: center;
  line-height: 1.6em;
  max-width: 900px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.cta:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.cta-link-light {
  color: #b88a1b;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}

.cta-link-light:hover { border-color: #b88a1b; opacity: 0.6; }

/* ===============================
   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;
}

/* ===============================
   CATALOGUE / CATEGORIES
================================ */
.catalogue {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 5rem;
  margin: 3rem auto 2rem;
  text-align: center;
}

.catalogue-item { width: 250px; text-align: center; }

.catalogue-item img {
  width: 100%;
  height: auto;
  max-width: 220px;
  border-radius: 6px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.catalogue-item img:hover { transform: scale(1.05); }

.catalogue-item p {
  font-weight: 600;
  color: #000;
  font-size: 1rem;
}

.contentli {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
  margin: 3rem auto;
  padding: 0 4rem;
  justify-items: center;
  align-items: center;
  text-align: center;
}

.contentli .li1, .contentli .li2 {
  width: 100%;
  max-width: 350px;
}

.contentli .li1 p,
.contentli .li2 p {
  padding: 1rem;
  border-radius: 45px;
  font-weight: bold;
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

.contentli .li1 p {
  background-color: #353746;
  color: white;
}

.contentli .li2 p {
  border: 2px solid #353746;
  color: #353746;
  background-color: white;
}

.contentli .li1:hover p { background-color: #0b68e2; transition: 0.3s; }
.contentli .li2:hover p { background-color: #353746; color: #fff; transition: 0.3s; }

/* ===============================
   CARROUSEL 3D
================================ */
#slideshow {
  margin: auto;
  height: 600px;
  width: 100%;
  box-sizing: border-box;
  z-index: -40;
}

.slideshow-title {
  font-family: "Open Sans";
  font-size: 62px;
  text-align: center;
  color: #0a0505;
  margin: 0 auto;
  margin-top: 25%;
  letter-spacing: 3px;
  font-weight: 300;
}

.entire-content {
  margin: auto;
  width: 190px;
  perspective: 1000px;
  padding-top: 80px;
}

.content-carrousel {
  width: 100%;
  animation: rotar 35s infinite linear;
  transform-style: preserve-3d;
}

.content-carrousel p {
  width: 60%;
  margin-top: -55px;
  margin-left: 30px;
  text-align: center;
  color: white;
  font-size: 10px;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.384);
  border-radius: 20px;
}

.content-carrousel:hover {
  animation-play-state: paused;
  cursor: pointer;
}

.content-carrousel figure {
  position: absolute;
  width: 100%;
  height: 160px;
  border: 1px solid #3b444b;
}

.content-carrousel img {
  width: 100%;
  height: 100%;
  transition: all 300ms;
}

.content-carrousel img:hover {
  transform: scale(1.2);
  transition: all 300ms;
}

.content-carrousel p,
img:hover {
  transform: scale(1.2);
  transition: all 300ms;
}

@keyframes rotar {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.content-carrousel figure:nth-child(1)  { transform: rotateY(0deg) translateZ(520px); }
.content-carrousel figure:nth-child(2)  { transform: rotateY(33deg) translateZ(520px); }
.content-carrousel figure:nth-child(3)  { transform: rotateY(66deg) translateZ(520px); }
.content-carrousel figure:nth-child(4)  { transform: rotateY(99deg) translateZ(520px); }
.content-carrousel figure:nth-child(5)  { transform: rotateY(132deg) translateZ(520px); }
.content-carrousel figure:nth-child(6)  { transform: rotateY(165deg) translateZ(520px); }
.content-carrousel figure:nth-child(7)  { transform: rotateY(200deg) translateZ(520px); }
.content-carrousel figure:nth-child(8)  { transform: rotateY(235deg) translateZ(520px); }
.content-carrousel figure:nth-child(9)  { transform: rotateY(268deg) translateZ(520px); }
.content-carrousel figure:nth-child(10) { transform: rotateY(301deg) translateZ(520px); }
.content-carrousel figure:nth-child(11) { transform: rotateY(330deg) translateZ(520px); }
.content-carrousel figure:nth-child(12) { transform: rotateY(360deg) translateZ(520px); }

/* ===============================
   AFFICHES / DIAPORAMA
================================ */
.affiche h1, .affiche h2, .affiche h3, .affiche p {
  width: 90%;
  margin: 1rem auto;
  text-align: justify;
}

.affiche img {
  margin: 2rem auto;
  max-width: 100%;
  display: block;
  transform: scale(1);
}

.video-responsive, .video-responsive2 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 20px 0;
}

.video-responsive2 { flex-direction: column; }

.diaporama {
  border: 5px solid black;
  width: 25vw;
  height: 36vh;
  position: relative;
  margin: 2rem auto;
}

.diaporama__conteneur {
  display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
}

.diaporama__image {
  object-fit: contain;
  width: 100%;
  opacity: 1;
}

[data-order] {
  z-index: -1;
  opacity: 0;
  transition: opacity 1s;
}

[data-order="0"] {
  z-index: 1;
  opacity: 1;
}

/* ===============================
   AFFICHES PLUS (GRILLE)
================================ */
.afficheplus {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  justify-items: center;
  width: 100%;
  padding: 2rem 3rem;
}

.afficheplus a {
  position: relative;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: #000;
}

.afficheplus a:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.afficheplus img {
  width: 100%;
  display: block;
  border-radius: 10px;
  transition: transform 0.45s ease;
}

.afficheplus a:hover img { transform: scale(1.06); }

.afficheplus .date {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===============================
   FORMULAIRE DE CONTACT
================================ */
#contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  gap: 1rem;
}

#contact-form h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  text-align: center;
}

label { display: block; }

input,
textarea,
button {
  width: 100%;
  padding: 0.5em;
  border: 1px solid #ccc;
  font: 300 100%/1.4 "Open Sans", sans-serif;
  outline: none;
}

textarea { height: 8em; }

input[type="submit"],
button {
  background: #353746;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

input[type="submit"]:hover,
button:hover { background: #0b68e2; }

/* ===============================
   AUTRE CONTACT
================================ */
.autreContact {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 90%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.autreContact p {
  margin: 0.5rem 0;
  line-height: 1.6;
  font-size: 1rem;
}

.autreContact a[href^="tel:"],
.autreContact a[href^="mailto:"] {
  display: block;
  margin: 0.8rem 0;
  font-weight: 500;
  color: #000;
  transition: color 0.3s ease;
}

.autreContact a[href^="tel:"]:hover,
.autreContact a[href^="mailto:"]:hover { color: #0b68e2; }

.autreContact .fa,
.autreContact .fas {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #353746;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.autreContact .fa:hover,
.autreContact .fas:hover { color: #0b68e2; transform: scale(1.1); }

/* ===============================
   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;
}

/* ===============================
   AUTRES BLOCS (quotes)
================================ */
.quote {
  width: 50%;
  margin: 1rem auto;
  background: #ffffff;
  padding: 1rem 2rem;
  border-radius: 1em;
  text-align: justify;
}

.quote2, .quote3 {
  width: 40%;
  background: #ff0000;
  padding: 1rem 2rem;
  border-radius: 1em;
  text-align: justify;
}
.quote2 { margin-left: 5%; }
.quote3 { margin-left: 50%; }

/* ===============================
   ACCESSIBILITE / REDUCED MOTION
================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

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

  .afficheplus {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .cta {
    font-size: 1em;
    padding: 1em 1.2em;
    margin: 1.5em auto;
  }
  .title { flex-direction: column; gap: 0.3rem; }
  .affiche p { width: 95%; }
  .diaporama { width: 80vw; height: 30vh; }
}

@media screen and (max-width: 700px) {
  .title { text-align: center; }
}

@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; }

  .catalogue { flex-direction: column; gap: 2rem; }
  .contentli { grid-template-columns: 1fr; width: 90%; }

  .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;
  }

  .afficheplus { grid-template-columns: 1fr; padding: 1.2rem; }
  .afficheplus a { max-width: 85%; }

  .intro p { font-size: 1rem; }
}

@media screen and (max-width: 480px) {
  body { font-size: 0.9rem; }
  .cta { font-size: 0.95em; padding: 0.8em 1em; }

  .quote, .quote2, .quote3 {
    width: 85%;
    margin: 1rem auto;
  }

  .video-responsive { flex-direction: column; }
}


/* ==========================================
   RESPONSIVE MOBILE — CORRECTION GLOBALE
   ========================================== */

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

  /* ===== MENU BURGER ===== */
  #menu-icon + label {
    top: 20px;
    right: 90px;
    width: 32px;
    height: 22px;
    z-index: 9999;
  }

  #menu-icon + label span {
    background-color: #f4f4f6; /* visible sur fond clair */
  }

  .nav {
    top: 5px;
    right: 80px;
    width: 60px;
    height: 60px;
  }

  #menu-icon:checked ~ .navtotal .nav {
    top: 50%;
    right: 50%;
    width: 100%;
    height: 100%;
    transform: translate(50%, -50%);
  }

  .nav ul li a {
    font-size: 1.8rem;
  }

  /* ===== TITRES / FIL D’ARIANE ===== */
  .title {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
    padding: 1rem;
  }

  .title img {
    width: 80px;
    margin-bottom: 0.5rem;
  }

  .title h1,
  .title h2,
  .title h3 {
    font-size: 1.2rem;
    margin: 0;
  }

  /* ===== TEXTES ===== */
  .intro,
  .description {
    text-align: center;
    padding: 0 1.2rem;
  }

  .description p {
    text-align: center;
  }

  .contentli {
    padding: 0%;
    margin: 0%;
  }
  /* ===== CTA ===== */
  .cta {
    text-align: center;
    font-size: 1rem;
    padding: 1rem;
  }

  /* ===== CARROUSEL ===== */
 #slideshow {
  margin: auto;
  height: 90%;
  width: 90%;
}

.slideshow-title {
  font-family: "Open Sans";
  font-size: 62px;
  text-align: center;
  color: #0a0505;
  margin: 0 auto;
  margin-top: 25%;
  letter-spacing: 3px;
  font-weight: 300;
}

.entire-content {
  margin: auto;
  perspective: 1000px;
  padding-top: 100px;
}

.content-carrousel {
  width: 90%;
  animation: rotar 35s infinite linear;
  transform-style: preserve-3d;
}

.content-carrousel p {
  width: 60%;
  margin-top: -55px;
  margin-left: 30px;
  text-align: center;
  color: white;
  font-size: 10px;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.384);
  border-radius: 20px;
}

.content-carrousel:hover {
  animation-play-state: paused;
  cursor: pointer;
}

.content-carrousel figure {
  position: absolute;
  width: 100%;
  height: 160px;
  border: 1px solid #3b444b;
}

.content-carrousel img {
  width: 100%;
  height: 100%;
  transition: all 300ms;
}

.content-carrousel img:hover {
  transform: scale(1.2);
  transition: all 300ms;
}

.content-carrousel p,
img:hover {
  transform: scale(1.2);
  transition: all 300ms;
}

@keyframes rotar {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.content-carrousel figure:nth-child(1)  { transform: rotateY(0deg) translateZ(300px); }
.content-carrousel figure:nth-child(2)  { transform: rotateY(33deg) translateZ(300px); }
.content-carrousel figure:nth-child(3)  { transform: rotateY(66deg) translateZ(300px); }
.content-carrousel figure:nth-child(4)  { transform: rotateY(99deg) translateZ(300px); }
.content-carrousel figure:nth-child(5)  { transform: rotateY(132deg) translateZ(300px); }
.content-carrousel figure:nth-child(6)  { transform: rotateY(165deg) translateZ(300px); }
.content-carrousel figure:nth-child(7)  { transform: rotateY(200deg) translateZ(300px); }
.content-carrousel figure:nth-child(8)  { transform: rotateY(235deg) translateZ(300px); }
.content-carrousel figure:nth-child(9)  { transform: rotateY(268deg) translateZ(300px); }
.content-carrousel figure:nth-child(10) { transform: rotateY(301deg) translateZ(300px); }
.content-carrousel figure:nth-child(11) { transform: rotateY(330deg) translateZ(300px); }
.content-carrousel figure:nth-child(12) { transform: rotateY(360deg) translateZ(300px); }

  
.catalogue {
  margin-top: 20rem;
  align-items: center;
  
}
}