/* ============================================
   AR ÉVÉNEMENTS — Modern Black & White
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --dark: #1a1a1a;
    --grey-900: #2a2a2a;
    --grey-800: #3a3a3a;
    --grey-600: #6a6a6a;
    --grey-400: #9a9a9a;
    --grey-200: #d0d0d0;
    --grey-100: #e8e8e8;
    --off-white: #f5f5f3;
    --white: #ffffff;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--dark);
    background: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* --- Cursor dot --- */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--dark);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.15s var(--ease-out-expo);
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-dot { display: block; }
}

.cursor-dot--hover {
    transform: scale(6);
    background: var(--white);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    transition: all 0.5s var(--ease-out-expo);
}

.nav--scrolled {
    background: rgba(245, 245, 243, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 3rem;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav__logo {
    display: flex;
    align-items: center;
    transition: opacity 0.5s;
}

.nav__logo-img {
    height: 40px;
    width: auto;
    filter: brightness(10);
    transition: filter 0.5s;
}

.nav--scrolled .nav__logo-img {
    filter: brightness(0);
}

.nav__links {
    display: flex;
    gap: 2.5rem;
}

.nav__links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    position: relative;
    transition: color 0.3s;
}

.nav--scrolled .nav__links a {
    color: var(--grey-600);
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.4s var(--ease-out-expo);
}

.nav__links a:hover {
    color: var(--white);
}

.nav--scrolled .nav__links a:hover {
    color: var(--dark);
}

.nav__links a:hover::after,
.nav__links a.nav--active::after {
    width: 100%;
}

.nav__links a.nav--active {
    color: var(--white);
}

.nav--scrolled .nav__links a.nav--active {
    color: var(--dark);
}

/* Language toggle */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.35rem 0.7rem;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    transition: border-color 0.3s;
}

.lang-toggle:hover {
    border-color: rgba(255,255,255,0.5);
}

.nav--scrolled .lang-toggle {
    border-color: var(--grey-200);
}

.nav--scrolled .lang-toggle:hover {
    border-color: var(--dark);
}

.lang-toggle__option {
    color: rgba(255,255,255,0.35);
    font-weight: 400;
    transition: color 0.3s;
}

.nav--scrolled .lang-toggle__option {
    color: var(--grey-400);
}

.lang-toggle__option--active {
    color: var(--white);
    font-weight: 600;
}

.nav--scrolled .lang-toggle__option--active {
    color: var(--dark);
}

.lang-toggle__sep {
    color: rgba(255,255,255,0.2);
    font-weight: 300;
}

.nav--scrolled .lang-toggle__sep {
    color: var(--grey-300);
}

.lang-toggle--mobile {
    display: none;
    margin-right: 0.5rem;
}

/* Mobile toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all 0.4s var(--ease-out-expo);
}

.nav--scrolled .nav__toggle span {
    background: var(--dark);
}

.nav__toggle--active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav__toggle--active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--black);
}

.hero__parallax {
    position: absolute;
    inset: -20% 0;
    z-index: 0;
}

.hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,10,10,0.3) 0%,
        rgba(10,10,10,0.5) 50%,
        rgba(10,10,10,0.8) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero__tag {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--grey-400);
    margin-bottom: 2rem;
}

.hero__title {
    margin-bottom: 2.5rem;
    line-height: 1;
}

.hero__logo-img {
    max-width: clamp(340px, 50vw, 680px);
    height: auto;
    filter: brightness(10);
    margin: 0 auto;
}

.hero__subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-400);
    font-weight: 300;
}

.hero__scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 4rem;
    color: var(--grey-400);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.hero__scroll:hover { color: var(--white); }

.hero__scroll svg {
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* --- Sections --- */
.section {
    padding: 5.5rem 0;
}

.section__tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--grey-600);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 3rem;
}

.section__tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 1px;
    background: var(--grey-400);
}

.section__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--dark);
}

.section__title em {
    font-style: italic;
}

.section__intro {
    font-size: 1.05rem;
    color: var(--grey-600);
    max-width: 720px;
    line-height: 1.8;
}

.section__header {
    margin-bottom: 3rem;
}

/* --- About --- */
.section__grid--about {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 6rem;
    align-items: start;
}

