/* Otimize Consultoria em TI — design system
   Marca: branco, preto/grafite e laranja #FF5C01 (cores oficiais, sem variações de tom).
   O laranja é reservado a CTAs e pontos de destaque. Sobre fundo claro ele não é usado como
   cor de texto (contraste insuficiente): aparece em marcadores, ícones e sublinhados. */

:root {
  /* cor */
  --ink: #000000;
  --graphite: #16171a;
  --graphite-2: #212327;
  --paper: #ffffff;
  --mist: #f5f4f1;
  --line: #e3e1dc;
  --line-strong: #c9c6bf;
  --text: #16171a;
  --muted: #54575d;
  --orange: #ff5c01; /* laranja oficial da marca (logo, marcadores, ícones) */

  /* botão principal: laranja pastel. Para mudar a cor dos botões do site inteiro, altere só estas três linhas. */
  --btn-primary-bg: #ffb585;
  --btn-primary-bg-hover: #ffa36b;
  --btn-primary-text: #000000;

  --on-dark: #f5f4f1;
  --on-dark-muted: #b6b8bd;
  --line-dark: #34373c;
  --danger: #b42318;

  /* tipografia */
  --font-heading: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* espaço e forma */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --section-y: clamp(64px, 9vw, 120px);
  --gutter: clamp(20px, 4vw, 32px);
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgba(11, 11, 12, 0.06), 0 12px 32px -12px rgba(11, 11, 12, 0.18);
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.14; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.625rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--orange); color: var(--ink); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- estrutura ---------- */

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--graphite); color: var(--on-dark); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.section-head { display: grid; gap: var(--space-4); max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section--dark .section-head p { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--orange);
  flex: none;
}
.section--dark .eyebrow { color: var(--on-dark-muted); }

.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.section--dark .muted { color: var(--on-dark-muted); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.18s ease; }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

/* botao primario: laranja pastel (tom suave do laranja da marca) com texto preto */
.btn--primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); }
.btn--primary:hover { background: var(--btn-primary-bg-hover); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: rgba(255, 255, 255, 0.45); color: var(--on-dark); background: transparent; }
.btn--light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.section--dark .link-arrow { color: var(--on-dark); }

/* ---------- cabeçalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); }
.logo svg { height: 40px; width: auto; }
.lg-ti { fill: var(--orange); }
.lg-ink { fill: currentColor; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  display: none;
  position: absolute;
  inset: 100% 0 auto 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding: var(--space-4) var(--gutter) var(--space-6);
}
.site-nav.is-open { display: block; }
.nav-list { display: grid; gap: var(--space-2); }
.nav-group-label {
  display: block;
  width: 100%;
  padding: 14px 0 4px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--on-dark-muted);
}
.nav-group-label svg { display: none; }
.nav-link,
.submenu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-weight: 500;
  text-decoration: none;
  color: var(--paper);
}
.submenu a small { display: none; }
.nav-link[aria-current="page"],
.submenu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-nav .btn { margin-top: var(--space-4); width: 100%; }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    max-height: none;
    overflow: visible;
    border: 0;
    padding: 0;
    background: transparent;
  }
  .nav-list { display: flex; align-items: center; gap: var(--space-2); }
  .nav-item { position: relative; }
  .nav-group-label,
  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--paper);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.18s ease;
  }
  .nav-group-label:hover,
  .nav-link:hover,
  .nav-group-label[aria-expanded="true"] { background: var(--graphite-2); }
  .nav-group-label svg { display: block; width: 14px; height: 14px; transition: transform 0.18s ease; }
  .nav-group-label[aria-expanded="true"] svg { transform: rotate(180deg); }
  .submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 340px;
    padding: var(--space-2);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  }
  .nav-group-label[aria-expanded="true"] + .submenu { opacity: 1; visibility: visible; transform: none; }
  .submenu a {
    display: block;
    min-height: 0;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--ink);
  }
  .submenu a:hover { background: var(--mist); }
  .submenu a small { display: block; margin-top: 2px; font-weight: 400; font-size: 0.875rem; color: var(--muted); }
  .site-nav .btn { margin: 0 0 0 var(--space-3); width: auto; }
}

/* seletor de idioma */
.lang-switch { display: flex; gap: var(--space-2); padding-top: var(--space-4); }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--on-dark-muted);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.lang-switch a:hover { color: var(--paper); border-color: var(--on-dark-muted); }
.lang-switch a[aria-current="true"] { color: var(--paper); border-color: var(--paper); }
.flag { width: 22px; height: auto; flex: none; border-radius: 2px; }
@media (min-width: 1000px) {
  .lang-switch { gap: 2px; padding: 0; margin-left: var(--space-2); }
  .lang-switch a { padding: 6px 8px; border-color: transparent; }
  .lang-switch a:hover { border-color: transparent; background: var(--graphite-2); }
  .lang-switch a[aria-current="true"] { border-color: var(--line-dark); }
}

