:root {
  --brand-primary: #00c4cc;
  --brand-secondary: #94a3b8;
  --bg-page: #0f172a;
  --bg-card: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --btn-cta: #f59e0b;
  --btn-cta-hover: #d97706;
  --btn-text: #ffffff;
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #0c2b38 100%);
  --gradient-glow: linear-gradient(90deg, #00c4cc 0%, #22d3ee 100%);
  --gradient-card: linear-gradient(135deg, rgba(0, 196, 204, 0.1) 0%, rgba(34, 211, 238, 0.05) 100%);
  --shadow-sm: 0 2px 8px rgba(0, 196, 204, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 196, 204, 0.2);
  --shadow-lg: 0 10px 40px rgba(0, 196, 204, 0.3);
  --shadow-xl: 0 20px 60px rgba(0, 196, 204, 0.4);
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;
  --spacing-3xl: 80px;
  --spacing-4xl: 120px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --z-header: 1000;
  --z-modal: 2000;
  --z-float: 999;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-4xl) 0;
  position: relative;
  margin-bottom: var(--spacing-2xl);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn-primary {
  background: var(--btn-cta);
  color: var(--btn-text);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  background: var(--btn-cta-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-primary);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--brand-primary);
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary:hover {
  background: var(--brand-primary);
  color: var(--bg-page);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--spacing-2xl);
  background: linear-gradient(135deg, var(--text-main) 0%, var(--brand-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 196, 204, 0.2);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 4px 30px rgba(0, 196, 204, 0.2);
  border-bottom-color: var(--brand-primary);
}

.nav-container {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  padding: 1rem 0;
  gap: 2rem;
}

.logo-container {
  z-index: 1001;
}

.logo {
  height: 40px;
  transition: all var(--transition-base);
}

.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: all var(--transition-base);
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--brand-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-nav-cta {
  background: var(--btn-cta);
  color: var(--btn-text);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  white-space: nowrap;
}

.btn-nav-cta:hover {
  background: var(--btn-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--brand-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(12, 43, 56, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: var(--spacing-xl) var(--spacing-md);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--text-main) 0%, var(--brand-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typewriter {
  display: inline;
}

.cursor {
  display: inline-block;
  width: 3px;
  background: var(--brand-primary);
  margin-left: 5px;
  animation: blink-cursor 0.8s infinite;
}

@keyframes blink-cursor {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.cursor.hidden {
  display: none;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.authority {
  background: var(--bg-card);
  overflow: hidden;
}

.authority-title {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-lg);
  font-weight: 600;
}

.logos-carousel {
  overflow: hidden;
  position: relative;
  padding: var(--spacing-md) 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
  display: flex;
  gap: var(--spacing-3xl);
  animation: scroll 15s linear infinite;
  will-change: transform;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-item {
  width: 200px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  filter: brightness(0) invert(1) opacity(0.5);
}

.logo-item:hover {
  filter: none;
  transform: scale(1.1);
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.solutions {
  background: var(--bg-page);
}

.solutions-carousel-wrapper {
  position: relative;
  padding: 0 60px;
}

.solutions-carousel {
  display: flex;
  gap: var(--spacing-lg);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 0;
}

.solutions-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 196, 204, 0.4);
}

.carousel-btn:hover {
  background: #22d3ee;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 196, 204, 0.6);
}

.carousel-btn-prev {
  left: 0;
}

.carousel-btn-next {
  right: 0;
}

.solution-card {
  min-width: 280px;
  flex: 0 0 280px;
  background: var(--bg-card);
  border: 2px solid rgba(0, 196, 204, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-glow);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.solution-card:hover::before {
  transform: scaleX(1);
}

.solution-card:hover {
  transform: translateY(-10px);
  border-color: var(--brand-primary);
  box-shadow: 0 20px 50px rgba(0, 196, 204, 0.3);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 196, 204, 0.1);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  transition: all 0.4s ease;
}

.solution-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(0, 196, 204, 0.2);
}

.icon-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--brand-primary);
}

.card-text {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.imf-platform {
  background: var(--bg-card);
}

.imf-content-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  margin-bottom: var(--spacing-3xl);
}

.imf-content-reverse {
  direction: rtl;
}

.imf-content-reverse > * {
  direction: ltr;
}

.imf-text-content {
  padding: var(--spacing-lg);
}

.platform-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 196, 204, 0.4);
  transition: all 0.5s ease;
}

.platform-img-wrapper:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 196, 204, 0.6);
}

.platform-img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.5s ease;
}

.platform-img-wrapper:hover .platform-img {
  transform: scale(1.05);
}

.imf-subtitle {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-2xl);
  line-height: 1.7;
}

.imf-features {
  list-style: none;
  margin-bottom: var(--spacing-2xl);
}

.feature-item {
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: rgba(0, 196, 204, 0.05);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-primary);
  transition: all 0.4s ease;
}

.feature-item:hover {
  background: rgba(0, 196, 204, 0.1);
  transform: translateX(10px);
}

