/* =========================================================
   SIR PATOCHE — FEUILLE DE STYLE PRINCIPALE
   Tu peux modifier les couleurs générales dans :root.
   ========================================================= */

:root {
    --background: #020306;
    --background-soft: #07090f;
    --panel: rgba(8, 11, 17, 0.88);
    --panel-strong: #090c13;
    --border: rgba(255, 255, 255, 0.11);
    --border-light: rgba(255, 255, 255, 0.17);

    --text: #f4f1ee;
    --text-soft: #a9aab1;
    --text-muted: #747780;

    --red: #df3546;
    --red-bright: #ff4b5d;
    --red-dark: #50141c;

    --blue: #5267ff;
    --purple: #8e58ff;
    --green: #1ed760;

    --shadow: 0 28px 80px rgba(0, 0, 0, 0.56);
    --radius-large: 24px;
    --radius-medium: 16px;
    --radius-small: 10px;

    --max-width: 1320px;
    --header-height: 86px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;

    color: var(--text);
    background:
        radial-gradient(circle at 75% 8%, rgba(158, 21, 40, 0.13), transparent 29%),
        radial-gradient(circle at 24% 30%, rgba(27, 49, 93, 0.09), transparent 25%),
        var(--background);

    font-family:
        Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

::selection {
    color: white;
    background: rgba(223, 53, 70, 0.7);
}

.page-noise {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0.055;
    mix-blend-mode: screen;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

.section-shell {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

/* ---------------------- Header ---------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    min-height: var(--header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(2, 3, 6, 0.78);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(calc(100% - 40px), var(--max-width));
    min-height: var(--header-height);
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    flex-shrink: 0;
}

.brand-main {
    color: var(--red-bright);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-shadow: 0 0 24px rgba(223, 53, 70, 0.35);
}

.brand-sub {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.28em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3.4vw, 42px);
}

.nav-link {
    position: relative;
    padding: 32px 0 28px;

    color: var(--text-soft);
    font-size: 0.92rem;
    transition:
        color 180ms ease,
        text-shadow 180ms ease;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: 19px;
    left: 0;

    height: 2px;
    content: "";
    transform: scaleX(0);
    transform-origin: center;

    background: var(--red);
    box-shadow: 0 0 14px rgba(223, 53, 70, 0.85);
    transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 1px;
    margin: 6px auto;

    background: white;
    transition: transform 180ms ease;
}

/* ---------------------- Hero ---------------------- */

.hero {
    position: relative;
    isolation: isolate;

    padding-top: 24px;
}

.hero-grid {
    position: relative;
    min-height: 650px;
    overflow: hidden;

    display: grid;
    grid-template-columns: minmax(390px, 0.88fr) minmax(520px, 1.45fr);

    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius-large) var(--radius-large);

    background:
        linear-gradient(90deg, rgba(3, 4, 8, 0.99) 0%, rgba(3, 4, 8, 0.96) 35%, rgba(3, 4, 8, 0.20) 72%),
        #040508;

    box-shadow: var(--shadow);
}

.hero-grid::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    height: 190px;
    content: "";
    pointer-events: none;

    background: linear-gradient(transparent, rgba(2, 3, 6, 0.82));
}

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

    padding: clamp(66px, 7vw, 104px) 28px 58px clamp(36px, 6vw, 82px);
}

.eyebrow {
    margin: 0 0 22px;

    color: var(--red-bright);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;

    color: #e9e5e2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4.6rem, 9vw, 8.8rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.77;
    text-shadow:
        0 1px 0 white,
        0 16px 35px rgba(0, 0, 0, 0.6);
}

.hero h1 span {
    color: #a9a7a8;
    font-size: 0.72em;
    letter-spacing: -0.035em;
}

.hero-kicker {
    margin: 26px 0 0;

    color: var(--red-bright);
    font-size: clamp(0.95rem, 1.7vw, 1.4rem);
    font-weight: 600;
    letter-spacing: 0.34em;
}

.hero-copy {
    max-width: 500px;
    margin: 28px 0 0;

    color: #c2c1c4;
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 34px;
}

.button {
    min-height: 52px;
    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    border: 1px solid transparent;
    border-radius: 7px;

    font-size: 0.81rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

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

.button-primary {
    border-color: rgba(255, 92, 108, 0.7);
    background:
        linear-gradient(180deg, rgba(223, 53, 70, 0.32), rgba(100, 16, 29, 0.22));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 24px rgba(223, 53, 70, 0.2);
}

.button-primary:hover {
    border-color: var(--red-bright);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 32px rgba(223, 53, 70, 0.34);
}

.button-secondary {
    border-color: var(--border-light);
    background: rgba(7, 9, 14, 0.72);
}

.button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.055);
}

