/**
 * Bottom Signature Styles
 * Styles pour le composant de signature réutilisable
 * Identité visuelle : Place de l'Info / Newsforge
 */

/* Variables CSS - Palette "Place de l'Info" */
:root {
    /* Couleurs principales (Guide Identité) */
    --signature-primary-color: #1E5EFF;    /* Bleu électrique - Information */
    --signature-accent-color: #FFB020;     /* Jaune ambré - Action/Attention */
    --signature-success-color: #14B87A;    /* Vert menthe - Validé */
    --signature-secondary-color: #6B7280;  /* Gris froid - Texte secondaire */
    
    /* Typographie et Fonds */
    --signature-text-color: #111318;       /* Noir profond (non pur) */
    --signature-text-light: #6B7280;
    --signature-bg-color: #F7F7F9;         /* Fond clair bleuté très léger */
    --signature-bg-card: #ffffff;
    
    /* Effets */
    --signature-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --signature-shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --signature-transition: all 0.3s ease;
}

/* ============================================
   BANDEAU DE DON EN BIAIS (Donation Ribbon)
   ============================================ */

.donation-ribbon {
    position: fixed;
    top: 45px;
    right: -75px;
    width: 260px;
    background: linear-gradient(135deg, #FFB020, #ffca28);
    color: #111;
    text-align: center;
    padding: 10px 0;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.donation-ribbon:hover {
    background: linear-gradient(135deg, #ffca28, #FFB020);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transform: rotate(45deg) scale(1.05);
}

.donation-ribbon i {
    margin-right: 8px;
    font-size: 1rem;
    color: #d32f2f; /* Cœur rouge */
}

/* Responsive pour le bandeau */
@media (max-width: 768px) {
    .donation-ribbon {
        top: 50px;
        right: -85px;
        left: auto;
        width: 260px;
        padding: 8px 0;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .donation-ribbon {
        display: none; /* Masqué sur très petits écrans */
    }
}

/* ============================================
   FOOTER DE SIGNATURE
   ============================================ */

.signature-footer {
    margin-top: 70px;
    padding: 40px 20px;
    background: var(--signature-bg-color);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 0.95rem;
    color: var(--signature-text-light);
    position: relative;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Barre de couleur décorative en haut du footer */
.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--signature-primary-color),
        var(--signature-success-color),
        var(--signature-accent-color));
    opacity: 1;
}

/* Liens sociaux */
.social-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    font-size: 1.3rem;
    color: var(--signature-text-light);
    transition: var(--signature-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px; /* Carré arrondi plus moderne */
    background-color: white;
    box-shadow: var(--signature-shadow-sm);
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.02);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--signature-shadow-md);
}

/* Couleurs spécifiques pour chaque réseau social */
.gitlab-icon:hover {
    color: #FC6D26;
    border-color: rgba(252, 109, 38, 0.2);
}

.twitter-icon:hover {
    color: #1DA1F2;
    border-color: rgba(29, 161, 242, 0.2);
}

.email-icon:hover {
    color: var(--signature-primary-color);
    border-color: rgba(30, 94, 255, 0.2);
}

.paypal-icon:hover {
    color: #003087;
    border-color: rgba(0, 48, 135, 0.2);
}

/* Copyright */
.copyright {
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--signature-text-color);
}

/* Message de don */
.donation-text {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--signature-text-light);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.donation-text a {
    color: var(--signature-primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--signature-transition);
    position: relative;
    padding-bottom: 1px;
    border-bottom: 1px solid rgba(30, 94, 255, 0.3);
}

.donation-text a:hover {
    border-bottom-color: var(--signature-primary-color);
    background-color: rgba(30, 94, 255, 0.05);
}

/* Informations projet */
.project-info {
    margin-top: 20px;
    font-size: 0.80rem;
    color: var(--signature-text-light);
    opacity: 0.8;
}

/* ============================================
   RESPONSIVE FOOTER
   ============================================ */

@media (max-width: 768px) {
    .signature-footer {
        padding: 30px 15px;
        font-size: 0.9rem;
    }

    .social-links {
        gap: 12px;
    }

    .social-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}