* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --paper: var(--bridge-paper);
  --ink: var(--bridge-ink);
  --pine: var(--bridge-forest);
  --muted: var(--bridge-muted);
  --line: var(--bridge-line);
  --lime: var(--bridge-citron);
  --surface: var(--bridge-surface);
  --font: var(--bridge-font);
  --mono: var(--bridge-mono);
}
html { scroll-behavior: smooth; scroll-padding-top: 22px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.52 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .22em; }
img { max-width: 100%; height: auto; display: block; }
a:focus-visible, summary:focus-visible { outline: 3px solid #976100; outline-offset: 4px; }
#principal:focus { outline: 0; }
.skip { position: absolute; top: -7em; left: 1rem; display: block; padding: 12px 16px; background: white; z-index: 3; }
.skip:focus { top: 1rem; }
.wrap { width: min(1280px, calc(100% - clamp(44px, 9vw, 144px))); margin-inline: auto; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 3.45vw, 3.65rem); letter-spacing: -.055em; font-weight: 600; line-height: 1.05; max-width: 18ch; }
h3 { font-size: clamp(1.2rem, 1.55vw, 1.5rem); letter-spacing: -.035em; line-height: 1.17; font-weight: 600; }
.site-head, .foot { display: flex; align-items: center; gap: 25px; }
.site-head { min-height: 84px; border-bottom: 1px solid var(--line); }
.identity { display: inline-block; flex: 0 0 auto; }
.site-head nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 40px); margin-left: auto; }
.site-head nav a, .head-action, .button, .text-link { text-decoration: none; font-weight: 600; font-size: .91rem; }
.site-head nav a:hover, .text-link:hover, .foot a:hover { text-decoration: underline; }
.head-action, .button, .text-link { display: inline-flex; align-items: center; gap: 12px; }
.head-action { margin-left: clamp(8px, 1.5vw, 24px); border: 1px solid #718579; padding: 9px 16px; border-radius: 100px; }
.head-action:hover { background: #e8ede5; }
.button.solid { padding: 13px 18px; color: var(--paper); background: var(--pine); border-radius: 5px; }
.button.solid:hover { background: var(--ink); }
.actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 27px; }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(30px, 4vw, 76px); align-items: center; padding-block: clamp(40px, 4.8vw, 80px); }
.eyebrow, .figure-kicker, .scenario-id, .figure-key, .case-head span, .case summary span { font: 600 .72rem/1.4 var(--mono); }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--pine); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 18px; }
.eyebrow::before { content: ""; display: inline-block; width: 20px; height: 3px; background: currentColor; }
h1 { font: 600 clamp(3.6rem, 5.5vw, 5.5rem)/.99 var(--font); letter-spacing: -.065em; }
h1 em { display: block; font-style: normal; color: var(--pine); }
.intro, .body-copy, .section-head p, .process p, .scenario > p:not(.scenario-id) { color: var(--muted); }
.intro { font-size: clamp(1.02rem, 1.3vw, 1.19rem); line-height: 1.52; margin-top: 21px; max-width: 47ch; }
.body-copy { margin: 20px 0 22px; max-width: 53ch; }
.hero-figure { margin: 0; border-radius: 12px; background: var(--pine); color: var(--paper); overflow: hidden; }
.hero-figure figcaption, .figure-key { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 17px 24px; }
.hero-figure figcaption { border-bottom: 1px solid #557a6e; }
.figure-kicker { text-transform: uppercase; letter-spacing: .055em; }
.hero-figure figcaption span + span { color: #d3e3d9; font: .72rem/1.4 var(--mono); }
.figure-field { position: relative; overflow: hidden; height: clamp(220px, 18.2vw, 296px); isolation: isolate; background-color: var(--pine); background-image: radial-gradient(#698679 0.75px, transparent .8px); background-size: 15px 15px; }
.figure-field::before { content: ""; position: absolute; z-index: -1; inset: 28% -5% -5%; background: url("assets/brand/trama.svg") center / 110% 100% no-repeat; }
.signal { position: absolute; z-index: 1; left: 24px; top: 21px; font-size: .79rem; color: #d4e4da; line-height: 1.4; }
.signal strong { display: block; font-size: clamp(1.05rem, 1.6vw, 1.45rem); line-height: 1.25; font-weight: 560; color: var(--paper); letter-spacing: -.025em; }
.ribbons { position: absolute; left: 0; bottom: 7%; width: 100%; height: 70%; fill: none; stroke-width: 7; }
.ribbon-back { stroke: #9bb898; }
.ribbon-mid { stroke: #b9d495; }
.ribbon-front { stroke: var(--lime); }
.figure-key { border-top: 1px solid #557a6e; padding-block: 14px; gap: 8px; font-size: .66rem; }
.figure-key span { display: inline-flex; align-items: center; gap: 7px; }
.figure-key span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: #c7d7c6; border-radius: 50%; }
.figure-key span:nth-child(2)::before { transform: rotate(45deg); border-radius: 0; background: transparent; border: 1.5px solid var(--lime); }
.figure-key span:last-child::before { border-radius: 0; width: 12px; height: 3px; background: var(--lime); }

.scenarios { border-top: 1px solid var(--ink); padding-block: clamp(33px, 3.8vw, 60px) clamp(46px, 5vw, 74px); }
.section-head { display: grid; grid-template-columns: 1.18fr .82fr; align-items: end; gap: clamp(32px, 6vw, 90px); }
.section-head p { max-width: 49ch; }
.scenario-grid, .process { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.scenario-grid { margin-top: 31px; border-block: 1px solid var(--line); }
.scenario { padding: 23px clamp(18px, 2.05vw, 34px) 19px; }
.scenario + .scenario { border-left: 1px solid var(--line); }
.scenario:first-child { padding-left: 0; }
.scenario:last-child { padding-right: 0; }
.scenario-id { display: flex; justify-content: space-between; align-items: center; gap: 4px; color: var(--pine); }
.scenario-id span { font-weight: 400; color: var(--muted); }
.scenario h3 { margin: 17px 0 9px; }
.scenario > p:not(.scenario-id), .scenario details p { font-size: .93rem; line-height: 1.55; }
.scenario details { margin-top: 13px; }
summary { cursor: pointer; }
.scenario summary, .diagnosis summary { display: inline-flex; align-items: center; gap: 10px; color: var(--pine); font-size: .92rem; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
.scenario summary::after, .diagnosis summary::after { content: "+"; font-size: 1rem; }
.scenario [open] summary::after, .diagnosis [open] summary::after { content: "−"; }
.scenario summary span { display: none; }
.scenario details p, .diagnosis details p { padding-top: 9px; color: var(--muted); }
.solution, .roomy, .architecture { padding-block: clamp(46px, 5.8vw, 88px); }
.solution { background: #e9efe6; }
.process { list-style: none; counter-reset: etapa; gap: clamp(18px, 2.6vw, 42px); padding: 0; margin-top: 34px; }
.process li { counter-increment: etapa; border-top: 2px solid var(--pine); padding-top: 14px; }
.process li::before { display: block; content: counter(etapa,decimal-leading-zero); font: .79rem/1.4 var(--mono); color: var(--pine); margin-bottom: 12px; }
.process h3 { margin-bottom: 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 7vw, 110px); align-items: start; }
.case { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.case-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: var(--pine); color: var(--paper); }
.case-head span { font-size: .7rem; color: #d5e4da; }
.case details { border-top: 1px solid var(--line); padding-inline: 19px; }
.case summary { display: flex; align-items: center; gap: 11px; font-weight: 600; list-style: none; padding-block: 14px; }
.case summary::after { content: "+"; margin-left: auto; color: var(--pine); }
.case [open] summary::after { content: "−"; }
.case summary span { font-size: .69rem; color: var(--muted); }
.case details p { padding: 0 9px 15px 25px; color: var(--muted); font-size: .94rem; }
.architecture { background: var(--ink); color: var(--paper); }
.inverse-logo { margin-bottom: 24px; }
.architecture .body-copy, .layer-list dd { color: #d5e3d9; }
.layer-list div { padding: 18px 0; border-top: 1px solid #547267; }
.layer-list dt { color: var(--lime); font-weight: 620; margin-bottom: 6px; }
.diagnosis { padding: clamp(20px, 2.1vw, 35px); background: #eaf0e5; border-top: 3px solid var(--pine); }
.diagnosis ol { padding: 15px 0 4px 1.4rem; }
.diagnosis li { padding-bottom: 7px; }
.diagnosis li::marker { color: var(--pine); font-family: var(--mono); font-size: .85rem; }
.diagnosis details { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 13px; }
.foot { padding-block: 24px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.foot a:last-child { margin-left: auto; }
.legal { max-width: 710px; margin-inline: auto; padding-block: clamp(40px, 6vw, 80px); }
.legal h1 { font-size: clamp(2.8rem, 5.5vw, 4.7rem); }
.legal h2 { font-size: 1.5rem; margin: 30px 0 10px; letter-spacing: -.03em; }
.legal p:not(.eyebrow) { color: var(--muted); margin-top: 14px; }
.site-head .back { margin-left: auto; }

@media (max-width: 900px) {
  .site-head { min-height: 70px; gap: 14px; }
  .site-head nav { gap: 16px; }
  .hero { gap: 25px; }
  h1 { font-size: clamp(3rem, 5.5vw, 4.4rem); }
  .hero-figure figcaption, .figure-key { padding-inline: 15px; }
  .figure-key { font-size: .58rem; }
  .section-head, .split { gap: 30px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-head { min-height: 65px; }
  .site-head .identity img { width: 115px; }
  .site-head nav { display: none; }
  .head-action { margin-left: auto; font-size: .85rem; padding: 8px 13px; }
  .hero, .split, .section-head { grid-template-columns: 1fr; }
  .hero { padding-block: 34px; gap: 26px; }
  h1 { font-size: clamp(2.67rem, 8.8vw, 4.3rem); }
  .eyebrow { margin-bottom: 12px; font-size: .68rem; }
  .intro { margin-top: 15px; font-size: 1.02rem; }
  .actions { margin-top: 20px; gap: 16px; }
  .button.solid { padding: 11px 15px; }
  .figure-field { height: clamp(155px, 39vw, 235px); }
  .hero-figure figcaption { padding: 11px 16px; }
  .figure-key { font-size: .62rem; padding: 10px 16px; }
  .signal { left: 16px; top: 12px; }
  .section-head, .split { gap: 16px; }
  .scenario-grid, .process { grid-template-columns: 1fr; margin-top: 22px; }
  .scenario, .scenario:first-child, .scenario:last-child { padding: 18px 0; }
  .scenario + .scenario { border-left: 0; border-top: 1px solid var(--line); }
  .scenario h3 { margin-top: 10px; }
  .process { gap: 18px; }
  .process li { display: grid; grid-template-columns: 27px 1fr; gap: 4px 9px; }
  .process li::before { margin-bottom: 0; padding-top: 3px; }
  .process li p { grid-column: 2; }
  .process h3 { margin: 0; }
  .architecture .split { gap: 13px; }
  .foot { flex-wrap: wrap; gap: 10px 20px; }
  .foot a:last-child { margin-left: 0; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 28px); }
  .actions { gap: 13px; }
  .text-link, .button { font-size: .85rem; }
  .figure-key { padding-inline: 10px; font-size: .59rem; }
  .figure-key span { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-head nav, .head-action, .actions, .skip { display: none; }
  .site-head { min-height: 46px; }
  .hero, .roomy, .solution, .architecture { padding-block: 18px; }
  .architecture { background: white; color: var(--ink); }
  .architecture .body-copy, .layer-list dt, .layer-list dd { color: var(--ink); }
  .hero-figure { print-color-adjust: exact; }
}

/* Contato comercial e documentos institucionais. */
.positioning {max-width:44ch;line-height:1.5;}
.positioning::before{flex-shrink:0}
.meeting {border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,7vw,100px);padding-block:clamp(40px,5vw,78px);align-items:start}
.meeting h2{max-width:18ch}
.meeting-action {border-left:2px solid var(--pine);padding-left:clamp(18px,2.8vw,42px)}
.meeting-action p{color:var(--muted);margin-top:14px;max-width:48ch}
.meeting-action .contact-address{font-weight:650;color:var(--ink);overflow-wrap:anywhere}
.meeting-action small{display:block;margin-top:9px;line-height:1.55;color:var(--muted)}
.foot nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-left:auto}
.foot nav a,.legal a{display:inline-block;padding-block:6px;text-decoration:underline}
.legal .back{margin:12px 0}
@media(max-width:760px){.meeting{grid-template-columns:1fr}.foot nav{margin-left:0}.positioning{font-size:.68rem}.site-head{gap:12px}.meeting-action{padding-left:17px}}

