/* ==========================================================================
   ONFAZ - Site institucional
   Design system baseado no tema Virtus/Ave (Liquid Themes)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. FONTES
   Archivo servida pelo proprio dominio, instanciada na largura 100 e nos
   pesos 200 a 700 (os que o site usa). Antes vinha do Google Fonts: dois
   handshakes e um CSS bloqueante antes da primeira pintura.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 200 700;
  font-display: swap;
  src: url('../assets/fontes/archivo-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 200 700;
  font-display: swap;
  src: url('../assets/fontes/archivo-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('../assets/fontes/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('../assets/fontes/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Cores da marca, amostradas dos pixels de assets/logo.png.
     (A estrutura visual vem do tema de referência, a cor é da Onfaz.) */
  --brand:        #4f46e5;   /* roxo do ícone - 6.3:1 sobre branco */
  --brand-dark:   #4038ce;   /* hover */
  --brand-soft:   rgba(79, 70, 229, .12);
  /* Sobre fundo escuro o roxo cheio dá só 2.7:1. Esta variante clara
     resolve: 6.0:1 sobre o navy. Usar em texto/ícone em seção escura. */
  --brand-light:  #968ef5;
  --brand-ink:    #1c2a33;   /* cinza-chumbo do wordmark da logo */

  --navy:         #0c0e14;   /* mantido como apelido de --ink */
  --navy-2:       #16181f;
  --heading:      #0c0e14;
  /* O tema original usa #808291 / #a3acba, que reprovam no WCAG AA
     (3.8:1 e 2.3:1 sobre branco). Escurecidos mantendo o mesmo matiz:
     agora 6.0:1 e 5.0:1. */
  --body:         #3d4048;   /* mais escuro que o cinza de template */
  --muted:        #6a6d75;

  /* Neutros quentes. Branco puro em tudo é o que mais entrega site de
     template; o papel levemente creme dá peso editorial. */
  --line:         #d9d4ca;   /* filete mais presente: o desenho se apoia nele */
  --bg:           #f6f5f2;   /* papel: fundo padrão */
  --bg-soft:      #ffffff;   /* branco só como contraste pontual */
  --bg-soft-2:    #ebe8e1;   /* creme mais fechado */
  --ink:          #0c0e14;   /* quase preto, para títulos */

  /* Tipografia
     Archivo no lugar de Roboto: mesma legibilidade, mas com caixa alta
     de verdade, que aguenta o entreletras largo do design. */
  --font:         'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Entreletras dos títulos em caixa alta - a assinatura do layout */
  /* Títulos em caixa normal, apertados; só os rótulos ficam em versalete */
  --ls-display:   -.025em;
  --ls-title:     -.02em;
  --ls-eyebrow:   .22em;

  /* Layout */
  --container:    1180px;
  --measure:      880px;     /* coluna estreita, de leitura */
  --gutter:       24px;
  --section-y:    120px;

  /* Motion */
  --ease:         cubic-bezier(.23, 1, .32, 1); /* easeOutQuint */

  --shadow-sm:    0 1px 0 var(--line);
  --shadow-md:    0 18px 44px rgba(12, 14, 20, .10);
  --shadow-lg:    0 30px 80px rgba(12, 14, 20, .14);
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Trava a rolagem com o menu aberto. O position:fixed + top (definido pelo JS)
   preserva a posição da página e funciona também no Safari do iOS. */
body.nav-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

/* Títulos: caixa normal, peso forte e entreletras apertado. Papel claro e
   tinta escura: o contraste vem do peso do texto, não de efeito. */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: var(--ls-display);
}
h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.08;
  letter-spacing: var(--ls-title);
}
h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
h4 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--ink);
}

p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
/* O navegador aplica margin-inline: 40px em blockquote por padrao, o que
   estava encolhendo os cards de depoimento em 80px. */
blockquote, figure { margin: 0; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 999;
  background: var(--brand);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}
.skip-link:focus { left: 20px; color: #fff; }

/* Visível apenas para leitores de tela */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow { max-width: 820px; margin: 0 auto; }

.section { padding: var(--section-y) 0; }
.section--soft   { background: var(--bg-soft); }
.section--soft-2 { background: var(--bg-soft-2); }
.section--dark   { background: var(--ink); }
.section--tight  { padding: 80px 0; }

.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   4. TIPOGRAFIA UTILITÁRIA
   -------------------------------------------------------------------------- */
/* "eyebrow" - subtítulo em caixa alta na cor da marca, assinatura do tema */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before { content: ''; width: 10px; height: 10px; background: var(--brand); flex: 0 0 auto; }
.text-center .eyebrow { justify-content: center; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--brand-light); }

.meta {
  font-size: 10.5px;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--muted);
}

.lead { font-size: 17px; line-height: 30px; }

.section-head { margin-bottom: 64px; }
.section-head h2 { margin-bottom: 20px; max-width: 820px; }
.section-head p  { max-width: 600px; font-size: 18px; line-height: 30px; color: var(--muted); }
.section-head.text-center h2,
.section-head.text-center p { margin-left: auto; margin-right: auto; }

.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: rgba(255, 255, 255, .72); }

/* --------------------------------------------------------------------------
   5. BOTÕES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 17px 30px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn--solid:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Sobre fundo de tinta (faixa CTA) */
