/* 
 * CSS Mobile Responsive pour AFRI-VOLAILLES
 * Optimisation spéciale pour smartphones
 */

/* Variables CSS pour cohérence */
:root {
    --primary-green: #2c5530;
    --secondary-green: #4a7c59;
    --accent-orange: #f39c12;
    --text-white: #ffffff;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --border-radius: 12px;
}

/* Base mobile-first */
* {
    box-sizing: border-box;
}

body {
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container responsive */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* ========================================
   SECTION HERO - THÈME MODERNE SOMBRE
======================================== */

.hero-section {
    padding: 2rem 0 !important;
    min-height: auto !important;
    margin: 2rem 0;
}

.hero-card {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
    pointer-events: none;
}

.hero-section .card-body {
    padding: 3rem 2rem !important;
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem !important;
    margin-bottom: 1.5rem !important;
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0,0,0,0.4);
    font-weight: 700 !important;
}

.hero-section .hero-icon {
    color: #f39c12 !important;
    font-size: 3.5rem !important;
    animation: heroIconFloat 3s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@keyframes heroIconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-section .lead {
    font-size: 1.3rem !important;
    margin-bottom: 2rem !important;
    color: #ecf0f1 !important;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-section p {
    color: #bdc3c7 !important;
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    margin-bottom: 2rem !important;
    opacity: 0.9;
}

/* Statistiques hero - Style moderne */
.hero-section .row.text-center {
    margin: 2rem 0 !important;
    position: relative;
    z-index: 2;
}

.hero-section .row.text-center .col-md-4 {
    margin-bottom: 1.5rem;
}

.hero-section .col-md-4 {
    position: relative;
}

.hero-section .col-md-4::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: -1;
}

.hero-section h4 {
    font-size: 2rem !important;
    color: #f39c12 !important;
    margin-bottom: 0.75rem !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.hero-section small {
    color: #ecf0f1 !important;
    font-size: 1rem !important;
    display: block;
    margin-top: 0.5rem;
    font-weight: 500;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Conteneur des boutons hero */
.hero-buttons-container {
    position: relative;
    z-index: 2;
    margin-top: 2.5rem !important;
}

/* Responsive pour la section hero */
@media (max-width: 768px) {
    .hero-section .card-body {
        padding: 2rem 1rem !important;
    }

    .hero-section h1 {
        font-size: 2.2rem !important;
    }

    .hero-section .hero-icon {
        font-size: 2.5rem !important;
    }

    .hero-section .lead {
        font-size: 1.1rem !important;
    }

    .hero-section p {
        font-size: 1rem !important;
    }

    .hero-section h4 {
        font-size: 1.6rem !important;
    }

    .hero-section small {
        font-size: 0.9rem !important;
    }

    .hero-section .col-md-4::before {
        width: 90%;
        height: 90%;
    }
}

@media (max-width: 576px) {
    .hero-section .card-body {
        padding: 1.5rem 1rem !important;
    }

    .hero-section h1 {
        font-size: 1.8rem !important;
    }

    .hero-section .hero-icon {
        font-size: 2rem !important;
    }

    .hero-section .lead {
        font-size: 1rem !important;
    }

    .hero-section p {
        font-size: 0.95rem !important;
    }

    .hero-section h4 {
        font-size: 1.4rem !important;
    }
}

/* Cards statistiques principales - Mobile */
.stats-section {
    margin: 2rem 0;
}

.stats-card, 
.card.bg-success, 
.card.bg-info, 
.card.bg-warning {
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-medium) !important;
    margin-bottom: 1rem !important;
    min-height: 140px;
}

.stats-card .card-body,
.card.bg-success .card-body,
.card.bg-info .card-body,
.card.bg-warning .card-body {
    padding: 1.5rem 1rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stats-card h3,
.card.bg-success h3,
.card.bg-info h3,
.card.bg-warning h3 {
    font-size: 1.8rem !important;
    margin: 0.5rem 0 !important;
    color: var(--text-white) !important;
    font-weight: 700;
}

.stats-card p,
.card.bg-success p,
.card.bg-info p,
.card.bg-warning p {
    color: var(--text-white) !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
    text-align: center;
    font-weight: 500;
}

.stats-card i,
.card.bg-success i,
.card.bg-info i,
.card.bg-warning i {
    color: var(--text-white) !important;
    margin-bottom: 0.75rem !important;
    font-size: 2rem !important;
}

/* Forcer le texte blanc sur toutes les cards colorées */
.card.bg-primary *,
.card.bg-success *,
.card.bg-info *,
.card.bg-warning *,
.card.bg-danger *,
.stats-card * {
    color: var(--text-white) !important;
}

/* Boutons - Mobile optimisé */
.btn {
    border-radius: 8px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    border: none !important;
    box-shadow: var(--shadow-light) !important;
    transition: all 0.3s ease !important;
}

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

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

/* Boutons spécifiques de la section Hero */
.hero-btn-primary {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    color: #ffffff !important;
    border: 2px solid transparent !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4) !important;
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6) !important;
}

