/* ==========================================================================
   Navegador Mirim: YouTube e Redes Sociais sem Riscos — ByteSeguro Kids
   Estilos COMPLEMENTARES. Não sobrescreve classes do site principal:
   todas as regras novas usam o prefixo .nmr-.
   Sugestão de identidade: paleta ByteSeguro (--teal / --green / --mint)
   + acento náutico #7ddfb9, o mesmo já usado no card deste produto
   na seção ByteSeguro Kids do index.html (.kids-card-social).
   ========================================================================== */

.nmr-page {
  --nmr-accent: #7ddfb9;           /* acento náutico (herdado do index) */
  --nmr-accent-soft: rgba(125, 223, 185, .10);
  --nmr-deep: #071419;             /* fundo oceano, igual à .kids-section */
  --nmr-deep-2: #0b2b33;
}

/* ---------- Hero ---------- */
.nmr-eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.nmr-eyebrow i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 6px rgba(61, 187, 135, .14);
}
.nmr-hero-art { background: radial-gradient(circle at 50% 46%, #d9f4ea 0 26%, transparent 27%), linear-gradient(145deg, #eef9f6, #f8fbf7); }
.nmr-badge {
  position: relative; z-index: 2; width: min(66%, 300px); aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 26px 18px 22px;
  background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 28px; box-shadow: 0 24px 55px rgba(8, 78, 91, .2); backdrop-filter: blur(8px);
}
.nmr-badge svg { width: 78%; max-width: 200px; height: auto; }
.nmr-badge span {
  color: var(--teal-dark); font-size: 11px; font-weight: 850;
  letter-spacing: 1.6px; text-transform: uppercase; text-align: center;
}
.nmr-dial { fill: var(--mint); stroke: var(--teal); stroke-width: 5; }
.nmr-dial-inner { fill: none; stroke: var(--green); stroke-width: 2; stroke-dasharray: 4 7; opacity: .8; }
.nmr-needle-a { fill: var(--teal); }
.nmr-needle-b { fill: var(--green); }
.nmr-hub { fill: #fff; stroke: var(--teal); stroke-width: 3; }
.nmr-wave { fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; opacity: .55; }

.nmr-hero-art .mini-card { max-width: 148px; }
.nmr-hero-art .mini-card span { line-height: 1.35; }
/* Os mini-cards ficam junto às bordas superior e inferior para não cobrir o emblema.
   O recuo de 24% na horizontal acompanha a curva da figura — mais para fora, a borda arredondada corta o card. */
.nmr-hero-art .card-lock { left: 24%; top: 42px; }
.nmr-hero-art .card-check { right: 24%; bottom: 42px; }

/* ---------- Riscos (por trás da tela) ---------- */
.nmr-risks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.nmr-risk {
  padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nmr-risk:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18, 59, 66, .08); }
.nmr-risk span {
  display: block; margin-bottom: 14px; color: var(--green);
  font-size: 26px; font-weight: 800; letter-spacing: -1px;
}
.nmr-risk p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.nmr-answer {
  margin-top: 26px; padding: 30px 34px; border-radius: 20px;
  background: var(--mint); border-left: 5px solid var(--green);
}
.nmr-answer p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--teal-dark); }

