/* ============================================================
   COUTAX — blocos editoriais
   Usado pela home, pelas páginas de capability, indústrias e insights.
   ============================================================ */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 190px 0 120px;
  overflow: hidden;
}
.hero.hero-tall { padding: 210px 0 140px; min-height: 88vh; display: flex; align-items: center; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 82% 14%, var(--gold-glow), transparent 70%),
    radial-gradient(ellipse 80% 60% at 8% 100%, rgba(184,146,74,0.07), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,10,0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask: linear-gradient(180deg, transparent, #000 28%, #000 72%, transparent);
  -webkit-mask: linear-gradient(180deg, transparent, #000 28%, #000 72%, transparent);
}
.hero-inner { position: relative; width: 100%; }

.hero-eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 34px;
}
.hero-eyebrow .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-warm); display: inline-block;
}
@media (max-width: 520px) {
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.16em; gap: 8px; }
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.99;
  letter-spacing: -0.038em;
  color: var(--ink);
  margin: 0 0 40px;
  max-width: 17ch;
  text-wrap: balance;
}
.hero h1 .ital { font-style: italic; font-weight: 300; color: var(--gold); }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(34px); }
.hero h1.in .word { animation: rise 1s var(--ease-out) forwards; }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero-bottom {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: end;
  margin-top: 56px;
}
@media (max-width: 940px) { .hero-bottom { grid-template-columns: 1fr; gap: 40px; } }

.hero-lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.58;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  font-weight: 350;
  max-width: 52ch;
  margin: 0;
}
.hero-lede strong { font-weight: 500; color: var(--ink); }

.hero-facts {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--line);
}
.hero-facts div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.hero-facts .l {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-facts .r { font-weight: 500; color: var(--ink); text-align: right; }
.hero-facts .r b { color: var(--gold-text); font-weight: 600; }

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 52px;
}
.hero-fade { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease-out) forwards; }
.hero-fade.d1 { animation-delay: 0.55s; }
.hero-fade.d2 { animation-delay: 0.7s; }
.hero-fade.d3 { animation-delay: 0.85s; }
.hero-fade.d0 { animation-delay: 0.1s; }

/* ---------- SEÇÕES ---------- */
.sec { padding: 150px 0; }
.sec-sm { padding: 110px 0; }
.sec-paper { background: var(--bg-paper); }
.sec-dark {
  background: var(--ink); color: var(--bg);
  position: relative; overflow: hidden;
}
.sec-dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 78% 0%, rgba(184,146,74,0.15), transparent 66%);
}
.sec-dark .container { position: relative; }
.sec-dark .section-h { color: #fff; }
.sec-dark .section-h .ital { color: var(--gold-bright); }
.sec-dark .eyebrow { color: var(--gold-bright); }
.sec-dark .lead { color: rgba(244,240,230,0.72); }
.sec-dark .lead strong { color: #fff; }
.sec-line { border-top: 1px solid var(--line); }

.sec-head { max-width: 900px; margin: 0 auto 76px; }
.sec-head.wide { max-width: 1080px; }
.sec-head .section-h { margin-top: 24px; }
.sec-head .lead { margin-top: 28px; max-width: 60ch; }
@media (max-width: 720px) { .sec { padding: 100px 0; } .sec-head { margin-bottom: 54px; } }

/* ---------- TESE — coluna vertebral ---------- */
.thesis-grid {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: 90px; align-items: start;
}
@media (max-width: 980px) { .thesis-grid { grid-template-columns: 1fr; gap: 54px; } }
.thesis-copy p {
  font-size: 17px; line-height: 1.68; color: var(--ink-soft);
  font-weight: 350; margin: 0 0 20px; max-width: 56ch;
}
.thesis-copy p strong { color: var(--ink); font-weight: 500; }
.thesis-consequences {
  margin: 34px 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line);
  max-width: 56ch;
}
.thesis-consequences li {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 16px; align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-soft);
}
.thesis-consequences li .arw { color: var(--gold-text); font-family: var(--mono); font-size: 12px; }
.thesis-consequences li b { font-weight: 500; color: var(--ink); }
@media (max-width: 520px) {
  .thesis-consequences li { grid-template-columns: 1fr; gap: 4px; }
  .thesis-consequences li .arw { display: none; }
  .thesis-consequences li em { font-style: normal; color: var(--gold-text); }
}