.about__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.about__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about__image::after {
    content: '';
    position: absolute;
    inset: 1rem -1rem -1rem 1rem;
    border: 1px solid var(--grey-200);
    z-index: -1;
}

.about__experience {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-top: 2rem;
}

.about__experience-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 400;
    line-height: 1;
    color: var(--dark);
}

.about__experience-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--grey-600);
}

.about__paragraphs p {
    color: var(--grey-600);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

/* --- Parallax Divider --- */
.parallax-divider {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-divider__bg {
    position: absolute;
    inset: -30% 0;
    z-index: 0;
}

.parallax-divider__bg-img {
    position: absolute;
    inset: -30% 0;
    width: 100%;
    height: 160%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.parallax-divider__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.6);
    z-index: 1;
}

.parallax-divider__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.parallax-divider__quote {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    color: var(--white);
    font-weight: 400;
}

.parallax-divider__quote em {
    font-style: italic;
}

/* --- Services --- */
.services {
    background: var(--white);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.service-card {
    padding: 2.5rem 0;
    position: relative;
}

.service-card__number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--grey-100);
    line-height: 1;
    margin-bottom: 1.5rem;
    display: block;
    transition: color 0.5s;
}

.service-card:hover .service-card__number {
    color: var(--dark);
}

.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.service-card__title em {
    font-style: italic;
}

.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.service-card__list li {
    font-size: 0.9rem;
    color: var(--grey-600);
    padding-left: 1rem;
    position: relative;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 4px;
    height: 1px;
    background: var(--grey-400);
}

.service-card__line {
    position: absolute;
    top: 0;
    right: -1.5rem;
    width: 1px;
    height: 100%;
    background: var(--grey-100);
}

.service-card:last-child .service-card__line { display: none; }

/* Modes d'intervention — editorial split layout */
.modes {
    margin: 3rem 0 0;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1.4fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}

.modes__aside {
    position: sticky;
    top: 6rem;
}

.modes__eyebrow {
    display: inline-block;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--grey-500, #888);
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 2.5rem;
}

.modes__eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.75rem;
    height: 1px;
    background: var(--grey-400, #aaa);
}

.modes__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--dark);
    margin: 0;
}

.modes__title em {
    font-style: italic;
    color: var(--grey-500, #888);
}

.modes__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--grey-200, #e5e5e5);
}

.mode-row {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--grey-200, #e5e5e5);
    transition: padding 0.35s var(--ease-out-expo);
    cursor: default;
}

.mode-row::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.02));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.mode-row:hover {
    padding-left: 1rem;
    padding-right: 1rem;
}

.mode-row:hover::before {
    opacity: 1;
}

.mode-row__index {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--grey-400, #aaa);
    min-width: 1.5rem;
    transition: color 0.3s;
}

.mode-row__label {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--dark);
    transition: transform 0.35s var(--ease-out-expo);
}

