/* =============================================================
   VILA NOVA — Folha de estilo principal
   -------------------------------------------------------------
   Este arquivo começa apenas com um reset neutro.
   Tokens (cores, tipografia, espaçamento) e estilos de seção
   serão adicionados conforme a direção visual for fornecida,
   seção por seção. Nada visual foi decidido ainda.
   ============================================================= */

/* ---------- Reset base (neutro) ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;   /* compensa o header fixo nas âncoras */
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* ---------- Design tokens ----------
   Derivados da direção do HERO: escuro, cinematográfico, âmbar discreto. */
:root {
  /* superfícies escuras */
  --page:        #08090b;   /* fundo da página (mostra os cantos arredondados do bloco) */
  --hero:        #0b0c10;   /* base escura do bloco hero */
  --surface:     #101218;

  /* acento âmbar (discreto, sem neon) */
  --amber:       #d69a4e;
  --amber-bright:#e7ac60;
  --amber-line:  rgba(214,154,78,.55);

  /* texto */
  --offwhite:    #ece7de;   /* números / texto claro */
  --headline:    #f6f2ec;   /* headline — contraste máximo */
  --warm-gray:   #9a9187;   /* texto secundário */
  --warm-dim:    #6f685f;

  /* linhas / divisórias */
  --line:        rgba(255,255,255,.09);

  /* tema claro (seções ivory/editoriais) */
  --ivory:        #f3efe6;   /* off-white quente */
  --charcoal:     #201e1a;   /* texto principal (preto quente) */
  --charcoal-soft:#565049;   /* texto secundário */
  --amber-deep:   #9c6a1c;   /* âmbar para acento sobre fundo claro */
  --line-ink:     rgba(40,36,30,.16);

  /* tipografia */
  --font-display:'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body:   'Hanken Grotesk', sans-serif;

  /* layout */
  --maxw:        1280px;
  --gutter:      clamp(24px, 5vw, 64px);
  --ease:        cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  background: var(--page);
  color: var(--offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .4s var(--ease), background .4s var(--ease),
              color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn-primary {
  background: linear-gradient(135deg, var(--amber-bright), var(--amber));
  color: #1b1206;
  box-shadow: 0 14px 34px -16px rgba(214,154,78,.55);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(3px); transition: transform .4s var(--ease); }

/* ---------- Reveal (entrada) ----------
   Só esconde quando o JS está ativo (html.js). Sem JS, conteúdo aparece. */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

/* =============================================================
   HEADER — barra flutuante sobre o hero
   ============================================================= */
.hdr { position: fixed; top: clamp(12px,1.6vw,18px); left: 0; right: 0; z-index: 100; }
.hdr-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.hdr-bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 11px 13px 11px 26px; border-radius: 8px;   /* leve altura a mais */
  background: rgba(10,9,8,.68);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(214,154,78,.18);
  box-shadow: 0 14px 40px -22px rgba(0,0,0,.6);
}
.hdr-logo { display: flex; align-items: center; flex: 0 0 auto; }
.hdr-logo img { height: 16px; width: auto; display: block; }
/* wrapper some do layout no desktop: links (centro) e CTA (direita) viram
   filhos diretos da barra, então o space-between centraliza os links */
.hdr-menu { display: contents; }
.hdr-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.hdr-links a {
  font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(236,231,222,.8); transition: color .3s var(--ease);
}
.hdr-links a:hover { color: var(--amber-bright); }
.hdr-cta {
  display: inline-flex; align-items: center; white-space: nowrap; flex: 0 0 auto;
  padding: 11px 20px; border-radius: 5px;
  background: linear-gradient(135deg, var(--amber-bright), var(--amber)); color: #1b1206;
  font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 10px 26px -14px rgba(214,154,78,.5);
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.hdr-cta:hover { transform: translateY(-1px); filter: brightness(.97); }
.hdr-burger { display: none; }

@media (max-width: 940px) {
  .hdr-links { gap: 22px; }
  .hdr-links a { font-size: 11px; letter-spacing: .1em; }
}
@media (max-width: 820px) {
  /* barra um pouco mais justa no mobile (sem crescer altura do header) */
  .hdr-bar { padding: 8px 10px 8px 16px; gap: 12px; }
  .hdr-logo img { height: 15px; }
  /* botão de menu visível: fundo/borda âmbar sutil + área de toque confortável */
  .hdr-burger {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    width: 44px; height: 40px; padding: 0; cursor: pointer;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(214,154,78,.20);
    border-radius: 9px;
    transition: background .3s var(--ease), border-color .3s var(--ease);
  }
  .hdr-burger:hover, .hdr-burger[aria-expanded="true"] {
    background: rgba(255,255,255,.07); border-color: rgba(214,154,78,.32);
  }
  .hdr-burger span { width: 19px; height: 2px; background: var(--amber); border-radius: 2px; transition: transform .3s, opacity .3s; }
  .hdr-burger.x span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hdr-burger.x span:nth-child(2) { opacity: 0; }
  .hdr-burger.x span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  /* menu vira dropdown escuro (links + CTA) */
  .hdr-menu {
    display: block;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: rgba(10,9,8,.96);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid rgba(214,154,78,.18); border-radius: 8px; padding: 14px;
    box-shadow: 0 22px 54px -24px rgba(0,0,0,.72);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .hdr-menu.open { opacity: 1; visibility: visible; transform: none; }
  .hdr-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .hdr-links a { padding: 12px; font-size: 12px; }
  .hdr-cta { display: flex; margin-top: 8px; justify-content: center; padding: 14px; font-size: 12px; }
}

/* =============================================================
   HERO + RÉGUA DE EXPERIÊNCIA
   ============================================================= */
.hero { position: relative; }

.hero-block {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  border-radius: 0 0 34px 34px;
  overflow: hidden;
  background:
    radial-gradient(115% 80% at 82% 26%, #15171d 0%, transparent 56%),
    linear-gradient(180deg, #0e1014 0%, var(--hero) 62%, #090a0d 100%);
  padding-top: clamp(40px, 6vh, 68px);
}

/* ----- área principal ----- */
.hero-main {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

/* lado esquerdo — copy limpa, contraste máximo */
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100%, var(--maxw));
  margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) var(--gutter);
}
/* mantém a copy na zona escura (à esquerda + borda dissolvida da imagem) */
.hero-copy > * { max-width: min(600px, 48vw); }
.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--headline);
  text-wrap: balance;
  margin: 22px 0 20px;
}
.hero-lead {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: rgba(236,231,222,.74);
  margin: 0 0 32px;
  text-shadow: 0 1px 14px rgba(0,0,0,.55);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* imagem de obra — fundo full-bleed do hero (composição: escuro à esquerda + prédio à direita) */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo {
  position: absolute;
  inset: 0;
  /* imagem de teste (dados já embutidos na foto). Troca: alterar --hero-photo */
  --hero-photo: url('../assets/img/Hero-obra.png');
  background-image: var(--hero-photo,
    radial-gradient(78% 58% at 72% 82%, rgba(214,154,78,.16), transparent 58%),
    linear-gradient(180deg, #191a20 0%, #101117 55%, #0a0b0e 100%));
  background-size: cover;
  background-position: center;
}
/* escurece só a esquerda (contraste da copy); base fica livre para
   a obra aparecer desfocada através da régua de vidro */
.hero-media-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,12,.94) 0%, rgba(8,9,12,.72) 22%, rgba(8,9,12,.22) 46%, transparent 64%);
}

/* dados integrados à estrutura da obra (discretos, secundários) */
.hero-data { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hd {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: 0;
  animation: hdIn .9s var(--ease) forwards;
}
.hd::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(214,154,78,.14);
  flex: 0 0 5px;
}
.hd-line { width: 30px; height: 1px; background: linear-gradient(90deg, var(--amber-line), transparent); }
.hd-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(236,231,222,.6);
  white-space: nowrap;
}
.hd-label b { color: var(--amber-bright); font-weight: 600; }
/* posições — anotações espalhadas pela estrutura, sem competir com a headline */
.hd-1 { top: 27%; left: 18%; animation-delay: .7s; }
.hd-2 { top: 45%; left: 44%; animation-delay: .84s; }
.hd-3 { top: 63%; left: 22%; animation-delay: .98s; }
.hd-4 { top: 76%; left: 50%; animation-delay: 1.12s; }
@keyframes hdIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ----- régua de experiência: faixa de vidro fosco sobre a obra ----- */
.hero-ruler {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(10,11,14,.40) 0%, rgba(10,11,14,.62) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.06);
  backdrop-filter: blur(18px) saturate(1.06);
}
/* separador âmbar que dissolve antes das bordas (sem corte de seção) */
.hero-ruler::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(214,154,78,.5) 20%,
    rgba(214,154,78,.5) 80%,
    transparent 100%);
}
.ruler-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, var(--maxw));
  margin: 0 auto;
  padding: clamp(24px, 3.2vw, 34px) var(--gutter);
}
.metric { padding: 0 clamp(16px, 2vw, 30px); border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; padding-left: 0; }
.m-num {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--offwhite);
}
.m-num i { color: var(--amber); font-style: normal; }
.m-desc {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--warm-gray);
  max-width: 210px;
}

