/* ===========================================
   EstFy - CSS Principal
   =========================================== */

/* Reset e configurações base */
:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #4f46e5;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

/* ===========================================
   HEADER E NAVEGAÇÃO
   =========================================== */

.top-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  width: 100vw;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  color: var(--accent-color);
  transform: scale(1.05);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* ===========================================
   BOTÕES E COMPONENTES
   =========================================== */

.cta-button {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
  background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
}

.btn-primary {
  background: var(--primary-color);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===========================================
   PROJETOS SECTION - MELHORADA
   =========================================== */

.projects-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
}

/* Showcase de Projetos Principais */
.projects-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin: 3rem 0 4rem 0;
}

.project-showcase-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.project-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--project-color);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.project-showcase-card:hover::before {
  transform: scaleX(1);
}

.project-showcase-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-showcase-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.project-showcase-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--project-color), var(--project-color));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.project-showcase-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--project-color), var(--project-color));
  border-radius: 16px;
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.project-showcase-card:hover .project-showcase-icon::after {
  opacity: 0.2;
}

.project-showcase-icon i {
  font-size: 2rem;
  color: white;
  z-index: 1;
}

.project-showcase-info {
  flex: 1;
}

.project-showcase-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-showcase-description {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1rem;
}

.project-showcase-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.project-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-light);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.project-feature:hover {
  background: rgba(var(--project-color), 0.1);
  transform: translateX(4px);
}

.project-feature i {
  color: var(--project-color);
  font-size: 0.9rem;
}

.project-feature span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.project-showcase-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-showcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--project-color);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(var(--project-color), 0.3);
}

.project-showcase-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--project-color), 0.4);
  color: white;
}

.project-showcase-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.project-showcase-btn:hover i {
  transform: translateX(4px);
}

.project-showcase-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-text {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Cards Detalhados dos Projetos */
.projects-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.project-detailed-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-detailed-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--project-color);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.project-detailed-card:hover::before {
  transform: scaleX(1);
}

.project-detailed-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-card-header {
  padding: 2rem 2rem 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-light);
}

.project-main-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.project-icon-large {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--project-color), var(--project-color));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.project-icon-large::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--project-color), var(--project-color));
  border-radius: 16px;
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.project-detailed-card:hover .project-icon-large::after {
  opacity: 0.2;
}

.project-icon-large i {
  font-size: 2.5rem;
  color: white;
  z-index: 1;
}

.project-title-section {
  flex: 1;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.project-category {
  font-size: 0.9rem;
  color: var(--project-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-light);
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-text {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 600;
}

.project-card-body {
  padding: 1.5rem 2rem;
  flex: 1;
}

.project-description-detailed {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.project-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.project-stats .stat-item:hover {
  background: rgba(var(--project-color), 0.1);
  transform: translateY(-2px);
}

.project-stats .stat-icon {
  width: 40px;
  height: 40px;
  background: var(--project-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-stats .stat-icon i {
  font-size: 1rem;
  color: white;
}

.project-stats .stat-content {
  flex: 1;
}

.project-stats .stat-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.project-stats .stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.project-features-section {
  margin-bottom: 2rem;
}

.features-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-light);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(var(--project-color), 0.1);
  transform: translateX(4px);
}

.feature-item i {
  color: var(--project-color);
  font-size: 0.9rem;
}

.feature-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.project-tech-section {
  margin-bottom: 1rem;
}

.tech-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  padding: 0.5rem 1rem;
  background: var(--project-color);
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--project-color), 0.3);
}

.project-card-footer {
  padding: 1.5rem 2rem 2rem 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-light);
}

.project-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--project-color);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(var(--project-color), 0.3);
}

.project-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--project-color), 0.4);
  color: white;
}

.project-action-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.project-action-btn:hover i {
  transform: translateX(4px);
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link-small {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--project-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.project-link-small:hover {
  color: var(--text-dark);
  transform: translateX(2px);
}

.project-link-small i {
  font-size: 0.8rem;
}

/* Grid de Projetos Melhorado */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.project-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--project-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.project-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--project-color), var(--project-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.project-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--project-color), var(--project-color));
  border-radius: 12px;
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-icon::after {
  opacity: 0.2;
}

