/* ============================================================
   FRENTY — SISTEMA DE SITES · components.css
   Componentes: botões, cards, callouts, tabelas, planos, etc.
   Escopado por html[data-tema="..."].
   ============================================================ */

/* ===== keyframes globais ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
@keyframes rotate { to { transform: rotate(360deg); } }

/* ============================================================
   TEMA DARK
   ============================================================ */
html[data-tema="dark"] {

    /* ===== BOTÕES ===== */
    .btn {
        display: inline-flex; align-items: center; gap: 8px;
        padding: 14px 24px; border-radius: 999px;
        font-weight: 700; font-size: 14px;
        transition: transform .2s, box-shadow .2s;
        cursor: pointer; border: none;
    }
    .btn-primary {
        background: var(--grad-verde); color: #000;
        box-shadow: 0 10px 28px rgba(0, 230, 118, 0.3);
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0, 230, 118, 0.45); }
    .btn-ghost {
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.18);
        color: var(--text);
    }
    .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--ciano); }

    /* ===== CALLOUT ===== */
    .callout {
        border-radius: var(--radius-lg);
        padding: 32px 36px;
        background: linear-gradient(160deg, rgba(91, 46, 170, 0.15), rgba(34, 211, 238, 0.06));
        border: 1px solid var(--border);
        position: relative;
        overflow: hidden;
    }
    .callout.orange {
        background: linear-gradient(160deg, rgba(255, 107, 53, 0.12), rgba(251, 191, 36, 0.04));
        border-color: rgba(255, 107, 53, 0.3);
    }
    .callout.green {
        background: linear-gradient(160deg, rgba(0, 230, 118, 0.1), rgba(15, 155, 92, 0.04));
        border-color: rgba(0, 230, 118, 0.3);
    }
    .callout h3 {
        font-size: 1.3rem; font-weight: 800; margin-bottom: 14px;
    }
    .callout.orange h3 { color: var(--laranja); }
    .callout.green h3 { color: var(--verde); }
    .callout p {
        color: var(--text-mute); font-size: 1.02rem;
        line-height: 1.7; margin-bottom: 10px;
    }
    .callout p:last-child { margin-bottom: 0; }
    .callout p strong { color: var(--text); }

    /* ===== KPI GRID ===== */
    .kpi-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    .kpi {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 26px 22px;
        transition: transform .3s, border-color .3s;
        position: relative;
        backdrop-filter: blur(10px);
    }
    .kpi:hover { transform: translateY(-4px); border-color: var(--border-hover); }
    .kpi .n {
        font-family: 'JetBrains Mono', monospace;
        font-size: clamp(1.6rem, 2.5vw, 2.2rem);
        font-weight: 700; color: var(--ciano);
        line-height: 1; letter-spacing: -0.02em;
        margin-bottom: 8px;
    }
    .kpi.green .n { color: var(--verde); }
    .kpi.purple .n { color: var(--roxo-light); }
    .kpi .l {
        color: var(--text-mute); font-size: 12px; font-weight: 500;
        text-transform: uppercase; letter-spacing: 0.06em;
    }
    @media (max-width: 900px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }

    /* ===== TAM SAM SOM ===== */
    .tam-grid {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    }
    .tam-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 34px 28px;
        text-align: center;
        position: relative; overflow: hidden;
        backdrop-filter: blur(10px);
    }
    .tam-card::before {
        content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
        background: var(--grad-1);
    }
    .tam-card.sam::before { background: var(--grad-laranja); }
    .tam-card.som::before { background: var(--grad-verde); }
    .tam-card .label {
        color: var(--text-dim); font-size: 11px; font-weight: 700;
        text-transform: uppercase; letter-spacing: 0.12em;
        font-family: 'JetBrains Mono', monospace; margin-bottom: 16px;
    }
    .tam-card .big {
        font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800;
        background: var(--grad-1); -webkit-background-clip: text; background-clip: text;
        color: transparent;
        line-height: 1; margin-bottom: 12px; letter-spacing: -0.02em;
    }
    .tam-card.sam .big { background: var(--grad-laranja); -webkit-background-clip: text; }
    .tam-card.som .big { background: var(--grad-verde); -webkit-background-clip: text; }
    .tam-card p { color: var(--text-mute); font-size: 0.92rem; }
    @media (max-width: 900px) { .tam-grid { grid-template-columns: 1fr; } }

    /* ===== BULLET LIST ===== */
    .bullet-list { display: flex; flex-direction: column; gap: 14px; }
    .bullet-list li {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 18px 22px;
        color: var(--text-mute);
        font-size: 1rem;
        display: flex; gap: 14px;
        align-items: flex-start;
        backdrop-filter: blur(6px);
        transition: border-color .3s;
    }
    .bullet-list li:hover { border-color: var(--border-hover); }
    .bullet-list li::before {
        content: '▸'; color: var(--ciano); font-weight: 700; font-size: 14px;
        flex-shrink: 0; margin-top: 4px;
    }
    .bullet-list li strong { color: var(--text); }

    /* ===== PRODUCT / MOAT ===== */
    .product-grid {
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
        margin-bottom: 30px;
    }
    .product-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 26px 28px;
        backdrop-filter: blur(8px);
    }
    .product-card h4 {
        color: var(--ciano);
        font-size: 1.05rem; font-weight: 700;
        margin-bottom: 14px;
        text-transform: uppercase; letter-spacing: 0.04em;
        font-family: 'JetBrains Mono', monospace;
    }
    .product-card ul li {
        padding: 6px 0 6px 22px; position: relative;
        color: var(--text-mute); font-size: 0.94rem;
    }
    .product-card ul li::before {
        content: '·'; color: var(--ciano); font-weight: 800;
        position: absolute; left: 0; font-size: 1.4rem; top: -4px;
    }
    @media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }

    /* ===== SLIDE O GAP ===== */
    .gap-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-bottom: 30px;
    }
    .gap-card {
        border-color: rgba(255, 107, 53, 0.22);
        transition: border-color .25s, transform .25s;
    }
    .gap-card:hover {
        border-color: rgba(255, 107, 53, 0.45);
        transform: translateY(-2px);
    }
    .gap-card__badge {
        display: inline-block;
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--laranja);
        background: rgba(255, 107, 53, 0.12);
        border: 1px solid rgba(255, 107, 53, 0.28);
        padding: 4px 10px;
        border-radius: 999px;
        margin-bottom: 12px;
    }
    .gap-card h4 {
        color: var(--laranja);
        font-size: 1.02rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    .gap-card__body {
        color: var(--text-mute);
        font-size: 0.96rem;
        line-height: 1.65;
        margin: 0;
    }
    .gap-card__highlight {
        display: block;
        margin-top: 14px;
        padding: 12px 14px;
        background: rgba(255, 107, 53, 0.08);
        border-left: 3px solid var(--laranja);
        border-radius: 0 10px 10px 0;
        color: var(--text);
        font-weight: 600;
        font-size: 0.92rem;
        line-height: 1.5;
    }

    /* ===== TABLE ===== */
    .table-wrap {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        overflow: hidden;
        backdrop-filter: blur(8px);
    }
    .t {
        width: 100%; border-collapse: collapse;
        min-width: 600px;
    }
    .t th, .t td {
        padding: 16px 20px; text-align: left;
        border-bottom: 1px solid rgba(124, 92, 255, 0.1);
        font-size: 0.95rem;
    }
    .t thead th {
        background: rgba(91, 46, 170, 0.2);
        color: var(--text); font-weight: 700;
        font-size: 0.82rem;
        text-transform: uppercase; letter-spacing: 0.06em;
        font-family: 'JetBrains Mono', monospace;
    }
    .t tbody td { color: var(--text-mute); }
    .t tbody td:first-child { color: var(--text); }
    .t tbody tr:last-child td { border-bottom: none; }
    .t tbody tr.highlight td {
        background: linear-gradient(90deg, rgba(0, 230, 118, 0.08), transparent);
    }
    .t tbody tr.highlight td:first-child { color: var(--verde); font-weight: 700; }
    .t-num {
        font-family: 'JetBrains Mono', monospace; font-weight: 700;
        color: var(--ciano);
    }
    .t-num.green { color: var(--verde); }

    @media (max-width: 768px) {
        .table-wrap { overflow-x: auto; }
    }

    /* ===== USE OF FUNDS (donut + table) ===== */
    .funds-grid {
        display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px;
        align-items: center;
    }
    .donut-wrap {
        position: relative;
        aspect-ratio: 1; max-width: 320px; margin: 0 auto;
    }
    .donut-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
    .donut-center {
        position: absolute; inset: 0;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        text-align: center;
    }
    .donut-center .val {
        font-family: 'JetBrains Mono', monospace;
        font-size: 1.6rem; font-weight: 700; color: var(--verde);
    }
    .donut-center .lab {
        color: var(--text-dim); font-size: 11px;
        text-transform: uppercase; letter-spacing: 0.1em;
        margin-top: 4px;
    }
    @media (max-width: 900px) { .funds-grid { grid-template-columns: 1fr; gap: 30px; } }

    /* ===== CHANNELS TABLE ===== */
    .channels-table {
        display: grid; gap: 12px;
    }
    .ch-row {
        display: grid;
        grid-template-columns: 2fr 0.6fr 2fr 1.2fr 1fr;
        gap: 16px; align-items: center;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 16px 20px;
        backdrop-filter: blur(6px);
        transition: border-color .3s, transform .3s;
    }
    .ch-row:hover { border-color: var(--border-hover); transform: translateX(4px); }
    .ch-row.header {
        background: rgba(91, 46, 170, 0.2);
        color: var(--text);
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.78rem; font-weight: 700;
        text-transform: uppercase; letter-spacing: 0.06em;
    }
    .ch-row .cell { font-size: 0.92rem; color: var(--text-mute); }
    .ch-row .canal { color: var(--text); font-weight: 700; font-size: 0.98rem; }
    .ch-row .pct {
        color: var(--ciano);
        font-family: 'JetBrains Mono', monospace;
        font-weight: 700; font-size: 1.05rem;
    }
    .ch-row .kpi-val {
        color: var(--verde); font-weight: 700;
        font-family: 'JetBrains Mono', monospace;
    }
    @media (max-width: 900px) {
        .ch-row {
            grid-template-columns: 1fr 1fr;
            gap: 8px 16px;
        }
        .ch-row.header { display: none; }
        .ch-row .canal { grid-column: 1 / -1; }
    }

    /* ===== PROJECTIONS CHART ===== */
    .projection-grid {
        display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
        align-items: center;
    }
    .chart-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 30px;
        backdrop-filter: blur(8px);
    }
    .chart-card h4 {
        color: var(--text); font-size: 1.1rem; font-weight: 700;
        margin-bottom: 6px;
    }
    .chart-card .sub {
        color: var(--text-dim); font-size: 0.88rem; margin-bottom: 24px;
        font-family: 'JetBrains Mono', monospace;
    }
    .chart {
        width: 100%; height: 280px;
    }
    .chart-legend {
        display: flex; gap: 24px; margin-top: 16px;
        font-size: 0.86rem;
    }
    .chart-legend .leg {
        display: flex; align-items: center; gap: 8px;
        color: var(--text-mute);
    }
    .chart-legend .dot {
        width: 10px; height: 10px; border-radius: 50%;
    }
    .chart-legend .dot.yellow { background: #FBBF24; }
    .chart-legend .dot.orange { background: #FF6B35; }
    .proj-summary { display: flex; flex-direction: column; gap: 20px; }
    .proj-summary .row {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 20px 24px;
        backdrop-filter: blur(6px);
    }
    .proj-summary .row h4 {
        color: var(--text-mute); font-size: 0.78rem;
        text-transform: uppercase; letter-spacing: 0.08em;
        font-family: 'JetBrains Mono', monospace; margin-bottom: 12px;
    }
    .proj-summary .row .big {
        font-size: 2rem; font-weight: 800; line-height: 1;
        margin-bottom: 6px;
        font-family: 'JetBrains Mono', monospace;
    }
    .proj-summary .row.semi .big { color: var(--amarelo); }
    .proj-summary .row.com .big { color: var(--verde); }
    .proj-summary .row p { color: var(--text-mute); font-size: 0.9rem; }
    @media (max-width: 900px) { .projection-grid { grid-template-columns: 1fr; } }

    /* ===== RISK CARDS ===== */
    .risk-grid {
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
    }
    .risk-card {
        background: var(--bg-card);
        border: 1px solid;
        border-radius: var(--radius-lg);
        padding: 26px 28px;
        backdrop-filter: blur(8px);
        position: relative; overflow: hidden;
    }
    .risk-card.ok {
        border-color: rgba(0, 230, 118, 0.3);
        background: linear-gradient(160deg, rgba(0, 230, 118, 0.08), var(--bg-card));
    }
    .risk-card.alert {
        border-color: rgba(255, 107, 53, 0.4);
        background: linear-gradient(160deg, rgba(255, 107, 53, 0.1), var(--bg-card));
    }
    .risk-card .icon {
        width: 44px; height: 44px; border-radius: 12px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.4rem; margin-bottom: 16px;
    }
    .risk-card.ok .icon { background: rgba(0, 230, 118, 0.18); color: var(--verde); }
    .risk-card.alert .icon { background: rgba(255, 107, 53, 0.18); color: var(--laranja); }
    .risk-card h3 {
        font-size: 1.15rem; font-weight: 700; margin-bottom: 10px;
    }
    .risk-card.ok h3 { color: var(--verde); }
    .risk-card.alert h3 { color: var(--laranja); }
    .risk-card p { color: var(--text-mute); font-size: 0.95rem; }
    @media (max-width: 900px) { .risk-grid { grid-template-columns: 1fr; } }

    /* ===== ASK SECTION ===== */
    .ask-box {
        background: linear-gradient(160deg, var(--bg-card), rgba(91, 46, 170, 0.1));
        border: 1px solid rgba(124, 92, 255, 0.35);
        border-radius: var(--radius-lg);
        padding: 50px;
        text-align: center;
        box-shadow: var(--shadow-glow);
        backdrop-filter: blur(10px);
    }
    .ask-box .amount {
        font-family: 'JetBrains Mono', monospace;
        font-size: clamp(2.6rem, 6vw, 4.4rem);
        font-weight: 800;
        background: var(--grad-verde);
        -webkit-background-clip: text; background-clip: text;
        color: transparent;
        line-height: 1; letter-spacing: -0.02em;
        margin-bottom: 8px;
    }
    .ask-box .round {
        color: var(--text-mute); font-size: 1.05rem;
        margin-bottom: 30px;
        font-family: 'JetBrains Mono', monospace;
        letter-spacing: 0.08em; text-transform: uppercase;
    }
    .ask-box .terms {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
        max-width: 720px; margin: 0 auto 30px;
    }
    .ask-box .term {
        background: rgba(255,255,255,0.04);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 16px;
        text-align: left;
    }
    .ask-box .term .l {
        color: var(--ciano); font-size: 11px; font-weight: 700;
        text-transform: uppercase; letter-spacing: 0.08em;
        margin-bottom: 4px;
        font-family: 'JetBrains Mono', monospace;
    }
    .ask-box .term .v { color: var(--text); font-weight: 600; font-size: 0.94rem; }
    .ask-box .lead-final {
        color: var(--text); font-size: 1.1rem; margin-bottom: 20px;
    }
    .ask-box .lead-final strong { color: var(--verde); }
    @media (max-width: 768px) { .ask-box { padding: 30px 24px; } .ask-box .terms { grid-template-columns: 1fr; } }

    /* ===== CONTATO ===== */
    .contact-grid {
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
        max-width: 720px; margin: 30px auto 0;
    }
    .contact-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 20px 24px;
        display: flex; align-items: center; gap: 16px;
        transition: border-color .3s;
    }
    .contact-card:hover { border-color: var(--border-hover); }
    .contact-card .ic {
        width: 42px; height: 42px; border-radius: 12px;
        background: rgba(34, 211, 238, 0.12); color: var(--ciano);
        display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
        flex-shrink: 0;
    }
    .contact-card .l { color: var(--text-dim); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
    .contact-card .v { color: var(--text); font-weight: 700; }
    @media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }
}

