/* ==========================================================================
   RE9.AI - DESENVOLVIMENTO DE SOLUÇÕES TECNOLÓGICAS E INOVADORAS
   Design System & Main Stylesheet (Cyber Tech Dark Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Brand Tech Colors */
  --primary: #FF9900;
  --primary-hover: #E68A00;
  --primary-dark: #C77700;
  --primary-light: #FFB347;
  --primary-soft: rgba(255, 153, 0, 0.12);
  --primary-glow: rgba(255, 153, 0, 0.35);

  /* Cyber Mint & Cyan Accents */
  --accent-cyan: #4ACEA9;
  --accent-cyan-glow: rgba(74, 206, 169, 0.3);
  --accent-cyan-soft: rgba(74, 206, 169, 0.12);
  --accent-blue: #38BDF8;

  /* Deep Cyber Obsidian Backgrounds */
  --bg-main: #050811;
  --bg-surface: #0A0F1D;
  --bg-card: #0E1628;
  --bg-card-hover: #141F36;
  --bg-glass: rgba(14, 22, 40, 0.75);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 153, 0, 0.4);
  --border-cyan: rgba(74, 206, 169, 0.4);

  /* Neutrals & Text */
  --text-white: #FFFFFF;
  --text-heading: #F8FAFC;
  --text-body: #94A3B8;
  --text-muted: #64748B;
  --text-dark: #0F172A;

  /* Social / Status */
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --emerald: #10B981;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Shadows & Elevations */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(255, 153, 0, 0.25);
  --shadow-cyan-glow: 0 0 25px rgba(74, 206, 169, 0.25);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1240px;
  --header-height: 84px;
  --topbar-height: 40px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Containers & Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary-light);
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid var(--border-active);
  box-shadow: 0 0 16px rgba(255, 153, 0, 0.15);
}

.section-badge.badge-cyan {
  background: var(--accent-cyan-soft);
  color: var(--accent-cyan);
  border-color: var(--border-cyan);
  box-shadow: 0 0 16px rgba(74, 206, 169, 0.15);
}

.section-title {
  font-size: clamp(2.1rem, 3.8vw, 2.9rem);
  margin-bottom: 18px;
  color: var(--text-white);
}

.section-title span.highlight-orange {
  color: var(--primary);
  background: linear-gradient(135deg, #FF9900 0%, #FFB347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title span.highlight-cyan {
  color: var(--accent-cyan);
  background: linear-gradient(135deg, #4ACEA9 0%, #00F5D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Background Gradients */
.bg-radial-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Top Notification Bar
   ========================================================================== */
.topbar {
  background: #02040A;
  color: var(--text-body);
  font-size: 0.825rem;
  border-bottom: 1px solid var(--border-subtle);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-body);
}

.topbar-item:hover {
  color: var(--primary);
}

.topbar-item.phone-highlight {
  color: var(--accent-cyan);
  font-weight: 700;
}

.topbar-hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.topbar-hub-badge span.dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: var(--radius-full);
  box-shadow: 0 0 6px var(--accent-cyan);
}

@media (max-width: 860px) {
  .topbar {
    display: none;
  }
}

/* ==========================================================================
   Site Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 8, 17, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(5, 8, 17, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(255, 153, 0, 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: scale(1.04);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text-body);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--primary);
  border: 1px solid var(--border-active);
  background: var(--primary-soft);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 1010;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--primary);
  transform: translateX(4px);
}

.dropdown-link svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-md);
}

@media (max-width: 1080px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 8px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    font-size: 1.05rem;
    padding: 12px 16px;
  }

  .mobile-toggle {
    display: block;
  }

  .header-actions .btn-header-cta {
    display: none;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(255, 153, 0, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 153, 0, 0.5);
  color: #000000;
}

.btn-cyan {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #00F5D4 100%);
  color: #050811;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(74, 206, 169, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 206, 169, 0.5);
  color: #050811;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-white);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--bg-main) 0%, #080D1F 50%, var(--bg-surface) 100%);
  color: var(--text-white);
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.12) 0%, rgba(255, 153, 0, 0) 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 206, 169, 0.08) 0%, rgba(74, 206, 169, 0) 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 153, 0, 0.1);
  color: var(--primary-light);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-active);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  color: var(--text-white);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1.1;
}

.trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Tech Showcase Card */
.hero-card-stack {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card-stack::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent-cyan), transparent);
}

.hero-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.hub-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  background: var(--accent-cyan-soft);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.hero-feature-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
  transition: all var(--transition-fast);
}

.hero-feature-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-active);
  transform: translateX(4px);
}

.hero-feature-pill svg {
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #02040A;
  color: var(--text-body);
  padding-top: 80px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-title {
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-body);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-body);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
