/* ============================================================================
   Oceon Software — sistemas sob medida para empresas
   Segue o Design System da Oceon: fundo Papel, Marinho nas faixas escuras e
   Cobalto como único destaque. Títulos em Bricolage Grotesque, texto em Inter.
   Formas arredondadas: botões em pílula, cartões em 18 px, faixas em 28 px.
   ============================================================================ */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --bg:              #F4F6F8;  /* Papel: fundo da página */
  --surface:         #FFFFFF;  /* cartões e painéis */
  --ink:             #0F1B2D;  /* títulos e texto principal */
  --ink-soft:        #3A4658;  /* texto corrido de apoio */
  --muted:           #556274;  /* legendas e rótulos */
  --line:            #D9DEE5;  /* divisórias e bordas */
  --papel:           #F4F6F8;  /* texto e logo sobre o marinho */
  --marinho:         #0F1B2D;  /* faixas escuras */
  --on-marinho-soft: #C9D3E0;  /* texto de apoio sobre o marinho */
  --on-marinho-mute: #9FB0C8;  /* rótulos sobre o marinho */
  --marinho-raised:  rgba(244, 246, 248, 0.07);
  --marinho-line:    rgba(244, 246, 248, 0.16);
  --cobalto:         #1F4FD8;  /* destaque: logo, botão principal, onda */
  --cobalto-hover:   #1A3FB0;
  --on-cobalto:      #FFFFFF;
  --link-on-marinho: #9DB6FF;
  --ambar:           #E8A33A;  /* só status de atenção */
  --info-soft:       #E3ECFF;
  --info-ink:        #1A3FB0;
  --neutral-soft:    #EEF1F4;

  --font-display: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
  --font-sans:    Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --t-display-xl: clamp(2.35rem, 1.45rem + 3.4vw, 4.125rem);  /* 66 px */
  --t-display-lg: clamp(1.95rem, 1.3rem + 2.4vw, 3.375rem);   /* 54 px */
  --t-display-md: clamp(1.6rem, 1.25rem + 1.3vw, 2.375rem);   /* 38 px */
  --t-title:      clamp(1.2rem, 1.1rem + 0.45vw, 1.5625rem);  /* 25 px */
  --t-body-lg:    clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); /* 19 px */
  --t-body:       1.0625rem;                                  /* 17 px */
  --t-small:      0.9375rem;                                  /* 15 px */
  --t-label:      0.75rem;                                    /* 12 px */

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 44px;
  --space-8: 64px;
  --section: clamp(4rem, 2.6rem + 5vw, 7rem);

  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1240px;
  --gutter: clamp(16px, 0.6rem + 2.2vw, 40px);
  --header-h: 76px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cobalto); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--info-soft); color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--cobalto); color: var(--on-cobalto);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section--surface { background: var(--surface); }
.section + .section--surface, .section--surface + .section { border-top: 1px solid var(--line); }

/* ---------- 3. Tipografia ------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: inherit;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t-display-xl); line-height: 1.03; letter-spacing: -0.04em; }
h2 { font-size: var(--t-display-lg); line-height: 1.05; letter-spacing: -0.035em; }
h3 { font-size: var(--t-title); line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
h4 { font-family: var(--font-sans); font-size: var(--t-small); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }

.label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede {
  font-size: var(--t-body-lg);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
}
.text-link { color: var(--cobalto); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--cobalto-hover); }

/* ---------- 4. Logo ------------------------------------------------------ */
/* O "O" aberto à direita + "ceon", nas proporções do logo (caixa 340 × 183). */
.brand {
  --h: 34px;
  position: relative;
  display: inline-block;
  flex: none;
  width: calc(var(--h) * 320 / 183);
  height: var(--h);
}
.brand img {
  position: absolute; left: 0; top: 0;
  width: calc(var(--h) * 142 / 183);
  height: var(--h);
}
.brand-word {
  position: absolute;
  left: calc(var(--h) * 95 / 183);
  top: calc(var(--h) * 33 / 183);
  font-family: var(--font-display);
  font-size: calc(var(--h) * 104 / 183);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--ink);
  white-space: nowrap;
}
.brand--on-dark .brand-word { color: var(--papel); }
.brand--lg { --h: 56px; }