.hero-btn-secondary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
    color: #ffffff !important;
    border: 2px solid transparent !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4) !important;
}

.hero-btn-secondary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f4e79 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6) !important;
}

.hero-btn-tertiary {
    background: transparent !important;
    color: #f39c12 !important;
    border: 2px solid #f39c12 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.2) !important;
}

.hero-btn-tertiary:hover {
    background: #f39c12 !important;
    color: #ffffff !important;
    border: 2px solid #f39c12 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

/* Amélioration des icônes dans les boutons hero */
.hero-btn-primary i,
.hero-btn-secondary i,
.hero-btn-tertiary i {
    font-size: 1.1em !important;
    margin-right: 0.5rem !important;
}

/* Animation spéciale pour les boutons hero */
@keyframes heroButtonPulse {
    0% { box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(243, 156, 18, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4); }
}

.hero-btn-primary {
    animation: heroButtonPulse 2s infinite;
}

/* Container des boutons hero */
.hero-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem !important;
}

/* Responsive pour les boutons hero */
@media (max-width: 768px) {
    .hero-buttons-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-btn-primary,
    .hero-btn-secondary,
    .hero-btn-tertiary {
        width: 100% !important;
        max-width: 300px;
        margin: 0 !important;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }

    .hero-section .d-flex {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .hero-section .gap-3 {
        gap: 0.75rem !important;
    }
}

@media (max-width: 576px) {
    .hero-btn-primary,
    .hero-btn-secondary,
    .hero-btn-tertiary {
        padding: 0.875rem 1.25rem !important;
        font-size: 0.95rem !important;
        max-width: 280px;
    }

    .hero-buttons-container {
        gap: 0.5rem;
    }
}

/* Navigation mobile */
.navbar {
    padding: 0.75rem 0 !important;
    box-shadow: var(--shadow-light) !important;
}

.navbar-brand {
    font-size: 1.3rem !important;
}

.navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
}

/* Cards générales - Mobile */
.card {
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-light) !important;
    border: none !important;
    margin-bottom: 1.5rem !important;
}

.card-header {
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
    padding: 1rem 1.5rem !important;
    font-weight: 600 !important;
}

.card-body {
    padding: 1.5rem !important;
}

/* Grille responsive améliorée */
@media (max-width: 768px) {
    .col-md-3,
    .col-md-4,
    .col-md-6 {
        margin-bottom: 1rem;
    }
    
    /* Hero section mobile */
    .hero-section h1 {
        font-size: 1.75rem !important;
    }
    
    .hero-section .lead {
        font-size: 1rem !important;
    }
    
    .hero-section p {
        font-size: 0.95rem !important;
    }
    
    /* Stats cards mobile */
    .stats-card h3,
    .card.bg-success h3,
    .card.bg-info h3,
    .card.bg-warning h3 {
        font-size: 1.5rem !important;
    }
    
    .stats-card i,
    .card.bg-success i,
    .card.bg-info i,
    .card.bg-warning i {
        font-size: 1.75rem !important;
    }
    
    /* Boutons mobile */
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-group .btn {
        width: auto;
    }
    
    /* Espacement mobile */
    .mb-4 {
        margin-bottom: 2rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    /* Très petits écrans */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem !important;
    }
    
    .hero-section .card-body {
        padding: 1.5rem 0.75rem !important;
    }
    
    .stats-card .card-body,
    .card.bg-success .card-body,
    .card.bg-info .card-body,
    .card.bg-warning .card-body {
        padding: 1rem 0.75rem !important;
    }
    
    .btn {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
    }
}

/* Améliorations tactiles */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
}

