/* ═══════════════════════════════════════════════════════════════
   N1 360 — LANDING PAGE PREMIUM
   Design System: Preto + Dourado Metálico
   ═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  /* Colors */
  --black-deep:       #0A0A0A;
  --black-soft:       #111111;
  --black-card:       #151515;
  --black-elevated:   #1A1A1A;
  --gray-800:         #2A2A2A;
  --gray-600:         #555555;
  --gray-400:         #888888;
  --white:            #FFFFFF;
  --white-muted:      #CCCCCC;
  --white-soft:       rgba(255, 255, 255, 0.7);

  /* Gold Palette */
  --gold:             #D4AF37;
  --gold-light:       #F5D98E;
  --gold-dark:        #B8952A;
  --gold-glow:        rgba(212, 175, 55, 0.15);
  --gold-border:      rgba(212, 175, 55, 0.3);
  --gold-gradient:    linear-gradient(135deg, #B8952A 0%, #D4AF37 30%, #F5D98E 50%, #D4AF37 70%, #B8952A 100%);

  /* Typography */
  --font-serif:       'Playfair Display', 'Georgia', serif;
  --font-condensed:   'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  8rem;

  /* Layout */
  --header-height:    72px;
  --max-width:        1280px;
  --max-width-narrow: 900px;

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --duration:    0.5s;
}


/* ─── RESET ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--white);
  background-color: var(--black-deep);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}


/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  transition: background var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: rgba(212, 175, 55, 0.15);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-mark {
  height: 38px;
  width: auto;
  max-height: calc(var(--header-height) - 24px);
  object-fit: contain;
  display: block;
}

.logo-wordmark {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.logo-360 {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Desktop Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-soft);
  transition: color 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-link:hover::after {
  width: 100%;
}

/* Header CTA */
.header-cta {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--gold);
  color: var(--black-deep);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  z-index: 1010;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.mobile-nav-link {
  font-family: var(--font-condensed);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-soft);
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--gold-light);
}

.mobile-nav-cta {
  margin-top: var(--space-lg);
  font-family: var(--font-condensed);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: all 0.3s ease;
}

.mobile-nav-cta:hover {
  background: var(--gold);
  color: var(--black-deep);
}


/* ═══════════════════════════════════════════════════════════════
   SECTIONS — BASE
   ═══════════════════════════════════════════════════════════════ */
.section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 3;
}

.section__bg-placeholder {
  position: absolute;
  inset: 0;
  /* Transparent — video shows through */
  background: transparent;
  z-index: 0;
}

/* No alternate background — all transparent for video */
.section:nth-child(even) .section__bg-placeholder {
  background: transparent;
}

/* Subtle top border between sections */
.section + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: var(--gold-border);
  z-index: 4;
}

.section__content {
  position: relative;
  z-index: 4;
  max-width: var(--max-width);
  width: 100%;
  padding: calc(var(--header-height) + var(--space-2xl)) var(--space-lg) var(--space-2xl);
}


/* ─── TYPOGRAPHY ─── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
}

.eyebrow-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: var(--space-sm) 0 var(--space-lg);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.headline {
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 0, 0, 0.8);
}

.headline--serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-style: normal;
}

.headline--condensed {
  font-family: var(--font-condensed);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.subheadline {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 400;
  line-height: 1.8;
  color: #F1F5F9;
  max-width: 680px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.7);
}

.section-number {
  display: block;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}


/* ─── HERO SECTIONS (1 & 8) — Centered ─── */
.section--center .section__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 10, 10, 0.72) 0%,
    rgba(10, 10, 10, 0.40) 65%,
    transparent 85%
  );
  border-radius: 24px;
}

.section--center .subheadline {
  max-width: 680px;
}

.section--center .eyebrow-rule {
  margin-left: auto;
  margin-right: auto;
}


/* ─── SECTIONS (2–7) ─── */
.split-layout {
  display: flex;
  align-items: center;
  min-height: 50vh;
  max-width: 820px;
  margin-right: auto;
}

.split-layout--reverse {
  margin-left: auto;
  margin-right: 0;
  justify-content: flex-end;
}

.split-text {
  width: 100%;
  max-width: 760px;
  padding: var(--space-xl) var(--space-xl);
  background: radial-gradient(
    ellipse at 25% center,
    rgba(10, 10, 10, 0.76) 0%,
    rgba(10, 10, 10, 0.42) 65%,
    transparent 92%
  );
  border-radius: 20px;
}