/* ---------- 5. Botões ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: var(--t-small);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--cobalto); color: var(--on-cobalto); }
.btn--primary:hover { background: var(--cobalto-hover); }
.btn--secondary { color: var(--ink); border-color: var(--line); background: transparent; }
.btn--secondary:hover { border-color: var(--muted); }
.btn--on-dark { color: var(--papel); border-color: var(--marinho-line); background: transparent; }
.btn--on-dark:hover { border-color: var(--papel); }
.btn--on-dark:focus-visible { outline-color: var(--papel); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- 6. Header ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 246, 248, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: var(--header-h);
}
.nav-links {
  display: flex;
  gap: var(--space-6);
  margin-left: auto;
  margin-right: var(--space-3);
  font-size: var(--t-small);
  font-weight: 500;
}
.nav-links a {
  padding-block: 6px;
  color: var(--ink-soft);
  border-bottom: 1.5px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: var(--space-3); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  padding: var(--space-5) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.mobile-drawer.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
.mobile-drawer a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.mobile-drawer a.is-active { color: var(--cobalto); }
.mobile-drawer .btn { margin-top: var(--space-5); font-family: var(--font-sans); font-size: var(--t-body); letter-spacing: 0; border-bottom: 0; align-self: flex-start; }
.drawer-close { display: inline-flex; align-items: center; gap: 6px; align-self: flex-end; font-weight: 600; color: var(--muted); padding: var(--space-3) 0; margin-bottom: var(--space-4); }

/* ---------- 7. Faixa marinho (topo da home e chamadas) -------------------- */
.band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--marinho);
  color: var(--papel);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 2rem + 3vw, 72px) clamp(20px, 1rem + 3vw, 64px) clamp(96px, 5rem + 3vw, 128px);
}
.band .label { color: var(--on-marinho-mute); }
.band .lede, .band p { color: var(--on-marinho-soft); }
.band strong { color: var(--papel); }
/* A onda: uma curva longa e suave encostada na borda de baixo. Só no topo da home. */
.band-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(64px, 2.5rem + 5vw, 120px);
  z-index: -1;
  pointer-events: none;
}
.band-wave .w1 { fill: var(--cobalto); }
.band-wave .w2 { fill: var(--papel); opacity: 0.14; }

/* Topo da home */
.hero { padding-block: var(--space-4) 0; }
.band--hero {
  padding: clamp(48px, 2rem + 5vw, 112px) clamp(24px, 1rem + 5vw, 96px) clamp(120px, 6rem + 6vw, 196px);
}
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.hero-text h1 { color: var(--papel); max-width: 17ch; font-size: clamp(2.5rem, 1.4rem + 4.2vw, 5rem); line-height: 1; }
.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-5) var(--space-8);
  align-items: end;
  width: 100%;
  margin-top: var(--space-5);
}
.hero-text .lede { color: var(--on-marinho-soft); max-width: 46ch; margin: 0; }
.hero-clients {
  margin: clamp(40px, 2rem + 3vw, 72px) 0 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--marinho-line);
  font-size: var(--t-small);
  color: var(--papel) !important;
}
.hero-clients span { color: var(--on-marinho-mute); margin-right: var(--space-2); }