.scroll-hint {
    width: fit-content;
    margin-top: 42px;

    display: inline-flex;
    flex-direction: column;
    gap: 9px;

    color: var(--text-muted);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.scroll-hint span {
    width: 2px;
    height: 36px;

    background: linear-gradient(var(--red), transparent);
}

.hero-visual {
    position: absolute;
    inset: 0 0 0 35%;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-target {
    position: absolute;
    top: 30%;
    right: 3.5%;

    display: grid;
    justify-items: center;
    gap: 13px;

    opacity: 0.75;
}

.hero-target span {
    width: 28px;
    height: 28px;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;

    background:
        linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, 0.75) 48% 52%, transparent 53%),
        linear-gradient(transparent 47%, rgba(255, 255, 255, 0.75) 48% 52%, transparent 53%);
}

.hero-target::before {
    width: 1px;
    height: 54px;
    content: "";

    background: linear-gradient(transparent, rgba(255, 255, 255, 0.62));
}

.hero-target i {
    width: 5px;
    height: 5px;

    display: block;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
}

.hero-target i:nth-of-type(2) {
    background: var(--red-bright);
    box-shadow: 0 0 12px var(--red);
}

/* ---------------------- Generic sections ---------------------- */

.content-section {
    padding-top: 62px;
}

.section-heading {
    margin-bottom: 26px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.section-heading > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-heading h2 {
    margin: 0;

    color: #d4d3d6;
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading > a,
.section-heading > p {
    margin: 0;

    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading > a:hover {
    color: white;
}

.section-icon {
    color: var(--red-bright);
    font-size: 1.15rem;
    text-shadow: 0 0 14px rgba(223, 53, 70, 0.65);
}

.spotify-dot {
    color: var(--green);
    font-size: 1.45rem;
    line-height: 1;
}

/* ---------------------- Software ---------------------- */

.software-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-card {
    position: relative;
    min-height: 330px;
    overflow: hidden;

    display: grid;
    grid-template-columns: 1fr 45%;

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);

    background:
        linear-gradient(135deg, rgba(14, 17, 26, 0.97), rgba(4, 5, 8, 0.92));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);

    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.21);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
}

.project-card::after {
    position: absolute;
    inset: auto 0 0;

    height: 1px;
    content: "";

    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.45;
}

.project-card-blue {
    --accent-color: var(--blue);
}

.project-card-red {
    --accent-color: var(--red);
}

.project-card-purple {
    --accent-color: var(--purple);
}

.project-card-content {
    position: relative;
    z-index: 2;
    padding: 28px 0 26px 28px;
}

.project-card > img {
    position: absolute;
    right: 0;
    bottom: 0;

    width: 57%;
    height: 100%;

    object-fit: cover;
    object-position: center;
    opacity: 0.92;
    mask-image: linear-gradient(90deg, transparent, black 32%);
}

.project-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 24px;

    display: grid;
    place-items: center;

    border: 1px solid color-mix(in srgb, var(--accent-color), white 24%);
    border-radius: 13px;

    color: var(--accent-color);
    background: rgba(0, 0, 0, 0.32);

    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;

    box-shadow: 0 0 28px color-mix(in srgb, var(--accent-color), transparent 82%);
}

.project-label {
    margin: 0 0 7px;

    color: var(--text-muted);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.project-card h3 {
    margin: 0;

    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    font-weight: 600;
}

.project-accent {
    margin: 9px 0 0;
    color: var(--accent-color);
    font-weight: 650;
}

.project-description {
    max-width: 290px;
    margin: 16px 0 0;

    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.65;
}

.project-actions {
    margin-top: 26px;
}

.text-link {
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.text-link span {
    margin-left: 8px;
    transition: margin-left 180ms ease;
}

.text-link:hover span {
    margin-left: 13px;
}

.status-chip {
    padding: 9px 12px;

    border: 1px solid rgba(142, 88, 255, 0.3);
    border-radius: 999px;

    color: #bb9aff;
    background: rgba(142, 88, 255, 0.07);

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

/* ---------------------- Game ---------------------- */

.development-label {
    color: var(--red-bright) !important;
}

.development-label span {
    margin-left: 8px;
    font-size: 0.65rem;
}

.game-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;

    display: grid;
    grid-template-columns: 1.25fr 0.75fr;

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);

    background: #080a0f;
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.35);
}

.game-card::after {
    position: absolute;
    inset: auto 0 0;

    height: 1px;
    content: "";

    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: 0.5;
}

