/*
  Souza System Metalúrgica — sistema visual

  Tipografia
  - Archivo (variável, eixos wght + wdth): grotesca de origem industrial/editorial,
    numerais tabulares bem desenhados, acentuação completa em português. O eixo de
    largura permite títulos expandidos (sensação de chapa, estrutura, escala) e texto
    corrido em largura normal com a mesma família, sem cair no par "Inter + Space Grotesk".
  - IBM Plex Mono: apenas em rótulos técnicos pequenos (índices, cotas, dados), como
    anotação de desenho técnico.

  Cor
  - Azul marinho profundo: estrutura institucional (briefing §10).
  - Amarelo #FFD300: amarelo exato da logo, usado só como accent (CTA, cotas, estados).
  - Vermelho #DA0B16: vermelho da logo; aparece apenas dentro da própria logo.
  - Papel off-white quente para leitura.
*/

@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@75..125,100..900&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --navy-950: #040b16;
  --navy-900: #07111f;
  --navy-800: #0b1b33;
  --navy-700: #122847;
  --navy-600: #1b365d;
  --steel-400: #8593a8;
  --steel-300: #a9b4c4;
  --accent: #ffd300;
  --accent-ink: #141000;
  --red: #da0b16;
  --paper: #f1eee7;
  --paper-2: #e6e2d8;
  --ink: #0b1b33;
  --ink-soft: #3c4a5f;

  --line-dark: rgba(169, 180, 196, 0.16);
  --line-dark-strong: rgba(169, 180, 196, 0.32);
  --line-paper: rgba(11, 27, 51, 0.14);
  --line-paper-strong: rgba(11, 27, 51, 0.3);

  --f-sans: 'Archivo Variable', 'Archivo', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* escala fluida */
  --t-xs: 0.75rem;
  --t-sm: clamp(0.875rem, 0.84rem + 0.15vw, 0.95rem);
  --t-md: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --t-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --t-xl: clamp(1.9rem, 1.4rem + 2vw, 3.2rem);
  --t-2xl: clamp(2.4rem, 1.5rem + 3.6vw, 4.8rem);
  --t-hero: clamp(2.7rem, 1.2rem + 6vw, 7.4rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --sec: clamp(5rem, 3rem + 8vw, 11rem);
  --max: 1440px;
  --hdr-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: var(--t-md);
  line-height: 1.55;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: fixed; left: var(--gutter); top: 0.75rem; z-index: 100;
  padding: 0.6rem 1rem; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none; transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.paper { background: var(--paper); color: var(--ink); }

/* ---------- rótulos ---------- */

.tag,
.idx {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--f-mono); font-size: var(--t-xs);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.tag { color: var(--steel-300); }
.tag__dot { width: 6px; height: 6px; background: var(--accent); }

.idx { color: var(--ink-soft); }
.idx span {
  display: inline-block; padding-right: 0.75rem;
  border-right: 1px solid currentColor; color: var(--ink);
  font-weight: 500;
}
.idx--dark { color: var(--steel-300); }
.idx--dark span { color: var(--accent); }
.idx--ink { color: var(--ink-soft); }

/* ---------- links e botões ---------- */

.lnk {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.45s var(--ease), color 0.3s;
}
.lnk:hover, .lnk:focus-visible { background-size: 100% 1px; }

.btn {
  --bh: 3.25rem;
  position: relative; display: inline-flex; align-items: center; gap: 1rem;
  min-height: var(--bh); padding: 0 1.25rem 0 1.4rem;
  font-weight: 600; font-size: var(--t-sm); letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 2px; background-color: transparent;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }

.btn__arw {
  position: relative; width: 1.1rem; height: 1px; background: currentColor;
  transition: transform 0.45s var(--ease);
}
.btn__arw::after {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .btn__arw, .btn:focus-visible .btn__arw { transform: translateX(4px); }

.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid::before { background: var(--paper); }

.btn--line { border-color: var(--line-dark-strong); color: var(--paper); }
.btn--line::before { background: var(--accent); }
.btn--line:hover, .btn--line:focus-visible { color: var(--accent-ink); border-color: var(--accent); }

.btn--ghost { padding-inline: 0.2rem; color: var(--paper); }
.btn--ghost::before { display: none; }
.btn--ghost span {
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px; transition: background-size 0.45s var(--ease);
}
.btn--ghost:hover span { background-size: 30% 1px; }

.btn--xl { --bh: 4.25rem; padding-inline: 2rem 1.6rem; font-size: var(--t-md); }

/* ============ HEADER ============ */

.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--paper);
}
.hdr__bg {
  position: absolute; inset: 0; z-index: -1;
  background: rgba(7, 17, 31, 0.94);
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
}
.hdr.is-open .hdr__bg { opacity: 1; }

