:root {
  --bg: #fff;
  --accent: #1e6bff;
  --overlay: #00f; /* bleu électrique pur, opaque */
}

.columns {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.col {
  flex: 1;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff; /* reste blanc */
  opacity: 1;
  transition: flex 0.5s ease, opacity 0.5s ease, background 0.5s ease;
}

.col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  display: block;
}

/* Overlay bleu électrique opaque */
.col::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 5;
  transition: background 0.5s ease;
}

/* Appliquer l'overlay bleu pur sur survol */
.col:hover::after {
  background: var(--overlay);
}

/* Colonnes non survolées disparaissent */
.columns:hover .col:not(:hover) {
  opacity: 0;
}

/* L’image survolée prend tout l’écran */
.col:hover img {
  position: fixed;
  top: 50%;
  left: 50%;
  width: auto;
  height: 90vh;
  object-fit: contain;
  transform: translate(-50%, -50%) scale(1.1);
  z-index: 999;
  transition: transform 0.5s ease, width 0.5s ease, height 0.5s ease;
}

/* Label disparaît sur survol */
.label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-weight: 700;
  text-shadow: 0 4px 18px rgba(0,0,0,.3);
  pointer-events: none;
  color: #000;
  transition: opacity 0.5s ease;
}

.col:hover .label {
  opacity: 0;
}

.overlay-text {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  color: #fff;
  opacity: 0;
  z-index: 10;
  transition: opacity 0.5s ease;
  text-align: justify; /* Justification automatique */
  pointer-events: none; /* ne bloque pas le survol */
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
		font-size: 14px;
}
.overlay-text h{
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-weight: bold;
}

.col:hover .overlay-text {
  opacity: 1;
}

/* Optionnel : styles pour les titres et paragraphes */
.overlay-text h2 {
  margin: 0 0 10px 0;
  font-size: 1.5em;
}

.overlay-text p {
  margin: 0;
  font-size: 1em;
  line-height: 1.4em;
}
 
  .bouton-projets {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: blue; /* bleu du texte */
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    text-decoration: none; /* pas de soulignement */
    background: none; /* pas de fond */
    border: none; /* pas de contour */
    padding: 8px 12px;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 1000;
  }

  .bouton-projets:hover {
    color: #0056b3; /* bleu plus foncé au survol */
    transform: translateY(-2px);
  }