.feature-item i {
  font-size: 1.8rem;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.imf-feature-title {
  font-size: 1.8rem;
  color: var(--brand-primary);
  margin-bottom: var(--spacing-md);
}

.imf-feature-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.imf-cta {
  margin-top: var(--spacing-xl);
}

.ai-case {
  background: var(--bg-page);
}

.ai-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.ai-badge {
  color: var(--brand-primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: rgba(0, 196, 204, 0.1);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 50px;
  border: 2px solid var(--brand-primary);
}

.ai-badge i {
  font-size: 1.3rem;
}

.ai-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.ai-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ai-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 196, 204, 0.4);
}

.ai-text {
  text-align: left;
}

.ai-description {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-2xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(0, 196, 204, 0.2);
  transition: all 0.4s ease;
}

.stat-item:hover {
  border-color: var(--brand-primary);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 196, 204, 0.3);
}

.stat-item i {
  font-size: 2.5rem;
  color: var(--brand-primary);
  margin-bottom: var(--spacing-md);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--brand-primary);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.process {
  background: var(--bg-card);
}

.process-grid {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  margin-top: var(--spacing-3xl);
}

.process-item {
  flex: 1;
  min-width: 180px;
  text-align: center;
}

.process-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #22d3ee 100%);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto var(--spacing-lg);
  box-shadow: 0 10px 30px rgba(0, 196, 204, 0.5);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 5px solid var(--bg-card);
  position: relative;
  overflow: hidden;
}

.process-circle::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: shimmer-rotate 3s linear infinite;
}

