/* =========================================================
   OFERTA$FLEX — PADRÃO VISUAL GLOBAL
   ========================================================= */

:root {
    --ofx-navy: #082b50;
    --ofx-navy-dark: #061f3b;
    --ofx-navy-light: #123f69;
    --ofx-orange: #ff6900;
    --ofx-orange-dark: #e95f00;
    --ofx-white: #ffffff;
    --ofx-bg: #f5f8fc;
    --ofx-card: #ffffff;
    --ofx-text: #102a47;
    --ofx-muted: #68778b;
    --ofx-border: #e2e9f1;
    --ofx-success: #16a34a;

    --ofx-radius: 14px;
    --ofx-radius-lg: 20px;

    --ofx-shadow:
        0 8px 28px rgba(8, 43, 80, .09);

    --ofx-shadow-hover:
        0 14px 35px rgba(8, 43, 80, .14);
}

/* RESET */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ofx-bg);
    color: var(--ofx-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* CONTAINER */

.ofx-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

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

.ofx-header {
    min-height: 78px;
    background: var(--ofx-navy);
    color: var(--ofx-white);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 4px 18px rgba(0,0,0,.10);
    position: relative;
    z-index: 1000;
}

.ofx-header-inner {
    width: min(1180px, 92%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.ofx-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ofx-logo img {
    width: 210px;
    height: auto;
    display: block;
}

.ofx-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.ofx-nav a {
    color: var(--ofx-white);
    font-size: 14px;
    font-weight: 700;
    opacity: .92;
    transition: .2s ease;
}

.ofx-nav a:hover,
.ofx-nav a.ativo {
    color: var(--ofx-orange);
    opacity: 1;
}

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

.ofx-btn {
    min-height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    transition: transform .2s ease,
                box-shadow .2s ease,
                background .2s ease;
}

.ofx-btn:hover {
    transform: translateY(-2px);
}

.ofx-btn-primary {
    background: var(--ofx-orange);
    color: var(--ofx-white);
    box-shadow: 0 6px 16px rgba(255,105,0,.22);
}

.ofx-btn-primary:hover {
    background: var(--ofx-orange-dark);
}

.ofx-btn-secondary {
    background: var(--ofx-navy);
    color: var(--ofx-white);
}

.ofx-btn-outline {
    background: transparent;
    color: var(--ofx-navy);
    border: 2px solid var(--ofx-navy);
}

.ofx-header .ofx-btn-outline {
    color: var(--ofx-white);
    border-color: rgba(255,255,255,.65);
}

/* =========================================================
   TÍTULOS
   ========================================================= */

.ofx-page-title {
    margin-bottom: 28px;
}

.ofx-page-title h1 {
    margin: 0 0 7px;
    color: var(--ofx-navy);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
}

.ofx-page-title p {
    margin: 0;
    color: var(--ofx-muted);
    font-size: 16px;
}

/* =========================================================
   CONTEÚDO / PÁGINAS
   ========================================================= */

.ofx-main {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 42px 0 70px;
}

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

.ofx-card {
    background: var(--ofx-card);
    border: 1px solid var(--ofx-border);
    border-radius: var(--ofx-radius);
    padding: 24px;
    box-shadow: var(--ofx-shadow);
    transition: transform .2s ease,
                box-shadow .2s ease;
}

.ofx-card:hover {
    box-shadow: var(--ofx-shadow-hover);
}

.ofx-card h2,
.ofx-card h3 {
    color: var(--ofx-navy);
}

.ofx-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* ÍCONE DOS CARDS */

.ofx-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff0e6;
    color: var(--ofx-orange);
    font-size: 25px;
    margin-bottom: 15px;
}

/* =========================================================
   FORMULÁRIOS
   ========================================================= */

.ofx-form {
    background: var(--ofx-white);
    border-radius: var(--ofx-radius-lg);
    padding: 30px;
    border: 1px solid var(--ofx-border);
    box-shadow: var(--ofx-shadow);
}

.ofx-field {
    margin-bottom: 18px;
}

.ofx-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ofx-navy);
    font-size: 14px;
    font-weight: 800;
}

.ofx-input,
.ofx-select,
.ofx-textarea {
    width: 100%;
    border: 1px solid #d7e0ea;
    border-radius: 10px;
    background: #fff;
    color: var(--ofx-text);
    font-size: 16px;
    padding: 13px 14px;
    outline: none;
    transition: border-color .2s,
                box-shadow .2s;
}

