/* =====================================
     PORTFOLIO ITEM - 3D CYBER EFFECT
     (Ajouté pour effet interactif)
===================================== */

.portfolio-item {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: center center;
    perspective: 1000px;
}

/* Canvas pour l'effet 3D */
.portfolio-item-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 0px 0px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-item-3d {
    opacity: 1;
}

/* Trackers invisibles pour détecter la position de la souris */
.portfolio-tracker {
    position: relative;
    z-index: 10;
    pointer-events: all;
    opacity: 0;
}

.tr-1 { grid-area: 1 / 1; }
.tr-2 { grid-area: 1 / 2; }
.tr-3 { grid-area: 1 / 3; }
.tr-4 { grid-area: 2 / 1; }
.tr-5 { grid-area: 2 / 2; }
.tr-6 { grid-area: 2 / 3; }
.tr-7 { grid-area: 3 / 1; }
.tr-8 { grid-area: 3 / 2; }
.tr-9 { grid-area: 3 / 3; }

/* Effets cyberpunk pour les cartes */
.portfolio-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(92, 103, 255, 0.1) 0%,
        rgba(0, 162, 255, 0.05) 50%,
        transparent 100%
    );
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    border-radius: 16px;
}

.portfolio-item:hover::before {
    opacity: 1;
}

/* Lignes cyberpunk */
.cyber-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 16px;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .cyber-lines {
    opacity: 1;
}

.cyber-lines span {
    position: absolute;
    background: linear-gradient(
        90deg,
        transparent,
        var(--item-color, rgba(92, 103, 255, 0.3)),
        transparent
    );
}

.cyber-lines span:nth-child(1) {
    top: 20%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    animation: lineGrow 3s linear infinite;
}

.cyber-lines span:nth-child(2) {
    top: 40%;
    right: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    animation: lineGrow 3s linear infinite 1s;
}

.cyber-lines span:nth-child(3) {
    top: 60%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    animation: lineGrow 3s linear infinite 2s;
}

.cyber-lines span:nth-child(4) {
    top: 80%;
    right: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    animation: lineGrow 3s linear infinite 1.5s;
}

/* Effets de lueur */
.glowing-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .glowing-elements {
    opacity: 1;
}

.glow-1,
.glow-2,
.glow-3 {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        var(--item-color, rgba(0, 255, 170, 0.3)) 0%,
        transparent 70%
    );
    filter: blur(15px);
}

.glow-1 {
    top: -20px;
    left: -20px;
}
.glow-2 {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
}
.glow-3 {
    bottom: -20px;
    left: 30%;
}

/* Particules */
.card-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.card-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--item-color, #00ffaa);
    border-radius: 50%;
    opacity: 0;
}

.portfolio-item:hover .card-particles span {
    animation: particleFloat 2s infinite;
}

.card-particles span:nth-child(1) {
    --x: 1;
    --y: -1;
    top: 40%;
    left: 20%;
}
.card-particles span:nth-child(2) {
    --x: -1;
    --y: -1;
    top: 60%;
    right: 20%;
}
.card-particles span:nth-child(3) {
    --x: 0.5;
    --y: 1;
    top: 20%;
    left: 40%;
}
.card-particles span:nth-child(4) {
    --x: -0.5;
    --y: 1;
    top: 80%;
    right: 40%;
}
.card-particles span:nth-child(5) {
    --x: 1;
    --y: 0.5;
    top: 30%;
    left: 60%;
}
.card-particles span:nth-child(6) {
    --x: -1;
    --y: 0.5;
    top: 70%;
    right: 60%;
}

/* Coins décoratifs */
.corner-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 6;
}

.corner-elements span {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid var(--item-color, rgba(92, 103, 255, 0.3));
    transition: all 0.3s ease;
}

.corner-elements span:nth-child(1) {
    top: 10px;
    left: 10px;
    border-right: 0;
    border-bottom: 0;
}

.corner-elements span:nth-child(2) {
    top: 10px;
    right: 10px;
    border-left: 0;
    border-bottom: 0;
}

.corner-elements span:nth-child(3) {
    bottom: 10px;
    left: 10px;
    border-right: 0;
    border-top: 0;
}

.corner-elements span:nth-child(4) {
    bottom: 10px;
    right: 10px;
    border-left: 0;
    border-top: 0;
}

