/* ============================================================
   [ensaios-industriais] — estilos
   Cores e fontes da marca; tudo escopado em .hci-ei
   Mesmo padrão visual de [jateamento-e-pintura] / [usinagem] / [qualidade]
   ============================================================ */

.hci-ei {
  --hci-primary: #153377;
  --hci-text:    #272727;
  --hci-title:   #00142F;
  --hci-bg:      #ffffff;
  --hci-bg-alt:  #f5f7fb;
  --hci-border:  #e3e7ee;
  --hci-shadow:  0 6px 24px rgba(0, 20, 47, .08);

  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--hci-text);
  background: var(--hci-bg);
  padding: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 32px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.hci-ei *,
.hci-ei *::before,
.hci-ei *::after { box-sizing: border-box; }

.hci-ei__inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* ---------- Tipografia ---------- */
.hci-ei__lead,
.hci-ei__h3 {
  font-family: "Neue Machina", 'Inter', system-ui, sans-serif;
  color: var(--hci-title);
  line-height: 1.2;
  letter-spacing: -.01em;
  font-weight: 700;
  margin: 0 0 .6em;
}
.hci-ei__lead { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; }
.hci-ei__h3   { font-size: clamp(22px, 2.2vw, 30px); text-transform: uppercase; letter-spacing: .02em; }
.hci-ei__h3::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--hci-primary);
  margin-top: 14px;
  margin-bottom: clamp(20px, 2.5vw, 28px);
  border-radius: 2px;
}

.hci-ei p {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  margin: 0 0 1.1em;
  color: var(--hci-text);
}
.hci-ei p:last-child { margin-bottom: 0; }
.hci-ei strong { color: var(--hci-title); font-weight: 600; }

/* ---------- Intro ---------- */
.hci-ei__intro {
  max-width: 900px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
}
.hci-ei__sub {
  color: var(--hci-text);
  font-size: clamp(15px, 1.1vw, 17px);
  margin: 0 0 .9em;
}
.hci-ei__sub:last-child { margin-bottom: 0; }

/* ---------- Row (imagem + texto) ---------- */
.hci-ei__row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.hci-ei__media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--hci-shadow);
  background: var(--hci-bg-alt);
}
.hci-ei__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}

.hci-ei__content { min-width: 0; }

/* ---------- Lista de ensaios (2 colunas no desktop) ---------- */
.hci-ei__list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: clamp(20px, 2.5vw, 32px);
}
.hci-ei__list li {
  padding: 10px 0 10px 22px;
  position: relative;
  font-size: clamp(15px, 1.05vw, 17px);
  border-bottom: 1px solid var(--hci-border);
  color: var(--hci-text);
  break-inside: avoid;
}
.hci-ei__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 8px; height: 8px;
  background: var(--hci-primary);
  border-radius: 50%;
}

/* ---------- Responsivo ---------- */

/* Tablet / abaixo: colunas empilham, imagem volta a ser larga e centralizada */
@media (max-width: 860px) {
  .hci-ei__row {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 32px);
  }
  .hci-ei__media img { max-height: 420px; }

  .hci-ei__intro { margin-bottom: clamp(36px, 6vw, 56px); }
}

/* Mobile: imagem mais baixa, lista em 1 coluna, paddings menores */
@media (max-width: 600px) {
  .hci-ei {
    padding: clamp(32px, 8vw, 48px) clamp(14px, 4vw, 20px);
  }
  .hci-ei__media img { max-height: 300px; }

  .hci-ei__lead {
    font-size: clamp(19px, 5.5vw, 24px);
    line-height: 1.4;
  }
  .hci-ei__h3 {
    font-size: clamp(18px, 5vw, 22px);
    letter-spacing: .01em;
  }
  .hci-ei__h3::after { width: 40px; height: 3px; margin-top: 10px; }

  .hci-ei p,
  .hci-ei__list li { font-size: 15px; }

  .hci-ei__list { columns: 1; }

  .hci-ei__intro { margin-bottom: clamp(28px, 8vw, 40px); }
}
