/* ========================================
   OficJus Drive — Site
   Blue Gradient Theme (igual ao landing-page)
   ======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #0a1628 0%, #0f172a 25%, #1a365d 60%, #1e3a8a 100%);
  color: #f1f5f9;
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.75rem 0;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.12);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
}

.logo-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(147, 197, 253, 0.8);
  display: block;
}

.logo-sub {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ---------- Navigation ---------- */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  color: #cbd5e1;
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: #93c5fd;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  margin-top: 0.75rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 0.875rem;
  color: #cbd5e1;
  padding: 0.5rem 0;
}

.menu-mobile-btn {
  display: flex;
  background: none;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  padding: 0.25rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .menu-mobile-btn {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: #3b82f6;
}

.btn-hero {
  background: #ffffff;
  color: #0a1628;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
}

.btn-hero:hover {
  background: #e2e8f0;
}

.btn-hero-outline {
  background: transparent;
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #f1f5f9;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
}

.btn-hero-outline:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.08);
}

/* ---------- Hero ---------- */
.hero {
  padding: 3rem 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background: rgba(59, 130, 246, 0.08);
  font-size: 0.8125rem;
  color: #93c5fd;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  max-width: 56rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hero-title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 2.75rem; }
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.75;
  color: #94a3b8;
  max-width: 56rem;
  margin-bottom: 2rem;
}

.hero-subtitle strong {
  color: #e2e8f0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 4rem 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(147, 197, 253, 0.75);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  max-width: 40rem;
}

@media (min-width: 640px) {
  .section-title { font-size: 1.75rem; }
}

.section-desc {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  gap: 1rem;
}

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

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

.feature-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 1.5rem;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  background: rgba(20, 30, 55, 0.85);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.feature-icon-blue { background: rgba(37, 99, 235, 0.15); color: #93c5fd; }
.feature-icon-sky { background: rgba(59, 130, 246, 0.15); color: #93c5fd; }
.feature-icon-indigo { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; }
.feature-icon-cyan { background: rgba(6, 182, 212, 0.15); color: #67e8f9; }
.feature-icon-slate { background: rgba(100, 116, 139, 0.15); color: #cbd5e1; }
.feature-icon-navy { background: rgba(30, 58, 138, 0.2); color: #93c5fd; }

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.feature-bullets {
  list-style: none;
  font-size: 0.8125rem;
  color: #64748b;
}

.feature-bullets li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.25rem;
}

.feature-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #475569;
}

/* ---------- Pillars ---------- */
.pillars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(10, 22, 40, 0.5);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(59, 130, 246, 0.08);
}

.pillar-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  font-size: 0.8125rem;
  font-weight: 700;
}

.pillar strong {
  display: block;
  font-size: 0.9375rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.pillar p {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ---------- Tech Section ---------- */
.section-tech {
  background: rgba(30, 58, 138, 0.04);
  border-top: 1px solid rgba(59, 130, 246, 0.08);
}

.tech-grid {
  display: grid;
  gap: 1rem;
}

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

.tech-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.tech-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.tech-desc {
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 0.75rem;
}

/* ---------- Architecture Diagram ---------- */
.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: rgba(10, 22, 40, 0.5);
  border-radius: 1.5rem;
  border: 1px solid rgba(59, 130, 246, 0.08);
}

.arch-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 1.5rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 0.75rem;
  width: 100%;
  max-width: 20rem;
}

.arch-layer-drive {
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.2);
}

.arch-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
}

.arch-tech {
  font-size: 0.75rem;
  color: #64748b;
}

.arch-arrow {
  font-size: 0.875rem;
  color: #475569;
}

/* ---------- CTA ---------- */
.section-cta {
  padding: 3rem 0;
}

.cta-box {
  text-align: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 2rem;
  padding: 3rem 2rem;
  backdrop-filter: blur(8px);
}

.cta-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cta-desc {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ---------- Footer ---------- */
.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(59, 130, 246, 0.08);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer p {
  font-size: 0.8125rem;
  color: #64748b;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8125rem;
  color: #3b82f6;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #93c5fd;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero, .feature-card, .tech-card, .pillar, .cta-box {
  animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }

/* ---------- Responsive fine-tune ---------- */
@media (min-width: 768px) {
  .section { padding: 5rem 0; }
  .hero { padding: 5rem 0 3rem; }
}