/* ─── SUBPÁGINAS EDITORIAIS (ESTILO BANNERFLOW + NORTSCALE) ─── */

.sp-hero {
  padding: clamp(92px, 11dvh, 134px) 0 clamp(44px, 6.5dvh, 84px);
  background:
    radial-gradient(640px 320px at 85% 12%, rgba(0, 121, 255, .07), transparent 70%),
    #ffffff;
  border-bottom: 1px solid var(--line);
}
.sp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.sp-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.sp-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s ease;
}
.sp-breadcrumb a:hover {
  color: var(--blue-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sp-breadcrumb a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}
.sp-breadcrumb span {
  color: var(--muted-2);
  font-weight: 400;
}
.sp-hero-brand {
  margin: 0 auto 18px;
  display: flex;
  justify-content: center;
}
.sp-faq-anchors {
  margin-top: 0;
  margin-bottom: 26px;
}
.sp-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(36px, 4.3vw, 56px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 620;
  color: var(--text);
}
.sp-hero .lead {
  margin: 0 0 30px;
  max-width: 56ch;
  font-size: clamp(17px, 1.45vw, 19.5px);
  line-height: 1.62;
  color: var(--muted);
}
.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.sp-hero-note {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
  color: var(--muted-2);
}
.sp-hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.sp-hero-note span::before {
  content: "✓";
  color: var(--blue);
  font-weight: 800;
}
.sp-media-frame {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #f2f4f7;
  border: 1px solid rgba(2, 22, 42, .08);
  box-shadow: 0 24px 60px rgba(2, 22, 42, .09);
}
.sp-media-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Seções gerais das subpáginas */
.sp-section {
  padding: clamp(68px, 7vw, 108px) 0;
}
.sp-section-compact {
  padding-top: 0;
}
.sp-section-soft {
  background: #f6f8fb;
  border-top: 1px solid rgba(2, 22, 42, .06);
  border-bottom: 1px solid rgba(2, 22, 42, .06);
}
.sp-section-head {
  max-width: 780px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.sp-section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.sp-section-head p {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--muted);
}

/* Comparativo Antes vs. Depois */
.sp-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.sp-compare-card {
  border-radius: 20px;
  padding: clamp(26px, 3.5vw, 38px);
  border: 1px solid var(--line);
  background: #ffffff;
}
.sp-compare-card.is-before {
  background: #f8fafc;
}
.sp-compare-card.is-after {
  background: #ffffff;
  border-color: rgba(0, 121, 255, .32);
  box-shadow: 0 18px 48px rgba(0, 102, 220, .08);
}
.sp-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.sp-badge-muted {
  background: #e2e8f0;
  color: #334155;
}
.sp-badge-blue {
  background: #dbe9ff;
  color: #02162a;
}
.sp-compare-card h3 {
  margin: 0 0 18px;
  font-size: 23px;
  line-height: 1.22;
  letter-spacing: -.02em;
}
.sp-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.sp-check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}
.sp-check-list.is-pain li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fee2e2;
  color: #b91c1c;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}
.sp-check-list.is-gain li {
  color: var(--text);
}
.sp-check-list.is-gain li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dbe9ff;
  color: var(--blue-2);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
}

/* Blocos alternados imagem + argumentos (Feature Split) */
.sp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.sp-split + .sp-split {
  margin-top: clamp(64px, 7vw, 96px);
}
.sp-split.is-reversed .sp-split-media {
  order: -1;
}
.sp-split-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.sp-split-copy > p {
  margin: 0 0 22px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
}
.sp-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.sp-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f2f4f7;
  border: 1px solid rgba(2, 22, 42, .07);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
a.sp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 14px;
  background: #eff6ff;
  border-color: rgba(0, 121, 255, .28);
  color: var(--blue-2);
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
a.sp-pill:hover {
  background: #dbe9ff;
  border-color: rgba(0, 121, 255, .52);
  color: #02162a;
  transform: translateY(-1px);
}
a.sp-pill:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Cards de quebra de receios / garantias operacionais */
.sp-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.sp-trust-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sp-trust-question {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-2);
}
.sp-trust-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.sp-trust-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* Navegação entre páginas relacionadas do cluster */
.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.sp-related-card {
  padding: 24px;
  border-radius: 16px;
  background: #f6f8fb;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.sp-related-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(0, 121, 255, .35);
}
.sp-related-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  background: #ffffff;
  border-color: rgba(0, 121, 255, .45);
}
.sp-related-card span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
}
.sp-related-card strong {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.25;
  color: var(--text);
}
.sp-related-card em {
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-2);
}