/* ---------- hero ---------- */

.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: var(--space-5); }
.hero-copy .lead { max-width: 36rem; }
.hero-note { font-size: 0.9375rem; color: var(--muted); max-width: 34rem; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

.hero-visual { position: relative; display: grid; gap: var(--space-4); }
.photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--mono img { filter: grayscale(1) contrast(1.06); }
.photo::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  background: var(--orange);
}

/* cartão de fluxo: a assinatura visual do site */
.flow-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: grid;
  gap: var(--space-4);
}
.flow-card--float { box-shadow: var(--shadow); }
@media (min-width: 1000px) {
  .hero-visual { gap: 0; }
  .hero-visual .photo { aspect-ratio: 4 / 3.5; }
  .flow-card--float { position: relative; margin: -72px 32px 0 -40px; }
}
.flow-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.flow-label--after { color: var(--ink); }
.flow-label--after::before { content: ""; width: 8px; height: 8px; background: var(--orange); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; }
.flow li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
}
.flow li span {
  padding: 8px 10px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--paper);
}
.flow li:not(:last-child)::after {
  content: "";
  width: 14px;
  height: 0;
  border-top: 1px dashed var(--line-strong);
}
.flow--after li span { border: 1px solid var(--ink); background: var(--ink); color: var(--paper); }
.flow--after li:not(:last-child)::after { border-top: 2px solid var(--orange); }
.flow-caption { font-size: 0.8125rem; color: var(--muted); }

.flow-compare { display: grid; gap: var(--space-5); }
@media (min-width: 800px) {
  .flow-compare { grid-template-columns: 1fr 1fr; }
  .flow-compare .flow-card { align-content: start; }
}

/* faixa de clientes */
.clients { border-block: 1px solid var(--line); }
.clients .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-6);
  padding-block: var(--space-5);
}
.clients p { font-size: 0.875rem; color: var(--muted); }
.clients ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.clients li {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

/* ---------- grades e cartões ---------- */

.grid { display: grid; gap: var(--space-5); }
@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.card p { color: var(--muted); font-size: 1rem; }
.section--dark .card { background: var(--graphite-2); border-color: var(--line-dark); }
.section--dark .card p { color: var(--on-dark-muted); }

.icon-box {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--orange);
}
.icon-box svg { width: 22px; height: 22px; }
.section--dark .icon-box { background: var(--ink); }

/* cartão de dor: a fala do cliente e o que fazemos */
.pain { gap: var(--space-4); }
.pain blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.pain .fix { padding-top: var(--space-4); border-top: 1px solid var(--line); }
.pain .fix strong { display: block; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }

/* lista de soluções em linhas */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.18s ease;
}
.row-num { font-family: var(--font-heading); font-weight: 600; color: var(--ink); font-size: 0.9375rem; }
.row p { color: var(--muted); }
.row-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.row-go svg { width: 18px; height: 18px; transition: transform 0.18s ease; }
a.row:hover .row-go svg { transform: translateX(4px); }
a.row:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (min-width: 900px) {
  .row { grid-template-columns: 56px minmax(0, 0.9fr) minmax(0, 1.2fr) auto; align-items: start; gap: var(--space-6); }
  .row h3 { font-size: 1.5rem; }
}

/* passos do método */
.steps { display: grid; gap: var(--space-5); counter-reset: step; }
.step {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 2px solid var(--line-dark);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--orange);
}
.step::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--orange);
}
.step p { color: var(--on-dark-muted); font-size: 1rem; }
.section:not(.section--dark) .step { border-top-color: var(--line); }
.section:not(.section--dark) .step::before { color: var(--ink); }
.section:not(.section--dark) .step p { color: var(--muted); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--3 { grid-template-columns: repeat(3, 1fr); } }

