:root {
  /* Brand & Accent */
  --primary: #0AADFF;

  /* Backgrounds & Surfaces */
  --bg-main: #171717;
  --bg-card: #1c1c1c;
  --bg-secondary: #1b1d24;
  --bg-button-light: #e9ecef;

  /* Borders */
  --border-color: #2a2a2a;

  /* Typography */
  --text-primary: #eceaf0;
  --text-secondary: #d6d4d8;
  --text-muted: #8b93a7;
  --text-dark: #171717;
  --text-light: #FFFFFF;
}

/* Manrope - 300 (Regular) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/manrope/manrope-v20-latin-300.woff2') format('woff2');
}
/* Manrope - 400 (Regular) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope/manrope-v20-latin-regular.woff2') format('woff2');
}

/* Manrope - 500 (Medium) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/manrope/manrope-v20-latin-500.woff2') format('woff2');
}

/* Manrope - 600 */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope/manrope-v20-latin-600.woff2') format('woff2');
}

/* Manrope - 700 (Bold) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/manrope/manrope-v20-latin-700.woff2') format('woff2');
}

/* Transição garantida na entrada da página */
body {
  animation: pageEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pageEnter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { --delay: 0.2s; }
.delay-2 { --delay: 0.45s; }
.delay-3 { --delay: 0.7s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Reset & Global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
}

body {
  background-color: var(--bg-main);
  font-family: "Manrope", sans-serif;
  margin: 0;
  color: var(--text-primary);
}

li, a, button {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--text-primary);
  text-decoration: none;
}

/* Buttons */
.button-style-1 {
  padding: 12px 22px;
  color: var(--text-light);
  background: linear-gradient(90deg, #008bd1,#007fe7,#008bd1);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: background 1000ms ease, transform 400ms ease;
  border-radius: 8px;
}

.button-style-2 {
  padding: 12px 22px;
  background: var(--bg-button-light);
  color: var(--text-dark);
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: background 600ms ease, outline-color 1000ms ease, outline-offset 1000ms ease, transform 400ms ease;
  border-radius: 8px;
  outline: 2px solid transparent;
  outline-offset: 0px;
}

.button-style-1:hover {
  background: var(--bg-main);
  outline: 2px solid var(--primary);
  outline-offset: 0px;
  transform: scale(1.04);
}

.button-style-2:hover {
  background: transparent;
  outline: 2px solid var(--bg-button-light);
  outline-offset: 0px;
  color: var(--text-primary);
  transform: scale(1.04);
}

/* Header & Navegation */
header {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 12%;
  padding-right: 12%;
  width: 100%;
  z-index: 9999;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

header.header--scrolled {
  background-color: var(--bg-main);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  width: 220px;
  height: auto;
  transition: transform 600ms ease;
}

.logo:hover {
    transform: scale(1.03);
}

.nav__links {
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__links li {
  display: inline-block;
  padding-left: 20px;
  padding-right: 20px;
  transition: scale 400ms ease;
}

.nav__links li a {
  font-size: 1.15rem;
  font-weight: 500;
  transition: color 0.1s ease;
}

.nav__links li:hover {
  scale: 1.06;
}

header button {
  padding-top: 9px;
  padding-bottom: 9px;
  padding-left: 25px;
  padding-right: 25px;
  background-color: var(--primary);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  color: var(--text-dark);
}

header button:hover {
  background-color: var(--bg-secondary);
}

/* Button Menu Hamburguer */
.menu-btn {
  color: var(--text-primary);
  display: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0;
}

.menu-btn:hover,
.menu-btn:focus,
.menu-btn:active {
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Mobile icons */
.menu-btn .icon-close {
  display: none;
}

.menu-btn .icon-bars {
  display: block;
}

header.menu-open .menu-btn .icon-bars {
  display: none;
}

header.menu-open .menu-btn .icon-close {
  display: block;
}

/* Menu Mobile */
@media (max-width: 1250px) {
  html.menu-open,
  body.menu-open {
    overflow: hidden !important;
    touch-action: none;
  }

  header {
    padding-left: 5% !important;
    padding-right: 5% !important;
    padding-top: 20px;
    padding-bottom: 20px;
    left: 0;
    top: 0;
  }

  header.header--scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  header.menu-open {
    background-color: var(--bg-main);
  }

  .logo {
    width: 160px;
    margin: 0;
    display: block;
  }

  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    position: relative;
    z-index: 10000;
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: -100%;
    background-color: var(--bg-main);
    height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    z-index: 9998;
    transform: none;
    margin: 0;
    padding: 0;
    touch-action: none;
    overscroll-behavior: contain;
  }

  .cta {
    display: block;
    position: fixed;
    bottom: 50px;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: fit-content;
    white-space: nowrap;
    text-align: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none !important;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .menu-open .nav__links {
    left: 0;
  }

  .menu-open .cta {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none !important;
    transition: opacity 0.3s ease 0.15s, visibility 0.3s ease 0.15s;
  }

  .cta:hover {
    transform: scale(0.96) !important;
  }

  .nav__links li {
    margin: 15px 0;
  }

  .nav__links li a {
    font-size: 1.35rem;
  }
}