/* ==========================================================================
   Grupo Tropheus — Hub institucional
   Paleta oficial (Manual de Marca 2026) — EXATAMENTE 5 cores, sem exceção:
   Petróleo #00383C, Laranja #F37741 (acento único, moderação), Branco #FFFFFF,
   Preto #060606, Azul-marinho #0A1628 (apoio). Variação de tom só via
   opacidade/rgba das 5 cores acima — nunca um novo matiz. Laranja nunca é
   "cor de frente/unidade"; as 3 frentes NÃO têm cor própria.
   ========================================================================== */

:root {
  /* paleta oficial — únicas 5 cores da marca */
  --petroleo: #00383c;
  --laranja: #f37741;
  --branco: #ffffff;
  --preto: #060606;
  --marinho: #0a1628;

  /* papéis semânticos — sempre uma das 5 cores acima, variada só por opacidade */
  --ink: var(--preto);                          /* texto sobre fundo claro */
  --ink-soft: rgba(6, 6, 6, 0.65);               /* preto translúcido — texto secundário sobre fundo claro */
  --paper: var(--branco);                       /* fundo claro / espaço negativo */
  --paper-dim: rgba(10, 22, 40, 0.035);          /* azul-marinho bem diluído — fundo claro alternativo */
  --line: rgba(10, 22, 40, 0.14);                /* azul-marinho diluído — divisores sobre fundo claro */
  --dark-soft: rgba(255, 255, 255, 0.62);        /* branco translúcido — texto secundário sobre fundo escuro */

  --font-display: "Montserrat", "Segoe UI", Arial, sans-serif; /* fonte oficial — logotipo, títulos principais, headings e corpo de texto */
  --font-mono: "JetBrains Mono", "Consolas", monospace;        /* rótulos técnicos — sem definição oficial no manual, mantido */

  --maxw: 73.75rem;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 38px; width: auto; }

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* raiz de escala fluida: 1rem cresce suavemente com a largura da tela,
     então todo espaçamento/tipografia em rem escala proporcionalmente —
     notebook, monitor grande ou ultrawide, sem saltos bruscos. */
  font-size: clamp(15px, 0.45vw + 13.3px, 20px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
h1, h2 { text-wrap: balance; }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "‹";
  color: var(--laranja);
  font-weight: 700;
  font-size: 1.1em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateX(3px); }
.btn-fill {
  background: var(--laranja);
  color: var(--branco);
  border-color: var(--laranja);
}
.btn-fill:hover { opacity: 0.85; }
.btn svg { width: 14px; height: 14px; }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- utility bar ---------- */
.utility-bar {
  background: var(--petroleo);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.utility-bar .wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 38px;
}
.utility-nav { display: flex; gap: 26px; }
.utility-nav a {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s ease;
}
.utility-nav a:hover { color: var(--laranja); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 56, 60, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-header .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 76px;
}
/* menu principal — itens de 1º nível + submenus (dropdown no desktop, sanfona no celular) */
.main-nav { display: flex; justify-content: center; }
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-item { position: relative; display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0 6px;
  color: var(--branco);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--laranja);
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.nav-item.is-current > .nav-link::after { width: 100%; }
.nav-link .ext-icon { width: 11px; height: 11px; opacity: 0.6; }

.sub-toggle {
  background: none;
  border: none;
  color: var(--branco);
  padding: 6px 2px;
  cursor: pointer;
  display: inline-flex;
  opacity: 0.75;
}
.sub-toggle svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.nav-item.is-open > .sub-toggle svg { transform: rotate(180deg); }

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  top: calc(100% + 18px);
  left: -20px;
  min-width: 15rem;
  background: var(--branco);
  color: var(--ink);
  border-top: 3px solid var(--laranja);
  box-shadow: 0 24px 50px -18px rgba(6, 6, 6, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 120;
}
/* ponte invisível para o mouse não "cair" no vão entre o item e o submenu */
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -21px; height: 21px; }
.nav-item.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
@media (hover: hover) and (min-width: 1081px) {
  .nav-item.has-sub:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
}
.sub-menu a {
  display: block;
  padding: 9px 22px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.sub-menu a:hover,
.sub-menu a[aria-current="page"] { background: var(--paper-dim); color: var(--laranja); }
.sub-menu .sub-label {
  display: block;
  padding: 12px 22px 6px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.sub-menu .sub-divider { border-top: 1px solid var(--line); margin: 8px 0; }
/* submenu da TOI: duas colunas (soluções | demais páginas) */
.sub-menu.sub-menu--wide {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-width: 30rem;
  left: auto;
  right: -20px;
}
.sub-menu--wide .sub-col + .sub-col { border-left: 1px solid var(--line); }
.sub-menu--wide ul { list-style: none; margin: 0; padding: 0; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.btn-sm { padding: 10px 18px; font-size: 0.74rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--branco); margin: 5px 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* foco visível em tudo que é clicável */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--laranja);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--laranja);
  color: var(--branco);
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.8rem;
}
.skip-link:focus { top: 12px; }