.callout {
  margin-top: clamp(32px, 5vw, 56px);
  padding: var(--space-5);
  border-left: 3px solid var(--orange);
  background: var(--graphite-2);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  max-width: 52rem;
}
.callout p { color: var(--on-dark-muted); }
.callout strong { color: var(--on-dark); }
.section:not(.section--dark) .callout { background: var(--mist); }
.section:not(.section--dark) .callout p { color: var(--muted); }
.section:not(.section--dark) .callout strong { color: var(--ink); }
.section--mist .callout { background: var(--paper); }

/* casos */
.case-card { gap: var(--space-4); padding: var(--space-6); }
.case-sector { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.case-card h3 { font-size: 1.5rem; }
.case-card dl { display: grid; gap: var(--space-3); margin: 0; }
.case-card dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.case-card dd { margin: 2px 0 0; color: var(--muted); font-size: 1rem; }

.case-study { display: grid; gap: var(--space-6); padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.case-study-head { display: grid; gap: var(--space-3); align-content: start; }
.case-study-head p { color: var(--muted); }
.case-study dl { display: grid; gap: var(--space-5); margin: 0; }
.case-study dt { font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; display: flex; gap: 12px; align-items: baseline; }
.case-study dt span { font-size: 0.875rem; color: var(--ink); }
.case-study dd { margin: 6px 0 0; color: var(--muted); }
@media (min-width: 900px) {
  .case-study { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-8); }
  .case-study-head { position: sticky; top: calc(var(--header-h) + 24px); }
  .case-study dd { margin-left: 34px; }
}

/* painéis por porte */
.panel {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.panel h3 { font-size: 1.625rem; }
.panel > p { color: var(--muted); }

.checklist { display: grid; gap: var(--space-3); }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.checklist svg { width: 20px; height: 20px; margin-top: 3px; color: var(--orange); }
.section--dark .checklist svg { color: var(--orange); }
.checklist--cols { gap: var(--space-4) var(--space-6); }
@media (min-width: 800px) { .checklist--cols { grid-template-columns: 1fr 1fr; } }

/* diferenciais */
.diffs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.diff { display: grid; gap: var(--space-2); padding: var(--space-5) 0; border-bottom: 1px solid var(--line); }
.diff p { color: var(--muted); }
@media (min-width: 900px) {
  .diff { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-7); padding: var(--space-6) 0; }
  .diff h3 { font-size: 1.375rem; }
}

.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .split--even { grid-template-columns: 1fr 1fr; align-items: center; }
  .split .sticky { position: sticky; top: calc(var(--header-h) + 24px); }
}
.stack { display: grid; gap: var(--space-4); align-content: start; }
.stack--lg { gap: var(--space-5); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}
.section--dark .tags li { border-color: var(--line-dark); color: var(--on-dark-muted); }

/* ---------- CTA final ---------- */

.cta-final h2 { max-width: 18em; }
.cta-paths { display: grid; gap: var(--space-4); margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .cta-paths { grid-template-columns: repeat(3, 1fr); } }
.cta-path {
  display: grid;
  align-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--graphite-2);
  text-decoration: none;
  color: var(--on-dark);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.cta-path:hover { border-color: var(--orange); background: var(--line-dark); }
.cta-path small { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 8px; }
.cta-path strong { display: block; font-family: var(--font-heading); font-size: 1.375rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.cta-path p { color: var(--on-dark-muted); font-size: 1rem; margin-top: 8px; }
.cta-path .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--orange); }
.cta-path .go svg { width: 18px; height: 18px; transition: transform 0.18s ease; }
.cta-path:hover .go svg { transform: translateX(4px); }

.cta-band { display: grid; gap: var(--space-5); align-items: center; }
.cta-band p { color: var(--on-dark-muted); max-width: 38rem; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; gap: var(--space-8); } }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 64px;
  padding: var(--space-4) 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--orange); transition: transform 0.2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 var(--space-5); color: var(--muted); max-width: 44rem; }

/* ---------- formulário ---------- */

