/* =========================
   Variables globales
========================= */
:root {
  --color-black: #111;
  --color-white: #fff;
  --color-gray: #ccc;
  --color-accent: #242424;
}

/* =========================
   Styles généraux
========================= */

html {
  scroll-padding-top: 80px; /* adapte la valeur à la hauteur de ton menu */
}

body {
  font-family: 'Montserrat', sans-serif !important;
}

.body-blanc {
  background: var(--color-white) !important;
}

.body-noir {
  background: var(--color-black) !important;
}

h1 {
  color: var(--color-black) !important;
}

.bg-black {
  background-color: #000;
  color: var(--color-white);
}

.text-white {
  color: var(--color-white);
}


/* =========================
   Navigation
========================= */
.navbar-custom {
  background-color: var(--color-black);
  padding: 15px 30px;
  font-weight: 100;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-white);
  font-family: sans-serif;
}

.navbar-nav .nav-link {
  color: var(--color-white);
  font-size: 1rem;
  margin: 0 15px;
}

/* =========================
   Boutons
========================= */
.btn-contact {
  background-color: var(--color-white);
  color: var(--color-black);
  margin: 0 15px;
}

.btn-contact:hover {
  background-color: var(--color-gray);
  color: var(--color-white);
}

html {
  scroll-behavior: smooth;
}

.btn-scroll {
  bottom: 25%;
}

.hero .btn-scroll {
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

/* =========================
   Vidéo Hero
========================= */
.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: black;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sectionvideo {
  height: 100vh;
  overflow: hidden;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  .sectionvideo {
    height: 70vh;
    overflow: hidden;
  }

  .btn-scroll {
    bottom: 0%;
  }

  .heightmobile {
    height: 720px;
  }

  .video-container {
    overflow: hidden;
    position: relative;
    height: 40vh;
    top: -50px;
  }

  .video-bg {
    object-fit: cover;
  }
}

/* =========================
   Section Title
========================= */
.section-title {
  font-size: 3.5rem;
  line-height: 1.4;
  color: var(--color-white);
  text-transform: uppercase;
  position: relative;
  font-family: 'Bebas Neue', sans-serif;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.section-title .highlight {
  color: #757575;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* =========================
   Feature Box
========================= */
.feature-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: black;
  padding: 20px;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 350px;
}

.feature-box .icon img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease-in-out;
}

.feature-box .icon img.animate {
  opacity: 1;
  transform: translateY(0);
}

img.animate:hover,
.pourquoinousimg:hover {
  transform: scale(1.1) !important;
  padding-bottom: 15px !important;
}

.pourquoinousimg {
  transition: all 0.4s ease-in-out;
}

.feature-box h3 {
  font-size: 1.5rem;
  margin-top: 10px;
  color: #f3f3f3;
}

.feature-box p {
  font-size: 1rem;
  color: #cccccc;
}

@media (max-width: 768px) {
  .feature-box {
    margin-bottom: 20px;
  }
}


/* =========================
   Bouton Instagram fixe
========================= */
.fixed-instagram-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.9rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 2s ease forwards;
}

.fixed-instagram-btn:hover {
  background-color: var(--color-accent);
  transform: scale(1.1);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   Carrousel texte défilant
========================= */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  transition: color 0.5s ease;
}

.marquee-inner {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px black;
  white-space: nowrap;
  font-size: 90px;
  will-change: transform;
  transition: color 0.5s ease;
  animation: scroll-left 30s linear infinite;
  padding-right: 100%;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (hover: hover) {
  .marquee-inner:hover {
    animation-play-state: paused;
    color: black;
    -webkit-text-stroke: 0;
  }
}

@supports (-webkit-touch-callout: none) {
  .marquee-inner {
    animation-duration: 40s;
  }
}

/* =========================
   Galerie projets
========================= */
.grayscale-hover {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.3s ease;
  object-fit: cover;
  border-radius: 8px;
}

.grayscale-hover:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
  z-index: 2;
  position: relative;
}

/* =========================
   Footer
========================= */
.social-links {
  display: inline-block;
}

.social-links a {
  transition: color 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--color-gray) !important;
}

@media (max-width: 767.98px) {
  .col-md-9 > div {
    align-items: center !important;
    text-align: center !important;
  }

  .social-links a {
    display: block;
    margin-bottom: 10px;
  }

  .mobile-text-center {
    text-align: center !important;
  }

  .descriptionmobile {
    width: 70% !important;
  }
}

/* =========================
   Projets
========================= */
.main-image-projet {
  width: auto;
  max-width: 900px;
  max-height: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  margin: 0 auto 2rem auto;
  display: block;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.article-header{
  margin: 3.5rem auto;
  max-width: 800px;
}

.projet-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 3.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--color-white);
}

.projet-subtitle {
  font-size: 1.2rem;
  color: var(--color-gray);
  text-align: center;
  margin-bottom: 3.5rem;
}

.projet-desc {
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 2rem;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.projet-custom {
  margin-bottom: 2rem;
  text-align: center;
}

.projet-lie {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.projet-card{
  width: 200px;
}

.projet-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.projet-gallery img {
  width: auto;
  max-width: 900px;
  max-height: 500px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  margin-bottom: 0;
  height: auto;
  display: block;
}

.projet-img-desc {
  color: #E0E0E0;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.5rem;
  margin-top: 1.2rem;
}

.projet-video {
    width:100%;
    max-width:600px;
    max-height:600px;
    display:block;
    margin-bottom:1.5rem;
}

.descriptiontitre {
  font-size: 1.5rem;
  color: var(--color-gray);
  margin-bottom: 1.5rem;
  font-weight: bold;
}

@media (max-width: 991px) {
  .main-image-projet,
  .projet-gallery img {
    max-width: 100%;
  }
}

/* =========================
   Filtres et cartes projets
========================= */
.category-filter.btn-outline-dark {
  border-color: #241E1E;
  color: var(--color-black) !important;
  background: var(--color-white) !important;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.category-filter.btn-outline-dark:hover {
  background: #eee !important;
  color: var(--color-black) !important;
}

.category-filter.btn-disabled {
  background: black !important;
  color: var(--color-white) !important;
  border-color: #888 !important;
  text-decoration: none !important;
}

.project-card {
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  background: var(--color-white);
  margin-bottom: 2.5rem;
  transition: box-shadow 0.2s;
}

.project-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}

.project-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

.project-title {
  color: var(--color-black) !important;
  font-weight: 700;
  font-size: 1rem;
}

.project-categories {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.project-desc {
  color: #222;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.project-gallery img {
  max-width: 90px;
  max-height: 70px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 7px;
  margin-bottom: 7px;
  border: 1px solid #eee;
  transition: transform 0.2s;
}

.project-gallery img:hover {
  transform: scale(1.05);
  border-color: #bbb;
}

/* =========================
   Mentions légales
========================= */
.mentions-section {
  color: var(--color-white);
  padding: 60px 0 40px 0;
  min-height: 60vh;
}

.mentions-section h1,
.mentions-section h2 {
  font-weight: 700;
}

.mentions-section h1 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.mentions-section h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.mentions-section p,
.mentions-section li {
  color: #e0e0e0;
  font-size: 1rem;
}

.mentions-section ul {
  padding-left: 1.2rem;
}

@media (max-width: 767px) {
  .mentions-section {
    padding: 30px 0 20px 0;
  }
}

/* =========================
   Processus projet
========================= */
.projetprocess {
  max-width: 430px;
}

.main-image-process{
    max-width: 60%;
    padding: 50px 0px;
}

.titre-process {
    text-align: center;
    font-weight: bold;
}