﻿
/* ===== bdOpenData (keeps index.html template + Boyce tokens) ===== */
:root {
    --od-accent: var(--bd-primary);
    --od-ink: var(--bd-text-dark);
    --od-muted: var(--bd-text-light);
    --od-soft: var(--bd-bg-soft);
    --od-border: rgba(15, 23, 42, 0.12);
    --od-border-2: rgba(15, 23, 42, 0.08);
    --od-card: #ffffff;
}

.a :root {
    /* dark mode (body has class .a) */
    --od-ink: rgba(255, 255, 255, 0.92);
    --od-muted: rgba(255, 255, 255, 0.72);
    --od-soft: rgba(255, 255, 255, 0.04);
    --od-border: rgba(255, 255, 255, 0.14);
    --od-border-2: rgba(255, 255, 255, 0.10);
    --od-card: rgba(255, 255, 255, 0.05);
}

/* Sections (light like Judit, matching template) */
.od-section {
    padding: 100px 20px;
    background: var(--od-soft);
    border-radius: 40px;
    margin: 60px 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--od-border-2);
}

    .od-section.od-section-white {
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.10);
    }

.a .od-section.od-section-white {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.10);
}

.od-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image: radial-gradient(rgba(114, 107, 194, 0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at 50% 20%, rgba(0, 0, 0, 1), transparent 60%);
}

.od-head {
    max-width: 920px;
    margin: 0 auto 40px auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

    .od-head h2 {
        font-size: clamp(28px, 3.3vw, 46px);
        line-height: 1.15;
        letter-spacing: -0.02em;
        font-weight: 800;
        color: var(--od-ink);
        margin: 0 0 14px 0;
    }

    .od-head p {
        color: var(--od-muted);
        font-size: 18px;
        line-height: 1.7;
        margin: 0;
    }

.od-accent {
    color: var(--od-accent);
}

/* Hero extras */
.od-hero h1 {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(44px, 5.2vw, 74px);
    letter-spacing: -0.03em;
    line-height: 1.03;
}

.od-hero p {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.od-hero-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 26px auto 0;
    max-width: 920px;
}

.od-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    backdrop-filter: blur(10px);
}

    .od-chip svg {
        width: 16px;
        height: 16px;
        color: var(--od-accent);
    }

.od-hero-grid {
    max-width: 1040px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.od-details {
    max-width: 1040px;
    margin: 22px auto 0;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

    .od-details summary {
        list-style: none;
        cursor: pointer;
        padding: 14px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        color: rgba(255, 255, 255, 0.88);
        font-weight: 800;
        letter-spacing: -0.01em;
    }

        .od-details summary::-webkit-details-marker {
            display: none;
        }

        .od-details summary .hint {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.62);
            font-weight: 700;
            letter-spacing: 0;
        }

    .od-details .inner {
        padding: 0 16px 16px;
    }

@media (max-width: 520px) {
    .od-hero h1 {
        font-size: clamp(36px, 9.6vw, 54px);
    }
}

.od-mini {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    padding: 18px;
    text-align: left;
}

    .od-mini strong {
        display: block;
        font-size: 14px;
        letter-spacing: -0.01em;
        color: rgba(255, 255, 255, 0.92);
        margin-bottom: 8px;
    }

    .od-mini p {
        margin: 0;
        color: rgba(255, 255, 255, 0.72);
        line-height: 1.6;
        font-size: 14px;
    }

.od-code {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 12, 22, 0.55);
    overflow: hidden;
}

.od-code-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.06);
}

