/* =====================================================================
   ALT F4 — Landing Page
   Lattaro.online / investimentos/altf4
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg:            #0F1013;
  --bg-soft:       #131418;
  --surface-1:     #1A1B20;
  --surface-2:     #22232A;
  --keycap-top:    #1E1F25;
  --keycap-bevel:  #2C2D35;
  --keycap-shadow: #08090B;
  --border:        #2B2C33;
  --border-strong: #3A3B44;
  --text-primary:  #F2F1ED;
  --text-secondary:#A6A59D;
  --text-muted:    #6E6D67;
  --accent:        #4FE8FF;
  --accent-dim:    rgba(79,232,255,.14);
  --accent-text:   #B9F5FF;
  --success:       #9FE1CB;

  --font-display:  'IBM Plex Mono', ui-monospace, monospace;
  --font-body:     'Inter', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

[data-theme="light"]{
  --bg:            #F3F2EE;
  --bg-soft:       #EAE9E3;
  --surface-1:     #FFFFFF;
  --surface-2:     #F7F6F2;
  --keycap-top:    #FFFFFF;
  --keycap-bevel:  #DAD8D0;
  --keycap-shadow: #C7C5BB;
  --border:        #DEDCD3;
  --border-strong: #C7C5BB;
  --text-primary:  #17171A;
  --text-secondary:#54534C;
  --text-muted:    #8B897F;
  --accent:        #0C8CA3;
  --accent-dim:    rgba(12,140,163,.10);
  --accent-text:   #086578;
  --success:       #0F6E56;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}

.container-alt{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
p{ margin: 0; }
::selection{ background: var(--accent-dim); color: var(--accent-text); }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =====================================================================
   NAVBAR — estilo "command bar"
   ===================================================================== */
.navbar-alt{
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar-alt .inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 64px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-display); font-weight:700; font-size: 15px;
  color: var(--text-primary);
}
.brand .key{
  font-size: 11px; padding: 3px 7px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-1);
  color: var(--accent-text);
}
.nav-links{ display:flex; align-items:center; gap: 28px; }
.nav-links a{
  font-size: 14px; color: var(--text-secondary);
  transition: color .15s ease;
}
.nav-links a:hover{ color: var(--text-primary); }

.theme-toggle{
  display:flex; align-items:center; gap:6px;
  background: var(--surface-1); border:1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 6px 10px;
  font-family: var(--font-display); font-size: 11px; color: var(--text-secondary);
  cursor:pointer;
}
.theme-toggle:hover{ border-color: var(--accent); color: var(--text-primary); }

.btn-nav-cta{
  font-family: var(--font-display); font-size: 13px; font-weight:600;
  padding: 9px 16px; border-radius: var(--radius-sm);
  background: var(--accent); color: #05262C;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero{
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-grid{
  display:grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items:center;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-display); font-size: 12px; letter-spacing: .04em;
  color: var(--accent-text); background: var(--accent-dim);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1{
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  color: var(--text-primary);
}
.hero h1 span{ color: var(--accent-text); }
.hero .lede{
  font-size: 18px; color: var(--text-secondary);
  margin-top: 20px; max-width: 480px;
}
.hero-cta-row{
  display:flex; align-items:center; gap:16px; margin-top: 34px; flex-wrap: wrap;
}
.btn-primary{
  font-family: var(--font-display); font-weight:600; font-size: 14px;
  background: var(--accent); color:#05262C;
  padding: 14px 22px; border-radius: var(--radius-sm);
  border: none; cursor:pointer;
  box-shadow: 0 0 0 0 rgba(79,232,255,0);
  transition: box-shadow .2s ease, transform .15s ease;
}
.btn-primary:hover{ box-shadow: 0 0 24px rgba(79,232,255,.35); transform: translateY(-1px); }
.btn-ghost{
  font-family: var(--font-display); font-size: 14px; color: var(--text-secondary);
  padding: 14px 6px; border-bottom: 1px solid var(--border-strong);
}
.btn-ghost:hover{ color: var(--text-primary); border-color: var(--accent); }

.hero-note{
  margin-top: 18px; font-size: 13px; color: var(--text-muted);
  font-family: var(--font-display);
}

/* --- keycap press widget --- */
.keys-stage{
  display:flex; flex-direction:column; align-items:center; gap:22px;
}
.keys-row{ display:flex; align-items:flex-end; gap:18px; }

.keycap{
  --kw: 128px;
  width: var(--kw); height: 96px;
  background: linear-gradient(180deg, var(--keycap-top), var(--surface-1));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 0 var(--keycap-shadow), 0 14px 24px rgba(0,0,0,.35);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  cursor: pointer;
  user-select:none;
  transition: transform .08s ease, box-shadow .08s ease;
  font-family: var(--font-display);
}
.keycap.plus{
  width: 40px; height: 40px; align-self:center;
  box-shadow: 0 5px 0 var(--keycap-shadow);
  font-size: 18px; color: var(--text-muted);
  cursor: default;
}
.keycap .k-label{ font-size: 22px; font-weight:700; color: var(--text-primary); }
.keycap .k-sub{ font-size: 10px; color: var(--text-muted); margin-top:4px; letter-spacing:.06em; }

.keycap:active,
.keycap.pressed{
  transform: translateY(6px);
  box-shadow: 0 2px 0 var(--keycap-shadow);
}
.keycap.pressed{ border-color: var(--accent); }
.keycap.pressed .k-label{ color: var(--accent-text); }

.deal-toast{
  display:flex; align-items:center; gap:10px;
  background: var(--surface-1); border:1px solid var(--border-strong);
  border-left: 3px solid var(--success);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-display); font-size: 13px;
  color: var(--text-secondary);
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
  min-width: 260px;
}
.deal-toast.show{ opacity:1; transform: translateY(0); }
.deal-toast strong{ color: var(--success); }