.portfolio-item:hover .corner-elements span {
    border-color: var(--item-color, rgba(92, 103, 255, 0.8));
    box-shadow: 0 0 10px var(--item-color, rgba(92, 103, 255, 0.5));
}

/* Ligne de scan */
.scan-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--item-color, rgba(92, 103, 255, 0.1)),
        transparent
    );
    transform: translateY(-100%);
    animation: scanMove 2s linear infinite;
    pointer-events: none;
    z-index: 7;
    opacity: 0;
}

.portfolio-item:hover .scan-line {
    opacity: 1;
}

/* Reflet de la carte */
.card-glare {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        125deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 55%,
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 8;
    border-radius: 16px;
}

.portfolio-item:hover .card-glare {
    opacity: 1;
}

/* Keyframes pour animations */
@keyframes lineGrow {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

@keyframes scanMove {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(calc(var(--x, 0) * 30px), calc(var(--y, 0) * 30px));
        opacity: 0;
    }
}

/* Transformations 3D pour chaque tracker */
.tr-1:hover ~ .portfolio-item-inner {
    transform: rotateX(20deg) rotateY(-10deg) rotateZ(0deg) scale(1.02);
}

.tr-2:hover ~ .portfolio-item-inner {
    transform: rotateX(20deg) rotateY(-5deg) rotateZ(0deg) scale(1.02);
}

.tr-3:hover ~ .portfolio-item-inner {
    transform: rotateX(20deg) rotateY(0deg) rotateZ(0deg) scale(1.02);
}

.tr-4:hover ~ .portfolio-item-inner {
    transform: rotateX(10deg) rotateY(-10deg) rotateZ(0deg) scale(1.02);
}

.tr-5:hover ~ .portfolio-item-inner {
    transform: rotateX(10deg) rotateY(-5deg) rotateZ(0deg) scale(1.02);
}

.tr-6:hover ~ .portfolio-item-inner {
    transform: rotateX(10deg) rotateY(0deg) rotateZ(0deg) scale(1.02);
}

.tr-7:hover ~ .portfolio-item-inner {
    transform: rotateX(-10deg) rotateY(-10deg) rotateZ(0deg) scale(1.02);
}

.tr-8:hover ~ .portfolio-item-inner {
    transform: rotateX(-10deg) rotateY(-5deg) rotateZ(0deg) scale(1.02);
}

.tr-9:hover ~ .portfolio-item-inner {
    transform: rotateX(-10deg) rotateY(0deg) rotateZ(0deg) scale(1.02);
}

/* Contenu de la carte */
.portfolio-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.125s ease-in-out;
    z-index: 2;
}

/* Ajustement du contenu original pour la 3D */
.portfolio-item .item-content,
.portfolio-item .item-image {
    transform: translateZ(20px);
    position: relative;
    z-index: 10;
}

/* Ajustement du hover original */
.portfolio-item:hover {
    border-color: var(--item-color, rgba(255, 255, 255, 0.3));
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.25),
        0 0 40px var(--item-color, rgba(92, 103, 255, 0.2));
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-item-3d {
        display: none; /* Désactiver l'effet 3D sur mobile */
    }
  
    .portfolio-item:hover::before,
    .portfolio-item:hover .cyber-lines,
    .portfolio-item:hover .glowing-elements,
    .portfolio-item:hover .scan-line {
        opacity: 0.5; /* Réduire l'intensité sur mobile */
    }
}
/* =====================================
   RESET & BASE
===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #000;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Smooth scrolling for internal links */
html {
    scroll-behavior: smooth;
}

/* =====================================
   CINEMATIC INTRO
   Legendary, architectural, unforgettable
===================================== */
.cinematic-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Grid Background */
.grid-background {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
}

.grid-line.horizontal {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%) scaleX(0);
    transform-origin: center;
}

.grid-line.vertical {
    left: 50%;
    top: 0;
    height: 100%;
    width: 1px;
    transform: translateX(-50%) scaleY(0);
    transform-origin: center;
}

.grid-line.diagonal-1 {
    width: 200%;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    transform: rotate(45deg) translateX(-50%);
    top: 50%;
    left: 50%;
}

.grid-line.diagonal-2 {
    width: 200%;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    transform: rotate(-45deg) translateX(-50%);
    top: 50%;
    left: 50%;
}

/* Particle Field */
.particle-field {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
}

/* Brand Container */
.brand-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

