/* Engrena Growth · Editorial Noir
   Um único acento violeta. O verde do WhatsApp aparece só no botão flutuante. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2-variations"),
       url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  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: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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 {
  --bg: #0a0a0f;
  --bg-raised: #111118;
  --surface: #15151e;
  --surface-2: #1b1b26;
  --line: rgba(237, 235, 242, 0.09);
  --line-strong: rgba(237, 235, 242, 0.16);
  --text: #edebf2;
  --muted: #a9a6b6;
  --faint: #7d7a8c;
  --accent: #8b5cf6;
  --accent-strong: #7c3aed;
  --accent-deep: #6d28d9;
  --accent-text: #b8a2fb;
  --accent-soft: rgba(139, 92, 246, 0.14);
  --accent-line: rgba(139, 92, 246, 0.42);
  --wa: #25d366;
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 64px;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: 88px; /* espaço para o botão flutuante no celular */
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

img, svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }

a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }

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

::selection { background: var(--accent-strong); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.4rem + 4.6vw, 4.5rem); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 1.35rem + 2.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.2; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

em { font-style: italic; }

.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;
}

.skip-link {
  position: absolute;
  left: 16px; top: -80px;
  z-index: 200;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--bg); }

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 768px) {
  .container { padding-inline: 32px; }
}

.narrow { max-width: 760px; }

/* ---------- Cabeçalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { color: var(--text); }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand-dot { color: var(--accent); }
.brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}
.site-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  position: relative;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  margin-left: -9px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 879px) {
  .nav-toggle { display: inline-block; order: 3; }
  .header-cta { order: 2; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .site-nav a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav li:last-child a { border-bottom: 0; }
}
@media (min-width: 880px) {
  .site-nav { margin-right: 8px; }
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent-line); color: var(--text); background: var(--accent-soft); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.92rem; }
.btn-sm svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

@media (max-width: 379px) {
  .header-cta span { display: none; }
  .header-cta { padding: 8px 11px; }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) {
  .btn-row .btn { width: 100%; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-text);
}
.link-arrow::after { content: "\2192"; transition: transform 0.18s ease; font-family: var(--font-body); }
.link-arrow:hover { color: var(--text); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Seções ---------- */

.section { padding-block: 72px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .section { padding-block: 112px; } }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
}

.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* ---------- Abertura ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 64px 72px;
}
@media (min-width: 768px) { .hero { padding-block: 96px 104px; } }

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% -10% -10%;
  z-index: -2;
  background:
    radial-gradient(42% 38% at 78% 22%, rgba(124, 58, 237, 0.42), transparent 70%),
    radial-gradient(30% 30% at 62% 46%, rgba(167, 139, 250, 0.16), transparent 70%),
    radial-gradient(36% 34% at 12% 88%, rgba(109, 40, 217, 0.22), transparent 72%),
    radial-gradient(20% 18% at 90% 70%, rgba(139, 92, 246, 0.12), transparent 70%);
  filter: blur(8px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
}

.hero-eyebrow { margin-bottom: 24px; }
.hero h1 { max-width: 15ch; margin-bottom: 24px; }
.hero h1 em { display: block; color: var(--accent-text); font-weight: 480; }
.hero-lede { max-width: 620px; font-size: 1.15rem; color: #cfcbdb; margin-bottom: 32px; }
@media (min-width: 768px) { .hero-lede { font-size: 1.25rem; } }

.hero-proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 760px;
}
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 560;
  line-height: 1.1;
  color: var(--text);
}
.hero-proof span { font-size: 0.88rem; color: var(--muted); }
.hero-proof-note { flex-basis: 100%; font-size: 0.8rem; color: var(--faint); }

/* ---------- Cartões genéricos ---------- */

.grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 979px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-raised) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
@media (min-width: 768px) { .card { padding: 28px; } }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }

.problem-card h3 { font-style: italic; font-weight: 500; }
.problem-card::before {
  content: "";
  position: absolute;
  top: 24px; left: 0;
  width: 3px; height: 28px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
}

