/* Base Styles */
:root {
  --primary: #336699;
  --primary-light: #4477aa;
  --primary-dark: #225588;
  --secondary: #ECEFF5;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-white: #FFFFFF;
  --background-light: #F2F4F8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  color: var(--text-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid var(--text-white);
}

.btn-outline-light:hover {
  background-color: var(--text-white);
  color: var(--primary);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Navbar Styles */
.navbar {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 40px;
}

.nav-items {
  display: none;
}

.nav-link {
  margin: 0 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.nav-link.active, .nav-link:hover {
  color: var(--primary);
}

.mobile-menu {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

.desktop-only {
  display: none;
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: white;
  z-index: 200;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-nav-header img {
  height: 40px;
}

.mobile-nav-header button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-nav-items {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  padding: 0.75rem 0;
  color: var(--text-primary);
  font-weight: 500;
  border-bottom: 1px solid var(--secondary);
}

.mobile-nav-link.active, .mobile-nav-link:hover {
  color: var(--primary);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Page Header */
.page-header {
  background-color: var(--secondary);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  background-color: var(--secondary);
  padding: 4rem 0;
  min-height: 900px;

  display: flex;
  justify-content: center; /* opcional: centraliza horizontalmente */
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-text {
  margin-bottom: 2rem;
}

.hero-text h1 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-text p {
  max-width: 600px;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* About Section */
.about {
  padding: 4rem 0;
  background-color: white;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-image {
  margin-bottom: 2rem;
  text-align: center;
}

.about-image img {
  max-width: 400px;
}

.about-text h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.feature {
  background-color: var(--secondary);
  padding: 1.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature h3 {
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* About Page */
.about-section {
  padding: 4rem 0;
  background-color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.about-column h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-column p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Team Section */
.team-section {
  padding: 4rem 0;
  background-color: var(--secondary);
  text-align: center;
}

.team-section h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.team-member {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.member-photo {
  width: 100px;
  height: 100px;
  background-color: #e5e5e5;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.team-member h3 {
  margin-bottom: 0.25rem;
}

.team-member p {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0;
}

/* Contact Page */
.contact-section {
  padding: 4rem 0;
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-form h2, .contact-info h2 {
  color: var(--primary);
  margin-bottom: 2rem;
}

.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.25rem;
  font-family: 'Inter', sans-serif;
  resize: vertical;
}

.info-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.info-item h3 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.info-item p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.social-section {
  margin-top: 2rem;
}

.social-section h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  padding: 4rem 0;
  background-color: var(--primary);
  color: var(--text-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
}
.section-header-projetos {
  text-align: center;
  margin-bottom: 3rem;
  color: rgb(255, 255, 255);
}


.section-header p {
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

.service-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon img {
  height: 48px;
  width: 48px;
}

.service-card h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.service-link {
  display: inline-block;
  color: var(--primary);
  font-weight: 500;
}

/* Projects Section */
.projects {
  padding: 4rem 0;
  background-color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.project-card {
  background-color: var(--primary);
  color: var(--text-white);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.project-card h3 {
  margin-bottom: 1rem;
}

.project-image {
  margin: 1.5rem;
  text-align: center;
}

.project-image img {
  border-radius: 0.25rem;
  max-height: 200px;
}

.project-card p {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* Call to Action Section */
.cta {
  padding: 4rem 0;
  background-color: var(--secondary);
  text-align: center;
}

.cta h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--text-white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer-column p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-column img {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--primary-dark);
  border-radius: 50%;
  color: white;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-light);
}

.social-link img {
  height: 20px;
  margin-bottom: 0;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin: 0 0.5rem;
}

/* Media Queries */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .hero-text {
    flex: 1;
    margin-right: 2rem;
    margin-bottom: 0;
  }
  
  .hero-image {
    flex: 1;
  }
  
  .about-content {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
  
  .about-image {
    flex: 1;
    margin-bottom: 0;
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-features {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .nav-items {
    display: flex;
  }
  
  .mobile-menu {
    display: none;
  }
  
  .desktop-only {
    display: flex;
  }
  
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #336699;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float img {
  width: 32px;
  height: 32px;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Correção de responsividade mobile */

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  max-width: 100vw;
}

.container {
  overflow-x: hidden;
}
