/* Import de tous les fichiers CSS */
@import url('css/variables.css');
@import url('css/reset.css');
@import url('css/header.css');
@import url('css/footer.css');
@import url('css/solutions.css');

@import url('css/components.css');
@import url('css/responsive.css');

/* Animations globales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animation des engrenages */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.gear {
    position: absolute;
    border: 4px solid var(--white);
    border-radius: 50%;
    animation: rotate 8s linear infinite;
}

/* Styles complets pour les engrenages */
.gear-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 20%;
    animation-duration: 8s;
}

.gear-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 40%;
    animation-duration: 5.3s;
    animation-direction: reverse; /* Rotation inverse */
}

.gear-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 15%;
    animation-duration: 10s;
}

/* À ajouter dans styles.css */
:root {
    --background-color: #f8fafc;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --primary-color: #667eea;
    --secondary-color: #f59e0b;
}

/* Structure de carte réutilisable - À ajouter dans styles.css */
.card-base {
    background: var(--white) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    overflow: visible !important;
}

.card-base:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

/* Grille 3 colonnes réutilisable */
.grid-3-cols {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 2rem !important;
    align-items: start !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Icônes flottantes réutilisables */
.floating-icon {
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 2rem !important;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 1 !important;
}

.floating-icon i {
    font-size: 2rem !important;
    color: white !important;
}

.card-base:hover .floating-icon {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4) !important;
}

/* Section générique - À ajouter dans styles.css */
.section-standard {
    padding: 5rem 0 !important;
    background: var(--background-color) !important;
}

.section-header-center {
    text-align: center !important;
    margin-bottom: 4rem !important;
    padding: 0 2rem !important;
}

.section-title-large {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

.section-subtitle-center {
    font-size: 1.1rem !important;
    color: var(--text-light) !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    line-height: 1.5 !important;
}


/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient);
    margin-top: 80px;
    padding: 150px 0 100px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s forwards;
}

/* Hero Background et Animations */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
}

/* Assurer que le contenu hero est au premier plan */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    color: var(--white);
}

.team-section {
    padding: 5rem 0 !important; /* Plus d'espace pour l'animation */
    overflow: visible !important;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 2rem !important;
    align-items: start !important;
    margin-top: 3rem !important;
}

/* Blocs étapes diagnostic - ESPACE SUPPLÉMENTAIRE POUR L'ANIMATION */
.team-member {
    padding: 2.5rem 1.5rem 2rem !important; /* Plus d'espace en haut */
    min-height: 420px !important;
    background: var(--white) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important; /* Permet à l'animation de dépasser */
}

.team-member:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

/* Structure diagnostic */
.member-image {
    margin-bottom: 0 !important; /* Réduction pour compenser l'espace icône */
    height: auto !important;
    background: none !important;
    overflow: visible !important;
}

.member-info {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    flex-grow: 1;
}

/* Textes diagnostic */
.member-name {
    font-size: 1.3rem !important;
    margin-bottom: 0.8rem !important;
    text-align: center !important;
    color: var(--text-dark) !important;
    font-weight: 700 !important;
}

.member-title {
    font-size: 1rem !important;
    margin-bottom: 1.2rem !important;
    text-align: center !important;
    color: #667eea !important;
    font-weight: 600 !important;
}

.member-bio p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    text-align: center !important;
    color: var(--text-light) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #FCD34D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



/* ================================================= */
/*              NOTIFICATIONS VISIBLES               */
/* ================================================= */

/* Conteneur de notification */
.notification {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    min-width: 300px !important;
    max-width: 400px !important;
    padding: 1rem 1.5rem !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
    transform: translateX(100%) !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important; /* FORCE L'OPACITÉ */
    background: white !important; /* FOND BLANC PAR DÉFAUT */
    color: #333 !important; /* TEXTE FONCÉ PAR DÉFAUT */
    border-left: 4px solid #4C8BF5 !important;
}

/* Notification visible */
.notification.show {
    transform: translateX(0) !important;
    opacity: 1 !important;
}

/* Types de notifications */
.notification.success {
    background: #f0f9ff !important; /* FOND BLEU CLAIR */
    color: #1e40af !important; /* TEXTE BLEU FONCÉ */
    border-left-color: #10b981 !important; /* BORDURE VERTE */
    border: 1px solid #10b981 !important;
}

.notification.error {
    background: #fef2f2 !important; /* FOND ROUGE CLAIR */
    color: #dc2626 !important; /* TEXTE ROUGE FONCÉ */
    border-left-color: #ef4444 !important; /* BORDURE ROUGE */
    border: 1px solid #ef4444 !important;
}

.notification.warning {
    background: #fffbeb !important; /* FOND ORANGE CLAIR */
    color: #d97706 !important; /* TEXTE ORANGE FONCÉ */
    border-left-color: #f59e0b !important; /* BORDURE ORANGE */
    border: 1px solid #f59e0b !important;
}

.notification.info {
    background: #f0f9ff !important; /* FOND BLEU CLAIR */
    color: #1e40af !important; /* TEXTE BLEU FONCÉ */
    border-left-color: #3b82f6 !important; /* BORDURE BLEUE */
    border: 1px solid #3b82f6 !important;
}

/* Icône de fermeture */
.notification .close-btn {
    position: absolute !important;
    top: 8px !important;
    right: 10px !important;
    background: none !important;
    border: none !important;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    color: inherit !important;
    opacity: 0.7 !important;
    padding: 0 !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.notification .close-btn:hover {
    opacity: 1 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .notification {
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
        min-width: auto !important;
        max-width: none !important;
        transform: translateY(-100%) !important;
    }
    
    .notification.show {
        transform: translateY(0) !important;
    }
}