/* Optimisations pour les écrans haute densité */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section h1,
    .stats-card h3,
    .card.bg-success h3,
    .card.bg-info h3,
    .card.bg-warning h3 {
        text-rendering: optimizeLegibility;
    }
}

/* Animation d'entrée pour mobile */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Amélioration de la lisibilité */
.text-white,
.text-white * {
    color: var(--text-white) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Correction spécifique pour les statistiques */
.stats-section .card p,
.stats-section .card small,
.hero-section small {
    color: var(--text-white) !important;
    opacity: 0.95;
    font-weight: 500;
}

/* Force le texte blanc sur TOUTES les cards colorées */
.card.bg-primary *,
.card.bg-success *,
.card.bg-info *,
.card.bg-warning *,
.card.bg-danger *,
.card.bg-dark *,
.stats-card *,
.hero-section *,
.card[class*="bg-"] * {
    color: var(--text-white) !important;
}

/* Spécifiquement pour les textes des statistiques */
.stats-section p,
.stats-section small,
.stats-section h3,
.hero-section p,
.hero-section small,
.hero-section h1,
.hero-section h4 {
    color: var(--text-white) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Correction pour les éléments Bootstrap qui overrident */
.card.bg-success p,
.card.bg-info p,
.card.bg-warning p,
.card.bg-primary p,
.card.bg-success small,
.card.bg-info small,
.card.bg-warning small,
.card.bg-primary small {
    color: white !important;
}

/* Amélioration des contrastes */
.card.bg-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
}

.card.bg-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
}

.card.bg-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
}

.stats-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%) !important;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

.logo {
    max-height: 50px;
    width: auto;
}

/* Amélioration des formulaires sur mobile */
.form-control {
    font-size: 16px !important; /* Évite le zoom sur iOS */
    padding: 0.75rem !important;
    border-radius: 8px !important;
}

/* Optimisation des modales sur mobile */
.modal-dialog {
    margin: 1rem;
}

.modal-content {
    border-radius: var(--border-radius) !important;
}

/* Amélioration des alertes */
.alert {
    border-radius: 8px !important;
    border: none !important;
    box-shadow: var(--shadow-light) !important;
}

/* Optimisation des tableaux sur mobile */
.table-responsive {
    border-radius: 8px !important;
    box-shadow: var(--shadow-light) !important;
}

/* ========================================
   SECTION INVESTISSEMENT
======================================== */

.investment-section {
    margin: 3rem 0;
}

.investment-card {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    overflow: hidden;
    position: relative;
}

.investment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="investment-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23investment-pattern)"/></svg>');
    pointer-events: none;
}

.investment-header {
    position: relative;
    z-index: 2;
}

.investment-icon {
    font-size: 3rem !important;
    color: #f39c12 !important;
    animation: investmentIconFloat 3s ease-in-out infinite;
}

@keyframes investmentIconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.investment-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 2.5rem !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.investment-subtitle {
    color: #ecf0f1 !important;
    font-size: 1.2rem !important;
    opacity: 0.9;
}

/* Statistiques d'investissement */
.investment-stats {
    position: relative;
    z-index: 2;
}

.investment-stat-card {
    background: rgba(255,255,255,0.1) !important;
    border-radius: 15px !important;
    padding: 2rem 1rem !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease !important;
    height: 100%;
}

.investment-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.investment-stat-icon {
    font-size: 2.5rem !important;
    color: #f39c12 !important;
    margin-bottom: 1rem !important;
}

.investment-stat-number {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0.5rem 0 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.investment-stat-currency {
    font-size: 1rem !important;
    color: #f39c12 !important;
    font-weight: 600 !important;
    display: block;
    margin-bottom: 0.5rem;
}

.investment-stat-label {
    color: #ecf0f1 !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
    opacity: 0.9;
}

/* Avantages d'investissement */
.investment-benefits {
    position: relative;
    z-index: 2;
}

.benefit-highlight {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%) !important;
    border-radius: 15px !important;
    padding: 1.5rem 2rem !important;
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.benefit-icon {
    font-size: 2rem !important;
    color: #ffffff !important;
    margin-right: 1rem !important;
}

.benefit-text {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    margin: 0 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Boutons d'action d'investissement */
.investment-actions {
    position: relative;
    z-index: 2;
}

.investment-btn-primary {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4) !important;
    animation: investmentButtonPulse 2s infinite;
}

.investment-btn-secondary {
    background: transparent !important;
    border: 2px solid #3498db !important;
    color: #3498db !important;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3) !important;
}

.investment-btn-secondary:hover {
    background: #3498db !important;
    color: #ffffff !important;
    border-color: #3498db !important;
}

@keyframes investmentButtonPulse {
    0% { box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4); }
    50% { box-shadow: 0 8px 25px rgba(243, 156, 18, 0.6); }
    100% { box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4); }
}

