/* ==========================================================================
   INTERA ASSESSORIA — Sistema visual
   Layout: editorial limpo, muito branco, grid de 12 colunas, vinho só nos
   pontos de ação. Paleta: branco, cinzas, chumbo, preto e vinho.
   ========================================================================== */
:root {
  /* Cores */
  --white: #ffffff;
  --paper: #f5f4f2;      /* cinza muito claro, levemente quente */
  --paper-2: #eceae6;
  --line: #e2e0dc;       /* divisórias e bordas */
  --line-strong: #cfccc6;
  --muted: #66686d;      /* cinza de texto secundário (AA sobre branco) */
  --grafite: #3e4045;
  --chumbo: #26272a;     /* seções escuras */
  --ink: #121213;        /* preto de títulos */
  --vinho: #7b1e2e;      /* cor da marca (ajuste do vermelho da logo) */
  --vinho-700: #5f1522;  /* hover / pressionado */
  --vinho-300: #b45a69;  /* detalhe sobre fundo escuro */
  --vinho-50: #f6ecee;   /* fundo de destaque suave */
  --ok: #2f6b4f; --ok-50: #e8f2ec;
  --warn: #8a5a12; --warn-50: #f8efdf;
  --err: #a32630; --err-50: #fbeaec;

  /* Tipografia */
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: .78rem; --fs-sm: .9rem; --fs-base: 1.02rem; --fs-md: 1.15rem;
  --fs-lg: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-xl: clamp(1.6rem, 1.3rem + 1.3vw, 2.25rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2.2vw, 3.1rem);
  --fs-3xl: clamp(2.35rem, 1.6rem + 3.4vw, 4.15rem);

  /* Espaço e forma */
  --wrap: 1200px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --r-sm: 8px; --r: 14px; --r-lg: 22px;
  --shadow: 0 1px 2px rgba(18,18,19,.04), 0 8px 24px -12px rgba(18,18,19,.12);
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body, #preview-root {
  margin: 0; background: var(--white); color: var(--grafite);
  font-family: var(--font); font-size: var(--fs-base); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -.025em; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--vinho); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
