/* =========================
   CONFIGURAÇÕES GERAIS
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #07111f;
    color: #ffffff;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    background: rgba(5, 15, 28, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand {
    font-size: 1.4rem;
}

.navbar-brand i {
    margin-right: 8px;
}

.nav-link {
    margin-left: 15px;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;

    padding-top: 80px;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(0, 123, 255, 0.25),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #050b14,
            #0a1c33
        );
}

.badge-custom {
    display: inline-block;

    padding: 8px 14px;

    border: 1px solid rgba(0, 174, 255, 0.5);

    border-radius: 50px;

    color: #00aeff;

    font-size: 0.8rem;

    font-weight: bold;

    letter-spacing: 1px;
}

.hero h1 {
    margin-top: 20px;

    font-size: clamp(2.8rem, 6vw, 5rem);

    font-weight: 800;

    line-height: 1.05;
}

.hero h1 span {
    color: #00aeff;
}

.hero-text {
    max-width: 650px;

    margin-top: 25px;

    color: #aebdce;

    font-size: 1.15rem;

    line-height: 1.7;
}


/* =========================
   BOTÕES
========================= */

.hero-buttons {
    margin-top: 35px;
}

.btn {
    padding: 12px 22px;
    border-radius: 8px;
}

.btn-primary-custom {
    background: #008cff;
    border: none;

    color: white;

    font-weight: bold;
}

.btn-primary-custom:hover {
    background: #0072d4;
    color: white;
}


/* =========================
   ÍCONE SATÉLITE
========================= */

.satellite-icon {
    font-size: 14rem;

    color: #00aeff;

    filter:
        drop-shadow(
            0 0 35px rgba(0, 174, 255, 0.6)
        );

    animation: float 4s ease-in-out infinite;
}

.satellite-caption {
    color: #8ea4ba;

    font-size: 1.1rem;
}


/* =========================
   ANIMAÇÃO
========================= */

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }

}


/* =========================
   INDICADORES
========================= */

.indicators {
    padding: 70px 0;

    background: #081625;
}

.indicator-card {
    padding: 35px;

    text-align: center;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 15px;

    transition: 0.3s;
}

.indicator-card:hover {
    transform: translateY(-5px);

    border-color: rgba(0, 174, 255, 0.5);
}

.indicator-card i {
    font-size: 2rem;

    color: #00aeff;
}

.indicator-card h2 {
    margin-top: 15px;

    color: #ffffff;

    font-size: 2rem;
}

.indicator-card p {
    color: #91a4b7;

    margin: 0;
}


/* =========================
   SEÇÕES
========================= */

.section {
    padding: 100px 0;

    background: #07111f;
}

.section-dark {
    background: #081625;
}

.section-title {
    text-align: center;

    max-width: 800px;

    margin: 0 auto 60px;
}

.section-title span {
    color: #00aeff;

    font-size: 0.8rem;

    font-weight: bold;

    letter-spacing: 2px;
}

.section-title h2 {
    margin-top: 10px;

    font-size: 2.5rem;

    font-weight: 700;
}

.section-title p {
    margin-top: 15px;

    color: #8ea4ba;

    font-size: 1.05rem;
}


/* =========================
   CARDS DE TECNOLOGIA
========================= */

.technology-card {
    height: 100%;

    padding: 30px;

    background: #0c1c2d;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 15px;

    transition: 0.3s;
}

.technology-card:hover {
    transform: translateY(-8px);

    border-color: rgba(0, 174, 255, 0.5);
}

.technology-card i {
    font-size: 2.5rem;

    color: #00aeff;
}

.technology-card h3 {
    margin-top: 20px;

    font-size: 1.3rem;
}

.technology-card p {
    margin-top: 15px;

    color: #91a4b7;

    line-height: 1.6;
}

.technology-card span {
    display: inline-block;

    margin-top: 15px;

    color: #00aeff;

    font-size: 0.9rem;

    font-weight: bold;
}


/* =========================
   DESTAQUE LEO
========================= */

.technology-card.highlight {
    position: relative;

    border-color: rgba(0, 174, 255, 0.7);

    background:
        linear-gradient(
            145deg,
            #0c263c,
            #0c1c2d
        );
}

.recommended {
    position: absolute;

    top: 15px;
    right: 15px;

    padding: 5px 8px;

    border-radius: 5px;

    background: #008cff;

    color: white;

    font-size: 0.65rem;

    font-weight: bold;
}


/* =========================
   IMPACTOS
========================= */

