/* ============================================================================
   Flavor Footer — JonasCoins Edition
   PlayStation Aesthetic — Dark, geometric, neon-blue accents
   ============================================================================ */

/* ----------------------------------------------------------------------------
   Base wrapper
   ---------------------------------------------------------------------------- */
.site-footer {
    background-color: #050C15;
    background-color: var(--color-bg-primary, #050C15);
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Subtle grid texture */
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 112, 209, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 112, 209, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* Radial glow from bottom-center */
.site-footer::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(0, 112, 209, 0.10) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ----------------------------------------------------------------------------
   Animated glow bar — top border
   ---------------------------------------------------------------------------- */
.footer__glow-bar {
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #003087 15%,
        #0070D1 35%,
        #00A8E8 50%,
        #0070D1 65%,
        #003087 85%,
        transparent 100%
    );
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.footer__glow-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    animation: footer-shimmer 3.2s ease-in-out infinite;
}

@keyframes footer-shimmer {
    0%   { left: -60%; }
    100% { left: 160%; }
}

/* ----------------------------------------------------------------------------
   Inner container
   ---------------------------------------------------------------------------- */
.footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ----------------------------------------------------------------------------
   Top grid — 4 colunas + divisor
   ---------------------------------------------------------------------------- */
.footer__top {
    display: grid;
    grid-template-columns: 230px 1px 1fr 1fr 1fr;
    align-items: start;
    gap: 0;
    padding: 48px 0 40px;
}

/* ----------------------------------------------------------------------------
   Brand column
   ---------------------------------------------------------------------------- */
.footer__brand {
    padding-right: 40px;
}

.footer__logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 12px;
}

.footer__logo-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(0, 112, 209, 0.55));
    transition: filter var(--transition-base, 0.2s ease);
}

.footer__logo-wrap:hover .footer__logo-icon {
    filter: drop-shadow(0 0 14px rgba(0, 168, 232, 0.7));
}

.footer__logo-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-family: var(--font-display, 'Barlow Condensed', sans-serif);
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    color: var(--color-text-primary, #FFFFFF);
    line-height: 1;
}

