/* ==================== */
/* PAGE PROJET */
/* ==================== */

.project-hero {
    min-height: 0 !important;
    height: auto !important;
    padding: 60px 0 90px !important;
}

.project-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.project-main-image {
    width: 100%;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-main-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.project-content {
    color: #ffffff;
}

.project-title {
    font-size: 90px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 40px 0;
    letter-spacing: -2px;
}

.project-description {
    margin-bottom: 50px;
}

.project-description p {
    font-size: 19px;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 10px 0;
}

.project-description p:nth-of-type(1) {
    margin-bottom: 20px;
}

.project-description p:nth-of-type(2) {
    margin-bottom: 20px;
}

.project-description .project-info {
    margin-top: 20px;
    margin-bottom: 2px;
    font-size: 16px !important;
}

.project-description .project-info:last-of-type {
    margin-bottom: 0;
}

.project-description .project-info strong {
    font-weight: 700;
}

.project-tools {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-auto-rows: auto;
    gap: 50px;
    align-items: start;
}

.tools-label {
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    grid-column: 1;
    grid-row: 1;
}

.tools-icons {
    display: flex;
    align-items: center;
    gap: 30px;
}

.tools-row {
    display: flex;
    align-items: center;
    gap: 40px;
    grid-column: 1 / -1;
    grid-row: 2;
}

.tool-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.camera-model {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin: -15px 0 0 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
}

/* ==================== */
/* FIL D'ARIANE */
/* ==================== */

.breadcrumb-section {
    background-color: #000000;
    padding: 120px 0 20px;
    border-bottom: none;
    position: relative;
    z-index: 5;
    margin-top: 0;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    font-size: 20px;
    color: #ffffff;
}

.breadcrumb-separator-gray {
    color: #999999 !important;
}

.breadcrumb-container a {
    color: #999;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.breadcrumb-container a:hover {
    color: #ffffff;
}

.breadcrumb-container span {
    color: #ffffff;
    text-decoration: none;
}

/* ==================== */
/* GALERIE */
/* ==================== */

.project-gallery {
    background-color: #000000;
    padding: 0 0 100px;
    width: 100%;
}

.gallery-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-scroll:active {
    cursor: grabbing;
}

.gallery-track {
    display: flex;
    gap: 60px;
    padding: 0 60px;
    width: max-content;
}

.gallery-item {
    flex-shrink: 0;
    width: auto;
    height: 600px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img,
.gallery-item video {
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ==================== */
/* RESPONSIVE */
/* ==================== */

@media (max-width: 1200px) {
    .project-container {
        padding: 0 40px;
        gap: 60px;
    }

    .project-title {
        font-size: 60px;
    }

    .project-description p {
        font-size: 16px;
    }

    .tools-label {
        font-size: 28px;
    }

    .tool-icon {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .project-hero {
        padding: 120px 0 60px;
    }

    .project-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .project-main-image {
        padding: 40px;
    }

    .project-title {
        font-size: 48px;
    }

    .project-description p {
        font-size: 15px;
    }

    .tools-label {
        font-size: 24px;
    }

    .tool-icon {
        width: 60px;
        height: 60px;
    }

    .breadcrumb-container {
        padding: 0 20px;
        font-size: 16px;
    }

    .gallery-item {
        height: 500px;
    }

    .gallery-track {
        padding: 0 0px;
        gap: 0px;
    }
}

@media (max-width: 480px) {
    .project-hero {
        padding: 100px 0 50px;
    }

    .project-container {
        padding: 0 15px;
    }

    .project-main-image {
        padding: 0px;
    }

    .project-title {
        font-size: 36px;
    }

    .project-description p {
        font-size: 14px;
    }

    .project-description .project-info p{
        font-size: 12px;
    }

    .tools-label {
        font-size: 24px;
    }

    .tool-icon {
        width: 50px;
        height: 50px;
    }

    .breadcrumb-container {
        padding: 0 15px;
        font-size: 14px;
    }

    .gallery-item {
        height: 400px;
    }
}

/* PRIORITÉ ABSOLUE : Modèles et Appareil */
p.project-info {
    font-size: 16px !important;
    margin-top: 20px !important;
    margin-bottom: 0px !important;
    line-height: 1 !important;
}

p.project-info:first-of-type:last-of-type {
    margin-top: 35px !important;
}

p.project-info:first-of-type:not(:last-of-type) {
    transform: translateY(15px) !important;
}

p.project-info:last-of-type:not(:first-of-type) {
    transform: translateY(-15px) !important;
}

p.project-info strong {
    font-weight: 700 !important;
}
/* ---- Fil d'ariane uniformisé mobile ---- */
@media (max-width: 768px) {
    .breadcrumb-section,
    .breadcrumb-section-video {
        padding: 100px 0 20px !important;
    }
    .breadcrumb-container,
    .breadcrumb-container-video {
        font-size: 16px !important;
    }
}
@media (max-width: 480px) {
    .breadcrumb-section,
    .breadcrumb-section-video {
        padding: 100px 0 20px !important;
    }
    .breadcrumb-container,
    .breadcrumb-container-video {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .project-description p { font-size: 14px !important; }
    .project-description p.project-info { font-size: 12px !important; }
    .project-tools { margin-top: 30px !important; }
    .tool-icon { width: 80px !important; height: 80px !important; }
}
@media (max-width: 480px) {
    .project-description p { font-size: 14px !important; }
    .project-description p.project-info { font-size: 12px !important; }
    .project-tools { margin-top: 30px !important; }
    .tool-icon { width: 80px !important; height: 80px !important; }
}

/* ---- Logiciels uniformisés mobile ---- */
@media (max-width: 768px) {
    .tools-label,
    .pv-tools-label {
        font-size: 24px !important;
        text-align: left !important;
    }
    .tools-icons img,
    .pv-tools-icons img,
    .tool-icon {
        width: 80px !important;
        height: 80px !important;
    }
    .tools-icons,
    .pv-tools-icons {
        margin-left: 0 !important;
        margin-top: 10px !important;
        justify-content: flex-start !important;
    }
    .project-video-tools,
    .project-tools,
    .pv-tools {
        align-items: flex-start !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }
}
@media (max-width: 480px) {
    .tools-label,
    .pv-tools-label {
        font-size: 24px !important;
        text-align: left !important;
    }
    .tools-icons img,
    .pv-tools-icons img,
    .tool-icon {
        width: 80px !important;
        height: 80px !important;
    }
    .tools-icons,
    .pv-tools-icons {
        margin-left: 0 !important;
        margin-top: 10px !important;
        justify-content: flex-start !important;
    }
    .project-video-tools,
    .project-tools,
    .pv-tools {
        align-items: flex-start !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }
}