/* =========================================================================
   INDEX PAGE SPECIFIC STYLES
   ========================================================================= */

/* --- Hero Showcase --- */
.hero-showcase {
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 140px 5% 0;
    position: relative;
    overflow: hidden;
}

.home-title {
    color: #fff;
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.home-except {
    color: var(--br-text-muted);
    font-size: 22px;
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.home-image-block {
    margin-top: 60px;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    padding: 20px 20px 0 20px;
    transform: perspective(1000px) rotateX(2deg);
}

.home-image-block img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 40px var(--br-primary-alpha-20);
    border: 1px solid var(--br-border-glow);
}

/* --- Pulse Animation --- */
.pulse-layer {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 var(--br-primary-alpha-80);
    animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    pointer-events: none;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 var(--br-primary-alpha-80); }
    100% { box-shadow: 0 0 0 20px rgba(90, 0, 255, 0); }
}

/* --- Rating & Social Proof --- */
.rating-section {
    background: linear-gradient(180deg, rgba(10, 10, 15, 0) 0%, rgba(18, 18, 26, 0.4) 100%);
    border-bottom: 1px solid var(--br-border);
    padding: 80px 0 50px;
    position: relative;
    z-index: 15;
    margin-top: 60px;
    overflow: hidden;
}

.rating-rings {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.rating-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    left: 50%;
    transform: translateX(-50%);
}

.ring-1 { width: 1400px; height: 1400px; bottom: -1100px; }
.ring-2 { width: 1800px; height: 1800px; bottom: -1300px; border-color: rgba(255, 255, 255, 0.03); }

.social-proof-header {
    display: flex; align-items: center; justify-content: center; gap: 15px;
    width: 100%; max-width: 900px; margin: 0 auto 50px; position: relative; z-index: 20;
}

.sp-title { font-size: 14px; font-weight: 500; color: #fff; letter-spacing: 0.5px; white-space: nowrap; }
.sp-diamond { width: 5px; height: 5px; background: var(--br-border); transform: rotate(45deg); }
.sp-line { flex: 1; height: 1px; }
.sp-line-left { background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, var(--br-border) 100%); }
.sp-line-right { background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, var(--br-border) 100%); }

.rating-logo-block {
    display: flex; width: 100%; overflow: hidden; white-space: nowrap; position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.rating-logo-wrap {
    display: inline-flex; align-items: center; gap: 60px; padding-right: 60px;
    animation: scroll-left 100s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.rating-logo-wrap img {
    filter: brightness(0) invert(1); opacity: 0.65; transition: all 0.3s ease;
    height: 35px; width: auto; margin-top: 5px;
}

.rating-logo-wrap img:hover { opacity: 1; }

.rating-block {
    display: flex !important; flex-direction: column !important;
    align-items: center !important; justify-content: center !important; border: none !important;
}

/* --- Highlight Scroll Section --- */
.highlight-scroll-section {
    padding: 120px 0;
    position: relative;
    background: radial-gradient(circle at center, rgba(90, 0, 255, 0.05) 0%, transparent 60%);
}

.highlight-text-container {
    font-size: 46px; font-weight: 500; line-height: 1.35; letter-spacing: -0.02em;
    color: #fff; max-width: 900px; margin: 0 auto; text-align: center;
}

.highlight-word {
    display: inline-block; margin-right: -4px; padding-right: 12px; opacity: 0.15;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1); will-change: opacity;
}

/* --- Features Section --- */
.features-section { padding: 100px 0; position: relative; z-index: 10; }
.features-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.features-header h2 { font-size: 50px; font-weight: 600; color: #fff; margin-bottom: 16px; letter-spacing: -0.02em; }
.features-header p { font-size: 16px; color: var(--br-text-muted); line-height: 1.5; }

/* Configuração Base do Grid */
.features-grid {
    display: grid;
    /* No desktop: 2 colunas iguais */
    grid-template-columns: repeat(12, 1fr); 
    gap: 24px;
    width: 100%;
}

/* Ajuste específico para Tablet (telas até 991px) */
@media (max-width: 991px) {
    .features-grid {
        /* Força 2 colunas mesmo que o conteúdo seja longo */
        grid-template-columns: 1fr 1fr !important; 
        gap: 20px;
    }
    
    /* Garante que nenhum card específico esteja configurado para ocupar 2 colunas */
    .feature-card {
        grid-column: span 1 !important;
        width: 100%;
        height: 100%; /* Mantém os cards com a mesma altura na mesma linha */
    }
}

/* Ajuste para Mobile (telas abaixo de 767px) */
@media (max-width: 767px) {
    .features-grid {
        /* No celular sim, viramos 1 coluna apenas */
        grid-template-columns: 1fr !important;
    }
}
.feature-card {
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); position: relative;
}

.feature-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }

.feature-card:nth-child(n) { grid-column: span 4; }

.fc-header { display: flex; align-items: center; gap: 20px; padding: 30px 30px 0; position: relative; }
.fc-icon-wrap {
    width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
    position: relative; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.fc-icon-wrap img { width: 40px; height: 40px; position: relative; z-index: 1; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.fc-icon-glow { position: absolute; width: 80px; height: 80px; border-radius: 50%; filter: blur(24px); opacity: 0.25; transition: opacity 0.4s ease; }

.feature-card:hover .fc-icon-wrap { transform: translateY(-4px) scale(1.06); }
.feature-card:hover .fc-icon-glow { opacity: 0.45; }

.fc-content { padding: 16px 30px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.fc-header h3 { font-size: 20px; color: #fff; font-weight: 600; line-height: 1.3; margin: 0; transition: color 0.3s ease; }
.feature-card:hover .fc-header h3 { color: var(--br-primary-light); }
.fc-content p { font-size: 14px; color: var(--br-text-muted); line-height: 1.5; margin: 0; }

/* --- Club Section --- */
.club-section { padding: 120px 0; background-image: radial-gradient(circle at top right, rgba(90, 0, 255, 0.08) 0%, transparent 60%); position: relative; }
.club-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.club-left { display: flex; flex-direction: column; gap: 24px; }
.club-list { display: flex; flex-direction: column; gap: 16px; margin: 16px 0 32px; }
.club-list-item { display: flex; align-items: flex-start; gap: 12px; }
.club-list-icon {
    width: 24px; height: 24px; border-radius: 50%; background: rgba(90, 0, 255, 0.15);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid rgba(90, 0, 255, 0.3); margin-top: 2px;
}
.club-list-icon svg { width: 14px; height: 14px; stroke: var(--br-primary-light); }
.club-list-text { font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }


.club-right {
    position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1); background: #0A0415; transition: transform 0.4s ease;
}
.club-right:hover { transform: translateY(-5px); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6); }

/* --- Club Animation Panel --- */
.club-anim-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(160deg, #0d0520 0%, #08021a 100%);
    border-radius: 24px;
    overflow: hidden;
    padding: 24px;
    min-height: 560px;
    cursor: default;
}

.club-anim-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(90,0,255,0.18) 0%, transparent 65%);
    pointer-events: none;
}

.anim-athlete-card {
    position: relative;
    z-index: 10;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(138,76,255,0.35);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(90,0,255,0.25), 0 2px 8px rgba(0,0,0,0.4);
    transform: translateY(-140px);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
    margin-bottom: 16px;
}

.club-anim-panel.anim-active .anim-athlete-card {
    transform: translateY(0px);
    opacity: 1;
}

.aac-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.aac-avatar {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(90,0,255,0.15);
    border: 2px solid rgba(138,76,255,0.5);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.aac-avatar svg {
    width: 38px;
    height: 38px;
}

.aac-position-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: var(--br-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.15);
}

.aac-identity {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aac-name {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    letter-spacing: -0.2px;
}

.aac-club-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.aac-club-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    flex-shrink: 0;
}