.ofx-input,
.ofx-select {
    min-height: 50px;
}

.ofx-textarea {
    min-height: 120px;
    resize: vertical;
}

.ofx-input:focus,
.ofx-select:focus,
.ofx-textarea:focus {
    border-color: var(--ofx-orange);
    box-shadow: 0 0 0 3px rgba(255,105,0,.12);
}

/* =========================================================
   ALERTAS
   ========================================================= */

.ofx-alert {
    padding: 14px 17px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-weight: 700;
}

.ofx-alert-success {
    background: #eaf8ef;
    color: #147a39;
}

.ofx-alert-error {
    background: #fff0f0;
    color: #b42318;
}

.ofx-alert-info {
    background: #eaf3ff;
    color: #1555a2;
}

/* =========================================================
   PLANOS
   ========================================================= */

.ofx-plan {
    background: var(--ofx-white);
    border: 1px solid var(--ofx-border);
    border-radius: 18px;
    padding: 26px;
    box-shadow: var(--ofx-shadow);
    position: relative;
}

.ofx-plan.destaque {
    border: 2px solid var(--ofx-orange);
    transform: translateY(-5px);
}

.ofx-plan-badge {
    display: inline-block;
    background: var(--ofx-orange);
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.ofx-price {
    color: var(--ofx-navy);
    font-size: 34px;
    font-weight: 900;
    margin: 18px 0;
}

/* =========================================================
   TABELAS
   ========================================================= */

.ofx-table-wrap {
    width: 100%;
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--ofx-border);
    border-radius: var(--ofx-radius);
    box-shadow: var(--ofx-shadow);
}

.ofx-table {
    width: 100%;
    border-collapse: collapse;
}

.ofx-table th,
.ofx-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--ofx-border);
}

.ofx-table th {
    background: #f0f5fa;
    color: var(--ofx-navy);
    font-size: 13px;
    font-weight: 900;
}

.ofx-table tr:last-child td {
    border-bottom: 0;
}

/* =========================================================
   BADGES
   ========================================================= */

.ofx-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: #eef3f8;
    color: var(--ofx-navy);
}

.ofx-badge-orange {
    background: #fff0e6;
    color: var(--ofx-orange-dark);
}

/* =========================================================
   MODAL
   ========================================================= */

.ofx-modal-global {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(4,24,45,.75);
    z-index: 99999;
}

.ofx-modal-global.ativo {
    display: flex;
}

.ofx-modal-content {
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 70px rgba(0,0,0,.30);
}

/* =========================================================
   RODAPÉ
   ========================================================= */

.ofx-footer {
    background: var(--ofx-navy-dark);
    color: var(--ofx-white);
    padding: 45px 0 25px;
}

.ofx-footer-inner {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.ofx-footer-logo img {
    width: 190px;
    height: auto;
}

.ofx-footer a {
    color: #d8e3ef;
}

.ofx-footer a:hover {
    color: var(--ofx-orange);
}

/* =========================================================
   WHATSAPP
   ========================================================= */

.ofx-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    box-shadow: 0 8px 25px rgba(0,0,0,.22);
    z-index: 5000;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 900px) {

    .ofx-header-inner {
        gap: 15px;
    }

    .ofx-nav {
        display: none;
    }

    .ofx-logo img {
        width: 175px;
    }

    .ofx-main {
        padding-top: 30px;
    }
}

@media (max-width: 600px) {

    .ofx-logo img {
        width: 155px;
    }

    .ofx-main {
        width: 94%;
        padding: 24px 0 50px;
    }

    .ofx-card,
    .ofx-form,
    .ofx-plan {
        padding: 20px;
    }

    .ofx-btn {
        width: 100%;
    }

    .ofx-page-title h1 {
        font-size: 30px;
    }

    .ofx-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
}
o

