/* ============================================================
   CT NANDO BILK — Global Stylesheet
   Register: brand · Vibe: Editorial Luxury · Layout: Editorial Split
   Skills: impeccable · design-taste-frontend · high-end-visual-design
   ============================================================ */

/* === FONTS ================================================= */
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dm-sans/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dm-sans/DMSans-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* === TOKENS ================================================ */
:root {
  /* Colors — neutral dark gray system (quase-preto com leve toque frio) */
  --c-page:        #121416;
  --c-deep:        #080A0C;
  --c-section:     #181B1F;
  --c-card:        #1E2226;
  --c-charcoal:    #3E5A6E;
  --c-cool-gray:   #A8BECC;
  --c-seafoam:     #8BB5AA;
  --c-sage:        #6B9E94;
  --c-slate:       #4D7870;
  --c-white:       #FFFFFF;
  --c-snow:        #F7F7F7;
  --c-black:       #000000;
  --c-whatsapp:    #25D366;

  /* Gradients — neutral dark system */
  --grad-hero:         linear-gradient(160deg, #060809 0%, #0C0E11 45%, #121416 100%);
  --grad-cta:          linear-gradient(180deg, #080A0C 0%, #040506 100%);
  --grad-section-dark: linear-gradient(180deg, #0E1012 0%, #121416 100%);
  --grad-card:         linear-gradient(135deg, #1E2226 0%, #121416 100%);
  --grad-btn:          linear-gradient(135deg, #3E5A6E 0%, #284454 100%);
  --grad-btn-hover:    linear-gradient(135deg, #4a6b82 0%, #325566 100%);
  --grad-footer:       linear-gradient(180deg, #080A0C 0%, #040506 100%);

  /* Borders */
  --border-subtle:  1px solid rgba(168, 190, 204, 0.08);
  --border-mid:     1px solid rgba(168, 190, 204, 0.15);
  --border-strong:  1px solid rgba(168, 190, 204, 0.25);

  /* Typography */
  --font-head: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Easing — Emil Kowalski principle: ease-in NEVER, ease-out for entries */
  --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:  cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  24px;
  --sp-lg:  40px;
  --sp-xl:  64px;
  --sp-2xl: 96px;
  --sp-3xl: 128px;

  /* Border radius */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);

  /* Transition durations */
  --dur-fast: 120ms;
  --dur-mid:  250ms;
  --dur-slow: 600ms;

  /* Layout */
  --max-w: 1100px;

  /* Z-index scale */
  --z-base:    1;
  --z-raised:  10;
  --z-nav:     100;
  --z-overlay: 200;
  --z-modal:   300;
  --z-grain:   400;
}

/* === RESET ================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  background-color: var(--c-deep);
  color: var(--c-snow);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
em { font-style: normal; }

/* Grain overlay — fixed, pointer-events: none */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
}

/* Skip link (accessibility) */
.nb-skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-charcoal);
  color: var(--c-white);
  padding: 8px 20px;
  font-family: var(--font-head);
  font-size: 13px;
  border-radius: 0 0 4px 4px;
  z-index: calc(var(--z-modal) + 10);
  transition: top 200ms var(--ease-out);
}
.nb-skip-link:focus { top: 0; }

/* === LAYOUT ================================================ */
.nb-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}
.nb-section {
  padding: var(--sp-2xl) var(--sp-md);
}
.nb-section--alt {
  background: var(--grad-section-dark);
}
.nb-section--black {
  background-color: var(--c-black);
}
.nb-section--page-hero {
  padding-top: 140px;
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid rgba(168, 190, 204, 0.1);
}
.nb-section--page-hero .nb-label { margin-bottom: 20px; }
.nb-section--page-hero .nb-h1   { max-width: 640px; }
.nb-section--page-hero .nb-body {
  max-width: 520px;
  margin-top: var(--sp-md);
  opacity: 0.7;
}
.nb-section--page-hero__actions { margin-top: 36px; }

/* === TYPOGRAPHY ============================================ */
.nb-h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(38px, 5.5vw, 66px);
  line-height: 1.08;
  color: var(--c-white);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.nb-h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.12;
  color: var(--c-white);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.nb-h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--c-white);
  text-wrap: balance;
}
.nb-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-snow);
  max-width: 68ch;
  text-wrap: pretty;
}
.nb-caption {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--c-cool-gray);
  letter-spacing: 0.02em;
}
.nb-label {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  display: block;
}
.nb-accent { color: var(--c-cool-gray); }
.nb-divider {
  width: 100%;
  height: 1px;
  background: rgba(168, 190, 204, 0.12);
  margin: var(--sp-lg) 0;
}

/* Section header block */
.nb-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.nb-section-header .nb-label {
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px 14px;
  border: 1px solid rgba(168, 190, 204, 0.2);
  border-radius: 100px;
  background: transparent;
}
.nb-section-header .nb-h2 { margin-bottom: 16px; }
.nb-section-header p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--c-snow);
  opacity: 0.6;
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
  text-wrap: pretty;
}

/* === BUTTONS =============================================== */
.nb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  position: relative;
  transition:
    background 200ms ease,
    color 200ms ease,
    border-color 200ms ease,
    opacity 200ms ease;
}

/* Active state — Emil Kowalski: scale(0.97) on press */
.nb-btn:active {
  transform: scale(0.97);
  transition: transform 160ms var(--ease-out);
}

/* Focus — WCAG AA */
.nb-btn:focus-visible {
  outline: 2px solid var(--c-cool-gray);
  outline-offset: 3px;
}

.nb-btn--primary {
  background: rgba(62, 90, 110, 0.42);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(168, 190, 204, 0.18);
  color: var(--c-white);
}
.nb-btn--primary:hover {
  background: rgba(74, 107, 130, 0.58);
  border-color: rgba(168, 190, 204, 0.28);
}

