/* ==========================================================================
   ESTILOS EXCLUSIVOS DA HOME
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO / BANNER PRINCIPAL COM VÍDEO
   -------------------------------------------------------------------------- */
.hero-banner {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-color: #000;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero-bar {
  width: 90px;
  height: 5px;
  background-color: var(--primary-green);
  margin-bottom: 25px;
}

.hero-banner h1 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

/* --------------------------------------------------------------------------
   SEÇÃO INTRODUÇÃO
   -------------------------------------------------------------------------- */
.section-intro {
  border-top: 8px solid var(--primary-green);
  padding: 65px 0 20px;
  text-align: center;
}

.section-intro h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.section-intro p {
  font-size: 19px;
  color: var(--text-gray);
}

/* --------------------------------------------------------------------------
   MISSÃO, VISÃO E VALORES
   -------------------------------------------------------------------------- */
.section-mvv {
  padding: 30px 0 65px;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.mvv-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.mvv-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
}

.mvv-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #636466;
  margin-bottom: 15px;
}

.mvv-card p {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.6;
}

.values-list {
  list-style: none;
  text-align: left;
  width: 100%;
  max-width: 270px;
}

.values-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-gray);
  font-size: 16px;
}

.values-list li i {
  color: var(--primary-green);
}

/* --------------------------------------------------------------------------
   FAIXA COM ANIMAÇÃO DE TEXTO DIGITADO (TYPEWRITER COM PARALLAX)
   -------------------------------------------------------------------------- */
.typing-section {
  position: relative;
  background-color: #0c0d0d;
  background-image: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)), url('../images/home/tupa-hero-1.png');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 85px 20px;
  text-align: center;
}

.typing-wrapper {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 700;
  color: #fff;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background-color: var(--primary-green);
  margin-left: 6px;
  animation: blink 0.8s infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.icon-divider {
  text-align: center;
  padding: 25px 0 10px;
}

.icon-divider img {
  width: 45px;
  height: 45px;
}

/* --------------------------------------------------------------------------
   NOSSAS SOLUÇÕES
   -------------------------------------------------------------------------- */
.section-solutions-header {
  padding: 40px 0 35px;
  text-align: center;
}

.section-solutions-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.section-solutions-header p {
  font-size: 18px;
  color: var(--text-gray);
}

.solution-strip {
  width: 100%;
  background-color: #111;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  margin-bottom: 25px;
}

.solucao-petroleo {
  background-image: url('../images/home/solucao-petroleo.png');
}

.solucao-mineracao {
  background-image: url('../images/home/solucao-mineracao.png');
}

.solucao-logistica {
  background-image: url('../images/home/solucao-logistica.png');
}

.solucao-agricultura {
  background-image: url('../images/home/solucao-agricultura.png');
}

.solucao-nuclear {
  background-image: url('../images/home/solucao-nuclear.png');
}

.solucao-saude {
  background-image: url('../images/home/solucao-saude.png');
}

.solution-card {
  width: 50%;
  min-width: 360px;
  max-width: 620px;
  background-color: var(--primary-green);
  color: #fff;
  padding: 55px 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}

.solution-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.solution-card p {
  font-size: 17px;
  margin-bottom: 28px;
  line-height: 1.5;
}

.btn-saiba-mais {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #4c662b;
  border: none;
  border-radius: 16px;
  color: #ffffff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 28px;
  letter-spacing: 0.15px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-saiba-mais:hover {
  background-color: #3d5222;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 102, 43, 0.3);
}

/* --------------------------------------------------------------------------
   RESPONSIVIDADE EXCLUSIVA DA HOME
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .mvv-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .solution-card {
    width: 100%;
    max-width: 100%;
    padding: 45px 30px;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 265px;
    min-height: 265px;
    text-align: center;
    padding: 0 15px;
  }

  .video-overlay {
    opacity: 0.6;
  }

  .hero-content {
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-content h1 {
    font-size: 24px;
    line-height: 1.35;
    text-transform: uppercase;
    font-weight: 700;
    color: #ffffff;
  }

  .hero-bar {
    width: 50px;
    height: 4px;
    background: #83ba30;
    margin: 0 auto 16px;
  }

  .section-intro {
    border-top: 8px solid #83ba30;
    padding: 45px 20px 25px;
    text-align: center;
  }

  .section-intro h2 {
    font-size: 26px;
    font-weight: 800;
    color: #14261c;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .section-intro p {
    font-size: 16px;
    color: #4e5652;
    line-height: 1.6;
  }

  .section-mvv {
    padding: 20px 0 40px;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }

  .mvv-card {
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }

  .mvv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
  }

  .mvv-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
  }

  .mvv-card p {
    font-size: 15px;
    line-height: 1.65;
  }

  .typing-section {
    background-attachment: scroll;
    padding: 50px 20px;
    min-height: 200px;
    text-align: center;
  }

  .typing-wrapper {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
  }

  .solution-strip {
    height: 320px;
    justify-content: center;
    padding: 0 15px;
  }

  .solution-card {
    width: 100%;
    max-width: 320px;
    padding: 24px 20px;
    text-align: center;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }

  .solution-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .solution-card p {
    font-size: 14.5px;
    margin-bottom: 18px;
    line-height: 1.5;
  }

  .btn-saiba-mais {
    padding: 10px 24px;
    font-size: 13px;
    display: inline-block;
  }
}

