/* Nossa Essência: camada editorial isolada.
   Os estilos legados de valores continuam carregados como fallback para páginas antigas. */
.ier-essence {
  --essence-navy: #071f3d;
  --essence-navy-deep: #061a34;
  --essence-orange: #ef762d;
  position: relative;
  isolation: isolate;
  height: 330px;
  min-height: 330px;
  padding-top: 3px;
  overflow: hidden;
  background: var(--essence-orange);
}

.ier-essence__inner {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  height: 327px;
  min-height: 327px;
  overflow: hidden;
  background: var(--essence-navy);
  clip-path: polygon(0 0, 47.5% 0, 50% 13px, 52.5% 0, 100% 0, 100% 100%, 0 100%);
}

.ier-essence__photo {
  position: relative;
  min-width: 0;
  height: 327px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #19324d;
}

.ier-essence__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 25, 48, .03) 48%, rgba(7, 31, 61, .72) 100%);
  pointer-events: none;
}

.ier-essence__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 36%;
  filter: saturate(.9) contrast(1.03);
}

.ier-essence__manifesto {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 18px clamp(30px, 3.5vw, 66px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(28, 79, 126, .24), transparent 42%),
    linear-gradient(118deg, var(--essence-navy) 0%, var(--essence-navy-deep) 100%);
}

.ier-essence__heading,
.ier-essence__foundations {
  position: relative;
  z-index: 2;
  width: 100%;
}

.ier-essence__heading {
  text-align: center;
}

.ier-essence__eyebrow {
  margin: 0 0 7px;
  color: var(--essence-orange);
  font-family: var(--ier-font, sans-serif);
  font-size: clamp(.68rem, .64vw, .78rem);
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1;
  text-transform: uppercase;
}

.ier-essence__heading h2 {
  margin: 0;
  color: #fff;
  font-family: var(--ier-font, sans-serif);
  font-size: clamp(2.4rem, 3vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .98;
  text-wrap: balance;
}

.ier-essence__accent {
  display: block;
  width: 66px;
  height: 2px;
  margin: 9px auto;
  border-radius: 2px;
  background: var(--essence-orange);
}

.ier-essence__lead {
  max-width: 36rem;
  margin: 0;
  color: #eef4fa;
  font-family: var(--ier-font, sans-serif);
  font-size: clamp(1rem, 1.05vw, 1.16rem);
  font-weight: 500;
  line-height: 1.32;
}

.ier-essence__lead strong {
  color: var(--essence-orange);
  font-weight: 750;
}

.ier-essence__foundations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.7vw, 28px);
  margin-top: clamp(14px, 1.2vw, 20px);
}

.ier-foundation {
  min-width: 0;
  text-align: center;
}

.ier-foundation svg {
  display: block;
  width: 25px;
  height: 25px;
  margin: 0 auto 7px;
  overflow: visible;
  fill: none;
  stroke: var(--essence-orange);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ier-foundation h3 {
  margin: 0 0 5px;
  color: #fff;
  font-family: var(--ier-font, sans-serif);
  font-size: clamp(.84rem, .76vw, .96rem);
  font-weight: 750;
  line-height: 1.15;
}

.ier-foundation p {
  max-width: 25ch;
  margin: 0 auto;
  color: rgba(235, 242, 249, .84);
  font-family: var(--ier-font, sans-serif);
  font-size: clamp(.69rem, .63vw, .77rem);
  font-weight: 450;
  line-height: 1.35;
  text-wrap: pretty;
}

.ier-foundation p b {
  color: var(--essence-orange);
  font-weight: 700;
}

.ier-essence__watermark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -8%;
  width: min(35vw, 540px);
  max-width: none;
  transform: translateY(-48%);
  opacity: .045;
  filter: grayscale(1) brightness(3.5);
  pointer-events: none;
  user-select: none;
}

.ier-essence__arc {
  position: absolute;
  z-index: 1;
  top: -175px;
  right: 10%;
  width: 390px;
  aspect-ratio: 1;
  border: 1px solid rgba(239, 118, 45, .32);
  border-radius: 50%;
  pointer-events: none;
}

@media (min-width: 1280px) and (max-width: 1535px) {
  .ier-essence__manifesto { padding-right: 30px; padding-left: 30px; }
  .ier-essence__foundations { gap: 17px; }
}

@media (min-width: 900px) and (max-width: 1279px) {
  .ier-essence { height: 430px; min-height: 430px; }
  .ier-essence__inner { grid-template-columns: 41% 59%; height: 427px; min-height: 427px; }
  .ier-essence__photo { height: 427px; }
  .ier-essence__photo img { min-height: 0; object-position: 50% 36%; }
  .ier-essence__manifesto { padding: 28px 30px 25px; }
  .ier-essence__foundations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-top: 20px; }
  .ier-foundation p { max-width: 29ch; }
}

@media (max-width: 899px) {
  .ier-essence { height: auto; min-height: 0; }
  .ier-essence__inner { display: block; height: auto; min-height: 0; }
  .ier-essence__photo { height: clamp(240px, 40vw, 305px); min-height: 0; }
  .ier-essence__photo::after { background: linear-gradient(180deg, transparent 56%, rgba(7, 31, 61, .42) 100%); }
  .ier-essence__photo img { min-height: 0; object-position: center 37%; }
  .ier-essence__manifesto { padding: 35px clamp(24px, 7vw, 52px) 40px; }
  .ier-essence__foundations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px clamp(26px, 7vw, 50px); }
  .ier-foundation p { max-width: 30ch; font-size: .74rem; }
  .ier-foundation h3 { font-size: .88rem; }
  .ier-essence__watermark { right: -15%; width: min(72vw, 470px); }
}

@media (max-width: 599px) {
  .ier-essence { padding-top: 2px; }
  .ier-essence__inner { clip-path: polygon(0 0, 44% 0, 50% 9px, 56% 0, 100% 0, 100% 100%, 0 100%); }
  .ier-essence__photo { height: clamp(210px, 61vw, 250px); }
  .ier-essence__photo img { object-position: 50% 37%; }
  .ier-essence__manifesto { align-items: stretch; padding: 30px 22px 36px; }
  .ier-essence__heading { text-align: left; }
  .ier-essence__heading h2 { font-size: clamp(2.05rem, 10.2vw, 2.75rem); }
  .ier-essence__accent { margin: 10px 0; }
  .ier-essence__lead { font-size: .9rem; }
  .ier-essence__foundations { grid-template-columns: 1fr; gap: 19px; margin-top: 27px; }
  .ier-foundation { display: grid; grid-template-columns: 31px 1fr; column-gap: 14px; text-align: left; }
  .ier-foundation svg { grid-row: 1 / span 2; width: 24px; height: 24px; margin: 1px 0 0; }
  .ier-foundation h3 { margin-bottom: 5px; }
  .ier-foundation p { max-width: 39ch; margin: 0; font-size: .73rem; }
  .ier-essence__arc { top: -120px; right: -32%; width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  .ier-essence *,
  .ier-essence *::before,
  .ier-essence *::after { scroll-behavior: auto; transition: none; }
}
