/* ═══════════ PÁGINA DE SETORES (Landing Page) ═══════════ */

/* 
  [CONTROLE DE ESPAÇAMENTO VERTICAL 1] 
  Controla o respiro interno superior e inferior da página (<main>) 
*/
.setor-details-main {
  padding: 2rem 0 3rem 0; /* Reduzido de (3rem 0 4rem 0) */
  overflow: hidden;
}

/* 
  [CONTROLE DE ESPAÇAMENTO VERTICAL 2] 
  Controla a distância vertical (margem inferior) entre os blocos de conteúdo principais 
*/
.setor-content-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem; /* Mantido o espaçamento horizontal interno */
  align-items: center;
  margin-bottom: 3rem; /* Reduzido de 4.5rem para aproximar os blocos na vertical */
  min-width: 0;
}

.setor-content-block.inverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.setor-content-block.inverse .setor-text-side {
  order: 2;
}

.setor-content-block.inverse .setor-image-side {
  order: 1;
}

/* Cabeçalho de Seções Genérico (utilizado em Planos, Pilares, etc.) */
/* 
  [CONTROLE DE ESPAÇAMENTO VERTICAL 3] 
  Controla a margem abaixo dos títulos centrais de seção 
*/
.setor-section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2rem auto; /* Reduzido de 3rem para 2rem */
}

.setor-section-head .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 0.5rem; /* Reduzido de 0.75rem para aproximar verticalmente */
}

.setor-section-head .display-mini {
  font-size: 2rem;
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.75rem; /* Reduzido de 1rem */
}

.setor-section-head p {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.6;
  margin: 0;
}

/* Garante que os lados do grid respeitem o limite de espaço */
.setor-text-side,
.setor-image-side {
  min-width: 0;
}

.setor-text-side h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem; /* Reduzido de 1.25rem */
}

.setor-text-side h2 em {
  color: var(--brand);
  font-style: normal;
}

.setor-text-side p {
  color: var(--white-dim);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem; /* Reduzido de 1.5rem */
}

/* Lista de benefícios do setor */
.setor-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0; /* Reduzido de 2rem para 1.5rem */
  display: flex;
  flex-direction: column;
  gap: .65rem; /* Reduzido de .85rem para aproximar os itens verticalmente */
}

.setor-features-list li {
  display: flex;
  align-items: center;
  gap: .25rem; /* Mantido o espaçamento horizontal do ícone com o texto */
  color: var(--white);
  font-size: .95rem;
}

.setor-features-list svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* Tratamento de imagem para nunca vazar da tela */
.setor-image-side img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  display: block;
}

/* Seção de Pilares / Grid de Destaques */
/* 
  [CONTROLE DE ESPAÇAMENTO VERTICAL 4] 
  Controla o espaço superior e inferior da seção de Pilares 
*/
.setor-pillars {
  margin: 3rem 4rem 0; /* Ajustado de (2.5rem 4rem 0) */
}

.setor-pillars-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 1.5rem auto; 
}

.setor-pillars-grid {
  display: grid;
  padding-top: 0.5rem; /* Reduzido de 1rem para 0.5rem */
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; /* Mantido o espaçamento horizontal do grid */
}

/* 1. ESTRUTURA DO CARD MELHORADA */
.pillar-card {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 0.9rem;
  padding: 1.75rem; /* Reduzido levemente de 2rem para deixar mais compacto verticalmente */
  transition: border-color .3s ease, transform .3s ease;
  
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%; 
}

.pillar-card:hover {
  border-color: rgba(254, 80, 0, .5);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(254, 80, 0, .1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem; /* Reduzido de 1.5rem */
}

/* 2. HIERARQUIA DO TÍTULO */
.pillar-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin: 0 0 0.4rem 0; /* Reduzido de 0.5rem */
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* 3. COESÃO DO TEXTO */
.pillar-card p {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.5;
  margin: 0; 
  flex-grow: 0;
}

/* 4. FORMATAÇÃO DA LISTA DE TÓPICOS */
.pillar-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0; /* Reduzido de 1.25rem */
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* Reduzido de 0.6rem para aproximar itens da lista */
  flex-grow: 1; 
}

.pillar-list li {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.4;
  position: relative;
  padding-left: 1.25rem; /* Mantido o recuo horizontal para a setinha */
}

/* Marcador (bullet/setinha) personalizado */
.pillar-list li::before {
  content: "→"; 
  color: rgba(254, 80, 0, 1);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
}

/* CTA Box na Página do Setor */
/* 
  [CONTROLE DE ESPAÇAMENTO VERTICAL 5] 
  Controla a distância e espaçamentos internos da caixa de CTA final 
*/
.setor-cta-box {
  background: linear-gradient(135deg, #111114 0%, #1a1512 100%);
  border: 1px solid rgba(254, 80, 0, .3);
  border-radius: 12px;
  padding: 2.2rem 2rem; /* Reduzido de 2.5rem */
  text-align: center;
  margin-top: 2rem; /* Ajustado de 1rem para dar um respiro saudável antes do CTA */
  position: relative;
  overflow: hidden;
}

.setor-cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 0.75rem; /* Reduzido de 1rem */
}

.setor-cta-box p {
  color: var(--white-dim);
  max-width: 600px;
  margin: 0 auto 1.5rem auto; /* Reduzido de 2rem */
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Responsivo */
@media (max-width: 960px) {
  .setor-content-block,
  .setor-content-block.inverse {
    grid-template-columns: 1fr;
    gap: 2rem; /* Reduzido para telas menores */
  }
  .setor-content-block.inverse .setor-text-side,
  .setor-content-block.inverse .setor-image-side {
    order: unset;
  }
  .setor-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.setor-details-main {
  padding: clamp(2rem, 5vh, 3.5rem) clamp(1.4rem, 6vw, 7rem); 
}

.setor-details-main .container {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}