/* ============================================================
   AUTOMATTICS — Design System & Stylesheet
   Élégance autrichienne : espace, typographie, retenue.
   ============================================================ */

:root {
    --ivory: #F5F8FF;
    --paper: #FCFFFF;
    --ink: #131311;
    --ink-soft: #4A4842;
    --ink-faint: #8A877E;
    --line: rgba(19, 19, 17, .12);
    --line-soft: rgba(19, 19, 17, .07);
    --accent: #3B82F6;
    --accent-deep: #2563EB;
    --accent-light: #60A5FA;
    --success: #10B981;
    --success-deep: #059669;
    --radius: 4px;
    --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    --font-mono: "JetBrains Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--ivory);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.locked {
    overflow: hidden;
}

::selection {
    background: var(--ink);
    color: var(--ivory);
}

img {
    max-width: 100%;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ---------- Utilitaires typographiques ---------- */
.eyebrow {
    font-size: 11px;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--accent);
}

.display {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.08;
}

.serif-i {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 700;
    color: var(--accent);
}

/* ---------- Révélation au scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.reveal[data-delay="1"] {
    transition-delay: .12s;
}

.reveal[data-delay="2"] {
    transition-delay: .24s;
}

.reveal[data-delay="3"] {
    transition-delay: .36s;
}

.reveal[data-delay="4"] {
    transition-delay: .48s;
}

.reveal[data-delay="5"] {
    transition-delay: .6s;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 22px clamp(24px, 5vw, 64px);
    transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
}

.nav.scrolled {
    background: rgb(239, 242, 246, .88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 var(--line-soft);
    padding: 14px clamp(24px, 5vw, 64px);
}

.nav-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-logo svg {
    height: 32px;
    width: auto;
    display: block;
    transition: opacity .3s, transform .3s;
}

.nav-logo:hover {
    opacity: .75;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.nav-links a {
    font-size: 12.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    position: relative;
    padding: 4px 0;
    transition: color .3s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .45s var(--ease);
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nav-cta {
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 11px 24px;
    background: var(--ink);
    color: var(--ivory);
    border: 1px solid var(--ink);
    border-radius: 100px;
    transition: all .4s var(--ease);
    box-shadow: 0 4px 14px rgba(19, 19, 17, 0.15);
    position: relative;
    z-index: 2;
}

.nav-cta:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 8px 24px -6px rgba(37, 99, 235, 0.45);
    transform: translateY(-1px);
}

.nav.scrolled .nav-cta {
    background: rgba(19, 19, 17, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 9px 20px;
    font-size: 11px;
    box-shadow: 0 4px 12px rgba(19, 19, 17, 0.1);
}

.nav.scrolled .nav-cta:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 8px 24px -6px rgba(37, 99, 235, 0.45);
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 1000;
    background: none;
    border: none;
    padding: 0;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.burger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media(max-width: 900px) {
    .nav {
        display: flex;
        justify-content: space-between;
    }

    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(246, 244, 239, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s var(--ease);
        z-index: 999;
    }

    .nav-links.mobile-open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 18px;
        letter-spacing: 0.18em;
    }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 45% at 50% 0%, rgba(200, 16, 46, .045), transparent 70%),
        radial-gradient(ellipse 40% 35% at 85% 90%, rgba(19, 19, 17, .035), transparent 70%);
}

.hero-frame {
    position: absolute;
    inset: 28px;
    border: 1px solid var(--line-soft);
    pointer-events: none;
}

.hero-frame::before,
.hero-frame::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border: 1px solid var(--ink-faint);
}

.hero-frame::before {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.hero-frame::after {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.hero-logo {
    width: min(540px, 75vw);
    margin-bottom: 52px;
    position: relative;
}

.hero-logo svg {
    width: 100%;
    height: auto;
}

.hero-logo .logo-flourish {
    position: absolute;
    left: 50%;
    bottom: -26px;
    transform: translateX(-50%);
    width: 1px;
    height: 52px;
    background: linear-gradient(var(--ink-faint), transparent);
}

.hero h1 {
    font-size: clamp(30px, 4.2vw, 56px);
    max-width: 22ch;
    margin: 24px auto 28px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.12;
}

.hero h1 em {
    font-style: normal;
    font-weight: 800;
    color: var(--accent);
}

.hero-sub {
    max-width: 560px;
    color: var(--ink-soft);
    font-size: 17px;
    font-weight: 300;
    margin: 0 auto 46px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 18px 38px;
    border-radius: 100px;
    transition: all .45s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-dark {
    background: var(--ink);
    color: var(--ivory);
}

.btn-dark:hover {
    background: var(--accent-deep);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -14px rgba(37, 99, 235, .45);
}

.btn-ghost {
    border: 1px solid var(--line);
    color: var(--ink);
}

.btn-ghost:hover {
    border-color: var(--ink);
    background: var(--paper);
}

.btn .arrow {
    transition: transform .4s var(--ease);
}

.btn:hover .arrow {
    transform: translateX(5px);
}

.hero-badges {
    display: flex;
    gap: clamp(20px, 4vw, 54px);
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 34px;
    border-top: 1px solid var(--line-soft);
    max-width: 900px;
}

.hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    letter-spacing: .06em;
    color: var(--ink-soft);
}

.hero-badges svg {
    width: 15px;
    height: 15px;
    flex: none;
}

.hero-scroll {
    margin-top: 40px;
    font-size: 10px;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--ink-faint);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-scroll::after {
    content: "";
    width: 1px;
    height: 38px;
    background: var(--ink-faint);
    animation: drip 2.4s var(--ease) infinite;
    transform-origin: top;
}

@keyframes drip {
    0% {
        transform: scaleY(0);
    }

    45% {
        transform: scaleY(1);
        transform-origin: top;
    }

    55% {
        transform-origin: bottom;
        transform: scaleY(1);
    }

    100% {
        transform-origin: bottom;
        transform: scaleY(0);
    }
}

/* ============================================================
   BANDEAU DÉFILANT
   ============================================================ */