/* ---------- hero ---------- */
.hero {
  padding: 9.375rem 0;
  min-height: 82vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--petroleo);
  color: var(--branco);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,56,60,0.74) 0%, rgba(0,56,60,0.7) 45%, rgba(0,56,60,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero h1 {
  font-size: clamp(2.8rem, 6.6vw, 5.6rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 18px 0 26px;
}
.hero h1 em {
  font-style: normal;
  color: var(--laranja);
}
.hero-support {
  max-width: 72ch;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--dark-soft);
}
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- barra de certificações (faixa discreta) ---------- */
.cert-bar {
  background: var(--branco);
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cert-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 32px;
}
.cert-bar-text {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}
.cert-bar-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}
.cert-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
}
.cert-chip img {
  height: 100%;
  width: auto;
  max-width: 96px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}
.cert-chip:hover img { filter: none; opacity: 1; }

/* ---------- manifesto ---------- */
.manifesto {
  padding: 9.375rem 0;
  background: var(--petroleo);
  color: var(--branco);
}
.manifesto .wrap { max-width: 85rem; }
.manifesto-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 90px;
  align-items: center;
}
.video-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: linear-gradient(155deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 60px -18px rgba(6,6,6,0.35), 0 10px 22px -12px rgba(6,6,6,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--dark-soft);
  overflow: hidden;
}
.video-placeholder video, .video-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }
.manifesto .eyebrow { color: var(--dark-soft); }
.manifesto-copy {
  margin-top: 18px;
  font-size: 1.28rem;
  line-height: 1.75;
  color: var(--dark-soft);
  max-width: 72ch;
}

/* ---------- nossa trajetória / linha do tempo (rolagem horizontal contínua) ---------- */
.timeline {
  /* recuo que alinha o primeiro marco com a coluna de conteúdo (.wrap) */
  --tl-inset: max(32px, calc((100vw - var(--maxw)) / 2 + 32px));
  --tl-item: clamp(16.5rem, 24vw, 21rem);
  padding: 8.75rem 0 5.625rem;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.timeline-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 40px;
  margin-bottom: 3.5rem;
}
/* título ocupa a largura toda; os botões dividem a linha só com o parágrafo */
.timeline-intro { display: contents; }
.timeline-head .eyebrow, .timeline-head h2 { grid-column: 1 / -1; justify-self: start; }
.timeline-head .eyebrow { color: var(--ink-soft); }
.timeline-head h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0.875rem 0 1rem;
}
.timeline-head p { font-size: 1.02rem; color: var(--ink-soft); margin: 0; }

.tl-controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.tl-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--petroleo);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.tl-btn svg { width: 20px; height: 20px; }
.tl-btn:hover { background: var(--petroleo); border-color: var(--petroleo); color: var(--branco); }
.tl-btn:focus-visible { outline: 2px solid var(--laranja); outline-offset: 3px; }
.tl-play .tl-ico-play { display: none; }
.tl-play[aria-pressed="true"] .tl-ico-play { display: block; }
.tl-play[aria-pressed="true"] .tl-ico-pause { display: none; }
.tl-play[aria-pressed="true"] { border-color: var(--laranja); color: var(--laranja); }

.tl-track {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  outline: none;
  padding: 14px 0;
}
.tl-track::-webkit-scrollbar { display: none; }
.tl-track:focus-visible { box-shadow: inset 0 0 0 2px var(--laranja); }
.tl-track.is-dragging { cursor: grabbing; user-select: none; }
.tl-track.is-dragging * { pointer-events: none; }

.tl-list {
  position: relative;
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* o eixo: atravessa todos os marcos na altura dos pontos */
.tl-list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(3.6rem + 0.2rem + 8px);
  height: 1px;
  background: rgba(6, 6, 6, 0.18);
}

.tl-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 var(--tl-item);
  padding-right: 2.5rem;
}

.tl-year {
  display: block;
  height: 3.6rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--petroleo);
  transition: color 0.3s;
}
.tl-mark {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  margin: 0.2rem 0 1.6rem;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--petroleo);
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}
.tl-item--media .tl-mark { background: var(--petroleo); }
.tl-item:hover .tl-mark { background: var(--laranja); border-color: var(--laranja); transform: scale(1.25); }
.tl-item:hover .tl-year { color: var(--laranja); }

.tl-unit {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petroleo);
  border: 1px solid rgba(0, 56, 60, 0.3);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 14px;
}
.tl-item h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 10px;
}
.tl-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 30ch;
}

