/* BASE */

@font-face {
  font-family: 'diodrum';
  src: url('./assets/DiodrumCyrillic-Regular.woff2') format('woff2'),
       url('./assets/DiodrumCyrillic-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

/* Bold */
@font-face {
  font-family: 'diodrum';
  src: url('./assets/DiodrumCyrillic-Bold.woff2') format('woff2'),
       url('./assets/DiodrumCyrillic-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

/* Semibold */
@font-face {
  font-family: 'diodrum';
  src: url('./assets/DiodrumCyrillic-Semibold.woff2') format('woff2'),
       url('./assets/DiodrumCyrillic-Semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}
.highlight{
  color:rgb(0, 0, 139);
}
html, body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'diodrum', sans-serif;
  background-color: darkblue;
}

:root {
  --nav-height: 80px;
}

@media (max-width: 768px) {
  :root {
    --nav-height: 65px;
  }
}


/* NAVBAR */

.navbar {
  font-family: 'diodrum';
  font-weight: 400;
  background: transparent !important;
  transition: 0.4s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 139, 0.5) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.navbar img {
  max-width: 60px;
}

.navbar-brand {
  margin-left: 23px;
}

#navbarNav {
  margin-right: 23px;
}
.navbar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navbar-nav .nav-link {
  text-align: center;
}
.navbar-collapse {
  text-align: center !important;
}

.nav-link {
  color: #bfbfbf !important;
  position: relative;
  transition: 0.3s;
}

.nav-link:hover {
  color: #fff !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: white;
  transform: translateX(-50%);
  transition: 0.3s;
}

.nav-link:hover::after {
  width: 90%;
}

/* TICKER */

.ticker {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;

  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  color: white;
  padding: 9px 0;

  overflow: hidden;
  white-space: nowrap;

  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.ticker.show {
  transform: translateY(var(--nav-height));
  opacity: 1;
}

.ticker-track {
  display: inline-block;
  animation: scroll 30s linear infinite;
}

.ticker span {
  margin: 0 30px;
}

@keyframes scroll {
  from { transform: translateX(260%); }
  to { transform: translateX(-100%); }
}

.positivo { color: #00ff88; }
.negativo { color: #ff4d4d; }

/* BANNER */

.imgbannerp {
  position: relative;
  height: 100vh;
  background: radial-gradient(circle at 30% 30%, #1a2a6c, #0b0f2a 70%);
  overflow: hidden;
}

.imgbannerp::before,
.imgbannerp::after {
  content: "";
  position: absolute;
  filter: blur(120px);
  z-index: 0;
}

.imgbannerp::before {
  width: 600px;
  height: 600px;
  background: rgba(0, 102, 255, 0.3);
  top: -100px;
  left: -100px;
}

.imgbannerp::after {
  width: 500px;
  height: 500px;
  background: rgba(0, 200, 255, 0.2);
  bottom: -150px;
  right: -100px;
}

/* HERO */

.hero {
  position: absolute;
  inset: 0; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  color: white;

  padding-top: calc(var(--nav-height) + 40px);
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-weight: 700;
  font-size: 3rem;
  background: linear-gradient(90deg, #fff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-weight: 400;
  color: #b0b8d1;
}

.hero-buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* BOTOES */

.btn-primary {
  background: #2563eb;
  padding: 12px 25px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
}

.btn-secondary {
  border: 1px solid #ffffff40;
  padding: 12px 25px;
  border-radius: 8px;
  color: white;
}

/* ANIMACAO_ENTRADA */

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #0b0f2a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

 /* wrapper da logo */

 .logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
} 

/* logo */ 

.logo-img { 
width: 120px;
z-index: 2;
opacity: 0;
transform: scale(0.8);
animation: logoFade 1.2s ease forwards;
}

/* glow atrás */

.glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #2563eb, transparent 70%);
  filter: blur(40px);
  opacity: 0.7;
  animation: glowPulse 2s ease-in-out infinite;
}
/* animação da logo */

@keyframes logoFade {
   to { 
    opacity: 1;
    transform: scale(1);
  }
}
/* animação do glow */

@keyframes glowPulse {
  0% { transform: scale(0.8);
    opacity: 0.6;
  } 
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
}

/* ANIMACAO ITEM */
.reveal {
  font-family: 'diodrum';
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 25px;
}
.reveal h1,
.reveal p {
  opacity: 0;
  transform: translateX(80px);
}

.reveal h1 {
  margin-left: 250px;
  margin-bottom: 10px;
  transition: all 0.8s ease;
  font-weight: 600;
}

.reveal p {
  font-size: larger;
  margin-left: 250px;
  margin-right: 250px;
  font-weight: 400;
  transition: all 0.8s ease;
  transition-delay: 0.5s;
}
.reveal.show h1,
.reveal.show p {
  opacity: 1;
  transform: translateX(0);
}
.maismp{
  margin-left: 60px;
  margin-right: 60px;
}
.reveal-r {
  font-family: 'diodrum';
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom: #000000;
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.reveal-l::after {
  content: "";
  width: 100%;
  height: 1px;
  margin-top: 10px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.7), transparent);
}
.reveal-r::after {
  content: "";
  width: 100%;
  height: 1px;
  margin-top: 10px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.7), transparent);
}

.reveal-l{
  font-family: 'diodrum';
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom: #000000;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.titulo{
  display: flex;
  align-items: center;
  gap: 10px;
}
.titulo img {
  filter: brightness(0.2);
}
.reveal-l img{
  max-height: 40px;
  transition: all 0.8s ease;
}

.reveal-l p{
  font-size: larger;
  margin-left: 250px;
  margin-right: 250px;
  font-weight: 400;
  transition: all 0.8s ease;
  transition-delay: 0.5s;
}
.reveal-l h1{
  margin-left: 250px;
  margin-bottom: 10px;
  transition: all 0.8s ease;
  font-weight: 600;

}
.reveal-l h1,
.reveal-l img,
.reveal-l p {
  opacity: 0;
  transform: translate(-80px);
}

.reveal-r h1,
.reveal-r img,
.reveal-r p {
  opacity: 0;
  transform: translate(80px);
}

/* h1 aparece primeiro */
.reveal-r h1 {
  margin-left: 250px;
  margin-bottom: 10px;
  transition: all 0.8s ease;
  font-weight: 600;
}
.reveal-r img{
  max-height: 40px;
  transition: all 0.8s ease;
}
/* p aparece depois */
.reveal-r p {
  font-size: larger;
  margin-left: 250px;
  margin-right: 250px;
  font-weight: 400;
  transition: all 0.8s ease;
  transition-delay: 0.5s;
}

/* animação */
.reveal-r.show h1,
.reveal-r.show img,
.reveal-r.show p {
  opacity: 1;
  transform: translateX(0);
}
.reveal-l.show h1,
.reveal-l.show img,
.reveal-l.show p {
  opacity: 1;
  transform: translateX(0);
}
/* FOOTER */

footer {
  position: relative;
  background: radial-gradient(circle at 30% 30%, #1a2a6c, #0b0f2a 70%);
  padding: 40px 30px;
  color: #ffffff;
  overflow: hidden;
  padding: 40px 30px;
  color: #ffffff;
}
footer::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(0, 102, 255, 0.25);
  filter: blur(120px);
  top: -200px;
  left: -150px;
}
footer::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(0, 200, 255, 0.15);
  filter: blur(120px);
  bottom: -150px; right: -100px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center; 
}
.footer-top,
.footer-bottom {
  position: relative;
  z-index: 2;
}
.footer1 { 
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: start;
  margin-top: 23px;
}
.footer-icons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.footer-icons img {
  width: 30px;
  cursor: pointer;
  transition: 0.3s;
}
.footer-icons img:hover {
  transform: scale(1.2);
}
.footer-bottom {
  text-align: center;
  margin-top: 10px;
}
footer img {
  max-width: 60px;
  height: auto;
  margin-bottom: 19px;
}

/* MOBILE */
/* por padrão: mostra desktop */
.desktop { display: block; }
.mobile { display: none; }

/* quando for mobile */
@media (max-width: 768px) {
  .desktop { display: none; }
  .mobile { display: block; }
}

@media (max-width: 768px) {
  .reveal {
    padding: 0 15px;
  }
  .reveal p{
    margin-left: 10px;
    margin-right: 10px;
    font-weight: 600;
    font-size: large;
  }
  .reveal h1 {
  margin-left: 10px;
  margin-bottom: 5px;
  font-weight: 700;
  }
  .reveal-l {
    padding: 0 15px;
  }
  .reveal-r {
    padding: 0 15px;
  }
  .reveal-r p{
    margin-left: 1px;
    margin-right: 1px;
    font-weight: 600;
    font-size: large;
  }
  .reveal-r h1 {
  margin-left: 1px;
  margin-bottom: 1px;
  font-weight: 700;
  }
  .reveal-l p{
    margin-left: 1px;
    margin-right: 1px;
    font-weight: 600;
    font-size: large;
  }
  .reveal-l h1 {
  margin-left: 1px;
  margin-bottom: 1px;
  font-weight: 700;
  }


  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-icons {
    justify-content: center;
  }

  .footer1 {
    align-items: center;
    text-align: center;
  }
  .reveal img {
    max-width: 100%;
    width: 100%;
    height: auto;

    border-radius: 10px;
  }


  .hero {
    padding-top: calc(var(--nav-height) + 20px);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 90%;
    max-width: 280px;
  }

  .ticker {
    font-size: 14px;
  }
}