:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --text: #ffffff;
  --muted: #cfcfcf;
  --green: #00345b;
  --blue: #0b7db7;
  --panel: #1a1a1a;
  --panel2: #111111;
  --border: #2b2b2b;
  /*--nav-height: 78px;*/
  --nav-height: 50px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* NAVBAR */
/*header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        transition: all 0.4s ease;
        background: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid transparent;
      }*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  transition: all 0.35s ease;
}

.navbar {
  height: 100%;
}

header.scrolled {
  background: #000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.navbar {
  max-width: 1400px;
  margin: auto;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
}

/* =====================================================
   LOGOTIPO
===================================================== */

.logo {
  position: relative;
  display: flex;
  align-items: center;
  height: 58px;
  min-width: 190px;
}

/* Logo inicial */
.logo-default {
  display: flex;
  align-items: center;

  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;

  color: #ffffff;

  opacity: 1;
  visibility: visible;

  transform: translateY(0);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease;
}

.logo-default span {
  color: #143b68;
}

/* Logo que aparece no sticky */
.logo-sticky {
  position: absolute;
  left: 0;
  top: 50%;

  display: flex;
  align-items: center;

  opacity: 0;
  visibility: hidden;

  transform: translateY(-50%) scale(0.92);

  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s ease;
}

/* =====================================================
   HEADER STICKY
===================================================== */

header.scrolled .logo-default {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
}

header.scrolled .logo-sticky {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}
.logo-sticky img {
  display: block;

  width: 150px;
  height: auto;

  object-fit: contain;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: 0.25s;
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--green);
}

.chev {
  transition: 0.25s;
}

.nav-item.active .chev {
  transform: rotate(180deg);
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1rem;
}

.icon {
  font-size: 1.2rem;
}

/* MEGA MENU */
.mega {
  position: fixed;
  top: 52px;
  left: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  background: #050505;
  display: flex;
  transition: height 0.4s ease;
  border-top: 1px solid #111;
}

.mega.open {
  height: 520px;
}

.mega-left {
  width: 340px;
  background: #1f1f1f;
  padding: 26px 0;
  border-right: 1px solid #2a2a2a;
}

.mega-tab {
  padding: 22px 34px;
  font-size: 1.2rem;
  color: #d9d9d9;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.25s;
}

.mega-tab:hover,
.mega-tab.active {
  background: #111;
  color: var(--green);
}

.mega-right {
  flex: 1;
  padding: 42px 54px;
  background: #050505;
}

.panel {
  display: none;
  animation: fade 0.3s ease;
}

.panel.active {
  display: block;
}

/* LINKS NA VERTICAL */
.panel-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

.panel a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #1b1b1b;
  color: #d7d7d7;
  text-decoration: none;
  transition: 0.25s;
}

.panel a:hover {
  color: var(--green);
  padding-left: 8px;
}

/*.panel-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 18px 44px;
      }

      .panel h3 {
        margin-bottom: 20px;
        color: #fff;
        font-size: 1.25rem;
      }

      .panel a {
        display: block;
        color: #d7d7d7;
        text-decoration: none;
        margin-bottom: 14px;
        transition: 0.2s;
      }

      .panel a:hover {
        color: var(--green);
        transform: translateX(4px);
      }*/

.panel-links {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
}

.panel-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  padding: 16px 0;

  color: #d8d8d8;
  text-decoration: none;

  border-bottom: 1px solid #222;

  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}

.panel-links a:hover {
  color: #f1581b;
  padding-left: 8px;
}

.panel-links .arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: 0.25s ease;
}

.panel-links a:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO */
/*.hero {
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
        overflow: hidden;
      }

      .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.8) 40%,
            rgba(0, 0, 0, 0.55) 70%,
            rgba(0, 0, 0, 0.82) 100%
          ),
          url("hero-zambeca.jpg") center/cover no-repeat;
        transform: scale(1.05);
        transition: transform 0.2s linear;
      }

      .hero-content {
        position: relative;
        z-index: 2;
        max-width: 760px;
        margin-left: 5%;
        padding-top: 70px;
      }*/

