/* Tipografia Base para o Widget do Elementor */
.rc-footer-wrapper {
    font-family: 'Montserrat', sans-serif;
    background: #080808; /* Fundo alinhado com o site - Mais voltado pro preto */
    color: white;
}
.rc-font-serif {
    font-family: 'Cinzel', serif;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
section[id] {
    scroll-margin-top: 96px;
}
#home {
    scroll-margin-top: 96px;
}

#site-header.header-scrolled {
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom-color: rgba(191, 149, 63, 0.15);
}

.header-nav-link {
    position: relative;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-block;
    padding-bottom: 2px;
    cursor: pointer;
    transition: color 0.3s ease;
}
.header-nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #BF953F;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
    box-shadow: 0 0 8px rgba(191, 149, 63, 0.8);
}
.header-nav-link:hover {
    color: #BF953F;
}
.header-nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* =========================================================
   CORREÇÃO DO MENU HAMBURGER MOBILE
   ========================================================= */
#rc-mobile-menu-btn,
.elementor-menu-toggle {
    background-color: #ffffff !important;
    color: #080808 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
#rc-mobile-menu-btn i,
#rc-mobile-menu-btn svg,
.elementor-menu-toggle i,
.elementor-menu-toggle svg {
    color: #080808 !important;
    fill: #080808 !important;
}
.elementor-menu-toggle .eicon-menu-bar,
.elementor-menu-toggle .eicon-menu-bar::before,
.elementor-menu-toggle .eicon-menu-bar::after {
    background-color: #080808 !important;
}

/* Texto em Degradê Dourado */
.gradient-text-gold {
    background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-shadow: 0 0 30px rgba(191, 149, 63, 0.15);
}

/* Fundo Tech (grade de pontos sutil) */
.tech-grid-bg {
    background-image: radial-gradient(circle, rgba(191, 149, 63, 0.15) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at center, black 40%, transparent 90%);
    mask-image: radial-gradient(ellipse 80% 70% at center, black 40%, transparent 90%);
}

/* Card em Degradê Dourado (Barra de Ouro) */
.gold-bar-card {
    background: linear-gradient(115deg, #7A5B23 0%, #BF953F 22%, #FCF6BA 45%, #B38728 58%, #FBF5B7 72%, #AA771C 100%);
    background-size: 200% 200%;
    animation: goldBarShine 6s ease-in-out infinite;
}
@keyframes goldBarShine {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =========================================================
   RODAPÉ PREMIUM (FOOTER)
   ========================================================= */
.premium-footer {
    position: relative;
    background: #050505; /* Fundo escuro base (preto absoluto) */
    border-top: 1px solid rgba(191, 149, 63, 0.15);
    z-index: 10;
    overflow: hidden;
}

/* CAMADA ISOLADA PARA OS EFEITOS DE FUNDO */
.footer-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

/* CANVAS DO EFEITO NEURONAL (Partículas Douradas) */
#footerCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6; /* Suaviza para não ofuscar os textos */
}

.footer-glow-wrapper {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

.footer-glow {
    position: absolute; width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(191, 149, 63, 0.05) 0%, transparent 70%);
    top: -400px; left: 50%; transform: translateX(-50%);
}

/* Contentores devem ficar acima do Canvas */
.premium-footer .container, .footer-bottom {
    position: relative;
    z-index: 10;
}

/* Ícones Sociais */
.social-icon {
    display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border-radius: 12px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.2); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-icon:hover {
    background: rgba(191, 149, 63, 0.05); border-color: #BF953F; transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3), 0 0 10px rgba(191, 149, 63, 0.2);
    color: #BF953F;
}

/* BOTÃO DO BLOG NEON DOURADO */
.rc-btn-blog-neon {
    background: rgba(191, 149, 63, 0.1); /* Fundo levemente dourado/transparente */
    border: 2px solid #BF953F; /* Borda dourada sólida */
    color: #FCF6BA; /* Texto claro */
    box-shadow: 0 0 15px rgba(191, 149, 63, 0.4); /* Neon dourado externo */
    transition: all 0.4s ease;
    cursor: pointer;
}
.rc-btn-blog-neon:hover {
    background: rgba(191, 149, 63, 0.2);
    box-shadow: 0 0 25px rgba(191, 149, 63, 0.8), inset 0 0 10px rgba(191, 149, 63, 0.2); /* Neon acende */
    transform: scale(1.03);
    color: #ffffff;
}

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* Efeitos Neon e Links Base */
@keyframes sutilNeonBlinkGold {
    0%, 100% { text-shadow: 0 0 4px rgba(191, 149, 63, 0.6), 0 0 10px rgba(191, 149, 63, 0.3); opacity: 1; }
    50% { text-shadow: 0 0 1px rgba(191, 149, 63, 0.2), 0 0 3px rgba(191, 149, 63, 0.1); opacity: 0.8; }
}
.neon-blink-gold { color: #BF953F; font-weight: 600; animation: sutilNeonBlinkGold 2.5s infinite alternate ease-in-out; }

.footer-link {
    position: relative; color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; transition: color 0.3s ease; display: inline-block; padding-bottom: 2px; cursor: pointer;
}
.footer-link::after {
    content: ''; position: absolute; width: 100%; height: 2px; bottom: -2px; left: 0;
    background-color: #BF953F; transform: scaleX(0); transform-origin: bottom right; transition: transform 0.3s ease-out; box-shadow: 0 0 8px rgba(191, 149, 63, 0.8);
}
.footer-link:hover { color: #ffffff; }
.footer-link:hover::after { transform: scaleX(1); transform-origin: bottom left; }

/* Créditos Alpha's */
.created-by-alphas {
    color: #64748b; transition: all 0.3s ease;
}
.created-by-alphas span {
    color: #BF953F; font-weight: 600; transition: all 0.3s ease;
}
.created-by-alphas:hover span {
    color: #FCF6BA; text-shadow: 0 0 15px rgba(191, 149, 63, 0.5);
}

/* WHATSAPP FLUTUANTE */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}
.floating-whatsapp:hover {
    background-color: #1ebe53;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    animation: none; /* Pausa o pulso no hover */
}
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* BOTÃO WHATSAPP DO HEADER (pulsar igual o flutuante) */
.header-whatsapp-pulse {
    animation: pulse-whatsapp 2s infinite;
}
.header-whatsapp-pulse:hover {
    animation: none;
}

/* MODAIS */
.rc-modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.rc-modal-overlay.active {
    opacity: 1; visibility: visible;
}
.rc-modal-content {
    background: #080808; border: 1px solid rgba(191, 149, 63, 0.3);
    border-radius: 16px; padding: 30px; max-width: 800px; width: 90%;
    max-height: 85vh; overflow-y: auto;
    transform: translateY(20px); transition: all 0.4s ease;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5), inset 0 0 20px rgba(191, 149, 63, 0.05);
}
.rc-modal-overlay.active .rc-modal-content {
    transform: translateY(0);
}
/* Estilização da scrollbar do modal */
.rc-modal-content::-webkit-scrollbar { width: 8px; }
.rc-modal-content::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 8px;}
.rc-modal-content::-webkit-scrollbar-thumb { background: #BF953F; border-radius: 8px; }

/* =========================================================
   SEÇÃO DO TIME (ERA)
   ========================================================= */
#era-team-final {
    position: relative;
    background: #050505;
    padding: 96px 24px;
    overflow: hidden;
    border-bottom: 1px solid rgba(191, 149, 63, 0.1);
}
#era-team-final::before {
    content: '';
    position: absolute;
    top: 0; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(191, 149, 63, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}
#era-team-final::after {
    content: '';
    position: absolute;
    bottom: -10%; left: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(191, 149, 63, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}

/* Imagem de fundo fixa (parallax) - reutilizável em qualquer seção */
.parallax-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/* Overlay escuro para manter legibilidade sobre a imagem */
.parallax-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.88) 50%, rgba(5,5,5,0.92) 100%);
}

