@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #0a0a0a;
    --card-bg: #141414;
    --primary-color: #f05a28;
    /* The orange from the logo */
    --accent-color: #ff8c61;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Swiper Custom */
.swiper {
    width: 100%;
    padding: 20px 0 60px 0 !important;
    /* Extra padding for hover scale */
    overflow: visible !important;
}

.swiper-pagination-bullet {
    background: var(--primary-color) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
}

/* FAQ styles */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.active {
    max-height: 1000px;
    /* Large enough to fit content */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100vw;
}

main {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 450px;
    background: #1a1a1a;
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    visibility: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#cookie-banner.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Cookie Trigger Icon */
#cookie-trigger {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: floating 3s ease-in-out infinite;
}

#cookie-trigger:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(240, 90, 40, 0.3);
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 550px) {
    #cookie-trigger {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }

    #cookie-banner {
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: auto;
        max-width: calc(100% - 40px);
        padding: 1.5rem;
        gap: 1rem;
    }

    #cookie-banner h4 {
        font-size: 1rem;
    }

    #cookie-banner p {
        font-size: 0.85rem;
    }

    #cookie-banner button {
        font-size: 0.85rem;
        padding: 0.7rem !important;
    }
}

header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 180px;
    height: 45px;
    overflow: hidden;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: filter 0.3s;
}

/* Shine effect overlay */
.logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-20deg);
    animation: logoShineOnce 3s forwards ease-in-out;
    animation-delay: 2s;
    pointer-events: none;
    z-index: 5;
}

@keyframes logoShineOnce {
    0% {
        left: -150%;
    }

    100% {
        left: 250%;
    }
}

.logo-icon {
    z-index: 2;
    opacity: 1;
    /* Shows first */
    animation: logoFadeIcon 4s forwards ease-in-out;
    animation-delay: 1s;
}

.logo-full {
    z-index: 1;
    opacity: 0;
    /* Hidden initially */
    animation: logoFadeFull 4s forwards ease-in-out;
    animation-delay: 1s;
}

@keyframes logoFadeIcon {
    0% {
        opacity: 1;
        transform: translateY(-50%) scale(1) translateX(0);
        visibility: visible;
    }

    100% {
        opacity: 0;
        transform: translateY(-50%) scale(0.8) translateX(20px);
        visibility: hidden;
    }
}

@keyframes logoFadeFull {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.8) translateX(-20px);
        visibility: hidden;
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.1) translateX(0);
        filter: brightness(1.5);
        visibility: visible;
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1) translateX(0);
        filter: brightness(1);
        visibility: visible;
    }
}

/* Remove scroll-dependent logo styles */
header.scrolled .logo-icon,
header.scrolled .logo-full {
    transform: none;
    opacity: unset;
}

/* ── Header Premium ── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s, padding 0.4s;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 0.65rem 0;
}

header .container {
    display: flex;
    align-items: center;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}

/* ── Nav Links Desktop (dans le header) ── */
.nav-links-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links-desktop>li {
    position: relative;
}

.nav-links-desktop>li>a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-links-desktop>li>a:hover,
.nav-links-desktop>li>a.active {
    color: white;
    background: rgba(255, 255, 255, 0.06);
}

.nav-links-desktop>li>a i {
    font-size: 0.75rem;
    color: var(--primary-color);
    opacity: 0.8;
}

/* ── Nav Links Mobile (hors du header, tiroir latéral) ── */
.nav-links {
    display: flex;
    /* Toujours flex pour permettre la transition */
    visibility: hidden;
    /* Invisible hors mobile */
    pointer-events: none;
    /* Non-cliquable hors mobile */
    position: fixed;
    top: 0;
    right: -100%;
    /* Hors écran par défaut */
    width: min(320px, 85vw);
    height: 100dvh;
    background: rgba(12, 12, 12, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 6rem 1.5rem 2rem;
    gap: 0.2rem;
    list-style: none;
    margin: 0;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    z-index: 9999;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    overflow-y: auto;
}

/* ── Dropdown ── */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 220px;
    padding-top: 12px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    pointer-events: none;
    z-index: 100;
}

/* Boîte visuelle séparée du padding */
.nav-dropdown-inner {
    background: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 0.6rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Petite flèche en haut */
.nav-dropdown-inner::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    border-top: none;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}

.nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: white;
}

