/* Page Transition Overlay */
#page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ff8000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: inset(0% 0% 0% 0%);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

html.is-transitioning #page-transition-overlay {
    opacity: 1;
    visibility: visible;
}

/* Body and HTML */
html {
    background-color: #0A0A0A;
}

body {
    background-color: #0A0A0A;
}

/* Hide scrollbar for all browsers */
html, body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Overlay Logo */
#page-transition-overlay img {
    width: 250px;
    height: auto;
}

/* Block Heights */
.block-height {
    height: 1080px;
}

/* Block 1 Fixed Position */
.block-1-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 1;
    overflow: hidden;
}

.block-1-fixed::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.08) 40%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 4;
    pointer-events: none;
}

/* Film Grain */
.block1-grain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    pointer-events: none;
    opacity: 0.09;
    mix-blend-mode: screen;
}

/* grain visible on all screen sizes */

/* Block 2 Fixed Position */
.block-2-fixed {
    position: fixed;
    top: 100dvh;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 2;
    overflow: hidden;
}

/* Block 2 Height Extension */
.block-2-extended {
    height: auto;
    background-color: rgba(10, 10, 10, 0.95);
    padding-top: 1rem;
    padding-bottom: 5rem;
    backdrop-filter: blur(10px);
}

/* Scroll Container */
.scroll-container {
    position: relative;
    z-index: 3;
    pointer-events: none;
}

/* Block Spacer */
.block-spacer {
    height: 100dvh;
    width: 100%;
    pointer-events: none;
}

/* Block 2 Spacer - hauteur du contenu block 2 */
.block-2-spacer {
    height: 300vh;
    width: 100%;
    pointer-events: none;
}

/* Block 3 needs pointer events */
.block-3 {
    pointer-events: auto;
}

/* Block 1 Content Position - Not needed anymore, using flexbox centering */

/* ===== BLOCK 1 NEW LAYOUT ===== */

/* Background image */
.block1-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

.block1-title-center {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

/* ── Block1 Bottom Bar ─────────────────────────────────────── */
.block1-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    gap: 1rem;
    z-index: 10;
}

/* Left / Right groups */
.block1-rects-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Rectangle 16/10 */
.block1-rect16x10 {
    height: calc(200px - 2.5rem);
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

/* rec1 — pas de contour */
#rec1 {
    border: none;
}

/* rec1 — vidéo */
#rec1 video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec1-play-btn {
    position: absolute;
    bottom: 0.4rem;
    right: 0.4rem;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.45rem 0.75rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.rec1-play-btn:hover {
    background: rgba(255, 107, 0, 0.75);
    border-color: #FF6B00;
}

/* rec2 — description + CTAs */
.rec2-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
}

.rec2-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin: 0;
    align-self: flex-start;
}

.rec2-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
}