.od-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.od-tab {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
    padding: 8px 10px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

    .od-tab:hover {
        transform: translateY(-1px);
        border-color: rgba(114, 107, 194, 0.35);
    }

    .od-tab.is-active {
        border-color: rgba(114, 107, 194, 0.45);
        background: rgba(114, 107, 194, 0.10);
        color: rgba(255, 255, 255, 0.92);
    }

.od-code-meta {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 700;
}

.od-code pre {
    margin: 0;
    padding: 14px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12.5px;
    line-height: 1.55;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Problem pills (Judit-like) */
.od-pains {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1120px;
    margin: 34px auto 0;
    position: relative;
    z-index: 1;
}

.od-pill {
    background: var(--od-card);
    border: 1px solid var(--od-border);
    border-radius: 18px;
    padding: 16px 16px;
    color: var(--od-ink);
    font-weight: 700;
    line-height: 1.35;
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .od-pill svg {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
        color: var(--od-accent);
    }

/* Solution features */
.od-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1120px;
    margin: 40px auto 0;
    position: relative;
    z-index: 1;
}

.od-card {
    background: var(--od-card);
    border: 1px solid var(--od-border);
    border-radius: 22px;
    padding: 18px;
}

    .od-card strong {
        display: block;
        font-weight: 800;
        letter-spacing: -0.01em;
        color: var(--od-ink);
        margin: 10px 0 8px 0;
    }

    .od-card p {
        margin: 0;
        color: var(--od-muted);
        line-height: 1.7;
        font-size: 14px;
    }

.od-ico {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    border: 1px solid var(--od-border);
    background: rgba(114, 107, 194, 0.10);
}

    .od-ico svg {
        width: 18px;
        height: 18px;
        color: var(--od-accent);
    }

/* Enriquecido (dado bruto vs. dado enriquecido) */
.od-enrich-compare {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 900px;
    margin: 40px auto 0;
    position: relative;
    z-index: 1;
}

.od-enrich-card {
    flex: 1;
    background: var(--od-card);
    border: 1px solid var(--od-border);
    border-radius: 22px;
    padding: 26px;
}

    .od-enrich-card.is-rich {
        border-color: rgba(114, 107, 194, 0.45);
        box-shadow: 0 0 0 1px rgba(114, 107, 194, 0.15), 0 20px 50px rgba(114, 107, 194, 0.12);
        background: linear-gradient(165deg, rgba(114, 107, 194, 0.1), transparent 60%), var(--od-card);
    }

.od-enrich-label {
    display: block;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--od-muted);
    margin-bottom: 14px;
}

.od-enrich-card.is-rich .od-enrich-label {
    color: var(--od-accent);
}

.od-enrich-source-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

    .od-enrich-source-row .bd-badge {
        font-size: 11px;
        padding: 5px 10px;
    }

.od-enrich-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.od-enrich-field {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12.5px;
    color: var(--od-muted);
    background: rgba(15, 23, 42, 0.04);
    border-radius: 8px;
    padding: 6px 10px;
}

.a .od-enrich-field {
    background: rgba(255, 255, 255, 0.05);
}

.od-enrich-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.od-enrich-result-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--od-ink);
}

    .od-enrich-result-row .check {
        width: 18px;
        height: 18px;
        border-radius: 999px;
        background: #16a34a;
        color: #fff;
        display: grid;
        place-items: center;
        font-size: 10px;
        font-weight: 900;
        flex: 0 0 auto;
    }

.od-enrich-arrow {
    flex: 0 0 auto;
    font-size: 24px;
    color: var(--od-accent);
    font-weight: 900;
}

@media (max-width: 760px) {
    .od-enrich-compare {
        flex-direction: column;
    }

    .od-enrich-arrow {
        transform: rotate(90deg);
    }
}

/* Multi-domain (tabs + detail) */
.od-domains {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.52fr 1fr;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.od-domains-tabs {
    display: grid;
    gap: 12px;
}

.od-domains-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 18px;
    border: 1px solid var(--od-border);
    background: var(--od-card);
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

    .od-domains-tab:hover {
        transform: translateY(-1px);
        border-color: rgba(114, 107, 194, 0.28);
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    }

    .od-domains-tab.is-active {
        border-color: rgba(114, 107, 194, 0.40);
        box-shadow: 0 16px 36px rgba(114, 107, 194, 0.10);
    }

.od-domains-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.od-domains-tab .name {
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--od-ink);
}

.od-domains-tab .arrow {
    width: 28px;
    height: 28px;
    border-radius: 12px;
    border: 1px solid var(--od-border);
    background: rgba(15, 23, 42, 0.03);
    display: grid;
    place-items: center;
    color: var(--od-muted);
    font-weight: 900;
}

.a .od-domains-tab .arrow {
    background: rgba(255, 255, 255, 0.04);
}

.od-domain-detail {
    border-radius: 26px;
    border: 1px solid var(--od-border);
    background: var(--od-card);
    padding: 22px;
    min-height: 260px;
}

/* Domains list icon (closer to reference) */
.od-domains-ico {
    width: 46px;
    height: 46px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    border: 1px solid var(--od-border);
    background: rgba(114, 107, 194, 0.10);
}

    .od-domains-ico svg {
        width: 18px;
        height: 18px;
        color: var(--od-accent);
    }

