/*
 * Base das landing pages de mkt.dorckcoding.com (o que as páginas têm em comum).
 * CSS à mão que espelha o design system do site: os tokens do @theme (src/assets/tailwind.css) e da
 * paleta do Tailwind v4, e as receitas dos componentes (Button, Card, IconTile, Input, SectionHeader,
 * CompareTable, Accordion, StatusLabel...). Mudou lá, mude aqui.
 * O que é de uma página só fica no CSS dela (mkt/<pagina>/<pagina>.css), carregado depois deste.
 * Mobile first: a base é o celular (375px) e os @media só acrescentam. Texto de leitura nunca fica
 * abaixo de 16px no celular. Sem estilo inline no HTML: a CSP das páginas não aceita.
 */

/* ── Fontes (cópias de public/fonts em mkt/fonts, servidas do próprio subdomínio) ── */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-v5-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;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-v6-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;
}

/* ── Tokens ────────────────────────────────────────────────────────────────── */
:root {
  --zinc-50: oklch(98.5% 0 0);
  --zinc-100: oklch(96.7% 0.001 286.375);
  --zinc-200: oklch(92% 0.004 286.32);
  --zinc-300: oklch(87.1% 0.006 286.286);
  --zinc-400: oklch(70.5% 0.015 286.067);
  --zinc-500: oklch(55.2% 0.016 285.938);
  --zinc-600: oklch(44.2% 0.017 285.786);
  --zinc-700: oklch(37% 0.013 285.805);
  --zinc-800: oklch(27.4% 0.006 286.033);
  --zinc-950: oklch(14.1% 0.005 285.823);
  --brand-50: #EEF1FF;
  --brand-100: #E0E6FF;
  --brand-200: #C3CDFF;
  --brand-400: #7188FF;
  --brand-500: #4966FF;
  --brand-600: #3651EB;
  --brand-700: #2A3FC4;
  /* Vermelho só nos cards de problema, em valor perdido e no ponto de status crítico; âmbar só no
     ponto de status de atenção; verde só no ponto de status ok (como o StatusLabel do site). */
  --red-50: oklch(97.1% 0.013 17.38);
  --red-200: oklch(88.5% 0.062 18.334);
  --red-600: oklch(57.7% 0.245 27.325);
  --amber-700: oklch(55.5% 0.163 48.998);
  --green-700: oklch(52.7% 0.154 150.069);
  /* Verde oficial do WhatsApp: só no botão flutuante (exceção de marca, como no site). */
  --whatsapp: #25D366;
  --whatsapp-hover: #1EBE5A;
  --radius-xs: 0.125rem;
  --radius-sm: 0.25rem;
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", "Cascadia Code", monospace;
  /* Altura da barra fixa de CTA do celular (o aviso de cookies sobe essa medida quando ela aparece). */
  --bar-h: 4.5rem;
}

/* ── Base ──────────────────────────────────────────────────────────────────── */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: #fff;
  color: var(--zinc-950);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--brand-100); color: var(--zinc-950); }