.aac-club-name {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.aac-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.aac-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
    background: rgba(138,76,255,0.15);
    color: var(--br-primary-light);
    border: 1px solid rgba(138,76,255,0.25);
}

.aac-tag-green {
    background: rgba(16,185,129,0.12);
    color: #10B981;
    border-color: rgba(16,185,129,0.3);
}

.aac-score {
    text-align: center;
    background: rgba(90,0,255,0.15);
    border: 1px solid rgba(90,0,255,0.3);
    border-radius: 12px;
    padding: 8px 14px;
    flex-shrink: 0;
}

.aac-score-val {
    font-size: 24px;
    font-weight: 800;
    color: var(--br-primary-light);
    line-height: 1;
    letter-spacing: -1px;
}

.aac-score-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(138,76,255,0.7);
    font-weight: 600;
    margin-top: 2px;
}

.aac-stats-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.aac-stat {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    align-items: center;
}

.aac-stat-bar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}

.aac-stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--br-primary), var(--br-primary-light));
    border-radius: 2px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.club-anim-panel:not(.anim-active) .aac-stat-fill { width: 0 !important; }

.aac-stat-fill--alt {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

.aac-stat-label {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}

.aac-stat-val {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-align: right;
}

.aac-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.aac-contract {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

.aac-contract strong {
    color: #fbbf24;
}

.aac-action {
    font-size: 11px;
    font-weight: 600;
    color: var(--br-primary-light);
    cursor: pointer;
    transition: color 0.2s;
}

.aac-action:hover { color: #fff; }

/* ——— SHADOW TEAM ——— */
.anim-shadow-team {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1) 0.25s, opacity 0.6s ease 0.25s;
}

.club-anim-panel.anim-active .anim-shadow-team {
    transform: translateY(0);
    opacity: 1;
}

.ast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}

.ast-title-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.ast-title-row svg {
    color: var(--br-primary-light);
}

.ast-formation-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--br-primary-light);
    background: rgba(90,0,255,0.15);
    border: 1px solid rgba(90,0,255,0.3);
    padding: 3px 10px;
    border-radius: 100px;
}

.ast-pitch {
    flex: 1;
    position: relative;
    background: linear-gradient(180deg, #0d3d1a 0%, #0a2e13 100%);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    min-height: 200px;
}

.ast-field-line {
    position: absolute;
    left: 0; right: 0;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

.ast-center-line {
    top: 50%;
    height: 1px;
    transform: translateY(-50%);
}

.ast-center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}

.ast-penalty-top {
    top: 20%;
    height: 1px;
    left: 20%;
    right: 20%;
}

.ast-penalty-bottom {
    bottom: 20%;
    height: 1px;
    left: 20%;
    right: 20%;
}

.ast-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2;
}

.ast-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1;
    max-width: 64px;
}

.ast-player-dot {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(20,20,60,0.8);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 800;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.2px;
    transition: border-color 0.3s, background 0.3s;
}

.ast-player:hover .ast-player-dot {
    border-color: rgba(138,76,255,0.6);
    background: rgba(90,0,255,0.2);
}

.ast-player--gk .ast-player-dot {
    background: rgba(255,165,0,0.15);
    border-color: rgba(255,165,0,0.4);
    color: #fbbf24;
}

.ast-player--target .ast-player-dot {
    background: rgba(90,0,255,0.25);
    border: 2px solid var(--br-primary-light);
    color: var(--br-primary-light);
}

.ast-slot-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--br-primary-light);
    opacity: 0;
    animation: slot-pulse 2s ease-in-out infinite;
}

@keyframes slot-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 0; }
}

.ast-player-name {
    font-size: 9px;
    color: rgba(255,255,255,0.55);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
}

.ast-name--highlight {
    color: var(--br-primary-light);
    font-weight: 700;
}

.ast-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
}

.ast-footer span {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
}

/* --- Agent Animation Panel --- */
.agent-anim-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #0d0520 0%, #08021a 100%);
    border-radius: 24px;
    overflow: hidden;
    padding: 30px;
    min-height: 560px;
    cursor: default;
}

