/* style.css - Styles globaux Bourbon Access */

/* --- CONFIGURATION GENERALE --- */
:root {
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(15, 23, 42, 0.95); /* Slate 900 avec transparence */
    --access-bg: #0F172A; /* Slate 900 - Base de consistency */
    --access-text: #F8FAFC; /* Slate 50 */
    --access-primary: #8B5CF6; /* Violet 500 - Main Brand Color */
    --access-secondary: #EC4899; /* Pink 500 - Content Factory program */
    --access-accent: #06B6D4; /* Cyan 500 - Tech/Manager program */
    --google-blue: #4285F4; /* Google Partnership trust */
}

html {
    scroll-behavior: smooth;
}

/* --- NAVIGATION (Glassmorphism) --- */
.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

/* Méga Menu (Logique JavaScript) */
.mega-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
    position: absolute;
    max-height: 80vh;
    overflow-y: auto;
}

.mega-menu.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* --- UTILITAIRES VISUELS --- */

/* Dégradé Standard (Google) */
.gradient-text {
    background: linear-gradient(to right, #4285F4, #34A853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dégradé de Marque (Access Primary > Access Secondary) */
.text-gradient-brand {
    background: linear-gradient(to right, var(--access-primary), var(--access-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Motif de fond (Hero Standard) */
.hero-pattern {
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(139, 92, 246, 0.3) 1px, transparent 1px),
        linear-gradient(45deg, transparent 48%, rgba(139, 92, 246, 0.15) 49%, rgba(139, 92, 246, 0.15) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(236, 72, 153, 0.1) 49%, rgba(236, 72, 153, 0.1) 51%, transparent 52%);
    background-size: 40px 40px, 60px 60px, 60px 60px;
    background-position: 0 0, 0 0, 30px 30px;
}

/* Motif de fond (Brand Center - Grille) */
.grid-pattern {
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(139, 92, 246, 0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
}

/* --- MICRO-INTERACTIONS --- */

/* Effet de clic sur les cartes de couleur */
.color-card:active {
    transform: scale(0.98);
}

/* Effet de brillance au survol */
.hover-glow {
    transition: box-shadow 0.3s ease;
}
.hover-glow:hover {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

/* --- ANIMATIONS --- */

/* Barre de chargement (Page Accueil - Section Migration) */
@keyframes loading {
    0% { width: 0%; transform: translateX(-100%); }
    50% { width: 50%; }
    100% { width: 100%; transform: translateX(0); }
}

.animate-loading {
    animation: loading 2s ease-in-out infinite;
}

/* --- UTILITAIRES FONCTIONNELS --- */

/* Bannière Cookies (Z-Index élevé pour passer au-dessus du Header) */
#cookie-banner {
    z-index: 100 !important;
}
/* --- AJOUTER À LA FIN DE STYLE.CSS --- */

/* Animation de rotation (Pour l'orbite Time Zone) */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-orbit {
    animation: spin-slow 10s linear infinite;
}

/* --- BOURBON ACCESS UTILITIES --- */

/* Glass panel effect for Bourbon Access */
.glass-panel {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Body styles for Bourbon Access theme */
body {
    background-color: var(--access-bg);
    color: var(--access-text);
}

/* Logo component styles */
.bourbon-logo {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.bourbon-logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}


.bourbon-logo .font-syne,
.font-syne {
    font-family: 'Syne', sans-serif;
}