a { color: inherit; text-decoration: inherit; }
ul, ol { list-style: none; }
img, svg { display: block; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }
button, input { font: inherit; color: inherit; }
button { background: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--zinc-950);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
.container-narrow { max-width: 48rem; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
/* Destaque de título: o único azul de texto grande (como o ==destaque== do site). */
.mark { color: var(--brand-500); }
/* Ícones sempre na cor do texto. */
.icon { flex-shrink: 0; width: 1rem; height: 1rem; fill: currentColor; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ── Botões (Button.vue) ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
  transition: color 150ms var(--ease), background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.btn .icon { width: 0.875rem; height: 0.875rem; transition: transform 200ms var(--ease); }
.btn:hover > .icon:last-child { transform: translateX(0.125rem); }
.btn-sm { min-height: 2rem; gap: 0.375rem; padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
.btn-sm .icon { width: 0.75rem; height: 0.75rem; }
.btn-lg { min-height: 3rem; padding: 0.625rem 1.25rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--zinc-950); color: #fff; }
.btn-primary:hover { background: var(--zinc-800); }
.btn-primary:active { background: var(--zinc-700); }
.btn-light { border-color: var(--zinc-300); background: #fff; box-shadow: var(--shadow-xs); }
.btn-light:hover { border-color: var(--zinc-400); background: var(--zinc-50); }
.btn[disabled] { pointer-events: none; opacity: 0.4; }

/* ── Cabeçalho: logo e um botão. Fixo só do tablet em diante (no celular, a barra de baixo assume) ── */
.header { border-bottom: 1px solid var(--zinc-200); background: #fff; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.logo { flex-shrink: 0; outline-offset: 4px; }
.logo svg { width: auto; height: 2rem; fill: currentColor; }
/* No celular o botão do topo tem a altura de toque dos demais (40px). */
.header .btn { min-height: 2.5rem; padding-inline: 0.875rem; font-size: 0.875rem; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--zinc-200); background: #fff; }
/* Curvas no espírito do hero da Home (HeroLines.vue), paradas: dois traços cinza e um azul, sem degradê.
   Só no desktop: entram pela direita, passam por trás do palco e saem por baixo, sem cruzar texto. */
.hero-lines { display: none; position: absolute; right: 0; bottom: 0; z-index: -1; width: 60%; height: 100%; pointer-events: none; }
.hero-lines path { stroke: var(--zinc-300); stroke-width: 1.5; stroke-linecap: round; }
.hero-lines .hero-lines-brand { stroke: var(--brand-500); stroke-width: 2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: 2rem 3rem; }
h1 {
  font-size: 2.125rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero-lead { max-width: 36rem; margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.6; color: var(--zinc-600); text-wrap: pretty; }
.hero-cta { margin-top: 1.5rem; }
.hero-cta .btn { width: 100%; }
.microcopy { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.5; color: var(--zinc-600); }
/* Faixa de credibilidade: três compromissos auditáveis. */
.proof { display: grid; gap: 0.5rem; margin-top: 1.5rem; font-size: 0.875rem; font-weight: 500; line-height: 1.4; }
.proof li { display: flex; align-items: flex-start; gap: 0.625rem; }
.proof .icon { width: 0.75rem; height: 0.75rem; margin-top: 0.25rem; }

/* Palco cinza (VisualStage) com um documento de trabalho (MockCard): o relatório que o cliente da agência vê */
.hero-visual { min-width: 0; }
.stage { position: relative; padding: 1rem; border: 1px solid var(--zinc-200); border-radius: var(--radius-sm); background: var(--zinc-50); }
.report { padding: 1.125rem; border: 1px solid var(--zinc-200); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-lg); }
.report-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.report-brand { display: flex; align-items: center; gap: 0.5rem; min-width: 0; font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em; }
/* Logo de exemplo da agência: um quadrado com um losango, sem imitar marca nenhuma. */
.report-logo { position: relative; flex-shrink: 0; width: 1.5rem; height: 1.5rem; border-radius: var(--radius-xs); background: var(--zinc-950); }
.report-logo::after { content: ""; position: absolute; inset: 0.4375rem; background: #fff; transform: rotate(45deg); }
.tag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 1.5rem;
  padding-inline: 0.5rem;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-xs);
  background: var(--zinc-100);
  color: var(--zinc-700);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.report-title { margin-top: 1rem; font-size: 1rem; font-weight: 600; letter-spacing: -0.025em; }
.report-meta { margin-top: 0.125rem; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--zinc-500); }
.report-list { display: grid; gap: 0.5rem; margin-top: 1rem; font-size: 0.8125rem; line-height: 1.4; color: var(--zinc-700); }
.report-list li { display: flex; align-items: flex-start; gap: 0.5rem; }
.report-list .icon { width: 0.75rem; height: 0.75rem; margin-top: 0.1875rem; color: var(--zinc-950); }
/* Pontos de status (StatusLabel.vue): a cor fica só no ponto, o texto continua neutro. */
.dot { flex-shrink: 0; width: 0.5rem; height: 0.5rem; border: 1px solid var(--zinc-300); border-radius: 50%; }
.report-list .dot { margin: 0.3125rem 0.125rem 0; }
.dot-progress { border-color: var(--brand-500); background: var(--brand-500); }
.dot-success { width: 0.375rem; height: 0.375rem; border: 0; background: var(--green-700); }
.dot-warning { width: 0.375rem; height: 0.375rem; border: 0; background: var(--amber-700); }
.dot-danger { width: 0.375rem; height: 0.375rem; border: 0; background: var(--red-600); }
.report-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--zinc-200);
  font-size: 0.6875rem;
  color: var(--zinc-500);
}
.status { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; font-weight: 500; color: var(--zinc-600); }
/* Cartão solto sobre a borda de baixo do relatório, como os mocks do site. Fica no fluxo, com margem
   negativa: cobre só a folga do rodapé do relatório, seja qual for a altura do texto. */
.stage-chip {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: -0.75rem -0.5rem 0 auto;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.chip-label { font-family: var(--font-mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--zinc-500); }
.chip-title { margin-top: 0.25rem; font-size: 0.75rem; font-weight: 600; }

/* ── Seções (Section.vue + SectionHeader.vue): branco e zinc-100 alternados ── */
.section { padding-block: 4rem; background: #fff; }
.section-muted { background: var(--zinc-100); }
.section-head { max-width: 48rem; }
.section-head.center { margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }
.h2 { font-size: 1.875rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; outline: none; }
.lead { max-width: 42rem; margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.625; color: var(--zinc-600); text-wrap: pretty; }
.closing { max-width: 48rem; margin-top: 2.5rem; font-size: 1.25rem; line-height: 1.4; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
.cta-row { margin-top: 2.5rem; }
.cta-row .btn { width: 100%; }

/* Grades de cards */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 2.5rem; }

/* ── Card (Card.vue) e moldura de ícone (IconTile.vue) ─────────────────────── */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.card > h3 { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.375; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
.card > p { margin-top: 0.5rem; line-height: 1.625; color: var(--zinc-600); }
.tile {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--zinc-950);
}
/* Cards que descrevem problemas da agência: ícone vermelho e filete vermelho no topo (exceção aprovada no site). */
.tile-danger { border-color: var(--red-200); background: var(--red-50); color: var(--red-600); }
.card-danger::before { content: ""; position: absolute; inset: -1px -1px auto; height: 2px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--red-600); }
.card > .scene { margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.5; font-weight: 500; color: var(--zinc-950); text-wrap: pretty; }
/* Fonte de um dado citado no card: linha pequena no fim, com link para a lista de fontes do rodapé. */
.card > .card-source { margin-top: auto; padding-top: 1rem; font-size: 0.8125rem; line-height: 1.5; color: var(--zinc-500); }
.card-source a { color: var(--zinc-600); text-decoration: underline; text-decoration-color: var(--zinc-300); text-underline-offset: 4px; transition: color 150ms var(--ease); }
.card-source a:hover { color: var(--brand-600); }

/* ── Card com ilustração no topo (VisualStage + MockCard do site), no lugar do ícone ── */
.card-visual { padding: 0; overflow: hidden; }
.visual { display: grid; place-items: center; height: 10.75rem; padding: 1rem; border-bottom: 1px solid var(--zinc-200); background: var(--zinc-50); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.card-body h3 { font-size: 1.125rem; line-height: 1.375; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
.card-body p { margin-top: 0.5rem; line-height: 1.625; color: var(--zinc-600); }
/* Mini painel da ilustração: decorativo, mas com contraste AA como o resto. */
.mock { width: 100%; max-width: 15rem; padding: 0.75rem; border: 1px solid var(--zinc-200); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-lg); font-size: 0.6875rem; line-height: 1.4; color: var(--zinc-600); }
.mock-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.mock-title { font-size: 0.75rem; font-weight: 600; color: var(--zinc-950); }
.mock-note { font-size: 0.625rem; color: var(--zinc-500); }
.mock .status { font-size: 0.625rem; }
.mock-rows { margin-top: 0.375rem; }
.mock-rows li { display: flex; align-items: center; gap: 0.5rem; padding-block: 0.25rem; }
.mock-rows li + li { border-top: 1px solid var(--zinc-100); }
.mock-rows li > :first-child { flex: 1; min-width: 0; }
.mock-rows .mono { font-size: 0.625rem; color: var(--zinc-950); }
.mock-rows .icon { width: 0.625rem; height: 0.625rem; color: var(--zinc-950); }
.mock-foot { display: flex; justify-content: space-between; gap: 0.5rem; margin-top: 0.5rem; padding-top: 0.375rem; border-top: 1px solid var(--zinc-100); }
.mock-foot .mono { color: var(--zinc-950); }
.mock-label { font-family: var(--font-mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--zinc-500); }

/* ── Campos (Input.vue) ────────────────────────────────────────────────────── */
.field { display: grid; align-content: start; gap: 0.375rem; min-width: 0; }
.field label, .choices-field legend { font-size: 0.875rem; font-weight: 500; line-height: 1.4; }
.req { margin-left: 0.125rem; color: var(--brand-500); }
.optional { font-weight: 400; color: var(--zinc-500); }
.input {
  width: 100%;
  height: 2.75rem;
  padding-inline: 0.75rem;
  border: 1px solid var(--zinc-300);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.input::placeholder { color: var(--zinc-500); opacity: 1; }
.input:hover { border-color: var(--zinc-400); }
.input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100); }
.input[aria-invalid="true"] { border-color: var(--red-600); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px var(--red-50); }
.error { font-size: 0.8125rem; line-height: 1.375; color: var(--red-600); }
/* Ajuda abaixo do campo (o `hint` do Input.vue). */
.hint { font-size: 0.8125rem; line-height: 1.5; color: var(--zinc-500); }

/* ── Como funciona ─────────────────────────────────────────────────────────── */
.process { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.steps { margin-top: 2.5rem; }
/* Cada passo: número em moldura (como o IconTile) ligado ao próximo por uma linha fina, no mesmo
   desenho do diagrama ao lado. */
.steps li { position: relative; display: flex; gap: 1rem; padding-bottom: 1.75rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before { content: ""; position: absolute; top: 2.5rem; bottom: 0; left: 1.25rem; width: 1px; background: var(--zinc-300); }
.step-n {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-xs);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.steps h3 { margin-top: 0.4375rem; font-size: 1.125rem; line-height: 1.375; font-weight: 600; letter-spacing: -0.025em; }
.steps p { margin-top: 0.25rem; line-height: 1.625; color: var(--zinc-600); }
/* Card ao lado dos passos: um diagrama monocromático de nós (quem fala com quem, o que entra no projeto...). */
.flow > h3 { margin-top: 0; }
.flow-list { margin-top: 1.25rem; }
.flow-node { display: flex; align-items: center; gap: 0.875rem; padding: 0.875rem; border: 1px solid var(--zinc-200); border-radius: var(--radius-sm); background: #fff; }
.flow-node > span:last-child { display: grid; gap: 0.125rem; min-width: 0; }
.flow-node strong { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; }
.flow-node strong + span { font-size: 0.8125rem; line-height: 1.4; color: var(--zinc-600); }
.flow-node-main { border-color: var(--zinc-950); }
.flow-node-back { border-style: dashed; border-color: var(--zinc-300); background: var(--zinc-50); }
.flow-node .tile .icon[viewBox] { width: 1.125rem; height: 1rem; }
.flow-node + .flow-node { margin-top: 0.5rem; }
.flow-link { position: relative; padding: 0.625rem 0 0.625rem 3rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--zinc-500); }
.flow-link::before { content: ""; position: absolute; top: 0; bottom: 0; left: 2.125rem; width: 1px; background: var(--zinc-300); }
.flow-link + .flow-node { margin-top: 0; }
.flow > .flow-note { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.5; }

/* ── Comparativo (CompareTable.vue): um card por critério; vira tabela no desktop ── */
.compare { margin-top: 2.5rem; }
.compare-head { display: none; }
.compare-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.compare-row { overflow: hidden; border: 1px solid var(--zinc-200); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-xs); }
.compare-row h3 { padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--zinc-200); font-size: 1rem; line-height: 1.375; font-weight: 600; letter-spacing: -0.025em; }
.compare-row dl > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; font-size: 0.9375rem; line-height: 1.5; }
.compare-row dl > div + div { border-top: 1px solid var(--zinc-200); }
.compare-row dt { flex-shrink: 0; color: var(--zinc-600); }
.compare-row dd { min-width: 0; text-align: right; color: var(--zinc-600); }
.compare-row .is-dorck { background: var(--zinc-50); }
.compare-row .is-dorck dt { font-weight: 600; color: var(--zinc-950); }
.compare-row .is-dorck dd { font-weight: 500; color: var(--zinc-950); }

/* ── Garantias ─────────────────────────────────────────────────────────────── */
.guarantees { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.checklist { padding: 0.5rem 1.5rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.875rem; padding-block: 1rem; line-height: 1.5; }
.checklist li + li { border-top: 1px solid var(--zinc-200); }
.checklist .icon { width: 0.875rem; height: 0.875rem; margin-top: 0.3125rem; }

/* ── Depoimentos: carrossel de arrastar no celular, grade do tablet em diante ── */
.quotes {
  display: flex;
  gap: 1rem;
  margin: 2.5rem -1rem 0;
  padding: 0 1rem 0.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  scrollbar-width: none;
}
.quotes::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 86%; scroll-snap-align: start; }
.quote-mark { width: 1.125rem; height: 1.125rem; }
.quote blockquote { margin-top: 1rem; line-height: 1.625; color: var(--zinc-700); text-wrap: pretty; }
.quote > .quote-author { display: grid; gap: 0.125rem; margin-top: auto; padding-top: 1.25rem; font-size: 0.875rem; line-height: 1.4; }
.quote-author strong { font-size: 0.9375rem; font-weight: 600; color: var(--zinc-950); }

/* ── FAQ (Accordion.vue): <details> nativo, um aberto por vez ──────────────── */
.faq { margin-top: 2.5rem; border-block: 1px solid var(--zinc-300); }
.faq details + details { border-top: 1px solid var(--zinc-300); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq h3 { font-size: 1rem; line-height: 1.4; font-weight: 500; letter-spacing: -0.025em; }
.faq-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--zinc-300);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 200ms var(--ease);
}
.faq-icon .icon { width: 0.75rem; height: 0.75rem; transition: transform 200ms var(--ease); }
.faq details[open] .faq-icon { border-color: var(--zinc-950); }
.faq details[open] .faq-icon .icon { transform: rotate(45deg); }
.faq details > p { max-width: 65ch; padding: 0 2.75rem 1.25rem 0; line-height: 1.625; color: var(--zinc-600); }

/* ── Agendamento: etapas, formulário e calendário ──────────────────────────── */
.h2-lg { font-size: 1.875rem; }
.booking { margin-top: 2.5rem; border: 1px solid var(--zinc-200); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-xs); }
.booking-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--zinc-200); font-size: 0.8125rem; font-weight: 500; color: var(--zinc-500); }
.booking-steps li { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: -1px; padding: 0.875rem 0.25rem; border-bottom: 2px solid transparent; }
.booking-steps .mono { display: grid; place-items: center; flex-shrink: 0; width: 1.375rem; height: 1.375rem; border: 1px solid var(--zinc-300); border-radius: var(--radius-xs); font-size: 0.6875rem; }
/* Etapa atual: o azul marca o estado ativo. Etapas concluídas ficam pretas. */
.booking-steps [aria-current] { border-bottom-color: var(--brand-500); color: var(--zinc-950); }
.booking-steps [aria-current] .mono { border-color: var(--zinc-950); }
.booking-steps .is-done { color: var(--zinc-950); }
.booking-steps .is-done .mono { border-color: var(--zinc-950); background: var(--zinc-950); color: #fff; }
.booking-noscript { padding: 1.5rem; line-height: 1.625; }
.booking-noscript a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 4px; }
.booking-panel { padding: 1.5rem; }
.booking-title { font-size: 1.25rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; outline: none; }
.booking-lead { margin-top: 0.5rem; line-height: 1.625; color: var(--zinc-600); text-wrap: pretty; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.booking-actions { margin-top: 1.5rem; }
.booking-actions-split { display: flex; gap: 0.75rem; }
.booking-actions-split .btn-primary { flex: 1; min-width: 0; }
.booking-panel > .microcopy { margin-top: 1rem; }
.legal { margin-top: 0.75rem; font-size: 0.8125rem; line-height: 1.5; color: var(--zinc-500); }
.legal a { color: var(--brand-600); text-decoration: underline; text-decoration-color: var(--brand-200); text-underline-offset: 4px; }
.legal a:hover { color: var(--brand-700); text-decoration-color: var(--brand-700); }

/* Opções em botões (radios de verdade, com a aparência de botão no <span>) */
.choices-field { min-width: 0; margin-top: 1.5rem; }
.choices-field legend { margin-bottom: 0.5rem; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.choices > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.choice { position: relative; display: block; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  height: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--zinc-300);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.choice input:hover + span { border-color: var(--zinc-400); }
.choice input:checked + span { border-color: var(--brand-500); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-500); }
.choice input:focus-visible + span { outline: 2px solid var(--brand-500); outline-offset: 2px; }
.choices-field[aria-invalid="true"] .choice input:not(:checked) + span { border-color: var(--red-600); }
.choices-field .error { margin-top: 0.375rem; }

/* Calendário (iframe do Calendly, criado pelo lp.js) */
.calendar { position: relative; min-height: 28rem; margin-top: 1.25rem; overflow: hidden; border: 1px solid var(--zinc-200); border-radius: var(--radius-sm); background: var(--zinc-50); }
.calendar iframe { display: block; width: 100%; height: 44rem; }
.calendar-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.875rem; color: var(--zinc-600); }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* Depois de agendar: o painel de confirmação entra acima do calendário, que mostra o horário marcado. */
.booking.is-booked #etapa-3 > .booking-title,
.booking.is-booked #etapa-3 > .booking-lead { display: none; }
.booking.is-booked #etapa-3 { padding-top: 0; }
.booking.is-booked #etapa-3 .calendar { margin-top: 0; }
.done-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--zinc-200); line-height: 1.625; color: var(--zinc-600); }
.done-label { display: block; margin-bottom: 0.25rem; font-size: 0.8125rem; font-weight: 500; line-height: 1.4; color: var(--zinc-500); }
.done-host { display: flex; align-items: center; gap: 0.875rem; }
.done-host img { flex-shrink: 0; width: 3.5rem; height: 3.5rem; border-radius: var(--radius-sm); background: var(--zinc-200); object-fit: cover; filter: grayscale(1); }
.done-host p { display: grid; line-height: 1.4; }
.done-host strong { font-weight: 600; color: var(--zinc-950); }
.done-host strong + span { font-size: 0.875rem; }
.booking-done .booking-title { margin-top: 0.75rem; }
.alt-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem 0.5rem; margin-top: 1.5rem; font-size: 0.9375rem; line-height: 1.5; color: var(--zinc-600); }
.alt-contact a { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 500; color: var(--zinc-950); text-decoration: underline; text-decoration-color: var(--zinc-300); text-underline-offset: 4px; transition: color 150ms var(--ease); }
.alt-contact a:hover { color: var(--brand-600); }
.alt-contact .icon { width: 0.9375rem; height: 0.9375rem; }

