@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  background-color: #212226;
  color: #ffffff;
}

/* HEADER */
.header {
  background-color: #212226;
  border-bottom: 1px solid #2c2d32;
}

.logo {
  max-width: 100px;
}

.nav-link {
  color: #CFF250;
}

.nav-link.active,
.nav-link:hover {
  color: #ffffff;
}

/* HERO */
.hero-sentinela {
  height: 320px;
  background: url("../imagens/banner_sentinela.JPG") center center no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.hero-sentinela::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,14,16,.35), rgba(14,14,16,.9));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 10px;
  width: 100%;
}

/* SECTIONS */
.section-dark {
  background-color: #212226;
  padding: 90px 0;
}

.section-light {
  background-color: #ffffff;
  color: #212226;
  padding: 90px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.section-text {
  max-width: 750px;
  margin: 0 auto 20px auto;
  text-align: center;
}

.highlight {
  color: #CFF250;
  font-weight: 700;
}

/* BUTTONS */
.btn-sentinela {
  background-color: #CFF250;
  color: #212226;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ICON GRID */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.icon-grid a.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 20px;
  background: #1A1A1F;
  border: 1px solid #2A2A2E;
  border-radius: 12px;
  text-decoration: none;
  transition: .3s ease;

  color: #CFF250;
}

.icon-grid a.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,.6);
}

.icon-title {
  color: #CFF250;
  font-weight: 700;
  margin-bottom: 8px;
}

.icon-text {
  font-size: 0.9rem;
  opacity: .85;
}

/* FOOTER */
.footer-icons a {
  color: #CFF250;
  font-size: 1.6rem;
  margin: 0 10px;
}

/* MOBILE */
@media (max-width: 768px) {

  .hero-sentinela {
    height: 240px;
  }

  .hero-content h1 {
    font-size: 1.4rem;
  }

  .hero-content p {
    font-size: 0.85rem;
  }

}

/* ANIMAÇÃO SUAVE DO HERO */
.hero-content {
  animation: heroFadeUp 20.7s ease-out both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CENTRALIZA TEXTOS EM TODAS AS TELAS */
.section-dark,
.section-light {
  text-align: center;
}

.section-dark p,
.section-light p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-dark .list p,
.section-light .list p {
  text-align: center;
}

.section-dark .highlight,
.section-light .highlight {
  display: inline-block;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  background: rgba(207, 242, 80, 0.15);
  color: #CFF250;
  animation: glow 1.8s ease-in-out infinite;
}

.section-hook {
  font-size: 0.95rem;
  max-width: 720px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

/* SOMENTE NO FUNDO CLARO */
.section-light .section-subtitle {
  background: #212226;
}

/* ANIMAÇÃO ÚNICA */
@keyframes glow {
  0% {
    box-shadow: 0 0 0 rgba(207, 242, 80, 0);
  }
  50% {
    box-shadow: 0 0 18px rgba(207, 242, 80, 0.45);
  }
  100% {
    box-shadow: 0 0 0 rgba(207, 242, 80, 0);
  }
}

.highlight-green {
  color: #CFF250;
}

@media (max-width: 768px) {

  .hero-sentinela {
    height: 240px;
    position: relative;
  }

  .hero-sentinela .hero-content {
    position: absolute;
    bottom: -4cm; /* empurra o texto para fora do banner */
    left: 0;
    right: 0;
    padding: 0 15px;
  }

  /* cria espaço real abaixo do banner para não sobrepor a próxima seção */
  .hero-sentinela + section {
    margin-top: 4.5cm;
  }

}