.spine { border-top: 1px solid var(--line-strong); }
.spine-row {
  display: grid; grid-template-columns: 46px 1fr;
  align-items: center; gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.4s var(--ease-out), color 0.4s;
}
.spine-row .idx {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; color: var(--ink-mute);
}
.spine-row .name {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.02em; color: var(--ink);
  line-height: 1.1;
}
.spine-row .name em { font-style: italic; color: var(--gold); }
.spine-row::after {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--gold-warm);
  transition: width 0.6s var(--ease-out);
}
.spine-row:hover::after, .spine-row:focus-within::after { width: 100%; }
.spine-row:hover { padding-left: 12px; }
.spine-link { display: contents; }
.spine-note {
  margin-top: 30px;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 19px; line-height: 1.45; letter-spacing: -0.01em;
  color: var(--ink-soft);
  padding-left: 22px; border-left: 1px solid var(--gold-warm);
}

/* ---------- CAPABILITIES — lista editorial ---------- */
.caps { border-top: 1px solid var(--line-strong); }
.cap {
  display: grid;
  grid-template-columns: 92px 1.15fr 1fr;
  gap: 44px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.45s var(--ease-out);
}
.cap::before {
  content: ''; position: absolute; left: -32px; right: -32px; top: 0; bottom: -1px;
  background: var(--bg-paper); opacity: 0; border-radius: 18px;
  transition: opacity 0.45s var(--ease-out);
  z-index: 0;
}
.cap:hover::before { opacity: 1; }
.cap > * { position: relative; z-index: 1; }
@media (max-width: 1000px) {
  .cap { grid-template-columns: 60px 1fr; gap: 24px 26px; padding: 42px 0; }
  .cap-skills { grid-column: 2 / -1; }
}
@media (max-width: 620px) {
  .cap { grid-template-columns: 1fr; gap: 18px; }
  .cap-skills { grid-column: 1 / -1; }
  .cap::before { left: -16px; right: -16px; }
}
.cap-num {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.18em; color: var(--gold-text);
  padding-top: 10px;
}
.cap-head h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06; letter-spacing: -0.025em;
  margin: 0 0 14px; color: var(--ink);
  text-wrap: balance;
}
.cap-head h3 .ital { font-style: italic; color: var(--gold); }
.cap-head .cap-sub {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 18px; line-height: 1.4; color: var(--gold-text);
  margin: 0 0 16px; max-width: 34ch;
}
.cap-head p {
  font-size: 14.5px; line-height: 1.65; color: var(--ink-soft);
  margin: 0 0 22px; max-width: 44ch; font-weight: 350;
}
.cap-skills { padding-top: 8px; }
.cap-skills ul { list-style: none; margin: 0 0 20px; padding: 0; }
.cap-skills li {
  font-size: 13.5px; color: var(--ink-soft);
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.cap-skills li::before {
  content: ''; position: absolute; left: 0; top: 15px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.cap-skills li:last-of-type { border-bottom: 0; }

/* ---------- FAIXA DE NÚMEROS ---------- */
.band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.band > * { min-width: 0; }
@media (max-width: 880px) { .band { grid-template-columns: 1fr 1fr; } }
.band-5 { grid-template-columns: repeat(5, 1fr); }
.band-5 .band-cell { padding: 46px 24px; }
.band-5 .band-cell .big { font-size: clamp(42px, 3.8vw, 62px); }
.band-5 .band-cell .desc { font-size: 13px; }
@media (max-width: 1180px) { .band-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px)  { .band-5 { grid-template-columns: 1fr 1fr; } }
.band-cell {
  padding: 50px 30px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 226px;
}
.band-cell:last-child { border-right: 0; }
@media (max-width: 880px) {
  .band-cell:nth-child(2n) { border-right: 0; }
  .band-cell:nth-child(1), .band-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
}
.band-5 .band-cell { border-bottom: 0; }
@media (max-width: 1180px) {
  .band-5 .band-cell:nth-child(3n) { border-right: 0; }
  .band-5 .band-cell:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 880px) {
  .band-5 .band-cell:nth-child(3n) { border-right: 1px solid var(--line); }
  .band-5 .band-cell:nth-child(2n) { border-right: 0; }
  .band-5 .band-cell:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .band-5 .band-cell:last-child { grid-column: 1 / -1; border-right: 0; }
}
@media (max-width: 560px) { .band-cell { padding: 36px 18px; min-height: 0; } }
.band-cell .key {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute);
}
.band-cell .big {
  font-family: var(--serif); font-weight: 300;
  font-variant-numeric: tabular-nums;
  font-size: clamp(50px, 5.4vw, 80px);
  line-height: 1; letter-spacing: -0.04em;
  color: var(--ink); margin-top: 24px;
}
.band-cell .big.ital { font-style: italic; color: var(--gold); }
.band-cell .desc {
  font-size: 13.5px; color: var(--ink-soft);
  line-height: 1.55; margin-top: 14px; max-width: 30ch;
}

/* ---------- MIDDLE MARKET ---------- */
.mm-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 80px; align-items: center;
}
@media (max-width: 980px) { .mm-grid { grid-template-columns: 1fr; gap: 48px; } }
.mm-quote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.38; letter-spacing: -0.015em;
  color: var(--ink);
  padding-left: 30px; border-left: 2px solid var(--gold);
  margin: 0 0 28px;
}
.mm-copy p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); font-weight: 350; margin: 0 0 18px; }
.mm-copy p strong { color: var(--ink); font-weight: 500; }
.mm-marks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mm-marks li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-soft);
}
.mm-marks li span.k {
  flex-shrink: 0; width: 18px; padding-top: 7px;
}
.mm-marks li span.k::before {
  content: ''; display: block;
  width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg);
}

