/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    /* Palette de couleurs 2RO */
    --primary-yellow: #fccf03;
    --secondary-yellow: #fecf00;
    --accent-orange: #f98c00;
    --dark-bg: #373736;
    --darker-bg: #0a0a0a;
    --gray-60: #575656;
    --gray-light: #9d9d9c;
    --card-bg: rgba(55, 55, 54, 0.7);
    --card-border: rgba(255, 255, 255, 0.15);
    --text-light: #ffffff;
    --text-muted: #9d9d9c;
    --hover-yellow: rgba(252, 207, 3, 0.2);
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    /* Empêcher tout flou résiduel */
    filter: none !important;
    -webkit-filter: none !important;
}

/* Supprimer tout effet de flou non désiré */
body::after {
    display: none !important;
}

/* S'assurer que le contenu principal n'est jamais flouté */
* {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* Garantir que la bannière de cookies soit toujours au-dessus */
#2ro-cookie-banner {
    position: fixed !important;
    z-index: 2147483647 !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: block !important;
    visibility: visible !important;
}

/* S'assurer qu'aucun élément ne peut passer au-dessus */
body > * {
    position: relative;
    z-index: auto !important;
}

/* Exceptions pour les éléments qui doivent rester au-dessus du contenu normal */
header {
    z-index: 1000 !important;
}

.modal, .viewer {
    z-index: 2000 !important;
}

/* Accessibilité - Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loading Screen */
#loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 2147483648;
    display: none;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

/* Animated background */
.loader-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-yellow), var(--accent-orange), var(--dark-bg), var(--primary-yellow));
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Particles container */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.2;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

#loader-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--dark-bg);
    position: relative;
    z-index: 3;
}

.eye-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 3rem;
}

.eye-outline {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('img/logo-eye-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    transition: transform 0.5s ease;
}

.eye-outline.rotating {
    animation: rotate 4s linear infinite;
}

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

.pupil {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('img/logo-eye-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
    z-index: 2;
}


.animation-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.animation-note {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-60);
    margin: 0;
    font-style: italic;
}

.enter-site-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-yellow);
    border: none;
    border-radius: 50px;
    color: var(--dark-bg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 15px rgba(252, 207, 3, 0.3);
}

.enter-site-button:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 207, 3, 0.4);
}

.enter-site-button .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.enter-site-button:hover .arrow {
    transform: translateX(3px);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: var(--primary-yellow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 0;
}

/* Header compact state */
header.compact {
    padding: 0.5rem 2rem;
    transform: scale(0.9) translateY(10px);
    border-radius: 25px;
    margin: 0 3rem;
    width: calc(100% - 6rem);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: none;
}

header.compact .logo img:nth-child(2) {
    opacity: 0;
    visibility: hidden;
    width: 0;
    margin: 0;
    transform: translateX(-20px);
}

header.compact .logo img:nth-child(1) {
    transform: scale(0.7);
}

header.compact nav ul li {
    transform: scale(1);
}

header.compact .cta-button {
    transform: scale(1);
    padding: 0.6rem 1.2rem;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--dark-bg);
    cursor: pointer;
    z-index: 1001;
}

nav {
    order: 2;
}

.cta-button {
    order: 3;
}