/* imagem do marco: alinhada na base, para as fotos formarem uma faixa */
.tl-media {
  width: 100%;
  margin: auto 0 0;
  padding-top: 24px;
}
.tl-media img,
.tl-media-ph {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}
.tl-media-ph {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(0, 56, 60, 0.35);
  background: repeating-linear-gradient(135deg, rgba(0, 56, 60, 0.05) 0 12px, transparent 12px 24px);
}
.tl-media-ph span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.tl-progress {
  position: relative;
  height: 3px;
  margin-top: 3rem;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.tl-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--laranja);
  transform: scaleX(var(--tl-p, 0));
  transform-origin: left;
}

@media (prefers-reduced-motion: reduce) {
  .tl-year, .tl-mark { transition: none !important; }
}

/* ---------- página Quem Somos — banner de topo ---------- */
.story-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 50px 0;
  background: var(--petroleo);
  color: var(--branco);
}
.story-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.story-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,56,60,0.92) 0%, rgba(0,56,60,0.68) 55%, rgba(0,56,60,0.4) 100%);
}
.story-hero-content { position: relative; z-index: 1; }
.story-hero .eyebrow { color: var(--dark-soft); }
.story-hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 36ch;
  margin: 14px 0 0;
}

.story-block {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.story-block .bignum {
  position: absolute;
  left: 0;
  top: 90px;
  font-family: var(--font-mono);
  font-size: 11rem;
  font-weight: 700;
  line-height: 1;
  color: var(--petroleo);
  opacity: 0.14;
  z-index: 0;
  user-select: none;
}
.story-block.reverse .bignum { left: auto; right: 0; }

.story-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 70px;
  align-items: center;
}
.story-block.reverse .story-inner { grid-template-columns: 1fr 0.8fr; }
.story-block.reverse .story-photo-col { order: 2; }
.story-block.reverse .story-text { order: 1; }

.story-photo-col { display: flex; flex-direction: column; }

.story-carousel {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 26px 60px -18px rgba(6,6,6,0.3), 0 10px 22px -12px rgba(6,6,6,0.18);
  transform: translateY(-14px);
}
.story-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.story-slide { flex: 0 0 100%; min-width: 0; }
.story-photo {
  aspect-ratio: 16 / 9;
  background: linear-gradient(155deg, rgba(0,56,60,0.07), rgba(10,22,40,0.11));
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink-soft);
  overflow: hidden;
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-photo svg { width: 34px; height: 34px; opacity: 0.45; }
.story-photo span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
}
.story-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.88);
  color: var(--petroleo);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.story-carousel-nav:hover { background: var(--branco); }
.story-carousel-nav.prev { left: 12px; }
.story-carousel-nav.next { right: 12px; }
.story-carousel-nav svg { width: 16px; height: 16px; }
.story-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.story-carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.story-carousel-dot.is-active { background: var(--laranja); transform: scale(1.25); }
.story-caption {
  margin: 14px 4px 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  font-style: italic;
}

.story-title {
  position: relative;
  display: inline-block;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 16px 0 26px;
}
.story-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 4px;
  width: 64px;
  background: var(--laranja);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1) 0.15s;
}
.story-text.is-visible .story-title::after { transform: scaleX(1); }
.story-text p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; max-width: 70ch; }

/* ---------- integrador técnico (framework interativo) ---------- */
.fw {
  position: relative;
  padding: 8.75rem 0 7.5rem;
  background:
    radial-gradient(60rem 36rem at 78% 55%, rgba(0, 56, 60, 0.85), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--marinho);
  color: var(--branco);
  overflow: hidden;
}
.fw-head { max-width: 64rem; margin-bottom: 4rem; }
.fw-head .eyebrow { color: var(--dark-soft); }
.fw-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 16px 0 18px;
}
.fw-head h2 em { font-style: normal; color: var(--laranja); display: block; }
.fw-head p { color: var(--dark-soft); font-size: 1.05rem; margin: 0; max-width: 72ch; }

.fw-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 32rem) minmax(0, 1fr);
  align-items: stretch;
}
.fw-col { display: flex; flex-direction: column; min-width: 0; }
.fw-col-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-soft);
  height: 0;
  transform: translateY(-2.2rem);
}
.fw-col--solution .fw-col-label { color: var(--laranja); padding-left: 3.25rem; }
.fw-list {
  flex: 1;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.fw-list li { display: flex; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.fw-list li:first-child { border-top: 0; }

.fw-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 14px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.fw-col--problem .fw-item { padding-right: 34px; }
.fw-col--solution .fw-item { padding-left: 34px; }
.fw-item:focus-visible { outline: 2px solid var(--laranja); outline-offset: 2px; }

.fw-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 2.3rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.35s;
}
.fw-check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(243, 119, 65, 0.45);
  color: var(--laranja);
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}
.fw-check svg { width: 16px; height: 16px; }
.fw-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fw-text strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.35s;
}
.fw-text span { font-size: 0.88rem; line-height: 1.5; color: rgba(255, 255, 255, 0.5); transition: color 0.35s; }