.hdr__in {
  display: flex; align-items: center; gap: 2rem;
  height: var(--hdr-h);
}

.hdr__logo { flex: none; display: block; }
.hdr__logo img {
  width: auto; height: 56px;
}

.hdr__nav { margin-left: auto; }
.hdr__nav ul { display: flex; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.hdr__nav a { font-size: var(--t-sm); color: var(--steel-300); }
.hdr__nav a:hover, .hdr__nav a.is-current { color: var(--paper); }

.hdr__cta { --bh: 2.6rem; }

.hdr__menu {
  display: none; position: relative; margin-left: auto;
  width: 44px; height: 44px; background: none; border: 1px solid var(--line-dark-strong);
  border-radius: 2px; cursor: pointer;
}
.hdr__menu i {
  position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor;
  transition: transform 0.35s var(--ease);
}
.hdr__menu i:nth-of-type(1) { top: 18px; }
.hdr__menu i:nth-of-type(2) { top: 25px; left: 18px; }
.hdr__menu[aria-expanded='true'] i:nth-of-type(1) { transform: translateY(3.5px) rotate(45deg); }
.hdr__menu[aria-expanded='true'] i:nth-of-type(2) { left: 12px; transform: translateY(-3.5px) rotate(-45deg); }

.mnav {
  background: var(--navy-900); border-bottom: 1px solid var(--line-dark);
  padding-block: 1rem 2rem;
}
.mnav a {
  display: flex; align-items: baseline; gap: 1rem; padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1.6rem; font-weight: 600; font-variation-settings: 'wdth' 110;
  text-decoration: none;
}
.mnav em { font-style: normal; font-family: var(--f-mono); font-size: var(--t-xs); color: var(--accent); }

@media (max-width: 960px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__menu { display: block; }
  .hdr__logo img { height: 44px; }
}

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: calc(var(--hdr-h) + 3rem) clamp(4rem, 10vh, 7rem);
  background: var(--navy-900);
  overflow: hidden; isolation: isolate;
}

.hero__bg { position: absolute; inset: -6% 0 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }

/* véu para leitura: escurece o lado do texto e a base, preserva o soldador à direita */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.92) 0%, rgba(7, 17, 31, 0.78) 34%, rgba(7, 17, 31, 0.18) 64%, rgba(7, 17, 31, 0) 80%),
    linear-gradient(0deg, rgba(7, 17, 31, 0.85) 0%, rgba(7, 17, 31, 0) 32%);
}

.hero__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
}
.hero__copy { grid-column: 1 / span 7; }

.hero__h {
  font-size: clamp(2.6rem, 0.4rem + 5.6vw, 6.6rem); line-height: 0.94; letter-spacing: -0.035em;
  font-weight: 760; font-variation-settings: 'wdth' 108;
}
.ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.ln > span { display: inline-block; }
.hero__mark { color: var(--accent); }

.hero__lead {
  max-width: 34rem; margin-top: 2rem;
  font-size: var(--t-lg); line-height: 1.4; color: var(--steel-300);
  font-variation-settings: 'wdth' 96;
}
.hero__lead strong { color: var(--paper); font-weight: 560; }

.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.5rem; }

@media (max-width: 900px) {
  .hero { align-items: flex-end; min-height: 92svh; }
  .hero__bg img { object-position: 74% 50%; }
  .hero::before {
    background: linear-gradient(0deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.82) 45%, rgba(7, 17, 31, 0.25) 75%, rgba(7, 17, 31, 0.35) 100%);
  }
  .hero__copy { grid-column: 1 / -1; }
}

/* ============ 01 QUEM SOMOS ============ */