/* ============================================================
   TEMA LIGHT
   ============================================================ */
html[data-tema="light"] {

    /* ===== BOTÕES ===== */
    .btn {
        display: inline-flex; align-items: center; gap: 8px;
        padding: 16px 28px; border-radius: 999px;
        font-weight: 700; font-size: 15px;
        transition: transform .2s, box-shadow .2s, background .2s;
        cursor: pointer; border: none;
    }
    .btn-primary {
        background: var(--grad-1); color: #fff;
        box-shadow: 0 10px 28px rgba(91, 46, 170, 0.5);
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(91, 46, 170, 0.6); }
    .btn-wa {
        background: var(--verde-wa); color: #fff;
        box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
    }
    .btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5); }
    .btn-ghost {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.18);
        color: #fff;
    }
    .btn-ghost:hover { background: rgba(255,255,255,0.12); }

    /* ===== PHONE / CHAT (hero) ===== */
    .phone {
        position: relative;
        z-index: 3;
        width: 300px;
        max-width: 100%;
        margin-left: 0;
        margin-right: auto;
        background: #0a0420; border-radius: 36px;
        padding: 12px;
        box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 2px rgba(124, 92, 255, 0.3);
    }
    .phone .screen {
        background: linear-gradient(180deg, #075E54 0%, #128c7e 100%);
        border-radius: 26px; overflow: hidden;
        min-height: 460px;
        display: flex; flex-direction: column;
    }
    .wa-header {
        background: #075E54; padding: 14px 16px;
        display: flex; align-items: center; gap: 12px;
    }
    .wa-header .avatar {
        width: 40px; height: 40px; border-radius: 50%;
        background: var(--grad-1);
        display: flex; align-items: center; justify-content: center;
        color: #fff; font-weight: 800; font-size: 14px;
    }
    .wa-header .who strong { color: #fff; font-size: 15px; display: block; }
    .wa-header .who small { color: rgba(255,255,255,0.7); font-size: 12px; }
    .chat {
        flex: 1; padding: 16px;
        background: #ECE5DD;
        background-image: linear-gradient(rgba(7, 94, 84, 0.04), rgba(7, 94, 84, 0.04));
        display: flex; flex-direction: column; gap: 8px;
        overflow: hidden;
    }
    .msg {
        max-width: 80%; padding: 8px 12px;
        border-radius: 12px;
        font-size: 13.5px; line-height: 1.4;
        box-shadow: 0 1px 1px rgba(0,0,0,0.08);
        animation: fadeUp .5s ease both;
        color: #303030;
    }
    .msg.user {
        align-self: flex-end; background: #DCF8C6;
        color: #1a3a1a;
        border-bottom-right-radius: 4px;
    }
    .msg.ia {
        align-self: flex-start; background: #fff;
        color: #303030;
        border-bottom-left-radius: 4px;
    }
    .msg.ia b, .msg.ia strong {
        color: #2D0B5B;
    }
    .wa-input {
        background: #f0f0f0; padding: 8px 12px;
        display: flex; align-items: center; gap: 8px;
    }
    .wa-input .field {
        flex: 1; background: #fff; padding: 8px 14px;
        border-radius: 20px; font-size: 13px; color: #888;
    }
    .wa-input .send {
        width: 36px; height: 36px; border-radius: 50%;
        background: var(--verde-wa);
        display: flex; align-items: center; justify-content: center;
        color: #fff;
    }

    /* ===== STATS (card) ===== */
    .stat {
        background: #fff;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 24px 20px;
        text-align: center;
        box-shadow: var(--shadow-md);
        transition: transform .3s, box-shadow .3s;
    }
    .stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .stat .n {
        display: block;
        font-size: clamp(1.8rem, 3vw, 2.4rem);
        font-weight: 800; color: var(--roxo);
        line-height: 1; letter-spacing: -0.02em;
        margin-bottom: 6px;
    }
    .stat .l {
        display: block; color: var(--text-mute);
        font-size: 13px; font-weight: 500;
        text-transform: uppercase; letter-spacing: 0.06em;
    }

    /* ===== DASHBOARD PREVIEW ===== */
    .dashboard-showcase {
        max-width: 1280px;
        margin: 0 auto 44px;
        padding: 0 24px;
    }
    .dashboard-frame {
        background: #fff;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        overflow: hidden;
        padding: 10px;
        line-height: 0;
    }
    .dashboard-frame img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: calc(var(--radius-lg) - 6px);
    }
    .dashboard-caption {
        text-align: center;
        margin-top: 16px;
        font-size: 0.92rem;
        color: var(--text-mute);
        line-height: 1.5;
    }
    .dashboard-caption strong { color: var(--roxo); }

    /* ===== GRID DE CARDS ===== */
    .grid { display: grid; gap: 22px; max-width: 1280px; margin: 0 auto; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    @media (max-width: 900px) {
        .grid-3 { grid-template-columns: 1fr; }
        .grid-2 { grid-template-columns: 1fr; }
    }
    a.card, a.product-card { display: block; text-decoration: none; color: inherit; cursor: pointer; }
    .card {
        background: #fff; border: 1px solid var(--border);
        border-radius: var(--radius); padding: 30px;
        box-shadow: var(--shadow-sm);
        transition: transform .3s, box-shadow .3s, border-color .3s;
        position: relative; overflow: hidden;
    }
    .card:hover {
        transform: translateY(-4px); box-shadow: var(--shadow-md);
        border-color: rgba(124, 92, 255, 0.35);
    }
    .card .icon {
        width: 52px; height: 52px; border-radius: 14px;
        background: var(--grad-1);
        display: flex; align-items: center; justify-content: center;
        font-size: 1.5rem; margin-bottom: 18px;
        box-shadow: 0 8px 22px rgba(91, 46, 170, 0.3);
    }
    .card h3 {
        font-size: 1.25rem; font-weight: 700;
        color: var(--text); margin-bottom: 10px;
    }
    .card p { color: var(--text-mute); font-size: 0.98rem; }

    /* ===== PLAYERS (concorrência) ===== */
    .players {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
        max-width: 1280px; margin: 0 auto;
    }
    .player {
        background: #fff; border: 1px solid var(--border);
        border-radius: var(--radius); padding: 24px;
        transition: transform .3s, box-shadow .3s;
    }
    .player:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
    .player .name {
        display: flex; align-items: center; justify-content: space-between;
        font-weight: 700; color: var(--text); margin-bottom: 10px;
        font-size: 1.05rem;
    }
    .player .tag {
        background: rgba(91, 46, 170, 0.12);
        color: var(--roxo);
        padding: 4px 10px; border-radius: 999px;
        font-size: 11px; font-weight: 700;
        text-transform: uppercase; letter-spacing: 0.06em;
    }
    .player p { color: var(--text-mute); font-size: 0.92rem; }
    @media (max-width: 900px) { .players { grid-template-columns: 1fr; } }

    /* ===== CHANNELS (Como funciona) ===== */
    .channels {
        display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
        max-width: 1280px; margin: 0 auto;
    }
    .channel {
        border-radius: var(--radius-lg); padding: 38px 32px;
        color: #fff; position: relative; overflow: hidden;
        box-shadow: var(--shadow-md);
    }
    .channel.erp {
        background: linear-gradient(160deg, #1a0a3e 0%, #5B2EAA 100%);
    }
    .channel.wa {
        background: linear-gradient(160deg, #075E54 0%, #25D366 100%);
    }
    .channel::before {
        content: ''; position: absolute; right: -40px; top: -40px;
        width: 200px; height: 200px; border-radius: 50%;
        background: rgba(255,255,255,0.06);
    }
    .channel .ch-icon {
        width: 60px; height: 60px; border-radius: 16px;
        background: rgba(255,255,255,0.14);
        display: flex; align-items: center; justify-content: center;
        font-size: 1.8rem; margin-bottom: 22px;
    }
    .channel h3 {
        font-size: 1.4rem; font-weight: 800; margin-bottom: 12px;
    }
    .channel ul { margin-top: 18px; }
    .channel ul li {
        padding: 10px 0 10px 28px; position: relative;
        color: rgba(255,255,255,0.92); font-size: 0.96rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .channel ul li::before {
        content: '✓'; position: absolute; left: 0; top: 10px;
        width: 18px; height: 18px; border-radius: 50%;
        background: rgba(255,255,255,0.2);
        color: #fff; font-size: 11px; font-weight: 700;
        display: flex; align-items: center; justify-content: center;
    }
    .channel ul li:last-child { border-bottom: none; }
    @media (max-width: 900px) { .channels { grid-template-columns: 1fr; } }

    /* ===== QA GRID (Exemplos) ===== */
    .qa-grid {
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
        max-width: 1280px; margin: 0 auto;
    }
    .qa {
        background: linear-gradient(160deg, #fff 0%, #faf8ff 100%);
        border: 1px solid var(--border);
        border-radius: var(--radius); padding: 22px 24px;
        transition: transform .3s, box-shadow .3s, border-color .3s;
        cursor: pointer; position: relative;
    }
    .qa:hover {
        transform: translateY(-3px); box-shadow: var(--shadow-md);
        border-color: rgba(34, 211, 238, 0.4);
    }
    .qa .q {
        display: flex; align-items: center; gap: 10px;
        font-weight: 700; color: var(--roxo);
        margin-bottom: 10px; font-size: 1.02rem;
    }
    .qa .q .ico { font-size: 1.1rem; }
    .qa .a { color: var(--text-mute); font-size: 0.94rem; }
    .qa .more {
        display: inline-block; margin-top: 10px;
        color: var(--ciano-dark); font-size: 13px; font-weight: 700;
    }
    @media (max-width: 768px) { .qa-grid { grid-template-columns: 1fr; } }

    /* ===== BENEFITS ===== */
    .benefits {
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
        max-width: 1280px; margin: 0 auto;
    }
    .benefit {
        display: flex; gap: 20px;
        background: #fff; padding: 28px;
        border-radius: var(--radius);
        border: 1px solid var(--border);
        box-shadow: var(--shadow-sm);
    }
    .benefit .num {
        flex-shrink: 0; width: 52px; height: 52px;
        border-radius: 14px;
        background: var(--grad-1); color: #fff;
        display: flex; align-items: center; justify-content: center;
        font-weight: 800; font-size: 1.05rem;
    }
    .benefit h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
    .benefit p { color: var(--text-mute); font-size: 0.96rem; }
    @media (max-width: 900px) { .benefits { grid-template-columns: 1fr; } }

    /* ===== COMPARATIVO ===== */
    .compare-wrap {
        max-width: 1280px; margin: 0 auto;
        overflow-x: auto;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        background: #fff;
    }
    .compare {
        width: 100%; border-collapse: collapse;
        min-width: 720px;
    }
    .compare th, .compare td {
        padding: 18px 20px; text-align: left;
        border-bottom: 1px solid rgba(124, 92, 255, 0.1);
        font-size: 0.94rem;
    }
    .compare thead th {
        background: var(--roxo-deep); color: #fff;
        font-weight: 700; font-size: 0.92rem;
        text-transform: uppercase; letter-spacing: 0.04em;
    }
    .compare thead th small { font-size: 0.78rem; opacity: 0.7; }
    .compare th.frenty-col, .compare td.frenty-col {
        background: linear-gradient(180deg, rgba(34, 211, 238, 0.08) 0%, rgba(91, 46, 170, 0.05) 100%);
    }
    .compare thead th.frenty-col { background: var(--grad-1); }
    .compare tbody tr:hover td { background: rgba(124, 92, 255, 0.03); }
    .compare tbody tr:hover td.frenty-col { background: rgba(34, 211, 238, 0.12); }
    .pill {
        display: inline-flex; align-items: center; gap: 5px;
        padding: 5px 11px; border-radius: 999px;
        font-size: 12px; font-weight: 700;
    }
    .pill.ok { background: rgba(37, 211, 102, 0.15); color: var(--verde-wa-dark); }
    .pill.partial { background: rgba(251, 191, 36, 0.18); color: #b45309; }
    .pill.no { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }

    /* ===== SEGURANÇA ===== */
    .sec-grid {
        display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px;
        max-width: 1280px; margin: 0 auto; align-items: center;
    }
    .sec-shield {
        aspect-ratio: 1; max-width: 360px; margin: 0 auto;
        border-radius: 50%;
        background: var(--grad-2);
        display: flex; align-items: center; justify-content: center;
        position: relative;
        box-shadow: 0 30px 80px rgba(91, 46, 170, 0.35);
    }
    .sec-shield::before {
        content: '🛡️'; font-size: 7rem;
        filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
    }
    .sec-shield::after {
        content: ''; position: absolute; inset: -8px;
        border-radius: 50%;
        border: 2px dashed rgba(34, 211, 238, 0.5);
        animation: rotate 30s linear infinite;
    }
    .sec-list { display: flex; flex-direction: column; gap: 16px; }
    .sec-list .item {
        display: flex; gap: 16px; padding: 18px 20px;
        background: #fff; border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
    }
    .sec-list .dot {
        flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
        background: rgba(34, 211, 238, 0.14); color: var(--ciano-dark);
        display: flex; align-items: center; justify-content: center;
        font-size: 1.3rem;
    }
    .sec-list .item strong {
        display: block; color: var(--text); font-size: 1.02rem; margin-bottom: 4px;
    }
    .sec-list .item span { color: var(--text-mute); font-size: 0.94rem; }
    @media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr; gap: 30px; } }

    /* ===== PLANOS ===== */
    .plans {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
        max-width: 1280px; margin: 0 auto;
    }
    .plan {
        background: #fff; border: 1.5px solid var(--border);
        border-radius: var(--radius-lg); padding: 32px 28px;
        position: relative;
        transition: transform .3s, box-shadow .3s;
    }
    .plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
    .plan h3 {
        font-size: 1.3rem; font-weight: 800; color: var(--roxo);
        margin-bottom: 8px;
    }
    .plan .price {
        font-size: 2.4rem; font-weight: 800; color: var(--text);
        line-height: 1; margin-bottom: 6px; letter-spacing: -0.02em;
    }
    .plan .price small { font-size: 0.9rem; color: var(--text-mute); font-weight: 500; }
    .plan .desc { color: var(--text-mute); font-size: 0.94rem; margin-bottom: 22px; }
    .plan ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
    .plan ul li {
        padding-left: 28px; position: relative;
        color: var(--text); font-size: 0.94rem;
    }
    .plan ul li::before {
        content: '✓'; position: absolute; left: 0; top: 1px;
        width: 18px; height: 18px; border-radius: 50%;
        background: rgba(37, 211, 102, 0.15); color: var(--verde-wa-dark);
        display: flex; align-items: center; justify-content: center;
        font-size: 11px; font-weight: 700;
    }
    .plan.featured {
        border-color: var(--roxo); transform: translateY(-12px);
        background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
        box-shadow: 0 24px 60px rgba(91, 46, 170, 0.2);
    }
    .plan.featured .tag-top {
        position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
        background: var(--grad-1); color: #fff;
        padding: 6px 16px; border-radius: 999px;
        font-size: 12px; font-weight: 800;
        text-transform: uppercase; letter-spacing: 0.08em;
        box-shadow: 0 8px 22px rgba(91, 46, 170, 0.4);
    }
    @media (max-width: 900px) {
        .plans { grid-template-columns: 1fr; }
        .plan.featured { transform: none; }
    }

    /* ===== CALLOUT BOX ===== */
    .callout {
        max-width: 1280px; margin: 30px auto 0;
        padding: 28px 32px;
        background: linear-gradient(160deg, rgba(91, 46, 170, 0.06) 0%, rgba(34, 211, 238, 0.04) 100%);
        border: 1px solid rgba(124, 92, 255, 0.18);
        border-radius: var(--radius);
    }
    .callout p { color: var(--text); font-size: 1.04rem; line-height: 1.7; }
    .callout strong { color: var(--roxo); }

    /* ===== FINAL CTA ===== */
    .final {
        background: var(--grad-2); color: #fff;
        padding: 100px 24px;
        text-align: center;
        position: relative; overflow: hidden;
    }
    .final::before {
        content: ''; position: absolute; inset: 0;
        background-image:
            radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.3), transparent 60%),
            radial-gradient(circle at 20% 80%, rgba(255, 92, 247, 0.18), transparent 60%);
    }
    .final > div { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
    .final .eyebrow { color: var(--ciano); justify-content: center; }
    .final h2 {
        font-size: clamp(1.8rem, 3.4vw, 2.6rem);
        font-weight: 800; line-height: 1.2; margin-bottom: 20px;
    }
    .final h2 .gradient-text { background: linear-gradient(135deg, #22D3EE 0%, #FF5CF7 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .final p { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 36px; }
    .final .ctas { justify-content: center; }
    .final .info {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
        margin-top: 50px;
    }
    .final .info .it {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.14);
        border-radius: var(--radius); padding: 20px;
        backdrop-filter: blur(8px);
    }
    .final .info .lab { font-size: 12px; color: var(--ciano); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
    .final .info .val { color: #fff; font-weight: 600; }
    @media (max-width: 768px) { .final .info { grid-template-columns: 1fr; } }
}