.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.btn--light:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Nasceu para o hero escuro; hoje o hero é claro e ele vira um contorno de
   tinta. O nome ficou porque o HTML gerado o usa. */
.btn--ghost-light {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost-light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.btn--block { width: 100%; }

/* link com seta */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--brand);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   6. HEADER
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 26px 0;
  transition: padding .4s var(--ease), background-color .4s var(--ease),
              box-shadow .4s var(--ease);
}
.header.is-stuck {
  padding: 14px 0;
  background: rgba(246, 245, 242, .96);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  /* Estilos do fallback em texto, caso a logo volte a ser escrita */
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.4px;
  color: var(--ink);
  transition: color .4s var(--ease);
}
/* Header transparente fica sobre fundo escuro: usa o roxo claro.
   Quando gruda (fundo branco), volta ao roxo cheio da marca. */
.logo span { color: var(--brand); }
.header.is-stuck .logo { color: var(--navy); }

/* Logo em arquivo. Como o header começa transparente sobre fundo escuro e
   fica branco ao rolar, use duas versões: a clara aparece no topo e a
   colorida depois que o header gruda. */
/* O hero agora é claro: a logo colorida vale sempre, grudado ou não */
.logo-img { height: 30px; width: auto; display: block; }
.header .logo-img--light { display: none; }
.header .logo-img--dark  { display: block; }
.footer .logo-img { height: 32px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav:focus { outline: 0; }
.nav-extra { display: none; }

.nav a:not(.btn) {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--body);
  transition: color .3s var(--ease);
}
.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: width .35s var(--ease);
}
.nav a:not(.btn):hover,
.nav a:not(.btn).is-active { color: var(--ink); }
.nav a:not(.btn):hover::after,
.nav a:not(.btn).is-active::after { width: 100%; }

.header.is-stuck .nav a:not(.btn) { color: var(--body); }
.header.is-stuck .nav a:not(.btn):hover,
.header.is-stuck .nav a:not(.btn).is-active { color: var(--navy); }

.nav .btn { margin-left: 6px; font-size: 14px; }
.nav .btn--ghost-light {
  padding: 11px 22px;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.nav .btn--ghost-light:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .25s var(--ease),
              background-color .4s var(--ease);
}
.header.is-stuck .nav-toggle span,
body.nav-open .nav-toggle span { background: var(--navy); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. HERO
   Papel claro com o título em tinta. O contraste escuro entra como um painel
   de números à direita, não como fundo inteiro. Sem gradiente, sem malha.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 176px 0 96px;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
}
.hero-bg { display: none; }

.hero .container { position: relative; z-index: 2; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  grid-template-rows: auto auto auto auto;
  column-gap: 64px;
  align-items: start;
}
.hero-inner > .eyebrow,
.hero-inner > h1,
.hero-inner > .hero-lead,
.hero-inner > .hero-actions { grid-column: 1; }

.hero h1 {
  max-width: 860px;
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(36px, 4.7vw, 66px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: var(--ls-display);
}
.hero h1 strong { font-weight: 700; }
.hero h1 .accent { color: var(--brand); font-weight: 700; }

.hero-lead {
  max-width: 560px;
  margin-bottom: 36px;
  font-size: 18px;
  line-height: 30px;
  color: var(--body);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* O painel: bloco de tinta, números empilhados, filete entre eles */
.hero-stats {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  padding: 34px 34px 30px;
  background: var(--ink);
  color: #fff;
}
.hero-stat { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-stat:first-child { padding-top: 0; border-top: 0; }
.hero-stat b {
  display: block;
  font-size: clamp(40px, 3.6vw, 54px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
}
.hero-stat b em { font-style: normal; color: var(--brand-light); }
.hero-stat span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.hero-scroll { display: none; }

/* O HTML marca o rótulo do hero como claro (herança do fundo escuro) */
.hero .eyebrow--light,
.page-hero .eyebrow--light { color: var(--ink); }
.hero .eyebrow--light::before,
.page-hero .eyebrow--light::before { background: var(--brand); }

/* --------------------------------------------------------------------------
   7b. TITLEBAR DAS PÁGINAS INTERNAS
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 160px 0 84px;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
}
.page-hero-bg { display: none; }
.page-hero .container { position: relative; z-index: 2; }

.page-hero h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: var(--ls-display);
}
.page-hero h1 strong { font-weight: 700; }
.page-hero p {
  max-width: 640px;
  margin: 0;
  font-size: 18px;
  line-height: 30px;
  color: var(--body);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}
.crumbs a { color: var(--brand); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--muted); }
.crumbs .sep { color: var(--line); }

/* --------------------------------------------------------------------------
   8. LOGOS / PROVA SOCIAL
   -------------------------------------------------------------------------- */
.logos { padding: 36px 0 40px; border-bottom: 1px solid var(--line); }
.logos-inner { display: block; }
.logos-label {
  display: block;
  margin-bottom: 26px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--muted);
}
.logos-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px 34px;
}
.logos-list li { display: flex; align-items: center; }
/* Todas em tinta, sempre a 100%, sem efeito ao passar o mouse. A altura
   varia por logo porque um quadrado e um letreiro fino não podem dividir a
   mesma medida. */
.logos-list img {
  display: block;
  width: auto;
  height: 29px;
}
.logos-list img[data-logo="brascast"] { height: 25px; }
.logos-list img[data-logo="elevare"]  { height: 26px; }
.logos-list img[data-logo="argyros"]  { height: 16px; }
.logos-list img[data-logo="dinamize"] { height: 30px; }
.logos-list img[data-logo="mathiola"] { height: 30px; }
.logos-list img[data-logo="mathiola-ce"] { height: 29px; }
.logos-list img[data-logo="efc"]      { height: 40px; }
.logos-track { display: contents; }
.logos-list--copia { display: none; }

/* Telas menores: as logos passam lado a lado numa esteira contínua, em vez
   de empilhar em três linhas. A cópia da lista emenda o laço. */
@media (max-width: 991px) {
  .logos-inner {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }
  .logos-track {
    display: flex;
    width: max-content;
    gap: 44px;
    animation: logosRolam 26s linear infinite;
  }
  .logos-track:hover { animation-play-state: paused; }
  .logos-list, .logos-list--copia {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 44px;
  }
  .logos-list li { flex: 0 0 auto; }
  @keyframes logosRolam {
    to { transform: translateX(calc(-50% - 22px)); }
  }
  @media (prefers-reduced-motion: reduce) {
    .logos-track { animation: none; }
    .logos-inner { -webkit-mask-image: none; mask-image: none; }
    .logos-list { flex-wrap: wrap; }
    .logos-list--copia { display: none; }
  }
}

/* --------------------------------------------------------------------------
   9. SOBRE
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.about-visual { position: relative; }
.about-figure {
  position: relative;
  /* 3:2, a proporção da foto do escritório. O frame retrato anterior
     cortaria as laterais e comeria a logo na parede. */
  aspect-ratio: 3 / 2;
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-soft-2);
  /* Sombra dura de tinta: um recurso gráfico, não um efeito de profundidade */
  box-shadow: 14px 14px 0 var(--ink);
}
/* Trocar por foto real: <img src="assets/sobre.jpg"> dentro de .about-figure */
.about-figure img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }

.about-badge {
  position: absolute;
  right: -24px;
  bottom: -24px;
  z-index: 3;
  padding: 30px 36px;
  background: var(--brand);
  color: #fff;
}
.about-badge b {
  display: block;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}
.about-badge span {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}

.about-list { margin-top: 34px; display: grid; gap: 22px; }
.about-list li { display: flex; gap: 16px; }
.about-list .tick {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}
.about-list .tick svg { width: 12px; height: 12px; }
.about-list h4 { margin-bottom: 4px; }
.about-list p { font-size: 14px; line-height: 24px; }

.about-cta { margin-top: 42px; display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }

/* --------------------------------------------------------------------------
   10. SERVIÇOS
   -------------------------------------------------------------------------- */
.svc-card {
  position: relative;
  padding: 44px 36px 40px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--bg-soft);
  overflow: hidden;
  transition: background-color .45s var(--ease), border-color .45s var(--ease);
}
.svc-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
/* Sem "levantar com sombra": em vez do efeito de template, a barra
   superior avança e o card esquenta de fundo. */
.svc-card:hover { background: #fff; box-shadow: 8px 8px 0 var(--ink); }
.svc-card:hover::before { transform: scaleX(1); }

/* Numeração grande e discreta, tratada como elemento gráfico */
.svc-num {
  position: absolute;
  right: 34px;
  top: 26px;
  font-size: 74px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  transition: -webkit-text-stroke-color .45s var(--ease);
}
.svc-card:hover .svc-num { -webkit-text-stroke-color: var(--brand); }

.svc-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 32px;
  display: grid;
  place-items: center;
  color: var(--brand);
  transition: transform .45s var(--ease);
}
.svc-icon svg { width: 34px; height: 34px; stroke-width: 1.3; }
.svc-card:hover .svc-icon { transform: translateY(-3px); }


.svc-card h3 { margin-bottom: 12px; }
.svc-card p { font-size: 14px; line-height: 25px; margin-bottom: 22px; }

.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.svc-tags li {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.svc-tags li:not(:last-child)::after { content: ' /'; opacity: .5; }
.svc-link { margin-top: 22px; }

/* Chamada para a página de nicho no fim do portfólio */
.works-nicho {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-top: 44px;
  padding: 30px 34px;
  border: 1px solid var(--ink);
  background: var(--bg-soft);
}
.works-nicho p { margin: 0; max-width: 640px; font-size: 16px; line-height: 26px; }
.works-nicho strong { color: var(--ink); }

/* Página de nicho: moldura de navegador e celulares com capturas reais */
.nicho-grid { align-items: center; }
.shot {
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--bg-soft);
  box-shadow: 14px 14px 0 var(--ink);
}
.shot .work-frame { display: flex; }
.shot .work-shot img { display: block; width: 100%; height: auto; }
.fones { display: flex; justify-content: center; align-items: flex-start; gap: 28px; }
.fone {
  width: 46%;
  max-width: 250px;
  padding: 10px;
  border: 1px solid var(--ink);
  border-radius: 30px;
  background: #fff;
  box-shadow: 10px 10px 0 var(--ink);
}
.fone + .fone { margin-top: 48px; }
.fone img { display: block; width: 100%; height: auto; border-radius: 22px; }