.about { position: relative; padding-block: var(--sec); overflow: hidden; }

.about__bg {
  position: absolute; left: 0; top: clamp(2rem, 5vw, 4rem);
  white-space: nowrap; pointer-events: none;
  font-size: clamp(6rem, 18vw, 18rem); line-height: 1; font-weight: 800;
  font-variation-settings: 'wdth' 125; letter-spacing: -0.04em; text-transform: uppercase;
  color: var(--ink); opacity: 0.06;
}

.about__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem;
  align-items: start;
  padding-top: clamp(6rem, 13vw, 13rem);
}
.about__left { grid-column: 1 / span 6; }
.about__h {
  margin-top: 1.75rem;
  font-size: clamp(2rem, 1.1rem + 2.6vw, 3.8rem); line-height: 1.04; letter-spacing: -0.03em;
  font-weight: 700; font-variation-settings: 'wdth' 106;
  text-wrap: balance;
}
.about__h .w { display: inline-block; }

/* coluna direita alinhada à primeira linha do título (abaixo do rótulo) */
.about__right {
  grid-column: 8 / span 5;
  padding-top: calc(0.75rem * 1.55 + 1.75rem);
  display: grid; gap: 2.5rem;
}
.about__txt {
  display: grid; gap: 1.1rem;
  font-size: var(--t-lg); line-height: 1.45; color: var(--ink-soft);
  font-variation-settings: 'wdth' 96;
}
.about__side {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter);
  font-size: var(--t-sm); color: var(--ink-soft);
}
.about__side > div { padding-top: 1rem; border-top: 1px solid var(--line-paper-strong); }
.about__side h3 {
  margin-bottom: 0.5rem;
  font-family: var(--f-mono); font-weight: 500; font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 900px) {
  .about__left, .about__right { grid-column: 1 / -1; }
  .about__right { padding-top: 0; }
}
@media (max-width: 560px) {
  .about__side { grid-template-columns: 1fr; }
}

/* ============ 02 ANTES / DEPOIS ============ */

.pains { background: var(--navy-950); }
.pains__pin { padding-block: var(--sec); }
.pains__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem;
  align-items: start;
}
.pains__head { grid-column: 1 / span 5; }

.pains__h {
  display: grid; margin-top: 2rem;
  font-size: var(--t-xl); line-height: 1.05; letter-spacing: -0.025em;
  font-weight: 700; font-variation-settings: 'wdth' 110;
}
/* sem JS de motion (ou reduced motion): mostra o antes riscado e o depois */
.pains__state--sem {
  font-size: 0.5em; color: var(--steel-400);
  text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px;
  margin-bottom: 0.5rem;
}
.pains__state--com { color: var(--accent); }
/* com motion: os dois estados ocupam o mesmo lugar e trocam no scroll */
.pains.is-anim .pains__h { overflow: hidden; }
.pains.is-anim .pains__state { grid-area: 1 / 1; font-size: 1em; margin: 0; text-decoration: none; }
.pains.is-anim .pains__state--sem { color: var(--paper); }

.pains__lead {
  margin-top: 1.75rem; max-width: 28rem;
  padding-left: 1.25rem; border-left: 2px solid var(--accent);
  color: var(--steel-300); font-size: var(--t-md);
}
.pains__meter { display: none; }
.pains.is-anim .pains__meter {
  display: block; position: relative; height: 1px; margin-top: 2.5rem; max-width: 28rem;
  background: var(--line-dark-strong);
}
.pains__meter i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }

.pains__list { grid-column: 7 / span 6; border-top: 1px solid var(--line-dark-strong); }
.pains__list li {
  display: grid; grid-template-columns: 3rem 1fr; align-items: baseline;
  padding-block: clamp(0.7rem, 1.4vh, 1.1rem);
  border-bottom: 1px solid var(--line-dark-strong);
}
.pains__n { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--steel-400); }
.pains__t {
  display: inline;
  font-size: var(--t-md); line-height: 1.3; font-weight: 500; font-variation-settings: 'wdth' 104;
  color: var(--steel-400);
  /* risco amarelo que acompanha todas as linhas quando o texto quebra */
  background: linear-gradient(var(--accent), var(--accent)) 0 58% / 100% 2px no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: color 0.4s;
}
.pains.is-anim .pains__t { color: var(--paper); }
.pains.is-anim li.is-struck .pains__t { color: var(--steel-400); }
.pains__s {
  margin-top: 0.35rem;
  font-size: var(--t-md); line-height: 1.35; color: var(--paper); font-weight: 500;
}
.pains__s::before {
  content: ''; display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.6rem;
  background: var(--accent); vertical-align: 0.1em;
}