.project-icon i {
  font-size: 1.5rem;
  color: white;
  z-index: 1;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-text {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.project-content {
  flex: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.project-metrics {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--project-color);
  line-height: 1;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--project-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.project-link:hover {
  color: var(--text-dark);
  transform: translateX(4px);
}

.project-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.project-link:hover i {
  transform: translateX(4px);
}

/* Estatísticas dos Projetos */
.projects-stats {
  margin: 4rem 0;
  padding: 3rem 0;
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 1.5rem;
  color: white;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Call to Action Melhorado */
.projects-cta {
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 20px;
  text-align: center;
  color: white;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cta-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

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

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-button.primary {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
  color: var(--primary-color);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.cta-button.secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
  .projects-section {
    padding: 3rem 0;
  }
  
  .projects-showcase {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0 3rem 0;
  }
  
  .project-showcase-card {
    padding: 2rem;
  }
  
  .project-showcase-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .project-showcase-features {
    grid-template-columns: 1fr;
  }
  
  .project-showcase-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
  }
  
  .projects-cards-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
  }
  
  .project-detailed-card {
    margin-bottom: 1rem;
  }
  
  .project-card-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .project-main-info {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .project-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .project-action-btn {
    width: 100%;
    justify-content: center;
  }
  
  .project-card {
    padding: 1.5rem;
  }
  
  .project-metrics {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .projects-cta {
    padding: 2rem;
    margin-top: 3rem;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* Tech Badges */
.tech-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.tech-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.tech-badge i {
  font-size: 2rem;
  color: var(--primary-color);
}

.tech-badge span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* ===========================================
   SEÇÕES PRINCIPAIS
   =========================================== */

.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.hero-content {
  color: white;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================================
   CARDS E COMPONENTES
   =========================================== */

.feature-card {
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

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

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.5rem;
}

/* ===========================================
   TIPOGRAFIA
   =========================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
}

.text-muted {
  color: var(--text-light);
}

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

/* ===========================================
   FOOTER
   =========================================== */

footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 2rem;
}

footer h5, footer h6 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

footer .text-muted {
  color: #9ca3af;
}

footer a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color);
}

/* ===========================================
   RESPONSIVIDADE
   =========================================== */

@media (max-width: 768px) {
  .navbar-container {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }
  
  .navbar-brand {
    font-size: 1.6rem;
  }
  
  .navbar-nav {
    gap: 0.25rem;
    flex-wrap: wrap;
  }
  
  .nav-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .cta-button {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .hero-section {
    padding-top: 100px;
    min-height: 80vh;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.125rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    text-align: center;
  }
  
  .dashboard-content {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .col-lg-6,
  .col-lg-4,
  .col-lg-8,
  .col-md-6 {
    flex: 0 0 100%;
  }
}

@media (max-width: 480px) {
  .navbar-container {
    padding: 0.5rem 1rem;
  }
  
  .navbar-brand {
    font-size: 1.4rem;
  }
  
  .navbar-nav {
    gap: 0.1rem;
  }
  
  .nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .cta-button {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
}

/* ===========================================
   ELEMENTOS ESPECÍFICOS
   =========================================== */

/* Hero Image */
.hero-image {
  position: relative;
  z-index: 2;
}

.dashboard-preview {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-title {
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
}

.dashboard-controls {
  display: flex;
  gap: 0.5rem;
}

.control-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.dashboard-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.metric-card {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* About Section */
.about-features {
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-check {
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.feature-text p {
  color: var(--text-light);
  margin: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

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

.stat-label {
  color: var(--text-light);
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.form-label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Container e Grid */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}

.col-lg-6,
.col-lg-4,
.col-lg-8,
.col-md-6 {
  padding: 0 0.75rem;
  flex: 0 0 100%;
}

.col-lg-6 {
  flex: 0 0 50%;
}

.col-lg-4 {
  flex: 0 0 33.333333%;
}

.col-lg-8 {
  flex: 0 0 66.666667%;
}

.col-md-6 {
  flex: 0 0 50%;
}

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

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

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

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

.text-md-end {
  text-align: right;
}

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

.list-unstyled {
  list-style: none;
  padding: 0;
}

.list-unstyled li {
  margin-bottom: 0.5rem;
}

/* ===========================================
   MENSAGENS E ALERTAS
   =========================================== */

.alert {
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.alert i {
  font-size: 1.25rem;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================================
   ANIMAÇÕES E ACESSIBILIDADE
   =========================================== */

* {
  scroll-behavior: smooth;
}

.btn:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}
