/* ============================================================
   FONTS
   ============================================================ */
@font-face {
    font-family: 'Work';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://crea-site.com/font/Work-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Work';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('https://crea-site.com/font/Work-Bold.woff2') format('woff2');
}

/* ============================================================
   BODY RESET GLOBAUX
   ============================================================ */
/* Empêche les conflits avec le layout flex/overflow caché du site global */
body:not(.slider-page) {
    display: block !important;
    overflow: auto !important;
    height: auto !important;
    min-height: 100vh;
    padding-top: var(--header-height, 56px);
    background: #07080f;
    color: #fff;
    font-family: 'Work', -apple-system, sans-serif;
}

/* Annule le padding top si le header est transparent/absolu (ex: Hero section) */
body:has(.absolute-header) {
    padding-top: 0 !important;
}

/* ============================================================
   BOUTON CTA "CRÉER UN SITE" (.btn-create)
   ============================================================ */
.btn-create {
    padding: 8px 18px;
    background: rgba(52, 152, 219, 0.64);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(52, 152, 219, 0.3);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 200px;
    text-align: center;
}

/* Effet de brillance au survol */
.btn-create::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.6s;
}

.btn-create:hover::before {
    left: 100%;
}

.btn-create:hover {
    background: rgba(52, 152, 219, 0.92);
    border-color: rgba(52, 152, 219, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.4);
}

/* Gestion du texte au survol */
.btn-text-hover { display: none; }
.btn-create:hover .btn-text-default { display: none; }
.btn-create:hover .btn-text-hover { display: inline; }

/* ============================================================
   NAVIGATION DESKTOP CLASSIQUE (.nav-center)
   (Si tu l'utilises toujours sur certaines pages)
   ============================================================ */
.nav-center {
    display: flex;
    align-items: center;
    gap: 25px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Work', -apple-system, sans-serif;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.active {
    color: #fff;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #1abc9c);
    border-radius: 2px;
}

/* ============================================================
   UTILITAIRES MOBILES (Séparateurs & Liens couleurs)
   ============================================================ */
.mobile-section-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 8px 0;
    opacity: 0.4;
}

.mobile-link--section {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    margin: 4px 0;
}

.mobile-link--whatsapp { color: #25d366; }
.mobile-link--linkedin { color: #0077b5; }/* ============================================================
   VARIABLES GLOBALES & RESET
   ============================================================ */
:root {
    --volt:    #c8f135;
    --ink:     #0a0a0f;
    --c1:      #3498db;
    --c2:      #1abc9c;
    --bg:      #141414;
    --border:  rgba(255, 255, 255, 0.15);
    --header-height: 56px;
}

body.no-scroll {
    overflow: hidden !important;
}

/* ============================================================
   HEADER GLOBAL
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.absolute-header {
    position: absolute !important;
    background: transparent !important;
    box-shadow: none !important;
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Titre H1 central discret */
.header-h1 {
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.77);
    margin: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 30vw;
    letter-spacing:.92px;
}    
.header-h1 a {
    text-decoration: none;
    color:inherit;
} 
/* ============================================================
   LOGO
   ============================================================ */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Work', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
}

