@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-main: #f7fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-color: #e2e8f0;
  --border-glow: #cbd5e0;
  
  --text-main: #1a202c;
  --text-muted: #4a5568;
  
  /* Logo dot colors */
  --accent-orange: #ed8936;
  --accent-cyan: #40e0d0;
  --accent-blue: #2b6cb0;
  --primary: #1a365d; /* Navy */
  --title-color: #4b5563; /* Cor chumbo */
  
  --font-main: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  background: rgba(63, 63, 70, 0.95); /* Modern neutral gray (zinc-700) */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  transition: opacity 0.3s ease;
}
.logo:hover img {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 32, 44, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding-top: 5rem;
}

.slider-dots {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #ffffff;
  width: 24px;
  border-radius: 6px;
}

.badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 2rem;
}

.slide-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
}

.slide-content h1 span {
  color: var(--accent-cyan);
}

.slide-content p {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 480px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-cyan);
  color: var(--title-color);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--accent-orange);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(237, 137, 54, 0.3);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.glass-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
  max-width: 320px;
  transition: border-color 0.3s ease;
}

.glass-card:hover {
  border-color: var(--accent-blue);
}

.glass-card i {
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
  width: 32px;
  height: 32px;
}

.glass-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--title-color);
}

.glass-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Sections */
.section {
  padding: 8rem 0;
  border-top: 1px solid var(--border-color);
}

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

.section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  color: var(--title-color);
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 4rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  border: none;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.card h3 {
  margin: 1.5rem 0 1rem;
  font-size: 1.5rem;
  color: var(--title-color);
}

.card p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.icon-accent {
  color: var(--accent-cyan);
  width: 40px;
  height: 40px;
}

/* Why Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.feature-card i {
  color: var(--accent-blue);
  width: 32px;
  height: 32px;
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--title-color);
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
    height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.serv-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(43, 108, 176, 0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.serv-icon i {
  width: 28px;
  height: 28px;
}

.service-card h4 {
  font-size: 1.15rem;
  color: var(--title-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Case Studies Modern List */
.cases-header {
  margin-bottom: 4rem;
}

.cases-header h2 {
  text-align: left;
}
.cases-header .subtitle {
  text-align: left;
  margin: 0;
}

.modern-cases-list {
  display: flex;
  flex-direction: column;
}

.modern-case-row {
  display: grid;
  grid-template-columns: 200px 1fr 60px;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modern-case-row:last-child {
  border-bottom: 1px solid var(--border-color);
}

.modern-case-row:hover {
  background: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, transparent 100%);
  padding-left: 1.5rem;
}

.mc-tag {
  color: var(--accent-blue);
  background: rgba(43, 108, 176, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  justify-self: start;
}

.mc-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
  color: var(--title-color);
}

.modern-case-row:hover .mc-content h3 {
  color: var(--accent-blue);
}

.mc-content p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
}

.mc-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  color: var(--title-color);
  background: var(--bg-card);
}

.modern-case-row:hover .mc-icon {
  background: var(--primary);
  color: #ffffff;
  transform: rotate(45deg);
}

/* Newsletter */
.newsletter {
  background: var(--primary);
  color: white;
  border-top: none;
  border-bottom: none;
}

.newsletter-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.newsletter-text h2 {
  border: none;
  color: white;
}

.newsletter-text p {
  color: #cbd5e0;
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 450px;
  background: rgba(255,255,255,0.1);
  padding: 0.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: white;
  font-size: 1rem;
  font-family: var(--font-main);
}
.newsletter-form input::placeholder {
  color: #a0aec0;
}
.newsletter-form input:focus {
  outline: none;
}

.newsletter-form .btn {
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  background: var(--accent-orange);
  color: white;
}
.newsletter-form .btn:hover {
  background: #dd6b20;
}

/* Footer */
.footer {
  background: #1a202c;
  padding: 6rem 0 2rem;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: #a0aec0;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.footer h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #e2e8f0;
  text-align: left;
}

.footer p {
  color: #a0aec0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  text-align: left;
}

.footer p i {
  color: var(--accent-blue);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #2d3748;
  color: #718096;
  font-size: 0.85rem;
}

.footer-bottom p {
  display: block;
  margin-bottom: 0;
}

/* Floating Button */
.floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--accent-blue);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(43, 108, 176, 0.4);
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.05);
  background-color: var(--title-color);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content, .slide-content, .about-grid, .footer-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .slide-content h1, .hero h1 {
    font-size: 2.8rem;
  }
  .features-grid, .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }
  .slide-content {
    padding-top: 4rem;
  }
  .section {
    padding: 5rem 0;
  }
}

@media (max-width: 768px) {
  .nav-links { 
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(63, 63, 70, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    display: none;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-menu-btn { display: block; margin-left: 1rem; }
  
  .modern-case-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }
  .modern-case-row:hover {
    padding-left: 1rem;
  }
  .mc-icon { display: none; }
  
  .features-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  
  .slide-content h1 {
    font-size: 2.2rem;
  }
  
  .floating-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
}
    .lang-toggle {
      background: transparent;
      border: 1px solid rgba(255,255,255,0.4);
      color: white;
      padding: 0.4rem 0.8rem;
      border-radius: 4px;
      cursor: pointer;
      font-weight: 600;
      margin-left: 1rem;
      transition: all 0.3s ease;
    }
    .lang-toggle:hover {
      background: rgba(255,255,255,0.1);
      border-color: white;
    }
    .nav-right {
      display: flex;
      align-items: center;
    }


h1, h2, h3, h4, h5, h6 {
  color: var(--title-color);
}

.service-card-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}
.service-card-text.expanded {
  -webkit-line-clamp: unset;
}
.btn-read-more {
  background: none;
  border: none;
  color: var(--accent-blue);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: inline-block;
}
.btn-read-more:hover {
  text-decoration: underline;
}


.insight-img-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.insight-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.insight-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent 0%, var(--accent-cyan) 100%);
  opacity: 0.6;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .split-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}