.game-card > img {
    width: 100%;
    height: 100%;
    min-height: 320px;

    object-fit: cover;
}

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

    padding: clamp(34px, 5vw, 66px);
    align-content: center;

    background:
        linear-gradient(90deg, transparent, rgba(4, 5, 8, 0.86) 12%, rgba(4, 5, 8, 0.98) 34%);
}

.game-content h3 {
    margin: 0;

    color: #e3dfdd;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.game-tagline {
    margin: 9px 0 0 !important;
    color: var(--red-bright) !important;
    font-size: 0.79rem !important;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.game-content > p:not(.project-label, .game-tagline) {
    max-width: 470px;
    margin: 22px 0 25px;

    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ---------------------- Social ---------------------- */

.social-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.social-link {
    min-width: 0;
    min-height: 74px;
    padding: 14px 16px;

    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 11px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: rgba(8, 10, 15, 0.75);

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.23);
    background: rgba(255, 255, 255, 0.04);
}

.social-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    color: white;
    background: rgba(255, 255, 255, 0.06);

    font-size: 1rem;
    font-weight: 900;
}

.social-icon.youtube {
    color: #ff3a42;
}

.social-icon.instagram {
    color: #ff3e9f;
}

.social-icon.tiktok {
    color: #5ce4e9;
}

.social-icon.github {
    color: white;
}

.social-icon.spotify {
    color: var(--green);
}

.social-link strong,
.social-link small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.social-link strong {
    color: #dfdddf;
    font-size: 0.82rem;
}

.social-link small {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 0.68rem;
}

.social-link i {
    color: var(--text-muted);
    font-style: normal;
}

/* ---------------------- About & footer ---------------------- */

.about-section {
    padding-top: 62px;
}

.about-card {
    padding: clamp(28px, 5vw, 52px);

    display: grid;
    grid-template-columns: 0.65fr 1.3fr 0.9fr;
    align-items: center;
    gap: 34px;

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);

    background:
        radial-gradient(circle at 84% 15%, rgba(223, 53, 70, 0.09), transparent 28%),
        rgba(8, 10, 15, 0.72);
}

.about-card h2 {
    margin: 0;

    color: #e4e0de;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.5vw, 3.3rem);
}

.about-card > p {
    margin: 0;

    color: var(--text-soft);
    line-height: 1.75;
}

.about-card blockquote {
    margin: 0;
    padding-left: 24px;

    border-left: 2px solid var(--red);

    color: #d4d0cf;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem;
    font-style: italic;
    line-height: 1.6;
}

.site-footer {
    min-height: 150px;
    padding-block: 42px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;

    color: var(--text-muted);
    font-size: 0.76rem;
}

.footer-brand {
    color: var(--red-bright);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    letter-spacing: 0.14em;
}

.site-footer p {
    margin: 0;
    text-align: center;
}

.back-to-top {
    width: 44px;
    height: 44px;
    justify-self: end;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: white;
    background: rgba(255, 255, 255, 0.03);

    transition:
        transform 180ms ease,
        border-color 180ms ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    border-color: var(--red);
}

/* ---------------------- Toast ---------------------- */

.toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 200;

    max-width: min(360px, calc(100% - 44px));
    padding: 14px 18px;

    border: 1px solid rgba(223, 53, 70, 0.45);
    border-radius: 10px;

    color: white;
    background: rgba(18, 8, 11, 0.94);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);

    font-size: 0.8rem;

    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

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

/* ---------------------- Animations ---------------------- */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 650ms ease,
        transform 650ms ease;
}

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

/* ---------------------- Responsive ---------------------- */

@media (max-width: 1120px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: 660px;
    }

    .hero-visual {
        left: 24%;
        opacity: 0.8;
    }

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

    .project-card-purple {
        grid-column: 1 / -1;
    }

    .playlist-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 72px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 102;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        inset: 0;
        z-index: 101;

        padding: 110px 34px 40px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;

        background:
            radial-gradient(circle at 75% 18%, rgba(223, 53, 70, 0.18), transparent 28%),
            rgba(2, 3, 6, 0.98);

        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);

        transition:
            opacity 180ms ease,
            transform 180ms ease;
    }

    .main-nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        padding: 17px 0;

        border-bottom: 1px solid var(--border);

        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.6rem;
    }

    .nav-link::after {
        display: none;
    }

    .brand {
        position: relative;
        z-index: 102;
    }

    .hero-grid {
        min-height: 700px;
    }

    .hero-content {
        padding: 74px 26px 48px;
    }

    .hero h1 {
        font-size: clamp(4.4rem, 21vw, 7.4rem);
    }

    .hero-kicker {
        letter-spacing: 0.19em;
    }

    .hero-visual {
        left: 0;
        opacity: 0.42;
    }

    .hero-grid {
        background:
            linear-gradient(90deg, rgba(3, 4, 8, 0.99), rgba(3, 4, 8, 0.76)),
            #040508;
    }

    .hero-target {
        display: none;
    }

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

    .project-card-purple {
        grid-column: auto;
    }

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

    .game-card {
        grid-template-columns: 1fr;
    }

    .game-card > img {
        min-height: 260px;
    }

    .game-content {
        margin-top: -60px;
        padding-top: 92px;

        background:
            linear-gradient(transparent, rgba(4, 5, 8, 0.99) 28%);
    }

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

    .about-card {
        grid-template-columns: 1fr;
    }

    .site-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .back-to-top {
        justify-self: center;
    }
}

