/* ========================================
   SERVME - LAYOUT DESKTOP HEADER
   Header global pour toutes les pages - DESKTOP uniquement
   Extrait de global-header.css (lignes 1-181, hors @media mobile)
   ======================================== */

/* ========================================
   SECTION 1 : RÈGLES DE BASE
   Header initial, structure, logo, navigation
   ======================================== */

/* Header - Structure de base */
.landing-header,
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    margin-bottom: 0;
}

/* Logo - Tous les headers (styles de base) */
.landing-header .logo,
.landing-header .landing-logo,
header .logo {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    font-family: var(--font-family);
    text-decoration: none;
    line-height: 1.2;
    transition: transform 0.2s ease;
}

.landing-header .logo:hover,
.landing-header .landing-logo:hover,
header .logo:hover {
    transform: scale(1.05);
}

/* Structure flex pour logo + sous-titre */
.landing-logo > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-left: 8px !important;
}

/* Sous-titre aligné sous le titre principal */
.landing-logo > div > span:first-child {
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.landing-logo > div > span:last-child {
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-top: 2px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Logo SVG */
.landing-logo > svg {
    flex-shrink: 0 !important;
    width: 40px !important;
    height: 40px !important;
}

/* Navigation CTA - Structure de base */
.landing-header .landing-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* ========================================
   SECTION 2 : RÈGLES "HEADER FIXE"
   État scrollé, blur, transitions
   Ces règles ÉCRASENT les règles de base au scroll
   ======================================== */

/* Header - État fixe ultra-transparent */
/* Note: Ces styles écrasent les règles de base définies plus haut */
.landing-header,
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    box-shadow: none;
}

/* Header scrolled - Ultra-fin avec blur effect */
.landing-header.scrolled,
header.scrolled {
    /* Version moderne : glassmorphism ultra premium */
    padding: 12px 40px;
    background: rgba(230, 57, 92, 0.86);
    backdrop-filter: blur(35px) saturate(180%);
    -webkit-backdrop-filter: blur(35px) saturate(180%);
    
    /* Bordure et ombre élégantes */
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    
    /* Transition smooth */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo - État scrollé (écrase styles de base) */
.landing-header.scrolled .logo,
.landing-header.scrolled .landing-logo,
header.scrolled .logo {
    font-size: 1.2rem;  /* Écrase font-size: 28px au scroll */
    font-weight: 500;  /* Écrase font-weight: 800 au scroll */
    letter-spacing: -0.02em;
}

/* Navigation et boutons - État scrollé */
.landing-header.scrolled nav a,
header.scrolled nav a,
.landing-header.scrolled nav button,
header.scrolled nav button,
.landing-header.scrolled .landing-cta a,
.landing-header.scrolled .landing-cta button {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* Boutons header - État scrollé */
.landing-header.scrolled .btn,
header.scrolled .btn,
.landing-header.scrolled button,
header.scrolled button,
.landing-header.scrolled .landing-btn {
    padding: 6px 16px;  /* Écrase padding: 12px 24px au scroll */
    font-size: 0.9rem;  /* Écrase font-size: 16px au scroll */
}

