/*
 Theme Name:   Business One Page Child
 Theme URI:    http://ton-site.com
 Description:  Thème enfant de Business One Page
 Author:       Ton Nom
 Author URI:   http://ton-site.com
 Template:     business-one-page
 Version:      1.0.0
*/

/* ================================================
   MON CSS PERSONNALISÉ
   ================================================ */


/* Import de la police Libertinus */
@import url('https://cdn.jsdelivr.net/npm/libertinus-fonts@7.040/files/LibertinusSerif-Regular.woff2');

@font-face {
  font-family: 'Libertinus';
  src: url('https://cdn.jsdelivr.net/npm/libertinus-fonts@7.040/files/LibertinusSerif-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Libertinus';
  src: url('https://cdn.jsdelivr.net/npm/libertinus-fonts@7.040/files/LibertinusSerif-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Libertinus';
  src: url('https://cdn.jsdelivr.net/npm/libertinus-fonts@7.040/files/LibertinusSerif-Italic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
}

body {
  font-family: 'Libertinus', serif;
}


/* Application de la police à toutes les sections */
h1, h2, h3, h4, h5, h6,
p, a, li, span, address,
.section-title,
.site-title,
.widget-title {
  font-family: 'Libertinus', serif !important;
}


/* Bannière photo+crédits (ne fonctionne qu'avec le code java) */
#banner-hero {
  width: 100%;
  height: 500px;
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/7/70/La_Ciotat_-_Marina.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}
#banner-hero .credit {
  position: absolute;
  bottom: 6px;
  right: 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.3);
  padding: 2px 6px;
  border-radius: 3px;
}
#banner-hero .credit a {
  color: rgba(255,255,255,0.8);
}

/* Cache le contenu original */
#clients .clients-holder {
  display: none;
}

/* Carrousel clients*/
#clients-carousel {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  position: relative;
}

#clients-track {
  display: flex;
  gap: 60px;
  will-change: transform;
}

#clients-track img {
  height: 60px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: opacity 0.3s, filter 0.3s;
}

#clients-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

#services {
  background-color: rgba(0, 127, 30, 0.05) !important;
}

#about {
  background-color: rgba(0, 127, 30, 0.05) !important;
}

#clients {
  background-color: rgba(0, 127, 30, 0.05) !important;
}

#contact-custom {
  background-color: rgba(0, 127, 30, 0.05) !important;
}


/* Image de fond pour la section clients */
#clients {
  background-image: url('https://omcsl.fr/wp-content/uploads/2026/05/20250112_105015420-scaled.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}


/* Traitement de l'image de fond */
#clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* dernier chiffre en 0 et 1 à adapter  */
  z-index: 0;
}

#clients .container {
  position: relative;
  z-index: 1; /* garde le contenu au-dessus du filtre */
}

#clients-carousel {
  position: relative;
  z-index: 1;
}







/* Fonte spéciale pour la police du titre */
@font-face {
  font-family: 'LibertinusDisplay';
  src: url('https://cdn.jsdelivr.net/npm/libertinus-fonts@7.040/files/LibertinusSerif-Display.woff2') format('woff2');
  font-weight: normal;
}