/* ==========================================================================
   LPs de produto da Pquadrado — folha única, compartilhada pelas 7 páginas.
   Identidade do pquadrado.com.br (limão nos botões, Instrument Sans com
   itálico serifado, rótulos em mono, a figura em partículas) sobre cinza.

   Dois eixos, os dois no <html>:
     data-tema     grafite (o escolhido, fixo nas páginas) | claro | medio
     data-produto  sdr | bdr | ldr | pacote | atendimento | agenda | crm —
                   a cor e a figura de cada LP, para dar para saber qual é qual
   Áreas escuras de contraste (.tema-escuro, o celular e o rodapé) usam as
   cores do site institucional. A versão toda escura está em _versao-escura/.
   ========================================================================== */

/* Fontes servidas pelo próprio site (mesmos arquivos do Google Fonts, licença OFL):
   sem a ida ao fonts.googleapis.com, que travava a primeira pintura no celular.
   Só os recortes latin e latin-ext; o navegador baixa cada um apenas se a página usar. */
/* Cormorant Garamond — latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond — latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-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;
}
/* Cormorant Garamond — latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond — latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-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;
}
/* Cormorant Garamond — latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond — latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-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;
}
/* Instrument Sans — latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Sans — latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-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;
}
/* Instrument Sans — latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Sans — latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-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;
}
/* Instrument Sans — latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Sans — latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-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;
}
/* Instrument Sans — latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Sans — latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-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;
}
/* JetBrains Mono — latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono — latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-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;
}
/* JetBrains Mono — latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono — latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-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;
}

:root {
  /* Marca: o limão do site + as 5 cores do quadrado do logo */
  --lime: #d4ff00;
  --c-yellow: #fcdd48;
  --c-red: #cb3d39;
  --c-green: #48a755;
  --c-blue: #098ecb;
  --c-purple: #7a308b;
  --brand-gradient: linear-gradient(90deg, var(--c-yellow), var(--c-red) 26%, var(--c-green) 50%, var(--c-blue) 74%, var(--c-purple));

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1180px;

  /* Produto padrão (o pacote, com o limão do site) */
  --prod: #b8dc00;
  --prod-claro: #d4ff00;
  --prod-escuro: #5a7d00;
  --prod-barra: var(--prod);
}