.logo {
    order: 1;
    margin-left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

nav ul li {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-button {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Responsive styles */
@media (max-width: 768px) {
    /* Modified header compact behavior on mobile */
    header.compact {
        padding: 0.75rem 1rem !important;
        transform: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    header {
        padding: 1.5rem 1rem;
        justify-content: space-between;
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }
    
    /* Show simplified logo on mobile */
    .logo {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
        order: 1;
    }
    
    .logo img:last-child {
        display: none !important;
    }
    
    /* Show full CTA button on mobile */
    .cta-button {
        order: 2;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
        transition: all 0.3s ease;
    }
    
    .cta-button .button-text {
        display: inline !important;
        font-size: 0.8rem;
    }
    
    .cta-button .arrow {
        display: none !important;
    }

    /* Compact CTA button on scroll */
    header.compact .cta-button {
        padding: 0.5rem 1rem !important;
        font-size: 0.7rem !important;
    }

    header.compact .cta-button .button-text {
        font-size: 0.7rem !important;
    }
    
    .hamburger {
        order: 3;
        display: block;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--dark-bg);
        cursor: pointer;
        z-index: 1002;
        position: relative;
    }

    nav {
        order: 4;
    }

    nav ul {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 100vw !important;
        background: var(--primary-yellow) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 0 !important;
        padding-top: 6rem !important;
        padding-bottom: 2rem !important;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
        z-index: 1001 !important;
        overflow-y: auto !important;
    }

    nav ul.active {
        transform: translateY(0);
    }

    nav li {
        width: 100%;
        text-align: center;
        margin: 0;
        list-style: none;
    }

    nav li:not(.dropdown) {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(55, 55, 54, 0.1);
    }

    nav li:not(.dropdown) a {
        font-size: 1.5rem;
        color: var(--dark-bg);
        font-weight: 600;
        display: block;
        padding: 1rem 0;
        text-decoration: none;
    }

    /* Style pour l'élément actif dans le menu mobile */
    nav li.active {
        background: rgba(0, 0, 0, 0.2) !important;
        border-radius: 8px !important;
        margin: 0.5rem 2rem !important;
    }

    nav li.active,
    nav li.active a {
        color: var(--dark-bg) !important;
        font-weight: 600 !important;
        font-size: 1.5rem !important;
    }

    .dropdown {
        width: calc(100% - 4rem);
        text-align: center;
        border-bottom: 2px solid rgba(55, 55, 54, 0.2);
        background: rgba(255, 255, 255, 0.05);
        margin: 0.5rem 2rem;
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .dropdown > span {
        display: block;
        padding: 1.5rem 3rem;
        font-size: 1.5rem;
        color: var(--dark-bg);
        font-weight: 700;
        cursor: pointer;
        position: relative;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px 12px 0 0;
        width: 100%;
    }

    .dropdown > span:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: scale(1.02);
    }

    .dropdown > span:after {
        content: '›';
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        transition: all 0.3s ease;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .dropdown.mobile-expanded > span:after {
        transform: translateY(-50%) rotate(270deg);
    }

    .dropdown-menu {
        position: static !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-20px) !important;
        background: rgba(0, 0, 0, 0.3) !important;
        border: 2px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 0 0 12px 12px !important;
        padding: 0 !important;
        margin: 0 !important;
        backdrop-filter: blur(10px) !important;
        width: 100% !important;
        max-height: 0;
        overflow: hidden;
        box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.2) !important;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .dropdown-menu.mobile-active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        max-height: 300px !important;
    }

    .dropdown-menu li {
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .dropdown-menu a {
        display: block !important;
        padding: 1rem 2rem !important;
        color: var(--text-light) !important;
        font-size: 1.1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        background: transparent !important;
    }

    .dropdown-menu a:first-child {
        border-radius: 8px 8px 0 0 !important;
    }

    .dropdown-menu a:last-child {
        border-bottom: none !important;
        border-radius: 0 0 8px 8px !important;
        margin-bottom: 0 !important;
        padding-bottom: 1rem !important;
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        color: var(--primary-yellow) !important;
        transform: translateX(10px) !important;
        font-weight: 600 !important;
    }


    nav a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }

    /* Custom mobile layout for services */
    .services-bento {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto auto auto !important;
        grid-template-areas: 
            "identity identity"
            "seo web" 
            "motion motion"
            "social dev" !important;
        gap: 1rem !important;
        padding: 0 1.5rem !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 380px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Utilisation des grid-areas définies */
    .services-bento .identity {
        grid-area: identity !important;
    }

    .services-bento .seo {
        grid-area: seo !important;
    }

    .services-bento .web {
        grid-area: web !important;
    }

    .services-bento .motion {
        grid-area: motion !important;
    }

    .services-bento .social {
        grid-area: social !important;
    }

    .services-bento .dev {
        grid-area: dev !important;
    }

    .services-bento .service-card {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 120px !important;
        padding: 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Masquer seulement la phrase d'accroche sur mobile */
    .services-bento .service-card p {
        display: none !important;
    }

    /* Ajuster le titre sur mobile */
    .services-bento .service-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0 !important;
        text-align: center !important;
    }

    .project-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .contact-container {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .clients-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
        max-width: 400px !important;
        margin: 0 auto 3rem !important;
    }
    
    .client-item:nth-child(5) {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
    }

    /* Hero sections responsive */
    .hero {
        height: 60vh !important;
        padding: 2rem 1rem !important;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
        margin-bottom: 2rem !important;
        line-height: 1.4 !important;
    }

    .hero p {
        font-size: 1.1rem !important;
    }

    /* General spacing adjustments */
    section {
        padding: 3rem 1rem !important;
    }

    /* Why Choose 2RO mobile adjustments */
    #why-choose-2ro {
        padding: 2.5rem 1rem !important;
    }
    
    #why-choose-2ro h2 {
        font-size: 1.7rem !important;
        margin-bottom: 1rem !important;
    }
    
    .why-choose-text {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* Services section mobile adjustments */
    #services {
        padding: 3rem 1rem !important;
        text-align: center !important;
    }

    /* Add padding-top to body to compensate for fixed header */
    body {
        padding-top: 120px !important;
    }

    /* Adjust hero sections */
    .hero, .service-hero {
        margin-top: -120px !important;
        padding-top: 140px !important;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-bg);
    position: relative;
}

.logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-default {
    opacity: 1;
}

.logo-negative {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav li {
    cursor: pointer;
    /* font-size: 1.2rem; */
    transition: all 0.3s ease;
    color: var(--dark-bg);
    opacity: 0.8;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav li:hover {
    opacity: 1;
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

nav li a,
nav li a:visited,
nav li a:active,
nav li a:hover,
nav li a:focus {
    text-decoration: none !important;
    color: inherit;
}

.cta-button {
    background: var(--dark-bg);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-button .arrow {
    font-size: 1.2rem;
}

.cta-button:hover {
    background: var(--darker-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
#hero {
    padding: 12rem 3rem 6rem;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--primary-yellow);
    text-shadow: 0 0 20px rgba(252, 207, 3, 0.8);
}

.hero-tagline span {
    color: var(--primary-yellow);
    text-shadow: 0 0 15px rgba(252, 207, 3, 0.6);
}

.hero-tagline {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Clients Section */
#clients {
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    z-index: 1;
}

.clients-intro {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    width: 100%;
}

.clients-intro span {
    color: var(--primary-yellow);
    text-shadow: 0 0 15px rgba(252, 207, 3, 0.6);
}

.clients-intro::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-yellow) 50%, transparent 100%);
    border-radius: 2px;
}

.clients-container {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.client-item {
    text-align: center;
    flex-shrink: 0;
    min-width: 120px;
}

.client-item img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.3s ease;
}

.client-item:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.client-item span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.clients-outro {
    color: var(--primary-yellow);
    font-size: 0.9rem;
    font-weight: 500;
}


/* Dropdown Navigation - same styles as nav li */
.dropdown {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark-bg);
    opacity: 0.8;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown:hover {
    opacity: 1;
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
/* 
.dropdown > span {

} */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 200px;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    color: var(--text-light);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    /* background: rgba(252, 207, 3, 0.1); */
    color: var(--text-light) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(252, 207, 3, 0.1);
    color: var(--primary-yellow) !important;
}

.dropdown-menu a:visited {
    color: var(--text-light) !important;
}

.dropdown-menu a:active {
    color: var(--text-light) !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .clients-container {
        gap: 1.5rem;
    }
    
    .client-item {
        min-width: calc(50% - 0.75rem);
    }
    
    .cta-button .button-text {
        display: none;
    }
    
    .cta-button {
        padding: 0.5rem 1rem;
        min-width: auto;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        padding: 0;
        backdrop-filter: none;
    }
}

/* Why Choose 2RO Section */
#why-choose-2ro {
    padding: 3rem 3rem;
    background: linear-gradient(135deg, var(--darker-bg) 0%, rgba(252, 207, 3, 0.05) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-choose-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Why Choose 2RO Background Animation - Mixed shapes */
.why-choose-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.25;
}

.why-choose-floating-shape {
    position: absolute;
    animation: floatVerticalWhy 10s linear infinite;
    opacity: 0.6;
}

.why-choose-floating-shape svg {
    width: 100%;
    height: 100%;
}

.why-choose-floating-shape.yellow svg {
    fill: var(--primary-yellow);
}

.why-choose-floating-shape.orange svg {
    fill: var(--accent-orange);
}

.why-choose-floating-shape.white svg {
    fill: #ffffff;
}

.why-choose-floating-shape.dark svg {
    fill: var(--dark-bg);
}

/* Shape positioning for why choose section */
.why-shape-1 { width: 50px; height: 50px; left: 8%; animation-delay: 0s; }
.why-shape-2 { width: 45px; height: 45px; left: 22%; animation-delay: -1.5s; }
.why-shape-3 { width: 55px; height: 55px; left: 35%; animation-delay: -3s; }
.why-shape-4 { width: 65px; height: 65px; left: 55%; animation-delay: -4.5s; }
.why-shape-5 { width: 40px; height: 40px; left: 70%; animation-delay: -6s; }
.why-shape-6 { width: 50px; height: 50px; left: 85%; animation-delay: -0.8s; }
.why-shape-7 { width: 35px; height: 35px; left: 15%; animation-delay: -2.3s; }
.why-shape-8 { width: 60px; height: 60px; left: 78%; animation-delay: -3.8s; }
.why-shape-9 { width: 45px; height: 45px; left: 92%; animation-delay: -5.3s; }
.why-shape-10 { width: 50px; height: 50px; left: 5%; animation-delay: -1.8s; }
.why-shape-11 { width: 55px; height: 55px; left: 25%; animation-delay: -7.2s; }
.why-shape-12 { width: 40px; height: 40px; left: 65%; animation-delay: -4.8s; }

@keyframes floatVerticalWhy {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.4;
    }
    85% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

#why-choose-2ro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

#why-choose-2ro h2 span {
    color: var(--primary-yellow);
    text-shadow: 0 0 15px rgba(252, 207, 3, 0.6);
}

.why-choose-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

.why-choose-text strong {
    color: var(--primary-yellow);
    font-weight: 600;
}

.why-choose-text span {
    color: var(--primary-yellow);
    font-weight: 500;
}

/* Services Section */
#services {
    padding: 4rem 3rem;
    text-align: center;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    position: relative;
    z-index: 1;
}

