/* ==========================================================================
   4Works Tecnologia - Landing Page Microsoft 365
   High Performance Vanilla CSS (Zero Bloat, Google Ads & Core Web Vitals Optimized)
   ========================================================================== */

/* --- CSS Variables & Design System Tokens --- */
:root {
  /* Brand Colors */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-dark: #1e40af;
  --accent: #4389fe;
  --accent-purple: #8b5cf6;
  --accent-orange: #f97316;
  --accent-green: #10b981;
  --whatsapp: #25d366;
  --whatsapp-hover: #20ba5a;

  /* Official Microsoft 365 App Color Palette */
  --ms-blue: #0078D4;
  --ms-outlook: #0078D4;
  --ms-teams: #6264A7;
  --ms-sharepoint: #038387;
  --ms-onedrive: #0078D4;
  --ms-onedrive-light: #00A4EF;
  --ms-word: #185ABD;
  --ms-excel: #107C41;
  --ms-powerpoint: #C43E1C;
  --ms-defender: #005BA1;
  --ms-copilot-grad: linear-gradient(135deg, #4F46E5 0%, #7C3AED 30%, #EC4899 70%, #F59E0B 100%);

  /* Neutral Colors */
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);

  /* Spacing */
  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

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

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

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.highlight { color: var(--primary); }
.highlight-gradient {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- Top Announcement Bar --- */
.top-banner {
  background-color: #0f172a;
  color: #e2e8f0;
  font-size: 0.875rem;
  padding: 0.6rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.top-banner-link {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}
.top-banner-link:hover {
  color: #93c5fd;
}

/* --- Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo img {
  height: 42px;
  width: auto;
}

.desktop-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}
.nav-link:hover {
  color: var(--primary);
}
.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-sm);
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  transition: all var(--transition-fast);
}

.mobile-nav {
  display: none;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open {
  display: block;
}
.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-nav-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}
.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1.5px solid #bfdbfe;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}
.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}
.btn-block {
  width: 100%;
}
.icon-whatsapp {
  color: #ffffff;
  fill: currentColor;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding: 5rem 0 4.5rem;
  background: radial-gradient(circle at 50% 0%, #eff6ff 0%, #ffffff 70%);
  overflow: hidden;
  text-align: center;
}
.hero-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}
.hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #ffffff;
  border: 1px solid #dbeafe;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: 0 2px 10px rgba(0, 120, 212, 0.08);
  margin-bottom: 1.75rem;
}
.ms-quad-logo {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--primary);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
}
.check-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

/* --- Microsoft 365 Ecosystem Showcase Ribbon --- */
.ms-ecosystem-wrapper {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}
.ms-ecosystem-header {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ms-ecosystem-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #475569;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.ms-ecosystem-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.ms-app-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: left;
}
.ms-app-pill:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 6px 14px rgba(0, 120, 212, 0.12);
}
.ms-app-pill-copilot {
  background: linear-gradient(135deg, #ffffff 0%, #fdf4ff 100%);
  border-color: #f0abfc;
}
.ms-app-pill-copilot:hover {
  border-color: #d946ef;
  box-shadow: 0 6px 16px rgba(217, 70, 239, 0.22);
}
.ms-app-icon-wrap {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ms-app-details {
  display: flex;
  flex-direction: column;
}
.ms-app-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}
.ms-app-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* --- Section Global Styles --- */
.section {
  padding: 5rem 0;
}
.section-header {
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
}
.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* --- Section Pillars --- */
.section-pillars {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pillar-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #bfdbfe;
}
.pillar-card:hover::before {
  opacity: 1;
}
.pillar-card-teams::before { background: var(--ms-teams); }
.pillar-card-security::before { background: var(--ms-defender); }
.pillar-card-cloud::before { background: var(--ms-onedrive-light); }

.pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 16px -2px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-normal);
}
.pillar-card:hover .pillar-icon {
  transform: scale(1.08);
}
.pillar-icon-teams {
  background: linear-gradient(135deg, #6264A7 0%, #464EB8 100%);
  box-shadow: 0 8px 20px -2px rgba(98, 100, 167, 0.35);
}
.pillar-icon-security {
  background: linear-gradient(135deg, #005BA1 0%, #0078D4 100%);
  box-shadow: 0 8px 20px -2px rgba(0, 91, 161, 0.35);
}
.pillar-icon-cloud {
  background: linear-gradient(135deg, #00A4EF 0%, #0078D4 100%);
  box-shadow: 0 8px 20px -2px rgba(0, 164, 239, 0.35);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}
.pillar-text {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Section Features (6 Motivos) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #bfdbfe;
}

/* Microsoft Fluent Squircles */
.ms-icon-squircle {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  transition: all var(--transition-normal);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}
.feature-card:hover .ms-icon-squircle {
  transform: translateY(-2px) scale(1.06);
}

.ms-squircle-outlook {
  background: linear-gradient(135deg, #0078D4 0%, #005A9E 100%);
  box-shadow: 0 8px 20px -2px rgba(0, 120, 212, 0.38);
}
.ms-squircle-onedrive {
  background: linear-gradient(135deg, #00A4EF 0%, #0078D4 100%);
  box-shadow: 0 8px 20px -2px rgba(0, 164, 239, 0.38);
}
.ms-squircle-defender {
  background: linear-gradient(135deg, #005BA1 0%, #003D6B 100%);
  box-shadow: 0 8px 20px -2px rgba(0, 91, 161, 0.38);
}
.ms-squircle-office {
  background: linear-gradient(135deg, #EA3E2B 0%, #D83B01 100%);
  box-shadow: 0 8px 20px -2px rgba(216, 59, 1, 0.38);
}
.ms-squircle-teams {
  background: linear-gradient(135deg, #6264A7 0%, #464775 100%);
  box-shadow: 0 8px 20px -2px rgba(98, 100, 167, 0.38);
}
.ms-squircle-4works {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 8px 20px -2px rgba(37, 99, 235, 0.38);
}
.ms-squircle-sharepoint {
  background: linear-gradient(135deg, #038387 0%, #005E5D 100%);
  box-shadow: 0 8px 20px -2px rgba(3, 131, 135, 0.38);
}
.ms-squircle-copilot {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 30%, #EC4899 70%, #F59E0B 100%);
  box-shadow: 0 8px 22px -2px rgba(147, 51, 234, 0.45);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}
.feature-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- Section Spotlight (Exchange, SharePoint, Teams & Copilot) --- */
.section-spotlight {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.spotlight-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3.25rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}
.spotlight-card:hover {
  box-shadow: var(--shadow-lg);
}
.spotlight-card:last-child {
  margin-bottom: 0;
}
.spotlight-exchange {
  border-left: 5px solid var(--ms-outlook);
}
.spotlight-sharepoint {
  border-left: 5px solid var(--ms-sharepoint);
}
.spotlight-teams {
  border-left: 5px solid var(--ms-teams);
}
.spotlight-copilot {
  border-left: 5px solid #9333ea;
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.badge-exchange {
  color: #005a9e;
  background-color: #e0f2fe;
}
.badge-sharepoint {
  color: #038387;
  background-color: #ccfbf1;
}
.badge-teams {
  color: #464eb8;
  background-color: #ede9fe;
}
.badge-ai {
  color: #7c3aed;
  background-color: #f3e8ff;
}

.spotlight-header-flex {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.spotlight-service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.copilot-logo {
  border-radius: var(--radius-sm);
}
.spotlight-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 1rem;
}
.spotlight-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.spotlight-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.spotlight-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}
.spotlight-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}
.spotlight-media {
  display: flex;
  justify-content: center;
  align-items: center;
}
.spotlight-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
}

/* UI Mockup Cards for Exchange & SharePoint */
.ui-mockup-card {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  font-size: 0.9rem;
}
.ui-mockup-header {
  background: #0f172a;
  color: #f8fafc;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ui-dots {
  display: flex;
  gap: 6px;
}
.ui-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }
.ui-mockup-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}
.ui-mockup-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.ui-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.ui-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ui-feature-info {
  flex: 1;
}
.ui-feature-title {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.9rem;
  display: block;
}
.ui-feature-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.ui-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #047857;
  background-color: #d1fae5;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}
.badge-exchange {
  color: #1e40af;
  background-color: #dbeafe;
}
.badge-sharepoint {
  color: #0f766e;
  background-color: #ccfbf1;
}

/* --- Seção de Casos de Sucesso e Transformações B2B --- */
.stats-kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}
.stat-kpi-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.stat-kpi-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-light);
}
.stat-kpi-number {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.stat-kpi-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}
.stat-kpi-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}
.case-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}
.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #00a4ef 100%);
}
.case-card-logistics::before {
  background: linear-gradient(90deg, #0078d4 0%, #50e6ff 100%);
}
.case-card-industry::before,
.case-card-accounting::before {
  background: linear-gradient(90deg, #038387 0%, #00b294 100%);
}
.case-card-services::before,
.case-card-engineering::before {
  background: linear-gradient(90deg, #6264a7 0%, #7c3aed 100%);
}

.case-header {
  margin-bottom: 1.5rem;
}
.case-sector-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}
.sector-logistics {
  background-color: #eff6ff;
  color: #1e40af;
}
.sector-industry,
.sector-accounting {
  background-color: #f0fdfa;
  color: #0f766e;
}
.sector-services,
.sector-engineering {
  background-color: #f5f3ff;
  color: #6264a7;
}
.case-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

.case-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.case-step {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
}
.step-challenge {
  background-color: #fff1f2;
  border-left: 3px solid #f43f5e;
}
.step-solution {
  background-color: #f0f9ff;
  border-left: 3px solid #0284c7;
}
.step-result {
  background-color: #f0fdf4;
  border-left: 3px solid #16a34a;
}
.step-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.label-challenge { color: #e11d48; }
.label-solution { color: #0284c7; }
.label-result { color: #16a34a; }
.step-text {
  color: var(--text-main);
  margin: 0;
}
.step-text strong {
  color: #0f172a;
}

.case-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-light);
}
.case-tag-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-subtle);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.case-tag-pill svg {
  color: #16a34a;
}

.inter-cta-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-xl);
}
.inter-cta-text h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.inter-cta-text p {
  color: #94a3b8;
  font-size: 1.05rem;
}