::selection { background: var(--vinho); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic .fill, symbol .fill { fill: currentColor; stroke: none; }
#i-whatsapp { fill: currentColor; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * 24px); margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .65); }
.bg-paper { background: var(--paper); }
.bg-dark { background: var(--chumbo); color: #c9c9cc; }
.bg-dark h2, .bg-dark h3, .bg-dark strong { color: #fff; }
.bg-ink { background: var(--ink); color: #bdbdc1; }
.bg-ink h2, .bg-ink h3 { color: #fff; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.stack > * + * { margin-top: 1rem; }
.measure { max-width: 62ch; }

/* ---------- Texto ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--vinho); border-radius: 2px; }
.bg-dark .eyebrow, .bg-ink .eyebrow { color: #a9a9ae; }
.bg-dark .eyebrow::before, .bg-ink .eyebrow::before { background: var(--vinho-300); }
.h-display { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.h-section { font-size: var(--fs-2xl); letter-spacing: -.03em; }
.h-card { font-size: var(--fs-lg); letter-spacing: -.02em; }
.lead { font-size: var(--fs-md); color: var(--grafite); line-height: 1.7; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.accent { color: var(--vinho); }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- Botões e links ---------- */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem;
  border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: .95rem; letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); white-space: nowrap; }
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic-move { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--vinho); color: #fff; }
.btn-primary:hover { background: var(--vinho-700); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--grafite); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none; }
.link-arrow .ic { color: var(--vinho); transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-arrow:hover { color: var(--vinho); }
.bg-dark .link-arrow, .bg-ink .link-arrow { color: #fff; }
.bg-dark .link-arrow .ic { color: var(--vinho-300); }
.link-quiet { display: inline-flex; align-items: center; gap: .45rem; color: var(--grafite); text-decoration: none; font-weight: 600; font-size: .9rem; }
.link-quiet:hover { color: var(--vinho); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; text-align: left; }
.link-btn:hover { color: var(--vinho); }

/* ---------- Cabeçalho ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(255,255,255,.96); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { height: 50px; width: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: .15rem; list-style: none; }
.nav-list a { display: block; white-space: nowrap; padding: .5rem .62rem; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--grafite); text-decoration: none; transition: color .2s, background .2s; }
.nav-list a:hover { color: var(--ink); background: var(--paper); }
.nav-list a[aria-current="page"] { color: var(--ink); }
.nav-list a[aria-current="page"]::after { content: ""; display: block; height: 2px; width: 14px; margin: 2px auto -4px; background: var(--vinho); border-radius: 2px; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-client { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: .45rem .5rem; border-radius: 8px; }
.header-client:hover { color: var(--ink); }
.header-client span { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .ic-close { display: none; }
.menu-toggle[aria-expanded="true"] .ic-open { display: none; }
.menu-toggle[aria-expanded="true"] .ic-close { display: block; }
.app-header .header-actions { margin-left: auto; }

@media (max-width: 1180px) {
  .header-cta { display: none; }
  .header-client span { display: none; }
}
@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .nav { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: #fff; padding: 1.25rem max(20px, env(safe-area-inset-right, 0px)) calc(2rem + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    display: flex; flex-direction: column; gap: 1.5rem; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; margin: 0; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { font-size: 1.35rem; font-weight: 700; color: var(--ink); padding: .85rem 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-list a:hover { background: none; color: var(--vinho); }
  .nav-list a[aria-current="page"] { color: var(--vinho); }
  .nav-list a[aria-current="page"]::after { display: none; }
  .nav-mobile-extra { display: grid; gap: .75rem; }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 1340px) { .header-client span { display: inline; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem) clamp(3.5rem, 3rem + 4vw, 6rem); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.6rem; }
.hero-copy .lead { max-width: 54ch; }
.hero-sign { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.hero-sign strong { color: var(--ink); font-weight: 700; }
.hero-visual { position: relative; }
.hero-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); aspect-ratio: 850 / 799; max-width: 100%; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip { position: absolute; display: flex; align-items: center; gap: .55rem; padding: .6rem .85rem; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); font-size: .82rem; font-weight: 700; color: var(--ink); }
.hero-chip .ic { color: var(--vinho); }
.hero-chip small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.chip-a { left: -22px; top: 14%; }
.chip-b { right: -18px; bottom: 16%; }
.hero-lines { position: absolute; inset: auto -10% -40% auto; width: 520px; height: 520px; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; z-index: -1; }

/* Hero interno de páginas */
.page-hero { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero .h-display { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); max-width: 20ch; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.page-hero .lead { max-width: 56ch; }
.breadcrumb { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 1.5rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--vinho); }

/* ---------- Desafios (lista de perguntas) ---------- */
.question-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.question-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.35rem .25rem 1.35rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-md); font-weight: 600; color: var(--ink); line-height: 1.4; }
.question-list li:nth-child(odd) { padding-right: 2rem; }
.question-list li:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
.question-list .q { color: var(--vinho); font-weight: 800; flex: none; }

/* ---------- Cartões ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem, 2.5vw, 2rem); transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { border-color: var(--line-strong); }
a.card, .card-link { text-decoration: none; color: inherit; }
.card-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pillar { display: grid; grid-template-rows: auto 1fr; padding: 0; overflow: hidden; }
.pillar-media { aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; max-width: 100%; }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pillar:hover .pillar-media img { transform: scale(1.035); }
.pillar-body { display: grid; gap: .9rem; padding: clamp(1.4rem, 2.5vw, 1.9rem); align-content: start; }
.pillar-num { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; color: var(--vinho); }
.ticks { list-style: none; display: grid; gap: .45rem; font-size: var(--fs-sm); }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks .ic { color: var(--vinho); margin-top: .2em; width: 1em; height: 1em; }
.bg-dark .ticks .ic, .bg-ink .ticks .ic { color: var(--vinho-300); }
.pillar .link-arrow { margin-top: .4rem; }

/* ---------- Serviços em destaque (linhas editoriais) ---------- */
.service-rows { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 1.25rem 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.service-row .ic-box { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; color: var(--vinho); }
.service-row h3 { font-size: var(--fs-lg); margin-bottom: .45rem; }
.service-row p { color: var(--muted); max-width: 58ch; }
.service-row .link-arrow { white-space: nowrap; margin-top: .4rem; font-size: .9rem; }

/* ---------- Fluxo / diagrama ---------- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: step; }
.flow::before { content: ""; position: absolute; left: 8%; right: 8%; top: 27px; height: 1px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 6px, transparent 6px 12px); }
.flow li { position: relative; display: grid; justify-items: center; text-align: center; gap: .85rem; padding: 0 .6rem; counter-increment: step; }
.flow-node { position: relative; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #313236; border: 1px solid #45464b; color: #fff; }
.flow-node .ic { width: 22px; height: 22px; }
.flow li:last-child .flow-node { background: var(--vinho); border-color: var(--vinho); }
.flow-node::after { content: counter(step); position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--chumbo); border: 1px solid #55565b; font-size: .68rem; font-weight: 800; display: grid; place-items: center; color: #d8d8dc; }
.flow h3 { font-size: .98rem; letter-spacing: -.01em; color: #fff; }
.flow p { font-size: .84rem; color: #a9a9ae; line-height: 1.5; }
.flow-note { display: flex; gap: .7rem; align-items: flex-start; margin-top: 3rem; padding: 1rem 1.2rem; border: 1px dashed #4a4b50; border-radius: var(--r-sm); font-size: var(--fs-sm); color: #b8b8bd; max-width: 760px; }
.flow-note .ic { color: var(--vinho-300); margin-top: .15em; }
/* versão clara do fluxo */
.flow.light::before { background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.flow.light .flow-node { background: #fff; border-color: var(--line); color: var(--vinho); }
.flow.light li:last-child .flow-node { background: var(--vinho); color: #fff; }
.flow.light .flow-node::after { background: #fff; border-color: var(--line); color: var(--grafite); }
.flow.light h3 { color: var(--ink); }
.flow.light p { color: var(--muted); }

/* ---------- Portfólio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.work { grid-column: span 4; display: grid; gap: 1rem; align-content: start; align-self: start; text-decoration: none; color: inherit; }
.work.wide { grid-column: span 8; }
.work.half { grid-column: span 6; }
.work-media { position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper); aspect-ratio: 4 / 3; max-width: 100%; }
.work.wide .work-media { aspect-ratio: 16 / 9.6; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work:hover .work-media img { transform: scale(1.04); }
.work-tag { position: absolute; left: 12px; top: 12px; padding: .3rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: rgba(255,255,255,.94); color: var(--ink); }
.work-meta { display: grid; gap: .3rem; }
.work-meta h3 { font-size: var(--fs-md); }
.work-meta p { font-size: var(--fs-sm); color: var(--muted); }
.ill { position: absolute; right: 12px; bottom: 12px; font-size: .68rem; padding: .2rem .5rem; border-radius: 6px; background: rgba(18,18,19,.62); color: #fff; letter-spacing: .02em; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--grafite); transition: all .2s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.demo-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--warn); background: var(--warn-50); padding: .25rem .55rem; border-radius: 6px; }

/* Cases (CMS) */
.case-card { display: grid; gap: 0; padding: 0; overflow: hidden; }
.case-card .work-media { border-radius: 0; }
.case-body { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: .6rem; }
.case-body dl { display: grid; gap: .5rem; margin: .3rem 0 0; font-size: var(--fs-sm); }
.case-body dt { font-weight: 700; color: var(--ink); }
.case-body dd { margin: 0; color: var(--muted); }
.empty { border: 1px dashed var(--line-strong); border-radius: var(--r); padding: 2.5rem 1.5rem; text-align: center; display: grid; gap: .75rem; justify-items: center; color: var(--muted); }
.empty .ic { width: 28px; height: 28px; color: var(--vinho); }

/* ---------- Diferenciais / Processo ---------- */
.diff-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.diff-list li { padding: 1.2rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 26px 1fr; gap: .8rem; font-weight: 600; color: var(--ink); }
.diff-list .ic { color: var(--vinho); margin-top: .2em; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.step { display: grid; gap: .8rem; padding-top: 1.4rem; border-top: 2px solid #3d3e43; }
.step .n { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; color: var(--vinho-300); }
.step h3 { font-size: var(--fs-lg); }
.step p { font-size: var(--fs-sm); color: #b4b4b9; }
.step:first-child { border-top-color: var(--vinho-300); }
.bg-paper .step, .steps.light .step { border-top-color: var(--line-strong); }
.steps.light .step p { color: var(--muted); }
.steps.light .step .n { color: var(--vinho); }
.steps.light .step:first-child { border-top-color: var(--vinho); }

/* ---------- Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
.quote { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.2rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.quote blockquote { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--grafite); }
.quote blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; height: 1.4rem; color: var(--vinho); font-weight: 800; }
.quote figcaption { display: grid; gap: .1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.quote figcaption strong { color: var(--ink); }
.quote.featured { grid-column: span 2; }
.quote.featured blockquote { font-size: var(--fs-md); }
.quote details summary { cursor: pointer; font-weight: 700; color: var(--vinho); font-size: var(--fs-sm); list-style: none; }
.quote details summary::-webkit-details-marker { display: none; }
.quote details[open] summary { display: none; }

/* ---------- CTA ---------- */
.cta-band { border-radius: var(--r-lg); background: var(--ink); color: #c4c4c8; padding: clamp(2.5rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: end; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); right: -120px; top: -160px; }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
.cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.5rem 1.75rem; border-radius: var(--r); background: var(--paper); margin-top: 3rem; }
.cta-inline p { font-weight: 700; color: var(--ink); font-size: var(--fs-md); }

/* ---------- Soluções (página) ---------- */
.subnav { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: .25rem; overflow-x: auto; padding-block: .6rem; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: .45rem .9rem; border-radius: 999px; font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--grafite); white-space: nowrap; }
.subnav a:hover, .subnav a.is-active { background: var(--paper); color: var(--ink); }
.solution { padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); border-bottom: 1px solid var(--line); }
.solution:last-of-type { border-bottom: 0; }
.solution-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.solution-media { border-radius: var(--r); overflow: hidden; background: var(--paper); margin-top: 2rem; aspect-ratio: 4 / 3; max-width: 100%; position: relative; }
.solution-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; border-top: 1px solid var(--line); }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: .96rem; }
.feature-list .ic { color: var(--vinho); margin-top: .22em; width: 1em; height: 1em; }
.note { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--r-sm); background: var(--paper); font-size: var(--fs-sm); color: var(--grafite); }
.note .ic { color: var(--vinho); margin-top: .2em; }
.note-demo { background: var(--warn-50); color: #5c4214; }
.note-demo .ic { color: var(--warn); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.3rem 0; font-weight: 700; color: var(--ink); font-size: var(--fs-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--vinho); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.4rem; color: var(--grafite); max-width: 70ch; }

/* ---------- IA e Automação ---------- */
.auto-card { display: grid; gap: 1rem; align-content: start; }
.auto-card .ic-box { width: 48px; height: 48px; border-radius: 12px; background: var(--vinho-50); display: grid; place-items: center; color: var(--vinho); }
.auto-card .ic-box .ic { width: 22px; height: 22px; }
.wf { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.wf-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); background: var(--paper); font-size: var(--fs-sm); font-weight: 700; color: var(--ink); flex-wrap: wrap; }
.wf-body { padding: 1.5rem 1.2rem; overflow-x: auto; }
.wf-track { display: flex; align-items: center; gap: 0; min-width: 640px; }
.wf-node { flex: 1; display: grid; gap: .3rem; padding: .85rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .8rem; min-width: 0; }
.wf-node b { color: var(--ink); font-size: .86rem; }
.wf-node span { color: var(--muted); }
.wf-node.trigger { border-color: var(--vinho); box-shadow: inset 3px 0 0 var(--vinho); }
.wf-link { width: 28px; flex: none; height: 1px; background: var(--line-strong); position: relative; }
.wf-link::after { content: ""; position: absolute; right: 0; top: -3px; border-left: 6px solid var(--line-strong); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.wf-tabs { display: flex; gap: .25rem; flex-wrap: wrap; }
.wf-tab { border: 1px solid var(--line); background: #fff; padding: .35rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 600; cursor: pointer; color: var(--grafite); }
.wf-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chat-demo { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; display: grid; }
.chat-demo .bar { padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: .85rem; font-weight: 700; color: var(--ink); gap: 1rem; flex-wrap: wrap; }
.chat-log { padding: 1.2rem; display: grid; gap: .7rem; background: var(--paper); min-height: 300px; align-content: start; }
.msg { max-width: 82%; padding: .7rem .95rem; border-radius: 14px; font-size: .9rem; line-height: 1.5; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.user { justify-self: end; background: var(--chumbo); color: #fff; border-bottom-right-radius: 4px; }
.chat-options { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 1.2rem; border-top: 1px solid var(--line); }

/* ---------- Sobre ---------- */
.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 1.5rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.timeline .year { font-weight: 800; color: var(--vinho); font-size: var(--fs-md); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: var(--fs-md); margin-bottom: .35rem; }
.timeline p { color: var(--muted); }
.founder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.founder-card { padding: 1.75rem; border-radius: var(--r); background: var(--paper); display: grid; gap: .5rem; }
.founder-card .initials { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; margin-bottom: .5rem; letter-spacing: .02em; }
.cv { list-style: none; display: grid; gap: .6rem; }
.cv li { padding-left: 1.2rem; position: relative; color: var(--grafite); }
.cv li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--vinho); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.value h3 { font-size: var(--fs-lg); margin-bottom: .6rem; }
.figure { margin: 0; display: grid; gap: .6rem; }
.figure figcaption { font-size: var(--fs-xs); color: var(--muted); }
.figure img { border-radius: var(--r); width: 100%; }

/* ---------- Blog ---------- */
.blog-toolbar { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.search { position: relative; min-width: min(320px, 100%); }
.search input { width: 100%; height: 44px; padding: 0 1rem 0 2.6rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.search .ic { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.25rem, 2.5vw, 2rem); }
.post-card { display: grid; gap: 1rem; text-decoration: none; color: inherit; align-content: start; }
.post-card .work-media { aspect-ratio: 16 / 10; }
.post-card h3 { font-size: var(--fs-lg); line-height: 1.25; transition: color .2s; }
.post-card:hover h3 { color: var(--vinho); }
.post-card p { color: var(--muted); font-size: var(--fs-sm); }
.post-meta { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.post-meta .cat { color: var(--vinho); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.post-cover-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--paper) 0%, var(--paper-2) 100%); color: var(--line-strong); }
.post-cover-ph span { font-weight: 800; font-size: 1.4rem; color: var(--grafite); letter-spacing: -.02em; padding: 1rem; text-align: center; opacity: .55; }
.post-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.post-featured h3 { font-size: var(--fs-xl); }
.article { padding-block: clamp(3rem, 6vw, 5rem); }
.article-head { max-width: 760px; margin-inline: auto; display: grid; gap: 1.25rem; }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); letter-spacing: -.03em; }
.article-cover { max-width: 1000px; margin: 2.5rem auto 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--paper); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 700px; margin: 3rem auto 0; font-size: 1.08rem; line-height: 1.8; color: #2f3135; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: var(--fs-xl); margin-top: 2em; }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--vinho); }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2rem; border-left: 3px solid var(--vinho); color: var(--ink); font-weight: 600; }
.prose code { background: var(--paper); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.prose img { border-radius: var(--r); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.article-foot { max-width: 700px; margin: 3.5rem auto 0; padding-top: 2rem; border-top: 1px solid var(--line); display: grid; gap: 1.5rem; }
.share { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; font-size: var(--fs-sm); color: var(--muted); }
.skeleton { background: linear-gradient(90deg, var(--paper) 0%, var(--paper-2) 50%, var(--paper) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Formulários ---------- */
.form { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label, .field .label { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); }
.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .95rem; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2366686d' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(123,30,46,.14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field-error { font-size: .8rem; color: var(--err); font-weight: 600; min-height: 0; }
.field-hint { font-size: .8rem; color: var(--muted); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--grafite); line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--vinho); flex: none; }
.check.has-error { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: 10px; font-size: .92rem; line-height: 1.55; }
.alert .ic { margin-top: .15em; }
.alert-ok { background: var(--ok-50); color: var(--ok); }
.alert-err { background: var(--err-50); color: var(--err); }
.alert-info { background: var(--paper); color: var(--grafite); }
.alert-warn { background: var(--warn-50); color: #5c4214; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio span { display: inline-flex; padding: .55rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .2s; background: #fff; }
.chip-radio input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-radio input:focus-visible + span { outline: 2px solid var(--vinho); outline-offset: 2px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-panel { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r); background: var(--paper); }
.contact-item { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: center; text-decoration: none; color: inherit; }
.contact-item .ic-box { width: 40px; height: 40px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: var(--vinho); border: 1px solid var(--line); }
.contact-item strong { display: block; color: var(--ink); font-size: .98rem; word-break: break-word; }
.contact-item span { font-size: .82rem; color: var(--muted); }
a.contact-item:hover strong { color: var(--vinho); }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 4rem calc(2rem + env(safe-area-inset-bottom, 0px)); background: var(--paper); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 2.5rem; }
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-brand img { height: 54px; width: auto; }
.footer-brand p { color: var(--muted); max-width: 32ch; }
.footer-title { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 1rem; font-weight: 800; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; color: var(--grafite); }
.site-footer a:hover { color: var(--vinho); }
.footer-contact li, .footer-contact a { display: flex; gap: .55rem; align-items: center; }
.footer-contact .ic { color: var(--vinho); }
.footer-contact span { word-break: break-word; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

/* WhatsApp flutuante */
.wa-float { position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: .5rem; height: 50px; padding: 0 1.1rem 0 .95rem;
  border-radius: 999px; background: var(--chumbo); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); transition: background .25s, transform .25s var(--ease); }
.wa-float .ic { width: 22px; height: 22px; }
.wa-float:hover { background: var(--vinho); transform: translateY(-2px); }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { width: 52px; padding: 0; justify-content: center; } }

/* Cookies */
.cookie-bar { position: fixed; z-index: 70; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 440px; right: calc(16px + env(safe-area-inset-right, 0px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); padding: 1.15rem 1.25rem; display: grid; gap: .9rem; font-size: .88rem; }
.cookie-bar a { color: var(--vinho); }
.cookie-actions { display: flex; gap: .5rem; justify-content: flex-end; }

/* Toast */
.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 10px; font-size: .9rem; font-weight: 600; transition: all .3s var(--ease); pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animação de entrada (discreta, conteúdo visível sem JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .g-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
  .flow::before { display: none; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .split, .split-even, .page-hero-grid, .solution-grid, .contact-grid, .founder, .cta-band, .post-featured { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .g-3, .values { grid-template-columns: minmax(0, 1fr); }
  .work, .work.wide, .work.half { grid-column: span 12; }
  .cta-band .btn-row { justify-content: flex-start; }
  .chip-a { left: 10px; } .chip-b { right: 10px; }
  .hero-visual { max-width: 560px; }
}
@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .brand img { height: 40px; }
  .g-2, .g-4, .steps, .question-list, .diff-list, .feature-list, .form-row, .quotes, .posts { grid-template-columns: minmax(0, 1fr); }
  .question-list li:nth-child(n) { padding: 1.1rem 0; border-left: 0; }
  .quote.featured { grid-column: auto; }
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .flow li { grid-template-columns: 56px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 1rem; row-gap: .2rem; padding: 0 0 1.75rem; }
  .flow li .flow-node { grid-row: span 2; }
  .flow li:not(:last-child)::after { content: ""; position: absolute; left: 28px; top: 60px; bottom: 4px; border-left: 1px dashed #55565b; }
  .flow.light li:not(:last-child)::after { border-left-color: var(--line-strong); }
  .service-row { grid-template-columns: 44px minmax(0, 1fr); }
  .service-row .link-arrow { grid-column: 2; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-chip { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .btn { white-space: normal; text-align: center; }
}

/* utilitários */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.pb-section { padding-bottom: var(--section); }
.sk-card { height: 320px; border-radius: var(--r); }
.case-card[hidden] { display: none; }
.sk-line { height: 16px; width: 40%; }
.sk-title { height: 48px; width: 90%; }
.grid > .empty, .posts > .empty, .posts > .alert { grid-column: 1 / -1; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; width: 100%; }
button.link-arrow { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: .95rem; }
.bg-paper .cta-inline { background: #fff; border: 1px solid var(--line); }
.eyebrow::before { flex: none; }
@media (max-width: 1020px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}

/* Redes sociais no rodapé */
.social { list-style: none; display: flex !important; gap: .5rem; margin-top: .25rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--grafite); background: #fff; transition: all .2s; }
.social a:hover { background: var(--vinho); border-color: var(--vinho); color: #fff; }
.social .ic { width: 18px; height: 18px; }
/* WhatsApp de cotação: sempre visível */
.wa-float { background: #1f7a4d; }
.wa-float:hover { background: #17603c; }
.app-body .wa-float { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 640px) { .wa-float { width: 56px; height: 56px; } .wa-float .ic { width: 26px; height: 26px; } }
