body {
    background: var(--o3-night);
    color: var(--o3-t1);
    min-height: 100vh;
}

.home-intro-surface {
    background: var(--o3-paper);
    color: var(--o3-ink);
}

.ecosystem-navbar {
    position: relative;
    z-index: 10;
    min-height: var(--o3-nav-h);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    border-radius: 0;
    background: rgba(242, 239, 233, .72);
    box-shadow: none;
    color: var(--o3-ink);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.o3-shell {
    width: 100%;
    max-width: var(--o3-max);
    margin-inline: auto;
    padding-inline: var(--o3-pad-x);
}

.ecosystem-navbar .o3-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ecosystem-navbar .navbar-brand {
    color: var(--o3-ink);
    font-size: 1rem;
    letter-spacing: -.03em;
}

.ecosystem-navbar .navbar-brand:hover,
.ecosystem-navbar .navbar-brand:focus {
    color: var(--o3-ink);
}

.ecosystem-navbar .nav-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    color: var(--o3-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: var(--o3-ls-button);
    opacity: .55;
    text-transform: uppercase;
}

.ecosystem-navbar .nav-link:hover,
.ecosystem-navbar .nav-link:focus,
.ecosystem-navbar .nav-link.active {
    color: var(--o3-ink);
    opacity: 1;
}

.ecosystem-navbar .navbar-toggler {
    border-color: var(--o3-line);
    color: var(--o3-ink);
}

.hero-section {
    background: var(--o3-paper);
    color: var(--o3-ink);
}

.hero-intro {
    padding-block: var(--o3-section-y);
}

.hero-label {
    margin-bottom: clamp(48px, 7vw, 96px);
}

.hero-grid {
    display: grid;
    gap: 56px;
}

.hero-title {
    margin: 0;
    color: var(--o3-t1);
}

.hero-title span {
    display: block;
}

.hero-copy {
    max-width: 480px;
}

.hero-copy .lead {
    margin: 0;
    color: var(--o3-t2);
    line-height: 1.625;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 40px;
}

.hero-text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--o3-t3);
    font-size: var(--o3-fs-label);
    font-weight: 700;
    letter-spacing: var(--o3-ls-button);
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--o3-dur-fast) var(--o3-ease);
}

.hero-text-link:hover,
.hero-text-link:focus {
    color: var(--o3-t1);
}

.metrics-section {
    padding-bottom: var(--o3-section-y);
}

.metrics-heading {
    margin-bottom: 48px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.metric-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 20px;
    padding-block: 24px;
    border-top: 1px solid var(--o3-line);
    background: transparent;
    box-shadow: none;
}

.metric-label,
.metrics-update span {
    color: var(--o3-t3);
    font-size: var(--o3-fs-label);
    font-weight: 700;
    letter-spacing: var(--o3-ls-button);
    text-transform: uppercase;
}

.metric-value {
    color: var(--o3-t1);
    font-size: clamp(44px, 5vw, 72px);
    font-variant-numeric: tabular-nums;
    font-weight: 400;
    letter-spacing: var(--o3-ls-display);
    line-height: 1;
}

.metrics-update {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--o3-line);
}

.metrics-update strong {
    color: var(--o3-t2);
    font-size: var(--o3-fs-list);
    font-variant-numeric: tabular-nums;
    font-weight: 400;
    letter-spacing: .08em;
    text-align: right;
    text-transform: uppercase;
}

@media (min-width: 576px) {
    .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metric-item {
        padding: 28px;
    }

    .metric-item:nth-child(even) {
        border-left: 1px solid var(--o3-line);
    }
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 40px;
    }

    .hero-title {
        grid-column: 1 / span 8;
    }

    .hero-copy {
        grid-column: 9 / -1;
        align-self: end;
    }

    .metrics-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .metric-item {
        padding: 32px;
    }

    .metric-item:first-child {
        padding-left: 0;
    }

    .metric-item:nth-child(n + 2) {
        border-left: 1px solid var(--o3-line);
    }
}