/* =============================================================
   SOBRE A VILA NOVA — faixa editorial clara
   ============================================================= */
.sec-ivory { background: var(--ivory); color: var(--charcoal); }

.about { position: relative; overflow: hidden; }
.about-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 84px) var(--gutter);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1px 1fr;   /* ~45% | divisor | ~55% */
  gap: clamp(30px, 4.5vw, 62px);
  align-items: center;
}

/* divisor vertical fino + ponto âmbar central (detalhe técnico) */
.about-divider {
  position: relative;
  align-self: stretch;
  width: 1px;
  min-height: 128px;
  background: linear-gradient(180deg, transparent, var(--line-ink) 16%, var(--line-ink) 84%, transparent);
}
.about-divider::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 7px; height: 7px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--ivory);
}

/* coluna esquerda */
.about-eyebrow { color: var(--amber-deep); display: block; margin-bottom: 18px; }
.about-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 37px);
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--charcoal);
  max-width: 460px;
}
.about-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px 8px 13px;
  border: 1px solid var(--line-ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal-soft);
  background: rgba(255,255,255,.4);
}
.pill svg { width: 15px; height: 15px; stroke: var(--amber-deep); stroke-width: 1.5; fill: none; flex: 0 0 15px; }

/* coluna direita */
.about-right { max-width: 520px; }
.about-right p { font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.72; color: var(--charcoal-soft); }
.about-right p + p { margin-top: 20px; }

/* texturas quase invisíveis (grid técnico + watermark VN) */
.about-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(40,36,30,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40,36,30,.028) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
}
.about-watermark {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  top: clamp(-8px, 1vw, 10px);
  right: clamp(16px, 4vw, 56px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(84px, 11vw, 148px);
  line-height: 1;
  letter-spacing: -.02em;
  color: rgba(40,36,30,.045);
}

/* =============================================================
   O QUE FAZEMOS — cápsula escura + carrossel
   ============================================================= */
/* wrapper externo: área escura full-width (mais profundo que a cápsula) */
.services { background: #0c0a08; padding: clamp(48px,6vw,88px) 0; }
.services-wrap { width: min(92%, 1400px); margin: 0 auto; }

.services-capsule {
  position: relative;
  border-radius: clamp(20px, 2.4vw, 34px);
  overflow: hidden;
  background: #100d0a;
  border: 1px solid rgba(224,196,150,.11);
  box-shadow: 0 30px 80px -50px rgba(0,0,0,.7);
}
/* fundo: obra escurecida (placeholder) + overlay forte + vinheta */
.cap-bg { position: absolute; inset: 0; z-index: 0; }
.cap-photo {
  position: absolute; inset: 0;
  /* fundo da CÁPSULA (não da seção): cena de obra escura/cinematográfica */
  --services-photo: url('../assets/img/fazemos-background.png');
  background-image: var(--services-photo,
    radial-gradient(90% 70% at 85% 10%, rgba(214,154,78,.05), transparent 55%),
    linear-gradient(160deg, #1a1611 0%, #14100b 55%, #0f0c09 100%));
  background-size: cover; background-position: center;
}
.cap-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(120% 105% at 50% 28%, transparent 52%, rgba(0,0,0,.34));
}
.cap-inner { position: relative; z-index: 1; padding: clamp(28px,3.6vw,50px); }

/* topo da cápsula */
.cap-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; margin-bottom: clamp(18px,2vw,28px);
}
.cap-head-left { max-width: 540px; }
.cap-eyebrow { color: var(--amber); display: block; margin-bottom: 16px; }
.cap-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px,3.4vw,42px); line-height: 1.08;
  letter-spacing: -.01em; color: var(--headline);
}
.cap-head-right { max-width: 360px; flex: 0 0 auto; }
.cap-support { font-size: 14px; line-height: 1.62; color: rgba(236,231,222,.66); }
.cap-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.cap-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(224,196,150,.28); background: rgba(0,0,0,.15);
  color: var(--offwhite); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .35s var(--ease), color .35s var(--ease);
}
.cap-arrow:hover { border-color: var(--amber); color: var(--amber-bright); }
.cap-arrow svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 2; fill: none; }

/* indicador de posição (pontos) — só aparece no mobile (setas somem) */
.cap-dots { display: none; justify-content: center; gap: 12px; margin-top: 20px; }
.cap-dot {
  -webkit-appearance: none; appearance: none;
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(236,231,222,.28); cursor: pointer; position: relative;
  transition: background .3s var(--ease);
}
.cap-dot.is-active { background: var(--amber-bright); }
.cap-dot.is-active::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid rgba(214,154,78,.55);
}

/* trilho do carrossel */
.cap-track {
  display: flex; gap: 14px; align-items: center;
  overflow-x: auto; scroll-snap-type: x proximity;
  padding: 6px 2px 8px; margin: 0 -2px;
  scrollbar-width: none;
}
.cap-track::-webkit-scrollbar { display: none; }

/* cards */
.svc-card {
  position: relative; flex: 0 0 clamp(212px,19vw,244px);
  min-height: clamp(336px,38vw,388px);
  display: flex; flex-direction: column;
  padding: 20px 20px 18px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(24,24,27,.94) 0%, rgba(11,11,13,.97) 100%);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 18px 40px -26px rgba(0,0,0,.7);
  scroll-snap-align: start; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); border-color: rgba(214,154,78,.4); box-shadow: 0 28px 54px -24px rgba(0,0,0,.75); }
.svc-num { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--amber); }
.svc-tag {
  display: inline-block; align-self: flex-start; margin-top: 12px;
  padding: 4px 10px; border: 1px solid rgba(214,154,78,.34); border-radius: 999px;
  font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-bright);
}
.svc-title {
  font-family: var(--font-display); font-weight: 500; font-size: 19px; line-height: 1.16;
  color: var(--headline); margin: 14px 0 10px;
}
.svc-desc { font-size: 13px; line-height: 1.55; color: var(--warm-gray); max-width: 30ch; }
.svc-go {
  position: absolute; right: 16px; bottom: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(224,196,150,.28); background: rgba(0,0,0,.22);
  display: flex; align-items: center; justify-content: center; color: var(--amber-bright);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.svc-card:hover .svc-go { border-color: var(--amber); transform: translateX(2px); }
.svc-go svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; }

