/* Paleta de Cores e Configurações Gerais */
:root {
    /* Mapeamento Mágico: Suas variáveis originais agora puxam a cor do Painel Admin automaticamente */
    --brand-orange: var(--brand-primary, #0046fe); 
    --wireframe-gray: #aeaeae;
    --brand-green: var(--brand-secondary, #2ecc71);
    --premium-blue: #001242;
}

/* NORMALIZAÇÃO DE FONTE PARA EVITAR O NEGRITO EXCESSIVO NO MAC */
body {
    background-color: #ffffff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-text-size-adjust: 100%; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
    font-weight: 400; /* Alterado de 100 para 400 */
    color: #333;
    margin: 0;
    padding: 0;
}

/* Opcional: Se os botões dos filtros estiverem a forçar negrito */
.form-select, .btn, .dropdown-item {
    -webkit-font-smoothing: antialiased;
    font-weight: 400 !important;
}

/* 2. HERO SECTION */
.hero-box {
    background-color: var(--wireframe-gray);
    height: 320px;
    border-radius: 12px;
}

.btn-cta {
    background-color: var(--brand-green) !important;
    border-color: var(--brand-green) !important;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.btn-cta:hover {
    transform: scale(1.03);
}

.section-title {
    color: #555555;
    font-weight: 600;
}

/* 3. CARROSSEL */
.card-gray {
    background-color: var(--wireframe-gray);
    height: 220px;
    border-radius: 8px;
}

.custom-carousel-btn {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 15px;
}

.carousel-indicators {
    bottom: -35px;
}

.carousel-indicators button {
    background-color: var(--wireframe-gray) !important;
}

/* 4. BANNER INTERMEDIÁRIO */
.banner-box {
    background-color: var(--wireframe-gray);
    height: 120px;
    border-radius: 8px;
}

/* 5. SEÇÃO DE PREÇOS */
.pricing-section {
    background-color: var(--premium-blue);
    border-radius: 24px;
}

.max-w-700 {
    max-width: 700px;
}

.premium-price-card {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.premium-price-card.featured {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid #00f2fe;
}

@media (max-width: 991px) {
    .premium-price-card.featured {
        transform: none;
    }
}

.plan-header-text h3 {
    color: var(--brand-orange);
    letter-spacing: -0.5px;
}

.sub-plan-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.currency-value {
    font-size: 3rem;
    color: color-mix(in srgb, var(--brand-orange) 80%, black);
    font-weight: 900;
    line-height: 1;
}

.currency-value .cents {
    font-size: 1.5rem;
    vertical-align: super;
    font-weight: 700;
}

.text-dark-blue {
    color: color-mix(in srgb, var(--brand-orange) 65%, black) !important;
}

.bg-discount {
    background-color: var(--brand-green);
    color: #ffffff;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 6px;
}

.recommended-badge {
    background: linear-gradient(90deg, #00b4db, #0083b0);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.features-list li {
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
    text-align: left;
}

.check-blue {
    color: color-mix(in srgb, var(--brand-orange) 85%, white);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.btn-outline-premium {
    color: var(--brand-orange);
    border: 2px solid var(--brand-orange);
    background-color: transparent;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-outline-premium:hover {
    background-color: var(--brand-orange);
    color: #ffffff;
}

.btn-gradient-premium {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
    transition: opacity 0.2s ease;
}

.btn-gradient-premium:hover {
    opacity: 0.9;
    color: white;
}

/* =========================================
   ESTILOS EXCLUSIVOS DA PÁGINA INICIAL
========================================= */
.banner-destaque {
    background-image: url('style/banner-site.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--brand-orange); 
    height: 250px;
    border-radius: 15px;
    margin-top: 40px;
    width: 100%;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--brand-orange) 30%, white);
}

.dot.active {
    background-color: var(--brand-orange);
}

.card-inicio {
    border: 1px solid #EAEAEA;
    border-radius: 10px;
    padding: 25px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    height: 100%;
    transition: transform 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-inicio:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
}

.card-inicio h4 {
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.card-inicio p {
    color: #666;
    margin-bottom: 0;
    font-size: 1.05rem;
}

@media (min-width: 992px) {
    .container-reduzido {
        max-width: 1000px;
    }
}

/* =========================================
   PAINEL DE DESEMPENHO (DESEMPENHO.PHP)
========================================= */
.card-stat {
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: 0.2s;
}

.card-stat h2 {
    font-size: 2.5rem;
    color: #555;
    letter-spacing: -1px;
}

.bg-green-custom {
    background-color: var(--brand-green) !important;
    color: white !important;
    border: none;
}

.bg-green-custom h2 { color: white; }

.bg-red-custom {
    background-color: #C0392B !important;
    color: white !important;
    border: none;
}

.bg-red-custom h2 { color: white; }

.btn-group-custom .btn {
    border-color: #ced4da;
    color: #555;
}

.btn-group-custom .btn.active {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
    color: white;
}

/* =========================================
   SEÇÃO DE DESEMPENHO NA HOME
========================================= */
.home-stat-card {
    background-color: #F8F9FB;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #F0F0F0;
}

.home-stat-card p {
    font-size: 1.05rem;
    color: #444;
}

.stat-number {
    color: #4A3B7E;
    font-weight: 700;
    margin-bottom: 0;
}

.home-ranking-card {
    background-color: #F8F9FB;
    border-radius: 10px;
    border: 1px solid #F0F0F0;
}

.btn-ranking-active {
    background-color: var(--brand-green);
    color: #ffffff;
    border: none;
}

.btn-ranking-active:hover {
    filter: brightness(0.9);
}

.ranking-box {
    background-color: #FFFFFF;
}

/* =========================================
   PÁGINA DE PERFIL DO USUÁRIO
========================================= */
.profile-avatar {
    width: 90px;
    height: 90px;
    background-color: #B3B3B3;
    border-radius: 50%;
    display: inline-block;
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 2px;
}

.profile-email {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
}

.profile-since {
    font-size: 0.85rem;
    color: #999;
}

.plan-container-bg {
    background-color: #F9F9F9;
    border-radius: 8px;
    padding: 30px;
}

.plan-card-white {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.date-box-plan {
    background-color: #F4F5F7;
    border-radius: 6px;
    padding: 8px 15px;
    min-width: 110px;
}

.alert-renew-plan {
    background-color: color-mix(in srgb, var(--brand-orange) 10%, white);
    border-radius: 8px;
    padding: 20px;
}

.alert-renew-text {
    color: var(--brand-orange);
    font-weight: 500;
    font-size: 0.95rem;
}

.btn-blue-plan {
    background-color: var(--brand-orange);
    color: white;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.btn-blue-plan:hover {
    background-color: color-mix(in srgb, var(--brand-orange) 80%, black);
    color: white;
}

.plan-fine-print {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.5;
}

.table-plan th {
    background-color: #F8F9FA;
    color: #444;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
}

.table-plan td {
    vertical-align: middle;
    border: none;
    color: #555;
    font-size: 0.9rem;
    padding: 15px 10px;
}

.badge-status-active {
    background-color: var(--brand-orange);
    color: white;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.profile-footer-link {
    font-size: 1.3rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    transition: color 0.2s;
}

.profile-footer-link:hover {
    color: var(--brand-orange);
}

/* =========================================
   ESTILOS DOS FILTROS E CONTROLES (QUESTÕES)
========================================= */
.custom-select {
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    padding: 12px 15px; 
    color: #333;
    background-color: #ffffff;
    font-size: 1rem;
    width: 100%;
}

@media (max-width: 768px) {
    .custom-select {
        height: 50px; 
        font-size: 1.05rem;
    }
}

.btn-filtrar-custom {
    background-color: var(--brand-orange);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 15px;
    border-radius: 8px;
    border: none;
    height: 50px;
}
.btn-filtrar-custom:hover {
    background-color: color-mix(in srgb, var(--brand-orange) 80%, black);
    color: white;
}

.font-size-controls {
    display: inline-flex;
    align-items: center;
    background-color: white;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    overflow: hidden;
}
.font-size-controls button {
    background-color: white;
    padding: 8px 20px; 
    font-size: 1.1rem;
}
.font-size-controls button:hover {
    background-color: #f8f9fa;
}