/* Hero Cinema para Apresentação em Vídeo */
.sp-video-hero {
  padding: 132px 0 76px;
  background:
    radial-gradient(820px 380px at 50% 0%, rgba(0, 121, 255, .08), transparent 72%),
    #ffffff;
  border-bottom: 1px solid var(--line);
}
.sp-video-head {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}
.sp-video-head .sp-breadcrumb {
  justify-content: center;
}
.sp-video-head h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 620;
  color: var(--text);
}
.sp-video-head .lead {
  margin: 0 auto;
  max-width: 64ch;
  font-size: clamp(17px, 1.45vw, 19.5px);
  line-height: 1.62;
  color: var(--muted);
}
.sp-video-shell {
  max-width: 1040px;
  margin: 0 auto;
}
.sp-video-stage {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #02162a;
  border: 1px solid rgba(2, 22, 42, .12);
  box-shadow: 0 28px 72px rgba(2, 22, 42, .14);
  aspect-ratio: 16 / 9;
}
.sp-video-stage.is-wide {
  aspect-ratio: 1280 / 626;
}
.sp-video-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #02162a;
}
.sp-video-stage.is-wide video {
  object-fit: contain;
}
.sp-video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 24px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(180deg, rgba(2, 22, 42, .22) 0%, rgba(2, 22, 42, .56) 100%);
  color: #ffffff;
  transition: background .22s ease;
}
.sp-video-play:hover {
  background: linear-gradient(180deg, rgba(2, 22, 42, .16) 0%, rgba(2, 22, 42, .48) 100%);
}
.sp-video-play:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -4px;
  border-radius: 24px;
}
.sp-video-stage.is-playing .sp-video-play {
  opacity: 0;
  pointer-events: none;
}
.sp-video-play-circle {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 42px rgba(0, 121, 255, .48);
  transition: transform .2s ease, background-color .2s ease;
}
.sp-video-play:hover .sp-video-play-circle {
  transform: scale(1.06);
  background: var(--blue-2);
}
.sp-video-play-circle svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  transform: translateX(2px);
}
.sp-video-play-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(2, 22, 42, .82);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.sp-video-chapters {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.sp-chapter-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.sp-chapter-btn:hover {
  background: #ffffff;
  border-color: rgba(0, 121, 255, .4);
}
.sp-chapter-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.sp-chapter-btn.is-active {
  background: #eff6ff;
  border-color: var(--blue);
  box-shadow: 0 8px 20px rgba(0, 121, 255, .1);
}
.sp-chapter-time {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-2);
}
.sp-chapter-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.sp-video-cta-bar {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.sp-hero .hero-lead-box {
  margin-top: 0;
}
.sp-video-cta-bar .hero-lead-box {
  margin-top: 0;
  max-width: 780px;
  text-align: left;
}
.sp-video-cta-bar .hero-lead-legal {
  text-align: center;
}
@media (min-width: 780px) {
  .sp-video-cta-bar .hero-lead-fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) auto;
  }
  .sp-video-cta-bar .hero-lead-submit {
    grid-column: auto;
    width: auto;
    min-height: 48px;
    padding-inline: 22px;
    white-space: nowrap;
  }
}
.sp-video-cta-bar .sp-hero-note {
  margin-top: 0;
  justify-content: center;
}

/* Telas desktop/notebook com altura útil menor (ex.: MacBook 13"/14", 1280×800, 1366×768) */
@media (min-width: 1061px) and (max-height: 820px) {
  .sp-hero { padding: 84px 0 36px; }
  .sp-hero-grid { gap: clamp(28px, 3.6vw, 52px); }
  .sp-breadcrumb { margin-bottom: 12px; }
  .sp-hero h1 {
    font-size: clamp(32px, min(3.6vw, 5.4dvh), 48px);
    line-height: 1.06;
    margin-bottom: 12px;
  }
  .sp-hero .lead {
    font-size: clamp(15px, min(1.25vw, 2.2dvh), 17.5px);
    line-height: 1.52;
    margin-bottom: 16px;
  }
  .sp-hero-note { margin-top: 12px; gap: 10px 16px; font-size: 13px; }
  .sp-faq-anchors { margin-bottom: 18px; }

  .sp-video-hero { padding: 84px 0 40px; }
  .sp-video-head { margin-bottom: 20px; }
  .sp-hero-brand { margin-bottom: 10px; }
  .sp-hero-brand img { height: 34px; width: auto; }
  .sp-video-head h1 {
    font-size: clamp(30px, min(3.6vw, 5.1dvh), 46px);
    line-height: 1.06;
    margin-bottom: 10px;
  }
  .sp-video-head .lead {
    font-size: clamp(15px, min(1.25vw, 2.15dvh), 17.5px);
    line-height: 1.48;
  }
  .sp-video-shell { max-width: min(1040px, 128dvh); }
  .sp-video-play-circle { width: 68px; height: 68px; }
  .sp-video-play-circle svg { width: 24px; height: 24px; }
}
@media (min-width: 1061px) and (max-height: 700px) {
  .sp-hero { padding: 78px 0 28px; }
  .sp-breadcrumb { margin-bottom: 10px; }
  .sp-hero h1 {
    font-size: clamp(29px, min(3.3vw, 5.2dvh), 42px);
    margin-bottom: 10px;
  }
  .sp-hero .lead {
    font-size: 15px;
    line-height: 1.48;
    margin-bottom: 12px;
  }
  .sp-hero-note { margin-top: 10px; }
  .sp-video-hero { padding: 78px 0 32px; }
  .sp-video-head { margin-bottom: 14px; }
  .sp-video-head h1 {
    font-size: clamp(27px, min(3.3vw, 4.8dvh), 38px);
    margin-bottom: 8px;
  }
  .sp-video-head .lead { font-size: 14.5px; line-height: 1.45; }
}

@media (max-width: 980px) {
  .sp-hero { padding: 112px 0 64px; }
  .sp-video-hero { padding: 112px 0 60px; }
  .sp-hero-grid,
  .sp-compare-grid,
  .sp-split,
  .sp-trust-grid,
  .sp-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .sp-video-chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sp-split.is-reversed .sp-split-media {
    order: 0;
  }
}
@media (max-width: 600px) {
  a.sp-pill {
    min-height: 44px;
    padding: 9px 15px;
  }
  .sp-hero-actions .button,
  .sp-video-cta-bar .button {
    width: 100%;
  }
  .sp-video-chapters {
    grid-template-columns: minmax(0, 1fr);
  }
  .sp-video-play-circle {
    width: 66px;
    height: 66px;
  }
}