@media (max-width: 991.98px) {
    .ecosystem-navbar .o3-shell {
        flex-wrap: wrap;
    }

    .ecosystem-navbar .navbar-collapse {
        padding-bottom: 24px;
    }

    .ecosystem-navbar .navbar-nav {
        align-items: stretch;
    }

    .ecosystem-navbar .o3-btn {
        margin-top: 8px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        overflow-wrap: break-word;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .metrics-update {
        align-items: flex-start;
        flex-direction: column;
    }

    .metrics-update strong {
        text-align: left;
    }
}

.section-shell {
    padding-block: var(--o3-section-y);
}

.section-label {
    margin-bottom: clamp(48px, 7vw, 96px);
}

.section-heading-grid {
    display: grid;
    gap: 40px;
    margin-bottom: clamp(72px, 9vw, 128px);
}

.o3-section-title {
    margin: 0;
    color: var(--o3-t1);
}

.o3-section-title span {
    display: block;
}

.section-intro {
    max-width: 480px;
    margin: 0;
    color: var(--o3-t2);
    font-size: var(--o3-fs-lead);
    line-height: 1.625;
}

.editorial-number {
    display: block;
    color: var(--o3-t4);
    font-size: var(--o3-fs-label);
    font-weight: 700;
    letter-spacing: var(--o3-ls-label);
    line-height: 1;
}

.ecosystems-section {
    background: var(--o3-night);
    color: var(--o3-t1);
}

.ecosystems-grid {
    display: grid;
    border-top: 1px solid var(--o3-line);
    border-bottom: 1px solid var(--o3-line);
}

.ecosystem-system {
    min-width: 0;
    padding-block: 40px;
}

.ecosystem-system + .ecosystem-system {
    border-top: 1px solid var(--o3-line);
}

.ecosystem-system h3,
.capability-item h3,
.workflow-step h3 {
    margin: 28px 0 0;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--o3-line);
    color: var(--o3-t1);
    font-size: var(--o3-fs-h3);
    font-weight: 400;
    letter-spacing: var(--o3-ls-h3);
    line-height: 1.375;
    text-transform: uppercase;
}

.ecosystem-description {
    max-width: 576px;
    margin: 32px 0 0;
    color: var(--o3-t2);
    font-size: var(--o3-fs-body);
    line-height: 1.625;
}

.ecosystem-stats {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-block: 32px;
    padding-block: 24px;
    border-top: 1px solid var(--o3-line);
    border-bottom: 1px solid var(--o3-line);
}

.ecosystem-stats strong {
    color: var(--o3-t1);
    font-size: clamp(40px, 4vw, 64px);
    font-variant-numeric: tabular-nums;
    font-weight: 400;
    letter-spacing: var(--o3-ls-display);
    line-height: 1;
}

.ecosystem-stats span,
.ecosystem-capabilities {
    color: var(--o3-t2);
    font-size: var(--o3-fs-list);
}

.ecosystem-capabilities {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.85;
}

.ecosystem-capabilities li {
    position: relative;
    padding-left: 24px;
}

.ecosystem-capabilities li::before {
    position: absolute;
    left: 0;
    color: var(--o3-t4);
    content: "—";
}

.features-section,
.workflow-section {
    background: var(--o3-paper);
    color: var(--o3-ink);
}

.workflow-section {
    border-top: 1px solid var(--o3-line);
}

.capabilities-grid,
.workflow-grid {
    display: grid;
    border-top: 1px solid var(--o3-line);
    border-bottom: 1px solid var(--o3-line);
}

.capability-item,
.workflow-step {
    min-width: 0;
    padding-block: 32px;
    background: transparent;
}

.capability-item + .capability-item,
.workflow-step + .workflow-step {
    border-top: 1px solid var(--o3-line);
}

.capability-item p,
.workflow-step p {
    margin: 24px 0 0;
    color: var(--o3-t2);
    font-size: var(--o3-fs-body);
    line-height: 1.625;
}

.workflow-title {
    max-width: 900px;
    margin-bottom: clamp(72px, 9vw, 128px);
}

.contact-section {
    background: var(--o3-night);
    color: var(--o3-t1);
}

.contact-layout {
    display: grid;
    gap: 72px;
}

.contact-copy {
    max-width: 680px;
}

.contact-copy p {
    max-width: 520px;
    margin: 40px 0 0;
    color: var(--o3-t2);
    font-size: var(--o3-fs-lead);
    line-height: 1.625;
}