/* foto na base dos cards secundários (02–06) */
.svc-media {
  margin: 15px -20px -18px; flex: 1 1 auto; min-height: 132px;
  border-top: 1px solid rgba(255,255,255,.08);
  background-color: #0b0b0d;
  background-image:
    linear-gradient(180deg, rgba(7,7,8,.55) 0%, rgba(7,7,8,.12) 42%, rgba(7,7,8,.42) 100%),
    var(--card-photo, none);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.svc-2 { --card-photo: url('../assets/img/card-02.png'); }
.svc-3 { --card-photo: url('../assets/img/card-03.png'); }
.svc-4 { --card-photo: url('../assets/img/card-04.png'); }
.svc-5 { --card-photo: url('../assets/img/card-05.png'); }
.svc-6 { --card-photo: url('../assets/img/card-06.png'); }

/* card 01 — protagonista */
.svc-card--hero {
  flex-basis: clamp(288px,27vw,344px);
  min-height: clamp(384px,44vw,442px);
  padding: 26px 26px 22px;
  background: linear-gradient(180deg, rgba(28,28,32,.95) 0%, rgba(13,13,15,.97) 100%);
}
.svc-card--hero .svc-title { font-size: 24px; }
.svc-card--hero .svc-desc { max-width: 34ch; }

/* mini painel de desempenho do card 01 */
.svc-chart {
  margin-top: auto; padding: 15px 16px 13px;
  border: 1px solid rgba(255,255,255,.08); border-radius: 13px;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(214,154,78,.06), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 26px -20px rgba(0,0,0,.8);
}
.chart-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; }
.chart-label { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--warm-gray); }
.chart-figs { text-align: right; line-height: 1; }
.chart-val { font-family: var(--font-body); font-weight: 700; font-size: 22px; color: var(--amber-bright); }
.chart-val i { font-size: 12px; font-style: normal; margin-left: 1px; }
.chart-sub { display: block; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: rgba(154,145,135,.7); margin-top: 4px; }
.chart-plot { position: relative; }
.chart-svg { width: 100%; height: 58px; display: block; overflow: visible; }
.chart-svg polyline { fill: none; stroke: var(--amber-bright); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-area { fill: url(#svcArea); stroke: none; }
.chart-grid { stroke: rgba(255,255,255,.06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-dot {
  position: absolute; left: 98%; top: 17.8%; width: 7px; height: 7px;
  border-radius: 50%; background: var(--amber-bright); transform: translate(-50%,-50%);
  box-shadow: 0 0 0 3px rgba(214,154,78,.16), 0 0 10px 2px rgba(231,172,96,.55);
}
.chart-x { display: flex; justify-content: space-between; margin-top: 10px; }
.chart-x span { font-size: 8.5px; letter-spacing: .08em; color: rgba(154,145,135,.65); }

/* =============================================================
   SEGMENTOS DE ATUAÇÃO — mosaico editorial claro
   ============================================================= */
.segments { position: relative; overflow: hidden; }
.segments-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(64px,8vw,104px) var(--gutter);
}
.seg-head { max-width: 640px; }
.seg-eyebrow { color: var(--amber-deep); position: relative; display: inline-block; padding-top: 16px; }
.seg-eyebrow::before { content: ""; position: absolute; top: 0; left: 0; width: 34px; height: 2px; background: var(--amber-deep); }
.seg-title-main {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px,3.8vw,46px); line-height: 1.1; letter-spacing: -.01em;
  color: var(--charcoal); margin: 16px 0 16px; max-width: 520px;
}
.seg-support { font-size: 14.5px; line-height: 1.6; color: var(--charcoal-soft); max-width: 400px; }

/* mosaico assimétrico */
.seg-grid {
  display: grid;
  grid-template-columns: 1.95fr 1.2fr 0.94fr;   /* esq ~48% | Infra ~56% e Obras ~44% da direita */
  grid-template-rows: 0.82fr 1fr;           /* Logística mais baixa; base maior */
  gap: 20px;
  height: clamp(430px, 50vw, 560px);
  margin-top: clamp(26px,3.4vw,44px);
}
.seg-1 { grid-column: 1;     grid-row: 1 / 3; }
.seg-2 { grid-column: 2 / 4; grid-row: 1; }
.seg-3 { grid-column: 2;     grid-row: 2; }
.seg-4 { grid-column: 3;     grid-row: 2; }

/* card fotográfico */
.seg-card {
  position: relative; overflow: hidden; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 18px 44px -30px rgba(18,12,6,.55);
  transition: box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.seg-card:hover { border-color: rgba(255,255,255,.14); box-shadow: 0 26px 56px -30px rgba(18,12,6,.66); }
/* imagem (placeholder cinematográfico; trocar por foto real depois) */
.seg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  /* imagens já vêm tratadas (golden hour) — mostra como estão, só um leve realce */
  filter: contrast(1.03) saturate(1.03);
  transform: scale(var(--z, 1.05));
  transition: transform .9s var(--ease), filter .5s var(--ease);
}
.seg-card:hover .seg-img { transform: scale(calc(var(--z, 1.05) + .06)); }
/* imagens temporárias (trocar depois — mesmas classes, só mudar a url).
   background-position + --z ajustam o crop para focar a área de obra. */
.seg-1 .seg-img { background-image: url('../assets/img/Edificacoes.png');    background-position: 50% 44%; --z: 1.03; }
.seg-2 .seg-img { background-image: url('../assets/img/Logistica.png');      background-position: 50% 44%; --z: 1.03; }
.seg-3 .seg-img { background-image: url('../assets/img/Infraestrutura.png'); background-position: 50% 50%; --z: 1.03; }
.seg-4 .seg-img { background-image: url('../assets/img/Complexas.png');      background-position: 50% 46%; --z: 1.05; }
/* overlay SÓ na base (topo/meio da imagem ficam limpos e visíveis) */
.seg-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(6,5,3,.92) 0%, rgba(6,5,3,.55) 22%, rgba(8,6,3,.12) 46%, transparent 64%);
}
/* base um pouco mais forte em Logística e Obras complexas (ainda sem escurecer o topo) */
.seg-2 .seg-shade, .seg-4 .seg-shade {
  background: linear-gradient(to top, rgba(5,4,2,.94) 0%, rgba(5,4,2,.62) 26%, rgba(8,6,3,.16) 50%, transparent 68%);
}
/* conteúdo no canto inferior esquerdo */
.seg-body { position: absolute; left: 0; bottom: 0; z-index: 2; padding: clamp(20px,1.9vw,26px); max-width: 88%; }
.seg-tick { display: block; width: 24px; height: 2px; background: var(--amber); margin-bottom: 14px; }
.seg-num { font-family: var(--font-body); font-weight: 600; font-size: 12.5px; letter-spacing: .02em; color: var(--amber-bright); }
.seg-title { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.12; color: var(--headline); margin: 8px 0 7px; }
.seg-1 .seg-title { font-size: clamp(22px,2.3vw,27px); }
.seg-desc { font-size: 12.5px; line-height: 1.5; color: rgba(236,231,222,.7); max-width: 30ch; }
.seg-go { position: absolute; right: clamp(18px,1.6vw,22px); bottom: clamp(18px,1.6vw,22px); z-index: 3; color: var(--amber-bright); display: flex; }
.seg-go svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; }
.seg-card:hover .seg-go svg { transform: translateX(3px); transition: transform .4s var(--ease); }

