/* Sections générales */
.builder-section {
  margin-top: 4rem;
}

/* Titres */
.builder-section h2,
.builder-section h3,
.builder-section h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.builder-section h2 { font-size: 2rem; }
.builder-section h3 { font-size: 1.5rem; }
.builder-section h4 { font-size: 1.25rem; color: #555; }

/* Texte */
.builder-section .content {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}
.builder-section .content p:last-of-type,.intro p:last-of-type{
    margin-bottom: 0;
}

/* Images */


/* Galerie */
.builder-section .row.g-3 img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.builder-section .row.g-3 img:hover {
  transform: scale(1.03);
  box-shadow: none;
}

/* Vidéo wrapper */
/*
.video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.video-wrapper img.video-thumb,
.video-wrapper iframe.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-play {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.8);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.btn-play i { color: #000; }*/

.row.g-3 img { transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; }
.row.g-3 img:hover { transform: scale(1.03); box-shadow: 0 6px 15px rgba(0,0,0,0.1); }

img.img-fluid.rounded.shadow { border-radius: 0.5rem; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }


/* Égaliser les hauteurs image/texte */
.equal-height-row {
    display: flex;
    align-items: stretch!important;
}

.equal-height-row .responsive-bg-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.equal-height-row .responsive-bg,
.equal-height-row .responsive-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive : annuler sur mobile */
@media (max-width: 767.98px) {
    .equal-height-row {
        display: block;
    }
    
    .equal-height-row .responsive-bg-container {
        height: auto;
    }
}