@media (max-width: 560px) {
    .section-shell,
    .header-inner {
        width: min(calc(100% - 24px), var(--max-width));
    }

    .brand-sub {
        display: none;
    }

    .hero {
        padding-top: 12px;
    }

    .hero-grid {
        min-height: 670px;
        border-radius: 0 0 18px 18px;
    }

    .hero-content {
        padding-inline: 22px;
    }

    .hero-copy {
        font-size: 0.94rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .section-heading {
        align-items: flex-end;
    }

    .section-heading h2 {
        font-size: 1rem;
    }

    .section-heading > a,
    .section-heading > p {
        font-size: 0.58rem;
    }

    .software-grid {
        gap: 14px;
    }

    .project-card {
        min-height: 380px;
        grid-template-columns: 1fr;
    }

    .project-card-content {
        padding: 24px;
    }

    .project-card > img {
        width: 100%;
        height: 54%;
        opacity: 0.5;
        mask-image: linear-gradient(transparent, black);
    }

    .project-description {
        max-width: 90%;
    }

    .playlist-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .playlist-cover span {
        padding: 12px;
        font-size: 0.78rem;
        letter-spacing: 0.08em;
    }

    .playlist-card p {
        display: none;
    }

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

    .game-content h3 {
        font-size: 2.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
/* =========================================================
   VERSION 2 — HEADER PLEINE LARGEUR, MISES À JOUR ET MÉNAGE
   ========================================================= */

/* Le hero occupe désormais toute la largeur de l'écran. */
.hero {
    width: 100%;
    padding-top: 0;
}

.hero-grid {
    width: 100%;
    min-height: clamp(
        680px,
        calc(100svh - var(--header-height)),
        900px
    );

    border: 0;
    border-radius: 0;

    background: #040508;
    box-shadow: none;
}

/* Dégradé de lisibilité posé devant l'image. */
.hero-grid::before {
    position: absolute;
    inset: 0;
    z-index: 1;

    content: "";
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(2, 3, 6, 0.99) 0%,
            rgba(2, 3, 6, 0.94) 27%,
            rgba(2, 3, 6, 0.63) 49%,
            rgba(2, 3, 6, 0.08) 78%
        ),
        linear-gradient(
            0deg,
            rgba(2, 3, 6, 0.92) 0%,
            transparent 32%
        );
}

.hero-grid::after {
    z-index: 1;
}

.hero-content {
    width: min(660px, 100%);
    padding:
        clamp(70px, 8vw, 120px)
        30px
        70px
        max(40px, calc((100vw - var(--max-width)) / 2 + 20px));
}

.hero-visual {
    inset: 0;
    z-index: 0;
}

.hero-visual img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: 66% center;
}

/* Menu déroulant des mises à jour. */
.updates-dropdown {
    position: relative;
    width: fit-content;
    margin-top: 34px;
}

.updates-toggle {
    cursor: pointer;
}

.updates-toggle[aria-expanded="true"] .updates-button-icon {
    transform: rotate(180deg);
}

.updates-button-icon {
    display: inline-block;
    transition: transform 180ms ease;
}

.updates-panel {
    position: absolute;
    top: calc(100% + 13px);
    left: 0;
    z-index: 20;

    width: min(610px, calc(100vw - 80px));
    overflow: hidden;

    border: 1px solid rgba(255, 83, 100, 0.4);
    border-radius: 13px;

    background:
        radial-gradient(
            circle at 8% 5%,
            rgba(223, 53, 70, 0.13),
            transparent 32%
        ),
        rgba(5, 6, 10, 0.98);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(223, 53, 70, 0.11);

    animation: updates-panel-in 180ms ease both;
}

.updates-panel-heading {
    min-height: 50px;
    padding: 0 13px 0 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-bottom: 1px solid var(--border);

    color: #dcd8d8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.updates-close {
    width: 32px;
    height: 32px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.04);

    font-size: 1.2rem;
    cursor: pointer;
}

