/* 
██████╗ ██╗   ██╗██╗      █████╗ ███╗   ██╗   ██████╗ ███████╗██╗   ██╗
██╔══██╗╚██╗ ██╔╝██║     ██╔══██╗████╗  ██║   ██╔══██╗██╔════╝██║   ██║
██║  ██║ ╚████╔╝ ██║     ███████║██╔██╗ ██║   ██║  ██║█████╗  ██║   ██║
██║  ██║  ╚██╔╝  ██║     ██╔══██║██║╚██╗██║   ██║  ██║██╔══╝  ╚██╗ ██╔╝
██████╔╝   ██║   ███████╗██║  ██║██║ ╚████║██╗██████╔╝███████╗ ╚████╔╝ 
╚═════╝    ╚═╝   ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝╚═════╝ ╚══════╝  ╚═══╝
                                                                                                                                                                                      
Système développer par dylanpointdev.fr | © DylanPointDev tout droit réservé. 
*/

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Palette de couleurs pour le thème */
:root {
    --color-white: #F2F1EE;
    --color-black: #090909;
    --color-brown: #605C4E;
    --color-gold: #A49966;
    --font-heading: 'Unbounded', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

::selection {
    background: var(--color-gold);
    color: var(--color-black);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-white);
    overflow-x: hidden;
    line-height: 1.6;
}

.text-gold { color: var(--color-gold); }

.section-padding {
    padding: 100px 0;
}

.section-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-label i {
    font-size: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

/* ---- NAVBAR ---- */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(9, 9, 9, 0.92);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

.nav-icon {
    width: 100%;
    height: 50px;
    transition: var(--transition);
}

.nav-icon:hover {
    filter: brightness(1.3);
}

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: var(--color-white);
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(242, 241, 238, 0.6) !important;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-gold);
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: var(--transition);
}

.nav-link.active::after,
.nav-link:hover::after {
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white) !important;
}

/* ---- HERO ---- */
.hero-section {
    min-height: 100vh;
    position: relative;
    background: var(--color-black);
    padding-top: 100px;
    overflow: hidden;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1rem;
    color: rgba(242, 241, 238, 0.6);
    max-width: 420px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* CTA Button */
/* CTA Button */
.btn-see-works {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: var(--transition);
    margin-bottom: 3rem;
}

.btn-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(242, 241, 238, 0.06);
    border: 2px solid rgba(242, 241, 238, 0.15);
    display: inline-block;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}

.btn-circle i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    font-size: 1.05rem;
    line-height: 1;
    color: var(--color-white);
    transition: opacity 220ms ease, transform 220ms ease;
}

.btn-circle .open-icon { opacity: 0; transform: translate(-50%, -50%) scale(0.92); margin-left: 2px;}
.btn-circle .closed-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); margin-left: 2px;}
.btn-circle:hover .open-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.btn-circle:hover .closed-icon { opacity: 0; transform: translate(-50%, -50%) scale(0.92); }

.btn-see-works:hover .btn-circle {
    background: var(--color-gold);
    border-color: var(--color-gold);
    transform: scale(1.1);
}

.btn-see-works:hover {
    color: var(--color-gold);
}

.btn-see-works i {
    font-size: 1.2rem;
    transition: var(--transition);
}