.nb-btn--outline {
  background: rgba(168, 190, 204, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(168, 190, 204, 0.35);
  color: var(--c-cool-gray);
}
.nb-btn--outline:hover {
  background: rgba(168, 190, 204, 0.12);
  border-color: rgba(168, 190, 204, 0.6);
}

.nb-btn--whatsapp {
  background: var(--c-whatsapp);
  color: var(--c-white);
  padding: 16px 32px;
  font-size: 15px;
}
.nb-btn--whatsapp:hover { opacity: 0.88; }

/* Full-width WhatsApp only inside modal */
.nb-modal .nb-btn--whatsapp {
  width: 100%;
  justify-content: center;
}

/* === WHATSAPP FLOATING BUTTON ============================= */
.nb-float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-raised);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-whatsapp);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-mid) var(--ease-spring),
              box-shadow var(--dur-mid) ease;
}
.nb-float-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 48px rgba(37, 211, 102, 0.3);
}
.nb-float-wa:active  { transform: scale(0.96); }
.nb-float-wa:focus-visible {
  outline: 2px solid var(--c-white);
  outline-offset: 3px;
}
@media (max-width: 768px) {
  .nb-float-wa {
    width: 52px;
    height: 52px;
    bottom: max(20px, env(safe-area-inset-bottom, 0px) + 12px);
    right: 20px;
  }
}

/* === CTA BRIDGE — after testimonials ====================== */
.nb-cta-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  padding: var(--sp-xl) var(--sp-md);
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
}
.nb-cta-bridge__text {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(15px, 2vw, 19px);
  color: var(--c-snow);
  opacity: 0.75;
  max-width: 38ch;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .nb-cta-bridge {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-md);
  }
}

/* === NAVBAR =============================================== */
.nb-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: 96px;
  display: flex;
  align-items: center;
  padding: 0 var(--sp-lg);
  background: transparent;
  border-bottom: 1px solid transparent;
  /* CSS transitions only — interruptible, no keyframes */
  transition:
    background 250ms ease,
    border-color 250ms ease,
    backdrop-filter 250ms ease;
}
.nb-navbar.scrolled {
  background: rgba(18, 20, 22, 0.88);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid rgba(168, 190, 204, 0.1);
}
.nb-navbar__inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nb-navbar__logo img {
  height: 26px;
  width: auto;
}
.nb-navbar__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nb-navbar__links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-snow);
  opacity: 0.6;
  transition: opacity 200ms ease;
  position: relative;
  padding-bottom: 2px;
}
.nb-navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--c-cool-gray);
  transition: width 200ms var(--ease-out);
}
.nb-navbar__links a:hover { opacity: 1; }
.nb-navbar__links a:hover::after { width: 100%; }
.nb-navbar__links a.active { opacity: 1; }
.nb-navbar__links a.active::after { width: 100%; }

.nb-navbar__cta { margin-left: 20px; }

/* Hamburger */
.nb-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.nb-hamburger__bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--c-white);
  border-radius: 1px;
  transition: transform 250ms var(--ease-out), opacity 200ms ease;
  transform-origin: center;
}
.nb-hamburger[aria-expanded="true"] .nb-hamburger__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nb-hamburger[aria-expanded="true"] .nb-hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nb-hamburger[aria-expanded="true"] .nb-hamburger__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav */
.nb-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  background: var(--c-page);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px 24px;
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}
.nb-mobile-nav.open {
  display: flex;
  opacity: 1;
}
.nb-mobile-nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.01em;
  color: var(--c-white);
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 200ms ease;
}
.nb-mobile-nav a:hover { opacity: 1; color: var(--c-cool-gray); }

/* Link stagger on open — keyframe resets each time menu opens */
.nb-mobile-nav.open a,
.nb-mobile-nav.open button {
  animation: menuItemIn 300ms var(--ease-out) both;
}
.nb-mobile-nav.open a:nth-child(1) { animation-delay: 60ms; }
.nb-mobile-nav.open a:nth-child(2) { animation-delay: 100ms; }
.nb-mobile-nav.open a:nth-child(3) { animation-delay: 140ms; }
.nb-mobile-nav.open a:nth-child(4) { animation-delay: 180ms; }
.nb-mobile-nav.open button          { animation-delay: 220ms; }
@media (prefers-reduced-motion: reduce) {
  .nb-mobile-nav.open a,
  .nb-mobile-nav.open button { animation: none; }
}

/* === HERO ================================================= */
.nb-hero {
  min-height: 900px;
  max-height: 900px;
  padding: 128px var(--sp-md) 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
}

/* Video background layer */
.nb-hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.25;
  pointer-events: none;
}

/* Radial ambient lights — dual glow */
.nb-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at 70% 30%, rgba(62, 90, 110, 0.28) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.nb-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 700px;
  height: 600px;
  background: radial-gradient(ellipse at 30% 70%, rgba(8, 8, 8, 0.9) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.nb-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: var(--z-base);
}

/* Left: Content */
.nb-hero__content {}

.nb-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  opacity: 0.75;
  margin-bottom: 32px;
}
.nb-hero__eyebrow-dot {
  width: 5px;
  height: 5px;
  background: var(--c-cool-gray);
  border-radius: 50%;
  opacity: 0.6;
  flex-shrink: 0;
}

.nb-hero__headline {
  margin-bottom: 28px;
}

.nb-hero__sub {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.72;
  color: var(--c-snow);
  opacity: 0.65;
  max-width: 52ch;
  margin-bottom: 48px;
  text-wrap: pretty;
}

.nb-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.nb-hero__method {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  opacity: 0.55;
}
.nb-hero__method-step {
  padding: 5px 10px;
  border: 1px solid rgba(168, 190, 204, 0.2);
  border-radius: 2px;
  letter-spacing: 0.08em;
}
.nb-hero__method-sep {
  opacity: 0.4;
  font-size: 14px;
  line-height: 1;
}
.nb-hero__risk {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-cool-gray);
  opacity: 0.5;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.nb-hero__risk-sep {
  margin: 0 6px;
  opacity: 0.45;
}

/* Right: Visual */
.nb-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
}

.nb-hero__glow {
  position: absolute;
  inset: -80px;
  background: radial-gradient(circle at 50% 50%, rgba(62, 90, 110, 0.35) 0%, rgba(168, 190, 204, 0.08) 40%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 3s ease-in-out infinite;
}

.nb-hero__symbol {
  width: 220px;
  height: auto;
  opacity: 0.92;
  position: relative;
  z-index: var(--z-base);
  filter: drop-shadow(0 0 60px rgba(168, 190, 204, 0.2)) drop-shadow(0 0 120px rgba(62, 90, 110, 0.3));
  animation: symbolFloat 4s ease-in-out infinite;
}

.nb-hero__badge {
  position: absolute;
  bottom: 20px;
  right: 0;
  background: var(--c-card);
  border: var(--border-subtle);
  border-radius: 3px;
  padding: 16px 20px;
  text-align: right;
  z-index: calc(var(--z-base) + 1);
}
.nb-hero__badge-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 4px;
}
.nb-hero__badge-label {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--c-cool-gray);
  opacity: 0.7;
  letter-spacing: 0.04em;
}

