.be-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

/* HERO */
.be-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}

.be-hero-content {
    flex: 1;
}

.be-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.be-hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.be-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #005bbb;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.be-btn:hover {
    background: #003f88;
}

/* SWIPER HERO */
.be-hero-swiper {
    width: 45%;
    border-radius: 12px;
    overflow: hidden;
}

.be-hero-swiper img {
    width: 100%;
    height: auto;
    display: block;
}

/* LIGHTBOX HERO SWIPER */
#be-hero-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#be-hero-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.be-lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 100000;
}

.be-hero-lightbox-swiper {
    width: 90vw;
    height: 90vh;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

.swiper-pagination-bullet {
    background: #fff;
}


/* SECTIONS */
.be-section {
    margin-bottom: 80px;
    text-align: center;
}

.be-section h2 {
    font-size: 32px;
    margin-bottom: 60px;
}

.be-text {
    max-width: 800px;
    margin: auto;
    font-size: 18px;
    line-height: 1.6;
}

/* GALERIE 4 IMAGES */
.be-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.be-gallery-item {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.be-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.be-gallery-item:hover img {
    transform: scale(1.08);
}

/* Responsive */
@media (max-width: 900px) {
    .be-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .be-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* LIGHTBOX */
#be-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#be-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.be-lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.be-lightbox-close:hover {
    transform: scale(1.2);
}



/* METHOD */
.be-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.be-step {
    background: #f7f9fc;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
}

.be-step:hover {
    transform: translateY(-5px);
}

.be-step-number {
    display: inline-block;
    background: #005bbb;
    color: #fff;
    padding: 10px 16px;
    border-radius: 50%;
    font-size: 18px;
    margin-bottom: 15px;
}

/* ============================
   MASONRY GALLERY
============================ */
.be-masonry{
  text-align: inherit;
}

.be-masonry-grid {
    column-count: 4;
    column-gap: 20px;
}

.be-masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
    cursor: zoom-in;
}

.be-masonry-item img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: transform .4s ease;
}

.be-masonry-item:hover img {
    transform: scale(1.05);
}

/* Variations de taille pour dynamiser la grille */
.be-masonry-item:nth-child(5n) img {
    height: 350px;
    object-fit: cover;
}

.be-masonry-item:nth-child(7n) img {
    height: 420px;
    object-fit: cover;
}

.be-masonry-item:nth-child(9n) img {
    height: 300px;
    object-fit: cover;
}


/* Responsive */
@media (max-width: 1200px) {
    .be-masonry-grid { column-count: 3; }
}
@media (max-width: 900px) {
    .be-masonry-grid { column-count: 2; }
}
@media (max-width: 600px) {
    .be-masonry-grid { column-count: 1; }
}

/* ============================
   LIGHTBOX SWIPER
============================ */
#be-masonry-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#be-masonry-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.be-lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 100000;
}

.be-masonry-lightbox-swiper {
    width: 90vw;
    height: 90vh;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

.swiper-pagination-bullet {
    background: #fff;
}


/* CONTACT */
.be-contact p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .be-hero {
        flex-direction: column;
    }

    .be-hero-swiper {
        width: 100%;
    }

    .be-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .be-steps {
        grid-template-columns: 1fr;
    }
}


/*Separateur*/

.be-separator-offset {
    width: 220px;
    height: 1px;
    background: #222;
    margin: 80px auto;
    border-radius: 3px;
    position: relative;
    animation: slideIn .7s ease forwards;
}

@keyframes slideIn {
    from { width: 0; opacity: 0; }
    to { width: 220px; opacity: 1; }
}