/* ---------- Seção As 5 Rotas (oceano) ---------- */
.nmr-routes-section {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: 104px max(28px, calc((100vw - 1144px) / 2));
  background: linear-gradient(145deg, var(--nmr-deep) 0%, var(--nmr-deep-2) 56%, #061116 100%);
  scroll-margin-top: 24px;
}
.nmr-routes-section::before {
  content: ""; position: absolute; z-index: -2; inset: 0; opacity: .34;
  background-image: linear-gradient(rgba(125, 223, 185, .08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(125, 223, 185, .08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}
.nmr-routes-section::after {
  content: ""; position: absolute; z-index: -1; top: -260px; right: -190px;
  width: 620px; height: 620px; border: 1px solid rgba(125, 223, 185, .22); border-radius: 50%;
  box-shadow: inset 0 0 160px rgba(125, 223, 185, .08);
}
.nmr-shell { max-width: 1144px; margin: auto; }
.nmr-routes-heading { max-width: 830px; margin: 0 auto 48px; text-align: center; }
.nmr-kicker {
  display: inline-flex; align-items: center; gap: 10px; color: var(--nmr-accent);
  font-size: 12px; font-weight: 850; letter-spacing: 1.5px; text-transform: uppercase;
}
.nmr-kicker i {
  width: 9px; height: 9px; border-radius: 50%; background: var(--nmr-accent);
  box-shadow: 0 0 0 7px rgba(125, 223, 185, .1), 0 0 20px rgba(125, 223, 185, .7);
}
.nmr-routes-heading h2 { margin: 17px auto 20px; color: #fff; }
.nmr-routes-heading p { max-width: 740px; margin: 0 auto; color: #b8cbca; font-size: 17px; line-height: 1.7; }

.nmr-routes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nmr-route {
  position: relative; overflow: hidden; padding: 28px; display: flex; flex-direction: column;
  border: 1px solid rgba(151, 214, 205, .2); border-radius: 22px;
  background: linear-gradient(155deg, rgba(15, 42, 50, .96), rgba(7, 24, 30, .96));
  box-shadow: 0 22px 54px rgba(0, 0, 0, .2);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.nmr-route::before {
  content: ""; position: absolute; top: 0; right: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--nmr-accent), transparent); opacity: .82;
}
.nmr-route::after {
  content: ""; position: absolute; top: -90px; right: -90px; width: 190px; height: 190px;
  border-radius: 50%; background: var(--nmr-accent-soft); filter: blur(5px); pointer-events: none;
}
.nmr-route:hover { transform: translateY(-5px); border-color: rgba(125, 223, 185, .5); box-shadow: 0 26px 62px rgba(0, 0, 0, .28); }

.nmr-route-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.nmr-route-num {
  padding: 7px 12px; border: 1px solid rgba(125, 223, 185, .35); border-radius: 99px;
  color: var(--nmr-accent); background: var(--nmr-accent-soft);
  font-size: 10px; font-weight: 850; letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap;
}
.nmr-route-icon {
  display: grid; width: 50px; height: 50px; place-items: center;
  border: 1px solid var(--nmr-accent); border-radius: 15px; color: var(--nmr-accent); background: var(--nmr-accent-soft);
}
.nmr-route-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.nmr-route h3 { position: relative; z-index: 1; margin: 0 0 6px; color: #fff; font-size: 23px; line-height: 1.18; letter-spacing: -.65px; }
.nmr-route-sub { position: relative; z-index: 1; margin: 0 0 16px; color: var(--nmr-accent); font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.nmr-route-concept { position: relative; z-index: 1; margin: 0 0 16px; color: #d8e7e4; font-size: 14.5px; line-height: 1.6; }
.nmr-route-concept b { color: #fff; }
.nmr-learn { position: relative; z-index: 1; margin: 0 0 22px; padding: 0; list-style: none; }
.nmr-learn li { position: relative; margin-bottom: 9px; padding-left: 22px; color: #adbfbe; font-size: 13.5px; line-height: 1.6; }
.nmr-learn li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 7px; height: 7px; border: 1.5px solid var(--nmr-accent); border-radius: 50%; }
.nmr-action {
  position: relative; z-index: 1; margin: auto 0 0; padding: 16px 18px;
  border: 1px dashed rgba(67, 230, 164, .45); border-radius: 14px;
  background: rgba(61, 187, 135, .08); color: #d8e7e4; font-size: 13.5px; line-height: 1.6;
}
.nmr-action b {
  display: block; margin-bottom: 5px; color: #43e6a4;
  font-size: 10.5px; font-weight: 850; letter-spacing: 1.1px; text-transform: uppercase;
}

/* 6º card: resumo + chamada de compra */
.nmr-route-cta { border-color: rgba(125, 223, 185, .5); background: linear-gradient(155deg, rgba(125, 223, 185, .18), rgba(61, 187, 135, .10) 62%, rgba(7, 24, 30, .96)); }
.nmr-route-cta .nmr-route-num { border-color: rgba(125, 223, 185, .6); color: #061b20; background: var(--nmr-accent); }
.nmr-cta-text { position: relative; z-index: 1; margin: 0 0 14px; color: #cfe0df; font-size: 13.5px; line-height: 1.6; }
.nmr-cta-text strong { color: #fff; }
.nmr-cta-punch { position: relative; z-index: 1; margin: 0 0 22px; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.5; }
.nmr-cta-btn { position: relative; z-index: 1; margin-top: auto; width: 100%; gap: 10px; }

/* ---------- Bônus ---------- */
.nmr-bonus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.nmr-bonus-grid .product-card h3 { margin-top: 22px; }
.nmr-footer-note { color: var(--teal); font-weight: 800; }

/* ---------- Oferta ---------- */
.nmr-price { margin: 26px auto 0 !important; display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.nmr-price span { color: var(--muted); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.nmr-price strong { color: var(--teal-dark); font-size: clamp(38px, 5vw, 52px); letter-spacing: -2px; }
.nmr-payment-note { margin: 16px auto 0 !important; color: var(--muted); font-size: 13px !important; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .nmr-risks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nmr-routes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nmr-bonus-grid { grid-template-columns: 1fr; }
}
/* Faixa 621-850px: a figura fica larga e baixa — os cards vão para as laterais, na meia-altura */
@media (min-width: 621px) and (max-width: 850px) {
  .nmr-hero-art .card-lock { left: 28px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .nmr-hero-art .card-check { right: 28px; top: 50%; bottom: auto; transform: translateY(-50%); }
}
/* Telas estreitas: mini-cards centralizados nas bordas de cima e de baixo, longe do emblema */
@media (max-width: 620px) {
  .nmr-hero-art { min-height: 380px; }
  .nmr-badge { width: min(58%, 240px); padding: 20px 14px 16px; }
  .nmr-hero-art .mini-card { padding: 11px 14px; font-size: 11px; }
  .nmr-hero-art .card-lock,
  .nmr-hero-art .card-check { left: 50%; right: auto; transform: translateX(-50%); }
  .nmr-hero-art .card-lock { top: 16px; bottom: auto; }
  .nmr-hero-art .card-check { top: auto; bottom: 16px; }
}
@media (max-width: 650px) {
  .nmr-routes-section { padding: 76px 20px; }
  .nmr-routes-heading { text-align: left; margin-bottom: 34px; }
  .nmr-routes-heading h2 { font-size: clamp(34px, 10vw, 46px); letter-spacing: -2.2px; }
  .nmr-risks { grid-template-columns: 1fr; }
  .nmr-routes-grid { grid-template-columns: 1fr; }
  .nmr-route { padding: 24px; }
  .nmr-answer { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .nmr-route, .nmr-risk { transition: none; } }