/* --- FAQ Accordion --- */
.faq-container {
  max-width: 860px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  overflow: hidden;
}
.faq-item[open] {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}
.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-question {
  flex: 1;
  padding-right: 1rem;
}
.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  transition: transform var(--transition-fast);
}
.faq-icon::before {
  top: 11px;
  left: 3px;
  width: 18px;
  height: 2px;
}
.faq-icon::after {
  top: 3px;
  left: 11px;
  width: 2px;
  height: 18px;
}
.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-answer {
  padding: 0 1.5rem 1.5rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}
.faq-answer p {
  margin-bottom: 0.75rem;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}

/* --- Section CTA Final --- */
.section-cta-final {
  padding: 4rem 0 6rem;
}
.cta-final-card {
  position: relative;
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 50%, #0f172a 100%);
  border-radius: var(--radius-xl);
  padding: 4.5rem 2.5rem;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-final-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-final-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}
.cta-final-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-final-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
}
.cta-contact-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 680px;
  margin: 0 auto;
}
.contact-box {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  transition: all var(--transition-normal);
  color: #ffffff;
}
.contact-box:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  border-color: #ffffff;
}
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-wa {
  background-color: var(--whatsapp);
  color: #ffffff;
}
.icon-phone {
  background-color: #ffffff;
  color: var(--primary);
}
.contact-label {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}
.contact-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