/* ── Rodapé preto, enxuto ──────────────────────────────────────────────────── */
/* Logo e dados da empresa centralizados; a linha de baixo (direitos e links) ocupa a largura toda. */
/* Embaixo, espaço para o botão do WhatsApp não cobrir os links. */
.footer { padding-block: 3rem 6rem; background: var(--zinc-950); color: #fff; }
.footer-in { text-align: center; }
.footer-logo { display: inline-flex; outline-offset: 4px; }
.footer-logo svg { width: auto; height: 2rem; fill: currentColor; }
/* Redes sociais, como no rodapé do site: quadrados com borda fina, ícone na cor do texto. */
.footer-social { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.footer-social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgb(255 255 255 / 0.1); border-radius: var(--radius-sm); color: var(--zinc-400); transition: color 150ms var(--ease), border-color 150ms var(--ease); }
.footer-social a:hover { border-color: rgb(255 255 255 / 0.3); color: #fff; }
.footer-company { max-width: 40rem; margin: 1.5rem auto 0; font-size: 0.875rem; line-height: 1.625; color: var(--zinc-400); }
.footer-company > span { display: block; }
/* Fontes dos dados citados na página: lista pequena, alinhada à esquerda, acima da linha de direitos. */
.footer-sources { max-width: 48rem; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.8125rem; line-height: 1.625; color: var(--zinc-400); text-align: left; }
.footer-sources h2 { font-weight: 500; color: #fff; }
.footer-sources ol { display: grid; gap: 0.5rem; margin-top: 0.75rem; list-style: decimal; padding-left: 1.25rem; }
.footer-sources a { color: var(--zinc-300); text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.3); text-underline-offset: 4px; transition: color 150ms var(--ease); }
.footer-sources a:hover { color: #fff; }
.footer-bottom { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.75rem; line-height: 1.5; color: var(--zinc-400); }
.footer-bottom nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }
.footer-bottom a, .footer-bottom button { transition: color 150ms var(--ease); }
.footer-bottom a:hover, .footer-bottom button:hover { color: #fff; }
.footer :focus-visible { outline-color: var(--brand-400); }
/* Com a barra fixa na tela, o fim do rodapé não fica escondido atrás dela. */
body.has-bar .footer { padding-bottom: calc(6rem + var(--bar-h)); }

/* ── Botão flutuante do WhatsApp (WhatsAppFloat.vue): canto inferior direito ─ */
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 92;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: background-color 150ms var(--ease), bottom 200ms var(--ease);
}
.whatsapp-float:hover { background: var(--whatsapp-hover); }
.whatsapp-float .icon { width: 1.75rem; height: 1.75rem; }
/* Sobe junto com a barra de CTA do celular. */
body.has-bar .whatsapp-float { bottom: calc(var(--bar-h) + 1rem); }

/* ── Barra fixa de CTA (só no celular) ─────────────────────────────────────── */
.cta-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--zinc-200);
  background: #fff;
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 200ms var(--ease), visibility 200ms;
}
.cta-bar.is-visible { transform: none; visibility: visible; }

