/* =========================================================
   VARIABLES & DESIGN SYSTEM (IDENTIQUE ACCUEIL.HTML)
========================================================= */
:root {
    --bg: #fafafa;
    --black: #171717;
    --dark-bg: #101014;
    --dark-card: #17171e;
    --white-gray: #EDEDED;
    --white: #ffffff;
    --text: #141416;
    --muted: #646468;
    --dark-muted: #94949c;
    --line: rgba(0, 0, 0, 0.08);
    --dark-line: rgba(255, 255, 255, 0.08);

    /* Dégradé Signature #524FF7 + #00C3D0 */
    --primary: #524FF7;
    --secondary: #00C3D0;
    --gradient: linear-gradient(135deg, #524FF7 0%, #00C3D0 100%);
    --gradient-glow: rgba(82, 79, 247, 0.3);
    --gradient-cyan-glow: rgba(0, 195, 208, 0.3);

    --container: 1400px;
    --font-main: "PP Neue Montreal", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
}


/* =========================================================
   RESET & BASE
========================================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    font-weight: 400;
    overflow-x: hidden;
    line-height: 1.55;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}

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

/* =========================================================
   TYPOGRAPHY CONTRAST (LIGHT 100 & EXTRABOLD 700)
========================================================= */
.font-light {
    font-weight: 700 !important;
}

.font-extrabold {
    font-weight: 700 !important;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.eyebrow.gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}

/* Word mask reveal animation */
.anim-title {
    display: block;
    line-height: 1.08;
}

.word-mask {
    display: inline-block;
    /*overflow: hidden;*/
    vertical-align: top;
    margin-right: 0.24em;
}

.word-inner {
    display: inline-block;
    transform: translateY(115%);
    opacity: 0;
    transition: transform 0.85s var(--ease), opacity 0.6s ease;
    will-change: transform, opacity;
}

.anim-title.visible .word-inner {
    transform: translateY(0);
    opacity: 1;
}

/* =========================================================
   CUSTOM CURSOR
========================================================= */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--black);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease), transform 0.15s ease-out;
}

.custom-cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.12s ease-out, width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
}

body.cursor-dark .custom-cursor {
    background: var(--white);
}

body.cursor-dark .custom-cursor-follower {
    border-color: rgba(255, 255, 255, 0.4);
}

body.cursor-hover .custom-cursor {
    transform: translate(-50%, -50%) scale(0.3);
}

body.cursor-hover .custom-cursor-follower {
    transform: translate(-50%, -50%) scale(1.6);
    border-color: var(--secondary);
    background: rgba(0, 195, 208, 0.1);
}

@media (pointer: coarse) {
    .custom-cursor, .custom-cursor-follower {
        display: none !important;
    }
}

/* =========================================================
   LOADER
========================================================= */
.loader {
    position: fixed;
    inset: 0;
    background: var(--dark-bg);
    color: var(--white);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: opacity 0.8s var(--ease), visibility 0.8s;
}

.loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo img {
    height: 48px;
    width: auto;
    animation: loaderPulse 1.4s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.35; transform: scale(0.96); filter: drop-shadow(0 0 10px var(--gradient-glow)); }
    50% { opacity: 1; transform: scale(1.02); filter: drop-shadow(0 0 25px var(--gradient-cyan-glow)); }
}

/* =========================================================
   HEADER & NAVBAR (TRANSPARENT GLASSMORPHISM)
========================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 32px;
    z-index: 1000;
    transition: padding 0.5s var(--ease);
}

.nav-container {
    height: 58px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid transparent;
    border-radius: 10px;
    box-shadow: none;
    transition: background 0.45s var(--ease), border-color 0.45s var(--ease), backdrop-filter 0.45s var(--ease), box-shadow 0.45s var(--ease), justify-content 0.5s var(--ease), gap 0.5s var(--ease);
}

.header.scrolled {
    padding: 12px 32px;
}

.header.scrolled .nav-container {
    justify-content: center;
    gap: 36px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

/* Logo adaptatif */
.nav-logo {
    display: flex;
    align-items: center;
}

.logo-manon-noir {
    height: 26px;
    width: auto;
    display: block;
}

.logo-manon-blanc {
    height: 26px;
    width: auto;
    display: none;
}