.logo-part-2 { color: #fff; transition: color 0.3s ease; }
.logo-ext { color: rgba(255, 255, 255, 0.5); transition: color 0.3s ease; }

.logo:hover .logo-part-2 { color: #3498db; text-shadow: 0 0 10px rgba(52, 152, 219, 0.4); }
.logo:hover .logo-part-2.lab { color: var(--volt); text-shadow: 0 0 10px rgba(200, 241, 53, 0.4); }
.logo:hover .logo-part-2.album { color: #e8c97a; text-shadow: 0 0 10px rgba(232, 201, 122, 0.4); }
.logo:hover .logo-ext { color: #fff; }

.crea-icon {
    display: inline-block;
    animation: lightning-strike 4s infinite;
}

@keyframes lightning-strike {
    0%, 85%, 90%, 95% { transform: scale(1) translateY(0); opacity: 1; }
    88% { transform: scale(1.5) translateY(-2px); opacity: .7; }
    92% { transform: scale(1.4) translateY(-1px); opacity: .8; }
}

/* ============================================================
   ANIMATIONS & DROPDOWNS COMMUNS (Lang & Section Switcher)
   ============================================================ */
.section-switcher, .lang-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Pont invisible pour garder le survol actif */
.section-switcher::after, .lang-selector::after {
    content: ''; position: absolute;
    top: 100%; left: 0; right: 0; height: 12px;
}

.section-dropdown, .lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 130px;
    z-index: 1400;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    /* Animation d'entrée */
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lang-dropdown { right: auto; left: 0; } /* Aligner à droite pour les langues */

@media (hover: hover) {
    .section-switcher:hover .section-dropdown,
    .lang-selector:hover .lang-dropdown {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }
}
/* Touch fallback généré par le JS */
.section-switcher.open .section-dropdown,
.lang-selector.open .lang-dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}


/* ============================================================
   SECTION SWITCHER SPECIFIC
   ============================================================ */
.section-trigger {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 8px; border-radius: 4px;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; cursor: pointer; border: none;
    transition: transform 0.2s, opacity 0.2s;
}

.section-trigger:hover { transform: scale(1.05); }

.label-agency { background: linear-gradient(130deg, var(--c1), var(--c2)); color: #fff; }
.label-lab    { background: var(--volt); color: black!important; }
.label-album  { background: #e8c97a!important; color: black!important; }

.section-dropdown a {
    padding: 8px 12px;
    text-decoration: none; color: #fff;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; transition: background 0.2s, padding-left 0.2s;
}
.section-dropdown a:hover { background: rgba(255,255,255,0.05); padding-left: 16px; }
.section-dropdown a.current { opacity: 1;  }
/* Items du section-dropdown */
.section-dropdown a {
    transition: opacity 1.3s ease-in-out, background 1.3s ease-in-out;
    pointer-events: auto;
    cursor: pointer;
    border-radius: 6px;
    margin-top: 5px;
}

/* Item actif : pleine opacité */
.section-dropdown a.current {
    border:2.6px solid white;
}

/* Hover : pleine opacité + couleur de la section */
.section-dropdown a.label-agency:hover  { opacity: 1; background: linear-gradient(130deg, var(--c1), var(--c2)); }
.section-dropdown a.label-lab:hover     { opacity: 1; background: var(--volt);   color: black; }
.section-dropdown a.label-album:hover   { opacity: 1; background: #e8c97a;  color: black; }

/* ============================================================
   LANG SELECTOR SPECIFIC
   ============================================================ */
.lang-trigger {
    padding: 4px 8px; border-radius: 4px;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    color: #fff; cursor: pointer; background: rgba(255,255,255,0.05);
    transition: background 0.2s, transform 0.2s;
}
.lang-trigger:hover { background: rgba(255,255,255,0.15); transform: translateY(-1px); }

.lang-dropdown a {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; text-decoration: none; color: #fff;
    font-size: 0.8rem; font-weight: 500; transition: background 0.2s;
}
.lang-dropdown a:hover { background: rgba(255,255,255,0.1); }
.lang-dropdown a.current { background: rgba(255,255,255,0.05); color: var(--c1); }
.lang-code {
    font-size: 0.65rem; font-weight: 700; background: rgba(255,255,255,0.1);
    padding: 2px 4px; border-radius: 3px;
}

/* ============================================================
   RESEAUX SOCIAUX & HOVER ELASTIQUE
   ============================================================ */
.social-icons {
    display: flex;
    align-items: center;
    gap: 13px;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s;
}
.social-icon:hover { transform: translateY(-4px) scale(1.15); filter: brightness(1.2); }

/* Couleurs sociales */
.social-wa    { background: #25d366; }
.social-insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-fb    { background: #1877f2; }
.social-x     { background: #000; border: 1px solid rgba(255,255,255,0.2); }
.social-li    { background: #0a66c2; }

/* ============================================================
   MENU MOBILE & BURGER BUTTON
   ============================================================ */
.burger-btn {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 4px; z-index: 1002;
}
.burger-line {
    width: 24px; height: 2px; background: #fff; border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Overlay sombre derrière le menu */
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px);
    z-index: 1000; opacity: 0; visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}
.menu-overlay.visible { opacity: 1; visibility: visible; }

/* Panneau du menu */
.mobile-menu {
    position: fixed; top: 0; right: 0;
    width: 320px; max-width: 100%; height: 100vh;
    background: var(--ink); border-left: 1px solid rgba(255,255,255,0.05);
    z-index: 1001; padding: 80px 30px 40px;
    display: flex; flex-direction: column; gap: 20px;
    overflow-y: auto;
    
    /* Animation fluide avec transform */
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
.mobile-menu.open { transform: translateX(0); }

.close-mobile {
    position: absolute; top: 20px; right: 20px;
    background: none; border: none; color: #fff; cursor: pointer;
    padding: 8px; transition: transform 0.3s;
}
.close-mobile:hover { transform: rotate(90deg); color: var(--c1); }

/* Accordéons Menu Mobile */
.burger-section {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px; margin-bottom: 10px;
}
.burger-section-toggle {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    background: none; border: none; padding: 10px 0;
    color: #fff; cursor: pointer;
}
.burger-section-label {
    padding: 4px 8px; border-radius: 4px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.burger-chevron { transition: transform 0.3s ease; color: rgba(255,255,255,0.5); }
.burger-section.active .burger-chevron { transform: rotate(180deg); color: #fff; }

.burger-section-links {
    display: none; flex-direction: column; gap: 12px;
    padding: 10px 0 10px 10px;
}
.burger-section.active .burger-section-links { display: flex; }

.burger-link {
    color: rgba(255,255,255,0.7); text-decoration: none;
    font-size: 1rem; transition: color 0.2s, transform 0.2s;
}
.burger-link:hover, .burger-link.active { color: #fff; transform: translateX(5px); }

/* Réseaux sociaux dans le burger */
.burger-socials {
    display: flex; gap: 12px; margin-top: auto; padding-top: 20px;
}

/* ============================================================
   RESPONSIVE MOBILE
   ============================================================ */
@media (max-width: 1024px) {
    /* On cache les H1 et les icônes sociales dans le header global sur mobile */
    .header-right .social-icons {
        display: none;
    }
    .burger-btn {
        display: flex;
    }
    /* On sort le h1 du flux central et on le place en dessous */
    .header-h1 {
        position: absolute;
        top: 100%; /* Placé exactement sous la ligne du header */
        left: 0;
        width: 100%;
        max-width: none;
        padding: 8px 15px;
        box-sizing: border-box;
        
        /* On reprend le style vitré du header principal */
        background: rgba(10, 10, 15, 0.85); 
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Si le header est absolu/transparent (comme sur tes pages album ou lab) */
    .absolute-header .header-h1 {
        background: #07080f;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: none;
    }
}
@media (max-width: 480px) {
    .site-header { padding: 0 1rem; }
}/* ============================================================
   MENU MOBILE & BURGER BUTTON
   ============================================================ */
.burger-btn {
    display: flex; /* CHANGÉ : flex au lieu de none pour être visible partout */
    flex-direction: column; 
    gap: 5px;
    background: none; 
    border: none; 
    cursor: pointer;
    padding: 4px; 
    z-index: 1002;
}

/* ... (conserve tes styles .burger-line, .menu-overlay, .mobile-menu) ... */

/* RÉSEAUX SOCIAUX DANS LE BURGER */
.burger-socials {
    display: flex !important; /* Force l'affichage */
    gap: 15px; 
    margin-top: auto; /* Pousse les icônes en bas du menu */
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    justify-content: center;
}

/* On s'assure que les icônes dans le burger ont une taille correcte */
.burger-socials .social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ============================================================
   RESPONSIVE (Modifié pour le burger desktop)
   ============================================================ */
@media (max-width: 1024px) {
    /* On cache les éléments qui ne servent plus sur petit écran */
    .header-right .social-icons {
        display: none !important;
    }
}

/* Si tu veux aussi cacher la navigation centrale sur Desktop 
   pour n'utiliser QUE le burger : */
@media (min-width: 1025px) {
    .nav-center {
        display: none !important;
    }
}