/* ============================================================
   D-MRG ACADEMY — style.css v7.0 FINAL DEFINITIVO
   Arquitetura: Design Token System + Semantic Classes
   ============================================================ */

/* ============================================================
   CORREÇÃO CRÍTICA - NAVBAR AZUL ESCURO
   ============================================================ */
#mainNavbar,
.navbar,
nav.navbar,
nav#mainNavbar {
    background: rgba(11,27,94,0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3) !important;
    padding: 0.7rem 0 !important;
    transition: all 0.3s ease !important;
    z-index: 1030 !important;
}

#mainNavbar.scrolled,
nav.navbar.scrolled {
    background: rgba(9,21,80,1) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4) !important;
}

/* ============================================================
   1. DESIGN TOKENS (variáveis globais)
   ============================================================ */
:root {
    /* --- Marca --- */
    --clr-orange:       #E8520A;
    --clr-orange-lt:    #FF6B2B;
    --clr-yellow:       #F5C400;
    --clr-blue-dark:    #0D1F6B;
    --clr-blue-mid:     #1B3A9E;
    --clr-blue-lt:      #3A5BD9;
    --clr-blue-pale:    #5B7FFF;

    /* --- Fundos Light --- */
    --bg-white:         #FFFFFF;
    --bg-light:         #F4F6FB;
    --bg-alt:           #EEF2FA;
    --bg-blue-pale:     #F0F4FF;

    /* --- Fundos Dark --- */
    --bg-dark:          #0D1F6B;
    --bg-dark-2:        #102278;
    --bg-dark-card:     #1A2D80;
    --bg-dark-input:    #0B1B5E;

    /* --- Gradientes --- */
    --grad-brand:       linear-gradient(135deg, #E8520A 0%, #F5C400 100%);
    --grad-hero:        linear-gradient(150deg, #0D1F6B 0%, #1B3A9E 55%, #0D1F6B 100%);
    --grad-dark-cta:    linear-gradient(135deg, #0D1F6B 0%, #1B3A9E 100%);

    /* --- Texto --- */
    --txt-dark:         #0F172A;
    --txt-body:         #334155;
    --txt-muted:        #64748B;
    --txt-white:        #FFFFFF;
    --txt-white-muted:  rgba(255,255,255,0.65);
    --txt-white-soft:   rgba(255,255,255,0.85);

    /* --- Bordas --- */
    --brd-light:        #E2E8F0;
    --brd-card:         #D1DCF5;
    --brd-dark:         rgba(255,255,255,0.12);
    --brd-orange:       rgba(232,82,10,0.35);

    /* --- Sombras --- */
    --shd-sm:           0 2px 8px  rgba(13,31,107,0.08);
    --shd-md:           0 4px 20px rgba(13,31,107,0.13);
    --shd-lg:           0 8px 40px rgba(13,31,107,0.18);
    --shd-dark:         0 4px 24px rgba(0,0,0,0.3);
    --shd-orange:       0 8px 28px rgba(232,82,10,0.35);
    --shd-navbar:       0 2px 20px rgba(0,0,0,0.3);

    /* --- Raios --- */
    --rad-sm:   8px;
    --rad-md:   12px;
    --rad-lg:   16px;
    --rad-xl:   24px;
    --rad-full: 9999px;

    /* --- Transição --- */
    --ease:     all 0.3s ease;

    /* --- Tipografia --- */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--txt-body);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

main { flex: 1; }
a { text-decoration: none; transition: var(--ease); }
img { max-width: 100%; height: auto; }
code, pre, .mono { font-family: var(--font-mono); }

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--txt-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--txt-muted);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { 
    background: var(--clr-orange); 
    border-radius: 3px; 
}
::-webkit-scrollbar-thumb:hover { 
    background: var(--clr-orange-lt); 
}
::selection { background: rgba(232,82,10,0.2); }

/* ============================================================
   3. NAVBAR - ELEMENTOS
   ============================================================ */

/* Logo CSS Puro */
.logo-dmrg-css {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E8520A 0%, #F5C400 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    box-shadow: 0 0 20px rgba(232, 82, 10, 0.5),
                0 0 40px rgba(232, 82, 10, 0.3);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.logo-dmrg-css:hover {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 0 30px rgba(232, 82, 10, 0.7),
                0 0 60px rgba(232, 82, 10, 0.4);
}

/* Texto da marca */
.brand-text-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff !important;
    letter-spacing: 1px;
    line-height: 1;
}

.brand-text-sub {
    font-size: 0.55rem;
    font-weight: 700;
    color: #F5C400 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 2px;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--ease);
}

.navbar-brand:hover {
    opacity: 0.9;
}

/* Links nav */
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.5rem 0.9rem !important;
    border-radius: var(--rad-sm);
    transition: var(--ease);
    position: relative;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

.navbar-nav .nav-link.active {
    color: #fff !important;
    background: rgba(232,82,10,0.2);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--grad-brand);
    border-radius: 2px;
}

/* Avatar usuário */
.user-avatar-sm {
    width: 40px;
    height: 40px;
    background: var(--grad-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--ease);
    border: 2px solid rgba(232,82,10,0.5);
}

.user-avatar-sm:hover {
    transform: scale(1.06);
    box-shadow: 0 0 14px rgba(232,82,10,0.5);
}

/* Dropdown */
.dropdown-menu {
    background: var(--bg-white) !important;
    border: 1px solid var(--brd-card) !important;
    border-radius: var(--rad-lg) !important;
    box-shadow: var(--shd-lg) !important;
    padding: 6px !important;
    margin-top: 0.5rem !important;
}

.dropdown-item {
    color: var(--txt-body) !important;
    font-size: 0.88rem;
    border-radius: var(--rad-sm) !important;
    transition: var(--ease);
    padding: 0.5rem 1rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--bg-blue-pale) !important;
    color: var(--clr-blue-dark) !important;
}