.marquee {
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    overflow: hidden;
    padding: 20px 0;
    background: var(--paper);
}

.marquee-track {
    display: flex;
    gap: 64px;
    width: max-content;
    animation: scroll 34s linear infinite;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: 13.5px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 64px;
}

.marquee-track span::after {
    content: "·";
    color: var(--accent);
    font-style: normal;
}

@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}

/* ============================================================
   SECTIONS GENERALES
   ============================================================ */
.section {
    padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 64px);
    max-width: 1360px;
    margin: 0 auto;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: clamp(48px, 7vw, 80px);
    gap: 40px;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: clamp(24px, 3.1vw, 40px);
    margin-top: 14px;
    max-width: 22ch;
}

.section-head p {
    color: var(--ink-soft);
    max-width: 38ch;
    font-size: 15.5px;
    font-weight: 300;
}

/* ============================================================
   SERVICES — CARTE & HOVER EFFECT (Checkmark Vert)
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

@media(max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 44px 38px 50px;
    position: relative;
    background: transparent;
    transition: background .5s var(--ease);
    overflow: hidden;
}

.service::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--paper);
    opacity: 0;
    transition: opacity .5s var(--ease);
}

.service:hover::before {
    opacity: 1;
}

.service>* {
    position: relative;
}

.service-num {
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    color: var(--ink-faint);
    display: block;
    margin-bottom: 34px;
    transition: color .4s;
}

.service:hover .service-num {
    color: var(--accent);
}

.service h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin-bottom: 14px;
}

.service p {
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 400;
    line-height: 1.7;
}

.service-icon {
    position: absolute;
    top: 40px;
    right: 34px;
    width: 22px;
    height: 22px;
    color: var(--ink-faint);
    transition: all .45s var(--ease);
}

.service:hover .service-icon {
    color: var(--success);
    transform: scale(1.2);
}

/* ============================================================
   MÉTHODE
   ============================================================ */
.method {
    background: var(--ink);
    color: var(--ivory);
    border-radius: 2px;
}

.method .eyebrow::before {
    background: var(--accent-light);
}

.method .section-head h2 {
    color: var(--ivory);
}

.method .section-head h2 .serif-i {
    color: var(--accent-light);
}

.method .section-head p {
    color: rgba(246, 244, 239, .55);
}

.method-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    border-top: 1px solid rgba(246, 244, 239, .14);
}

.step {
    padding: 38px 30px 46px;
    border-right: 1px solid rgba(246, 244, 239, .1);
    position: relative;
    transition: background .5s var(--ease);
}

