/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: #fff;
  scroll-behavior: smooth;
  line-height: 1.6;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
  box-sizing: content-box;
}

/* Header */
header {
  background-color: #000;
  padding: 20px 0;
  border-bottom: 1px solid #111;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
  will-change: transform;
}

header.hide {
  transform: translateY(-100%);
  pointer-events: none;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.logo {
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease;
  letter-spacing: 0.05em;
}

.logo:hover {
  transform: scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  padding: 8px 0;
}

nav a:hover {
  color: #999;
  border-bottom: 2px solid #999;
  padding-bottom: 6px;
}

/* Hero */
.hero {
  background: linear-gradient(to bottom, #111, #000);
  padding: 100px 0 60px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.85;
  margin: 15px 0 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-logo img {
  height: 130px;
  animation: pulse 4s infinite;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 15px #555;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #fff;
  color: #000;
  margin-top: 30px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(255,255,255,0.2);
}

.btn:hover {
  transform: translateY(-3px);
  background: #ccc;
  box-shadow: 0 6px 15px rgba(255,255,255,0.4);
}

.glow {
  box-shadow: 0 0 20px #fff;
}

.glow-alt {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  margin-top: 30px;
}

.glow-alt:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 6px 15px rgba(255,255,255,0.4);
}

/* Fade In */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Seções */
.sobre, .atlas-section, .visao, .trusted {
  background-color: #111;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  padding-top: 60px;
  padding-bottom: 60px;
}

.sobre h2,
.atlas-section h2,
.visao h2,
.trusted h3 {
  font-size: 2rem;
  margin-bottom: 24px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.03em;
}

.sobre p,
.atlas-section p,
.visao p {
  font-size: 1.15rem;
  opacity: 0.85;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  text-align: center;
}

/* Atlas Section */
.atlas-flex {
  display: flex;
  flex-wrap: nowrap;
  gap: 50px;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.atlas-logo img {
  max-height: 180px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.5s ease;
  box-shadow: 0 0 15px #555;
}

.atlas-logo img:hover {
  transform: scale(1.05) rotate(1deg);
}

.atlas-text {
  flex: 1;
  min-width: 280px;
}

/* Trusted Section */
.trusted {
  padding-top: 50px;
  padding-bottom: 50px;
}

.trusted h3 {
  color: #ccc;
  margin-bottom: 30px;
  font-weight: 600;
}

.logo-carousel {
  overflow: hidden;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.logos-track {
  display: flex;
  gap: 40px;
  animation: scrollLogos 20s linear infinite;
  align-items: center;
}

.logo-carousel img {
  height: 60px;
  filter: grayscale(60%);
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.logo-carousel img:hover {
  filter: none;
  opacity: 1;
}

/* Footer */
footer {
  background: #000;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
  opacity: 0.7;
  border-top: 1px solid #111;
  line-height: 1.4;
}

footer p {
  margin-bottom: 5px;
}

footer a {
  word-break: break-word;
  font-weight: 700;
  font-size: 1rem;
}

/* Animação */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.95; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsividade */

/* Tablets e desktops maiores */
@media (min-width: 768px) {
  .hero-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text {
    flex: 1;
    padding-right: 20px;
  }

  .hero-logo {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .atlas-flex {
    flex-wrap: nowrap;
  }
}

/* Telas menores que 768px (mobile) */
@media (max-width: 767px) {
  .container {
    padding: 30px 10px;
    width: 95%;
  }

  .nav {
    padding: 0 10px;
  }

  nav ul {
    gap: 20px;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
    max-width: 90%;
  }

  .btn, .glow-alt {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .atlas-flex {
    flex-direction: column;
    gap: 25px;
  }

  .atlas-text {
    min-width: auto;
    text-align: center;
  }

  .atlas-logo img {
    max-width: 150px;
    height: auto;
  }
}

/* Telas muito pequenas, até 480px */
@media (max-width: 480px) {
  nav ul {
    gap: 12px;
    /* Se preferir, pode usar flex-direction: column; para menu vertical */
  }

  nav a {
    font-size: 0.85rem;
    padding: 6px 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
    max-width: 95%;
  }

  .btn, .glow-alt {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  footer {
    font-size: 0.9rem;
    padding: 30px 15px;
  }

  footer a {
    word-break: break-word;
    font-weight: 700;
    font-size: 1rem;
  }
}