/* Resumo direto no topo da página de nicho: a resposta que a IA cita */
.resumo {
  max-width: 820px;
  margin: 0 0 56px;
  padding-left: 24px;
  border-left: 3px solid var(--brand);
  font-size: 20px;
  line-height: 32px;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   11. CONTADORES
   -------------------------------------------------------------------------- */
.counters {
  position: relative;
  padding: 96px 0;
  background: var(--ink);
}
.counter { text-align: center; }
.counter b {
  display: block;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
}
.counter b em { font-style: normal; color: var(--brand-light); }
.counter span {
  display: block;
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

/* --------------------------------------------------------------------------
   12. PROCESSO
   -------------------------------------------------------------------------- */
.steps { position: relative; }

.step { position: relative; padding-right: 24px; }
.step-num {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.step:hover .step-num { color: var(--brand); border-color: var(--brand); }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 14px; line-height: 25px; }

/* --------------------------------------------------------------------------
   13. PROJETOS
   Cada projeto e uma "janela": barra de navegador, captura real do site e o
   texto embaixo, sempre legivel. Nada de veu escuro por cima da imagem - a
   captura e a prova do trabalho, entao ela aparece inteira e clara.
   -------------------------------------------------------------------------- */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.work {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--body);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; color: var(--body); }

/* barra do navegador */
.work-frame {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px;
  background: var(--bg-soft-2);
  border-bottom: 1px solid var(--line);
}
.work-dots { display: inline-flex; gap: 6px; }
.work-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(12, 14, 20, .18); }
.work-url {
  flex: 1; padding: 5px 12px;
  background: var(--bg-soft);
  font-size: 11.5px; letter-spacing: .04em; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* captura: sempre a primeira dobra do site, recortada por cima */
.work-shot { display: block; aspect-ratio: 1140 / 784; overflow: hidden; background: var(--bg-soft-2); }
.work-shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform .8s var(--ease);
}
.work:hover .work-shot img { transform: scale(1.03); }

.work-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; border-top: 1px solid var(--line); }
.work-cat {
  display: block; margin-bottom: 10px;
  font-size: 10px; font-weight: 600; letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--brand);
}
.work-body h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.01em; color: var(--ink); }
.work-desc { margin: 0 0 18px; font-size: 14px; line-height: 24px; color: var(--muted); }
.work-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); transition: color .3s var(--ease);
}
.work-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.work:hover .work-link { color: var(--brand); }
.work:hover .work-link svg { transform: translate(2px, -2px); }

/* --------------------------------------------------------------------------
   14. FAIXA CTA (parallax)
   -------------------------------------------------------------------------- */
/* Bloco de tinta sobre o papel, com o papel aparecendo em volta: assim a
   faixa não emenda com o rodapé, que também é escuro. */
.cta-band {
  position: relative;
  padding: var(--section-y) 0;
  background: var(--bg);
}
/* A seção de papel logo antes abre mão do próprio respiro de baixo, para o
   bloco não ficar com o dobro de folga em cima. Seções coloridas mantêm o
   delas: a cor termina, entra o papel, e só então o bloco. */
