/* ============================================
   HOME SCROLL - Simple Hero + Scrollable
   Section hero fixe, puis scroll normal
   ============================================ */

.seo-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Container principal */
.fullpage-container {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
}

/* ============================================
   SECTION HERO (Video + Blocs)
   ============================================ */

.hero-section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* --- Partie Video --- */
.video-part {
    position: relative;
    height: 60vh;
    min-height: 350px;
    background: #000;
    flex-shrink: 0;
}

.video-part #home-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
}

.video-part .video-logo {
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    z-index: 10;
}

.video-part .video-logo img {
    height: 150px;
    width: auto;
}

.video-part .video-buttons {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    display: flex;
    gap: 0.7rem;
    z-index: 10;
}

.video-part .video-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    backdrop-filter: blur(10px);
}

.video-part .video-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* --- Partie Blocs (Manifeste + Savoir-faire) --- */
.blocks-part {
    flex: 1;
    display: flex;
    background: #fff;
    min-height: 45vh;
}

.blocks-part .home-block {
    flex: 1;
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blocks-part .home-block-left {
    border-right: 1px solid #e5e5e5;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.maintenance-banner {
    text-align: center;
    background: #222;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    margin: 0;
    position: relative;
    z-index: 5;
}

.blocks-part .home-block-left a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.blocks-part .manifeste-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto 0;
}

.blocks-part .manifeste-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: #222;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    padding-left: 3rem;
}

.blocks-part .manifeste-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding-left: 3rem;
}

.blocks-part .manifeste-link:hover {
    color: #000;
}

.blocks-part .manifeste-link span {
    transition: transform 0.3s ease;
}

.blocks-part .manifeste-link:hover span {
    transform: translateX(6px);
}

.blocks-part .home-block-right {
    align-items: center;
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
}

.blocks-part .savoir-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #333;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.blocks-part .savoir-pictos {
    display: flex;
    gap: 4.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.blocks-part .savoir-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 160px;
}

.blocks-part .savoir-item img:first-child {
    width: 85px;
    height: 85px;
    object-fit: contain;
    margin-bottom: 0.8rem;
    transition: transform 0.4s ease;
}

.blocks-part .savoir-item:hover img:first-child {
    transform: scale(1.1);
}

.blocks-part .savoir-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #d0d0d0;
    color: #000;
    text-decoration: none;
    padding: 0.3rem 2.6rem;
    border-radius: 20px;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    height: 36px;
}

.blocks-part .savoir-btn .btn-logo {
    width: 22px !important;
    height: auto;
    filter: brightness(0);
    margin-top: 5px;
}

.blocks-part .savoir-btn:hover {
    background: #bfbfbf;
    color: #000;
    transform: translateY(-2px);
}

.blocks-part .savoir-item:hover .savoir-btn {
    background: #bfbfbf;
    color: #000;
    transform: translateY(-2px);
}

.blocks-part .savoir-item p {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
}

.blocks-part .savoir-item p strong {
    font-weight: 600;
}

/* ============================================
   SECTION SCROLLABLE
   Container avec scroll normal
   ============================================ */

.scrollable-section {
    width: 100%;
    background: #f5f5f5;
}

.scrollable-section .content-block {
    min-height: auto;
    padding: 0;
}

.scrollable-section .content-block.matieres-bg,
.scrollable-section .content-block.creation-bg,
.scrollable-section .content-block.project-row {
    min-height: 100vh;
}

/* ============================================
   BLOC MATIERES
   ============================================ */

.matieres-bg {
    background: url('images/home/gris2.jpg') center/cover no-repeat;
    display: grid;
    grid-template-columns: 365px 1fr 55%;
    min-height: 100vh;
    overflow: visible;
}

.matieres-left {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
    justify-content: center;
    overflow: visible;
}

.matieres-img-top {
    position: absolute;
    width: 158%;
    height: auto;
    top: 5%;
    left: 0%;
    z-index: 1;
    pointer-events: none;
}