.stage-hint{ font-size: 12px; color: var(--text-muted); font-family: var(--font-display); }

/* =====================================================================
   PROBLEM SECTION
   ===================================================================== */
.section{ padding: 88px 0; }
.section-tight{ padding: 64px 0; }
.section-head{ max-width: 620px; margin-bottom: 48px; }
.section-head .eyebrow{ margin-bottom: 16px; }
.section-head h2{ font-size: clamp(26px, 3vw, 34px); color: var(--text-primary); }
.section-head p{ color: var(--text-secondary); font-size: 16px; margin-top: 14px; }

.problem-row{
  display:grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.problem-card{
  background: var(--surface-1); border:1px solid var(--border);
  border-radius: var(--radius-md); padding: 26px;
}
.problem-card .k{
  display:inline-block; font-family: var(--font-display); font-size:11px;
  color: var(--text-muted); border:1px solid var(--border-strong);
  padding: 3px 8px; border-radius: var(--radius-sm); margin-bottom: 16px;
}
.problem-card h3{ font-size: 16px; color: var(--text-primary); margin-bottom: 8px; }
.problem-card p{ font-size: 14px; color: var(--text-secondary); }

/* =====================================================================
   FEATURES ("comandos")
   ===================================================================== */
.bg-soft{ background: var(--bg-soft); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }

.cmd-list{ display:flex; flex-direction:column; border-top:1px solid var(--border); }
.cmd-row{
  display:grid; grid-template-columns: 160px 1fr 1.3fr;
  align-items:center; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.cmd-shortcut{
  font-family: var(--font-display); font-size: 13px; color: var(--accent-text);
  background: var(--accent-dim); border:1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: 6px 10px; border-radius: var(--radius-sm); width: fit-content;
}
.cmd-title{ font-family: var(--font-display); font-size: 16px; color: var(--text-primary); }
.cmd-desc{ font-size: 14px; color: var(--text-secondary); }

/* =====================================================================
   PIPELINE PREVIEW (kanban mock)
   ===================================================================== */
.kanban-preview{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:16px;
  background: var(--surface-2); border:1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
}
.kanban-col-title{
  font-family: var(--font-display); font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing:.05em; margin-bottom: 12px;
  display:flex; justify-content:space-between;
}
.kanban-card{
  background: var(--surface-1); border:1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px; margin-bottom: 10px;
  font-size: 13px;
}
.kanban-card .name{ color: var(--text-primary); font-weight:600; margin-bottom:4px; }
.kanban-card .val{ color: var(--text-secondary); font-family: var(--font-display); font-size: 12px; }
.kanban-card.won{ border-color: color-mix(in srgb, var(--success) 40%, var(--border)); }
.kanban-card.won .val{ color: var(--success); }

/* =====================================================================
   PRICING
   ===================================================================== */
.pricing-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price-key{
  position:relative;
  background: var(--surface-1); border:1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 0 var(--keycap-shadow);
  padding: 32px;
}
.price-key.featured{ border-color: var(--accent); box-shadow: 0 6px 0 var(--keycap-shadow), 0 0 30px rgba(79,232,255,.14); }
.price-tag{
  font-family: var(--font-display); font-size: 12px; color: var(--text-muted);
  border:1px solid var(--border-strong); padding: 4px 9px; border-radius: var(--radius-sm);
  width: fit-content; margin-bottom: 18px;
}
.price-key.featured .price-tag{ color: var(--accent-text); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.price-value{ font-family: var(--font-display); font-size: 40px; color: var(--text-primary); }
.price-value small{ font-size: 15px; color: var(--text-muted); font-weight:400; }
.price-desc{ font-size: 14px; color: var(--text-secondary); margin: 10px 0 22px; }
.price-feats{ list-style:none; padding:0; margin: 0 0 26px; display:flex; flex-direction:column; gap:10px; }
.price-feats li{ font-size: 14px; color: var(--text-secondary); display:flex; gap:10px; align-items:flex-start; }
.price-feats li::before{ content:'✓'; color: var(--success); font-weight:700; }
.btn-block{ display:block; width:100%; text-align:center; }

/* =====================================================================
   FINAL CTA
   ===================================================================== */
.final-cta{
  text-align:center; padding: 96px 0 100px;
}
.final-cta h2{ font-size: clamp(28px,3.6vw,40px); max-width: 620px; margin: 0 auto 18px; }
.final-cta p{ color: var(--text-secondary); font-size: 16px; margin-bottom: 34px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
footer{
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-row{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
.footer-links{ display:flex; gap:22px; }
.footer-links a{ font-size: 13px; color: var(--text-secondary); }
.footer-links a:hover{ color: var(--text-primary); }
.footer-copy{ font-size: 13px; color: var(--text-muted); font-family: var(--font-display); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991px){
  .hero-grid{ grid-template-columns: 1fr; }
  .keys-stage{ margin-top: 20px; }
  .problem-row{ grid-template-columns: 1fr; }
  .cmd-row{ grid-template-columns: 1fr; gap: 8px; }
  .kanban-preview{ grid-template-columns: 1fr 1fr; }
  .pricing-row{ grid-template-columns: 1fr; }
  .nav-links{ display:none; }
}
@media (max-width: 575px){
  .keycap{ --kw: 96px; height: 80px; }
  .kanban-preview{ grid-template-columns: 1fr; }
  .hero{ padding: 64px 0 48px; }
  .section{ padding: 64px 0; }
}