@media (min-width: 901px) {
  .pains.is-anim .pains__pin { min-height: 100svh; display: flex; align-items: center; padding-block: calc(64px + 2rem) 3rem; }
}
@media (max-width: 900px) {
  .pains__head, .pains__list { grid-column: 1 / -1; }
}

/* ============ 03 DIFERENCIAIS ============ */

.diff { padding-block: var(--sec); }
.diff__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  row-gap: clamp(3rem, 6vw, 5rem);
}
.diff__head {
  grid-column: 2 / span 10;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  text-align: center;
}
.diff__h {
  max-width: 16ch;
  font-size: var(--t-2xl); line-height: 1; letter-spacing: -0.03em;
  font-weight: 700; font-variation-settings: 'wdth' 108;
  text-wrap: balance;
}

.diff__list { grid-column: 1 / span 7; border-top: 1px solid var(--line-paper-strong); }
.diff__item { border-bottom: 1px solid var(--line-paper-strong); }
.diff__btn {
  width: 100%; display: grid; grid-template-columns: clamp(3rem, 6vw, 5.5rem) 1fr; align-items: baseline;
  padding: clamp(1rem, 2vw, 1.5rem) 0; background: none; border: 0; text-align: left; cursor: pointer;
  color: var(--ink);
}
.diff__n {
  font-family: var(--f-mono); font-size: var(--t-sm); color: var(--ink-soft);
  transition: color 0.35s, transform 0.5s var(--ease);
  display: inline-block;
}
.diff__t {
  font-size: var(--t-xl); line-height: 1.05; letter-spacing: -0.025em;
  font-weight: 600; font-variation-settings: 'wdth' 106;
  color: rgba(11, 27, 51, 0.38);
  transition: color 0.35s;
}
.diff__item.is-active .diff__t,
.diff__btn:hover .diff__t { color: var(--ink); }
.diff__item.is-active .diff__n { color: var(--ink); transform: translateX(0.5rem); }
.diff__item.is-active .diff__n::before {
  content: ''; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.5rem;
  background: var(--accent); vertical-align: 0.05em; outline: 1px solid var(--ink);
}

.diff__body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.diff__body > p {
  overflow: hidden; min-height: 0;
  padding-left: clamp(3rem, 6vw, 5.5rem); max-width: 40rem;
  color: var(--ink-soft); font-size: var(--t-md);
}
.diff__item.is-active .diff__body { grid-template-rows: 1fr; }
.diff__item.is-active .diff__body > p { padding-bottom: 1.5rem; }

/* painel com a mesma altura da lista */
.diff__preview { grid-column: 8 / span 5; display: flex; }
.diff__frame { position: relative; flex: 1; min-height: 28rem; overflow: hidden; background: var(--navy-800); }
.slot {
  position: absolute; inset: 0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.8s var(--ease);
}
.slot.is-active { clip-path: inset(0 0 0 0); z-index: 1; }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot:nth-child(4) img { object-position: 38% 50%; }
.slot:nth-child(5) img { object-position: 62% 50%; }
.slot:nth-child(6) img { object-position: 45% 50%; }
.diff__count {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 3;
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.12em; color: var(--steel-300);
}
.diff__count b { color: var(--accent); font-weight: 500; }

@media (max-width: 900px) {
  .diff__head { grid-column: 1 / -1; }
  .diff__list { grid-column: 1 / -1; }
  .diff__preview { display: none; }
  .diff__body { grid-template-rows: 1fr; }
  .diff__body > p { padding-bottom: 1.25rem; }
  .diff__t { color: var(--ink); }
}

/* ---------- placeholders de imagem (desenvolvimento) ---------- */

