:root {
    /* Updated Palette */
    --primary-color: #C49A25; 
    --primary-hover: #e0b435;
    --dark-bg: #0d1117;     /* Pure dark/black background */
    --darker-bg: #000000;   /* Pure black */
    --box-bg: #161b22;      /* slightly lighter dark for boxes */
    --border-dark: #30363d; /* subtle border */
    --text-grey-light: #8b949e; 
    --text-white: #ffffff;
}

/* OVERRIDE BULMA VARIABLES */
.has-text-primary {
    color: var(--primary-color) !important;
}
.has-background-primary {
    background-color: var(--primary-color) !important;
}
.button.is-primary {
    background-color: var(--primary-color);
    color: #000 !important;
}
.button.is-primary:hover {
    background-color: var(--primary-hover);
}
.tag.tag-primary {
    background-color: var(--primary-color) !important;
    color: #000 !important;
}

/* Global Styles */
html {
    scroll-behavior: smooth;
    font-family: 'Satoshi', sans-serif;
    background-color: var(--darker-bg);
}

body {
    font-family: 'Satoshi', sans-serif;
    color: var(--text-white);
    background-color: var(--darker-bg);
}

/* Typography Overrides */
.title, .subtitle, .button {
    font-family: 'Satoshi', sans-serif;
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.lh-tight {
    line-height: 1.2 !important;
}

.text-balanced {
    text-wrap: balance;
}

/* Base Theme Classes */
.has-background-black {
    background-color: var(--darker-bg) !important;
}
.section-dark {
    background-color: var(--dark-bg);
}
.box-dark {
    background-color: var(--box-bg) !important;
    color: var(--text-white) !important;
    border: 1px solid var(--border-dark);
}
.border-top-dark {
    border-top: 1px solid var(--border-dark);
}
.border-bottom-dark {
    border-bottom: 1px solid var(--border-dark);
}
.border-top-primary {
    border-top: 4px solid var(--primary-color);
}
.border-left-primary {
    border-left: 4px solid var(--primary-color);
}
.border-bottom-primary {
    border-bottom: 1px solid var(--primary-color);
}
.shadow-primary {
    box-shadow: 0 0 20px rgba(196, 154, 37, 0.15) !important;
}
.border-primary {
    border: 2px solid var(--primary-color) !important;
}
.border-radius-16 {
    border-radius: 16px;
}
.border-radius-8 {
    border-radius: 8px;
}
.bg-transparent {
    background-color: transparent !important;
}
a.has-text-white:hover {
    color:black !important;
}
.button {
    white-space: normal; /* Permite a quebra de linha */
    height: auto;        /* Permite que o botão cresça verticalmente */
    padding-top: 10px;   /* Ajuste de respiro */
    padding-bottom: 10px;
}
/* Hero Section */
.hero-bg {
    background: linear-gradient(135deg, rgba(13, 17, 23, 1) 0%, rgba(30, 24, 0, 1) 100%); 
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(196,154,37,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.underline-highlight {
    position: relative;
    display: inline-block;
}
.underline-highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: 5px;
    left: 0;
    background-color: rgba(196, 154, 37, 0.4);
    z-index: -1;
    border-radius: 4px;
}

/* Interactive & Animations */
.scale-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.scale-hover:hover {
    transform: translateY(-3px) scale(1.02);
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(196, 154, 37, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(196, 154, 37, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(196, 154, 37, 0);
    }
}

.button.is-action-green {
    background-color: #00ff2a !important;
    color: #000 !important;
    border-color: transparent !important;
}
.button.is-action-green:hover {
    background-color: #3dff5d !important;
}

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

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgb(0, 255, 94);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.shadow-lg {
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* Helpers */
.opacity-80 {
    opacity: 0.8;
}

.d-flex {
    display: flex;
    align-items: flex-start;
}
.cursor-pointer {
    cursor: pointer;
}
.hover-primary:hover {
    color: var(--primary-color) !important;
}

/* Modules Section */
.module-card-wrapper {
    margin-bottom: 1rem;
}

.module-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-dark);
}

.module-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.95) 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.module-icon {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    font-size: 1.5rem;
    color: var(--text-white);
    transition: transform 0.3s ease;
}

.module-card.is-active .module-icon {
    transform: rotate(180deg);
}

.module-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
    opacity: 0;
}

.module-content.is-active {
    max-height: 1000px;
    opacity: 1;
    margin-top: 0.5rem;
}

.custom-border-primary {
    border: 2px solid var(--primary-color);
}

#modulos {
    background: url(.labs/sessao04.jpeg);
    background-size: cover;
    background-position: center;
}

#inicio {
    background: url(.labs/sessao01.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.empreendedor {
    background: #e5e500;
    color: black;
}