.fw-dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background-color 0.35s, box-shadow 0.35s, transform 0.35s;
}
.fw-col--problem .fw-dot { right: -5px; }
.fw-col--solution .fw-dot { left: -5px; background: rgba(243, 119, 65, 0.5); }

/* item ativo */
.fw-item[aria-pressed="true"] .fw-text strong { color: var(--branco); }
.fw-item[aria-pressed="true"] .fw-text span { color: var(--dark-soft); }
.fw-col--problem .fw-item[aria-pressed="true"] .fw-num { color: var(--branco); }
.fw-col--solution .fw-item[aria-pressed="true"] .fw-check { background: var(--laranja); border-color: var(--laranja); color: var(--branco); }
.fw-item[aria-pressed="true"] .fw-dot { transform: scale(1.4); }
.fw-col--problem .fw-item[aria-pressed="true"] .fw-dot { background: var(--branco); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12); }
.fw-col--solution .fw-item[aria-pressed="true"] .fw-dot { background: var(--laranja); box-shadow: 0 0 0 6px rgba(243, 119, 65, 0.22); }

/* desenho central */
.fw-visual { position: relative; align-self: center; aspect-ratio: 1; }
.fw-svg { width: 100%; height: 100%; overflow: visible; }
.fw-halo { opacity: 0.5; transition: opacity 0.6s; }
.fw-board.is-in .fw-halo { animation: fw-breathe 5s ease-in-out infinite; }
@keyframes fw-breathe { 50% { opacity: 1; } }

.fw-link { fill: none; stroke-width: 1.5; transition: stroke 0.35s, opacity 0.35s; }
.fw-links--problem .fw-link { stroke: rgba(255, 255, 255, 0.22); }
.fw-links--solution .fw-link { stroke: rgba(243, 119, 65, 0.35); }
.fw-link.is-active { stroke-dasharray: 6 6; animation: fw-flow 0.9s linear infinite; }
.fw-links--problem .fw-link.is-active { stroke: var(--branco); }
.fw-links--solution .fw-link.is-active { stroke: var(--laranja); stroke-width: 2; }
@keyframes fw-flow { to { stroke-dashoffset: -12; } }

.fw-shard {
  fill: rgba(255, 255, 255, 0.07);
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1.2;
  stroke-dasharray: 5 5;
  transform: translate(var(--fx), var(--fy));
  transition: fill 0.4s, stroke 0.4s, transform 0.6s cubic-bezier(.2,.7,.2,1), opacity 0.6s;
}
.fw-shard.is-active { fill: rgba(255, 255, 255, 0.16); stroke: var(--branco); transform: translate(calc(var(--fx) * 1.9), calc(var(--fy) * 1.9)); }