#services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

#services h2 span {
    color: var(--primary-yellow);
    text-shadow: 0 0 15px rgba(252, 207, 3, 0.6);
}

.services-bento {
    display: grid;
    grid-template-areas:
    "identity social social motion"
    "identity seo web web"
    "identity dev dev dev";
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
    perspective: 1200px;
    transform-style: preserve-3d;
    height: 60vh;
    text-align: center;
}

.services-bento > * {
    min-height: 100%;
  }

/* .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
} */


/*  */

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    height: 100%;
    justify-content: space-between;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(252, 207, 3, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: left;
}

.service-card h3 span {
    color: var(--primary-yellow);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: left;
    line-height: 1.6;
    opacity: 0.9;
}

/* Service cards specific layouts with brick wall effect */
.identity {
    background: linear-gradient(135deg, var(--gray-60) 0%, var(--dark-bg) 100%);
    grid-area: identity;
}

.identity h3 span {
    color: var(--primary-yellow);
}

.social {
    background: linear-gradient(135deg, var(--gray-60) 0%, var(--dark-bg) 100%);
    grid-area: motion;
}

.social .service-highlight {
    color: var(--primary-yellow);
    font-weight: 600;
}

.motion {
    background: linear-gradient(135deg, var(--gray-60) 0%, var(--dark-bg) 100%);
    grid-area: social;
}