/* Brand Name - Architectural Typography */
.brand-name {
    position: relative;
}

.letter-container {
    display: flex;
    gap: 3px;
}

.letter {
    font-size: 8vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9);
    letter-spacing: -0.02em;
    line-height: 1;
    opacity: 0;
    transform: translateY(100px) rotateX(90deg);
    transform-origin: bottom center;
    will-change: transform, opacity, color, -webkit-text-stroke;
}

/* Brand Line */
.brand-line {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    opacity: 0;
}

/* Brand Statement */
.brand-statement {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
}

.brand-statement .line {
    font-size: 1.4vw;
    font-weight: 600;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* Cinematic Overlay */
.cinematic-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.9) 70%);
    opacity: 0;
    pointer-events: none;
}

/* =====================================
   ANIMATION KEYFRAMES
===================================== */
@keyframes gridExpand {
    0% {
        opacity: 0;
        transform: scale(0.1);
    }
    30% {
        opacity: 0.5;
        transform: scale(1);
    }
    70% {
        opacity: 0.3;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes letterReveal {
    0% {
        opacity: 0;
        transform: translateY(100px) rotateX(90deg);
        -webkit-text-stroke-width: 2px;
    }
    40% {
        opacity: 0.8;
        transform: translateY(-15px) rotateX(0deg);
        -webkit-text-stroke-width: 2px;
    }
    60% {
        opacity: 1;
        transform: translateY(5px) rotateX(0deg);
        -webkit-text-stroke-width: 1.5px;
    }
    80% {
        opacity: 1;
        transform: translateY(-2px) rotateX(0deg);
        -webkit-text-stroke-width: 1px;
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
        -webkit-text-stroke-width: 0px;
        color: #fff;
    }
}

@keyframes particleBurst {
    0% {
        opacity: 0;
        transform: scale(0) translate(0, 0);
    }
    30% {
        opacity: 0.8;
        transform: scale(1.2) translate(var(--tx), var(--ty));
    }
    60% {
        opacity: 0.4;
        transform: scale(0.8) translate(calc(var(--tx) * 1.5), calc(var(--ty) * 1.5));
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translate(var(--tx2), var(--ty2));
    }
}

@keyframes lineExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    30% {
        width: 15vw;
        opacity: 0.3;
    }
    60% {
        width: 30vw;
        opacity: 0.7;
    }
    100% {
        width: 50vw;
        opacity: 1;
    }
}

@keyframes statementReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        letter-spacing: 1.2em;
    }
    60% {
        opacity: 0.5;
        transform: translateY(10px);
        letter-spacing: 0.8em;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.5em;
    }
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 0.7;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatParticle {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    25% { transform: translate(10px, -10px); opacity: 0.6; }
    50% { transform: translate(-5px, -15px); opacity: 0.4; }
    75% { transform: translate(-10px, 5px); opacity: 0.7; }
}