.od-domain-detail h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--od-ink);
}

.od-domain-detail p {
    margin: 0 0 16px 0;
    color: var(--od-muted);
    line-height: 1.7;
}

.od-kv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

    .od-kv .k {
        border-radius: 18px;
        border: 1px solid var(--od-border-2);
        background: rgba(15, 23, 42, 0.02);
        padding: 14px;
    }

.a .od-kv .k {
    background: rgba(255, 255, 255, 0.03);
}

.od-kv .k b {
    display: block;
    color: var(--od-ink);
    font-weight: 900;
    letter-spacing: -0.01em;
}

.od-kv .k span {
    display: block;
    color: var(--od-muted);
    margin-top: 6px;
    line-height: 1.65;
    font-size: 14px;
}

/* Infra diagram (dark panel inside light section) */
.od-infra {
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(114, 107, 194, 0.20);
    background: radial-gradient(1100px 620px at 50% 30%, rgba(114, 107, 194, 0.26), transparent 60%), radial-gradient(900px 520px at 20% 78%, rgba(200, 196, 255, 0.14), transparent 62%), linear-gradient(180deg, #0a0b17, #141533);
    padding: 22px;
    box-shadow: 0 26px 70px rgba(10, 11, 23, 0.55);
    position: relative;
}

.od-infra-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 14px;
    flex-wrap: wrap;
}

.od-infra-pill {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.86);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: -0.01em;
    font-size: 13px;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    backdrop-filter: blur(10px);
}

    .od-infra-pill:hover {
        transform: translateY(-1px);
        border-color: rgba(200, 196, 255, 0.28);
    }

    .od-infra-pill.is-active {
        border-color: rgba(200, 196, 255, 0.40);
        background: rgba(114, 107, 194, 0.14);
        color: rgba(255, 255, 255, 0.92);
    }

.od-infra-caption {
    margin: 12px auto 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: -0.01em;
}

.od-infra::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(900px 420px at 50% 0%, rgba(255, 255, 255, 0.06), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 55%);
    opacity: 0.9;
}

.od-infra::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
    background-size: 220px 220px;
    mix-blend-mode: overlay;
}

.od-infra svg {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.od-infra .label {
    fill: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    font-size: 12px;
}

.od-infra .small {
    fill: rgba(255, 255, 255, 0.70);
    font-weight: 700;
    font-size: 11px;
}

.od-dash {
    stroke-dasharray: 10 12;
    animation: odDash 8s linear infinite;
    stroke-linecap: round;
}

@keyframes odDash {
    to {
        stroke-dashoffset: -220;
    }
}

/* Steps */
.od-steps {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    position: relative;
    z-index: 1;
}

.od-step {
    border-radius: 26px;
    border: 1px solid var(--od-border);
    background: var(--od-card);
    padding: 18px;
}

    .od-step .num {
        width: 44px;
        height: 44px;
        border-radius: 16px;
        display: grid;
        place-items: center;
        background: rgba(114, 107, 194, 0.12);
        border: 1px solid rgba(114, 107, 194, 0.25);
        color: var(--od-ink);
        font-weight: 900;
    }

    .od-step strong {
        display: block;
        margin-top: 12px;
        font-size: 16px;
        letter-spacing: -0.01em;
        color: var(--od-ink);
    }

    .od-step p {
        margin: 8px 0 0 0;
        color: var(--od-muted);
        line-height: 1.7;
        font-size: 14px;
    }

/* Use cases accordion */
.od-uc-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.od-uc-cards {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    position: relative;
    z-index: 1;
}

.od-uc-left {
    border-radius: 28px;
    border: 1px solid rgba(114, 107, 194, 0.22);
    background: radial-gradient(900px 520px at 50% 30%, rgba(114, 107, 194, 0.22), transparent 60%), linear-gradient(180deg, #0b0c18, #141533);
    padding: 22px;
    color: rgba(255, 255, 255, 0.92);
    min-height: 340px;
}

    .od-uc-left .ico {
        width: 46px;
        height: 46px;
        border-radius: 18px;
        display: grid;
        place-items: center;
        background: rgba(114, 107, 194, 0.10);
        border: 1px solid rgba(114, 107, 194, 0.20);
    }

    .od-uc-left h3 {
        margin: 14px 0 10px 0;
        font-size: 22px;
        letter-spacing: -0.02em;
    }

    .od-uc-left p {
        margin: 0;
        color: rgba(255, 255, 255, 0.74);
        line-height: 1.75;
        font-size: 14px;
    }

    .od-uc-left .bar {
        margin-top: 14px;
        border-radius: 999px;
        border: 1px solid rgba(114, 107, 194, 0.18);
        background: rgba(114, 107, 194, 0.10);
        padding: 10px 12px;
        color: rgba(200, 196, 255, 0.95);
        font-weight: 900;
        font-size: 12.5px;
    }

    .od-uc-left a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 16px;
        color: rgba(200, 196, 255, 0.95);
        font-weight: 900;
        font-size: 13px;
    }

        .od-uc-left a svg {
            width: 14px;
            height: 14px;
        }

.od-accordion {
    display: grid;
    gap: 12px;
}

/* API examples (dynamic, Judit-inspired) */
.od-api {
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(114, 107, 194, 0.22);
    background: radial-gradient(1100px 620px at 50% 30%, rgba(114, 107, 194, 0.24), transparent 60%), radial-gradient(900px 520px at 20% 78%, rgba(200, 196, 255, 0.14), transparent 62%), linear-gradient(180deg, #0b0c18, #141533);
    padding: 18px;
    box-shadow: 0 26px 70px rgba(10, 11, 23, 0.55);
    position: relative;
    z-index: 1;
}

    .od-api::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(900px 420px at 50% 0%, rgba(255, 255, 255, 0.06), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 55%);
        opacity: 0.9;
    }

.od-api-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 auto 14px;
}