/* ── Aviso de cookies (CookieConsent.vue): o menor possível ────────────────── */
.consent {
  position: fixed;
  right: 5.5rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0.75rem;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--zinc-600);
  outline: none;
  transition: bottom 200ms var(--ease);
}
.consent a { color: var(--brand-600); text-decoration: underline; text-decoration-color: var(--brand-200); text-underline-offset: 4px; }
.consent-actions { display: flex; gap: 0.5rem; }
body.has-bar .consent { bottom: calc(var(--bar-h) + 0.75rem); }

/* ── A partir de 640px ─────────────────────────────────────────────────────── */
@media (min-width: 40rem) {
  .container { padding-inline: 1.5rem; }
  .logo svg { height: 2.25rem; }
  .hero-grid { padding-block: 4rem; }
  h1 { font-size: 3rem; line-height: 1.05; letter-spacing: -0.05em; }
  .hero-lead { font-size: 1.125rem; }
  .hero-cta .btn, .cta-row .btn { width: auto; }
  .stage { padding: 2rem; }
  .stage-chip { margin-right: -1rem; }
  .section { padding-block: 5rem; }
  .grid-6, .grid-5, .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 > :last-child, .grid-3 > :last-child { grid-column: 1 / -1; }
  .compare-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; padding: 0; overflow: visible; }
  .quotes > :last-child { grid-column: 1 / -1; }
  .faq h3 { font-size: 1.125rem; }
  .h2-lg { font-size: 2.25rem; line-height: 1.11; }
  .booking-steps { font-size: 0.875rem; }
  .booking-panel { padding: 2rem; }
  .booking-title { font-size: 1.5rem; }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide { grid-column: 1 / -1; }
  .choices { display: flex; flex-wrap: wrap; }
  .choice span { padding-inline: 1rem; }
  .booking-actions-split .btn-primary { flex: 0 1 auto; margin-left: auto; }
  .done-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .footer-bottom nav { justify-content: flex-end; }
}

