/* ===========================================================
   NR-1 Compliance Section
   Mint section (bg-light) with white inner cards.
   =========================================================== */

.nr1-section .section-header {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.nr1-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-hover);
    background: rgba(0, 210, 190, 0.1);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.nr1-block {
    margin-top: 100px;
}

.nr1-block .section-header {
    margin-bottom: 48px;
}

/* --- Stats --- */
.nr1-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.nr1-stat {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.nr1-stat-num {
    display: block;
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}

.nr1-stat-label {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Deadline banner --- */
.nr1-deadline {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 24px 28px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-left: 4px solid #F59E0B;
    border-radius: 16px;
}

.nr1-deadline svg {
    color: #D97706;
    flex-shrink: 0;
    margin-top: 2px;
}

.nr1-deadline p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* --- Context cards --- */
.nr1-context-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.nr1-context-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nr1-context-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.nr1-context-card h4 {
    font-size: 1.1rem;
    margin: 0 0 12px;
    color: var(--text-primary);
}

.nr1-context-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Cronograma timeline --- */
.cronograma {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 20px 0;
}

.cronograma::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: repeating-linear-gradient(to bottom,
            rgba(15, 118, 110, 0.12) 0px,
            rgba(15, 118, 110, 0.12) 6px,
            transparent 6px,
            transparent 14px);
}

.cronograma-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 0;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, #0F766E, #3B82F6);
    box-shadow: 0 0 6px rgba(15, 118, 110, 0.3);
    z-index: 1;
}

.cronograma-item {
    position: relative;
    width: 50%;
    padding: 0 48px 56px;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.cronograma-item.cronograma-left {
    left: 0;
    text-align: right;
    transform: translateX(-30px);
}

.cronograma-item.cronograma-right {
    left: 50%;
    text-align: left;
    transform: translateX(30px);
}

.cronograma-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.cronograma-dot {
    position: absolute;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 3px solid var(--primary-color);
    z-index: 2;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cronograma-left .cronograma-dot {
    right: -9px;
}

.cronograma-right .cronograma-dot {
    left: -9px;
}

.cronograma-item.is-visible .cronograma-dot {
    opacity: 1;
    transform: scale(1);
}

.cronograma-item.is-now .cronograma-dot {
    border-color: #F59E0B;
    background: #F59E0B;
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.2);
}

.cronograma-date {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-hover);
    margin-bottom: 8px;
}

.cronograma-item.is-now .cronograma-date {
    color: #D97706;
}

.cronograma-content strong {
    display: block;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cronograma-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Services (numbered) --- */
.nr1-services {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
}

.nr1-service {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nr1-service:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.nr1-service-num {
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 800;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--bg-white);
    background: var(--gradient-brand);
}

.nr1-service-body h4 {
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: var(--text-primary);
}

.nr1-service-body p {
    margin: 0 0 16px;
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.nr1-tags {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-hover);
}

/* --- Why 7Q --- */
.nr1-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.nr1-why-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 32px 28px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nr1-why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.nr1-why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--primary-color);
    background: var(--bg-light);
    box-shadow: 0 4px 12px rgba(0, 210, 190, 0.1);
}

.nr1-why-card h4 {
    font-size: 1.1rem;
    margin: 0 0 12px;
    color: var(--text-primary);
}

.nr1-why-card p {
    margin: 0;
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- CTA --- */
.nr1-cta {
    margin-top: 100px;
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 56px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.nr1-cta h3 {
    font-size: 2rem;
    margin: 0 0 16px;
    color: var(--text-primary);
}

.nr1-cta p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 28px;
}

/* --- Reveal-on-scroll (handled by nr1.js) --- */
.nr1-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.nr1-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .nr1-context-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nr1-block {
        margin-top: 72px;
    }

    .nr1-stats {
        grid-template-columns: 1fr;
    }

    .nr1-context-grid {
        grid-template-columns: 1fr;
    }

    .nr1-why-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline collapses to single column, left-aligned */
    .cronograma::before,
    .cronograma-line {
        left: 8px;
    }

    .cronograma-item,
    .cronograma-item.cronograma-left,
    .cronograma-item.cronograma-right {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 0 0 48px 40px;
        transform: translateY(28px);
    }

    .cronograma-item.is-visible {
        transform: translateY(0);
    }

    .cronograma-left .cronograma-dot,
    .cronograma-right .cronograma-dot {
        left: 0;
        right: auto;
    }

    .nr1-service {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .nr1-cta {
        padding: 40px 24px;
    }

    .nr1-cta h3 {
        font-size: 1.6rem;
    }
}
