/* Content update: accommodate six pillars in the existing cards and timeline. */
.home-page .pillar-card h3 a {
  color: inherit;
  text-decoration: none;
}
.home-page .pillar-card h3 a:hover,
.home-page .pillar-card h3 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.services-page .classic-pillar-row[id] {
  scroll-margin-top: 110px;
}
.services-page .classic-pillar-text h3 {
  white-space: normal;
}
@media (min-width: 1101px) {
  body.home-page .pillars .pillar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .services-page .classic-pillar-marker {
    grid-area: auto;
  }
  .services-page .classic-pillar-marker::before,
  .services-page .classic-pillar-marker::after {
    display: none !important;
  }
}

/* Compact home pillar cards while allowing longer text to grow naturally. */
.home-page main > .metric-shell[data-metrics] + .section.pillars {
  padding-top: 56px;
  padding-bottom: 48px;
}
.home-page .pillars .section-head {
  margin-bottom: 20px;
}
.home-page .pillars .pillar-grid {
  gap: 16px;
}
.home-page .pillars .pillar-card {
  min-height: 210px;
  padding: 20px;
}
.home-page .pillars .pillar-card > i,
.home-page .pillars .pillar-card > svg {
  width: 38px;
  height: 38px;
  padding: 9px;
  margin-bottom: 12px;
  border-radius: 11px;
}
.home-page .pillars .pillar-card h3 {
  margin-bottom: 8px;
}
@media (max-width: 720px) {
  .home-page main > .metric-shell[data-metrics] + .section.pillars {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .home-page .pillars .pillar-card {
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

/* Show client names when an official logo asset is not yet in the repository. */
.trusted.trusted-clients .client-logo.logo-missing {
  display: flex !important;
}

/* Keep the career archive secondary to the corporate articles. */
@media (min-width: 1101px) {
  .communication-page .communication-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.communication-page .communication-archive {
  padding-top: 0;
}

.communication-page .communication-archive .communication-section-head {
  margin-bottom: 28px;
}

.communication-page .communication-archive .communication-section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

/* Institutional slide 8: original P-E-S-T-E-L columns and complete copy. */
.services-page .pestel-section {
  position: relative;
  box-sizing: border-box;
  isolation: isolate;
  width: var(--site-container-width);
  max-width: var(--site-container-max);
  margin: 32px auto 16px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid #e1e6f2;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(13, 26, 62, 0.09);
  scroll-margin-top: 110px;
  overflow: hidden;
}
.services-page .pestel-heading {
  position: relative;
  margin-bottom: 34px;
}
.services-page .pestel-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -7%;
  right: 0;
  width: 43%;
  height: 112%;
  background: url("assets/servicos/pestel-background.png") center bottom / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 76%);
  pointer-events: none;
}
.services-page .pestel-kicker {
  display: block;
  margin-bottom: 16px;
  color: #8c52ff;
  font-size: 1.04rem;
  font-weight: 700;
}
.services-page #pestel-title {
  margin: 0 0 16px;
  color: #012060;
  font-size: clamp(1.8rem, 3.2vw, 3rem) !important;
  font-weight: 800;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.services-page .pestel-heading > p {
  margin: 0;
  color: #012060;
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  font-weight: 700;
  line-height: 1.5;
}
.services-page .pestel-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.services-page .pestel-grid > li {
  display: grid;
  grid-template-rows: 104px 82px 1fr;
  min-width: 0;
  padding: 0;
  border: 1.5px dashed #315a7c;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(17, 41, 72, 0.11);
  overflow: hidden;
  text-align: center;
}
.services-page .pestel-letter {
  display: grid;
  place-items: center;
  color: #2b629e;
  font-size: clamp(3.4rem, 5.6vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
}
.services-page .pestel-grid h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 8px;
  background: #8999b7;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere !important;
}
.services-page .pestel-grid p {
  margin: 0;
  padding: 24px 12px;
  color: #012060;
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-wrap: anywhere !important;
}
.services-page .pestel-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 12px;
  color: #6430be;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.services-page .pestel-jump-link :is(i, svg) {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.services-page .pestel-jump-link:hover {
  color: #0b5ac9;
}
.services-page .pestel-jump-link:focus-visible {
  outline: 2px solid #6430be;
  outline-offset: 5px;
  border-radius: 4px;
}
@media (max-width: 1100px) {
  .services-page .pestel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
  }
}
@media (max-width: 620px) {
  .services-page .pestel-section {
    padding: 24px 14px;
    border-radius: 22px;
  }
  .services-page .pestel-heading {
    margin-bottom: 26px;
  }
  .services-page .pestel-section::before {
    width: 60%;
    height: 450px;
    top: -40px;
    opacity: 0.22;
  }
  .services-page .pestel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .services-page .pestel-grid > li {
    grid-template-rows: 80px 76px 1fr;
    border-radius: 22px;
  }
  .services-page .pestel-letter {
    font-size: 3.5rem;
  }
  .services-page .pestel-grid h3 {
    padding: 10px 6px;
    font-size: 0.86rem;
  }
  .services-page .pestel-grid p {
    padding: 18px 10px;
    font-size: 0.86rem;
  }
}