.footer__logo-text span {
    color: #00A8E8;
    color: var(--color-accent, #00A8E8);
}

.footer__tagline {
    font-family: 'Barlow', sans-serif;
    font-family: var(--font-primary, 'Barlow', sans-serif);
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #8599B2;
    color: var(--color-text-secondary, #8599B2);
    margin: 0 0 20px;
}

/* PlayStation symbols decoration */
.footer__ps-symbols {
    display: flex;
    gap: 10px;
}

.ps-sym {
    font-size: 0.875rem;
    opacity: 0.28;
    transition: opacity 0.25s ease;
}

.footer__brand:hover .ps-sym { opacity: 0.65; }

.ps-sym--triangle { color: #00C49A; }
.ps-sym--circle   { color: #F5A623; }
.ps-sym--cross    { color: #E8002A; }
.ps-sym--square   { color: #0070D1; }

/* ----------------------------------------------------------------------------
   Vertical divider
   ---------------------------------------------------------------------------- */
.footer__divider-v {
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        #192D44 18%,
        #192D44 82%,
        transparent 100%
    );
    align-self: stretch;
    margin: 0 36px;
}

/* ----------------------------------------------------------------------------
   Content columns
   ---------------------------------------------------------------------------- */
.footer__col {
    padding: 0 20px;
}

.footer__col:last-child {
    padding-right: 0;
}

/* Section headings */
.footer__heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-family: var(--font-display, 'Barlow Condensed', sans-serif);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #FFFFFF;
    color: var(--color-text-primary, #FFFFFF);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__heading-accent {
    display: inline-block;
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, #00A8E8, #0070D1);
    border-radius: 1px;
    flex-shrink: 0;
}

/* ----------------------------------------------------------------------------
   Contact list
   ---------------------------------------------------------------------------- */
.footer__contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 10px 12px;
    background: #0D1A2A;
    background: var(--color-surface, #0D1A2A);
    border: 1px solid #192D44;
    border: 1px solid var(--color-border, #192D44);
    border-radius: 4px;
    border-radius: var(--radius-sm, 4px);
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    transition: all var(--transition-base, 0.2s ease);
}

.footer__contact-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.footer__contact-link:hover {
    border-color: #0070D1;
    border-color: var(--color-cta, #0070D1);
    transform: translateX(4px);
    box-shadow: -2px 0 0 0 #00A8E8, 0 0 16px rgba(0, 168, 232, 0.10);
}

.footer__contact-link:hover::before { opacity: 1; }

.footer__contact-link:focus-visible {
    outline: 2px solid #0070D1;
    outline: 2px solid var(--color-cta, #0070D1);
    outline-offset: 2px;
}

/* Icons */
.footer__contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.footer__contact-link:hover .footer__contact-icon {
    transform: scale(1.08);
    filter: brightness(1.15);
}

.footer__contact-icon--insta {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: #fff;
}

.footer__contact-icon--whats {
    background-color: #25D366;
    color: #fff;
}

.footer__contact-icon--email {
    background-color: #0070D1;
    color: #fff;
}

/* Text inside contact cards */
.footer__contact-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.footer__contact-label {
    font-family: 'Barlow', sans-serif;
    font-size: 0.6563rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #3D5470;
    color: var(--color-text-muted, #3D5470);
}

.footer__contact-value {
    font-family: 'Barlow', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #8599B2;
    color: var(--color-text-secondary, #8599B2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.footer__contact-link:hover .footer__contact-value {
    color: #00A8E8;
    color: var(--color-accent, #00A8E8);
}

/* ----------------------------------------------------------------------------
   Navigation list
   ---------------------------------------------------------------------------- */
.footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer__nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #8599B2;
    color: var(--color-text-secondary, #8599B2);
    text-decoration: none;
    padding: 8px 4px;
    border-radius: 2px;
    transition: all 0.2s ease;
    transition: all var(--transition-base, 0.2s ease);
}

.footer__nav-link:hover {
    color: #FFFFFF;
    color: var(--color-text-primary, #FFFFFF);
    padding-left: 8px;
}

.footer__nav-link:focus-visible {
    outline: 2px solid #0070D1;
    outline-offset: 2px;
}

.footer__nav-arrow {
    color: #3D5470;
    color: var(--color-text-muted, #3D5470);
    font-size: 1.125rem;
    line-height: 1;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer__nav-link:hover .footer__nav-arrow {
    color: #00A8E8;
    color: var(--color-accent, #00A8E8);
    transform: translateX(3px);
}

/* CTA link — destacado */
.footer__nav-link--cta {
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(0, 112, 209, 0.10);
    border: 1px solid rgba(0, 112, 209, 0.28);
    border-radius: 4px;
    color: #00A8E8;
    color: var(--color-accent, #00A8E8);
    font-weight: 600;
}

.footer__nav-link--cta:hover {
    background: rgba(0, 112, 209, 0.20);
    border-color: #0070D1;
    color: #FFFFFF;
    padding-left: 18px;
    box-shadow: 0 4px 20px rgba(0, 112, 209, 0.22);
}

.footer__nav-link--cta .footer__nav-arrow {
    color: #0070D1;
    color: var(--color-cta, #0070D1);
}

/* ----------------------------------------------------------------------------
   Payment section
   ---------------------------------------------------------------------------- */
.footer__payments-box {
    background: #0D1A2A;
    background: var(--color-surface, #0D1A2A);
    border: 1px solid #192D44;
    border: 1px solid var(--color-border, #192D44);
    border-radius: 4px;
    border-radius: var(--radius-sm, 4px);
    padding: 14px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
}

.footer__payments-box:hover {
    border-color: #1E3D58;
    border-color: var(--color-border-strong, #1E3D58);
}

.footer__payment-img {
    max-width: 100%;
    height: auto;
    max-height: 56px;
    object-fit: contain;
    filter: brightness(0.88) saturate(0.9);
    transition: filter 0.2s ease;
}

.footer__payments-box:hover .footer__payment-img {
    filter: brightness(1) saturate(1);
}

/* ----------------------------------------------------------------------------
   Bottom bar
   ---------------------------------------------------------------------------- */
.footer__bottom {
    border-top: 1px solid #192D44;
    border-top: 1px solid var(--color-border, #192D44);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer__copyright {
    font-family: 'Barlow', sans-serif;
    font-size: 0.8rem;
    color: #3D5470;
    color: var(--color-text-muted, #3D5470);
    margin: 0;
}

.footer__badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.6563rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #3D5470;
    color: var(--color-text-muted, #3D5470);
    padding: 5px 10px;
    border: 1px solid #192D44;
    border: 1px solid var(--color-border, #192D44);
    border-radius: 2px;
    border-radius: var(--radius-xs, 2px);
    transition: all 0.2s ease;
}

.footer__badge:hover {
    color: #8599B2;
    border-color: #1E3D58;
}

/* ============================================================================
   FLOATING CONTACT — WhatsApp + Instagram (GLOBAL)
   - Fica fixo no canto inferior direito
   - Estilo compatível com o tema (surface + border + glow azul)
   ============================================================================ */

.jc-float-contact {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* só os botões recebem clique */
}

.jc-float-contact__btn {
    pointer-events: auto;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--color-surface, #0D1A2A);
    border: 1px solid var(--color-border, #192D44);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
    transform: translateZ(0);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    animation: jc-float-pop 380ms ease both;
}

.jc-float-contact__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.12), transparent 60%);
    opacity: 0.55;
}

.jc-float-contact__btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 20%, rgba(0, 168, 232, 0.22), transparent 55%);
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.jc-float-contact__btn:hover {
    transform: translateY(-2px) scale(1.03);
    border-color: var(--color-cta, #0070D1);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 18px rgba(0, 168, 232, 0.18);
}

.jc-float-contact__btn:hover::after {
    opacity: 1;
}

.jc-float-contact__btn:focus-visible {
    outline: 2px solid var(--color-cta, #0070D1);
    outline-offset: 3px;
}

.jc-float-contact__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.35));
}

.jc-float-contact__btn--whats .jc-float-contact__icon {
    background: #25D366;
}

.jc-float-contact__btn--insta .jc-float-contact__icon {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.jc-float-contact__label {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(13, 26, 42, 0.92);
    border: 1px solid rgba(25, 45, 68, 0.9);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    color: var(--color-text-primary, #FFFFFF);
    font-family: var(--font-primary, 'Barlow', sans-serif);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    z-index: 3;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.jc-float-contact__label strong {
    color: var(--color-accent, #00A8E8);
    font-weight: 800;
}

.jc-float-contact__btn:hover .jc-float-contact__label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Pequeno “stagger” */
.jc-float-contact__btn--insta { animation-delay: 40ms; }
.jc-float-contact__btn--whats { animation-delay: 120ms; }

@keyframes jc-float-pop {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Mobile: botão um pouco menor e sem tooltip (pra não atrapalhar) */
@media (max-width: 640px) {
    .jc-float-contact {
        right: 14px;
        bottom: 14px;
        gap: 9px;
    }

    .jc-float-contact__btn {
        width: 50px;
        height: 50px;
        border-radius: 13px;
    }

    .jc-float-contact__icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .jc-float-contact__label {
        display: none;
    }
}

/* Respeita redução de animação */
@media (prefers-reduced-motion: reduce) {
    .jc-float-contact__btn {
        animation: none;
        transition: none;
    }
}

/* Não imprimir botões flutuantes */
@media print {
    .jc-float-contact { display: none !important; }
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

/* Tablet — 2 colunas */
@media (max-width: 1080px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 40px 0 32px;
    }

    .footer__divider-v { display: none; }

    .footer__brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .footer__col { padding: 0; }
}

/* Mobile */
@media (max-width: 640px) {
    .footer__inner { padding: 0 16px; }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 0 28px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 0;
    }

    .footer__badges { flex-wrap: wrap; }
}

/* Large screens */
@media (min-width: 1440px) {
    .footer__top {
        grid-template-columns: 260px 1px 1fr 1fr 1fr;
    }
}