

/* GRID DOS CARDS */
.group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: stretch; /* garante mesma altura */
}

/* CARDS */
.group-card {
  border-radius: 8px;
  background: #141414;
  padding: 2.6rem 2.2rem;
  text-align: center;
  border: 1px solid #ff7a005e;
  box-shadow: 0 10px 25px rgba(0,0,0,.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  height: 100%;   /* ðŸ‘ˆ ISTO Ã‰ ESSENCIAL */
}

.group-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.7);
}

.group-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}


/* HERO alinhado com os cards */
.hero-company .hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* tÃ­tulo */
.hero-company .hero-content h1 {
  font-size: 2.0rem;
  color: #ffffff;
  margin-bottom: 0;
}

/* subtÃ­tulo */
.hero-company .hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 320px;
  line-height: 1.2;
}

/* destaque "Desde 2001" */
.hero-subtitle .highlight {
  color: #ff7a00;
  font-weight: 600;
}

.group-card h2 {
  margin-bottom: 0.6rem;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.group-card p {
  min-height: 72px;
  color: #d6d6d6;
  line-height: 1.6;
  letter-spacing: 0.01em;
  flex-grow: 1;
}

.group-card .btn {
  margin-bottom: 0.5rem;
  border-radius: 4px;
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px solid #E9550D;
  color: #E9550D;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.group-card .btn:hover {
  background: #E9550D;
  border-color: #E9550D;
  color: #ffffff;
}

/* BLOCO INTRO */
.group-intro {
  background: #0e0e0e;
  text-align: center;
  padding: 4rem 0;
}

.group-intro p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cccccc;
}



.section-history {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.group-section {
  padding-top: 5rem;
}



/* RESPONSIVO */
@media (max-width: 900px) {
  .group-grid {
    grid-template-columns: 1fr;
  }
}

/* AJUSTES MOBILE */
@media (max-width: 768px) {
  .hero-company .hero-content h1 { font-size: 2.2rem; }
  .hero-company .hero-content p { font-size: 1rem; }

  .group-card { padding: 2rem 1.6rem; }
  .group-card img { height: 200px; }
}


.hero-subtitle {
  max-width: 420px;
  line-height: 1.6;
}

.hero-company .hero-content h1,
.hero-company .hero-content p {
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

/* HERO BASE */
.hero-company {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* FUNDO */
.hero-company::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.7) 40%,
      rgba(0,0,0,0.3) 65%,
      rgba(0,0,0,0) 80%
    ),
    url("../img/hero/hero-company.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* 25 */
.hero-25 {
  position: absolute;
  top: 55%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: clamp(260px, 30vw, 480px);
  z-index: 2;
  pointer-events: none;
  filter:
    brightness(0.85)
    contrast(0.95)
    drop-shadow(0 25px 60px rgba(0,0,0,0.6));
}

/* TEXTO */
.hero-company .hero-content {
  position: relative;
  z-index: 3;
}

@media (max-width: 768px) {

  .hero-25 {
    width: 50%;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    z-index: 4;
  }

}


/* HISTÓRIA — TEXTO DO SLIDER */

.history-slider .slides-text {
  position: relative;
  min-height: 260px;
}

.history-slider .slide-text {
  position: absolute;
  inset: 0;

  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;

  pointer-events: none;
}

.history-slider .slide-text.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* MOBILE – ajustar slider da história */
@media (max-width: 768px) {

  .company-grid {
    grid-template-columns: 1fr;
  }

  .company-info {
    padding-bottom: 0;
    min-height: auto;
  }

  .history-slider .slides-text {
    position: relative;
    min-height: auto;
  }

  .company-info .slider-dots {
    position: relative;
    margin-top: 18px;
    justify-content: center;
    bottom: auto;
  }

}

@media (max-width: 768px) {

  .history-slider .company-info {
    min-height: auto;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
  }

  .history-slider .slider-dots {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 16px;
    justify-content: center;
  }

  .history-slider .company-info .slider-dots {
    position: relative !important;
    bottom: auto;
    left: auto;
    margin-top: 20px;
    justify-content: center;
  }

}

/* FIX SLIDER HISTÓRIA MOBILE */
@media (max-width: 768px) {

  .history-slider .slides-text {
    position: relative;
  }

  .history-slider .slide-text {
    position: relative;
    inset: auto;
    opacity: 0;
    display: none;
    transform: none;
  }

  .history-slider .slide-text.active {
    display: block;
    opacity: 1;
  }

  .history-slider .company-info {
    min-height: auto;
    padding-bottom: 0;
  }

  .history-slider .slider-dots {
    position: relative;
    margin-top: 20px;
    justify-content: center;
  }

}

