/* König Advocacia — design system v2 (venda)
   Mescla: papel + tinta do site Vitor Zimermann, dourado do logo König,
   vermelho de ação do perfil @dr.gustavokonig. */
:root {
  --ink: #0f2240;
  --ink-2: #16304f;
  --ink-3: #1e3d66;
  --paper: #f7f6f2;
  --paper-2: #eceae3;
  --white: #ffffff;
  --dourado: #c9a227;
  --dourado-esc: #a8861d;
  --verm: #c1121f;
  --verm-2: #e23140;
  --muted: #5c6572;
  --muted-2: #8a93a1;
  --line: rgba(15, 34, 64, .12);
  --line-w: rgba(255, 255, 255, .14);
  --whats: #1fab53;
  --sombra: 0 22px 55px -18px rgba(15, 34, 64, .28);
  /* aliases da v1 (páginas antigas) */
  --tinta-950: #0a1930;
  --tinta-900: #0f2240;
  --tinta-800: #16304f;
  --papel: #f7f6f2;
  --papel-dim: #5c6572;
  --branco: #ffffff;
  --dourado-claro: #a8861d;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; font-size: 17px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
.wrap > * { min-width: 0; }
h1, h2, h3, .serif { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; letter-spacing: -.015em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 76px 0; }
.kicker {
  font-size: .74rem; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--verm); margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}
h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); font-weight: 800; color: var(--ink); margin-bottom: 16px; line-height: 1.12; }
.lede { color: var(--muted); font-size: 1.14rem; max-width: 680px; }

/* Seções escuras (blocos navy) */
.bloco-escuro { background: linear-gradient(180deg, var(--ink), var(--tinta-950)); color: var(--paper); }
.bloco-escuro h2 { color: var(--white); }
.bloco-escuro .lede { color: var(--muted-2); }
.bloco-escuro .kicker { color: var(--dourado); }

/* Botões */
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(120deg, var(--verm), var(--verm-2)); color: #fff;
  font-weight: 800; font-size: 1rem; border-radius: 999px; padding: 17px 32px;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, filter .15s;
  box-shadow: 0 14px 34px -12px rgba(193, 18, 31, .55);
}
.btn-cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-whats {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(120deg, #1fab53, #25d366); color: #fff; font-weight: 800;
  font-size: 1rem; border-radius: 999px; padding: 17px 32px;
  text-decoration: none; transition: transform .15s, filter .15s;
  box-shadow: 0 14px 34px -12px rgba(31, 171, 83, .55);
}
.btn-whats:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn-ouro {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: transparent; color: var(--ink); font-weight: 700; font-size: .96rem;
  border: 1.5px solid var(--dourado); border-radius: 999px; padding: 15px 28px;
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s;
}
.btn-ouro:hover { background: rgba(201, 162, 39, .12); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--verm); font-weight: 700; font-size: .95rem;
  text-decoration: none; padding: 14px 6px;
}
.btn-ghost:hover { color: var(--verm-2); }

/* Nav */
nav.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 34, 64, .96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-w);
}
nav.topo .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; gap: 16px; }
nav.topo img.logo { height: 54px; display: block; }
nav.topo .links { display: flex; gap: 20px; align-items: center; }
nav.topo .links a { color: var(--paper); text-decoration: none; font-size: .9rem; font-weight: 500; }
nav.topo .links a:hover { color: var(--dourado); }
nav.topo .links a.destaque {
  background: linear-gradient(120deg, var(--verm), var(--verm-2));
  color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 800;
}
@media (max-width: 760px) { nav.topo .links a:not(.destaque) { display: none; } }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px; padding: 26px;
  box-shadow: 0 10px 30px -18px rgba(15, 34, 64, .18);
}
.card h3 { color: var(--ink); font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 1rem; }
.grid { display: grid; gap: 18px; }
@media (min-width: 820px) { .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c2 { grid-template-columns: repeat(2, 1fr); } }