.impact-card {
    height: 100%;

    padding: 30px;

    text-align: center;

    background: rgba(255, 255, 255, 0.04);

    border-radius: 15px;

    border: 1px solid rgba(255, 255, 255, 0.07);
}

.impact-card i {
    font-size: 2.5rem;

    color: #00aeff;
}

.impact-card h3 {
    margin-top: 20px;
}

.impact-card p {
    margin-top: 15px;

    color: #91a4b7;

    line-height: 1.6;
}


/* =========================
   SIMULADOR
========================= */

.simulator-preview {
    max-width: 700px;

    margin: auto;

    padding: 60px;

    text-align: center;

    background: #0c1c2d;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 20px;
}

.simulator-preview i {
    font-size: 4rem;

    color: #00aeff;
}

.simulator-preview h3 {
    margin-top: 20px;
}

.simulator-preview p {
    margin: 15px 0 25px;

    color: #91a4b7;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 50px 0;

    background: #050b14;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer i {
    font-size: 2rem;

    color: #00aeff;
}

footer h4 {
    margin-top: 10px;
}

footer p {
    max-width: 600px;

    margin: 15px auto;

    color: #8195a9;
}

footer small {
    color: #60778d;
}


/* =========================
   RESPONSIVIDADE
========================= */

@media (max-width: 768px) {

    .hero {
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .satellite-icon {
        margin-top: 50px;

        font-size: 9rem;
    }

    .section {
        padding: 70px 0;
    }

}


/* =========================
   SELETOR DE TECNOLOGIAS
========================= */

.technology-selector {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;

    margin-bottom: 40px;
}

.technology-btn {
    padding: 12px 20px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 8px;

    background: #0c1c2d;

    color: #91a4b7;

    cursor: pointer;

    transition: 0.3s;
}

.technology-btn i {
    margin-right: 7px;
}

.technology-btn:hover {
    border-color: #00aeff;

    color: #ffffff;
}

.technology-btn.active {
    background: #008cff;

    border-color: #008cff;

    color: #ffffff;
}


/* =========================
   RESULTADO
========================= */

.comparison-result {

    padding: 45px;

    background: #0c1c2d;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 20px;
}


/* =========================
   TECNOLOGIA SELECIONADA
========================= */

.selected-technology {

    padding: 20px;

}

.selected-technology i {

    font-size: 4rem;

    color: #00aeff;

}

.selected-technology h3 {

    margin-top: 20px;

    font-size: 2rem;

}

.selected-technology p {

    margin-top: 15px;

    color: #91a4b7;

    line-height: 1.7;

}


/* =========================
   MÉTRICAS
========================= */

.metrics-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

}

.metric {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

    background: rgba(255, 255, 255, 0.04);

    border-radius: 10px;

}

.metric > i {

    font-size: 1.7rem;

    color: #00aeff;

}

.metric small {

    display: block;

    color: #71869a;

    font-size: 0.7rem;

    font-weight: bold;

}

.metric strong {

    display: block;

    margin-top: 5px;

    color: #ffffff;

}


/* =========================
   GRÁFICO
========================= */

.chart-container {

    margin-top: 50px;

    padding: 35px;

    height: 400px;

    background: #0c1c2d;

    border-radius: 20px;

    border: 1px solid rgba(255, 255, 255, 0.08);

}

.chart-container h3 {

    margin-bottom: 30px;

    text-align: center;

}


/* =========================
   RESPONSIVIDADE
========================= */

@media (max-width: 768px) {

    .metrics-grid {

        grid-template-columns: 1fr;

    }

    .comparison-result {

        padding: 25px;

    }

}

/* =========================
   GRÁFICOS
========================= */

.charts-section {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;

    margin-top: 30px;
}

.chart-container {
    padding: 35px;

    background: #0c1c2d;

    border-radius: 20px;

    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chart-header span {
    color: #00aeff;

    font-size: 0.75rem;

    font-weight: bold;

    letter-spacing: 2px;
}

.chart-header h3 {
    margin-top: 8px;

    font-size: 1.5rem;
}

.chart-header p {
    margin-top: 10px;

    color: #91a4b7;

    font-size: 0.9rem;

    line-height: 1.5;
}

.chart-wrapper {
    position: relative;

    height: 350px;

    margin-top: 25px;
}


/* =========================
   RESPONSIVIDADE
========================= */

@media (max-width: 992px) {

    .charts-section {
        grid-template-columns: 1fr;
    }

}

/* =====================================
   GRÁFICOS - AJUSTE FINAL
===================================== */

.charts-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 30px;
}