.od-api-pill {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.86);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: -0.01em;
    font-size: 13px;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    backdrop-filter: blur(10px);
}

    .od-api-pill:hover {
        transform: translateY(-1px);
        border-color: rgba(200, 196, 255, 0.28);
    }

    .od-api-pill.is-active {
        border-color: rgba(200, 196, 255, 0.40);
        background: rgba(114, 107, 194, 0.16);
        color: rgba(255, 255, 255, 0.92);
    }

.od-api-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 16px;
}

.od-api-side {
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.od-api-side-head {
    padding: 14px 14px 0 14px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 900;
    font-size: 12.5px;
    letter-spacing: -0.01em;
}

.od-api-code {
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 12, 22, 0.55);
    overflow: hidden;
}

.od-api-code-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.06);
}

.od-api-method {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 10px;
    border: 1px solid rgba(114, 107, 194, 0.35);
    background: rgba(114, 107, 194, 0.14);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: -0.01em;
}

.od-api-url {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.od-api-code pre {
    margin: 0;
    padding: 14px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12.5px;
    line-height: 1.55;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.od-api-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 14px 14px 14px;
}

.od-api-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
    font-size: 12px;
}

.od-api .od-acc-item {
    border-color: rgba(255, 255, 255, 0.12);
    background: transparent;
}

.od-api .od-acc-btn {
    padding: 14px 14px 12px 14px;
}

.od-api .od-acc-title {
    color: rgba(255, 255, 255, 0.92);
}

.od-api .od-acc-panel-inner {
    color: rgba(255, 255, 255, 0.70);
    padding: 0 14px 12px 14px;
}

.od-api .od-acc-chev {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
}

.od-api .od-acc-ico {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(114, 107, 194, 0.12);
}

@media (max-width: 1024px) {
    .od-api-grid {
        grid-template-columns: 1fr;
    }
}

.od-acc-item {
    border-radius: 22px;
    border: 1px solid var(--od-border);
    background: var(--od-card);
    overflow: hidden;
}

    .od-acc-item.is-open {
        border-color: rgba(114, 107, 194, 0.35);
        box-shadow: 0 16px 36px rgba(114, 107, 194, 0.08);
    }

.od-acc-btn {
    width: 100%;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.od-acc-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.od-acc-ico {
    width: 40px;
    height: 40px;
    border-radius: 16px;
    border: 1px solid var(--od-border);
    background: rgba(114, 107, 194, 0.10);
    display: grid;
    place-items: center;
}

    .od-acc-ico svg {
        width: 18px;
        height: 18px;
        color: var(--od-accent);
    }

.od-acc-title {
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--od-ink);
}

.od-acc-chev {
    width: 30px;
    height: 30px;
    border-radius: 14px;
    border: 1px solid var(--od-border);
    background: rgba(15, 23, 42, 0.03);
    display: grid;
    place-items: center;
    color: var(--od-muted);
    transition: transform 0.18s ease;
    font-weight: 900;
}