.dropdown-item.text-danger:hover {
    background: rgba(220,53,69,0.08) !important;
    color: #DC3545 !important;
}

.dropdown-divider {
    border-color: var(--brd-light) !important;
    margin: 0.5rem 0 !important;
}

/* Navbar Toggler (mobile) */
.navbar-toggler {
    border-color: rgba(255,255,255,0.3) !important;
    color: #fff !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ============================================================
   4. SISTEMA DE SEÇÕES SEMÂNTICAS
   ============================================================ */
.s-white {
    background-color: var(--bg-white);
}

.s-alt {
    background-color: var(--bg-blue-pale);
}

.s-light {
    background-color: var(--bg-light);
}

.s-dark {
    background: var(--grad-hero);
    color: var(--txt-white);
}

.s-dark-cta {
    background: var(--grad-dark-cta);
    border-top: 3px solid var(--clr-orange);
    color: var(--txt-white);
}

.s-border-bottom-orange {
    border-bottom: 3px solid var(--clr-orange);
}

.s-border-top {
    border-top: 1px solid var(--brd-card);
}

/* ============================================================
   5. HERO SECTION
   ============================================================ */
.hero-section {
    min-height: 88vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse 70% 60% at 10% 50%,
            rgba(232,82,10,0.18) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 30%,
            rgba(58,91,217,0.2) 0%, transparent 55%),
        var(--grad-hero);
    border-bottom: 3px solid var(--clr-orange);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
    color: var(--txt-white);
}

.hero-section::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232,82,10,0.1) 0%, transparent 65%);
    top: -100px;
    right: 5%;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232,82,10,0.18);
    color: #FF8C50;
    border: 1px solid rgba(232,82,10,0.45);
    border-radius: var(--rad-full);
    padding: 0.45rem 1.15rem;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--txt-white);
    line-height: 1.12;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--txt-white-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 530px;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Code box hero */