/* ── A partir de 768px: cabeçalho fixo, sem a barra de baixo ───────────────── */
@media (min-width: 48rem) {
  .header { position: sticky; top: 0; z-index: 100; }
  .cta-bar { display: none; }
  .whatsapp-float, body.has-bar .whatsapp-float { right: 1.5rem; bottom: 1.5rem; }
  .footer, body.has-bar .footer { padding-bottom: 2rem; }
  /* O botão do WhatsApp fica à direita dos links, não em cima deles. */
  .footer-bottom nav { padding-right: 4.5rem; }
  .consent,
  body.has-bar .consent {
    right: auto;
    bottom: 1.5rem;
    left: 1.5rem;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0.625rem 0.75rem;
  }
  .consent p { white-space: nowrap; }
  .consent-actions { flex-shrink: 0; }
}

/* ── A partir de 1024px ────────────────────────────────────────────────────── */
@media (min-width: 64rem) {
  .container { padding-inline: 2rem; }
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; padding-block: 5rem 6rem; }
  .hero-copy { grid-column: span 7; }
  /* O palco cinza ocupa toda a altura do texto ao lado, com o documento no meio. */
  .hero-visual { display: flex; grid-column: span 5; }
  .stage { display: flex; flex: 1; flex-direction: column; justify-content: center; }
  h1 { font-size: 3.5rem; line-height: 1.04; }
  .hero-lead { font-size: 1.25rem; }
  .hero-lines { display: block; }
  .section { padding-block: 6rem; }
  .h2 { font-size: 2.25rem; line-height: 1.11; }
  .h2-lg { font-size: 3rem; line-height: 1; }
  .grid, .compare, .quotes, .steps, .faq, .booking { margin-top: 3rem; }
  .closing { font-size: 1.5rem; }
  .card > p, .card-body p { font-size: 0.9375rem; }
  .grid-5, .quotes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid-5 > li, .quotes > li { grid-column: span 2; }
  .grid-5 > li:nth-child(n + 4), .quotes > li:nth-child(n + 4) { grid-column: span 3; }
  .grid-6, .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-3 > :last-child { grid-column: auto; }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
  .process-main { grid-column: span 7; }
  .flow { position: sticky; top: 6rem; grid-column: span 5; align-self: start; }
  .guarantees { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: 4rem; }
  .guarantees .section-head { position: sticky; top: 6rem; grid-column: span 5; }
  .checklist { grid-column: span 7; }
  .booking-panel { padding: 2.5rem; }

  /* Comparativo como tabela: a mesma marcação dos cards, com os rótulos de cada célula só para leitor de tela.
     Três colunas de alternativas por padrão; .compare-2 tem duas. */
  .compare { overflow: hidden; border: 1px solid var(--zinc-200); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-xs); }
  .compare-head { display: grid; grid-template-columns: 28% repeat(3, minmax(0, 1fr)); font-size: 0.875rem; font-weight: 500; color: var(--zinc-600); }
  .compare-head span { padding: 1rem 1.25rem; border-bottom: 1px solid var(--zinc-200); }
  .compare-head .is-dorck { border-bottom-color: var(--zinc-950); background: var(--zinc-950); font-weight: 600; color: #fff; }
  .compare-rows { display: block; }
  .compare-row { display: grid; grid-template-columns: 28% minmax(0, 1fr); border: 0; border-radius: 0; background: none; box-shadow: none; }
  .compare-row + .compare-row { border-top: 1px solid var(--zinc-200); }
  .compare-row h3 { padding: 1rem 1.25rem; border-bottom: 0; font-size: 0.875rem; line-height: 1.5; font-weight: 500; letter-spacing: 0; }
  .compare-row dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare-row dl > div { display: block; padding: 1rem 1.25rem; font-size: 0.875rem; }
  .compare-row dl > div + div { border-top: 0; }
  .compare-row dt { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .compare-row dd { text-align: left; }
  .compare-2 .compare-head { grid-template-columns: 34% repeat(2, minmax(0, 1fr)); }
  .compare-2 .compare-row { grid-template-columns: 34% minmax(0, 1fr); }
  .compare-2 .compare-row dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── A partir de 1200px: os 5 cards de uma seção ficam lado a lado ─────────── */
@media (min-width: 75rem) {
  .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid-5 > li,
  .grid-5 > li:nth-child(n + 4) { grid-column: auto; }
  .grid-5 > .card:not(.card-visual) { padding: 1.25rem; }
  .grid-5 .card-body { padding: 1.25rem; }
  .grid-5 .card-body h3 { font-size: 1rem; }
  .grid-5 .visual { padding-inline: 0.75rem; }
  .grid-5 > .card > .scene { font-size: 1rem; }
}

/* ── Movimento reduzido ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { transition: none !important; animation: none !important; }
}
