/* --- SEÇÃO DE PREÇOS --- */
.precos {
    padding: 100px 0;
    color: white;
}

/* Header */
.precos-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 64px;
}

.precos-hat {
    color: var(--Grey-50);
    font-size: 16px;
    font-weight: 100;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 14px;
    border-radius: 64px;
    width: fit-content;
}

.precos-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 20px;
    max-width: 600px;
}

.precos-description {
    color: var(--Grey-200);
    font-size: 16px;
    margin-top: 12px;
    max-width: 500px;
}

/* Grid dos cards */
.precos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Card base */
.preco-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    padding: 40px 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease;
}

.preco-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(4, 115, 255, 0.12);
}

/* Card destaque (mais popular) */
.preco-card--destaque {
    border-color: rgba(4, 115, 255, 0.6);
    background: rgba(4, 115, 255, 0.07);
    box-shadow: 0 0 60px -10px rgba(4, 115, 255, 0.25);
}

.preco-card--destaque:hover {
    box-shadow: 0 20px 56px rgba(4, 115, 255, 0.28);
}

/* Badge "Mais popular" */
.preco-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #0473ff, #08c460);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 64px;
    white-space: nowrap;
}

/* Nome do plano */
.preco-nome {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--Grey-200);
    margin-bottom: 12px;
}

/* Valor */
.preco-valor {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 6px;
}

.preco-moeda {
    font-size: 20px;
    font-weight: 500;
    color: var(--Grey-100);
    line-height: 1;
    padding-bottom: 6px;
}

.preco-numero {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: white;
}

.preco-periodo {
    font-size: 14px;
    color: var(--Grey-200);
    padding-bottom: 8px;
}

.preco-consulta {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: white;
    margin-bottom: 6px;
}

.preco-subtitulo {
    font-size: 14px;
    color: var(--Grey-200);
    margin-bottom: 0;
}

/* Divisor */
.preco-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 24px 0;
}

/* ── Specs do plano (itens diferenciadores) ─────────────────────────────── */
.preco-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.preco-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    gap: 8px;
}

.preco-spec-label {
    color: var(--Grey-200);
    display: flex;
    align-items: center;
    gap: 5px;
}

.preco-spec-value {
    color: var(--Grey-50);
    font-weight: 600;
    text-align: right;
    flex-shrink: 0;
}

/* Adicional e BI ficam mais sutis */
.preco-spec--addon .preco-spec-value {
    color: var(--Grey-200);
    font-weight: 400;
}

/* B.I. addon — destaque sutil */
.preco-bi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 4px;
    font-size: 13px;
}

.preco-bi-label {
    color: var(--Grey-200);
    display: flex;
    align-items: center;
    gap: 5px;
}

.preco-bi-value {
    color: #08c460;
    font-weight: 700;
    white-space: nowrap;
}

/* ── Tooltip ────────────────────────────────────────────────────────────── */
.tooltip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
}

.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--Grey-200);
    font-size: 9px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    flex-shrink: 0;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.tooltip-wrap:hover .tooltip-icon {
    border-color: #0473ff;
    color: #0473ff;
}

.tooltip-box {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    background: #1a1f3a;
    border: 1px solid rgba(4, 115, 255, 0.3);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--Grey-100);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transform: translateX(-50%) translateY(4px);
    z-index: 100;
    white-space: normal;
    cursor: default;
}

.tooltip-box strong {
    display: block;
    color: white;
    font-size: 13px;
    margin-bottom: 6px;
}

/* Setinha */
.tooltip-box::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(4, 115, 255, 0.3);
}

.tooltip-box::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -1px;
    border: 5px solid transparent;
    border-top-color: #1a1f3a;
    z-index: 1;
}

.tooltip-wrap:hover .tooltip-box,
.tooltip-wrap:focus-within .tooltip-box {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Evitar que tooltip saia da tela no primeiro card */
.preco-card:first-child .tooltip-box {
    left: 0;
    transform: translateX(0) translateY(4px);
}
.preco-card:first-child .tooltip-box::after,
.preco-card:first-child .tooltip-box::before {
    left: 20px;
}
.preco-card:first-child .tooltip-wrap:hover .tooltip-box {
    transform: translateX(0) translateY(0);
}

/* Evitar que tooltip saia da tela no último card */
.preco-card:last-child .tooltip-box {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(4px);
}
.preco-card:last-child .tooltip-box::after,
.preco-card:last-child .tooltip-box::before {
    left: auto;
    right: 20px;
}
.preco-card:last-child .tooltip-wrap:hover .tooltip-box {
    transform: translateX(0) translateY(0);
}

/* ── Features compartilhadas ────────────────────────────────────────────── */
.preco-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    margin-bottom: 32px;
}

.preco-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--Grey-200);
    line-height: 1.4;
}

.preco-feature-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── E muito mais ───────────────────────────────────────────────────────── */
.preco-mais {
    font-size: 13px;
    font-weight: 600;
    color: var(--Primary);
    margin: 4px 0 16px;
    letter-spacing: 0.02em;
}

/* ── CTA ────────────────────────────────────────────────────────────────── */
.preco-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    border-radius: 64px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.22s ease;
    margin-top: auto;
    border: none;
}

.preco-cta--outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: white;
}

.preco-cta--outline:hover {
    border-color: rgba(4, 115, 255, 0.7);
    background: rgba(4, 115, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(4, 115, 255, 0.2);
}

.preco-cta--primary {
    background: linear-gradient(90deg, #0473ff, #006bf2);
    color: white;
}

.preco-cta--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(4, 115, 255, 0.45);
}

.preco-cta--ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: white;
}

.preco-cta--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