/* Business and technology positioning: readable copy replaces text baked into banners. */
.services-page .services-commercial .service-hero-jornada {
  background: radial-gradient(ellipse at 90% 20%, #193b75 0%, transparent 58%),
    linear-gradient(125deg, #040b23, #101e48 65%, #17224a);
  min-height: 0;
}
.services-page .services-commercial .service-hero-jornada::before {
  background: radial-gradient(circle at 90% 75%, #6f37b333, transparent 45%);
}
.services-page .services-commercial .service-hero-jornada .service-hero-copy {
  max-width: 900px;
}
.services-page .services-commercial .service-hero-jornada h1 {
  max-width: 860px;
}
.services-page .services-commercial .service-hero-jornada :is(.service-hero-lead, .service-hero-support) {
  max-width: 780px;
}
.business-value-section {
  box-sizing: border-box;
  width: var(--site-container-width);
  max-width: var(--site-container-max);
  margin: 32px auto 64px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid #dfe6f4;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff, #f1f5ff);
  box-shadow: 0 18px 44px #0d1a3e12;
}
.business-value-heading { max-width: 860px; }
.business-value-kicker, .communication-editorial-eyebrow {
  color: #1754ab;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.business-value-heading h2 {
  margin: 12px 0;
  color: #07164a;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
}
.business-value-heading p, .business-value-grid p {
  color: #485b7a;
  line-height: 1.65;
}
.business-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.business-value-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid #e1e7f3;
  border-radius: 18px;
  background: #fff;
}
.business-value-grid :is(i, svg) { width: 28px; height: 28px; color: #703bdb; }
.business-value-grid h3 { margin: 14px 0 8px; color: #07164a; font-size: 1.15rem; line-height: 1.3; }
.business-value-grid p { margin: 0; font-size: .96rem; }

.communication-editorial-hero {
  box-sizing: border-box;
  width: var(--site-container-width);
  max-width: var(--site-container-max);
  margin: clamp(118px, 12vw, 150px) auto 32px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid #dae4f5;
  border-radius: 28px;
  background: radial-gradient(circle at 90% 15%, #e5deff, transparent 45%),
    linear-gradient(135deg, #fff, #edf5ff);
  box-shadow: 0 20px 60px #0f235a12;
}
.communication-editorial-copy { max-width: 850px; }
.communication-editorial-copy h1 {
  margin: 12px 0 20px;
  color: #07164a;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1.08;
}
.communication-editorial-copy p { color: #53617f; line-height: 1.7; }
.communication-editorial-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}
.communication-editorial-topics li {
  padding: 8px 13px;
  border: 1px solid #d6e0f4;
  border-radius: 99px;
  color: #243d71;
  background: #fff;
  font-size: .9rem;
}
.communication-editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(110deg, #7c3aed, #1479ff);
  font-weight: 800;
  text-decoration: none;
}
.communication-editorial-link :is(svg, i) { width: 18px; height: 18px; flex: 0 0 auto; }
.communication-editorial-link:focus-visible { outline: 3px solid #07164a; outline-offset: 4px; }
.positioning-page-intro {
  width: var(--site-container-width);
  max-width: var(--site-container-max);
  margin: 0 auto 28px;
}
.positioning-page-intro h1 {
  margin: 0;
  color: #07164a;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.1;
}
.positioning-page-intro p {
  max-width: 900px;
  margin: 14px 0 0;
  color: #53617f;
  line-height: 1.7;
}
.events-page .featured-event-copy .featured-event-title {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.05rem, 3.9vw, 4.35rem);
  line-height: 1.05;
}
@media (max-width: 760px) {
  .business-value-grid { grid-template-columns: 1fr; }
  .business-value-grid article { padding: 18px; }
  .business-value-section { margin-bottom: 40px; border-radius: 22px; }
  .communication-editorial-hero { padding: 26px 22px; border-radius: 22px; }
}

/* A business collaboration visual supports the broader corporate introduction. */
.home-page .hero#inicio .hero-visual > .home-business-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scaleX(-1);
  opacity: .85;
}

.business-value-heading h2 { scroll-margin-top: 120px; }
@media (min-width: 1025px) {
  .home-page .hero#inicio .hero-copy h1 { font-size: clamp(48px, 4.6vw, 64px) !important; }
}

.events-page .positioning-page-intro,
.contact-page .positioning-page-intro { padding-top: 24px !important; }
.positioning-page-intro h1 { line-height: 1.2; }
@media (max-width: 1024px) {
  .home-page .hero#inicio .hero-copy h1 { line-height: 1.12 !important; }
}
