html {
    background: linear-gradient(10deg, #2B9EDB 0%, #014EAA 82%, #014EAA 100%) !important;
    min-height: 100%;
}

body {
    background: transparent !important;
    min-height: 100%;
}

/* Header Adjustments for Destination Québec Page */
.site-header {
    background-color: #014EAA !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.site-header .main-nav a {
    color: #ffffff !important;
}

.site-header .main-nav a:hover {
    background-color: #ffffff !important;
    color: #014EAA !important;
}

.site-header .btn-contact {
    color: #ffffff !important;
}

.site-header .btn-contour path {
    fill: #ffffff !important;
}

.site-header .btn-contact:hover {
    background-color: #ffffff !important;
    color: #014EAA !important;
}

.site-header .btn-contact:hover .btn-contour path {
    fill: #ffffff !important;
}

.site-header .burger-bar {
    background-color: #ffffff !important;
}

.quebec-page-wrapper {
    position: relative;
    width: 100%;
    min-width: 100%;
    background: transparent;
    overflow-x: hidden;
}

.quebec-layout-container {
    position: relative;
    width: 1728px;
    height: 5421px;
    margin: 0 auto;
}

/* fond page- destination québec */
.quebec-bg-gradient {
    position: absolute;
    width: 1728px;
    height: 3839px;
    left: 0px;
    top: 0px;
    background: transparent;
    z-index: 0;
}

/* Destination québec inner content container */
.quebec-content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 94px;
    position: absolute;
    width: 1730px;
    height: 5386.66px;
    left: -1px;
    top: 0px;
    z-index: 1;
}

/* Hero section */
.quebec-hero {
    position: relative;
    width: 1730px;
    height: 882px;
}

.quebec-banner {
    position: absolute;
    width: 1729px;
    height: 916px;
    left: 0px;
    top: 0px;
}

.quebec-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.queb-logo-centre {
    display: none;
}

/* Panneaux */
.quebec-panneaux-villes {
    position: absolute;
    width: 1730px;
    height: 882px;
    left: 0px;
    top: 0px;
}

.quebec-sign {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 24px 0px 10px;
    position: absolute;
    height: 84px;
    border: 7.2px solid #FFFFFF;
    border-radius: 19px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    z-index: 2;
}

.quebec-panneaux-villes .quebec-sign:hover {
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
}

.quebec-arrow {
    width: 60px;
    height: 60px;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.quebec-sign:hover .quebec-arrow {
    transform: translateX(8px);
}

.quebec-sign-text {
    font-family: 'Effra', 'Source Code Pro', monospace;
    font-style: normal;
    font-weight: 700;
    font-size: 38px;
    line-height: 46px;
    text-transform: uppercase;
    color: #FFFFFF;
    white-space: nowrap;
}

/* Individual sign properties */
.quebec-panneaux-villes .quebec-sign {
    cursor: pointer;
}

.quebec-sign.montreal {
    width: 400px;
    left: 780px;
    top: 134px;
    background: #F83D00;
    transform: rotate(-3.83deg);
    animation: float-montreal 4s ease-in-out infinite;
}

.quebec-sign.montreal:hover {
    transform: rotate(-3.83deg) scale(1.05);
    animation: none;
}

.quebec-sign.quebec-city {
    width: 437px;
    left: 1048px;
    top: 283px;
    background: #00C270;
    transform: rotate(0.86deg);
    animation: float-quebec 4.5s ease-in-out infinite;
}

.quebec-sign.quebec-city:hover {
    transform: rotate(0.86deg) scale(1.05);
    animation: none;
}

.quebec-sign.gatineau {
    width: 405px;
    left: 611px;
    top: 275px;
    background: #49D9FF;
    transform: rotate(-2.04deg);
    animation: float-gatineau 4.2s ease-in-out infinite;
}

.quebec-sign.gatineau:hover {
    transform: rotate(-2.04deg) scale(1.05);
    animation: none;
}

.quebec-sign.sherbrooke {
    width: 386px;
    left: 920px;
    top: 415px;
    background: #0075DC;
    transform: rotate(1.31deg);
    animation: float-sherbrooke 4.8s ease-in-out infinite;
}

.quebec-sign.sherbrooke:hover {
    transform: rotate(1.31deg) scale(1.05);
    animation: none;
}

/* Float keyframes for each city sign to preserve its unique rotation angle */
@keyframes float-montreal {
    0%, 100% { transform: rotate(-3.83deg) translateY(0); }
    50% { transform: rotate(-3.83deg) translateY(-8px); }
}

@keyframes float-quebec {
    0%, 100% { transform: rotate(0.86deg) translateY(0); }
    50% { transform: rotate(0.86deg) translateY(-8px); }
}

@keyframes float-gatineau {
    0%, 100% { transform: rotate(-2.04deg) translateY(0); }
    50% { transform: rotate(-2.04deg) translateY(-8px); }
}

@keyframes float-sherbrooke {
    0%, 100% { transform: rotate(1.31deg) translateY(0); }
    50% { transform: rotate(1.31deg) translateY(-8px); }
}

@keyframes float-communication {
    0%, 100% { transform: rotate(1.76deg) translateY(0); }
    50% { transform: rotate(1.76deg) translateY(-8px); }
}

@keyframes float-landing {
    0%, 100% { transform: rotate(6.44deg) translateY(0); }
    50% { transform: rotate(6.44deg) translateY(-8px); }
}

/* Descriptif Container */
.quebec-descriptif-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px 20px;
    gap: 10px;
    position: absolute;
    width: fit-content;
    max-width: 61.57%;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    top: 535px;
    background: #FFFFFF !important;
    border: 1px solid #000000 !important;
    border-radius: 0;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}