/* Topo das páginas internas */
.page-hero { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) var(--space-8); }
.page-hero .container { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.page-hero h1 { max-width: 18ch; }
.page-hero .btn-row { margin-top: var(--space-2); }
.page-hero-facts {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  list-style: none; margin: var(--space-3) 0 0; padding: 0;
}
.page-hero-facts { gap: var(--space-2) var(--space-5); margin-top: var(--space-4); }
.page-hero-facts li { font-size: 0.875rem; color: var(--muted); }
.page-hero-facts li + li { padding-left: var(--space-5); border-left: 1px solid var(--line); }

/* ---------- 8. Cabeçalho de seção ---------------------------------------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-5) var(--space-8);
  align-items: end;
  margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
}
.section-head > div { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.section-head h2 { max-width: 16ch; }
.section-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-7); }
.section-foot p { margin: 0; color: var(--ink-soft); }

/* ---------- 9. Projetos -------------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 0.6rem + 1.2vw, 28px);
}
.work-item {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.work-item:hover .wm-title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.work-item--lg { grid-column: span 7; }
.work-item--md { grid-column: span 5; }
.work-item--full { grid-column: span 12; }
.wm {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--neutral-soft);
}
.work-item--md .wm { aspect-ratio: auto; flex: 1; min-height: 280px; }
.work-item--full .wm { aspect-ratio: 21 / 9; }
.wm img, .wm picture { width: 100%; height: 100%; }
.wm img { object-fit: cover; object-position: top center; }
.wm { border-bottom: 1px solid var(--line); }
.work-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 20px 24px 22px;
}
.work-meta > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wm-title { font-family: var(--font-display); font-size: var(--t-title); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.wm-cap { font-size: 0.875rem; color: var(--muted); }
.wm-go { flex: none; font-size: 0.875rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.work-item:hover .wm-go { color: var(--cobalto); }
.wm-desc { margin: 6px 0 0; color: var(--ink-soft); font-size: var(--t-small); max-width: 62ch; }
.wm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.wm-tags span, .chips span {
  background: var(--neutral-soft);
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ---------- 10. Cartões (serviços, princípios, tecnologias) -------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 0.5rem + 1vw, 24px);
}
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(22px, 1.1rem + 0.8vw, 30px);
}
.section--surface .card { background: var(--bg); border-color: transparent; }
.card--wide { grid-column: span 2; }
.card--full { grid-column: 1 / -1; }
.card p { color: var(--ink-soft); margin: 0; }
.card .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: var(--space-2); }
.card-kicker { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Princípios: três colunas abertas, separadas por uma linha fina */
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-7) var(--space-6);
  margin-top: var(--space-8);
}
.principles > div { border-top: 1px solid var(--line); padding-top: var(--space-5); }
.principles h3 { font-size: 1.1875rem; margin-bottom: var(--space-2); }
.principles p { color: var(--ink-soft); margin: 0; font-size: var(--t-small); line-height: 1.55; }
.section-head + .principles { margin-top: 0; }

/* Lista de serviços e tecnologias: título à esquerda, texto à direita */
.offer-list { border-top: 1px solid var(--ink); }
.offer {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-3) var(--space-6);
  padding: var(--space-5) 0 calc(var(--space-5) + 2px);
  border-bottom: 1px solid var(--line);
}
.offer h3 { font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.375rem); }
.offer p { color: var(--ink-soft); margin: 0; max-width: 60ch; }
.offer .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-3); }

/* Etapas: número em cobalto, sem círculo nem cartão */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-7) var(--space-6);
  counter-reset: etapa;
}
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { counter-increment: etapa; border-top: 1px solid var(--line); padding-top: var(--space-5); }
.steps li::before {
  content: counter(etapa, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-small);
  color: var(--cobalto);
  margin-bottom: var(--space-4);
}
.steps h3 { margin-bottom: var(--space-2); }
.steps p { color: var(--ink-soft); margin: 0; font-size: var(--t-small); line-height: 1.55; }

/* Perguntas frequentes */
.faq { border-top: 1px solid var(--ink); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq summary:hover svg { color: var(--ink); }
.faq details p { color: var(--ink-soft); margin: -6px 0 0; padding: 0 var(--space-7) 22px 0; max-width: 68ch; }
.card .card-note { font-size: 0.875rem; color: var(--muted); margin-top: auto; padding-top: var(--space-2); }

/* Passos numerados (processo completo) */
.process-grid { counter-reset: proc; }
.process-grid .card { counter-increment: proc; }
.process-grid .card::before {
  content: counter(proc);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cobalto);
  color: var(--on-cobalto);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: var(--t-small);
  margin-bottom: var(--space-2);
}

/* Formatos de serviço */
.tier { gap: var(--space-4); }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tier li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: var(--t-small); }
.tier li::before {
  content: '';
  position: absolute; left: 2px; top: 0.45em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--cobalto);
  border-bottom: 2px solid var(--cobalto);
  transform: rotate(-45deg);
}
.tier .btn { margin-top: auto; align-self: flex-start; }
.tier-meta { color: var(--muted); font-size: var(--t-small); margin-top: -6px; }
.card.tier--featured { background: var(--marinho); border-color: var(--marinho); color: var(--papel); }
.tier--featured h3 { color: var(--papel); }
.tier--featured p, .tier--featured li { color: var(--on-marinho-soft); }
.tier--featured .tier-meta, .tier--featured .label { color: var(--on-marinho-mute); }
.tier--featured li::before { border-color: var(--link-on-marinho); }
.fine-print { text-align: center; color: var(--muted); font-size: 0.875rem; margin-top: var(--space-6); }