/* =============================================================
   PROVA SOCIAL — logos de organizações (fundo sem grade)
   ============================================================= */
.logos { background: var(--ivory); }
.logos-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px,7vw,90px) var(--gutter); }
.logos-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; margin-bottom: clamp(24px,2.6vw,36px);
}
.logos-eyebrow { color: var(--amber-deep); letter-spacing: .16em; font-size: 11px; max-width: 62ch; }
.logos-support { max-width: 300px; font-size: 13px; line-height: 1.55; color: var(--charcoal-soft); text-align: right; flex: 0 0 auto; }

.logos-wall {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(40,36,30,.09);
  border-left: 1px solid rgba(40,36,30,.09);
  border-radius: 6px; overflow: hidden;
  background: linear-gradient(180deg, #fdfaf5 0%, #f8f4ed 100%);   /* creme mais claro que o fundo */
  box-shadow: 0 22px 54px -34px rgba(40,30,18,.3);
}
.logo-cell {
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(100px,9.5vw,128px); padding: 22px 24px;
  border-right: 1px solid rgba(40,36,30,.09);
  border-bottom: 1px solid rgba(40,36,30,.09);
  transition: background .4s var(--ease);
}
.logo-cell:hover { background: rgba(214,154,78,.05); }
.logo-cell img {
  max-height: clamp(40px,4.4vw,54px); max-width: 76%; width: auto; height: auto; object-fit: contain;
  opacity: .62; filter: grayscale(.25);
  transition: opacity .4s var(--ease), filter .4s var(--ease);
}
.logo-cell:hover img { opacity: 1; filter: grayscale(0); }

/* =============================================================
   MÉTODO VILA NOVA — seção escura + timeline de comando
   ============================================================= */
.method {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #14110d 0%, #0d0b09 55%, #0a0807 100%);
}
/* textura técnica sutil (blueprint/cronograma) */
/* fundo da seção: imagem (silhueta de obra + Gantt + blueprint) já tratada
   escura/quente; leve escurecida à esquerda para leitura do texto */
.method-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,6,5,.5) 0%, rgba(8,6,5,.14) 42%, transparent 66%),
    url('../assets/img/metodo-background.png') center center / cover no-repeat;
}
/* linhas de cronograma/Gantt sutis, concentradas atrás da coluna esquerda */
.method-gantt {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(rgba(214,154,78,.10),rgba(214,154,78,.10)),
    linear-gradient(rgba(214,154,78,.08),rgba(214,154,78,.08)),
    linear-gradient(rgba(214,154,78,.09),rgba(214,154,78,.09)),
    linear-gradient(rgba(214,154,78,.07),rgba(214,154,78,.07)),
    linear-gradient(rgba(214,154,78,.09),rgba(214,154,78,.09)),
    linear-gradient(rgba(214,154,78,.07),rgba(214,154,78,.07)),
    linear-gradient(rgba(214,154,78,.08),rgba(214,154,78,.08));
  background-size: 150px 5px,200px 5px,110px 5px,170px 5px,130px 5px,96px 5px,150px 5px;
  background-position: 30px 16%,120px 27%,64px 38%,150px 49%,90px 60%,40px 71%,130px 82%;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 38%, transparent 62%);
          mask-image: linear-gradient(90deg, #000 0%, #000 38%, transparent 62%);
}
.method-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(56px,6vw,88px) var(--gutter);
}
.method-grid { display: grid; grid-template-columns: 40fr 60fr; gap: clamp(30px,4vw,64px); align-items: start; }

/* coluna esquerda — texto */
.method-left { padding-right: clamp(0px,1.5vw,32px); }
.method-eyebrow { color: var(--amber); display: block; }
.method-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px,4vw,50px); line-height: 1.1; letter-spacing: -.01em;
  color: var(--headline); margin: 18px 0 20px; max-width: 480px;
}
.method-lead { font-size: 15.5px; line-height: 1.64; color: rgba(236,231,222,.7); max-width: 400px; }
.method-micro {
  display: block; margin-top: 30px; font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(214,154,78,.85); line-height: 1.7;
}
.method-micro::before { content: ""; display: block; width: 28px; height: 1px; background: rgba(214,154,78,.7); margin-bottom: 12px; }

/* coluna direita — timeline vertical */
.timeline { position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 26px; bottom: 26px; width: 1.5px;
  background: linear-gradient(180deg, transparent, rgba(214,154,78,.45) 5%, rgba(214,154,78,.45) 95%, transparent);
}
.tl-step { position: relative; padding-left: 34px; }
.tl-step + .tl-step { margin-top: 16px; }
/* nó quadrado técnico (vazado), centralizado no card */
.tl-connector {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 13px; height: 13px; border-radius: 2px;
  background: #100d0a; border: 1.5px solid rgba(214,154,78,.9);
  box-shadow: 0 0 0 3px #100d0a;
}
/* conector horizontal: liga o nó ao card (sistema, não decoração) */
.tl-step::before {
  content: ""; position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 21px; height: 1.5px; background: rgba(214,154,78,.5);
}
.tl-card {
  display: flex; gap: 22px; align-items: center;
  min-height: 132px;                 /* alturas padronizadas entre os cards */
  padding: 24px 28px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(32,27,20,.66), rgba(15,12,9,.82));
  border: 1px solid rgba(224,196,150,.11);
  border-left: 2px solid rgba(214,154,78,.55);
  box-shadow: 0 32px 66px -34px rgba(0,0,0,.85);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.tl-card:hover { transform: translateX(4px); border-color: rgba(224,196,150,.2); }
.tl-icon {
  flex: 0 0 auto; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(216,178,120,.9);
}
.tl-icon svg { width: 44px; height: 44px; stroke: currentColor; stroke-width: 1.25; fill: none; }
.tl-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 9px; }
.tl-num { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--amber-bright); }
.tl-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px,1.7vw,24px); line-height: 1.1; color: var(--headline); margin: 0; }
.tl-desc { font-size: 13.5px; line-height: 1.56; color: var(--warm-gray); }

/* =============================================================
   DIAGNÓSTICO — seção clara + card de relatório executivo
   ============================================================= */
.diag { position: relative; overflow: hidden; background: var(--ivory); }
/* fundo da seção: imagem de planejamento (silhueta de obra + blueprint),
   já tratada clara; substitui a grade */
.diag-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('../assets/img/diagnostico-background.png') center center / cover no-repeat;
}
/* silhueta de obra muito clara no canto inferior esquerdo (quase imperceptível) */
.diag-blueprint {
  position: absolute; left: 0; bottom: 0; z-index: 0; pointer-events: none;
  width: 380px; height: 250px; opacity: .55;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(rgba(60,50,36,.10),rgba(60,50,36,.10)),
    linear-gradient(rgba(60,50,36,.09),rgba(60,50,36,.09)),
    linear-gradient(rgba(60,50,36,.08),rgba(60,50,36,.08)),
    linear-gradient(rgba(156,106,28,.14),rgba(156,106,28,.14)),
    linear-gradient(rgba(156,106,28,.13),rgba(156,106,28,.13));
  background-size: 48px 150px, 62px 205px, 38px 110px, 2px 215px, 66px 2px;
  background-position: 28px bottom, 84px bottom, 156px bottom, 96px bottom, 96px calc(100% - 213px);
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 92%);
          mask-image: linear-gradient(0deg, #000 0%, transparent 92%);
}
.diag-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(64px,7vw,100px) var(--gutter);
}
/* colunas com largura fixa + par centralizado: mantém texto e card conectados,
   levando o respiro para as bordas externas (sem vazio no meio) */