.quebec-descriptif-text {
    width: 100%;
    height: auto;
    font-family: 'Source Code Pro', monospace;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #000000 !important;
    margin: 0;
    text-align: left;
}

.quebec-descriptif-text strong {
    font-weight: 600;
    font-size: 14px;
    color: #000000 !important;
}

.bouton-tout-voir {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    width: 22px;
    height: 13px;
    flex: none;
    order: 1;
    flex-grow: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.quebec-descriptif-container:hover .bouton-tout-voir {
    transform: translateY(8px);
}

.quebec-descriptif-container:hover .bouton-tout-voir img,
.quebec-descriptif-container:active .bouton-tout-voir img {
    opacity: 0.6 !important;
}

.bouton-tout-voir img,
.fluent-ios-arrow-24-regular img {
    filter: brightness(0) !important;
}

.fluent-ios-arrow-24-regular {
    margin: 0 auto;
    width: 22px;
    height: 13px;
    transform: none;
}

.fluent-ios-arrow-24-regular img {
    width: 22px;
    height: 13px;
    display: block;
}

/* GRID LIST SECTION */
.quebec-grid-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 34px;
    width: 1671px;
    height: 4410.66px;
}

.queb-card {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    background: #EAEAEA;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.queb-card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Block 1: Metro */
.quebec-list-block.block1 {
    position: relative;
    width: 1671px;
    height: 1237.66px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.quebec-images-row1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    width: 1671px;
    height: 592px;
}

.quebec-mockup-metro {
    width: 918.03px;
    height: 591.66px;
}

.quebec-affiche-metro {
    width: 753px;
    height: 592px;
}

.quebec-mockup-metro-2 {
    position: absolute;
    width: 1141px;
    height: 646px;
    left: 265px;
    top: 592px;
}

.quebec-sign.dans-le-metro {
    position: absolute;
    width: 444.87px;
    height: 93.16px;
    left: 236px;
    top: 592px;
    background: #F83D00;
    transform: rotate(-3.83deg);
    z-index: 5;
    animation: float-montreal 4s ease-in-out infinite;
}

.quebec-sign.dans-le-metro:hover {
    transform: rotate(-3.83deg) scale(1.05) !important;
    animation: none !important;
}


/* Block 2: Billet & Badges */
.quebec-list-block.block2 {
    position: relative;
    width: 1671px;
    height: 983px;
    flex: none;
    order: 1;
    flex-grow: 0;
    margin-top: 120px;
}

.quebec-images-row2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px;
    position: absolute;
    height: 621px;
    left: 0px;
    right: 0px;
    top: 90px;
}

.quebec-mockup-billet {
    width: 755px;
    height: 490px;
}

.quebec-guide {
    width: 910px;
    height: 621px;
}

.quebec-carousel {
    position: absolute;
    width: 753.23px;
    height: 378px;
    left: 262px;
    top: 580px;
}