.hero-code-box {
    background: rgba(5,10,35,0.88);
    border: 1px solid rgba(232,82,10,0.25);
    border-top: 3px solid var(--clr-orange);
    border-radius: var(--rad-lg);
    padding: 2.5rem 2rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 2;
    color: #a8b3cf;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.hero-code-box::before {
    content: '⬤  ⬤  ⬤';
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 0.5rem;
    color: rgba(255,255,255,0.2);
    letter-spacing: 4px;
}

/* Syntax highlight */
.code-cm  { color: #6272a4; font-style: italic; }
.code-kw  { color: #c792ea; }
.code-fn  { color: #82aaff; }
.code-str { color: #c3e88d; }
.code-num { color: #f78c6c; }
.code-var { color: #ffcb6b; }

/* Hero tech badges */
.hero-tech-badge {
    background: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.85) !important;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* ============================================================
   6. PAGE HEADER
   ============================================================ */
.page-header {
    background: var(--grad-dark-cta);
    border-bottom: 3px solid var(--clr-orange);
    padding: 3rem 0;
    color: var(--txt-white);
}

.page-header .section-title {
    color: var(--txt-white);
}

.page-header .section-subtitle {
    color: var(--txt-white-muted);
}

/* ============================================================
   7. TÍTULOS DE SEÇÃO
   ============================================================ */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(232,82,10,0.1);
    color: var(--clr-orange);
    border: 1px solid rgba(232,82,10,0.3);
    border-radius: var(--rad-full);
    padding: 0.35rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 1rem;
}

.s-dark .section-badge,
.s-dark-cta .section-badge,
.page-header .section-badge {
    background: rgba(232,82,10,0.2);
    color: #FF8C50;
    border-color: rgba(232,82,10,0.5);
}

.section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--txt-dark);
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin-bottom: 0.75rem;
}

.s-dark .section-title,
.s-dark-cta .section-title,
.page-header .section-title {
    color: var(--txt-white);
}

.section-subtitle {
    color: var(--txt-muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 560px;
}

.s-dark .section-subtitle,
.s-dark-cta .section-subtitle,
.page-header .section-subtitle {
    color: var(--txt-white-muted);
}

.text-gradient {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   8. CARDS
   ============================================================ */
.card-base {
    background: var(--bg-white);
    border: 1.5px solid var(--brd-card);
    border-radius: var(--rad-lg);
    box-shadow: var(--shd-sm);
    transition: var(--ease);
}

.card-base:hover {
    border-color: var(--clr-orange);
    box-shadow: var(--shd-md);
    transform: translateY(-4px);
}

/* Card de categoria */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: var(--bg-white);
    border: 1.5px solid var(--brd-card);
    border-radius: var(--rad-lg);
    box-shadow: var(--shd-sm);
    text-decoration: none;
    transition: var(--ease);
    height: 100%;
}

.category-card:hover {
    border-color: var(--clr-orange);
    transform: translateY(-5px);
    box-shadow: var(--shd-md);
    background: #FFFAF7;
}

.category-card h6 {
    color: var(--txt-dark);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.category-card small {
    color: var(--txt-muted);
    font-size: 0.75rem;
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--rad-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 0.85rem;
    flex-shrink: 0;
    transition: var(--ease);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(-3deg);
}

/* Card de curso */
.course-card {
    background: var(--bg-white);
    border: 1.5px solid var(--brd-card);
    border-radius: var(--rad-lg);
    box-shadow: var(--shd-sm);
    overflow: hidden;
    transition: var(--ease);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    border-color: var(--clr-orange);
    transform: translateY(-5px);
    box-shadow: var(--shd-lg);
}

.course-thumb {
    width: 100%;
    height: 185px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: var(--bg-alt);
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .course-thumb img {
    transform: scale(1.06);
}

.course-body {
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    color: var(--clr-orange);
}

.course-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--txt-dark);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.course-desc {
    font-size: 0.83rem;
    color: var(--txt-muted);
    line-height: 1.65;
    margin-bottom: 0.75rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--txt-muted);
    margin-bottom: 0.75rem;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--brd-light);
}

/* Nível badges */
.nivel-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--rad-full);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.nivel-iniciante,
.nivel-badge.nivel-iniciante {
    background: rgba(25,135,84,0.1);
    color: #198754;
    border: 1px solid rgba(25,135,84,0.3);
}

.nivel-intermediario,
.nivel-badge.nivel-intermediario {
    background: rgba(184,125,0,0.1);
    color: #B07D00;
    border: 1px solid rgba(184,125,0,0.3);
}

.nivel-avancado,
.nivel-badge.nivel-avancado {
    background: rgba(232,82,10,0.1);
    color: var(--clr-orange);
    border: 1px solid rgba(232,82,10,0.3);
}

/* Card de plano */
.plan-card {
    background: var(--bg-white);
    border: 2px solid var(--brd-card);
    border-radius: var(--rad-xl);
    padding: 2.25rem;
    transition: var(--ease);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shd-sm);
}

.plan-card:hover {
    border-color: var(--clr-orange);
    transform: translateY(-6px);
    box-shadow: var(--shd-lg);
}

.plan-card.popular {
    border-color: var(--clr-orange);
    box-shadow: 0 0 0 1px rgba(232,82,10,0.2), var(--shd-lg);
}

.plan-badge-popular {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-brand);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 1.2rem;
    border-radius: 0 0 12px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.plan-price-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--txt-dark);
    line-height: 1;
}