.audience {
  margin-top: 48px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
@media (min-width: 768px) { .audience { padding: 32px; } }
.audience h3 { margin-bottom: 16px; }
.audience ul { list-style: none; display: grid; gap: 12px; }
@media (min-width: 900px) { .audience ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.audience li { color: var(--muted); padding-left: 20px; position: relative; }
.audience li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Método ---------- */

.method-principle {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 16px;
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.98rem;
}
.method-principle strong { font-weight: 600; }

.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.step { display: flex; flex-direction: column; }
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.step h3 { font-size: 1.6rem; }
.step p { flex-grow: 1; }
.step-proof {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.step-proof span { display: block; color: var(--faint); font-size: 0.78rem; letter-spacing: 0.01em; margin-bottom: 4px; }
.step-proof a { text-decoration: none; }
.step-proof a + a { margin-top: 6px; }
.step-proof .link-arrow { display: flex; align-items: flex-start; }
.step-proof .link-arrow::after { margin-top: 1px; }

/* ---------- Duas metades ---------- */

.halves { display: grid; gap: 16px; }
@media (min-width: 800px) { .halves { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.half h3 { display: flex; align-items: baseline; gap: 10px; }
.half h3 small { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.01em; color: var(--faint); }
.half ul { list-style: none; display: grid; gap: 10px; margin-top: 8px; }
.half li { padding-left: 22px; position: relative; color: var(--muted); }
.half li::before { content: "\2192"; position: absolute; left: 0; color: var(--accent-text); font-family: var(--font-body); }
.halves-join {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2.2rem; color: var(--accent);
  padding: 4px;
}
.speed-note {
  margin-top: 24px;
  color: var(--muted);
  max-width: 760px;
}
.speed-note strong { color: var(--text); font-weight: 600; }

/* ---------- Números ---------- */

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { background: var(--bg); padding: 22px 16px; }
@media (min-width: 768px) { .stat { padding: 32px 28px; } }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.stat-label { display: block; font-weight: 600; font-size: 0.98rem; }
.stat-detail { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 4px; }
.stats-note { margin-top: 16px; color: var(--faint); font-size: 0.88rem; }

/* ---------- Selos ---------- */

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.badge, .tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.badge-validado { border: 1px solid var(--accent-line); color: var(--accent-text); }
.badge-validado::before { border: 1.5px solid var(--accent-text); width: 6px; height: 6px; }
.badge-producao { background: var(--accent-strong); color: #fff; }
.badge-producao::before { background: #fff; }
.tag { border: 1px solid var(--line-strong); color: var(--muted); font-weight: 500; }

/* ---------- Cases ---------- */

.case-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: border-color 0.2s ease, transform 0.2s ease; }
.case-card:hover { border-color: var(--accent-line); color: var(--text); }
.case-card .tags { margin-bottom: 24px; }
.case-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.9rem + 2vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.case-number-label { color: var(--faint); font-size: 0.85rem; margin-bottom: 20px; }
.case-card h3 { flex-grow: 1; margin-bottom: 20px; }
.case-card .link-arrow { margin-top: auto; }
@media (prefers-reduced-motion: no-preference) {
  .case-card:hover { transform: translateY(-2px); }
}

/* ---------- Como contratar ---------- */

.offer { display: flex; flex-direction: column; }
.offer-step { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; color: var(--accent-text); margin-bottom: 12px; }
.offer h3 { font-size: 1.55rem; }
.offer-for { color: var(--text) !important; font-size: 0.98rem; }
.offer ul { list-style: none; display: grid; gap: 10px; margin: 8px 0 20px; }
.offer li { padding-left: 22px; position: relative; color: var(--muted); font-size: 0.97rem; }
.offer li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border: 1.5px solid var(--accent); border-radius: 2px; }
.offer li strong { color: var(--text); font-weight: 600; }
.offer-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.offer-featured { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(124, 58, 237, 0.14) 0%, var(--bg-raised) 70%); }

.how-start {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}
.how-start p { margin: 0; color: var(--muted); flex: 1 1 320px; }
.how-start strong { color: var(--text); }

/* ---------- Sobre ---------- */

.about { display: grid; gap: 40px; }
@media (min-width: 960px) { .about { grid-template-columns: 1fr 1.25fr; gap: 64px; } }
.about-intro p { color: var(--muted); font-size: 1.08rem; }
.about-intro .about-name { color: var(--text); }
.contexts { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.context { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
@media (min-width: 600px) { .context { grid-template-columns: 150px 1fr; gap: 20px; } }
.context-where { font-weight: 600; }
.context-where span { display: block; color: var(--faint); font-weight: 500; font-size: 0.85rem; }
.context blockquote { margin: 0; color: var(--muted); font-family: var(--font-display); font-style: italic; font-size: 1.08rem; line-height: 1.5; }
.education { margin-top: 28px; }
.education h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.education ul { list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Ferramentas ---------- */

.stack { display: grid; gap: 24px; }
@media (min-width: 800px) { .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; } }
.stack-group h3 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em; color: var(--faint); margin-bottom: 10px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.92rem; color: #d6d3e0; background: rgba(255, 255, 255, 0.02); }

/* ---------- Perguntas frequentes ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-text);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-answer { padding: 0 0 24px; color: var(--muted); max-width: 720px; }

/* ---------- Contato ---------- */

.contact { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; } }

.form { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } }
.form-row { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field label .opt { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
  color: var(--text);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(237, 235, 242, 0.28); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: 0.85rem; color: var(--faint); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { min-height: 1.5em; font-size: 0.95rem; margin: 0; }
.form-status.is-error { color: #fca5a5; }
.form-status.is-ok { color: var(--accent-text); }
.turnstile-box { min-height: 65px; }

.contact-aside { display: grid; gap: 12px; }
@media (max-width: 959px) { .contact-aside { order: -1; } }
.contact-link {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease;
  min-width: 0;
}
.contact-link:hover { border-color: var(--accent-line); color: var(--text); }
.contact-link svg { width: 24px; height: 24px; color: var(--accent-text); }
.contact-link strong { display: block; font-weight: 600; }
.contact-link span { display: block; color: var(--muted); font-size: 0.9rem; overflow-wrap: anywhere; }
.contact-link-wa { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(124, 58, 237, 0.16), var(--bg-raised)); }

/* ---------- Rodapé ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 48px 40px; color: var(--muted); font-size: 0.92rem; }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1fr auto; align-items: end; } }
.footer-sign { margin-top: 10px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-copy { grid-column: 1 / -1; color: var(--faint); font-size: 0.85rem; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Botão flutuante do WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 60;
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--wa);
  color: #0a0a0f;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { color: #0a0a0f; }
@media (prefers-reduced-motion: no-preference) {
  .wa-float:hover { transform: scale(1.06); }
}
@media (min-width: 768px) {
  .wa-float { right: 24px; bottom: 24px; }
}

/* ---------- Páginas internas (cases, obrigado, privacidade, 404) ---------- */

.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 48px 40px; }
@media (min-width: 768px) { .page-hero { padding-block: 88px 56px; } }
.page-hero::before {
  content: "";
  position: absolute;
  inset: -30% -20% 0 30%;
  z-index: -1;
  background: radial-gradient(45% 50% at 70% 30%, rgba(124, 58, 237, 0.28), transparent 70%);
  filter: blur(10px);
}
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); max-width: 22ch; }
.page-hero .lede { color: var(--muted); font-size: 1.12rem; max-width: 640px; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.88rem; color: var(--faint); margin-bottom: 28px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--faint); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }

.case-meta { margin-bottom: 24px; }
.case-hero-number { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.case-hero-number strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 2rem + 3vw, 4rem); line-height: 1; color: var(--accent); letter-spacing: -0.02em; }
.case-hero-number span { color: var(--muted); }

.case-body { padding-block: 8px 72px; }
.case-section { display: grid; gap: 8px; padding-block: 28px; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .case-section { grid-template-columns: 200px 1fr; gap: 32px; padding-block: 36px; } }
.case-section h2 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.01em; color: var(--accent-text); margin: 4px 0 0; }
.case-section p { color: #d3d0dd; font-size: 1.1rem; }
.case-section-proof p { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; color: var(--text); }
.case-context { margin-top: 8px; padding: 16px 20px; border-left: 2px solid var(--accent); background: var(--bg-raised); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); font-size: 0.95rem; }

