.custom-container {
  margin-left: 20px;
  margin-right: 20px;
}
  

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  @media (max-width: 576px) {
    .navbar img {
      height: 40px;
    }
  }

.custom-dropdown .dropdown-menu {
  background-color: #fff;
  min-width: 220px;
  padding: 0.5rem 0;
  transition: all 0.2s ease-in-out;
  border-radius: 0.5rem;
}

.custom-dropdown .dropdown-item {
  padding: 0.6rem 1.2rem;
  color: #2d2e87;
  font-weight: 500;
  transition: 0.2s;
}

.custom-dropdown .dropdown-item:hover {
  background-color: #f0f2f5;
  color: #2d2e87;
}

.custom-title {
  font-family: 'Arial', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.1rem;
  margin-bottom: 30px;
}

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

.blue-Lyreco{
  color: #2d2e87;
}
.green-Lyreco{
  color: #9AC31C;
}

.custom-paragraph{
  font-size: 1.1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: #2d2e87;
  line-height: 1.6;
}

/* pour la grille */
.card-space {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 350px;
}
  

.card-space img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transition: filter 0.3s ease, transform 0.5s ease;
  z-index: 1;
}

.card-space:hover img {
  filter: blur(0);
  transform: scale(1.05);
}

.card-space h4 {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  z-index: 2;
  text-shadow: 0 0 5px #000;
  margin: 0;
}

a {
  color: inherit;
}
/*enlever le flou*/
@media (max-width: 767.98px) {
  .card-space img {
    filter: none !important;
    transform: none !important;
  }
} 


/* Hauteurs personnalisées */
.h-150 { height: 150px; }
@media (max-width: 768px){
  .h-150{
    height: 150px;
  }
} 

.h-250 { height: 250px; }
@media (max-width: 768px){
  .h-250{
    height: 150px;
  }
} 

.h-350 { height: 350px; }
@media (max-width: 768px){
  .h-350{
    height: 150px;
  }
} 

.h-400 { height: 400px; }
@media (max-width: 768px){
  .h-400{
    height: 150px;
  }
} 

.h-550 { height: 550px; }
@media (max-width: 768px){
  .h-550{
    height: 150px;
  }
} 



/* promesses */
.card-custom {
  position: relative;
  overflow: hidden;
  border: 1.5px solid #2E2E82;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  color: #2E2E82;
  height: 100%;
  transition: box-shadow 0.3s ease;
}
.card-custom .card-content{
  transition: 0.3 ease;
  position: relative;
  z-index: 1;
}

.card-custom .hover-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 2;
  color: #2d2e87;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.3 ease;
  padding: 1rem;
}

.card-custom:hover .hover-text{
  opacity: 1;
}

.card-custom:hover .card-content{
  opacity: 0;
}

.card-custom img {
  width: 100%;
  max-width: 160px;
  height: auto;
  object-fit: contain;
  
}

.card-custom:hover {
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
  }

.logo {
    max-width: 100%;
    height: auto;
  }