.updates-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.updates-list {
    margin: 0;
    padding: 8px 18px 10px;

    list-style: none;
}

.updates-list li {
    min-height: 56px;
    padding: 12px 0;

    display: grid;
    grid-template-columns:
        minmax(112px, 0.95fr)
        minmax(88px, 0.8fr)
        minmax(130px, 1.2fr)
        auto;
    align-items: center;
    gap: 12px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.updates-list li:last-child {
    border-bottom: 0;
}

.updates-list time {
    color: var(--text-soft);
    font-size: 0.75rem;
}

.updates-list strong {
    color: #e6e2e1;
    font-size: 0.78rem;
}

.update-type {
    width: fit-content;
    padding: 6px 8px;

    border: 1px solid rgba(223, 53, 70, 0.3);
    border-radius: 999px;

    color: #ff7482;
    background: rgba(223, 53, 70, 0.08);

    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.update-type.release {
    border-color: rgba(142, 88, 255, 0.4);
    color: #bc9eff;
    background: rgba(142, 88, 255, 0.08);
}

.update-version {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 800;
}

@keyframes updates-panel-in {
    from {
        opacity: 0;
        transform: translateY(-7px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Trois réseaux uniquement. */
.social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-icon.paypal {
    color: #67a8ff;
}

/* Footer simplifié. */
.site-footer {
    min-height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-footer p {
    text-align: center;
}

/* Flèche flottante accessible à tout moment après le début du scroll. */
.floating-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;

    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);

    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.48);

    transition:
        opacity 180ms ease,
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

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

.floating-back-to-top:hover {
    background: rgba(223, 53, 70, 0.13);
}

/* Responsive V2. */
@media (max-width: 1120px) {
    .hero-grid {
        min-height: 760px;
    }

    .hero-visual {
        left: 0;
        opacity: 1;
    }

    .hero-visual img {
        object-position: 62% center;
    }
}

@media (max-width: 820px) {
    .hero-grid {
        min-height: calc(100svh - var(--header-height));
    }

    .hero-grid::before {
        background:
            linear-gradient(
                90deg,
                rgba(2, 3, 6, 0.96),
                rgba(2, 3, 6, 0.65)
            ),
            linear-gradient(
                0deg,
                rgba(2, 3, 6, 0.94),
                transparent 45%
            );
    }

    .hero-content {
        width: 100%;
        padding: 78px 28px 56px;
    }

    .hero-visual {
        opacity: 0.75;
    }

    .hero-visual img {
        object-position: 68% center;
    }

    .updates-panel {
        position: fixed;
        top: auto;
        right: 18px;
        bottom: 18px;
        left: 18px;

        width: auto;
        max-height: min(520px, calc(100svh - 36px));
        overflow-y: auto;
    }

    .updates-list li {
        grid-template-columns: 1fr auto;
        gap: 8px 14px;
    }

    .updates-list time,
    .updates-list strong {
        grid-column: 1;
    }

    .update-type,
    .update-version {
        grid-column: 2;
        grid-row: auto;
    }

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

    .site-footer {
        display: flex;
    }
}

@media (max-width: 560px) {
    .hero {
        padding-top: 0;
    }

    .hero-grid {
        min-height: calc(100svh - var(--header-height));
        border-radius: 0;
    }

    .hero-content {
        padding: 66px 22px 44px;
    }

    .hero h1 {
        font-size: clamp(4.1rem, 20vw, 6.5rem);
    }

    .hero-copy {
        max-width: 94%;
    }

    .updates-dropdown {
        width: 100%;
    }

    .updates-toggle {
        width: 100%;
    }

    .floating-back-to-top {
        right: 14px;
        bottom: 14px;
    }
}
/* =========================================================
   VERSION 3 — LE HEADER BASCULE VERS LE TABLEAU DES MAJ
   ========================================================= */

[hidden] {
    display: none !important;
}

.hero-content {
    display: grid;
    align-items: center;
}

.hero-view {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px);
    transition:
        opacity 320ms ease,
        transform 320ms ease,
        visibility 0s linear 320ms;
}

.hero-view.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
        opacity 320ms ease,
        transform 320ms ease,
        visibility 0s;
}

.updates-toggle {
    width: fit-content;
    margin-top: 34px;
    cursor: pointer;
}

.hero-updates-view {
    width: min(760px, calc(100vw - 80px));
}

.updates-header {
    margin-bottom: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.updates-header .eyebrow {
    margin-bottom: 12px;
}

.updates-header h2 {
    margin: 0;
    color: #e9e5e2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.updates-back {
    min-height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-light);
    border-radius: 7px;
    color: #d8d5d5;
    background: rgba(5, 7, 11, 0.68);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.updates-back:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.055);
}

.updates-table {
    overflow: hidden;
    border: 1px solid rgba(255, 83, 100, 0.35);
    border-radius: 14px;
    background:
        radial-gradient(circle at 8% 5%, rgba(223, 53, 70, 0.15), transparent 35%),
        rgba(5, 6, 10, 0.9);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.62),
        0 0 46px rgba(223, 53, 70, 0.09);
    backdrop-filter: blur(18px);
}

