﻿/* Styles Premium pour Muzuri Holding SARL */

:root {
    --primary-color: #001122;
    --secondary-color: #333333;
    --accent-color: #FFD700;
    --light-bg: #f8f9fa;
    --dark-bg: #001122;
    --text-color: #333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header Premium */
.header-transparent {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(0, 18, 34, 0.9);
    backdrop-filter: blur(10px);
}

.header-transparent.scrolled {
    background: var(--primary-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-cta {
    background: linear-gradient(45deg, var(--accent-color), #ff8c00);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Hero Section Ultra Premium */
.hero-section {
    position: relative;
    min-height: 100vh;
    height: auto;
    display: block;
    overflow: visible;
}

.hero-slider-section {
    min-height: 100vh;
    overflow: visible;
}

.hero-slider-section,
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-slide {
    min-height: 100vh;
}

.hero-swiper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: 100%;
}

.hero-swiper .swiper-wrapper {
    height: 100%;
}

.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    height: auto;
    min-height: 100vh;
}

.hero-slide-bg,
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: var(--primary-color);
}

.hero-slide-bg picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide-bg,
.hero-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
    transition: opacity 0.8s ease;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transform-origin: center;
    transition: transform 6s ease, opacity 0.8s ease;
    will-change: transform;
    backface-visibility: hidden;
}

.swiper-slide-active .hero-slide-image {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 18, 34, 0.42) 0%,
        rgba(0, 18, 34, 0.32) 30%,
        rgba(0, 18, 34, 0.22) 55%,
        rgba(0, 18, 34, 0.30) 78%,
        rgba(0, 18, 34, 0.42) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-slide-container {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: clamp(7rem, 10vh, 8.5rem);
    padding-bottom: clamp(8.5rem, 14vh, 11rem);
    height: auto;
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin-right: auto;
    padding-right: clamp(0rem, 1vw, 0.5rem);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-color), #ff8c00);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero-title-main {
    display: block;
    background: linear-gradient(45deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-accent {
    display: block;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero-title-sub {
    display: block;
    color: #ffffff;
    font-weight: 600;
}

.hero-description {
    font-size: clamp(1rem, 1.4vw, 1.08rem);
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
    margin-bottom: 2.25rem;
    max-width: 820px;
    text-align: justify;
    text-justify: inter-word;
    text-wrap: pretty;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
    margin-top: 0;
    align-items: center;
}

.hero-section .row {
    --bs-gutter-x: clamp(1.5rem, 3vw, 3rem);
}

.hero-slider-ui {
    position: absolute;
    inset: auto 0 120px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(100% - 3rem, 1320px);
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-slider-pagination {
    position: static;
    width: auto !important;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    pointer-events: auto;
}

.hero-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.3s ease, background 0.3s ease, width 0.3s ease;
}

.hero-slider-pagination .swiper-pagination-bullet-active {
    width: 34px;
    border-radius: 999px;
    background: var(--accent-color);
}

.hero-slider-arrows {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    pointer-events: auto;
}

.hero-slider-arrow {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.hero-slider-arrow:hover {
    transform: translateY(-2px);
    background: rgba(255, 215, 0, 0.16);
    border-color: rgba(255, 215, 0, 0.55);
}

.hero-animate {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-animate-group .hero-animate:nth-child(1) {
    transition-delay: 0.08s;
}

.hero-animate-group .hero-animate:nth-child(2) {
    transition-delay: 0.18s;
}

.hero-animate-group .hero-animate:nth-child(3) {
    transition-delay: 0.28s;
}

.hero-animate-group .hero-animate:nth-child(4) {
    transition-delay: 0.38s;
}

.swiper-slide-active .hero-animate,
.hero-slide.is-active .hero-animate {
    opacity: 1;
    transform: translateY(0);
}

#apropos,
#services,
#pourquoi,
#galerie,
.cta-section,
#contact,
#faq,
.footer-premium {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

.btn-primary-premium {
    background: linear-gradient(45deg, var(--accent-color), #ff8c00);
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-premium:hover::before {
    left: 100%;
}

.btn-primary-premium:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
}

.btn-outline-premium {
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.btn-outline-premium:hover::before {
    transform: scaleX(1);
}

.btn-outline-premium:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-primary-premium:hover .btn-icon,
.btn-outline-premium:hover .btn-icon {
    transform: translateX(5px);
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 280px;
}

.stat-item {
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-shape {
    position: relative;
    width: 200px;
    height: 200px;
}

.hero-shape svg {
    width: 100%;
    height: 100%;
}

.hero-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 4;
    overflow: hidden;
    pointer-events: none;
}

.hero-separator svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 0.7;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

.scroll-text {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100svh;
    }

    .hero-swiper {
        height: 100%;
        min-height: 100svh;
    }

    .hero-swiper .swiper-wrapper,
    .hero-slide {
        min-height: 100svh;
    }

    .hero-slider-ui {
        inset: auto 0 110px;
        width: calc(100% - 1.5rem);
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .hero-slide-container {
        min-height: 100svh;
        padding-top: 7rem;
        padding-bottom: 10rem;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding-right: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        max-width: 100%;
        text-wrap: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-slider-arrows {
        gap: 0.5rem;
    }

    .hero-slider-arrow {
        width: 46px;
        height: 46px;
    }

    .btn-primary-premium,
    .btn-outline-premium {
        justify-content: center;
    }

    .hero-stats {
        min-width: auto;
        width: 100%;
    }

    .hero-visual {
        margin-top: 3rem;
    }
}