/* Forms */
label.campo { display: block; margin-bottom: 16px; }
label.campo span { display: block; font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
label.campo input, label.campo select, label.campo textarea {
  width: 100%; background: var(--white); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 13px 14px; font-size: 1rem; font-family: inherit; outline: none;
}
label.campo input:focus, label.campo select:focus { border-color: var(--ink-3); box-shadow: 0 0 0 3px rgba(30, 61, 102, .12); }

/* Aviso legal */
.aviso-legal {
  background: #fdf3f0; border: 1px solid rgba(193, 18, 31, .25);
  border-radius: 12px; padding: 16px 18px; font-size: .96rem; color: #6b3030;
}
.aviso-legal strong { color: var(--verm); }

footer.rodape {
  background: var(--tinta-950); color: var(--muted-2);
  padding: 52px 0; text-align: center; font-size: .92rem;
}
footer.rodape img { height: 40px; margin-bottom: 14px; opacity: .95; }
footer.rodape a { color: var(--dourado); text-decoration: none; }
footer.rodape .legal { max-width: 820px; margin: 14px auto 0; font-size: .8rem; line-height: 1.6; color: rgba(138, 147, 161, .85); }

/* ===== Mobile: maior, mais fácil, menos fricção ===== */
@media (max-width: 640px) {
  html { font-size: 18px; }
  section { padding: 44px 0; }
  h1 { font-size: 2rem !important; line-height: 1.12 !important; overflow-wrap: break-word; }
  .btn-cta, .btn-whats, .btn-ouro { width: 100%; justify-content: center; padding: 18px 20px; white-space: normal; text-align: center; font-size: 1rem; line-height: 1.25; }
  nav.topo .links a.destaque { padding: 9px 13px; font-size: .8rem; }
  nav.topo img.logo { height: 46px; }
  .hero .ctas, .ctas { flex-direction: column; }
  h2 { font-size: 1.65rem; }
  .lede { font-size: 1rem; }
}
.barra-zap { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 78px; }
  .barra-zap {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: rgba(15,34,64,.97); backdrop-filter: blur(10px); gap: 8px; padding: 10px 12px;
    border-top: 1px solid rgba(201,162,39,.35);
  }
  .barra-zap a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    border-radius: 999px; padding: 14px 8px; font-weight: 800; font-size: .88rem; text-decoration: none; }
  .barra-zap .bz-zap { background: linear-gradient(120deg, #1fab53, #25d366); color: #fff; }
  .barra-zap .bz-cta { background: linear-gradient(120deg, var(--verm), var(--verm-2)); color: #fff; }
}
@media print { .barra-zap { display: none !important; } }

@media (max-width: 900px) {
  .hero .wrap > div:first-child, .capa .wrap > div:first-child { text-align: center; }
  .hero .chips, .hero .ctas { justify-content: center; }
  .hero .eyebrow, .capa .eyebrow { justify-content: center; }
  .hero .eyebrow::after, .capa .eyebrow::after { content: ''; width: 34px; height: 1px; background: var(--dourado); }
  .beneficios { text-align: left; }
  .checkout { text-align: center; }
  .checkout form, .checkout label { text-align: left; }
}

/* ============================================================
   v2.1: displays -10% + sistema de botões refinado (spec agente)
   Corpo de texto intocado (pedido: reduzir só o "texto grande")
   ============================================================ */
.hero h1 { font-size: clamp(2.25rem, 4.9vw, 3.5rem) !important; line-height: 1.08; letter-spacing: -.015em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.15; }
.sol .preco b { font-size: 2.25rem; }
.checkout .preco { font-size: 2.7rem; }
.prova b { font-size: 2rem; line-height: 1.12; }
.card h3 { font-size: 1.18rem; line-height: 1.25; }
.sol h3 { font-size: 1.3rem; line-height: 1.22; }
@media (max-width: 640px) {
  h1 { font-size: 1.8rem !important; line-height: 1.15 !important; }
  h2 { font-size: 1.5rem; line-height: 1.18; }
  .sol .preco b { font-size: 1.8rem; }
  .prova b { font-size: 1.7rem; }
  .solucoes h2 { font-size: 1.55rem; }
}
.btn-cta, .btn-whats, .btn-ouro {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 14px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: .95rem; font-weight: 700; letter-spacing: .012em;
  line-height: 1.2; text-decoration: none; cursor: pointer;
  border: none; -webkit-tap-highlight-color: transparent;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background .16s ease;
}
.btn-cta { background: linear-gradient(135deg, var(--verm), var(--verm-2)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(15,34,64,.12), 0 8px 20px -8px rgba(193,18,31,.45); }
.btn-cta:hover { transform: translateY(-1px); filter: brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 4px rgba(15,34,64,.14), 0 14px 28px -10px rgba(193,18,31,.55); }
.btn-cta:active { transform: translateY(0) scale(.98); filter: brightness(.97);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 3px 10px -6px rgba(193,18,31,.5); }
.btn-whats { background: linear-gradient(135deg, #1fab53, #25d366); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(15,34,64,.12), 0 8px 20px -8px rgba(31,171,83,.45); }
.btn-whats:hover { transform: translateY(-1px); filter: brightness(1.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 2px 4px rgba(15,34,64,.14), 0 14px 28px -10px rgba(31,171,83,.55); }
.btn-whats:active { transform: translateY(0) scale(.98); filter: brightness(.97);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 3px 10px -6px rgba(31,171,83,.5); }
.btn-ouro { background: var(--white); color: var(--ink); border: 1.5px solid var(--dourado);
  box-shadow: 0 1px 2px rgba(15,34,64,.08), 0 6px 16px -10px rgba(201,162,39,.35); }
.btn-ouro:hover { transform: translateY(-1px); background: rgba(201,162,39,.1); border-color: var(--dourado-esc);
  box-shadow: 0 2px 4px rgba(15,34,64,.1), 0 10px 22px -10px rgba(201,162,39,.45); }
.btn-ouro:active { transform: translateY(0) scale(.98); background: rgba(201,162,39,.16);
  box-shadow: 0 1px 4px -2px rgba(15,34,64,.15); }
.btn-cta:focus-visible, .btn-whats:focus-visible, .btn-ouro:focus-visible { outline: 3px solid rgba(15,34,64,.45); outline-offset: 3px; }
.bloco-escuro .btn-cta:focus-visible, .bloco-escuro .btn-whats:focus-visible, .bloco-escuro .btn-ouro:focus-visible { outline-color: rgba(201,162,39,.85); }
nav.topo .links a.destaque { border-radius: 12px; padding: 10px 18px; font-weight: 700; letter-spacing: .012em; white-space: nowrap; }
@media (max-width: 640px) {
  .btn-cta, .btn-whats, .btn-ouro { width: 100%; min-height: 54px; padding: 14px 20px; font-size: 1rem; white-space: normal; text-align: center; }
}
@media (max-width: 760px) {
  .barra-zap a { border-radius: 12px; min-height: 48px; font-size: .85rem; font-weight: 700; letter-spacing: .012em; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-cta, .btn-whats, .btn-ouro { transition: none; }
  .btn-cta:hover, .btn-whats:hover, .btn-ouro:hover, .btn-cta:active, .btn-whats:active, .btn-ouro:active { transform: none; }
}