/* ---------- CAPITAL — fluxo ---------- */
.flow {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255,255,255,0.16);
  margin-top: 64px;
}
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.flow-step {
  padding: 40px 26px 34px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.flow-step:last-child { border-right: 0; }
@media (max-width: 900px) {
  .flow-step:nth-child(2n) { border-right: 0; }
  .flow-step { border-bottom: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 520px) { .flow-step { border-right: 0; padding: 30px 0 26px 22px; } }
.flow-step::before {
  content: ''; position: absolute; top: 0; left: 26px;
  width: 8px; height: 8px; background: var(--gold-bright);
  transform: translate(-50%, -50%) rotate(45deg);
}
@media (max-width: 520px) {
  .flow-step::before { left: 0; top: 34px; transform: translate(-50%, 0) rotate(45deg); }
}
.flow-step .st {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: 16px;
}
.flow-step h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 21px; color: #fff; margin: 0 0 10px; letter-spacing: -0.015em;
}
.flow-step p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.62); margin: 0; }

.disclaimer {
  margin-top: 46px; padding: 22px 26px;
  border-left: 2px solid rgba(184,146,74,0.5);
  background: rgba(255,255,255,0.03);
  font-size: 13.5px; line-height: 1.65;
  color: rgba(244,240,230,0.62);
  max-width: 78ch;
}
.disclaimer.light {
  background: var(--bg-paper);
  border-left-color: var(--gold);
  color: var(--ink-mute);
}

/* ---------- INDÚSTRIAS ---------- */
.ind-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 980px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ind-grid { grid-template-columns: 1fr; } }
.ind-cell {
  background: var(--bg);
  padding: 40px 34px 44px;
  display: flex; flex-direction: column;
  min-height: 300px;
  transition: background 0.4s var(--ease-out);
}
.ind-cell:hover { background: var(--bg-paper); }
.ind-cell .num {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 10px;
}
.ind-cell .num::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.ind-cell h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: 27px; line-height: 1.12; letter-spacing: -0.02em;
  margin: 0 0 16px; color: var(--ink);
}
.ind-cell h3 .ital { font-style: italic; color: var(--gold); }
.ind-cell p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 22px; font-weight: 350; }
.ind-cell .tags {
  margin-top: auto; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute); line-height: 1.9;
}

/* ---------- COMO TRABALHAMOS ---------- */
.work-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 90px; align-items: start; }
@media (max-width: 980px) { .work-grid { grid-template-columns: 1fr; gap: 46px; } }
.work-left { position: sticky; top: 130px; }
@media (max-width: 980px) { .work-left { position: static; } }
.work-left p { font-size: 15.5px; line-height: 1.68; color: var(--ink-soft); margin-top: 26px; max-width: 38ch; font-weight: 350; }
.work-pull {
  margin-top: 34px; padding: 26px 30px;
  background: var(--bg-paper); border-left: 2px solid var(--gold);
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 19px; line-height: 1.5; color: var(--ink);
}
.work-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.work-item {
  padding: 30px 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 74px 1fr; gap: 28px; align-items: start;
}
@media (max-width: 520px) { .work-item { grid-template-columns: 1fr; gap: 8px; } }
.work-item .key {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; color: var(--gold-text); padding-top: 5px;
}
.mk { display: block; padding-top: 11px; }
.mk::before {
  content: ''; display: block;
  width: 7px; height: 7px; background: var(--gold);
  transform: rotate(45deg);
}
@media (max-width: 520px) { .mk { padding-top: 0; margin-bottom: 4px; } }
.work-item h3 {
  font-family: var(--serif); font-weight: 400; font-size: 23px;
  margin: 0 0 9px; letter-spacing: -0.015em; color: var(--ink);
}
.work-item h3 .ital { font-style: italic; color: var(--gold-text); }
.work-item p { margin: 0; font-size: 14.5px; line-height: 1.62; color: var(--ink-soft); }

