/* Variáveis de Cores (Baseadas no Layout) */
:root {
    --cor-primaria: #E4804E;
    --cor-texto: #f4e9e3;
    --cor-bg-botao: rgba(255, 255, 255, 0.08);
}

/* Reset e Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #0d0d0d;
    color: var(--cor-texto);
    -webkit-font-smoothing: antialiased;
    /* Imagem de fundo apontando para a pasta correta */
    background-image: url('../img/bg-topo.jpg');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: auto; /* <-- Mágica aqui: mantém os 1920x1009 originais sem esticar */
    min-height: 100vh;
}

/* Container Limitador (1200px) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.logo {
    width: 171px;
    height: auto;
}

/* Navegação Central */
.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--cor-texto);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a.destaque {
    color: var(--cor-primaria);
}

/* Botões da Direita (Entrar / Registre-se) */
.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-entrar {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--cor-texto);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-entrar img {
    width: 18px;
    height: 18px;
}

.btn-registar {
    text-decoration: none;
    color: #fff;
    background-color: var(--cor-primaria);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    transition: opacity 0.3s ease;
}

.btn-registar:hover, .btn-entrar:hover {
    opacity: 0.8;
}

/* HERO SECTION */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 60px;
    min-height: 1000px; /* <-- Altura mínima ajustada para exibir bem a imagem de fundo */
    justify-content: center; /* <-- Adicionado para manter o texto e os botões alinhados ao meio dessa área maior */
}

.hero h1 {
    font-size: 80px;
    font-weight: 600;
    color: var(--cor-primaria);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 20px;
    font-weight: 400;
    max-width: 800px;
    line-height: 1.5;
    margin-bottom: 60px;
    color: rgba(244, 233, 227, 0.9);
}

/* Área de Integrações (Strava / Garmin) */
.integrations-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.integrations-text {
    font-size: 14px;
    font-weight: 400;
    text-align: center; /* Adicionado para garantir a centralização */
    width: 100%; /* Permite que ele use todo o espaço da div pai */
    line-height: 1.4;
    /* Removido o max-width: 250px que estava apertando o texto */
}

.integrations-boxes {
    display: flex;
    gap: 20px;
}

.app-box {
    position: relative;
    background-color: var(--cor-bg-botao);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 180px;
    backdrop-filter: blur(5px);
}

.app-box img {
    width: 120px;
    height: auto;
}

/* Tags Ativo / Em Breve */
.badge {
    position: absolute;
    top: -10px;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge-ativo {
    background-color: #2E7D32;
    color: #fff;
}

.badge-breve {
    background-color: var(--cor-primaria);
    color: #fff;
}

/* CTA PRINCIPAL */
.btn-cta-large {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 560px;
    height: 72px;
    background-color: var(--cor-primaria);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    transition: transform 0.2s ease, background-color 0.3s ease;
    margin: 0 auto;
}

.btn-cta-large:hover {
    transform: translateY(-2px);
    background-color: #d17141;
}

/* RESPONSIVIDADE (MOBILE) */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }
    .hero h2 {
        font-size: 16px;
    }
    .integrations-boxes {
        flex-direction: column;
        width: 100%;
    }
    .app-box {
        width: 100%;
    }
    .btn-cta-large {
        max-width: 100%;
    }
}

/* =========================================
   SEÇÃO DASHBOARD CARROSSEL
   ========================================= */
.dashboard-section {
    background-color: #1b1817; /* Cor de fundo exigida */
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.dashboard-container {
    background-color: #2b2827; /* Cor da caixa interna */
    border-radius: 50px;       /* Cantos bem arredondados */
    max-width: 1200px;
    width: 100%;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dashboard-container h2 {
    font-size: 80px;
    font-weight: 700; /* Bold */
    color: var(--cor-primaria);
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 1000px;
}

.dashboard-subtitle {
    font-size: 20px;
    font-weight: 400; /* Regular */
    color: var(--cor-texto);
    line-height: 1.5;
    max-width: 800px;
    margin-bottom: 50px;
    min-height: 60px; /* Evita que a caixa pule de tamanho se o texto for menor */
    transition: opacity 0.3s ease; /* Efeito suave na troca de texto */
}

.carousel-wrapper {
    width: 100%;
    max-width: 1000px; /* Mantém a imagem num tamanho agradável */
}

.carousel-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    transition: opacity 0.3s ease; /* Efeito suave na troca da imagem */
}

/* Bolinhas do Carrossel */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #555555;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--cor-primaria);
}