.ofx-whatsapp svg{width:32px;height:32px;color:#fff;display:block}

/* =========================================================
   OFERTA$FLEX — PADRÃO VISUAL OFICIAL DO DASHBOARD
   ========================================================= */

:root{
    --ofx-navy:#07345f;
    --ofx-navy-dark:#052b50;
    --ofx-blue:#147fe5;
    --ofx-green:#08b85a;
    --ofx-orange:#ffa20a;
    --ofx-purple:#8847e8;

    --ofx-bg:#f3f6fa;
    --ofx-white:#ffffff;
    --ofx-text:#08294c;
    --ofx-muted:#6c8198;
    --ofx-border:#dce5ee;

    --ofx-radius:15px;
    --ofx-shadow:0 8px 24px rgba(7,52,95,.10);
}

/* FUNDO PADRÃO */
body{
    background-color:var(--ofx-bg);
    color:var(--ofx-text);
}

/* CARDS — somente aparência */
.ofx-card,
.card,
.painel{
    border-color:var(--ofx-border);
    border-radius:var(--ofx-radius);
}

/* CAMPOS — somente aparência */
input,
select,
textarea{
    border-color:var(--ofx-border);
    border-radius:9px;
}

/* TÍTULOS */
h1,h2,h3{
    color:var(--ofx-text);
}

/* TEXTOS SECUNDÁRIOS */
.ofx-muted,
.text-muted{
    color:var(--ofx-muted);
}

/* UTILITÁRIOS DA IDENTIDADE */
.ofx-bg-navy{background:var(--ofx-navy);}
.ofx-bg-blue{background:var(--ofx-blue);}
.ofx-bg-green{background:var(--ofx-green);}
.ofx-bg-orange{background:var(--ofx-orange);}
.ofx-bg-purple{background:var(--ofx-purple);}
.ofx-bg-white{background:var(--ofx-white);}


/* =========================================================
   OFERTA$FLEX — PADRÃO DASHBOARD 2026
   SOMENTE ACABAMENTO VISUAL
   ========================================================= */

html{
    background:#f3f6fa;
}

body{
    background:#f3f6fa !important;
    color:#08294c;
    font-family:Arial,Helvetica,sans-serif;
}

/* ÁREAS CLARAS */
main,
.main,
.conteudo,
.content,
.container{
    color:#08294c;
}

/* CARDS */
.card,
.painel,
.box,
.ofx-card,
.form-card,
.content-card{
    background:#fff;
    border-color:#e0e8f0 !important;
    border-radius:15px !important;
    box-shadow:0 5px 18px rgba(7,52,95,.07);
}

/* TÍTULOS */
h1,h2,h3,h4{
    color:#082f5e;
}

/* TEXTOS SECUNDÁRIOS */
small,
.text-muted,
.muted,
.subtitulo,
.descricao{
    color:#71859a;
}

/* CAMPOS */
input,
select,
textarea{
    background:#fff;
    color:#12385f;
    border-color:#d8e3ed !important;
    border-radius:9px !important;
}

input:focus,
select:focus,
textarea:focus{
    border-color:#147fe5 !important;
    outline:none;
    box-shadow:0 0 0 3px rgba(20,127,229,.10);
}

/* TABELAS */
table{
    background:#fff;
    color:#12385f;
}

th{
    color:#082f5e;
}

td,
th{
    border-color:#e2e9f0 !important;
}

/* CABEÇALHOS QUE JÁ EXISTEM */
header,
.header,
.topo,
.navbar{
    border-color:rgba(255,255,255,.08);
}

/* ALERTAS */
.alert,
.aviso,
.mensagem{
    border-radius:10px;
}

/* BADGES */
.badge,
.tag{
    border-radius:999px;
}

/* LINKS COMUNS — NÃO ALTERA COMPORTAMENTO */
a{
    transition:opacity .15s ease,transform .15s ease;
}

/* SCROLL */
::-webkit-scrollbar{
    width:9px;
    height:9px;
}

::-webkit-scrollbar-track{
    background:#edf2f7;
}

::-webkit-scrollbar-thumb{
    background:#b9c8d7;
    border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
    background:#8ea6bd;
}


/* ===== OFERTA$FLEX — CRIAÇÕES / TEMPLATES / POSTS ===== */

.template-card,.template,.jornal-card,.post-card,.criacao-card{
    background:#fff!important;
    color:#08294c!important;
    border:1px solid #dce5ee!important;
    border-radius:16px!important;
    box-shadow:0 6px 20px rgba(7,52,95,.08)!important;
}

.template-card:hover,.template:hover,.jornal-card:hover,.post-card:hover{
    border-color:#147fe5!important;
    box-shadow:0 10px 26px rgba(7,52,95,.13)!important;
}

.grade,.grid,.templates,.jornais,.posts{
    gap:20px!important;
}

.preview,.imagem,.arte{
    background:#eef3f8!important;
}

.status,.badge,.tag{
    border-radius:999px!important;
}

.vazio,.empty-state{
    background:#fff!important;
    color:#49657e!important;
    border:1px solid #dce5ee!important;
    border-radius:16px!important;
    box-shadow:0 6px 20px rgba(7,52,95,.07)!important;
}

</style>

/* ===== OFERTA$FLEX — ÁREA DE IA ===== */

.ia-card,.ferramenta,.ferramenta-card,.tool-card,.resultado,.resultado-card,.upload-box{
    background:#fff!important;
    color:#08294c!important;
    border:1px solid #dce5ee!important;
    border-radius:16px!important;
    box-shadow:0 6px 20px rgba(7,52,95,.08)!important;
}

.ia-card:hover,.ferramenta:hover,.ferramenta-card:hover,.tool-card:hover{
    border-color:#147fe5!important;
    box-shadow:0 10px 26px rgba(7,52,95,.12)!important;
}

.upload,.upload-area,.dropzone{
    background:#f7faff!important;
    color:#49657e!important;
    border:2px dashed #b9cde0!important;
    border-radius:14px!important;
}

.upload:hover,.upload-area:hover,.dropzone:hover{
    border-color:#147fe5!important;
    background:#eef6ff!important;
}

.resultado,.resultado-card{
    background:#fff!important;
}

.preview{
    background:#eef3f8!important;
    border-color:#dce5ee!important;
}

.loading,.carregando{
    color:#147fe5!important;
}

.sucesso,.success{
    background:#edf9f2!important;
    color:#08783d!important;
    border-color:#bce8cf!important;
}

.erro,.error{
    background:#fff0f0!important;
    color:#b42318!important;
    border-color:#ffcaca!important;
}

/* preserva ações; somente aparência */
.btn-primary,.btn-principal{
    background:#147fe5!important;
    color:#fff!important;
}

</style>

/* ===== OFERTA$FLEX — PAGAMENTOS / RETORNOS / NOTIFICAÇÕES ===== */

.pacote,.saldo,.resultado,.resultado-card,.notificacao,.notificacao-card,.jornal-view,.visualizacao{
    background:#fff!important;
    color:#08294c!important;
    border-color:#dce5ee!important;
    border-radius:16px!important;
    box-shadow:0 6px 20px rgba(7,52,95,.08)!important;
}

.pacote.destaque{
    border-color:#147fe5!important;
}

.preco,.creditos,.saldo strong{
    color:#07345f!important;
}

.info,.aviso,.detalhe{
    background:#f7faff!important;
    color:#71859a!important;
    border-color:#dce5ee!important;
}

.pix{
    background:#edf9f2!important;
    color:#08783d!important;
}

.sucesso,.status-sucesso{
    background:#edf9f2!important;
    color:#08783d!important;
    border-color:#bce8cf!important;
}

.pendente,.status-pendente{
    background:#fff8e8!important;
    color:#9a6500!important;
    border-color:#ffe0a3!important;
}

.falhou,.erro,.status-erro{
    background:#fff0f0!important;
    color:#b42318!important;
    border-color:#ffcaca!important;
}

</style>

/* ===== OFERTA$FLEX — PAGAMENTOS / RETORNOS / NOTIFICAÇÕES ===== */

.pacote,.saldo,.resultado,.resultado-card,.notificacao,.notificacao-card,.jornal-view,.visualizacao{
    background:#fff!important;
    color:#08294c!important;
    border-color:#dce5ee!important;
    border-radius:16px!important;
    box-shadow:0 6px 20px rgba(7,52,95,.08)!important;
}

.pacote.destaque{
    border-color:#147fe5!important;
}

.preco,.creditos,.saldo strong{
    color:#07345f!important;
}

.info,.aviso,.detalhe{
    background:#f7faff!important;
    color:#71859a!important;
    border-color:#dce5ee!important;
}

.pix{
    background:#edf9f2!important;
    color:#08783d!important;
}

.sucesso,.status-sucesso{
    background:#edf9f2!important;
    color:#08783d!important;
    border-color:#bce8cf!important;
}

.pendente,.status-pendente{
    background:#fff8e8!important;
    color:#9a6500!important;
    border-color:#ffe0a3!important;
}

.falhou,.erro,.status-erro{
    background:#fff0f0!important;
    color:#b42318!important;
    border-color:#ffcaca!important;
}

</style>
