/* ========================================
   Go Up Treinamentos - Curso de Power BI
   Business Intelligence & Analytics Aesthetic
   ======================================== */

:root {
    --bg-dark: #06070b;
    --bg-terminal: #0b0e17;
    --bg-card: #111524;
    --bg-header: #0e111d;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --powerbi-gold: #f2c811;
    --powerbi-gold-dim: rgba(242, 200, 17, 0.15);
    --border-color: #1f293d;
    --border-light: #374151;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gold-glow: rgba(242, 200, 17, 0.25);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.highlight-gold {
    color: var(--powerbi-gold);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--powerbi-gold);
    color: #000;
    padding: 8px;
    z-index: 100;
}
.skip-link:focus {
    top: 0;
}

/* === Floating Menu === */
.floating-menu {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
}

.floating-menu-btn {
    background: rgba(11, 14, 23, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.5rem;
    color: var(--powerbi-gold);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-menu-btn:hover {
    border-color: var(--powerbi-gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

.floating-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 180px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
}
.floating-menu-dropdown ul {
    list-style: none;
}
.floating-menu-dropdown a {
    display: block;
    padding: 0.85rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}
.floating-menu-dropdown a:hover {
    background: var(--border-color);
    color: var(--powerbi-gold);
}
.floating-menu-dropdown .menu-cta {
    background: var(--powerbi-gold);
    color: #000;
    margin: 0.5rem 1rem;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
}
.floating-menu-dropdown .menu-cta:hover {
    background: #e5bd0e;
    color: #000;
}

.floating-menu.active .floating-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* === Hero Section === */
.hero-bi {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    background: radial-gradient(circle at center, #11172a 0%, var(--bg-dark) 100%);
    text-align: center;
    overflow: hidden;
}

.hero-bi::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        linear-gradient(90deg, rgba(31, 41, 61, 0.4) 1px, transparent 1px) 0 0 / 60px 60px,
        linear-gradient(0deg, rgba(31, 41, 61, 0.4) 1px, transparent 1px) 0 0 / 60px 60px;
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeIn 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1.2rem;
    background: var(--powerbi-gold-dim);
    color: var(--powerbi-gold);
    border: 1px solid var(--powerbi-gold);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}
.hero-title span {
    background: linear-gradient(135deg, var(--powerbi-gold), #e97627);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Layout Geral Seções === */
.section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* === Seção Sobre / Detalhes === */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .sobre-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
}

.sobre-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.sobre-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.sobre-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition-smooth);
}
.stat-card:hover {
    border-color: var(--powerbi-gold);
    box-shadow: 0 5px 15px rgba(242, 200, 17, 0.08);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--powerbi-gold);
    margin-bottom: 0.3rem;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* === Módulos / Accordion === */
.modulos-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modulo-item {
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
}

.modulo-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: var(--bg-header);
    border-left: 3px solid transparent;
    transition: var(--transition-smooth);
}

.modulo-header:hover {
    background: #151a2e;
    border-left-color: var(--border-light);
}

.modulo-item.active .modulo-header {
    border-left-color: var(--powerbi-gold);
}

.modulo-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modulo-toggle {
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.modulo-item.active .modulo-toggle {
    transform: rotate(180deg);
    color: var(--powerbi-gold);
}

.modulo-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.modulo-item.active .modulo-content {
    max-height: 1000px;
}

.modulo-list {
    padding: 1.5rem;
    list-style: none;
    border-top: 1px solid var(--border-color);
}

.modulo-list li {
    padding: 0.6rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.modulo-list li:last-child {
    border-bottom: none;
}

.modulo-list li::before {
    content: '\f14a'; /* FontAwesome check-square */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--powerbi-gold);
    margin-right: 12px;
}

/* === Valores & Pricing === */
.trilhas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.trilha-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.trilha-card:hover {
    border-color: var(--powerbi-gold);
    box-shadow: 0 10px 30px var(--gold-glow);
    transform: translateY(-5px);
}

.trilha-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-header);
    text-align: center;
}

.trilha-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.trilha-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.trilha-planos {
    padding: 1.5rem;
    flex: 1;
}

.plano-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--border-color);
}
.plano-item:last-child {
    border-bottom: none;
}

.plano-info h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}
.plano-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.plano-preco {
    text-align: right;
}
.plano-preco .valor {
    display: block;
    font-weight: 800;
    color: var(--text-primary);
    font-size: 1.15rem;
}
.plano-preco .parcelas {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.trilha-cta {
    display: block;
    text-align: center;
    padding: 1.2rem;
    background: var(--bg-header);
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-top: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    text-transform: uppercase;
}
.trilha-cta:hover {
    background: var(--text-primary);
    color: #000;
}

.trilha-card.featured {
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, var(--powerbi-gold), #e97627) border-box;
}
.trilha-card.featured .trilha-header {
    background: linear-gradient(135deg, rgba(242, 200, 17, 0.1), rgba(233, 118, 39, 0.1));
}
.trilha-card.featured .trilha-name {
    background: linear-gradient(135deg, var(--powerbi-gold), #e97627);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.trilha-card.featured .trilha-cta {
    background: linear-gradient(135deg, var(--powerbi-gold), #e97627);
    color: #000;
    border-top: none;
}
.trilha-card.featured .trilha-cta:hover {
    filter: brightness(1.15);
}

/* === EAD Promo Banner === */
.ead-banner-bi {
    max-width: 650px;
    margin: 3rem auto 0;
    background: rgba(242, 200, 17, 0.05);
    border: 1px solid var(--powerbi-gold);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 25px rgba(242, 200, 17, 0.05);
}
.ead-banner-bi h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.ead-banner-bi p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}
.ead-banner-bi .ead-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--powerbi-gold);
    margin-bottom: 1.2rem;
}
.ead-banner-bi .btn-secondary {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    max-width: 250px;
}

/* === CTA Section === */
.cta-section {
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: var(--bg-header);
    padding: 5rem 2rem;
}
.cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.cta-section p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

/* === Buttons === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--powerbi-gold), #e97627);
    color: #000;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 8px;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--gold-glow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1.2rem 2.5rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--text-primary);
}

.btn-primary-sharp {
    background: var(--powerbi-gold);
    color: #000;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
}
.btn-primary-sharp:hover {
    background: #e5bd0e;
}