/* Responsividade do Bloco */
@media (max-width: 900px) {
    .dashboard-container h2 { font-size: 50px; }
    .dashboard-subtitle { font-size: 18px; }
    .dashboard-container { padding: 60px 40px; border-radius: 40px; }
}

@media (max-width: 600px) {
    .dashboard-container h2 { font-size: 36px; }
    .dashboard-subtitle { font-size: 16px; min-height: 80px; }
    .dashboard-container { padding: 40px 20px; border-radius: 20px; }
}
/* =========================================
   SEÇÃO DE BLOCOS DE INFORMAÇÃO
   ========================================= */
.info-blocks-section {
    background-color: #1b1817; /* Continuação do fundo da seção anterior */
    padding: 0 20px 80px;
    display: flex;
    justify-content: center;
}

.info-blocks-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    gap: 30px;
}

/* --- Bloco da Esquerda (Objetivos) --- */
.info-box-left {
    background-color: #2b2827;
    border-radius: 50px;
    display: flex;
    flex: 0 0 790px; /* Trava a largura do bloco em 790px no desktop */
    max-width: 100%; /* Proteção para telas menores */
    overflow: hidden;
}

.info-box-left-img {
    width: 100%;
    max-width: 490px; /* A imagem não passa de 490px */
    background-image: url('../img/bloco-metas.png');
    background-size: cover;
    background-position: center left;
}