.rec2-cta {
    flex: 1;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.4rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.rec2-cta--orange {
    background: #FF6B00;
    border-color: #FF6B00;
    color: #ffffff;
}

.rec2-cta:hover { background: rgba(255,255,255,0.1); }
.rec2-cta--orange:hover { background: #e05a00; border-color: #e05a00; }

/* rec4 — Paris clock */
.rec4-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    align-items: end;
    padding: 0.65rem 0.75rem;
    gap: 0.25rem 0.6rem;
}

/* Haut gauche : digital + ville */
.rec4-top-left {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.rec4-digital {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 0.04em;
    line-height: 1;
}

.rec4-city {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #ffffff;
    text-transform: uppercase;
}

/* Bas gauche : zone */
.rec4-zone {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    font-family: 'Inter', sans-serif;
    font-size: 0.45rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Bas droite : canvas analogique */
.rec4-analog {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    width: 80px;
    height: 80px;
}

/* Centre : scroll */
.block1-scroll-center {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.b1-scroll-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

.b1-scroll-chevron {
    width: 32px;
    height: 32px;
    animation: b1-chevron 1.5s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes b1-chevron {
    0%, 100% { transform: translateY(0);   opacity: 0.7; }
    50%       { transform: translateY(5px); opacity: 0.2; }
}

/* Mobile */
@media (max-width: 768px) {
    .block1-title-center { height: 100%; padding-bottom: 30vh; }
    .block1-bottom {
        flex-direction: column;
        height: auto;
        padding: 0.75rem;
        gap: 0.5rem;
        align-items: stretch;
    }
    .block1-rects-group {
        width: 100%;
        flex: 0 0 auto;
    }
    .block1-rects-group--left  { order: 1; }
    .block1-rects-group--right { order: 2; display: flex; }
    .block1-scroll-center      { order: 3; justify-content: center; margin-top: 3rem; }
    .block1-rect16x10 {
        height: auto;
        width: calc(50% - 0.375rem);
        flex-shrink: 0;
    }
    .rec2-desc {
        font-size: 0.6rem;
    }
    .rec1-play-btn {
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        transform: none;
        text-align: center;
        border-radius: 0;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .block1-title-center { height: calc(100% - 170px); }
    .block1-bottom { height: 170px; }
    .block1-rect16x10 { height: calc(170px - 2.5rem); }
}

/* Block 1 Title */
.block-1-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: #ffffff;
    font-size: 3.75rem;
    text-transform: uppercase;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    line-height: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .block-1-title {
        font-size: 10rem;
        flex-direction: row;
        gap: 0.22em;
    }
}

/* Block 1 Description */
.block-1-description {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1.25rem;
    max-width: 55rem;
    text-transform: uppercase;
    margin: 0.75rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3em;
    line-height: 1.3;
}

.desc-word {
    display: inline-block;
    color: #FF6B00;
}

.desc-nowrap {
    white-space: nowrap;
}

@media (min-width: 768px) {
    .block-1-description {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .block-1-description {
        font-size: 1.25rem;
    }
}

/* Block 2 Title */
.block-2-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: #ffffff;
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    margin-bottom: 3rem;
    
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .block-2-title {
        font-size: 3rem;
        margin-bottom: 3rem;
        margin-top: 3rem;
    }
}

/* Block 3 Title */
.block-3-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: #000000;
    font-size: 3.75rem; /* 6xl */
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .block-3-title {
        font-size: 6rem; /* 8xl */
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.scroll-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #ffffff;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce-smooth 2s ease-in-out infinite;
}

@keyframes bounce-smooth {
    0%, 100% {
        transform: translateY(-8px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}

/* Cards Scroll Container */
.cards-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 0.5rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.cards-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.cards-scroll-container.active {
    cursor: grabbing;
}

.cards-wrapper {
    display: flex;
    gap: 0.75rem;
    width: fit-content;
}

@media (min-width: 768px) {
    .cards-wrapper {
        gap: 1rem;
    }
}

/* Project Card */
.project-card {
    flex-shrink: 0;
    width: 200px;
}

@media (min-width: 768px) {
    .project-card {
        width: 280px;
    }
}

.card-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

@media (min-width: 768px) {
    .card-image {
        height: 400px;
    }
}

.project-card:hover .card-image {
    transform: scale(1.02);
}

.card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    position: relative;
    z-index: 1;
    height: 110px;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.75rem;
    text-transform: uppercase;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .card-title {
        font-size: 0.875rem;
    }
    .card-content {
        height: 130px;
    }
}

.card-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #b0b0b0;
    font-size: 0.625rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .card-description {
        font-size: 0.75rem;
    }
}

/* White Separator Line */
.white-separator {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .white-separator {
        margin-bottom: 4rem;
    }
}

/* Section Separator */
.section-separator {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-top: 6rem;
}

@media (min-width: 768px) {
    .section-separator {
        margin-top: 8rem;
    }
}

/* Why Video Section */
.why-video-section {
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .why-video-section {
        margin-top: 8rem;
        flex-direction: row;
        gap: 10rem;
        margin-left: 20rem;
    }
}

.why-video-left {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .why-video-left {
        flex: 0 0 40%;
    }
}

.why-video-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: #ffffff;
    font-size: 1.25rem;
    text-transform: uppercase;
    line-height: 1.3;
    text-align: left;
}

@media (min-width: 768px) {
    .why-video-title {
        font-size: 1.5rem;
    }
}

.why-video-line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.why-video-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-video-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #b0b0b0;
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: left;
}

@media (min-width: 768px) {
    .why-video-text {
        font-size: 1rem;
    }
}

.why-video-highlight {
    color: #ffffff;
    font-weight: 700;
}

/* Why Choose Section */
.why-choose-section {
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .why-choose-section {
        margin-top: 8rem;
        margin-left: 20rem;
    }
}

.why-choose-section .why-video-line {
    max-width: 400px;
}

.why-choose-content {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
}

/* Process Grid */
.process-grid {
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-left: -2px;
    margin-right: -2px;
    width: calc(100% + 4px);
}

@media (min-width: 768px) {
    .process-grid {
        flex-direction: row;
        gap: 4rem;
        align-items: flex-end;
        margin-left: -20rem;
        width: calc(100% + 20rem);
    }
}

.process-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.process-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: default;
    transition: all 0.3s ease;
}

.process-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.process-item:hover .process-name,
.process-item.active .process-name {
    color: #ffffff;
}

.process-item:hover .process-number,
.process-item.active .process-number {
    color: #ffffff;
}

.process-number {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #555555;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.process-name {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #555555;
    font-size: 1rem;
    text-transform: capitalize;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .process-name {
        font-size: 1.125rem;
    }
}

.process-image {
    flex: 1;
}

.process-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 65%; /* Ratio - hauteur = 65% de la largeur */
    overflow: hidden;
}

.process-img,
.process-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.process-img.active,
.process-img-placeholder.active {
    opacity: 1;
}

.process-img-placeholder .process-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

/* Section Separator Large */
.section-separator-large {
    width: 100%;
    height: 15rem;
}

/* Image Text Section */
.image-text-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .image-text-section {
        flex-direction: row;
        gap: 4rem;
        align-items: center;
    }
}