.mode-row__marker {
    position: relative;
    width: 2rem;
    height: 1px;
    background: var(--grey-300, #d0d0d0);
    transition: width 0.35s var(--ease-out-expo), background 0.3s;
}

.mode-row__marker::after {
    content: "";
    position: absolute;
    right: -4px;
    top: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    color: var(--grey-300, #d0d0d0);
    transition: color 0.3s;
}

.mode-row:hover .mode-row__index {
    color: var(--dark);
}

.mode-row:hover .mode-row__label {
    transform: translateX(4px);
}

.mode-row:hover .mode-row__marker {
    width: 4rem;
    background: var(--dark);
}

.mode-row:hover .mode-row__marker::after {
    color: var(--dark);
}

@media (max-width: 900px) {
    .modes {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .modes__aside {
        position: static;
    }
}

@media (max-width: 768px) {
    .modes {
        margin: 2.5rem 0 0;
    }
    .mode-row {
        grid-template-columns: auto 1fr;
        gap: 1.25rem;
        padding: 1.25rem 0;
    }
    .mode-row__marker {
        display: none;
    }
    .mode-row:hover {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Industries hero marquee — dynamic showcase between sections */
.industries-hero {
    position: relative;
    padding: 3.5rem 0;
    background: var(--black, #0a0a0a);
    color: #fff;
    overflow: hidden;
}

.industries-hero::before,
.industries-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.industries-hero::before { top: 0; }
.industries-hero::after { bottom: 0; }

.industries-hero__label {
    text-align: center;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.5rem;
}

.industries-hero__marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.industries-hero__track {
    display: flex;
    align-items: center;
    gap: 0;
    animation: marquee-hero 40s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.industries-hero:hover .industries-hero__track {
    animation-play-state: paused;
}

.industries-hero__item {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
    padding: 0 1.75rem;
    transition: color 0.3s ease;
}

.industries-hero__item em {
    font-style: italic;
}

.industries-hero__item:hover {
    color: #fff;
}

.industries-hero__dot {
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

@keyframes marquee-hero {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .industries-hero {
        padding: 2.5rem 0;
    }
    .industries-hero__label {
        margin-bottom: 1.25rem;
        font-size: 0.7rem;
    }
    .industries-hero__item {
        padding: 0 1.25rem;
    }
    .industries-hero__dot {
        width: 4px;
        height: 4px;
    }
}

/* --- Portfolio --- */
.portfolio {
    background: var(--dark);
}

.portfolio .section__tag {
    color: var(--grey-400);
}

.portfolio .section__tag::before {
    background: var(--grey-600);
}

.portfolio .section__title {
    color: var(--white);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.portfolio__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.portfolio__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo), filter 0.6s;
    filter: grayscale(30%);
}

.portfolio__item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.portfolio__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s;
}

.portfolio__item:hover .portfolio__overlay {
    opacity: 1;
}

.portfolio__overlay span {
    font-size: 0.85rem;
    color: var(--white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

/* --- Clients --- */
.clients__targets {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    max-width: 750px;
}

.target-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1rem;
    color: var(--grey-800);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--grey-100);
    transition: all 0.3s;
}

.target-item:hover {
    padding-left: 0.5rem;
}

.target-item__dash {
    width: 2rem;
    height: 1px;
    background: var(--dark);
    flex-shrink: 0;
    transition: width 0.3s var(--ease-out-expo);
}

.target-item:hover .target-item__dash {
    width: 3rem;
}

/* Logos - Bandeau défilant */
.clients__marquee {
    overflow: hidden;
    padding: 3rem 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.clients__marquee-track {
    display: flex;
    align-items: center;
    gap: 5rem;
    animation: clientsScroll 45s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.clients__marquee:hover .clients__marquee-track {
    animation-play-state: paused;
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 80px;
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(0);
    opacity: 0.5;
    transition: opacity 0.4s;
}

.client-logo:hover img {
    opacity: 0.85;
}

@keyframes clientsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Testimonials --- */
.testimonials {
    background: var(--dark);
}

.testimonials .section__tag {
    color: var(--grey-400);
}

.testimonials .section__tag::before {
    background: var(--grey-600);
}

.testimonials .section__title {
    color: var(--white);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testimonial-card {
    padding: 2.5rem;
    background: var(--grey-900);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s;
}

.testimonial-card:hover {
    background: var(--grey-800);
    transform: translateY(-4px);
}

.testimonial-card__quote {
    color: var(--grey-600);
    margin-bottom: 1.5rem;
}

.testimonial-card__text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--grey-200);
    margin-bottom: 2rem;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grey-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--grey-400);
    letter-spacing: 0.05em;
}

.testimonial-card__author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
}

.testimonial-card__author span {
    font-size: 0.8rem;
    color: var(--grey-400);
}

/* --- Contact --- */
.contact {
    background: var(--white);
}

.contact__centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact__centered .section__tag {
    padding-left: 0;
}

.contact__centered .section__tag::before {
    display: none;
}

.contact__quote {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--grey-600);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact__email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    background: var(--dark);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    border: 1px solid var(--dark);
    transition: all 0.4s;
    margin-bottom: 2.5rem;
}

.contact__email-btn:hover {
    background: transparent;
    color: var(--dark);
}

.contact__email-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-out-expo);
}

.contact__email-btn:hover svg {
    transform: translateX(-2px);
}

.contact__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--grey-600);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.contact__meta-link {
    color: var(--grey-600);
    transition: color 0.3s;
    position: relative;
}

.contact__meta-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--dark);
    transition: width 0.4s var(--ease-out-expo);
}

.contact__meta-link:hover {
    color: var(--dark);
}

.contact__meta-link:hover::after {
    width: 100%;
}