.ph {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; padding: 1.25rem 1.25rem 3rem;
  font-family: var(--f-mono); font-size: var(--t-xs); line-height: 1.5; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--steel-300);
  background:
    linear-gradient(135deg, transparent calc(50% - 0.5px), var(--line-dark-strong) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(45deg, transparent calc(50% - 0.5px), var(--line-dark) 50%, transparent calc(50% + 0.5px)),
    var(--navy-800);
}

/* ============ 04 ATUAÇÃO ============ */

.field { padding-block: var(--sec); background: var(--navy-800); overflow: hidden; }
.field__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.field__head .idx { grid-column: 1 / -1; }
.field__h {
  grid-column: 1 / span 8;
  font-size: var(--t-2xl); line-height: 1; letter-spacing: -0.03em;
  font-weight: 700; font-variation-settings: 'wdth' 108;
}

.field__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.seg__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.seg__img { background: var(--navy-700); }
.seg__img img { width: 100%; height: 100%; object-fit: cover; }
.field__grid .seg:first-child .seg__img img { object-position: 50% 42%; }

.seg__txt {
  display: grid; gap: 0.6rem; margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark-strong); max-width: 32rem;
  color: var(--steel-300);
}
.seg__k { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.seg h3 {
  font-size: var(--t-xl); line-height: 1.05; letter-spacing: -0.02em; color: var(--paper);
  font-weight: 650; font-variation-settings: 'wdth' 106;
}

@media (max-width: 900px) {
  .field__h { grid-column: 1 / -1; }
  .field__grid { grid-template-columns: 1fr; row-gap: 3.5rem; }
}

/* ============ 05 VALORES ============ */

.values { background: var(--accent); color: var(--ink); }
.values__pin { min-height: 100svh; display: flex; align-items: center; padding-block: clamp(5rem, 9vw, 8rem); }
.values__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem;
  align-items: start;
}
.values__head { grid-column: 1 / span 5; }
.values__h {
  margin-top: 1.75rem;
  font-size: var(--t-xl); line-height: 1.02; letter-spacing: -0.025em;
  font-weight: 750; font-variation-settings: 'wdth' 112;
}

.values__inf { grid-column: 6 / span 7; width: 100%; overflow: visible; }
.values__inf path { fill: none; }
.values__track { stroke: rgba(11, 27, 51, 0.2); stroke-width: 1.4; }
.values__draw { stroke: var(--ink); stroke-width: 4; }

.values__list {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  border-top: 1px solid rgba(11, 27, 51, 0.35);
}
.values__list li { padding-top: 1.25rem; }
.values__list li:nth-child(1) { grid-column: 1 / span 4; }
.values__list li:nth-child(2) { grid-column: 5 / span 4; }
.values__list li:nth-child(3) { grid-column: 9 / span 4; }
.values__list h3 {
  font-size: var(--t-lg); font-weight: 700; font-variation-settings: 'wdth' 108; letter-spacing: -0.01em;
}
.values__list p { margin-top: 0.5rem; max-width: 22rem; font-size: var(--t-sm); color: #2b2400; }

@media (max-width: 900px) {
  .values__head, .values__inf { grid-column: 1 / -1; }
  .values__list { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .values__list li:nth-child(n) { grid-column: 1; }
}

/* ============ CTA / CONTATO ============ */

.cta { position: relative; padding-block: var(--sec); background: var(--navy-900); overflow: hidden; isolation: isolate; }
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__media img { width: 100%; height: 115%; object-fit: cover; object-position: 60% 40%; opacity: 0.22; filter: grayscale(0.4) contrast(1.05); }
.cta__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-900) 35%, rgba(7, 17, 31, 0.7) 100%);
}

.cta__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem;
  align-items: stretch;
}
.cta__copy { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; }
.cta__h {
  margin-top: 1.75rem;
  font-size: var(--t-2xl); line-height: 1; letter-spacing: -0.03em;
  font-weight: 740; font-variation-settings: 'wdth' 110;
  text-wrap: balance;
}
.cta__h .w { display: inline-block; }
.cta__copy > .btn { margin-top: 2.5rem; }

