/* RESET E BASE */

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

html, body {
  scroll-behavior: smooth;
  font-family: "Poppins", Arial, sans-serif;
  color: #1d1d1d;
  overflow-x: hidden;
}

section {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
}

h1, h2 {
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

p {
  max-width: 800px;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background: #0056ff;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #003fcc;
}

@keyframes colors {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* SEÇÕES */
.hero {
  background: linear-gradient(45deg, #0a0a0a, #5d641a, #1D546C, #004aad);
  background-size: 300% 300%;
  animation: colors 10s ease infinite;
  color: #fff;
}

.purpose { background: #ffffff; }
.crm { background: #f7f9fc; }
.process { background: #0d1b2a; color: #fff; }
.finance { background: #ffffff; }
.cta {
  background: linear-gradient(to right, #004aad, #002b5c);
  color: #fff;
}
footer {
  width: 100%;
  background: #0a0a0a;
  color: #ccc;
  padding: 0.1rem 2rem;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  /*margin: 0 auto;*/
}

.footer-left {
 /* flex: 1;*/
  text-align: left;
}

.footer-left p {
  margin: 0.3rem 0;
  font-size: 0.85rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-right a {
  color: #ccc;
  transition: color 0.3s;
}

.footer-right a:hover {
  color: #00ff88; /* destaque no hover */
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    text-align: center;
  }

  .footer-right {
    justify-content: center;
  }
}


/* HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 2rem;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
  flex-wrap: wrap;
}

.hero-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 300px;
  padding-left: 7%;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-text .slogan {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  /*border: 1px solid red;*/
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
 /* border: 1px solid red;*/
  margin-top: -70px;
  margin-bottom: -70px;
}

.ul {
  text-align: left;
  display: inline-block;
}

.quadro {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 150px;
  padding: 0% 5%;
  /*border: 1px solid rgb(255, 0, 242);*/
}

/* RESPONSIVIDADE */

/* === TABLET (até 1024px) === */
@media (max-width: 1024px) {
  section {
    height: auto;
    padding: 3rem 1.5rem;
  }

  .hero-content {
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text .slogan {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1.05rem;
  }

  .hero-image img {
    margin-top: -50px;
    margin-bottom: -50px;
    max-width: 80%;
  }
}

/* === SMARTPHONE (até 768px) === */
@media (max-width: 768px) {
  section {
    height: auto;
    padding: 3rem 1rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  p { font-size: 1rem; }
  .btn {
    padding: 0.8rem 1.4rem;
    font-size: 0.95rem;
  }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    padding: 0;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-image img {
    max-width: 90%;
  }

  .ul {
    text-align: left;
    margin: 0 auto;
  }
}

/* === TELEFONE PEQUENO (até 480px) === */
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  p { font-size: 0.95rem; }
  .btn { font-size: 0.9rem; padding: 0.7rem 1.2rem; }

  .hero-text .slogan {
    font-size: 1.4rem;
  }

  .hero-image img {
    max-width: 100%;
    margin-left: -10px;
  }
  
}