.plan-price-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--clr-orange);
    vertical-align: super;
    margin-right: 2px;
}

.plan-price-period {
    font-size: 0.82rem;
    color: var(--txt-muted);
}

.plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--txt-body);
    padding: 0.4rem 0;
}

.plan-feature .bi-check-circle-fill {
    color: #198754;
    flex-shrink: 0;
    font-size: 1rem;
}

.plan-feature .bi-x-circle-fill {
    color: var(--brd-card);
    flex-shrink: 0;
    font-size: 1rem;
}

.plan-feature .txt-off {
    color: var(--txt-muted);
}

/* Card info (dashboard stats) */
.card-info {
    background: var(--bg-white);
    border: 1.5px solid var(--brd-card);
    border-radius: var(--rad-lg);
    padding: 1.5rem;
    box-shadow: var(--shd-sm);
    transition: var(--ease);
}

.card-info:hover {
    border-color: var(--clr-orange);
    transform: translateY(-3px);
    box-shadow: var(--shd-md);
}

/* Card genérico de conteúdo */
.card-content {
    background: var(--bg-white);
    border: 1.5px solid var(--brd-card);
    border-radius: var(--rad-lg);
    padding: 1.5rem;
    box-shadow: var(--shd-sm);
    transition: var(--ease);
}

.card-content:hover {
    border-color: rgba(232,82,10,0.4);
    box-shadow: var(--shd-md);
}

/* Card form */
.card-form {
    background: var(--bg-white);
    border: 1.5px solid var(--brd-card);
    border-radius: var(--rad-xl);
    padding: 2.5rem;
    box-shadow: var(--shd-lg);
}

/* Filter card */
.filter-card {
    background: var(--bg-white);
    border: 1.5px solid var(--brd-card);
    border-radius: var(--rad-lg);
    padding: 1.5rem;
    box-shadow: var(--shd-sm);
}

/* ============================================================
   9. BOTÕES
   ============================================================ */
.btn {
    padding: 0.75rem 1.75rem;
    border-radius: var(--rad-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-brand {
    background: var(--grad-brand) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--rad-sm);
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: var(--ease);
    box-shadow: 0 4px 12px rgba(232, 82, 10, 0.3);
}

.btn-brand:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: var(--shd-orange);
    color: #fff !important;
}

.btn-brand:active {
    filter: brightness(0.95);
    transform: translateY(0);
}

.btn-outline-brand {
    color: var(--clr-orange) !important;
    border: 2px solid var(--clr-orange) !important;
    background: transparent !important;
    border-radius: var(--rad-sm);
    font-weight: 600;
    transition: var(--ease);
}

