/* ======================================================
   WOLF PAY — DESIGN TOKENS
   Paleta: tinta profunda + dourado terroso + papel quente
   Tipografia: Fraunces (display) + IBM Plex Sans (corpo) + IBM Plex Mono (rótulos)
   ====================================================== */

:root {
  --ink: #14213D;
  --ink-soft: #2A3A5C;
  --paper: #FAF8F3;
  --paper-alt: #F1ECE0;
  --gold: #C68A2B;
  --gold-dark: #A8721F;
  --teal: #35594F;
  --line: #E3DCCB;
  --line-strong: #CFC6AE;
  --text: #1C2333;
  --text-muted: #5B5648;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-soft: 0 12px 32px -18px rgba(20, 33, 61, 0.35);
  --max-width: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-narrow { max-width: 720px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

.lede {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin-top: 14px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
}

/* ================= BUTTONS ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.96rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--ink-soft); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-small { padding: 9px 18px; font-size: 0.86rem; }
.btn-full { width: 100%; }

.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.logo-mark { color: var(--gold-dark); }
.logo-word {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}
.logo-word-accent { color: var(--gold-dark); }

.main-nav {
  display: none;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
}
.main-nav a { color: var(--text-muted); transition: color 0.15s ease; }
.main-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.header-actions .btn-small { display: none; }

.nav-toggle {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 20px 20px;
  border-top: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }
.mobile-nav a:not(.btn) {
  padding: 12px 4px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 14px; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-actions .btn-small { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ================= HERO ================= */

.hero {
  padding: 56px 0 64px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  gap: 44px;
}

.hero-sub { font-size: 1.12rem; color: var(--text-muted); max-width: 46ch; margin-top: 16px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-visual { position: relative; }

.demo-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--paper-alt);
  border: 1px solid var(--line-strong);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.mockup-group {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0 30px;
}

/* Desktop mockup */
.mockup-desktop {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}
.mockup-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
}
.mockup-bar span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-strong);
}

.mockup-screen { padding: 18px; }

.demo-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.demo-brand { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--ink); white-space: nowrap; }
.demo-link { width: 34px; height: 7px; border-radius: 4px; background: var(--line-strong); margin-left: auto; }
.demo-link:not(:last-child) { margin-left: 0; }
.demo-link + .demo-link { margin-left: 10px; }

.demo-hero { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.demo-hero-text { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.demo-line { display: block; height: 9px; border-radius: 4px; background: var(--line-strong); }
.demo-line-lg { width: 100%; height: 13px; background: var(--ink-soft); opacity: 0.85; }
.demo-line-md { width: 75%; }
.demo-line-sm { width: 50%; }
.demo-chip {
  margin-top: 6px;
  display: inline-block;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
}
.demo-hero-img {
  flex: 1;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--paper-alt), var(--line));
}

.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.demo-card { aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--paper-alt); border: 1px solid var(--line); }

/* Phone mockup — overlapping the desktop on larger screens */
.mockup-phone {
  width: 148px;
  background: var(--ink);
  border-radius: 22px;
  padding: 8px;
  box-shadow: var(--shadow-soft);
  position: absolute;
  right: 6%;
  bottom: -14px;
}
.mockup-phone-notch {
  width: 40px;
  height: 5px;
  background: var(--ink-soft);
  border-radius: 4px;
  margin: 0 auto 6px;
}
.mockup-screen-phone {
  background: var(--white);
  border-radius: 14px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-nav-phone { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.demo-nav-phone .demo-brand { font-size: 0.72rem; }
.demo-hero-img-phone { aspect-ratio: 16/10; }
.demo-whatsapp {
  margin-top: 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--teal);
  color: var(--white);
  padding: 8px;
  border-radius: 6px;
}

@media (max-width: 560px) {
  .mockup-phone { position: static; margin: 20px auto 0; }
  .mockup-group { flex-direction: column; align-items: center; gap: 0; }
}

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr 1fr; align-items: center; }
}

/* ================= SECTIONS (generic) ================= */