/* Credential line below hero subtitle */
.nb-hero__cred {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-cool-gray);
  opacity: 0.38;
  letter-spacing: 0.06em;
  margin-top: 12px;
}

/* Grid texture layer in hero visual */
.nb-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 190, 204, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 190, 204, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  border-radius: inherit;
}

/* Second ambient glow — offset seafoam */
.nb-hero__glow--2 {
  inset: auto;
  bottom: -60px;
  left: -30px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 30% 70%, rgba(139, 181, 170, 0.1) 0%, transparent 65%);
  animation-delay: 1.5s;
}

/* Hero bottom bar */
.nb-hero__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 0;
  margin-top: 64px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  position: relative;
  z-index: var(--z-base);
}
.nb-hero__footnote {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-cool-gray);
  opacity: 0.45;
  line-height: 1.6;
}
.nb-hero__cref {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  opacity: 0.35;
}

/* === BENTO STATS ========================================== */
.nb-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nb-stat {
  background: linear-gradient(135deg, #1C1E20 0%, #111214 100%);
  padding: 56px 40px 52px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  border: var(--border-subtle);
  border-radius: 3px;
  transition: border-color 250ms ease, transform 250ms var(--ease-out);
}
.nb-stat:hover {
  border-color: rgba(168, 190, 204, 0.2);
  transform: scale(1.02);
}

/* Subtle accent line top */
.nb-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 190, 204, 0.15), transparent);
}

.nb-stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(40px, 4.5vw, 60px);
  color: var(--c-white);
  line-height: 1;
  letter-spacing: -0.03em;
}
.nb-stat__num--accent { color: var(--c-cool-gray); }

.nb-stat__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-cool-gray);
  opacity: 0.75;
  letter-spacing: 0.02em;
}

/* === METHOD NB STEPS ====================================== */
/* === MÉTODO NB — Center-Focus Carousel ====================== */
.nb-method__step {
  display: grid;
  grid-template-columns: 1fr 360px;
  min-height: 400px;
  align-items: stretch;
  background: linear-gradient(135deg, #161618 0%, #0F0F0F 100%);
  border: var(--border-subtle);
  border-radius: 3px;
  position: relative;
  transition: border-color 250ms ease, background 250ms ease;
}
.nb-method__step:hover {
  border-color: rgba(168, 190, 204, 0.22);
  background: linear-gradient(135deg, #1C1E20 0%, #131313 100%);
}

.nb-method__content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nb-method__header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nb-method__step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-cool-gray);
  opacity: 0.5;
}

.nb-method__img-area {
  border-left: var(--border-subtle);
  background: var(--c-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nb-method__img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nb-method__step[data-step="3"] .nb-method__img-area img {
  object-position: top center;
}

.nb-method__label {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
}
.nb-method__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--c-white);
  text-wrap: balance;
}
.nb-method__text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-snow);
  opacity: 0.65;
  line-height: 1.7;
  text-wrap: pretty;
}

.nb-method__tagline {
  text-align: center;
  padding: 40px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--c-snow);
  opacity: 0.7;
  letter-spacing: -0.01em;
}
.nb-method__tagline .nb-accent { opacity: 1; }

/* === COMPARISON TABLE ===================================== */
.nb-scroll-hint {
  display: none;
  font-size: 11px;
  text-align: center;
  color: rgba(168, 190, 204, 0.4);
  margin-top: 8px;
  letter-spacing: 0.08em;
}

.nb-comparison {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(168, 190, 204, 0.08);
}

.nb-comparison thead tr {
  border-bottom: 1px solid rgba(168, 190, 204, 0.1);
}
.nb-comparison thead th {
  padding: 18px 20px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  background: linear-gradient(135deg, #0E1012 0%, #0A0C0E 100%);
  text-align: left;
  opacity: 0.7;
}
.nb-comparison thead th:not(:first-child) { text-align: center; }
.nb-comparison thead th.nb-col--ct {
  color: var(--c-white);
  opacity: 1;
  background: linear-gradient(135deg, #3E5A6E 0%, #2A4254 100%);
}

.nb-comparison tbody tr {
  border-bottom: 1px solid rgba(168, 190, 204, 0.06);
  transition: background 200ms ease;
}
.nb-comparison tbody tr:last-child { border-bottom: none; }
.nb-comparison tbody tr:hover td { background: rgba(168, 190, 204, 0.03); }
.nb-comparison tbody tr:hover td.nb-col--ct {
  background: rgba(62, 90, 110, 0.9);
}

.nb-comparison tbody td {
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-snow);
  opacity: 0.6;
  background: linear-gradient(135deg, #181B1F 0%, #121416 100%);
}
.nb-comparison thead th:first-child,
.nb-comparison tbody td:first-child {
  width: 1%;
  white-space: nowrap;
}
.nb-comparison tbody td:first-child {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  opacity: 0.8;
}
.nb-comparison tbody td:not(:first-child) { text-align: center; }
.nb-comparison tbody td.nb-col--ct {
  background: linear-gradient(135deg, #3E5A6E 0%, #2A4254 100%);
  color: var(--c-white);
  opacity: 1;
  font-size: 14px;
}

.nb-icon--check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-seafoam);
}
.nb-icon--x {
  display: inline-flex;
  color: var(--c-cool-gray);
  opacity: 0.3;
}

/* === BEFORE & AFTER ======================================= */
.nb-ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.nb-ba-card {
  background: linear-gradient(135deg, #1C1E20 0%, #111214 100%);
  border: var(--border-subtle);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 250ms ease, transform 250ms var(--ease-out);
}
.nb-ba-card:hover {
  border-color: rgba(168, 190, 204, 0.22);
  transform: translateY(-2px);
}

.nb-ba-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--c-section);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-bottom: var(--border-subtle);
  color: rgba(168, 190, 204, 0.2);
  position: relative;
  overflow: hidden;
}

/* Grid texture in placeholder */
.nb-ba-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 190, 204, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 190, 204, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.nb-ba-placeholder__icon {
  position: relative;
  z-index: 1;
}
.nb-ba-placeholder__label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(168, 190, 204, 0.2);
  position: relative;
  z-index: 1;
}