.step:last-child {
    border-right: none;
}

.step:hover {
    background: rgba(246, 244, 239, .04);
}

.step-num {
    font-family: var(--font-display);
    font-style: normal;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: rgba(246, 244, 239, .28);
    display: block;
    margin-bottom: 22px;
    transition: color .5s;
}

.step:hover .step-num {
    color: var(--accent-light);
}

.step h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -.015em;
    margin-bottom: 10px;
}

.step p {
    font-size: 13px;
    color: rgba(246, 244, 239, .55);
    font-weight: 300;
    line-height: 1.7;
}

/* ============================================================
   ÉTUDES DE CAS — CARTES
   ============================================================ */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

@media(max-width: 640px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

.case-card {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s;
    width: 100%;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 70px -30px rgba(19, 19, 17, .22);
    border-color: var(--line);
}

.case-thumb {
    aspect-ratio: 16/9.5;
    position: relative;
    overflow: hidden;
    background: #191816;
}

.case-thumb::before,
.modal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.02) 0%,
            rgba(255, 255, 255, 0.14) 50%,
            rgba(255, 255, 255, 0.02) 100%);
    background-size: 200% 100%;
    animation: shimmerPulse 1.6s infinite ease-in-out;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.img-loader-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(19, 19, 17, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.img-loader-spinner {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: var(--accent-light);
    border-radius: 50%;
    animation: btnSpin 0.7s linear infinite;
}

.case-thumb.is-loaded::before,
.modal-hero.is-loaded::before,
.case-thumb.is-loaded .img-loader-badge,
.modal-hero.is-loaded .img-loader-badge {
    opacity: 0;
    visibility: hidden;
}

.case-thumb img,
.modal-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
}

.case-thumb.is-loaded img,
.modal-hero.is-loaded img,
#modalImg.is-loaded img,
.modal-slideshow img,
.slide-item img {
    opacity: 1 !important;
}

.case-card:hover img {
    transform: scale(1.06);
}

.case-thumb .case-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 500;
    background: rgba(253, 252, 249, .92);
    backdrop-filter: blur(6px);
    padding: 7px 14px;
    border-radius: 100px;
    color: var(--ink);
}

.case-body {
    padding: 30px 30px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.case-stat {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 4px;
}

.case-stat small {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--ink-faint);
    letter-spacing: .04em;
    margin-top: 6px;
    font-weight: 500;
}

.case-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    line-height: 1.3;
    margin: 20px 0 10px;
    letter-spacing: -.02em;
}

.case-desc {
    font-size: 13.5px;
    color: var(--ink-soft);
    font-weight: 300;
    line-height: 1.7;
    flex: 1;
}

.case-link {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--ink);
}

.case-link .dot {
    width: 26px;
    height: 26px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: all .45s var(--ease);
}

.case-card:hover .case-link .dot {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--ivory);
    transform: rotate(45deg);
}

.dummy-label {
    position: absolute;
    inset: auto 18px 16px auto;
    z-index: 2;
    font-family: var(--font-mono);
    font-style: normal;
    font-weight: 500;
    font-size: 11px;
    color: rgba(253, 252, 249, .9);
    letter-spacing: .06em;
    background: rgba(19, 19, 17, 0.6);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 4px;
}

/* ============================================================
   POURQUOI / À PROPOS
   ============================================================ */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(50px, 7vw, 110px);
    align-items: start;
}

@media(max-width:900px) {
    .about {
        grid-template-columns: 1fr;
    }
}

.about h2 {
    font-size: clamp(24px, 3vw, 38px);
    margin: 20px 0 28px;
}

.about p {
    color: var(--ink-soft);
    font-weight: 300;
    font-size: 15.5px;
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
    margin-top: 34px;
    border-top: 1px solid var(--line);
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px 4px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14.5px;
    color: var(--ink-soft);
    transition: padding-left .4s var(--ease), color .3s;
}

.about-list li:hover {
    padding-left: 14px;
    color: var(--ink);
}

.about-list svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex: none;
}

.about-quote {
    border-left: 2px solid var(--accent);
    padding: 8px 0 8px 32px;
    margin-top: 44px;
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.45;
    letter-spacing: -.02em;
    color: var(--ink);
}