@keyframes cellRipple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    20% {
        transform: scale(1.15);
        opacity: 0.8;
    }
    40% {
        transform: scale(0.95);
        opacity: 0.6;
    }
    60% {
        transform: scale(1.05);
        opacity: 0.4;
    }
    80% {
        transform: scale(0.98);
        opacity: 0.35;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

/* =====================================
   SITE CONTAINER
===================================== */
.site-container {
    opacity: 0;
    visibility: hidden;
    position: relative;
    z-index: 100;
    min-height: 100vh;
    background: #000;
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.site-container.visible {
    opacity: 1;
    visibility: visible;
}

/* =====================================
   NAVIGATION
===================================== */
.site-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 40px;
    z-index: 200;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.site-nav.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav-logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.nav-links {
    display: flex;
    gap: 20px; /* Rapproché pour compenser la suppression du sélecteur de langue */
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    padding: 8px 0;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    opacity: 1;
    color: #fff;
}

.nav-link.active::after {
    width: 100%;
    background: linear-gradient(90deg, #4ade80, #60a5fa);
}

/* BOUTON CONTACT US SIMPLIFIÉ */
.simple-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #fff;
            font-size: 16px;
    background: transparent;

    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.simple-contact-btn .simple-contact-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Hover modifié: plus subtil, texte reste blanc */
.simple-contact-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    color: #fff; /* Le texte reste blanc au survol */
}

/* Effet de reflet subtil */
.simple-contact-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.simple-contact-btn:hover::after {
    transform: translateX(100%);
}

/* Icône téléphone: garantir visibilité et couleur blanche */
.simple-phone-icon {
    width: 14px;
    height: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-phone-icon svg {
    width: 100%;
    height: 100%;
    fill: #ffffff; /* Force la couleur blanche */
    color: #ffffff; /* Couleur de secours */
}

.simple-contact-btn:hover .simple-phone-icon svg {
    fill: #ffffff; /* Garde la couleur blanche au survol */
}

/* =====================================
   HERO SECTION WITH 3D SPHERE
===================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1) 0.6s;
    position: relative;
    overflow: hidden;
}

.hero-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

/* Left Column: Text Content */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-title-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-title .title-line {
    display: block;
    line-height: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Première ligne : "Rent your" - plus petit */
.title-line-1 .title-part-1 {
    font-size: 0.7em; /* 70% de la taille d'origine = 30% plus petit */
    opacity: 0.9;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: block;
}

/* Deuxième ligne : "Website" - plus grand */
.title-line-2 .title-part-2 {
    font-size: 1.5em; /* 150% de la taille d'origine = 50% plus grand */
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #fff, #a5b4fc, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: block;
    margin-top: 5px; /* Espace entre les deux lignes */
}

.hero-section.visible .hero-title .title-line {
    opacity: 1;
    transform: translateY(0);
}

/* Animation spécifique pour "Website" */
@keyframes highlightWebsite {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.02);
        opacity: 1;
    }
}

.hero-section.visible .title-part-2 {
    animation: highlightWebsite 0.5s ease 1.2s forwards;
}

/* Animation des deux lignes */
.hero-section.visible .title-line-1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.hero-section.visible .title-line-2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

/* Divider */
.hero-divider {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4ade80, #60a5fa, #c084fc, #fbbf24);
    transition: width 1.2s cubic-bezier(0.19, 1, 0.22, 1) 1.2s;
}

.hero-section.visible .hero-divider {
    width: 200px;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.6;
    opacity: 0.7;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 1.5s;
}

.hero-section.visible .hero-subtitle {
    opacity: 0.7;
    transform: translateY(0);
}

/* Hero CTA */
.hero-cta {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 1.8s;
}

.hero-section.visible .hero-cta {
    opacity: 1;
    transform: translateY(0);
}

.cta-btn {
    position: relative;
    padding: 18px 32px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid #fff;
    border-radius: 10px;
    color: #fff;
    background: transparent;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 220px;
    max-width: 250px;
    gap: 12px;
}

.cta-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.cta-btn svg {
    transition: transform 0.3s ease;
}

.cta-btn:hover svg {
    transform: translateX(5px);
}

.btn-line {
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.cta-btn:hover .btn-line {
    width: 30px;
}

/* Right Column: 3D Sphere */
.hero-sphere {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.circle-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.circle-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
}

.circle-container,
.circle-container canvas {
    background: transparent;
    border-radius: 50%;
}

body.dragging .circle-container canvas {
    cursor: grabbing;
}

.sphere-overlay {
    display: none;
}

/* Sphere specific styles */
.hero-sphere .circle-container {
    width: 500px;
    height: 500px;
}

/* ========================
   RIPPLE GRID FOR HERO
   ======================== */
.background-ripple {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    --cell-border-color: rgba(255, 255, 255, 0.06);
    --cell-fill-color: rgba(255, 255, 255, 0.02);
    --cell-shadow-color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.background-ripple .grid-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: grid;
    margin-inline: auto;
    opacity: 0.4;
}

.cell {
    position: relative;
    border: 0.5px solid var(--cell-border-color);
    background-color: var(--cell-fill-color);
    opacity: 0.3;
    transition: opacity 150ms;
    cursor: pointer;
    will-change: transform;
}

.cell:hover {
    opacity: 0.6;
}

.cell.animating {
    animation: cellRipple var(--duration, 400ms) ease-out;
    animation-delay: var(--delay, 0ms);
    animation-fill-mode: none;
    box-shadow: 0px 0px 40px 1px var(--cell-shadow-color) inset;
}

/* Floating particles in hero */
.hero-section .floating-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-particles .particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
}

/* =====================================
   PORTFOLIO SECTION
===================================== */
.portfolio-section {
    position: relative;
    padding: 120px 40px;
    background: #000;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =====================================
   CATEGORY FILTER SYSTEM
===================================== */
.category-filter-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px 30px; /* Réduit de 30px à 20px verticalement pour diminuer la hauteur */
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s cubic-bezier(0.19, 1, 0.22, 1) 1.8s forwards;
}

.filter-header {
    display: flex;
    justify-content: center; /* Centré au lieu de space-between */
    align-items: center; /* Centré verticalement */
    margin-bottom: 20px; /* Réduit de 30px à 20px */
}

.filter-info {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centré */
    gap: 0; /* Supprimé le gap car plus de label */
}

.selected-category {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    text-align: center; /* Centré */
}

/* Category Buttons */
.category-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 0; /* Réduit de 20px à 0 pour mieux centrer */
    justify-content: center;
}

.category-btn {
    position: relative;
    padding: 12px 16px; /* Réduire de 14px 18px */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 12px; /* Réduire de 13px */
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px; /* Réduire de 100px */
    flex-shrink: 0;
    outline: none;
    white-space: nowrap;
}

.category-btn span {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.category-btn:hover .btn-glow {
    opacity: 1;
}

.category-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.category-btn.active .btn-glow {
    opacity: 1;
}

.btn-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.category-btn.active .btn-line {
    width: 60%;
}

/* Category-specific colors */
.category-btn[data-category="finance"] {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
}

.category-btn[data-category="finance"]:hover {
    border-color: rgba(74, 222, 128, 0.6);
    background: rgba(74, 222, 128, 0.05);
}

.category-btn[data-category="artisans"] {
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.3);
}

.category-btn[data-category="artisans"]:hover {
    border-color: rgba(96, 165, 250, 0.6);
    background: rgba(96, 165, 250, 0.05);
}

.category-btn[data-category="startups"] {
    color: #c084fc;
    border-color: rgba(192, 132, 252, 0.3);
}

.category-btn[data-category="startups"]:hover {
    border-color: rgba(192, 132, 252, 0.6);
    background: rgba(192, 132, 252, 0.05);
}

.category-btn[data-category="coach"] {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.3);
}