.web {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--gray-60) 100%);
    grid-area: web;
}

.seo {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--gray-60) 100%);
    grid-area: seo;
}

.dev {
    background: linear-gradient(135deg, var(--gray-60) 0%, var(--dark-bg) 100%);
    grid-area: dev;
}

.service-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.service-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    border-radius: 20px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(252, 207, 3, 0.3);
    border-color: var(--primary-yellow);
}

/* Parallax Window - Fixed Background Effect */
/* Parallax Section */
.parallax-section {
  padding: 6rem 3rem;
  background: var(--darker-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.parallax-bento-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(252, 207, 3, 0.1);
  transition: all 0.3s ease;
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-bento-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(252, 207, 3, 0.2);
}

.parallax-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.1s ease-out;
    border-radius: 20px;
    /* Ensure the image can be transformed */
    transform-origin: center center;
    will-change: transform;
}

.parallax-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    background: rgba(12, 12, 13, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem 3rem;
    border-radius: 15px;
    border: 1px solid var(--card-border);
}

.parallax-caption h3 {
    font-size: 2.5rem;
    color: var(--text-light);
    font-weight: 700;
    margin: 0;
}

.parallax-caption h3 span {
    color: var(--primary-yellow);
    text-shadow: 0 0 20px rgba(252, 207, 3, 0.6);
}