.btn-outline-brand:hover {
    background: var(--clr-orange) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shd-orange);
}

.btn-outline-light {
    color: rgba(255,255,255,0.85) !important;
    border: 1.5px solid rgba(255,255,255,0.3) !important;
    background: rgba(255,255,255,0.08) !important;
    border-radius: var(--rad-sm);
    font-weight: 600;
    transition: var(--ease);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.16) !important;
    border-color: rgba(255,255,255,0.6) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-gradient {
    background: var(--grad-brand) !important;
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 12px rgba(232, 82, 10, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 82, 10, 0.4);
    color: #fff !important;
}

.btn-primary {
    background: var(--clr-blue-dark) !important;
    color: #fff !important;
}

.btn-primary:hover {
    background: var(--clr-blue-mid) !important;
    color: #fff !important;
}

/* Pulsação */
.pulse-glow {
    animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%,100% { box-shadow: 0 0 0 0 rgba(232,82,10,0); }
    50%      { box-shadow: 0 0 20px 6px rgba(232,82,10,0.35); }
}

/* ============================================================
   10. FORMULÁRIOS
   ============================================================ */
.form-label {
    color: var(--txt-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.form-control,
.form-select {
    background: var(--bg-white) !important;
    border: 1.5px solid var(--brd-light) !important;
    border-radius: var(--rad-sm) !important;
    color: var(--txt-dark) !important;
    font-size: 0.9rem;
    padding: 0.65rem 0.95rem;
    transition: var(--ease);
}

.form-control::placeholder {
    color: var(--txt-muted) !important;
    opacity: 1;
}

.form-control:focus,
.form-select:focus {
    background: var(--bg-white) !important;
    border-color: var(--clr-orange) !important;
    box-shadow: 0 0 0 3px rgba(232,82,10,0.14) !important;
    color: var(--txt-dark) !important;
    outline: none;
}

.form-select option {
    background: var(--bg-white);
    color: var(--txt-dark);
}

.input-group-text {
    background: var(--bg-light) !important;
    border: 1.5px solid var(--brd-light) !important;
    border-right: none !important;
    color: var(--clr-orange) !important;
    border-radius: var(--rad-sm) 0 0 var(--rad-sm) !important;
}

.input-group .form-control {
    border-left: none !important;
    border-radius: 0 var(--rad-sm) var(--rad-sm) 0 !important;
}

.form-check-input {
    background-color: var(--bg-white) !important;
    border-color: var(--brd-light) !important;
    width: 1.1em;
    height: 1.1em;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--clr-orange) !important;
    border-color: var(--clr-orange) !important;
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(232,82,10,0.18) !important;
}

.form-check-label {
    color: var(--txt-muted);
    font-size: 0.88rem;
}

.form-text {
    color: var(--txt-muted) !important;
    font-size: 0.78rem;
}

/* Divisor "ou" */
.divider-or {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--txt-muted);
    font-size: 0.8rem;
    margin: 1.25rem 0;
}

.divider-or::before,
.divider-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--brd-light);
}

.divider-gradient {
    height: 2px;
    border: none;
    margin: 1.25rem 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(232,82,10,0.5) 30%,
        rgba(245,196,0,0.5) 70%,
        transparent 100%
    );
}

/* ============================================================
   11. FOOTER
   ============================================================ */