.hero {
  position: relative;
  min-height: 100vh;

  padding-top: var(--nav-height);

  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

/*.hero::before {
        content: "";
        position: absolute;
        top: -10%;
        left: 0;
        width: 100%;
        height: 120%;
        background:
          linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.82) 40%,
            rgba(0, 0, 0, 0.55) 70%,
            rgba(0, 0, 0, 0.82) 100%
          ),
          url("hero-zambeca.jpg") center center / cover no-repeat;
        transform: translateY(var(--parallax, 0px)) scale(1.05);
        will-change: transform;
        z-index: 1;
      }*/

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.78) 38%,
      rgba(0, 0, 0, 0.45) 70%,
      rgba(0, 0, 0, 0.8) 100%
    ),
    url("../images/hero-zambeca.jpg");

  background-size: cover;
  /*background-position: center top; /* mostra o topo da imagem */
  background-position: center 15%; /* mostra o topo da imagem */
  background-repeat: no-repeat;

  transform: translateY(var(--parallax, 0px)) scale(1.02);
  will-change: transform;
  z-index: 1;
}

/*     .hero-content {
        position: relative;
        z-index: 2;
      }*/

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin-left: 5%;
  padding-top: 20px;
}

.hero h1 {
  font-size: 4.6rem;
  line-height: 1.04;
  font-weight: 300;
  margin-bottom: 28px;
  letter-spacing: -2px;
}

.hero p {
  font-size: 1.45rem;
  line-height: 1.75;
  color: #e5e5e5;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  padding: 18px 38px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  background: #0e8fd3;
}

/* SECTIONS */
section {
  padding: 110px 7%;
  background: #000;
}

.section-dark {
  background: #6b87a9;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 18px;
}

.section-text {
  color: #d3d3d3;
  line-height: 1.85;
  max-width: 900px;
}

.cards {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: #111;
  border: 1px solid #222;
  border-radius: 22px;
  padding: 30px;
  transition: 0.35s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--green);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.card h3 {
  margin: 18px 0 12px;
  font-size: 1.2rem;
}

.card p {
  color: #cfcfcf;
  line-height: 1.7;
  font-size: 0.98rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #1b1b1b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 1px solid #2a2a2a;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  margin-top: 46px;
}

.stat {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid #1f1f1f;
  border-radius: 20px;
  background: #0b0b0b;
}

.stat h4 {
  font-size: 2.2rem;
  color: var(--green);
  margin-bottom: 8px;
}

.stat p {
  color: #d0d0d0;
}

/* CTA */
.cta {
  text-align: center;
  padding: 120px 7%;
  background: linear-gradient(180deg, #050505, #0b0b0b);
}

.cta h2 {
  font-size: 2.8rem;
  margin-bottom: 18px;
}

.cta p {
  color: #d0d0d0;
  max-width: 760px;
  margin: 0 auto 34px;
  line-height: 1.8;
}


/* FOOTER */
footer {
  background: #050505;
  border-top: 1px solid #171717;
  padding: 60px 7% 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--green);
}

footer p,
footer a {
  color: #bdbdbd;
  text-decoration: none;
  line-height: 1.9;
}

footer a:hover {
  color: #fff;
}

.copy {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #141414;
  text-align: center;
  color: #8f8f8f;
  font-size: 0.92rem;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .nav-left {
    display: none;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .mega.open {
    height: 640px;
  }

  .mega {
    flex-direction: column;
  }

  .mega-left {
    width: 100%;
    display: flex;
    overflow: auto;
    padding: 0;
  }

  .mega-tab {
    min-width: 220px;
    border-right: 1px solid #2a2a2a;
  }

  .mega-right {
    padding: 26px;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 0 18px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    margin: 0 20px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.video-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2;
}

.video-overlay {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 700px;
  padding: 120px 7%;
}

/* ==========================================
   STICKY SCROLL PROGRESS BAR
   ========================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;

  background: rgba(255, 255, 255, 0.12);

  z-index: 99999;

  pointer-events: none;
}

.scroll-progress-bar {
  display: block;

  width: 0%;
  height: 100%;

  background: linear-gradient(90deg, #00345b 0%, #0b7db7 55%, #7ed321 100%);

  transition: width 0.08s linear;

  will-change: width;
}
