/*
Theme Name: JSC Tech
Theme URI: https://jsc-tech.ch
Author: Nakama Digital
Description: Thème one-page industriel pour JSC Tech.
Version: 0.0.1
Date: 10.09.2026
Text Domain: jsc-tech
*/
.site-header {
    position: fixed;
    background: var(--mist);
    backdrop-filter: blur(10px)
}

.local {
    background: #fff
}

.local-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: start
}

.local .section-title {
    margin: 0;
    font-size: clamp(45px, 5.2vw, 70px)
}

.local-copy {
    font-size: 18px
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none
}

.area-list li {
    padding: 9px 12px;
    border: 1px solid #b7bcba;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase
}

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

@media(max-width:560px) {
    .site-header {
        backdrop-filter: none
    }
}

:root {
    --ink: #0b0d0e;
    --coal: #111416;
    --steel: #242a2d;
    --mist: #e8e9e6;
    --paper: #f6f6f3;
    --red: #e30613;
    --line: rgba(255, 255, 255, .18);
    --wrap: min(1240px, calc(100% - 64px));
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55
}

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

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

h2,
h3 {
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: .93;
    text-transform: uppercase
}

.site-header {
    position: fixed;
    z-index: 5;
    top: 0;
    width: 100%;
    color: var(--mist);
    border-bottom: 1px solid rgba(255, 255, 255, .16)
}

/* Mouvement court, précis et lié au défilement. */
.site-header {
    transition: background .22s ease, border-color .22s ease, box-shadow .22s ease
}

.site-header.is-scrolled {
    background: var(--mist);
    border-bottom-color: rgba(227, 6, 19, .55);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.motion-target {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .55s ease var(--motion-delay, 0ms), transform .55s cubic-bezier(.2, .75, .3, 1) var(--motion-delay, 0ms)
}

.motion-target.is-visible {
    opacity: 1;
    transform: none
}

.service-card.motion-target {
    transform: translateY(24px)
}

.service-card.motion-target.is-visible {
    transform: none
}

.logistics-image.motion-target {
    transform: translateX(-18px)
}

.logistics-content.motion-target {
    transform: translateX(18px)
}

.logistics-image.motion-target.is-visible,
.logistics-content.motion-target.is-visible {
    transform: none
}

.button {
    position: relative;
    overflow: hidden
}

.button:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .16);
    transform: translateX(-105%);
    transition: transform .3s ease
}

.button:hover:after {
    transform: translateX(0)
}

.button {
    isolation: isolate
}

.button>* {
    position: relative;
    z-index: 1
}

@media(prefers-reduced-motion:reduce) {

    .site-header,
    .motion-target,
    .button,
    .button:after {
        transition: none !important
    }

    .motion-target {
        opacity: 1;
        transform: none
    }
}


.nav-wrap {
    width: var(--wrap);
    height: 88px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.nav-wrap .brand {
    flex: 0 0 calc(30% - 14px);
}

.nav-wrap .primary-nav {
    flex: 0 0 calc(70% - 14px);
    justify-content: flex-end;
}

.nav-wrap .brand img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: .03em;
    white-space: nowrap
}

.brand-mark {
    width: 13px;
    height: 13px;
    background: var(--red);
    transform: rotate(45deg);
    display: inline-block
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink);
}

.primary-nav a:not(.button):hover {
    color: #f05b63
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    transition: background .2s, transform .2s
}

.button:hover {
    background: #ff1d29;
    transform: translateY(-2px)
}

.button--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .55)
}

.button--ghost:hover {
    border-color: #fff;
    background: #fff;
    color: var(--ink)
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 24px
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 760px;
    min-height: 100svh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(90deg,
            rgba(4, 7, 8, 0.90) 0%,
            rgba(4, 7, 8, 0.72) 45%,
            rgba(4, 7, 8, 0.30) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;

    width: var(--wrap);
    max-width: 100%;
    margin: 0 auto;

    padding: 100px 0 80px;
}

.hero-content h1 {
    max-width: 850px;
}

.hero-copy {
    max-width: 650px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stamp {
    position: absolute;
    z-index: 2;
    right: 5%;
    bottom: 40px;
}

@media (min-width: 1024px) {
    .hero-content {
        width: 90%;
    }
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    line-height: 1.4;
    text-transform: uppercase
}

.eyebrow:before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--red);
    flex: 0 0 auto
}


.section {
    padding: 118px 0
}

.container {
    width: var(--wrap);
    margin: auto
}

.intro {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(42px, 9vw, 140px);
    align-items: start
}

.intro .section-title {
    margin: 0;
    font-size: clamp(45px, 5.2vw, 76px)
}

.intro-copy {
    padding-top: 8px;
    border-top: 2px solid var(--ink)
}

.intro-copy p {
    max-width: 550px;
    margin: 21px 0 0;
    font-size: 18px
}

.intro-copy p:first-child {
    margin-top: 25px
}

.services {
    background: var(--ink);
    color: #fff
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 45px
}

.section-head .section-title {
    max-width: 720px;
    margin: 0;
    font-size: clamp(45px, 5.2vw, 76px)
}

.section-intro {
    max-width: 470px;
    margin: 0;
    color: #c4c8c8
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line)
}

.service-card {
    position: relative;
    min-height: 285px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    overflow: hidden;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #191d1f
}

.service-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3, 5, 5, .97), rgba(3, 5, 5, .15)), var(--card) center/cover;
    transition: transform .45s
}

.service-card:hover:before {
    transform: scale(1.07)
}

.service-card>* {
    position: relative
}

.service-index {
    margin-bottom: auto;
    color: #ef7077;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em
}