.info-box-left-content {
    flex: 1; /* Ocupa exatamente o espaço que sobrar (aprox 300px) */
    padding: 50px 30px 50px 10px; /* Ajuste para o texto não colar nas bordas, mantendo o visual do layout */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-box-left-content h3 {
    font-size: 35px;
    font-weight: 600; /* Semibold */
    color: var(--cor-texto);
    line-height: 1.2;
    margin-bottom: 20px;
}

.info-box-left-content p {
    font-size: 16px;
    font-weight: 400; /* Regular */
    color: rgba(244, 233, 227, 0.7); /* Bege levemente escurecido como no layout */
    margin-bottom: 30px;
    line-height: 1.5;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-list li {
    font-size: 16px;
    font-weight: 600; /* Semibold */
    color: var(--cor-texto);
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-list li img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* --- Bloco da Direita (O que é) --- */
.info-box-right {
    flex: 1; /* Ocupa o espaço restante */
    border-radius: 50px;
    background-image: url('../img/bloco-o-que-e.png');
    background-size: cover;
    background-position: center;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
}

.info-box-right h3 {
    font-size: 35px;
    font-weight: 600; /* Semibold */
    color: var(--cor-primaria);
    line-height: 1.2;
    margin-bottom: 20px;
}

.info-box-right p {
    font-size: 16px;
    font-weight: 400; /* Regular */
    color: rgba(255, 255, 255, 0.85); /* Tom levemente translúcido */
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Empurra o botão de link lá para o final do bloco */
.info-link {
    margin-top: auto; 
    font-size: 16px;
    font-weight: 600; /* Semibold */
    color: var(--cor-primaria);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease;
}

.info-link:hover {
    opacity: 0.8;
}

/* --- Responsividade --- */
@media (max-width: 1000px) {
    .info-blocks-container {
        flex-direction: column; /* Coloca uma caixa embaixo da outra */
    }
    
    .info-box-left {
        flex-direction: column;
    }
    
    .info-box-left-img {
        width: 100%;
        height: 300px;
        background-position: top center;
    }
    
    .info-box-left-content {
        width: 100%;
        padding: 40px;
    }
}

@media (max-width: 600px) {
    .info-box-left-content h3, .info-box-right h3 {
        font-size: 28px;
    }
    .info-box-left-content, .info-box-right {
        padding: 40px 25px;
        border-radius: 30px;
    }
    .info-box-left, .info-box-right {
        border-radius: 30px;
    }
}
/* =========================================
   SEÇÃO CHAMADA PARA AÇÃO (CTA FINAL)
   ========================================= */
.cta-section {
    background-color: #0d0d0d; /* Fundo base bem escuro */
    padding: 120px 20px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
}

.cta-section h2 {
    font-size: 80px;
    font-weight: 600; /* Semibold */
    color: var(--cor-primaria);
    line-height: 1.1;
    margin-bottom: 30px;
}

.cta-section p {
    font-size: 20px;
    font-weight: 400; /* Regular */
    color: var(--cor-texto);
    line-height: 1.5;
    max-width: 850px; /* Segura a largura para o texto quebrar como no layout */
    margin-bottom: 50px;
}

/* --- Responsividade do CTA --- */
@media (max-width: 900px) {
    .cta-section h2 {
        font-size: 50px;
    }
    .cta-section p {
        font-size: 18px;
    }
    .cta-section {
        padding: 80px 20px;
    }
}

@media (max-width: 600px) {
    .cta-section h2 {
        font-size: 36px;
    }
    .cta-section p {
        font-size: 16px;
    }
    .cta-section {
        padding: 60px 20px;
    }
}
/* =========================================
   SEÇÃO DE CARDS DE RELATÓRIOS
   ========================================= */
.reports-section {
    background-color: #0d0d0d; /* Mantém a continuidade do fundo do CTA */
    padding: 0 20px 100px;
    display: flex;
    justify-content: center;
}

.reports-container {
    max-width: 1200px;
    width: 100%;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Base do Card */
.report-card {
    border-radius: 30px; /* Bordas arredondadas acompanhando o padrão */
    min-height: 580px; /* Altura suficiente para mostrar os gráficos da imagem de fundo */
    padding: 50px 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Mantém o texto grudado no topo */
    
    /* Configuração padrão do fundo para todos os cards */
    background-size: cover;
    background-position: center bottom; /* Prende a imagem embaixo */
    background-repeat: no-repeat;
    background-color: #1a1716; /* Cor de fallback caso a imagem demore a carregar */
    
    transition: transform 0.3s ease;
}

/* Efeito Hover sutil */
.report-card:hover {
    transform: translateY(-10px);
}

/* Imagens de fundo específicas para cada card */
.card-1 {
    background-image: url('../img/Agrupar 6.png');
}

.card-2 {
    background-image: url('../img/Agrupar 7.png');
}

.card-3 {
    background-image: url('../img/Agrupar 8.png');
}

/* Textos do Card */
.report-subtitle {
    font-size: 16px;
    font-weight: 400; /* Regular */
    color: rgba(244, 233, 227, 0.8); /* Bege levemente transparente */
    margin-bottom: 8px;
}

.report-title {
    font-size: 32px;
    font-weight: 700; /* Bold */
    color: var(--cor-primaria); /* Laranja do projeto */
    line-height: 1.2;
}

/* --- Responsividade dos Relatórios --- */
@media (max-width: 1000px) {
    .reports-grid {
        /* No tablet, quebra para 2 em cima e 1 embaixo */
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .reports-grid {
        /* No celular, fica um card debaixo do outro */
        grid-template-columns: 1fr;
    }
    
    .report-card {
        min-height: 500px; /* Diminui um pouco a altura no celular */
        padding: 40px 25px;
    }
    
    .report-title {
        font-size: 28px;
    }
}
/* --- Texto Extra (Abaixo dos Relatórios) --- */
.reports-footer-text {
    text-align: center;
    margin-top: 80px; /* Distância entre os cards e o texto */
}

.reports-footer-text p {
    font-size: 38px;
    font-weight: 400; /* Regular */
    color: var(--cor-texto); /* Usa o bege padrão do site */
    line-height: 1.3;
}

/* Responsividade do Texto Extra */
@media (max-width: 900px) {
    .reports-footer-text p {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .reports-footer-text p {
        font-size: 22px;
        margin-top: 50px; /* Diminui o respiro no celular */
    }
}
.reports-container {
    max-width: 1200px;
    width: 100%;
    display: flex;           /* Adicione esta linha */
    flex-direction: column;  /* Adicione esta linha */
}