/* NextNode 2026 redesign proposal.
   Static, lightweight and based only on the brand palette. */

:root {
  --brand-black: #0B0F19;
  --brand-graphite: #161B26;
  --brand-orange: #FF6A00;
  --brand-orange-soft: #FFB066;
  --brand-white: #FFFFFF;
  --brand-ink: #0B0F19;
  --brand-muted: rgba(11, 15, 25, .66);
  --brand-line: rgba(11, 15, 25, .14);
  --brand-line-dark: rgba(255, 255, 255, .12);
  --brand-radius: 8px;
  --brand-shadow: 0 24px 70px rgba(11, 15, 25, .18);
}

html,
body {
  background: var(--brand-black) !important;
}

body {
  color: var(--brand-ink) !important;
}

h1,
h2,
h3 {
  font-family: Orbitron, Inter, system-ui, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.topbar {
  background: rgba(11, 15, 25, .96) !important;
  border-bottom: 1px solid rgba(255, 106, 0, .18) !important;
}

.topbar-inner {
  min-height: 74px !important;
}

.brand-logo {
  max-height: 48px !important;
}

.nav {
  gap: 4px !important;
}

.nav a {
  min-height: 38px !important;
  padding: 9px 12px !important;
  border-radius: var(--brand-radius) !important;
  color: rgba(255, 255, 255, .72) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

.nav a:hover,
.nav a.active {
  color: #FFFFFF !important;
  background: rgba(255, 106, 0, .16) !important;
}

.topbar-cta {
  min-height: 40px !important;
  color: #0B0F19 !important;
  background: linear-gradient(135deg, #FF6A00, #FFB066) !important;
  border-color: rgba(255, 176, 102, .45) !important;
  box-shadow: none !important;
}

main {
  background: #FFFFFF !important;
  overflow: visible !important;
}

.restart-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 96px) 0 clamp(42px, 6vw, 72px);
  color: #FFFFFF;
  background:
    linear-gradient(90deg, rgba(11, 15, 25, .98) 0%, rgba(11, 15, 25, .88) 48%, rgba(11, 15, 25, .64) 100%),
    url("../image/nextnode_home_hero_orange.png") right center / min(58vw, 780px) auto no-repeat,
    #0B0F19;
}

.restart-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.restart-kicker,
.restart-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 106, 0, .34);
  border-radius: var(--brand-radius);
  color: var(--brand-orange);
  background: rgba(255, 106, 0, .08);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.restart-hero h1 {
  max-width: 700px;
  margin-top: 18px;
  color: #FFFFFF;
  font-size: clamp(38px, 4.7vw, 64px);
  line-height: 1.05;
}

.restart-hero p {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.62;
}

.restart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.restart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: var(--brand-radius);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.restart-btn-primary {
  color: #0B0F19;
  background: linear-gradient(135deg, #FF6A00, #FFB066);
}

.restart-btn-secondary {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, .20);
  background: rgba(255, 255, 255, .06);
}

.restart-hero-panel {
  padding: 22px;
  border: 1px solid rgba(255, 106, 0, .28);
  border-radius: var(--brand-radius);
  background: rgba(22, 27, 38, .88);
  box-shadow: 0 24px 70px rgba(11, 15, 25, .42);
}

.restart-hero-panel strong {
  display: block;
  color: #FFFFFF;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.08;
}

.restart-hero-panel ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.restart-hero-panel li {
  padding: 12px 13px;
  border: 1px solid rgba(255, 106, 0, .16);
  border-radius: var(--brand-radius);
  color: rgba(255, 255, 255, .76);
  background: rgba(11, 15, 25, .62);
}

.restart-strip {
  padding: 0;
  background: #FFFFFF;
}

.restart-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--brand-line);
  border-top: 0;
  background: #FFFFFF;
  box-shadow: var(--brand-shadow);
}

.restart-strip-grid article {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid var(--brand-line);
}

.restart-strip-grid article:last-child {
  border-right: 0;
}