.nav-dropdown a i {
    width: 28px;
    height: 28px;
    background: rgba(240, 90, 40, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.nav-dropdown .dropdown-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0.4rem 0;
}

.nav-dropdown .dropdown-highlight {
    background: rgba(240, 90, 40, 0.08);
    border: 1px solid rgba(240, 90, 40, 0.15);
}

.nav-dropdown .dropdown-highlight:hover {
    background: rgba(240, 90, 40, 0.15);
    color: white;
}

.nav-dropdown .dropdown-highlight i {
    background: rgba(240, 90, 40, 0.2);
}

/* ── Badge GRATUIT ── */
.nav-badge-free {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    font-size: 0.5rem;
    font-weight: 800;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.2rem;
    vertical-align: middle;
    animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(240, 90, 40, 0.4);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(240, 90, 40, 0);
    }
}

/* ── Lien Audit SEO mis en avant dans la nav ── */
.nav-cta-link {
    display: flex !important;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(240, 90, 40, 0.45) !important;
    border-radius: 50px !important;
    padding: 0.45rem 1rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    background: rgba(240, 90, 40, 0.06) !important;
    transition: background 0.2s, border-color 0.2s, color 0.2s !important;
    white-space: nowrap;
}

.nav-cta-link:hover,
.nav-cta-link.active {
    background: rgba(240, 90, 40, 0.15) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.nav-cta-link i {
    color: var(--primary-color) !important;
    opacity: 1 !important;
}

/* ── Caret dropdown icon ── */
.nav-caret {
    font-size: 0.6rem !important;
    color: rgba(255, 255, 255, 0.3) !important;
    transition: transform 0.2s;
    margin-left: 0.1rem;
}

.has-dropdown:hover .nav-caret {
    transform: rotate(180deg);
}

/* ── Mobile overlay ── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.btn-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.3);
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

.btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 100px 0;
    overflow: visible;
    /* Fix hover clipping */
    max-width: 100vw;
    position: relative;
}

.section-title {
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
}

/* Cards (Services, Portfolio) */
/* Process Section Styles */
.process-step-card {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    background: #111;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.process-step-card:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(240, 90, 40, 0.05);
}

.process-step-icon {
    width: 60px;
    height: 60px;
    background: rgba(240, 90, 40, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.process-step-content {
    padding: 0;
}

.process-step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: white;
}

.process-step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}


.mini-faq-item {
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-faq-item h4 {
    font-size: 1rem;
    font-weight: 500;
}

.savoir-plus-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 3rem;
    transition: 0.3s;
}

.savoir-plus-btn .arrow-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.savoir-plus-btn:hover .arrow-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(-45deg);
}

/* Service Detail Pages */
.service-hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at 50% 10%, rgba(240, 90, 40, 0.08) 0%, transparent 50%);
    text-align: center;
}

.service-hero h1 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.service-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.feature-tag-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-tag {
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(240, 90, 40, 0.2);
    transition: 0.3s;
}

.feature-tag:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(240, 90, 40, 0.3);
}

.service-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.service-icon-box {
    width: 80px;
    height: 80px;
    background: rgba(240, 90, 40, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.service-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3.5rem;
    align-items: flex-start;
}

.service-step i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

.service-step h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    min-width: 60px;
}


@media (max-width: 992px) {
    .service-hero h1 {
        font-size: 3rem;
    }

    .service-details-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.swiper-slide {
    height: auto !important;
    display: flex;
}

.card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(240, 90, 40, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Portfolio & Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--text-main);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(240, 90, 40, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card-square {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 32px;
    overflow: hidden;
    background: #111;
    border: 1px solid var(--glass-border);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.project-card-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    /* Reduced padding from 2.5rem */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s ease;
    z-index: 2;
}

.project-card-square:hover img {
    transform: scale(1.1);
    filter: brightness(0.4);
    /* Darker for better text visibility */
}

.project-card-square:hover .project-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.8rem;
}

.project-category-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-overlay h3 {
    font-size: 1.4rem !important;
    /* Forces smaller size */
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
}

.project-overlay p {
    font-size: 0.85rem !important;
    line-height: 1.4;
    margin-bottom: 1rem;
    opacity: 0.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Strictly limit description lines */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Advanced UI Polish --- */

/* Mesh Backgrounds for Sections */
.bg-hero {
    background: radial-gradient(circle at 10% 20%, rgba(240, 90, 40, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(41, 121, 255, 0.05) 0%, transparent 50%);
}

.bg-light-dark {
    background: rgba(255, 255, 255, 0.02);
}

.bg-mesh-dark {
    background: radial-gradient(circle at 50% 50%, rgba(240, 90, 40, 0.03) 0%, transparent 70%);
}

/* Portrait Floating Animation */
.hero-image-container {
    position: relative;
    width: 400px;
    height: 500px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    /* Organic shape */
    overflow: hidden;
    border: 2px solid var(--glass-border);
    animation: blobMorph 10s ease-in-out infinite alternate;
    box-shadow: 0 0 50px rgba(240, 90, 40, 0.1);
}

@keyframes blobMorph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translate(0, 0);
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(5px, -10px);
    }
}

/* Enhanced Floating Icons */
.floating-icon {
    position: absolute;
    color: var(--primary-color);
    opacity: 0.1;
    font-size: 5rem;
    animation: floatSmooth 15s ease-in-out infinite;
    filter: blur(2px);
    z-index: 1;
}

@keyframes floatSmooth {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(40px, -50px) rotate(20deg);
    }

    66% {
        transform: translate(-30px, 30px) rotate(-20deg);
    }
}