.background-photo {
  background-image: url(images/background_motif.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 65vh; 
}

  @media (max-width: 768px){
    .background-photo{
      height: 95vh;
    }
  } 

/* animation nos promesses */
.zoom-in-on-scroll {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.zoom-in-on-scroll.visible {
  opacity: 1;
  transform: scale(1);
}

/* video*/
  
.video-title {
  color: #2d2e87;    
  font-family: 'Arial', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
}




/* pour le carousel logo */

.logo-img {
  max-height: 80px;
  object-fit: contain;
}

.carousel-indicators {
  gap: 0.5rem;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #aaa;
  opacity: 0.6;
  border: none;
}

.carousel-indicators .active {
  background-color: #2d2e87;
  opacity: 1;
}

.carousel-item {
  padding: 1rem 0;
}


/* page lieu de travail */

/* grille */
.image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 25%; /* Ratio 16:9 */
  overflow: hidden;
  border-radius: 4px;
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.small-image{
  padding-top: 40%;
}

.row.g-3 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

@media (max-width: 767.98px) {
  .image-wrapper {
    padding-top: 35%;
  }
}

@media (max-width: 767.98px) {
  .row-small-images {
    display: none !important;
  }
}

.text-part {
  color: #2d2e87;
  padding: 30px;
  border-radius: 8px;
}

/* produits */

.product-card {
  border: 1px solid #2d2e87;
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image {
  background-color: #eaeaf3; /* fond derrière image PNG */
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px; /* ajustable */
}

.product-image img {
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  background-color: white;
  text-align: left;
}

.product-info h5,
.product-info p {
  margin: 0 0 10px;
  color: #2d2e87;
  font-size: 14px;
}

.btn-custom {
  display: inline-block;
  background-color: #9AC31C;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 14px;
  margin-top: 10px;
}

.btn-custom:hover {
  background-color: #9AC31C;
}

.background-produits {
  background-image: url(images/background_motif.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* nos promesses*/
.encart {
  border: 2px solid #2d2e87;
  border-radius: 10px;
  padding: 2rem;
}

.bloc-img {
  border-radius: 6px;
  padding: 0.5rem;
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .row > div {
    margin-bottom: 1rem;
  }
}

/* nos promesses - expertise */

.custom-layout {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* TITRE PRINCIPAL */
.main-title {
  color: #9AC31C;
  font-weight: bold;
  font-size: 2rem;
}

/* TEXTE GÉNÉRAL */
.long-line,
.subline,
.line,
.col-text {
  color: #2d2e87;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* SOUS-TITRES */
.subtitle,
.section-title,
.right-box-title {
  color: #2d2e87;
  font-weight: bold;
}

.section-title-big {
  color: #2d2e87;
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* COLONNE GAUCHE */
.left-section {
  border-left: 3px solid #9AC31C;
  padding-left: 1rem;
}

/* BLOC DROITE */
.right-box {
  border: 2px solid #2d2e87;
  border-radius: 10px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.right-box-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* TEXTE EN COLONNE */
.col-text {
  font-size: 0.85rem;
  line-height: 1,8;
}



/* proximité */

.custom-list {
  color: #2d2e87;
  padding-left: 0.95rem;
  list-style-type: disc;
}
.custom-list li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Cartes */
.photo-card {
  background-color: #ddd;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  color: #2d2e87;
  text-align: center;
  border-radius: 4px;
}

.photo-content {
  flex: 1;
  display: flex;
  height: 200px;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #1d1b64;
  overflow: hidden;
}
.photo-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-footer {
  text-align: left;
  padding: 0.5rem 0.75rem;
  color: #fff;
}

.photo-footer strong {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.3rem;
}

.photo-card.overlay-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
}

/* Image pleine hauteur */
.img-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Texte superposé sur l'image en bas à gauche */
.overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0.75rem 1rem;
  color: white;
  text-align: left;
  z-index: 2;
  width: 100%;
}

.overlay-text strong {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.25rem;
}



/*Excellence logistique*/
.stats-video .stat-number {
  font-weight: bold;
  font-size: 1.5rem;
  color: #2d2e87;
}

.stats-video .stat-text {
  color: #2d2e87;
  font-size: 0.9rem;
  margin: 0;
}

/*Achats Responsable*/
.btn-custom:hover {
  background-color: #9AC31C;
}




.cookie-banner {
  display: none; /* cachée par défaut */
  background-color: rgb(45,46,135);
  color: #fff;
  padding: 12px 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}

/* Message texte */
.cookie-banner span {
  font-size: 14px;
}

/* Boutons sobres mais visibles */
.cookie-banner button {
  background-color: #fff;
  border: none;
  color: rgb(45, 46, 135);
  padding: 6px 14px;
  margin-left: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  transition: all 0.2s;
}

.cookie-banner button:hover {
  background-color: #e0e0ff;
}

.cookie-banner.hide {
  opacity: 0;
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}