.section { padding: 64px 0; }
.section-alt { background: var(--paper-alt); }
.section-title { max-width: 44ch; }

.point-list {
  margin-top: 40px;
  display: grid;
  gap: 28px;
}
.point {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}
.point h3 { margin-bottom: 6px; }
.point p { color: var(--text-muted); }

@media (min-width: 720px) {
  .point-list { grid-template-columns: repeat(3, 1fr); }
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tag-list li {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

/* Benefits */
.benefit-grid {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}
.benefit-card {
  padding: 26px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.benefit-card svg { color: var(--gold-dark); margin-bottom: 14px; }
.benefit-card p { color: var(--text-muted); margin-top: 6px; font-size: 0.94rem; }

@media (min-width: 640px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .benefit-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Channels diagram */
.channel-diagram {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.channel-node {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  padding: 14px 20px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.channel-node-result {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  font-weight: 600;
}
.channel-plus, .channel-arrow { color: var(--gold-dark); font-family: var(--font-mono); font-size: 1rem; }
.channel-arrow { width: 100%; display: block; text-align: left; padding-left: 4px; }

/* Feature grid */
.feature-grid {
  margin-top: 40px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature-card {
  background: var(--paper);
  padding: 24px;
}
.feature-card p { color: var(--text-muted); margin-top: 4px; font-size: 0.92rem; }

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Audience */
.audience-list {
  list-style: none;
  margin-top: 36px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.audience-list li {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}
@media (min-width: 720px) {
  .audience-list { grid-template-columns: repeat(2, 1fr); }
  .audience-list li:nth-child(odd) { padding-right: 20px; }
  .audience-list li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-strong); }
}

/* Process */
.process-list {
  list-style: none;
  margin-top: 40px;
  display: grid;
  gap: 28px;
}
.process-step { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.process-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.process-step p { color: var(--text-muted); margin-top: 4px; }

@media (min-width: 800px) {
  .process-list { grid-template-columns: repeat(4, 1fr); }
}

/* Showcase */
.showcase-frame { margin-top: 40px; }
.showcase-frame .mockup-showcase { max-width: 620px; margin: 0 auto; }

/* FAQ */
.faq-list { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  width: 18px; height: 18px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.2s ease;
}
.faq-icon::before { width: 100%; height: 1.6px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-icon::after { width: 1.6px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translateX(-50%) scaleY(0); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { padding: 0 4px 18px; color: var(--text-muted); max-width: 60ch; }

/* Form */
.lead-form { margin-top: 36px; display: grid; gap: 20px; }
.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row label, .form-row legend {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}
.optional { font-weight: 400; color: var(--text-muted); }

.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--gold-dark);
}

fieldset.form-row { border: none; padding: 0; }
.radio-group { display: flex; gap: 20px; margin-top: 4px; }
.radio-option { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 0.94rem; }

.form-status { min-height: 20px; font-size: 0.9rem; }
.form-status.success { color: var(--teal); }
.form-status.error { color: #A3402D; }

/* CTA final */
.cta-final { background: var(--ink); color: var(--paper); text-align: left; }
.cta-final h2 { color: var(--paper); }
.cta-final .lede { color: rgba(250, 248, 243, 0.72); }
.cta-final .btn-ghost { color: var(--paper); border-color: rgba(250, 248, 243, 0.4); }
.cta-final .btn-ghost:hover { border-color: var(--paper); }
.cta-final .btn-primary { background: var(--gold); color: var(--ink); }
.cta-final .btn-primary:hover { background: var(--gold-dark); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer-inner {
  display: grid;
  gap: 32px;
}
.footer-brand p { color: var(--text-muted); margin-top: 8px; max-width: 32ch; font-size: 0.92rem; }
.footer-nav, .footer-legal { display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.9rem; color: var(--text-muted); }
.footer-legal { padding-top: 8px; border-top: 1px solid var(--line); }

@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.2fr 1fr; }
  .footer-legal { border-top: none; padding-top: 0; justify-content: flex-end; }
}