/* Projects Section */
#projects {
    padding: 4rem 3rem;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--gray-60) 100%);
    position: relative;
    z-index: 1;
}

/* CTA vers réalisations */
.projects-cta {
    text-align: center;
    margin-top: 3rem;
}

.projects-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-yellow);
    border: none;
    border-radius: 50px;
    color: var(--dark-bg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 15px rgba(252, 207, 3, 0.3);
    text-decoration: none;
}

.projects-cta-button:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 207, 3, 0.4);
}

.projects-cta-button .cta-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.projects-cta-button:hover .cta-arrow {
    transform: translateX(3px);
}

.project-description {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.desc-column p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
    opacity: 0.9;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--gray-60) 0%, var(--dark-bg) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.project-image span {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.project-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.project-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(252, 207, 3, 0.3);
    border-color: var(--primary-yellow);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

/* Section Actualités - Reduced size */
#actualites {
    padding: 2.5rem 3rem;
    background: var(--gray-60);
    text-align: center;
}

#actualites h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--text-light);
}

#actualites h2 span {
    color: var(--primary-yellow);
    text-shadow: 0 0 15px rgba(252, 207, 3, 0.6);
}

.actualites-container {
    max-width: 1400px;
    margin: 0 auto;
}

.social-widgets {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Limitation de taille pour le widget Elfsight */
.elfsight-app-d333b646-e4c8-4959-9b84-7bd9c3538d1b {
    max-width: 600px !important;
    max-height: 400px !important;
    margin: 0 auto !important;
    overflow: hidden;
}

.widget-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: 200px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.widget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(252, 207, 3, 0.3);
    border-color: var(--primary-yellow);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.widget-header svg {
    width: 24px;
    height: 24px;
    color: var(--primary-yellow);
}

.widget-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
}

.widget-header h3 span {
    color: var(--primary-yellow);
}

.widget-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-style: italic;
}

.widget-placeholder {
    background: linear-gradient(135deg, var(--gray-60) 0%, var(--dark-bg) 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--card-border);
}