.footer-custom {
    background: linear-gradient(160deg, #0B1B5E 0%, #091550 100%);
    border-top: 3px solid var(--clr-orange);
    color: var(--txt-white-muted);
}

.footer-link {
    display: block;
    color: rgba(255,255,255,0.5) !important;
    font-size: 0.85rem;
    padding: 0.2rem 0;
    margin-bottom: 0.1rem;
    text-decoration: none !important;
    transition: var(--ease);
}

.footer-link:hover {
    color: var(--clr-orange-lt) !important;
    padding-left: 6px;
}

/* ============================================================
   12. UTILITÁRIOS
   ============================================================ */
.txt-orange      { color: var(--clr-orange)      !important; }
.txt-yellow      { color: var(--clr-yellow)      !important; }
.txt-blue        { color: var(--clr-blue-lt)     !important; }
.txt-dark        { color: var(--txt-dark)        !important; }
.txt-body        { color: var(--txt-body)        !important; }
.txt-muted       { color: var(--txt-muted)       !important; }
.txt-white       { color: var(--txt-white)       !important; }
.txt-white-muted { color: var(--txt-white-muted) !important; }
.txt-off         { color: var(--txt-muted) !important; opacity: 0.6; }

.hover-lift { transition: var(--ease); }
.hover-lift:hover { transform: translateY(-4px); }

.shd-sm  { box-shadow: var(--shd-sm) !important; }
.shd-md  { box-shadow: var(--shd-md) !important; }
.shd-lg  { box-shadow: var(--shd-lg) !important; }

/* Progress bar */
.progress-thin {
    height: 6px;
    border-radius: 3px;
    background: var(--bg-alt);
    overflow: hidden;
    width: 100%;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--grad-brand);
    transition: width 0.6s ease;
}

/* Stat icon */
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 82, 10, 0.1);
    color: var(--clr-orange);
    font-size: 1.4rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--txt-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--txt-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Filter title */
.filter-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--txt-muted);
    margin-bottom: 0.6rem;
}

.filter-badge {
    background: rgba(232,82,10,0.1) !important;
    border: 1px solid rgba(232,82,10,0.25) !important;
    color: var(--clr-orange) !important;
    font-size: 0.78rem !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 50px !important;
}

/* Alerts */
.alert-ok {
    background: rgba(25,135,84,0.08);
    border: 1px solid rgba(25,135,84,0.3);
    border-radius: var(--rad-md);
    color: #166534;
}

.alert-err {
    background: rgba(220,53,69,0.08);
    border: 1px solid rgba(220,53,69,0.3);
    border-radius: var(--rad-md);
    color: #991B1B;
}

/* Scroll Top */
#scrollTopBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: var(--grad-brand);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shd-orange);
    transition: var(--ease);
}

#scrollTopBtn:hover {
    transform: translateY(-3px) scale(1.08);
}

#scrollTopBtn.show {
    display: flex;
}

/* Reading progress */
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-orange), var(--clr-yellow));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ============================================================
   13. ANIMAÇÕES
   ============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.anim-fade-up { animation: fadeUp 0.65s ease both; }
.anim-fade-up:nth-child(1) { animation-delay: 0.00s; }
.anim-fade-up:nth-child(2) { animation-delay: 0.10s; }
.anim-fade-up:nth-child(3) { animation-delay: 0.20s; }
.anim-fade-up:nth-child(4) { animation-delay: 0.30s; }
.anim-fade-up:nth-child(5) { animation-delay: 0.40s; }

.anim-fade-in { animation: fadeIn 0.5s ease both; }

/* ============================================================
   14. RESPONSIVO
   ============================================================ */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0 3rem;
        text-align: center;
    }
    
    .hero-desc {
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-code-box {
        font-size: 0.78rem;
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    #navbarMenu {
        padding: 1rem 0;
        border-top: 1px solid var(--brd-dark);
        margin-top: 0.5rem;
    }
    
    .navbar-nav .nav-link.active::after {
        display: none;
    }
    
    .section-subtitle {
        max-width: 100%;
    }
    
    .logo-dmrg-css {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.1rem;
    }
    
    .section-title {
        font-size: 1.65rem;
    }
    
    .card-form {
        padding: 1.75rem;
    }
    
    .plan-card {
        padding: 1.5rem;
    }
    
    .plan-price-value {
        font-size: 2.4rem;
    }
}

@media (max-width: 575.98px) {
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-stat strong {
        font-size: 1.6rem;
    }
    
    .category-icon {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }
    
    #scrollTopBtn {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 40px;
        height: 40px;
    }
    
    .logo-dmrg-css {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* ============================================================
   FIM DO ARQUIVO style.css
   ============================================================ */