.matieres-text-block {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    z-index: 10;
    margin: 1.5rem 0;
    margin-left: -100px;
    margin-right: -80px;
}

.matieres-text-block .bloc-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: -1;
}

.matieres-text-block .bloc-content {
    padding: 1.8rem 2.5rem;
}

.bloc-title-img {
    max-width: 280px;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.matieres-text-block h2 {
    font-size: 1.6rem;
    font-weight: 300;
    color: #222;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.matieres-text-block h2 .matieres-logo {
    width: 44px;
    height: auto;
}

.matieres-text-block h2 span {
    font-weight: 600;
}

.matieres-text-block p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.matieres-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.matieres-links a {
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.matieres-links a:hover {
    color: #000;
}

.matieres-links a span {
    transition: transform 0.3s ease;
}

.matieres-links a:hover span {
    transform: translateX(6px);
}

.matieres-right {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.matieres-img-main {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.matieres-right:hover .matieres-img-main {
    transform: scale(1.02);
}

.matieres-caption {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    font-style: normal;
    padding: 0;
    background: transparent;
    border-radius: 0;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    z-index: 999;
    max-width: 90%;
    text-align: center;
    pointer-events: none;
}

/* Wrapper for the plastor image so caption is positioned relative to the image */
.matieres-img-wrap {
    position: relative;
    width: 100%;
    display: block;
}

.matieres-img-wrap .matieres-caption {
    /* position relative to the image wrapper */
    bottom: 1rem;
}

/* ============================================
   BLOC CREATION (layout inverse)
   ============================================ */

.creation-bg {
    background: url('images/home/gris2.jpg') center/cover no-repeat;
    display: grid;
    grid-template-columns: 55% 1fr 365px;
    min-height: 100vh;
    overflow: visible;
}

.creation-left {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.creation-img-main {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.creation-left:hover .creation-img-main {
    transform: scale(1.02);
}

.creation-img-wrap {
    position: relative;
    width: 100%;
    display: block;
}

.creation-caption {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    font-style: normal;
    padding: 0;
    background: transparent;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    z-index: 999;
    max-width: 90%;
    text-align: center;
    pointer-events: none;
}

.creation-text-block {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    z-index: 10;
    margin: 1.5rem 0;
    margin-left: -80px;
    margin-right: -100px;
}

.creation-text-block .bloc-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: -1;
}

.creation-text-block .bloc-content {
    padding: 1.8rem 2.5rem;
}

.creation-text-block h2 {
    font-size: 1.6rem;
    font-weight: 300;
    color: #222;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.creation-text-block h2 .creation-logo {
    width: 44px;
    height: auto;
}

.creation-text-block h2 span {
    font-weight: 600;
}

.creation-text-block p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.creation-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.creation-links a {
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.creation-links a:hover {
    color: #000;
}

.creation-links a span {
    transition: transform 0.3s ease;
}

.creation-links a:hover span {
    transform: translateX(6px);
}

.creation-right {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
    justify-content: center;
    overflow: visible;
}

.creation-img-top {
    position: absolute;
    width: 202%;
    height: auto;
    top: -10%;
    right: 0%;
    z-index: 1;
    pointer-events: none;
}

.creation-img-bottom {
    width: 100%;
    height: auto;
}

/* ============================================
   TRUST BAND
   ============================================ */
.trust-band {
    background: #fff;
    text-align: center;
    padding: 1rem 0;
    border-top: none;
    border-bottom: none;
}

.trust-band h3 {
    margin: 0 0 0.6rem;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    font-style: italic;
    color: #111;
}

.trust-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: transparent;
    border-top: none;
    border-bottom: none;
    padding: 0.65rem 0;
}

.trust-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: trustMarquee 52s linear infinite;
    will-change: transform;
}

.trust-group {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.trust-name {
    display: block;
    flex: 0 0 auto;
    padding-right: 0;
    color: #111;
    font-size: 1.15rem;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-right: 2.6rem;
}

.trust-group .trust-name:last-child {
    margin-right: 3.2rem;
}

.trust-rolex {
    font-weight: 900;
    font-size: 1.28em;
    letter-spacing: 0.06em;
}

@keyframes trustMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-33.3333%);
    }
}

/* ============================================
   PROJECT ROW : image left + text right
   ============================================ */
.project-row {
    display: grid;
    grid-template-columns: 60% 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 3rem 4rem;
    background: #fff;
}

.project-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.project-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-text {
    max-width: 420px;
}

.project-text h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #222;
    margin-left: -2rem;
}

.project-quote {
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 600;
    color: #000;
    margin: 0 0 1rem 0;
}

.project-quote .quote-mark {
    font-size: 4rem;
    color: #999;
    font-style: normal;
    font-weight: 700;
    line-height: 0;
    vertical-align: middle;
}

.project-quote .quote-mark:first-child {
    margin-left: -1.7rem;
}

.project-quote .quote-text {
    color: #000 !important;
}

.project-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.project-btn {
    display: inline-block;
    background: #333;
    color: #fff;
    text-decoration: none;
    padding: 0.85rem 1.4rem;
    border-radius: 30px;
    font-weight: 600;
}

/* Overlays on project image */
.project-img-wrap {
    position: relative;
    display: inline-block; /* size equals image width so captions align to image */
    width: 85%; /* wrapper controls displayed image width so captions stick to image */
}

.project-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    color: #fff;
    z-index: 5;
    text-align: left;
    pointer-events: none;
}