.contact-form-column {
    min-width: 0;
}

.contact-form .form-label {
    margin-bottom: 0;
    color: var(--o3-t3);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.contact-form .form-label span {
    color: currentColor;
}

.contact-form .form-control {
    min-height: 56px;
    padding-right: 0;
    padding-left: 0;
    border: 0;
    border-bottom: 1px solid var(--o3-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--o3-t1);
}

.contact-form textarea.form-control {
    min-height: 144px;
    resize: vertical;
}

.contact-form .form-control:focus {
    border-color: currentColor;
    background: transparent;
    box-shadow: none;
    color: var(--o3-t1);
}

.contact-form .errorlist {
    margin: 8px 0 0;
    padding: 0;
    color: var(--o3-t2);
    font-size: var(--o3-fs-list);
    list-style: none;
}

.contact-form .errorlist::before {
    margin-right: 8px;
    color: var(--o3-t1);
    content: "ATENÇÃO —";
    font-size: var(--o3-fs-micro);
    font-weight: 700;
    letter-spacing: var(--o3-ls-label);
}

.contact-alert {
    margin-bottom: 32px;
    padding: 16px 0;
    border: 0;
    border-top: 1px solid var(--o3-line);
    border-bottom: 1px solid var(--o3-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--o3-t2);
}

.contact-alert::before {
    display: block;
    margin-bottom: 8px;
    color: var(--o3-t1);
    font-size: var(--o3-fs-micro);
    font-weight: 700;
    letter-spacing: var(--o3-ls-label);
}

.contact-alert--success::before {
    content: "CONFIRMAÇÃO —";
}

.contact-alert--error::before {
    content: "ATENÇÃO —";
}

.contact-submit {
    min-height: 52px;
    padding-inline: 24px;
    border-radius: 0;
    box-shadow: none;
    font-weight: 700;
    letter-spacing: var(--o3-ls-button);
}

.ecosystem-footer {
    padding-block: 40px;
    border-top: 1px solid var(--o3-line);
    background: var(--o3-black);
    color: var(--o3-t1);
}

.footer-layout {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.footer-brand strong {
    color: var(--o3-t1);
    font-size: var(--o3-fs-body);
    font-weight: 400;
    letter-spacing: -.03em;
}

.footer-brand span,
.ecosystem-footer p {
    margin: 0;
    color: var(--o3-t3);
    font-size: var(--o3-fs-list);
}

@media (min-width: 768px) {
    .capabilities-grid,
    .workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .capability-item,
    .workflow-step {
        padding: 40px;
    }

    .capability-item:nth-child(even),
    .workflow-step:nth-child(even) {
        border-left: 1px solid var(--o3-line);
    }

    .capability-item + .capability-item,
    .workflow-step + .workflow-step {
        border-top: 1px solid var(--o3-line);
    }

    .footer-layout {
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
    }
}

@media (min-width: 992px) {
    .section-heading-grid,
    .contact-layout {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .section-heading-grid .o3-section-title,
    .contact-copy {
        grid-column: 1 / span 7;
    }

    .section-intro,
    .contact-form-column {
        grid-column: 8 / -1;
        align-self: end;
    }

    .ecosystems-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ecosystem-system {
        padding: 48px;
    }

    .ecosystem-system:first-child {
        padding-left: 0;
    }

    .ecosystem-system + .ecosystem-system {
        border-top: 0;
        border-left: 1px solid var(--o3-line);
    }

    .capabilities-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .capability-item {
        padding: 40px 32px;
    }

    .capability-item:first-child {
        padding-left: 0;
    }

    .capability-item + .capability-item {
        border-top: 0;
        border-left: 1px solid var(--o3-line);
    }

    .workflow-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .workflow-step {
        grid-column: span 4;
        padding: 40px 28px;
    }

    .workflow-step:first-child {
        padding-left: 0;
    }

    .workflow-step + .workflow-step {
        border-top: 0;
        border-left: 1px solid var(--o3-line);
    }

    .workflow-step:nth-child(n + 4) {
        border-top: 1px solid var(--o3-line);
    }

    .workflow-step:nth-child(4) {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 575.98px) {
    .ecosystem-stats {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .contact-submit {
        width: 100%;
    }
}
