/* CSX Holding · site institucional.
   Base: protótipo da Maria Bertolini (estrutura, tom prata-frio). Fonte = Montserrat, a do site atual
   (o manual pede Noir Pro, que é licenciada e não existe no acervo; Montserrat é a praticada).
   A matriz é monocromática (manual p.9): hierarquia por escala, peso e luz, nunca por cor. */
@font-face { font-family: Montserrat; src: url("../fonts/montserrat-latin.woff2") format("woff2"); font-weight: 300 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Montserrat; src: url("../fonts/montserrat-latin-ext.woff2") format("woff2"); font-weight: 300 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #08090C;
  --bg-2: #0D1015;
  --linha: rgba(255, 255, 255, .11);
  --linha-forte: rgba(255, 255, 255, .26);
  --texto: #F6F7F8;
  --prata: #C3CDD9;
  --suave: #A3ADB9;          /* 8,3:1 sobre --bg */
  --claro: #F3F4F5;
  --tinta: #141A21;
  --tinta-suave: #55616E;    /* 6,1:1 sobre --claro */
  --tinta-fraca: #6A7582;    /* 4,6:1 sobre --claro: placeholder e rótulos */
  --linha-clara: #D3D8DE;

  --fonte: Montserrat, "Century Gothic", Arial, sans-serif;
  --rotulo: Montserrat, Arial, sans-serif;
  --max: 1360px;
  --gutter: clamp(20px, 5vw, 72px);
  --secao: clamp(104px, 12vw, 176px);
  --raio: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);       /* ease-out-expo */
  --topo-h: 80px;

  /* camadas */
  --z-topo: 100;
  --z-progresso: 110;
  --z-skip: 120;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--texto); font: 400 16px/1.75 var(--fonte); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button, [role="button"] { -webkit-tap-highlight-color: transparent; } /* cada alvo tem o seu próprio :active */