.fw-sector {
  fill: url(#fw-solid);
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
  transition: fill 0.4s;
}
.fw-sector.is-active { fill: rgba(243, 119, 65, 0.22); }
.fw-rim { fill: none; stroke: var(--laranja); stroke-width: 3; }
.fw-solid { filter: drop-shadow(0 0 24px rgba(243, 119, 65, 0.25)); }

.fw-arrow circle { fill: var(--marinho); stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.2; }
.fw-arrow path { fill: none; stroke: var(--laranja); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fw-board.is-in .fw-arrow path { animation: fw-nudge 1.6s ease-in-out infinite; }
@keyframes fw-nudge { 50% { transform: translateX(3px); } }

.fw-label { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: 0.06em; pointer-events: none; }
.fw-label--frag { fill: rgba(255, 255, 255, 0.6); stroke: var(--marinho); stroke-width: 6px; paint-order: stroke; stroke-linejoin: round; }
.fw-item .fw-text strong .fw-keep { text-transform: none; font-size: inherit; color: inherit; }
.fw-label--int { fill: var(--branco); }
.fw-label-brand { fill: var(--laranja); font-weight: 800; font-size: 20px; }

/* entrada: os fragmentos chegam espalhados e o lado integrado se acende */
.fw-board.fw-js:not(.is-in) .fw-shard { opacity: 0; transform: translate(calc(var(--fx) * 6), calc(var(--fy) * 6)); }
.fw-board.fw-js:not(.is-in) .fw-solid,
.fw-board.fw-js:not(.is-in) .fw-label--int { opacity: 0; }
.fw-solid, .fw-label--int { transition: opacity 0.9s 0.35s; }
.fw-board .fw-shard:nth-child(2) { transition-delay: 0.05s; }
.fw-board .fw-shard:nth-child(3) { transition-delay: 0.1s; }
.fw-board .fw-shard:nth-child(4) { transition-delay: 0.15s; }
.fw-board.is-ready .fw-shard { transition-delay: 0s; }

.fw-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 3.5rem; }
.fw-steps { display: flex; gap: 10px; }
.fw-step { width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.fw-step span { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); overflow: hidden; position: relative; }
.fw-step span::after { content: ""; position: absolute; inset: 0; background: var(--laranja); transform: scaleX(0); transform-origin: left; }
.fw-step[aria-current="true"] span::after { transform: scaleX(1); }
.fw-board.is-auto ~ .fw-foot .fw-step[aria-current="true"] span::after { animation: fw-fill var(--fw-t, 5s) linear forwards; }
@keyframes fw-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.fw-step:focus-visible { outline: 2px solid var(--laranja); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .fw-link.is-active, .fw-board.is-in .fw-halo, .fw-board.is-in .fw-arrow path { animation: none; }
  .fw-shard, .fw-solid, .fw-label--int { transition: none; }
}

/* ---------- clientes e parceiros ---------- */
.partners {
  position: relative;
  padding: 8.125rem 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.partners-accent {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: 380px;
  max-width: 32vw;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.partners .wrap { position: relative; z-index: 1; }
.partners .eyebrow { color: var(--ink-soft); }
.partners h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 34ch;
  margin: 16px 0 6px;
}
.partners-grid {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.partners-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 18px 20px;
  background: var(--branco);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.partners-grid li:hover {
  border-color: var(--laranja);
  box-shadow: 0 6px 18px rgba(10, 22, 40, 0.08);
  transform: translateY(-2px);
}
.partners-grid img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 1100px) { .partners-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partners-grid li { height: 96px; padding: 14px; }
  .partners-grid img { max-height: 56px; }
}

/* ---------- CTA final ---------- */
.cta-final {
  padding: 10rem 0;
  background: var(--petroleo);
  color: var(--branco);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cta-final h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 800;
  max-width: none;
  margin: 0 0 60px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.contact-card {
  background: var(--petroleo);
  padding: 34px 28px;
  transition: background 0.25s ease;
}
.contact-card:hover { filter: brightness(1.22); }
.contact-card .chip { width: 10px; height: 10px; border-radius: 50%; margin-bottom: 18px; background: var(--laranja); }
.contact-card h4 { font-size: 1.1rem; margin: 0 0 10px; }
.contact-card p { color: var(--dark-soft); font-size: 0.88rem; margin: 0 0 18px; }
.contact-card a.btn { border-color: rgba(255, 255, 255, 0.4); color: var(--branco); font-size: 0.75rem; padding: 10px 16px; }
.contact-card a.btn:hover { background: var(--branco); color: var(--preto); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--petroleo);
  color: var(--dark-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid {
  padding: 80px 32px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1fr 1.3fr;
  gap: 40px;
}
.footer-brand p { max-width: 32ch; font-size: 0.86rem; line-height: 1.6; margin: 18px 0 0; }
.footer-grid h5 {
  color: var(--branco);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-grid h5 a { color: inherit; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { font-size: 0.84rem; transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--laranja); }
.footer-contact { font-style: normal; font-size: 0.84rem; line-height: 1.6; display: flex; flex-direction: column; gap: 12px; }
.footer-contact strong { display: block; color: var(--branco); font-weight: 700; font-size: 0.78rem; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--branco);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { background: var(--laranja); border-color: var(--laranja); color: var(--branco); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 32px;
  font-size: 0.74rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--laranja); }

/* ==========================================================================
   COMPONENTES DE PÁGINA — usados por Industrial, TOI e páginas internas.
   Catálogo visual de todos eles em /componentes/ (página só para revisão).
   ========================================================================== */

/* ---------- topo de página interna ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--petroleo);
  color: var(--branco);
  padding: 5.5rem 0 4.5rem;
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,56,60,0.95) 0%, rgba(0,56,60,0.82) 50%, rgba(0,56,60,0.55) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--dark-soft); }
.page-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 30ch;
  margin: 16px 0 22px;
}
.page-hero h1 em { font-style: normal; color: var(--laranja); }
.page-hero .lead { max-width: 72ch; font-size: 1.08rem; line-height: 1.65; color: var(--dark-soft); margin: 0; }
.page-hero .hero-cta-row { margin-top: 34px; }
.page-hero--tall { padding: 8rem 0 7rem; min-height: 72vh; display: flex; align-items: center; }
.page-hero--tall .wrap { width: 100%; }
/* topo com equipamento recortado à direita (páginas de solução da TOI) */
.page-hero--product .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.page-hero--product .hero-product img { width: 100%; max-height: 360px; object-fit: contain; filter: drop-shadow(0 28px 30px rgba(6,6,6,0.45)); }

.breadcrumb { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dark-soft); }
.breadcrumb ol { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumb a:hover { color: var(--laranja); }
.breadcrumb [aria-current="page"] { color: var(--branco); }

/* barra de navegação da unidade, logo abaixo do topo */
.unit-bar {
  background: var(--branco);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 76px;
  z-index: 90;
}
.unit-bar .wrap { display: flex; align-items: stretch; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.unit-bar .wrap::-webkit-scrollbar { display: none; }
.unit-bar-name { align-self: center; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; padding-right: 28px; border-right: 1px solid var(--line); }
.unit-bar a { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; padding: 18px 0 16px; border-bottom: 2px solid transparent; }
.unit-bar a:hover { color: var(--laranja); }
.unit-bar a[aria-current="page"] { border-bottom-color: var(--laranja); color: var(--petroleo); }

/* ---------- seções genéricas ---------- */
.section { padding: 7.5rem 0; border-top: 1px solid var(--line); }
.section--alt { background: var(--paper-dim); }
.section--dark { background: var(--petroleo); color: var(--branco); border-top-color: rgba(255,255,255,0.12); }
.section--dark .eyebrow, .section--dark .section-head .eyebrow, .section--dark .section-head p { color: var(--dark-soft); }
.section--tight { padding: 5rem 0; }
.section-head { max-width: 64rem; margin-bottom: 3.5rem; }
.section-head .eyebrow { color: var(--ink-soft); }
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 14px 0 18px;
}
.section-head p { font-size: 1.04rem; line-height: 1.7; color: var(--ink-soft); margin: 0; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head--row > div { max-width: 64rem; }
.prose p { font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); max-width: 72ch; }
.section--dark .prose p { color: var(--dark-soft); }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* bloco texto + imagem lado a lado */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.split-media img { width: 100%; border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 26px 60px -18px rgba(6,6,6,0.3); }

/* ---------- card simples (serviço, diferencial) ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  background: var(--branco);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.card-num { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; color: var(--laranja); margin-bottom: 18px; }
.card-icon { width: 40px; height: 40px; color: var(--petroleo); margin-bottom: 20px; }
.card h3 { font-size: 1.12rem; font-weight: 800; line-height: 1.25; margin: 0 0 10px; }
.card p { font-size: 0.9rem; line-height: 1.65; color: var(--ink-soft); margin: 0 0 16px; }
.card .card-more { margin-top: auto; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--petroleo); display: inline-flex; gap: 8px; align-items: center; }
a.card:hover { border-color: var(--laranja); transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(6,6,6,0.35); }
a.card:hover .card-more { color: var(--laranja); }
.section--dark .card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }
.section--dark .card p { color: var(--dark-soft); }
.section--dark .card .card-icon, .section--dark .card .card-more { color: var(--branco); }

/* ---------- card com foto (unidade, setor, solução) ---------- */
.photo-card { display: flex; flex-direction: column; background: var(--branco); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.photo-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-dim); }
.photo-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.photo-card-media--product { display: flex; align-items: center; justify-content: center; padding: 22px; background: linear-gradient(160deg, rgba(10,22,40,0.03), rgba(0,56,60,0.1)); }
.photo-card-media--product img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.photo-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.photo-card-body h3 { font-size: 1.1rem; font-weight: 800; margin: 0 0 8px; }
.photo-card-body p { font-size: 0.88rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 16px; }
.photo-card-body .card-more { margin-top: auto; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--petroleo); }
a.photo-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(6,6,6,0.35); }
a.photo-card:hover img { transform: scale(1.04); }
a.photo-card:hover .card-more { color: var(--laranja); }

/* ---------- ficha de equipamento (TOI) ---------- */
.equip { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: start; padding: 4.5rem 0; border-top: 1px solid var(--line); }
.equip:first-of-type { border-top: none; padding-top: 0; }
.equip-media {
  position: sticky;
  top: 150px;
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(10,22,40,0.03), rgba(0,56,60,0.12));
}
.equip-media img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(6,6,6,0.22)); }
.equip-brand { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--laranja); }
.equip h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.1; margin: 10px 0 14px; }
.equip-lead { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); margin: 0 0 26px; }
.equip-block + .equip-block { margin-top: 22px; }
.equip-block h4 { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 8px; }
.equip-block p { font-size: 0.93rem; line-height: 1.7; margin: 0; }

