/* ============================================
   FUTURALIS v2 — Tema Azul Petróleo
   Fonte: Inter (sem serifa)
   Paleta: #0B3D4C | #061E26 | #E8B84B
   ============================================ */

:root {
    --petroleo-900: #061E26;
    --petroleo-800: #0B3D4C;
    --petroleo-700: #0F2E3A;
    --petroleo-600: #1A5F6E;
    --petroleo-500: #247A8C;
    --petroleo-400: #3A9AB0;
    --petroleo-300: #6BC4D8;
    --petroleo-200: #A8D8E8;
    --petroleo-100: #E0F4FA;
    
    --gold: #E8B84B;
    --gold-light: #F5D78E;
    --gold-dark: #C99A2E;
    --gold-ghost: rgba(232, 184, 75, 0.08);
    
    --text-primary: #F0F4F8;
    --text-secondary: #A8C5D1;
    --text-muted: #6B8F9E;
    
    --card-bg: #0F2E3A;
    --card-bg-hover: #143D4D;
    --card-border: rgba(58, 154, 176, 0.12);
    --card-border-hover: rgba(58, 154, 176, 0.25);
    
    --gradient-hero: linear-gradient(160deg, #061E26 0%, #0B3D4C 40%, #0A2832 100%);
    --gradient-gold: linear-gradient(135deg, #E8B84B 0%, #F5D78E 50%, #E8B84B 100%);
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(232, 184, 75, 0.12);
    
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--petroleo-900);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--gold);
    color: var(--petroleo-900);
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVEGAÇÃO
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(6, 30, 38, 0.95);
    backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--card-border);
    padding: 14px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--gold);
    display: flex;
    align-items: center;
}

.logo-icon svg {
    filter: drop-shadow(0 0 8px rgba(232, 184, 75, 0.3));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(58, 154, 176, 0.08);
}

.nav-links a.nav-cta {
    background: var(--gold);
    color: var(--petroleo-900);
    font-weight: 700;
    padding: 10px 20px;
}

.nav-links a.nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(232, 184, 75, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(58, 154, 176, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(36, 122, 140, 0.03) 0%, transparent 45%);
    animation: float-particles 25s ease-in-out infinite;
}

@keyframes float-particles {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(2%, 1%); }
    66% { transform: translate(-1%, 2%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 184, 75, 0.08);
    border: 1px solid rgba(232, 184, 75, 0.18);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: blink 2.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: var(--font);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--text-primary);
    margin-bottom: 22px;
    letter-spacing: -1.5px;
}

.hero-title .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gold);
    color: var(--petroleo-900);
    box-shadow: 0 4px 20px rgba(232, 184, 75, 0.25);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(168, 197, 209, 0.25);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(232, 184, 75, 0.05);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(168, 197, 209, 0.12);
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scroll-pulse 2.5s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 1; height: 36px; }
    50% { opacity: 0.3; height: 18px; }
}

/* ============================================
   SEÇÕES
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background: var(--petroleo-800);
}

.section-darker {
    background: var(--petroleo-900);
}

.section-cta {
    background: linear-gradient(180deg, var(--petroleo-900) 0%, #040F14 100%);
    padding: 110px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font);
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================
   EDGE COMPUTE
   ============================================ */
.edge-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 40px;
}

.edge-visual {
    position: relative;
    min-height: 520px;
}

.context-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.context-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.context-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(6, 30, 38, 0.5);
    border-bottom: 1px solid var(--card-border);
}

.context-badge {
    font-size: 0.85rem;
    font-weight: 700;
}

.context-status {
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.context-status.online { color: #78C878; }

.context-body {
    padding: 20px;
}

.context-field {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid rgba(58, 154, 176, 0.06);
}

.context-field:last-of-type {
    border-bottom: none;
}

.field-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field-value {
    font-size: 0.88rem;
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
    max-width: 60%;
}

.context-decision {
    margin-top: 16px;
    padding: 16px;
    background: rgba(232, 184, 75, 0.06);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.decision-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.context-decision p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

.edge-explanation h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.edge-explanation p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.code-snippet {
    background: #051219;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 18px;
    margin: 18px 0;
    overflow-x: auto;
}

.code-snippet pre {
    font-family: 'Fira Code', 'SF Mono', 'Courier New', monospace;
    font-size: 0.78rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.edge-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
}

.edge-feature {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: var(--transition);
}

.edge-feature:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-2px);
}

.ef-icon {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 8px;
}

.edge-feature strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.edge-feature span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.context-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.context-tab {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.context-tab:hover {
    border-color: var(--petroleo-400);
    color: var(--text-primary);
}

.context-tab.active {
    background: var(--gold);
    color: var(--petroleo-900);
    border-color: var(--gold);
    font-weight: 700;
}

/* ============================================
   SOLUÇÕES
   ============================================ */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-4px);
    border-color: var(--card-border-hover);
    box-shadow: var(--shadow-md);
}