/* Responsive pour la section investissement */
@media (max-width: 768px) {
    .investment-title {
        font-size: 2rem !important;
    }

    .investment-stat-card {
        margin-bottom: 1rem;
        padding: 1.5rem 1rem !important;
    }

    .investment-stat-number {
        font-size: 1.8rem !important;
    }

    .benefit-highlight {
        flex-direction: column;
        text-align: center;
    }

    .benefit-icon {
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
    }

    .investment-actions .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* ========================================
   PIED DE PAGE MODERNE
======================================== */

.modern-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%) !important;
    color: #ecf0f1 !important;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    pointer-events: none;
}

.footer-brand {
    position: relative;
    z-index: 2;
}

.footer-logo-container {
    position: relative;
}

.footer-logo {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    border: 3px solid #f39c12 !important;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3) !important;
    transition: all 0.3s ease !important;
}

.footer-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5) !important;
}

.footer-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.footer-subtitle {
    color: #f39c12 !important;
    font-size: 1rem !important;
    opacity: 0.9;
}

.footer-description {
    color: #bdc3c7 !important;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Statistiques du footer */
.footer-stats-container {
    position: relative;
    z-index: 2;
}

.footer-stat-card {
    background: rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
    padding: 1.5rem 1rem !important;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease !important;
}

.footer-stat-card:hover {
    background: rgba(255,255,255,0.15) !important;
    transform: translateY(-3px);
}

.footer-stat-icon {
    font-size: 1.5rem !important;
    color: #f39c12 !important;
    margin-bottom: 0.5rem !important;
}

.footer-stat-number {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 0.25rem;
}

.footer-stat-label {
    font-size: 0.8rem !important;
    color: #bdc3c7 !important;
    opacity: 0.9;
}

/* Highlight d'investissement */
.footer-investment-highlight {
    position: relative;
    z-index: 2;
}

.investment-cta-mini {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%) !important;
    border-radius: 10px !important;
    padding: 1rem 1.5rem !important;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.investment-text {
    color: #ffffff !important;
    font-size: 0.9rem !important;
    margin: 0;
}

/* Sections du footer */
.footer-section {
    position: relative;
    z-index: 2;
}

.footer-section-title {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Liens du footer */
.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #bdc3c7 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    display: flex;
    align-items: center;
}

.footer-link:hover {
    color: #f39c12 !important;
    transform: translateX(5px);
}

.footer-link i {
    width: 20px;
    opacity: 0.7;
}

/* Contact du footer */
.footer-contact {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-contact-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact-icon {
    width: 20px !important;
    color: #f39c12 !important;
    margin-right: 0.75rem !important;
    opacity: 0.8;
}

.footer-contact-link {
    color: #bdc3c7 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: color 0.3s ease !important;
}

.footer-contact-link:hover {
    color: #f39c12 !important;
}

.footer-contact-text {
    color: #bdc3c7 !important;
    font-size: 0.95rem !important;
}

/* Bas du footer */
.footer-divider {
    border: none !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%) !important;
}

.footer-bottom {
    position: relative;
    z-index: 2;
}

.footer-copyright {
    color: #95a5a6 !important;
    font-size: 0.9rem !important;
    display: flex;
    align-items: center;
}

.footer-info {
    color: #95a5a6 !important;
    font-size: 0.85rem !important;
}

.footer-version,
.footer-payment {
    display: inline-flex;
    align-items: center;
}

.footer-separator {
    margin: 0 0.75rem;
    opacity: 0.5;
}

/* Responsive pour le footer */
@media (max-width: 768px) {
    .footer-title {
        font-size: 1.3rem !important;
    }

    .footer-stat-card {
        margin-bottom: 1rem;
    }

    .footer-bottom .row {
        text-align: center !important;
    }

    .footer-bottom .col-md-6:last-child {
        margin-top: 1rem;
    }

    .footer-info {
        display: block;
    }

    .footer-separator {
        display: none;
    }

    .footer-version,
    .footer-payment {
        display: block;
        margin: 0.25rem 0;
    }
}

/* ========================================
   PAGE FLYER - THÈME SOMBRE MODERNE
======================================== */

/* Card principale du flyer */
.flyer-main-card {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    overflow: hidden;
    position: relative;
}

.flyer-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="flyer-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23flyer-pattern)"/></svg>');
    pointer-events: none;
}