.chart-container {
    height: auto !important;
    min-height: 500px;

    padding: 30px;

    background: #0c1c2d;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 20px;

    overflow: hidden;
}

.chart-header {
    margin-bottom: 20px;
}

.chart-header span {
    display: inline-block;

    color: #00aeff;

    font-size: 0.75rem;

    font-weight: bold;

    letter-spacing: 2px;
}

.chart-header h3 {
    margin-top: 10px;

    font-size: 1.5rem;

    color: #ffffff;
}

.chart-header p {
    margin-top: 10px;

    color: #91a4b7;

    font-size: 0.9rem;

    line-height: 1.5;
}

.chart-wrapper {
    position: relative;

    width: 100%;

    height: 320px;

    margin-top: 20px;
}


/* =====================================
   RESPONSIVIDADE
===================================== */

@media (max-width: 992px) {

    .charts-section {
        grid-template-columns: 1fr;
    }

    .chart-container {
        min-height: 450px;
    }

}

@media (max-width: 576px) {

    .chart-container {
        padding: 20px;
    }

    .chart-wrapper {
        height: 300px;
    }

}

/* =====================================
   SIMULADOR
===================================== */

.simulator {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;

    max-width: 1100px;

    margin: auto;
}


/* =====================================
   FORMULÁRIO
===================================== */

.simulator-form {

    padding: 35px;

    background: #0c1c2d;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 20px;
}

.simulator-form h3 {

    margin-bottom: 30px;

    font-size: 1.5rem;

}


/* =====================================
   CAMPOS
===================================== */

.form-group {

    margin-bottom: 22px;

}

.form-group label {

    display: block;

    margin-bottom: 8px;

    color: #ffffff;

    font-weight: bold;

    font-size: 0.9rem;

}

.form-group input,
.form-group select {

    width: 100%;

    padding: 13px 15px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 8px;

    background: #071625;

    color: #ffffff;

    outline: none;

}

.form-group input:focus,
.form-group select:focus {

    border-color: #00aeff;

}

.form-group small {

    display: block;

    margin-top: 7px;

    color: #71869a;

    font-size: 0.75rem;

}


/* =====================================
   BOTÃO
===================================== */

.simulator-button {

    width: 100%;

    margin-top: 10px;

    padding: 14px;

}


/* =====================================
   RESULTADO
===================================== */

.simulator-result {

    min-height: 500px;

    padding: 35px;

    background: #0c1c2d;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* =====================================
   PLACEHOLDER
===================================== */

.result-placeholder {

    text-align: center;

    color: #91a4b7;

}

.result-placeholder i {

    font-size: 4rem;

    color: #00aeff;

}

.result-placeholder h3 {

    margin-top: 20px;

    color: #ffffff;

}

.result-placeholder p {

    margin-top: 10px;

    line-height: 1.6;

}


/* =====================================
   RESULTADO DA ANÁLISE
===================================== */

.result-content {

    width: 100%;

}

.result-badge {

    display: inline-block;

    padding: 6px 10px;

    border-radius: 5px;

    background: rgba(0, 174, 255, 0.15);

    color: #00aeff;

    font-size: 0.7rem;

    font-weight: bold;

    letter-spacing: 1px;

}

.result-content h3 {

    margin-top: 15px;

    font-size: 2rem;

}

.result-content h3 i {

    color: #00aeff;

    margin-right: 8px;

}


/* =====================================
   PONTUAÇÃO
===================================== */

.score {

    margin-top: 25px;

}

.score-header {

    display: flex;

    justify-content: space-between;

    margin-bottom: 8px;

}

.score-header span {

    color: #91a4b7;

}

.score-header strong {

    color: #00aeff;

}

.score-bar {

    width: 100%;

    height: 10px;

    background: #071625;

    border-radius: 10px;

    overflow: hidden;

}

.score-fill {

    height: 100%;

    width: 0;

    background: #00aeff;

    border-radius: 10px;

    transition: width 1s ease;

}


/* =====================================
   FATORES
===================================== */

.result-content h4 {

    margin-top: 30px;

    margin-bottom: 15px;

    font-size: 1rem;

}

.factor {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 12px;

    color: #b4c2d0;

    font-size: 0.9rem;

}

.factor i {

    color: #00aeff;

}


/* =====================================
   RESPONSIVIDADE
===================================== */

@media (max-width: 900px) {

    .simulator {

        grid-template-columns: 1fr;

    }

}

/* =====================================
   RANKING DO SIMULADOR
===================================== */

.ranking {
    margin-top: 10px;
}

.ranking-item {
    margin-bottom: 18px;
}

.ranking-info {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 7px;

    color: #c4d0dc;

    font-size: 0.85rem;
}

.ranking-info i {
    margin-right: 7px;

    color: #00aeff;
}

.ranking-info strong {
    color: #ffffff;
}

.ranking-bar {
    width: 100%;

    height: 9px;

    background: #071625;

    border-radius: 10px;

    overflow: hidden;
}

.ranking-fill {
    height: 100%;

    border-radius: 10px;

    transition: width 1s ease;
}

.score-fibra {
    background: #4dabf7;
}

.score-movel {
    background: #74c0fc;
}

.score-geo {
    background: #868e96;
}

.score-leo {
    background: #00aeff;
}

.result-main-text {
    color: #91a4b7;

    line-height: 1.6;

    margin-top: 10px;
}

.criteria-list {
    margin-top: 15px;
}

.criteria-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 12px;

    margin-bottom: 10px;

    background: #071625;

    border: 1px solid rgba(255,255,255,0.05);

    border-radius: 8px;

    color: #aebdcc;

    font-size: 0.85rem;

    line-height: 1.5;
}

