/* Estilos Globais */
:root {
    --primary-color: #0056b3;
    --secondary-color: #004494;
    --accent-color: #ff6b00;
    --text-color: #333;
    --light-gray: #f5f7fa;
    --medium-gray: #e0e0e0;
    --dark-gray: #757575;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --info-color: #2196f3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #e65100;
    color: #fff;
}

.btn-full {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
}

.btn-full:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Cabeçalho */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin: 0 15px;
}

.main-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* Navegação Secundária */
.sub-nav {
    background-color: #f0f4f8;
    padding: 10px 0;
    border-bottom: 1px solid #e0e6ed;
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
}

.breadcrumbs ul li {
    position: relative;
    padding-right: 20px;
    margin-right: 15px;
    font-size: 0.9rem;
}

.breadcrumbs ul li:not(:last-child)::after {
    content: '>';
    position: absolute;
    right: 0;
    color: var(--dark-gray);
}

.breadcrumbs ul li a {
    color: var(--dark-gray);
}

.breadcrumbs ul li a:hover {
    color: var(--primary-color);
}

.breadcrumbs ul li.active {
    color: var(--primary-color);
    font-weight: 500;
}

/* Layout da Página */
.page-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin: 40px 0;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-block {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-block h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--medium-gray);
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu li a {
    display: block;
    padding: 8px 10px;
    border-radius: 4px;
    color: var(--text-color);
}

.sidebar-menu li a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.sidebar-menu li a.active {
    background-color: var(--primary-color);
    color: #fff;
}

.help-box {
    text-align: center;
}

.help-box h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.help-box p {
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Conteúdo Principal */
.main-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.main-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.intro-block {
    margin-bottom: 30px;
}

.intro-block p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.stats-banner {
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
}

.stats-banner img {
    width: 100%;
    height: auto;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.content-section p {
    margin-bottom: 20px;
}

/* Lista de Passos */
.steps-list {
    list-style: none;
    counter-reset: steps;
    margin: 30px 0;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
    margin-right: 15px;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

/* Cards de Estatísticas */
.stats-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stats-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stats-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.stats-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.stats-card ul {
    padding-left: 20px;
    list-style-type: disc;
}

.stats-card ul li {
    margin-bottom: 8px;
    color: var(--text-color);
}

/* Estatísticas Avançadas */
.advanced-stats {
    margin: 30px 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.stats-item {
    background-color: #fff;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stats-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.stats-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.stats-item p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* Exemplo de Estatísticas */
.stats-example {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.stats-example h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.example-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.example-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.example-text {
    flex: 1;
    min-width: 300px;
}

.example-text p {
    margin-bottom: 15px;
}

/* Estatísticas ao Vivo */
.live-stats-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-right: 15px;
    color: var(--primary-color);
}

.feature-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Campeonatos e Torneios */
.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.tournament-category {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.tournament-category h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--medium-gray);
}

.tournaments-list {
    padding-left: 20px;
    list-style-type: disc;
}

.tournaments-list li {
    margin-bottom: 8px;
    color: var(--text-color);
}

/* FAQs */
.faq-section {
    margin-top: 50px;
}

.faq-list {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--light-gray);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9edf2;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    flex: 1;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 10px;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--dark-gray);
}

/* Rodapé */
footer {
    background-color: #1a1f36;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex-basis: 30%;
    margin-bottom: 30px;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links {
    flex-basis: 65%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    flex-basis: 30%;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #aaa;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover,
.footer-column ul li a.active {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    font-size: 20px;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Responsividade - Media Queries */
@media (max-width: 992px) {
    .page-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .stats-categories,
    .live-stats-features,
    .tournaments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .footer-links {
        flex-basis: 100%;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        order: 2;
        flex-grow: 1;
        text-align: center;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 4;
    }
    
    .main-nav.show {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .main-nav ul li {
        margin: 0;
    }
    
    .main-nav ul li a {
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid var(--medium-gray);
    }
    
    .cta-buttons {
        order: 3;
        margin-left: auto;
    }
    
    .menu-toggle {
        display: block;
        order: 1;
    }
    
    .stats-categories,
    .live-stats-features,
    .tournaments-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 20px;
    }

    .example-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .cta-buttons .btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .main-content h1 {
        font-size: 1.8rem;
    }

    .content-section h2 {
        font-size: 1.3rem;
    }

    .breadcrumbs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }

    .footer-column {
        flex-basis: 100%;
    }
}