.cta__info {
  display: grid; gap: 1.25rem; margin-top: auto; padding-top: 2.5rem; width: 100%;
  font-size: var(--t-sm);
}
.cta__info > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-dark-strong); }
.cta__info dt { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-400); padding-top: 0.15em; }

.map {
  grid-column: 8 / span 5;
  position: relative; min-height: 26rem; overflow: hidden;
  background: var(--navy-800); border: 1px solid var(--line-dark-strong);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.25); }
.map.is-loaded .map__ph { display: none; }
.map__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    linear-gradient(var(--line-dark) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--navy-800);
}
.cross { position: absolute; width: 22px; height: 22px; pointer-events: none; }
.cross::before, .cross::after { content: ''; position: absolute; background: var(--accent); }
.cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.cross--map { left: calc(50% - 11px); top: calc(40% - 11px); }
.map__addr { font-size: var(--t-lg); line-height: 1.3; font-weight: 600; font-variation-settings: 'wdth' 104; color: var(--paper); }
.map__note { max-width: 26rem; font-size: var(--t-sm); color: var(--steel-300); }
.map__act { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 0.5rem; }
.map__out { font-size: var(--t-sm); color: var(--paper); }

@media (max-width: 900px) {
  .cta__copy, .map { grid-column: 1 / -1; }
  .map { min-height: 22rem; }
}
@media (max-width: 640px) {
  .btn--xl { width: 100%; justify-content: space-between; }
  .cta__info > div { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* ============ FOOTER ============ */

.ftr { background: var(--navy-950); color: var(--steel-300); font-size: var(--t-sm); }
.ftr__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem;
  padding-block: clamp(4rem, 7vw, 6rem) 3rem;
}
.ftr__brand { grid-column: 1 / span 5; }
.ftr__brand img { width: 150px; height: auto; }
.ftr__brand p { margin-top: 1.5rem; max-width: 22rem; }
.ftr__col { grid-column: span 3; }
.ftr__col:first-of-type { grid-column: 7 / span 2; }
.ftr__col h2 {
  margin-bottom: 1rem;
  font-family: var(--f-mono); font-weight: 500; font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel-400);
}
.ftr__col ul { display: grid; gap: 0.5rem; }
.ftr address { font-style: normal; line-height: 1.8; }
.ftr a { color: var(--paper); }
.ftr__legal {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; flex-wrap: wrap;
  padding-block: 1.5rem 2rem; border-top: 1px solid var(--line-dark);
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.04em; color: var(--steel-400);
}
.ftr__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.ftr__links a, .ftr__btn { color: var(--steel-300); }
.ftr__links a:hover, .ftr__btn:hover { color: var(--paper); }
.ftr__btn {
  padding: 0; border: 0; background-color: transparent; cursor: pointer;
  font: inherit; letter-spacing: inherit;
}

@media (max-width: 900px) {
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__col, .ftr__col:first-of-type { grid-column: span 6; }
}
@media (max-width: 480px) {
  .ftr__col, .ftr__col:first-of-type { grid-column: 1 / -1; }
  .ftr__links { flex-direction: column; }
}

/* ============ COOKIES: aviso ============ */