.project-badge .badge-small {
    display: block;
    background: rgba(255,255,255,0.6); /* white-ish semi-transparent */
    color: #222;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 1rem; /* slightly larger */
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.project-badge .badge-title {
    display: block;
    background: transparent; /* no background as requested */
    color: #fff; /* white text over image */
    padding: 0;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.project-caption-left,
.project-caption-right {
    position: absolute;
    bottom: 12px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    z-index: 5;
}

.project-caption-left {
    left: 14px;
}

.project-caption-right {
    right: 14px;
}

@media (max-width: 1024px) {
    .project-row {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 1.2rem;
    }
    .project-right {
        order: 2;
    }
    .project-left {
        order: 1;
    }
    .project-text {
        max-width: none;
        text-align: center;
    }
    .project-text h2 {
        margin-left: 0;
        text-align: center;
    }
    .project-quote {
        text-align: center;
        display: block;
    }
    .project-quote .quote-mark:first-child {
        margin-left: 0;
    }
    .project-text p {
        text-align: center;
    }
    .project-btn {
        display: block;
        margin: 0 auto;
        width: fit-content;
    }
    .project-img-wrap {
        width: 100%;
    }
}

/* ============================================
   INDICATEURS DE NAVIGATION
   ============================================ */

.scroll-dots {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.scroll-dot.active {
    background: #333;
    transform: scale(1.3);
}

.scroll-dot:hover {
    background: #555;
}

/* ============================================
   RESPONSIVE - TABLETTES
   ============================================ */

@media (max-width: 1200px) {
    .video-part {
        height: 50vh;
    }
    
    .blocks-part .home-block {
        padding: 1.5rem 2rem;
    }
    
    .blocks-part .savoir-pictos {
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .matieres-bg {
        grid-template-columns: 120px 1fr 50%;
    }
    
    .matieres-img-top {
        width: 150%;
    }
    
    .matieres-text-block {
        padding: 2rem;
        margin-left: -40px;
        margin-right: -40px;
    }
    
    .creation-bg {
        grid-template-columns: 50% 1fr 120px;
    }
    
    .creation-img-top {
        width: 160%;
    }
    
    .creation-text-block {
        margin-left: -40px;
        margin-right: -40px;
    }
    
    .matieres-img-main,
    .creation-img-main {
        max-height: 460px;
    }
    
    .blocks-part .manifeste-text {
        font-size: 1.3rem;
        padding-left: 2rem;
    }
    
    .blocks-part .manifeste-link {
        padding-left: 2rem;
    }
    
    .blocks-part .savoir-item img:first-child {
        width: 75px;
        height: 75px;
    }
    
    .blocks-part .savoir-btn {
        font-size: 1.1rem;
        padding: 0.3rem 2rem;
    }
    
    .project-row {
        gap: 2rem;
        padding: 2.5rem 3rem;
    }
    
    .gallery-block {
        grid-template-columns: 300px 1fr;
        gap: 40px;
        padding: 30px 50px 10px 50px;
    }
    
    .gallery-main-wrap {
        height: 420px;
    }
}
 
@media (max-width: 1024px) {
    .video-part {
        height: 45vh;
        min-height: 260px;
    }
    
    .video-part .video-logo img {
        height: 55px;
    }
    
    .video-part .video-buttons {
        flex-wrap: wrap;
        max-width: 50%;
        justify-content: flex-end;
        gap: 0.4rem;
    }
    
    .video-part .video-btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.9rem;
    }
    
    .blocks-part {
        flex-direction: column;
        min-height: auto;
    }
    
    .blocks-part .home-block-left {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        text-align: center;
    }
    
    .blocks-part .manifeste-text {
        font-size: 1.1rem;
        padding-left: 0;
        text-align: center;
    }
    
    .blocks-part .manifeste-link {
        padding-left: 0;
        justify-content: center;
    }
    
    .blocks-part .savoir-pictos {
        gap: 2rem;
    }
    
    .blocks-part .savoir-item img:first-child {
        width: 65px;
        height: 65px;
    }
    
    .blocks-part .savoir-btn {
        font-size: 1rem;
        padding: 0.3rem 1.8rem;
    }

    .trust-band h3 {
        font-size: 0.95rem;
    }

    .trust-marquee {
        padding: 0.55rem 0;
    }

    .trust-track {
        animation-duration: 36s;
    }

    .trust-name {
        font-size: 0.95rem;
        margin-right: 2rem;
    }

    .trust-group .trust-name:last-child {
        margin-right: 2.4rem;
    }
    
    /* Matieres - réduire la colonne gauche */
    .matieres-bg {
        grid-template-columns: 100px 1fr 45%;
        overflow: hidden;
    }
    
    .matieres-left {
        overflow: hidden;
    }
    
    .matieres-img-top {
        width: 200%;
        top: 10%;
    }
    
    .matieres-text-block {
        margin-left: -30px;
        margin-right: -30px;
    }
    
    .matieres-text-block .bloc-content {
        text-align: center;
    }
    
    .matieres-text-block .bloc-title-img {
        margin: 0 auto;
    }
    
    .matieres-links {
        align-items: center;
    }
    
    .matieres-img-main {
        max-height: 400px;
    }
    
    /* Creation - réduire la colonne droite */
    .creation-bg {
        grid-template-columns: 45% 1fr 100px;
        overflow: hidden;
    }
    
    .creation-right {
        overflow: hidden;
    }
    
    .creation-img-top {
        width: 220%;
    }
    
    .creation-text-block {
        margin-left: -30px;
        margin-right: -30px;
    }
    
    .creation-text-block .bloc-content {
        text-align: center;
    }
    
    .creation-text-block .bloc-title-img {
        margin: 0 auto;
    }
    
    .creation-links {
        align-items: center;
    }
    
    .creation-img-main {
        max-height: 400px;
    }
    
    /* Project row */
    .project-row {
        gap: 1.5rem;
        padding: 2rem 2rem;
    }
    
    .project-text h2 {
        font-size: 1.3rem;
        margin-left: 0;
    }
    
    .project-quote {
        font-size: 1.2rem;
    }
    
    /* Gallery */
    .gallery-block {
        grid-template-columns: 250px 1fr;
        gap: 30px;
        padding: 30px 30px 10px 30px;
    }
    
    .gallery-thumb img {
        width: 120px;
        min-width: 120px;
        max-width: 120px;
        height: 85px;
        min-height: 85px;
        max-height: 85px;
    }
    
    .gallery-main-wrap {
        height: 380px;
    }
    
    .gallery-title {
        font-size: 1.3rem;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    /* Scroll normal sur mobile */
    .hero-section {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        transform: none !important;
        overflow: visible !important;
    }
    
    .scrollable-section {
        position: relative !important;
        height: auto !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        overflow: visible !important;
        z-index: 10 !important;
        margin-top: 0;
    }

    .scrollable-section .content-block.matieres-bg,
    .scrollable-section .content-block.creation-bg,
    .scrollable-section .content-block.project-row {
        min-height: auto;
    }
    
    .fullpage-container {
        overflow: visible !important;
    }

    .trust-band {
        padding: 0.75rem 0;
    }

    .trust-band h3 {
        font-size: 0.78rem;
        margin-bottom: 0.4rem;
    }

    .trust-marquee {
        padding: 0.45rem 0;
    }

    .trust-track {
        animation-duration: 32s;
    }

    .trust-name {
        font-size: 0.78rem;
        margin-right: 1.5rem;
    }

    .trust-group .trust-name:last-child {
        margin-right: 1.9rem;
    }
    
    body {
        overflow: auto !important;
        overflow-x: hidden !important;
    }
    
    /* VIDEO sur mobile */
    .video-part {
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        background: #fff;
    }

    .video-part #home-video {
        position: relative;
        height: 45vh;
        min-height: 250px;
        background: #000;
    }
    
    .video-part .video-logo {
        position: absolute;
        bottom: auto;
        top: 1rem;
        left: 1rem;
        z-index: 10;
    }
    
    .video-part .video-logo img {
        height: 45px;
    }
    
    /* Boutons SOUS la vidéo */
    .video-part .video-buttons {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
        gap: 0.5rem;
        max-width: 100%;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        padding: 10px 15px;
        background: transparent;
    }
    
    .video-part .video-btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.9rem;
        white-space: nowrap;
        background: rgba(255, 255, 255, 0.95);
    }
    
    /* Bloc blanc manifeste + savoir-faire : bien visible */
    .blocks-part {
        flex-direction: column;
        min-height: auto;
        flex: none;
        position: relative;
        z-index: 1;
        overflow: hidden;
    }
    
    .blocks-part .home-block {
        padding: 1.5rem;
    }
    
    .blocks-part .home-block-left {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }
    
    .blocks-part .manifeste-text {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .blocks-part .manifeste-link {
        justify-content: center;
    }
    
    .blocks-part .savoir-title {
        text-align: center;
    }
    
    .blocks-part .savoir-pictos {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .blocks-part .savoir-item {
        max-width: 130px;
        align-items: center;
        text-align: center;
    }
    
    .blocks-part .savoir-item img:first-child {
        width: 45px;
        height: 45px;
    }
    
    /* Matieres mobile - CENTRÉ */
    .matieres-bg {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        min-height: auto !important;
        align-items: center;
        background: #fff !important;
        overflow: visible;
        position: relative;
        z-index: 15;
    }
    
    .matieres-left {
        display: none !important;
        overflow: hidden;
    }

    .matieres-img-top {
        display: none !important;
    }
    
    .matieres-right {
        order: 2;
        width: 100%;
        height: auto;
        overflow: hidden;
        position: relative;
    }

    .matieres-img-wrap {
        width: 100%;
    }

    .matieres-img-main {
        max-height: none;
        width: 100%;
        height: 50vw;
        object-fit: cover;
        display: block;
    }
    
    .matieres-text-block {
        order: 1;
        margin: 0 !important;
        padding: 0;
        box-shadow: none;
        max-height: none;
        max-width: 100%;
        width: 100%;
        position: relative;
        z-index: 20;
        background: #fff;
        overflow: visible;
    }

    .matieres-text-block .bloc-bg-img {
        display: none;
    }
    
    .matieres-text-block .bloc-content {
        text-align: center;
        padding: 2.5rem 1.5rem;
        background: #fff;
    }
    
    .matieres-text-block .bloc-title-img {
        margin: 0 auto 1.5rem auto;
        max-width: 200px;
    }
    
    .matieres-text-block p {
        text-align: center;
        font-size: 0.85rem;
    }
    
    .matieres-links {
        align-items: center;
    }
    
    .matieres-text-block h2 {
        font-size: 1.2rem;
        justify-content: center;
    }
    
    .matieres-caption {
        bottom: 1rem;
        font-size: 1rem;
    }
    
    /* Creation mobile - m2 caché, prefa + texte */
    .creation-bg {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        min-height: auto !important;
        background: #fff !important;
    }
    
    .creation-right {
        display: none !important;
    }

    .creation-img-top {
        display: none !important;
    }
    
    .creation-left {
        order: 2;
        width: 100%;
        height: auto;
    }

    .creation-img-main {
        max-height: none;
        width: 100%;
        height: 50vw;
        object-fit: cover;
    }
    
    .creation-text-block {
        order: 1;
        margin: 0 !important;
        max-height: none;
        width: 100%;
        position: relative;
        z-index: 5;
        background: #fff;
    }

    .creation-text-block .bloc-bg-img {
        display: none;
    }
    
    .creation-text-block .bloc-content {
        text-align: center;
        padding: 2rem 1.5rem;
        background: #fff;
    }
    
    .creation-text-block .bloc-title-img {
        margin: 0 auto 1.5rem auto;
        max-width: 200px;
    }
    
    .creation-text-block p {
        text-align: center;
        font-size: 0.85rem;
    }
    
    .creation-links {
        align-items: center;
    }
    
    /* Project row mobile - CENTRÉ */
    .project-row {
        grid-template-columns: 1fr !important;
        padding: 2rem 1.5rem !important;
        gap: 1.5rem !important;
    }
    
    .project-right {
        order: 2;
    }
    
    .project-left {
        order: 1;
    }
    
    .project-text {
        max-width: none;
        text-align: center;
    }
    
    .project-text h2 {
        text-align: center;
    }
    
    .project-quote {
        justify-content: center;
    }
    
    .project-quote .quote-mark {
        display: none;
    }
    
    .project-text p {
        text-align: center;
    }
    
    .project-btn {
        display: block;
        text-align: center;
        margin: 0 auto;
    }
    
    .project-img-wrap {
        width: 100%;
    }
    
    /* Galerie mobile */
    .gallery-block {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 25px 20px 15px 20px !important;
    }
    
    .gallery-thumbnails {
        flex-direction: row;
        overflow-x: auto;
        gap: 15px;
        padding: 0 0 10px 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .gallery-thumb {
        flex-direction: column;
        gap: 8px;
        min-width: 110px;
        padding: 8px;
        width: 100%;
    }
    
    .gallery-thumb img {
        width: 100%;
        min-width: 100px;
        max-width: 120px;
        height: 75px;
        min-height: 75px;
        max-height: 75px;
    }
    
    .thumb-label {
        font-size: 0.65rem;
        text-align: center;
    }
    
    .gallery-main-content {
        max-width: 100%;
    }
    
    .gallery-title {
        font-size: 1.2rem;
        text-align: center;
        align-self: center;
    }
    
    .gallery-main-wrap {
        height: 280px;
        max-width: 100%;
    }
    
    .gallery-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
        bottom: 15px;
        right: 15px;
    }
    
    /* Cacher les dots sur mobile */
    .scroll-dots {
        display: none;
    }
}

/* ============================================
   RESPONSIVE - PETITS MOBILES
   ============================================ */

@media (max-width: 480px) {
    /* Video petit mobile */
    .video-part {
        height: auto;
        min-height: auto;
        background: #fff;
    }

    .video-part #home-video {
        height: 40vh;
        min-height: 220px;
    }
    
    .video-part .video-logo img {
        height: 38px;
    }
    
    .video-part .video-buttons {
        max-width: 100%;
        gap: 0.4rem;
        padding: 8px 10px;
    }
    
    .video-part .video-btn {
        font-size: 0.6rem;
        padding: 0.35rem 0.6rem;
    }
    
    .blocks-part .manifeste-text {
        font-size: 0.9rem;
    }
    
    .blocks-part .savoir-pictos {
        gap: 1rem;
    }
    
    .blocks-part .savoir-item img:first-child {
        width: 40px;
        height: 40px;
    }
    
    .blocks-part .savoir-btn {
        font-size: 0.7rem;
        padding: 0.35rem 0.8rem;
    }
    
    /* Galerie petits mobiles */
    .gallery-block {
        padding: 20px 15px 10px 15px !important;
    }
    
    .gallery-thumb {
        min-width: 95px;
    }
    
    .gallery-thumb img {
        height: 65px;
        min-height: 65px;
        max-height: 65px;
    }
    
    .thumb-label {
        font-size: 0.6rem;
    }
    
    .gallery-title {
        font-size: 1rem;
    }
    
    .gallery-main-wrap {
        height: 240px;
    }
    
    .gallery-btn {
        padding: 8px 14px;
        font-size: 0.75rem;
        bottom: 10px;
        right: 10px;
    }
    
    /* Project petit mobile */
    .project-text h2 {
        font-size: 1.3rem;
    }
    
    .project-quote {
        font-size: 0.9rem;
    }
    
    .project-btn {
        font-size: 0.8rem;
        padding: 0.8rem 1.5rem;
    }
}

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

.gallery-block {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    padding: 30px 80px 10px 80px;
    background: #fff;
    min-height: auto;
    margin-bottom: 0;
}

.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 70px;
    width: 100%;
}

.gallery-thumb {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 30px 16px 20px;
    border-radius: 0;
    transition: all 0.3s ease;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}

.gallery-thumb:hover {
    background: rgba(0, 0, 0, 0.04);
}

.gallery-thumb.active {
    background: rgba(0, 0, 0, 0.06);
}

.gallery-thumb img {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    height: 100px;
    min-height: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.gallery-thumb:hover img {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.gallery-thumb.active img {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.thumb-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.5px;
    line-height: 1.4;
    flex: 1;
}

.gallery-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-main-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 850px;
    width: 100%;
}

.gallery-title {
    font-size: 1.6rem;
    font-weight: 500;
    font-style: italic;
    color: #222;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
    text-align: left;
}

.gallery-main-wrap {
    position: relative;
    height: 480px;
    max-width: 850px;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.gallery-main-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-btn {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: #fff;
    color: #333;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-btn:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.gallery-btn span {
    transition: transform 0.3s ease;
}

.gallery-btn:hover span {
    transform: translateX(5px);
}

/* cursor follower and native-cursor-replacement removed */

/* ============================================
   AJUSTEMENTS HOME (fond + marges galerie)
   ============================================ */
.project-row {
    background: #f9f9f9;
}

.gallery-block {
    background: #f9f9f9;
    padding: 50px 4rem 60px 4rem;
    margin-bottom: 0;
}

.gallery-thumbnails {
    padding: 70px 50px 10px 50px;
    margin-left: 40px;
}

.gallery-main-wrap {
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .gallery-block {
        padding: 35px 3rem 55px 3rem !important;
    }

    .gallery-thumbnails {
        padding: 0 35px 10px 35px;
        margin-left: 30px;
    }

    .gallery-main-wrap {
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .gallery-block {
        padding: 30px 2rem 50px 2rem !important;
    }

    .gallery-thumbnails {
        padding: 0 25px 10px 25px;
        margin-left: 20px;
    }

    .gallery-main-wrap {
        margin-bottom: 22px;
    }
}

@media (max-width: 480px) {
    .gallery-block {
        padding: 25px 1.5rem 45px 1.5rem !important;
    }

    .gallery-thumbnails {
        padding: 0 18px 10px 18px;
        margin-left: 15px;
    }

    .gallery-main-wrap {
        margin-bottom: 18px;
    }
}