.nb-ba-info {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* === RESULT DATA PANELS (substitui before/after) ========== */
.nb-rdata {
  background: linear-gradient(135deg, #1E2226 0%, #121416 100%);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.nb-rdata--right {
  background: rgba(62, 90, 110, 0.28);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  border-color: rgba(168, 190, 204, 0.18);
}
.nb-rdata__label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  opacity: 0.55;
}
.nb-rdata--right .nb-rdata__label { opacity: 1; }
.nb-rdata__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nb-rdata__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(168, 190, 204, 0.05);
}
.nb-rdata__item:last-child { border-bottom: none; padding-bottom: 0; }
.nb-rdata__key {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--c-cool-gray);
  opacity: 0.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nb-rdata__val {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-snow);
  line-height: 1.3;
}
.nb-rdata--right .nb-rdata__val { color: var(--c-white); }

/* === RESULT PHOTOS — before/after layout ================== */
.nb-result-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 20px;
  border-radius: 3px;
  overflow: hidden;
}
.nb-result-photo {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--c-card);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.nb-result-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nb-result-photo__label {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  background: rgba(18, 20, 22, 0.75);
  padding: 4px 10px;
  border-radius: 2px;
}

.nb-ba-info__tag {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
}
.nb-ba-info__meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-snow);
  opacity: 0.5;
  line-height: 1.5;
}

/* === TESTIMONIALS — asymmetric ============================
   Layout: 1 tall card left (rows 1+2), 2 smaller cards right */
.nb-testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.nb-testimonial { background: linear-gradient(135deg, #1C1E20 0%, #111214 100%); border: var(--border-subtle); border-radius: 3px; padding: 32px 28px; display: flex; flex-direction: column; gap: 24px; transition: border-color 250ms ease, transform 250ms var(--ease-out); }
.nb-testimonial:hover { border-color: rgba(168, 190, 204, 0.22); transform: translateY(-2px) scale(1.03); }

/* First testimonial spans 2 rows */
.nb-testimonial:first-child {
  grid-row: span 2;
  padding: 40px 36px;
}

.nb-testimonial__quote {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-snow);
  opacity: 0.75;
}
.nb-testimonial:first-child .nb-testimonial__quote {
  font-size: 17px;
}

.nb-testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.nb-testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-cool-gray);
  flex-shrink: 0;
  border: 1px solid rgba(168, 190, 204, 0.15);
}
.nb-testimonial__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--c-white);
  margin-bottom: 3px;
}
.nb-testimonial__meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-cool-gray);
  opacity: 0.55;
}

/* Fixed-width cards inside marquee — must come BEFORE media queries */
.nb-marquee .nb-testimonial {
  width: 360px;
  flex-shrink: 0;
  grid-row: span 1;
  padding: 32px 28px;
}

/* === CTA BANNER =========================================== */
.nb-cta-banner {
  background: linear-gradient(180deg, #0C0C0C 0%, #050505 100%);
  border-top: none;
  border-bottom: none;
  padding: var(--sp-2xl) var(--sp-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Gradient border top */
.nb-cta-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(168, 190, 204, 0.2) 50%, transparent 100%);
  pointer-events: none;
}

/* Radial glow center */
.nb-cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(62, 90, 110, 0.18) 0%, rgba(168, 190, 204, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.nb-cta-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: var(--z-base);
  background: rgba(18, 20, 22, 0.52);
  backdrop-filter: blur(16px) saturate(110%);
  -webkit-backdrop-filter: blur(16px) saturate(110%);
  border: 1px solid rgba(168, 190, 204, 0.08);
  border-radius: var(--radius-md);
  padding: var(--sp-xl) var(--sp-2xl);
}

.nb-cta-banner__quote {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 34px);
  color: var(--c-white);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.nb-cta-banner__sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-cool-gray);
  opacity: 0.65;
  margin-bottom: 40px;
}

/* === SERVICE CARDS ======================================== */
.nb-service-card {
  background: linear-gradient(135deg, #1E2226 0%, #121416 100%);
  border: var(--border-subtle);
  border-radius: 3px;
  padding: 40px;
  margin-bottom: 0;
  transition: border-color 250ms ease;
}
.nb-service-card:hover { border-color: rgba(168, 190, 204, 0.16); }

.nb-service-card__header {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: var(--border-subtle);
  margin-bottom: 28px;
}
.nb-service-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 6px;
}
.nb-service-card__subtitle {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  opacity: 0.7;
}
.nb-service-card__desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-snow);
  opacity: 0.7;
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.75;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}

/* Service row items */
.nb-service-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: var(--c-section);
  border-radius: 2px;
  margin-bottom: 2px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-snow);
  opacity: 1;
}
.nb-service-row__icon {
  color: var(--c-cool-gray);
  opacity: 0.6;
  flex-shrink: 0;
}

/* Price rows */
.nb-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 22px;
  background: var(--c-charcoal);
  border-radius: 2px;
  margin-bottom: 2px;
}
.nb-price-row__freq {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
}
.nb-price-row__val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--c-white);
  letter-spacing: -0.01em;
}
.nb-price-row__val small {
  font-size: 12px;
  font-weight: 400;
  color: var(--c-cool-gray);
  opacity: 0.7;
  margin-left: 4px;
}
.nb-service-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-cool-gray);
  opacity: 0.5;
  text-align: center;
  margin-top: 16px;
}

/* === TEAM CARDS =========================================== */
.nb-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.nb-team-card {
  background: linear-gradient(135deg, #1C1E20 0%, #111214 100%);
  border: var(--border-subtle);
  border-radius: 3px;
  padding: 32px 28px;
  transition: border-color 250ms ease, transform 250ms var(--ease-out);
}
.nb-team-card:hover { border-color: rgba(168, 190, 204, 0.22); transform: translateY(-2px); }

.nb-team-card__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-bottom: 20px;
  border: 1px solid rgba(168, 190, 204, 0.15);
}
.nb-team-card__body {
  padding: 0;
}
.nb-team-card__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-white);
  margin-bottom: 5px;
}
.nb-team-card__role {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  opacity: 0.65;
  margin-bottom: 16px;
  line-height: 1.5;
}
.nb-team-card__bio {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-snow);
  opacity: 0.65;
  line-height: 1.7;
  text-wrap: pretty;
}
.nb-team-card__ig {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-cool-gray);
  opacity: 0.65;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nb-team-card__ig:hover { opacity: 1; }