.ck {
  position: fixed; z-index: 60; left: var(--gutter); bottom: var(--gutter);
  width: min(30rem, calc(100vw - 2 * var(--gutter)));
  padding: 1.25rem 1.25rem 1.1rem;
  background: var(--navy-900); color: var(--paper);
  border: 1px solid var(--line-dark-strong); border-top: 2px solid var(--accent);
  font-size: var(--t-sm);
  transform: translateY(12px); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.ck.is-in { transform: none; opacity: 1; }
.ck__txt { color: var(--steel-300); line-height: 1.5; }
.ck__txt a { color: var(--paper); background-size: 100% 1px; }
.ck__act { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1rem; }
.ck__b { --bh: 2.6rem; padding-inline: 1rem; }
.ck__cfg {
  padding: 0.6rem 0.2rem; border: 0; background: none; cursor: pointer;
  color: var(--paper); font-size: var(--t-sm); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px;
}

@media (max-width: 560px) {
  .ck { left: 0; bottom: 0; width: 100%; border-inline: 0; border-bottom: 0; padding-bottom: calc(1.1rem + env(safe-area-inset-bottom)); }
  .ck__b { flex: 1 1 auto; justify-content: center; }
  .ck__cfg { width: 100%; text-align: left; }
}

/* ============ COOKIES: central de preferências ============ */

html.ck-lock { overflow: hidden; }

.ckd {
  width: min(40rem, calc(100vw - 2 * var(--gutter)));
  max-height: calc(100svh - 2 * var(--gutter));
  padding: 0; border: 1px solid var(--line-dark-strong); border-top: 2px solid var(--accent); border-radius: 0;
  background: var(--navy-900); color: var(--paper);
  overflow: auto; overscroll-behavior: contain;
}
.ckd::backdrop { background: rgba(4, 11, 22, 0.72); }
.ckd[open] { animation: ckd-in 0.45s var(--ease); }
@keyframes ckd-in { from { opacity: 0; transform: translateY(14px); } }

.ckd__in { position: relative; padding: clamp(1.5rem, 4vw, 2.5rem); }
.ckd__head h2 {
  margin-top: 1rem;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.05; letter-spacing: -0.02em;
  font-weight: 700; font-variation-settings: 'wdth' 108;
}
.ckd__head > p:last-child { margin-top: 0.9rem; color: var(--steel-300); font-size: var(--t-sm); max-width: 32rem; }

.ckd__list { margin-top: 1.5rem; border-top: 1px solid var(--line-dark-strong); }
.ckd__cat { padding-block: 1rem; border-bottom: 1px solid var(--line-dark-strong); }
.ckd__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ckd__cat h3 { font-size: var(--t-md); font-weight: 650; font-variation-settings: 'wdth' 104; }
.ckd__cat p { margin-top: 0.4rem; max-width: 30rem; font-size: var(--t-sm); color: var(--steel-300); }
.ckd__always { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

.ckd__act {
  position: sticky; bottom: 0; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin: 0 calc(-1 * clamp(1.5rem, 4vw, 2.5rem)) calc(-1 * clamp(1.5rem, 4vw, 2.5rem));
  padding: 1.25rem clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
  background: var(--navy-900); border-top: 1px solid var(--line-dark-strong);
}
.ckd__act .btn { --bh: 2.8rem; }

.ckd__x {
  position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px;
  border: 1px solid var(--line-dark-strong); background: none; cursor: pointer; border-radius: 2px;
}
.ckd__x i { position: absolute; left: 12px; right: 12px; top: 50%; height: 1px; background: currentColor; }
.ckd__x i:first-child { transform: rotate(45deg); }
.ckd__x i:last-child { transform: rotate(-45deg); }

@media (max-width: 560px) {
  .ckd__act .btn { flex: 1 1 40%; justify-content: center; padding-inline: 0.75rem; white-space: normal; text-align: center; }
  .ckd__act .btn:first-child { flex-basis: 100%; }
}

/* interruptor */
.sw { position: relative; flex: none; display: inline-block; width: 52px; height: 30px; cursor: pointer; }
.sw input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.sw__track {
  position: absolute; inset: 0; pointer-events: none; border: 1px solid var(--line-dark-strong); background: var(--navy-800);
  transition: background-color 0.3s, border-color 0.3s;
}
.sw__track::after {
  content: ''; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; background: var(--steel-300);
  transition: transform 0.35s var(--ease), background-color 0.3s;
}
.sw input:checked + .sw__track { background: var(--accent); border-color: var(--accent); }
.sw input:checked + .sw__track::after { transform: translateX(22px); background: var(--accent-ink); }
.sw input:focus-visible + .sw__track { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ============ PÁGINAS LEGAIS ============ */

.page-legal .hdr__bg { opacity: 1; }
.page-legal .hdr__in { height: 64px; }
.page-legal .hdr__logo img { height: 40px; }

.lg-hero {
  padding-block: calc(64px + clamp(3.5rem, 8vw, 6rem)) clamp(3rem, 6vw, 4.5rem);
  background: var(--navy-900);
  border-bottom: 1px solid var(--line-dark);
}
.lg-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.lg-hero__in { grid-column: 1 / span 9; }
.lg-hero h1 {
  margin-top: 1.75rem;
  font-size: var(--t-2xl); line-height: 1; letter-spacing: -0.03em;
  font-weight: 740; font-variation-settings: 'wdth' 110;
}
.lg-hero__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 1.75rem;
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-400);
}

.lg { padding-block: clamp(3.5rem, 7vw, 6rem) var(--sec); }
.lg__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; align-items: start; }