.form { display: grid; gap: var(--space-6); }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend,
.field label {
  display: block;
  padding: 0;
  margin-bottom: var(--space-3);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
}
.field label { margin-bottom: var(--space-2); font-size: 1rem; }
.field .hint { margin-left: 6px; font-family: var(--font-body); font-weight: 400; font-size: 0.875rem; color: var(--muted); }
.choices { display: grid; gap: var(--space-2); }
@media (min-width: 600px) { .choices--2 { grid-template-columns: 1fr 1fr; } }
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.choice:hover { border-color: var(--ink); }
.choice input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); }
.choice:has(input:checked) { border-color: var(--ink); background: var(--mist); box-shadow: inset 4px 0 0 var(--orange); }
.fields { display: grid; gap: var(--space-4); }
@media (min-width: 600px) { .fields--2 { grid-template-columns: 1fr 1fr; } }
.input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
  font: inherit;
}
textarea.input { min-height: 132px; resize: vertical; }
.input:hover { border-color: var(--ink); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.error { display: block; margin-top: 6px; font-size: 0.875rem; font-weight: 500; color: var(--danger); }
.form-note { font-size: 0.875rem; color: var(--muted); }
.form-status {
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: var(--mist);
}
.form-status h2 { font-size: 1.375rem; margin-bottom: 8px; }

.contact-list { display: grid; gap: var(--space-3); }
.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-4);
  align-items: center;
  min-height: 64px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  text-decoration: none;
  transition: border-color 0.18s ease;
}
a.contact-item:hover { border-color: var(--ink); }
.contact-item small { display: block; font-size: 0.8125rem; color: var(--muted); }
.contact-item strong { font-weight: 600; overflow-wrap: anywhere; }

/* ---------- rodapé ---------- */

.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: clamp(48px, 7vw, 80px) var(--space-6); font-size: 0.9375rem; }
.footer-grid { display: grid; gap: var(--space-7); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { display: grid; gap: var(--space-4); align-content: start; max-width: 22rem; }
.footer-brand .logo { color: var(--paper); }
.footer-brand .logo svg { height: 52px; }
.footer-tagline { font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; color: var(--paper); }
.site-footer h2 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark); margin-bottom: var(--space-2); }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--on-dark-muted); transition: color 0.18s ease; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }
.footer-bottom { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); justify-content: space-between; font-size: 0.875rem; }

.whatsapp-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--orange);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.whatsapp-fab:hover { transform: translateY(-2px); background: var(--graphite-2); }
.whatsapp-fab svg { width: 26px; height: 26px; }

/* ---------- páginas internas ---------- */

.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.page-hero .hero-grid { align-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-underline-offset: 4px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.prose { display: grid; gap: var(--space-4); max-width: 44rem; }
.prose p { color: var(--muted); font-size: 1.125rem; }
.prose p.strong { color: var(--text); font-weight: 500; }

/* ---------- página inicial (versão com hero escuro) ---------- */

.hero-dark {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.hero-dark-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hero-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.86) 45%, rgba(0, 0, 0, 0.55) 100%);
}
.hero-dark-grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
  padding-block: clamp(56px, 9vw, 120px);
}
.hero-dark .eyebrow { color: var(--on-dark-muted); }
.hero-dark h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1.1; }
.hero-dark .accent { display: block; color: var(--orange); }
.hero-dark .lead { color: var(--on-dark); max-width: 36rem; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); }
.equation { display: none; }
@media (min-width: 1000px) {
  .hero-dark-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .equation {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: var(--space-5) var(--space-6);
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
  }
  .equation .op { color: var(--orange); font-weight: 700; }
  .equation .result { font-size: 1.375rem; font-weight: 700; }
}

.head-split { display: grid; gap: var(--space-4); margin-bottom: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .head-split { grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: end; } }