/* === PRINCIPLES =========================================== */
.nb-principles {
  border: var(--border-subtle);
  border-radius: 3px;
  overflow: hidden;
}
.nb-principle {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 28px 32px;
  border-bottom: 1px solid rgba(168, 190, 204, 0.06);
  background: linear-gradient(135deg, #161618 0%, #0F0F0F 100%);
  transition: background 200ms ease;
}
.nb-principle:last-child { border-bottom: none; }
.nb-principle:hover { background: linear-gradient(135deg, #1C1E20 0%, #131313 100%); }

.nb-principle__seq {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  opacity: 0.5;
  margin-bottom: 6px;
  display: block;
}
.nb-principle__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-white);
  line-height: 1.3;
  text-wrap: balance;
}
.nb-principle__text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-snow);
  opacity: 0.65;
  line-height: 1.7;
  padding-top: 2px;
  text-wrap: pretty;
}

/* === CONTACT CARDS ======================================== */
.nb-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.nb-contact-card {
  background: var(--grad-card);
  border: var(--border-subtle);
  border-radius: 3px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 250ms ease;
  cursor: default;
}
.nb-contact-card--link {
  cursor: pointer;
}
.nb-contact-card--link:hover {
  border-color: rgba(168, 190, 204, 0.22);
}
.nb-contact-card__icon {
  color: var(--c-cool-gray);
  opacity: 0.7;
  flex-shrink: 0;
}
.nb-contact-card__label {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  opacity: 0.6;
}
.nb-contact-card__value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--c-white);
  line-height: 1.3;
}
.nb-contact-card__sub {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-cool-gray);
  opacity: 0.5;
}
.nb-contact-card__value--sm { font-size: 15px; }

.nb-map-placeholder {
  background: var(--c-section);
  border: var(--border-subtle);
  border-radius: 3px;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(168, 190, 204, 0.15);
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}
.nb-map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 190, 204, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 190, 204, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.nb-map-open-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  opacity: 0.55;
  transition: opacity 200ms ease;
  text-decoration: none;
}
.nb-map-open-link:hover { opacity: 0.9; }

.nb-map-placeholder p {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(168, 190, 204, 0.2);
  position: relative;
}

/* === FOUNDER GRID ========================================= */
.nb-founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.nb-founder-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 3px;
  display: block;
}

/* === FLOW GRID ============================================ */
.nb-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

/* === FOOTER =============================================== */
.nb-footer {
  background: var(--grad-footer);
  padding: 52px var(--sp-md) 32px;
  border-top: 1px solid rgba(168, 190, 204, 0.08);
}
.nb-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}
.nb-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.nb-footer__logo img { height: 26px; }
.nb-footer__logo-symbol { display: none; }
.nb-footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.nb-footer__links a,
.nb-footer__links span {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-cool-gray);
  opacity: 0.6;
  transition: opacity 200ms ease;
}
.nb-footer__links a:hover { opacity: 1; }
.nb-footer__links a svg {
  display: block;
  color: var(--c-cool-gray);
  transition: color 200ms ease;
}
.nb-footer__links a:hover svg {
  color: var(--c-white);
}
.nb-footer__sep {
  width: 1px;
  height: 14px;
  background: rgba(168, 190, 204, 0.2);
}
.nb-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(168, 190, 204, 0.07);
}
.nb-footer__bottom span {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(168, 190, 204, 0.3);
}

/* === MODAL ================================================ */
.nb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
}
.nb-overlay.open { display: flex; }

/* Emil Kowalski: enter from scale(0.95) + opacity 0, NEVER from scale(0) */
.nb-modal {
  background: rgba(22, 26, 30, 0.82);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border: 1px solid rgba(168, 190, 204, 0.14);
  border-radius: var(--radius-md);
  padding: 48px 40px;
  max-width: 460px;
  width: 100%;
  position: relative;
  animation: modalIn 250ms var(--ease-out) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.nb-modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-cool-gray);
  opacity: 0.6;
  background: none; border: none; cursor: pointer;
  border-radius: 3px;
  transition: opacity 200ms ease, background 200ms ease;
}
.nb-modal__close:hover { opacity: 1; background: rgba(168, 190, 204, 0.08); }
.nb-modal__close:focus-visible { outline: 2px solid var(--c-cool-gray); outline-offset: 2px; }

.nb-modal__eyebrow {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  opacity: 0.7;
  margin-bottom: 10px;
  display: block;
}
.nb-modal__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: var(--c-white);
  margin-bottom: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.nb-modal__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.nb-modal__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #1C1E20 0%, #111214 100%);
  border-radius: 3px;
  border: var(--border-subtle);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-snow);
  opacity: 0.8;
  transition: background 200ms ease, border-color 200ms ease, opacity 200ms ease;
}
.nb-modal__item--link { cursor: pointer; }
.nb-modal__item--link:hover {
  background: rgba(168, 190, 204, 0.06);
  border-color: rgba(168, 190, 204, 0.18);
  opacity: 1;
}
.nb-modal__item:focus-visible { outline: 2px solid var(--c-cool-gray); outline-offset: 2px; }
.nb-modal__item-icon {
  color: var(--c-cool-gray);
  opacity: 0.6;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nb-modal__item--link .nb-modal__item-icon { opacity: 0.8; }

/* === SCROLL REVEAL ======================================== */
.nb-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}
.nb-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.nb-reveal--d1 { transition-delay: 40ms; }
.nb-reveal--d2 { transition-delay: 80ms; }
.nb-reveal--d3 { transition-delay: 120ms; }
.nb-reveal--d4 { transition-delay: 160ms; }

/* === PREFERS-REDUCED-MOTION =============================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .nb-reveal {
    opacity: 1;
    transform: none;
  }
  html { scroll-behavior: auto; }
}

/* === RESPONSIVE =========================================== */
@media (max-width: 1000px) {
  .nb-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .nb-hero__visual {
    order: -1;
    height: 240px;
  }
  .nb-hero__symbol { width: 160px; }
  .nb-hero__badge { display: none; }
  .nb-hero__footer { display: none; }
}