/* Header du flyer */
.flyer-header {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    border: none !important;
    padding: 2rem !important;
    position: relative;
    z-index: 2;
}

.flyer-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.flyer-header-icon {
    font-size: 3rem !important;
    color: #ffffff !important;
    margin-right: 1.5rem !important;
    animation: flyerIconFloat 3s ease-in-out infinite;
}

@keyframes flyerIconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.flyer-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 2.2rem !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin: 0;
}

.flyer-subtitle {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Corps du flyer */
.flyer-body {
    background: rgba(255,255,255,0.98) !important;
    position: relative;
    z-index: 2;
    padding: 2rem !important;
}

/* Actions du flyer */
.flyer-actions {
    margin-bottom: 2rem !important;
}

.flyer-btn-primary {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4) !important;
    transition: all 0.3s ease !important;
    width: 100%;
    text-decoration: none !important;
    display: inline-block;
    text-align: center;
}

.flyer-btn-primary:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.6) !important;
}

.flyer-btn-secondary {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4) !important;
    transition: all 0.3s ease !important;
    width: 100%;
    text-decoration: none !important;
    display: inline-block;
    text-align: center;
}

.flyer-btn-secondary:hover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.6) !important;
}

/* Cards de contenu */
.flyer-content-card {
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.flyer-content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.flyer-section-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    color: #ffffff !important;
    padding: 1.5rem !important;
    border: none !important;
    display: flex;
    align-items: center;
}

.flyer-section-icon {
    background: rgba(243, 156, 18, 0.2) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 1rem !important;
}

.flyer-section-icon i {
    font-size: 1.5rem !important;
    color: #f39c12 !important;
}

.flyer-section-title {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 1.3rem !important;
    margin: 0;
}

.flyer-section-subtitle {
    color: #ecf0f1 !important;
    font-size: 0.95rem !important;
    opacity: 0.9;
}

/* Card d'investissement */
.flyer-investment-card {
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3) !important;
    overflow: hidden;
    position: relative;
}

.flyer-investment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.05) 0%, rgba(230, 126, 34, 0.05) 100%);
    pointer-events: none;
}

.flyer-investment-header {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    color: #ffffff !important;
    padding: 1.5rem !important;
    border: none !important;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.flyer-investment-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 1rem !important;
}

.flyer-investment-icon i {
    font-size: 1.5rem !important;
    color: #ffffff !important;
}

.flyer-investment-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Card de statistiques */
.flyer-stats-card {
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3) !important;
    overflow: hidden;
}

.flyer-stats-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
    color: #ffffff !important;
    padding: 1.5rem !important;
    border: none !important;
    display: flex;
    align-items: center;
}

.flyer-stats-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 1rem !important;
}

.flyer-stats-icon i {
    font-size: 1.5rem !important;
    color: #ffffff !important;
}

.flyer-stats-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Responsive pour la page flyer */
@media (max-width: 768px) {
    .flyer-header {
        padding: 1.5rem !important;
    }

    .flyer-header-content {
        flex-direction: column;
        text-align: center;
    }

    .flyer-header-icon {
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
        font-size: 2.5rem !important;
    }

    .flyer-title {
        font-size: 1.8rem !important;
    }

    .flyer-subtitle {
        font-size: 1rem !important;
    }

    .flyer-body {
        padding: 1.5rem !important;
    }

    .flyer-btn-primary,
    .flyer-btn-secondary {
        margin-bottom: 1rem;
        padding: 0.875rem 1.5rem !important;
    }

    .flyer-section-header {
        padding: 1rem !important;
    }

    .flyer-section-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .flyer-section-icon i {
        font-size: 1.2rem !important;
    }

    .flyer-section-title {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 576px) {
    .flyer-header {
        padding: 1rem !important;
    }

    .flyer-title {
        font-size: 1.6rem !important;
    }

    .flyer-body {
        padding: 1rem !important;
    }

    .flyer-btn-primary,
    .flyer-btn-secondary {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.95rem !important;
    }
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