/* lista de especificações técnicas (rótulo | valor) */
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 26px 0 0; border-top: 1px solid var(--line); }
.spec-list div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.spec-list dd { margin: 0; font-size: 0.92rem; font-weight: 700; }

/* ---------- etiquetas e listas ---------- */
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink-soft); background: var(--branco); }
.section--dark .tag, .page-hero .tag { border-color: rgba(255,255,255,0.25); color: var(--dark-soft); background: transparent; }

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 26px; font-size: 0.95rem; line-height: 1.6; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 2px; background: var(--laranja); }

/* ---------- números ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--branco); padding: 30px 26px; }
.stat-value { display: block; font-family: var(--font-mono); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--petroleo); line-height: 1; }
.stat-value small { font-size: 0.5em; color: var(--laranja); margin-left: 2px; }
.stat-label { display: block; margin-top: 12px; font-size: 0.84rem; line-height: 1.5; color: var(--ink-soft); }
.section--dark .stat-row { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.14); }
.section--dark .stat { background: var(--petroleo); }
.section--dark .stat-value { color: var(--branco); }
.section--dark .stat-label { color: var(--dark-soft); }

/* ---------- etapas de atendimento ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--laranja);
}
.steps li::after { content: ""; position: absolute; top: 15px; left: 52px; right: -16px; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 8px; }
.steps p { font-size: 0.88rem; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.section--dark .steps li::after { background: rgba(255,255,255,0.18); }
.section--dark .steps p { color: var(--dark-soft); }

/* ---------- setores (foto + rótulo) ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 16px; }
.sector-tile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--marinho); color: var(--branco); }
.sector-tile img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.sector-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,6,6,0) 35%, rgba(6,6,6,0.75) 100%); }
.sector-tile-label { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.sector-tile-label strong { display: block; font-size: 1.05rem; font-weight: 800; }
.sector-tile-label span { display: block; margin-top: 4px; font-size: 0.78rem; color: rgba(255,255,255,0.78); line-height: 1.45; }
.sector-tile:hover img { transform: scale(1.05); }

/* ---------- case ---------- */
.case-card { display: grid; grid-template-columns: 1fr 1.15fr; background: var(--branco); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.case-card + .case-card { margin-top: 28px; }
.case-card-media { min-height: 320px; background: var(--paper-dim); }
.case-card-media img { width: 100%; height: 100%; object-fit: cover; }
.case-card-body { padding: 40px 44px; display: flex; flex-direction: column; }
.case-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.case-meta span:first-child { color: var(--laranja); font-weight: 600; }
.case-card h3 { font-size: 1.45rem; font-weight: 800; line-height: 1.2; margin: 14px 0 14px; }
.case-card p { font-size: 0.95rem; line-height: 1.7; color: var(--ink-soft); margin: 0 0 20px; }
.case-card .tag-list { margin-top: auto; }
.case-card--reverse .case-card-media { order: 2; }

/* espaço reservado para foto que ainda não chegou */
.photo-ph {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  color: var(--ink-soft);
  background:
    repeating-linear-gradient(135deg, rgba(0,56,60,0.05) 0 12px, transparent 12px 24px),
    linear-gradient(155deg, rgba(0,56,60,0.06), rgba(10,22,40,0.1));
}
.photo-ph svg { width: 32px; height: 32px; opacity: 0.45; }
.photo-ph span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.65; max-width: 30ch; }