@keyframes shimmer-rotate {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.process-item:hover .process-circle {
  transform: scale(1.15) rotate(360deg);
  box-shadow: 0 20px 60px rgba(0, 196, 204, 0.8);
}

.process-number {
  font-size: 2rem;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.process-circle i {
  font-size: 1.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.process-title {
  font-size: 1.3rem;
  color: var(--brand-primary);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

.process-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact {
  background: var(--bg-page);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

.contact-intro {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
}

.contact-details {
  margin-top: var(--spacing-xl);
}

.contact-detail-item {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--brand-primary);
  transition: all 0.3s ease;
}

.contact-detail-item:hover {
  transform: translateX(10px);
}

.contact-detail-item i {
  font-size: 1.6rem;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-detail-item strong {
  display: block;
  color: var(--brand-primary);
  margin-bottom: 4px;
  font-size: 1rem;
}

.contact-detail-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--bg-card);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 196, 204, 0.2);
}

.form-group {
  position: relative;
  margin-bottom: var(--spacing-lg);
}

.form-group i {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--brand-primary);
  font-size: 1.1rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: var(--bg-page);
  border: 1px solid rgba(0, 196, 204, 0.2);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 196, 204, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

.footer {
  background: var(--bg-card);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  border-top: 1px solid rgba(0, 196, 204, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo .logo {
  height: 45px;
  margin-bottom: var(--spacing-md);
}

.footer-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-title {
  color: var(--brand-primary);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-list li:hover {
  color: var(--brand-primary);
  transform: translateX(5px);
}

.footer-list i {
  color: var(--brand-primary);
  font-size: 1rem;
}

.footer-list a {
  transition: all 0.3s ease;
}

.footer-list a:hover {
  color: var(--brand-primary);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 196, 204, 0.1);
  border-radius: var(--radius-md);
  color: var(--brand-primary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 196, 204, 0.2);
}

.social-link:hover {
  background: var(--brand-primary);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 196, 204, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(0, 196, 204, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-cnpj {
  margin-top: var(--spacing-xs);
  font-size: 0.85rem;
}

.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  z-index: var(--z-float);
  transition: all 0.4s ease;
  color: white;
  animation: pulse-whatsapp 2s ease-in-out infinite;
}

@keyframes pulse-whatsapp {
  0%,
  100% {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 6px 35px rgba(37, 211, 102, 0.7);
  }
}

.whatsapp-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.7);
  animation-play-state: paused;
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background: white;
  color: #25d366;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 2px solid #25d366;
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .nav-container {
    grid-template-columns: auto 1fr auto;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--bg-card);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
    z-index: 999;
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .btn-nav-cta {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  .logos-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .logo-item {
    max-width: 80px;
  }

  .solutions-carousel-wrapper {
    padding: 0 50px;
  }

  .solution-card {
    min-width: 260px;
    flex: 0 0 260px;
  }

  .imf-content-layout,
  .imf-content-reverse,
  .ai-content,
  .contact-wrapper,
  .stats-grid,
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .imf-content-reverse {
    direction: ltr;
  }

  .process-grid {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: var(--spacing-2xl) 0;
    margin-bottom: var(--spacing-lg);
  }
}

.solutions {
  background: var(--bg-page);
}

.solutions-carousel-wrapper {
  position: relative;
  padding: 0 60px;
  overflow: hidden;
}

.solutions-carousel {
  display: flex;
  gap: var(--spacing-lg);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 40px 0;
  align-items: center;
}

.solutions-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 196, 204, 0.4);
  animation: pulse-btn 2s ease-in-out infinite;
}

@keyframes pulse-btn {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(0, 196, 204, 0.4);
  }
  50% {
    box-shadow: 0 6px 30px rgba(0, 196, 204, 0.7);
  }
}

.carousel-btn:hover {
  background: #22d3ee;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 196, 204, 0.6);
  animation: none;
}

.carousel-btn-prev {
  left: 0;
}

.carousel-btn-next {
  right: 0;
}

.solution-card {
  min-width: 320px;
  flex: 0 0 320px;
  background: var(--bg-card);
  border: 2px solid rgba(0, 196, 204, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  opacity: 0.4;
  filter: blur(2px) brightness(0.7);
  transform: scale(0.85);
  animation: fadeInUp 0.6s ease-out forwards;
}

.solution-card.centered {
  opacity: 1;
  filter: blur(0) brightness(1);
  transform: scale(1);
  border-color: var(--brand-primary);
  box-shadow: 0 20px 60px rgba(0, 196, 204, 0.5);
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-glow);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.solution-card.centered::before {
  transform: scaleX(1);
}

.solution-card:hover {
  transform: scale(1) translateY(-10px);
  opacity: 1;
  filter: blur(0) brightness(1);
}

.solution-card.centered:hover {
  transform: scale(1.05) translateY(-10px);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 196, 204, 0.1);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.solution-card.centered .card-icon {
  animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

.solution-card:hover .card-icon {
  transform: scale(1.15) rotate(8deg);
  background: rgba(0, 196, 204, 0.2);
}

@media (max-width: 768px) {
  .solutions-carousel-wrapper .carousel-btn {
    display: none !important;
  }

  .solutions-carousel {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
    transform: none !important;
    overflow: visible !important;
    width: 100% !important;
  }

  .solution-card {
    width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
  }

  .authority .logos-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    animation: none !important;
  }

  .authority .logo-item:nth-child(n+10) {
    display: none !important;
  }
  
  .authority .logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .authority .logo-item img {
    max-width: 100%;
    height: auto;
  }
}

.imf-content-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

@media (max-width: 768px) {
  .imf-content-layout,
  .ai-content,
  .contact-wrapper,
  .stats-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }
}


.section-title,
.imf-subtitle {
  text-align: center;
}

.imf-subtitle {
  margin-bottom: var(--spacing-xl);
}


.imf-cta {
  display: flex;
  justify-content: center;
  margin-top: 4rem; /* desce o botão */
}

.imf-content-layout {
  margin-bottom: 1.5rem;
}

.logo-container .logo {
    /* Define a altura fixa igual à do footer */
    height: 45px !important; 
    
    /* Força a largura a ser calculada automaticamente baseada na altura */
    width: auto !important;
    
    /* Impede que o navegador "esmague" a imagem */
    object-fit: contain;
    
    /* Garante que o container pai não limite o tamanho */
    max-width: none !important;
    max-height: none !important;
}

.logo-container {
    width: auto;      /* Deixa o container expandir conforme o tamanho da logo */
    display: flex;    /* Garante um alinhamento melhor */
    align-items: center;
}

.platform-img {
    transform: scale(1.4); /* Aumenta em 20% */
    transition: transform 0.3s ease; /* Efeito suave */
}

/* Container do carrossel */
.logos-carousel {
  overflow: hidden; /* Esconde o que sai da tela */
  padding: 40px 0;
  background: transparent;
  width: 100%;
}

/* A trilha que move as logos */
.logos-track {
  display: flex;
  width: calc(250px * 18); /* Largura: tamanho da logo * quantidade total */
  animation: scroll 30s linear infinite; /* Animação infinita */
}

/* Item individual da logo */
.logo-item {
  width: 250px; /* Aumentei o espaço de cada logo */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px; /* Espaçamento entre as logos */
}

/* A imagem da logo em si */
.logo-item img {
  height: 60px; /* Aumentei a altura (era geralmente 40px) */
  width: auto;
  filter: grayscale(100%); /* Opcional: deixa cinza para visual profissional */
  opacity: 0.7;
  transition: all 0.3s ease;
  object-fit: contain;
}

.logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1); /* Efeito de aumento ao passar o mouse */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Multiplique o width (200px) pelo número de logos ÚNICAS (9) */
    transform: translateX(calc(-200px * 9)); 
  }
}

/* Item individual da logo - define o "quadrado" onde a logo vai morar */
.logo-item {
  width: 200px;         /* Largura fixa para todas */
  height: 100px;        /* Altura fixa para todas */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

/* A imagem dentro do item */
.logo-item img {
  /* Força todas a respeitarem o mesmo limite */
  max-width: 100%;      
  max-height: 80%;      /* Ajuste esse % para aumentar/diminuir o tamanho geral */
  
  /* Mantém a proporção sem achatar e centraliza no espaço */
  object-fit: contain;  
  
  /* Visual */
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-container .logo {
    /* Aumentamos de 45px para 60px (ou o valor que preferir) */
    height: 60px !important; 
    
    /* Importante para não achatar */
    width: auto !important; 
    
    /* Garante que a imagem mantenha a proporção original */
    object-fit: contain;
    
    /* Remove limites que podem estar "espremendo" a logo */
    max-width: none !important;
    max-height: none !important;
    
    /* Ajuste de margem se necessário para centralizar na barra */
    display: block;
    padding: 5px 0;
}
