/* ===== DIGINORD FRONTEND - MAIN STYLES ===== */

/* Variables CSS - Palette Parfaite */
:root {
    /* Couleurs principales - Bleu professionnel */
    --primary-color: #1e40af;        /* Bleu royal profond */
    --primary-light: #3b82f6;        /* Bleu vif moderne */
    --primary-dark: #1e3a8a;         /* Bleu foncé élégant */
    
    /* Couleurs secondaires - Vert émeraude */
    --secondary-color: #059669;      /* Vert émeraude riche */
    --secondary-light: #10b981;      /* Vert vif */
    --secondary-dark: #047857;       /* Vert foncé */
    
    /* Couleurs d'accent - Orange doré */
    --accent-color: #f59e0b;         /* Orange doré */
    --accent-light: #fbbf24;         /* Orange clair */
    --accent-dark: #d97706;          /* Orange foncé */
    
    /* Couleurs de texte - Gris sophistiqué */
    --text-dark: #111827;            /* Noir charbon */
    --text-medium: #374151;          /* Gris foncé */
    --text-light: #6b7280;           /* Gris moyen */
    --text-muted: #9ca3af;           /* Gris clair */
    
    /* Couleurs de fond - Blancs et gris subtils */
    --bg-white: #ffffff;             /* Blanc pur */
    --bg-light: #f9fafb;             /* Gris très clair */
    --bg-subtle: #f3f4f6;            /* Gris subtil */
    
    /* Couleurs de bordure - Gris doux */
    --border-color: #e5e7eb;         /* Gris clair */
    --border-light: #f3f4f6;         /* Gris très clair */
    --border-dark: #d1d5db;          /* Gris moyen */
    
    /* Couleurs d'état - Feedback visuel */
    --success-color: #10b981;        /* Vert succès */
    --warning-color: #f59e0b;        /* Orange attention */
    --error-color: #ef4444;          /* Rouge erreur */
    --info-color: #3b82f6;           /* Bleu information */
    
    /* Ombres - Profondeur et élégance */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Dégradés - Effets modernes */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--secondary-color) 100%);
}

/* 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(--text-dark);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    min-height: 100vh;
}

/* Sections avec fond blanc et ombre subtile */
section, .section, .container, .content, main, 
.services, .projects, .about, .contact, .partnerships, .quote,
.services-detailed, .projects-grid, .testimonials-section,
.service-detail-section, .mission-vision-section, .team-section,
.quote-form-section, .quote-form-container, .quote-progress,
.ai-suggestions-panel, .form-step, .quote-summary {
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 1rem 0;
}

/* Cartes avec fond blanc et ombres élégantes */
.card, .service-card, .project-card, .testimonial-card,
.category-card, .mv-card, .team-member-card, .budget-option,
.timeline-option, .contact-option, .service-option {
    background: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover, .service-card:hover, .project-card:hover, .testimonial-card:hover,
.category-card:hover, .mv-card:hover, .team-member-card:hover, .budget-option:hover,
.timeline-option:hover, .contact-option:hover, .service-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

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

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

.btn-secondary {
    background: var(--secondary-color);
    color: var(--bg-white);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

/* Sections */
.section {
    padding: 5rem 0;
}

.section-sm { padding: 3rem 0; }
.section-lg { padding: 8rem 0; }

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-light { color: var(--text-light); }

/* Background utilities */
.bg-light { background: var(--bg-light); }
.bg-white { background: var(--bg-white); }
.bg-primary { background: var(--primary-color); }
.bg-secondary { background: var(--secondary-color); }

/* Spacing utilities */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Boutons - Design Parfait */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.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.6s ease;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--secondary-dark);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--accent-color) 100%);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--accent-dark);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--primary-color) 100%);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    box-shadow: none;
}

.btn-outline-light:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-success {
    background: var(--gradient-secondary);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

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

/* Tailles de boutons */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 16px;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .card {
        padding: 1.5rem;
    }
}