.a .od-acc-chev {
    background: rgba(255, 255, 255, 0.04);
}

.od-acc-item.is-open .od-acc-chev {
    transform: rotate(180deg);
}

.od-acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.24s ease;
}

.od-acc-panel-inner {
    padding: 0 14px 14px 14px;
    color: var(--od-muted);
    line-height: 1.75;
    font-size: 14px;
}

/* CTA final (dark) */
.od-cta {
    border-radius: 44px;
    margin: 60px 20px 80px;
    overflow: hidden;
    border: 1px solid rgba(114, 107, 194, 0.22);
    background: radial-gradient(900px 520px at 50% 30%, rgba(114, 107, 194, 0.22), transparent 60%), linear-gradient(180deg, #0b0c18, #141533);
}

.od-cta-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 70px 20px;
    text-align: center;
}

    .od-cta-inner h2 {
        color: rgba(255, 255, 255, 0.92);
        margin: 0 0 12px 0;
    }

    .od-cta-inner p {
        margin: 0 auto 26px;
        max-width: 820px;
        color: rgba(255, 255, 255, 0.72);
        line-height: 1.75;
        font-size: 18px;
    }

/* CTA badge on dark: white */
.od-cta .bd-badge-soft {
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

/* FAQ (inside CTA) */
.od-faq {
    max-width: 920px;
    margin: 32px auto 26px;
    text-align: left;
}

    .od-faq h3 {
        margin: 0 0 14px 0;
        color: rgba(255, 255, 255, 0.92);
        font-weight: 900;
        letter-spacing: -0.02em;
        font-size: clamp(22px, 2.3vw, 30px);
    }

.od-faq-list {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.od-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

    .od-faq-item summary {
        list-style: none;
        cursor: pointer;
        padding: 16px 4px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        color: rgba(255, 255, 255, 0.90);
        font-weight: 900;
        letter-spacing: -0.01em;
        font-size: 16px;
    }

        .od-faq-item summary::-webkit-details-marker {
            display: none;
        }

        .od-faq-item summary::after {
            content: "+";
            width: 26px;
            height: 26px;
            border-radius: 999px;
            display: grid;
            place-items: center;
            border: 1px solid rgba(255, 255, 255, 0.18);
            background: rgba(255, 255, 255, 0.06);
            color: rgba(255, 255, 255, 0.68);
            font-weight: 900;
            flex: 0 0 auto;
        }

    .od-faq-item[open] summary::after {
        content: "–";
    }

    .od-faq-item p {
        margin: 0;
        padding: 0 4px 16px 4px;
        color: rgba(255, 255, 255, 0.72);
        line-height: 1.75;
        font-size: 14px;
    }

/* Small animations (safe) */
.od-anim {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

    .od-anim.is-in {
        opacity: 1;
        transform: translateY(0);
    }

/* Responsive */
@media (max-width: 1024px) {
    .od-hero-grid {
        grid-template-columns: 1fr;
    }

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

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

    .od-domains {
        grid-template-columns: 1fr;
    }

    .od-kv {
        grid-template-columns: 1fr;
    }

    .od-steps {
        grid-template-columns: 1fr;
    }

    .od-uc-grid {
        grid-template-columns: 1fr;
    }

    .od-uc-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .od-pains {
        grid-template-columns: 1fr;
    }

    .od-features {
        grid-template-columns: 1fr;
    }
}

/* ===== Domínios (cards) =====
         A grade de `.bd-usecases-grid` é de três colunas, e só existem dois
         domínios hoje: os cards encostavam à esquerda com um vão vazio à
         direita. Duas colunas centradas resolvem sem mexer na grade
         compartilhada, que outras páginas usam com três cards. */
#dominios .bd-usecases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 760px) {
    #dominios .bd-usecases-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== Rede de segurança de layout =====
         Não corrige um bug conhecido: previne a classe de bug que estoura
         largura no celular. Palavra longa sem espaço (URL, id, nome de campo)
         é a causa mais comum, e nenhuma imagem ou tabela deve poder empurrar a
         página além do viewport. */
h1, h2, h3, h4, p, li, td, span, a {
    overflow-wrap: break-word;
}

img, svg, video, iframe {
    max-width: 100%;
}

pre {
    max-width: 100%;
}

table {
    max-width: 100%;
}
