/* GRADIUM: Inter e seus sete pesos compõem o mecanismo do wordmark. */
@font-face { font-family: Inter; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/inter-300.woff2') format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/inter-800.woff2') format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/inter-900.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/jetbrainsmono-400.woff2') format('woff2'); }

/* Tokens do manual. Bronze ocupa apenas acentos, nunca grandes superfícies.
   Bronze-texto: apenas botão branco ou texto sobre Papel; nunca sobre escuro. */
:root {
  color-scheme: dark;
  --grafite: #1C1E1D;
  --grafite-600: #5C5D59;
  --grafite-100: #D3D0C8;
  --petroleo: #173236;
  --petroleo-600: #596B6B;
  --bronze: #93714E;
  --bronze-lt: #CDBDA9;
  --bronze-texto: #896949;
  --pedra: #E8E6DF;
  --papel: #F6F5F1;
  --cinza: #8B857C;
  --line: rgb(232 230 223 / 18%);
  --gutter: clamp(24px, 5vw, 80px);
  --column-gap: clamp(32px, 5vw, 72px);
  --radius-photo: 10px;
  --ease-settle: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grafite); color: var(--pedra); font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.8vw, 54px); font-weight: 500; letter-spacing: -.045em; }
h3 { font-weight: 500; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 5px; touch-action: manipulation; }
a:focus-visible, [tabindex='-1']:focus-visible { outline: 2px solid var(--bronze-lt); outline-offset: 6px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--pedra); color: var(--grafite); }
.wrap { width: min(100%, 1440px); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 112px; }
.section-label { font-size: 13px; font-weight: 500; color: var(--bronze-lt); margin-bottom: 30px; }
.body-copy { color: var(--grafite-100); max-width: 57ch; }
.skip-link { position: absolute; top: 12px; left: 24px; z-index: 100; padding: 12px 20px; background: var(--pedra); color: var(--grafite); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 14px 24px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; transition: transform .16s ease; }
.btn-primary { background: var(--bronze-texto); color: #fff; }
.btn-primary:hover { background: var(--pedra); color: var(--grafite); }
.btn-secondary { border-color: var(--petroleo-600); }
.btn-secondary:hover { border-color: var(--pedra); background: var(--petroleo); }
.btn-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; }