.restart-strip-grid span,
.restart-card span,
.restart-step b,
.restart-split-card span {
  color: var(--brand-orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.restart-strip-grid strong {
  display: block;
  margin-top: 13px;
  color: var(--brand-ink);
  font-size: 21px;
  line-height: 1.12;
}

.restart-strip-grid p {
  margin-top: 9px;
  color: var(--brand-muted);
  line-height: 1.52;
}

.restart-section {
  padding: clamp(70px, 8vw, 118px) 0;
  background: #FFFFFF;
}

.restart-section-dark {
  color: #FFFFFF;
  background: var(--brand-black);
}

.restart-head {
  max-width: 920px;
  margin-bottom: 34px;
}

.restart-head.center {
  margin-inline: auto;
  text-align: center;
}

.restart-head h2,
.restart-split-copy h2,
.restart-cta h2 {
  margin-top: 14px;
  color: var(--brand-ink);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.04;
}

.restart-section-dark .restart-head h2,
.restart-section-dark .restart-split-copy h2,
.restart-section-dark .restart-cta h2 {
  color: #FFFFFF;
}

.restart-head p,
.restart-split-copy p,
.restart-cta p {
  max-width: 760px;
  margin-top: 16px;
  color: var(--brand-muted);
  font-size: 17px;
  line-height: 1.68;
}

.restart-section-dark .restart-head p,
.restart-section-dark .restart-split-copy p,
.restart-section-dark .restart-cta p {
  color: rgba(255, 255, 255, .72);
}

.restart-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.restart-card,
.restart-step,
.restart-split-card,
.restart-contact-card {
  border: 1px solid var(--brand-line);
  border-radius: var(--brand-radius);
  background: #FFFFFF;
  box-shadow: 0 12px 34px rgba(11, 15, 25, .08);
}

.restart-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 24px;
}

.restart-card h3,
.restart-step h3,
.restart-split-card h3 {
  margin-top: 18px;
  color: var(--brand-ink);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
}

.restart-card p,
.restart-step p,
.restart-split-card p {
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand-muted);
  line-height: 1.6;
}

.restart-section-dark .restart-card,
.restart-section-dark .restart-step,
.restart-section-dark .restart-split-card {
  border-color: rgba(255, 106, 0, .18);
  background:
    linear-gradient(135deg, rgba(255, 106, 0, .08), transparent 46%),
    var(--brand-graphite);
  box-shadow: none;
}

.restart-section-dark .restart-card h3,
.restart-section-dark .restart-step h3,
.restart-section-dark .restart-split-card h3 {
  color: #FFFFFF;
}

.restart-section-dark .restart-card p,
.restart-section-dark .restart-step p,
.restart-section-dark .restart-split-card p {
  color: rgba(255, 255, 255, .72);
}

.restart-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.restart-split-grid,
.restart-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.restart-split-card,
.restart-step {
  min-height: 210px;
  padding: 24px;
}

.restart-image-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 106, 0, .22);
  border-radius: var(--brand-radius);
  background: var(--brand-graphite);
}

.restart-image-frame img {
  width: 100%;
  min-height: clamp(330px, 34vw, 520px);
  object-fit: cover;
}

.restart-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 62px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 106, 0, .24);
  border-radius: var(--brand-radius);
  background:
    linear-gradient(135deg, rgba(255, 106, 0, .10), transparent 46%),
    var(--brand-black);
}

.restart-cta h2 {
  color: #FFFFFF;
}

.restart-cta p {
  color: rgba(255, 255, 255, .72);
}

.restart-cta-actions {
  display: grid;
  gap: 12px;
  min-width: min(260px, 100%);
}

.restart-cta-actions .restart-btn {
  width: 100%;
}

.restart-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 70px);
}

.restart-contact-card {
  padding: clamp(24px, 4vw, 42px);
}

/* Existing pages receive the same system while their HTML is being reused. */
.page-hero:not(.page-hero-home) {
  min-height: clamp(520px, 78vh, 680px) !important;
  padding: clamp(58px, 7vw, 96px) 0 !important;
  color: #FFFFFF !important;
  background:
    linear-gradient(90deg, rgba(11, 15, 25, .98), rgba(11, 15, 25, .84)),
    url("../image/nextnode_home_hero_orange.png") right center / min(54vw, 720px) auto no-repeat,
    #0B0F19 !important;
}

