/* 
 * NetworkIT Main CSS - Version Consolidée
 * Combine tous les styles essentiels en un seul fichier optimisé
 */

/* ========================================
   1. VARIABLES CSS GLOBALES
   ======================================== */
:root {
    /* Couleurs principales NetworkIT */
    --color-primary: #00B4D8;           /* Océan Quantique */
    --color-primary-dark: #0077BE;      /* Océan Profond */
    --color-primary-light: #00CE8A;     /* Émeraude Quantique */
    --color-secondary: #0a0a0a;         /* Void Quantique */
    --color-tech: #00CE8A;              /* Émeraude Tech */
    --color-innovation: #00B4D8;        /* Océan Innovation */
    
    /* Textes */
    --color-text: #1a1a1a;
    --color-text-secondary: #4a5568;
    --color-text-light: #718096;
    
    /* Surfaces */
    --color-background: #ffffff;
    --color-surface: #f7fafc;
    --color-border: #e2e8f0;
    
    /* Espacements */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 90px; /* Augmenté pour le logo */
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ========================================
   2. RESET ET BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   3. RÈGLES GLOBALES POUR BOUTONS
   ======================================== */
   
/* Force le texte blanc sur tous les boutons avec fond bleu au survol */
.btn:hover,
.button:hover,
[class*="btn-"]:hover,
[class*="button-"]:hover {
    color: white !important;
}

/* Spécifiquement pour les boutons qui deviennent bleus */
a:hover[style*="background: #00B4D8"],
a:hover[style*="background-color: #00B4D8"],
a:hover[style*="background: #0077BE"],
a:hover[style*="background-color: #0077BE"],
button:hover[style*="background: #00B4D8"],
button:hover[style*="background-color: #00B4D8"],
button:hover[style*="background: #0077BE"],
button:hover[style*="background-color: #0077BE"] {
    color: white !important;
}

/* ========================================
   4. LIQUID GLASS HEADER
   ======================================== */
.liquid-glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.liquid-glass-container {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.liquid-glass-logo {
    height: 70px;
    display: flex;
    align-items: center;
    margin-right: 50px;
}

/* .liquid-glass-logo svg - DÉSACTIVÉ : Limite le logo à 200px !
.liquid-glass-logo svg,
.liquid-glass-logo img {
    height: 100%;
    width: auto;
    max-width: 200px;
}
*/

/* Navigation */
.liquid-glass-nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.liquid-glass-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.liquid-glass-item {
    position: relative;
}

.liquid-glass-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.liquid-glass-link:hover,
.liquid-glass-link.active {
    color: var(--color-primary);
}

/* Dropdown */
.liquid-glass-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.liquid-glass-item:hover .liquid-glass-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.liquid-glass-dropdown-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.liquid-glass-column-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.liquid-glass-dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    margin: 0 -1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.liquid-glass-dropdown-link:hover {
    background: rgba(0, 180, 216, 0.1);
}

.liquid-glass-dropdown-link strong {
    display: block;
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.liquid-glass-dropdown-link span {
    display: block;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

/* CTA Button */
.liquid-glass-cta {
    display: flex;
    gap: 1rem;
}

.liquid-glass-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.liquid-glass-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 180, 216, 0.3);
    color: white !important;
}

/* Mobile */
.liquid-glass-mobile-button {
    display: none;
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .liquid-glass-nav,
    .liquid-glass-cta {
        display: none;
    }
    
    .liquid-glass-mobile-button {
        display: flex;
    }
    
    .liquid-glass-header {
        height: 80px;
    }
    
    .liquid-glass-logo {
        height: 50px;
        margin-right: 0;
    }
}

/* ========================================
   4. MAIN CONTENT
   ======================================== */
main {
    /* padding-top: var(--header-height); DÉSACTIVÉ - Géré par liquid-glass-menu.css */
    min-height: 100vh;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   5. UTILITAIRES
   ======================================== */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }

/* ========================================
   6. COMPOSANTS SPÉCIFIQUES
   ======================================== */

/* Hero Section */
.hero {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
}

/* Cards */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
    color: white !important;
}

/* Footer */
.footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: var(--space-3xl);
}