/* ---------- 11. Texto em duas colunas e citação --------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--space-5) clamp(2rem, 1rem + 5vw, 6rem);
  align-items: start;
}
.split > div:first-child { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.split-body { color: var(--ink-soft); font-size: var(--t-body-lg); line-height: 1.6; }
.split-body p { margin-bottom: var(--space-5); }
.pull-quote {
  margin: var(--space-3) 0 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: var(--t-title);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 26ch;
}

/* ---------- 12. Listas de dados ------------------------------------------ */
.data-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.data-list li {
  display: grid;
  grid-template-columns: minmax(140px, 0.32fr) minmax(0, 1fr);
  gap: var(--space-2) var(--space-5);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.data-list b { font-weight: 600; }
.data-list span { color: var(--ink-soft); }
.data-list a { color: var(--cobalto); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }

/* ---------- 13. Contato -------------------------------------------------- */
.channel-line {
  font-family: var(--font-display);
  font-size: var(--t-title);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cobalto);
  overflow-wrap: anywhere;
  margin-top: auto;
}
.channel-line:hover { color: var(--cobalto-hover); }

.form-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 1rem + 2vw, 44px);
  max-width: 960px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7A8696; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cobalto);
  box-shadow: 0 0 0 3px var(--info-soft);
}
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.form-foot small { color: var(--muted); font-size: 0.8125rem; max-width: 46ch; }

/* ---------- 14. Chamada final -------------------------------------------- */
/* Clara de propósito: o rodapé logo abaixo já é marinho. */
.cta { padding-block: var(--section); }
.cta .band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-6) clamp(2rem, 1rem + 3vw, 4rem);
  align-items: end;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: clamp(32px, 1.5rem + 3.5vw, 72px);
}
.cta .band .label { color: var(--muted); }
.cta .band .lede, .cta .band p { color: var(--ink-soft); }
.cta h2 { color: var(--ink); max-width: 15ch; margin-top: var(--space-3); }
.cta .lede { margin-top: var(--space-4); }
.cta .btn-row { margin-top: var(--space-6); }
.contact-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-rows a {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: var(--t-small);
}
.contact-rows .k { color: var(--muted); font-size: 0.875rem; }
.contact-rows .v { font-weight: 500; overflow-wrap: anywhere; }
.contact-rows .a { color: var(--muted); transition: transform .2s var(--ease), color .2s ease; }
.contact-rows a:hover .a { transform: translateX(3px); color: var(--cobalto); }
.contact-rows a:hover .v { color: var(--cobalto); }
.section--surface + .cta { border-top: 1px solid var(--line); }

/* ---------- 15. Rodapé --------------------------------------------------- */
.site-footer { background: var(--marinho); color: var(--on-marinho-soft); padding-block: var(--space-8) var(--space-6); font-size: var(--t-small); }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--marinho-line);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.footer-brand p { max-width: 34ch; margin: 0; }
.site-footer h4 { color: var(--papel); margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a:hover { color: var(--papel); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-5); color: var(--on-marinho-mute); font-size: 0.875rem; }

/* ---------- 17. Responsivo ----------------------------------------------- */
@media (max-width: 1080px) {
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { justify-content: space-between; }
  .hero-foot, .section-head, .split, .cta .band, .offer { grid-template-columns: minmax(0, 1fr); }
  .principles, .steps, .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { align-items: start; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-item--lg, .work-item--md { grid-column: span 12; }
  .work-item--md .wm { aspect-ratio: 16 / 10; min-height: 0; flex: none; }
  .work-item--full .wm { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand { --h: 30px; }
  .card-grid, .card-grid--2, .card-grid--4, .principles, .steps, .steps--4 { grid-template-columns: minmax(0, 1fr); }
  .page-hero-facts { flex-direction: column; }
  .page-hero-facts li + li { padding-left: 0; border-left: 0; }
  .card--wide { grid-column: auto; }
  .form-card { grid-template-columns: minmax(0, 1fr); }
  .data-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .contact-rows a { grid-template-columns: minmax(0, 1fr) auto; }
  .contact-rows .k { grid-column: 1 / -1; }
  .work-meta { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .btn .arrow, .faq summary svg { transition: none; }
}