.updates-table-row {
    min-height: 74px;
    padding: 0 22px;
    display: grid;
    grid-template-columns:
        minmax(128px, 0.95fr)
        minmax(104px, 0.8fr)
        minmax(150px, 1.25fr)
        auto;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.updates-table-row:last-child {
    border-bottom: 0;
}

.updates-table-head {
    min-height: 48px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.updates-table time {
    color: var(--text-soft);
    font-size: 0.79rem;
}

.updates-table strong {
    color: #e6e2e1;
    font-size: 0.86rem;
}

.software-grid.two-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 820px) {
    .hero-updates-view {
        width: 100%;
    }

    .updates-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .updates-table-row {
        min-height: 88px;
        padding: 14px 18px;
        grid-template-columns: 1fr auto;
        gap: 8px 14px;
    }

    .updates-table-head {
        display: none;
    }

    .updates-table time,
    .updates-table strong {
        grid-column: 1;
    }

    .update-type,
    .update-version {
        grid-column: 2;
    }

    .software-grid.two-projects {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .updates-toggle {
        width: 100%;
    }

    .updates-header h2 {
        font-size: 2.35rem;
    }

    .updates-back {
        width: 100%;
        justify-content: center;
    }
}
/* =========================================================
   VERSION 4 — CARTE C.S.G.O. MANAGER
   ========================================================= */

.project-card-violet {
    --accent-color: #9b63ff;

    background:
        linear-gradient(
            135deg,
            rgba(18, 14, 33, 0.98),
            rgba(8, 6, 17, 0.96) 45%,
            rgba(20, 11, 34, 0.94) 100%
        );
}

.project-card-violet::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;

    background:
        radial-gradient(
            circle at 78% 52%,
            rgba(155, 99, 255, 0.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 18%,
            rgba(121, 64, 255, 0.12),
            transparent 22%
        );
}

.project-card-violet .project-accent,
.project-card-violet .text-link {
    color: #b889ff;
}

.project-card-violet .project-icon {
    border-color: rgba(155, 99, 255, 0.5);
    box-shadow: 0 0 28px rgba(155, 99, 255, 0.24);
}

.project-icon.project-icon-image {
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(155, 99, 255, 0.16), rgba(0, 0, 0, 0.3));
}

.project-icon.project-icon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.project-card-violet > img.project-weapon-image {
    right: 10px;
    bottom: 8px;

    width: 52%;
    height: 88%;

    object-fit: contain;
    object-position: center right;
    opacity: 0.98;

    mask-image: linear-gradient(90deg, transparent, black 20%);
    filter:
        drop-shadow(0 0 34px rgba(155, 99, 255, 0.28))
        drop-shadow(0 16px 25px rgba(0, 0, 0, 0.38));
}

@media (max-width: 560px) {
    .project-card-violet > img.project-weapon-image {
        width: 100%;
        height: 52%;
        right: 0;
        bottom: 0;
        object-position: center;
        opacity: 0.6;
        mask-image: linear-gradient(transparent, black 35%);
    }
}
/* =========================================================
   VERSION 5 — CARTE C.S.G.O. ET SNEAKER CARE AFFINÉES
   ========================================================= */

.project-card-gold {
    --accent-color: #d7a654;

    background:
        linear-gradient(
            135deg,
            rgba(42, 28, 15, 0.98),
            rgba(16, 11, 8, 0.96) 46%,
            rgba(30, 19, 12, 0.94) 100%
        );
}

.project-card-gold::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;

    background:
        radial-gradient(
            circle at 78% 52%,
            rgba(247, 213, 149, 0.18),
            transparent 32%
        ),
        radial-gradient(
            circle at 20% 18%,
            rgba(214, 163, 78, 0.12),
            transparent 24%
        );
}

.project-card-gold .project-accent,
.project-card-gold .text-link {
    color: #f0c986;
}

.project-card-gold .project-icon {
    border-color: rgba(240, 201, 134, 0.45);
    box-shadow: 0 0 28px rgba(240, 201, 134, 0.18);
}