.section:not([class*="section--soft"]):has(+ .cta-band) { padding-bottom: 0; }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 34px;
  padding: 64px 56px;
  background: var(--ink);
}
.cta-band h2 { margin: 0; color: #fff; max-width: 680px; font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); }
.cta-band h2 strong { font-weight: 700; color: var(--brand-light); }

/* --------------------------------------------------------------------------
   15. DEPOIMENTOS
   -------------------------------------------------------------------------- */
.quote {
  padding: 44px 40px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  transition: border-color .45s var(--ease);
}
.quote:hover { border-color: var(--ink); }

.quote-mark {
  display: block;
  margin-bottom: 18px;
  font-size: 80px;
  line-height: .62;
  font-weight: 400;
  color: var(--brand);
}
.quote p {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 30px;
  color: var(--ink);
}
.quote-by { display: flex; align-items: flex-start; gap: 16px; }
.quote-by .quote-av {
  width: 34px;
  height: 1px;
  flex: 0 0 auto;
  margin-top: 9px;
  background: var(--ink);
  font-size: 0;
  line-height: 0;
}
.quote-by b { display: block; font-size: 14px; color: var(--navy); font-weight: 600; }
.quote-by span { display: block; font-size: 12px; letter-spacing: .4px; color: var(--muted); }

/* Depoimento único em destaque: mais largo, texto maior, sem efeito de hover */
.quote--solo {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 60px 48px;
  border-color: var(--ink);
}
.quote--solo:hover { border-color: var(--ink); }
.quote--solo p { font-size: 22px; line-height: 36px; font-weight: 500; letter-spacing: -.01em; }

/* --------------------------------------------------------------------------
   16. PLANOS
   -------------------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }

.plan {
  position: relative;
  padding: 44px 38px 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  transition: border-color .45s var(--ease), background-color .45s var(--ease);
}
/* O :not() é obrigatório aqui: sem ele, .plan:hover (0,2,0) vence
   .plan--featured (0,1,0) e pinta o card escuro de branco, deixando o texto
   branco invisível. */
.plan:not(.plan--featured):hover { border-color: var(--ink); background: var(--bg-soft); }
.plan--featured:hover { border-color: var(--brand); }

.plan--featured {
  border-color: var(--ink);
  background: var(--ink);
}
.plan--featured h3 { color: #fff; }
.plan--featured .plan-note { color: rgba(255, 255, 255, .6); }
.plan--featured .plan-quote b { color: #fff; }
.plan--featured .plan-quote span { color: rgba(255, 255, 255, .55); }
.plan--featured .plan-feats li { color: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .1); }
.plan--featured .plan-feats svg { color: var(--brand-light); }
.plan--featured .btn--solid { background: var(--brand); border-color: var(--brand); }
.plan--featured .btn--solid:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* No fluxo, e não flutuando no canto: posicionado em absolute ele descolava
   do conteúdo e podia colidir com um título mais longo. */
.plan-flag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 12px;
  border-radius: 4px;
  background: var(--brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: #fff;
}

/* Sem o selo, os outros cards começariam mais alto e a linha do título
   ficaria desalinhada entre as três colunas. */
.plan:not(.plan--featured) { padding-top: 44px; }
.plan--featured { padding-top: 36px; }
@media (min-width: 992px) {
  .plan:not(.plan--featured) { padding-top: 94px; }
}

.plan h3 { margin-bottom: 6px; }
.plan-note { margin-bottom: 26px; font-size: 13px; line-height: 22px; color: var(--muted); }

/* Bloco no lugar do preço: a Onfaz trabalha só com orçamento sob medida */
.plan-quote { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.plan--featured .plan-quote { border-color: rgba(255, 255, 255, .1); }
.plan-quote b {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -.02em;
}
.plan-quote span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.plan-feats { margin-bottom: 34px; }
.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 22px;
}
.plan-feats li:last-child { border-bottom: 0; }
.plan-feats svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 4px; color: var(--brand); }

.plans-note { margin-top: 34px; text-align: center; font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------------------
   17. FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 0;
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: .3px;
  text-align: left;
  color: var(--navy);
  cursor: pointer;
  transition: color .3s var(--ease);
}
.faq-q:hover { color: var(--brand); }

.faq-ico {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              transform .35s var(--ease);
}
.faq-ico::before,
.faq-ico::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--navy);
  transition: background-color .35s var(--ease), opacity .35s var(--ease);
}
.faq-ico::before { width: 11px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-ico::after  { width: 1.5px; height: 11px; transform: translate(-50%, -50%); }

.faq-item.is-open .faq-ico {
  background: var(--brand);
  border-color: var(--brand);
  transform: rotate(180deg);
}
.faq-item.is-open .faq-ico::before { background: #fff; }
.faq-item.is-open .faq-ico::after  { opacity: 0; }
.faq-item.is-open .faq-q { color: var(--brand); }

.faq-a {
  overflow: hidden;
  height: 0;
  transition: height .45s var(--ease);
}
.faq-a p { padding: 0 60px 28px 0; font-size: 14px; line-height: 26px; }

/* --------------------------------------------------------------------------
   18. CONTATO
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 20px; }

.contact-lines { margin-top: 40px; display: grid; gap: 26px; }
.contact-line { display: flex; gap: 18px; align-items: flex-start; }
.contact-line .ci {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: var(--brand-soft);
  color: var(--brand);
}
.contact-line .ci svg { width: 19px; height: 19px; }
.contact-line b {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-line a,
.contact-line span { font-size: 15px; color: var(--navy); }
.contact-line a:hover { color: var(--brand); }

.socials { margin-top: 44px; display: flex; gap: 10px; }
.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--body);
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease), transform .3s var(--ease);
}
.socials a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-3px);
}
.socials svg { width: 17px; height: 17px; }

/* Formulário */
.form {
  padding: 52px 48px;
  border: 1px solid var(--ink);
  background: var(--bg-soft);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }

.field label {
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--brand); }

/* Campos em linha, não em caixa: menos cara de formulário de template. */
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 15px;
  letter-spacing: .01em;
  color: var(--ink);
  transition: border-color .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder,
.field textarea::placeholder { color: #8b92a0; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-bottom-color: var(--brand);
  border-bottom-width: 2px;
  padding-bottom: 12px;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%230c0e14' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 28px;
  cursor: pointer;
}

.field .err {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .2px;
  color: #d9534f;
  min-height: 16px;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-bottom-color: #c0392b; }

.form-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 21px;
}
.form-consent input { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 auto; accent-color: var(--brand); cursor: pointer; }

.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form-foot .btn { min-width: 220px; }
.form-msg { font-size: 13px; line-height: 20px; }
.form-msg.ok  { color: var(--brand-dark); }
.form-msg.bad { color: #d9534f; }


/* --------------------------------------------------------------------------
   18a. ARTIGOS
   Lista em cartões de texto, sem imagem: o que vende aqui é o título. A
   página do artigo reaproveita .prose.
   -------------------------------------------------------------------------- */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post {
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border: 1px solid var(--ink);
  background: var(--bg-soft);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.post:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--ink); }
.post-meta {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--muted);
}
.post-tema { color: var(--brand); }
.post-title {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.015em;
}
.post-title a { color: var(--ink); }
.post-title a::after { content: ''; position: absolute; inset: 0; }
.post { position: relative; }
.post-title a:hover { color: var(--brand); }
.post-resumo { flex: 1 1 auto; margin: 0 0 24px; font-size: 15px; line-height: 25px; color: var(--body); }
.post-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--ink);
}
.post-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.post:hover .post-link svg { transform: translateX(4px); }

