/* ===========================
   BASE GLOBALE
=========================== */

body {
  background-image: url("background.jpg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  animation: fadeIn 2s ease-in;
  color: #e0e0e0;
}

/* ===========================
   FIX CATALOGUE — VERSION FINALE
=========================== */

.catalogue-page .catalogue-item img {
  max-width: 200px !important;
  height: auto !important;
}

.catalogue-page .catalogue-item .btn {
  font-size: 1.6rem !important;
  padding: 15px 30px !important;
  border-radius: 40px !important;
}

.catalogue-page .catalogue-item {
  width: 200px !important;
  padding: 10px !important;
}

.catalogue-page .catalogue-item {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 860px !important;
}

.catalogue-page .catalogue-item .btn {
  margin-top: auto !important;
}

/* ===========================
   PAGE CATALOGUE
=========================== */

.catalogue-page .catalogue-item img {
  max-width: 200px;
  height: auto;
  margin: 0 auto 15px auto;
  display: block;
}

.catalogue-item .btn {
  display: block;
  margin: 10px auto 0 auto;
  padding: 10px 20px;
  background-color: #ff4c4c;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  width: fit-content;
  transition: background-color 0.3s ease;
}

body.catalogue-page {
  background-image: url("fd.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.catalogue-text {
  font-size: 1.8em;
  line-height: 1.3;
  color: #000000;
  text-align: center;
  font-weight: 600;
  text-shadow: 0 0 10px #ffffff;
}

.catalogue-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.catalogue-item {
  background-color: #222;
  padding: 20px;
  border-radius: 10px;
  width: 280px;
  text-align: center;
  box-shadow: 0 0 10px black;
}

.catalogue-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.catalogue-item h3 {
  color: #00bcd4;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.catalogue-item p {
  font-size: 1em;
  color: #ccc;
  margin-bottom: 15px;
}

.catalogue-item .btn:hover {
  background-color: #cc0000;
}

.swap-casque {
  transition: opacity 0.3s ease;
}

.swap-casque:hover {
  content: url("image/123.jpg");
}

/* ===========================
   OVERLAY
=========================== */

.overlay {
  padding: 40px;
  min-height: 100vh;
}

/* ===========================
   TITRES
=========================== */

h1 {
  color: #ff4c4c;
  font-size: 2.8em;
}

h2 {
  color: #00e1ff;
  font-size: 2em;
}

.intro-title {
  font-size: 3.2em;
  font-weight: bold;
  text-align: center;
  color: #ff4c4c;
  margin-top: 40px;
  margin-bottom: 30px;
}

.big-title {
  display: block;
  font-size: 2em;
  font-weight: bold;
  color: rgb(0, 204, 255);
  margin-top: 20px;
  margin-bottom: 20px;
}

/* ===========================
   PAGE FUSION
=========================== */

.fusion-page h1 {
  text-align: center;
}

.fusion-page .overlay h2 {
  font-size: 2.3em;
}

.fusion-page .overlay p,
.fusion-page .overlay li {
  font-size: 1.2em;
  line-height: 1.4;
}

/* ===========================
   BOUTONS
=========================== */

.fb-button, .yt-button, .white-button, .btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 20px 10px;
  font-size: 1.8em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.fb-button {
  background-color: #1877f2;
  color: #ffffff;
}
.fb-button:hover {
  background-color: #145dbf;
  transform: scale(1.05);
}

.yt-button {
  background-color: #ff0000;
  color: #ffffff;
}
.yt-button:hover {
  background-color: #cc0000;
  transform: scale(1.05);
}

.white-button {
  background-color: white;
  color: black;
  border: 1px solid black;
}
.white-button:hover {
  background-color: black;
  color: white;
}

.btn {
  background-color: #fb7b03d2;
  color: rgb(255, 255, 255);
  font-weight: bold;
}
.btn:hover {
  background-color: #0097a7;
  transform: scale(1.05);
}

/* ===========================
   IMAGES
=========================== */

img {
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
}

.corner-img-small {
  width: 165px;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}
.corner-img-small:hover {
  transform: scale(1.2);
}

.top-right-images {
  position: absolute;
  top: 10px;
  right: 50px;
  display: flex;
  flex-direction: column;
  gap: 0px;
  z-index: 100;
}

/* ===========================
   VIDÉOS
=========================== */

.video-container,
.video-center {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

video, iframe {
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* ===========================
   PROJETS ACCUEIL
=========================== */

.project-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin: 20px 0;
  padding-left: 40px;
}

.project-links a {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 1.4em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.project-links a:hover {
  background-color: #444;
}

.project-links a.white-button {
  background-color: white !important;
  color: black !important;
  padding: 12px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.project-links a.white-button:hover {
  background-color: black !important;
  color: white !important;
}

.main-icon {
  width: 24px;
  height: auto;
  margin-right: 10px;
}

.project-links a:hover .main-icon {
  animation: pulse 0.4s ease-in-out;
}

/* ===========================
   CARROUSELS
=========================== */

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
}

.idee-page .carousel-container,
.intro-page .carousel-container,
.fusion-page .carousel-container {
  max-width: 1600px !important;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: max-content;
}

.carousel-track img {
  width: 380px;
  height: 285px;
  object-fit: contain;
  background-color: #060000;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ff4c4c;
  color: white;
  border: none;
  font-size: 2em;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
  border-radius: 50%;
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}

/* ===========================
   LISTES
=========================== */

.small-list li {
  font-size: 1.3em;
  margin: 4px 0;
}

/* ===========================
   PAGE : De l’idée à l’objet
=========================== */

.idee-page h1 {
  text-align: center;
  font-size: 3em;
  color: #ff4c4c;
}

.idee-page .overlay h2 {
  text-align: left;
  font-size: 2em;
  color: #00e1ff;
}

.idee-page .overlay p {
  text-align: left;
  font-size: 1.2em;
  line-height: 1.5;
  color: #cccccc;
}

/* ===========================
   PAGE : Introduction
=========================== */

.intro-page img {
  max-width: 250px;
  height: auto;
}

.intro-page h1 {
  text-align: center;
  font-size: 3em;
  color: #ff4c4c;
}

.intro-page .overlay h2 {
  text-align: left;
  font-size: 3em;
  color: #00e1ff;
}

.intro-page .overlay p {
  text-align: left;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #cccccc;
}

/* ===========================
   MENU GLOBAL
=========================== */

.global-nav {
  background-color: #222;
  padding: 15px;
  text-align: center;
}

.global-nav a {
  color: white;
  font-size: 3em;
  margin: 0 30px;
  text-decoration: none;
  font-weight: bold;
}

.global-nav a:hover {
  color: #ff6600;
}

/* ===========================
   NAVIGATION — PAGE CONTACT
=========================== */

body.contact-page .global-nav {
  background-color: #000000;
  padding: 20px;
  display: flex;
  flex-direction: column;   /* 2 lignes */
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

body.contact-page .nav-row {
  display: flex;
  justify-content: center;
  gap: 45px;
  margin: 5px 0;
}

body.contact-page .global-nav a {
  color: #ffffff;
  font-size: 1.4rem;
  margin: 0;
  text-decoration: none;
  font-weight: bold;
}

body.contact-page .global-nav a:hover {
  color: #ff6600;
}




/* ===========================
   BOUTONS FUSION
=========================== */

.btn-fusion {
  display: inline-block;
  padding: 10px 15px;
  font-size: 2rem;
  background-color: #df7701;
  color: #fffefe;
  text-decoration: none;
  font-weight: 800;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-fusion:hover {
  background-color: #e65f00;
  transform: translateY(-1px);
}

.btn-fusion:active {
  transform: translateY(0);
}

.fusion-button {
  font-size: 2rem;
  color: #00eaff;
  font-weight: 800;
}

/* ===========================
   TITRE ACCUEIL
=========================== */

.welcome {
  font-size: 4.5rem;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* ===========================
   SLOGAN
=========================== */

.slogan {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  margin-left: 20px;
  margin-top: -10px;
}

/* ===========================
   LIENS FORMATION
=========================== */

.btn-fb {
  color: #ff6600;
  font-weight: bold;
  text-decoration: none;
}

/* ===========================
   BOUTON TÉLÉCHARGEMENT
=========================== */

.btn-download {
  display: inline-block;
  padding: 12px 20px;
  background: #2b7cff;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: 0.2s;
}

.btn-download:hover {
  background: #1a5fd1;
  transform: scale(1.03);
}

.image-spacer {
  height: 380px;
  width: 100%;
}

.h1-invisible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===========================
   5 liens seront alignés horizontalement  
=========================== */
.legal-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 40px 0;
}

.legal-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

.legal-nav a:hover {
  color: #ff6600;
}



/* ===========================
   rotation 3d styl'art 
=========================== */

.welcome {
  display: inline-block;
  animation: rotateLogo 4s linear infinite;
}
@keyframes rotateLogo {
  50%   { transform: rotateY(0deg); }
  200%  { transform: rotateY(180deg) scale(1.1); }
  100% { transform: rotateY(360deg); }
}





/* ===========================
   ROUE ROTATION NE SERT PAS PEUT ETRE A EFFACER A LA FIN .    670 A 702 .
=========================== */
.carousel-3d {
  width: 300px;
  height: 250px;
  margin: auto;
  position: relative;
  transform-style: preserve-3d;
  animation: spin 12s linear infinite;
}

.carousel-3d img {
  position: absolute;
  width: 300px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
}

/* Positionnement circulaire des images */
.carousel-3d img:nth-child(1) { transform: rotateY(0deg) translateZ(400px); }
.carousel-3d img:nth-child(2) { transform: rotateY(72deg) translateZ(400px); }
.carousel-3d img:nth-child(3) { transform: rotateY(144deg) translateZ(400px); }
.carousel-3d img:nth-child(4) { transform: rotateY(216deg) translateZ(400px); }
.carousel-3d img:nth-child(5) { transform: rotateY(288deg) translateZ(400px); }

/* Animation */
@keyframes spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}





.welcome {
  align-self: flex-start;
  margin-left: 20px; /* optionnel : petit décalage */
}


































 
 
 



















