/* ---------- Cor de cada produto ---------- */
[data-produto="sdr"] { --prod: #098ecb; --prod-claro: #5bbbe9; --prod-escuro: #06689a; --prod-barra: var(--prod); }
[data-produto="bdr"] { --prod: #cb3d39; --prod-claro: #ef746f; --prod-escuro: #a12b28; --prod-barra: var(--prod); }
[data-produto="ldr"] { --prod: #eab308; --prod-claro: #fcdd48; --prod-escuro: #9a6c00; --prod-barra: var(--prod); }
[data-produto="atendimento"] { --prod: #48a755; --prod-claro: #7fd08a; --prod-escuro: #2d7a39; --prod-barra: var(--prod); }
[data-produto="agenda"] { --prod: #1c9c95; --prod-claro: #5fd0c5; --prod-escuro: #11706a; --prod-barra: var(--prod); }
[data-produto="crm"] { --prod: #9b45b0; --prod-claro: #c77ed9; --prod-escuro: #6f2a80; --prod-barra: var(--prod); }
[data-produto="pacote"] { --prod: #b8dc00; --prod-claro: #d4ff00; --prod-escuro: #5a7d00; --prod-barra: var(--brand-gradient); }

/* ---------- Família clara (texto escuro): tons "claro" e "medio" ---------- */
:root {
  color-scheme: light;
  --ink: #121212;
  --ink-dim: rgba(18, 18, 18, 0.7);
  --ink-mute: rgba(18, 18, 18, 0.52);
  --line: rgba(18, 18, 18, 0.12);
  --line-strong: rgba(18, 18, 18, 0.24);
  --accent: var(--prod-escuro);
  --accent-soft-bg: color-mix(in srgb, var(--prod) 24%, transparent);
  --accent-soft-ink: var(--prod-escuro);
  --prod-suave: color-mix(in srgb, var(--prod) 22%, transparent);
  /* palavra em destaque: marca-texto na cor do produto */
  --destaque-cor: var(--ink);
  --destaque-fundo: linear-gradient(color-mix(in srgb, var(--prod) 48%, transparent), color-mix(in srgb, var(--prod) 48%, transparent));
  --part-a: var(--prod);
  --part-b: var(--prod-escuro);
  --field-line: rgba(18, 18, 18, 0.22);
  --placeholder: rgba(18, 18, 18, 0.34);
  --error: #b3261e;
  --focus: #121212;
  --star: #121212;
  --hero-glow: color-mix(in srgb, var(--prod) 16%, transparent);
  --phone-shadow: 0 40px 80px -40px rgba(18, 18, 18, 0.5);
  --logo-p: block;
  --logo-b: none;

  /* tom "medio" (padrão) */
  --bg: #c9cac5;
  --bg-2: #bfc0bb;
  --card: #d9dad5;
  --nav-bg: rgba(201, 202, 197, 0.95);
}
:root[data-tema="claro"] {
  --bg: #e4e5e1;
  --bg-2: #d9dad5;
  --card: #f2f2ef;
  --nav-bg: rgba(228, 229, 225, 0.95);
}

/* ---------- Família escura (texto claro): tom "grafite" e as áreas escuras ---------- */
:root[data-tema="grafite"],
.tema-escuro,
.phone,
.footer {
  color-scheme: dark;
  --ink: #f4f3ee;
  --ink-dim: rgba(244, 243, 238, 0.7);
  --ink-mute: rgba(244, 243, 238, 0.48);
  --line: rgba(244, 243, 238, 0.12);
  --line-strong: rgba(244, 243, 238, 0.26);
  --accent: var(--prod-claro);
  --accent-soft-bg: color-mix(in srgb, var(--prod) 22%, transparent);
  --accent-soft-ink: var(--prod-claro);
  --destaque-cor: var(--prod-claro);
  --destaque-fundo: none;
  --part-a: var(--prod-claro);
  --part-b: var(--prod);
  --field-line: rgba(255, 255, 255, 0.2);
  --placeholder: rgba(244, 243, 238, 0.28);
  --error: #ff8a7d;
  --focus: #f4f3ee;
  --star: #f4f3ee;
  --hero-glow: color-mix(in srgb, var(--prod) 14%, transparent);
  --phone-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  --logo-p: none;
  --logo-b: block;
}
:root[data-tema="grafite"] {
  --bg: #2f3035;
  --bg-2: #28292d;
  --card: #393a40;
  --nav-bg: rgba(47, 48, 53, 0.95);
}
.tema-escuro,
.phone,
.footer {
  --bg: #1b1c1f;
  --bg-2: #222327;
  --card: #2a2b30;
  color: var(--ink);
}
.tema-escuro { background: var(--bg); }

/* O pacote (as 3 frentes juntas) destaca com as cinco cores do logo */
:root[data-produto="pacote"] {
  --destaque-fundo: linear-gradient(90deg, rgba(252, 221, 72, 0.8), rgba(203, 61, 57, 0.5) 30%, rgba(72, 167, 85, 0.55) 55%, rgba(9, 142, 203, 0.5) 78%, rgba(122, 48, 139, 0.5));
}
:root[data-produto="pacote"][data-tema="grafite"] { --destaque-fundo: none; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
::selection { background: var(--lime); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
/* Palavra de destaque: marca-texto na cor do produto no fundo claro,
   texto na cor do produto no escuro */
.destaque {
  color: var(--destaque-cor);
  background-image: var(--destaque-fundo);
  background-repeat: no-repeat;
  background-size: 100% 34%;
  background-position: 0 88%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-dim);
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--prod-barra);
}

.h2 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.h2 .serif { font-size: 1.1em; }
.lede { color: var(--ink-dim); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 34em; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--lime { background: var(--lime); color: #0a0a0a; box-shadow: inset 0 0 0 1px rgba(18, 18, 18, 0.06); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn__arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--lime:hover { background: #e2ff4d; }
  .btn--ghost:hover { border-color: var(--ink); }
  .btn:hover .btn__arrow { transform: translateX(3px); }
}
.btn[disabled] { cursor: default; opacity: 0.7; }

/* ---------- Barra do topo ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background-color 240ms ease, border-color 240ms ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 20px;
  min-height: 68px;
}
.nav__inner > .btn { justify-self: end; }
.nav__logo { justify-self: start; }
.nav__logo img { width: 132px; }
.nav__logo .logo-p { display: var(--logo-p); }
.nav__logo .logo-b { display: var(--logo-b); }

/* Abas das soluções: sempre à vista, para ir de uma LP para outra */
.produtos { position: relative; display: flex; justify-content: center; gap: 4px; min-width: 0; }
.produtos__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-dim);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.produtos__item[data-produto]::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--prod-barra); }
.produtos__item[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  background: color-mix(in srgb, var(--prod) 22%, transparent);
  border-color: color-mix(in srgb, var(--prod) 50%, transparent);
}
.produtos__item:not([data-produto])[aria-current="page"] { background: var(--card); border-color: var(--line-strong); }
@media (hover: hover) and (pointer: fine) {
  .produtos__item:not([aria-current="page"]):hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
}
.cta-curto { display: none; }

/* Sem espaço numa linha só: as abas descem para uma segunda linha que rola de lado */
@media (max-width: 1279px) {
  html { scroll-padding-top: 132px; }
  .nav__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .produtos {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  }
  .produtos::-webkit-scrollbar { display: none; }
  .hero { padding-top: 150px; }
}
@media (max-width: 480px) {
  .nav__logo img { width: 104px; }
  .cta-longo { display: none; }
  .cta-curto { display: inline; }
  .produtos__item { padding: 6px 11px; font-size: 13px; }
}

/* ---------- Seções ---------- */
.section { padding-block: clamp(80px, 11vw, 140px); }
.section--tight { padding-block: clamp(64px, 8vw, 100px); }
.section--alt { background: var(--bg-2); }
.section__head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }

.rule { height: 2px; background: var(--brand-gradient); border: 0; margin: 0; }

/* ---------- Hero: a marca em partículas + título que "decodifica" ----------
   Igual ao do pquadrado.com.br: o quadrado fica à direita do texto no
   computador e no alto no celular (js/particulas.js mede o texto e decide). */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 120px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 55% at 76% 50%, var(--hero-glow), transparent 70%),
    var(--bg);
}
/* A cor das "estrelas" do fundo vem daqui (o script lê a cor do canvas) */
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; color: var(--star); }
.hero__veil {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero__inner { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.eyebrow__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--prod-barra);
  box-shadow: 0 0 0 4px var(--prod-suave);
}

.hero__title {
  margin: 0 0 28px;
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
/* Cada linha sobe de dentro de uma máscara */
.line { display: block; overflow: hidden; padding: 0 0.12em 0.1em 0; margin-bottom: -0.1em; }
.line__inner { display: inline-block; }
/* A entrada do hero é animação de CSS: começa no primeiro quadro pintado, sem esperar o JavaScript */
.js .line__inner { animation: hero-line 1100ms var(--ease-out) both; }
.js .line:nth-child(2) .line__inner { animation-delay: 90ms; }
.js .line:nth-child(3) .line__inner { animation-delay: 180ms; }
@keyframes hero-line { from { transform: translateY(108%); } }

.hero__word { display: inline-block; white-space: nowrap; font-size: 1.14em; }
/* Caracteres "embaralhados" do efeito de decodificação */
.hero__word .glyph {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 400;
  font-size: 0.62em;
  color: var(--accent);
  opacity: 0.75;
}

.hero__lede { max-width: 470px; margin: 0 0 36px; color: var(--ink-dim); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; max-width: 470px; margin-top: 28px; color: var(--ink-mute); font-size: 14px; }
.hero__proof span::before { content: "✓ "; color: var(--accent); font-weight: 600; }

.js .hero__eyebrow,
.js .hero__ctas,
.js .hero__proof { animation: hero-in 900ms var(--ease-out) both; }
.js .hero__ctas { animation-delay: 480ms; }
.js .hero__proof { animation-delay: 620ms; }
/* O parágrafo nasce visível e só sobe: no celular ele é o "maior conteúdo" que o PageSpeed
   mede (LCP), e com fade de opacidade ele só contava no fim da animação */
.js .hero__lede { animation: hero-rise 900ms var(--ease-out) both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes hero-rise { from { transform: translateY(12px); } }

/* O navegador só monta (estilo, layout, pintura) as seções quando chegam perto da tela:
   montar a página inteira antes da primeira pintura era a maior tarefa no celular.
   "auto" faz o navegador lembrar a altura real depois da primeira vez. */
main > section:not(.hero),
.footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* No 1º clique num link interno (ou chegando com #âncora) o lp.js liga isto: monta tudo,
   para a rolagem suave calcular o destino com as alturas reais */
.cv-off main > section,
.cv-off .footer { content-visibility: visible; }

@media (max-width: 899px) {
  /* Celular: a marca em partículas fica no alto e o texto embaixo */
  .hero {
    justify-content: flex-end;
    padding: 0 0 64px;
    /* o brilho acompanha o quadrado, que no celular fica no alto */
    background: radial-gradient(ellipse 70% 26% at 50% 20%, var(--hero-glow), transparent 70%), var(--bg);
  }
  .hero__inner { padding-top: clamp(260px, 40svh, 380px); }
  .hero__title { font-size: clamp(36px, 10vw, 60px); }
  .hero__word { white-space: normal; }
}

/* ---------- Na prática: a conversa no celular e o CRM se atualizando ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.demo .phone-wrap { order: -1; }
.demo__copy { display: grid; gap: 22px; }
@media (max-width: 900px) {
  .demo { grid-template-columns: 1fr; }
  .demo .phone-wrap { order: 0; }
}

.events { display: grid; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.event {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  transition: opacity 400ms var(--ease-out), border-color 400ms ease, transform 400ms var(--ease-out), box-shadow 400ms ease;
}
.event__dot { width: 12px; height: 12px; margin-top: 6px; border-radius: 3px; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.event strong { display: block; font-weight: 600; }
.event span { color: var(--ink-dim); font-size: 15px; }
.js .event:not(.is-on) { opacity: 0.4; transform: translateX(-4px); }
.event.is-on { border-color: var(--line-strong); box-shadow: 0 10px 30px -18px rgba(18, 18, 18, 0.35); }

.demo__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding-inline: 6px; color: var(--ink-mute); }
.demo__foot .mono { font-size: 11px; }
.replay {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-dim);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.replay:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .replay:hover { border-color: var(--ink); color: var(--ink); } }

/* ---------- Celular com a conversa (sempre escuro) ---------- */
.phone-wrap { position: relative; justify-self: center; width: min(100%, 380px); }
.phone {
  position: relative;
  border: 1px solid rgba(244, 243, 238, 0.14);
  border-radius: 36px;
  padding: 10px;
  background: #151514;
  box-shadow: var(--phone-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.phone__screen { border-radius: 28px; overflow: hidden; background: #0e0e0d; }
.phone__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
  background: #1b1b19;
  border-bottom: 1px solid var(--line);
}
.phone__avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.phone__name { font-size: 15px; font-weight: 600; line-height: 1.2; }
.phone__status { color: var(--ink-mute); font-size: 12px; }
.phone__status.is-typing { color: var(--lime); }
.chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 500px;
  padding: 16px 12px 20px;
  overflow: hidden;
  justify-content: flex-end;
}
.chat__day { align-self: center; margin-bottom: 6px; padding: 3px 10px; border-radius: 8px; background: #1d1d1b; color: var(--ink-mute); font-size: 11px; }
.msg {
  position: relative;
  max-width: 84%;
  min-width: 96px;
  padding: 8px 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.42;
  transition: opacity 260ms var(--ease-out), transform 320ms var(--ease-out);
}
.msg.is-pre { opacity: 0; transform: translateY(8px) scale(0.98); transition: none; }
.msg[hidden] { display: none; }
.msg--them { align-self: flex-start; background: #232321; border-top-left-radius: 4px; }
.msg--me { align-self: flex-end; background: #2d3a12; border-top-right-radius: 4px; }
.msg__time { position: absolute; right: 10px; bottom: 4px; color: var(--ink-mute); font-size: 10px; }
.msg--me .msg__time::after { content: " ✓✓"; color: #7cc6ff; }
.msg--audio { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.msg--audio .play { width: 0; height: 0; border-left: 10px solid var(--ink); border-block: 6px solid transparent; }
.wave { display: flex; align-items: center; gap: 2px; height: 22px; }
.wave i { width: 3px; border-radius: 2px; background: rgba(244, 243, 238, 0.55); }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 14px; border-top-left-radius: 4px; background: #232321; }
.typing[hidden] { display: none; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-mute); animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }

/* ---------- Dores ---------- */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.pain { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); background: var(--card); }
.pain__time { color: var(--accent); }
.pain h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; }
.pain p { color: var(--ink-dim); font-size: 15.5px; }
@media (max-width: 860px) { .pains { grid-template-columns: 1fr; } }

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.step {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 28px 24px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}
.step__n { font-family: var(--font-serif); font-style: italic; font-size: 44px; line-height: 1; }
.step__bar { width: 36px; height: 4px; border-radius: 2px; }
.step h3 { font-size: 20px; letter-spacing: -0.015em; }
.step p { color: var(--ink-dim); font-size: 15.5px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Recursos ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft-bg);
  color: var(--accent-soft-ink);
}
.feature__icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 17.5px; letter-spacing: -0.01em; line-height: 1.3; }
.feature p { color: var(--ink-dim); font-size: 15px; line-height: 1.55; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- Bloco dividido (texto + lista) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split__copy { display: grid; gap: 22px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.checklist { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: "→";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent-soft-bg);
  color: var(--accent-soft-ink);
  font-size: 13px;
  font-weight: 600;
}
.checklist strong { display: block; font-weight: 600; }
.checklist span { color: var(--ink-dim); font-size: 15.5px; }

/* ---------- Para quem é ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-dim); font-size: 15px; }

/* ---------- Faixa de frase ---------- */
.quote { display: grid; gap: 28px; justify-items: center; text-align: center; }
.quote p { max-width: 22em; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-weight: 400;
  transition: transform 240ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 46em; padding-bottom: 26px; color: var(--ink-dim); }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__copy { display: grid; gap: 22px; }
.contact__steps { display: grid; gap: 14px; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: c; }
.contact__steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: var(--ink-dim); font-size: 15.5px; }
.contact__steps li::before { counter-increment: c; content: counter(c); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft-bg); color: var(--accent-soft-ink); font-family: var(--font-mono); font-size: 12px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.form { padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: 0 30px 60px -40px rgba(18, 18, 18, 0.25); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: block; margin-bottom: 22px; }
.field__label { display: block; margin-bottom: 6px; color: var(--ink-mute); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.field input, .field select {
  width: 100%;
  height: 46px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--field-line);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* evita zoom automático no iPhone */
  transition: border-color 200ms ease;
}
.field select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-mute) 50%), linear-gradient(135deg, var(--ink-mute) 50%, transparent 50%); background-position: calc(100% - 12px) 21px, calc(100% - 7px) 21px; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.field select option { background: var(--card); color: var(--ink); }
.field input::placeholder { color: var(--placeholder); }
.field input:focus, .field select:focus { border-bottom-color: var(--ink); }
.field.is-invalid input { border-bottom-color: var(--error); }

.check { position: relative; display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; color: var(--ink-dim); font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { position: absolute; width: 18px; height: 18px; margin: 0; opacity: 0; }
.check__box { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border: 1px solid var(--line-strong); border-radius: 5px; transition: background-color 160ms ease, border-color 160ms ease; }
.check input:checked + .check__box { background: var(--lime); border-color: rgba(18, 18, 18, 0.3); }
.check input:checked + .check__box::after { content: ""; width: 5px; height: 9px; margin-top: -2px; border: solid #0a0a0a; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check input:focus-visible + .check__box { outline: 2px solid var(--focus); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: var(--error); }
.check a { color: var(--ink); }
.check--hint span em { color: var(--accent); font-style: normal; font-weight: 500; }

.form__foot { display: grid; gap: 14px; margin-top: 22px; }
.form__foot .btn { width: 100%; }
.form__note { color: var(--ink-mute); font-size: 13.5px; }
.form__note.is-error { color: var(--error); }
.btn.is-done { background: var(--c-green); color: #fff; }

/* ---------- Rodapé (escuro) ---------- */
.footer { padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--bg); color: var(--ink-mute); font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__logo { width: 112px; opacity: 0.9; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ---------- Pacote: nomes das 3 frentes e o botão de juntar (criados pelo js/particulas.js) ---------- */
.trio { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.trio__rotulo {
  position: absolute;
  transform: translateX(-50%);
  color: var(--prod-escuro);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 400ms var(--ease-out);
}
:root[data-tema="grafite"] .trio__rotulo { color: var(--prod-claro); }
.is-junto .trio__rotulo { opacity: 0; }
.trio__dica {
  position: absolute;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  animation: pulso 2.4s ease-out infinite;
  transition: border-color 200ms ease;
}
.trio__dica:active { transform: translateX(-50%) scale(0.97); }
@media (hover: hover) and (pointer: fine) { .trio__dica:hover { border-color: var(--ink); } }
.is-junto .trio__dica { animation: none; }
@keyframes pulso {
  0% { box-shadow: 0 0 0 0 rgba(212, 255, 0, 0.75); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(212, 255, 0, 0); }
}
@media (max-width: 899px) {
  .trio__rotulo { display: none; }
  .trio__dica { padding: 7px 14px; font-size: 13px; }
}

/* ---------- Vitrine: as 7 LPs lado a lado ---------- */
.vitrine { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.vitrine__item {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform 200ms var(--ease-out), border-color 200ms ease;
}
.vitrine__item::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--prod-barra); }
.vitrine__icone { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--prod) 22%, transparent); color: var(--prod-escuro); }
:root[data-tema="grafite"] .vitrine__icone { color: var(--prod-claro); }
.vitrine__icone svg { width: 26px; height: 26px; }
.vitrine__item h3 { font-size: 20px; letter-spacing: -0.015em; }
.vitrine__item p { color: var(--ink-dim); font-size: 15px; }
.vitrine__item .mono { color: var(--ink-mute); font-size: 11px; }
.vitrine__ir { margin-top: 6px; font-size: 14px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .vitrine__item:hover { transform: translateY(-3px); border-color: var(--line-strong); } }

/* ---------- Página em construção (abaixo do hero) ---------- */
.construcao { display: grid; gap: 14px; justify-items: start; max-width: 640px; }
.construcao p { color: var(--ink-dim); }

/* ---------- Revelar ao rolar ---------- */
.reveal { transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js .reveal:not(.is-in), .msg, .js .event:not(.is-on) { transition: none; opacity: 1; transform: none; }
  .js .line__inner, .js .hero__eyebrow, .js .hero__lede, .js .hero__ctas, .js .hero__proof { animation: none; }
  .typing i { animation: none; }
  .trio__dica { animation: none; }
}