@media (max-width: 900px) {
  .nb-section { padding: 72px var(--sp-md); }
  .nb-bento { grid-template-columns: repeat(2, 1fr); }
  .nb-ba-grid { grid-template-columns: 1fr; }
  .nb-testimonials { grid-template-columns: 1fr; }
  .nb-testimonial:first-child { grid-row: span 1; }
  .nb-team-grid { grid-template-columns: 1fr; }
  .nb-principle { grid-template-columns: 1fr; gap: 10px; }
  .nb-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nb-comparison-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    position: relative;
  }
  .nb-comparison-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(18, 20, 22, 0.85));
    pointer-events: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    z-index: 1;
  }
  .nb-scroll-hint { display: block; }
  .nb-comparison { min-width: 480px; }
  .nb-navbar__links { display: none; }
  .nb-navbar__cta { display: none; }
  .nb-hamburger { display: flex; }
  .nb-bento { grid-template-columns: repeat(2, 1fr); }
  .nb-h1 { font-size: 34px; }
  .nb-h2 { font-size: 26px; }
  .nb-service-card { padding: 28px 20px; }
  .nb-modal {
    padding: 36px 24px;
    max-height: 90dvh;
    overflow-y: auto;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding-bottom: max(36px, env(safe-area-inset-bottom, 0px) + 24px);
  }
  .nb-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .nb-footer__top { flex-direction: column; align-items: flex-start; }
  .nb-marquee .nb-testimonial { width: 300px; }
  .nb-founder-grid { grid-template-columns: 1fr; gap: 28px; }
  .nb-founder-grid > :first-child { max-width: 220px; margin: 0 auto; aspect-ratio: 1/1; }
  .nb-flow-grid { grid-template-columns: 1fr; }
  .nb-ba-panel__img { aspect-ratio: 1 / 1; }
  /* Results carousel — smaller bottom bar */
  .nb-bar { width: 44px; }
  .nb-carousel-bottom-bar .nb-carousel-btn { width: 30px; height: 30px; }
}

/* === TABLET PEQUENO / LANDSCAPE MOBILE (640px) ============ */
@media (max-width: 640px) {
  .nb-section { padding: 64px 20px; }
  .nb-section-header { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  /* Container — section padding já fornece as margens; eliminar duplo padding */
  .nb-container { padding-left: 0; padding-right: 0; }

  /* Layout grids */
  .nb-bento { grid-template-columns: 1fr; }
  .nb-method__step { grid-template-columns: 1fr; }
  .nb-method__img-area { min-height: 240px; border-left: none; border-top: var(--border-subtle); }
  .nb-contact-grid { grid-template-columns: 1fr; }

  /* Navbar — menor no mobile */
  .nb-navbar { height: 64px; padding: 0 20px; }
  .nb-navbar__logo img { height: 22px; }

  /* Hero */
  .nb-hero { padding: 84px 20px 56px; min-height: auto; max-height: none; }
  .nb-hero::after { display: none; }

  /* Comparison table — sem min-width; margem da seção (20px) já garante o respiro */
  .nb-comparison-scroll::after { display: none; }
  .nb-comparison { min-width: unset; width: 100%; }
  .nb-comparison thead th:first-child,
  .nb-comparison tbody td:first-child {
    white-space: normal;
    width: 28%;
    word-break: break-word;
  }
  .nb-comparison thead th,
  .nb-comparison tbody td { padding: 10px 8px; }
  .nb-comparison thead th:first-child,
  .nb-comparison tbody td:first-child { padding: 10px 6px 10px 10px; }
  .nb-hero__headline { font-size: 28px; text-align: center; }
  .nb-hero__sub { font-size: 16px; line-height: 1.6; max-width: none; margin-bottom: 32px; text-align: center; }
  .nb-hero__actions { align-items: stretch; gap: 12px; }
  .nb-hero__actions .nb-btn { width: 100%; justify-content: center; }
  .nb-hero__inner { text-align: center; }
  .nb-hero__method { display: none; }
  .nb-hero__footer { display: none; }

  /* Seções */
  .nb-section { padding: 48px 20px; }
  .nb-section--page-hero { padding-top: 84px; }
  .nb-section-header { margin-bottom: 36px; }
  .nb-section-header p { font-size: 15px; }
  .nb-section-header .nb-label { font-size: 12px; padding: 5px 12px; }

  /* Testimonials marquee — full width bleed + smaller cards */
  .nb-marquee-wrap { margin-left: -20px; margin-right: -20px; }
  .nb-marquee .nb-testimonial { width: 220px; padding: 20px 16px; }
  .nb-marquee .nb-testimonial .nb-testimonial__quote { font-size: 13px; }

  /* Stats/bento */
  .nb-stat { padding: 36px 24px; }

  /* CTA banner */
  .nb-cta-banner { padding: 0; }
  .nb-cta-banner__inner { padding: 40px 20px; }
  .nb-cta-banner__quote { font-size: clamp(18px, 5vw, 26px); }
  .nb-cta-banner__sub { font-size: 14px; margin-bottom: 28px; }
  .nb-cta-banner .nb-btn { width: 100%; justify-content: center; }

  /* Cards */
  .nb-service-card { padding: 24px 16px; }
  .nb-service-card__header { padding-bottom: 20px; }
  .nb-team-card { padding: 24px 20px; }
  .nb-contact-card { padding: 20px; }

  /* Accordion */
  .nb-accordion-trigger { padding: 20px 20px; }
  .nb-accordion-body { padding: 0 20px 20px; }

  /* Footer */
  .nb-footer { padding: 40px 20px 28px; }
  .nb-footer__top { align-items: center; text-align: center; justify-content: center; }
  .nb-footer__links { justify-content: center; }
  .nb-footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .nb-footer__logo-full { display: none; }
  .nb-footer__logo-symbol { display: block; height: 32px; }

  /* Mapa */
  .nb-map-placeholder { height: 220px; }

  /* Comparison table */
  .nb-comparison { min-width: 310px; font-size: 11px; }
  .nb-comparison thead th { padding: 8px 6px; font-size: 9px; }
  .nb-comparison tbody td { padding: 8px 6px; }

  /* Modal */
  .nb-modal__title { font-size: 22px; margin-bottom: 24px; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .nb-hero { min-height: 700px; max-height: none; }
  .nb-hero::after { display: none; }
}

/* === SMALL PHONES (iPhone SE, 375px) ====================== */
@media (max-width: 375px) {
  .nb-navbar { height: 60px; }
  .nb-navbar__logo img { height: 20px; }
  .nb-hero { padding: 76px 16px 48px; min-height: auto; }
  .nb-hero__headline { font-size: 26px; }
  .nb-section { padding: 40px 16px; }
  .nb-section-header { margin-bottom: 28px; }
  .nb-stat__num { font-size: clamp(28px, 9vw, 40px); }
  .nb-cta-banner__inner { padding: 32px 16px; }
  .nb-comparison { min-width: 280px; font-size: 10px; }
  .nb-comparison thead th, .nb-comparison tbody td { padding: 6px 4px; }
  .nb-marquee-wrap { margin-left: -16px; margin-right: -16px; }
  .nb-marquee .nb-testimonial { width: 200px; }
  .nb-comparison { font-size: 10px; }
}

/* === KEYFRAMES ============================================ */

/* Mobile menu item entrance — staggered */
@keyframes menuItemIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 0.85; transform: none; }
}