.agent-anim-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(90,0,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* ——— ATHLETE PROFILE ——— */
.anim-athlete-profile {
    position: relative;
    z-index: 10;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(138,76,255,0.25);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
    transform: translateX(-30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    width: 100%;
    max-width: 340px;
}

.agent-anim-panel.anim-active .anim-athlete-profile {
    transform: translateX(0);
    opacity: 1;
}

.aap-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.aap-avatar {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e1e3f, #0d0520);
    border: 1px solid rgba(138,76,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.aap-avatar svg {
    width: 44px;
    height: 44px;
    opacity: 0.7;
    color: var(--br-primary-light);
}

.aap-identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aap-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.aap-pos {
    font-size: 13px;
    color: var(--br-primary-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.aap-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
}

.aap-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aap-detail-label {
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.8px;
    font-weight: 600;
}

.aap-detail-val {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.aap-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
    padding: 0 10px;
}

.aap-stat-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.aap-stat-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(138,76,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    position: relative;
}

.aap-stat-ring::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid var(--br-primary-light);
    border-top-color: transparent;
    border-right-color: transparent;
    transform: rotate(45deg);
}

.aap-stat-label {
    font-size: 9px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.aap-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
}

.aap-btn {
    width: 100%;
    background: linear-gradient(90deg, var(--br-primary), #7a21ff);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(90,0,255,0.3);
}

.aap-btn:hover {
    background: linear-gradient(90deg, #6b00ff, #8a41ff);
    box-shadow: 0 8px 25px rgba(90,0,255,0.4);
}

.aap-btn:active {
    transform: scale(0.96);
}

/* ——— CHAT WINDOW ——— */
.anim-chat-window {
    position: absolute;
    bottom: 40px;
    right: 30px;
    width: 290px;
    background: #0d0d1a;
    border: 1px solid rgba(138,76,255,0.2);
    border-radius: 18px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    transform: translateX(50px) translateY(30px);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s, opacity 0.7s ease 0.4s;
    overflow: hidden;
}

@media (max-width: 767px) {
    .anim-chat-window {
        right: 15px;
        bottom: 20px;
        width: 260px;
    }
}

.agent-anim-panel.anim-active .anim-chat-window {
    transform: translateX(0) translateY(0);
    opacity: 1;
}

.acw-header {
    background: rgba(255,255,255,0.04);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.acw-agent-thumb {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(90,0,255,0.2);
    border: 1px solid rgba(138,76,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--br-primary-light);
}

.acw-agent-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.acw-agent-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.acw-agent-status {
    font-size: 10px;
    color: #10B981;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.acw-agent-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}

.acw-body {
    height: 200px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    background-image: radial-gradient(circle at 50% 50%, rgba(90,0,255,0.03) 0%, transparent 80%);
}

.acw-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.5;
    position: relative;
}

.acw-msg--agent {
    align-self: flex-start;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.9);
    border-bottom-left-radius: 2px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease 1.2s, transform 0.5s ease 1.2s;
}

.agent-anim-panel.anim-active .acw-msg--agent {
    opacity: 1;
    transform: translateY(0);
}

.acw-msg--user {
    align-self: flex-end;
    background: var(--br-primary);
    color: #fff;
    border-bottom-right-radius: 2px;
    box-shadow: 0 4px 12px rgba(90,0,255,0.25);
    display: none; /* Initially hidden, shown via JS click */
    animation: msg-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes msg-pop {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.acw-footer {
    padding: 12px 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    display: flex;
    align-items: center;
    gap: 12px;
}

.acw-input-mock {
    flex: 1;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    font-weight: 500;
}

.acw-send-mock {
    color: var(--br-primary-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.acw-send-mock:hover {
    transform: scale(1.1);
}

/* --- Testimonials --- */
.testimonials-section { 
    padding: 100px 0 120px; 
    position: relative; 
    overflow: hidden; 
    background-color: transparent !important;
    background-image: radial-gradient(circle at top left, rgba(90, 0, 255, 0.08) 0%, transparent 60%);
}
.testim-header { text-align: center; max-width: 600px; margin: 0 auto 60px; display: flex; flex-direction: column; align-items: center; }
.testim-header h2 { font-size: 50px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.testim-header p { font-size: 17px; color: rgba(255, 255, 255, 0.6); line-height: 1.5; }

.testim-carousel { position: relative; width: 100%; }
.testim-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.testim-track::-webkit-scrollbar { display: none; }

.testim-card { 
    flex: 0 0 400px; 
    scroll-snap-align: start; 
    background: rgba(255, 255, 255, 0.03) !important; 
    border: 1px solid rgba(255, 255, 255, 0.08) !important; 
    border-radius: 20px; 
    padding: 32px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px; 
    transition: all 0.3s ease; 
}
.testim-card:hover { border-color: rgba(90, 0, 255, 0.4); transform: translateY(-4px); }

.quote-icon {
    font-size: 60px;
    color: var(--br-primary);
    line-height: 0.8;
    font-family: serif;
    margin-bottom: 12px;
    opacity: 0.8;
}

.testim-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 32px;
    flex-grow: 1;
}

.testim-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.t-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.t-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.t-name {
    font-weight: 600;
    color: #fff;
    font-size: 15px;
}

.t-role {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.testim-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.testim-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
}

.testim-btn:hover {
    background: var(--br-primary);
    border-color: var(--br-primary);
    transform: scale(1.05);
}

.testim-btn svg {
    width: 20px;
    height: 20px;
}

/* --- Final CTA --- */
.final-cta-section { padding: 140px 0; background: radial-gradient(circle at 50% 100%, rgba(90, 0, 255, 0.2) 0%, transparent 60%); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 80vh; }
.cta-content { position: relative; z-index: 10; max-width: 800px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-heading { font-size: 54px; font-weight: 700; line-height: 1.1; color: #fff; }

.cta-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px dashed rgba(255, 255, 255, 0.1); border-radius: 50%; }
.cta-ring-1 { width: 600px; height: 600px; animation: spin-slow 40s linear infinite; }
.cta-ring-2 { width: 900px; height: 900px; animation: spin-slow 60s linear infinite reverse; }
@keyframes spin-slow { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }

/* Responsive adjustments */
@media (max-width: 991px) {
    .home-title { font-size: 56px; }
    .feature-card:nth-child(n) { grid-column: span 6; }
    .feature-card:nth-child(5) { grid-column: span 12; }
    .club-wrapper { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767px) {
    .home-title { font-size: 42px; }
    .home-except { font-size: 18px; }
    .hero-showcase { padding-top: 120px; }
    .highlight-text-container { font-size: 28px; }
    .features-header h2 { font-size: 32px; }
    .feature-card:nth-child(n) { grid-column: span 12; }
    .cta-heading { font-size: 42px; }
    .testim-card { flex: 0 0 300px; padding: 24px; }
}

/* Configuração Base para Desktop */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Força 4 colunas */
    gap: 24px;
    text-align: center;
}

/* Estilo do número grande (Big Number) */
.stats-grid .glass-card div:nth-child(2) {
    font-size: 42px; /* Tamanho original */
    transition: font-size 0.3s ease;
}

/* Ajuste para Tablet (Telas entre 768px e 1100px) */
@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr) !important; /* Garante uma linha só */
        gap: 12px; /* Diminui o espaço entre cards para caber melhor */
    }

    /* Diminui o tamanho da fonte para não quebrar linha no número */
    .stats-grid .glass-card div:nth-child(2) {
        font-size: 28px !important; 
    }
    
    .stats-grid .glass-card {
        padding: 24px 15px !important; /* Reduz o respiro interno do card */
    }
}

/* Ajuste para Mobile (Telas abaixo de 767px) */
@media (max-width: 767px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* No mobile fica 2x2 */
        gap: 16px;
    }

    .stats-grid .glass-card div:nth-child(2) {
        font-size: 32px !important;
    }
}
