/* ═══════════════════════════════════════════════════════════
   COMMERCIFY FOOTER OPTIMIZED CSS
   Styles optimisés extraits du footer (réduction ~50KB HTML)
   ═══════════════════════════════════════════════════════════ */

/* ==========================================================================
   STRUCTURE FOOTER
   ========================================================================== */

.modern-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
}

/* Aucun arrondi dans le footer — angles droits partout */
.modern-footer .badge,
.modern-footer .demo-avatar-badge,
.modern-footer .demo-avatar-badge img,
.modern-footer .social-icon,
.modern-footer .social-tooltip,
.modern-footer .youtube-play-overlay,
.modern-footer .video-cta-btn,
.modern-footer .donation-btn,
.modern-footer .fbv-arrow {
    border-radius: 0 !important;
}

/* Boutons du carrousel vidéo (flèches) + vignettes YouTube du carrousel */
.modern-footer .footer-brand-video-carousel .fbv-arrow,
.modern-footer .footer-brand-video-carousel .youtube-play-overlay,
.modern-footer .footer-brand-video-carousel .youtube-video-container {
    border-radius: 0 !important;
}

.footer-content {
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    /* Valeur par défaut (fallback) : 1 colonne */
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* ==========================================================================
   SECTIONS FOOTER (OPTIMISÉES - backdrop-filter conditionnel)
   ========================================================================== */

.footer-brand-section,
.footer-nav-section,
.footer-community-section,
.footer-video-legal-section {
    background: rgba(255,255,255,0.02);
    padding: 2rem;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,0.1);
    /* OPTIMISATION: backdrop-filter et transitions conditionnels - désactivés en mode performance */
}

