/* Action — preto com degradê amarelo → laranja. Um único CSS para todas as páginas. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #08080a;
  --hi-1: #ffd84d;
  --hi-2: #ffae1a;
  --hi-3: #ff8a00;
  --hi: linear-gradient(90deg, var(--hi-1), var(--hi-2) 55%, var(--hi-3));
  --on-hi: #120c03;
  --text: #f4f3ef;
  --text-2: #a9a7a0;
  --text-3: #848278;
  --line: rgba(255, 255, 255, .08);
  --glass: rgba(255, 255, 255, .035);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: 20px;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background-color: #08080a; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(60% 45% at 80% 5%, rgba(255, 170, 0, .28), transparent 70%),
    radial-gradient(40% 35% at 10% 100%, rgba(255, 120, 0, .12), transparent 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--hi-1); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.skip { position: absolute; left: -9999px; top: 8px; background: var(--hi-1); color: var(--on-hi); padding: 8px 14px; border-radius: 999px; font-weight: 600; z-index: 30; }
.skip:focus { left: 8px; }

/* Cabeçalho */
.top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding-top: 22px; }
.logo { color: var(--text); font-weight: 700; letter-spacing: .18em; text-decoration: none; font-size: 14px; padding: 6px 0; }
.logo b { background: var(--hi); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { color: var(--text-2); text-decoration: none; padding: 6px 0; transition: color .15s; }
.nav a:hover { color: var(--text); }

/* Botões */
.btn, .btn-ghost { display: inline-block; border-radius: 999px; text-decoration: none; font-weight: 700; line-height: 1.2; text-align: center; transition: filter .15s, background-color .15s; }
.btn { background: var(--hi); color: var(--on-hi); font-size: 16px; padding: 15px 28px; box-shadow: 0 0 28px rgba(255, 160, 0, .35); }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { border: 1px solid var(--hi-2); color: var(--hi-2); font-size: 14px; font-weight: 600; padding: 9px 16px; }
.btn-ghost:hover { background: rgba(255, 174, 26, .1); }

.gold { background: var(--hi); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Rótulos */
.kick-p, .kick-r { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.kick-p { color: var(--text-3); }
.kick-r { color: var(--hi-2); }

/* Topo: dor principal e resolução */
.hero { padding: 56px 0 52px; }
.hero h1 { font-size: clamp(32px, 6.2vw, 52px); line-height: 1.07; font-weight: 600; letter-spacing: -.035em; max-width: 820px; margin-top: 12px; }
.hero .res { margin-top: 26px; max-width: 640px; padding: 16px 18px; }
.hero .res p { font-size: clamp(17px, 2.4vw, 19px); line-height: 1.45; margin-top: 6px; }
.hero .btn { margin-top: 28px; }

/* Blocos */
.blk { padding: 46px 0; border-top: 1px solid var(--line); }
.blk h2 { font-size: clamp(22px, 3.4vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -.035em; margin-bottom: 18px; }

/* Pares problema → resolução */
.pair { display: grid; grid-template-columns: 1fr 28px 1fr; align-items: center; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pair:first-child { padding-top: 0; }
.pair:last-child { border-bottom: 0; padding-bottom: 0; }
.pain p { font-size: 19px; line-height: 1.3; font-weight: 600; margin-top: 6px; letter-spacing: -.02em; }
.fix p { font-size: 16px; line-height: 1.45; color: #d9d7d0; margin-top: 6px; }
.fix b { color: var(--hi-1); font-weight: 600; }
.fix a { color: inherit; text-decoration: none; display: block; }
.fix a b { text-decoration: underline; text-decoration-color: rgba(255, 174, 26, .55); text-underline-offset: 3px; }
.fix a:hover { color: var(--text); }
.fix a:hover b { text-decoration-color: var(--hi-1); }
.arrow { color: var(--hi-2); font-size: 22px; text-align: center; }
.arrow::before { content: "\2192"; }

/* Prova */
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.proof-card { background: var(--glass); border: 1px solid var(--line); border-radius: 14px; padding: 20px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.proof-card .v { font-size: 32px; line-height: 1.15; font-weight: 600; letter-spacing: -.035em; background: var(--hi); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof-card .l { font-size: 14px; color: var(--text-2); margin-top: 6px; line-height: 1.45; }
.fine { font-size: 13px; color: var(--text-3); margin-top: 14px; }

/* Página de caso */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split .glass { padding: 20px; }
.split p { margin-top: 8px; color: #d9d7d0; font-size: 16px; line-height: 1.5; }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flow + .flow { margin-top: 18px; }
.flow .node { background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 14px; color: var(--text); }
.flow .node.hl { border-color: rgba(255, 174, 26, .7); box-shadow: 0 0 22px rgba(255, 160, 0, .25); }
.flow li + li::before { content: "\2192"; color: var(--hi-2); margin-right: 10px; }
.flow-alt .node { font-size: 13px; color: var(--text-2); }

.stack { margin-top: 22px; font-size: 14px; color: var(--text-2); }
.stack .kick-p { margin-bottom: 6px; }

.result { margin: 10px 0 0; padding: 22px; }
.result p { margin-top: 8px; font-size: clamp(22px, 3.4vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -.035em; background: var(--hi); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Cartões de caso */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.case-card { display: block; padding: 20px; text-decoration: none; transition: border-color .15s, background-color .15s; }
.case-card:hover { border-color: var(--hi-2); background: rgba(255, 255, 255, .055); }
.case-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-top: 8px; }
.case-card p { font-size: 15px; line-height: 1.45; color: var(--text-2); margin-top: 8px; }
.case-card .case-result { color: var(--hi-2); font-weight: 600; }
.lead { font-size: 17px; color: var(--text-2); margin-top: 12px; max-width: 560px; }

/* Faixa do projeto de demonstração */
.demo { padding: 26px; border-top: 1px solid var(--line); }
.demo h2 { margin: 8px 0 0; }
.demo p { font-size: 16px; color: var(--text-2); margin-top: 10px; max-width: 620px; }
.demo .flow { margin-top: 18px; }

/* Caso com gráfico de custo */
.case { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.chart { display: block; width: 100%; max-width: 460px; height: auto; font-family: inherit; }

/* Quem resolve */
.who { font-size: clamp(17px, 2.6vw, 20px); font-weight: 600; letter-spacing: -.02em; }
.who b { letter-spacing: .12em; font-weight: 700; }

/* Lista do que o diagnóstico entrega */
.deliver li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); color: #d9d7d0; }
.deliver li:last-child { border-bottom: 0; }
.deliver li::before { content: ""; position: absolute; left: 4px; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: var(--hi-3); }

/* Chamada final */
.cta-final { text-align: center; padding-bottom: 56px; }
.cta-final h2 { margin-bottom: 0; }
.cta-final p { font-size: 15px; color: var(--text-2); margin-top: 8px; }
.cta-final .btn { margin-top: 22px; }

/* Texto corrido (privacidade, 404) */
.prose { padding: 48px 0 56px; max-width: 720px; }
.prose h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.12; font-weight: 600; letter-spacing: -.035em; }
.prose h2 { font-size: 19px; font-weight: 600; margin-top: 30px; }
.prose p { color: #d9d7d0; margin-top: 12px; }
.prose a { color: var(--hi-1); text-underline-offset: 3px; }
.prose .btn { color: var(--on-hi); margin-top: 24px; }

/* Rodapé */
.foot { border-top: 1px solid var(--line); padding: 26px 0 96px; font-size: 13px; color: var(--text-3); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.foot .id { margin-right: auto; }
.foot a, .foot button { color: var(--text-2); text-underline-offset: 3px; }
.foot button { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }

/* Botão fixo de WhatsApp */
.wa-fixed { position: fixed; right: 16px; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 8px; background: var(--hi); color: var(--on-hi); font-size: 14px; font-weight: 700; text-decoration: none; padding: 12px 18px; border-radius: 999px; box-shadow: 0 0 28px rgba(255, 160, 0, .35), 0 6px 24px rgba(0, 0, 0, .45); transition: filter .15s; }
.wa-fixed:hover { filter: brightness(1.08); }
.wa-fixed svg { width: 18px; height: 18px; flex: none; }

/* Aviso de cookies */
[hidden] { display: none !important; }
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 25; width: calc(100% - 32px); max-width: 440px; background: rgba(18, 18, 20, .92); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: 0 10px 40px rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; color: #d9d7d0; }
.consent a { color: var(--hi-1); text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }
.consent button { font-family: inherit; cursor: pointer; font-size: 14px; padding: 9px 18px; }
.consent .btn { border: 0; display: inline-block; }
.consent .btn-ghost { background: none; }

@media (max-width: 720px) {
  .consent { bottom: 76px; }
  .top .nav { order: 3; width: 100%; }
  .hero { padding: 40px 0 40px; }
  .blk { padding: 36px 0; }
  .pair { grid-template-columns: 1fr; gap: 8px; }
  .case { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .flow { flex-direction: column; align-items: stretch; gap: 0; }
  .flow .node { text-align: center; }
  .flow li + li::before { content: "\2193"; display: block; margin: 0; padding: 6px 0; text-align: center; }
  .arrow { text-align: left; font-size: 18px; line-height: 1; }
  .arrow::before { content: "\2193"; }
  .btn { display: block; }
  .cta-final .btn, .prose .btn { display: inline-block; }
}

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

.more { margin-top: 18px; }
.more a { color: var(--hi-2); text-decoration: none; border-bottom: 1px solid rgba(255, 174, 26, .4); font-size: 15px; }
.more a:hover { border-bottom-color: var(--hi-2); }