.image-text-left {
    flex: 1;
    height: 50%;
}

.image-text-placeholder {
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    position: relative;
}

.image-text-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.image-text-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: flex-start;
}

.image-text-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* CTA Button */
.cta-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: transparent;
    color: #ffffff;
    font-family: 'Satoshi', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #ffffff;
    border-radius: 0;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
    color: #0A0A0A;
}

.cta-button--orange {
    background-color: #FF6B00;
    border-color: #FF6B00;
    color: #ffffff;
}

.cta-button--orange:hover {
    background-color: #e55e00;
    border-color: #e55e00;
    color: #ffffff;
}

/* Block 3 */
.block-3 {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    background-color: #0e1012;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem 2rem 0rem 2rem;
    overflow: hidden;
}

/* Works Main Title */
.works-main-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

/* Works Grid */
.works-grid {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    gap: 2rem;
    min-height: 500px;
}

/* Works Columns */
.works-column {
    display: flex;
    flex-direction: column;
    gap: 15rem;
    flex: 1;
    z-index: 5;
}

.works-left {
    align-items: flex-start;
}

.works-right {
    align-items: flex-end;
}

/* Work Item */
.work-item {
    cursor: pointer;
    width: 400px;
    text-decoration: none;
    display: block;
}

.works-left .work-item {
    text-align: left;
}

.works-right .work-item {
    text-align: right;
}

/* Work Title */
.work-item .work-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
}

.work-item:hover .work-title,
.work-item.active .work-title {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 255, 255, 0.3);
}

/* Work Line */
.work-line {
    width: 400px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: left center;
    margin-top: 0.25rem;
}

.works-right .work-line {
    transform-origin: right center;
    margin-left: auto;
}

