/* ==============================================
   Páginas institucionais — Nexus Innova
   Marca: escuro / bordo / dourado
============================================== */

.nx-page {
    background: #0a0a0a;
    color: #e8e8e8;
    min-height: 60vh;
}

.nx-hero {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(128, 0, 32, 0.45) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 45%),
        linear-gradient(160deg, #0a0a0a 0%, #1a050a 45%, #4d0013 100%);
    padding: 100px 20px 80px;
    border-bottom: 3px solid var(--dourado, #D4AF37);
    text-align: center;
}

.nx-hero .nx-label {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--dourado, #D4AF37);
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.nx-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1px;
    max-width: 900px;
    margin: 0 auto 18px;
}

.nx-hero h1 span {
    color: var(--dourado, #D4AF37);
}

.nx-hero .nx-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.nx-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 20px;
}

.nx-container { max-width: 800px; margin: 0 auto; }
.nx-section--alt {
    background: rgba(255,255,255,0.03);
    max-width: none;
    padding: 70px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nx-section--alt > .nx-container { max-width: 800px; }
.nx-list { margin: 18px 0 0; padding-left: 1.2rem; color: rgba(255,255,255,0.8); line-height: 1.75; }
.nx-list li { margin-bottom: 10px; }
.nx-card-block {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;
    padding: 28px 24px;
}
.nx-card-block h2 { margin-top: 0; }
.nx-card-block p { color: rgba(255,255,255,0.78); line-height: 1.7; }
.nx-section p { color: rgba(255,255,255,0.78); line-height: 1.75; margin-bottom: 14px; }

.nx-section--light {
    background: #f8f9fa;
    color: #1a1a1a;
    max-width: none;
    padding: 70px 20px;
}

.nx-section--light > .nx-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.nx-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.nx-section--light h2 {
    color: var(--bordo-dark, #4d0013);
}

.nx-section .nx-sub {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 40px;
    max-width: 620px;
    line-height: 1.6;
}

.nx-section--light .nx-sub {
    color: #555;
}

/* Steps / timeline */
.nx-steps {
    display: grid;
    gap: 24px;
}

.nx-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    align-items: start;
    padding: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-left: 4px solid var(--dourado, #D4AF37);
    border-radius: 0 12px 12px 0;
}

.nx-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bordo, #800020), var(--bordo-dark, #4d0013));
    border: 2px solid var(--dourado, #D4AF37);
    color: var(--dourado, #D4AF37);
    font-weight: 900;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nx-step h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.nx-step .nx-duration {
    display: inline-block;
    color: var(--dourado, #D4AF37);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.nx-step p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    margin: 0;
}

/* Comparison table */
.nx-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(128, 0, 32, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.nx-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.95rem;
}

.nx-table th,
.nx-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.nx-table thead th {
    background: linear-gradient(135deg, var(--bordo-dark, #4d0013), var(--bordo, #800020));
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nx-table thead th:last-child {
    color: var(--dourado, #D4AF37);
}

.nx-table tbody tr:hover {
    background: #fffaf0;
}

.nx-table td:first-child {
    font-weight: 700;
    color: var(--bordo-dark, #4d0013);
}

.nx-check {
    color: #1a7a3a;
    font-weight: 800;
}

.nx-cross {
    color: #999;
}

.nx-highlight {
    color: var(--bordo, #800020);
    font-weight: 800;
}

/* Support cards */
.nx-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.nx-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    padding: 32px 28px;
}

.nx-card--light {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.nx-card h3 {
    color: var(--dourado, #D4AF37);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.nx-card--light h3 {
    color: var(--bordo-dark, #4d0013);
}

.nx-card p,
.nx-card li {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    font-size: 0.98rem;
}

.nx-card--light p,
.nx-card--light li {
    color: #555;
}

.nx-card a {
    color: var(--dourado, #D4AF37);
    font-weight: 700;
    text-decoration: none;
}

.nx-card--light a {
    color: var(--bordo, #800020);
}

.nx-card a:hover {
    text-decoration: underline;
}

.nx-card ul {
    margin: 0;
    padding-left: 18px;
}

/* Blog */
.nx-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.nx-blog-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    border: 1px solid #eee;
    border-top: 4px solid var(--bordo, #800020);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}

.nx-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(128, 0, 32, 0.12);
    border-top-color: var(--dourado, #D4AF37);
}

.nx-blog-card h2 {
    font-size: 1.25rem;
    color: var(--bordo-dark, #4d0013);
    margin-bottom: 12px;
    line-height: 1.35;
}

.nx-blog-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.nx-blog-card .nx-read {
    color: var(--bordo, #800020);
    font-weight: 800;
    font-size: 0.9rem;
}

.nx-post-body {
    background: #fff;
    color: #333;
    max-width: 760px;
    margin: -40px auto 80px;
    padding: 48px 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
}

.nx-post-body h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--bordo-dark, #4d0013);
    margin-bottom: 16px;
    line-height: 1.2;
}

.nx-post-body .nx-resumo {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f0e6c8;
    line-height: 1.6;
}

.nx-post-body .nx-conteudo p {
    margin-bottom: 1.1em;
    line-height: 1.75;
    color: #333;
}

.nx-post-body .nx-conteudo a {
    color: var(--bordo, #800020);
    font-weight: 600;
}

.nx-note {
    margin-top: 32px;
    padding: 14px 18px;
    background: #f8f9fa;
    border-left: 3px solid var(--dourado, #D4AF37);
    font-size: 0.85rem;
    color: #777;
}

/* Thank you / CTAs */
.nx-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 36px;
}

.nx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 28px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.nx-btn:hover {
    transform: translateY(-2px);
}

.nx-btn--gold {
    background: var(--dourado, #D4AF37);
    color: var(--bordo-dark, #4d0013);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

.nx-btn--bordo {
    background: var(--bordo, #800020);
    color: #fff;
    box-shadow: 0 8px 24px rgba(128, 0, 32, 0.3);
}

.nx-btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.nx-btn--outline:hover {
    border-color: var(--dourado, #D4AF37);
    color: var(--dourado, #D4AF37);
}

.nx-btn--wa {
    background: #25d366;
    color: #fff;
}

.nx-calendly {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: #fff;
    min-height: 650px;
}

.nx-calendly iframe {
    width: 100%;
    height: 650px;
    border: 0;
}

.nx-list-steps {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    text-align: left;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.nx-list-steps li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.nx-list-steps .nx-bullet {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bordo, #800020);
    border: 1px solid var(--dourado, #D4AF37);
    color: var(--dourado, #D4AF37);
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nx-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 24px;
}

.nx-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-decoration: none;
}

.nx-legal-links a:hover {
    color: var(--dourado, #D4AF37);
}

.nx-404 {
    text-align: center;
    padding: 120px 20px;
}

.nx-404 h1 {
    color: #fff;
    margin-bottom: 16px;
}

@media (max-width: 700px) {
    .nx-step {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nx-post-body {
        margin: -24px 16px 60px;
        padding: 32px 22px;
    }

    .nx-calendly,
    .nx-calendly iframe {
        min-height: 520px;
        height: 520px;
    }
}
