/* Reset e estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
   /* Cores principais */
   --primary: hsl(195, 100%, 35%);
   --primary-foreground: hsl(0, 0%, 100%);
   --secondary: hsl(180, 100%, 35%);
   --secondary-foreground: hsl(0, 0%, 100%);
   --accent: hsl(180, 85%, 45%);
   --accent-foreground: hsl(0, 0%, 100%);
   
   /* Cores de fundo e texto */
   --background: hsl(0, 0%, 100%);
   --foreground: hsl(215, 25%, 15%);
   --muted: hsl(210, 20%, 96%);
   --muted-foreground: hsl(215, 15%, 50%);
   
   /* Bordas e inputs */
   --border: hsl(215, 20%, 88%);
   --card: hsl(0, 0%, 100%);
   --card-foreground: hsl(215, 25%, 15%);
   
   /* Sombras */
   --shadow-sm: 0 2px 8px rgba(30, 41, 59, 0.08);
   --shadow-md: 0 4px 16px rgba(30, 41, 59, 0.12);
   --shadow-lg: 0 8px 32px rgba(30, 41, 59, 0.16);
   
   /* Raio de borda */
   --radius: 0.75rem;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: bold;
  font-size: 1rem;
  color: var(--foreground);
  z-index: 1001;
}

.navbar-logo img {
  height: 35px;
  width: auto;
}

.navbar-logo span {
  display: none;
}

/* Menu Hambúrguer */
.navbar-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: all 0.3s;
}

.navbar-toggle span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.navbar-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Menu Mobile */
.navbar-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 1rem 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, box-shadow 0.3s ease;
  box-shadow: none;
}

.navbar-menu.active {
  max-height: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-menu a {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.navbar-menu a:hover {
  background: var(--muted);
  border-left-color: var(--primary);
  color: var(--primary);
}

.navbar-menu a.active {
  color: var(--primary);
  background: rgba(0, 137, 176, 0.05);
  border-left-color: var(--primary);
}

.navbar-menu a.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  color: white !important;
  border: none !important;
  border-left: none !important;
}

.navbar-menu a.btn-primary:hover {
  background: linear-gradient(135deg, hsl(195, 100%, 30%), hsl(180, 85%, 40%)) !important;
  color: white !important;
  border-left: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: calc(var(--radius) - 2px);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, hsl(195, 100%, 30%), hsl(180, 85%, 40%));
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
  color: white;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-white {
  background: white;
  color: var(--primary);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 4rem;
  overflow: hidden;
  min-height: 600px;
}

.hero-overlay {
  position: absolute;
  inset: 0;  
  opacity: 0.95;
  z-index: 10;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 20;
  padding: 6rem 0;
  color: var(--primary-foreground);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 48rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* Section */
.section {
  padding: 2.5rem 0;
}

.section-muted {
  background: rgba(234, 239, 245, 0.3);
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 3rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Card */
.card {
  background: var(--card);
  border: 1px solid rgba(215, 224, 235, 0.5);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.card p {
  color: var(--muted-foreground);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
  padding: 1.5rem 0;
  margin-top: 64px;
}

.page-hero h1 {
  font-size: 2.0rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.page-hero p {
  font-size: 1.125rem;
  opacity: 0.95;
}

/* Content Section */
.content-section {
  padding: 4rem 0;
}

.content-box {
  max-width: 56rem;
  margin: 0 auto;
}

.content-box p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.highlight-box {
  background: rgba(234, 239, 245, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.highlight-box-flex {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.highlight-box svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.highlight-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.highlight-box p {
  color: rgba(30, 41, 59, 0.9);
  line-height: 1.75;
  font-size: 1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.info-card svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.info-card p {
  color: var(--muted-foreground);
  font-size: 1rem;
}

/* Stats Section */
.stats-section {
  padding: 4rem 0;
  background: rgba(234, 239, 245, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted-foreground);
}

/* Service Card */
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
}

.service-card-header {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.service-card-header.primary {
  background: linear-gradient(135deg, var(--primary), rgba(0, 137, 176, 0.8));
}

.service-card-header.accent {
  background: linear-gradient(135deg, var(--accent), rgba(26, 176, 176, 0.8));
}

.service-card-header.secondary {
  background: linear-gradient(135deg, var(--secondary), rgba(0, 137, 137, 0.8));
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 40px;
  height: 40px;
}

.service-card-header h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

.service-card-body {
  padding: 2rem;
}

.service-card-body p {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.service-card-body h4 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.75rem;
}

.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

.service-list-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 10px;
  flex-shrink: 0;
}

/* Methodology Section */
.methodology-flow {
  padding: 4rem 0;
}

.phase-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 500px;
}

.phase-icon-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.phase-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s;
}

.phase-icon:hover {
  transform: scale(1.1);
}

.phase-icon svg {
  width: 48px;
  height: 48px;
}

.phase-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
}

.phase h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.phase-duration {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.phase p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.phase-arrow {
  color: var(--primary);
}

.phase-arrow svg {
  width: 32px;
  height: 32px;
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 56px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer h3 {
  font-weight: bold;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.footer p {
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer-section h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.75;
}

/* Responsive */

/* Tablets */
@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .navbar-logo span {
    display: inline;
    font-size: 0.95rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
  
  /* Navbar Desktop */
  .navbar-toggle {
    display: none;
  }
  
  .navbar-logo {
    font-size: 1.125rem;
  }
  
  .navbar-logo img {
    height: 40px;
  }
  
  .navbar-logo span {
    display: inline;
  }
  
  .navbar-menu {
    position: static;
    flex-direction: row;
    max-height: none;
    overflow: visible;
    padding: 0;
    gap: 2rem;
    align-items: center;
    background: transparent;
    box-shadow: none;
  }
  
  .navbar-menu.active {
    max-height: none;
    box-shadow: none;
  }
  
  .navbar-menu a {
    width: auto;
    padding: 0;
    font-size: 0.875rem;
    border-left: none;
    background: transparent !important;
    color: var(--muted-foreground);
  }
  
  .navbar-menu a:hover {
    background: transparent !important;
    border-left: none;
    color: var(--primary);
  }
  
  .navbar-menu a.active {
    color: var(--primary);
    background: transparent !important;
    border-left: none;
  }
  
  .navbar-menu a.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    color: white !important;
    border: none !important;
    border-left: none !important;
    padding: 0.5rem 1rem !important;
  }
  
  .navbar-menu a.btn-primary:hover {
    background: linear-gradient(135deg, hsl(195, 100%, 30%), hsl(180, 85%, 40%)) !important;
    color: white !important;
    border-left: none !important;
  }
  
  /* Hero */
  .hero h1 {
    font-size: 3.75rem;
  }
  
  .hero p {
    font-size: 1.25rem;
  }
  
  .hero-content {
    padding: 8rem 0;
  }
  
  /* Grid */
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  /* Metodologia */
  .phase-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .phase {
    flex: 1;
    max-width: 200px;
  }
  
  .phase-arrow {
    margin-top: 40px;
  }
  
  /* Service Cards */
  .service-card-flex {
    display: flex;
  }
  
  .service-card-header {
    width: 33.333%;
  }
  
  .service-card-body {
    width: 66.666%;
  }
}

/* Large Desktop */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
  
  .page-hero h1,
  .section-title {
    font-size: 3rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-16 {
  margin-top: 4rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