.diag-grid {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 560px);
  justify-content: center;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}

/* coluna esquerda */
.diag-left { padding-right: 0; }
.diag-eyebrow { color: var(--amber-deep); display: block; }
.diag-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px,4vw,50px); line-height: 1.08; letter-spacing: -.01em;
  color: var(--charcoal); margin: 18px 0 20px; max-width: 520px;
}
.diag-lead { font-size: 15.5px; line-height: 1.62; color: var(--charcoal-soft); max-width: 420px; }

/* card de relatório executivo */
.report {
  position: relative;
  background: #fdfbf6;                         /* mais claro/destacado que o fundo */
  border: 1px solid rgba(56,46,32,.18);        /* borda um pouco mais perceptível */
  border-radius: 8px;
  box-shadow: 0 44px 96px -46px rgba(40,30,18,.46), 0 6px 18px -10px rgba(40,30,18,.18);
  padding: clamp(26px,3vw,38px);
  max-width: 560px; margin-left: auto;
}
.report-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.report-brand { display: flex; align-items: center; gap: 10px; }
.report-brand svg { width: 20px; height: 20px; stroke: var(--amber-deep); stroke-width: 1.6; fill: none; flex: 0 0 auto; }
.report-brand span { font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--charcoal-soft); }
.report-meta { text-align: right; flex: 0 0 auto; }
.report-meta b { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal); }
.report-meta span { display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal-soft); margin-top: 3px; }
.report-rule { position: relative; height: 1px; background: rgba(40,36,30,.12); margin: 20px 0 22px; }
.report-rule::before { content: ""; position: absolute; left: 0; top: 0; width: 46px; height: 1px; background: var(--amber-deep); }
.report-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(23px,2.3vw,29px); color: var(--charcoal); margin-bottom: 16px; }
.report-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid rgba(156,106,28,.45); border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--amber-deep);
  background: rgba(156,106,28,.06); margin-bottom: 18px;
}
.report-pill svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.7; fill: none; }
.report-text { font-size: 13.5px; line-height: 1.6; color: var(--charcoal-soft); margin-bottom: 20px; }
.report-check { display: flex; flex-direction: column; }
.report-check li {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 0; font-size: 13.5px; color: var(--charcoal);
  border-top: 1px solid rgba(40,36,30,.08);
}
.report-check li:first-child { border-top: 0; }
.report-check .chk {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid rgba(156,106,28,.5); display: flex; align-items: center; justify-content: center;
  color: var(--amber-deep);
}
.report-check .chk svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 2.2; fill: none; }
.report-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(40,36,30,.12);
}
.btn-report {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 4px;
  border: 1px solid var(--amber-deep); background: rgba(156,106,28,.1); color: var(--amber-deep);
  font-family: var(--font-body); font-weight: 600; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.btn-report:hover { background: var(--amber-deep); color: #fbf8f2; }
.btn-report svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; }
.report-note { display: inline-flex; align-items: center; gap: 8px; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal-soft); }
.report-note::after { content: ""; width: 7px; height: 7px; border: 1px solid rgba(156,106,28,.6); }

/* =============================================================
   CTA FINAL — faixa escura de contato (acima do footer)
   ============================================================= */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #14110d 0%, #0d0b09 55%, #0a0807 100%);
}
/* textura quase imperceptível + linha técnica (cronograma/decisão) */
.cta-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 150% at 82% 0%, rgba(214,154,78,.05), transparent 55%);
}
.cta-bg::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,154,78,.12) 22%, rgba(214,154,78,.12) 78%, transparent);
}
.cta-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(64px,8vw,104px) var(--gutter);
}
.cta-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.cta-eyebrow { color: var(--amber); display: block; }
.cta-headline {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px,3.6vw,46px); line-height: 1.1; letter-spacing: -.01em;
  color: var(--headline); margin-top: 16px; max-width: 420px;
}
.cta-text { font-size: 15.5px; line-height: 1.66; color: rgba(236,231,222,.7); max-width: 440px; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* contorno mais visível no botão outline (evita texto "flutuando") */
.cta .btn-ghost {
  border-color: rgba(255,255,255,.42);
  background: transparent; color: var(--offwhite);
  -webkit-appearance: none; appearance: none;
}
.cta .btn-ghost:hover { border-color: var(--amber); background: rgba(214,154,78,.06); }
.cta .btn-ghost[aria-expanded="true"] { border-color: var(--amber); background: rgba(214,154,78,.08); }

/* formulário inline de contato — abre/fecha sob os botões, estética escura premium */
.contact-panel {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s var(--ease), opacity .4s var(--ease);
}
.contact-panel.is-open { max-height: 1400px; opacity: 1; }
.contact-form {
  margin-top: clamp(22px,2.6vw,32px); max-width: 680px;
  padding: clamp(22px,2.4vw,30px);
  background: linear-gradient(180deg, rgba(26,22,18,.9), rgba(14,12,10,.94));
  border: 1px solid rgba(214,154,78,.16); border-radius: 14px;
  box-shadow: 0 26px 60px -34px rgba(0,0,0,.82);
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.cf-field { display: flex; flex-direction: column; margin-bottom: 14px; }
.cf-row .cf-field { margin-bottom: 0; }
.cf-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--warm-gray); margin-bottom: 7px; }
.cf-input {
  -webkit-appearance: none; appearance: none; width: 100%;
  padding: 12px 14px; font-family: var(--font-body); font-size: 14px; color: var(--offwhite);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.12); border-radius: 9px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.cf-input::placeholder { color: var(--warm-gray); }
.cf-input:focus { outline: none; border-color: rgba(214,154,78,.55); background: rgba(255,255,255,.05); }
.cf-textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
.cf-field.has-error .cf-input { border-color: rgba(202,104,84,.6); }
.cf-error { font-size: 11.5px; color: rgba(224,142,122,.92); margin-top: 6px; display: none; }
.cf-field.has-error .cf-error { display: block; }
.cf-consent {
  display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 18px;
  font-size: 12.5px; line-height: 1.5; color: var(--warm-gray); cursor: pointer;
}
.cf-consent a { color: var(--amber-bright); text-decoration: underline; text-underline-offset: 2px; }
.cf-check { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--amber); cursor: pointer; }
.cf-consent.has-error { color: rgba(224,142,122,.95); }
.cf-submit { width: auto; margin-top: 2px; }
.cf-submit:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.25); box-shadow: none; }
.cf-feedback { margin-top: 14px; font-size: 13.5px; line-height: 1.5; display: none; }
.cf-feedback.is-success { display: block; color: rgba(150,196,150,.92); }
.cf-feedback.is-error { display: block; color: rgba(224,142,122,.95); }
@media (max-width: 600px) {
  .contact-form { padding: 20px 16px; }
  .cf-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .cf-row .cf-field { margin-bottom: 14px; }
  .cf-input { padding: 13px 14px; font-size: 16px; }   /* 16px evita zoom automático no iOS */
  .cf-submit { width: 100%; }
}

/* =============================================================
   FOOTER institucional — fechamento escuro e silencioso
   ============================================================= */