.quebec-mockup-badge {
    position: absolute;
    width: 719.58px;
    height: 474.55px;
    left: 690px;
    top: 379px;
    transform: rotate(13.72deg);
    z-index: 10;
    background: transparent !important;
    box-shadow: none !important;
}

.quebec-mockup-badge .queb-card-bg {
    background-size: contain;
}

.quebec-sign.communication {
    position: absolute;
    width: 486.42px;
    height: 93.16px;
    left: 591px;
    top: 29px;
    background: #00C270;
    transform: rotate(1.76deg);
    z-index: 12;
    animation: float-communication 4.5s ease-in-out infinite;
}

.quebec-sign.communication:hover {
    transform: rotate(1.76deg) scale(1.05) !important;
    animation: none !important;
}


/* Block 3: Programme & Scenography */
.quebec-list-block.block3 {
    position: relative;
    width: 1671px;
    height: 1240px;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
}

.quebec-programme {
    width: 1354px;
    height: 336px;
    margin: 110px auto 0;
}

.quebec-images-row4 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    width: 1354px;
    height: 589.34px;
    margin: 41px auto 0;
    justify-content: space-between;
}

.quebec-mockup-stand {
    width: 827px;
    height: 587px;
}

.quebec-scenography-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    width: 527px;
    height: 589.34px;
    gap: 7px;
}

.quebec-cabanes {
    width: 527px;
    height: 291px;
}

.quebec-dome {
    width: 527px;
    height: 298.34px;
}

.quebec-sign.scenographie {
    position: absolute;
    width: 450.42px;
    height: 93.16px;
    left: 796.5px;
    top: 13px;
    background: #49D9FF;
    transform: rotate(-2.04deg);
    z-index: 10;
    animation: float-gatineau 4.2s ease-in-out infinite;
}

.quebec-sign.scenographie:hover {
    transform: rotate(-2.04deg) scale(1.05) !important;
    animation: none !important;
}


/* Block 4: Mockup Landing Page */
.quebec-list-block.block4 {
    position: relative;
    width: 1671px;
    height: 740px;
    flex: none;
    order: 3;
    align-self: stretch;
    flex-grow: 0;
}

.quebec-mockup-landing {
    position: relative;
    width: 100%;
    height: 740px;
}

.quebec-landing-container {
    position: absolute;
    width: 864px;
    height: 549px;
    left: 403.5px;
    top: 132px;
    z-index: 1;
}

.quebec-mockup-ordi {
    position: absolute;
    width: 1105px;
    height: 647px;
    left: 283px;
    top: 92.87px;
    background-image: url('../04- Myia/mockup-ordi.webp');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
}

.quebec-sign.landing-page {
    position: absolute;
    width: 429.42px;
    height: 93.16px;
    left: 869.5px;
    top: -9.13px;
    background: #0075DC;
    box-shadow: 0px -5px 19.3px rgba(0, 0, 0, 0.15);
    transform: rotate(6.44deg);
    z-index: 10;
    animation: float-landing 4.8s ease-in-out infinite;
}

.quebec-sign.landing-page:hover {
    transform: rotate(6.44deg) scale(1.05) !important;
    animation: none !important;
}


/* DYNAMIC RESPONSIVE SCALING */
@media (min-width: 1025px) and (max-width: 1728px) {
    .quebec-page-wrapper {
        height: calc(5421px * (100vw / 1728)) !important;
        display: flex;
        justify-content: center;
    }
    
    .quebec-layout-container {
        transform: scale(calc(100vw / 1728));
        transform-origin: top center;
        margin: 0;
        flex-shrink: 0;
    }
}

/* Mobile list hidden on desktop by default */
.quebec-mobile-list-section {
    display: none !important;
}

