/* Style for all page sections */
.section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.bg-light {
  background-color: var(--color-gray-light);
}

.bg-white {
  background-color: var(--color-white);
}

.bg-cyan {
  background-color: var(--color-primary);
  color: var(--color-navy);
}

.bg-navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* Section Titles */
.section-title {
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.bg-cyan .section-title {
  color: var(--color-navy);
}

.bg-cyan .section-subtitle {
  color: rgba(0, 34, 51, 0.8);
}

/* 1. Confiança / Video section */
.col-video {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-video {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  aspect-ratio: 16/9;
  cursor: pointer;
}

.card-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-video:hover img {
  transform: scale(1.05);
}

.video-overlay-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 34, 51, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: background 0.3s ease;
}

.card-video:hover .video-overlay-btn {
  background: rgba(0, 34, 51, 0.6);
}

.icon-play {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--color-navy);
  box-shadow: 0 0 20px rgba(0, 219, 255, 0.4);
  transition: all var(--transition-speed) ease;
}

.card-video:hover .icon-play {
  transform: scale(1.1);
  background-color: var(--color-white);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

.video-title {
  color: var(--color-primary);
  font-size: 1.6rem;
  text-transform: uppercase;
  font-weight: 800;
}

.card-video:hover .video-title {
  color: var(--color-white);
}

.manifesto-text {
  font-size: 1.05rem;
  color: #444;
}

.manifesto-text p {
  margin-bottom: 20px;
}

.manifesto-text strong {
  color: var(--color-navy);
}

/* 2. Unidades de Negócio (Gestão, RD, Techfin) */
.unidades-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.unidade-box {
  display: flex;
  background-color: var(--color-navy);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 34, 51, 0.15);
  transition: all var(--transition-speed) ease;
  color: var(--color-white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.unidade-box:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 15px 35px rgba(0, 219, 255, 0.2);
}

.unidade-logo-wrapper {
  flex: 0 0 33.333333%;
  background-color: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.unidade-logo-wrapper img {
  max-width: 180px;
  max-height: 50px;
  object-fit: contain;
}

.unidade-desc-wrapper {
  flex: 0 0 66.666667%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.unidade-desc-wrapper p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.unidade-desc-wrapper p strong {
  color: var(--color-primary);
}

/* 3. DNA de Inovação */
.dna-grid {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.dna-card {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dna-icon-container {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}

.dna-icon-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dna-card:hover .dna-icon-container {
  transform: translateY(-8px) scale(1.05);
}

.dna-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}

/* 4. Estatísticas de Sucesso (B3, 70k) */
.stats-grid {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 30px;
}

.stats-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  transition: transform var(--transition-speed) ease;
}

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

.stats-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stats-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stats-card p {
  font-size: 0.95rem;
  color: var(--color-text-dark);
  line-height: 1.6;
}

/* 5. ESG Sustentabilidade */
.esg-grid {
  display: flex;
  align-items: center;
  gap: 50px;
}

.esg-left {
  flex: 0 0 50%;
}

.esg-left h2 {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.esg-left p {
  color: var(--color-text-dark);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.esg-right {
  flex: 0 0 50%;
  position: relative;
  min-height: 250px;
}

.esg-slider {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  background-color: var(--color-white);
  border-left: 5px solid var(--color-purple);
}

.esg-slide {
  min-width: 100%;
  padding: 40px;
  transition: transform var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.esg-slide img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  object-fit: contain;
}

.esg-slide h3 {
  font-size: 1.5rem;
  color: var(--color-navy);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.esg-slide p {
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.esg-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.esg-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-gray);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.esg-dot.active {
  background-color: var(--color-purple);
  transform: scale(1.2);
}

/* 6. Percorre / Investimento Social */
.percorre-box {
  display: flex;
  align-items: center;
  background-color: var(--color-white);
  padding: 40px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  gap: 40px;
}

.percorre-logo {
  flex: 0 0 15%;
  display: flex;
  justify-content: center;
}

.percorre-logo img {
  max-width: 100px;
  object-fit: contain;
}

.percorre-info {
  flex: 0 0 85%;
}

.percorre-info h3 {
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.percorre-info p {
  font-size: 0.95rem;
  color: var(--color-text-dark);
  line-height: 1.6;
}

/* 7. Blog / Conteúdos */
.blog-grid {
  display: flex;
  gap: 25px;
  margin-top: 40px;
}

.blog-card {
  flex: 1;
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-speed) ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-title {
  font-size: 1.05rem;
  color: var(--color-navy);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  height: 60px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.blog-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  height: 70px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.blog-footer {
  margin-top: auto;
  text-align: center;
}

.blog-footer .btn {
  width: 100%;
}

/* Responsiveness for all sections */
@media (max-width: 991px) {
  .section {
    padding: 60px 0;
  }
  .unidade-box {
    flex-direction: column;
  }
  .unidade-logo-wrapper {
    flex: 0 0 100%;
    padding: 30px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .unidade-desc-wrapper {
    flex: 0 0 100%;
    padding: 30px;
  }
  .dna-grid {
    flex-direction: column;
    gap: 40px;
  }
  .dna-card {
    flex: 0 0 100%;
  }
  .stats-grid {
    flex-direction: column;
    gap: 20px;
  }
  .esg-grid {
    flex-direction: column;
    gap: 40px;
  }
  .esg-left, .esg-right {
    flex: 0 0 100%;
    width: 100%;
  }
  .percorre-box {
    flex-direction: column;
    gap: 20px;
    padding: 30px;
  }
  .percorre-logo {
    flex: 0 0 100%;
  }
  .percorre-info {
    flex: 0 0 100%;
    text-align: center;
  }
  .blog-grid {
    flex-direction: column;
    gap: 30px;
  }
}