.category-btn[data-category="coach"]:hover {
    border-color: rgba(251, 191, 36, 0.6);
    background: rgba(251, 191, 36, 0.05);
}

.category-btn[data-category="legal"] {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.3);
}

.category-btn[data-category="legal"]:hover {
    border-color: rgba(248, 113, 113, 0.6);
    background: rgba(248, 113, 113, 0.05);
}

.category-btn[data-category="other"] {
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.3);
}

.category-btn[data-category="other"]:hover {
    border-color: rgba(148, 163, 184, 0.6);
    background: rgba(148, 163, 184, 0.05);
}

/* Freelance - couleur violette */
.category-btn[data-category="freelance"] {
    color: #8b5cf6;
    border-color: rgba(139, 92, 246, 0.3);
}

.category-btn[data-category="freelance"]:hover {
    border-color: rgba(139, 92, 246, 0.6);
    background: rgba(139, 92, 246, 0.05);
}

/* Wellness - couleur turquoise */
.category-btn[data-category="wellness"] {
    color: #06b6d4;
    border-color: rgba(6, 182, 212, 0.3);
}

.category-btn[data-category="wellness"]:hover {
    border-color: rgba(6, 182, 212, 0.6);
    background: rgba(6, 182, 212, 0.05);
}

/* Food - couleur orange/ambre */
.category-btn[data-category="food"] {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.category-btn[data-category="food"]:hover {
    border-color: rgba(245, 158, 11, 0.6);
    background: rgba(245, 158, 11, 0.05);
}

/* Portfolio Grid */
.portfolio-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    min-height: 600px;
}

.portfolio-item {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.8) rotateY(-10deg);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform, opacity;
}

.portfolio-item.visible {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02); /* Réduit de -10px à -8px */
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25); /* Ombre plus subtile */
}

/* Portfolio Item Images */
.item-image {
    width: 100%;
    height: 280px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.item-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .item-thumbnail {
    transform: scale(1.05);
}

.item-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .item-image-overlay {
    opacity: 0.2;
}

.item-content {
    padding: 18px 24px;
}

.item-category-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    border: 1px solid;
}

.item-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.item-description {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 15px; /* Réduit de 20px à 15px */
}

.item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .item-image {
        height: 220px;
    }
    .item-content {
        padding: 15px 20px;
    }
}

.tag {
    display: none !important;
}

