/* Template single-projet — appliqué automatiquement à tous les projets */

.lcf-projet-slider {
    width: 100%;
    margin: 0;
    padding: 0;
}

.lcf-projet-slider-main {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    background: #eef2f5;
}

.lcf-projet-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.lcf-projet-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.lcf-projet-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.lcf-projet-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

button.lcf-projet-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.35) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button.lcf-projet-slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.6) !important;
}

.lcf-projet-slider-prev {
    left: 16px;
}

.lcf-projet-slider-next {
    right: 16px;
}

.lcf-projet-slider-thumbs {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    padding: 0 24px;
    overflow-x: auto;
    justify-content: center;
}

button.lcf-projet-slider-thumb {
    flex: 0 0 240px;
    height: 160px;
    padding: 0;
    border: 2px solid transparent !important;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background-color: transparent !important;
    color: transparent !important;
    opacity: 0.6;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

button.lcf-projet-slider-thumb.is-active,
button.lcf-projet-slider-thumb:hover {
    opacity: 1;
    border-color: #61BCD9 !important;
}

.lcf-projet-slider-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lcf-projet-body {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1100px;
    margin: 32px auto 0;
    padding: 0 24px;
}

.lcf-projet-main {
    flex: 1 1 auto;
    min-width: 0;
}

.lcf-projet-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.lcf-projet-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 4px;
    font-family: inter;
}

.lcf-projet-subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.lcf-projet-badge {
    flex: none;
    padding: 6px 14px;
    border-radius: 999px;
    background: #FFF7CD;
    border: 1px solid #FFAE00;
    color: #b06f00;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.lcf-projet-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 32px;
}

.lcf-projet-description p {
    margin: 0 0 1.2em;
}

.lcf-projet-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.lcf-projet-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.lcf-projet-stat {
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    border-radius: 4px;
    background: #61BCD926;
}

.lcf-projet-stat-label {
    font-size: 0.8rem;
    color: #5C626B;
}

.lcf-projet-stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2d3d;
}

.lcf-projet-map {
    width: 100%;
    height: 260px;
    border-radius: 6px;
    overflow: hidden;
}

.lcf-projet-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.lcf-projet-sidebar {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lcf-projet-quote {
    margin: 0;
    padding: 20px;
    background: #61BCD926;
    border-radius: 6px;
}

.lcf-projet-quote-heading {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: #1f2d3d;
}

.lcf-projet-quote p {
    margin: 0;
    font-style: italic;
    line-height: 1.6;
    color: #333;
}

.lcf-projet-box {
    padding: 20px;
    background: #61BCD926;
    border-radius: 6px;
}

.lcf-projet-box h3 {
    margin: 0 0 12px;
    font-size: 0.95rem;
}

.lcf-projet-finance-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lcf-projet-finance-list li {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.lcf-projet-finance-label {
    color: #5C626B;
    font-size: 0.8rem;
}

.lcf-projet-finance-value {
    font-weight: 600;
    color: #1f2d3d;
}

.lcf-projet-progress {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #ffffff;
    overflow: hidden;
    margin-bottom: 6px;
}

.lcf-projet-progress-bar {
    height: 100%;
    background: #61BCD9;
    border-radius: 4px;
}

.lcf-projet-progress-label {
    font-size: 0.8rem;
    color: #5C626B;
}

.lcf-projet-documents {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lcf-projet-documents a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3f7ea6;
    text-decoration: none;
    font-size: 0.9rem;
}

.lcf-projet-documents a:hover {
    text-decoration: underline;
}

.lcf-projet-back {
    max-width: 1100px;
    margin: 32px auto 64px;
    padding: 0 24px;
}

.lcf-projet-back a {
    color: #3f7ea6;
    text-decoration: none;
    font-size: 0.95rem;
}

.lcf-projet-back a:hover {
    text-decoration: underline;
}

/* Tablette */
@media (max-width: 1024px) {
    .lcf-projet-slider-main {
        height: 340px;
    }

    .lcf-projet-body {
        flex-direction: column;
        max-width: 100%;
    }

    .lcf-projet-sidebar {
        flex: none;
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .lcf-projet-slider-main {
        height: 220px;
    }

    .lcf-projet-slider-thumb {
        flex-basis: 150px;
        height: 100px;
    }

    .lcf-projet-heading {
        flex-direction: column;
    }

    .lcf-projet-title {
        font-size: 1.25rem;
    }

    .lcf-projet-stats {
        flex-direction: column;
    }
}