/* RESPONSIVE LAYOUT OVERRIDES (SMALL LAPTOPS, TABLETS & PHONES) */
@media (max-width: 1024px) {
    html {
        background: linear-gradient(10deg, #2B9EDB 0%, #014EAA 82%, #014EAA 100%) !important;
        min-height: 100vh;
    }
    body, .quebec-page-wrapper {
        background: transparent !important;
    }

    .quebec-banner, .quebec-banner-img {
        display: none !important;
    }
    /* Panneaux hidden by default on tablet but re-shown below */
    .quebec-panneaux-villes {
        display: none !important;
    }

    .quebec-page-wrapper {
        min-width: 100%;
        overflow-x: hidden !important;
    }
    
    .quebec-layout-container {
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 80px 20px 40px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .quebec-bg-gradient {
        width: 100%;
        height: 100%;
    }
    
    .quebec-content-inner {
        position: relative !important;
        width: 100% !important;
        max-width: 1200px !important;
        height: auto !important;
        left: auto !important;
        top: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 60px !important;
        padding: 0 !important;
    }
    
    .quebec-hero {
        position: relative !important;
        width: 100% !important;
        height: 85vh !important;
        min-height: 590px !important;
        overflow: visible !important;
        display: block !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .quebec-banner {
        display: none !important;
    }

    .quebec-banner-img {
        display: none !important;
    }
    
    .queb-logo-centre {
        display: flex !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: -30px !important;
        width: 80% !important;
        max-width: 250px !important;
        justify-content: center !important;
        align-items: flex-start !important;
        z-index: 25 !important;
        box-sizing: border-box !important;
    }
    .queb-logo-centre img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
    }
    
    .quebec-panneaux-villes {
        display: none !important;
    }
    
    /* Specific override for signs inside the scaled hero container */
    .quebec-panneaux-villes .quebec-sign {
        position: absolute !important;
        height: 84px !important;
        padding: 0 24px 0 10px !important;
        border: 7.2px solid #FFFFFF !important;
        border-radius: 19px !important;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15) !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: 2 !important;
    }
    
    .quebec-panneaux-villes .quebec-sign.montreal {
        width: 400px !important;
        left: 780px !important;
        top: 134px !important;
        background: #F83D00 !important;
    }
    .quebec-panneaux-villes .quebec-sign.quebec-city {
        width: 440px !important;
        left: 312px !important;
        top: 298px !important;
        background: #FFB300 !important;
    }
    .quebec-panneaux-villes .quebec-sign.gatineau {
        width: 429.42px !important;
        left: 611px !important;
        top: 275px !important;
        background: #49D9FF !important;
    }
    .quebec-panneaux-villes .quebec-sign.sherbrooke {
        width: 386px !important;
        left: 920px !important;
        top: 415px !important;
        background: #0075DC !important;
    }

    .quebec-panneaux-villes .quebec-sign-text {
        font-family: 'Effra', 'Source Code Pro', monospace !important;
        font-size: 38px !important;
        line-height: 46px !important;
        text-transform: uppercase !important;
        font-weight: 700 !important;
        color: #FFFFFF !important;
    }

    .quebec-panneaux-villes .quebec-arrow {
        width: 60px !important;
        height: 60px !important;
    }
    
    /* General styles for list-block signs outside of the hero */
    .quebec-sign {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        width: auto !important;
        height: 84px !important;
        padding: 0 24px 0 10px !important;
        border: 7.2px solid #FFFFFF !important;
        border-radius: 19px !important;
        margin: 0 !important;
    }
    
    .quebec-sign:hover {
        transform: scale(1.05) !important;
        animation: none !important;
    }
    
    .quebec-sign.montreal {
        animation: float-simple-1 4s ease-in-out infinite !important;
    }
    .quebec-sign.quebec-city {
        animation: float-simple-2 4.5s ease-in-out infinite !important;
    }
    .quebec-sign.gatineau {
        animation: float-simple-3 4.2s ease-in-out infinite !important;
    }
    .quebec-sign.sherbrooke {
        animation: float-simple-4 4.8s ease-in-out infinite !important;
    }

    .quebec-sign-text {
        font-family: 'Effra', 'Source Code Pro', monospace !important;
        font-size: 38px !important;
        line-height: 46px !important;
        text-transform: uppercase !important;
        font-weight: 700 !important;
    }

    .quebec-arrow {
        width: 48px !important;
        height: 48px !important;
    }
    
    .quebec-descriptif-container {
        position: absolute !important;
        bottom: 125px !important; /* Raised to look better on tablet screen heights */
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 40px) !important;
        max-width: 420px !important;
        height: auto !important;
        background: #FFFFFF !important;
        border: 1px solid #101010 !important;
        border-radius: 0 !important;
        padding: 24px 20px !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin: 0 !important;
        z-index: 100 !important;
    }
    
    .quebec-descriptif-text {
        width: 100% !important;
        height: auto !important;
        font-size: 14px !important;
        line-height: 20px !important;
        color: #101010 !important;
    }

    .quebec-descriptif-text strong {
        color: #101010 !important;
    }

    /* Arrow becomes black on white background */
    .quebec-descriptif-container .fluent-ios-arrow-24-regular img {
        filter: brightness(0) !important;
    }
    
    .quebec-grid-section {
        width: 100% !important;
        height: auto !important;
        gap: 60px !important;
    }
    
    .quebec-list-block {
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
        margin-top: 0 !important;
    }
    
    .quebec-images-row1, .quebec-images-row2, .quebec-images-row4 {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        width: 100% !important;
        height: auto !important;
        gap: 20px !important;
        margin: 0 !important;
    }
    
    .queb-card {
        width: 100% !important;
        height: auto !important;
    }

    .queb-card-bg {
        background-size: 100% 100% !important;
    }

    .quebec-mockup-metro {
        width: 55% !important;
        aspect-ratio: 918 / 592 !important;
    }
    
    .quebec-affiche-metro {
        width: 42% !important;
        aspect-ratio: 753 / 592 !important;
    }
    
    .quebec-mockup-metro-2 {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 85% !important;
        aspect-ratio: 1141 / 646 !important;
    }
    
    .quebec-carousel {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 60% !important;
        aspect-ratio: 753.23 / 378 !important;
    }
    
    .quebec-mockup-badge {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 540px !important;
        transform: none !important;
        margin: 10px auto !important;
        aspect-ratio: 719.58 / 474.55 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    .quebec-mockup-badge .queb-card-bg {
        background-size: contain !important;
    }
    
    .quebec-programme {
        position: relative !important;
        margin: 0 auto !important;
        width: 95% !important;
        aspect-ratio: 1354 / 336 !important;
    }
    
    .quebec-mockup-stand {
        width: 80% !important;
        aspect-ratio: 827 / 587 !important;
    }

    .quebec-scenography-row {
        width: 37% !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .quebec-cabanes {
        width: 100% !important;
        aspect-ratio: 527 / 291 !important;
    }

    .quebec-dome {
        width: 100% !important;
        aspect-ratio: 527 / 298.34 !important;
    }
    
    .quebec-mockup-landing {
        position: relative !important;
        width: 90% !important;
        aspect-ratio: 1105 / 647 !important;
        margin: 0 auto !important;
    }
    
    .quebec-mockup-ordi {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        left: 0 !important;
        top: 0 !important;
        max-width: none !important;
        aspect-ratio: none !important;
    }
    
    .quebec-landing-container {
        position: absolute !important;
        width: 78.19% !important;
        height: 84.85% !important;
        left: 10.9% !important;
        top: 6.04% !important;
    }

    .quebec-list-block .quebec-sign {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 10px auto !important;
    }

    #mobile-block-metro .quebec-mobile-img.contain-img {
        animation: float-simple-1 4s ease-in-out infinite !important;
    }
    #mobile-block-communication .quebec-mobile-img.contain-img {
        animation: float-simple-2 4.5s ease-in-out infinite !important;
    }
    #mobile-block-scenographie .quebec-mobile-img.contain-img {
        animation: float-simple-3 4.2s ease-in-out infinite !important;
    }
    #mobile-block-landing .quebec-mobile-img.contain-img {
        animation: float-simple-4 4.8s ease-in-out infinite !important;
    }


    /* SPECIFIC PHONE ADJUSTMENTS */
    @media (max-width: 768px) {
        .quebec-hero {
            position: relative !important;
            width: 100% !important;
            height: 85vh !important;
            min-height: 590px !important;
            overflow: visible !important;
            display: block !important;
            padding: 0 !important;
            box-sizing: border-box !important;
        }

        .quebec-banner {
            display: none !important;
        }
        
        .quebec-panneaux-villes {
            display: none !important;
        }

        .queb-logo-centre {
            top: -30px !important;
            max-width: 250px !important;
            z-index: 25 !important;
        }

        .queb-logo-centre img {
            width: 100% !important;
        }

        .quebec-images-row1, .quebec-images-row2, .quebec-images-row4 {
            flex-direction: column !important;
            align-items: center !important;
            gap: 16px !important;
        }

        .quebec-mockup-metro, .quebec-affiche-metro, .quebec-mockup-metro-2,
        .quebec-mockup-billet, .quebec-guide, .quebec-carousel,
        .quebec-mockup-badge, .quebec-programme, .quebec-mockup-stand,
        .quebec-scenography-row, .quebec-cabanes, .quebec-dome,
        .quebec-mockup-landing {
            width: 100% !important;
            max-width: 480px !important;
        }

        .quebec-mobile-item {
            max-width: 580px !important;
        }

        /* Prevent badge absolute overlay on small mobile screens to save space */
        .quebec-mockup-badge {
            position: relative !important;
            left: auto !important;
            top: auto !important;
            transform: none !important;
            margin: 0 auto !important;
        }

        .quebec-sign {
            height: 52px !important;
            padding: 0 12px 0 6px !important;
            border: 3px solid #FFFFFF !important;
            border-radius: 8px !important;
        }

        .quebec-sign-text {
            font-size: 16px !important;
            line-height: 20px !important;
        }

        .quebec-arrow {
            width: 28px !important;
            height: 28px !important;
        }

        .quebec-descriptif-container {
            position: absolute !important;
            bottom: -30px !important; /* Lowered further to push it down on phone */
            top: auto !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            width: calc(100% - 40px) !important;
            max-width: 420px !important;
            height: auto !important;
            background-color: #FFFFFF !important;
            border: 1px solid #101010 !important;
            border-radius: 0 !important;
            padding: 24px 20px !important;
            box-shadow: none !important;
            box-sizing: border-box !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            margin: 0 !important;
            z-index: 100 !important;
        }


        .quebec-descriptif-text {
            font-size: clamp(9px, 3vw, 13px) !important;
            line-height: 1.45em !important;
            color: #101010 !important;
        }

        /* Enlarge laptop mockup and internal screen on phone screen sizes */
        .quebec-mobile-item.laptop-item {
            width: 125% !important;
            margin-left: -12.5% !important;
            margin-right: -12.5% !important;
            max-width: none !important;
        }

        .quebec-laptop-mockup-mobile {
            max-width: none !important;
        }

        .quebec-laptop-screen-mobile {
            object-position: top center !important;
        }
    }
}

