/**
 * Header Button & Social Colors Fix - Botão diagnóstico amarelo, redes sociais cyan
 */

/* === VARIÁVEIS DE COR === */
:root {
    --cyan-primary: #2CB7E6;
    --cyan-light: #4FC8F0;
    --cyan-dark: #1A9BC7;
    --pantone-yellow: #FFCD00;
    --pantone-yellow-light: #FFDB2C;
    --cyan-alpha: rgba(44, 183, 230, 0.1);
    --cyan-alpha-strong: rgba(44, 183, 230, 0.2);
    --yellow-alpha: rgba(255, 205, 0, 0.1);
    --yellow-alpha-strong: rgba(255, 205, 0, 0.2);
}

/* === BOTÃO DIAGNÓSTICO - AMARELO === */
.btn-diagnostico {
    background: linear-gradient(135deg, var(--pantone-yellow) 0%, var(--pantone-yellow-light) 100%) !important;
    color: #000000 !important;
    border: 2px solid var(--pantone-yellow) !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.btn-diagnostico:hover {
    background: linear-gradient(135deg, var(--pantone-yellow-light) 0%, #FFF200 100%) !important;
    border-color: var(--pantone-yellow-light) !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 205, 0, 0.4) !important;
}

.btn-diagnostico:focus {
    outline: 2px solid var(--pantone-yellow) !important;
    outline-offset: 2px !important;
    background: linear-gradient(135deg, var(--pantone-yellow-light) 0%, #FFF200 100%) !important;
}

.btn-diagnostico:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(255, 205, 0, 0.3) !important;
}

/* === ÍCONES SOCIAIS - CYAN === */
.social-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(44, 183, 230, 0.1) !important;
    border: 2px solid var(--cyan-primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    color: var(--cyan-primary) !important;
}

.social-icon:hover {
    background: rgba(44, 183, 230, 0.2) !important;
    border-color: var(--cyan-light) !important;
    color: var(--cyan-light) !important;
    transform: translateY(-2px) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(44, 183, 230, 0.3) !important;
}

.social-icon:focus {
    outline: 2px solid var(--cyan-primary) !important;
    outline-offset: 2px !important;
    background: rgba(44, 183, 230, 0.2) !important;
}

.social-icon:active {
    transform: translateY(0) scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(44, 183, 230, 0.3) !important;
}

/* === RESPONSIVIDADE === */

/* Desktop Grande (2048px+) */
@media (min-width: 2048px) {
    .btn-diagnostico {
        padding: 1rem 2rem !important;
        font-size: 1.1rem !important;
    }
    
    .social-icon {
        width: 45px !important;
        height: 45px !important;
    }
}

/* Tablet (769px - 2047px) */
@media (min-width: 769px) and (max-width: 2047px) {
    .btn-diagnostico {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem !important;
    }
    
    .social-icon {
        width: 35px !important;
        height: 35px !important;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .btn-diagnostico {
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .social-icon {
        width: 32px !important;
        height: 32px !important;
    }
}

/* === EFEITOS ESPECIAIS === */

/* Efeito de brilho para ícones sociais */
.social-icon i[data-lucide] {
    filter: drop-shadow(0 0 4px rgba(44, 183, 230, 0.3)) !important;
    transition: all 0.3s ease !important;
}

.social-icon:hover i[data-lucide] {
    filter: drop-shadow(0 0 6px rgba(44, 183, 230, 0.5)) !important;
}

/* Efeito de pulso para botão diagnóstico */
.btn-diagnostico {
    position: relative !important;
    overflow: hidden !important;
}

.btn-diagnostico::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s ease !important;
}

.btn-diagnostico:hover::before {
    left: 100% !important;
}

/* === ACESSIBILIDADE === */
.btn-diagnostico:focus-visible,
.social-icon:focus-visible {
    outline: 2px solid var(--pantone-yellow) !important;
    outline-offset: 2px !important;
    border-radius: 4px !important;
}

.social-icon:focus-visible {
    outline-color: var(--cyan-primary) !important;
}

/* === CONTRASTE E LEGIBILIDADE === */
.btn-diagnostico {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    font-weight: 700 !important;
}

/* === ANIMAÇÕES === */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 205, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 205, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 205, 0, 0);
    }
}

.btn-diagnostico:focus {
    animation: pulse 2s infinite !important;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(44, 183, 230, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(44, 183, 230, 0.6);
    }
    100% {
        box-shadow: 0 0 5px rgba(44, 183, 230, 0.3);
    }
}

.social-icon:focus {
    animation: glow 2s infinite !important;
}