body:not(.performance-mode) .footer-brand-section,
body:not(.performance-mode) .footer-nav-section,
body:not(.performance-mode) .footer-community-section,
body:not(.performance-mode) .footer-video-legal-section {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* backdrop-filter supprimé pour optimiser les performances - remplacé par background opaque */

body:not(.performance-mode) .footer-brand-section:hover,
body:not(.performance-mode) .footer-nav-section:hover,
body:not(.performance-mode) .footer-community-section:hover,
body:not(.performance-mode) .footer-video-legal-section:hover {
    background: rgba(255,255,255,0.04);
    transform: translateY(-2px);
}

/* ==========================================================================
   BRANDING & LOGO
   ========================================================================== */

.footer-logo-img {
    height: 45px;
    /* OPTIMISATION: filter conditionnel */
}

/* filter supprimé pour optimiser les performances */

/* Image mégaphone supprimée */

.footer-tagline {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #1DA1F2 0%, #ffffff 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

/* text-shadow supprimé pour optimiser les performances */

.tagline-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    text-align: center;
    letter-spacing: 1px;
}

/* ==========================================================================
   SOCIAL ICONS (OPTIMISÉES - handlers remplacés par CSS)
   ========================================================================== */

.social-links-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icons-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon-wrapper {
    position: relative;
    display: inline-block;
}

.social-icon {
    color: #e9ecef;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    text-decoration: none;
    /* OPTIMISATION: transition spécifique au lieu de "all" */
    transition: color 0.4s ease, transform 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* backdrop-filter et filter supprimés pour optimiser les performances */

/* ==========================================================================
   ALIGNEMENT GLOBAL - AUCUNE MARGE LATERALE POUR LES FOOTERS
   ========================================================================== */

/* Supprimer les paddings horizontaux pour coller le footer modern aux bords */
.modern-footer .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.footer-content {
    padding-left: 0;
    padding-right: 0;
}

/* Sécuriser aussi les footers DashLite natifs utilisés sur les pages dash/publisher */
.nk-footer,
.nk-footer-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ==========================================================================
   ALIGNEMENT GLOBAL - AUCUNE MARGE LATERALE POUR LES HEADERS
   ========================================================================== */

/* Supprimer les paddings horizontaux pour coller le header aux bords (comme le footer) */
.nk-header .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.catalog-header {
    padding-left: 0;
    padding-right: 0;
}

/* Hover optimisé avec CSS seulement - effets simplifiés */
.social-icon.twitter:hover {
    color: #1DA1F2;
    transform: scale(1.15);
    background: rgba(29,161,242,0.1);
    border-color: rgba(29,161,242,0.5);
}

.social-icon.instagram:hover {
    color: #E4405F;
    transform: scale(1.15);
    background: rgba(228,64,95,0.1);
    border-color: rgba(228,64,95,0.5);
}

.social-icon.tiktok:hover {
    color: #ff0050;
    transform: scale(1.15);
    background: rgba(255,0,80,0.1);
    border-color: rgba(255,0,80,0.5);
}

.social-icon.youtube:hover {
    color: #FF0000;
    transform: scale(1.15);
    background: rgba(255,0,0,0.1);
    border-color: rgba(255,0,0,0.5);
}

/* Tooltips sociaux */
.social-tooltip {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    /* OPTIMISATION: transition spécifique */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

body:not(.performance-mode) .social-tooltip {
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.social-icon-wrapper:hover .social-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.social-tooltip.twitter {
    background: rgba(29,161,242,0.9);
    color: white;
}

.social-tooltip.instagram {
    background: rgba(228,64,95,0.9);
    color: white;
}

.social-tooltip.tiktok {
    background: rgba(255,0,80,0.9);
    color: white;
}

.social-tooltip.youtube {
    background: rgba(255,0,0,0.9);
    color: white;
}

.social-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.social-tooltip.twitter::after {
    border-top: 6px solid rgba(29,161,242,0.9);
}

.social-tooltip.instagram::after {
    border-top: 6px solid rgba(228,64,95,0.9);
}

.social-tooltip.tiktok::after {
    border-top: 6px solid rgba(255,0,80,0.9);
}

.social-tooltip.youtube::after {
    border-top: 6px solid rgba(255,0,0,0.9);
}

/* ==========================================================================
   NAVIGATION & LINKS
   ========================================================================== */

.footer-section-title {
    color: #1DA1F2;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.nav-link-modern {
    padding: 0.75rem 1rem;
    border-radius: 0;
    text-decoration: none;
    border-left: 3px solid transparent;
    /* OPTIMISATION: transition spécifique */
    transition: background-color 0.3s ease, border-left-color 0.3s ease, padding-left 0.3s ease;
}

.nav-link-modern.active {
    color: #1DA1F2;
    border-left-color: #1DA1F2;
}

.nav-link-modern:not(.active) {
    color: #e9ecef;
}

.nav-link-modern:hover {
    background: rgba(29,161,242,0.1);
    border-left-color: #1DA1F2;
    padding-left: 1.5rem;
}

.community-link {
    color: #e9ecef;
    padding: 0.75rem 1rem;
    border-radius: 0;
    text-decoration: none;
    border-left: 3px solid transparent;
    /* OPTIMISATION: transition conditionnelle - désactivée en mode performance */
}

body:not(.performance-mode) .community-link {
    transition: background-color 0.3s ease, border-left-color 0.3s ease, padding-left 0.3s ease;
}

.community-link:hover {
    color: #e9ecef;
    background: rgba(29,161,242,0.1);
    border-left-color: #1DA1F2;
    padding-left: 1.5rem;
}

.community-link.active {
    color: #1DA1F2;
    border-left-color: #1DA1F2;
    background: rgba(29,161,242,0.08);
}

.legal-links-inline {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.legal-link-inline {
    color: #e9ecef;
    padding: 0.6rem 1rem;
    border-radius: 0;
    text-decoration: none;
    font-size: 0.8rem;
    flex: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    /* OPTIMISATION: transition conditionnelle - désactivée en mode performance */
}

body:not(.performance-mode) .legal-link-inline {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.legal-link-inline:hover {
    background: rgba(29,161,242,0.1);
    color: #1DA1F2;
    border-color: rgba(29,161,242,0.3);
}

.legal-link-inline.active {
    color: #1DA1F2;
    border-left: 3px solid #1DA1F2;
    background: rgba(29,161,242,0.08);
}

/* ==========================================================================
   AVATAR DÉMO BADGES - Typologie dark mode (toujours lisible, thème clair ou sombre)
   ========================================================================== */

.modern-footer .demo-avatars-section .demo-avatar-badge {
    background: #141c26 !important;
    color: #f8f9fa !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    font-size: 0.7rem !important;
}

.modern-footer .demo-avatars-section .demo-avatar-badge img {
    width: 18px !important;
    height: 18px !important;
    border-color: rgba(255,255,255,0.2) !important;
}

.modern-footer .demo-avatars-section .demo-avatar-badge:hover {
    background: rgba(255, 204, 0, 0.15) !important;
    color: #ffcc00 !important;
    border-color: rgba(255, 204, 0, 0.4) !important;
    transform: translateY(-2px);
}

.modern-footer .demo-avatars-section .demo-avatar-badge:hover img {
    border-color: rgba(255, 204, 0, 0.6) !important;
    transform: scale(1.1);
}

.modern-footer .demo-avatars-section .demo-avatar-badge.active {
    border-color: #1DA1F2 !important;
    background: rgba(29, 161, 242, 0.15) !important;
    color: #f8f9fa !important;
}

.modern-footer .demo-avatars-section .demo-avatar-badge.active img {
    border-color: rgba(29, 161, 242, 0.6) !important;
}

@media (max-width: 576px) {
    .modern-footer .demo-avatars-section .demo-avatar-badge {
        padding: 0.25rem 0.4rem !important;
        font-size: 0.65rem !important;
    }
    .modern-footer .demo-avatars-section .demo-avatar-badge img {
        width: 16px !important;
        height: 16px !important;
    }
    .modern-footer .demo-avatars-section {
        margin-bottom: 2.5rem !important;
        padding-bottom: 1.5rem !important;
        border-bottom: 2px solid rgba(255,255,255,0.2) !important;
    }
}

/* ==========================================================================
   VIDEO CAROUSEL
   ========================================================================== */

.video-showcase {
    margin-bottom: 2rem;
}

.video-title {
    color: #FF0000;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-youtube-icon {
    font-size: 1.2rem;
    color: #FF0000;
    transition: color 0.3s ease;
}

/* Animation uniquement au hover pour économiser les ressources */
.footer-youtube-icon:hover {
    animation: youtubeGlow 2s ease-in-out infinite;
}

.video-carousel {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,0,0,0.1), rgba(29,161,242,0.1));
    border: 2px solid rgba(255,0,0,0.3);
}

.video-slides {
    display: flex;
    width: 200%;
    height: 100%;
    /* OPTIMISATION: transition conditionnelle - désactivée en mode performance */
}

body:not(.performance-mode) .video-slides {
    transition: transform 0.5s ease;
}

.video-slide {
    width: 50%;
    height: 100%;
    position: relative;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.4);
    /* OPTIMISATION: transition spécifique */
    transition: background-color 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0,0,0,0.2);
}

.play-button {
    width: 50px;
    height: 50px;
    background: rgba(255,0,0,0.9);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    /* OPTIMISATION: transition spécifique */
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-nav {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 0;
    border: none;
    cursor: pointer;
    /* OPTIMISATION: transition spécifique */
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.nav-dot.active {
    background: rgba(255,255,255,0.8);
}

.nav-dot:not(.active) {
    background: rgba(255,255,255,0.4);
}

/* ==========================================================================
   STATISTICS SECTION
   ========================================================================== */

.footer-stats-section {
    background: rgba(255,255,255,0.03);
    border-radius: 0;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

/* backdrop-filter supprimé pour optimiser les performances */

.stats-header {
    text-align: center;
    margin-bottom: 1rem;
}

.stats-header h3 {
    color: #1DA1F2;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stats-header div {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1DA1F2, #0d6efd);
    margin: 0 auto;
    border-radius: 0;
}

.modern-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1.5rem;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    /* OPTIMISATION: transition spécifique */
    transition: background-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.stat-card.demo-card {
    background: rgba(29,161,242,0.08);
    border: 1px solid rgba(29,161,242,0.2);
}

.stat-card.demo-card:hover {
    background: rgba(29,161,242,0.12);
}

.stat-card.real-card {
    background: rgba(40,167,69,0.08);
    border: 1px solid rgba(40,167,69,0.2);
}

.stat-card.real-card:hover {
    background: rgba(40,167,69,0.12);
}

.stat-card.version-card {
    background: linear-gradient(135deg, rgba(138,43,226,0.1), rgba(75,0,130,0.05));
    border: 1px solid rgba(138,43,226,0.3);
}

.stat-card.version-card:hover {
    background: linear-gradient(135deg, rgba(138,43,226,0.15), rgba(75,0,130,0.08));
}

.stat-card.maintenance-card {
    background: linear-gradient(135deg, rgba(255,174,0,0.1), rgba(255,174,0,0.05));
    padding: 1.8rem;
    border: 1px solid rgba(255,174,0,0.3);
}

.stat-card.maintenance-card:hover {
    background: linear-gradient(135deg, rgba(255,174,0,0.15), rgba(255,174,0,0.08));
}

.stat-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.3;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card.demo-card .stat-label {
    color: #1DA1F2;
}

.stat-card.real-card .stat-label {
    color: #28a745;
}

.stat-card.version-card .stat-label {
    color: #8a2be2;
}

.stat-card.maintenance-card .stat-label {
    color: #ffae00;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

/* text-shadow supprimé pour optimiser les performances */

.stat-card.version-card .stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
}

.version-badge {
    margin-top: 0.5rem;
    padding: 0.2rem 0.6rem;
    background: rgba(138,43,226,0.2);
    border-radius: 0;
    font-size: 0.7rem;
    color: #8a2be2;
    font-weight: 600;
    text-align: center;
}

/* ==========================================================================
   DONATION SECTION
   ========================================================================== */

.donation-section {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.donation-btn {
    background: #198754;
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255,255,255,0.1);
    /* OPTIMISATION: transition spécifique */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* backdrop-filter supprimé pour optimiser les performances */

.donation-btn:hover {
    transform: translateY(-2px);
    background-color: #20c997;
}

.donation-btn span {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-heart-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

/* Animation uniquement au hover pour économiser les ressources */
.footer-heart-icon:hover {
    animation: heartbeat 2s infinite;
}

.donation-btn .ni-arrow-right {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.donation-btn:hover .ni-arrow-right {
    transform: translateX(5px);
}

/* Effet ::after supprimé pour optimiser les performances */

/* ==========================================================================
   FOOTER BOTTOM & COPYRIGHT
   ========================================================================== */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.copyright-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.copyright-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.copyright-text .fw-semibold {
    color: rgba(255,255,255,0.9);
}

.copyright-text a {
    color: #1DA1F2;
    font-weight: 500;
    text-decoration: none;
    /* OPTIMISATION: transition spécifique */
    transition: color 0.3s ease;
}

body:not(.performance-mode) .copyright-text a:hover {
    color: #ffffff;
}

.footer-badge {
    background: rgba(29,161,242,0.1);
    padding: 0.5rem 1rem;
    border-radius: 0;
    border: 1px solid rgba(29,161,242,0.2);
}

.footer-badge span {
    color: #1DA1F2;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

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

/* Animation mégaphone supprimée */

@keyframes youtubeGlow {
    0%, 100% { 
        color: #FF0000; 
    }
    50% { 
        color: #ff4444; 
    }
}

/* ==========================================================================
   MODE PERFORMANCE - DÉSACTIVER EFFETS GOURMANDS GPU
   ========================================================================== */

body.performance-mode .modern-footer * {
    backdrop-filter: none !important;
    filter: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
    transition: none !important;
}

body.performance-mode .footer-youtube-icon,
body.performance-mode .footer-heart-icon {
    animation: none !important;
}

/* ==========================================================================
   RESPONSIVE FOOTER — Règles par viewport (colonnes max par résolution)
   Smartphone ≤768px : 1 col | Tablette / HD vertical 768–1280 : 2 cols
   HD paysage 1280–1920 : 3 cols | FHD 1920–2560 : 3 cols | 2K 2560–3840 : 4 cols | 4K ≥3840 : 4 cols
   ========================================================================== */

/* Smartphone : 1 colonne (≤767.98px) — défini par défaut, rappel explicite ici */
@media (max-width: 767.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .modern-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Tablette / HD vertical : 2 colonnes max (768px – 1279.98px) */
@media (min-width: 768px) and (max-width: 1279.98px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .modern-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* HD paysage : 3 colonnes max (1280px – 1919.98px) */
@media (min-width: 1280px) and (max-width: 1919.98px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .modern-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

/* FHD : 3 colonnes (1920px – 2559.98px) */
@media (min-width: 1920px) and (max-width: 2559.98px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    .modern-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

/* 2K : 4 colonnes (2560px – 3839.98px) */
@media (min-width: 2560px) and (max-width: 3839.98px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    .modern-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
}

/* 4K et au-delà : 4 colonnes (≥3840px) */
@media (min-width: 3840px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    .modern-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
}

/* ==========================================================================
   RESPONSIVE TABLETTE (espacements / typo uniquement)
   ========================================================================== */

@media (min-width: 768px) and (max-width: 991.98px) {
    .footer-content {
        padding: 2rem 10px 1.5rem;
    }
    
    .footer-brand-section,
    .footer-nav-section,
    .footer-community-section,
    .footer-video-legal-section {
        padding: 1.2rem 0;
    }
    
    .stat-card {
        padding: 1.3rem;
    }
    
    .stat-value {
        font-size: 1.6rem;
    }
    
    .footer-tagline {
        font-size: 1.2rem;
    }
    
    .footer-section-title {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .social-icon {
        font-size: 2rem;
        width: 45px;
        height: 45px;
    }
    
    .donation-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .footer-stats-section {
        padding: 2rem 0;
    }
}

/* ==========================================================================
   RESPONSIVE MOBILE
   ========================================================================== */

@media (max-width: 767.98px) {
    .desktop-title {
        display: none !important;
    }
    
    .mobile-title {
        display: inline !important;
    }
    
    .footer-content {
        padding: 2rem 10px 1.5rem !important;
    }
    
    .footer-grid {
        gap: 1rem !important;
    }
    
    .footer-brand-section,
    .footer-nav-section,
    .footer-community-section,
    .footer-video-legal-section {
        padding: 1rem 0 !important;
    }
    
    .footer-stats-section {
        padding: 1.5rem 0 !important;
    }
    
    .footer-tagline {
        font-size: 1.1rem !important;
    }
    
    .stat-card {
        padding: 1.2rem !important;
    }
    
    .stat-value {
        font-size: 1.5rem !important;
    }
    
    .social-icons-group {
        gap: 0.8rem !important;
    }
    
    .social-icon {
        font-size: 1.8rem !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    .copyright-section {
        flex-direction: column;
        text-align: center;
    }
    
    .donation-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-tagline {
        font-size: 1rem !important;
    }
    
    .stat-value {
        font-size: 1.3rem !important;
    }
    
    .donation-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .donation-btn .ni-heart-fill {
        font-size: 1rem !important;
    }
    
    .donation-btn .ni-arrow-right {
        font-size: 0.8rem !important;
    }
    
    .donation-btn span {
        gap: 0.5rem !important;
    }
}

@media (max-width: 360px) {
    .donation-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .donation-btn .ni-heart-fill {
        font-size: 0.9rem !important;
    }
    
    .donation-btn .ni-arrow-right {
        font-size: 0.7rem !important;
    }
    
    .donation-section {
        margin-top: 1.5rem !important;
    }
}