.icon-grid { display: grid; gap: var(--space-6) var(--space-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .icon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.icon-grid li { display: grid; gap: var(--space-3); align-content: start; font-weight: 500; line-height: 1.4; }
.icon-grid svg,
.diff-grid svg { width: 32px; height: 32px; color: var(--orange); stroke-width: 1.5; }

.service-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .service-grid { grid-template-columns: repeat(5, 1fr); } }
.service-card,
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.service-card:hover,
.project-card:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-img { display: block; aspect-ratio: 16 / 10; background: var(--graphite); overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(1) contrast(1.06); }
.service-body,
.project-body { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-4) var(--space-4) var(--space-5); flex: 1; }
.service-icon { width: 28px; height: 28px; color: var(--orange); stroke-width: 1.5; }
.service-card h3,
.project-card h3 { font-size: 1rem; line-height: 1.35; }
.service-card .num { color: var(--muted); font-weight: 500; }
.service-card p,
.project-card p { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.more svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
a:hover > * > .more svg { transform: translateX(3px); }

.journey { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 1000px) { .journey { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: var(--space-8); } }
.journey-steps { display: grid; gap: var(--space-6) var(--space-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .journey-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.journey-steps li { position: relative; display: grid; gap: var(--space-2); align-content: start; }
.journey-steps h3 { font-size: 1.0625rem; margin-top: var(--space-2); }
.journey-steps p { color: var(--on-dark-muted); font-size: 0.9375rem; line-height: 1.5; }
.journey-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}
@media (min-width: 700px) {
  .journey-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 56px;
    right: 4px;
    border-top: 1px solid var(--line-dark);
  }
}

.diff-grid { display: grid; gap: var(--space-6) var(--space-6); }
@media (min-width: 640px) { .diff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.diff-grid li { display: grid; gap: var(--space-2); align-content: start; }
.diff-grid h3 { font-size: 1.0625rem; margin-top: var(--space-2); }
.diff-grid p { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }

.projects { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 1000px) { .projects { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.75fr); gap: var(--space-8); } }
.project-grid { display: grid; gap: var(--space-4); }
@media (min-width: 560px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .project-grid { grid-template-columns: repeat(4, 1fr); } }
.project-top {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 96px;
  padding: var(--space-4);
  background: var(--graphite);
  color: var(--on-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}
.project-top::before { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; background: var(--orange); }

.profile-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .profile-grid { grid-template-columns: 1fr 1fr; } }
.profile-card { background: var(--paper); color: var(--text); border-radius: var(--radius-lg); overflow: hidden; }
.profile-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.profile-body { display: grid; gap: var(--space-4); padding: var(--space-5); }
.profile-card .checklist svg { color: var(--orange); }
.profile-card .link-arrow { color: var(--ink); }

.mini-list { display: grid; gap: var(--space-4); }
@media (min-width: 560px) { .mini-list { grid-template-columns: 1fr 1fr; } }
.mini-list li { display: grid; grid-template-columns: 32px 1fr; gap: var(--space-3); align-items: start; font-size: 0.9375rem; color: var(--muted); line-height: 1.4; }
.mini-list svg { width: 28px; height: 28px; color: var(--orange); stroke-width: 1.5; }
.mini-list strong { display: block; color: var(--text); }

.form--compact { gap: var(--space-4); }
select.input { appearance: auto; }
.link-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* ---------- faixa rolante de clientes ---------- */

/* fundo próprio: a faixa funciona como divisão entre as seções */
.marquee-section { padding-block: clamp(32px, 5vw, 56px); border-block: 1px solid var(--line); background: var(--mist); }
.marquee-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); }
.marquee-head h2 { font-family: var(--font-body); }
.marquee-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s ease;
}
.marquee-toggle:hover { border-color: var(--ink); }
.marquee-toggle svg { width: 18px; height: 18px; }
.marquee-toggle .i-play,
.marquee-toggle[aria-pressed="true"] .i-pause { display: none; }
.marquee-toggle[aria-pressed="true"] .i-play { display: block; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee calc(var(--marquee-items, 10) * 4s) linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track,
.marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group li { display: flex; align-items: center; padding-inline: clamp(24px, 4vw, 48px); }
.marquee-group a { display: flex; align-items: center; min-height: 64px; text-decoration: none; color: inherit; }
.marquee-group img { height: 44px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.18s ease, opacity 0.18s ease; }
.marquee-group a:hover img,
.marquee-group a:focus-visible img { filter: none; opacity: 1; }
.marquee-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.01em; white-space: nowrap; color: var(--muted); transition: color 0.18s ease; }
.marquee-group a:hover .marquee-name { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- movimento ---------- */

.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease-out, transform 0.4s ease-out; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  /* sem movimento: a faixa vira uma lista estática */
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; }
  .marquee-group { flex-wrap: wrap; justify-content: center; }
  .marquee-group[aria-hidden="true"], .marquee-toggle { display: none; }
}

@media print {
  .site-header, .whatsapp-fab, .site-footer nav { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