h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: #C9D6E3; color: #0B1118; }
:focus-visible { outline: 2px solid #9CC0E6; outline-offset: 4px; border-radius: 3px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: var(--z-skip); background: #fff; color: #000; padding: 12px 18px; border-radius: 6px; }
.skip:focus { top: 12px; }
.progresso { position: fixed; inset: 0 0 auto; height: 2px; z-index: var(--z-progresso); background: linear-gradient(90deg, #8FA3B9, #fff); transform: scaleX(0); transform-origin: left; }

/* ---------- Tipografia ---------- */
.h2 { font-size: clamp(34px, 4vw, 58px); font-weight: 300; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.h2--grande { font-size: clamp(40px, 5vw, 74px); line-height: 1.05; }
.tom { color: var(--suave); }
.lead { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.5; letter-spacing: -.012em; text-wrap: pretty; }
.texto { color: var(--suave); margin-top: 22px; max-width: 60ch; text-wrap: pretty; }

/* Montserrat 300 nos títulos grandes, como no site atual; 400+ fica pesado em tamanho de display */
.rodape__frase, .projeto__nome, .citacao blockquote, .hero__nota p:not(.hero__nota-apoio) { font-weight: 300; }

/* ---------- Botões e links ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .5s var(--ease), background .35s, color .35s, border-color .35s, box-shadow .5s var(--ease);
}
.botao:hover { transform: translateY(-2px); }
.botao:active { transform: translateY(0) scale(.98); }
.seta { display: inline-block; transition: transform .5s var(--ease); }
a:hover .seta, button:hover .seta { transform: translateX(4px); }
.botao--prata { background: linear-gradient(135deg, #fff 0%, #BAC6D3 100%); color: #10161D; box-shadow: 0 10px 40px rgba(195, 213, 232, .12); }
.botao--prata:hover { box-shadow: 0 16px 56px rgba(195, 213, 232, .24); }
.botao--contorno { background: transparent; border-color: var(--linha-forte); } /* <button> traz fundo do navegador */
.botao--contorno:hover { background: #E8EDF2; color: #0E141B; border-color: #E8EDF2; }
.botao--escuro { width: 100%; background: var(--tinta); color: #fff; }
.botao--escuro:hover { background: #26323F; }
.link-linha {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0;
  font-size: 15px; background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat, linear-gradient(rgba(163,173,185,.45), rgba(163,173,185,.45)) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease);
}
.link-linha:hover { background-size: 100% 1px, 100% 1px; }

/* ---------- Topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: var(--z-topo); height: var(--topo-h);
  display: flex; align-items: center; gap: 40px; padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s;
}
.topo.is-compacto { background: rgba(8, 9, 12, .8); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); border-bottom-color: rgba(255,255,255,.07); }
.topo__marca img { width: 118px; }
.topo__nav { display: flex; gap: 34px; margin-left: auto; font-size: 14px; }
.topo__nav a { position: relative; padding: 8px 0; color: #C7CDD4; transition: color .25s; }
.topo__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.topo__nav a:hover, .topo__nav a.is-ativo { color: #fff; }
.topo__nav a:hover::after, .topo__nav a.is-ativo::after { transform: scaleX(1); }
.topo__so-movel, .topo__nav-pe { display: none; }
.topo__cta { font-size: 14px; padding: 11px 22px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; transition: background .3s, color .3s; }
.topo__cta:hover { background: #fff; color: #0E141B; }
.topo__menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: max(760px, 100svh); display: flex; flex-direction: column; padding-top: calc(var(--topo-h) + clamp(56px, 11vh, 128px)); }
.hero__fundo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__fundo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; will-change: transform; }
.hero__fundo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(8,9,12,.9) 24%, rgba(8,9,12,.3) 58%, rgba(8,9,12,0) 80%),
    linear-gradient(0deg, var(--bg) 0%, rgba(8,9,12,.6) 24%, rgba(8,9,12,0) 50%),
    linear-gradient(180deg, rgba(8,9,12,.6) 0%, rgba(8,9,12,0) 18%);
}
.hero__corpo { flex: 1; }
.hero__olho { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; font: 500 11px/1.4 var(--rotulo); letter-spacing: .22em; text-transform: uppercase; color: var(--prata); }
.hero__olho span { width: 40px; height: 1px; background: currentColor; }
.hero__grade { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: end; }
.hero__titulo { font-size: clamp(56px, 6.8vw, 88px); font-weight: 300; line-height: 1; letter-spacing: -.035em; margin-bottom: 34px; }
.hero__titulo .linha { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__titulo .linha > span { display: block; }
.hero__sub { margin-top: .3em; font-size: .5em; line-height: 1.2; letter-spacing: -.03em; color: var(--prata); }
.hero__desc { max-width: 46ch; color: #C2C9D1; text-wrap: pretty; }
.hero__acoes { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 34px; margin-top: 38px; }

.hero__nota { padding-top: 26px; margin-bottom: 8px; border-top: 1px solid rgba(171, 186, 198, .45); }
.hero__nota-rot { display: block; margin-bottom: 18px; font: 500 11px/1.4 var(--rotulo); letter-spacing: .2em; text-transform: uppercase; color: var(--suave); }
.hero__nota p { font-size: 21px; line-height: 1.45; letter-spacing: -.01em; }
.hero__nota-fio { display: block; width: 44px; height: 1px; margin: 24px 0 20px; background: var(--linha-forte); }
.hero__nota .hero__nota-apoio { font-size: 16px; line-height: 1.75; letter-spacing: 0; color: var(--suave); }

.hero__pe { margin-top: clamp(64px, 9vh, 112px); padding-bottom: clamp(24px, 4vh, 40px); }
.faixa-marcas { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid var(--linha); }
.faixa-marcas li { display: grid; place-items: center; height: 104px; }
.faixa-marcas a { display: grid; place-items: center; width: 100%; height: 100%; }
.faixa-marcas li + li { border-left: 1px solid var(--linha); }
.faixa-marcas img { height: 22px; width: auto; max-width: 78%; object-fit: contain; opacity: .62; transition: opacity .4s; }
.faixa-marcas img.mc { height: 36px; }
.faixa-marcas img.cf { height: 18px; }
.faixa-marcas img.ax { height: 30px; }
.faixa-marcas li:hover img { opacity: 1; }
.faixa-marcas .copia { display: none; } /* cópias só existem para o letreiro do celular */

/* entrada do hero: coreografia única no carregamento */
@media (prefers-reduced-motion: no-preference) {
  .js .entra { animation: entra 1.3s var(--ease) both; animation-delay: calc(.1s + var(--i) * .08s); }
  .js .linha > .entra { animation-name: sobe; }
  .js .hero__fundo img { animation: abre 2.4s var(--ease) both; }
}
@keyframes entra { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }
@keyframes sobe { from { transform: translateY(108%); } }
@keyframes abre { from { opacity: 0; transform: scale(1.08); } }

/* surgimento ao rolar: realce progressivo; o conteúdo nunca fica transparente */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .surge { animation: surge linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
@keyframes surge { from { transform: translateY(48px); } } /* só movimento: nenhum renderizador pode capturar o bloco invisível */

/* ---------- Seções ---------- */
.secao { padding-block: var(--secao); }
.claro { background: var(--claro); color: var(--tinta); }
.claro .tom, .claro .texto { color: var(--tinta-suave); }
.duas { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 128px); }

.cabeca { display: grid; grid-template-columns: 1fr minmax(260px, 360px); gap: 24px 80px; align-items: end; margin-bottom: clamp(48px, 5vw, 80px); }
.cabeca__apoio { color: var(--suave); font-size: 16px; padding-bottom: 8px; text-wrap: pretty; }
.claro .cabeca__apoio { color: var(--tinta-suave); }
.cabeca--centro { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.cabeca--centro .cabeca__apoio { max-width: 52ch; }

/* A holding */
.citacao { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--linha-clara); max-width: 32ch; }
.citacao blockquote { font-size: 21px; line-height: 1.45; letter-spacing: -.01em; }
.citacao blockquote::before { content: "“"; }
.citacao blockquote::after { content: "”"; }
.citacao figcaption { margin-top: 12px; font-size: 14px; color: var(--tinta-fraca); }

.principios { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 0 28px; }
.principios li { display: grid; grid-row: span 2; grid-template-rows: subgrid; padding-top: 22px; border-top: 1px solid var(--tinta); } /* títulos e textos alinhados entre as colunas */
.principios h3 { font-size: 19px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.principios p { margin-top: 10px; color: var(--tinta-suave); font-size: 15px; line-height: 1.6; }

/* ---------- Negócios: índice de frentes ---------- */
.negocios { background: var(--bg); }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filtros button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--linha-forte); border-radius: 999px; background: transparent; color: #B3BDC8; font-size: 14px; transition: background .3s, color .3s, border-color .3s; }
.filtros button span { font: 400 11px/1 var(--rotulo); color: #7D8894; font-variant-numeric: tabular-nums; }
.filtros button:hover { border-color: #A6B8CA; color: #fff; }
.filtros button.is-ativo { background: #E3E9EF; color: #0D131B; border-color: #E3E9EF; }
.filtros button.is-ativo span { color: #5B6876; }
.filtros button:active { transform: scale(.97); }
.frente a:active::before { clip-path: inset(0 0 0 0); transition-duration: .25s; }

.indice { border-top: 1px solid var(--linha-forte); }
.frente[hidden] { display: none; }
.frente a {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(170px, 1fr) minmax(150px, .8fr) 2fr 52px; gap: 40px; align-items: center;
  padding: 36px 12px 36px 0; border-bottom: 1px solid var(--linha);
}
.frente a::before { /* faixa de luz que entra da esquerda no hover */
  content: ""; position: absolute; inset: -1px calc(var(--gutter) * -1) 0; z-index: -1;
  background: linear-gradient(90deg, rgba(195, 213, 232, .085), rgba(195, 213, 232, .02) 70%, transparent);
  clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease);
}
.frente a:hover::before, .frente a:focus-visible::before { clip-path: inset(0 0 0 0); }
.frente__logo img { height: 32px; width: auto; opacity: .78; transition: opacity .4s, transform .8s var(--ease); }
.frente__logo img.mc { height: 50px; }
.frente__logo img.cf { height: 26px; }
.frente__logo img.ax { height: 42px; }
.frente a:hover .frente__logo img { opacity: 1; transform: translateX(10px); }
.frente__area { font-size: 15px; color: var(--prata); line-height: 1.45; }
.frente__txt { color: var(--suave); font-size: 16px; line-height: 1.6; max-width: 52ch; transition: color .4s; }
.frente__txt small { display: grid; gap: 4px; margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--prata); }
.frente__txt small b { font: 400 12px/1.4 var(--rotulo); letter-spacing: .04em; color: #7D8894; }
.frente a:hover .frente__txt { color: #D5DBE2; }
.frente__seta {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--linha-forte); font-size: 18px; transition: background .4s, color .4s, border-color .4s, transform .8s var(--ease);
}
.frente a:hover .frente__seta { background: #fff; color: var(--bg); border-color: #fff; transform: rotate(45deg); }

/* ---------- Ecossistema ---------- */
.ecossistema { position: relative; background: var(--bg); border-top: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.ecossistema::before { content: ""; position: absolute; left: 50%; bottom: -10%; width: min(1400px, 120vw); aspect-ratio: 2 / 1; translate: -50% 0; background: radial-gradient(50% 60% at 50% 70%, rgba(150, 175, 205, .14), transparent 70%); pointer-events: none; }
.mapa {
  position: relative; padding: clamp(24px, 4vw, 64px) clamp(12px, 4vw, 64px) clamp(16px, 2.5vw, 40px);
  border: 1px solid var(--linha); border-radius: 10px;
  background: radial-gradient(80% 90% at 50% 0%, #161C25 0%, #0A0C10 70%);
}
.eco { display: block; width: 100%; height: auto; }
.mapa__rolo { cursor: zoom-in; border-radius: 6px; }
.mapa-modal__dica { display: none; position: absolute; left: 20px; top: 26px; font-size: 13px; color: var(--suave); }
.mapa__acao { position: relative; display: flex; justify-content: center; margin-top: 32px; }

.mapa-modal { width: min(1500px, 94vw); max-height: 92vh; padding: 64px 16px 16px; background: #0B0E12; color: #fff; border: 1px solid #3A4654; border-radius: 10px; }
.mapa-modal::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.mapa-modal[open] { animation: modal .5s var(--ease); }
@keyframes modal { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.mapa-modal__fechar { position: absolute; right: 18px; top: 16px; display: inline-flex; gap: 8px; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--linha-forte); border-radius: 999px; background: none; font-size: 14px; }
.mapa-modal__rolo { overflow: auto; max-height: calc(92vh - 96px); }
.mapa-modal__rolo .eco { min-width: 1000px; }

/* ---------- Empreendimentos ----------
   Grade de 3 colunas em ritmo 2+1 / 1+1+1 / 1+2. Cada foto tem o seu ponto focal (--foco),
   porque o mesmo recorte não serve para panorama, retrato e o trilho do celular. */
.projetos__barra { margin-bottom: 36px; }
.filtros--claro { margin-bottom: 0; }
.filtros--claro button { border-color: #C5CDD6; color: var(--tinta-suave); }
.filtros--claro button span { color: var(--tinta-fraca); }
.filtros--claro button:hover { border-color: var(--tinta); color: var(--tinta); }
.filtros--claro button.is-ativo { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.filtros--claro button.is-ativo span { color: #AEB8C3; }

.projetos { --alto: clamp(300px, 33vw, 480px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 56px 32px; }
.projeto[hidden] { display: none; }
.projeto--largo { grid-column: span 2; }
.projeto a { display: flex; flex-direction: column; height: 100%; }
.projeto__img { position: relative; display: block; overflow: hidden; border-radius: var(--raio); background: #DCE1E6; aspect-ratio: 4 / 3; }
.projeto--largo .projeto__img, .projeto--par .projeto__img { aspect-ratio: auto; height: var(--alto); }
.projeto__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--foco, 50% 50%); transition: transform 1.6s var(--ease), filter .8s; filter: saturate(.9); }
.projeto__img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(20, 26, 33, .06); pointer-events: none; }
.projeto__info { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 22px 0 20px; border-bottom: 1px solid var(--linha-clara); }
.projeto__rot { font-size: 14px; color: var(--tinta-fraca); }
.projeto__nome { font-size: clamp(26px, 2.2vw, 32px); letter-spacing: -.03em; line-height: 1.15; }
.projeto--largo .projeto__nome { font-size: clamp(30px, 2.8vw, 40px); }
.projeto__desc { color: var(--tinta-suave); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.projeto__link { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 14px; font-size: 14px; color: var(--tinta-suave); transition: color .3s; }
.seta--baixo { transition: transform .5s var(--ease); }
@media (hover: hover) {
  .projeto a:hover .projeto__img img { transform: scale(1.045); filter: saturate(1.05); }
  .projeto a:hover .projeto__link { color: var(--tinta); }
  .projeto a:hover .seta { transform: translate(3px, -3px); }
  .projeto a:hover .seta--baixo { transform: translateY(4px); }
}
.trilho-nav { display: none; }
.projetos__nota { margin-top: 40px; font-size: 13px; color: var(--tinta-fraca); }

/* ---------- Impacto ---------- */
.impacto { background: radial-gradient(60% 80% at 85% 100%, #151C26 0%, var(--bg) 70%); }
.impacto__logo { height: 54px; width: auto; margin-bottom: 48px; }
.duas--impacto { grid-template-columns: 6fr 5fr; align-items: end; }
.impacto__dir { padding-bottom: 8px; }
.frentes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.frentes li { padding: 9px 18px; border: 1px solid var(--linha-forte); border-radius: 999px; font-size: 14px; color: #D3DAE2; }
/* iniciativas conectadas ao Instituto (as mesmas do mapa) */
.conexoes { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--linha); }
.conexoes p { font-size: 14px; color: var(--suave); }
.conexoes ul { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; margin-top: 18px; }
.conexoes img { height: 34px; width: auto; opacity: .8; }
.impacto__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 40px; }

/* ---------- Contato ---------- */
.canais { margin-top: 40px; border-top: 1px solid var(--linha-clara); }
.canais div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linha-clara); font-size: 16px; }
.canais dt { font-size: 14px; color: var(--tinta-fraca); padding-top: 1px; }
.canais a { overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.canais a:hover { background-size: 100% 1px; }

.painel { align-self: start; display: grid; gap: 22px; padding: clamp(28px, 3.5vw, 44px); background: #fff; border: 1px solid #E2E6EA; border-radius: 10px; box-shadow: 0 30px 70px -30px rgba(20, 26, 33, .22); }
.campo { display: grid; gap: 10px; }
.campo label { font-size: 16px; }
.opc { color: var(--tinta-fraca); font-size: 14px; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; font-size: 16px; color: var(--tinta);
  background: var(--claro); border: 1px solid #C9D1DA; border-radius: 6px; transition: border-color .25s, background .25s, box-shadow .25s;
  appearance: none; -webkit-appearance: none;
}
.campo select { padding-right: 46px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2355616E' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.campo textarea { resize: vertical; min-height: 104px; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--tinta-fraca); }
.campo :is(input, select, textarea):hover { border-color: #9AA6B3; }
.campo :is(input, select, textarea):focus { outline: none; border-color: var(--tinta); background: #fff; box-shadow: 0 0 0 4px rgba(20, 26, 33, .08); }
.campo.is-erro input { border-color: #B42318; }
.campo__erro { font-size: 14px; color: #B42318; }
.campo__erro:empty { display: none; }
.painel__nota { font-size: 13px; color: var(--tinta-fraca); text-align: center; margin-top: -6px; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--bg); padding-top: clamp(80px, 10vw, 136px); }
.rodape__frase { max-width: 22ch; font-size: clamp(30px, 3.8vw, 54px); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; padding-bottom: clamp(56px, 7vw, 96px); }
.rodape__frase span { color: var(--suave); }
.rodape__topo { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding: 48px 0 56px; border-top: 1px solid var(--linha); }
.rodape__marca img { width: 130px; }
.rodape__marca address { margin-top: 22px; color: var(--suave); font-size: 15px; line-height: 1.6; }
.rodape__col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.rodape__col span { font-size: 14px; color: #8C98A6; margin-bottom: 6px; }
.rodape__col a { color: #C7CDD4; width: fit-content; transition: color .25s; }
.rodape__col a:hover { color: #fff; }
.rodape__base { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid var(--linha); font-size: 13px; color: #98A5B7; }
.rodape__base a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ================= Responsivo ================= */
@media (max-width: 1180px) {
  .topo__nav { gap: 24px; }
  .hero__grade { grid-template-columns: 1fr 270px; gap: 40px; }
  .frente a { grid-template-columns: minmax(150px, 1fr) 2fr 52px; gap: 28px; }
  .frente__area { display: none; }
}

@media (max-width: 960px) {
  :root { --topo-h: 72px; }
  .topo { gap: 16px; }
  .topo__cta { display: none; }
  .topo__menu { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; height: 44px; padding: 0 16px 0 18px; border: 1px solid var(--linha-forte); border-radius: 999px; background: transparent; font-size: 14px; }
  .topo__menu-ico { display: grid; gap: 5px; }
  .topo__menu-ico i { display: block; width: 16px; height: 1.5px; background: #fff; transition: transform .45s var(--ease); }
  .topo__menu[aria-expanded="true"] .topo__menu-ico i:first-child { transform: translateY(3.25px) rotate(45deg); }
  .topo__menu[aria-expanded="true"] .topo__menu-ico i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .topo__nav {
    position: fixed; inset: var(--topo-h) 0 auto; height: calc(100svh - var(--topo-h)); margin: 0;
    flex-direction: column; gap: 0; padding: 16px var(--gutter) 32px; background: var(--bg);
    border-top: 1px solid var(--linha); opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .45s var(--ease), visibility 0s .45s;
  }
  .topo__nav a { font-size: 28px; font-weight: 300; letter-spacing: -.02em; color: #fff; padding: 16px 0; border-bottom: 1px solid var(--linha); }
  .topo__nav a::after { display: none; }
  .topo__so-movel { display: block; }
  .topo__nav-pe { display: grid; gap: 6px; margin-top: auto; padding-top: 28px; font-size: 15px; color: var(--suave); }
  .topo__nav .topo__nav-pe a { padding: 6px 0; border: 0; font-size: 16px; letter-spacing: 0; color: #DCE2E8; }
  .menu-aberto .topo__nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .45s var(--ease); }
  .menu-aberto .topo { background: var(--bg); }
  .menu-aberto body { overflow: hidden; }

  .hero__grade { grid-template-columns: 1fr; gap: 48px; }
  .hero__nota { max-width: 420px; }
  .hero__fundo img { object-position: 64% 40%; }
  .hero__fundo::after { background: linear-gradient(90deg, rgba(8,9,12,.92) 0%, rgba(8,9,12,.4) 100%), linear-gradient(0deg, var(--bg) 4%, rgba(8,9,12,0) 60%); }
  .faixa-marcas { grid-template-columns: repeat(4, 1fr); }
  .faixa-marcas li { height: 76px; }
  .faixa-marcas li:nth-child(5) { border-left: 0; }
  .faixa-marcas li:nth-child(n+5) { border-top: 1px solid var(--linha); }
  .faixa-marcas img { height: 16px; }
  .faixa-marcas img.mc { height: 28px; }
  .faixa-marcas img.cf { height: 13px; }
  .faixa-marcas img.ax { height: 22px; }

  .duas, .duas--impacto { grid-template-columns: 1fr; }
  .cabeca { grid-template-columns: 1fr; gap: 20px; }
  .cabeca__apoio { padding-bottom: 0; max-width: 52ch; }
  .principios { grid-template-columns: 1fr; grid-template-rows: none; gap: 0; }
  .principios li { grid-row: auto; grid-template-rows: none; }
  .principios li { padding: 20px 0 22px; border-top-color: var(--linha-clara); }
  .principios li:first-child { border-top-color: var(--tinta); }

  .frente a { grid-template-columns: 1fr 48px; gap: 16px 20px; padding: 28px 0; }
  .frente__logo { grid-column: 1; grid-row: 1; }
  .frente__seta { grid-column: 2; grid-row: 1; width: 48px; height: 48px; }
  .frente__area { display: block; grid-column: 1 / -1; grid-row: 2; }
  .frente__txt { grid-column: 1 / -1; grid-row: 3; }
  .frente a:hover .frente__logo img { transform: none; }

  /* 2 colunas: a primeira fica inteira (panorama), as demais em pares; nenhuma fica sozinha */
  .projetos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 24px; }
  .projeto--largo { grid-column: auto; }
  .projeto--largo:first-child { grid-column: 1 / -1; }
  .projeto--largo .projeto__img, .projeto--par .projeto__img { height: auto; aspect-ratio: 4 / 3; }
  .projeto--largo:first-child .projeto__img { aspect-ratio: 2 / 1; }
  .projeto__img img { object-position: var(--foco-t, var(--foco, 50% 50%)); }

  .rodape__topo { grid-template-columns: 1fr 1fr; }
  .rodape__marca { grid-column: 1 / -1; }
}

/* ---------- Celular ----------
   Cada seção revista para 390px: nada cortado pela borda sem querer, alvos de toque ≥ 44px,
   o que rola de lado avisa que rola, e o hero não deixa vão vazio para "encher a tela". */
@media (max-width: 620px) {
  :root { --secao: 88px; }
  body { font-size: 16px; }
  .h2 { font-size: clamp(32px, 9vw, 40px); line-height: 1.1; }

  /* hero */
  .hero { min-height: 0; padding-top: calc(var(--topo-h) + 52px); }
  .hero__corpo { flex: none; }
  .hero__olho { margin-bottom: 24px; font-size: 11px; }
  .hero__titulo { font-size: clamp(48px, 13.6vw, 64px); margin-bottom: 24px; }
  .hero__desc { font-size: 16px; line-height: 1.65; }
  .hero__acoes { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 32px; }
  .hero__acoes .botao { width: 100%; }
  .hero__acoes .link-linha { align-self: center; }
  .hero__grade { gap: 44px; }
  .hero__nota { margin: 0; padding-top: 22px; }
  .hero__nota p { font-size: 20px; }
  .hero__nota .hero__nota-apoio { font-size: 15px; }
  /* faixa de marcas vira letreiro contínuo, com as marcas em tamanho legível */
  .hero__pe { margin-top: 48px; padding: 0; overflow: hidden; border-top: 1px solid var(--linha); -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
  .faixa-marcas { display: flex; width: max-content; border-top: 0; animation: letreiro 36s linear infinite; }
  .faixa-marcas li, .faixa-marcas .copia { display: grid; flex: none; height: 76px; padding-inline: 26px; border: 0 !important; }
  .faixa-marcas img { height: 19px; max-width: none; opacity: .72; }
  .faixa-marcas img.mc { height: 34px; }
  .faixa-marcas img.cf { height: 15px; }
  .faixa-marcas img.ax { height: 26px; }

  /* filtros que rolam de lado: esmaecem na borda para avisar que há mais */
  .filtros { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
  .filtros::-webkit-scrollbar { display: none; }
  .filtros button { flex: none; }
  .filtros button:last-child { margin-right: 28px; }

  /* frentes */
  .frente a { gap: 10px 16px; padding: 26px 0; }
  .frente__logo img { height: 26px; }
  .frente__logo img.mc { height: 42px; }
  .frente__logo img.cf { height: 21px; }
  .frente__logo img.ax { height: 36px; }
  .frente__seta { width: 44px; height: 44px; font-size: 16px; }
  .frente__area { margin-top: 6px; font-size: 13px; letter-spacing: .01em; color: #8C98A6; }
  .frente__txt { font-size: 15.5px; line-height: 1.6; }
  .frente__txt small { margin-top: 12px; font-size: 13.5px; }

  /* ecossistema: o mapa inteiro cabe na tela; tocar abre a versão ampliada */
  .mapa { padding: 18px 8px 12px; }
  .mapa__acao { margin-top: 24px; }
  .mapa__acao .botao { width: 100%; }
  .mapa-modal { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 68px 0 0; border: 0; border-radius: 0; }
  .mapa-modal__rolo { height: 100%; max-height: none; display: flex; align-items: center; overscroll-behavior: contain; }
  .mapa-modal__rolo .eco { width: 1120px; min-width: 1120px; padding-inline: 16px; }
  .mapa-modal__dica { display: block; }

  /* empreendimentos: trilho com cartões em retrato, rolagem por encaixe */
  .projetos__barra { margin-bottom: 28px; }
  .projetos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .projetos::-webkit-scrollbar { display: none; }
  .projeto { flex: 0 0 84%; scroll-snap-align: start; }
  .projeto:last-child { margin-right: 4px; }
  .projeto .projeto__img, .projeto--largo .projeto__img, .projeto--par .projeto__img, .projeto--largo:first-child .projeto__img { height: auto; aspect-ratio: 4 / 5; }
  .projeto__img img { object-position: var(--foco-m, var(--foco, 50% 50%)); }
  .projeto__info { gap: 4px; padding: 18px 0 18px; }
  .projeto__rot { font-size: 13px; }
  .projeto__nome, .projeto--largo .projeto__nome { font-size: 26px; }
  .projeto__desc { font-size: 15px; }
  .projeto a:active .projeto__img img { transform: scale(.985); transition-duration: .3s; }
  .trilho-nav { display: flex; align-items: center; gap: 16px; margin-top: 22px; font-size: 13px; color: var(--tinta-fraca); font-variant-numeric: tabular-nums; }
  .trilho-nav__conta b { font-weight: 400; color: var(--tinta); }
  .trilho-nav__barra { position: relative; flex: 1; height: 1px; background: var(--linha-clara); overflow: hidden; }
  .trilho-nav__barra i { position: absolute; left: 0; top: 0; height: 100%; background: var(--tinta); transition: translate .45s var(--ease), width .45s var(--ease); }
  .trilho-nav button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #C5CDD6; border-radius: 50%; background: none; font-size: 16px; color: var(--tinta); }
  .trilho-nav button:active { background: var(--tinta); color: #fff; }
  .projetos__nota { margin-top: 24px; font-size: 12px; line-height: 1.5; }

  /* impacto */
  .impacto__logo { height: 44px; margin-bottom: 36px; }
  .frentes { margin-top: 28px; }
  .conexoes ul { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .conexoes li { display: flex; align-items: center; min-height: 44px; }
  .conexoes img { height: 30px; max-width: 100%; object-fit: contain; }
  .impacto__acoes { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 36px; }
  .impacto__acoes .botao { width: 100%; }
  .impacto__acoes .link-linha { align-self: center; }

  /* contato */
  .canais { margin-top: 32px; }
  .canais div { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .canais a { display: inline-block; padding-block: 4px; }
  .painel { padding: 26px 20px; gap: 20px; }

  /* rodapé: navegação e contato lado a lado */
  .rodape__frase { padding-bottom: 48px; }
  .rodape__topo { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding: 40px 0 44px; }
  .rodape__col { gap: 4px; }
  .rodape__col a { padding-block: 6px; }
  .rodape__base { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .rodape__base a { padding-block: 6px; }
}
@keyframes letreiro { to { transform: translateX(-50%); } }
@media (max-width: 620px) and (prefers-reduced-motion: reduce) {
  .hero__pe { overflow-x: auto; }
}