/* Área de proteção e mínimo digital de 120px, inclusive no celular. */
.nav { position: sticky; top: 0; z-index: 50; background: var(--grafite); }
.nav-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; flex-shrink: 0; align-items: baseline; font-size: 28px; line-height: 1; text-decoration: none; }
.wordmark span { display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links > a:not(.btn) { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; }
.nav-links > a:not(.btn):hover { color: var(--bronze-lt); }
.nav-cta { min-height: 44px; padding: 11px 18px; font-size: 13px; }
.nav-cta-short { display: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; border-left: 1px solid var(--line); padding-left: 16px; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 35px; min-height: 44px; color: var(--grafite-100); font-size: 12px; font-weight: 600; text-decoration: none; }
.lang-switch a:is(:hover, :focus-visible) { color: var(--papel); }
.lang-switch a[aria-current="page"] { color: var(--papel); text-decoration: underline; text-decoration-color: var(--bronze-lt); text-underline-offset: 6px; }

/* A mesma grade e os mesmos enquadramentos unem a narrativa editorial.
   Camadas: fundo 0, conteúdo 1, legenda integrada 2, navegação 50. */
.hero, .territories { position: relative; isolation: isolate; }
.hero > .wrap, .territories > .wrap { position: relative; z-index: 1; }
.hero { padding-top: 48px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: var(--column-gap); }
.hero h1 { font-size: clamp(68px, 7.65vw, 110px); line-height: 1; font-weight: 500; letter-spacing: -.055em; }
.hero-copy { max-width: 32ch; margin-top: 28px; font-size: 18px; color: var(--grafite-100); }
.hero .btn-row { margin-top: 28px; }
.hero-note { margin-top: 14px; font-size: 12px; color: var(--bronze-lt); }
.photo-frame { position: relative; overflow: hidden; border-radius: var(--radius-photo); background: var(--petroleo); box-shadow: 0 14px 32px rgb(28 30 29 / 12%); }
.photo-frame::after { content: ''; position: absolute; inset: 0; border: 1px solid rgb(232 230 223 / 12%); border-radius: inherit; pointer-events: none; }
.photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-visual { height: clamp(420px, 38vw, 550px); }
.hero-visual img { object-position: 52% 48%; }
.density { position: absolute; right: 0; bottom: 24px; width: 32%; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.density span { display: block; height: 3px; background: var(--pedra); }
.density span:nth-child(1) { width: 76%; opacity: .35; }
.density span:nth-child(2) { width: 100%; opacity: .5; }
.density span:nth-child(3) { width: 62%; opacity: .75; }
.density span:nth-child(4) { width: 89%; opacity: .75; }
.density span:nth-child(5) { width: 100%; }
.density span:nth-child(6) { width: 38%; margin-top: 4px; background: var(--bronze-lt); }
.hero-context { margin-top: 40px; padding-block: 24px; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); font-size: 12px; }
.hero-context p { color: var(--bronze-lt); }
.sectors { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
/* Blocos horizontais derivados da marca, concentrados fora das zonas de leitura. */
.structure-lines { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.structure-lines span { position: absolute; right: 0; width: 42%; height: 1px; background: var(--pedra); opacity: .045; }
.structure-lines span:nth-child(1) { top: 12%; width: 54%; }
.structure-lines span:nth-child(2) { top: 18%; }
.structure-lines span:nth-child(3) { top: 24%; width: 32%; height: 20px; opacity: .018; }
.operation { padding-top: 80px; padding-bottom: 0; position: relative; z-index: 2; }
.recognition { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: var(--column-gap); }
.recognition h2 { max-width: 14em; font-size: clamp(32px, 3.1vw, 46px); }
.recognition-intro { margin-top: 24px; max-width: 38ch; }
.problem-list { margin: 0; padding: 0; list-style: none; }
.problem-list li { padding-block: 24px; border-bottom: 1px solid var(--line); }
.problem-list li:first-child { padding-top: 0; }
.problem-list h3 { font-size: clamp(21px, 2vw, 28px); letter-spacing: -.025em; }
.scene-bridge { padding-top: 56px; margin-bottom: -88px; }
.scene-photo { height: clamp(300px, 32vw, 470px); }
.scene-photo img { object-position: center 48%; }
.territories { background: var(--petroleo); padding-top: 172px; padding-bottom: 88px; }
.territories-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; gap: var(--column-gap); }
.territories-photo { min-height: 510px; margin-top: 40px; }
.territories-photo img { position: absolute; inset: 0; object-position: center 88%; filter: saturate(.68) contrast(.94); }
.territories-content { padding-top: 0; }
.section-heading { margin-bottom: 40px; }
.section-heading h2 { max-width: 13em; }
.territory { padding-block: 26px; border-top: 1px solid var(--line); }
.territory h3 { font-size: clamp(25px, 2.5vw, 34px); letter-spacing: -.035em; margin-bottom: 12px; }
.territory p { max-width: 46ch; color: var(--grafite-100); font-size: 15px; }
.territory:last-child { padding-bottom: 0; }
.method { background: var(--petroleo); padding-block: 0; position: relative; z-index: 2; }
.method > .wrap { display: flow-root; }
.method-panel { background: var(--papel); color: var(--grafite); color-scheme: light; padding: 48px; border-radius: var(--radius-photo); margin-bottom: -56px; }
.method .section-label { color: var(--bronze-texto); margin-bottom: 18px; }
.method h2 { font-size: clamp(30px, 3.1vw, 44px); max-width: none; }
.method .body-copy { color: var(--grafite-600); margin-top: 16px; }
.method-grid { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; }
.method-grid li { display: flex; flex-direction: column; gap: 12px; }
.method-bar { height: 5px; background: var(--grafite-100); margin-bottom: 8px; }
.method-grid li:nth-child(2) .method-bar { background: var(--cinza); }
.method-grid li:nth-child(3) .method-bar { background: var(--grafite-600); }
.method-grid li:nth-child(4) .method-bar { background: var(--petroleo); }
.method-grid li:nth-child(5) .method-bar { background: var(--grafite); }
.method-number { font-family: 'JetBrains Mono', monospace; font-size: 32px; line-height: 1.2; color: var(--bronze); }
.method-name { font-size: clamp(15px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.025em; }
.closing { padding-top: 152px; padding-bottom: 96px; }
.closing-grid { display: grid; grid-template-columns: .85fr 1.15fr; grid-template-areas: 'visual profile' 'visual contact'; gap: 48px var(--column-gap); }
.closing-profile { grid-area: profile; }
.closing-profile h2 { max-width: 14em; font-size: clamp(30px, 3.1vw, 44px); }
.fit-copy { margin-top: 24px; max-width: 44ch; }
.fit-position { grid-area: visual; position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 24px; }
.fit-photo { position: absolute; inset: 0 24px 0 0; }
.fit-photo img { object-position: center 58%; filter: saturate(.42) brightness(.76) contrast(1.04); }
.fit-caption { position: relative; z-index: 2; margin-left: 32px; padding: 26px 28px; background: var(--grafite); border: 1px solid var(--line); border-radius: 6px; }
.fit-caption h3 { font-size: 21px; margin-bottom: 14px; }
.fit-caption p { color: var(--grafite-100); font-size: 14px; }
.contact { grid-area: contact; border-top: 1px solid var(--line); padding-top: 36px; }
.contact .section-label { margin-bottom: 20px; }
.contact h2 { font-size: clamp(34px, 3.4vw, 48px); max-width: 13em; }
.contact-copy { margin-top: 24px; }
.contact-copy p { color: var(--grafite-100); max-width: 43ch; }
.contact-copy .btn-row { margin-top: 24px; }
.footer { border-top: 1px solid var(--line); padding-block: 48px 24px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.footer .wordmark { font-size: clamp(32px, 5.3vw, 76px); }
.footer-signature { margin-top: clamp(32px, 4.1vw, 60px); font-size: 14px; color: var(--bronze-lt); }
.footer-contact { font-style: normal; font-size: 14px; }
.footer-contact a { display: flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; color: var(--grafite-100); font-size: 11px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; margin-top: -12px; }
@media (max-width: 1000px) {
  .nav-links { gap: 22px; }
  .hero h1 { font-size: clamp(64px, 7.8vw, 80px); }
  .hero-context { flex-direction: column; gap: 12px; }
  .hero-visual { height: 460px; }
  .method-panel { padding: 36px; }
  .method-grid { gap: 16px; }
  .territories-photo { min-height: 480px; }
  .closing-grid { gap: 36px var(--column-gap); }
  .fit-caption { margin-left: 16px; padding: 22px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 24px; }
  .nav { position: relative; }
  .nav-inner { min-height: 88px; gap: 18px; }
  .wordmark { font-size: 26px; }
  .nav-links { gap: 8px; }
  .nav-links > a:not(.btn) { display: none; }
  .nav-cta { font-size: 12px; padding-inline: 13px; }
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
  .lang-switch { padding-left: 8px; gap: 0; }
  .lang-switch a { min-width: 32px; }
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(62px, 13.5vw, 90px); }
  .hero .section-label { margin-bottom: 24px; }
  .hero-copy { margin-top: 24px; font-size: 16px; }
  .hero .btn-row { gap: 12px 22px; }
  .hero-note { max-width: 35ch; }
  .hero-visual { height: min(76vw, 440px); margin-left: 24px; }
  .hero-context { margin-top: 24px; }
  .sectors { gap: 8px 18px; }
  .section-label { margin-bottom: 20px; }
  .operation { padding-top: 56px; }
  .recognition { grid-template-columns: 1fr; gap: 32px; }
  .recognition h2 { max-width: 15em; }
  .recognition-intro { margin-top: 20px; }
  .problem-list li { padding-block: 20px; }
  .scene-bridge { padding-top: 36px; margin-bottom: -40px; }
  .scene-photo { height: 64vw; min-height: 230px; }
  .territories { padding-block: 88px 56px; }
  .territories-layout { grid-template-columns: 1fr; gap: 0; }
  .territories-content { display: contents; }
  .territories .section-heading { grid-row: 1; margin-bottom: 24px; }
  .territories-photo { grid-row: 2; min-height: 0; height: 64vw; max-height: 360px; margin: 0 24px 32px 0; }
  .territories-photo img { object-position: center 94%; }
  .section-heading { margin-bottom: 28px; }
  .territory { padding-block: 24px; }
  .territory h3 { font-size: 27px; }
  .method-panel { padding: 32px 24px; margin-bottom: -32px; }
  .method .body-copy { font-size: 15px; }
  .method-grid { grid-template-columns: 1fr; gap: 0; }
  .method-grid li { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 16px; padding-block: 20px; position: relative; }
  .method-bar { position: absolute; height: 2px; left: 0; right: 0; top: 0; margin: 0; }
  .method-number { font-size: 27px; }
  .method-name { font-size: 22px; }
  .closing { padding-block: 88px 56px; }
  .closing-grid { grid-template-columns: 1fr; grid-template-areas: 'profile' 'visual' 'contact'; gap: 32px; }
  .fit-copy { margin-top: 20px; }
  .fit-position { min-height: 410px; padding-bottom: 16px; }
  .fit-photo { right: 16px; }
  .fit-caption { margin-left: 24px; padding: 22px; }
  .contact { padding-top: 28px; }
  .contact-copy .btn-row { align-items: stretch; }
  .contact-copy .btn { flex: 1 1 auto; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 28px; }
  .footer-signature { margin-top: 32px; }
  .footer-contact { font-size: 13px; }
  .footer-legal { margin-top: 28px; }
}
@media (max-width: 359px) {
  .nav-inner { flex-wrap: wrap; padding-block: 24px; gap: 24px; }
  .hero h1 { font-size: 52px; }
  .hero .btn-row { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 280ms var(--ease-settle), color 280ms var(--ease-settle), border-color 280ms var(--ease-settle), transform 160ms var(--ease-settle); }
  .btn:active { transform: translateY(1px); }
  .nav-links > a:not(.btn)::after, .text-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform 420ms var(--ease-settle); }
  .text-link { position: relative; text-decoration: none; }
  .text-link::after { transform: scaleX(.22); transform-origin: left center; }
  .nav-links > a:not(.btn):is(:hover, :focus-visible)::after, .text-link:is(:hover, :focus-visible)::after { transform: scaleX(1); transform-origin: left center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
