/* ===== Page hero (subpages) ===== */
.page-hero {
  background: var(--bg-dark);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.page-hero__inner {
  padding: clamp(56px, 7vw, 120px) var(--gutter) clamp(64px, 8vw, 130px);
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 2.6vw, 34px);
}
.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 22ch;
}
.page-hero p {
  font-size: clamp(16.5px, 1.2vw, 18px);
  line-height: 1.56;
  color: rgba(255,255,255,0.88);
  max-width: 58ch;
  font-weight: 300;
}

/* ===== Two-column intro section (white) ===== */
.section-split {
  background: #fff;
  color: var(--ink);
}
.section-split__inner {
  padding: clamp(64px, 8vw, 130px) var(--gutter) clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 4.5vw, 80px);
  align-items: start;
}
.section-split__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section-split h2 { max-width: 26ch; }
.section-split__text .section-body {
  font-size: clamp(16.5px, 1.2vw, 18px);
  line-height: 1.64;
  color: var(--ink-soft);
  max-width: 58ch;
  font-weight: 300;
}
.section-split figure { margin: 0; }
.section-split figure img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  display: block;
}

/* ===== Simple list grid (frentes de trabalho / aplicações) ===== */
.section-grid {
  background: #fff;
  color: var(--ink);
}
.section-grid__inner {
  padding: 0 var(--gutter) clamp(72px, 9vw, 140px);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 56px);
}
.section-grid--top .section-grid__inner {
  padding-top: clamp(40px, 5vw, 72px);
}
.section-grid__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 44px);
}
@media (min-width: 700px) {
  .list-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .list-grid { grid-template-columns: repeat(3, 1fr); }
}
.list-grid__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-light);
}
.list-grid__item:first-child { border-top-color: var(--ink); }
.list-grid__item h3 { font-size: 20px; font-weight: 400; }
.list-grid__item p {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink-softer);
  font-weight: 300;
}

/* first item of each row gets the dark border-top on desktop too — approximate the
   design's single dark hairline (first item overall) by keeping only the very first
   item dark; remaining items use the light hairline regardless of row. */

/* ===== Simple stacked list on dark (assessoria "quando faz sentido") ===== */
.section-list-dark {
  background: var(--bg-dark);
  color: #fff;
}
.section-list-dark__inner {
  padding: clamp(64px, 8vw, 130px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 44px);
}
.stacked-list {
  display: flex;
  flex-direction: column;
}
.stacked-list li {
  font-size: clamp(16.5px, 1.2vw, 18px);
  line-height: 1.56;
  color: rgba(255,255,255,0.86);
  font-weight: 300;
  padding: clamp(18px, 2vw, 26px) 0;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.stacked-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.16); }

/* ===== Etapas (M&A process steps) ===== */
.section-etapas { background: #fff; color: var(--ink); }
.section-etapas__inner {
  padding: clamp(64px, 8vw, 130px) var(--gutter) clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 44px);
}
.section-etapas h2 { max-width: 26ch; }
.section-etapas .section-body {
  font-size: clamp(16.5px, 1.2vw, 18px);
  line-height: 1.64;
  color: var(--ink-soft);
  max-width: 58ch;
  font-weight: 300;
}
.etapas {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 44px);
  padding-top: 8px;
}
@media (min-width: 700px) {
  .etapas { grid-template-columns: repeat(4, 1fr); }
  .etapas > li { grid-column: span 2; }
}
@media (min-width: 1080px) {
  .etapas { grid-template-columns: repeat(6, 1fr); }
  .etapas > li:nth-child(4) { grid-column: 2 / span 2; }
}
.etapas > li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-light);
}
.etapas > li:first-child { border-top-color: var(--ink); }
.etapas .etapa-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
}
.etapas h3 { font-size: 20px; font-weight: 400; }
.etapas p {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink-softer);
  font-weight: 300;
}

/* ===== Matriz 2x2 (posição da empresa) ===== */
.section-matriz { background: #fff; color: var(--ink); }
.section-matriz__inner {
  padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(72px, 9vw, 140px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 44px);
}
.section-matriz h2 { max-width: 26ch; }
.section-matriz .section-body {
  font-size: clamp(16.5px, 1.2vw, 18px);
  line-height: 1.64;
  color: var(--ink-softer);
  max-width: 58ch;
  font-weight: 300;
}
.matriz-axis {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.matriz {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 1.8vw, 22px);
  padding-top: 8px;
}
@media (min-width: 720px) {
  .matriz { grid-template-columns: repeat(2, 1fr); }
}
.matriz article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 32px);
  min-height: clamp(200px, 20vw, 260px);
}
.matriz article .tag {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.matriz article h3 {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.24;
}
.matriz article p {
  font-size: 16px;
  line-height: 1.6;
}
.matriz .quad--dark { background: var(--bg-dark); color: #fff; }
.matriz .quad--dark .tag { color: var(--accent); }
.matriz .quad--dark h3 { font-weight: 400; }
.matriz .quad--dark p { color: rgba(255,255,255,0.78); font-weight: 300; }
.matriz .quad--accent { background: var(--accent); color: var(--ink); }
.matriz .quad--accent .tag { color: var(--ink); }
.matriz .quad--accent h3 { font-weight: 500; }
.matriz .quad--accent p { color: #22381f; font-weight: 400; }
.matriz .quad--tint { background: var(--panel-tint); color: var(--ink); border: 1px solid var(--panel-tint-border); }
.matriz .quad--tint .tag { color: var(--accent-dark); }
.matriz .quad--tint h3 { font-weight: 400; }
.matriz .quad--tint p { color: var(--ink-softer); font-weight: 300; }

/* ===== Ops / dark two-column with list ===== */
.section-ops { background: var(--bg-dark); color: #fff; }
.section-ops__inner {
  padding: clamp(64px, 8vw, 130px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 4.5vw, 80px);
  align-items: center;
}
.section-ops__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section-ops h2 { max-width: 24ch; }
.ops-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0 clamp(20px, 3vw, 44px);
}
.ops-list li {
  font-size: 16.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-weight: 300;
}
.section-ops figure { margin: 0; }
.section-ops figure img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.95);
  display: block;
}

/* ===== Subpage CTA ===== */
.section-cta {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.section-cta__inner {
  padding: clamp(72px, 9vw, 150px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3vw, 40px);
  align-items: flex-start;
}
.section-cta h2 {
  font-size: clamp(28px, 3.8vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 300;
  color: #fff;
  max-width: 24ch;
}
.section-cta p {
  font-size: clamp(16.5px, 1.2vw, 18px);
  line-height: 1.62;
  color: rgba(255,255,255,0.84);
  max-width: 56ch;
  font-weight: 300;
}
.section-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}