/* Hero NB symbol float — high-end-visual-design */
@keyframes symbolFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* Hero glow pulse — radial breathing */
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}

/* Subtle CTA button glow pulse */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62, 90, 110, 0); }
  50%       { box-shadow: 0 0 24px 4px rgba(62, 90, 110, 0.35); }
}

/* Scroll indicator pulse */
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 0.9; }
}

/* === SCROLL INDICATOR ===================================== */
.nb-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: var(--z-base);
  animation: scrollBounce 2s ease-in-out infinite;
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
}
.nb-hero__scroll.visible { opacity: 0.5; }

/* === HERO ENTRANCE ANIMATION ============================
   Initial state — hidden until body.hero-loaded fires
   ======================================================= */
.nb-hero__headline,
.nb-hero__sub,
.nb-hero__actions,
.nb-hero__method {
  opacity: 0;
  transform: translateY(14px);
}
.nb-hero__visual {
  opacity: 0;
  transform: translateX(18px);
}
body.hero-loaded .nb-hero__headline,
body.hero-loaded .nb-hero__sub,
body.hero-loaded .nb-hero__actions,
body.hero-loaded .nb-hero__method,
body.hero-loaded .nb-hero__visual {
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  opacity: 1;
  transform: none;
}
body.hero-loaded .nb-hero__sub     { transition-delay: 80ms; }
body.hero-loaded .nb-hero__actions { transition-delay: 160ms; }
body.hero-loaded .nb-hero__method  { transition-delay: 240ms; }
body.hero-loaded .nb-hero__visual  { transition-delay: 80ms; }

@media (prefers-reduced-motion: reduce) {
  .nb-hero__headline,
  .nb-hero__sub,
  .nb-hero__actions,
  .nb-hero__method,
  .nb-hero__visual {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.nb-hero__scroll-dot {
  width: 4px;
  height: 4px;
  background: var(--c-cool-gray);
  border-radius: 50%;
}
.nb-hero__scroll-line {
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, var(--c-cool-gray), transparent);
}

/* Apply CTA pulse on navbar button when not scrolled */
.nb-navbar:not(.scrolled) .nb-navbar__cta {
  animation: ctaPulse 2.5s ease-in-out infinite;
}

/* === CAROUSEL — wrapper + shared controls ================= */
.nb-carousel-wrap {
  display: flex;
  flex-direction: column;
}

.nb-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin-top: 28px;
  padding: 0 4px;
}

.nb-carousel-bottom-bar .nb-carousel-nav {
  margin-top: 0;
}

.nb-carousel-btn-pair {
  display: flex;
  gap: 8px;
}

.nb-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(168, 190, 204, 0.2);
  background: transparent;
  color: var(--c-cool-gray);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 200ms ease, background 200ms ease, opacity 200ms ease;
}
.nb-carousel-btn:hover {
  border-color: rgba(168, 190, 204, 0.5);
  background: rgba(168, 190, 204, 0.06);
}
.nb-carousel-btn:active { transform: scale(0.94); }
.nb-carousel-btn:focus-visible { outline: 2px solid var(--c-cool-gray); outline-offset: 2px; }
.nb-carousel-btn:disabled { opacity: 0.25; cursor: default; pointer-events: none; }

.nb-carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(168, 190, 204, 0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease, transform 200ms ease;
}
.nb-dot.is-active {
  background: var(--c-cool-gray);
  transform: scale(1.4);
}
.nb-dot:focus-visible { outline: 2px solid var(--c-cool-gray); outline-offset: 2px; }

/* Step / slide in animation */
@keyframes stepIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === RESULTS CAROUSEL — Before & After ==================== */
.nb-results-wrapper {
  position: relative;
}

.nb-results-carousel {
  overflow: hidden;
}

.nb-result-slide {
  display: none;
}
.nb-result-slide.is-active {
  display: block;
  animation: stepIn 380ms var(--ease-out) both;
}

