:root {
  --primary-color: #ffffff;
  --accent-color: #0071e3;
  --text-color: #1d1d1f;
  --subtext-color: #6e6e73;
  --background-color: #f5f5f7;
  --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --whatsapp-color: #25d366;
  --btn-color: #0071e3;
}

.separator {
  background-color: #eeeeee;
  width: 100%;
  height: 3px;
  margin: 50px 0px 30px 0px;
  border-radius: 5px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Navigation */
nav {
  background-color: var(--primary-color);
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
}

nav .nav-links {
  display: flex;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

nav .nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
}

nav .nav-links a:hover,
nav .nav-links a.active {
  color: var(--accent-color);
}

/*
.hero {
  background-image: url('a.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  margin-top: 70px;
  transition: background-image 1s ease-in-out;
}


.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero .cta-button {
  background-color: var(--btn-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.3s ease;
  
}

.hero .cta-button:hover {
  transform: translateY(-2px);
}*/

/* Hero Section (video background) */

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero .cta-button {
  background-color: var(--btn-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.3s ease;
  
}

.hero .cta-button:hover {
  transform: translateY(-2px);
}



.hero {
  position: relative;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  margin-top: 70px; /* mantém espaço do navbar fixo */
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;           /* top:0 right:0 bottom:0 left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;  /* cobre toda a área */
  z-index: -2;
  pointer-events: none; /* evita cliques no vídeo */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* escurece para legibilidade */
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}



/* Tab Sections */
.tab-container {
  padding: 0px;
  margin: 0px;
  max-width: 70%;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-button {
  background: none;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  padding: 1.0rem 2.0rem;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 140px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.tab-button.active,
.tab-button:hover {
  background-color: var(--accent-color);
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* About Section */
.about-content {
  text-align: justify;
  max-width: 100%;
  margin: 0 auto;
  margin: 0px;
  padding: 0px;  
}

.about-content h2 {
}

.about-content p {
  font-size: 1.1rem;
  color: var(--subtext-color);
  margin-bottom: 1.5rem;
}

/* Cases Section */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}



.case-card {
  background-color: var(--primary-color);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  justify-content: center;
}

.cases-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  background-color: white;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.case-card2 {
  justify-content: center;
  align-items: center;
  display: flex;
}

.case-card2 img {
  max-height: 50%;
  max-width: 50%;
  object-fit: contain; /* keeps aspect ratio */
}

.case-card:hover {
  transform: translateY(-4px);
}

.case-card h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.case-card p {
  color: var(--subtext-color);
}

/* Services Section */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.5rem;
  margin-top: 2rem;
}

.service {
  background-color: var(--primary-color);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.service img {
  width: 100%;
  max-width: 200px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  display: block;
}

.service h2 {
  margin-bottom: 1rem;
  color: var(--text-color);
  font-size: 1.5rem;
}

.service p {
  color: var(--subtext-color);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.service ul {
  color: var(--subtext-color);
  padding-left: 1.5rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.service:hover ul {
  opacity: 1;
  max-height: 500px;
}

.service li {
  margin-bottom: 0.5rem;
}

.saiba-mais {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  margin: 1rem 0;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.service:hover .saiba-mais {
  opacity: 0;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
  padding: 2rem 2rem;
  max-width: 100%;
  margin: 2rem auto;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,113,227,0.1);
}

.contact h2 {
}

.contact form {
  display: grid;
  gap: 1rem;
}

.contact input, .contact textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.contact button:hover {
  background-color: #005bb5;
}

footer {
  background-color: var(--primary-color);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: var(--subtext-color);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-color);
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.header-images {
  border-radius: 20px !important;
}


.carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  background-color: white;
  border-radius: 20px;
  padding: 0px;
  margin: 0px;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll-left 20s linear infinite;
}

.case-card2 {
  flex: 0 0 auto;
  width: 200px; /* adjust per logo size */
  margin: 0px;
  padding: 0px;
}

.case-card2 img {
  width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.case-card2 img:hover {
  filter: grayscale(0%);
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* adjust this if you change logo count/width */
}


/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .tab-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .services {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 25px;
    bottom: 20px;
    right: 20px;
  }
} 
