/*VARIÁVEIS E BASE*/
:root {
  --bg-green: #c2e0b1;
  --dark-green: #254d1a;
  --bright-green: #20c214;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.5);
  --musgo-suave: #76a361;
  --d3-verde-noite: #254d1a;
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--musgo-suave);
  overflow-x: hidden;
  overflow-y: auto !important;
  min-height: 100vh;
}

#content-wrapper {
  min-height: 100vh;
  width: 100%;
  background-color: transparent !important;
  position: relative;
  z-index: 10;
  transition: filter 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


.hero .serif-title {
  font-size: 85px;
  line-height: 0.85;
  margin-bottom: 25px;
  text-transform: uppercase;
  background: linear-gradient(to right, var(--dark-green), var(--bright-green));
  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
  color: transparent;
}

.serif-title {
  font-family: "Instrument Serif", serif;
}

/*HEADER PILL*/
.header-main {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 1000;
}

.header-pill {
  background: var(--glass);
  backdrop-filter: blur(12px);
  width: 90%;
  max-width: 1200px;
  padding: 10px 30px;
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgb(255, 255, 255);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  width: 38px;
  height: 38px;
  background: var(--d3-verde-noite);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.brand-name {
  color: var(--bright-green);
  font-weight: 900;
  font-style: italic;
  font-size: 24px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-pill {
  background: rgba(0, 0, 0, 0.05);
  padding: 6px 15px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #555;
  transition: 0.2s;
}

.lang-btn img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.lang-btn.active {
  color: var(--dark-green);
}

.lang-divider {
  color: rgba(0, 0, 0, 0.2);
  font-size: 12px;
}

.nav-link-text {
  text-decoration: none;
  color: var(--dark-green);
  font-weight: 700;
  font-style: italic;
  font-size: 15px;
}

.auth-buttons a.btn-registar {
  background-color: #1c8814 !important;
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  display: inline-block !important;
  border: none !important;
  transition: 0.3s;
}

.auth-buttons a:hover {
  background-color: #254d1a !important;
  transform: translateY(-2px);
}

/*HERO SECTION*/
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero .serif-title {
  font-size: 85px;
  line-height: 0.85;
  color: var(--dark-green);
  margin-bottom: 25px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--dark-green);
  font-weight: 700;
  font-style: italic;
  max-width: 420px;
  margin-bottom: 35px;
  line-height: 1.4;
}

.btn-cta {
  background: var(--white);
  color: var(--dark-green);
  padding: 18px 40px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 900;
  font-style: italic;
  display: inline-block;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.btn-cta:hover {
  transform: translateY(-3px);
}

.image-frame {
  background: var(--white);
  padding: 15px;
  border-radius: 70px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.image-frame img {
  width: 100%;
  border-radius: 55px;
  display: block;
}

/* SECCÃO INFO E AMEAÇAS*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.home-info-section {
  padding: 100px 0;
  background-color: transparent !important;
  position: relative;
  z-index: 10;
  margin-top: -1px;
}

.threats-glitch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
  perspective: 1200px;
}

.threat-item {
  background: var(--dark-green);
  color: var(--white);
  padding: 40px 30px;
  border-radius: 30px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 6px solid var(--bright-green);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: rotateX(7deg) rotateY(-7deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.threat-item:hover {
  transform: rotateX(0deg) rotateY(0deg) translateY(-10px);
  border-color: var(--bright-green);
  box-shadow: 0 0 25px rgba(32, 194, 20, 0.3);
}

.threat-alert-tag {
  position: absolute;
  top: -12px;
  left: 25px;
  background: var(--bright-green);
  color: var(--dark-green);
  padding: 5px 15px;
  font-size: 0.7rem;
  font-weight: 900;
  border-radius: 8px;
  text-transform: uppercase;
}

.threat-title {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--bright-green);
}

.threat-status {
  margin-top: 25px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--bright-green);
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

/*BANNER DE SOLUÇÃO*/
.solution-banner {
  background: var(--dark-green);
  border-radius: 70px;
  padding: 60px 40px;
  text-align: center;
  margin-bottom: 50px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.sol-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px 20px;
  border-radius: 30px;
  transition: transform 0.3s ease;
}

.sol-card:hover {
  transform: translateY(-5px);
}

.sol-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.sol-card h3 {
  color: var(--bright-green);
  font-weight: 900;
  font-style: italic;
}

.sol-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.solution-footer-text {
  color: white;
  margin-top: 2rem;
  opacity: 0.9;
}


.como-funciona-section {
  background-color: transparent !important;
  padding: 60px 20px;
  position: relative;
  z-index: 10;
}

.como-funciona-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.steps-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex: 0 0 auto;
  text-align: center;
  max-width: 150px;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  font-style: italic;
}

.step-1 {
  background: var(--dark-green);
}

.step-2 {
  background: var(--dark-green);
}

.step-3 {
  background: var(--dark-green);
}

.step-4 {
  background: var(--dark-green);
}

.step-title {
  font-weight: 700;
  color: var(--dark-green);
  font-size: 1.1rem;
}

.step-description {
  color: var(--dark-green);
  font-size: 0.9rem;
  opacity: 0.8;
}

.step-connector {
  flex: 0 0 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--dark-green) 0%, #6ab456 100%);
  position: relative;
}

@media (max-width: 1024px) {
  .steps-container {
    gap: 20px;
  }

  .step-connector {
    flex: 0 0 20px;
  }
}

@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
    gap: 30px;
  }

  .step-connector {
    width: 3px;
    height: 30px;
    flex: 0 0 30px;
  }

  .como-funciona-section .serif-title {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero .serif-title {
    font-size: 60px;
  }

  .hero-subtitle {
    margin: 0 auto 35px;
  }

  .threat-item {
    transform: none !important;
  }
}

/*SEPARADOR*/
.section-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background-color: transparent !important;
  position: relative;
  z-index: 10;
}

.section-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

.section-divider .shape-fill {
  fill: #254d1a;
}

@keyframes pulse-header-btn {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(32, 194, 20, 0.8);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 25px 15px rgba(32, 194, 20, 0.5);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(32, 194, 20, 0);
  }
}

.piscar-alerta {
  animation: pulse-header-btn 0.8s infinite ease-in-out !important;
  border: 2px solid var(--bright-green) !important;
  background-color: var(--dark-green) !important;
  position: relative;
  z-index: 1100 !important;
}

#fundo-cibernetico {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}


.scroll-hidden {
  opacity: 0;
  transition: opacity 1.0s cubic-bezier(0.5, 0, 0, 1),
    transform 1.0s cubic-bezier(0.5, 0, 0, 1);
}

.slide-left {
  transform: translateX(-150px);
}

.slide-up {
  transform: translateY(50px);
}

.scroll-show {
  opacity: 1;
  transform: translateX(0) translateY(0);
}


.threat-item.scroll-show {
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.sol-card.scroll-show {
  transition: all 0.3s ease !important;
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.5s;
}

.delay-4 {
  transition-delay: 0.7s;
}

.delay-5 {
  transition-delay: 0.8s;
}

.delay-6 {
  transition-delay: 0.9s;
}

.delay-7 {
  transition-delay: 1.1s;
}

.delay-8 {
  transition-delay: 1.2s;
}

.connector-hidden {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-show.connector-hidden {
  transform: scaleX(1);
}

.footer-flutuante {
  position: relative;
  margin-top: 60px;
  margin-bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: max-content;
  max-width: 90vw;
}

.footer-pill {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-align: center;
}

.footer-pill .footer-brand {
  color: var(--dark-green, #254d1a);
  font-weight: 900;
  font-style: italic;
}