.work-item:hover .work-line,
.work-item.active .work-line {
    background-color: #ffffff;
    animation: lineRestructure 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes lineRestructure {
    0% {
        transform: scaleX(1);
        opacity: 1;
    }
    40% {
        transform: scaleX(0);
        opacity: 0;
    }
    60% {
        transform: scaleX(0);
        opacity: 0;
    }
    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* BT Indicator (mini video) */
.work-bt-indicator {
    width: 50px;
    height: 50px;
    opacity: 0;
    transition: all 0.4s ease;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 4px;
}

.work-item:hover .work-bt-indicator,
.work-item.active .work-bt-indicator {
    opacity: 1;
}

/* Center Image Preview */
.works-center-preview {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    aspect-ratio: 1.85 / 1;
    overflow: hidden;
    border-radius: 0px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease 0.15s;
    pointer-events: none;
}

.works-center-preview.active {
    opacity: 0.75;
}

.works-center-preview img,
.works-center-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Center Video */
.works-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.works-center video {
    width: 450px;
    height: auto;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Works CTA */
.works-cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: transparent;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #ffffff;
    border-radius: 0;
    transition: all 0.3s ease;
    margin-top: 4rem;
}

.works-cta:hover {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
    color: #0A0A0A;
}

/* Separator Reviews */
.section-separator-reviews {
    width: 100%;
    
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-top: 8rem;
}

/* Reviews Section */
.reviews-section {
    width: 100%;
    
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reviews-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 4rem;
    text-align: center;
}

.reviews-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.reviews-cards {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.review-card {
    position: absolute;
    width: 380px;
    height: 380px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.review-card[data-position="center"] {
    transform: translateX(0) rotateY(0deg) scale(1);
    z-index: 4;
    opacity: 1;
}

.review-card[data-position="left"] {
    transform: translateX(-300px) rotateY(25deg) scale(0.85);
    z-index: 3;
    opacity: 0.7;
}

.review-card[data-position="right"] {
    transform: translateX(300px) rotateY(-25deg) scale(0.85);
    z-index: 3;
    opacity: 0.7;
}

.review-card[data-position="hidden"] {
    transform: translateX(0) scale(0.5);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.review-text {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.review-text::-webkit-scrollbar {
    width: 3px;
}

.review-text::-webkit-scrollbar-track {
    background: transparent;
}

.review-text::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.review-author {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Reviews Navigation */
.reviews-nav {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.review-nav-btn {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.review-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.review-nav-btn svg {
    transition: transform 0.3s ease;
}

.review-nav-btn:hover svg {
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    width: 100%;
    max-width: 600px;
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 9rem;
    text-align: center;
}

.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 800px;
}

.contact-page-form .form-row {
    display: flex;
    gap: 1rem;
}

.contact-page-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-page-form label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-page-form input,
.contact-page-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: white;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-page-form input:focus,
.contact-page-form textarea:focus {
    border-bottom-color: #ff8000;
}

.contact-page-form textarea {
    resize: none;
    min-height: 80px;
}

.contact-page-cta {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    background: transparent;
    border: 1px solid white;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 1rem;
}

.contact-page-cta:hover {
    background: white;
    color: #0a0a0a;
}

.contact-page-cta:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Loading spinner */
.contact-page-cta .spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contact-page-cta .btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Form Validation Styles
   ======================================== */

/* Error line under fields */
.field-error-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ef4444;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* Error message text */
.field-error-message {
    display: block;
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Form group needs relative positioning */
.contact-page-form .form-group {
    position: relative;
}

/* Show error state */
.form-group.has-error .field-error-line {
    transform: scaleX(1);
}

.form-group.has-error .field-error-message {
    opacity: 1;
    transform: translateY(0);
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-bottom-color: #ef4444 !important;
}

/* Global error message */
.form-error-global {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 14px;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
}

.form-error-global.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Success Overlay
   ======================================== */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.success-overlay.show {
    opacity: 1;
    visibility: visible;
}

.success-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s ease;
    max-width: 400px;
    width: 90%;
}

.success-overlay.show .success-card {
    transform: scale(1) translateY(0);
}

.success-icon {
    margin-bottom: 1.5rem;
}

.success-icon svg {
    animation: successPop 0.5s ease 0.2s both;
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.success-icon svg circle {
    stroke-dasharray: 70;
    stroke-dashoffset: 70;
    animation: drawCircle 0.6s ease 0.3s forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

.success-icon svg path {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: drawCheck 0.3s ease 0.7s forwards;
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.success-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.success-message {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* FAQ Section */
.faq-section {
    width: 100%;
    max-width: 800px;
    margin-top: 6rem;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 3rem;
    text-align: center;
}

.faq-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.faq-question:hover span {
    color: #ffffff;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}


/* Case Study */
.case-study {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

/* Case Study Info */
.case-study-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.case-study-date,
.case-study-category {
    font-family: 'Satoshi', sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.case-study-separator {
    color: rgba(255, 255, 255, 0.4);
}

/* Case Study Title */
.case-study-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .case-study-title {
        font-size: 5rem;
    }
}

/* Case Study Preview - 3D Tilt Container */
.case-study-preview {
    margin-bottom: 2rem;
    position: relative;
    width: 80vw;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    perspective: 1200px;
}

.case-study-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2;
    padding: 0;
}

.play-button svg circle {
    fill: transparent;
    stroke: transparent;
    transition: all 0.3s ease;
}

.play-button svg path {
    fill: #ffffff;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button:hover svg path {
    fill: #ffffff;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

/* Case Study CTA */
.case-study-cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: transparent;
    color: #ffffff;
    font-family: 'Satoshi', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #ffffff;
    border-radius: 0;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.case-study-cta:hover {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
    color: #0A0A0A;
}

/* ========================================
   GSAP Animation Initial States
   ======================================== */

/* Elements that will be animated - start invisible */
/* Note: .why-video-line uses scaleX animation, not opacity */
.block-1-title,
.desc-word,
.block1-btns,
.block1-panel--tz,
.scroll-indicator,
.block-2-title,
.project-card,
.why-video-title,
.why-video-right .why-video-text,
.why-choose-section .why-video-title,
.why-choose-content .why-video-text,
.process-item,
.process-image,
.image-text-left,
.image-text-right .image-text-block,
.image-text-right .cta-button,
.works-main-title,
.works-left .work-item,
.works-right .work-item,
.works-cta,
.reviews-title,
.reviews-carousel,
.contact-title,
.contact-page-form .form-group,
.contact-page-cta,
.faq-title,
.faq-item {
    opacity: 0;
}

/* Typewriter animation styles */
.char {
    display: inline-block;
}

.word-anim {
    display: inline-block;
}

/* Ensure smooth GPU-accelerated animations */
.block-1-title,
.block-2-title,
.why-video-title,
.works-main-title,
.reviews-title,
.contact-title,
.faq-title {
    will-change: transform, opacity;
}

/* Smooth transitions for animated elements */
.project-card,
.work-item,
.faq-item,
.form-group {
    will-change: transform, opacity;
}

/* ========================================
   Footer Styles
   ======================================== */

/* Desktop Footer - visible on desktop only */
.footer-desktop {
    width: 100%;
    display: block;
    background: transparent !important;
}

/* Mobile Footer - hidden on desktop */
.footer-mobile {
    display: none;
    background: transparent !important;
}

/* ========================================
   Footer Tablet Styles - 1024px
   ======================================== */
@media (max-width: 1024px) {
    /* Hide desktop footer on tablet */
    .footer-desktop {
        display: none !important;
    }

    /* Show mobile footer on tablet */
    .footer-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 3rem 2rem;
        color: white;
        background: transparent !important;
    }

    /* Section 1: Contact Info - Tablet */
    .footer-contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-bottom: 4rem;
        text-align: center;
    }

    .footer-contact-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-label {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 0.5rem;
    }

    .footer-value {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 1.25rem;
        color: white;
    }

    /* Section 2: Social Stack - Tablet (NO gaps) */
    .footer-social-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 3rem;
        line-height: 1;
        text-align: center;
    }

    .footer-social-stack span,
    .footer-social-stack a {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 1rem;
        color: white;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin: 0;
        padding: 0;
        line-height: 1.3;
        text-decoration: none;
    }

    .footer-social-stack a:hover {
        opacity: 0.7;
    }

    /* Section 3: Logo - Tablet */
    .footer-logo-mobile {
        width: 100%;
        max-width: 600px;
        margin-bottom: 3rem;
    }

    .footer-logo-mobile img {
        width: 100%;
        height: auto;
    }

    /* Section 4: Created Stack - Tablet (NO gaps) */
    .footer-created-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1;
        text-align: center;
    }

    .footer-created-stack span {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 1rem;
        color: white;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin: 0;
        padding: 0;
        line-height: 1.3;
    }
}

/* ========================================
   Footer Mobile Styles - 768px
   ======================================== */
@media (max-width: 768px) {
    /* Hide desktop footer on mobile */
    .footer-desktop {
        display: none !important;
    }

    /* Show mobile footer */
    .footer-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 2rem 1rem;
        color: white;
        background: transparent !important;
    }

    /* Section 1: Contact Info */
    .footer-contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 3rem;
        text-align: center;
    }

    .footer-contact-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-label {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 0.25rem;
    }

    .footer-value {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 1rem;
        color: white;
    }

    /* Section 2: Social Stack (NO gaps) */
    .footer-social-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
        line-height: 1;
        text-align: center;
    }

    .footer-social-stack span,
    .footer-social-stack a {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 0.875rem;
        color: white;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0;
        padding: 0;
        line-height: 1.2;
        text-decoration: none;
    }

    .footer-social-stack a:hover {
        opacity: 0.7;
    }

    /* Section 3: Logo Mobile */
    .footer-logo-mobile {
        width: 100%;
        margin-bottom: 2rem;
    }

    .footer-logo-mobile img {
        width: 100%;
        height: auto;
    }

    /* Section 4: Created Stack (NO gaps) */
    .footer-created-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1;
        text-align: center;
    }

    .footer-created-stack span {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 0.875rem;
        color: white;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0;
        padding: 0;
        line-height: 1.2;
    }
}

/* ========================================
   Mobile Preview Videos (hidden on desktop)
   ======================================== */
.mobile-preview-video {
    display: none;
}

/* ========================================
   RESPONSIVE - Tablet & Mobile Only
   ======================================== */

/* Tablet breakpoint - 1024px (uses mobile layout with proportionally larger sizes) */
@media (max-width: 1024px) {
    /* 1. Navigation - Hide all desktop nav elements on tablet/mobile */
    nav .desktop-nav,
    nav .desktop-instagram,
    nav > a:first-child + div.desktop-nav {
        display: none !important;
    }

    /* Keep only logo and burger visible */
    nav {
        justify-content: space-between;
    }

    /* Block 1 - Tablet proportional sizing */
    .block-1-title {
        font-size: 5rem;
    }

    .block-1-description {
        font-size: 1rem;
        max-width: 38rem;
    }

    /* Block 2 Title - Tablet */
    .block-2-title {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }

    /* Project Cards - Tablet sizing */
    .project-card {
        width: 240px;
    }

    .card-image {
        height: 340px;
    }

    .cards-wrapper {
        gap: 0.875rem;
    }

    /* 2. Why Video Section - Column layout like mobile but larger */
    .why-video-section {
        flex-direction: column;
        gap: 2.5rem;
        margin-left: 0;
        margin-top: 5rem;
    }

    .why-video-left {
        flex: 0 0 auto;
    }

    .why-video-title {
        font-size: 1.5rem;
    }

    .why-video-text {
        font-size: 1rem;
    }

    .why-video-section .why-video-line {
        display: block;
        width: 100%;
        margin-top: 1rem;
    }

    /* Why Choose Section - Tablet */
    .why-choose-section {
        margin-left: 0;
        margin-top: 5rem;
    }

    /* Center CTA buttons on tablet */
    .why-video-right .cta-button,
    .image-text-right .cta-button {
        align-self: center !important;
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Image Text Section - Column layout like mobile */
    .image-text-section {
        flex-direction: column;
        gap: 2.5rem;
    }

    /* 3. Process Grid - Column layout like mobile */
    .process-grid {
        flex-direction: column;
        gap: 2.5rem;
        margin-left: 0;
        width: 100%;
        margin-top: 5rem;
    }

    .process-list {
        width: 100%;
        overflow: visible;
    }

    /* HIDE process image container on tablet */
    .process-image {
        display: none !important;
    }

    /* Process items - Tablet sizing (larger than mobile) */
    .process-item {
        position: relative;
        padding-right: 180px;
        min-height: 100px;
        overflow: visible;
    }

    .process-name {
        font-size: 1.125rem;
    }

    .process-item::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 150px;
        height: 100px;
        background-size: cover;
        background-position: center;
        border-radius: 8px;
        opacity: 0;
        transition: all 0.4s ease;
        z-index: 10;
    }

    .process-item.active::after,
    .process-item:hover::after {
        opacity: 1;
        width: 170px;
        height: 115px;
        transform: translateY(-50%) scale(1.05);
    }

    .process-item[data-index="0"]::after { background-image: url('asset/AZ/Brief.png'); }
    .process-item[data-index="1"]::after { background-image: url('asset/AZ/Tournage.png'); }
    .process-item[data-index="2"]::after { background-image: url('asset/AZ/Montage.jpg'); }
    .process-item[data-index="3"]::after { background-image: url('asset/AZ/Livraison.png'); }
    .process-item[data-index="4"]::after { background-image: url('asset/AZ/Diffusion.jpg'); }

    /* 4. Works Section - Column layout like mobile but larger */
    .works-grid {
        flex-direction: column;
        gap: 2rem;
        min-height: auto;
    }

    .works-column {
        width: 100%;
        gap: 2rem;
    }

    .works-left,
    .works-right {
        align-items: center;
    }

    /* Hide titles and lines on tablet */
    .work-item .work-title,
    .work-item .work-line {
        display: none !important;
    }

    /* Work item - Tablet sizing (larger than mobile) */
    .work-item {
        width: 100%;
        max-width: 420px;
        aspect-ratio: 16/9;
        position: relative;
        overflow: hidden;
        border-radius: 0;
        opacity: 1 !important;
    }

    .works-left .work-item,
    .works-right .work-item {
        opacity: 1 !important;
    }

    /* Show mobile preview videos */
    .work-item .mobile-preview-video {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 2;
        transition: transform 0.4s ease;
        border-radius: 0;
    }

    .work-item:hover .mobile-preview-video {
        transform: scale(1.05);
    }

    /* Hide center video/preview on tablet */
    .works-center,
    .works-center-preview {
        display: none;
    }

    /* Works CTA - Tablet */
    .works-cta {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 3rem;
    }

    /* 5. Carousel - Tablet sizing (larger than mobile) */
    .reviews-carousel {
        height: auto;
        padding: 0 2rem;
    }

    .reviews-cards {
        height: 400px;
        perspective: 1000px;
    }

    .review-card {
        width: 340px;
        height: 340px;
        padding: 2rem;
    }

    .review-card[data-position="left"] {
        transform: translateX(-260px) rotateY(22deg) scale(0.82);
    }

    .review-card[data-position="right"] {
        transform: translateX(260px) rotateY(-22deg) scale(0.82);
    }

    .review-text {
        font-size: 1rem;
    }

    .review-author {
        font-size: 0.875rem;
    }

    .reviews-nav {
        margin-top: 1.5rem;
    }

    .review-nav-btn {
        width: 44px;
        height: 44px;
    }

    /* 6. Form - Tablet adjustments */
    .contact-section {
        padding: 0 2rem;
        max-width: 100%;
    }

    .contact-title {
        margin-bottom: 6rem;
    }

    .contact-page-form {
        width: 100%;
        max-width: 600px;
        padding: 0;
    }

    .contact-page-form .form-row {
        flex-direction: column;
        gap: 1.25rem;
    }

    .form-group {
        width: 100%;
    }

    /* FAQ Section - Tablet */
    .faq-section {
        max-width: 700px;
    }

    .faq-question span {
        font-size: 1rem;
    }

    /* 7. Footer - Center aligned like mobile but larger spacing */
    footer {
        text-align: center;
    }

    footer .w-full.h-20 {
        height: 2.5rem !important;
    }

    footer section.w-full.px-2 > div.flex.justify-between {
        flex-direction: column !important;
        align-items: center !important;
        
    }

    footer section.w-full.px-2 > div.flex.justify-between > div {
        width: 100% !important;
        align-items: center !important;
        text-align: center;
    }

    footer .font-inter-regular.text-lg {
        font-size: 1rem;
    }

    /* Social media footer row */
    footer section.w-full.py-6 > div.flex.justify-between {
        flex-direction: column !important;
        align-items: center !important;
        
    }

    /* Mention section */
    footer section:last-of-type > div.flex.justify-between {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 0.75rem !important;
    }

    /* Logo footer spacing */
    footer > div.w-full.px-2 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

/* Mobile breakpoint - 768px */
@media (max-width: 768px) {
    /* Block 1 - Mobile adjustments */
    .block-1-description {
        text-transform: none;
    }

    /* Process grid mobile adjustments - larger images */
    .process-item {
        padding-right: 120px;
        min-height: 70px;
    }

    .process-item::after {
        width: 100px;
        height: 70px;
    }

    .process-item.active::after,
    .process-item:hover::after {
        width: 120px;
        height: 85px;
    }

    /* Works section - video previews */
    .work-item {
        max-width: 280px;
    }

    /* Carousel */
    .reviews-cards {
        height: 320px;
    }

    .review-card {
        width: 260px;
        height: 280px;
        padding: 1.25rem;
    }

    .review-card[data-position="left"] {
        transform: translateX(-150px) rotateY(15deg) scale(0.75);
        opacity: 0.5;
    }

    .review-card[data-position="right"] {
        transform: translateX(150px) rotateY(-15deg) scale(0.75);
        opacity: 0.5;
    }

    .review-text {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .review-author {
        font-size: 0.75rem;
    }

    /* Form */
    .contact-title {
        margin-bottom: 4rem;
    }
}

/* Small mobile breakpoint - 480px */
@media (max-width: 480px) {
    /* Process - still large expressive images */
    .process-item {
        padding-right: 100px;
        min-height: 60px;
    }

    .process-item::after {
        width: 85px;
        height: 60px;
    }

    .process-item.active::after,
    .process-item:hover::after {
        width: 100px;
        height: 70px;
    }

    .process-name {
        font-size: 0.875rem;
    }

    /* Works - video containers */
    .work-item {
        max-width: 100%;
        width: calc(100vw - 2rem);
    }

    /* Carousel - Much smaller on mobile */
    .reviews-carousel {
        padding: 0 0.5rem;
    }

    .reviews-cards {
        height: 300px;
    }

    .review-card {
        width: 220px;
        height: 260px;
        padding: 1rem;
    }

    .review-card[data-position="left"] {
        transform: translateX(-100px) rotateY(10deg) scale(0.7);
        opacity: 0.4;
    }

    .review-card[data-position="right"] {
        transform: translateX(100px) rotateY(-10deg) scale(0.7);
        opacity: 0.4;
    }

    .review-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .review-author {
        font-size: 0.7rem;
    }

    .reviews-nav {
        margin-top: 1rem;
    }

    .review-nav-btn {
        width: 40px;
        height: 40px;
    }

    /* Form - Extra padding fix */
    .contact-section {
        padding: 0 0.5rem;
    }

    .contact-page-form input,
    .contact-page-form textarea {
        font-size: 12px;
    }

    .contact-page-form label {
        font-size: 10px;
    }
}

/* ========================================
   MOBILE - Scroll Layering désactivé
   ========================================

   Les blocs s'empilent normalement sans effet de superposition.
   Espacements adaptés pour une lecture fluide.
   ======================================== */

@media (max-width: 1024px) {
    /* ===== DÉSACTIVER LE SCROLL LAYERING ===== */

    /* Block 1 - Position normale */
    .block-1-fixed {
        position: relative !important;
        height: auto !important;
        min-height: 100dvh;
    }

    /* Block 2 - Position normale, pas de fixed */
    .block-2-fixed {
        position: relative !important;
        top: 0 !important;
        height: auto !important;
        overflow: visible !important;
        z-index: auto !important;
    }

    .block-2-extended {
        position: relative !important;
        transform: none !important;
        height: auto !important;
    }

    /* Block 3 - Position normale */
    #block3 {
        position: relative !important;
        z-index: auto !important;
    }

    /* Cacher les spacers sur mobile */
    #spacer1,
    #spacer2 {
        display: none !important;
    }

    /* ===== ESPACEMENTS ENTRE SECTIONS ===== */

    /* Block 2 - Espacement global */
    .block-2-extended {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    /* Titre Block 2 */
    .block-2-title {
        margin-bottom: 40px;
    }

    /* Cards section */
    .cards-section {
        margin-bottom: 60px;
    }

    /* Why video section */
    .why-video-section {
        padding: 40px 0;
        margin-bottom: 40px;
    }

    /* Why choose section */
    .why-choose-section {
        padding: 40px 0;
        margin-bottom: 40px;
    }

    /* Process grid */
    .process-grid {
        margin-top: 30px;
        margin-bottom: 40px;
    }

    /* Cacher tous les separators sur mobile */
    .section-separator,
    .section-separator-large {
        display: none !important;
    }

    /* Image text section */
    .image-text-section {
        padding: 40px 0;
        margin-bottom: 40px;
    }

    /* Block 3 - Works section */
    #block3 {
        padding-top: 60px;
    }

    .works-section {
        padding: 40px 0;
    }

    /* Reviews section */
    .reviews-section {
        padding: 50px 0;
        margin-top: 40px;
    }

    /* Contact section */
    .contact-section {
        padding: 50px 0;
        margin-top: 40px;
    }

    /* FAQ section */
    .faq-section {
        padding: 50px 0;
        margin-top: 40px;
    }

    /* Footer */
    footer {
        margin-top: 40px;
    }
}

/* ─── Intro Bar ─────────────────────────────────────────────── */
.intro-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
    background-color: #0A0A0A;
    gap: 1.5rem;
}

.intro-bar__group {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.intro-bar__rect {
    flex: 1;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.03);
    min-width: 0;
}

/* Scroll pill — centre */
.intro-bar__scroll {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-bar__pill {
    width: 28px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 7px;
}

.intro-bar__arrow {
    display: block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    animation: intro-bar-bounce 1.4s ease-in-out infinite;
}

@keyframes intro-bar-bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
    50%       { transform: rotate(45deg) translateY(5px); opacity: 0.4; }
}

/* Responsive */
@media (max-width: 768px) {
    .intro-bar {
        padding: 1.25rem 1rem;
        gap: 0.75rem;
    }
    .intro-bar__group { gap: 0.5rem; }
}

@media (max-width: 480px) {
    .intro-bar__group:last-child { display: none; }
    .intro-bar__scroll { display: none; }
}