/* ---------- TECNOLOGIA ---------- */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
@media (max-width: 980px) { .tech-grid { grid-template-columns: 1fr; gap: 42px; } }
.tech-rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 520px) { .tech-rail { grid-template-columns: 1fr; } }
.tech-rail li {
  background: var(--ink); padding: 26px 24px;
  font-size: 14px; color: rgba(244,240,230,0.72); line-height: 1.5;
}
.tech-rail li b {
  display: block; font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-bright); font-weight: 500; margin-bottom: 10px;
}

/* ---------- PRINCÍPIOS ---------- */
.prin-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
@media (max-width: 980px) { .prin-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .prin-grid { grid-template-columns: 1fr; } }
.prin-cell { background: var(--bg-paper); padding: 38px 32px 42px; display: flex; flex-direction: column; min-height: 260px; }
.prin-cell .num {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.prin-cell .num::after { content: ''; flex: 1; height: 1px; background: rgba(184,146,74,0.25); }
.prin-cell h3 {
  font-family: var(--serif); font-weight: 400; font-size: 23px;
  line-height: 1.2; margin: 0 0 14px; color: var(--ink); letter-spacing: -0.01em;
}
.prin-cell h3 .ital { font-style: italic; color: var(--gold-text); }
.prin-cell p { margin: 0; font-size: 14px; line-height: 1.62; color: var(--ink-soft); font-weight: 350; }

/* ---------- CITAÇÃO ---------- */
.quote-sec {
  padding: 160px 0; text-align: center;
  background: var(--bg-paper);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .quote-sec { padding: 100px 0; } }
.quote-sec blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.2; letter-spacing: -0.022em;
  color: var(--ink); margin: 0 auto; max-width: 1000px;
  text-wrap: balance;
}
.quote-sec blockquote .gold { color: var(--gold); }
.quote-sec .attribution {
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 34px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.quote-sec .attribution::before, .quote-sec .attribution::after {
  content: ''; width: 36px; height: 1px; background: var(--gold-warm);
}

/* ---------- INSIGHTS ---------- */
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .ins-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ins-grid { grid-template-columns: 1fr; } }
.ins-cell {
  border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 28px 32px; background: var(--bg-paper);
  display: flex; flex-direction: column; min-height: 210px;
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
}
.ins-cell:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.ins-cell .cat {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 18px;
}
.ins-cell h3 {
  font-family: var(--serif); font-weight: 400; font-size: 21px;
  line-height: 1.22; margin: 0 0 12px; color: var(--ink); letter-spacing: -0.015em;
}
.ins-cell p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.ins-cell .st {
  margin-top: auto; padding-top: 20px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute);
}

/* ---------- CTA FINAL ---------- */
.cta-final { padding: 150px 0; background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.cta-final::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 25% 100%, rgba(184,146,74,0.18), transparent 70%);
}
.cta-final .container { position: relative; }
.cta-final .eyebrow { color: var(--gold-bright); }
.cta-final h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.06; letter-spacing: -0.028em;
  color: #fff; margin: 26px 0 0; max-width: 20ch; text-wrap: balance;
}
.cta-final h2 .ital { font-style: italic; color: var(--gold-bright); }
.cta-final p {
  margin-top: 28px; font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,0.7); max-width: 56ch; font-weight: 350;
}
.cta-final .cta-solid { background: var(--gold-bright); color: var(--ink); margin-top: 40px; }
.cta-final .cta-solid:hover { background: #fff; }
@media (max-width: 720px) { .cta-final { padding: 100px 0; } }

/* ---------- CONTATO / FORMULÁRIO ---------- */
.contact-sec { padding: 150px 0; background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.contact-sec::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 78% 0%, rgba(184,146,74,0.16), transparent 70%);
}
.contact-sec .container { position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 74px; align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 720px) { .contact-sec { padding: 100px 0; } }
.contact-sec .eyebrow { color: var(--gold-bright); }
.contact-sec .section-h { color: #fff; margin-top: 26px; }
.contact-sec .section-h .ital { color: var(--gold-bright); }
.contact-sec p.intro {
  margin-top: 28px; font-size: 16px; line-height: 1.65;
  color: rgba(255,255,255,0.7); max-width: 46ch; font-weight: 350;
}
.contact-info { margin-top: 38px; border-top: 1px solid rgba(255,255,255,0.12); }
.contact-info > div {
  display: grid; grid-template-columns: 112px 1fr; gap: 18px;
  padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 14px; color: rgba(255,255,255,0.85);
}
@media (max-width: 460px) { .contact-info > div { grid-template-columns: 1fr; gap: 5px; } }
.contact-info .l {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45);
}

