/* Variables CSS - Palette MondeRH professionnelle sans jaune */
:root {
    /* Couleurs principales du logo MondeRH */
    --primary-color: #1e3a8a;        /* Bleu foncé principal */
    --secondary-color: #3b82f6;      /* Bleu moyen */
    --accent-color: #ffffff;         /* Blanc accent */
    --success-color: #059669;        /* Vert foncé professionnel */
    --warning-color: #ea580c;        /* Orange foncé professionnel */
    --danger-color: #ffffff;         /* Blanc */
    --info-color: #0284c7;           /* Bleu info */
    --light-color: #f8fafc;          /* Gris très clair */
    --dark-color: #0f172a;           /* Bleu-gris très foncé */
    
    /* Dégradés basés sur la palette du logo */
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #0284c7 100%);
    --gradient-accent: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --gradient-warning: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    --gradient-success: linear-gradient(135deg, #059669 0%, #10b981 100%);
    
    /* Ombres et effets */
    --shadow-sm: 0 0.125rem 0.25rem rgba(15, 23, 42, 0.075);
    --shadow: 0 0.5rem 1rem rgba(15, 23, 42, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(15, 23, 42, 0.175);
    
    /* Bordures */
    --border-radius: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 1rem;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 700;
    line-height: 1.2;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

/* Navigation améliorée */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.brand-logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-brand:hover .brand-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.footer-logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-logo {
    height: 120px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
}

.auth-logo-img {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.auth-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    transition: all 0.3s ease;
}

/* Animation du menu hamburger */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(90deg);
}

/* Menu mobile amélioré */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 1rem;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .nav-item {
        border-radius: 0.5rem;
        transition: all 0.3s ease;
    }
    
    .nav-item:hover {
        background: rgba(13, 110, 253, 0.1);
    }
    
    .nav-link {
        border-radius: 0.5rem;
        padding: 0.75rem 1rem;
        transition: all 0.3s ease;
    }
    
    .dropdown-menu {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
    }
    
    .dropdown-item {
        border-radius: 0.25rem;
        margin: 0.25rem;
        transition: all 0.3s ease;
    }
    
    .dropdown-item:hover {
        background: rgba(13, 110, 253, 0.1);
        transform: translateX(5px);
    }
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(13, 110, 253, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    padding: 0.75rem 1.5rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-warning {
    background: var(--gradient-warning);
    color: var(--dark-color);
    border: none;
}

.btn-warning:hover {
    background: var(--gradient-warning);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Hero Section - Inspiré d'AfricSearch */
.hero-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-stats {
    animation: slideInLeft 1s ease-out 0.4s both;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-xl);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Hero Visual */
.hero-visual {
    animation: slideInRight 1s ease-out 0.6s both;
}

.hero-image-container {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-hero-icon {
    position: relative;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation: floatCard 6s ease-in-out infinite;
}

.card-2 {
    top: 20%;
    right: 15%;
    animation: floatCard 6s ease-in-out infinite 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation: floatCard 6s ease-in-out infinite 4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Solutions Section */
.solution-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(13, 110, 253, 0.03) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover .card-bg-pattern {
    opacity: 1;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.solution-card:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Growth Section */
.growth-item {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
}

.growth-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.growth-icon {
    transition: all 0.3s ease;
}

.growth-item:hover .growth-icon {
    transform: scale(1.1);
}

/* Team Section */
.team-card {
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: var(--border-radius-xl);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.team-card:hover .photo-placeholder {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Numbers Section */
.number-card {
    transition: all 0.3s ease;
    padding: 2rem 1rem;
    border-radius: var(--border-radius-xl);
}

.number-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Counter Animation */
.counter {
    transition: all 0.3s ease;
}

/* Contact Form */
.form-control, .form-select {
    border-radius: var(--border-radius-lg);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-control-lg, .form-select-lg {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--light-color);
}

/* Footer amélioré */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-brand h5 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.footer-stats .stat-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    transition: all 0.3s ease;
}

.footer-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.contact-item {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: var(--border-radius-lg);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.social-links .social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links .social-link:hover {
    background: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.footer-links a {
    transition: all 0.3s ease;
    color: white !important;
}

.footer-links a:hover {
    color: var(--accent-color) !important;
    text-decoration: none;
}

/* Liens des services dans le footer */
.footer ul.list-unstyled a {
    color: white !important;
    transition: all 0.3s ease;
}

.footer ul.list-unstyled a:hover {
    color: var(--accent-color) !important;
    text-decoration: none;
    transform: translateX(5px);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
}

.chat-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    margin-bottom: 1rem;
    max-width: 80%;
}

.bot-message {
    margin-right: auto;
}

.user-message {
    margin-left: auto;
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.9rem;
}

.bot-message .message-content {
    background: white;
    border: 1px solid #e9ecef;
}

.user-message .message-content {
    background: var(--primary-color);
    color: white;
}

.message-time {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
    display: block;
}

.chat-input {
    padding: 1rem;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius-lg);
    padding: 0.5rem 1rem;
}

.chat-input button {
    border-radius: var(--border-radius-lg);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image-container {
        height: 300px;
        margin-top: 2rem;
    }
    
    .floating-card {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .floating-card i {
        font-size: 1.2rem;
    }
    
    .chat-container {
        width: 300px;
        height: 400px;
        right: -25px;
    }
    
    .growth-item h5 {
        font-size: 0.9rem;
    }
    
    .display-2 {
        font-size: 3rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .brand-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats .row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .chat-container {
        width: 280px;
        right: -40px;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .footer-stats .row {
        flex-direction: column;
    }
}

/* Animations générales */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Améliorations pour les cartes et sections */
.card {
    border: none;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Stats améliorées */
.stats-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Corrections pour l'administration et affichage général */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    padding-bottom: 0; /* Retirer le padding car on utilise flexbox */
}

/* Assurer que le contenu principal prend l'espace disponible */
main, .container-fluid {
    flex: 1;
}

/* Corrections pour les pages avec sidebar */
.admin-layout {
    min-height: calc(100vh - 300px); /* Hauteur minimum pour pousser le footer */
    flex: 1;
}

.admin-layout main {
    margin-bottom: 0; /* Pas de marge, on gère avec le min-height */
}

/* Responsive pour admin */
@media (max-width: 768px) {
    .admin-layout .sidebar {
        position: relative;
        height: auto;
        padding: 0;
    }
    
    .admin-layout main {
        margin-left: 0 !important;
        margin-bottom: 60px;
    }
}

/* Amélioration footer pour éviter les coupures */
.footer {
    margin-top: auto !important;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

/* Force le footer à être toujours visible */
body {
    min-height: 100vh;
}

/* Correction pour les containers fluides */
.container-fluid {
    padding-bottom: 2rem;
} 

/* ===== NOUVEAUX STYLES POUR LA PAGE D'ACCUEIL AMÉLIORÉE ===== */

/* Hero Section Améliorée */
.hero-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 15s linear infinite;
}

.hero-badge {
    animation: slideInDown 1s ease-out;
}

.hero-title {
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-subtitle {
    animation: slideInLeft 1s ease-out 0.4s both;
}

.gradient-text {
    background: linear-gradient(45deg, #ffffff, #f8fafc, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.6s both;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 1.5rem;
    opacity: 0.8;
}

.hero-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn::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.5s;
}

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

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Floating Cards Améliorées */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.card-content {
    text-align: center;
    font-weight: 600;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.icon-glow {
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.icon-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow 3s ease-in-out infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    color: white;
    transform: translateY(5px);
}

/* Section Headers Améliorés */
.section-header {
    position: relative;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-badge-light {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

/* Background Patterns */
.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.growth-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
}

.numbers-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite reverse;
}

.newsletter-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 40% 60%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Solution Cards Améliorées */
.solution-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.solution-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.1), transparent);
    transition: left 0.5s;
}

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

/* Team Cards Améliorées */
.team-card {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.team-photo {
    position: relative;
    display: inline-block;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.team-card:hover .photo-placeholder {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    opacity: 1;
}

.social-link {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Number Cards Améliorées */
.number-card {
    transition: all 0.3s ease;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.number-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.number-icon {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.number-card:hover .number-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Contact Form Amélioré */
.contact-card {
    transition: all 0.3s ease;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn::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.5s;
}

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

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Newsletter Form Amélioré */
.newsletter-form {
    transition: all 0.3s ease;
}

.newsletter-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.newsletter-btn::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.5s;
}

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

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes sparkle {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

@keyframes glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design - Mobile First */
@media (max-width: 1200px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .floating-card {
        transform: scale(0.8);
    }
}

@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .brand-logo {
        height: 35px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .floating-card {
        transform: scale(0.7);
    }
    
    .main-hero-icon {
        transform: scale(0.9);
    }
}

@media (max-width: 768px) {
    /* Navigation mobile */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .brand-logo {
        height: 30px;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: transparent;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    /* Hero section mobile */
    .hero-section {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .main-hero-icon {
        transform: scale(0.8);
        margin-top: 2rem;
    }
    
    .hero-logo {
        height: 80px;
    }
    
    /* Boutons mobile */
    .hero-btn {
        width: 100%;
        margin-bottom: 1rem;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Statistiques mobile */
    .hero-stats {
        margin-bottom: 2rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
    
    /* Sections générales */
    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Cards et composants */
    .number-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-card {
        margin: 1rem 0;
    }
    
    /* Footer mobile */
    .footer {
        text-align: center;
    }
    
    .footer-brand {
        margin-bottom: 2rem;
    }
    
    .footer-logo {
        height: 40px;
        margin: 0 auto 1rem;
    }
    
    .footer-stats {
        margin-bottom: 2rem;
    }
    
    /* Auth forms mobile */
    .auth-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 1rem;
    }
    
    .auth-logo-img {
        height: 60px;
    }
    
    .auth-hero {
        padding: 2rem 0;
    }
    
    .auth-content h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .auth-features {
        display: none;
    }
    
    /* Formulaires responsifs */
    .form-control-lg {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .form-label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Messages d'erreur mobile */
    .alert {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
    }
    
    .invalid-feedback {
        font-size: 0.85rem;
        margin-top: 0.25rem;
    }
}

@media (max-width: 576px) {
    /* Très petits écrans */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-logo {
        height: 60px;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .brand-logo {
        height: 25px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Auth forms très petits écrans */
    .auth-card {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .auth-logo-img {
        height: 50px;
    }
    
    /* Footer très petits écrans */
    .footer {
        padding: 2rem 0;
    }
    
    .footer-logo {
        height: 35px;
    }
}

/* Orientation landscape sur mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .main-hero-icon {
        transform: scale(0.6);
    }
    
    .hero-logo {
        height: 60px;
    }
}

/* Tablettes en mode portrait */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .brand-logo {
        height: 38px;
    }
    
    .floating-card {
        transform: scale(0.75);
    }
    
    .main-hero-icon {
        transform: scale(0.85);
    }
    
    .hero-logo {
        height: 100px;
    }
    
    .auth-card {
        padding: 2.5rem;
    }
    
    .auth-logo-img {
        height: 70px;
    }
}

/* Tablettes en mode landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        padding: 2.5rem 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .floating-card {
        transform: scale(0.7);
    }
    
    .main-hero-icon {
        transform: scale(0.8);
    }
    
    .hero-logo {
        height: 90px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Amélioration de la lisibilité sur mobile */
@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    h1, .h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h3, .h3 {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    h4, .h4 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    h5, .h5 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    h6, .h6 {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .lead {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    p {
        margin-bottom: 1rem;
    }
    
    /* Espacement mobile */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .my-5 {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }
    
    .pt-5 {
        padding-top: 3rem !important;
    }
    
    .pb-5 {
        padding-bottom: 3rem !important;
    }
    
    /* Cards et sections */
    .card {
        margin-bottom: 1rem;
        border-radius: 0.75rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    /* Boutons et interactions */
    .btn {
        border-radius: 0.5rem;
        font-weight: 500;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    /* Navigation mobile améliorée */
    .navbar-nav .nav-link {
        font-size: 1rem;
        font-weight: 500;
    }
    
    .dropdown-toggle::after {
        margin-left: 0.5rem;
    }
    
    /* Footer mobile */
    .footer {
        font-size: 0.9rem;
    }
    
    .footer h6 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer ul li {
        margin-bottom: 0.5rem;
    }
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
} 