.solution-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.solution-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.solution-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.solution-list {
    list-style: none;
    margin-bottom: 20px;
}

.solution-list li {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 6px 0;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.solution-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.solution-tag {
    display: inline-block;
    margin-top: auto;
    background: rgba(58, 154, 176, 0.1);
    color: var(--petroleo-300);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(58, 154, 176, 0.15);
}

/* ============================================
   ESTUDO ELEITORAL
   ============================================ */
.estudo-intro {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 40px;
}

.estudo-intro p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.estudo-intro p:last-of-type {
    margin-bottom: 0;
}

.estudo-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
}

.em-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.em-item strong {
    font-size: 0.72rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.em-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Dashboard */
.dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.dash-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.dash-card:hover {
    border-color: var(--card-border-hover);
}

.dash-large { grid-column: span 2; }
.dash-wide { grid-column: span 2; }

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 8px;
}

.dash-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.dash-period {
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(6, 30, 38, 0.5);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 500;
}

.chart-container {
    position: relative;
    height: 260px;
}

.chart-radar { height: 300px; }

.dash-insight {
    margin-top: 14px;
    padding: 14px 16px;
    background: rgba(232, 184, 75, 0.05);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.dash-insight strong {
    color: var(--gold);
}

/* Ranking Table */
.ranking-table-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 40px;
    overflow-x: auto;
}

.ranking-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.ranking-table th {
    text-align: left;
    padding: 12px 14px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--card-border);
}

.ranking-table td {
    padding: 14px;
    border-bottom: 1px solid rgba(58, 154, 176, 0.06);
    vertical-align: middle;
}

.ranking-table tr:hover td {
    background: rgba(58, 154, 176, 0.04);
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.75rem;
    background: rgba(168, 197, 209, 0.08);
    color: var(--text-secondary);
}

.rank-badge.gold {
    background: rgba(232, 184, 75, 0.18);
    color: var(--gold);
}

.rank-badge.silver {
    background: rgba(168, 197, 209, 0.15);
    color: var(--petroleo-200);
}

.rank-badge.bronze {
    background: rgba(205, 127, 50, 0.15);
    color: #CD7F32;
}

.arquetipo {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
}