.artigo .prose h2 { font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.artigo .prose p, .artigo .prose li { font-size: 17px; line-height: 30px; }
.artigo .prose ul li::before { border-radius: 0; top: 12px; }
.leia-tambem .section-head { margin-bottom: 40px; }

/* --------------------------------------------------------------------------
   18b. TEXTO CORRIDO (política de privacidade e páginas legais)
   -------------------------------------------------------------------------- */
/* Alinhado à esquerda, na mesma borda do título do titlebar. Centralizado,
   abria uma faixa vazia à esquerda que desencaixava do resto da página. */
.prose { max-width: var(--measure); margin: 0; }
.prose h2 {
  margin: 52px 0 18px;
  font-size: 24px;
  line-height: 34px;
  font-weight: 500;
  color: var(--navy);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin: 30px 0 12px;
  font-size: 17px;
  line-height: 26px;
}
.prose p { margin-bottom: 1.3em; }
.prose ul { margin: 0 0 1.5em; }
.prose ul li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 22px;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.prose table {
  width: 100%;
  margin-bottom: 1.8em;
  border-collapse: collapse;
  font-size: 14px;
}
.prose th, .prose td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--bg-soft); color: var(--navy); font-weight: 600; }
.prose .atualizado {
  margin-bottom: 40px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.prose .aviso {
  margin: 36px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--brand);
  background: var(--bg-soft);
  font-size: 14px;
  line-height: 25px;
}
@media (max-width: 767px) {
  .prose h2 { font-size: 21px; line-height: 30px; margin-top: 40px; }
  .prose table { display: block; overflow-x: auto; }
}

/* --------------------------------------------------------------------------
   18c. REGIÃO ATENDIDA (AMFRI)
   -------------------------------------------------------------------------- */
.regiao-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: start;
}
.regiao-titulo {
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--ink);
}
.regiao-lista {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 30px;
}
.regiao-lista li {
  position: relative;
  padding: 11px 0 11px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}
.regiao-lista li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 1px;
  background: var(--brand);
}
.regiao-nota {
  margin-top: 26px;
  font-size: 13px;
  line-height: 23px;
  color: var(--muted);
}

@media (max-width: 991px) {
  .regiao-grid { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 480px) {
  .regiao-lista { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   18d. SEO x GEO
   -------------------------------------------------------------------------- */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}
.geo-card {
  padding: 46px 40px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.geo-card--destaque {
  border-color: var(--ink);
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
}
.geo-card--destaque h3 { color: #fff; }
.geo-card--destaque .geo-sigla { color: var(--brand-light); }
.geo-card--destaque .geo-lista li { color: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .12); }
.geo-card--destaque .geo-lista li::before { background: var(--brand-light); }
.geo-card--destaque .geo-metrica { color: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .12); }
.geo-card--destaque .geo-metrica strong { color: #fff; }

.geo-sigla {
  display: block;
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--brand);
}
.geo-card h3 { margin-bottom: 16px; font-size: 13px; }
.geo-card > p { font-size: 15px; line-height: 27px; margin-bottom: 26px; }

.geo-lista { margin-bottom: 26px; }
.geo-lista li {
  position: relative;
  padding: 11px 0 11px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 22px;
}
.geo-lista li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 1px;
  background: var(--brand);
}
.geo-metrica {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 22px;
  color: var(--muted);
}
.geo-metrica strong { color: var(--ink); font-weight: 600; }

.geo-nota {
  max-width: var(--measure);
  padding: 40px 44px;
  border-left: 3px solid var(--brand);
  background: var(--bg-soft);
}
.geo-nota h3 { margin-bottom: 16px; }
.geo-nota p { font-size: 15px; line-height: 28px; }
.geo-nota p:last-child { margin-bottom: 0; }

@media (max-width: 991px) {
  .geo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .geo-card { padding: 34px 26px; }
  .geo-nota { padding: 30px 24px; }
  .geo-sigla { font-size: 34px; }
}

/* Honeypot anti-spam: fora da tela, mas nao com display:none
   (alguns bots ignoram campos ocultos por display). */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   19. RODAPÉ
   -------------------------------------------------------------------------- */
.footer { padding: 104px 0 0; background: var(--ink); color: rgba(255, 255, 255, .68); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 64px;
}
.footer .logo { color: #fff; font-size: 26px; }
.footer-about { margin: 22px 0 0; max-width: 300px; font-size: 14px; line-height: 25px; }

.footer-contato {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}
.footer-contato li { display: flex; flex-direction: column; gap: 3px; }
.footer-contato-rot {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--brand-light);
}
.footer-contato a,
.footer-contato li > span:not(.footer-contato-rot) {
  font-size: 14px;
  color: rgba(255, 255, 255, .82);
}
.footer-contato a:hover { color: var(--brand-light); }

.footer h4 {
  margin-bottom: 26px;
  color: var(--brand-light);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}
.footer-col li { margin-bottom: 12px; }
.footer-col a, .footer-col span { font-size: 14px; color: rgba(255, 255, 255, .62); }
.footer-col a:hover { color: var(--brand-light); }

.footer-news p { font-size: 14px; line-height: 24px; margin-bottom: 18px; }
.footer-news form { display: flex; gap: 8px; }
.footer-news input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  background: rgba(255, 255, 255, .05);
  font-family: var(--font);
  font-size: 14px;
  color: #fff;
}
.footer-news input::placeholder { color: rgba(255, 255, 255, .4); }
.footer-news input:focus { outline: 0; border-color: var(--brand-light); background: rgba(255, 255, 255, .08); }
.footer-news button {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  transition: background-color .3s var(--ease);
}
.footer-news button:hover { background: var(--brand-dark); }
.footer-news button svg { width: 17px; height: 17px; }
.footer-news .form-msg { margin-top: 10px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
}
.footer-bottom a { color: rgba(255, 255, 255, .62); }
.footer-bottom a:hover { color: var(--brand-light); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 24px; }