.about-quote footer {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-top: 18px;
}

/* ============================================================
   CONTACT & FORMULAIRE DE CONSULTATION
   ============================================================ */
.contact-wrap {
    background: var(--ink);
    color: var(--ivory);
    border-radius: 2px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    overflow: hidden;
}

@media(max-width:900px) {
    .contact-wrap {
        grid-template-columns: 1fr;
    }
}

.contact-left {
    padding: clamp(50px, 6vw, 90px);
}

.contact-left .eyebrow {
    color: rgba(246, 244, 239, .5);
}

.contact-left h2 {
    font-size: clamp(24px, 3.1vw, 40px);
    color: var(--ivory);
    margin: 20px 0 24px;
}

.contact-left .eyebrow::before {
    background: var(--accent-light);
}

.contact-left h2 .serif-i {
    color: var(--accent-light);
}

.contact-left p {
    color: rgba(246, 244, 239, .6);
    font-weight: 300;
    max-width: 42ch;
}

.contact-info {
    margin-top: 46px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(246, 244, 239, .12);
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -.015em;
    font-size: 19px;
    color: var(--ivory);
    transition: padding-left .4s var(--ease), color .3s;
}

.contact-info a:hover {
    padding-left: 12px;
    color: var(--accent-light);
}

.contact-info svg {
    width: 17px;
    height: 17px;
    color: var(--accent-light);
}

