/* ===========================================
   STYLES PAGES RÉALISATIONS - en2clic
   =========================================== */

/* Hero Section */
.realisation-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}
.realisation-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-bg, none) center/cover no-repeat;
    opacity: 0.1;
}

/* Fil d'Ariane */
.breadcrumb-nav {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1.5rem;
}
.breadcrumb-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
}
.breadcrumb-nav a:hover {
    color: #F37021;
}
.breadcrumb-nav span {
    color: rgba(255,255,255,0.5);
    margin: 0 0.5rem;
}
.breadcrumb-nav .current {
    color: #fff;
}

/* Titre et sous-titre */
.realisation-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
.realisation-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
}

/* Métadonnées */
.realisation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}
.meta-item i,
.meta-item .icon {
    color: #F37021;
    width: 20px;
}

/* Badges technologies */
.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.tech-badge {
    background: rgba(243, 112, 33, 0.2);
    color: #F37021;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Bouton visiter le site */
.btn-visit-site {
    background: #F37021;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-visit-site:hover {
    background: #e06010;
    color: #fff;
    transform: translateY(-2px);
}

/* Section contenu */
.realisation-content {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Cartes de contenu */
.content-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}
.content-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.content-card h3 i,
.content-card h3 .icon {
    color: #F37021;
}
.content-card p {
    color: #555;
    line-height: 1.8;
}
.content-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.content-card ul li {
    padding: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.content-card ul li i,
.content-card ul li .icon {
    color: #F37021;
    margin-top: 0.25rem;
}

/* Carte CTA */
.content-card.cta-card {
    background: linear-gradient(135deg, #F37021 0%, #e06010 100%);
    color: #fff;
}
.content-card.cta-card h3 {
    color: #fff;
}
.content-card.cta-card h3 i,
.content-card.cta-card h3 .icon {
    color: #fff;
}
.content-card.cta-card p {
    color: rgba(255,255,255,0.9);
}

/* Section galerie */
.gallery-section {
    padding: 60px 0;
    background: #1a1a2e;
}
.gallery-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
}
.gallery-item:hover {
    transform: scale(1.02);
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.gallery-item-caption {
    background: rgba(26, 26, 46, 0.95);
    padding: 1rem;
    color: #fff;
    font-size: 0.9rem;
}

/* Section CTA */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F37021 0%, #e06010 100%);
    text-align: center;
}
.cta-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.cta-text {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.btn-cta-white {
    background: #fff;
    color: #F37021;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.btn-cta-white:hover {
    background: #f8f9fa;
    color: #e06010;
    transform: translateY(-2px);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}
.lightbox-close,
.lightbox-nav {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #F37021;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 112, 33, 0.3);
}
.lightbox-close {
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    line-height: 1;
}
.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}
.lightbox-close:hover,
.lightbox-nav:hover {
    background: #d95d1b;
}
.lightbox-nav:hover {
    transform: translateY(-50%) scale(1.1);
}
.lightbox-close:hover {
    transform: scale(1.1);
}
.lightbox-prev {
    left: 1.5rem;
}
.lightbox-next {
    right: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .realisation-hero {
        padding: 120px 0 60px;
    }
    .realisation-title {
        font-size: 1.8rem;
    }
    .realisation-subtitle {
        font-size: 1rem;
    }
    .realisation-meta {
        gap: 1rem;
    }
    .content-card {
        padding: 1.5rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