/* More Visible Icons */
.icon-1 {
    top: 15%;
    left: 8%;
    font-size: 6rem;
    opacity: 0.08;
}

.icon-2 {
    top: 65%;
    left: 12%;
    font-size: 4rem;
    opacity: 0.12;
}

.icon-3 {
    top: 25%;
    right: 15%;
    font-size: 5rem;
    opacity: 0.1;
}

.icon-4 {
    top: 75%;
    right: 10%;
    font-size: 7rem;
    opacity: 0.06;
}

.icon-5 {
    top: 45%;
    left: 45%;
    font-size: 3rem;
    opacity: 0.15;
}

.icon-6 {
    top: 85%;
    left: 45%;
    font-size: 4rem;
    opacity: 0.08;
}

/* Section Transitions (Subtle Lines) */
.section-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 0 15px var(--primary-color);
}

/* Navigation Icons */
.nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Enhanced Floating Icons - Sharp & Colorful */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    opacity: 0.2;
    /* More visible */
    font-size: 2.5rem;
    /* Standard size, not enlarged */
    animation: floatSmooth 12s ease-in-out infinite;
    filter: none;
    /* Removed blur for sharpness */
}

/* Colors for specific icons */
.icon-wp {
    color: #21759B;
}

.icon-js {
    color: #F7DF1E;
}

.icon-php {
    color: #777BB4;
}

.icon-figma {
    color: #F24E1E;
}

.icon-code {
    color: #2ecc71;
}

.icon-chart {
    color: #e74c3c;
}

@keyframes floatSmooth {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, -40px) rotate(10deg);
    }
}

.icon-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.icon-2 {
    top: 80%;
    left: 10%;
    animation-delay: 2s;
}

.icon-3 {
    top: 15%;
    right: 5%;
    animation-delay: 4s;
}

.icon-4 {
    top: 75%;
    right: 15%;
    animation-delay: 6s;
}

.icon-5 {
    top: 40%;
    left: 35%;
    animation-delay: 8s;
}

.icon-6 {
    top: 20%;
    left: 45%;
    animation-delay: 1s;
}

.icon-7 {
    top: 60%;
    right: 40%;
    animation-delay: 3s;
}

.icon-8 {
    top: 45%;
    right: 5%;
    animation-delay: 5s;
}

/* Flag Fixes */
.client-flags {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

.client-flags img {
    height: 24px;
    width: 36px;
    /* Fixed ratio 3:2 */
    object-fit: cover;
    /* Ensures fixed ratio doesn't distort different flags */
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.9;
}

.client-flags img:hover {
    transform: scale(1.2) translateY(-5px);
    opacity: 1;
    box-shadow: 0 8px 20px rgba(240, 90, 40, 0.2);
}

#cookie-banner {
    padding: 2rem;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 2rem;
}

/* Testimonials - New Premium Design */
.testiSwiper {
    padding-bottom: 80px !important;
}

.testimonial-card {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 3.5rem 2.5rem 2.5rem;
    border-radius: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.05;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(25, 25, 25, 0.6);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.testimonial-card:hover::before {
    opacity: 0.1;
    transform: scale(1.1) rotate(-10deg);
}

.linkedin-reviews-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0077b5;
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.2);
    margin-top: 1rem;
}

.linkedin-reviews-btn:hover {
    background: #005f92;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 119, 181, 0.3);
}

