/* RESET E VARIÁVEIS */
:root {
    --primary-red: #b91c1c; /* Vermelho escuro do PDF */
    --bright-red: #ef4444; /* Vermelho mais vivo para detalhes */
    --dark-bg: #0f0f0f;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --gradient-red: linear-gradient(180deg, #450a0a 0%, #7f1d1d 100%);
    --gradient-overlay: linear-gradient(rgba(0,0,0,0.7), rgba(69, 10, 10, 0.8));
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
}

/* UTILITÁRIOS */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.text-center { text-align: center; }
.relative { position: relative; z-index: 2; }

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

h3 {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    font-weight: 400;
}

.highlight-text {
    color: var(--bright-red);
    font-weight: 700;
    margin-bottom: 15px;
}

/* ÍCONES */
.icon-large { font-size: 4rem; color: var(--bright-red); margin-bottom: 20px; display: block; }
.icon-medium { font-size: 3rem; color: var(--bright-red); margin-bottom: 15px; display: block; margin-left: auto; margin-right: auto; }

/* BOTÕES */
.btn-cta {
    display: inline-block;
    background-color: var(--bright-red);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
    transition: transform 0.3s, background 0.3s;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background-color: #d32f2f;
    transform: scale(1.05);
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* SEÇÕES GERAIS */
section {
    padding: 80px 0;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: url('img/soccer-bg.jpg') no-repeat center center/cover; /* Substitua pela sua imagem */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 4rem;
    color: var(--bright-red);
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #ddd;
}

/* SEÇÃO VERMELHA (SOBRE, ESCOLINHA, PATROCINADORES, DADOS, CONTATO) */
.section-red {
    background: var(--gradient-red);
    border-top: 1px solid #550000;
    border-bottom: 1px solid #550000;
}

.highlight-box {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 4px solid var(--text-white);
}

/* SEÇÃO DARK COM IMAGEM (PAIS, RECEITA, APP, COMUNIDADE, DIFERENCIAIS) */
.section-dark-img {
    background: url('img/field-bg.jpg') no-repeat center center/cover; /* Substitua */
    position: relative;
    background-attachment: fixed; /* Efeito Parallax */
}

.overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
}

/* GRIDS E CARDS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--bright-red);
    transition: transform 0.3s;
}

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

.card i { color: var(--bright-red); font-size: 1.5rem; margin-bottom: 10px; }
.card h4 { margin-bottom: 5px; font-size: 1.1rem; }
.card p { font-size: 0.9rem; color: #ccc; }

/* BARRA CTA */
.bar-cta {
    background: #333;
    padding: 15px;
    text-align: center;
    border-radius: 50px;
    margin-top: 40px;
    font-weight: 600;
    border: 1px solid #555;
}

/* PAINEL ESCURO (ESCOLINHA, PATROCINADORES) */
.dark-panel {
    background: rgba(0,0,0,0.4);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.grid-2-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
}

.grid-2-list ul { list-style: none; }
.grid-2-list li { margin-bottom: 15px; display: flex; align-items: center; }
.num {
    background: var(--bright-red);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* TABELA DE RECEITA */
.revenue-table {
    background: rgba(0,0,0,0.6);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid #444;
}

.table-header, .table-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 15px;
    text-align: center;
    align-items: center;
}

.table-header {
    background: #222;
    font-weight: 700;
    color: var(--bright-red);
    font-size: 0.9rem;
}

.table-row { border-top: 1px solid #444; }
.highlight.big { font-size: 1.2rem; color: #4ade80; font-weight: bold; }

/* APP SECTION */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.feature-list-styled { list-style: none; margin-top: 20px; }
.feature-list-styled li { margin-bottom: 15px; font-size: 1.1rem; }
.feature-list-styled i { color: var(--bright-red); margin-right: 10px; }

.phone-mockup {
    width: 200%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* CARDS DADOS */
.card-dark {
    background: #222;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    border-bottom: 3px solid var(--bright-red);
}

/* COMUNIDADE */
.simple-list { list-style: none; margin-top: 20px; text-align: left; display: inline-block; }
.simple-list li { margin-bottom: 10px; }
.simple-list i { color: #fbbf24; margin-right: 10px; }

/* DIFERENCIAIS */
.card-glass {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.num-badge {
    display: block;
    margin: 0 auto 10px;
    width: 30px;
    height: 30px;
    background: var(--bright-red);
    border-radius: 50%;
    line-height: 30px;
    font-weight: bold;
}

/* CONTATO */
.contact-box {
    background: #111;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    margin: 30px auto 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.contact-box p { margin-bottom: 15px; font-size: 1.1rem; }
.contact-box i { margin-right: 10px; color: var(--bright-red); }
.full-width { display: block; width: 100%; text-align: center; margin-top: 20px; }

/* FOOTER */
.testimonial-box {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 800px;
    font-style: italic;
}

.author {
    margin-top: 15px;
    color: var(--bright-red);
    font-weight: bold;
    font-style: normal;
}

.final-cta-box {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 20px;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    h2 { font-size: 1.8rem; }
    .grid-2-cols { grid-template-columns: 1fr; text-align: center; }
    .grid-2-list { grid-template-columns: 1fr; }
    .revenue-table { overflow-x: auto; }
    .table-header, .table-row { min-width: 600px; } /* Scroll horizontal na tabela */
    .hero { background-attachment: scroll; }
    .section-dark-img { background-attachment: scroll; }
}

/* WIDGET WHATSAPP */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'Montserrat', sans-serif;
}

/* Botão Redondo */
.whatsapp-btn {
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    text-decoration: none;
    position: relative;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20bd5a;
}

/* Bolinha vermelha de notificação */
.notification-dot {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--bright-red); /* Usando o vermelho do seu site */
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid #fff;
}

/* Animação de Pulso Verde */
.pulse-green {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    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); }
}

/* O Popup (Balão de mensagem) */
.whatsapp-popup {
    background: white;
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 15px;
    overflow: hidden;
    opacity: 0; /* Começa invisível */
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none; /* Não clicável quando invisível */
}

.whatsapp-popup.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.popup-header {
    background: #075e54; /* Verde escuro WhatsApp */
    padding: 15px;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.agent-avatar {
    background: white;
    color: #075e54;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.agent-info {
    display: flex;
    flex-direction: column;
}

.agent-name { font-weight: 700; font-size: 0.9rem; }
.agent-status { font-size: 0.7rem; opacity: 0.9; }

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
}

.popup-body {
    padding: 15px;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.4;
    background-color: #f0f0f0;
}

/* Responsividade para celular */
@media (max-width: 768px) {
    .whatsapp-widget { bottom: 20px; right: 20px; }
    .whatsapp-btn { width: 50px; height: 50px; font-size: 28px; }
    .whatsapp-popup { width: 250px; }
}