/* Botão flutuante do WhatsApp.
   O verde clássico (#25D366) rende só 1.98:1 com o ícone branco e reprova o
   mínimo de 3:1 para elementos gráficos. Este tom escurece o suficiente para
   chegar a 3.6:1 sem deixar de ser lido como WhatsApp. */
/* Mesmo posicionamento e tamanho do botão do site da Argyros
   (65px, 20px das bordas, verde #43c553, sombra suave). O efeito leve é o
   anel que se expande de tempos em tempos e o crescimento ao passar o mouse. */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #43c553;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
/* Ícone oficial guardado em assets/whatsapp.svg, com os mesmos 15px de
   respiro do botão de referência */
.whatsapp-float img { width: 100%; height: 100%; padding: 15px; display: block; }

/* Anel que se expande a cada poucos segundos: leve, sem piscar */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #43c553;
  animation: pulsoZap 3.2s var(--ease) infinite;
  pointer-events: none;
}
@keyframes pulsoZap {
  0%       { transform: scale(1);    opacity: .5; }
  70%,100% { transform: scale(1.4);  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before { animation: none; }
}


/* --------------------------------------------------------------------------
   21. RESPONSIVO
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  :root { --section-y: 90px; }
  h1 { font-size: 46px; }
  .about-grid { gap: 46px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
}

@media (max-width: 991px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; line-height: 40px; }

  .nav-toggle { display: block; }

  /* Menu no padrão do site da EFC: painel escuro em tela cheia que entra por
     fundido; o header fica por cima, escuro, com a logo branca e o X. */
  .nav {
    position: fixed;
    inset: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 96px var(--gutter) 40px;
    background: var(--ink);
    color: #fff;
    opacity: 0;
    /* visibility tira os links do fluxo de foco enquanto o menu está fechado -
       sem isso o teclado navega para dentro de um menu invisível */
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility 0s linear .35s;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transition-delay: 0s; }
  @media (prefers-reduced-motion: reduce) { .nav { transition: none; } }

  /* Header sobre o painel: escuro, logo branca, X branco */
  .logo { position: relative; z-index: 2; }
  body.nav-open .header { background: var(--ink); box-shadow: none; }
  body.nav-open .header .logo-img--dark  { display: none; }
  body.nav-open .header .logo-img--light { display: block; }
  body.nav-open .nav-toggle span { background: #fff; }
  /* O botão do WhatsApp some enquanto o menu está aberto (o painel já tem o contato) */
  body.nav-open .whatsapp-float { opacity: 0; visibility: hidden; }

  .nav a:not(.btn) {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .2em;
    line-height: 1.4;
    text-transform: uppercase;
    color: #fff;
  }
  .nav a:not(.btn)::after { display: none; }
  .nav a:not(.btn).is-active { color: var(--brand-light); }
  .header.is-stuck .nav a:not(.btn) { color: #fff; }
  /* "Fale conosco" vira mais um item da lista, como na referência */
  .nav .btn {
    margin: 0;
    width: 100%;
    padding: 15px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-align: left;
    justify-content: flex-start;
  }
  .nav .btn:hover { background: transparent; color: var(--brand-light); transform: none; }

  .nav-extra {
    display: grid;
    gap: 12px;
    margin-top: 30px;
    font-size: 15px;
    color: rgba(255, 255, 255, .75);
  }
  .nav .nav-extra a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    padding: 0;
    border: 0;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(255, 255, 255, .75);
  }
  .nav-extra svg { width: 18px; height: 18px; flex: 0 0 auto; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(24, 27, 49, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s var(--ease);
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

  .grid-3, .grid-4, .plans { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .nicho-grid--inverso .fones { order: 2; }
  .about-visual { max-width: 460px; }
  .steps::before { display: none; }
  .cta-band h2 { font-size: 26px; line-height: 38px; }
  .cta-band-inner { padding: 44px 32px; }
  .hero-inner { grid-template-columns: 1fr; column-gap: 0; }
  .hero-stats {
    grid-column: 1;
    grid-row: auto;
    flex-direction: row;
    margin-top: 48px;
    padding: 28px 30px;
  }
  .hero-stat { flex: 1 1 0; padding: 0 0 0 24px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .14); }
  .hero-stat:first-child { padding-left: 0; border-left: 0; }
  .page-hero { padding: 152px 0 72px; }
  .page-hero h1 { font-size: 38px; }
}

@media (max-width: 767px) {
  :root {
    --section-y: 70px;
    --ls-display: -.02em;
    --ls-title:   -.015em;
    --ls-eyebrow: .18em;
  }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; line-height: 36px; }

  .hero { padding: 120px 0 64px; min-height: auto; }
  .hero h1 { font-size: 31px; }
  .hero-lead { font-size: 16px; line-height: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-scroll { display: none; }
  .hero-stats { flex-direction: column; margin-top: 40px; padding: 24px 24px 20px; }
  .hero-stat { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .hero-stat:first-child { padding-top: 0; border-top: 0; }
  .hero-stat b { font-size: 34px; }
  .page-hero { padding: 116px 0 52px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 16px; line-height: 28px; }

  .grid-2, .grid-3, .grid-4, .works, .plans { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .post { padding: 28px 22px 24px; }
  .artigo .prose p, .artigo .prose li { font-size: 16px; line-height: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .form { padding: 32px 24px; }
  .svc-card { padding: 36px 28px; }
  .quote--solo { padding: 36px 24px 32px; }
  .quote--solo p { font-size: 18px; line-height: 30px; }
  .works-nicho { padding: 24px 22px; }
  .works-nicho .btn { width: 100%; }
  .resumo { font-size: 17px; line-height: 28px; padding-left: 18px; margin-bottom: 40px; }
  .shot { box-shadow: 8px 8px 0 var(--ink); }
  .fones { gap: 16px; }
  .fone { padding: 6px; border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); }
  .fone + .fone { margin-top: 32px; }
  .fone img { border-radius: 17px; }
  .plan { padding: 38px 28px; }
  .about-badge { right: 16px; bottom: 16px; padding: 20px 24px; }
  .about-badge b { font-size: 32px; }
  .counter b { font-size: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { justify-content: center; text-align: center; }
  /* Alvos de toque maiores nas listas do rodapé e nos contatos */
  .footer-col li { margin-bottom: 4px; }
  .footer-col li a { display: inline-block; padding: 9px 0; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .footer-legal { justify-content: center; align-items: center; gap: 8px 24px; }
  .footer-legal a { padding: 6px 0; }
  .contact-line a { display: inline-block; padding: 4px 0; }
  .faq-a p { padding-right: 20px; }
}

/* --------------------------------------------------------------------------
   22. ACESSIBILIDADE / IMPRESSÃO
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .header, .whatsapp-float, .hero-scroll, .nav-backdrop { display: none !important; }
  body { color: #000; }
  .section { padding: 24px 0; }
}

/* --------------------------------------------------------------------------
   23. AJUSTES DE MOBILE
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {

  .work-body { padding: 22px 20px 24px; }
  .work-body h3 { font-size: 17px; }

  /* Quatro contadores empilhados gastavam ~500px de rolagem. Em 2x2 o bloco
     fica compacto e ainda legível. */
  .counters .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 42px 18px; }
  .counter b { font-size: 38px; }

  /* Logos: duas por linha, um pouco menores */
  .logos-label { margin-bottom: 20px; }
  .logos-list img { height: 26px; }
  .logos-list img[data-logo="brascast"] { height: 22px; }
  .logos-list img[data-logo="elevare"]  { height: 23px; }
  .logos-list img[data-logo="argyros"]  { height: 14px; }
  .logos-list img[data-logo="dinamize"] { height: 27px; }
  .logos-list img[data-logo="mathiola"] { height: 27px; }
  .logos-list img[data-logo="mathiola-ce"] { height: 26px; }
  .logos-list img[data-logo="efc"]      { height: 36px; }

  /* O botão do WhatsApp cobre conteúdo no fim da página */
  .footer { padding-bottom: 0; }
  .footer-bottom { padding-bottom: 92px; }
}

/* Alvos de toque: links de texto com menos de 38px de altura são difíceis
   de acertar no dedo. Ganham respiro vertical sem mudar o visual. */
@media (max-width: 767px) {
  .link-arrow { padding: 9px 0; }
  .crumbs a, .crumbs span { padding: 9px 0; }
  .plans-note a, .prose a { padding: 10px 0; }
  .prose table { display: block; overflow-x: auto; }
  .prose th, .prose td { min-width: 96px; }
  .form-consent { padding: 6px 0; }
  .footer-legal a { padding: 8px 0; }
  .footer-contato a { padding: 9px 0; }
  .footer-contato { gap: 12px; }
}

@media (max-width: 400px) {
  .work-body h3 { font-size: 16px; }
  .btn { padding: 15px 22px; font-size: 14px; }
}

/* --------------------------------------------------------------------------
   LEGIBILIDADE NO CELULAR
   Versaletes de 10px funcionam no desktop; no celular, para quem le no
   corredor da fabrica, 12px e o piso. Alvos de toque com 44px.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .eyebrow, .logos-label, .work-cat, .svc-tags li, .hero-stat span, .counter span,
  .footer-contato-rot, .plan-flag, .footer-col h4, .form label, .contact-line b,
  .about-badge span, .post-meta { font-size: 12px; }
  .work-url { font-size: 12.5px; }
  .link-arrow, .work-link { font-size: 12px; }
  .btn { font-size: 15px; }
  .logo { display: inline-flex; align-items: center; min-height: 44px; }
  .contact-line a, .footer-legal a, .form-consent a { display: inline-block; padding: 10px 0; }
  .form-consent input[type="checkbox"] { width: 28px; height: 28px; }
  .form-consent label { padding: 8px 0; }
}