.cta-box {
  margin-top: 48px;
  padding: 32px 24px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  background: radial-gradient(80% 120% at 100% 0%, rgba(124, 58, 237, 0.24), transparent 60%), var(--bg-raised);
}
@media (min-width: 768px) { .cta-box { padding: 44px; } }
.cta-box h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); max-width: 22ch; }
.cta-box p { color: var(--muted); max-width: 560px; margin-bottom: 24px; }

.pager { display: grid; gap: 12px; margin-top: 40px; }
@media (min-width: 700px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.pager a:hover { border-color: var(--accent-line); color: var(--text); }
.pager span { display: block; font-size: 0.8rem; color: var(--faint); letter-spacing: 0.01em; margin-bottom: 4px; }
.pager .pager-next { text-align: right; }
@media (min-width: 700px) { .pager .pager-next { grid-column: 2; } }
@media (max-width: 699px) { .pager .pager-next { text-align: left; } }

.prose { padding-block: 8px 80px; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #d3d0dd; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; margin-bottom: 1em; }
.prose li::marker { color: var(--accent); }

.next-steps { list-style: none; counter-reset: ns; display: grid; gap: 14px; margin: 28px 0 36px; padding: 0; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; color: var(--muted); }
.next-steps li::before { content: counter(ns, decimal-leading-zero); font-family: var(--font-display); font-size: 1.3rem; color: var(--accent); line-height: 1.3; }

/* ---------- Movimento ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal-ready { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal-ready.is-visible { opacity: 1; transform: none; }
}

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