/* ---------- faixa de chamada ---------- */
.cta-band { background: var(--petroleo); color: var(--branco); padding: 5.5rem 0; position: relative; overflow: hidden; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.15; max-width: 32ch; margin: 0 0 12px; }
.cta-band p { color: var(--dark-soft); margin: 0; max-width: 64ch; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.cta-band-accent { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 300px; opacity: 0.08; pointer-events: none; }
.btn-light { border-color: rgba(255,255,255,0.45); color: var(--branco); }
.btn-light:hover { background: var(--branco); color: var(--preto); }

/* ---------- contato ---------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.channel-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.channel-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.channel-list svg { width: 22px; height: 22px; color: var(--laranja); margin-top: 2px; }
.channel-list small { display: block; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.channel-list a, .channel-list span { font-size: 1rem; font-weight: 700; }
.channel-list a:hover { color: var(--laranja); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 40px; background: var(--paper-dim); border: 1px solid var(--line); border-radius: 6px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form label { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--branco);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  width: 100%;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--petroleo); }
.form-note { grid-column: 1 / -1; font-size: 0.78rem; color: var(--ink-soft); margin: 0; }
.form .btn { justify-self: start; }

/* ---------- utilitários ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .nav-list { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* menu vira painel lateral com sanfona abaixo de 1080px */
@media (max-width: 1080px) {
  .fw { padding: 6.25rem 0 5.5rem; }
  .fw-board { grid-template-columns: 1fr; gap: 8px; }
  .fw-visual { order: -1; width: min(100%, 380px); justify-self: center; margin-bottom: 24px; }
  .fw-links { display: none; }
  .fw-col-label { height: auto; transform: none; margin: 28px 0 6px; }
  .fw-col--solution .fw-col-label { padding-left: 0; }
  .fw-col--problem .fw-item, .fw-col--solution .fw-item { padding: 16px 0; }
  .fw-dot { display: none; }
  .fw-foot { flex-direction: column; align-items: flex-start; }
  .site-header .wrap { grid-template-columns: auto 1fr; }
  .header-actions { justify-self: end; }
  .main-nav {
    display: none;
    /* absolute (e não fixed): o backdrop-filter do header vira o bloco de referência */
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--petroleo);
    padding: 8px 24px 40px;
    z-index: 110;
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav-link { flex: 1; padding: 16px 0; font-size: 0.86rem; }
  .nav-link::after { display: none; }
  .nav-item.is-current > .nav-link, .nav-link[aria-current="page"] { color: var(--laranja); }
  .sub-toggle { padding: 14px 4px 14px 16px; opacity: 1; }
  .sub-toggle svg { width: 16px; height: 16px; }
  .sub-menu, .sub-menu.sub-menu--wide {
    position: static;
    display: none;
    flex-basis: 100%;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: transparent;
    padding: 0 0 12px;
  }
  .sub-menu::before { display: none; }
  .nav-item.is-open > .sub-menu { display: block; }
  .sub-menu a { color: var(--dark-soft); padding: 10px 0 10px 16px; font-size: 0.86rem; }
  .sub-menu a:hover, .sub-menu a[aria-current="page"] { background: transparent; color: var(--laranja); }
  .sub-menu .sub-label { color: rgba(255,255,255,0.45); padding: 12px 0 4px 16px; }
  .sub-menu .sub-divider { border-color: rgba(255,255,255,0.1); }
  .sub-menu--wide .sub-col + .sub-col { border-left: none; }
  .nav-toggle { display: block; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 5.5rem 0; }
  .section-head { margin-bottom: 2.5rem; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse > :first-child { order: initial; }
  .page-hero { padding: 4rem 0 3.5rem; }
  .page-hero--tall { min-height: auto; padding: 5.5rem 0 5rem; }
  .page-hero--product .wrap { grid-template-columns: 1fr; gap: 28px; }
  .page-hero--product .hero-product { order: -1; max-width: 360px; }
  .unit-bar { top: 76px; }
  .equip { grid-template-columns: 1fr; gap: 28px; padding: 3.5rem 0; }
  .equip-media { position: static; aspect-ratio: 16 / 10; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .sector-grid { --cols: 2 !important; }
  .case-card, .case-card--reverse { grid-template-columns: 1fr; }
  .case-card--reverse .case-card-media { order: initial; }
  .case-card-media { min-height: 0; aspect-ratio: 16 / 10; }
  .case-card-body { padding: 30px 26px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .manifesto { padding: 7.5rem 0; }
  .partners { padding: 5.625rem 0; }
  .partners-accent { width: 220px; max-width: 46vw; right: -50px; opacity: 0.7; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .timeline { padding: 6.875rem 0 4.375rem; }
  .timeline-head { grid-template-columns: 1fr; row-gap: 0; margin-bottom: 44px; }
  .tl-controls { margin-top: 28px; }
  .cta-final { padding: 6.875rem 0; }
  .cert-bar-inner { justify-content: center; text-align: center; }
  .cert-bar-badges { justify-content: center; gap: 20px; }
  .cert-chip { height: 30px; }
  .story-hero { min-height: 200px; padding: 34px 0; }
  .story-inner, .story-block.reverse .story-inner { grid-template-columns: 1fr; }
  .story-block.reverse .story-photo-col, .story-block.reverse .story-text { order: initial; }
  .story-block { padding: 100px 0; }
  .story-block .bignum { font-size: 5.5rem; top: 40px; }
  .story-carousel { transform: none; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .timeline { --tl-item: 78vw; }
  .tl-item { padding-right: 1.75rem; }
  .tl-year { font-size: 2.2rem; }
  .tl-btn { width: 46px; height: 46px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 150px 0 80px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .utility-bar .wrap { height: auto; padding-top: 8px; padding-bottom: 8px; }
  .utility-nav { flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
  .utility-nav a { font-size: 0.6rem; }
  .header-actions .btn-sm { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .sector-grid { --cols: 1 !important; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .spec-list { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 26px 20px; }
  .footer-grid { padding: 60px 20px 36px; }
  .footer-bottom { padding: 20px; }
  .unit-bar-name { display: none; }
}
