:root {
  --accent: #b4ca7a;
  --ink-dim: #b3b09d;
  --ink-faint: #898875;
  --line: #2e3424;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
section { scroll-margin-top: 18px; padding-block: clamp(3rem, 7vw, 6rem); }
.skip { position: fixed; top: 10px; left: 10px; z-index: 5; transform: translateY(-160%); padding: 10px; background: var(--paper); color: var(--bg); }
.skip:focus { transform: none; }
.mast { border-bottom: 1px solid var(--line); background: #11140d; }
.mast-inner, .topbar, .page { max-width: 1240px; padding-inline: clamp(18px, 5vw, 60px); }
.mast-inner { margin-inline: auto; min-height: 70px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 24px; padding-block: 14px; }
.mast a { text-decoration: none; }
.brand { display: inline-flex; gap: 7px; align-items: center; color: var(--paper); font-size: .94rem; }
.brand b { color: var(--accent); }
.brand-mark { width: 15px; height: 15px; margin-right: 5px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-3px); }
.mast nav { display: flex; flex-wrap: wrap; gap: 10px clamp(10px, 3vw, 30px); font-size: .75rem; }
.mast nav a { padding-block: 6px; }
.mast nav a:hover, .mast nav a:last-child, .text-link { color: var(--accent); }
.topbar { justify-content: flex-end; padding-block: 12px; color: var(--ink-dim); }

.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  align-content: end;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  min-height: clamp(480px, 47vw, 650px);
  padding: clamp(22px, 5vw, 66px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, #0d100a 43%, #0d100abf 52%, transparent 74%),
    linear-gradient(0deg, #0a0c07c9, transparent 32%),
    #0d100a url("operacao.jpg") right top / max(49%, 360px) auto no-repeat;
}
.hero::after { content: ""; position: absolute; inset: 10px; border: 1px solid #b4ca7a29; z-index: -1; pointer-events: none; }
.hero h1 { font-size: clamp(2.6rem, 7.4vw, 6.35rem); max-width: 15ch; line-height: 1.02; text-wrap: initial; }
.hero p.lede { font-size: clamp(1rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 25px; }
.text-link { font-size: .79rem; text-underline-offset: 5px; }
.hero-note { margin: 0; padding-top: 17px; border-top: 1px solid #b4ca7a45; color: var(--ink); font-size: .76rem; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; padding: 13px 18px; letter-spacing: .025em; }

section h2 { font-size: clamp(2.2rem, 5vw, 4.25rem); text-wrap: pretty; }
.eyebrow { letter-spacing: .12em; text-transform: uppercase; }
#projetos { border-top: 0; display: grid; grid-template-columns: 1fr auto; gap: 18px 26px; align-items: start; }
#projetos .head, #projetos .stat-block { margin-bottom: 0; }
#projetos .stat-block { align-items: center; padding: 18px 22px; }
.subhead, .cards { grid-column: 1 / -1; }
.subhead { margin: 0; }
.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.card { min-width: 0; padding: 12px 12px 17px; border-color: var(--line-strong); background: linear-gradient(160deg,#1b2015,#12150d); transition: border-color .2s, background-color .2s; }
.card:hover { border-color: var(--accent); }
.photo-slot { width: 100%; aspect-ratio: 5 / 4; }
.photo-slot img { object-position: center 35%; }
.card h3 { font-size: clamp(.9rem, 2vw, 1.18rem); line-height: 1.2; margin-bottom: 6px; }
.card .tag { font-size: .77rem; line-height: 1.35; display: block; }

.record { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.record-row, .record-row:first-child { border-top: 1px solid var(--line); grid-template-columns: 14px 1fr; }
.chevron { width: 9px; height: 9px; margin-top: .5rem; }
#trajetoria > .head {
  display: grid;
  align-content: end;
  min-height: 220px;
  padding: clamp(18px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  background: linear-gradient(90deg, #10130c 15%, #10130ce3 48%, #10130c44), #191f14 url("arquivo.jpg") right 38% / auto 150% no-repeat;
}
.timeline { max-width: 810px; margin-inline: auto; }
.tl-item { padding-bottom: 25px; }
.tl-photo { width: 82px; height: 72px; }
.tl-item h4, .record-row h4 { font-size: 1.09rem; }
.tl-photo.tl-photo-bml {
  position: relative;
  display: block;
  width: clamp(100px, 21vw, 138px);
  height: auto;
  aspect-ratio: 850 / 530;
  overflow: hidden;
  border-style: solid;
}
.tl-photo-bml img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 106%;
  height: auto;
  transform: translateY(-35%);
}
.eval-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.eval-group { padding: 16px; background: var(--bg-raised); border: 1px solid var(--line); }
.eval-row { flex-wrap: wrap; gap: 3px 12px; }
.eval-row .role { text-align: left; }
.funnel { max-width: 730px; margin-bottom: 24px; }
.funnel + .manifesto { max-width: 730px; }
#contato { border: 1px solid var(--line-strong); padding: clamp(24px, 5vw, 60px); background: linear-gradient(90deg,#13190f 44%,#13190fbf), #13190f url("operacao.jpg") right top / max(48%, 300px) auto no-repeat; }
#contato .head, #contato .cta-box { max-width: 750px; }
#contato .cta-box { padding: 0; background: transparent; border: 0; }
#contato .cta-box::before, #contato .cta-box::after { content: none; }
.contact-status { color: var(--accent); font-size: .83rem; }

@media (max-width: 760px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eval-groups { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .mast-inner { justify-content: flex-start; }
  .mast nav { width: 100%; }
  .topbar { justify-content: flex-start; }
  .hero {
    min-height: 0;
    padding-top: clamp(195px, 61vw, 290px);
    background:
      linear-gradient(0deg, #0d100a 52%, #0d100a30 78%, transparent),
      #0d100a url("operacao.jpg") center top / 100% auto no-repeat;
  }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .hero-actions { gap: 13px; }
  #projetos, .record { grid-template-columns: 1fr; }
  #projetos .stat-block { justify-self: start; }
  .tl-photo { width: 58px; height: 58px; }
  footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}

/* ---------- faixa de reuniões (loop em vídeo, estilo GIF) ---------- */
#reunioes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
#reunioes .head { margin-bottom: 0; }
.reel { margin: 0; padding: 10px; border: 1px solid var(--line-strong); background: #0d100a; }
.reel-video { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; background: #000; }
.reel figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding-top: 10px; color: var(--ink-dim); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.reel figcaption span:first-child { color: var(--accent); }
@media (max-width: 820px) {
  #reunioes { grid-template-columns: 1fr; gap: 22px; }
}