/* Header */
.team-header {
    position: relative;
    z-index: 10;
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center;
}
.era-badge-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.era-badge-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A0D14, #080808);
    border: 2px solid #BF953F;
    box-shadow: 0 0 25px rgba(191, 149, 63, 0.3), inset 0 0 15px rgba(191, 149, 63, 0.15);
    overflow: hidden;
}
.era-badge-ring img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}
.era-badge-ring span {
    color: #BF953F;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.95rem;
}
.era-badge-text {
    color: #BF953F;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
}
.team-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 20px;
}
.team-header h2 span {
    background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.team-header p {
    color: #9CA3AF;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
}

/* Grid principal */
.team-grid {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
}
.team-row {
    display: grid;
    gap: 24px;
}
.team-row-top {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 40px;
}
@media (max-width: 1024px) {
    .team-row-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .team-row-top { grid-template-columns: 1fr; }
}

/* Card premium */
.premium-card {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(191, 149, 63, 0.25);
    background: #0A0D14;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.premium-card:hover {
    border-color: rgba(191, 149, 63, 0.6);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(191, 149, 63, 0.15);
}
.premium-card .name-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    background: rgba(8, 8, 8, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(191, 149, 63, 0.4);
    color: #FCF6BA;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 6px 12px;
    border-radius: 999px;
}
.premium-card .card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.premium-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
    filter: grayscale(15%) contrast(1.05);
}
.premium-card:hover .card-image img {
    transform: scale(1.06);
    filter: grayscale(0%) contrast(1.05);
}
.premium-card .card-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 16px 16px 14px;
    background: linear-gradient(to top, rgba(5,5,5,0.97) 25%, rgba(5,5,5,0.8) 65%, transparent 100%);
    transition: padding 0.45s cubic-bezier(0.4, 0, 0.2, 1), background 0.45s ease;
}
.premium-card:hover .card-overlay {
    padding-top: 40px;
    padding-bottom: 20px;
    background: linear-gradient(to top, rgba(5,5,5,0.97) 45%, rgba(5,5,5,0.85) 75%, transparent 100%);
}
.premium-card .member-name {
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 2px;
}
.premium-card .member-role {
    display: block;
    color: #BF953F;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.premium-card .member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, margin-top 0.45s ease, transform 0.45s ease;
}
.premium-card:hover .member-tags {
    max-height: 120px;
    opacity: 1;
    margin-top: 12px;
    transform: translateY(0);
}
.premium-card .member-tags span {
    font-size: 0.65rem;
    color: #e5e7eb;
    background: rgba(191, 149, 63, 0.12);
    border: 1px solid rgba(191, 149, 63, 0.3);
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Carrossel infinito */
.team-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.team-carousel-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: teamCarouselScroll 32s linear infinite;
}
.team-carousel-track:hover {
    animation-play-state: paused;
}
.team-carousel-track .premium-card {
    width: 260px;
    aspect-ratio: 3 / 4;
}
@keyframes teamCarouselScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Footer da seção / CTA */
.team-footer {
    position: relative;
    z-index: 10;
    max-width: 640px;
    margin: 64px auto 0;
    text-align: center;
}
.team-footer p {
    color: #9CA3AF;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(to right, #BF953F, #AA771C);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    padding: 20px 40px;
    border-radius: 0;
    transition: all 0.3s ease;
}
.btn-cta:hover {
    box-shadow: 0 0 25px rgba(191, 149, 63, 0.5);
    transform: scale(1.05);
}