.criteria-number {
    min-width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0,174,255,0.12);

    color: #00aeff;

    font-weight: 600;
}

.simulation-note {
    display: flex;

    gap: 12px;

    margin-top: 20px;

    padding: 15px;

    background: rgba(0,174,255,0.05);

    border: 1px solid rgba(0,174,255,0.15);

    border-radius: 10px;

    color: #91a4b7;

    font-size: 0.82rem;

    line-height: 1.5;
}

.simulation-note > i {
    color: #00aeff;

    font-size: 18px;

    margin-top: 2px;
}

.simulation-note strong {
    display: block;

    color: #ffffff;

    margin-bottom: 5px;
}

.simulation-note p {
    margin: 0;
}

/* ==========================================
   HISTÓRICO DE SIMULAÇÕES
========================================== */

.history-card {
    width: 100%;
    background: #0b1724;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}


/* ==========================================
   CABEÇALHO DO HISTÓRICO
========================================== */

.history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.history-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.history-header h3 i {
    color: #00aeff;
    margin-right: 8px;
}


/* ==========================================
   TABELA
========================================== */

.history-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #c4d0dc;
}


/* Cabeçalho */

.history-table thead th {
    background: #071625;
    color: #91a4b7;

    padding: 14px 16px;

    font-size: 0.75rem;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.4px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    white-space: nowrap;
}


/* Células */

.history-table tbody td {
    padding: 15px 16px;

    color: #c4d0dc;

    font-size: 0.85rem;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);

    white-space: nowrap;
}


/* Remove a borda da última linha */

.history-table tbody tr:last-child td {
    border-bottom: none;
}


/* Efeito ao passar o mouse */

.history-table tbody tr {
    transition: background 0.2s ease;
}

.history-table tbody tr:hover {
    background: rgba(0, 174, 255, 0.04);
}


/* Resultado */

.history-table tbody td strong {
    color: #00aeff;
    font-weight: 600;
}


/* ID */

.history-table tbody td:first-child {
    color: #91a4b7;
    font-weight: 600;
}


/* ==========================================
   ÁREA DE CARREGAMENTO
========================================== */

.history-loading,
.history-empty,
.history-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 220px;

    text-align: center;

    color: #91a4b7;
}

.history-loading i,
.history-empty i,
.history-error i {
    font-size: 32px;
    margin-bottom: 15px;
    color: #00aeff;
}

.history-loading p,
.history-empty p,
.history-error p {
    margin: 0;
    color: #91a4b7;
}

.history-empty h3,
.history-error h3 {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}


/* ==========================================
   RESPONSIVIDADE
========================================== */

@media (max-width: 992px) {

    .history-card {
        padding: 20px;
    }

    .history-table {
        min-width: 850px;
    }

}


@media (max-width: 768px) {

    .history-card {
        padding: 18px;
        margin-top: 20px;
    }

    .history-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .history-header .btn {
        width: 100%;
    }

}

.history-page {
    padding-top: 110px;
    min-height: 100vh;
}

/* =========================================================
   HISTÓRICO DE SIMULAÇÕES
========================================================= */


