html { scroll-behavior: smooth; }

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

.slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.3) 100%);
}

.slide-content {
    position: relative;
    z-index: 20;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (min-width: 768px) {
    .slide-content {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

.slide-text {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out 0.3s;
}

.slide.active .slide-text {
    opacity: 1;
    transform: translateY(0);
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    gap: 8px;
}

@media (min-width: 768px) {
    .slider-nav {
        bottom: 60px;
        gap: 12px;
    }
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .slider-dot {
        width: 12px;
        height: 12px;
    }
}

.slider-dot.active {
    background: #E85A24;
    width: 30px;
    border-radius: 6px;
}

@media (min-width: 768px) {
    .slider-dot.active {
        width: 40px;
    }
}

.slider-arrows {
    position: absolute;
    bottom: 30px;
    right: 5%;
    z-index: 30;
    display: none;
    gap: 8px;
}

@media (min-width: 768px) {
    .slider-arrows {
        display: flex;
        bottom: 60px;
        right: 8%;
        gap: 12px;
    }
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

@media (min-width: 768px) {
    .slider-arrow {
        width: 56px;
        height: 56px;
    }
}

.slider-arrow:hover {
    background: #E85A24;
    border-color: #E85A24;
}

.slider-arrow svg {
    color: white;
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .slider-arrow svg {
        width: 24px;
        height: 24px;
    }
}

/* Progress bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #E85A24;
    z-index: 30;
    width: 0%;
    transition: width 0.1s linear;
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Logo Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

/* Mobile: Single scrollable row with touch drag */
.marquee-container {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.marquee-container::-webkit-scrollbar {
    display: none;
}

.marquee-container.dragging {
    cursor: grabbing;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    padding: 0 1.5rem;
    animation: none;
}

.marquee-track-reverse {
    animation: none;
}

/* Desktop: Animated marquee */
@media (min-width: 1024px) {
    .marquee-container {
        overflow: hidden;
        cursor: default;
    }
    
    .marquee-container::before,
    .marquee-container::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 150px;
        z-index: 10;
        pointer-events: none;
    }
    
    .marquee-container::before {
        left: 0;
        background: linear-gradient(to right, white, transparent);
    }
    
    .marquee-container::after {
        right: 0;
        background: linear-gradient(to left, white, transparent);
    }
    
    .marquee-track {
        gap: 4rem;
        padding: 0;
        animation: marquee 30s linear infinite;
    }
    
    .marquee-track-reverse {
        animation: marquee-reverse 35s linear infinite;
    }
    
    .marquee-track:hover {
        animation-play-state: paused;
    }
}

.logo-item {
    flex-shrink: 0;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .logo-item {
        width: 160px;
        height: 80px;
    }
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* Graphique ecosysteme filiales (Talenta au centre) */
.ecosystem-graph {
    position: relative;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.ecosystem-center {
    position: absolute;
    inset: 32%;
    z-index: 2;
    border-radius: 9999px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.ecosystem-center img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.ecosystem-node {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.ecosystem-node img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.ecosystem-node--top {
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
}

.ecosystem-node--right {
    top: 50%;
    right: -2%;
    transform: translateY(-50%);
}

.ecosystem-node--bottom-right {
    bottom: 4%;
    right: 14%;
}

.ecosystem-node--bottom-left {
    bottom: 4%;
    left: 14%;
}

.ecosystem-node--left {
    top: 50%;
    left: -2%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .ecosystem-graph {
        max-width: 320px;
        margin-bottom: 2rem;
    }

    .ecosystem-node {
        width: 72px;
        height: 72px;
    }
}

/* Organigramme circulaire */
.org-chart {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}
.org-orbit {
    position: absolute;
    inset: 0;
}
.org-ring {
    position: absolute;
    inset: 10%;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(232,90,36,0.06), transparent 60%);
    box-shadow: 0 30px 80px rgba(15,23,42,0.12);
}
.org-center {
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: white;
    box-shadow: 0 25px 60px rgba(15,23,42,0.16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.75rem;
}
.org-center-avatar {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: linear-gradient(135deg, #E85A24, #FACC15);
    padding: 4px;
    margin-bottom: 1rem;
}
.org-center-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}
.org-center h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.org-center p {
    font-size: 0.9rem;
    color: #64748B;
}
.org-node {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem;
    background: white;
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(15,23,42,0.12);
    border-width: 1px;
    border-style: solid;
    min-width: 190px;
    transform: translate(-50%, -50%);
}
.org-node-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0F172A;
    background: #F9FAFB;
}
.org-node-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0F172A;
}
.org-node-content p {
    font-size: 0.8rem;
    color: #64748B;
}
.org-node--blue { border-color: #0EA5E9; }
.org-node--green { border-color: #22C55E; }
.org-node--orange { border-color: #F97316; }
.org-node--purple { border-color: #8B5CF6; }
.org-node--slate { border-color: #64748B; }

.org-node--top-left    {}
.org-node--left        {}
.org-node--bottom-left {}

.org-node--top-right    {}
.org-node--right        {}
.org-node--bottom-right {}

/* Mobile fallback: simple grid */
.org-grid-mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.org-card-mobile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    border-radius: 1rem;
    background: white;
    border: 1px solid #E5E7EB;
}
.org-card-mobile h4 {
    font-size: 0.95rem;
    font-weight: 600;
}
.org-card-mobile p {
    font-size: 0.8rem;
    color: #64748B;
}

/* Infographic 3 etapes */
.steps-infographic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 1024px) {
    .steps-infographic {
        grid-template-columns: minmax(300px, 380px) 1fr;
        gap: 3rem;
    }
}
.steps-center {
    background: white;
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(234, 90, 36, 0.15);
}
.steps-center h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.step-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.step-card:last-child { margin-bottom: 0; }
.step-badge {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: white;
}
.step-badge--01 { background: #E85A24; }
.step-badge--02 { background: #1e40af; }
.step-badge--03 { background: #b91c1c; }
.step-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-content p { font-size: 0.95rem; color: #6B7280; line-height: 1.6; }

/* Filiales cards avec image de fond a droite + degrade */
.filiale-card {
    position: relative;
    overflow: hidden;
}
.filiale-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.5s ease;
}
.filiale-card:hover::before {
    transform: scale(1.08);
}
.filiale-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #69180b 0%, rgba(105,24,11,0.95) 40%, rgba(105,24,11,0.5) 60%, transparent 85%);
    z-index: 1;
    transition: background 0.4s ease;
}
.filiale-card:hover::after {
    background: linear-gradient(to right, #E85A24 0%, rgba(232,90,36,0.85) 35%, rgba(232,90,36,0.4) 55%, transparent 80%);
}
.filiale-card > * {
    position: relative;
    z-index: 2;
}
.filiale-card--istaffing::before { background-image: url('images/recruitment.jpg'); }
.filiale-card--isc::before { background-image: url('images/slider-2.jpg'); }
.filiale-card--ipm::before { background-image: url('images/healthcare.jpg'); }
.filiale-card--pmo::before { background-image: url('images/office-modern.jpg'); }
.filiale-card--dhc::before { background-image: url('images/team-collaboration.jpg'); }
    </style>
</head>
<body class="font-sans bg-white text-secondary antialiased">