/* Hero socials */
.hero-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-socials a {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(242, 241, 238, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.hero-socials a:hover {
    color: var(--color-gold);
}

.hero-socials span {
    color: rgba(242, 241, 238, 0.3);
    opacity: 0.3;
}

/* Hero visual */
.hero-visual {
    position: relative;
}

.hero-graphic {
    position: relative;
    width: 420px;
    height: 420px;
}

.hero-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(164, 153, 102, 0.06);
    border: 1px solid rgba(164, 153, 102, 0.12);
}

/* Illumination du contour (active pendant le swap) */
.hero-circle {
    transition: box-shadow 480ms ease, border-color 480ms ease, background 480ms ease;
}
.hero-circle.glow {
    border-color: rgba(164, 153, 102, 0.28);
    background: rgba(164,153,102,0.04);
}

.hero-icon-wrapper.glow {
    border-color: rgba(164,153,102,0.22);
}

.hero-x {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.x-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 60px;
    background: var(--color-black);
}

.x-bar-1 {
    transform: translate(-50%, -50%) rotate(45deg);
}

.x-bar-2 {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.hero-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(242, 241, 238, 0.06);
    z-index: 2;
    transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-icon-svg {
    width: 100px;
    height: 100px;
    display: block;
    transition: opacity 0.6s ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    right: 40px;
    bottom: 40px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    writing-mode: vertical-rl;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(242, 241, 238, 0.4);
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(242, 241, 238, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-gold);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    50% { top: 0; }
    100% { top: 100%; }
}

/* ---- ABOUT ---- */
.about-section {
    background: #0f0f0f;
}

/* ---- Hero gold shimmer on mouse shake ---- */
/* NOTE: on ne touche PAS à img#heroIcon pour ne pas casser la transition opacity de la rotation */
.hero-icon-wrapper.gold {
    filter: drop-shadow(0 0 16px rgba(255, 200, 60, 0.95)) drop-shadow(0 0 6px rgba(255, 240, 160, 0.7));
    border-color: rgba(255, 200, 60, 0.5);
}
.hero-circle.gold {
    box-shadow: 0 0 28px rgba(255, 200, 60, 1), 0 0 50px rgba(255, 200, 60, 0.3), inset 0 0 12px rgba(255, 240, 200, 0.3);
    border-color: rgba(255, 200, 60, 0.35);
    background: rgba(255, 200, 60, 0.05);
    transition: box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.about-visual {
    position: relative;
}

.about-img-frame {
    background: var(--color-black);
    border-radius: 16px;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.about-logo {
    width: 80%;
    max-width: 350px;
}

.about-text {
    font-size: 1rem;
    color: rgba(242, 241, 238, 0.6);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(242, 241, 238, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 8px 18px;
    border: 1px solid rgba(242, 241, 238, 0.1);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(242, 241, 238, 0.6);
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
}

/* ---- SERVICES ---- */
.services-section {
    background: #0f0f0f;
}

.services-section .section-title {
    color: var(--color-white);
}

.service-card {
    background: rgba(242, 241, 238, 0.04);
    border: 1px solid rgba(242, 241, 238, 0.08);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    background: rgba(164, 153, 102, 0.08);
    border-color: rgba(164, 153, 102, 0.2);
    transform: translateY(-8px);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(164, 153, 102, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 1.6rem;
    color: var(--color-gold);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.85rem;
    color: rgba(242, 241, 238, 0.5);
    line-height: 1.6;
}

/* ---- WORKS / PORTFOLIO ---- */
.works-section {
    background: var(--color-black);
}

.works-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid rgba(242, 241, 238, 0.12);
    border-radius: 100px;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(242, 241, 238, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
}

/* Work cards */
.work-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    background: var(--color-black);
    cursor: pointer;
    transition: var(--transition);
}

.work-card-lg {
    height: 380px;
}

.work-card::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Dark tint sits above both images so text stays readable */
    /* background: linear-gradient(to top,
        rgba(9, 9, 9, 0.82) 0%,
        rgba(9, 9, 9, 0.35) 55%,
        rgba(9, 9, 9, 0.10) 100%); */
    z-index: 2; /* above .work-thumb-hover (z-index 1) */
    opacity: 0.7;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-card:hover::before {
    background: linear-gradient(to top,
        rgba(9, 9, 9, 0.92) 0%,
        rgba(9, 9, 9, 0.55) 55%,
        rgba(9, 9, 9, 0.20) 100%);
    opacity: 1;
}

.work-card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); */
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0.7;
    transition: var(--transition);
}

.work-card:hover .work-overlay {
    transform: translateY(0);
    opacity: 1;
}

.work-category {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid rgba(164, 153, 102, 0.4);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.work-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.work-desc {
    font-size: 0.82rem;
    color: rgba(242, 241, 238, 0.6);
    margin-bottom: 0;
}

.work-link {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    z-index: 2;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.work-card:hover .work-link {
    opacity: 1;
    transform: scale(1);
}

/* Hidden items for filter */
.work-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.work-item.hidden {
    display: none;
}

/* ---- PROJECT MODALS ---- */
.modal-backdrop {
    backdrop-filter: blur(8px);
}

.project-modal {
    background: var(--color-black);
    border: 1px solid rgba(242, 241, 238, 0.06);
    border-radius: 20px;
    overflow: hidden;
}

.modal-banner {
    width: 100%;
    height: 220px;
    position: relative;
}

.modal-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--color-black), transparent);
}

.btn-close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(9, 9, 9, 0.5);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.btn-close-modal:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

.project-modal .modal-body {
    padding: 30px 36px 40px;
}

.modal-category {
    display: inline-block;
    padding: 5px 16px;
    border: 1px solid rgba(164, 153, 102, 0.4);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
    line-height: 1.3;
    text-transform: uppercase;
}

.modal-description {
    font-size: 0.92rem;
    color: rgba(242, 241, 238, 0.6);
    line-height: 1.8;
    margin-bottom: 28px;
}

.modal-details {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(242, 241, 238, 0.08);
}

.modal-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
}

.detail-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
}