.sc-logo-box {
    background:
        radial-gradient(circle at 50% 50%, rgba(247, 213, 149, 0.16), rgba(0, 0, 0, 0.28));
}

.sc-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.project-card-gold > img {
    right: 0;
    width: 58%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.98;
    filter: drop-shadow(0 0 18px rgba(240, 201, 134, 0.20));
}

@media (max-width: 560px) {
    .project-card-gold > img {
        width: 100%;
        height: 54%;
        opacity: 0.56;
        object-fit: cover;
        object-position: center;
        mask-image: linear-gradient(transparent, black 35%);
    }
}
/* =========================================================
   VERSION 6 — AJUSTEMENTS SNEAKER CARE + BOUTON RETOUR
   ========================================================= */

/* Les deux vues du header ont une zone d'action fixe en bas à gauche. */
.hero-home-view,
.hero-updates-view {
    position: relative;
    min-height: 470px;
    padding-bottom: 92px;
}

.updates-header {
    justify-content: flex-start;
}

.updates-toggle,
.updates-back {
    position: absolute;
    left: 0;
    bottom: 0;

    width: fit-content;
    margin-top: 0;
}

.updates-back {
    min-height: 52px;
    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    border: 1px solid var(--border-light);
    border-radius: 7px;

    color: #f0ece9;
    background: rgba(8, 10, 15, 0.72);

    font-size: 0.81rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.updates-back:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.055);
}

/* La nouvelle image Sneaker Care remplit mieux la carte. */
.project-card-gold > img {
    right: 10px;
    bottom: 0;

    width: 54%;
    height: 94%;

    object-fit: cover;
    object-position: center;
    opacity: 0.98;

    mask-image: linear-gradient(90deg, transparent, black 16%);
    filter:
        drop-shadow(0 0 18px rgba(240, 201, 134, 0.20))
        drop-shadow(0 16px 24px rgba(0, 0, 0, 0.28));
}

@media (max-width: 820px) {
    .hero-home-view,
    .hero-updates-view {
        min-height: auto;
        padding-bottom: 76px;
    }
}

@media (max-width: 560px) {
    .updates-toggle,
    .updates-back {
        width: 100%;
    }

    .project-card-gold > img {
        width: 100%;
        height: 54%;
        right: 0;
        bottom: 0;

        object-fit: cover;
        object-position: center;

        opacity: 0.60;
        mask-image: linear-gradient(transparent, black 34%);
    }
}

/* =========================================================
   VERSION 8 — AJUSTEMENTS ACCUEIL
   ========================================================= */

/* Sur la page d'accueil, on retire le sous-titre du logo. */
body:not(.csgo-product-page) .brand-sub {
    display: none;
}

/* Boutons plus lisibles. */
.button-primary,
.updates-toggle,
.updates-back {
    color: #ffffff;
}

/* Moins d'espace entre le bouton MISE À JOUR et la section LOGICIELS. */
.hero-home-view,
.hero-updates-view {
    min-height: 420px;
    padding-bottom: 56px;
}

.content-section {
    padding-top: 32px;
}

@media (max-width: 820px) {
    .hero-home-view,
    .hero-updates-view {
        min-height: auto;
        padding-bottom: 58px;
    }

    .content-section {
        padding-top: 28px;
    }
}

/* =========================================================
   VERSION 9 — AJUSTEMENTS ACCUEIL
   ========================================================= */

/* Encore moins d'espace entre le header hero et la section logiciels. */
#logiciels.content-section {
    padding-top: 14px;
}

.hero-home-view,
.hero-updates-view {
    min-height: 380px;
    padding-bottom: 30px;
}

/* Un peu plus d'air entre les logiciels et le bloc jeu vidéo. */
#jeu.content-section {
    padding-top: 54px;
}

/* Sneaker Care : chaussure seule, sans fond. */
.project-card-gold > img {
    right: 18px;
    bottom: 16px;

    width: 49%;
    height: 84%;

    object-fit: contain;
    object-position: center right;

    opacity: 1;
    mask-image: none;

    filter:
        drop-shadow(0 0 22px rgba(240, 201, 134, 0.18))
        drop-shadow(0 18px 28px rgba(0, 0, 0, 0.26));
}

@media (max-width: 820px) {
    #logiciels.content-section {
        padding-top: 12px;
    }

    #jeu.content-section {
        padding-top: 42px;
    }

    .hero-home-view,
    .hero-updates-view {
        min-height: auto;
        padding-bottom: 34px;
    }
}

