/* PBN override */

/* скрыть intro-видео, разблокировать scroll */
#launch { display: none !important; }
html.pop, body.pop { height: auto !important; overflow: auto !important; }
body { overflow-x: hidden; }

/* ====== ОБЩИЙ КОНТЕЙНЕР ====== */
.bloque { width: 960px; max-width: 100%; box-sizing: border-box; }
#main { width: 960px; max-width: 100%; margin: 0 auto; padding-top: 80px; overflow: visible !important; }
.section { display: block !important; opacity: 1 !important; visibility: visible !important; }

/* паттерн — убрать z-index чтобы не закрывал текст */
.pattern { z-index: 0; }

/* ====== HOME3 ====== */
#home3 { margin-top: 40px; padding-bottom: 60px; position: relative; }
#home3 .pattern { position: static; width: 100%; height: 200px; margin-bottom: 20px; }
#home3 h1 { padding: 20px 0 20px 0; font-size: 56px; }
#home3 .texte { padding: 0; font-size: 18px; max-width: 600px; }

/* ====== REALISATIONS ====== */
#realisations {
  height: auto;
  overflow: visible;
  margin: 60px 0;
  background: #111;
  padding: 0;
}
#realisations img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  position: static;
  display: block;
  z-index: 1;
}
#realisations img.dessous { display: none; }
#realisations h2 { color: #fff; margin: 20px 0 10px 10px; font-size: 56px; }
#realisations .bouton {
  color: #000;
  background: #fff;
  margin: 0 0 20px 15px;
  display: inline-block;
}
#nomprojet { position: static; display: block; color: #ccc; padding: 0 0 20px 15px; }

/* ====== NOUVELLES ====== */
#nouvelles { margin: 60px 0 50px; padding: 0; }
#nouvelles h2 { margin-bottom: 30px; margin-left: 0; font-size: 56px; }
#nouvelles .news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}
#nouvelles div.actus {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
#nouvelles div.actus img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
}

/* ====== VIDEOS ====== */
#videos { width: 100%; margin: 60px 0; }
#videos video { width: 100%; height: auto; display: block; }

/* ====== SERVICES ====== */
#services {
  display: block;
  padding-top: 20px;
  margin-top: 60px;
  margin-bottom: 40px;
}
#services .pattern { position: static; width: 100%; height: 120px; margin-bottom: 10px; }
#services h2 { font-size: 56px; margin-left: 0; margin-bottom: 20px; }
#services .liste {
  margin-left: 0;
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
}
#services .liste span { font-size: 14px; padding-bottom: 12px; }

/* ====== CLIENTS ====== */
#clients {
  display: block;
  padding-top: 20px;
  margin-top: 60px;
  margin-bottom: 40px;
}
#clients .pattern { position: static; width: 100%; height: 120px; margin-bottom: 10px; }
#clients h2 { font-size: 56px; margin-left: 0; width: auto; margin-bottom: 20px; }
#clients .liste {
  width: 100%;
  margin-left: 0;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
#clients span {
  width: auto;
  min-width: 160px;
  font-size: 11px;
}

/* ====== DISTINCTIONS ====== */
#distinctions {
  display: block;
  padding-top: 20px;
  margin-top: 60px;
  margin-bottom: 40px;
}
#distinctions .pattern { position: static; width: 100%; height: 120px; margin-bottom: 10px; }
#distinctions h2 { font-size: 56px; margin-left: 0; width: auto; margin-bottom: 20px; }
#distinctions .liste {
  width: 100%;
  margin-left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
#distinctions span {
  height: auto;
  overflow: visible;
  width: auto;
  display: block;
  margin-right: 0;
}
#distinctions span.sep {
  grid-column: 1 / -1;
  width: 100%;
  display: block;
  padding-top: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #111;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
}
#distinctions span.vide { display: none; }
#distinctions span.left,
#distinctions span.right { float: none; margin-right: 0; }

/* ====== FOOTER ====== */
#footer { margin-top: 60px; }
#footer .bloque {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  overflow: hidden;
  width: 960px;
  max-width: 100%;
}
#footer .left { float: none; padding: 50px; }
#footer .right { float: none; padding: 50px; text-align: right; }