.contact__meta-sep {
    color: var(--grey-300);
}

.contact__socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact__social {
    width: 48px;
    height: 48px;
    border: 1px solid var(--grey-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-600);
    transition: all 0.3s;
}

.contact__social:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* --- Footer --- */
.footer {
    background: var(--black);
    color: var(--grey-400);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
    z-index: 0;
}

.footer > .container {
    position: relative;
    z-index: 1;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 2rem;
}

.footer__logo-img {
    height: 35px;
    width: auto;
    filter: brightness(10);
    margin-bottom: 0.5rem;
}

.footer__tagline {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--grey-600);
}

.footer__nav {
    display: flex;
    gap: 2rem;
}

.footer__nav a {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-600);
    transition: color 0.3s;
}

.footer__nav a:hover { color: var(--white); }

.footer__legal {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 2rem;
}

.footer__legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer__legal p {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--grey-600);
}

.footer__bottom {
    text-align: center;
}

.footer__bottom p {
    font-size: 0.75rem;
    color: var(--grey-600);
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 10, 10, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 3rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.lightbox[hidden] {
    display: none;
}

.lightbox--open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox__figure {
    position: relative;
    max-width: min(1400px, 95vw);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: lightbox-in 0.4s var(--ease-out-expo);
}

.lightbox__image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    letter-spacing: 0.02em;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out-expo);
    z-index: 2;
}

.lightbox__close:hover,
.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.lightbox__close {
    top: 1.5rem;
    right: 1.5rem;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__nav:hover {
    transform: translateY(-50%) scale(1.05);
}

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

@keyframes lightbox-in {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    .lightbox__close,
    .lightbox__nav {
        width: 40px;
        height: 40px;
    }
    .lightbox__close { top: 1rem; right: 1rem; }
    .lightbox__nav--prev { left: 0.5rem; }
    .lightbox__nav--next { right: 0.5rem; }
    .lightbox__caption { font-size: 0.85rem; }
}

body.lightbox-open {
    overflow: hidden;
}

/* --- Back to top --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.4s var(--ease-out-expo),
                transform 0.4s var(--ease-out-expo),
                background 0.3s;
}

.back-to-top--visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--grey-800);
}

/* --- Reveal animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.25s; }
.reveal--delay-3 { transition-delay: 0.4s; }
.reveal--delay-4 { transition-delay: 0.6s; }

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.services__grid .reveal:nth-child(1) { transition-delay: 0s; }
.services__grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.3s; }

.portfolio__grid .reveal:nth-child(1) { transition-delay: 0s; }
.portfolio__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.portfolio__grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.portfolio__grid .reveal:nth-child(4) { transition-delay: 0.1s; }
.portfolio__grid .reveal:nth-child(5) { transition-delay: 0.2s; }
.portfolio__grid .reveal:nth-child(6) { transition-delay: 0.1s; }

.testimonials__grid .reveal:nth-child(1) { transition-delay: 0s; }
.testimonials__grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.testimonials__grid .reveal:nth-child(3) { transition-delay: 0.3s; }

/* --- Magnetic hover for interactive elements --- */
.nav__links a,
.btn,
.contact__social,
.client-logo {
    transition: all 0.3s var(--ease-out-expo);
}

/* --- Smooth parallax image container --- */
.parallax-img {
    overflow: hidden;
    will-change: transform;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .section__grid--about {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about__image {
        max-width: 400px;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card__line { display: none; }

    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer__legal-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav__toggle {
        display: flex;
    }

    .lang-toggle--mobile {
        display: inline-flex;
    }

    .nav__links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--black);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }

    .nav__links--open {
        opacity: 1;
        pointer-events: all;
    }

    .nav__links--open a {
        color: var(--white) !important;
        font-size: 1rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .hero__logo-img {
        max-width: clamp(240px, 80vw, 400px);
    }

    .portfolio__grid {
        grid-template-columns: 1fr;
    }

    .portfolio__overlay {
        opacity: 1;
    }

    .container {
        padding: 0 1.25rem;
    }

    .clients__marquee-track {
        gap: 3rem;
    }

    .client-logo {
        width: 120px;
        height: 60px;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .footer__top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer__nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .parallax-divider {
        height: 40vh;
        min-height: 280px;
    }
}