/* =====================================
   FOOTER
===================================== */
.site-footer {
    position: relative; /* Changé de fixed à relative */
    width: 100%;
    padding: 40px 40px 20px; /* Footer plus compact */
    z-index: 200;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1) 1.5s;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Style pour la phrase "We're hiring!" */
.footer-hiring {
    flex: 1;
    text-align: center;
}

.footer-hiring span {
    font-size: 14px;
    opacity: 0.6;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.footer-hiring span:hover {
    opacity: 1;
    color: #a5b4fc;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal-links a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    letter-spacing: 0.3px;
}

.footer-legal-links a:hover {
    opacity: 1;
    color: #a5b4fc;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-locations {
    display: flex;
    gap: 30px;
    font-size: 14px;
    opacity: 0.6;
}

.footer-copyright {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    opacity: 0.6;
}

.footer-legal {
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    font-size: 12px;
}

.footer-legal:hover {
    opacity: 1;
    color: #a5b4fc;
}

/* =====================================
   SINGLE LINE FOOTER
===================================== */
.footer-single-line {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 11px;
    color: #fff;
    opacity: 0.7;
    white-space: nowrap;
    padding: 18px 8px 0 8px;
}

.footer-single-line span,
.footer-single-line a {
    color: #fff;
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.2s, color 0.2s;
}

.footer-single-line a:hover {
    opacity: 1;
    color: #a5b4fc;
}

@media (max-width: 900px) {
    .footer-single-line {
        gap: 8px;
        font-size: 10px;
        flex-wrap: wrap;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-single-line {
        gap: 4px;
        font-size: 9px;
        flex-wrap: wrap;
        text-align: center;
    }
}

/* =====================================
   FOOTER SINGLE LINE AVANCÉ
===================================== */
.footer-single-line-advanced {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    font-size: 11px;
    color: #fff;
    opacity: 0.7;
    white-space: nowrap;
    padding: 18px 8px 0 8px;
    width: 100%;
}

.footer-single-line-advanced .footer-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.footer-single-line-advanced .footer-cities span {
    margin-right: 10px;
}

.footer-single-line-advanced .footer-cities span:last-child {
    margin-right: 0;
}

.footer-hiring-iso {
    margin: 0 32px;
    font-weight: 500;
    color: #fff;
    opacity: 0.8;
    font-size: 11px;
    letter-spacing: 0.2px;
}

.footer-single-line-advanced .footer-legal-links-iso {
    gap: 12px;
}

.footer-single-line-advanced .footer-legal-links-iso a {
    color: #fff;
    opacity: 0.7;
    text-decoration: none;
    font-size: 11px;
    margin-right: 6px;
    transition: opacity 0.2s, color 0.2s;
}

.footer-single-line-advanced .footer-legal-links-iso a:last-child {
    margin-right: 0;
}

.footer-single-line-advanced .footer-legal-links-iso a:hover {
    opacity: 1;
    color: #a5b4fc;
}

.footer-copyright-iso {
    margin-left: 24px;
    font-size: 11px;
    opacity: 0.7;
    color: #fff;
}

@media (max-width: 1100px) {
    .footer-single-line-advanced {
        gap: 16px;
        font-size: 10px;
    }
    .footer-hiring-iso {
        margin: 0 12px;
    }
    .footer-copyright-iso {
        margin-left: 8px;
    }
}

@media (max-width: 800px) {
    .footer-single-line-advanced {
        gap: 8px;
        font-size: 9px;
        flex-wrap: wrap;
        text-align: center;
    }
    .footer-hiring-iso {
        margin: 0 4px;
    }
}

/* =====================================
   RESPONSIVE DESIGN
===================================== */
@media (max-width: 1024px) {
    .letter {
        font-size: 12vw;
    }
    
    .brand-statement .line {
        font-size: 2.2vw;
    }
    
    .portfolio-section {
        padding: 80px 24px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-text {
        align-items: center;
    }
    
    .hero-divider {
        margin: 0 auto;
    }
    
    .hero-sphere {
        height: 400px;
        order: -1;
    }
    
    .hero-sphere .circle-container {
        width: 400px;
        height: 400px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet breakpoint */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-section {
        padding: 100px 32px 60px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-sphere {
        height: 400px;
    }
    
    .hero-sphere .circle-container {
        width: 400px;
        height: 400px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .category-filter-container {
        padding: 20px 24px;
    }
    
    .faq-section {
        padding: 100px 32px;
    }
    
    .nav-links {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .cinematic-intro {
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .letter {
        font-size: 14vw;
        -webkit-text-stroke-width: 1.5px;
    }
    
    .brand-statement .line {
        font-size: 3.5vw;
    }
    
    .brand-container {
        gap: 30px;
        padding: 20px;
    }
    
    .site-nav, .portfolio-section, .site-footer {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .nav-container {
        max-width: 100%;
        width: 100%;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .hero-section {
        padding: 100px 24px 60px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        line-height: 1.5;
        max-width: 100%;
    }
    
    .hero-sphere {
        height: 350px;
    }
    
    .hero-sphere .circle-container {
        width: 350px;
        height: 350px;
    }
    
    .cta-btn {
        min-width: 200px;
        max-width: 100%;
        padding: 16px 28px;
        font-size: 15px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: 400px;
    }
    
    .portfolio-container {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .category-filter-container {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 18px 20px;
        border-radius: 16px;
    }
    
    .filter-header {
        margin-bottom: 15px;
    }
    
    .selected-category {
        font-size: 24px;
    }
    
    .category-buttons {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .category-btn {
        padding: 12px 20px;
        min-width: 100px;
        font-size: 13px;
    }

    /* Footer responsive adjustments */
    .site-footer {
        padding: 40px 24px 20px;
    }
    .footer-info {
        flex-direction: row;
        align-items: center;
        gap: 20px;
        text-align: center;
        justify-content: space-around;
    }
    .footer-locations {
        gap: 20px;
    }
    .footer-copyright {
        align-items: center;
        gap: 12px;
    }
    
    /* Responsive pour "We're hiring!" */
    .footer-hiring {
        flex: 1;
    }
    
    .footer-legal-links {
        gap: 15px;
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .footer-legal-links a {
        font-size: 11px;
    }
    
    .hero-title .title-line {
        text-align: center;
    }
    
    .title-line-1 .title-part-1 {
        font-size: 0.65em;
    }
    
    .title-line-2 .title-part-2 {
        font-size: 1.4em;
    }
}

/* Small mobile breakpoint */
@media (max-width: 480px) {
    .cinematic-intro {
        padding: 0;
    }
    
    .brand-container {
        gap: 25px;
        padding: 15px;
    }
    
    .letter {
        font-size: 16vw;
    }
    
    .brand-statement .line {
        font-size: 4vw;
        letter-spacing: 0.3em;
    }
    
    .hero-sphere {
        height: 250px;
    }
    
    .hero-sphere .circle-container {
        width: 250px;
        height: 250px;
    }
    
    .category-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .category-btn {
        width: 100%;
        justify-content: flex-start;
        padding-left: 20px;
        padding-right: 20px;
        font-size: 12px;
    }
    
    .title-line-1 .title-part-1 {
        font-size: 0.55em;
    }
    
    .title-line-2 .title-part-2 {
        font-size: 1.2em;
    }
    
    .hero-section {
        padding: 80px 20px 40px;
    }
    
    .hero-subtitle {
        font-size: clamp(0.95rem, 4.5vw, 1.1rem);
        line-height: 1.5;
    }
    
    .portfolio-section {
        padding: 60px 20px;
        overflow-x: hidden;
    }
    
    .portfolio-container {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .category-filter-container {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 14px;
        border-radius: 12px;
    }
    
    .category-filter-container {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 16px;
        border-radius: 12px;
    }
    
    .selected-category {
        font-size: 20px;
    }
    
    .faq-section {
        padding: 60px 16px;
    }
    
    .faq-title {
        font-size: 1.6rem;
    }
    
    .simple-contact-btn {
        padding: 8px 12px;
    }
    
    .simple-phone-number {
        font-size: 12px;
    }
    
    .cta-btn {
        min-width: 180px;
        padding: 14px 24px;
        font-size: 14px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .cinematic-intro {
        padding: 0;
    }
    
    .brand-container {
        gap: 20px;
        padding: 10px;
    }
    
    .letter {
        font-size: 18vw;
        -webkit-text-stroke-width: 1px;
    }
    
    .brand-statement .line {
        font-size: 4.5vw;
        letter-spacing: 0.2em;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .hero-sphere {
        height: 220px;
    }
    
    .hero-sphere .circle-container {
        width: 220px;
        height: 220px;
    }
    
    .category-btn {
        font-size: 11px;
        padding: 10px 16px;
    }
    
    .faq-question {
        font-size: 14px;
        padding: 16px 18px;
    }
    
    .faq-answer {
        font-size: 14px;
        padding: 0 18px 16px;
    }
    
    .cta-btn {
        min-width: 160px;
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .footer-single-line-advanced {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
        font-size: 8px;
    }
    
    .footer-hiring-iso {
        margin: 0;
    }
    
    .footer-copyright-iso {
        margin-left: 0;
    }
}

/* =====================================
   BOUTON CONTACT US PERSONNALISÉ
===================================== */
.contact-btn {
    position: relative;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    transform-origin: center;
}

/* Effet de fond au survol */
.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #4ade80, #60a5fa, #c084fc, #fbbf24);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.contact-btn:hover::before {
    opacity: 1;
}

/* Contenu du bouton */
.contact-btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
    transition: all 0.4s ease;
}

/* Icône téléphone */
.phone-icon {
    width: 16px;
    height: 16px;
    transition: all 0.4s ease;
}

.phone-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Texte principal */
.btn-text {
    transition: all 0.4s ease;
    display: inline-block;
}

/* Numéro de téléphone (caché par défaut) */
.phone-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    color: #000;
    font-weight: 600;
    font-size: 13px;
}

/* Effet au survol */
.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 222, 128, 0.3);
    border-color: transparent;
}

.contact-btn:hover .btn-text {
    opacity: 0;
    transform: translateY(-10px);
}

.contact-btn:hover .phone-icon {
    opacity: 0;
    transform: translateY(-10px);
}

.contact-btn:hover .phone-number {
    opacity: 1;
    transform: translateY(0);
}

/* Ligne décorative */
.contact-btn-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.contact-btn:hover .contact-btn-line {
    width: 60%;
    background: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 120px;
    }
}

/* =====================================
   FAQ SECTION
===================================== */
.faq-section {
  position: relative;
  padding: 120px 40px;
  background: #000;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #fff, #a5b4fc, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
}

.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.faq-tab {
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  white-space: nowrap;
  outline: none;
}

.faq-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.faq-tab.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: #60a5fa;
  color: #fff;
  box-shadow: 0 4px 20px rgba(96, 165, 250, 0.15);
}

.faq-category {
  display: none;
}

.faq-category.active {
  display: block;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.faq-item.active {
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 28px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Question FAQ - CORRECTION : Padding réduit */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px; /* RÉDUIT de 24px 28px */
    font-size: 17px; /* RÉDUIT de 18px */
    font-weight: 600;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

/* Réponse FAQ - CORRECTION : Pas de padding par défaut */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 24px 0; /* padding-bottom à 0 par défaut */
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 15px; /* RÉDUIT de 16px */
    transition: max-height 0.4s cubic-bezier(0.19, 1, 0.22, 1), 
                            opacity 0.3s ease,
                            padding 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
/* CORRECTION : Padding-bottom uniquement quand ouvert */
.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
    padding: 0 24px 20px; /* padding-bottom ajouté seulement ici */
}

/* Flèche - CORRECTION : Taille et animation améliorées */
.faq-question .arrow {
    font-size: 16px; /* RÉDUIT de 18px */
    color: #a5b4fc;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), color 0.3s ease;
    margin-left: 10px;
    display: inline-block;
    transform-origin: center;
    will-change: transform;
    flex-shrink: 0; /* Empêche la flèche de rétrécir */
}
.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
    color: #60a5fa;
}
.faq-question:active {
    transform: scale(0.98);
}

.faq-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}
.faq-content.loaded {
    opacity: 1;
    transform: translateY(0);
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 80px 24px;
  }
  .faq-title {
    font-size: 2.2rem;
  }
  .faq-subtitle {
    font-size: 1.1rem;
  }
  .faq-tabs {
    gap: 8px;
  }
  .faq-tab {
    padding: 10px 20px;
    font-size: 14px;
  }
  .faq-question {
    padding: 20px 24px;
    font-size: 16px;
  }
  .faq-answer {
    padding: 0 24px 20px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 60px 20px;
  }
  .faq-title {
    font-size: 1.8rem;
  }
  .faq-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  .faq-tab {
    width: 100%;
    text-align: center;
  }
  .faq-question {
    padding: 18px 20px;
    font-size: 15px;
  }
}