.lg__toc { grid-column: 1 / span 3; position: sticky; top: calc(64px + 2rem); font-size: var(--t-sm); }
.lg__toc h2 {
  margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line-paper-strong);
  font-family: var(--f-mono); font-weight: 500; font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase;
}
.lg__toc ol { display: grid; gap: 0.55rem; counter-reset: toc; }
.lg__toc a { display: grid; grid-template-columns: 2rem 1fr; color: var(--ink-soft); text-decoration: none; }
.lg__toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); font-size: var(--t-xs); padding-top: 0.2em; }
.lg__toc a:hover, .lg__toc a:focus-visible { color: var(--ink); }

.lg__body { grid-column: 5 / span 7; max-width: 46rem; counter-reset: sec; color: var(--ink-soft); }
.lg__body > section { padding-top: 2.5rem; margin-top: 2.5rem; border-top: 1px solid var(--line-paper-strong); scroll-margin-top: calc(64px + 1.5rem); }
.lg__body > section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.lg__body h2 {
  display: grid; grid-template-columns: 2.75rem 1fr; align-items: baseline;
  font-size: var(--t-lg); line-height: 1.2; letter-spacing: -0.01em; color: var(--ink);
  font-weight: 680; font-variation-settings: 'wdth' 106;
}
.lg__body h2::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 500; color: var(--ink-soft); }
.lg__body h3 { margin-top: 1.75rem; font-size: var(--t-md); font-weight: 650; color: var(--ink); }
.lg__body p, .lg__body ul, .lg__body dl, .lg__body .lg__tbl { margin-top: 1rem; }
.lg__body ul { display: grid; gap: 0.5rem; }
.lg__body ul li { position: relative; padding-left: 1.25rem; }
.lg__body ul li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 0.45rem; height: 1px; background: var(--ink); }
.lg__body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-paper-strong); text-underline-offset: 3px; }
.lg__body a:hover { text-decoration-color: var(--ink); }
.lg__body strong { color: var(--ink); font-weight: 600; }

.lg__dl { display: grid; border-top: 1px solid var(--line-paper-strong); }
.lg__dl > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding-block: 0.7rem; border-bottom: 1px solid var(--line-paper); }
.lg__dl dt { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); padding-top: 0.2em; }
.lg__dl dd { color: var(--ink); }

.lg__tbl { width: 100%; overflow-x: auto; }
.lg__tbl table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: var(--t-sm); }
.lg__tbl th, .lg__tbl td { text-align: left; vertical-align: top; padding: 0.75rem 0.75rem 0.75rem 0; border-bottom: 1px solid var(--line-paper); }
.lg__tbl th { font-family: var(--f-mono); font-weight: 500; font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); border-bottom-color: var(--line-paper-strong); }
.lg__tbl td { color: var(--ink); }
.lg__tbl code { font-family: var(--f-mono); font-size: 0.92em; }

/* pontos a preencher com informação real — visíveis de propósito */
.fill {
  padding: 0.05em 0.3em; background: rgba(255, 211, 0, 0.45); color: var(--ink);
  font-family: var(--f-mono); font-size: 0.86em; letter-spacing: 0;
}

.lg__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink::before { background: var(--accent); }
.btn--ink:hover, .btn--ink:focus-visible { color: var(--accent-ink); }

.lg__more { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line-paper-strong); }
.lg__more h2 { display: block; font-family: var(--f-mono); font-weight: 500; font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.lg__more h2::before { content: none; }
.lg__more ul { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 1rem; }
.lg__more ul li { padding: 0; }
.lg__more ul li::before { content: none; }

@media (max-width: 900px) {
  .lg-hero__in { grid-column: 1 / -1; }
  .lg__toc { grid-column: 1 / -1; position: static; }
  .lg__body { grid-column: 1 / -1; }
  .lg__dl > div { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ============ motion reduzido ============ */

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