.arquetipo.gestor { background: rgba(58, 154, 176, 0.12); color: var(--petroleo-300); }
.arquetipo.justiceiro { background: rgba(232, 100, 75, 0.12); color: #E8644B; }
.arquetipo.herdeiro { background: rgba(232, 184, 75, 0.12); color: var(--gold); }
.arquetipo.ruptura { background: rgba(120, 200, 120, 0.12); color: #78C878; }

.score {
    font-family: var(--font);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gold);
}

.fair { font-weight: 700; font-size: 0.82rem; }
.fair.good { color: #78C878; }
.fair.medium { color: var(--gold); }
.fair.bad { color: #E8644B; }

.risk { font-weight: 700; font-size: 0.82rem; }
.risk.low { color: #78C878; }
.risk.medium { color: var(--gold); }
.risk.high { color: #E8644B; }

.trend { font-size: 0.78rem; font-weight: 600; }
.trend.stable { color: var(--petroleo-300); }
.trend.up { color: #78C878; }
.trend.down { color: #E8644B; }
.trend.volatile { color: #E8644B; animation: pulse-warning 2s infinite; }

@keyframes pulse-warning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Insights Profundos */
.insights-section {
    margin-top: 20px;
}

.insights-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-align: center;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.insight-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.insight-card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-2px);
}

.insight-card.insight-alert {
    border-color: rgba(232, 100, 75, 0.25);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(232, 100, 75, 0.04) 100%);
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.insight-icon {
    font-size: 1.3rem;
}

.insight-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.insight-tag {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(58, 154, 176, 0.1);
    color: var(--petroleo-300);
}

.insight-tag.alert-red {
    background: rgba(232, 100, 75, 0.15);
    color: #E8644B;
}

.insight-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 12px;
}

.insight-card p strong {
    color: var(--text-primary);
}

.insight-detail {
    padding: 12px 14px;
    background: rgba(6, 30, 38, 0.4);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.55;
    border-left: 2px solid var(--petroleo-500);
}

.insight-detail span {
    color: var(--gold);
    font-weight: 600;
}

/* ============================================
   PRODUTOS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--card-border-hover);
    box-shadow: var(--shadow-md);
}

.product-featured {
    grid-row: span 2;
}

.product-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(232, 184, 75, 0.1);
    color: var(--gold);
    border: 1px solid rgba(232, 184, 75, 0.15);
    margin-bottom: 16px;
    width: fit-content;
}

.product-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.product-card > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(58, 154, 176, 0.06);
}

.spec span:first-child {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.spec span:last-child {
    font-size: 0.82rem;
    color: var(--text-primary);
    font-weight: 600;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-features span {
    font-size: 0.72rem;
    color: var(--petroleo-300);
    background: rgba(58, 154, 176, 0.08);
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid rgba(58, 154, 176, 0.1);
    font-weight: 500;
}

.product-status {
    margin-top: auto;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 100px;
    text-align: center;
}

.status-dev {
    background: rgba(232, 184, 75, 0.1);
    color: var(--gold);
    border: 1px solid rgba(232, 184, 75, 0.2);
}

/* ============================================
   SOBRE
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.value-item:hover {
    border-color: var(--gold);
    transform: translateX(4px);
    background: var(--card-bg-hover);
}

.value-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.value-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.value-item strong {
    font-size: 0.92rem;
    color: var(--text-primary);
    font-weight: 700;
}

.value-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--shadow-lg);
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(6, 30, 38, 0.5);
    border-bottom: 1px solid var(--card-border);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.visual-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    animation: blink 2s infinite;
}

.visual-body {
    padding: 24px;
}

.code-block {
    font-family: 'Fira Code', 'SF Mono', 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.code-comment { color: var(--text-muted); font-style: italic; }
.code-keyword { color: #FF7B72; font-weight: 600; }
.code-string { color: #A5D6FF; }

/* ============================================
   CTA / CONTATO
   ============================================ */
.cta-box {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-box h2 {
    font-family: var(--font);
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.cta-features span {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #030D12;
    padding: 56px 0 20px;
    border-top: 1px solid var(--card-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 44px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-brand .logo-icon,
.footer-brand .logo-text {
    font-size: 1.3rem;
    font-weight: 800;
}

.footer-brand p {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 10px;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(2px);
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.footer-credit {
    font-style: italic;
    opacity: 0.7;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
    .edge-intro {
        grid-template-columns: 1fr;
    }
    
    .edge-visual {
        min-height: 480px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-featured {
        grid-row: span 1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .dash-large, .dash-wide {
        grid-column: span 1;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .estudo-meta {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(6, 30, 38, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 6px;
        border-top: 1px solid var(--card-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .edge-features {
        grid-template-columns: 1fr;
    }
    
    .context-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .estudo-meta {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .ranking-table {
        font-size: 0.78rem;
    }
    
    .ranking-table th,
    .ranking-table td {
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .dash-card {
        padding: 18px;
    }
    
    .chart-container {
        height: 220px;
    }
    
    .chart-radar {
        height: 260px;
    }
    
    .edge-visual {
        min-height: 560px;
    }
}

/* ============================================
   ANIMAÇÕES DE ENTRADA
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .dash-card, .timeline-item, .value-item,
.solution-card, .product-card, .insight-card,
.context-feature, .edge-feature {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Stagger delays */
.solution-card:nth-child(1) { animation-delay: 0.1s; }
.solution-card:nth-child(2) { animation-delay: 0.2s; }
.solution-card:nth-child(3) { animation-delay: 0.3s; }

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }

.insight-card:nth-child(1) { animation-delay: 0.1s; }
.insight-card:nth-child(2) { animation-delay: 0.15s; }
.insight-card:nth-child(3) { animation-delay: 0.2s; }
.insight-card:nth-child(4) { animation-delay: 0.25s; }
.insight-card:nth-child(5) { animation-delay: 0.3s; }
.insight-card:nth-child(6) { animation-delay: 0.35s; }