/* =============================================================================
   PAGE: NOVA NR-1 (pages/nova-nr1.html)
   Timeline de vigência + escopo (é / não é) + implicação legal + bridge.
   Tema: dark (page-dark) — consistente com index.html e o-problema.html.
   Import order: tokens.css → base.css → components.css → page-nr1.css
   ============================================================================= */


/* ── HERO DA PÁGINA ─────────────────────────────────────────────────────── */

.nr1-hero {
  min-height: 76svh;
  display: flex;
  align-items: center;
  padding-top: 68px; /* altura da nav */
  position: relative;
  overflow: hidden;
}

.nr1-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(201, 162, 104, 0.10), transparent 60%),
    radial-gradient(ellipse 55% 40% at 85% 90%,  rgba(44, 80, 120, 0.12),   transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.nr1-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nr1-hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding-block: var(--sp-20) var(--sp-16);
}

.nr1-hero__badge {
  margin-bottom: var(--sp-6);
}

.nr1-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: var(--w-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin-bottom: var(--sp-6);
}

.nr1-hero__lead {
  font-size: var(--text-lg);
  font-weight: var(--w-light);
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: var(--sp-12);
  line-height: var(--leading-relaxed);
}

/* Estatísticas inline no hero */
.nr1-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
}

.nr1-hero__stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--w-bold);
  color: var(--gold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.nr1-hero__stat-unit {
  font-size: var(--text-xl);
  margin-left: 0.15em;
}

.nr1-hero__stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: 180px;
  line-height: 1.5;
  margin-top: var(--sp-1);
}

.nr1-hero__stat-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
}

@media (max-width: 600px) {
  .nr1-hero__stat-divider { display: none; }
  .nr1-hero__stats { gap: var(--sp-6); }
}


/* ── CALLOUTS ────────────────────────────────────────────────────────────── */

.nr1-callouts {
  padding-block: var(--sp-12);
}

.nr1-callouts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

@media (max-width: 700px) {
  .nr1-callouts__grid { grid-template-columns: 1fr; }
}


/* ── TIMELINE ────────────────────────────────────────────────────────────── */

.nr1-timeline-section {
  background: var(--bg-mid);
}

.nr1-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: var(--sp-12);
  padding-left: var(--sp-12);
  list-style: none;
}

.nr1-timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.nr1-timeline__item {
  display: flex;
  gap: var(--sp-6);
  padding-bottom: var(--sp-10);
  position: relative;
  align-items: flex-start;
}

.nr1-timeline__item:last-child {
  padding-bottom: 0;
}

.nr1-timeline__dot {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  position: relative;
  z-index: 1;
  margin-left: calc(-1 * var(--sp-12));
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.nr1-timeline__item:hover .nr1-timeline__dot {
  transform: scale(1.08);
  box-shadow: 0 0 0 6px var(--gold-dim);
}

.nr1-timeline__dot--active {
  background: var(--gold);
  color: #0F1923;
  box-shadow: 0 0 0 4px var(--gold-dim);
  animation: pulseGold 2.5s ease-in-out infinite;
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201, 162, 104, 0.35); }
  50%       { box-shadow: 0 0 0 10px rgba(201, 162, 104, 0.0); }
}

.nr1-timeline__content {
  flex: 1;
  padding-top: var(--sp-2);
}

.nr1-timeline__date {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--w-med);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-2);
}

.nr1-timeline__date--danger {
  color: #e05c50;
}

.nr1-timeline__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--w-semi);
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}

.nr1-timeline__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

@media (max-width: 600px) {
  .nr1-timeline { padding-left: var(--sp-10); }
  .nr1-timeline__dot {
    width: 36px;
    height: 36px;
    margin-left: calc(-1 * var(--sp-10));
  }
  .nr1-timeline::before { left: 17px; }
}


/* ── ESCOPO: É / NÃO É ───────────────────────────────────────────────────── */

.nr1-escopo {
  background: var(--bg-base);
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}

.scope-card {
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-slow);
}

.scope-card--is {
  background: rgba(201, 162, 104, 0.07);
  border: 1px solid var(--border-gold);
}

.scope-card--not {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.scope-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.scope-card--is:hover  { border-color: var(--gold); }
.scope-card--not:hover { border-color: var(--border-mid); }

.scope-card__head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--w-med);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid;
}

.scope-card--is .scope-card__head  { color: var(--gold); border-color: var(--border-gold); }
.scope-card--not .scope-card__head { color: var(--text-muted); border-color: var(--border); }

.scope-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  list-style: none;
}

.scope-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.scope-list li iconify-icon { flex-shrink: 0; margin-top: 2px; }

.scope-card--is .scope-list li iconify-icon  { color: var(--gold); }
.scope-card--not .scope-list li iconify-icon { color: var(--text-muted); }

.scope-list li strong { color: var(--text-primary); font-weight: var(--w-semi); }

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


/* ── QUOTE DE DESTAQUE ───────────────────────────────────────────────────── */

.nr1-quote {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-block: var(--sp-16) var(--sp-4);
  font-family: var(--font-display);
  font-style: italic;
  border: none;
  padding: 0;
}

.nr1-quote p {
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  color: var(--text-secondary);
}

.nr1-quote span {
  color: var(--gold);
}


/* ── SEÇÃO LEGAL ─────────────────────────────────────────────────────────── */

.nr1-legal {
  background: var(--bg-mid);
}

.nr1-legal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

/* Reutiliza custo-card do page-problema.css mas declarado aqui para autonomia */
.custo-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-slow);
}

.custo-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
  transform: scaleX(0);
  transition: transform var(--t-slow);
}

.custo-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 0 0 1px var(--border-gold), var(--shadow-lg);
  transform: translateY(-4px);
}

.custo-card:hover::after {
  transform: scaleX(1);
}

.custo-card__footer {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--gold);
}

.custo-card__footer iconify-icon {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .nr1-legal__grid { grid-template-columns: 1fr; }
}

@media (min-width: 520px) and (max-width: 900px) {
  .nr1-legal__grid { grid-template-columns: 1fr 1fr; }
}


/* ── BRIDGE / CTA FINAL ──────────────────────────────────────────────────── */

.nr1-bridge {
  background: var(--bg-base);
}

.page-bridge {
  text-align: center;
  border-radius: var(--r-2xl);
  padding: var(--sp-20) var(--sp-8);
  background: var(--bg-mid);
  border: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
}

.page-bridge__glow {
  position: absolute;
  width: 480px;
  height: 480px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(201, 162, 104, 0.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.page-bridge__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-inline: auto;
}

.page-bridge h2 {
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}

.page-bridge p {
  color: var(--text-secondary);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  font-size: var(--text-lg);
  font-weight: var(--w-light);
  line-height: var(--leading-relaxed);
}

.page-bridge__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}


/* ── FOOTER — social (utilidade compartilhada) ───────────────────────────── */

.footer__social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
