/* =====================================================
   IDENTITY — página de identidade / quem você se torna
   Depende de: global.css
   ===================================================== */

/* ─── Seção de identidade ─────────────────────────── */
.identity-section {
    padding: 96px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Glow dourado ambiental */
.identity-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    pointer-events: none;
    background: radial-gradient(ellipse, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}

/* Grid de identidade — traços do policial aprovado */
.identity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 52px;
}

@media (max-width: 640px) {
    .identity-grid {
        grid-template-columns: 1fr;
    }
}

.identity-cell {
    background: var(--surface);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: background 0.2s;
}

.identity-cell:hover {
    background: var(--surface-2);
}

/* Número ordinal em marca d'água */
.id-watermark {
    position: absolute;
    bottom: -12px;
    right: 16px;
    font-family: var(--font-d);
    font-size: 5rem;
    line-height: 1;
    color: rgba(201, 168, 76, 0.05);
    pointer-events: none;
    user-select: none;
}

.id-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    background: var(--gold-dim);
    color: var(--gold-hi);
}

.identity-cell h3 {
    font-family: var(--font-d);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.identity-cell p {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-muted);
}

/* Citação destaque — linha inteira */
.identity-quote {
    grid-column: 1 / -1;
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 36px 32px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.quote-bar {
    width: 3px;
    flex-shrink: 0;
    align-self: stretch;
    background: var(--gold);
}

.identity-quote blockquote {
    font-family: var(--font-d);
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: var(--text);
    line-height: 1.3;
    letter-spacing: 0.02em;
    font-style: normal;
}

.identity-quote cite {
    display: block;
    margin-top: 12px;
    font-family: var(--font-b);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ─── Obstáculos ──────────────────────────────────── */
.obstacles-section {
    padding: 96px 0;
}

.obstacles-list {
    margin-top: 48px;
    border: 1px solid var(--border);
}

.obstacle-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: start;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.obstacle-row:last-child {
    border-bottom: none;
}

.obstacle-row:hover {
    background: var(--surface);
}

.obstacle-num {
    padding: 24px 0 24px 24px;
    font-family: var(--font-d);
    font-size: 1.8rem;
    color: var(--border-hi);
    line-height: 1;
    align-self: center;
}

.obstacle-body {
    padding: 20px 24px;
}

.obstacle-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text);
    margin-bottom: 6px;
}

.obstacle-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.obstacle-solve {
    padding: 20px 24px 20px 0;
    align-self: center;
    white-space: nowrap;
}

.solve-badge {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid var(--green);
    background: var(--green-dim);
    color: var(--green-hi);
}

@media (max-width: 600px) {
    .obstacle-row {
        grid-template-columns: 40px 1fr;
    }

    .obstacle-solve {
        display: none;
    }

    .obstacle-num {
        padding: 20px 0 20px 16px;
        font-size: 1.4rem;
    }

    .obstacle-body {
        padding: 16px;
    }
}

/* ─── Produto (layout split) ──────────────────────── */
.product-split {
    display: grid;
    grid-template-columns: 1fr 300px;
    border: 1px solid var(--border);
    background: var(--bg);
    margin-top: 48px;
    position: relative;
}

.product-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--blue), var(--gold));
}

@media (max-width: 760px) {
    .product-split {
        grid-template-columns: 1fr;
    }
}

.product-body {
    padding: 40px 36px;
    border-right: 1px solid var(--border);
}

@media (max-width: 760px) {
    .product-body {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

/* Usa .eyebrow (global) + cor específica */
.product-eyebrow {
    color: var(--blue-hi);
    margin-bottom: 8px;
}

.product-title {
    font-family: var(--font-d);
    font-size: 2rem;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 16px;
}

/* ─── Leis — grade 4×2 compacta ───────────────────── */
.leis-section {
    padding: 96px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.leis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 52px;
}

@media (max-width: 860px) {
    .leis-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .leis-grid {
        grid-template-columns: 1fr;
    }
}

.lei-card {
    background: var(--surface);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    transition: background 0.2s;
}

.lei-card:hover {
    background: var(--surface-2);
}

.lei-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border);
    transition: background 0.2s;
}

.lei-card:hover::before {
    background: var(--gold);
}

/* Usa .eyebrow (global) + cor específica */
.lei-num {
    color: var(--blue-hi);
    font-family: var(--font-d);
    font-size: 1.25rem;
}

.lei-name {
    font-family: var(--font-d);
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.2;
}

.lei-ref {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.lei-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 3px 8px;
    border: 1px solid var(--amber);
    background: var(--amber-dim);
    color: var(--amber-hi);
    width: fit-content;
}

/* ─── Bônus IA ────────────────────────────────────── */
.bonus-ia {
    margin-top: 16px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--amber);
    background: var(--bg);
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.bonus-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--amber-dim);
    border: 1px solid var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-hi);
}

/* Usa .eyebrow (global) + cor específica */
.bonus-eyebrow {
    color: var(--amber-hi);
    margin-bottom: 4px;
}

.bonus-name {
    font-family: var(--font-d);
    font-size: 1.2rem;
    color: var(--text);
    display: block;
    margin-bottom: 6px;
}

.bonus-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.7;
}