.foot { background: #080605; border-top: 1px solid rgba(255,255,255,.07); }
.foot-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px,5vw,68px) var(--gutter) clamp(20px,2vw,26px);
}
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: clamp(28px,3vw,52px); align-items: start;
  padding-bottom: clamp(32px,3.5vw,44px);
}
.foot-brand img { height: clamp(78px,8vw,104px); width: auto; display: block; }   /* presença adequada */
/* assinatura sob a logo (mesmo lockup do logotipo) */
.foot-tagline {
  margin-top: 14px; font-size: 11px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: rgba(236,231,222,.5);
}
.foot-tagline span { color: var(--amber); }
/* redes sociais — pequenas, discretas, sem chamar mais que a logo */
.foot-social { margin-top: clamp(22px,2.4vw,30px); }
.foot-social .foot-label { margin-bottom: 12px; }
.foot-social-links { display: flex; gap: 6px; margin-left: -8px; }
.foot-soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  color: rgba(236,231,222,.5);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.foot-soc:hover { color: var(--amber-bright); background: rgba(214,154,78,.06); }
.foot-soc svg { width: 18px; height: 18px; display: block; fill: currentColor; }
/* barras elegantes de divisão entre as colunas */
.foot-col { border-left: 1px solid rgba(255,255,255,.09); padding-left: clamp(28px,3vw,52px); }
.foot-label { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.foot-col ul { display: flex; flex-direction: column; gap: 12px; }
.foot-col a, .foot-col li { font-size: 13.5px; line-height: 1.5; color: rgba(236,231,222,.58); transition: color .3s var(--ease); }
.foot-col a:hover { color: rgba(236,231,222,.95); }
.foot-contact li { max-width: 240px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 1px solid rgba(255,255,255,.06); padding-top: clamp(18px,2vw,22px);
}
.foot-copy { font-size: 12px; letter-spacing: .02em; color: rgba(236,231,222,.34); }
.foot-legal { display: flex; gap: 20px; }
.foot-legal a { font-size: 12px; color: rgba(236,231,222,.4); transition: color .3s var(--ease); }
.foot-legal a:hover { color: var(--amber-bright); }

@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .foot-brand img { height: 70px; }
  .foot-col { border-left: 0; padding-left: 0; }   /* sem dividers verticais no mobile */
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .foot-legal { gap: 18px; }
}

/* =============================================================
   RESPONSIVO
   ============================================================= */
@media (max-width: 860px) {
  .cta-grid { grid-template-columns: 1fr; gap: 22px; }
  .cta-headline, .cta-text { max-width: none; }
}
@media (max-width: 480px) {
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 860px) {
  .diag-grid { grid-template-columns: 1fr; gap: 30px; }
  .diag-left { padding-right: 0; }
  .diag-title, .diag-lead { max-width: none; }
  .report { max-width: none; margin-left: 0; }
  .diag-bg { opacity: .7; }
}
@media (max-width: 480px) {
  .report-top { flex-direction: column; gap: 10px; }
  .report-meta { text-align: left; }
  .report-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .btn-report { width: 100%; justify-content: center; }
  .report-note { justify-content: flex-start; }
}
@media (max-width: 860px) {
  .method-grid { grid-template-columns: 1fr; gap: 34px; }
  .method-left { padding-right: 0; }
  .method-title, .method-lead { max-width: none; }
  .method-bg { opacity: .6; }
}
@media (max-width: 860px) {
  .logos-head { flex-direction: column; gap: 12px; }
  .logos-support { text-align: left; max-width: 420px; }
  .logos-wall { grid-template-columns: repeat(3, 1fr); }   /* 15 logos = 5 linhas */
}
@media (max-width: 860px) {
  .seg-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: clamp(250px, 62vw, 320px);
    height: auto;
  }
  .seg-1, .seg-2, .seg-3, .seg-4 { grid-column: auto; grid-row: auto; }
}
@media (max-width: 820px) {
  .cap-head { flex-direction: column; gap: 16px; }
  .cap-head-right { max-width: none; }
  .cap-nav { display: none; }                    /* scroll horizontal nativo */
  .cap-dots:not(.seg-dots) { display: flex; }    /* pontos "O que fazemos" (setas somem) */
  .cap-track { scroll-snap-type: x mandatory; }
  .cap-overlay {
    background: radial-gradient(140% 110% at 50% 28%, transparent 46%, rgba(0,0,0,.42));
  }
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-divider { display: none; }               /* remove divisor vertical no mobile */
  .about-headline, .about-right { max-width: 560px; }
  .about-watermark { font-size: clamp(64px, 22vw, 110px); }
}
@media (max-width: 900px) {
  .hero-block { min-height: auto; border-radius: 0 0 24px 24px; }
  .hero-main { min-height: 78vh; }
  /* imagem vira fundo escurecido; copy por cima */
  .hero-media { width: 100%; }
  .hero-media-fade {
    background:
      linear-gradient(180deg, rgba(9,10,13,.68) 0%, rgba(9,10,13,.82) 60%, rgba(9,10,13,.92) 100%),
      linear-gradient(90deg, rgba(11,12,16,.7) 0%, rgba(11,12,16,.35) 100%);
  }
  .hero-data { display: none; }               /* sem poluição no mobile */
  .hero-copy > * { max-width: 34rem; }        /* copy usa mais largura no mobile */
  .ruler-track { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .metric { border-left: 0; padding: 0 0 0 22px; }
  .metric:nth-child(odd) { padding-left: 0; }
  .metric:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .hero-copy { padding-block: 64px; }
  .hero-headline { font-size: clamp(30px, 8vw, 40px); }
  .btn { width: 100%; justify-content: center; }
}

/* ---------- MOBILE: hero compacto (parte 2) ---------- */
@media (max-width: 600px) {
  /* fundo específico do mobile (retrato 9:16) — não depende do crop desktop */
  .hero-photo {
    --hero-photo: url('../assets/img/Hero-mobile.png');
    background-position: 50% 30%;
  }
  /* escurece topo (headline) e base (atrás da cápsula), aliviando o meio
     para a obra aparecer melhor no retrato */
  .hero-media-fade {
    background:
      linear-gradient(180deg,
        rgba(9,10,13,.90) 0%, rgba(9,10,13,.60) 30%,
        rgba(9,10,13,.34) 54%, rgba(9,10,13,.5) 78%, rgba(9,10,13,.80) 100%);
  }
  /* menos vão vertical, mas com respiro entre os elementos */
  .hero-main { min-height: auto; }
  .hero-copy { padding: 46px var(--gutter) 40px; }
  .hero-headline { font-size: clamp(31px, 8.6vw, 40px); margin: 18px 0 20px; }
  .hero-lead { font-size: 15px; margin: 0 0 32px; }
  /* CTA mais elegante: largura natural, ancorado à esquerda, cantos mais suaves */
  .hero-cta { justify-content: flex-start; }
  .hero-cta .btn { width: auto; padding: 16px 28px; border-radius: 12px; }
}

/* ---------- MOBILE: régua de experiência como cápsula vitrificada (parte 3) ---------- */
@media (max-width: 600px) {
  /* deixa de ser faixa full-width: remove fundo/linha da banda e dá margem lateral */
  .hero-ruler {
    background: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    padding: 0 var(--gutter) 44px;
  }
  .hero-ruler::before { display: none; }
  /* a cápsula: escura, translúcida, levemente vitrificada, dentro do hero */
  .ruler-track {
    width: auto; margin: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
    padding: 28px 26px;
    background: linear-gradient(180deg, rgba(16,17,22,.5) 0%, rgba(10,11,14,.58) 100%);
    -webkit-backdrop-filter: blur(14px) saturate(1.05);
    backdrop-filter: blur(14px) saturate(1.05);
    border: 1px solid rgba(214,154,78,.16);
    border-radius: 20px;
    box-shadow: 0 18px 40px -28px rgba(0,0,0,.7);
  }
  /* 2x2 com divisória sutil entre as colunas */
  .metric { padding: 2px 0 2px 22px; border-left: 0; }
  .metric:nth-child(odd) { padding-left: 0; }
  .metric:nth-child(even) { border-left: 1px solid rgba(255,255,255,.10); }
  .m-num { font-size: 30px; }
  .m-desc { max-width: none; margin-top: 11px; }
}

/* ---------- MOBILE: sobre — pills mais legíveis (parte 4) ---------- */
@media (max-width: 600px) {
  .about-pills { gap: 9px; margin-top: 22px; }
  .pill {
    font-size: 13.5px; padding: 10px 16px;
    border-color: rgba(40,36,30,.30);
    background: rgba(255,255,255,.72);
    color: var(--charcoal);
  }
  .pill svg { width: 16px; height: 16px; flex-basis: 16px; }
}

/* ---------- MOBILE: "O que fazemos" — carrossel (parte 5) ---------- */
@media (max-width: 600px) {
  /* card principal bem visível + peek do próximo; secundários padronizados
     (altura fixa: todos 02–06 do mesmo tamanho) e nem estreitos demais */
  .svc-card { flex-basis: clamp(198px, 54vw, 236px); min-height: 384px; }
  .svc-card--hero { flex-basis: clamp(244px, 68vw, 300px); min-height: 384px; }
  /* respiro entre o texto e o gráfico do card 1 */
  .svc-card--hero .svc-desc { margin-bottom: 18px; }
}

/* ---------- MOBILE: Segmentos — carrossel vertical 3:4 (parte 6) ---------- */
@media (max-width: 600px) {
  /* de mosaico (muito scroll) para carrossel horizontal */
  .seg-grid {
    display: flex; align-items: flex-start;
    grid-template-columns: none; grid-template-rows: none; grid-auto-rows: auto;
    gap: 14px; height: auto;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    /* sangra até as bordas p/ o próximo card espiar; padding realinha ao conteúdo */
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 6px;
    scroll-padding-left: var(--gutter);
  }
  .seg-grid::-webkit-scrollbar { display: none; }
  /* cards verticais 3:4; largura deixa a borda do próximo visível */
  .seg-card {
    flex: 0 0 78%; max-width: 300px;
    aspect-ratio: 3 / 4;
    scroll-snap-align: start;
  }
  .seg-1, .seg-2, .seg-3, .seg-4 { grid-column: auto; grid-row: auto; }
  .seg-1 .seg-title { font-size: 22px; }
  /* texto em painel vitrificado premium (mantém overlays por baixo) */
  .seg-body {
    left: 12px; right: 12px; bottom: 12px; max-width: none;
    padding: 15px 46px 15px 15px;
    background: linear-gradient(180deg, rgba(14,12,16,.26), rgba(8,7,10,.5));
    -webkit-backdrop-filter: blur(12px) saturate(1.05);
            backdrop-filter: blur(12px) saturate(1.05);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
  }
  .seg-go { right: 24px; bottom: 22px; }
  /* pontos indicadores do carrossel de segmentos (fundo claro -> pontos escuros) */
  .seg-dots { display: flex; }
  .seg-dots .cap-dot { background: rgba(40,36,30,.28); }
  .seg-dots .cap-dot.is-active { background: var(--amber-deep); }
  .seg-dots .cap-dot.is-active::before { border-color: rgba(156,106,28,.5); }
  /* equilibra o respiro até a próxima seção (evita vão exagerado) */
  .segments-inner { padding-bottom: 34px; }
}

/* ---------- MOBILE: Logos — grade compacta (parte 7) ---------- */
@media (max-width: 600px) {
  .logos-inner { padding-top: 40px; }   /* título mais equilibrado, sem vão grande */
  .logo-cell { min-height: 66px; padding: 12px 10px; }
  .logo-cell img { max-height: 34px; max-width: 84%; opacity: .72; }
}

/* ---------- MOBILE: Método — cards compactos (parte 8) ---------- */
@media (max-width: 600px) {
  .tl-step + .tl-step { margin-top: 12px; }
  .tl-card { min-height: 0; gap: 13px; padding: 14px 15px; align-items: flex-start; }
  .tl-icon { width: 34px; height: 34px; }
  .tl-icon svg { width: 30px; height: 30px; }
  .tl-head { margin-bottom: 4px; gap: 9px; }
  .tl-num { font-size: 15px; }
  .tl-title { font-size: 17px; }
  .tl-desc { font-size: 12.5px; line-height: 1.46; }
}

/* acessibilidade — reduz movimento */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hd { opacity: 1; animation: none; }
  * { scroll-behavior: auto; }
}