.coutax-form {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 38px;
}
@media (max-width: 520px) { .coutax-form { padding: 26px 22px; } }
.coutax-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .coutax-form .row { grid-template-columns: 1fr; gap: 0; } }
.coutax-form .field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.coutax-form .field label {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55);
}
.coutax-form .field input,
.coutax-form .field textarea,
.coutax-form .field select {
  font-family: var(--sans); font-size: 15px;
  background: transparent; border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  color: #fff; padding: 11px 0; outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
}
.coutax-form .field input::placeholder,
.coutax-form .field textarea::placeholder { color: rgba(255,255,255,0.52); }
.coutax-form .field input:focus,
.coutax-form .field textarea:focus,
.coutax-form .field select:focus { border-bottom-color: var(--gold-bright); }
.coutax-form .field textarea { min-height: 92px; resize: vertical; }
.coutax-form .field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6.5L8 10.5L12 6.5' stroke='%23D4B27A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}
.coutax-form .field select option { color: var(--ink); background: #fff; }

.coutax-form .form-submit {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  background: var(--gold-bright); color: var(--ink);
  font-size: 14.5px; font-weight: 500;
  border-radius: 999px; margin-top: 14px;
  transition: background 0.25s, transform 0.25s var(--ease-out);
}
.coutax-form .form-submit:hover { background: #fff; transform: translateY(-1px); }
.coutax-form .form-submit:disabled { opacity: 0.7; cursor: default; transform: none; }
.coutax-form .form-legal { margin-top: 18px; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.62); }
.coutax-form .form-legal a { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); }

/* páginas legadas (formulário em fundo claro): só o indicador do select */
.contato-form select, .form-legado select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6.5L8 10.5L12 6.5' stroke='%23755D26' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

/* ---------- PÁGINAS INTERNAS ---------- */
.page-hero { padding: 170px 0 90px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 85% 10%, var(--gold-glow), transparent 70%);
}
.page-hero .container { position: relative; }
.breadcrumb {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 28px;
}
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--gold-text); }
.breadcrumb span { color: var(--gold-text); }
.page-hero-grid {
  display: grid; grid-template-columns: 1.35fr 0.75fr;
  gap: 72px; align-items: start;
}
@media (max-width: 1000px) { .page-hero-grid { grid-template-columns: 1fr; gap: 44px; } }
.page-facts { margin-top: 8px; }
.page-facts .r { max-width: 24ch; }
@media (max-width: 1000px) { .page-facts { margin-top: 0; } }

.page-hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02; letter-spacing: -0.035em;
  margin: 0 0 26px; max-width: 18ch; text-wrap: balance;
}
.page-hero h1 .ital { font-style: italic; color: var(--gold); }
.page-hero .page-sub {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35;
  color: var(--gold-text); margin: 0 0 26px; max-width: 30ch;
}
.page-hero .lead { max-width: 62ch; }
.page-hero .hero-actions { margin-top: 40px; }

.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 820px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-cell { background: var(--bg); padding: 38px 34px 42px; }
.detail-cell h3 {
  font-family: var(--serif); font-weight: 400; font-size: 24px;
  line-height: 1.16; margin: 0 0 8px; letter-spacing: -0.018em; color: var(--ink);
}
.detail-cell h3 .ital { font-style: italic; color: var(--gold); }
.detail-cell > p { font-size: 14px; line-height: 1.62; color: var(--ink-soft); margin: 0 0 20px; font-weight: 350; }
.detail-cell ul { list-style: none; margin: 0; padding: 0; }
.detail-cell li {
  font-size: 13.5px; color: var(--ink-soft);
  padding: 9px 0 9px 18px; border-bottom: 1px solid var(--line); position: relative;
}
.detail-cell li:last-child { border-bottom: 0; }
.detail-cell li::before {
  content: ''; position: absolute; left: 0; top: 15px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}