.page-hero:not(.page-hero-home) .page-hero-inner {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .75fr) !important;
  min-height: auto !important;
  align-items: center !important;
  padding: 0 !important;
}

.page-hero:not(.page-hero-home) .page-hero-content {
  width: auto !important;
  max-width: 820px !important;
}

.page-hero:not(.page-hero-home) h1 {
  color: #FFFFFF !important;
  font-size: clamp(34px, 4.25vw, 56px) !important;
  line-height: 1.06 !important;
}

.page-hero:not(.page-hero-home) .lead {
  color: rgba(255, 255, 255, .76) !important;
}

.page-hero-image,
.solution-map-panel,
.segmentos-hero-panel,
.contato-hero-side,
.differentials-showcase {
  border-radius: var(--brand-radius) !important;
  border: 1px solid rgba(255, 106, 0, .24) !important;
  background: rgba(22, 27, 38, .88) !important;
}

.about-section,
.services-intro,
.diferenciais-section,
.segmentos-section,
.contato-section,
.nn-page-bridge,
.nn-page-cta,
.cookie-policy-section {
  background: #FFFFFF !important;
}

.card,
.service-card,
.proof-card,
.step-card,
.about-item,
.segment-item,
.solution-step,
.solution-map-card,
.nn-value-card,
.nn-mini-card,
.nn-operating-map article,
.contact-form-wrap,
.contact-box,
.cookie-policy-card,
.cookie-policy-item {
  border-radius: var(--brand-radius) !important;
  border: 1px solid var(--brand-line) !important;
  background: #FFFFFF !important;
  box-shadow: 0 12px 34px rgba(11, 15, 25, .08) !important;
}

.card h3,
.service-card h3,
.proof-card h3,
.step-card h3,
.about-item h3,
.segment-item h3,
.solution-map-card h3,
.nn-value-card h3,
.nn-mini-card h3,
.contact-copy h2,
.about-content h2,
.section-head h2,
.segment-content h2,
.nn-page-copy h2,
.nn-cta-panel h2,
.cookie-policy-card h2,
.cookie-policy-card h3 {
  color: var(--brand-ink) !important;
}

.card p,
.service-card p,
.proof-card p,
.step-card p,
.about-content p,
.about-lead,
.segment-item,
.solution-map-card p,
.nn-value-card p,
.nn-mini-card p,
.contact-copy p,
.section-desc,
.nn-page-copy p,
.nn-cta-panel p,
.cookie-policy-card p {
  color: var(--brand-muted) !important;
}

.nn-page-bridge-grid,
.nn-cta-panel,
.contact-box {
  border-radius: var(--brand-radius) !important;
}

.field {
  border-radius: var(--brand-radius) !important;
}

@media (max-width: 1100px) {
  .restart-hero-grid,
  .restart-split,
  .restart-contact-grid,
  .restart-cta,
  .page-hero:not(.page-hero-home) .page-hero-inner {
    grid-template-columns: 1fr !important;
  }

  .restart-card-grid,
  .restart-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .restart-hero {
    padding-top: 48px;
    background:
      linear-gradient(180deg, rgba(11, 15, 25, .98), rgba(11, 15, 25, .88)),
      #0B0F19;
  }

  .restart-hero h1,
  .page-hero:not(.page-hero-home) h1 {
    font-size: clamp(34px, 11vw, 48px) !important;
    line-height: 1.02 !important;
  }

  .restart-card-grid,
  .restart-strip-grid,
  .restart-split-grid,
  .restart-step-grid {
    grid-template-columns: 1fr;
  }

  .restart-strip-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--brand-line);
  }

  .restart-strip-grid article:last-child {
    border-bottom: 0;
  }

  .restart-card,
  .restart-step,
  .restart-split-card {
    min-height: auto;
  }

  .restart-actions,
  .restart-cta-actions {
    display: grid;
  }

  .restart-btn {
    width: 100%;
  }
}