/* Thème sombre sur section foncée */
.header.theme-dark .nav-container {
    background: rgba(18, 18, 24, 0.45);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

.header.theme-dark .logo-manon-noir {
    display: none;
}

.header.theme-dark .logo-manon-blanc {
    display: block;
}

.header.theme-dark .nav-link {
    color: #e8e8ed;
}

.header.theme-dark .chroma-prism-lift {
    color: #ffffff;
}

.header.theme-dark .menu-toggle span {
    background: #ffffff;
}

/* =========================================================
   ANIMATION ORIGINALE MENU : CHROMA-PRISM-LIFT
========================================================= */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.chroma-prism-lift {
    position: relative;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    border-radius: 999px;
    overflow: hidden;
    transition: color 0.3s var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chroma-prism-lift .prism-text-wrapper {
    display: flex;
    flex-direction: column;
    height: 18px;
    line-height: 18px;
    overflow: hidden;
    position: relative;
}

.chroma-prism-lift .text-primary,
.chroma-prism-lift .text-clone {
    transition: transform 0.4s var(--ease);
    display: block;
    white-space: nowrap;
}

.chroma-prism-lift .text-clone {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.chroma-prism-lift:hover .text-primary,
.chroma-prism-lift:hover .text-clone {
    transform: translateY(-18px);
}

.chroma-prism-lift::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 16px;
    height: 2.5px;
    border-radius: 999px;
    background: var(--gradient);
    box-shadow: 0 0 10px var(--secondary);
    transition: transform 0.35s var(--ease);
}

.chroma-prism-lift:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Menu Toggle Button (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), background 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 16, 0.98);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 40px 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-top img {
    height: 26px;
    width: auto;
}

.mobile-menu-close {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 60px;
}

.mobile-menu nav a {
    color: var(--white);
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.mobile-menu nav a span {
    font-size: 14px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* =========================================================
   LAYOUT : CASE GALLERY À GAUCHE & CASE INFO À DROITE
========================================================= */
.case-study {
    padding: 110px 48px 120px;
}

.case-study-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.55fr 0.75fr; /* Galerie à gauche, Info à droite */
    gap: 32px;
    align-items: start;
}

/* Case Gallery (Gauche) */
.case-gallery {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.case-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #e5e4de;
    border: 1px solid var(--line);
    box-shadow: 0 16px 48px -10px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.case-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px -12px rgba(82, 79, 247, 0.18);
}

.case-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.case-image:hover img {
    transform: scale(1.02);
}

/* Case Info (Droite & Sticky) */
.case-info {
    position: sticky;
    top: 75px;
}

.case-info-sticky {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 48px 44px;
    box-shadow: 0 16px 44px -10px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.case-title {
    font-size: clamp(40px, 4.5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--black);
}

.case-description {
    font-size: 15px;
    color: #4a4a52;
    line-height: 1.7;
}

.case-meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}

.meta-label {
    font-size: 15px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--muted);
}

.meta-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    text-align: right;
}

/* TAGS AGRANDIS AVEC ICONS ADEQUATES DANS TECH-SKILS */
.meta-tags-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.meta-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Tags Agrandis */
.tech-tag-pill {
    padding: 10px 18px; /* Tag agrandi */
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    font-size: 13px; /* Taille agrandie */
    font-weight: 400;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Espace entre icon et texte */
    transition: all 0.3s var(--ease);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.tech-tag-pill img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.tech-tag-pill:hover {
    border-color: var(--secondary);
    background: #ffffff;
    box-shadow: 0 6px 16px var(--gradient-cyan-glow);
    transform: translateY(-2px);
}

/* Image Counter */
.case-counter {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
}

.case-counter #currentImage {
    font-size: 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-line {
    flex: 1;
    height: 2px;
    background: var(--line);
    position: relative;
    overflow: hidden;
}

.counter-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 20%;
    background: var(--gradient);
    transition: width 0.4s var(--ease);
}


/* Case Video play boucle */

.case-image video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* =========================================================
   RELATED PROJECTS (3 PROJETS MEME STYLE QU'ACCUEIL)
========================================================= */
.related-projects {
    padding: 140px 48px;
    border-top: 1px solid var(--line);
}

.related-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.related-header .section-title {
    font-size: clamp(36px, 5vw, 68px);
    letter-spacing: -0.04em;
}

.all-projects-btn {
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s var(--ease);
}

.all-projects-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 24px -4px var(--gradient-glow);
    transform: translateY(-2px);
}

