/*****************************************************
Page réalisation (hors article)
***************************************************/
/* ----------------------------------------------------------------
   Structure générale
---------------------------------------------------------------- */
#Secteur.Real {
  position: relative;
}

#Secteur.Real #Bloc1,
#Secteur.Real #BlocReal,
#Secteur.Real #Bloc4,
#Secteur.Real #BlocEtapes3 {
  width: 100%;
}

/* ----------------------------------------------------------------
   Bloc 1 : bandeau titre + visuel
---------------------------------------------------------------- */
#Secteur.Real #Bloc1 {
  padding-top: 150px;
}

#Secteur.Real #Bloc1 img {
  float: right;
  height: 100%;
  margin-left: 45px;
}
#Secteur.Real #Bloc1 .container .titre h1 {
  color: #fff;
  font-family: "Jost-Bold";
  text-transform: uppercase;
  text-align: right;
  margin-top: 0;
  padding-top: 180px;
  line-height: 35px;
  margin-bottom: 5px;
  font-size: 2em;
  margin-top: 0;
  color: var(--orange-2024);
}

#Secteur.Real #Bloc1 .container .titre h2 {
  font-size: 2em;
  font-family: "Jost-Bold";
  text-transform: uppercase;
  line-height: 35px;
  margin-bottom: 5px;
  color: #000;
  text-align: right;
  margin-top: 0;
}

#Secteur.Real #Bloc1 .container img {
    float: right;
    margin-left: 45px;
    height: 100%;
}

/* Fond sombre décoratif */
#backgroundRealisations {
  position: absolute;
  inset: 0;
  height: 367px;
  background: var(--noir80);
  z-index: -1;
}

/* ----------------------------------------------------------------
   Bloc Réalisations – grille visuels
---------------------------------------------------------------- */
#BlocReal {
  margin-top: 10px;
}

#BlocReal h1.bloc-real-2024-h1 {
  display: inline-block;
  padding: 2px 5px;
  font-family: "Jost-Bold";
  font-size: 1.7rem;
  text-transform: uppercase;
  background: var(--orange-2024);
}

#BlocReal h2.bloc-real-2024-h2 {
  margin: 0 0 50px;
  font-family: "Jost-Bold";
  font-size: 1.4rem;
  text-transform: uppercase;
}

/* Liste en grille 3 × n (mobile‑first) */
.list-real {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 auto 0;
  max-width: 80%;
}

.real-li {
  position: relative;
  width: 100%;          /* 1 colonne mobile */
  aspect-ratio: 1/1;     /* carré – évite le JS */
  overflow: hidden;
}

/* Image */
.real-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s ease;
}

/* Calque texte */
.bloc8-content-2024 {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(188,91,64,.9); /* même teinte que --orange-2024 */
  color: #fff;
  padding: 10px;
  opacity: 0;
  transition: opacity .3s ease;
}

.bloc8-accueil-p-title   { font: 700 1.7rem/1 var(--font-jost); text-transform: uppercase; }
.bloc8-accueil-p-content { font: 400 1.4rem/1.25 var(--font-jost); }

/* Effet au survol */
.real-li:hover img                { opacity: .15; }
.real-li:hover .bloc8-content-2024{ opacity: 1;   }

/* ----------------------------------------------------------------
   Bloc 4 : titre + fond beige
---------------------------------------------------------------- */
#Bloc4 {
  background: #efece6;
  padding: 25px 0 15px;
  text-align: center;
  margin-bottom: 50px;
}

#Bloc4 h2 {
  margin: 0;
  font-size: 2rem;
  text-transform: uppercase;
}


/* Accroche final */
p.accorcheReal
{
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 1.3em;
  color: var(--orange-2024);
  font-family: "Jost-Italic";
  font-weight: bold;
}


/* ----------------------------------------------------------------
   Media‑queries (desktop first → mobile) – optimisé
---------------------------------------------------------------- */
@media (min-width: 768px) {
  /* grille 2 × n */
  .real-li {
    width: 50%;
  }
}

@media (min-width: 992px) {
  /* grille 3 × n */
  .real-li {
    width: 33.3333%;
  }
  #Bloc1 .container { height: 350px; }
  #Bloc1 img        { 
    width: auto;  
    max-width: 50%;
  }
}

@media (max-width: 992px) {
  #Bloc1 .container {
    height: auto;
    padding: 0;
  }
  #Bloc1 img {
    float: none;
    width: 90%;
    margin: 0 5%;
  }
  #backgroundRealisations { display: none; }

  
  #Secteur.Real #Bloc1
  {
    padding-top: 50px;
  }
  #Secteur.Real #Bloc1 .container .titre h1,#Secteur.Real #Bloc1 .container .titre h2
  {
    font-size: 1.7em;
    margin-right: 20px;
  }


}


/*****************************************************
*Bloc6
***************************************************/
#Bloc6Real
{
  margin-top: 70px;
  margin-bottom: 20px;
}
#Bloc6RealContent
{
  position: relative;
  z-index: 4;
  width: 60%;
  padding: 50px 50px;;
  margin-top: -50px;
  text-align: center;
  color: white;
  background-color: var(--orange-2024);
  margin-left: auto;
  margin-right: auto;
  font-size: 1.8rem;

  margin-bottom: 50px;
}

#Bloc6RealContent .btn-blanc
{
  margin-top: 40px;
  font-size: 1.2rem;
}

   /* Tablette (>=768px) */
   @media screen and (max-width: 1024px) {
    #Bloc6RealContent
    {
      width: 80%;
    }
  }

    /* Tablette (>=768px) */
    @media screen and (max-width: 767px) 
    {
      #Bloc6RealContent
      {
      width: 95%;
      margin-top: 10px;
      padding: 20px 10px;
      font-size: 1em;
      }

    
      #Bloc6RealContent .btn-blanc
      {
        font-size: 1em;
      }

      #Bloc6RealContent
      {
        margin-bottom: 0;
      }
    }

/*****************************************************
*Bloc7
***************************************************/
#Bloc7Real
{
  background-color: white;
  padding-top: 0px;
  padding-bottom: 100px;
  overflow-x: hidden;
}

#Bloc7Real .logo-carousel {
  background-color: #fff;
  padding: 20px 0;
  overflow: hidden; 
}
#Bloc7Real  .logo-track-wrapper {
  width: 100%;
  overflow: hidden; /* ✅ Masque ce qui dépasse */
  position: relative;
}

#Bloc7Real .logo-track {
  display: flex;
  gap: 60px;
  animation: scroll 60s linear infinite;
  max-height: 150px;
  overflow: hidden;
  width: max-content;
}

#Bloc7Real .logo-track img {
  max-height: 150px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

#Bloc7Real .logo-track img:hover {
  filter: grayscale(0%);
}

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

/* Tablette (>=768px) */
@media screen and (max-width: 767px) {
  #Bloc7Real
  {
      padding-bottom: 0;
    }
  }

