/* ─────────────────────────────────────────
   RPC Solutions — Dark Editorial theme
   ───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── Logo white (invert black SVG on dark bg) ── */
.logo-white {
  filter: brightness(0) invert(1);
}

/* ── Eyebrow labels ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.eyebrow-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #9ca3af;
}
.eyebrow-dark::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: #0f0f0f;
  flex-shrink: 0;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #0f0f0f;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 22px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #e5e7eb;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #fff;
  color: #0f0f0f;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.btn-primary-lg:hover {
  background: #e5e7eb;
}

/* ── Tool chips (hero badges) ── */
.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 12px;
  white-space: nowrap;
}
.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Hero headline ── */
.hero-headline {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
}

/* ── Nav link ── */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.6);
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Service rows ── */
.service-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 40px 28px 0;
  margin-left: 40px;
  cursor: default;
  transition: background 0.2s;
}
@media (max-width: 768px) {
  .service-row {
    padding: 24px 24px 24px 0;
    margin-left: 24px;
    flex-wrap: wrap;
    gap: 16px;
  }
}
.service-row:hover { background: #f9fafb; }

.service-num {
  font-size: 0.65rem;
  font-weight: 700;
  color: #d1d5db;
  letter-spacing: 0.1em;
  width: 24px;
  flex-shrink: 0;
}

.service-info {
  flex: 1;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f0f0f;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.service-desc {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.55;
  max-width: 500px;
}

.service-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
  width: 80px;
  text-align: right;
}
@media (max-width: 768px) {
  .service-tag { display: none; }
}

.service-arrow {
  font-size: 0.75rem;
  color: #d1d5db;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}
.service-row:hover .service-arrow {
  color: #0f0f0f;
  transform: translateX(4px);
}

/* ── Stat blocks (results section) ── */
.stat-block {
  background: #0f0f0f;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 768px) {
  .stat-block { padding: 36px 24px; }
}

.stat-number {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
}

.stat-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.4;
}

/* ── About stats ── */
.about-stat {
  background: white;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0f0f0f;
  letter-spacing: -0.04em;
  line-height: 1;
}

.about-label {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
  line-height: 1.4;
}

/* ── Form (dark) ── */
.form-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.form-input-dark {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 13px 16px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input-dark:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
}
.form-input-dark::placeholder { color: rgba(255,255,255,0.2); }
.form-input-dark option { background: #1a1a1a; color: #fff; }

/* ── Product cards (services) ── */
.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.product-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.product-card-cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px;
  background: #0f0f0f;
  border: 1px solid #0f0f0f;
  transition: box-shadow 0.2s;
}
.product-card-cta::before {
  content: 'Não sabe qual escolher?';
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.product-icon-box {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.product-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.product-icon-lg {
  width: 64px;
  height: 64px;
}

.product-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}

.product-name {
  font-size: 1rem;
  font-weight: 800;
  color: #0f0f0f;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-desc {
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.6;
  flex: 1;
}

/* ── Capabilities section ── */
.cap-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cap-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cap-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.cap-icon-lg {
  width: 26px;
  height: 26px;
}

.cap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cap-list li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  padding-left: 14px;
  position: relative;
  line-height: 1.3;
  transition: color 0.15s;
}

.cap-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.cap-col:hover .cap-list li {
  color: rgba(255,255,255,0.55);
}

/* ── Login Modal ── */
.login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.login-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.login-modal-box {
  background: white;
  border-radius: 0;
  padding: 40px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,0,0,0.06);
  transform: scale(0.93) translateY(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}
.login-modal-overlay.open .login-modal-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.login-input {
  width: 100%;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #111827;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.login-input:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
  background: white;
}
.login-input::placeholder { color: #9ca3af; }

/* ── Form field error ── */
.form-field-error {
  font-size: 0.7rem;
  color: #f87171;
  margin-top: 2px;
}
.form-input-dark.invalid {
  border-color: #f87171;
}

/* ── Selection ── */
::selection { background: rgba(0,120,212,0.3); color: #fff; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0f0f0f; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: #555; }