.widget-placeholder span {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

.widget-placeholder p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Twitter Widget Container */
.twitter-widget-container {
    background: rgba(252, 207, 3, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(252, 207, 3, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.twitter-widget-container:hover {
    background: rgba(252, 207, 3, 0.1);
    border-color: var(--primary-yellow);
}

.twitter-follow-button {
    transform: scale(1.2);
    display: inline-block;
    margin: 1rem 0;
}

/* Section Contact */
#contact {
    padding: 4rem 3rem;
    background: var(--dark-bg);
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--text-light);
}

#contact h2 span {
    color: var(--primary-yellow);
    text-shadow: 0 0 15px rgba(252, 207, 3, 0.6);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 3rem;
}

.contact-card, .form-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    flex: 1;
    min-width: 0;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-header h3 span {
    color: var(--primary-yellow);
}

.contact-header p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(252, 207, 3, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(252, 207, 3, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--dark-bg);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-value {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* New Social Widgets Styles */
.social-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.instagram-widget .widget-header svg {
    color: #E4405F;
}

.linkedin-widget .widget-header svg {
    color: #0077B5;
}

.social-preview {
    margin-top: 1.5rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.social-post {
    aspect-ratio: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.social-post:hover {
    transform: scale(1.05);
    background: rgba(252, 207, 3, 0.1);
}

.post-image {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem;
    font-size: 0.7rem;
    text-align: center;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.social-post:hover .post-overlay {
    transform: translateY(0);
}

.linkedin-updates {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.linkedin-post {
    background: transparent;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.company-logo {
    width: 32px;
    height: 32px;
    background: var(--primary-yellow);
    color: var(--dark-bg);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.post-meta {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.company-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

.post-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.post-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-yellow);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.social-link:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 207, 3, 0.3);
}

/* Mobile responsive for social widgets */
@media (max-width: 768px) {
    .social-widgets {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .post-overlay {
        font-size: 0.6rem;
        padding: 0.2rem;
    }
}

.form-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.form-card h3 span {
    color: var(--primary-yellow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(252, 207, 3, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.contact-form .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin-top: 0.5rem;
    background: var(--primary-yellow);
    border: none;
    border-radius: 12px;
    color: var(--dark-bg);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .btn svg {
    width: 18px;
    height: 18px;
}

/* Rocket icon styles */
.rocket-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.btn:hover .rocket-icon {
    transform: translateX(3px) translateY(-2px);
}

/* Rocket launch animation - smooth acceleration to top-right */
@keyframes rocketLaunch {
    0% {
        transform: translate(0, 0) scale(1.5);
        opacity: 1;
    }
    5% {
        transform: translate(5px, -5px) scale(1.55);
    }
    10% {
        transform: translate(12px, -12px) scale(1.6);
    }
    15% {
        transform: translate(22px, -22px) scale(1.65);
    }
    20% {
        transform: translate(35px, -35px) scale(1.7);
    }
    25% {
        transform: translate(52px, -52px) scale(1.75);
    }
    30% {
        transform: translate(75px, -75px) scale(1.8);
    }
    35% {
        transform: translate(105px, -105px) scale(1.85);
    }
    40% {
        transform: translate(145px, -145px) scale(1.9);
    }
    45% {
        transform: translate(195px, -195px) scale(1.95);
    }
    50% {
        transform: translate(260px, -260px) scale(2);
    }
    55% {
        transform: translate(340px, -340px) scale(1.9);
    }
    60% {
        transform: translate(430px, -430px) scale(1.8);
    }
    65% {
        transform: translate(530px, -530px) scale(1.65);
    }
    70% {
        transform: translate(640px, -640px) scale(1.5);
    }
    75% {
        transform: translate(760px, -760px) scale(1.35);
    }
    80% {
        transform: translate(890px, -890px) scale(1.2);
    }
    85% {
        transform: translate(1030px, -1030px) scale(1);
    }
    90% {
        transform: translate(1180px, -1180px) scale(0.8);
    }
    95% {
        transform: translate(1340px, -1340px) scale(0.5);
    }
    100% {
        transform: translate(1500px, -1500px) scale(0.3);
        opacity: 0;
    }
}

/* Rocket exhaust particles */
@keyframes exhaustParticle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
        background: var(--primary-yellow);
    }
    50% {
        background: var(--accent-orange);
    }
    100% {
        transform: translate(-80px, 80px) scale(0);
        opacity: 0;
        background: #ff4444;
    }
}

.rocket-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary-yellow);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: exhaustParticle 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    box-shadow: 0 0 10px rgba(252, 207, 3, 0.8);
    will-change: transform, opacity;
}

.rocket-launching {
    position: fixed;
    z-index: 9999;
    animation: rocketLaunch 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    will-change: transform, opacity;
    pointer-events: none;
}

/* Success message after launch */
.form-success-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-yellow);
    color: var(--dark-bg);
    padding: 2rem 3rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(252, 207, 3, 0.4);
}

.form-success-message.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1.05);
}

.contact-form .btn:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(252, 207, 3, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .social {
        grid-column: 1 / span 2;
    }
    
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-widgets {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Mobile Responsive for Contact Section */
@media (max-width: 768px) {
    #contact {
        padding: 3rem 1.5rem;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .contact-card, .form-card {
        padding: 2rem 1.5rem;
        min-height: auto;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-header h3 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .contact-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .contact-text {
        min-width: 0;
        flex: 1;
    }
    
    .contact-label {
        font-size: 0.8rem;
    }
    
    .contact-value {
        font-size: 0.9rem;
        word-break: break-word;
    }
    
    .form-card h3 {
        font-size: 1.4rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    .contact-form .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .rocket-icon {
        width: 24px;
        height: 24px;
    }
}

/* Footer */
footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--card-border);
    padding: 3rem 3rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 3rem;
}

.footer-section h4 {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icon:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Footer Mobile Compact Styles */
.footer-mobile-compact {
    padding: 2rem 1.5rem;
    overflow-x: hidden;
}

.footer-mobile-compact .footer-container {
    width: 100%;
    overflow-x: hidden;
}

.footer-mobile-compact .footer-section {
    text-align: center;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-mobile-compact .footer-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer-mobile-compact .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-mobile-compact .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-mobile-compact .footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-mobile-compact .social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Mobile Responsive for Footer */
@media (max-width: 768px) {
    footer {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-container.footer-mobile-compact {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        max-width: 100%;
        padding: 0;
    }
    
    .footer-mobile-compact .footer-section {
        padding: 0;
        width: 100%;
    }
    
    .footer-mobile-compact .footer-logo img {
        height: 40px;
    }
    
    .footer-mobile-compact .footer-info p {
        font-size: 0.8rem;
        margin: 0.25rem 0;
    }
    
    .footer-mobile-compact .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-mobile-compact .footer-links {
        gap: 0.25rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-mobile-compact .footer-links a {
        font-size: 0.8rem;
    }
    
    .footer-mobile-compact .social-icons {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-mobile-compact .social-icon {
        font-size: 0.9rem;
    }
    
    .footer-mobile-compact {
        padding: 1.5rem 1rem;
    }
    
    .footer-bottom {
        padding: 1rem 0.5rem;
        margin-top: 1rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Mobile Responsive for Parallax Section */
@media (max-width: 768px) {
    .parallax-section {
        padding: 3rem 1.5rem;
    }
    
    .parallax-container {
        padding: 0 1rem;
    }
    
    .parallax-bento-card {
        height: 300px;
    }
    
    .parallax-caption {
        padding: 1rem 1.5rem !important;
        border-radius: 10px !important;
    }
    
    .parallax-caption h3 {
        font-size: 1.5rem !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }
}

/* Scrollbar pour Chrome, Edge et Safari */
::-webkit-scrollbar {
    width: 12px;
  }
  
  ::-webkit-scrollbar-track {
    background-color: #121212; /* même fond que ton site sombre */
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #fccf03;
    border-radius: 6px;
    border: 2px solid #121212; /* pour bien l'intégrer au fond sombre */
  }
  
  /* Scrollbar pour Firefox */
  * {
    scrollbar-width: thin;
    scrollbar-color: #fccf03 #121212;
  }
  
  