@media (max-width: 1440px) {
    .quebec-grid-section {
        display: none !important;
    }
    
    .quebec-mobile-list-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 40px !important;
        width: 100% !important;
        max-width: 940px !important; /* Increased from 800px to allow larger laptop mockup scaling on tablet */
        margin: 20px auto 60px !important;
        box-sizing: border-box !important;
        padding: 0 20px !important;
    }
    
    .quebec-mobile-item {
        width: 100% !important;
        max-width: 580px !important; /* Reduced from 900px to look cleaner on tablet view */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    .quebec-mobile-item.sign-item {
        margin-top: 75px !important;
    }
    
    .quebec-mobile-image-box {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .quebec-mobile-image-box.sign-box {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    
    .quebec-mobile-img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    .quebec-mobile-img.contain-img {
        object-fit: contain !important;
    }
    
    .quebec-mobile-caption {
        display: none !important;
    }
    
    /* Horizontal scrolling sub-slider (Block 10) */
    .inline-slider-item {
        position: relative !important;
        width: 100% !important;
        max-width: 600px !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .quebec-mobile-sub-slider {
        width: 100% !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        display: flex !important;
    }
    
    .quebec-mobile-sub-slider::-webkit-scrollbar {
        display: none !important;
    }
    
    .quebec-mobile-sub-slider-track {
        display: flex !important;
        width: 100% !important;
        gap: 0 !important;
        padding: 0 !important;
    }
    
    .quebec-mobile-sub-slide {
        width: 100% !important;
        flex-shrink: 0 !important;
        scroll-snap-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }
    
    .quebec-mobile-sub-slide .quebec-mobile-img {
        width: 100% !important;
        max-width: 580px !important;
        height: auto !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        border-radius: 8px !important;
        cursor: pointer !important;
    }
    
    .quebec-mobile-sub-caption {
        margin-top: 15px !important;
        font-family: 'Source Code Pro', monospace !important;
        font-size: 13px !important;
        color: #FFFFFF !important;
        text-align: center !important;
        font-weight: 700;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
    }

    /* Sub-slider glassmorphism arrows */
    .quebec-sub-arrow {
        position: absolute !important;
        top: 38% !important; /* Centered relative to the image portion of the slide */
        transform: translateY(-50%) !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        background: rgba(16, 16, 16, 0.65) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        z-index: 10 !important;
        padding: 0 !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
        transition: background-color 0.2s ease, transform 0.2s ease !important;
    }

    .quebec-sub-arrow:hover {
        background: rgba(16, 16, 16, 0.8) !important;
    }

    .quebec-sub-arrow img {
        width: 18px !important;
        height: 18px !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        filter: brightness(0) invert(1) !important;
    }

    .sub-arrow-left {
        left: 15px !important;
    }

    .sub-arrow-right {
        right: 15px !important;
        transform: translateY(-50%) rotate(180deg) !important;
    }

    .sub-arrow-right:hover {
        transform: translateY(-50%) rotate(180deg) scale(1.05) !important;
    }
    .sub-arrow-left:hover {
        transform: translateY(-50%) scale(1.05) !important;
    }
    
    .quebec-mobile-item.laptop-item {
        max-width: 680px !important; /* Reduced from 900px to balance with page content */
        width: 100% !important;
    }

    /* Laptop Mockup (Block 12) */
    .quebec-laptop-mockup-mobile {
        position: relative !important;
        width: 100% !important;
        max-width: 680px !important; /* Reduced from 900px */
        aspect-ratio: 1105 / 647 !important;
        margin: 0 auto !important;
    }
    
    .quebec-laptop-screen-mobile-wrapper {
        position: absolute !important;
        width: 78.19% !important;
        height: 84.85% !important;
        left: 10.9% !important;
        top: 6.04% !important;
        overflow: hidden !important;
    }
    
    .quebec-laptop-screen-mobile {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .quebec-laptop-frame-mobile {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        left: 0 !important;
        top: 0 !important;
        pointer-events: none !important;
    }
}

/* Lightbox Styles */
.roca-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(16, 16, 16, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.roca-lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.roca-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.roca-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.roca-lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.roca-lightbox-close:hover {
    transform: scale(1.1);
    color: #0075DC;
}

.roca-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 40px;
    padding: 20px 15px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    border-radius: 4px;
}

.roca-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.roca-lightbox-prev {
    left: -70px;
}

.roca-lightbox-next {
    right: -70px;
}

@media (max-width: 1024px) {
    .roca-lightbox-prev {
        left: 10px;
    }
    .roca-lightbox-next {
        right: 10px;
    }
    .roca-lightbox-close {
        top: -40px;
        right: 0px;
    }
    .roca-lightbox-img {
        max-width: 85vw;
        max-height: 85vh;
    }
}

/* Footer Adjustments for Destination Québec Page */
.site-footer {
    background-color: transparent !important;
    position: relative;
    z-index: 10;
    width: 100vw !important;
    max-width: none !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    border-top: none !important;
}

.site-footer, 
.site-footer a, 
.site-footer p, 
.contact-info a {
    color: #ffffff !important;
}

.site-footer .contact-icon,
.site-footer .social-icon {
    filter: brightness(0) invert(1) !important;
}

.site-footer .footer-line-img {
    opacity: 0.15 !important;
    filter: brightness(0) invert(1) !important;
}

/* Float keyframes for tablet and mobile format (straight vertical float) */
@keyframes float-simple-1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes float-simple-2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes float-simple-3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@keyframes float-simple-4 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* Touch and snappy transition optimizations for mobile/tablet */
@media (max-width: 1024px) {
    .quebec-sign,
    .quebec-btn,
    .quebec-mobile-img-clickable,
    .roca-lightbox-prev,
    .roca-lightbox-next,
    .roca-lightbox-close {
        transition-duration: 200ms !important;
        transition-delay: 0s !important;
        touch-action: manipulation !important;
    }

    .quebec-sign:active,
    .quebec-btn:active {
        opacity: 0.7 !important;
        transform: scale(0.97) !important;
        transition: none !important;
    }

    .roca-lightbox-prev:active,
    .roca-lightbox-next:active,
    .roca-lightbox-close:active {
        opacity: 0.5 !important;
        transform: scale(0.9) !important;
        transition: none !important;
    }
}