.detail-value {
    font-size: 0.85rem;
    color: rgba(242, 241, 238, 0.7);
}

@media (max-width: 575.98px) {
    .modal-banner {
        height: 150px;
    }
    .project-modal .modal-body {
        padding: 20px 20px 30px;
    }
    .modal-details {
        gap: 16px;
    }
}

/* ---- MARQUEE ---- */
.marquee-section {
    background: var(--color-gold);
    padding: 20px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: 3px;
}

.marquee-dot {
    font-size: 0.6rem !important;
    opacity: 0.4;
}

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

/* ---- CONTACT ---- */
.contact-section {
    background: var(--color-black);
}

.contact-section .section-title {
    color: var(--color-white);
}

.contact-text {
    font-size: 1rem;
    color: rgba(242, 241, 238, 0.6);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: rgba(242, 241, 238, 0.7);
    font-size: 0.9rem;
}

.contact-info-item i {
    color: var(--color-gold);
    font-size: 1.1rem;
}

.contact-socials {
    display: flex;
    gap: 14px;
}

.contact-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(242, 241, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-socials a:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
}

/* Contact form */
.contact-form .form-control,
.contact-form .form-select {
    background: rgba(242, 241, 238, 0.04);
    border: 1px solid rgba(242, 241, 238, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-form .form-control::placeholder {
    color: rgba(242, 241, 238, 0.35);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: rgba(242, 241, 238, 0.06);
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(164, 153, 102, 0.15);
    color: var(--color-white);
}

.contact-form .form-select {
    color: rgba(242, 241, 238, 0.35);
}

.contact-form .form-select option {
    background: var(--color-black);
    color: var(--color-white);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: var(--color-gold);
    color: var(--color-black);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(164, 153, 102, 0.3);
}

.btn-submit i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-submit:hover i {
    transform: translateX(3px) translateY(-3px);
}

/* ---- FOOTER ---- */
.site-footer {
    background: var(--color-black);
    border-top: 1px solid rgba(242, 241, 238, 0.06);
    padding: 30px 0;
}

.footer-logo {
    height: 30px;
    opacity: 0.5;
    transition: var(--transition);
}

.footer-logo:hover {
    opacity: 1;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(242, 241, 238, 0.3);
    margin: 0;
}

.footer-copy a {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 500;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(242, 241, 238, 0.4);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.back-to-top:hover {
    color: var(--color-gold);
}

.back-to-top i {
    transition: var(--transition);
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS (Scroll reveal)
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablette */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 120px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
    }

    .about-stats {
        justify-content: center;
    }

    .about-skills {
        justify-content: center;
    }

    .section-label {
        justify-content: center;
    }

    .about-img-frame {
        margin-bottom: 2rem;
    }

    .work-card,
    .work-card-lg {
        height: 280px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-section {
        min-height: auto;
        padding: 120px 0 70px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .work-card,
    .work-card-lg {
        height: 250px;
    }

    .contact-socials {
        justify-content: center;
    }

    .footer-logo {
        display: block;
        margin: 0 auto 15px;
    }

    .footer-copy {
        text-align: center;
        margin-bottom: 15px;
    }

    .back-to-top {
        display: flex;
        justify-content: center;
    }

    .btn-see-works {
        margin-bottom: 2rem;
    }

    .marquee-content span {
        font-size: 0.75rem;
    }

    .navbar-collapse {
        background: rgba(9, 9, 9, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 12px;
        padding: 20px;
        margin-top: 10px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    }

    .navbar-nav {
        text-align: center;
    }
}

:root {
    --thumb-duration:      420ms;
    --thumb-easing:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --thumb-scale-initial: 1.04;
}

.work-card { position: relative; overflow: hidden; }

/* Image de base (logo / vignette) */
.work-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform var(--thumb-duration) var(--thumb-easing);
}

/* Légère mise à l'échelle de la base au hover pour du dynamisme */
.work-card:hover .work-thumb {
    transform: scale(1.04);
}

/* Image hover — insérée dynamiquement par le JS */
.work-thumb-hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(var(--thumb-scale-initial, 1.04));
    transition:
        opacity   var(--thumb-duration) var(--thumb-easing),
        transform var(--thumb-duration) var(--thumb-easing);
    z-index: 1; /* au-dessus de .work-thumb, en-dessous de ::before */
    pointer-events: none;
    will-change: opacity, transform;
}

/* Overlay (::before) et texte au-dessus des deux images */
.work-card .work-overlay { z-index: 3; }
.work-link                { z-index: 3; }