/* =========================================================
   PÁGINA
========================================================= */

.history-page {

    min-height: 100vh;

    padding-top: 130px;
    padding-bottom: 80px;

}


/* =========================================================
   CARD PRINCIPAL
========================================================= */

.history-card {

    width: 100%;

    margin-top: 30px;

    padding: 30px;

    background: #0b1724;

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 12px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);

}


/* =========================================================
   CABEÇALHO
========================================================= */

.history-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding-bottom: 22px;

    margin-bottom: 25px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);

}


.history-header h3 {

    margin: 0;

    color: #ffffff;

    font-size: 1.15rem;

    font-weight: 600;

}


.history-header h3 i {

    margin-right: 8px;

    color: #00aeff;

}


.history-description {

    margin: 7px 0 0;

    color: #91a4b7;

    font-size: 0.85rem;

}


/* =========================================================
   TABELA
========================================================= */

.history-table {

    width: 100%;

    min-width: 900px;

    border-collapse: separate;

    border-spacing: 0;

    overflow: hidden;

    color: #c4d0dc;

    border:
        1px solid rgba(255, 255, 255, 0.06);

    border-radius: 10px;

}


/* =========================================================
   CABEÇALHO DA TABELA
========================================================= */

.history-table thead th {

    padding: 14px 16px;

    background: #071625;

    color: #91a4b7;

    font-size: 0.74rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.4px;

    white-space: nowrap;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);

}


.history-table thead th:last-child {

    text-align: center;

}


/* =========================================================
   LINHAS
========================================================= */

.history-table tbody tr {

    transition:
        background 0.2s ease;

}


.history-table tbody tr:hover {

    background:
        rgba(0, 174, 255, 0.04);

}


/* =========================================================
   CÉLULAS
========================================================= */

.history-table tbody td {

    padding: 15px 16px;

    color: #c4d0dc;

    font-size: 0.85rem;

    white-space: nowrap;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.05);

}


.history-table tbody tr:last-child td {

    border-bottom: none;

}


/* =========================================================
   ID
========================================================= */

.history-id {

    color: #91a4b7 !important;

    font-weight: 600;

}


/* =========================================================
   RESULTADO
========================================================= */

.history-result {

    color: #00aeff;

    font-weight: 600;

}


/* =========================================================
   STATUS
========================================================= */

.history-status {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 45px;

    padding: 4px 9px;

    border-radius: 6px;

    font-size: 0.72rem;

    font-weight: 600;

}


/* SIM */

.status-yes {

    color: #00aeff;

    background:
        rgba(0, 174, 255, 0.08);

    border:
        1px solid rgba(0, 174, 255, 0.2);

}


/* NÃO */

.status-no {

    color: #91a4b7;

    background:
        rgba(145, 164, 183, 0.06);

    border:
        1px solid rgba(145, 164, 183, 0.12);

}


/* =========================================================
   BOTÃO VER DETALHES
========================================================= */

.history-detail-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    padding: 7px 12px;

    border:
        1px solid rgba(0, 174, 255, 0.35);

    border-radius: 7px;

    color: #00aeff;

    background:
        rgba(0, 174, 255, 0.05);

    font-size: 0.78rem;

    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;

    transition:
        all 0.2s ease;

}


.history-detail-btn:hover {

    color: #ffffff;

    background: #00aeff;

    border-color: #00aeff;

    text-decoration: none;

}


.history-detail-btn i {

    font-size: 0.85rem;

}


/* =========================================================
   LOADING
========================================================= */

.history-loading {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-height: 220px;

    text-align: center;

    color: #91a4b7;

}


.history-loading i {

    display: block;

    margin-bottom: 15px;

    color: #00aeff;

    font-size: 32px;

}


.history-loading p {

    margin: 0;

    color: #91a4b7;

}


/* =========================================================
   VAZIO
========================================================= */

.history-empty {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-height: 220px;

    text-align: center;

}


.history-empty i {

    margin-bottom: 15px;

    color: #00aeff;

    font-size: 35px;

}


.history-empty h3 {

    margin-bottom: 8px;

    color: #ffffff;

    font-size: 1rem;

}


.history-empty p {

    margin: 0;

    color: #91a4b7;

}


/* =========================================================
   ERRO
========================================================= */

.history-error {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-height: 220px;

    text-align: center;

}


.history-error i {

    margin-bottom: 15px;

    color: #00aeff;

    font-size: 35px;

}


.history-error h3 {

    margin-bottom: 8px;

    color: #ffffff;

    font-size: 1rem;

}