.split-layout--reverse .split-text {
  background: radial-gradient(
    ellipse at 75% center,
    rgba(10, 10, 10, 0.76) 0%,
    rgba(10, 10, 10, 0.42) 65%,
    transparent 92%
  );
}


/* ─── INSIGHT BLOCK (Section 7) ─── */
.insight-block {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border-left: 3px solid var(--gold);
  background: rgba(15, 15, 15, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border-radius: 0 6px 6px 0;
}

.insight-block__text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--gold-light);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}


/* ─── BUTTONS ─── */
.cta-group {
  margin-top: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cta-group--dual {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-condensed);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1.1rem 2.6rem;
  transition: all 0.35s var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.25);
}

.btn--primary {
  background: var(--gold-gradient);
  color: var(--black-deep);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4), 0 0 30px rgba(0, 0, 0, 0.8);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out);
}

.btn--primary:hover::before {
  transform: translateX(100%);
}

.btn--primary:hover {
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

.btn--secondary:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* ─── SCROLL HINT (Hero) ─── */
.section__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: var(--gold-gradient);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.2;
    transform: scaleY(0.5);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}


/* ═══════════════════════════════════════════════════════════════
   VIDEO BACKGROUND — Fixed fullscreen, scroll-controlled
   ═══════════════════════════════════════════════════════════════ */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.video-bg canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: block;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.video-bg video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

@media (max-width: 768px) {
  .video-bg video {
    object-position: center 28%;
  }
}

.video-overlay {
  position: absolute;
  inset: 0;
  /* Overlay base suave e cinematográfico: preserva a riqueza visual e as cores do vídeo */
  background: radial-gradient(
    ellipse at center,
    rgba(8, 8, 8, 0.48) 0%,
    rgba(5, 5, 5, 0.64) 100%
  );
  z-index: 2;
  pointer-events: none;
}


/* ─── FINAL SECTION ─── */
.section--final .headline--final {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
}


/* ═══════════════════════════════════════════════════════════════
   BADGES FOOTER
   ═══════════════════════════════════════════════════════════════ */
.badges-footer {
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--gold-border);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  z-index: 10;
}

.badges-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.badge-item span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.badge-divider {
  width: 1px;
  height: 16px;
  background: var(--gold-border);
}


/* ═══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS (on scroll — JS controlled)
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .split-layout--reverse {
    direction: ltr;
  }

  /* On tablet/mobile, always show text first, media second */
  .split-text {
    order: 1;
  }

  .split-media {
    order: 2;
  }

  .media-placeholder {
    max-width: 560px;
    margin: 0 auto;
  }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root {
    --header-height: 60px;
  }

  .header-inner {
    padding: 0 var(--space-sm);
  }

  .logo-wordmark {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

  .section__content {
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-sm) var(--space-xl);
  }

  .headline--serif {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .headline--condensed {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .headline--final {
    font-size: clamp(2rem, 8vw, 3.5rem) !important;
  }

  .subheadline {
    font-size: 0.95rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .btn {
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
  }

  .badges-inner {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .badge-divider {
    width: 40px;
    height: 1px;
  }

  .eyebrow-rule {
    margin: var(--space-xs) 0 var(--space-md);
  }

  .insight-block {
    padding: var(--space-sm) var(--space-md);
  }

  .split-text {
    padding: var(--space-lg) var(--space-md);
    background: radial-gradient(
      ellipse at center,
      rgba(10, 10, 10, 0.82) 0%,
      rgba(10, 10, 10, 0.50) 75%,
      transparent 100%
    );
  }

  .section--center .section__content {
    background: radial-gradient(
      ellipse at center,
      rgba(10, 10, 10, 0.82) 0%,
      rgba(10, 10, 10, 0.50) 75%,
      transparent 100%
    );
  }

  .mobile-nav-link {
    font-size: 1.2rem;
  }
}


/* ─── SELECTION ─── */
::selection {
  background: var(--gold);
  color: var(--black-deep);
}

::-moz-selection {
  background: var(--gold);
  color: var(--black-deep);
}


/* ─── SCROLLBAR (Webkit) ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--black-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-800);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}