.nb-carousel-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.nb-carousel-bars {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nb-bar {
  width: 64px;
  height: 2px;
  background: rgba(168, 190, 204, 0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease;
}
.nb-bar.is-active {
  background: var(--c-cool-gray);
}
.nb-bar:focus-visible {
  outline: 2px solid var(--c-cool-gray);
  outline-offset: 3px;
}

.nb-result-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.nb-ba-panel__label {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  opacity: 0.55;
  margin-bottom: 8px;
  display: block;
}

.nb-ba-panel__img {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #252729 0%, #1A1C1E 100%);
  border-radius: 3px;
  border: 1px solid rgba(168, 190, 204, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(168, 190, 204, 0.3);
  position: relative;
  overflow: hidden;
}
.nb-ba-panel__img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 190, 204, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 190, 204, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.nb-carousel-bottom-bar .nb-carousel-btn {
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.3);
}

/* === TESTIMONIALS MARQUEE ================================= */
.nb-marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}

@media (max-width: 768px) {
  .nb-marquee-wrap {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.nb-marquee {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 65s linear infinite;
}

.nb-marquee-wrap:hover .nb-marquee {
  animation-play-state: paused;
}

@media (hover: hover) {
  .nb-marquee-wrap { cursor: grab; }
  .nb-marquee-wrap.is-dragging { cursor: grabbing; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.nb-marquee .nb-testimonial .nb-testimonial__quote {
  font-size: 15px;
}

/* Respect reduced-motion for marquee */
@media (prefers-reduced-motion: reduce) {
  .nb-marquee { animation: none; }
}

/* Section background — ba placeholder */
.nb-ba-placeholder {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #111111 0%, #0A0A0A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-bottom: var(--border-subtle);
  color: rgba(168, 190, 204, 0.2);
  position: relative;
  overflow: hidden;
}

/* Map embed */
.nb-map-placeholder {
  width: 100%;
  height: 420px;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 40px;
  border: var(--border-subtle);
}
.nb-map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* === CENTER-FOCUS CAROUSEL — componente reutilizável ====== */
/* Uso: .nb-cf no wrapper · .nb-cf-track no track · .nb-cf-card em cada card */

.nb-cf {
  --cf-card-w: 420px;
  --cf-gap: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, black 0%, black 75%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 75%, transparent 100%);
  position: relative;
}

.nb-cf-track {
  display: flex;
  gap: var(--cf-gap);
  padding-left: 0;
  padding-right: 0;
  transition: transform 0.4s var(--ease-out);
  will-change: transform;
}

.nb-cf-card {
  flex-shrink: 0;
  width: var(--cf-card-w);
  opacity: 0.45;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.nb-cf-card.is-active {
  opacity: 1;
  transform: scale(1.005);
}

@media (max-width: 600px) {
  .nb-cf-card.is-active {
    transform: none;
  }
}

/* Card widths por carousel */
.nb-foundation-carousel { --cf-card-w: 420px; }
.nb-services-carousel   { --cf-card-w: 520px; }
.nb-method-carousel     { --cf-card-w: calc(100% - 160px); }

/* Tablet */
@media (max-width: 900px) {
  .nb-foundation-carousel { --cf-card-w: 340px; }
  .nb-services-carousel   { --cf-card-w: 420px; }
  .nb-method-carousel     { --cf-card-w: calc(100% - 136px); }
}

/* Method carousel — card de destaque com máscara ajustada */
.nb-method-carousel {
  -webkit-mask-image: linear-gradient(to right, black 0%, black 91%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 91%, transparent 100%);
}
.nb-method-carousel .nb-cf-card:not(.is-active) {
  cursor: pointer;
}

/* Mobile — um card, sem preview lateral */
@media (max-width: 600px) {
  .nb-cf {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .nb-cf-track {
    padding-left: 0;
    padding-right: 0;
  }
  .nb-cf-card {
    width: 100%;
    opacity: 1;
  }
  .nb-map-placeholder { height: 280px; }
}

/* Results carousel — compact bottom bar on mobile */
@media (max-width: 600px) {
  .nb-bar { width: 36px; }
  .nb-carousel-bottom-bar { margin-top: 12px; }
  .nb-carousel-bottom-bar .nb-carousel-btn { width: 28px; height: 28px; }
}

/* Service cards — hug content height */
.nb-services-carousel .nb-cf-track { align-items: flex-start; }

/* === FLUXO DE ENTRADA CARDS — dark neutral ================ */
.nb-flow-card {
  background: linear-gradient(135deg, #1E2428 0%, #171C20 100%);
  border: 1px solid rgba(168, 190, 204, 0.06);
  padding: 28px 24px;
  text-align: center;
  transition: background 250ms ease, border-color 250ms ease, transform 250ms var(--ease-out);
}
.nb-flow-card:hover {
  background: linear-gradient(135deg, #232B30 0%, #1C2328 100%);
  border-color: rgba(168, 190, 204, 0.14);
  transform: scale(1.02);
}

/* === ACCORDION — Valores / Princípios ===================== */
/* Override nb-principle grid when used as accordion */
.nb-principle.nb-accordion-item {
  display: block;
  padding: 0;
}
.nb-principle.nb-accordion-item:hover { background: linear-gradient(135deg, #1E2022 0%, #131313 100%); }

.nb-accordion-item {
  border-bottom: 1px solid rgba(168, 190, 204, 0.06);
  background: linear-gradient(135deg, #161618 0%, #0F0F0F 100%);
}
.nb-accordion-item:last-child { border-bottom: none; }

.nb-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 200ms ease;
}
.nb-accordion-trigger:hover {
  background: transparent;
}

.nb-principle__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-white);
  letter-spacing: 0.02em;
}

.nb-accordion-icon {
  flex-shrink: 0;
  color: var(--c-cool-gray);
  opacity: 0.5;
  transition: transform 0.3s var(--ease-out);
}
.nb-accordion-item.is-open .nb-accordion-icon {
  transform: rotate(45deg);
}

.nb-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out), padding 0.3s ease;
  padding: 0 32px;
}
.nb-accordion-item.is-open .nb-accordion-body {
  max-height: 240px;
  padding: 0 32px 28px;
}

/* === FOUNDATION CAROUSEL — Quem Somos ===================== */
.nb-foundation-carousel {
  position: relative;
}

.nb-foundation-card {
  background: linear-gradient(135deg, #1C1E20 0%, #111214 100%);
  padding: 36px 40px;
  border-radius: 3px;
  border: var(--border-subtle);
}
.nb-foundation-card.is-active {
  border-color: rgba(168, 190, 204, 0.2);
}

.nb-foundation-nav {
  margin-top: 24px;
}

/* === SERVICE LIST ACCORDION ================================ */
.nb-service-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nb-service-list__item {
  background: #1E2226;
  border: 1px solid rgba(168, 190, 204, 0.07);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 250ms ease;
}
.nb-service-list__item.is-open {
  border-color: rgba(168, 190, 204, 0.16);
}

.nb-service-list__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 200ms ease;
}
.nb-service-list__trigger:hover {
  background: rgba(168, 190, 204, 0.03);
}
.nb-service-list__item.is-open .nb-service-list__trigger .nb-accordion-icon {
  transform: rotate(45deg);
}

.nb-service-list__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s ease;
  padding: 0 32px;
}
.nb-service-list__item.is-open .nb-service-list__body {
  max-height: 1100px;
  padding: 0 32px 36px;
}

/* Price table inside service list */
.nb-svc-table {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 4px;
}
.nb-svc-table__head,
.nb-svc-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
}
.nb-svc-table__head > div {
  background: linear-gradient(135deg, #1E2428, #171C20);
  padding: 12px 16px;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
  opacity: 0.7;
}
.nb-svc-table__head > div:not(:first-child) { text-align: center; }
.nb-svc-table__row > div {
  background: linear-gradient(135deg, #1E2428, #171C20);
  padding: 14px 18px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-cool-gray);
}
.nb-svc-table__row > div:not(:first-child) {
  text-align: center;
  opacity: 0.6;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 480px) {
  .nb-service-list__trigger { padding: 20px; }
  .nb-service-list__item.is-open .nb-service-list__body { padding: 0 20px 28px; }
  .nb-svc-table__head > div,
  .nb-svc-table__row > div { padding: 10px 12px; font-size: 9px; }
}

/* === SERVICES CAROUSEL — Serviços ========================= */
.nb-services-carousel {
  position: relative;
}

/* === HERO IDENTITY — Quem Somos =========================== */
.nb-hero--identity {
  position: relative;
  overflow: hidden;
}

.nb-hero--identity::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 190, 204, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 190, 204, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.nb-hero--identity .nb-container {
  position: relative;
  z-index: 1;
}

.nb-hero--identity::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(62, 90, 110, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
