/* ═══════════════════════════════════════════
   HorasProf — Landing Page
═══════════════════════════════════════════ */

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

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

:root {
  --bg:        #05090F;
  --bg2:       #0A1020;
  --bg3:       #0F1929;
  --card:      #111827;
  --card2:     #1A2438;
  --border:    rgba(255,255,255,.08);
  --blue:      #0B6CB5;
  --blue-lt:   #1A8FE3;
  --blue-glow: rgba(11,108,181,.35);
  --green:     #10B981;
  --green-lt:  #34D399;
  --text:      #F0F4F8;
  --muted:     #8B98A8;
  --muted2:    #5A6478;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Utilitários ──────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(11,108,181,.18);
  border: 1px solid rgba(11,108,181,.4);
  color: #60AEFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}

.badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #60AEFF;
  flex-shrink: 0;
}

/* ── Botões ───────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0A4E7A, #1A8FE3);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: filter .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px var(--blue-glow);
  letter-spacing: .2px;
  white-space: nowrap;
}
.btn-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--blue-glow);
}
.btn-primary:active { transform: scale(.98); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.05);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,9,15,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.5px;
  color: var(--text);
}
.nav-logo .logo-icon { font-size: 22px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }

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

.nav-login {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color .15s;
}
.nav-login:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}

/* fundo decorativo */
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(11,108,181,.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content { display: flex; flex-direction: column; gap: 24px; }

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #fff;
}
.hero-title span { color: var(--blue-lt); }

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted2);
  font-size: 12px;
  font-weight: 500;
}
.hero-trust-dots { display: flex; gap: -4px; }
.hero-trust-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, #4A90D9, #0A4E7A);
  margin-left: -6px;
}
.hero-trust-dot:first-child { margin-left: 0; }

/* ── Mockup do dashboard ─────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup {
  width: 100%;
  max-width: 480px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 1px var(--border);
}

.mockup-bar {
  background: var(--bg3);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28CA41; }
.mockup-url {
  flex: 1;
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  height: 22px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  font-size: 11px;
  color: var(--muted2);
}

.mockup-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.mockup-title { font-size: 14px; font-weight: 800; color: var(--text); }
.mockup-btn {
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.mockup-card {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.mockup-card-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mockup-card-title span { font-size: 10px; color: var(--muted); font-weight: 500; }

.mockup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 11px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.mockup-row:first-of-type { border-top: none; }
.mockup-row-label { color: var(--muted); }
.mockup-row-val   { font-weight: 700; color: var(--text); }
.mockup-row-val.green { color: var(--green-lt); }
.mockup-row-val.red   { color: #F87171; }
.mockup-row-val.blue  { color: #60AEFF; font-size: 14px; }

.mockup-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.06);
  margin: 4px 0;
}

/* ═══════════════════════════════════════════
   LOGOS / CREDIBILIDADE
═══════════════════════════════════════════ */
.trust-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted2);
  font-size: 13px;
  font-weight: 600;
}
.trust-item svg { opacity: .6; }

/* ═══════════════════════════════════════════
   FEATURES — PRINCIPAIS BENEFÍCIOS
═══════════════════════════════════════════ */
.section { padding: 96px 0; }
.section-alt { background: var(--bg2); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
  line-height: 1.15;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover { border-color: rgba(11,108,181,.4); transform: translateY(-3px); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(11,108,181,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}
.feature-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -.3px;
}
.feature-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   COMO FUNCIONA
═══════════════════════════════════════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent 50%, var(--blue));
  opacity: .3;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A4E7A, #1A8FE3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px rgba(11,108,181,.12);
  flex-shrink: 0;
}
.step-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.3px;
}
.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   CALCULOS — DESTAQUE
═══════════════════════════════════════════ */
.calc-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.calc-content { display: flex; flex-direction: column; gap: 24px; }

.calc-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.calc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}
.calc-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 10px;
  color: var(--green-lt);
}

.calc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.calc-card-header {
  background: var(--bg3);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
}
.calc-card-body { padding: 20px; }
.calc-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.calc-row:last-child { border-bottom: none; }
.calc-row-label { color: var(--muted); }
.calc-row-val   { font-weight: 700; }
.calc-row-val.plus  { color: var(--green-lt); }
.calc-row-val.minus { color: #F87171; }
.calc-row--total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.1) !important;
  border-bottom: none !important;
}
.calc-row--total .calc-row-label {
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
}
.calc-row--total .calc-row-val {
  font-size: 22px;
  color: #60AEFF;
}

/* ═══════════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════════ */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 100px 0;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(11,108,181,.2) 0%, transparent 65%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted2);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}
.footer-copy {
  font-size: 13px;
  color: var(--muted2);
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted2);
  transition: color .15s;
}
.footer-links a:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   RESPONSIVO
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner      { grid-template-columns: 1fr; }
  .hero-visual     { display: none; }
  .features-grid   { grid-template-columns: 1fr 1fr; }
  .steps           { grid-template-columns: 1fr; }
  .steps::before   { display: none; }
  .calc-section    { grid-template-columns: 1fr; }
  .nav-links       { display: none; }
}
@media (max-width: 560px) {
  .features-grid   { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 64px 0; }
}