/* ---------- Placeholder de imagem (TEMPORÁRIO) ----------
   Enquanto as fotos reais não chegam, usamos este bloco.
   Uso:  <div class="img-ph" data-label="HERO" style="aspect-ratio:16/9"></div>
   Troca depois: substituir a <div> por <img src="assets/img/arquivo.jpg">
   (ou usar <img> desde já apontando para o caminho final e só soltar o arquivo).
   Este bloco será removido quando não houver mais placeholders. */
.img-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background:
    repeating-linear-gradient(45deg,
      #e7e7ea, #e7e7ea 11px,
      #e0e0e4 11px, #e0e0e4 22px);
  color: #8a8a92;
  position: relative;
  overflow: hidden;
  user-select: none;
}
.img-ph::after {
  content: attr(data-label);
  font: 600 12px/1.4 system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.75;
}

/* ---------- Seções ----------
   Header, Hero, e demais seções serão adicionados abaixo,
   um bloco por vez.
   ---------------------------------------------------------- */

/* =============================================================
   PÁGINAS INTERNAS — O que fazemos / Segmentos (dark editorial, sem foto)
   ============================================================= */
.page-intro {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(116px,16vh,176px) var(--gutter) clamp(36px,6vh,60px);
}
.page-intro .eyebrow { color: var(--amber); display: block; margin-bottom: 16px; }
.page-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(38px,6vw,66px); line-height: 1.05; letter-spacing: -.015em;
  color: var(--headline); margin: 0 0 20px; max-width: 18ch; text-wrap: balance;
}
.page-lead { font-size: clamp(16px,1.4vw,18px); line-height: 1.62; color: rgba(236,231,222,.72); max-width: 62ch; }
.page-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px,4vh,40px); }
.page-nav a {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 9px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
  font-size: 12px; letter-spacing: .03em; color: rgba(236,231,222,.72);
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.page-nav a:hover { border-color: rgba(214,154,78,.5); color: var(--amber-bright); background: rgba(214,154,78,.05); }
.page-nav a b { color: var(--amber); font-weight: 600; font-size: 10.5px; letter-spacing: .06em; }

/* seção de tópico */
.topic { position: relative; overflow: hidden; scroll-margin-top: 88px; border-top: 1px solid rgba(255,255,255,.07); }
.topic-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: clamp(52px,9vh,100px) var(--gutter); }
.topic-ghost {
  position: absolute; top: clamp(14px,3vh,40px); right: clamp(-8px,1vw,20px); z-index: 0;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(130px,23vw,300px);
  line-height: .78; color: rgba(214,154,78,.055); pointer-events: none; user-select: none;
}
.topic-head { position: relative; z-index: 1; max-width: 780px; }
.topic-eyebrow { display: block; color: var(--amber); letter-spacing: .2em; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.topic-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px,4.4vw,52px); line-height: 1.06; letter-spacing: -.01em;
  color: var(--headline); margin: 14px 0 16px;
}
.topic-promise {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(16px,1.7vw,21px); line-height: 1.45; color: var(--amber-bright); max-width: 56ch;
}

