/* ============================================
   DEVNOVA — COMPONENTS
   ============================================ */

/* ---- LOGO ---- */
.nav-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text);
}
.logo-mark {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 3px 7px;
  letter-spacing: -0.5px;
}

/* ---- NAV LINKS ---- */
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  background: var(--accent);
  color: var(--bg);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background var(--transition);
}
.nav-links .nav-cta:hover { background: var(--accent-dim); color: var(--bg); }

/* ---- EYEBROWS (comentários de código) ---- */
.eyebrow,
.stack-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent-dim);
  margin-bottom: 1.1rem;
}

/* ---- TÍTULOS ---- */
.section-head { max-width: 640px; margin-bottom: 3.5rem; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 1rem;
  text-wrap: balance;
}
.section-sub {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ---- BOTÕES ---- */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--accent-dim); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  border: 1px solid var(--line-2);
  transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover { border-color: var(--accent); background: var(--bg-3); }

/* ---- HERO ---- */
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-eyebrow .prompt {
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 3px 9px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 62px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -2.2px;
  color: var(--text);
  margin-bottom: 1.6rem;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 17.5px);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Glow ambiente atrás do hero */
#hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ---- TERMINAL (assinatura) ---- */
.terminal {
  background: #0A0D13;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  max-width: 560px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}
.term-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--line-2);
}
.term-dot:nth-child(1) { background: #FF5F57; }
.term-dot:nth-child(2) { background: #FEBC2E; }
.term-dot:nth-child(3) { background: #28C840; }
.term-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  margin-left: 8px;
}
.term-body {
  padding: 18px 20px 20px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.9;
}
.term-line { color: var(--text); }
.term-prompt { color: var(--accent); margin-right: 8px; }
.term-out { color: var(--text-2); margin-bottom: 0.5rem; }
.term-ok { color: var(--accent); font-size: 10px; vertical-align: middle; margin-right: 5px; }
.term-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 4px;
  animation: blink 1.1s step-end infinite;
}

/* ---- STACK ---- */
.stack-label { margin-bottom: 0; flex-shrink: 0; }
.stack-row {
  display: flex;
  gap: 0.5rem 2rem;
  flex-wrap: wrap;
}
.stack-row li {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-2);
  transition: color var(--transition);
}
.stack-row li:hover { color: var(--accent); }

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem 1.9rem;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.service-card:hover {
  border-color: var(--line-2);
  background: var(--bg-3);
  transform: translateY(-3px);
}
.svc-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.svc-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.svc-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}
.svc-tech {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

/* ---- PROCESSO ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.process-step {
  border-top: 1px solid var(--line-2);
  padding-top: 1.4rem;
  position: relative;
}
.process-step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 40px; height: 2px;
  background: var(--accent);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.step-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text);
  margin-bottom: 0.45rem;
}
.step-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ---- SOBRE ---- */
.about-text {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 52ch;
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-values li {
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
}
.val-key {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.val-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ---- CTA ---- */
.cta-inner {
  background:
    radial-gradient(600px 240px at 88% 0%, var(--accent-glow) 0%, transparent 70%),
    var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
}
.cta-inner .eyebrow { margin-bottom: 0.9rem; }
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 0.65rem;
  text-wrap: balance;
}
.cta-inner p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 46ch;
}

/* ---- CONTACTO ---- */
.contact-lead {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 42ch;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.channel {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.channel-key {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.channel-val {
  font-size: 15px;
  color: var(--text);
  transition: color var(--transition);
}
a.channel:hover .channel-val { color: var(--accent); }

/* ---- FORM ---- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14.5px;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  appearance: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%23A0A9BA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.submit-btn {
  background: var(--accent);
  color: var(--bg);
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  align-self: flex-start;
  transition: background var(--transition);
}
.submit-btn:hover { background: var(--accent-dim); }
.submit-btn:disabled { opacity: 0.55; cursor: default; }
.success-msg {
  display: none;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-size: 13.5px;
}
.success-msg.visible { display: block; }

/* ---- FOOTER ---- */
.footer-tag {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-3);
}
.footer-bottom p { font-size: 12.5px; color: var(--text-3); }
.footer-built {
  font-family: var(--font-mono);
  color: var(--text-3);
}
/* ---- BLOG: EM BREVE ---- */
.blog-soon {
  max-width: 520px;
  margin: 2rem auto;
  text-align: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
}
.soon-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.soon-text {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
#blog-head {
  padding-top: 10rem;
  padding-bottom: 3rem;
  padding-left: var(--section-px);
  padding-right: var(--section-px);
}