.contact-right {
    background: var(--paper);
    color: var(--ink);
    padding: clamp(40px, 5vw, 70px);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media(max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.field {
    margin-bottom: 22px;
}

.field.full-width {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    font-size: 10.5px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 8px;
    font-weight: 500;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 10px 2px 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    outline: none;
    transition: border-color .4s;
    resize: vertical;
    border-radius: 0;
}

.field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%3C131311' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--ink);
}

.field {
    display: flex;
    flex-direction: column;
    position: relative;
}

.field-error-msg {
    display: none;
    font-size: 12px;
    color: #dc2626;
    margin-top: 6px;
    font-weight: 600;
}

.field.has-error .field-error-msg {
    display: block;
}

.field.has-error label {
    color: #dc2626 !important;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea,
.field input.input-error,
.field select.input-error,
.field textarea.input-error {
    border-bottom: 2px solid #dc2626 !important;
    background-color: rgba(220, 38, 38, 0.05) !important;
}

.field textarea {
    min-height: 90px;
}

.form-note {
    font-size: 11.5px;
    color: var(--ink-faint);
    margin-top: 18px;
    font-weight: 300;
}

.form-success {
    display: none;
    padding: 16px 20px;
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-left: 4px solid var(--success);
    border-radius: var(--radius);
    font-size: 13.5px;
    color: #065f46;
    margin-top: 18px;
    background: rgba(16, 185, 129, 0.1);
    line-height: 1.5;
}

.form-error {
    display: none;
    padding: 16px 20px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-left: 4px solid #dc2626;
    border-radius: var(--radius);
    font-size: 13.5px;
    color: #991b1b;
    margin-top: 18px;
    background: rgba(254, 226, 226, 0.85);
    line-height: 1.5;
}

.form-already-submitted {
    display: none;
    padding: 18px 22px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    font-size: 13.5px;
    color: #1e40af;
    margin-top: 18px;
    background: rgba(37, 99, 235, 0.08);
    line-height: 1.6;
}

.btn-reset-form {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: btnSpin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes btnSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   FOOTER (Élégant & Centré)
   ============================================================ */
.footer {
    border-top: 1px solid var(--line-soft);
    margin-top: clamp(80px, 10vw, 140px);
    padding: 60px clamp(24px, 6vw, 80px) 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    text-align: center;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo svg {
    height: 32px;
    width: auto;
    display: block;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    transition: color .3s;
}

.footer-links a:hover {
    color: var(--ink);
}

.footer small {
    font-size: 13px;
    color: var(--ink-faint);
    letter-spacing: .06em;
}

/* ============================================================
   MODALE ÉTUDE DE CAS
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(19, 19, 17, .55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: grid;
    place-items: center;
    padding: clamp(12px, 3vw, 40px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s var(--ease);
}

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

.modal {
    background: var(--paper);
    width: min(880px, 100%);
    max-height: 88vh;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(46px) scale(.97);
    opacity: 0;
    transition: transform .6s var(--ease), opacity .5s var(--ease);
    box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .5);
}

.modal-overlay.open .modal {
    transform: none;
    opacity: 1;
}

.modal-hero {
    position: relative;
    height: clamp(180px, 26vw, 280px);
    flex: none;
    overflow: hidden;
    background: var(--ink);
}

#modalImg,
.dummy-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.modal-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-hero .modal-tags {
    position: absolute;
    bottom: 20px;
    left: 28px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.modal-tags span {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 500;
    background: rgba(253, 252, 249, .92);
    padding: 7px 14px;
    border-radius: 100px;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(253, 252, 249, .94);
    display: grid;
    place-items: center;
    transition: transform .45s var(--ease), background .3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.modal-close:hover {
    transform: rotate(90deg);
    background: var(--ink);
    color: var(--ivory);
}

.modal-body {
    overflow-y: auto;
    padding: clamp(30px, 5vw, 58px);
    scrollbar-width: thin;
}

.modal-body::-webkit-scrollbar {
    width: 5px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 10px;
}

.modal-kicker {
    font-size: 10.5px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 14px;
    display: block;
}

.modal-body h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -.03em;
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.15;
    margin-bottom: 26px;
    max-width: 22ch;
}

.modal-client {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 36px;
    font-size: 14px;
}

.modal-client strong {
    font-weight: 600;
    white-space: nowrap;
}

.modal-client span {
    color: var(--ink-soft);
    font-weight: 300;
}

.modal-section {
    margin-bottom: 36px;
}

.modal-section h5 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.015em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.modal-section h5::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line-soft);
}

.modal-section p {
    font-size: 14.5px;
    color: var(--ink-soft);
    font-weight: 300;
    margin-bottom: 12px;
}

.modal-list {
    list-style: none;
    columns: 2;
    column-gap: 36px;
}

@media(max-width:640px) {
    .modal-list {
        columns: 1;
    }
}

.modal-list li {
    font-size: 13.5px;
    color: var(--ink-soft);
    font-weight: 300;
    padding: 8px 0 8px 22px;
    position: relative;
    break-inside: avoid;
    border-bottom: 1px solid var(--line-soft);
}

.modal-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 16px;
    width: 7px;
    height: 1.5px;
    background: var(--accent);
}

.modal-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 8px;
}

.modal-numbers div {
    background: var(--ivory);
    padding: 20px 18px;
}

.modal-numbers b {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(20px, 2.2vw, 24px);
    display: block;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-numbers span {
    font-size: 12px;
    color: var(--ink-faint);
    display: block;
    margin-top: 8px;
    line-height: 1.5;
}

.modal-quote {
    margin-top: 36px;
    background: var(--ivory);
    border-left: 2px solid var(--accent);
    padding: 26px 30px;
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 600;
    font-size: 16.5px;
    line-height: 1.6;
    letter-spacing: -.015em;
    color: var(--ink);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.modal-cta {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.modal-cta p {
    font-size: 13px;
    color: var(--ink-faint);
    font-weight: 300;
}

/* ============================================================
   RESPONSIVE MODIFIERS
   ============================================================ */
@media(max-width:640px) {
    .hero-frame {
        inset: 14px;
    }

    .step {
        border-right: none;
        border-bottom: 1px solid rgba(246, 244, 239, .1);
    }

    .nav-cta {
        display: none;
    }
}

/* ============================================================
   MODAL CAROUSEL / SLIDESHOW CONTROLS
   ============================================================ */
.modal-slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0d1117;
}

.slides-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(19, 19, 17, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.slide-nav:hover {
    background: rgba(37, 99, 235, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.08);
}

.slide-nav.prev {
    left: 16px;
}

.slide-nav.next {
    right: 16px;
}

.slide-dots {
    position: absolute;
    bottom: 16px;
    right: 24px;
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s, width 0.3s;
}

.slide-dot.active {
    background: var(--accent);
    width: 20px;
    border-radius: 10px;
}

.slide-counter {
    position: absolute;
    top: 18px;
    left: 20px;
    z-index: 10;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: rgba(19, 19, 17, 0.7);
    backdrop-filter: blur(6px);
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