.history-error p {

    margin: 0;

    color: #91a4b7;

}


/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 992px) {

    .history-card {

        padding: 20px;

    }

    .history-table {

        min-width: 900px;

    }

}


@media (max-width: 768px) {

    .history-page {

        padding-top: 110px;

        padding-bottom: 50px;

    }


    .history-card {

        padding: 18px;

        margin-top: 20px;

    }


    .history-header {

        flex-direction: column;

        align-items: flex-start;

    }


    .history-header .btn {

        width: 100%;

    }


    .history-table {

        min-width: 900px;

    }

}

/* =========================================================
   DETALHES DA SIMULAÇÃO
========================================================= */

.details-container {
    width: 100%;
    margin-top: 30px;
}


/* =========================================================
   CARD PRINCIPAL
========================================================= */

.details-main-card {
    background: #0b1724;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.details-main-card h3 {
    margin: 15px 0 8px;
    color: #ffffff;
    font-size: 1.5rem;
}

.details-main-card h3 i {
    color: #00aeff;
    margin-right: 8px;
}

.details-main-card p {
    margin: 0;
    color: #91a4b7;
}


/* =========================================================
   CARDS
========================================================= */

.details-card {
    background: #0b1724;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
}

.details-card-title {
    display: flex;
    align-items: center;
    gap: 8px;

    padding-bottom: 18px;
    margin-bottom: 20px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
}

.details-card-title i {
    color: #00aeff;
}


/* =========================================================
   CENÁRIO
========================================================= */

.details-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}

.detail-factor {
    background: #071625;

    border: 1px solid rgba(255, 255, 255, 0.05);

    border-radius: 8px;

    padding: 16px;
}

.detail-factor span {
    display: block;

    margin-bottom: 7px;

    color: #91a4b7;

    font-size: 0.78rem;
}

.detail-factor strong {
    color: #ffffff;

    font-size: 0.9rem;
}


/* =========================================================
   PONTUAÇÕES
========================================================= */

.detail-score-item {
    margin-bottom: 22px;
}

.detail-score-item:last-child {
    margin-bottom: 0;
}

.detail-score-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 8px;

    color: #c4d0dc;

    font-size: 0.88rem;
}

.detail-score-header i {
    margin-right: 7px;

    color: #00aeff;
}

.detail-score-header strong {
    color: #ffffff;
}

.detail-score-bar {
    width: 100%;

    height: 9px;

    overflow: hidden;

    background: #071625;

    border-radius: 10px;
}

.detail-score-fill {
    height: 100%;

    background: #00aeff;

    border-radius: 10px;

    transition:
        width 0.8s ease;
}

.detail-justification {
    margin: 8px 0 0;

    color: #91a4b7;

    font-size: 0.78rem;

    line-height: 1.5;
}


/* =========================================================
   AÇÕES
========================================================= */

.details-actions {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    margin-top: 25px;
}

.btn-outline-custom {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 10px 18px;

    border: 1px solid rgba(0, 174, 255, 0.35);

    border-radius: 7px;

    color: #00aeff;

    background: transparent;

    text-decoration: none;

    transition: all 0.2s ease;
}

.btn-outline-custom:hover {
    color: #ffffff;

    background: rgba(0, 174, 255, 0.08);

    border-color: #00aeff;

    text-decoration: none;
}


/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 992px) {

    .details-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .details-card,
    .details-main-card {
        padding: 20px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .details-actions {
        flex-direction: column;
    }

    .details-actions .btn {
        width: 100%;

        justify-content: center;
    }

}
/* Fundo responsivo da seção inicial */
.hero {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    background:
        linear-gradient(90deg, rgba(3, 10, 22, 0.82) 0%, rgba(3, 10, 22, 0.56) 48%, rgba(3, 10, 22, 0.08) 100%),
        linear-gradient(0deg, rgba(3, 10, 22, 0.42), rgba(3, 10, 22, 0.12)),
        url("../assets/hero-satellite.png") center 54% / cover no-repeat,
        #050b14;
}

@media (max-width: 768px) {
    .hero {
        background:
            linear-gradient(90deg, rgba(3, 10, 22, 0.76), rgba(3, 10, 22, 0.38)),
            linear-gradient(0deg, rgba(3, 10, 22, 0.5), rgba(3, 10, 22, 0.18)),
            url("../assets/hero-satellite.png") 65% center / cover no-repeat,
            #050b14;
    }
}