/* Grille 3 Colonnes pour Related Projects */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 32px;
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s var(--ease);
}

.project-thumb {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 10px;
    overflow: hidden;
    background: #e6e5df;
    margin-bottom: 22px;
    border: 1px solid var(--line);
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 14, 20, 0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s var(--ease);
}

.project-overlay-btn {
    padding: 13px 26px;
    background: #ffffff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
    transform: translateY(12px);
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-overlay-btn {
    transform: translateY(0);
    box-shadow: 0 10px 25px var(--gradient-glow);
}

.project-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tag-pill {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--muted);
}

.project-meta h3 {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--black);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-meta p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}

/* =========================================================
   CONTACT SECTION (IDENTIQUE ACCUEIL)
========================================================= */
.contact {
    padding: 140px 48px;
    background: var(--black);
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    color: var(--white);
    margin: 16px 0 24px;
    font-size: clamp(38px, 5.5vw, 100px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.contact-info p {
    font-size: 16px;
    color: #a0a0ae;
    line-height: 1.65;
    max-width: 440px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888896;
}

.form-field input, .form-field textarea {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 16px 20px;
    color: var(--white);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-field input:focus, .form-field textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 16px var(--gradient-cyan-glow);
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.service-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.checkbox-chip {
    cursor: pointer;
}

.checkbox-chip input {
    display: none;
}

.chip-label {
    display: block;
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 13px;
    color: #aaaaaa;
    transition: all 0.3s var(--ease);
}

.checkbox-chip input:checked + .chip-label {
    background: var(--gradient);
    color: #ffffff;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 14px var(--gradient-glow);
}

.submit-btn {
    align-self: flex-start;
    padding: 17px 40px;
    background: var(--gradient);
    color: #ffffff;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px var(--gradient-glow);
}

.form-feedback {
    font-size: 14px;
    min-height: 1.2em;
    margin: 0;
}

.form-feedback.success { color: #34d399; }
.form-feedback.error { color: #f87171; }

/* =========================================================
   FOOTER (IDENTIQUE ACCUEIL)
========================================================= */
footer {
    background: var(--black);
    color: var(--white);
    padding: 100px 48px 40px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-brand-logo {
    height: 38px;
    width: auto;
}

.footer-back-to-top {
    position: absolute;
    top: 40px;
    right: 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    color: var(--white);
    z-index: 5;
    transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s, color 0.4s;
}

.footer-back-to-top:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(0, 195, 208, 0.08);
}

.footer-brand-desc {
    font-size: 14px;
    color: #888894;
    line-height: 1.6;
    max-width: 300px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #555562;
    margin-bottom: 8px;
}

.footer-column a {
    font-size: 14px;
    color: #a8a8b4;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-contact-item {
    font-size: 14px;
    color: #a8a8b4;
    line-height: 1.6;
}

.footer-contact-item a {
    color: #a8a8b4;
    font-weight: 500;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 28px;
}

.footer-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666672;
    margin-bottom: 80px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-sub a:hover {
    color: #999999;
}

/* Giant Bottom Branding : MANON.WORKS pleine largeur (scalable, sans déformation) */
.footer-giant-branding {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-top: 20px;
    text-align: center;
    overflow: hidden;
}

.footer-giant-text {
    display: inline-block;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: clamp(48px, 13.5vw, 240px);
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: #f2eee5;
    white-space: nowrap;
}

/* =========================================================
   ICÔNES SOCIALES FIXES
========================================================= */
.social-fixed {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-fixed-link {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s, color 0.3s;
}

.social-fixed-link:hover {
    transform: translateY(-3px);
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.3);
}

.social-fixed-link img {
    width: 18px;
    height: 18px;
    display: block;
    transition: opacity 0.4s var(--ease);
}

.social-fixed-link .icon-white {
    position: absolute;
    inset: 0;
    margin: auto;
    opacity: 0;
}

.social-fixed.theme-dark .social-fixed-link .icon-dark { opacity: 0; }
.social-fixed.theme-dark .social-fixed-link .icon-white { opacity: 1; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: flex; }
    .case-study-inner { grid-template-columns: 1fr; }
    .case-info { position: static; order: -1; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .case-study, .related-projects, .contact { padding-left: 24px; padding-right: 24px; }
    footer { padding: 80px 24px 30px; }
    .case-info-sticky { padding: 32px 24px; }
    .related-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-sub { flex-direction: column; align-items: flex-start; }
}