/* --- Footer --- */
.footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}
.footer-brand img {
  height: 42px;
  width: auto;
  margin: 0 auto 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity var(--transition-fast);
}
.footer-brand img:hover {
  opacity: 1;
}
.footer-tagline {
  font-size: 0.95rem;
  max-width: 460px;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
}
.footer-links a:hover {
  color: var(--primary);
}

/* --- Footer Locations (São Paulo & Blumenau) --- */
.footer-locations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  width: 100%;
  margin: 1rem 0;
  text-align: left;
}
.location-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition-normal);
}
.location-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.location-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 120, 212, 0.2);
  color: #50e6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.location-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.location-info h4 .state-pill {
  font-size: 0.7rem;
  font-weight: 700;
  background-color: rgba(0, 164, 239, 0.2);
  color: #50e6ff;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}
.location-info p {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* --- Sticky Mobile Bottom Bar --- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: #ffffff;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.12);
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-light);
  gap: 0.75rem;
}
.btn-sticky-phone {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
}
.btn-sticky-whatsapp {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--whatsapp);
  color: #ffffff;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .pillars-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spotlight-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  .spotlight-media {
    order: -1;
  }
  .inter-cta-box {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .top-banner {
    display: none;
  }
  
  .hero-section {
    padding: 3.5rem 0 3rem;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .pillars-grid,
  .features-grid,
  .cases-grid,
  .testimonials-grid,
  .cta-contact-boxes {
    grid-template-columns: 1fr;
  }

  .stats-kpi-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.5rem 1rem;
  }
  .stat-kpi-item:not(:last-child)::after {
    display: none;
  }
  .stat-kpi-number {
    font-size: 1.8rem;
  }

  .ms-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .ms-app-pill {
    padding: 0.5rem 0.65rem;
    gap: 0.5rem;
  }
  .ms-app-name {
    font-size: 0.8rem;
  }
  .ms-app-desc {
    font-size: 0.68rem;
  }

  .section {
    padding: 3.5rem 0;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .cta-final-title {
    font-size: 1.9rem;
  }
  .cta-final-card {
    padding: 3rem 1.5rem;
  }

  /* Show sticky bottom bar on mobile */
  .mobile-sticky-bar {
    display: flex;
  }
  body {
    padding-bottom: 70px; /* Offset for sticky bar */
  }
}

@media (max-width: 480px) {
  .stats-kpi-bar {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .ms-ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ms-app-pill:last-child {
    grid-column: span 2;
    justify-content: center;
  }
}
