:root {
  --blue-dark: #062f4f;
  --blue: #00b3e6;
  --white: #ffffff;
  --gray: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background: var(--blue-dark);
  line-height: 1.6;
}

.container {
  width: min(1200px, 90%);
  margin: auto;
}

/* HEADER */
.header {
  background: #053255;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--white);
  text-decoration: none;
}

/* BUTTONS */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}

.btn-primary {
  background: var(--blue);
  color: #003a4d;
}

.btn-secondary {
  background: #0099cc;
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
}

/* HERO */
.hero {
  background: var(--white);
  color: #000;
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero h1 span {
  color: var(--blue);
}

/* FEATURES */
.features {
  padding: 4rem 0;
  text-align: center;
}

.features-grid {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
}

.feature {
  background: #043a5f;
  padding: 2rem;
  border-radius: 12px;
}

.features h1 span {
  color: var(--blue);
}

/* SECURITY */
.security h1 span {
  color: var(--blue);
}


/* ANALYTICS */
.analytics {
  background: #0b5c87;
  padding: 4rem 0;
}

.analytics-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

/* CTA */
.cta {
  /*background: url("../img/bg-analytics.jpg") center/cover no-repeat;*/
  padding: 5rem 0;
  text-align: center;
}

.container h1 span {
  color: var(--blue);
}


/* FOOTER */
.footer {
  background: #031e33;
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
}

a {
  color: white;
  text-decoration: none;
}
a:hover {
  color: #D2D2D2;
  text-decoration: bold;
}

img {
     max-width: 100%; /*100% Garante que a imagem nunca seja maior que o seu tamanho original*/
     height: auto; /*mantém a proporção da imagem*/
     align: left; /*alinha as imagens à esquerda*/
}   

/* RESPONSIVE */
@media (min-width: 768px) {
/*  .hero-grid,*/
/*  .analytics-grid {
    grid-template-columns: 1fr 1fr;
  }
*/
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
    img {
        width: auto; /* Imagem ocupa 100% da largura em telas menores que 768px */
    }
}

/* PRELOADER */
#preloader {
  position: fixed;
  inset: 0;
  background: #062f4f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

.loader-content {
  text-align: center;
  color: #ffffff;
  width: 260px;
}

.loader-logo {
  width: 120px;
  margin-bottom: 1rem;
  animation: pulse 1.5s infinite ease-in-out;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 1rem;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: #00b3e6;
  transition: width 0.3s ease;
}

/* ANIMAÇÃO LOGO */
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* BLOQUEIA SCROLL */
body.loading {
  overflow: hidden;
}

/* FADE-IN DO CONTEÚDO */
body {
  opacity: 0;
  transition: opacity 0.8s ease;
}

body.loaded {
  opacity: 1;
}