.topic-body {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px,4vw,60px);
  margin-top: clamp(30px,5vh,50px); align-items: start;
}
/* alterna o lado do painel (a intro é a 1ª section, então tópicos pares = nth ímpar) */
.topic:nth-of-type(odd) .topic-prose { order: 2; }
.blk + .blk { margin-top: clamp(20px,3vh,28px); }
.blk-label {
  display: inline-block; position: relative; padding-left: 22px; margin-bottom: 9px;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--amber);
}
.blk-label::before { content:""; position:absolute; left:0; top:50%; width:14px; height:1px; background: var(--amber-line); }
.blk p { font-size: 15px; line-height: 1.66; color: rgba(236,231,222,.74); }
.blk p + p { margin-top: 12px; }

.topic-panel {
  padding: clamp(22px,2.6vw,30px);
  background: linear-gradient(180deg, rgba(26,22,18,.55), rgba(14,12,10,.72));
  border: 1px solid rgba(214,154,78,.14); border-radius: 16px;
  box-shadow: 0 26px 60px -40px rgba(0,0,0,.8); position: sticky; top: 96px;
}
.topic-viz { color: var(--amber); margin: -2px 0 20px; }
.topic-viz svg { width: 100%; height: 84px; display: block; overflow: visible; }
.topic-viz .vz-line { fill: none; stroke: currentColor; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.topic-viz .vz-soft { fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .35; vector-effect: non-scaling-stroke; }
.topic-viz .vz-fill { fill: currentColor; }
.topic-viz .vz-dim { fill: currentColor; opacity: .28; }
.topic-viz .vz-grid { stroke: rgba(255,255,255,.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.panel-title { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--warm-gray); margin-bottom: 15px; }
.deliverables { display: flex; flex-direction: column; gap: 13px; list-style: none; }
.deliverables li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.5; color: rgba(236,231,222,.8); }
.deliverables li::before {
  content:""; position:absolute; left:3px; top:3px; width:6px; height:11px;
  border-right: 2px solid var(--amber-bright); border-bottom: 2px solid var(--amber-bright);
  transform: rotate(45deg);
}

.topic-anchor {
  position: relative; z-index: 1; margin-top: clamp(34px,5vh,54px);
  padding: clamp(22px,3vw,30px) clamp(24px,3vw,38px);
  border-left: 2px solid var(--amber); border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(214,154,78,.07), transparent 82%);
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: clamp(19px,2.1vw,26px); line-height: 1.32; color: var(--headline); max-width: 44ch;
}
.topic-cta { position: relative; z-index: 1; margin-top: clamp(26px,4vh,36px); }

/* banda de fechamento */
.page-cta { border-top: 1px solid rgba(255,255,255,.08); background: linear-gradient(160deg, #14110d 0%, #0d0b09 60%, #0a0807 100%); }
.page-cta-inner { max-width: 760px; margin: 0 auto; padding: clamp(56px,9vh,96px) var(--gutter); text-align: center; }
.page-cta .eyebrow { color: var(--amber); display: block; margin-bottom: 16px; }
.page-cta h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px,3.6vw,44px); line-height: 1.1; color: var(--headline); margin: 0 0 16px; }
.page-cta p { color: rgba(236,231,222,.7); max-width: 54ch; margin: 0 auto 28px; font-size: 15.5px; line-height: 1.62; }

/* link que cobre o card inteiro (cards de "O que fazemos" e Segmentos) */
.card-link { position: absolute; inset: 0; z-index: 5; border-radius: inherit; }

@media (max-width: 820px) {
  .topic-body { grid-template-columns: 1fr; gap: 26px; }
  .topic .topic-prose { order: 0; }
  .topic-panel { position: static; }
}

/* =============================================================
   PÁGINAS LEGAIS (placeholder) — Política de Privacidade / Termos
   ============================================================= */
.legal {
  position: relative; z-index: 1;
  max-width: 680px; margin: 0 auto; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(64px,10vh,120px) var(--gutter);
}
.legal::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 82% 0%, rgba(214,154,78,.06), transparent 55%);
}
.legal-logo { display: inline-flex; margin-bottom: clamp(34px,5vh,52px); }
.legal-logo img { height: 20px; width: auto; display: block; }
.legal-eyebrow { color: var(--amber); display: block; margin-bottom: 16px; }
.legal-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px,5vw,52px); line-height: 1.08; letter-spacing: -.01em;
  color: var(--headline); margin: 0 0 18px;
}
.legal-text { font-size: 16px; line-height: 1.62; color: var(--warm-gray); max-width: 48ch; margin: 0 0 clamp(30px,4vh,40px); }
.legal-back { align-self: flex-start; }
.legal-foot { margin-top: clamp(44px,7vh,72px); font-size: 12px; letter-spacing: .02em; color: rgba(236,231,222,.3); }
.legal-foot a { color: rgba(236,231,222,.5); }
.legal-foot a:hover { color: var(--amber-bright); }

/* documentos legais completos (Política / Termos) */
.doc { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: clamp(112px,15vh,172px) var(--gutter) clamp(56px,8vh,88px); }
.doc .eyebrow { color: var(--amber); display: block; margin-bottom: 16px; }
.doc-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px,5vw,54px); line-height: 1.05; letter-spacing: -.015em; color: var(--headline); margin: 0 0 12px; }
.doc-updated { font-size: 12.5px; letter-spacing: .04em; color: var(--warm-gray); margin: 0 0 clamp(28px,4vh,40px); }
.doc-lead { font-size: clamp(15.5px,1.35vw,17.5px); line-height: 1.7; color: rgba(236,231,222,.8); margin: 0 0 14px; }
.doc-section { margin-top: clamp(32px,5vh,48px); padding-top: clamp(26px,3.5vh,34px); border-top: 1px solid rgba(255,255,255,.08); }
.doc-section h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px,2.4vw,27px); line-height: 1.22; color: var(--headline); margin: 0 0 14px; }
.doc-section h2 b { color: var(--amber); font-weight: 500; }
.doc-section h3 { font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--amber-bright); margin: 22px 0 9px; }
.doc p { font-size: 15.5px; line-height: 1.72; color: rgba(236,231,222,.74); margin: 0 0 14px; }
.doc p:last-child { margin-bottom: 0; }
.doc a { color: var(--amber-bright); text-decoration: underline; text-underline-offset: 2px; }
.doc strong { color: var(--offwhite); font-weight: 600; }
.doc ul { list-style: none; margin: 0 0 14px; display: flex; flex-direction: column; gap: 9px; }
.doc ul li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.62; color: rgba(236,231,222,.74); }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 1px; background: var(--amber); opacity: .85; }
.doc-callout { border-left: 2px solid var(--amber); background: linear-gradient(90deg, rgba(214,154,78,.07), transparent 82%); border-radius: 0 10px 10px 0; padding: 16px 22px; margin: 4px 0 16px; }
.doc-callout p { color: var(--headline); font-family: var(--font-display); font-style: italic; font-size: clamp(16px,1.6vw,19px); line-height: 1.4; margin: 0; }
.doc-sign { margin-top: clamp(36px,5vh,52px); padding-top: clamp(22px,3vh,28px); border-top: 1px solid rgba(255,255,255,.08); font-family: var(--font-display); font-style: italic; font-size: 15px; color: rgba(236,231,222,.55); }
.doc-sign span { color: var(--amber); font-style: normal; }
