/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  overflow-x: hidden;
  /* padding-top será definido por JS */
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Variáveis CSS */
:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --primary-light: #fbbf24;
  --secondary: #0ea5e9;
  --dark: #111827;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Tipografia */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-900);
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
p {
  color: var(--gray-600);
  font-size: 1.1rem;
  line-height: 1.7;
}
/* Componentes Base */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.btn:hover::before {
  left: 100%;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--gray-900);
}
.btn-full {
  width: 100%;
  justify-content: center;
}
/* Seções */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 1rem auto 0;
}
/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
header.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}
.logo img {
  height: 50px;
  width: auto;
}
.logo-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
nav ul li a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
}
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}
nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}
nav ul li a:hover {
  color: var(--primary);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--gray-700);
  transition: var(--transition);
}
/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  overflow: hidden;
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/hero-bg.jpg') no-repeat center center/cover;
  opacity: 0.3;
  z-index: 1;
}
.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(31, 41, 55, 0.6));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.hero-text {
  max-width: 800px;
  color: var(--white);
  text-align: center;
  margin: 0 auto;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.stat {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}
/* Sobre */
.sobre {
  padding: 6rem 0;
  background: var(--white);
}
.sobre-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.sobre-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}
.feature-content h3 {
  margin-bottom: 0.5rem;
  color: var(--gray-900);
  font-size: 1.25rem;
}
.feature-content p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.6;
}
.sobre-description {
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: center;
  color: var(--gray-700);
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--primary);
}
/* Serviços */
.servicos {
  padding: 6rem 0;
  background: var(--gray-50);
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.servico {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.servico:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.servico-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.servico h3 {
  margin-bottom: 1rem;
  color: var(--gray-900);
}
.servico p {
  margin-bottom: 1.5rem;
  color: var(--gray-600);
}
.servico-features {
  list-style: none;
}
.servico-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}
.servico-features li i {
  color: var(--success);
  font-size: 0.875rem;
}
/* Portfolio */
.portfolio {
  padding: 6rem 0;
  background: var(--white);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.projeto {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.projeto:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.projeto img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}
.projeto:hover img {
  transform: scale(1.05);
}
.projeto-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}
.projeto:hover .projeto-overlay {
  transform: translateY(0);
}
.projeto-overlay h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.projeto-overlay p {
  color: var(--gray-300);
  font-size: 0.95rem;
}
/* Depoimentos */
.depoimentos {
  padding: 6rem 0;
  background: var(--gray-50);
}
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.depoimento {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.depoimento:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.depoimento-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}
.depoimento-stars i {
  color: var(--primary);
  font-size: 1.25rem;
}
.depoimento p {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-700);
}
.depoimento-author strong {
  color: var(--gray-900);
  font-weight: 600;
}
.depoimento-author span {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-left: 0.5rem;
}
/* Contato */
.contato {
  padding: 6rem 0;
  background: var(--white);
}
.contato-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.info-content h4 {
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}
.info-content p {
  color: var(--gray-600);
  margin: 0;
}
.info-content a {
  color: var(--primary);
  text-decoration: none;
}
.info-content a:hover {
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.social-link {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.contato-form {
  background: var(--gray-50);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
}
.form-group {
  margin-bottom: 1.5rem;
}
.contato-form input,
.contato-form select,
.contato-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}
.contato-form input:focus,
.contato-form select:focus,
.contato-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}
.contato-form textarea {
  resize: vertical;
  min-height: 120px;
}
/* Footer */
footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 1rem;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.footer-logo img {
  height: 40px;
}
.footer-info p {
  color: var(--gray-300);
  margin-bottom: 1rem;
}
.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.footer-links ul {
  list-style: none;
}
.footer-links ul li {
  margin-bottom: 0.5rem;
}
.footer-links ul li a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links ul li a:hover {
  color: var(--primary);
}
.footer-contact p {
  color: var(--gray-300);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-contact i {
  color: var(--primary);
  width: 16px;
}
.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 2rem;
  text-align: center;
}
.footer-bottom p {
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}
/* Botões Flutuantes */
.whatsapp-btn,
.back-to-top {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.whatsapp-btn {
  bottom: 2rem;
  right: 2rem;
  background: #25D366;
  color: var(--white);
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}
.back-to-top {
  bottom: 2rem;
  left: 2rem;
  background: var(--primary);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}
/* Responsividade */
@media (max-width: 1024px) {
  .container {
    width: 95%;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .sobre-content,
  .contato-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  nav ul {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  nav ul.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .servicos-grid,
  .portfolio-grid,
  .depoimentos-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .whatsapp-btn {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  .back-to-top {
    bottom: 1rem;
    left: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  .hero-content {
    padding: 0 1rem;
  }
  .servico,
  .depoimento,
  .contato-form {
    padding: 1.5rem;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .sobre,
  .servicos,
  .portfolio,
  .depoimentos,
  .contato {
    padding: 4rem 0;
  }
}
/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
/* Estados de Loading */
.loading {
  opacity: 0.7;
  pointer-events: none;
}
/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-indicator {
    animation: none;
  }
}
/* Focus states para acessibilidade */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
/* Print styles */
@media print {
  .whatsapp-btn,
  .back-to-top,
  .menu-toggle {
    display: none !important;
  }
  header {
    position: static;
    box-shadow: none;
  }
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
}
/* Fallback CSS para mobile (apenas em caso de JS desligado) */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
}