.next-caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .next-caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .next-caps { grid-template-columns: 1fr; } }
.next-cap {
  border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px 28px; background: var(--bg-paper);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
  display: block;
}
.next-cap:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.next-cap .n { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--gold-text); }
.next-cap h3 {
  font-family: var(--serif); font-weight: 400; font-size: 20px;
  line-height: 1.2; margin: 14px 0 0; color: var(--ink); letter-spacing: -0.015em;
}

/* ---------- ÍNDICE LATERAL (indústrias) ---------- */
.anchor-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 34px;
}
.anchor-nav a {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 999px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.anchor-nav a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.ind-block { padding: 84px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.ind-block:last-of-type { border-bottom: 0; }
.ind-block-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
@media (max-width: 980px) { .ind-block-grid { grid-template-columns: 1fr; gap: 36px; } .ind-block { padding: 60px 0; } }
.ind-block h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.06; letter-spacing: -0.025em; margin: 18px 0 18px; color: var(--ink);
}
.ind-block h2 .ital { font-style: italic; color: var(--gold); }
.ind-block .ind-lede { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); font-weight: 350; margin: 0; max-width: 40ch; }
.ind-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
@media (max-width: 560px) { .ind-cols { grid-template-columns: 1fr; gap: 22px; } }
.ind-cols h4 {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-text); margin: 0 0 14px; font-weight: 500;
}
.ind-cols ul { list-style: none; margin: 0; padding: 0; }
.ind-cols li {
  font-size: 14px; color: var(--ink-soft);
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.ind-cols li:last-child { border-bottom: 0; }

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  display: none; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; padding: 24px;
  transition: opacity 0.4s var(--ease-out);
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-box {
  position: relative; isolation: isolate;
  width: 100%; max-width: 430px;
  padding: 36px 36px 32px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(251,249,244,0.95) 0%, rgba(247,244,236,0.9) 100%);
  backdrop-filter: blur(32px) saturate(220%);
  -webkit-backdrop-filter: blur(32px) saturate(220%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 1px 0 rgba(255,255,255,0.95) inset, 0 32px 80px rgba(10,10,10,0.18);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.5s var(--ease-out);
}
.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }
.modal-content { position: relative; z-index: 3; }
.modal-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: 20px;
}
.modal-eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }
.modal-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-warm) 45%, var(--gold) 100%);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(139,111,46,0.3);
}
.modal-title {
  font-family: var(--serif); font-weight: 300;
  font-size: 28px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 12px;
}
.modal-title .ital { font-style: italic; color: var(--gold); }
.modal-text { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 24px; font-weight: 350; }
.modal-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); margin: 0 0 20px; }
.modal-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 24px;
}
.modal-meta .meta-r { color: var(--gold); }
.modal-close {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(180deg, #2a2823 0%, var(--ink) 100%);
  color: var(--bg); font-size: 13px; font-weight: 500;
  border-radius: 999px; border: 1px solid rgba(0,0,0,0.5);
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.modal-close:hover { background: linear-gradient(180deg, #36332c 0%, #050505 100%); transform: translateY(-1px); }
@media (max-width: 480px) { .modal-box { padding: 28px 24px 26px; } .modal-title { font-size: 24px; } }


/* ============================================================
   AJUSTES DE TOQUE E LEGIBILIDADE EM TELA PEQUENA
   ============================================================ */
@media (max-width: 640px) {
  /* alvos de toque com no mínimo 44px de altura */
  .link-arrow { padding: 12px 0; min-height: 44px; }
  .contact-info a, .contato-info a { display: inline-block; padding: 8px 0; }
  .anchor-nav a { padding: 12px 16px; }
  .toc a { display: block; padding: 10px 0; }
  .prin-cell p a { display: inline-block; padding: 6px 0; }

  /* rótulos monoespaçados não descem de 11px */
  .modal-eyebrow, .modal-meta, .ins-cell .st, .ins-cell .cat, .ind-cell .tags,
  .ind-cell .num, .band-cell .key, .hero-facts .l, .contact-info .l,
  .contato-info .l, .field label, .breadcrumb, .crumbs, .spine-row .idx,
  .flow-step .st, .prin-cell .num, .cap-num, .work-item .key,
  .foot-terr, .foot-col h3, .footer-bottom, .quote-sec .attribution,
  .ind-cols h4, .contact-map .map-tag, .eyebrow { font-size: 11px; }
}