.linkedin-reviews-btn i:last-child {
    font-size: 0.8rem;
    opacity: 0.8;
}

.testimonial-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #dfdfdf;
    flex-grow: 1;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.user-avatar-text {
    width: 55px;
    height: 55px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(240, 90, 40, 0.2);
}

.user-info h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.user-info span {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

/* Technologies Section */
.tech-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tech-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(240, 90, 40, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-card:hover::after {
    opacity: 1;
}

.tech-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.tech-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.tech-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

/* Offer Cards */
.offer-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.offer-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(30, 30, 30, 0.8);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.offer-card i {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.offer-card:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.offer-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: white;
}

.offer-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.offer-link {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-link i {
    font-size: 0.9rem !important;
    margin: 0 !important;
    transition: var(--transition) !important;
}

.offer-card:hover .offer-link i {
    transform: translateX(5px);
}

/* Blog Cards */
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.blog-img-wrapper {
    height: 220px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    position: relative;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.1);
}

.blog-category {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card h3 {
    margin: 1rem 0;
    line-height: 1.4;
    font-size: 1.4rem;
    color: white;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.blog-link {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-link i {
    color: var(--primary-color);
    transition: var(--transition);
}

.blog-card:hover .blog-link i {
    transform: translateX(5px);
}

/* FAQ Items Home */
.faq-item-home {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin-bottom: 1.2rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item-home:hover {
    border-color: rgba(240, 90, 40, 0.3);
}

.faq-header-home {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header-home h4 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    color: #efefef;
}

.faq-icon-home {
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-answer-home {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer-home.active {
    max-height: 500px;
    border-top: 1px solid var(--glass-border);
}

.faq-answer-home .answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* CTA Section */
.cta-premium {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(240, 90, 40, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.btn-cta {
    background: white;
    color: var(--primary-color) !important;
    padding: 1.5rem 4rem;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50px;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.btn-cta:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: var(--primary-color);
    color: white !important;
}

/* Footer */
footer {
    padding: 5rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

/* Premium Redesigned Tech Section */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.tech-feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 35px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tech-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(240, 90, 40, 0.08), transparent 70%);
    opacity: 0;
    transition: 0.5s;
}

.tech-feature-card:hover {
    transform: translateY(-12px);
    border-color: rgba(240, 90, 40, 0.2);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.tech-feature-card:hover::before {
    opacity: 1;
}

.tech-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.tech-header i {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    display: block;
    background: linear-gradient(135deg, white 0%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
    transition: 0.5s;
}

.tech-feature-card:hover .tech-header i {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-header h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.tech-feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.tech-labels {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.tech-labels span {
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.tech-feature-card:hover .tech-labels span {
    background: rgba(240, 90, 40, 0.1);
    border-color: rgba(240, 90, 40, 0.2);
    color: var(--primary-color);
}

.tech-footer-note {
    margin-top: 6rem;
    padding: 4rem;
    background: radial-gradient(circle at center, rgba(240, 90, 40, 0.05) 0%, transparent 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    text-align: center;
    max-width: 1000px;
    margin-inline: auto;
    position: relative;
}

.tech-footer-note::after {
    content: '\"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.tech-footer-note p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: white;
    font-weight: 300;
}

.tech-footer-note strong {
    color: var(--primary-color);
    font-weight: 700;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.expertise-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-visual {
    text-align: center;
}

.client-flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.expertise-info-badge {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(240, 90, 40, 0.1);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-form-container {
    background: var(--card-bg);
    padding: 3.5rem;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.contact-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.captcha-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

@media (max-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-feature-card {
        padding: 2.5rem;
    }

    .tech-footer-note {
        padding: 2.5rem;
        border-radius: 30px;
    }

    .tech-footer-note p {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet & Smaller Desktop (992px) */
@media (max-width: 992px) {
    header {
        background: rgba(10, 10, 10, 0.9);
        backdrop-filter: blur(15px);
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--glass-border);
        width: 100%;
        left: 0;
    }

    nav {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hide-mobile {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        z-index: 1001;
    }

    .mobile-toggle i {
        font-size: 1.2rem;
    }

    /* ── Nav : masquer desktop, activer le tiroir mobile ── */
    .nav-links-desktop {
        display: none !important;
    }

    /* Sur mobile : activer le tiroir, le rendre visible mais hors écran */
    .nav-links {
        visibility: visible;
        pointer-events: auto;
        right: -100%;
    }

    /* Quand le burger est cliqué, le menu glisse depuis la droite */
    .nav-links.active {
        right: 0 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Liens dans le tiroir mobile */
    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        font-size: 1rem;
        padding: 0.85rem 1rem;
        border-radius: 14px;
        color: rgba(255, 255, 255, 0.7);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
        transition: background 0.2s, color 0.2s;
        width: 100%;
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        color: white;
        background: rgba(255, 255, 255, 0.06);
    }

    /* Dropdowns : affichés par défaut sur mobile */
    .nav-links .nav-dropdown {
        display: block;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0.25rem 0 0.25rem 1rem;
        min-width: unset;
        border-radius: 10px;
        margin-bottom: 0.4rem;
    }

    /* Quand le parent li a la classe .is-open → on affiche le dropdown */
    .nav-links li.is-open>.nav-dropdown {
        display: block;
    }

    .nav-links .nav-dropdown-inner {
        background: none;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .nav-links .nav-dropdown-inner::before {
        display: none;
    }

    .nav-links .nav-dropdown a {
        font-size: 0.88rem;
        padding: 0.6rem 0.8rem;
        color: rgba(255, 255, 255, 0.55);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        border-radius: 8px;
        text-decoration: none;
    }

    .nav-links .nav-dropdown a:hover {
        color: white;
        background: rgba(255, 255, 255, 0.05);
    }

    /* Flèche caret : tournée par défaut sur mobile car déjà ouvert */
    .nav-links .nav-caret {
        display: inline-block !important;
        margin-left: auto;
        transform: rotate(180deg);
        font-size: 0.7rem !important;
        color: var(--primary-color) !important;
    }

    /* Styles pour mieux voir les parents ouverts */
    .nav-links .has-dropdown>a {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.05);
        margin-bottom: 0.2rem;
    }

    /* Bouton close dans le tiroir */
    .nav-mobile-close {
        position: absolute;
        top: 1.2rem;
        right: 1.2rem;
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        display: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: white;
        font-size: 1rem;
    }

    /* Contact mobile uniquement */
    .mobile-only-contact {
        display: block !important;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 80px;
    }

    .hero .container {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        max-width: 100%;
        order: 1;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-image {
        order: 2;
        width: 100%;
        margin-top: 2rem;
        display: flex;
        justify-content: center;
    }

    .hero-image-wrapper {
        width: 280px;
        min-height: 280px;
        height: auto;
        margin: 0 auto;
        padding: 2rem 0 4rem 0;
        /* Extra padding for all stat cards (top and bottom) */
    }

    /* Fix Stat Cards Overflow - refined to avoid face overlap */
    .hero-stat-card {
        padding: 0.4rem 0.6rem;
        min-width: 90px;
        font-size: 0.65rem;
        gap: 0.5rem;
    }

    .hero-stat-card i {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .logo {
        min-width: 170px;
        position: relative;
    }

    .stat-card-1 {
        left: -10% !important;
        top: -5% !important;
    }

    .stat-card-2 {
        right: -12% !important;
        bottom: 5% !important;
        /* Remonté de -25% à 5% */
    }

    .stat-card-3 {
        right: -12% !important;
        top: 10% !important;
    }

    .stat-card-4 {
        left: -15% !important;
        bottom: 10% !important;
        /* Remonté de -20% à 10% */
    }

    /* Reduce float animation on mobile */
    .hero-stat-card {
        animation-duration: 6s !important;
    }

    /* Prevent stat cards from creating horizontal scroll */
    .hero-image-wrapper {
        overflow: visible;
        position: relative;
    }

    .hero-image {
        overflow: visible;
        /* Allow stat cards to be visible outside */
        padding: 3rem 0;
        /* Extra space for top and bottom stat cards */
    }

    /* Ensure hero image displays fully */
    .hero-main-img {
        height: auto !important;
    }

    .hero-main-img img {
        height: auto !important;
        width: 100%;
        object-fit: cover;
    }

    /* Show only full logo on mobile header */

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .faq-home-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .swiper {
        overflow: visible !important;
        /* Allow content to be visible */
        padding-left: 5px !important;
        padding-right: 5px !important;
        touch-action: pan-y !important;
        /* Allow vertical scroll to pass through */
    }

    .swiper-wrapper {
        overflow: visible !important;
        height: auto !important;
        /* Let content define height */
    }

    .swiper-slide {
        height: auto !important;
    }

    section {
        padding: 60px 0;
        overflow-x: hidden;
        max-width: 100%;
    }

    .section-title {
        max-width: 100% !important;
    }

    /* Réduire les gros titres inline sur mobile */
    h2[style*="font-size: 3.5rem"],
    h2[style*="font-size:3.5rem"],
    h2[style*="font-size: 3rem"],
    h2[style*="font-size:3rem"] {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    h1[style*="font-size"] {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }

    /* Hero Overrides for width */
    div[style*="max-width: 800px"],
    div[style*="max-width: 600px"],
    p[style*="max-width: 600px"] {
        max-width: 100% !important;
    }

    .container {
        padding: 0 1.2rem;
    }

    /* Reduce card padding on mobile to avoid overflow */
    .offer-card {
        padding: 2rem !important;
    }

    .testimonial-card {
        padding: 2.5rem 1.5rem 1.5rem !important;
    }

    .tech-card {
        padding: 2rem !important;
    }

    .section-title {
        margin-bottom: 4rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* Expertise Globale Fix */
    .expertise-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        text-align: center;
    }

    .expertise-grid .section-title.text-left,
    .expertise-grid .section-title {
        text-align: center !important;
    }

    .expertise-grid h2,
    .expertise-grid p {
        text-align: center;
    }

    .expertise-grid>div:first-child>div[style]>a {
        display: inline-block;
    }

    .expertise-stats {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .client-flags {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    /* Section IA & Automatisation — grille inline forcée en 1 colonne */
    .container [style*="grid-template-columns:1fr 1fr"],
    .container [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    /* Centrage texte section IA */
    .container [style*="grid-template-columns:1fr 1fr"]>div,
    .container [style*="grid-template-columns: 1fr 1fr"]>div {
        text-align: center;
    }

    /* Items flex (liste features IA) restent alignés à gauche pour lisibilité */
    .container [style*="display:flex;align-items:center;gap:1rem"],
    .container [style*="display: flex; align-items: center; gap: 1rem"] {
        text-align: left;
    }

    /* General Grids */
    .grid,
    .grid-3 {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        text-align: center;
    }

    .footer-content>div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center;
        gap: 1rem !important;
    }

    .portfolio-filters {
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 1rem;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .project-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    /* Contact Page Mobile Fix */
    .contact-grid,
    .how-it-works-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .contact-form-container {
        padding: 2.5rem 1.5rem !important;
        border-radius: 25px !important;
    }

    .contact-inputs-row {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .how-it-works-grid .section-title {
        text-align: center !important;
    }

    .captcha-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .captcha-row input {
        min-width: 100%;
    }

    /* Disable hover effects on mobile to prevent overflow issues */
    .card:hover,
    .offer-card:hover,
    .testimonial-card:hover,
    .tech-feature-card:hover {
        transform: none !important;
    }

    .project-card-square:hover img {
        transform: scale(1.05) !important;
        /* Reduced scale on mobile */
    }
}

/* Mini Mobile (480px) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    /* FAQ Fixes */
    .faq-question,
    .faq-header-home {
        padding: 1.2rem !important;
    }

    .faq-question h3,
    .faq-header-home h4 {
        font-size: 0.95rem !important;
    }

    .faq-answer div,
    .faq-answer-home .answer-content {
        padding: 0 1.2rem 1.2rem 1.2rem !important;
        font-size: 0.9rem !important;
    }

    .expertise-info-badge {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 6rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.section-title p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.section-title.text-left {
    text-align: left;
    margin-left: 0;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #000;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(240, 90, 40, 0.3);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

/* Animations (Generic) */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Professional Hero Image Styles */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
}

.hero-glow-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(240, 90, 40, 0.15) 0%, transparent 70%);
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

.hero-main-img {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    background: #111;
}

.hero-stat-card {
    position: absolute;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 5;
    animation: floatStat 5s ease-in-out infinite;
}

.hero-stat-card i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(240, 90, 40, 0.3);
}

.hero-stat-card .stat-val {
    display: block;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    line-height: 1;
}

.hero-stat-card .stat-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.stat-card-1 {
    top: 15%;
    left: -15%;
    animation-delay: 0s;
}

.stat-card-2 {
    bottom: 12%;
    right: -12%;
    animation-delay: 2.5s;
}

.stat-card-3 {
    top: 32%;
    right: -18%;
    animation-delay: 1.2s;
}

.stat-card-4 {
    bottom: 15%;
    left: -18%;
    animation-delay: 1.8s;
}


@keyframes floatStat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@media (max-width: 992px) {
    .hero-image-wrapper {
        margin: 4rem auto 0;
        max-width: 350px;
    }

    .stat-card-1 {
        left: -8%;
        top: 5%;
    }

    .stat-card-2 {
        right: -8%;
        bottom: 5%;
    }

    .stat-card-3 {
        right: -12%;
        top: 35%;
    }

    .stat-card-4 {
        left: -12%;
        bottom: 35%;
    }
}



/* Newsletter Styles */
.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    color: white;
    flex: 1;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

/* Custom Select Styling */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem !important;
    cursor: pointer;
}

select option {
    background-color: #1a1a1a;
    color: white;
    padding: 1rem;
}

/* Nav Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu li a {
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    color: var(--text-muted);
}

.dropdown-menu li a:hover {
    background: rgba(240, 90, 40, 0.1);
    color: var(--primary-color);
    padding-left: 1.8rem;
}

.dropdown-menu li a i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Tool Pages Styling */
.tool-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.tool-container::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(240, 90, 40, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.tool-content {
    position: relative;
    z-index: 1;
}

.tool-form-group {
    margin-bottom: 2rem;
}

.tool-form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.tool-input,
.tool-select,
.tool-textarea {
    width: 100%;
    padding: 1.2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    color: white;
    outline: none;
    transition: var(--transition);
    font-size: 1rem;
}

.tool-input:focus,
.tool-select:focus,
.tool-textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.tool-result-box {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--glass-border);
    border-radius: 25px;
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.tool-nav-back {
    margin-bottom: 4rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: var(--transition);
}

.tool-nav-back:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(-5px);
    background: rgba(240, 90, 40, 0.05);
}

.service-hero .hero-badge {
    margin-bottom: 2.5rem;
    display: inline-block;
    /* inline-block ensures centering via text-align: center on parent */
}

#discount-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 90%;
    max-width: 500px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 4rem 3rem;
    z-index: 10001;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#discount-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

/* ==== MOBILE : Popup de réduction scrollable ==== */
@media (max-width: 768px) {
    #discount-popup {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        max-width: 92%;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 4rem 1.5rem 2rem;
        border-radius: 24px;
    }

    #discount-popup.show {
        transform: translateX(-50%);
    }

    .close-popup {
        position: sticky;
        top: 0;
        left: 0;
        float: right;
        margin-bottom: 0.5rem;
        font-size: 1.6rem;
        background: rgba(20, 20, 20, 0.85);
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        z-index: 1;
    }

    #discount-popup h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.8rem !important;
        margin-top: 0.5rem;
    }

    #discount-popup>p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem !important;
    }

    .discount-badge {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    #discount-popup form {
        gap: 0.9rem !important;
        text-align: left;
    }

    #discount-popup input,
    #discount-popup textarea {
        font-size: 0.9rem;
        padding: 0.8rem !important;
    }

    #discount-popup label {
        font-size: 0.8rem !important;
    }

    #discount-popup button[type="submit"] {
        padding: 1rem !important;
        font-size: 1rem !important;
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.discount-badge {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.close-popup:hover {
    color: white;
    transform: rotate(90deg);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20ba5a;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.whatsapp-float i {
    margin-top: 2px;
}

/* Pulsing effect for WhatsApp */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50px;
    z-index: -1;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* WhatsApp Tooltip Message */
.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: white;
    color: #333;
    padding: 0.8rem 1.2rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Auto-show animation: Fades in, stays for 2s, then fades out */
.whatsapp-tooltip.auto-show {
    animation: tooltipFadeThenHide 3.5s forwards;
    animation-delay: 1s;
}

@keyframes tooltipFadeThenHide {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    20%,
    80% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(20px);
    }
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1 !important;
    transform: translateX(0) !important;
    visibility: visible !important;
    animation: none;
}

/* Small triangle for the bubble */
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid white;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .whatsapp-tooltip {
        display: none;
        /* Hide message on mobile to avoid clutter */
    }
}

/* ========================================
   HARLEM SHAKE EASTER EGG
   ======================================== */

/* Harlem Shake Trigger Button */
.harlem-shake-trigger {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f05a28 0%, #ff8c61 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 9998;
    box-shadow: 0 5px 20px rgba(240, 90, 40, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.harlem-shake-trigger:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(240, 90, 40, 0.6);
}

.harlem-shake-trigger:active {
    transform: translateY(-50%) scale(0.95);
}

.harlem-shake-trigger i {
    animation: musicPulse 1s ease-in-out infinite;
}

@keyframes musicPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Harlem Shake Animations */
@keyframes harlemShake {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    10% {
        transform: translate(-3px, -3px) rotate(-2deg);
    }

    20% {
        transform: translate(3px, 3px) rotate(2deg);
    }

    30% {
        transform: translate(-3px, 3px) rotate(-2deg);
    }

    40% {
        transform: translate(3px, -3px) rotate(2deg);
    }

    50% {
        transform: translate(-3px, -3px) rotate(-2deg);
    }

    60% {
        transform: translate(3px, 3px) rotate(2deg);
    }

    70% {
        transform: translate(-3px, 3px) rotate(-2deg);
    }

    80% {
        transform: translate(3px, -3px) rotate(2deg);
    }

    90% {
        transform: translate(-3px, -3px) rotate(-2deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes harlemShakeIntense {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    5% {
        transform: translate(-8px, -8px) rotate(-5deg) scale(1.05);
    }

    10% {
        transform: translate(8px, 8px) rotate(5deg) scale(0.95);
    }

    15% {
        transform: translate(-8px, 8px) rotate(-5deg) scale(1.05);
    }

    20% {
        transform: translate(8px, -8px) rotate(5deg) scale(0.95);
    }

    25% {
        transform: translate(-8px, -8px) rotate(-5deg) scale(1.05);
    }

    30% {
        transform: translate(8px, 8px) rotate(5deg) scale(0.95);
    }

    35% {
        transform: translate(-8px, 8px) rotate(-5deg) scale(1.05);
    }

    40% {
        transform: translate(8px, -8px) rotate(5deg) scale(0.95);
    }

    45% {
        transform: translate(-8px, -8px) rotate(-5deg) scale(1.05);
    }

    50% {
        transform: translate(8px, 8px) rotate(5deg) scale(0.95);
    }

    55% {
        transform: translate(-8px, 8px) rotate(-5deg) scale(1.05);
    }

    60% {
        transform: translate(8px, -8px) rotate(5deg) scale(0.95);
    }

    65% {
        transform: translate(-8px, -8px) rotate(-5deg) scale(1.05);
    }

    70% {
        transform: translate(8px, 8px) rotate(5deg) scale(0.95);
    }

    75% {
        transform: translate(-8px, 8px) rotate(-5deg) scale(1.05);
    }

    80% {
        transform: translate(8px, -8px) rotate(5deg) scale(0.95);
    }

    85% {
        transform: translate(-8px, -8px) rotate(-5deg) scale(1.05);
    }

    90% {
        transform: translate(8px, 8px) rotate(5deg) scale(0.95);
    }

    95% {
        transform: translate(-8px, 8px) rotate(-5deg) scale(1.05);
    }

    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

/* Applied to elements during Harlem Shake */

/* MODE SMOOTH (par défaut) - Ultra-zen */
.do-the-harlem-shake {
    animation: harlemShake 7s ease-in-out;
    /* Ultra-zen à 7s pour un mouvement très doux */
    animation-iteration-count: infinite;
}

.do-the-harlem-shake-intense {
    animation: harlemShakeIntense 4s ease-in-out;
    /* Smooth à 4s pour un mouvement élégant */
    animation-iteration-count: infinite;
}

/* MODE ORIGINAL - Rapide et chaotique comme le mème */
.do-the-harlem-shake-fast {
    animation: harlemShake 0.5s ease-in-out;
    /* Rapide comme l'original */
    animation-iteration-count: infinite;
}

.do-the-harlem-shake-intense-fast {
    animation: harlemShakeIntense 0.3s ease-in-out;
    /* Chaotique comme l'original */
    animation-iteration-count: infinite;
}

@media (max-width: 768px) {
    .harlem-shake-trigger {
        display: none;
        /* Désactivé sur mobile */
    }

    .harlem-shake-progress {
        display: none;
        /* Barre de progression aussi désactivée sur mobile */
    }
}

/* Harlem Shake Progress Bar */
.harlem-shake-progress {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(240, 90, 40, 0.5);
}

.harlem-shake-progress.active {
    display: block;
}

.harlem-shake-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f05a28 0%, #ff8c61 50%, #f05a28 100%);
    background-size: 200% 100%;
    animation: progressGradient 2s linear infinite;
    transition: width 0.3s ease;
}

@keyframes progressGradient {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.harlem-shake-progress-text {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}