@media (max-width: 560px) {
    .project-card-gold > img {
        width: 100%;
        height: 48%;
        right: 0;
        bottom: 0;
        object-position: center;
        opacity: 0.95;
    }
}

/* =========================================================
   VERSION 10 — CORRECTIONS DE L'ACCUEIL
   ========================================================= */

.hero-home-view,
.hero-updates-view {
    min-height: 420px;
    padding-bottom: 56px;
}

#logiciels.content-section {
    padding-top: 32px;
}

.sneaker-coming-soon {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding-inline: 14px;

    border-color: rgba(240, 201, 134, 0.34);
    color: #f0c986;
    background: rgba(240, 201, 134, 0.06);
}

@media (max-width: 820px) {
    .hero-home-view,
    .hero-updates-view {
        min-height: auto;
        padding-bottom: 58px;
    }

    #logiciels.content-section {
        padding-top: 28px;
    }
}

/* =========================================================
   VERSION 11 — AJUSTEMENTS DE L'ACCUEIL
   ========================================================= */

/*
   Environ un centimètre plus bas sur un écran classique.
   Le bouton RETOUR garde exactement le même emplacement.
*/
.hero-home-view,
.hero-updates-view {
    min-height: 458px;
}

@media (max-width: 820px) {
    .hero-home-view,
    .hero-updates-view {
        min-height: auto;
    }

    .updates-toggle,
    .updates-back {
        bottom: -18px;
    }
}

/* =========================================================
   VERSION 12 — PLACEMENT DU HERO D'APRÈS LA MAQUETTE
   ========================================================= */

body:not(.csgo-product-page) .header-inner,
body:not(.csgo-product-page) .section-shell {
    width: min(calc(100% - 40px), 1200px);
}

/*
   Le hero laisse volontairement apparaître le titre LOGICIELS
   en bas de l'écran, comme sur la capture de référence.
*/
.hero-grid {
    min-height: clamp(
        620px,
        calc(100svh - var(--header-height) - 64px),
        760px
    );
}

.hero-content {
    width: min(700px, 100%);
    padding:
        38px
        30px
        38px
        max(24px, calc((100vw - 1200px) / 2 + 25px));

    display: grid;
    align-items: center;
}

.hero-view {
    grid-area: 1 / 1;

    width: min(650px, 100%);
    min-height: 475px;
    padding: 0;

    display: grid;
    grid-template-rows: 1fr auto;

    position: static;
}

.hero-view-main {
    align-self: center;
}

.hero-home-view .hero-view-main {
    padding-top: 6px;
}

.updates-toggle,
.updates-back {
    position: static;
    left: auto;
    bottom: auto;

    width: fit-content;
    margin: 26px 0 0;

    align-self: start;
    justify-self: start;
}

#logiciels.content-section {
    padding-top: 14px;
}

@media (max-width: 820px) {
    body:not(.csgo-product-page) .header-inner,
    body:not(.csgo-product-page) .section-shell {
        width: min(calc(100% - 24px), 1200px);
    }

    .hero-grid {
        min-height: calc(100svh - var(--header-height));
    }

    .hero-content {
        padding: 58px 22px 42px;
    }

    .hero-view {
        min-height: 570px;
    }

    .updates-toggle,
    .updates-back {
        width: 100%;
        margin-top: 24px;
    }

    #logiciels.content-section {
        padding-top: 22px;
    }
}

@media (max-width: 560px) {
    .hero-view {
        min-height: 540px;
    }
}

/* =========================================================
   VERSION 13 — RESTAURATION DE LA LARGEUR
   ========================================================= */

/*
   On garde la logique du hero de la V12,
   mais on remet les largeurs généreuses d'avant.
   Le problème venait du verrouillage à 1200px
   qui compressait les cartes logiciels et le bloc jeu vidéo.
*/
body:not(.csgo-product-page) .header-inner,
body:not(.csgo-product-page) .section-shell {
    width: min(calc(100% - 40px), var(--max-width));
}

.hero-content {
    width: min(760px, 100%);
    padding:
        38px
        34px
        38px
        max(36px, calc((100vw - var(--max-width)) / 2 + 36px));
}

.hero-view {
    width: min(690px, 100%);
}

.hero-grid {
    min-height: clamp(
        620px,
        calc(100svh - var(--header-height) - 64px),
        760px
    );
}

@media (max-width: 820px) {
    body:not(.csgo-product-page) .header-inner,
    body:not(.csgo-product-page) .section-shell {
        width: min(calc(100% - 24px), var(--max-width));
    }

    .hero-content {
        width: 100%;
        padding: 58px 22px 42px;
    }

    .hero-view {
        width: 100%;
    }
}