.service-card h3 {
    max-width: 230px;
    margin: 45px 0 7px;
    font-size: 29px
}

.service-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #d3d5d5
}

.service-arrow {
    margin-top: 16px;
    color: var(--red);
    font-size: 25px;
    line-height: 1
}

.approach {
    background: #d9dcda
}

.approach-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px
}

.approach .section-title {
    margin: 0;
    font-size: clamp(45px, 5.2vw, 70px)
}

.approach-copy {
    font-size: 18px
}

.process {
    margin-top: 62px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 2px solid var(--ink)
}

.process-step {
    min-height: 126px;
    padding: 20px 20px 14px 0;
    border-bottom: 1px solid #969b99
}

.process-step:nth-child(3n+2),
.process-step:nth-child(3n+3) {
    padding-left: 20px
}

.process-step:nth-child(3n+2) {
    border-left: 1px solid #969b99
}

.process-step:nth-child(3n+3) {
    border-left: 1px solid #969b99
}

.process-number {
    display: block;
    color: var(--red);
    font: 800 12px "Inter", sans-serif;
    letter-spacing: .1em
}

.process-step strong {
    display: block;
    margin-top: 20px;
    font: 800 22px "Barlow Condensed", sans-serif;
    letter-spacing: .02em;
    text-transform: uppercase
}

.complex {
    color: #fff;
    background-image: linear-gradient(90deg, rgba(4, 7, 8, .91) 0%, rgba(4, 7, 8, .65) 49%, rgba(4, 7, 8, .22) 100%), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=2000&q=85')
}

.logistics-image {
    background-image: url('https://images.unsplash.com/photo-1553413077-190dd305871c?auto=format&fit=crop&w=1400&q=85');
}

.complex-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

.complex .section-title {
    margin: 0;
    font-size: clamp(48px, 5.6vw, 78px)
}

.constraint-list {
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line)
}

.constraint-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font: 800 25px "Barlow Condensed", sans-serif;
    letter-spacing: .03em;
    text-transform: uppercase
}

.constraint-list li:before {
    content: "/";
    margin-right: 15px;
    color: var(--red)
}

.logistics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 570px;
    color: #fff;
    background: var(--coal)
}

.logistics-image {
    background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1400&q=85') center/cover
}

.logistics-content {
    max-width: 620px;
    padding: 100px clamp(32px, 7vw, 120px) 80px
}

.logistics-content .section-title {
    margin: 0;
    font-size: clamp(46px, 5vw, 70px)
}

.logistics-content p {
    max-width: 510px;
    color: #d0d3d2;
    font-size: 17px
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px
}

.tag-list span {
    padding: 8px 10px;
    border: 1px solid #656b69;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase
}

.cta {
    padding: 115px 0;
    color: #fff;
    background: var(--red)
}

.cta-grid {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px
}

.cta .eyebrow:before {
    background: #fff
}

.cta .section-title {
    max-width: 760px;
    margin: 0;
    font-size: clamp(54px, 7vw, 102px)
}

.cta p {
    max-width: 570px;
    font-size: 17px
}

.cta .button {
    background: var(--ink)
}

.site-footer {
    padding: 65px 0 26px;
    color: #fff;
    background: #070808
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 54px
}

.footer-copy {
    max-width: 340px;
    color: #adb2b0;
    font-size: 14px
}

.footer-title {
    margin: 0 0 16px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff
}

.footer-nav {
    display: grid;
    gap: 8px;
    color: #c6caca;
    font-size: 13px
}

.footer-nav a:hover {
    color: var(--red)
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #2c3030;
    color: #818785;
    font-size: 11px
}

.reveal {
    animation: rise .7s both
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:900px) {
    :root {
        --wrap: min(100% - 60px, 1240px)
    }

    .primary-nav {
        position: absolute;
        top: 88px;
        left: 0;
        width: 100%;
        padding: 22px 20px 26px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        background: var(--mist);
    }

    .primary-nav.is-open {
        display: flex
    }

    .menu-toggle {
        display: block
    }

    .hero-stamp {
        display: none
    }

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

    .intro,
    .approach-grid,
    .complex-grid {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .section-head {
        display: block
    }

    .section-intro {
        margin-top: 20px
    }

    .logistics {
        grid-template-columns: 1fr
    }

    .logistics-image {
        min-height: 330px
    }

    .logistics-content {
        padding: 65px 30px
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr
    }
}

@media(max-width:560px) {
    :root {
        --wrap: calc(100% - 32px)
    }

    .nav-wrap {
        height: 76px
    }

    .primary-nav {
        top: 76px
    }

    .hero {
        min-height: 700px
    }

    .hero-content {
        padding: 135px 0 55px
    }

    .hero h1 {
        font-size: 55px
    }

    .hero-copy {
        font-size: 15px
    }

    .section {
        padding: 75px 0
    }

    .service-grid {
        grid-template-columns: 1fr
    }

    .service-card {
        min-height: 245px
    }

    .process {
        grid-template-columns: 1fr
    }

    .process-step,
    .process-step:nth-child(3n+2),
    .process-step:nth-child(3n+3) {
        min-height: auto;
        padding: 17px 0;
        border-left: 0
    }

    .process-step strong {
        margin-top: 8px
    }

    .complex-grid {
        gap: 25px
    }

    .constraint-list li {
        font-size: 21px
    }

    .cta {
        padding: 75px 0
    }

    .cta-grid,
    .footer-bottom {
        display: block
    }

    .cta .button {
        margin-top: 25px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px
    }

    .footer-grid>div:first-child {
        grid-column: 1/-1
    }

    .footer-bottom p {
        margin: 0 0 8px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        animation: none
    }

    .service-card:before,
    .button {
        transition: none
    }
}